events

package
v1.2.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2023 License: MIT Imports: 4 Imported by: 0

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL