CmdID

CmdID / aws / aws sns

aws sns list-tags-for-resource

List all tags added to the specified Amazon SNS topic. AWS CLI reference

1 example 1 option Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

To list tags for a topic

The following list-tags-for-resource example lists the tags for the specified Amazon SNS topic.

aws sns list-tags-for-resource --resource-arn arn:aws:sns:us-west-2:123456789012:MyTopicIdentify
--resource-arnThe ARN of the topic for which to list tags.
Its output
{
    "Tags": [
        {
            "Key": "Team",
            "Value": "Alpha"
        }
    ]
}

For more information, see Amazon SNS topic tagging in the Amazon Simple Notification Service Developer Guide.

Options

1 in the AWS CLI reference
--resource-arnThe ARN of the topic for which to list tags.