list_telemetry_rules_for_organization
async
¶
list_telemetry_rules_for_organization(
*,
config_overrides: Optional[AsyncObservabilityAdminClientConfig] = 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/async_observability_admin.py
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 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 | |