ParallelComputingService / Client / list_tags_for_resource

list_tags_for_resource#

ParallelComputingService.Client.list_tags_for_resource(**kwargs)#

Returns a list of all tags on an Amazon Web Services PCS resource.

See also: AWS API Documentation

Request Syntax

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

resourceArn (string) –

[REQUIRED]

The Amazon Resource Name (ARN) of the resource for which to list tags.

Return type:

dict

Returns:

Response Syntax

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

Response Structure

  • (dict) –

    • tags (dict) –

      1 or more tags added to the resource. Each tag consists of a tag key and tag value. The tag value is optional and can be an empty string.

      • (string) –

        • (string) –

Exceptions

  • ParallelComputingService.Client.exceptions.ResourceNotFoundException