IoTFleetHub / Client / list_tags_for_resource

list_tags_for_resource#

IoTFleetHub.Client.list_tags_for_resource(**kwargs)#

Lists the tags for the specified resource.

See also: AWS API Documentation

Request Syntax

response = client.list_tags_for_resource(
    resourceArn='string'
)
Parameters:

resourceArn (string) –

[REQUIRED]

The ARN of the resource.

Return type:

dict

Returns:

Response Syntax

{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • tags (dict) –

      The list of tags assigned to the resource.

      • (string) –

        • (string) –

Exceptions

  • IoTFleetHub.Client.exceptions.InternalFailureException

  • IoTFleetHub.Client.exceptions.InvalidRequestException

  • IoTFleetHub.Client.exceptions.ResourceNotFoundException