list_telemetry_rules_for_organization
¶
list_telemetry_rules_for_organization(
*,
config_overrides: Optional[ObservabilityAdminClientConfig] = None,
rule_name_prefix: Optional[str] = None,
source_account_ids: Optional[AccountIdentifiers] = None,
source_organization_unit_ids: Optional[OrganizationUnitIdentifiers] = None,
max_results: Optional[ListTelemetryRulesForOrganizationMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListTelemetryRulesForOrganizationOutput
Lists all telemetry rules in your organization. This operation can only be called by the organization's management account or a delegated administrator account.
Parameters:
-
rule_name_prefix(Optional[str], default:None) –A string to filter organization telemetry rules whose names begin with the specified prefix.
-
source_account_ids(Optional[AccountIdentifiers], default:None) –The list of account IDs to filter organization telemetry rules by their source accounts.
-
source_organization_unit_ids(Optional[OrganizationUnitIdentifiers], default:None) –The list of organizational unit IDs to filter organization telemetry rules by their source organizational units.
-
max_results(Optional[ListTelemetryRulesForOrganizationMaxResults], default:None) –The maximum number of organization 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.
Source code in docs_src/capo_observabilityadmin/_services/observability_admin.py
2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 | |