Module Smaws_Client_WorkSpaces.MigrateWorkspace

Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.

The migration process recreates the WorkSpace by using a new root volume from the target bundle image and the user volume from the last available snapshot of the original WorkSpace. During migration, the original D:\Users\%USERNAME% user profile folder is renamed to D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated. A new D:\Users\%USERNAME%] folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile. For available migration scenarios, details about what happens during migration, and best practices, see {{:https://docs.aws.amazon.com/workspaces/latest/adminguide/migrate-workspaces.html}Migrate a WorkSpace}.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `OperationInProgressException of Types.operation_in_progress_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ResourceUnavailableException of Types.resource_unavailable_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.migrate_workspace_request -> (Types.migrate_workspace_result, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `OperationInProgressException of Types.operation_in_progress_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ResourceUnavailableException of Types.resource_unavailable_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.migrate_workspace_request -> (Types.migrate_workspace_result Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsJson.error | `AccessDeniedException of Types.access_denied_exception | `InvalidParameterValuesException of Types.invalid_parameter_values_exception | `OperationInProgressException of Types.operation_in_progress_exception | `OperationNotSupportedException of Types.operation_not_supported_exception | `ResourceNotFoundException of Types.resource_not_found_exception | `ResourceUnavailableException of Types.resource_unavailable_exception ] * Smaws_Lib.Response.metadata) Stdlib.result