Route53RecoveryControlConfig / Client / list_tags_for_resource

list_tags_for_resource#

Route53RecoveryControlConfig.Client.list_tags_for_resource(**kwargs)#

Lists the tags for a 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 that’s tagged.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    200 response - Success.

    • Tags (dict) –

      The tags associated with the resource.

      • (string) –

        • (string) –

Exceptions

  • Route53RecoveryControlConfig.Client.exceptions.ResourceNotFoundException

  • Route53RecoveryControlConfig.Client.exceptions.ValidationException

  • Route53RecoveryControlConfig.Client.exceptions.InternalServerException