sns

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Activities

type Activities struct {
	// contains filtered or unexported fields
}

func NewActivities

func NewActivities(sess *session.Session, config ...*aws.Config) *Activities

func NewActivitiesWithSessionFactory

func NewActivitiesWithSessionFactory(sessionFactory SessionFactory) *Activities

func (*Activities) AddPermission

func (a *Activities) AddPermission(ctx context.Context, input *sns.AddPermissionInput) (*sns.AddPermissionOutput, error)

func (*Activities) ConfirmSubscription

func (a *Activities) ConfirmSubscription(ctx context.Context, input *sns.ConfirmSubscriptionInput) (*sns.ConfirmSubscriptionOutput, error)

func (*Activities) CreatePlatformApplication

func (*Activities) CreatePlatformEndpoint

func (*Activities) CreateTopic

func (a *Activities) CreateTopic(ctx context.Context, input *sns.CreateTopicInput) (*sns.CreateTopicOutput, error)

func (*Activities) DeleteEndpoint

func (a *Activities) DeleteEndpoint(ctx context.Context, input *sns.DeleteEndpointInput) (*sns.DeleteEndpointOutput, error)

func (*Activities) DeletePlatformApplication

func (*Activities) DeleteTopic

func (a *Activities) DeleteTopic(ctx context.Context, input *sns.DeleteTopicInput) (*sns.DeleteTopicOutput, error)

func (*Activities) GetEndpointAttributes

func (*Activities) GetSMSAttributes

func (a *Activities) GetSMSAttributes(ctx context.Context, input *sns.GetSMSAttributesInput) (*sns.GetSMSAttributesOutput, error)

func (*Activities) GetSubscriptionAttributes

func (*Activities) GetTopicAttributes

func (a *Activities) GetTopicAttributes(ctx context.Context, input *sns.GetTopicAttributesInput) (*sns.GetTopicAttributesOutput, error)

func (*Activities) ListPhoneNumbersOptedOut

func (*Activities) ListPlatformApplications

func (*Activities) ListSubscriptions

func (a *Activities) ListSubscriptions(ctx context.Context, input *sns.ListSubscriptionsInput) (*sns.ListSubscriptionsOutput, error)

func (*Activities) ListSubscriptionsByTopic

func (*Activities) ListTagsForResource

func (a *Activities) ListTagsForResource(ctx context.Context, input *sns.ListTagsForResourceInput) (*sns.ListTagsForResourceOutput, error)

func (*Activities) ListTopics

func (a *Activities) ListTopics(ctx context.Context, input *sns.ListTopicsInput) (*sns.ListTopicsOutput, error)

func (*Activities) OptInPhoneNumber

func (a *Activities) OptInPhoneNumber(ctx context.Context, input *sns.OptInPhoneNumberInput) (*sns.OptInPhoneNumberOutput, error)

func (*Activities) Publish

func (a *Activities) Publish(ctx context.Context, input *sns.PublishInput) (*sns.PublishOutput, error)

func (*Activities) RemovePermission

func (a *Activities) RemovePermission(ctx context.Context, input *sns.RemovePermissionInput) (*sns.RemovePermissionOutput, error)

func (*Activities) SetEndpointAttributes

func (*Activities) SetSMSAttributes

func (a *Activities) SetSMSAttributes(ctx context.Context, input *sns.SetSMSAttributesInput) (*sns.SetSMSAttributesOutput, error)

func (*Activities) SetSubscriptionAttributes

func (*Activities) SetTopicAttributes

func (a *Activities) SetTopicAttributes(ctx context.Context, input *sns.SetTopicAttributesInput) (*sns.SetTopicAttributesOutput, error)

func (*Activities) Subscribe

func (a *Activities) Subscribe(ctx context.Context, input *sns.SubscribeInput) (*sns.SubscribeOutput, error)

func (*Activities) TagResource

func (a *Activities) TagResource(ctx context.Context, input *sns.TagResourceInput) (*sns.TagResourceOutput, error)

func (*Activities) Unsubscribe

func (a *Activities) Unsubscribe(ctx context.Context, input *sns.UnsubscribeInput) (*sns.UnsubscribeOutput, error)

func (*Activities) UntagResource

func (a *Activities) UntagResource(ctx context.Context, input *sns.UntagResourceInput) (*sns.UntagResourceOutput, error)

type SessionFactory

type SessionFactory interface {
	Session(ctx context.Context) (*session.Session, error)
}

SessionFactory returns an aws.Session based on the activity context.

Jump to

Keyboard shortcuts

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