libZSservicesZSamazonka-workspacesZSamazonka-workspaces
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkSpaces.MigrateWorkspace

Description

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.

Synopsis

Creating a Request

data MigrateWorkspace Source #

See: newMigrateWorkspace smart constructor.

Constructors

MigrateWorkspace' 

Fields

Instances

Instances details
Eq MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

Read MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

Show MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

Generic MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

Associated Types

type Rep MigrateWorkspace :: Type -> Type #

NFData MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

Methods

rnf :: MigrateWorkspace -> () #

Hashable MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

ToJSON MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

AWSRequest MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

Associated Types

type AWSResponse MigrateWorkspace #

ToHeaders MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

ToPath MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

ToQuery MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

type Rep MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

type Rep MigrateWorkspace = D1 ('MetaData "MigrateWorkspace" "Amazonka.WorkSpaces.MigrateWorkspace" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "MigrateWorkspace'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceWorkspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "bundleId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse MigrateWorkspace Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

newMigrateWorkspace Source #

Create a value of MigrateWorkspace with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sourceWorkspaceId:MigrateWorkspace', migrateWorkspace_sourceWorkspaceId - The identifier of the WorkSpace to migrate from.

$sel:bundleId:MigrateWorkspace', migrateWorkspace_bundleId - The identifier of the target bundle type to migrate the WorkSpace to.

Request Lenses

migrateWorkspace_sourceWorkspaceId :: Lens' MigrateWorkspace Text Source #

The identifier of the WorkSpace to migrate from.

migrateWorkspace_bundleId :: Lens' MigrateWorkspace Text Source #

The identifier of the target bundle type to migrate the WorkSpace to.

Destructuring the Response

data MigrateWorkspaceResponse Source #

See: newMigrateWorkspaceResponse smart constructor.

Constructors

MigrateWorkspaceResponse' 

Fields

  • sourceWorkspaceId :: Maybe Text

    The original identifier of the WorkSpace that is being migrated.

  • targetWorkspaceId :: Maybe Text

    The new identifier of the WorkSpace that is being migrated. If the migration does not succeed, the target WorkSpace ID will not be used, and the WorkSpace will still have the original WorkSpace ID.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Eq MigrateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

Read MigrateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

Show MigrateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

Generic MigrateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

Associated Types

type Rep MigrateWorkspaceResponse :: Type -> Type #

NFData MigrateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

type Rep MigrateWorkspaceResponse Source # 
Instance details

Defined in Amazonka.WorkSpaces.MigrateWorkspace

type Rep MigrateWorkspaceResponse = D1 ('MetaData "MigrateWorkspaceResponse" "Amazonka.WorkSpaces.MigrateWorkspace" "libZSservicesZSamazonka-workspacesZSamazonka-workspaces" 'False) (C1 ('MetaCons "MigrateWorkspaceResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceWorkspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "targetWorkspaceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newMigrateWorkspaceResponse Source #

Create a value of MigrateWorkspaceResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sourceWorkspaceId:MigrateWorkspace', migrateWorkspaceResponse_sourceWorkspaceId - The original identifier of the WorkSpace that is being migrated.

$sel:targetWorkspaceId:MigrateWorkspaceResponse', migrateWorkspaceResponse_targetWorkspaceId - The new identifier of the WorkSpace that is being migrated. If the migration does not succeed, the target WorkSpace ID will not be used, and the WorkSpace will still have the original WorkSpace ID.

$sel:httpStatus:MigrateWorkspaceResponse', migrateWorkspaceResponse_httpStatus - The response's http status code.

Response Lenses

migrateWorkspaceResponse_sourceWorkspaceId :: Lens' MigrateWorkspaceResponse (Maybe Text) Source #

The original identifier of the WorkSpace that is being migrated.

migrateWorkspaceResponse_targetWorkspaceId :: Lens' MigrateWorkspaceResponse (Maybe Text) Source #

The new identifier of the WorkSpace that is being migrated. If the migration does not succeed, the target WorkSpace ID will not be used, and the WorkSpace will still have the original WorkSpace ID.