Route53Profiles / Client / tag_resource

tag_resource#

Route53Profiles.Client.tag_resource(**kwargs)#

Adds one or more tags to a specified resource.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    ResourceArn='string',
    Tags={
        'string': 'string'
    }
)
Parameters:
  • ResourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) for the resource that you want to add tags to.

  • Tags (dict) –

    [REQUIRED]

    The tags that you want to add to the specified resource.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • Route53Profiles.Client.exceptions.ResourceNotFoundException

  • Route53Profiles.Client.exceptions.ThrottlingException

  • Route53Profiles.Client.exceptions.ValidationException

  • Route53Profiles.Client.exceptions.AccessDeniedException