Module Smaws_Client_Organizations.ListAccountsWithInvalidEffectivePolicy

Lists all the accounts in an organization that have invalid effective policies. An invalid effective policy is an effective policy that fails validation checks, resulting in the effective policy not being fully enforced on all the intended accounts within an organization.

You can only call this operation from the management account or a member account that is a delegated administrator.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `ConstraintViolationException of Types.constraint_violation_exception | `EffectivePolicyNotFoundException of Types.effective_policy_not_found_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception | `UnsupportedAPIEndpointException of Types.unsupported_api_endpoint_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.list_accounts_with_invalid_effective_policy_request -> (Types.list_accounts_with_invalid_effective_policy_response, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `ConstraintViolationException of Types.constraint_violation_exception | `EffectivePolicyNotFoundException of Types.effective_policy_not_found_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception | `UnsupportedAPIEndpointException of Types.unsupported_api_endpoint_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.list_accounts_with_invalid_effective_policy_request -> (Types.list_accounts_with_invalid_effective_policy_response Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `ConstraintViolationException of Types.constraint_violation_exception | `EffectivePolicyNotFoundException of Types.effective_policy_not_found_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `TooManyRequestsException of Types.too_many_requests_exception | `UnsupportedAPIEndpointException of Types.unsupported_api_endpoint_exception ] * Smaws_Lib.Response.metadata) Stdlib.result