list_tags_for_resource

Braket.Client.list_tags_for_resource(**kwargs)

Shows the tags associated with this resource.

See also: AWS API Documentation

Request Syntax

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

[REQUIRED]

Specify the resourceArn for the resource whose tags to display.

Return type
dict
Returns
Response Syntax
{
    'tags': {
        'string': 'string'
    }
}

Response Structure

  • (dict) --
    • tags (dict) --

      Displays the key, value pairs of tags associated with this resource.

      • (string) --
        • (string) --

Exceptions

  • Braket.Client.exceptions.ResourceNotFoundException
  • Braket.Client.exceptions.InternalServiceException
  • Braket.Client.exceptions.ValidationException