RecycleBin.Client.
tag_resource
(**kwargs)¶Assigns tags to the specified retention rule.
See also: AWS API Documentation
Request Syntax
response = client.tag_resource(
ResourceArn='string',
Tags=[
{
'Key': 'string',
'Value': 'string'
},
]
)
[REQUIRED]
The Amazon Resource Name (ARN) of the retention rule.
[REQUIRED]
Information about the tags to assign to the retention rule.
Information about the tags to assign to the retention rule.
The tag key.
The tag value.
dict
Response Syntax
{}
Response Structure
Exceptions
RecycleBin.Client.exceptions.ValidationException
RecycleBin.Client.exceptions.InternalServerException
RecycleBin.Client.exceptions.ResourceNotFoundException
RecycleBin.Client.exceptions.ServiceQuotaExceededException