Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PublishToTopic ¶
func PublishToTopic(ctx context.Context, client SNSPublishApi, topicArn, message, subject string) (*sns.PublishOutput, error)
Types ¶
type SNSPublishApi ¶
type SNSPublishApi interface {
Publish(ctx context.Context, params *sns.PublishInput, optFns ...func(*sns.Options)) (*sns.PublishOutput, error)
}
Click to show internal directories.
Click to hide internal directories.