Bedrock / Client / tag_resource

tag_resource#

Bedrock.Client.tag_resource(**kwargs)#

Associate tags with a resource. For more information, see Tagging resources in the Bedrock User Guide.

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    resourceARN='string',
    tags=[
        {
            'key': 'string',
            'value': 'string'
        },
    ]
)
Parameters:
  • resourceARN (string) –

    [REQUIRED]

    The ARN of the resource to tag.

  • tags (list) –

    [REQUIRED]

    Tags to associate with the resource.

    • (dict) –

      Definition of the key/value pair for a tag.

      • key (string) – [REQUIRED]

        Key for the tag.

      • value (string) – [REQUIRED]

        Value for the tag.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions