AgentsforBedrock / Client / tag_resource

tag_resource#

AgentsforBedrock.Client.tag_resource(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.tag_resource(
    resourceArn='string',
    tags={
        'string': 'string'
    }
)
Parameters:
  • resourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the resource to tag.

  • tags (dict) –

    [REQUIRED]

    An object containing key-value pairs that define the tags to attach to the resource.

    • (string) –

      • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions