package
0.0.0-20220406064229-26e39638816f
Repository: https://github.com/ggarcia209/go-aws.git
Documentation: pkg.go.dev
# Functions
CreateTopic creates a new SNS topic with the given name.
InitSesh intitializes a new SNS client session and returns the AWS *sns.SNS object as an interface type to maintain encapsulation of the AWS sns package.
ListTopics prints and returns a list of all SNS topics' ARNs in the AWS account.
Publish publishes a new message to a Topic and returns the message ID of the published message.
Subscribe creates a new subscription for an endpoint.
# Constants
InvliadProtocolErr is returned when an invalid value is passed to the Subscribe function.
InvalidSvcArgErr is returned when an interface object passed as the svc argument to the package methods is not the AWS *sns.SNS type.