IVS / Client / tag_resource

tag_resource#

IVS.Client.tag_resource(**kwargs)#

Adds or updates tags for the Amazon Web Services resource with the specified ARN.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    ARN of the resource for which tags are to be added or updated. The ARN must be URL-encoded.

  • tags (dict) –

    [REQUIRED]

    Array of tags to be added or updated. Array of maps, each of the form string:string (key:value). See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and “Tag naming limits and requirements”; Amazon IVS has no service-specific constraints beyond what is documented there.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • IVS.Client.exceptions.ResourceNotFoundException

  • IVS.Client.exceptions.InternalServerException

  • IVS.Client.exceptions.ValidationException