list_centralization_rules_for_organization
¶
list_centralization_rules_for_organization(
*,
config_overrides: Optional[ObservabilityAdminClientConfig] = None,
rule_name_prefix: Optional[str] = None,
all_regions: Optional[bool] = None,
max_results: Optional[ListCentralizationRulesForOrganizationMaxResults] = None,
next_token: Optional[NextToken] = None,
) -> ListCentralizationRulesForOrganizationOutput
Lists all centralization 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 centralization rules whose names begin with the specified prefix.
-
all_regions(Optional[bool], default:None) –A flag determining whether to return organization centralization rules from all regions or only the current region.
-
max_results(Optional[ListCentralizationRulesForOrganizationMaxResults], default:None) –The maximum number of organization centralization 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
1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 | |