Documentation ¶
Index ¶
Constants ¶
View Source
const ( SNSSubscribeApiCall = "Subscribe" SNSUnsubscribeApiCall = "Unsubscribe" SNSConfirmSubApiCall = "ConfirmSubscription" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SNSSubRequest ¶
type SNSSubRequest struct { ApiCall string `json:"ApiCall"` Token *string `json:"Token,omitempty"` TopicArn *string `json:"TopicArn,omitempty"` HttpEndpoint *string `json:"HttpEndpoint,omitempty"` SubscriptionArn *string `json:"SubscriptionArn,omitempty"` }
func ConfirmSubscriptionInput ¶
func ConfirmSubscriptionInput(Token, TopicArn string) SNSSubRequest
func SubscribeInput ¶
func SubscribeInput(TopicArn, endpoint string) SNSSubRequest
func UnsubscribeInput ¶
func UnsubscribeInput(SubscriptionArn string) SNSSubRequest
func (*SNSSubRequest) GetTopicARN ¶
func (req *SNSSubRequest) GetTopicARN() (arn.ARN, error)
type SNSSubResponse ¶
type SNSSubResponse struct {
SubscriptionArn *string `json:"SubscriptionArn,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.