Documentation
¶
Overview ¶
Package sns handles interactions with aws-sdk-go/service/sns
Index ¶
Constants ¶
View Source
const (
// ErrEmptyParameter is used when a required parameter is empty
ErrEmptyParameter = "EmptyParameter"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Body ¶
type Body struct {
Default string `json:"default"`
}
Body is used to initialize a valid SNS message
type PublishInput ¶
type PublishInput struct {
*sns.PublishInput
}
PublishInput embeds sns.PublishInput to be used to call SnsPublish
func NewPublishInput ¶
func NewPublishInput(body interface{}, endpoint string) (*PublishInput, error)
NewPublishInput returns a new *PublishInput given a body and an endpoint
type SNS ¶
SNS embeds sns.SNS to be used to call New
func (*SNS) SnsPublish ¶
func (svc *SNS) SnsPublish(in *PublishInput) (err error)
SnsPublish publishes a *PublishInput on SNS
Click to show internal directories.
Click to hide internal directories.