CloudWatchObservabilityAdminService / Client / list_telemetry_rules
list_telemetry_rules¶
- CloudWatchObservabilityAdminService.Client.list_telemetry_rules(**kwargs)¶
Lists all telemetry rules in your account. You can filter the results by specifying a rule name prefix.
See also: AWS API Documentation
Request Syntax
response = client.list_telemetry_rules( RuleNamePrefix='string', MaxResults=123, NextToken='string' )
- Parameters:
RuleNamePrefix (string) – A string to filter telemetry rules whose names begin with the specified prefix.
MaxResults (integer) – The maximum number of telemetry rules to return in a single call.
NextToken (string) – The token for the next set of results. A previous call generates this token.
- Return type:
dict
- Returns:
Response Syntax
{ 'TelemetryRuleSummaries': [ { 'RuleName': 'string', 'RuleArn': 'string', 'CreatedTimeStamp': 123, 'LastUpdateTimeStamp': 123, 'ResourceType': 'AWS::EC2::Instance'|'AWS::EC2::VPC'|'AWS::Lambda::Function', 'TelemetryType': 'Logs'|'Metrics'|'Traces' }, ], 'NextToken': 'string' }
Response Structure
(dict) –
TelemetryRuleSummaries (list) –
A list of telemetry rule summaries.
(dict) –
A summary of a telemetry rule’s key properties.
RuleName (string) –
The name of the telemetry rule.
RuleArn (string) –
The Amazon Resource Name (ARN) of the telemetry rule.
CreatedTimeStamp (integer) –
The timestamp when the telemetry rule was created.
LastUpdateTimeStamp (integer) –
The timestamp when the telemetry rule was last modified.
ResourceType (string) –
The type of Amazon Web Services resource the rule applies to.
TelemetryType (string) –
The type of telemetry (Logs, Metrics, or Traces) the rule configures.
NextToken (string) –
A token to resume pagination of results.
Exceptions
CloudWatchObservabilityAdminService.Client.exceptions.AccessDeniedException
CloudWatchObservabilityAdminService.Client.exceptions.InternalServerException
CloudWatchObservabilityAdminService.Client.exceptions.ValidationException
CloudWatchObservabilityAdminService.Client.exceptions.TooManyRequestsException