RecycleBin / Client / list_tags_for_resource
list_tags_for_resource#
- RecycleBin.Client.list_tags_for_resource(**kwargs)#
Lists the tags assigned to a retention rule.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( ResourceArn='string' )
- Parameters:
ResourceArn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the retention rule.
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) –
Tags (list) –
Information about the tags assigned to the retention rule.
(dict) –
Information about the tags to assign to the retention rule.
Key (string) –
The tag key.
Value (string) –
The tag value.
Exceptions