tag_resource

ivschat.Client.tag_resource(**kwargs)

Adds or updates tags for the AWS 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]

    The ARN of the resource to be tagged. 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 AWS Resources for details, including restrictions that apply to tags and "Tag naming limits and requirements"; Amazon IVS Chat has no constraints beyond what is documented there.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • ivschat.Client.exceptions.ResourceNotFoundException
  • ivschat.Client.exceptions.InternalServerException
  • ivschat.Client.exceptions.ValidationException