MultipartyApproval / Client / tag_resource
tag_resource¶
- MultipartyApproval.Client.tag_resource(**kwargs)¶
Creates or updates a resource tag. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource( ResourceArn='string', Tags={ 'string': 'string' } )
- Parameters:
ResourceArn (string) –
[REQUIRED]
Amazon Resource Name (ARN) for the resource you want to tag.
Tags (dict) –
[REQUIRED]
Tags that you have added to the specified resource.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
MultipartyApproval.Client.exceptions.AccessDeniedExceptionMultipartyApproval.Client.exceptions.ValidationExceptionMultipartyApproval.Client.exceptions.ResourceNotFoundExceptionMultipartyApproval.Client.exceptions.ThrottlingExceptionMultipartyApproval.Client.exceptions.TooManyTagsExceptionMultipartyApproval.Client.exceptions.InternalServerException