tag_resource

IoTDeviceAdvisor.Client.tag_resource(**kwargs)

Adds to and modifies existing tags of an IoT Device Advisor resource.

Requires permission to access the TagResource action.

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    The resource ARN of an IoT Device Advisor resource. This can be SuiteDefinition ARN or SuiteRun ARN.

  • tags (dict) --

    [REQUIRED]

    The tags to be attached to the IoT Device Advisor resource.

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

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • IoTDeviceAdvisor.Client.exceptions.InternalServerException
  • IoTDeviceAdvisor.Client.exceptions.ValidationException
  • IoTDeviceAdvisor.Client.exceptions.ResourceNotFoundException