Bedrock / Client / tag_resource
tag_resource#
- Bedrock.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=[ { 'key': 'string', 'value': 'string' }, ] )
- Parameters:
resourceARN (string) –
[REQUIRED]
The Amazon Resource Name (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
Bedrock.Client.exceptions.ResourceNotFoundException
Bedrock.Client.exceptions.AccessDeniedException
Bedrock.Client.exceptions.ValidationException
Bedrock.Client.exceptions.InternalServerException
Bedrock.Client.exceptions.TooManyTagsException
Bedrock.Client.exceptions.ThrottlingException