KinesisVideo / Client / tag_resource

tag_resource#

KinesisVideo.Client.tag_resource(**kwargs)#

Adds one or more tags to a signaling channel. A tag is a key-value pair (the value is optional) that you can define and assign to Amazon Web Services resources. If you specify a tag that already exists, the tag value is replaced with the value that you specify in the request. For more information, see Using Cost Allocation Tags in the Billing and Cost Management and Cost Management User Guide.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    ResourceARN='string',
    Tags=[
        {
            'Key': 'string',
            'Value': 'string'
        },
    ]
)
Parameters:
  • ResourceARN (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the signaling channel to which you want to add tags.

  • Tags (list) –

    [REQUIRED]

    A list of tags to associate with the specified signaling channel. Each tag is a key-value pair.

    • (dict) –

      A key and value pair that is associated with the specified signaling channel.

      • Key (string) – [REQUIRED]

        The key of the tag that is associated with the specified signaling channel.

      • Value (string) – [REQUIRED]

        The value of the tag that is associated with the specified signaling channel.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions