pub struct MigrateWorkspace { /* 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§
source§impl MigrateWorkspace
impl MigrateWorkspace
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<MigrateWorkspace, AwsResponseRetryClassifier>, SdkError<MigrateWorkspaceError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<MigrateWorkspace, AwsResponseRetryClassifier>, SdkError<MigrateWorkspaceError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<MigrateWorkspaceOutput, SdkError<MigrateWorkspaceError>>
pub async fn send(
self
) -> Result<MigrateWorkspaceOutput, SdkError<MigrateWorkspaceError>>
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.
sourcepub fn source_workspace_id(self, input: impl Into<String>) -> Self
pub fn source_workspace_id(self, input: impl Into<String>) -> Self
The identifier of the WorkSpace to migrate from.
sourcepub fn set_source_workspace_id(self, input: Option<String>) -> Self
pub fn set_source_workspace_id(self, input: Option<String>) -> Self
The identifier of the WorkSpace to migrate from.
sourcepub fn bundle_id(self, input: impl Into<String>) -> Self
pub fn bundle_id(self, input: impl Into<String>) -> Self
The identifier of the target bundle type to migrate the WorkSpace to.
sourcepub fn set_bundle_id(self, input: Option<String>) -> Self
pub fn set_bundle_id(self, input: Option<String>) -> Self
The identifier of the target bundle type to migrate the WorkSpace to.
Trait Implementations§
source§impl Clone for MigrateWorkspace
impl Clone for MigrateWorkspace
source§fn clone(&self) -> MigrateWorkspace
fn clone(&self) -> MigrateWorkspace
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more