IoTTwinMaker / Client / tag_resource

tag_resource#

IoTTwinMaker.Client.tag_resource(**kwargs)#

Adds tags to a resource.

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.

  • tags (dict) –

    [REQUIRED]

    Metadata to add to this resource.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • IoTTwinMaker.Client.exceptions.TooManyTagsException

  • IoTTwinMaker.Client.exceptions.AccessDeniedException

  • IoTTwinMaker.Client.exceptions.ResourceNotFoundException