sns

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	SNSIface snsiface.SNSAPI
}

func New

func New(awsSession *session.Session, topicsArn []string) (*Client, error)

Create a SNS Client and test its connection

func (Client) GetAttributes

func (c Client) GetAttributes(topicArn string) (*sns.GetTopicAttributesOutput, error)

Get topic attributes

func (Client) Publish

func (c Client) Publish(topicArn string, message string) (*sns.PublishOutput, error)

Publish message on topic

Jump to

Keyboard shortcuts

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