tag_resource
(**kwargs)¶Applies the specified tags to the specified WorkMailorganization resource.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceARN='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The resource ARN.
[REQUIRED]
The tag key-value pairs.
Describes a tag applied to a resource.
The key of the tag.
The value of the tag.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.ResourceNotFoundException
WorkMail.Client.exceptions.TooManyTagsException
WorkMail.Client.exceptions.OrganizationStateException