Smaws_Client_ComputeOptimizerAutomation.DisassociateAccountsDisassociates member accounts from your organization's management account, removing centralized automation capabilities. Once disassociated, organization rules no longer apply to the member account, and the management account (or delegated administrator) cannot create Automation rules for that account.
Only the management account or a delegated administrator can perform this action.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ForbiddenException of Types.forbidden_exception
| `IdempotencyTokenInUseException of Types.idempotency_token_in_use_exception
| `IdempotentParameterMismatchException of
Types.idempotent_parameter_mismatch_exception
| `InternalServerException of Types.internal_server_exception
| `InvalidParameterValueException of Types.invalid_parameter_value_exception
| `NotManagementAccountException of Types.not_management_account_exception
| `OptInRequiredException of Types.opt_in_required_exception
| `ServiceUnavailableException of Types.service_unavailable_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.disassociate_accounts_request ->
(Types.disassociate_accounts_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ForbiddenException of Types.forbidden_exception
| `IdempotencyTokenInUseException of
Types.idempotency_token_in_use_exception
| `IdempotentParameterMismatchException of
Types.idempotent_parameter_mismatch_exception
| `InternalServerException of Types.internal_server_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `NotManagementAccountException of Types.not_management_account_exception
| `OptInRequiredException of Types.opt_in_required_exception
| `ServiceUnavailableException of Types.service_unavailable_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.disassociate_accounts_request ->
(Types.disassociate_accounts_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `ForbiddenException of Types.forbidden_exception
| `IdempotencyTokenInUseException of
Types.idempotency_token_in_use_exception
| `IdempotentParameterMismatchException of
Types.idempotent_parameter_mismatch_exception
| `InternalServerException of Types.internal_server_exception
| `InvalidParameterValueException of
Types.invalid_parameter_value_exception
| `NotManagementAccountException of Types.not_management_account_exception
| `OptInRequiredException of Types.opt_in_required_exception
| `ServiceUnavailableException of Types.service_unavailable_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result