Skip to content

Commit 8a37dee

Browse files
author
AWS
committed
Amazon WorkSpaces Update: Added the migrate feature to Amazon WorkSpaces.
1 parent ef3f727 commit 8a37dee

File tree

2 files changed

+58
-5
lines changed

2 files changed

+58
-5
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon WorkSpaces",
4+
"description": "Added the migrate feature to Amazon WorkSpaces."
5+
}

services/workspaces/src/main/resources/codegen-resources/service-2.json

Lines changed: 53 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,24 @@
371371
],
372372
"documentation":"<p>Retrieves a list of IP address ranges, specified as IPv4 CIDR blocks, that you can use for the network management interface when you enable Bring Your Own License (BYOL). </p> <p>The management network interface is connected to a secure Amazon WorkSpaces management network. It is used for interactive streaming of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow Amazon WorkSpaces to manage the WorkSpace.</p>"
373373
},
374+
"MigrateWorkspace":{
375+
"name":"MigrateWorkspace",
376+
"http":{
377+
"method":"POST",
378+
"requestUri":"/"
379+
},
380+
"input":{"shape":"MigrateWorkspaceRequest"},
381+
"output":{"shape":"MigrateWorkspaceResult"},
382+
"errors":[
383+
{"shape":"InvalidParameterValuesException"},
384+
{"shape":"ResourceNotFoundException"},
385+
{"shape":"AccessDeniedException"},
386+
{"shape":"OperationNotSupportedException"},
387+
{"shape":"OperationInProgressException"},
388+
{"shape":"ResourceUnavailableException"}
389+
],
390+
"documentation":"<p>Migrates a WorkSpace from one operating system or bundle type to another, while retaining the data on the user volume.</p> <p>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 <code>D:\\Users\\%USERNAME%</code> user profile folder is renamed to <code>D:\\Users\\%USERNAME%MMddyyTHHmmss%.NotMigrated</code>. A new <code>D:\\Users\\%USERNAME%\\</code> folder is generated by the new OS. Certain files in the old user profile are moved to the new user profile.</p> <p>For available migration scenarios, details about what happens during migration, and best practices, see <a href=\"https://docs.aws.amazon.com/workspaces/latest/adminguide/migrate-workspaces.html\">Migrate a WorkSpace</a>.</p>"
391+
},
374392
"ModifyAccount":{
375393
"name":"ModifyAccount",
376394
"http":{
@@ -430,7 +448,7 @@
430448
{"shape":"ResourceNotFoundException"},
431449
{"shape":"AccessDeniedException"}
432450
],
433-
"documentation":"<p>Specifies which devices and operating systems users can use to access their Workspaces. For more information, see <a href=\"https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html#control-device-access\"> Control Device Access</a>.</p>"
451+
"documentation":"<p>Specifies which devices and operating systems users can use to access their WorkSpaces. For more information, see <a href=\"https://docs.aws.amazon.com/workspaces/latest/adminguide/update-directory-details.html#control-device-access\"> Control Device Access</a>.</p>"
434452
},
435453
"ModifyWorkspaceCreationProperties":{
436454
"name":"ModifyWorkspaceCreationProperties",
@@ -857,7 +875,7 @@
857875
},
858876
"Tags":{
859877
"shape":"TagList",
860-
"documentation":"<p>The tags. Each WorkSpaces resource can have a maximum of 50 tags.</p>"
878+
"documentation":"<p>The tags. Each WorkSpaces resource can have a maximum of 50 tags. If you want to add new tags to a set of existing tags, you must submit all of the existing tags along with the new ones.</p>"
861879
}
862880
}
863881
},
@@ -1552,6 +1570,36 @@
15521570
"max":5,
15531571
"min":1
15541572
},
1573+
"MigrateWorkspaceRequest":{
1574+
"type":"structure",
1575+
"required":[
1576+
"SourceWorkspaceId",
1577+
"BundleId"
1578+
],
1579+
"members":{
1580+
"SourceWorkspaceId":{
1581+
"shape":"WorkspaceId",
1582+
"documentation":"<p>The identifier of the WorkSpace to migrate from.</p>"
1583+
},
1584+
"BundleId":{
1585+
"shape":"BundleId",
1586+
"documentation":"<p>The identifier of the target bundle type to migrate the WorkSpace to.</p>"
1587+
}
1588+
}
1589+
},
1590+
"MigrateWorkspaceResult":{
1591+
"type":"structure",
1592+
"members":{
1593+
"SourceWorkspaceId":{
1594+
"shape":"WorkspaceId",
1595+
"documentation":"<p>The original identifier of the WorkSpace that is being migrated.</p>"
1596+
},
1597+
"TargetWorkspaceId":{
1598+
"shape":"WorkspaceId",
1599+
"documentation":"<p>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.</p>"
1600+
}
1601+
}
1602+
},
15551603
"ModificationResourceEnum":{
15561604
"type":"string",
15571605
"enum":[
@@ -2342,7 +2390,7 @@
23422390
},
23432391
"VolumeEncryptionKey":{
23442392
"shape":"VolumeEncryptionKey",
2345-
"documentation":"<p>The KMS key used to encrypt data stored on your WorkSpace.</p>"
2393+
"documentation":"<p>The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.</p>"
23462394
},
23472395
"UserVolumeEncryptionEnabled":{
23482396
"shape":"BooleanObject",
@@ -2548,7 +2596,7 @@
25482596
},
25492597
"WorkspaceAccessProperties":{
25502598
"shape":"WorkspaceAccessProperties",
2551-
"documentation":"<p>The devices and operating systems that users can use to access Workspaces.</p>"
2599+
"documentation":"<p>The devices and operating systems that users can use to access WorkSpaces.</p>"
25522600
},
25532601
"Tenancy":{
25542602
"shape":"Tenancy",
@@ -2729,7 +2777,7 @@
27292777
},
27302778
"VolumeEncryptionKey":{
27312779
"shape":"VolumeEncryptionKey",
2732-
"documentation":"<p>The KMS key used to encrypt data stored on your WorkSpace.</p>"
2780+
"documentation":"<p>The symmetric AWS KMS customer master key (CMK) used to encrypt data stored on your WorkSpace. Amazon WorkSpaces does not support asymmetric CMKs.</p>"
27332781
},
27342782
"UserVolumeEncryptionEnabled":{
27352783
"shape":"BooleanObject",

0 commit comments

Comments
 (0)