RuntimeforBedrockDataAutomation / Client / tag_resource

tag_resource

RuntimeforBedrockDataAutomation.Client.tag_resource(**kwargs)

Tag an Amazon Bedrock Data Automation resource

See also: AWS API Documentation

Request Syntax

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

    [REQUIRED]

    ARN of a taggable resource

  • tags (list) –

    [REQUIRED]

    List of tags

    • (dict) –

      Key value pair of a tag

      • key (string) – [REQUIRED]

        Defines the context of the tag.

      • value (string) – [REQUIRED]

        Defines the value within the context. e.g. <key=reason, value=training>.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • RuntimeforBedrockDataAutomation.Client.exceptions.ServiceQuotaExceededException

  • RuntimeforBedrockDataAutomation.Client.exceptions.ValidationException

  • RuntimeforBedrockDataAutomation.Client.exceptions.AccessDeniedException

  • RuntimeforBedrockDataAutomation.Client.exceptions.InternalServerException

  • RuntimeforBedrockDataAutomation.Client.exceptions.ResourceNotFoundException

  • RuntimeforBedrockDataAutomation.Client.exceptions.ThrottlingException