Bedrock / Client / list_tags_for_resource

list_tags_for_resource#

Bedrock.Client.list_tags_for_resource(**kwargs)#

List the tags associated with the specified resource.

For more information, see Tagging resources in the Amazon Bedrock User Guide.

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.

Return type:

dict

Returns:

Response Syntax

{
    'tags': [
        {
            'key': 'string',
            'value': 'string'
        },
    ]
}

Response Structure

  • (dict) –

    • tags (list) –

      An array of the tags associated with this resource.

      • (dict) –

        Definition of the key/value pair for a tag.

        • key (string) –

          Key for the tag.

        • value (string) –

          Value for the tag.

Exceptions