Subscribe

command
v0.0.0-...-9d6317c Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

Subscribev2.go

This example subscribes a user, by email address, to an Amazon SNS topic.

go run Subscribev2.go -m EMAIL-ADDRESS -t TOPIC-ARN

  • EMAIL-ADDRESS is the email address of the user subscribing to the topic.
  • TOPIC-ARN is the ARN of the topic.

The unit test accepts a similar value in config.json.

Documentation

Overview

Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX - License - Identifier: Apache - 2.0 snippet-start:[sns.go-v2.Subscribe]

Jump to

Keyboard shortcuts

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