awssns

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 7 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