NetworkManager / Client / list_tags_for_resource
list_tags_for_resource#
- NetworkManager.Client.list_tags_for_resource(**kwargs)#
Lists the tags for a specified resource.
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 resource.
- Return type:
dict
- Returns:
Response Syntax
{ 'TagList': [ { 'Key': 'string', 'Value': 'string' }, ] }
Response Structure
(dict) –
TagList (list) –
The list of tags.
(dict) –
Describes a tag.
Key (string) –
The tag key.
Constraints: Maximum length of 128 characters.
Value (string) –
The tag value.
Constraints: Maximum length of 256 characters.
Exceptions
NetworkManager.Client.exceptions.ValidationException
NetworkManager.Client.exceptions.AccessDeniedException
NetworkManager.Client.exceptions.ResourceNotFoundException
NetworkManager.Client.exceptions.ThrottlingException
NetworkManager.Client.exceptions.InternalServerException