Schemas / Client / tag_resource

tag_resource#

Schemas.Client.tag_resource(**kwargs)#

Add tags to a resource.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the resource.

  • Tags (dict) –

    [REQUIRED]

    Tags associated with the resource.

    • (string) –

      • (string) –

Returns:

None

Exceptions

  • Schemas.Client.exceptions.NotFoundException

  • Schemas.Client.exceptions.BadRequestException

  • Schemas.Client.exceptions.InternalServerErrorException

  • Schemas.Client.exceptions.ForbiddenException