Detective / Client / list_tags_for_resource

list_tags_for_resource#

Detective.Client.list_tags_for_resource(**kwargs)#

Returns the tag values that are assigned to a behavior graph.

See also: AWS API Documentation

Request Syntax

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

ResourceArn (string) –

[REQUIRED]

The ARN of the behavior graph for which to retrieve the tag values.

Return type:

dict

Returns:

Response Syntax

{
    'Tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Tags (dict) –

      The tag values that are assigned to the behavior graph. The request returns up to 50 tag values.

      • (string) –

        • (string) –

Exceptions

  • Detective.Client.exceptions.AccessDeniedException

  • Detective.Client.exceptions.InternalServerException

  • Detective.Client.exceptions.ValidationException

  • Detective.Client.exceptions.ResourceNotFoundException