list_telemetry_rules
async
¶
list_telemetry_rules(
*,
config_overrides: Optional[AsyncObservabilityAdminClientConfig] = None,
rule_name_prefix: Optional[str] = None,
max_results: Optional[ListTelemetryRulesMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListTelemetryRulesOutput
Lists all telemetry rules in your account. You can filter the results by specifying a rule name prefix.
Parameters:
-
rule_name_prefix(Optional[str], default:None) –A string to filter telemetry rules whose names begin with the specified prefix.
-
max_results(Optional[ListTelemetryRulesMaxResults], default:None) –The maximum number of telemetry rules to return in a single call.
-
next_token(Optional[NextToken], default:None) –The token for the next set of results. A previous call generates this token.
Raises:
-
AccessDeniedException–Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
-
InternalServerException–Indicates the request has failed to process because of an unknown server error, exception, or failure.
-
TooManyRequestsException–The request throughput limit was exceeded.
-
ValidationException–Indicates input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.