BillingandCostManagementPricingCalculator / Client / list_tags_for_resource
list_tags_for_resource#
- BillingandCostManagementPricingCalculator.Client.list_tags_for_resource(**kwargs)#
Lists all tags associated with a specified resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( arn='string' )
- Parameters:
arn (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the resource to list tags for.
- Return type:
dict
- Returns:
Response Syntax
{ 'tags': { 'string': 'string' } }
Response Structure
(dict) –
tags (dict) –
The list of tags associated with the specified resource.
(string) –
(string) –
Exceptions
BillingandCostManagementPricingCalculator.Client.exceptions.ValidationException
BillingandCostManagementPricingCalculator.Client.exceptions.InternalServerException
BillingandCostManagementPricingCalculator.Client.exceptions.ResourceNotFoundException
BillingandCostManagementPricingCalculator.Client.exceptions.AccessDeniedException
BillingandCostManagementPricingCalculator.Client.exceptions.ThrottlingException