CmdID / aws / aws pinpoint
aws pinpoint list-tags-for-resource
Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment. AWS CLI reference
1 example 1 option Its page in the AWS CLI reference
Examples
To retrieve a list of tags for a resource
The following list-tags-for-resource example retrieves all the tags (key names and values) that are associated with the specified resource.
aws pinpoint list-tags-for-resource --resource-arn arn:aws:mobiletargeting:us-west-2:AIDACKCEVSQ6C2EXAMPLE:apps/810c7aab86d42fb2b56c8c966exampleIdentify--resource-arnThe Amazon Resource Name (ARN) of the resource.Its output
{
"TagsModel": {
"tags": {
"Year": "2019",
"Stack": "Production"
}
}
}For more information, see Manage Amazon Pinpoint resource tags in the Amazon Pinpoint Developer Guide.
Options
--resource-arnThe Amazon Resource Name (ARN) of the resource.