list_tags_for_resource

Pinpoint.Client.list_tags_for_resource(**kwargs)

Retrieves all the tags (keys and values) that are associated with an application, campaign, message template, or segment.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    ResourceArn='string'
)
Parameters
ResourceArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the resource.

Return type
dict
Returns
Response Syntax
{
    'TagsModel': {
        'tags': {
            'string': 'string'
        }
    }
}

Response Structure

  • (dict) --

    The request succeeded.

    • TagsModel (dict) --

      Specifies the tags (keys and values) for an application, campaign, message template, or segment.

      • tags (dict) --

        A string-to-string map of key-value pairs that defines the tags for an application, campaign, message template, or segment. Each of these resources can have a maximum of 50 tags.

        Each tag consists of a required tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

        • (string) --
          • (string) --