get_organization_config_rule_detailed_status
¶
get_organization_config_rule_detailed_status(
organization_config_rule_name: OrganizationConfigRuleName,
*,
config_overrides: Optional[ConfigServiceClientConfig] = None,
filters: Optional[StatusDetailFilters] = None,
limit: Optional[CosmosPageLimit] = None,
next_token: Optional[String] = None,
) -> GetOrganizationConfigRuleDetailedStatusResponse
Returns detailed status for each member account within an organization for a given organization Config rule.
Parameters:
-
organization_config_rule_name(OrganizationConfigRuleName) –The name of your organization Config rule for which you want status details for member accounts.
-
filters(Optional[StatusDetailFilters], default:None) –A
StatusDetailFiltersobject. -
limit(Optional[CosmosPageLimit], default:None) –The maximum number of
OrganizationConfigRuleDetailedStatusreturned on each page. If you do not specify a number, Config uses the default. The default is 100. -
next_token(Optional[String], default:None) –The
nextTokenstring returned on a previous page that you use to get the next page of results in a paginated response.
Raises:
-
InvalidLimitException–The specified limit is outside the allowable range.
-
InvalidNextTokenException–The specified next token is not valid. Specify the
nextTokenstring that was returned in the previous response to get the next page of results. -
NoSuchOrganizationConfigRuleException–The Config rule in the request is not valid. Verify that the rule is an organization Config Process Check rule, that the rule name is correct, and that valid Amazon Resouce Names (ARNs) are used before trying again.
-
OrganizationAccessDeniedException–For
PutConfigurationAggregatorAPI, you can see this exception for the following reasons:-
No permission to call
EnableAWSServiceAccessAPI -
The configuration aggregator cannot be updated because your Amazon Web Services Organization management account or the delegated administrator role changed. Delete this aggregator and create a new one with the current Amazon Web Services Organization.
-
The configuration aggregator is associated with a previous Amazon Web Services Organization and Config cannot aggregate data with current Amazon Web Services Organization. Delete this aggregator and create a new one with the current Amazon Web Services Organization.
-
You are not a registered delegated administrator for Config with permissions to call
ListDelegatedAdministratorsAPI. Ensure that the management account registers delagated administrator for Config service principal name before the delegated administrator creates an aggregator.
For all
OrganizationConfigRuleandOrganizationConformancePackAPIs, Config throws an exception if APIs are called from member accounts. All APIs must be called from organization management account. -
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_config_service/_services/config_service.py
4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 | |