Struct aws_sdk_workspaces::client::fluent_builders::MigrateWorkspace
source · [−]pub struct MigrateWorkspace<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to 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 Migrate a WorkSpace.
Implementations
impl<C, M, R> MigrateWorkspace<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> MigrateWorkspace<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<MigrateWorkspaceOutput, SdkError<MigrateWorkspaceError>> where
R::Policy: SmithyRetryPolicy<MigrateWorkspaceInputOperationOutputAlias, MigrateWorkspaceOutput, MigrateWorkspaceError, MigrateWorkspaceInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<MigrateWorkspaceOutput, SdkError<MigrateWorkspaceError>> where
R::Policy: SmithyRetryPolicy<MigrateWorkspaceInputOperationOutputAlias, MigrateWorkspaceOutput, MigrateWorkspaceError, MigrateWorkspaceInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The identifier of the WorkSpace to migrate from.
The identifier of the WorkSpace to migrate from.
The identifier of the target bundle type to migrate the WorkSpace to.
The identifier of the target bundle type to migrate the WorkSpace to.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for MigrateWorkspace<C, M, R>
impl<C, M, R> Send for MigrateWorkspace<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for MigrateWorkspace<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for MigrateWorkspace<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for MigrateWorkspace<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more