tag_resource

IoTFleetHub.Client.tag_resource(**kwargs)

Adds to or modifies the tags of the specified resource. Tags are metadata which can be used to manage a resource.

Note

Fleet Hub for AWS IoT Device Management is in public preview and is subject to change.

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]

    The new or modified tags for the resource.

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

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • IoTFleetHub.Client.exceptions.InternalFailureException
  • IoTFleetHub.Client.exceptions.InvalidRequestException
  • IoTFleetHub.Client.exceptions.ResourceNotFoundException