IoTSecureTunneling / Client / tag_resource

tag_resource#

IoTSecureTunneling.Client.tag_resource(**kwargs)#

A resource tag.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The ARN of the resource.

  • tags (list) –

    [REQUIRED]

    The tags for the resource.

    • (dict) –

      An arbitary key/value pair used to add searchable metadata to secure tunnel resources.

      • key (string) – [REQUIRED]

        The key of the tag.

      • value (string) – [REQUIRED]

        The value of the tag.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • IoTSecureTunneling.Client.exceptions.ResourceNotFoundException