Module Smaws_Client_Organizations.MoveAccount

Moves an account from its current source parent root or organizational unit (OU) to the specified destination parent root or OU.

You can only call this operation from the management account.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AccountNotFoundException of Types.account_not_found_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `DestinationParentNotFoundException of Types.destination_parent_not_found_exception | `DuplicateAccountException of Types.duplicate_account_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `SourceParentNotFoundException of Types.source_parent_not_found_exception | `TooManyRequestsException of Types.too_many_requests_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.move_account_request -> (Smaws_Lib.Smithy_api.Types.unit_, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AccountNotFoundException of Types.account_not_found_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `DestinationParentNotFoundException of Types.destination_parent_not_found_exception | `DuplicateAccountException of Types.duplicate_account_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `SourceParentNotFoundException of Types.source_parent_not_found_exception | `TooManyRequestsException of Types.too_many_requests_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.move_account_request -> (Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `AccountNotFoundException of Types.account_not_found_exception | `AWSOrganizationsNotInUseException of Types.aws_organizations_not_in_use_exception | `ConcurrentModificationException of Types.concurrent_modification_exception | `DestinationParentNotFoundException of Types.destination_parent_not_found_exception | `DuplicateAccountException of Types.duplicate_account_exception | `InvalidInputException of Types.invalid_input_exception | `ServiceException of Types.service_exception | `SourceParentNotFoundException of Types.source_parent_not_found_exception | `TooManyRequestsException of Types.too_many_requests_exception ] * Smaws_Lib.Response.metadata) Stdlib.result