NetworkSecurityManagerCustomerAPI / Client / list_tags_for_resource
list_tags_for_resource¶
- NetworkSecurityManagerCustomerAPI.Client.list_tags_for_resource(**kwargs)¶
Lists the tags associated with the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( resourceArn='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The ARN of the resource to list tags for. The ARN must not include a
:DRAFTqualifier.- Return type:
dict
- Returns:
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) –
tags (dict) –
The tags associated with the resource. Each tag is a key-value pair.
(string) –
(string) –
Exceptions
NetworkSecurityManagerCustomerAPI.Client.exceptions.ValidationExceptionNetworkSecurityManagerCustomerAPI.Client.exceptions.InternalServerExceptionNetworkSecurityManagerCustomerAPI.Client.exceptions.AccessDeniedExceptionNetworkSecurityManagerCustomerAPI.Client.exceptions.ResourceNotFoundExceptionNetworkSecurityManagerCustomerAPI.Client.exceptions.ThrottlingException