Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSubscriptionRequest ¶
type CreateSubscriptionRequest struct {
// Name of the subscription.
Name string `json:"name,omitempty"`
// The list of events that the subscriber should be notified for.
Events []*Event `json:"events,omitempty"`
// The vendorId of the event publisher.
VendorId string `json:"vendorId,omitempty"`
// The id of the subscriber that would receive the events.
SubscriberId string `json:"subscriberId,omitempty"`
}
type Event ¶
type Event string
Event Represents an event that the subscriber is interested in. The event is of the format AlexaDevelopmentEvent.OPERATION. You can use wildcard event 'AlexaDevelopmentEvent.All' for recieving all developer notifications listed below.
- 'AlexaDevelopmentEvent.ManifestUpdate' - The event representing the status of the update request on the Manifest.
- 'AlexaDevelopmentEvent.SkillPublish' - The event representing the status of the skill publish process.
- 'AlexaDevelopmentEvent.SkillCertification' - The event represents if a skill has been certified or not.
- 'AlexaDevelopmentEvent.InteractionModelUpdate' - The event represents the status of an Interaction Model build for a particular locale.
- 'AlexaDevelopmentEvent.All' - A wildcard event name that allows subscription to all the existing events. While using this, you must not specify any other event name. AlexaDevelopmentEvent.All avoids the need of specifying every development event name in order to receive all events pertaining to a vendor account. Similarly, it avoids the need of updating an existing subscription to be able to receive new events, whenever supproted by notification service. Test Subscriber API cannot use this wildcard. Please make sure that your code can gracefully handle new/previously unknown events, if you are using this wildcard.
func Event_AlexaDevelopmentEventAll ¶
func Event_AlexaDevelopmentEventAll() Event
func Event_AlexaDevelopmentEventInteractionModelUpdate ¶
func Event_AlexaDevelopmentEventInteractionModelUpdate() Event
func Event_AlexaDevelopmentEventManifestUpdate ¶
func Event_AlexaDevelopmentEventManifestUpdate() Event
func Event_AlexaDevelopmentEventSkillCertification ¶
func Event_AlexaDevelopmentEventSkillCertification() Event
func Event_AlexaDevelopmentEventSkillPublish ¶
func Event_AlexaDevelopmentEventSkillPublish() Event
type ListSubscriptionsResponse ¶
type ListSubscriptionsResponse struct {
Links *smapiv0.Links `json:"_links,omitempty"`
NextToken string `json:"nextToken,omitempty"`
// List of subscription summaries.
Subscriptions []*SubscriptionSummary `json:"subscriptions,omitempty"`
}
type SubscriptionInfo ¶
type SubscriptionInfo struct {
// Name of the subscription.
Name string `json:"name,omitempty"`
// Unique identifier of the subscription resource.
SubscriptionId string `json:"subscriptionId,omitempty"`
// Subscriber Id of the event-receiver.
SubscriberId string `json:"subscriberId,omitempty"`
// Vendor Id of the event-publisher.
VendorId string `json:"vendorId,omitempty"`
// The list of events that the subscriber should be notified for.
Events []*Event `json:"events,omitempty"`
}
type SubscriptionSummary ¶
type SubscriptionSummary struct {
// Name of the subscription.
Name string `json:"name,omitempty"`
// Unique identifier of the subscription resource.
SubscriptionId string `json:"subscriptionId,omitempty"`
// Subscriber Id of the event-reciever.
SubscriberId string `json:"subscriberId,omitempty"`
// VendorId of the event-publisher.
VendorId string `json:"vendorId,omitempty"`
// The list of events that the subscriber should be notified for.
Events []*Event `json:"events,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.