list_tags_for_resource

MediaPackageVod.Client.list_tags_for_resource(**kwargs)

Returns a list of the tags assigned to the specified resource.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    ResourceArn='string'
)
Parameters
ResourceArn (string) -- [REQUIRED] The Amazon Resource Name (ARN) for the resource. You can get this from the response to any request to the resource.
Return type
dict
Returns
Response Syntax
{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) -- 200 response
    • Tags (dict) -- A collection of tags associated with a resource
      • (string) --
        • (string) --