ELBProxy / Client / tag_resource

tag_resource

ELBProxy.Client.tag_resource(**kwargs)

Adds the specified tags to the 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) of the resource.

  • tags (dict) –

    [REQUIRED]

    The tags for the resource.

    • (string) –

      The key of a tag.

      • (string) –

        The value of a tag.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • ELBProxy.Client.exceptions.ServiceQuotaExceededException

  • ELBProxy.Client.exceptions.ValidationException

  • ELBProxy.Client.exceptions.ResourceNotFoundException

  • ELBProxy.Client.exceptions.InternalServerException

  • ELBProxy.Client.exceptions.ThrottlingException

  • ELBProxy.Client.exceptions.AccessDeniedException