Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendSnsMessageJSON ¶
func SendSnsMessageJSON(message, topicArn string, messageParams map[string]*sns.MessageAttributeValue) error
SendSnsMessageJSON sends given JSON message into provided topic ARN.
Params *message: contains JSON to be send to SNS *topicArn: sns resurce to which we will send *messageParams: is a map of MessageAttributeValue
Returns nil on success
Types ¶
type SNSMessage ¶
type SNSMessage struct {
Default string `json:"default"`
}
Click to show internal directories.
Click to hide internal directories.