AgentRegistryControl / Client / tag_resource
tag_resource¶
- AgentRegistryControl.Client.tag_resource(**kwargs)¶
Tag a resource with key-value pairs
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( resourceArn='string', tags={ 'string': 'string' } )
- Parameters:
resourceArn (string) –
[REQUIRED]
ARN of a taggable Agent Registry resource.
tags (dict) –
[REQUIRED]
A map of tag keys to tag values.
(string) –
Key of a tag.
(string) –
Value of a tag.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
AgentRegistryControl.Client.exceptions.InternalServerExceptionAgentRegistryControl.Client.exceptions.AccessDeniedExceptionAgentRegistryControl.Client.exceptions.ThrottlingExceptionAgentRegistryControl.Client.exceptions.ResourceNotFoundExceptionAgentRegistryControl.Client.exceptions.ValidationExceptionAgentRegistryControl.Client.exceptions.ServiceQuotaExceededException