IoTFleetHub / Client / tag_resource

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.

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