Documentation ¶
Overview ¶
snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[SnsCreateTopic.go TOPIC creates the SNS topic TOPIC.] snippet-keyword:[Amazon Simple Notification Service] snippet-keyword:[Amazon SNS] snippet-keyword:[CreateTopic function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:sns snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2019-02-25]
Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. This file is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
snippet-start:[sns.go.create_topic]
snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[SnsListSubscriptions.go lists your SNS subscriptions.] snippet-keyword:[Amazon Simple Notification Service] snippet-keyword:[Amazon SNS] snippet-keyword:[ListSubscriptions function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:sns snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2019-02-25]
Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. This file is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
snippet-start:[sns.go.list_subscriptions]
snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[SnsListTopics.go lists your SNS topics.] snippet-keyword:[Amazon Simple Notification Service] snippet-keyword:[Amazon SNS] snippet-keyword:[ListTopics function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:sns snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2019-02-25]
Copyright 2010-2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. This file is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
snippet-start:[sns.go.list_topics]
snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[SnsPublish.go -m MESSAGE -t TOPIC-ARN sends MESSAGE to all of the users subscribed to the SNS topic with the ARN TOPIC-ARN.] snippet-keyword:[Amazon Simple Notification Service] snippet-keyword:[Amazon SNS] snippet-keyword:[Publish function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:sns snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2020-1-6]
Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. This file is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
snippet-start:[sns.go.publish]
snippet-comment:[These are tags for the AWS doc team's sample catalog. Do not remove.] snippet-sourceauthor:[Doug-AWS] snippet-sourcedescription:[SnsSubscribe.go -e EMAIL -t TOPIC-ARN subscribes the user with email address EMAIL to the SNS topic with the ARN TOPIC-ARN.] snippet-keyword:[Amazon Simple Notification Service] snippet-keyword:[Amazon SNS] snippet-keyword:[Subscribe function] snippet-keyword:[Go] snippet-sourcesyntax:[go] snippet-service:sns snippet-keyword:[Code Sample] snippet-sourcetype:[full-example] snippet-sourcedate:[2020-1-6]
Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. This file is licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with the License. A copy of the License is located at http://aws.amazon.com/apache2.0/ This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
snippet-start:[sns.go.subscribe]