AuditManager / Client / list_tags_for_resource

list_tags_for_resource#

AuditManager.Client.list_tags_for_resource(**kwargs)#

Returns a list of tags for the specified resource in Audit Manager.

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) –

    • tags (dict) –

      The list of tags that the ListTagsForResource API returned.

      • (string) –

        • (string) –

Exceptions

  • AuditManager.Client.exceptions.InternalServerException

  • AuditManager.Client.exceptions.ValidationException

  • AuditManager.Client.exceptions.ResourceNotFoundException