Schemas / Client / list_tags_for_resource
list_tags_for_resource#
- Schemas.Client.list_tags_for_resource(**kwargs)#
Get tags for 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.
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': { 'string': 'string' } }
Response Structure
(dict) –
200 response
Tags (dict) –
Key-value pairs associated with a resource.
(string) –
(string) –
Exceptions
Schemas.Client.exceptions.NotFoundException
Schemas.Client.exceptions.BadRequestException
Schemas.Client.exceptions.InternalServerErrorException
Schemas.Client.exceptions.ForbiddenException