LicenseManager / Client / list_tags_for_resource
list_tags_for_resource¶
- LicenseManager.Client.list_tags_for_resource(**kwargs)¶
Lists the tags for the specified resource. For more information about tagging support in License Manager, see the TagResource operation.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( ResourceArn='string' )
- Parameters:
ResourceArn (string) –
[REQUIRED]
Amazon Resource Name (ARN) of the resource.
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) –
Tags (list) –
Information about the tags.
(dict) –
Details about the tags for a resource. For more information about tagging support in License Manager, see the TagResource operation.
Key (string) –
The tag key.
Value (string) –
The tag value.
Exceptions
LicenseManager.Client.exceptions.InvalidParameterValueException
LicenseManager.Client.exceptions.ServerInternalException
LicenseManager.Client.exceptions.AuthorizationException
LicenseManager.Client.exceptions.AccessDeniedException
LicenseManager.Client.exceptions.RateLimitExceededException