Macie2 / Client / list_tags_for_resource

list_tags_for_resource#

Macie2.Client.list_tags_for_resource(**kwargs)#

Retrieves the tags (keys and values) that are associated with an Amazon Macie 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) of the resource.

Return type:

dict

Returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    The request succeeded.

    • tags (dict) –

      A map of key-value pairs that specifies which tags (keys and values) are associated with the resource.

      • (string) –

        • (string) –