SupplyChain / Client / list_tags_for_resource
list_tags_for_resource#
- SupplyChain.Client.list_tags_for_resource(**kwargs)#
List all the tags for an Amazon Web ServicesSupply Chain resource. You can list all the tags added to a resource. By listing the tags, developers can view the tag level information on a resource and perform actions such as, deleting a resource associated with a particular tag.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( resourceArn='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The Amazon Web Services Supply chain resource ARN that needs tags to be listed.
- Return type:
dict
- Returns:
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) –
The response parameters of ListTagsForResource.
tags (dict) –
The tags added to an Amazon Web Services Supply Chain resource.
(string) –
(string) –
Exceptions
SupplyChain.Client.exceptions.ServiceQuotaExceededException
SupplyChain.Client.exceptions.ResourceNotFoundException
SupplyChain.Client.exceptions.ThrottlingException
SupplyChain.Client.exceptions.AccessDeniedException
SupplyChain.Client.exceptions.ValidationException
SupplyChain.Client.exceptions.InternalServerException
SupplyChain.Client.exceptions.ConflictException