BillingandCostManagementDashboards / Client / list_tags_for_resource
list_tags_for_resource¶
- BillingandCostManagementDashboards.Client.list_tags_for_resource(**kwargs)¶
Returns a list of all tags associated with a specified dashboard resource.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( resourceArn='string' )
- Parameters:
resourceArn (string) –
[REQUIRED]
The unique identifier for the resource.
- Return type:
dict
- Returns:
Response Syntax
{ 'resourceTags': [ { 'key': 'string', 'value': 'string' }, ] }
Response Structure
(dict) –
resourceTags (list) –
The list of tags associated with the specified dashboard resource.
(dict) –
A key-value pair that can be attached to a dashboard for organization and management purposes.
key (string) –
The key of the tag to be attached to the dashboard resource.
value (string) –
The value of the tag to be attached to the dashboard resource.
Exceptions
BillingandCostManagementDashboards.Client.exceptions.ThrottlingExceptionBillingandCostManagementDashboards.Client.exceptions.InternalServerExceptionBillingandCostManagementDashboards.Client.exceptions.ValidationExceptionBillingandCostManagementDashboards.Client.exceptions.ResourceNotFoundException