Documentation ¶
Overview ¶
Package sns is for messaging with AWS SNS.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SNS ¶
type SNS struct {
// contains filtered or unexported fields
}
func New ¶
New returns an SNS struct which wraps an SNS client using the default AWS credentials chain. This consults (in order) environment vars, config files, ec2 and ecs roles. Requests with recoverable errors will be retried with the default retrier. It is an error if the AWS_REGION environment variable is not set.
func NewWithMaxRetries ¶
NewWithMaxRetries returns the same as New(), but with the back off set to up to maxRetries times.
Click to show internal directories.
Click to hide internal directories.