aws-sdk-workspaces 1.32.0 → 1.33.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c4b11011cf1be8a309f0e91e1b5cb9641645c339
4
- data.tar.gz: d10e61e8824612a968eca2985b05fb8a4c9fde38
3
+ metadata.gz: deba2a9240b1e1ddcabf0525f93e936d7ecd5b39
4
+ data.tar.gz: e9a0632df0de5da5173eab509cc798fd01ac37b4
5
5
  SHA512:
6
- metadata.gz: 2dd959699e594c27355a6d9d3b4feb4659354a435aec48bbabf72f38c24232c4061da133c70bc14028c90d16d4181c4feded34408219c5d14db7db0a13bea236
7
- data.tar.gz: 79398b9e27d1edee375a8a5387b47631fb4bbee099e2b7de4767b7828f3271ef30f9b34ec9659ae044f35c1a61a577c88909a39fb38ae43462ccf864aa1be2ce
6
+ metadata.gz: 6e89afb264a545d5c73056a39216b1ee571e5906e52db07621fe8daa97d736bb8e9356966550d06d53deca579fb7a58d7cb78017e611abe8b8bb0c4ea7f40d81
7
+ data.tar.gz: 8f57bffafcf0f422682d7193e2516376b1caf02948f71a3490f16c33d3903f940d4042f04b0fbc1fdb96c495d5f830b375d176ab9fdc6fcbbb20f595c4359b9a
@@ -42,6 +42,6 @@ require_relative 'aws-sdk-workspaces/customizations'
42
42
  # @service
43
43
  module Aws::WorkSpaces
44
44
 
45
- GEM_VERSION = '1.32.0'
45
+ GEM_VERSION = '1.33.0'
46
46
 
47
47
  end
@@ -447,7 +447,9 @@ module Aws::WorkSpaces
447
447
  # and IP access control groups.
448
448
  #
449
449
  # @option params [required, Array<Types::Tag>] :tags
450
- # The tags. Each WorkSpaces resource can have a maximum of 50 tags.
450
+ # The tags. Each WorkSpaces resource can have a maximum of 50 tags. If
451
+ # you want to add new tags to a set of existing tags, you must submit
452
+ # all of the existing tags along with the new ones.
451
453
  #
452
454
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
453
455
  #
@@ -1302,6 +1304,56 @@ module Aws::WorkSpaces
1302
1304
  req.send_request(options)
1303
1305
  end
1304
1306
 
1307
+ # Migrates a WorkSpace from one operating system or bundle type to
1308
+ # another, while retaining the data on the user volume.
1309
+ #
1310
+ # The migration process recreates the WorkSpace by using a new root
1311
+ # volume from the target bundle image and the user volume from the last
1312
+ # available snapshot of the original WorkSpace. During migration, the
1313
+ # original `D:\Users\%USERNAME%` user profile folder is renamed to
1314
+ # `D:\Users\%USERNAME%MMddyyTHHmmss%.NotMigrated`. A new
1315
+ # `D:\Users\%USERNAME%` folder is generated by the new OS. Certain
1316
+ # files in the old user profile are moved to the new user profile.
1317
+ #
1318
+ # For available migration scenarios, details about what happens during
1319
+ # migration, and best practices, see [Migrate a WorkSpace][1].
1320
+ #
1321
+ #
1322
+ #
1323
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/migrate-workspaces.html
1324
+ #
1325
+ # @option params [required, String] :source_workspace_id
1326
+ # The identifier of the WorkSpace to migrate from.
1327
+ #
1328
+ # @option params [required, String] :bundle_id
1329
+ # The identifier of the target bundle type to migrate the WorkSpace to.
1330
+ #
1331
+ # @return [Types::MigrateWorkspaceResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1332
+ #
1333
+ # * {Types::MigrateWorkspaceResult#source_workspace_id #source_workspace_id} => String
1334
+ # * {Types::MigrateWorkspaceResult#target_workspace_id #target_workspace_id} => String
1335
+ #
1336
+ # @example Request syntax with placeholder values
1337
+ #
1338
+ # resp = client.migrate_workspace({
1339
+ # source_workspace_id: "WorkspaceId", # required
1340
+ # bundle_id: "BundleId", # required
1341
+ # })
1342
+ #
1343
+ # @example Response structure
1344
+ #
1345
+ # resp.source_workspace_id #=> String
1346
+ # resp.target_workspace_id #=> String
1347
+ #
1348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/MigrateWorkspace AWS API Documentation
1349
+ #
1350
+ # @overload migrate_workspace(params = {})
1351
+ # @param [Hash] params ({})
1352
+ def migrate_workspace(params = {}, options = {})
1353
+ req = build_request(:migrate_workspace, params)
1354
+ req.send_request(options)
1355
+ end
1356
+
1305
1357
  # Modifies the configuration of Bring Your Own License (BYOL) for the
1306
1358
  # specified account.
1307
1359
  #
@@ -1401,7 +1453,7 @@ module Aws::WorkSpaces
1401
1453
  end
1402
1454
 
1403
1455
  # Specifies which devices and operating systems users can use to access
1404
- # their Workspaces. For more information, see [ Control Device
1456
+ # their WorkSpaces. For more information, see [ Control Device
1405
1457
  # Access][1].
1406
1458
  #
1407
1459
  #
@@ -1932,7 +1984,7 @@ module Aws::WorkSpaces
1932
1984
  params: params,
1933
1985
  config: config)
1934
1986
  context[:gem_name] = 'aws-sdk-workspaces'
1935
- context[:gem_version] = '1.32.0'
1987
+ context[:gem_version] = '1.33.0'
1936
1988
  Seahorse::Client::Request.new(handlers, context)
1937
1989
  end
1938
1990
 
@@ -116,6 +116,8 @@ module Aws::WorkSpaces
116
116
  ListAvailableManagementCidrRangesResult = Shapes::StructureShape.new(name: 'ListAvailableManagementCidrRangesResult')
117
117
  ManagementCidrRangeConstraint = Shapes::StringShape.new(name: 'ManagementCidrRangeConstraint')
118
118
  ManagementCidrRangeMaxResults = Shapes::IntegerShape.new(name: 'ManagementCidrRangeMaxResults')
119
+ MigrateWorkspaceRequest = Shapes::StructureShape.new(name: 'MigrateWorkspaceRequest')
120
+ MigrateWorkspaceResult = Shapes::StructureShape.new(name: 'MigrateWorkspaceResult')
119
121
  ModificationResourceEnum = Shapes::StringShape.new(name: 'ModificationResourceEnum')
120
122
  ModificationState = Shapes::StructureShape.new(name: 'ModificationState')
121
123
  ModificationStateEnum = Shapes::StringShape.new(name: 'ModificationStateEnum')
@@ -494,6 +496,14 @@ module Aws::WorkSpaces
494
496
  ListAvailableManagementCidrRangesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
495
497
  ListAvailableManagementCidrRangesResult.struct_class = Types::ListAvailableManagementCidrRangesResult
496
498
 
499
+ MigrateWorkspaceRequest.add_member(:source_workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "SourceWorkspaceId"))
500
+ MigrateWorkspaceRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, required: true, location_name: "BundleId"))
501
+ MigrateWorkspaceRequest.struct_class = Types::MigrateWorkspaceRequest
502
+
503
+ MigrateWorkspaceResult.add_member(:source_workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "SourceWorkspaceId"))
504
+ MigrateWorkspaceResult.add_member(:target_workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "TargetWorkspaceId"))
505
+ MigrateWorkspaceResult.struct_class = Types::MigrateWorkspaceResult
506
+
497
507
  ModificationState.add_member(:resource, Shapes::ShapeRef.new(shape: ModificationResourceEnum, location_name: "Resource"))
498
508
  ModificationState.add_member(:state, Shapes::ShapeRef.new(shape: ModificationStateEnum, location_name: "State"))
499
509
  ModificationState.struct_class = Types::ModificationState
@@ -1104,6 +1114,20 @@ module Aws::WorkSpaces
1104
1114
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1105
1115
  end)
1106
1116
 
1117
+ api.add_operation(:migrate_workspace, Seahorse::Model::Operation.new.tap do |o|
1118
+ o.name = "MigrateWorkspace"
1119
+ o.http_method = "POST"
1120
+ o.http_request_uri = "/"
1121
+ o.input = Shapes::ShapeRef.new(shape: MigrateWorkspaceRequest)
1122
+ o.output = Shapes::ShapeRef.new(shape: MigrateWorkspaceResult)
1123
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1124
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1125
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1126
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1127
+ o.errors << Shapes::ShapeRef.new(shape: OperationInProgressException)
1128
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
1129
+ end)
1130
+
1107
1131
  api.add_operation(:modify_account, Seahorse::Model::Operation.new.tap do |o|
1108
1132
  o.name = "ModifyAccount"
1109
1133
  o.http_method = "POST"
@@ -312,7 +312,9 @@ module Aws::WorkSpaces
312
312
  # @return [String]
313
313
  #
314
314
  # @!attribute [rw] tags
315
- # The tags. Each WorkSpaces resource can have a maximum of 50 tags.
315
+ # The tags. Each WorkSpaces resource can have a maximum of 50 tags. If
316
+ # you want to add new tags to a set of existing tags, you must submit
317
+ # all of the existing tags along with the new ones.
316
318
  # @return [Array<Types::Tag>]
317
319
  #
318
320
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateTagsRequest AWS API Documentation
@@ -1275,6 +1277,49 @@ module Aws::WorkSpaces
1275
1277
  include Aws::Structure
1276
1278
  end
1277
1279
 
1280
+ # @note When making an API call, you may pass MigrateWorkspaceRequest
1281
+ # data as a hash:
1282
+ #
1283
+ # {
1284
+ # source_workspace_id: "WorkspaceId", # required
1285
+ # bundle_id: "BundleId", # required
1286
+ # }
1287
+ #
1288
+ # @!attribute [rw] source_workspace_id
1289
+ # The identifier of the WorkSpace to migrate from.
1290
+ # @return [String]
1291
+ #
1292
+ # @!attribute [rw] bundle_id
1293
+ # The identifier of the target bundle type to migrate the WorkSpace
1294
+ # to.
1295
+ # @return [String]
1296
+ #
1297
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/MigrateWorkspaceRequest AWS API Documentation
1298
+ #
1299
+ class MigrateWorkspaceRequest < Struct.new(
1300
+ :source_workspace_id,
1301
+ :bundle_id)
1302
+ include Aws::Structure
1303
+ end
1304
+
1305
+ # @!attribute [rw] source_workspace_id
1306
+ # The original identifier of the WorkSpace that is being migrated.
1307
+ # @return [String]
1308
+ #
1309
+ # @!attribute [rw] target_workspace_id
1310
+ # The new identifier of the WorkSpace that is being migrated. If the
1311
+ # migration does not succeed, the target WorkSpace ID will not be
1312
+ # used, and the WorkSpace will still have the original WorkSpace ID.
1313
+ # @return [String]
1314
+ #
1315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/MigrateWorkspaceResult AWS API Documentation
1316
+ #
1317
+ class MigrateWorkspaceResult < Struct.new(
1318
+ :source_workspace_id,
1319
+ :target_workspace_id)
1320
+ include Aws::Structure
1321
+ end
1322
+
1278
1323
  # Describes a WorkSpace modification.
1279
1324
  #
1280
1325
  # @!attribute [rw] resource
@@ -2275,7 +2320,9 @@ module Aws::WorkSpaces
2275
2320
  # @return [String]
2276
2321
  #
2277
2322
  # @!attribute [rw] volume_encryption_key
2278
- # The KMS key used to encrypt data stored on your WorkSpace.
2323
+ # The symmetric AWS KMS customer master key (CMK) used to encrypt data
2324
+ # stored on your WorkSpace. Amazon WorkSpaces does not support
2325
+ # asymmetric CMKs.
2279
2326
  # @return [String]
2280
2327
  #
2281
2328
  # @!attribute [rw] user_volume_encryption_enabled
@@ -2604,7 +2651,7 @@ module Aws::WorkSpaces
2604
2651
  #
2605
2652
  # @!attribute [rw] workspace_access_properties
2606
2653
  # The devices and operating systems that users can use to access
2607
- # Workspaces.
2654
+ # WorkSpaces.
2608
2655
  # @return [Types::WorkspaceAccessProperties]
2609
2656
  #
2610
2657
  # @!attribute [rw] tenancy
@@ -2798,7 +2845,9 @@ module Aws::WorkSpaces
2798
2845
  # @return [String]
2799
2846
  #
2800
2847
  # @!attribute [rw] volume_encryption_key
2801
- # The KMS key used to encrypt data stored on your WorkSpace.
2848
+ # The symmetric AWS KMS customer master key (CMK) used to encrypt data
2849
+ # stored on your WorkSpace. Amazon WorkSpaces does not support
2850
+ # asymmetric CMKs.
2802
2851
  # @return [String]
2803
2852
  #
2804
2853
  # @!attribute [rw] user_volume_encryption_enabled
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-workspaces
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.32.0
4
+ version: 1.33.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-26 00:00:00.000000000 Z
11
+ date: 2020-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core