awssns

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClient added in v0.3.0

func NewClient(useTracing bool) *sns.Client

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL