Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSubscriberRequest ¶
type Endpoint ¶
type Endpoint struct {
// Uri of the endpoint that receives the notification.
Uri string `json:"uri,omitempty"`
Authorization *EndpointAuthorization `json:"authorization,omitempty"`
}
type EndpointAuthorization ¶
type EndpointAuthorization struct {
Type_ string `json:"type,omitempty"`
}
EndpointAuthorization Authorization information to be able to publish notification to specified endpoint.
type ListSubscribersResponse ¶
type ListSubscribersResponse struct {
Links *smapiv0.Links `json:"_links,omitempty"`
NextToken string `json:"nextToken,omitempty"`
// List containing subscriber summary.
Subscribers []*SubscriberSummary `json:"subscribers,omitempty"`
}
type SubscriberInfo ¶
type SubscriberInfo struct {
// Unique identifier of the subscriber resource.
SubscriberId string `json:"subscriberId,omitempty"`
// Name of the subscriber.
Name string `json:"name,omitempty"`
Endpoint *Endpoint `json:"endpoint,omitempty"`
}
SubscriberInfo Information about the subscriber.
type SubscriberStatus ¶
type SubscriberStatus string
SubscriberStatus Status of the subscriber. This enum may get extended with new values in future. Clients are expected to gracefully handle any unknown values.
func SubscriberStatus_ACTIVE ¶
func SubscriberStatus_ACTIVE() SubscriberStatus
func SubscriberStatus_INACTIVE ¶
func SubscriberStatus_INACTIVE() SubscriberStatus
type SubscriberSummary ¶
type SubscriberSummary struct {
// Unique identifier of the subscriber resource.
SubscriberId string `json:"subscriberId,omitempty"`
// Name of the subscriber.
Name string `json:"name,omitempty"`
Status *SubscriberStatus `json:"status,omitempty"`
// Client Id of the subscriber resource.
ClientId string `json:"clientId,omitempty"`
Endpoint *Endpoint `json:"endpoint,omitempty"`
}
type UpdateSubscriberRequest ¶
Click to show internal directories.
Click to hide internal directories.