DataAutomationforBedrock / Client / tag_resource
tag_resource¶
- DataAutomationforBedrock.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
DataAutomationforBedrock.Client.exceptions.ServiceQuotaExceededExceptionDataAutomationforBedrock.Client.exceptions.ValidationExceptionDataAutomationforBedrock.Client.exceptions.InternalServerExceptionDataAutomationforBedrock.Client.exceptions.ThrottlingExceptionDataAutomationforBedrock.Client.exceptions.AccessDeniedExceptionDataAutomationforBedrock.Client.exceptions.ResourceNotFoundException