AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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 Migrate a WorkSpace.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to MigrateWorkspaceAsync.

Namespace: Amazon.WorkSpaces
Assembly: AWSSDK.WorkSpaces.dll
Version: 3.x.y.z

Syntax

C#
public abstract MigrateWorkspaceResponse MigrateWorkspace(
         MigrateWorkspaceRequest request
)

Parameters

request
Type: Amazon.WorkSpaces.Model.MigrateWorkspaceRequest

Container for the necessary parameters to execute the MigrateWorkspace service method.

Return Value


The response from the MigrateWorkspace service method, as returned by WorkSpaces.

Exceptions

ExceptionCondition
AccessDeniedException The user is not authorized to access a resource.
InvalidParameterValuesException One or more parameter values are not valid.
OperationInProgressException The properties of this WorkSpace are currently being modified. Try again in a moment.
OperationNotSupportedException This operation is not supported.
ResourceNotFoundException The resource could not be found.
ResourceUnavailableException The specified resource is not available.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also