CloudWatchObservabilityAdminService / Client / list_tags_for_resource
list_tags_for_resource¶
- CloudWatchObservabilityAdminService.Client.list_tags_for_resource(**kwargs)¶
Lists all tags attached to the specified resource. Supports telemetry rule resources and telemetry pipeline resources.
See also: AWS API Documentation
Request Syntax
response = client.list_tags_for_resource( ResourceARN='string' )
- Parameters:
ResourceARN (string) –
[REQUIRED]
The Amazon Resource Name (ARN) of the telemetry rule resource whose tags you want to list.
- Return type:
dict
- Returns:
Response Syntax
{ 'Tags': { 'string': 'string' } }
Response Structure
(dict) –
Tags (dict) –
The list of tags associated with the telemetry rule resource.
(string) –
(string) –
Exceptions
CloudWatchObservabilityAdminService.Client.exceptions.ResourceNotFoundExceptionCloudWatchObservabilityAdminService.Client.exceptions.AccessDeniedExceptionCloudWatchObservabilityAdminService.Client.exceptions.InternalServerExceptionCloudWatchObservabilityAdminService.Client.exceptions.ValidationExceptionCloudWatchObservabilityAdminService.Client.exceptions.TooManyRequestsException