aws-sdk-workspaces 1.51.0 → 1.52.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
  SHA256:
3
- metadata.gz: 0c2f62e1f1d91fd8e66615082f2ce6f34f715efdf2da1b24440ffa4d955f6464
4
- data.tar.gz: 0b21316e58a2a24f26b4314fd3b9ec35a0a2ebe161e78ce5b2532a6c8985a52d
3
+ metadata.gz: 553a4c937277a752749d3b7be96cec35b24cb590109c96ba67993d5bc0c4d420
4
+ data.tar.gz: dac62420c5cda1615d7121d6ab68382927b4ce7f2e2624ab9a5d5af8acaabb9f
5
5
  SHA512:
6
- metadata.gz: 7167c732d2a64dce90749a6b75a111af928320d3b89ddf380800d9eced723139a40080d85bd4a886d0dbdef0217733f6a6f4d2773e9fd0ee1710722a003c92e6
7
- data.tar.gz: '05799550be1be6687f19a594f3523c7c39aa9a43873d0754177e50b4d59d5fee7fa9a935663497de185b88d1d2b18e9534b253435bf0f02b4a4feb9a474a3d5e'
6
+ metadata.gz: a1cae895f13622e42e8fd12df53442dbbe51d5c1dfa16085bf3f40e93d2afa5bedfa26042e605444e28600c2dd4220a32a898322d56d5481d6ef195b34d63849
7
+ data.tar.gz: 9d55f575aadeb3e851b2b4249475409d94cc57330efc8c240d3c07e50e708968dd70ed5ced1edbfa47caebf9de11c929d3a6ef33f7f5d6edf2b4176527f362ef
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2021-03-12)
5
+ ------------------
6
+
7
+ * Feature - Adds API support for WorkSpaces bundle management operations.
8
+
4
9
  1.51.0 (2021-03-10)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.52.0
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-workspaces/customizations'
48
48
  # @!group service
49
49
  module Aws::WorkSpaces
50
50
 
51
- GEM_VERSION = '1.51.0'
51
+ GEM_VERSION = '1.52.0'
52
52
 
53
53
  end
@@ -662,6 +662,90 @@ module Aws::WorkSpaces
662
662
  req.send_request(options)
663
663
  end
664
664
 
665
+ # Creates the specified WorkSpace bundle. For more information about
666
+ # creating WorkSpace bundles, see [ Create a Custom WorkSpaces Image and
667
+ # Bundle][1].
668
+ #
669
+ #
670
+ #
671
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/create-custom-bundle.html
672
+ #
673
+ # @option params [required, String] :bundle_name
674
+ # The name of the bundle.
675
+ #
676
+ # @option params [required, String] :bundle_description
677
+ # The description of the bundle.
678
+ #
679
+ # @option params [required, String] :image_id
680
+ # The identifier of the image that is used to create the bundle.
681
+ #
682
+ # @option params [required, Types::ComputeType] :compute_type
683
+ # Describes the compute type of the bundle.
684
+ #
685
+ # @option params [required, Types::UserStorage] :user_storage
686
+ # Describes the user volume for a WorkSpace bundle.
687
+ #
688
+ # @option params [Types::RootStorage] :root_storage
689
+ # Describes the root volume for a WorkSpace bundle.
690
+ #
691
+ # @option params [Array<Types::Tag>] :tags
692
+ # The tags associated with the bundle.
693
+ #
694
+ # <note markdown="1"> To add tags at the same time that you're creating the bundle, you
695
+ # must create an IAM policy that grants your IAM user permissions to use
696
+ # `workspaces:CreateTags`.
697
+ #
698
+ # </note>
699
+ #
700
+ # @return [Types::CreateWorkspaceBundleResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
701
+ #
702
+ # * {Types::CreateWorkspaceBundleResult#workspace_bundle #workspace_bundle} => Types::WorkspaceBundle
703
+ #
704
+ # @example Request syntax with placeholder values
705
+ #
706
+ # resp = client.create_workspace_bundle({
707
+ # bundle_name: "WorkspaceBundleName", # required
708
+ # bundle_description: "WorkspaceBundleDescription", # required
709
+ # image_id: "WorkspaceImageId", # required
710
+ # compute_type: { # required
711
+ # name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO
712
+ # },
713
+ # user_storage: { # required
714
+ # capacity: "NonEmptyString",
715
+ # },
716
+ # root_storage: {
717
+ # capacity: "NonEmptyString",
718
+ # },
719
+ # tags: [
720
+ # {
721
+ # key: "TagKey", # required
722
+ # value: "TagValue",
723
+ # },
724
+ # ],
725
+ # })
726
+ #
727
+ # @example Response structure
728
+ #
729
+ # resp.workspace_bundle.bundle_id #=> String
730
+ # resp.workspace_bundle.name #=> String
731
+ # resp.workspace_bundle.owner #=> String
732
+ # resp.workspace_bundle.description #=> String
733
+ # resp.workspace_bundle.image_id #=> String
734
+ # resp.workspace_bundle.root_storage.capacity #=> String
735
+ # resp.workspace_bundle.user_storage.capacity #=> String
736
+ # resp.workspace_bundle.compute_type.name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS", "POWERPRO", "GRAPHICSPRO"
737
+ # resp.workspace_bundle.last_updated_time #=> Time
738
+ # resp.workspace_bundle.creation_time #=> Time
739
+ #
740
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundle AWS API Documentation
741
+ #
742
+ # @overload create_workspace_bundle(params = {})
743
+ # @param [Hash] params ({})
744
+ def create_workspace_bundle(params = {}, options = {})
745
+ req = build_request(:create_workspace_bundle, params)
746
+ req.send_request(options)
747
+ end
748
+
665
749
  # Creates one or more WorkSpaces.
666
750
  #
667
751
  # This operation is asynchronous and returns before the WorkSpaces are
@@ -850,6 +934,34 @@ module Aws::WorkSpaces
850
934
  req.send_request(options)
851
935
  end
852
936
 
937
+ # Deletes the specified WorkSpace bundle. For more information about
938
+ # deleting WorkSpace bundles, see [ Delete a Custom WorkSpaces Bundle or
939
+ # Image][1].
940
+ #
941
+ #
942
+ #
943
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/delete_bundle.html
944
+ #
945
+ # @option params [String] :bundle_id
946
+ # The identifier of the bundle.
947
+ #
948
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
949
+ #
950
+ # @example Request syntax with placeholder values
951
+ #
952
+ # resp = client.delete_workspace_bundle({
953
+ # bundle_id: "BundleId",
954
+ # })
955
+ #
956
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceBundle AWS API Documentation
957
+ #
958
+ # @overload delete_workspace_bundle(params = {})
959
+ # @param [Hash] params ({})
960
+ def delete_workspace_bundle(params = {}, options = {})
961
+ req = build_request(:delete_workspace_bundle, params)
962
+ req.send_request(options)
963
+ end
964
+
853
965
  # Deletes the specified image from your account. To delete an image, you
854
966
  # must first delete any bundles that are associated with the image and
855
967
  # unshare the image if it is shared with other accounts.
@@ -1210,8 +1322,8 @@ module Aws::WorkSpaces
1210
1322
  # The owner of the bundles. You cannot combine this parameter with any
1211
1323
  # other filter.
1212
1324
  #
1213
- # Specify `AMAZON` to describe the bundles provided by AWS or null to
1214
- # describe the bundles that belong to your account.
1325
+ # To describe the bundles provided by AWS, specify `AMAZON`. To describe
1326
+ # the bundles that belong to your account, don't specify a value.
1215
1327
  #
1216
1328
  # @option params [String] :next_token
1217
1329
  # The token for the next set of results. (You received this token from a
@@ -1244,6 +1356,7 @@ module Aws::WorkSpaces
1244
1356
  # resp.bundles[0].user_storage.capacity #=> String
1245
1357
  # resp.bundles[0].compute_type.name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS", "POWERPRO", "GRAPHICSPRO"
1246
1358
  # resp.bundles[0].last_updated_time #=> Time
1359
+ # resp.bundles[0].creation_time #=> Time
1247
1360
  # resp.next_token #=> String
1248
1361
  #
1249
1362
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles AWS API Documentation
@@ -2540,6 +2653,43 @@ module Aws::WorkSpaces
2540
2653
  req.send_request(options)
2541
2654
  end
2542
2655
 
2656
+ # Updates a WorkSpace bundle with a new image. For more information
2657
+ # about updating WorkSpace bundles, see [ Update a Custom WorkSpaces
2658
+ # Bundle][1].
2659
+ #
2660
+ # Existing WorkSpaces aren't automatically updated when you update the
2661
+ # bundle that they're based on. To update existing WorkSpaces that are
2662
+ # based on a bundle that you've updated, you must either rebuild the
2663
+ # WorkSpaces or delete and recreate them.
2664
+ #
2665
+ #
2666
+ #
2667
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/update-custom-bundle.html
2668
+ #
2669
+ # @option params [String] :bundle_id
2670
+ # The identifier of the bundle.
2671
+ #
2672
+ # @option params [String] :image_id
2673
+ # The identifier of the image.
2674
+ #
2675
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2676
+ #
2677
+ # @example Request syntax with placeholder values
2678
+ #
2679
+ # resp = client.update_workspace_bundle({
2680
+ # bundle_id: "BundleId",
2681
+ # image_id: "WorkspaceImageId",
2682
+ # })
2683
+ #
2684
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundle AWS API Documentation
2685
+ #
2686
+ # @overload update_workspace_bundle(params = {})
2687
+ # @param [Hash] params ({})
2688
+ def update_workspace_bundle(params = {}, options = {})
2689
+ req = build_request(:update_workspace_bundle, params)
2690
+ req.send_request(options)
2691
+ end
2692
+
2543
2693
  # Shares or unshares an image with one account in the same AWS Region by
2544
2694
  # specifying whether that account has permission to copy the image. If
2545
2695
  # the copy image permission is granted, the image is shared with that
@@ -2619,7 +2769,7 @@ module Aws::WorkSpaces
2619
2769
  params: params,
2620
2770
  config: config)
2621
2771
  context[:gem_name] = 'aws-sdk-workspaces'
2622
- context[:gem_version] = '1.51.0'
2772
+ context[:gem_version] = '1.52.0'
2623
2773
  Seahorse::Client::Request.new(handlers, context)
2624
2774
  end
2625
2775
 
@@ -60,6 +60,8 @@ module Aws::WorkSpaces
60
60
  CreateIpGroupResult = Shapes::StructureShape.new(name: 'CreateIpGroupResult')
61
61
  CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
62
62
  CreateTagsResult = Shapes::StructureShape.new(name: 'CreateTagsResult')
63
+ CreateWorkspaceBundleRequest = Shapes::StructureShape.new(name: 'CreateWorkspaceBundleRequest')
64
+ CreateWorkspaceBundleResult = Shapes::StructureShape.new(name: 'CreateWorkspaceBundleResult')
63
65
  CreateWorkspacesRequest = Shapes::StructureShape.new(name: 'CreateWorkspacesRequest')
64
66
  CreateWorkspacesResult = Shapes::StructureShape.new(name: 'CreateWorkspacesResult')
65
67
  DedicatedTenancyCidrRangeList = Shapes::ListShape.new(name: 'DedicatedTenancyCidrRangeList')
@@ -75,6 +77,8 @@ module Aws::WorkSpaces
75
77
  DeleteIpGroupResult = Shapes::StructureShape.new(name: 'DeleteIpGroupResult')
76
78
  DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
77
79
  DeleteTagsResult = Shapes::StructureShape.new(name: 'DeleteTagsResult')
80
+ DeleteWorkspaceBundleRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceBundleRequest')
81
+ DeleteWorkspaceBundleResult = Shapes::StructureShape.new(name: 'DeleteWorkspaceBundleResult')
78
82
  DeleteWorkspaceImageRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceImageRequest')
79
83
  DeleteWorkspaceImageResult = Shapes::StructureShape.new(name: 'DeleteWorkspaceImageResult')
80
84
  DeregisterWorkspaceDirectoryRequest = Shapes::StructureShape.new(name: 'DeregisterWorkspaceDirectoryRequest')
@@ -236,6 +240,8 @@ module Aws::WorkSpaces
236
240
  UpdateConnectionAliasPermissionResult = Shapes::StructureShape.new(name: 'UpdateConnectionAliasPermissionResult')
237
241
  UpdateRulesOfIpGroupRequest = Shapes::StructureShape.new(name: 'UpdateRulesOfIpGroupRequest')
238
242
  UpdateRulesOfIpGroupResult = Shapes::StructureShape.new(name: 'UpdateRulesOfIpGroupResult')
243
+ UpdateWorkspaceBundleRequest = Shapes::StructureShape.new(name: 'UpdateWorkspaceBundleRequest')
244
+ UpdateWorkspaceBundleResult = Shapes::StructureShape.new(name: 'UpdateWorkspaceBundleResult')
239
245
  UpdateWorkspaceImagePermissionRequest = Shapes::StructureShape.new(name: 'UpdateWorkspaceImagePermissionRequest')
240
246
  UpdateWorkspaceImagePermissionResult = Shapes::StructureShape.new(name: 'UpdateWorkspaceImagePermissionResult')
241
247
  UserName = Shapes::StringShape.new(name: 'UserName')
@@ -245,6 +251,8 @@ module Aws::WorkSpaces
245
251
  Workspace = Shapes::StructureShape.new(name: 'Workspace')
246
252
  WorkspaceAccessProperties = Shapes::StructureShape.new(name: 'WorkspaceAccessProperties')
247
253
  WorkspaceBundle = Shapes::StructureShape.new(name: 'WorkspaceBundle')
254
+ WorkspaceBundleDescription = Shapes::StringShape.new(name: 'WorkspaceBundleDescription')
255
+ WorkspaceBundleName = Shapes::StringShape.new(name: 'WorkspaceBundleName')
248
256
  WorkspaceConnectionStatus = Shapes::StructureShape.new(name: 'WorkspaceConnectionStatus')
249
257
  WorkspaceConnectionStatusList = Shapes::ListShape.new(name: 'WorkspaceConnectionStatusList')
250
258
  WorkspaceCreationProperties = Shapes::StructureShape.new(name: 'WorkspaceCreationProperties')
@@ -380,6 +388,18 @@ module Aws::WorkSpaces
380
388
 
381
389
  CreateTagsResult.struct_class = Types::CreateTagsResult
382
390
 
391
+ CreateWorkspaceBundleRequest.add_member(:bundle_name, Shapes::ShapeRef.new(shape: WorkspaceBundleName, required: true, location_name: "BundleName"))
392
+ CreateWorkspaceBundleRequest.add_member(:bundle_description, Shapes::ShapeRef.new(shape: WorkspaceBundleDescription, required: true, location_name: "BundleDescription"))
393
+ CreateWorkspaceBundleRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
394
+ CreateWorkspaceBundleRequest.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, required: true, location_name: "ComputeType"))
395
+ CreateWorkspaceBundleRequest.add_member(:user_storage, Shapes::ShapeRef.new(shape: UserStorage, required: true, location_name: "UserStorage"))
396
+ CreateWorkspaceBundleRequest.add_member(:root_storage, Shapes::ShapeRef.new(shape: RootStorage, location_name: "RootStorage"))
397
+ CreateWorkspaceBundleRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
398
+ CreateWorkspaceBundleRequest.struct_class = Types::CreateWorkspaceBundleRequest
399
+
400
+ CreateWorkspaceBundleResult.add_member(:workspace_bundle, Shapes::ShapeRef.new(shape: WorkspaceBundle, location_name: "WorkspaceBundle"))
401
+ CreateWorkspaceBundleResult.struct_class = Types::CreateWorkspaceBundleResult
402
+
383
403
  CreateWorkspacesRequest.add_member(:workspaces, Shapes::ShapeRef.new(shape: WorkspaceRequestList, required: true, location_name: "Workspaces"))
384
404
  CreateWorkspacesRequest.struct_class = Types::CreateWorkspacesRequest
385
405
 
@@ -413,6 +433,11 @@ module Aws::WorkSpaces
413
433
 
414
434
  DeleteTagsResult.struct_class = Types::DeleteTagsResult
415
435
 
436
+ DeleteWorkspaceBundleRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
437
+ DeleteWorkspaceBundleRequest.struct_class = Types::DeleteWorkspaceBundleRequest
438
+
439
+ DeleteWorkspaceBundleResult.struct_class = Types::DeleteWorkspaceBundleResult
440
+
416
441
  DeleteWorkspaceImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
417
442
  DeleteWorkspaceImageRequest.struct_class = Types::DeleteWorkspaceImageRequest
418
443
 
@@ -828,6 +853,12 @@ module Aws::WorkSpaces
828
853
 
829
854
  UpdateRulesOfIpGroupResult.struct_class = Types::UpdateRulesOfIpGroupResult
830
855
 
856
+ UpdateWorkspaceBundleRequest.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
857
+ UpdateWorkspaceBundleRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
858
+ UpdateWorkspaceBundleRequest.struct_class = Types::UpdateWorkspaceBundleRequest
859
+
860
+ UpdateWorkspaceBundleResult.struct_class = Types::UpdateWorkspaceBundleResult
861
+
831
862
  UpdateWorkspaceImagePermissionRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
832
863
  UpdateWorkspaceImagePermissionRequest.add_member(:allow_copy_image, Shapes::ShapeRef.new(shape: BooleanObject, required: true, location_name: "AllowCopyImage"))
833
864
  UpdateWorkspaceImagePermissionRequest.add_member(:shared_account_id, Shapes::ShapeRef.new(shape: AwsAccount, required: true, location_name: "SharedAccountId"))
@@ -873,6 +904,7 @@ module Aws::WorkSpaces
873
904
  WorkspaceBundle.add_member(:user_storage, Shapes::ShapeRef.new(shape: UserStorage, location_name: "UserStorage"))
874
905
  WorkspaceBundle.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "ComputeType"))
875
906
  WorkspaceBundle.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
907
+ WorkspaceBundle.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
876
908
  WorkspaceBundle.struct_class = Types::WorkspaceBundle
877
909
 
878
910
  WorkspaceConnectionStatus.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
@@ -1071,6 +1103,20 @@ module Aws::WorkSpaces
1071
1103
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1072
1104
  end)
1073
1105
 
1106
+ api.add_operation(:create_workspace_bundle, Seahorse::Model::Operation.new.tap do |o|
1107
+ o.name = "CreateWorkspaceBundle"
1108
+ o.http_method = "POST"
1109
+ o.http_request_uri = "/"
1110
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkspaceBundleRequest)
1111
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkspaceBundleResult)
1112
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
1113
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1114
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1115
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1116
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1117
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1118
+ end)
1119
+
1074
1120
  api.add_operation(:create_workspaces, Seahorse::Model::Operation.new.tap do |o|
1075
1121
  o.name = "CreateWorkspaces"
1076
1122
  o.http_method = "POST"
@@ -1117,6 +1163,18 @@ module Aws::WorkSpaces
1117
1163
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1118
1164
  end)
1119
1165
 
1166
+ api.add_operation(:delete_workspace_bundle, Seahorse::Model::Operation.new.tap do |o|
1167
+ o.name = "DeleteWorkspaceBundle"
1168
+ o.http_method = "POST"
1169
+ o.http_request_uri = "/"
1170
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkspaceBundleRequest)
1171
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkspaceBundleResult)
1172
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1173
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1174
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAssociatedException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1176
+ end)
1177
+
1120
1178
  api.add_operation(:delete_workspace_image, Seahorse::Model::Operation.new.tap do |o|
1121
1179
  o.name = "DeleteWorkspaceImage"
1122
1180
  o.http_method = "POST"
@@ -1549,6 +1607,18 @@ module Aws::WorkSpaces
1549
1607
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1550
1608
  end)
1551
1609
 
1610
+ api.add_operation(:update_workspace_bundle, Seahorse::Model::Operation.new.tap do |o|
1611
+ o.name = "UpdateWorkspaceBundle"
1612
+ o.http_method = "POST"
1613
+ o.http_request_uri = "/"
1614
+ o.input = Shapes::ShapeRef.new(shape: UpdateWorkspaceBundleRequest)
1615
+ o.output = Shapes::ShapeRef.new(shape: UpdateWorkspaceBundleResult)
1616
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1617
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1618
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1619
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
1620
+ end)
1621
+
1552
1622
  api.add_operation(:update_workspace_image_permission, Seahorse::Model::Operation.new.tap do |o|
1553
1623
  o.name = "UpdateWorkspaceImagePermission"
1554
1624
  o.http_method = "POST"
@@ -212,7 +212,14 @@ module Aws::WorkSpaces
212
212
  include Aws::Structure
213
213
  end
214
214
 
215
- # Describes the compute type.
215
+ # Describes the compute type of the bundle.
216
+ #
217
+ # @note When making an API call, you may pass ComputeType
218
+ # data as a hash:
219
+ #
220
+ # {
221
+ # name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO
222
+ # }
216
223
  #
217
224
  # @!attribute [rw] name
218
225
  # The compute type.
@@ -545,6 +552,90 @@ module Aws::WorkSpaces
545
552
  #
546
553
  class CreateTagsResult < Aws::EmptyStructure; end
547
554
 
555
+ # @note When making an API call, you may pass CreateWorkspaceBundleRequest
556
+ # data as a hash:
557
+ #
558
+ # {
559
+ # bundle_name: "WorkspaceBundleName", # required
560
+ # bundle_description: "WorkspaceBundleDescription", # required
561
+ # image_id: "WorkspaceImageId", # required
562
+ # compute_type: { # required
563
+ # name: "VALUE", # accepts VALUE, STANDARD, PERFORMANCE, POWER, GRAPHICS, POWERPRO, GRAPHICSPRO
564
+ # },
565
+ # user_storage: { # required
566
+ # capacity: "NonEmptyString",
567
+ # },
568
+ # root_storage: {
569
+ # capacity: "NonEmptyString",
570
+ # },
571
+ # tags: [
572
+ # {
573
+ # key: "TagKey", # required
574
+ # value: "TagValue",
575
+ # },
576
+ # ],
577
+ # }
578
+ #
579
+ # @!attribute [rw] bundle_name
580
+ # The name of the bundle.
581
+ # @return [String]
582
+ #
583
+ # @!attribute [rw] bundle_description
584
+ # The description of the bundle.
585
+ # @return [String]
586
+ #
587
+ # @!attribute [rw] image_id
588
+ # The identifier of the image that is used to create the bundle.
589
+ # @return [String]
590
+ #
591
+ # @!attribute [rw] compute_type
592
+ # Describes the compute type of the bundle.
593
+ # @return [Types::ComputeType]
594
+ #
595
+ # @!attribute [rw] user_storage
596
+ # Describes the user volume for a WorkSpace bundle.
597
+ # @return [Types::UserStorage]
598
+ #
599
+ # @!attribute [rw] root_storage
600
+ # Describes the root volume for a WorkSpace bundle.
601
+ # @return [Types::RootStorage]
602
+ #
603
+ # @!attribute [rw] tags
604
+ # The tags associated with the bundle.
605
+ #
606
+ # <note markdown="1"> To add tags at the same time that you're creating the bundle, you
607
+ # must create an IAM policy that grants your IAM user permissions to
608
+ # use `workspaces:CreateTags`.
609
+ #
610
+ # </note>
611
+ # @return [Array<Types::Tag>]
612
+ #
613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundleRequest AWS API Documentation
614
+ #
615
+ class CreateWorkspaceBundleRequest < Struct.new(
616
+ :bundle_name,
617
+ :bundle_description,
618
+ :image_id,
619
+ :compute_type,
620
+ :user_storage,
621
+ :root_storage,
622
+ :tags)
623
+ SENSITIVE = []
624
+ include Aws::Structure
625
+ end
626
+
627
+ # @!attribute [rw] workspace_bundle
628
+ # Describes a WorkSpace bundle.
629
+ # @return [Types::WorkspaceBundle]
630
+ #
631
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundleResult AWS API Documentation
632
+ #
633
+ class CreateWorkspaceBundleResult < Struct.new(
634
+ :workspace_bundle)
635
+ SENSITIVE = []
636
+ include Aws::Structure
637
+ end
638
+
548
639
  # @note When making an API call, you may pass CreateWorkspacesRequest
549
640
  # data as a hash:
550
641
  #
@@ -757,6 +848,29 @@ module Aws::WorkSpaces
757
848
  #
758
849
  class DeleteTagsResult < Aws::EmptyStructure; end
759
850
 
851
+ # @note When making an API call, you may pass DeleteWorkspaceBundleRequest
852
+ # data as a hash:
853
+ #
854
+ # {
855
+ # bundle_id: "BundleId",
856
+ # }
857
+ #
858
+ # @!attribute [rw] bundle_id
859
+ # The identifier of the bundle.
860
+ # @return [String]
861
+ #
862
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceBundleRequest AWS API Documentation
863
+ #
864
+ class DeleteWorkspaceBundleRequest < Struct.new(
865
+ :bundle_id)
866
+ SENSITIVE = []
867
+ include Aws::Structure
868
+ end
869
+
870
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceBundleResult AWS API Documentation
871
+ #
872
+ class DeleteWorkspaceBundleResult < Aws::EmptyStructure; end
873
+
760
874
  # @note When making an API call, you may pass DeleteWorkspaceImageRequest
761
875
  # data as a hash:
762
876
  #
@@ -831,8 +945,8 @@ module Aws::WorkSpaces
831
945
  # @return [Array<Types::AccountModification>]
832
946
  #
833
947
  # @!attribute [rw] next_token
834
- # The token to use to retrieve the next set of results, or null if no
835
- # more results are available.
948
+ # The token to use to retrieve the next page of results. This value is
949
+ # null when there are no more results to return.
836
950
  # @return [String]
837
951
  #
838
952
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountModificationsResult AWS API Documentation
@@ -945,8 +1059,8 @@ module Aws::WorkSpaces
945
1059
  # @return [Array<Types::ConnectionAliasPermission>]
946
1060
  #
947
1061
  # @!attribute [rw] next_token
948
- # The token to use to retrieve the next set of results, or null if no
949
- # more results are available.
1062
+ # The token to use to retrieve the next page of results. This value is
1063
+ # null when there are no more results to return.
950
1064
  # @return [String]
951
1065
  #
952
1066
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectionAliasPermissionsResult AWS API Documentation
@@ -1003,8 +1117,8 @@ module Aws::WorkSpaces
1003
1117
  # @return [Array<Types::ConnectionAlias>]
1004
1118
  #
1005
1119
  # @!attribute [rw] next_token
1006
- # The token to use to retrieve the next set of results, or null if no
1007
- # more results are available.
1120
+ # The token to use to retrieve the next page of results. This value is
1121
+ # null when there are no more results to return.
1008
1122
  # @return [String]
1009
1123
  #
1010
1124
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeConnectionAliasesResult AWS API Documentation
@@ -1053,8 +1167,8 @@ module Aws::WorkSpaces
1053
1167
  # @return [Array<Types::WorkspacesIpGroup>]
1054
1168
  #
1055
1169
  # @!attribute [rw] next_token
1056
- # The token to use to retrieve the next set of results, or null if no
1057
- # more results are available.
1170
+ # The token to use to retrieve the next page of results. This value is
1171
+ # null when there are no more results to return.
1058
1172
  # @return [String]
1059
1173
  #
1060
1174
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeIpGroupsResult AWS API Documentation
@@ -1117,8 +1231,9 @@ module Aws::WorkSpaces
1117
1231
  # The owner of the bundles. You cannot combine this parameter with any
1118
1232
  # other filter.
1119
1233
  #
1120
- # Specify `AMAZON` to describe the bundles provided by AWS or null to
1121
- # describe the bundles that belong to your account.
1234
+ # To describe the bundles provided by AWS, specify `AMAZON`. To
1235
+ # describe the bundles that belong to your account, don't specify a
1236
+ # value.
1122
1237
  # @return [String]
1123
1238
  #
1124
1239
  # @!attribute [rw] next_token
@@ -1141,9 +1256,9 @@ module Aws::WorkSpaces
1141
1256
  # @return [Array<Types::WorkspaceBundle>]
1142
1257
  #
1143
1258
  # @!attribute [rw] next_token
1144
- # The token to use to retrieve the next set of results, or null if
1145
- # there are no more results available. This token is valid for one day
1146
- # and must be used within that time frame.
1259
+ # The token to use to retrieve the next page of results. This value is
1260
+ # null when there are no more results to return. This token is valid
1261
+ # for one day and must be used within that time frame.
1147
1262
  # @return [String]
1148
1263
  #
1149
1264
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundlesResult AWS API Documentation
@@ -1193,8 +1308,8 @@ module Aws::WorkSpaces
1193
1308
  # @return [Array<Types::WorkspaceDirectory>]
1194
1309
  #
1195
1310
  # @!attribute [rw] next_token
1196
- # The token to use to retrieve the next set of results, or null if no
1197
- # more results are available.
1311
+ # The token to use to retrieve the next page of results. This value is
1312
+ # null when there are no more results to return.
1198
1313
  # @return [String]
1199
1314
  #
1200
1315
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectoriesResult AWS API Documentation
@@ -1248,8 +1363,8 @@ module Aws::WorkSpaces
1248
1363
  # @return [Array<Types::ImagePermission>]
1249
1364
  #
1250
1365
  # @!attribute [rw] next_token
1251
- # The token to use to retrieve the next set of results, or null if no
1252
- # more results are available.
1366
+ # The token to use to retrieve the next page of results. This value is
1367
+ # null when there are no more results to return.
1253
1368
  # @return [String]
1254
1369
  #
1255
1370
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagePermissionsResult AWS API Documentation
@@ -1305,8 +1420,8 @@ module Aws::WorkSpaces
1305
1420
  # @return [Array<Types::WorkspaceImage>]
1306
1421
  #
1307
1422
  # @!attribute [rw] next_token
1308
- # The token to use to retrieve the next set of results, or null if no
1309
- # more results are available.
1423
+ # The token to use to retrieve the next page of results. This value is
1424
+ # null when there are no more results to return.
1310
1425
  # @return [String]
1311
1426
  #
1312
1427
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagesResult AWS API Documentation
@@ -1389,8 +1504,8 @@ module Aws::WorkSpaces
1389
1504
  # @return [Array<Types::WorkspaceConnectionStatus>]
1390
1505
  #
1391
1506
  # @!attribute [rw] next_token
1392
- # The token to use to retrieve the next set of results, or null if no
1393
- # more results are available.
1507
+ # The token to use to retrieve the next page of results. This value is
1508
+ # null when there are no more results to return.
1394
1509
  # @return [String]
1395
1510
  #
1396
1511
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatusResult AWS API Documentation
@@ -1471,8 +1586,8 @@ module Aws::WorkSpaces
1471
1586
  # @return [Array<Types::Workspace>]
1472
1587
  #
1473
1588
  # @!attribute [rw] next_token
1474
- # The token to use to retrieve the next set of results, or null if no
1475
- # more results are available.
1589
+ # The token to use to retrieve the next page of results. This value is
1590
+ # null when there are no more results to return.
1476
1591
  # @return [String]
1477
1592
  #
1478
1593
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesResult AWS API Documentation
@@ -1790,8 +1905,8 @@ module Aws::WorkSpaces
1790
1905
  # @return [Array<String>]
1791
1906
  #
1792
1907
  # @!attribute [rw] next_token
1793
- # The token to use to retrieve the next set of results, or null if no
1794
- # more results are available.
1908
+ # The token to use to retrieve the next page of results. This value is
1909
+ # null when there are no more results to return.
1795
1910
  # @return [String]
1796
1911
  #
1797
1912
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAvailableManagementCidrRangesResult AWS API Documentation
@@ -2484,6 +2599,13 @@ module Aws::WorkSpaces
2484
2599
 
2485
2600
  # Describes the root volume for a WorkSpace bundle.
2486
2601
  #
2602
+ # @note When making an API call, you may pass RootStorage
2603
+ # data as a hash:
2604
+ #
2605
+ # {
2606
+ # capacity: "NonEmptyString",
2607
+ # }
2608
+ #
2487
2609
  # @!attribute [rw] capacity
2488
2610
  # The size of the root volume.
2489
2611
  # @return [String]
@@ -2867,6 +2989,35 @@ module Aws::WorkSpaces
2867
2989
  #
2868
2990
  class UpdateRulesOfIpGroupResult < Aws::EmptyStructure; end
2869
2991
 
2992
+ # @note When making an API call, you may pass UpdateWorkspaceBundleRequest
2993
+ # data as a hash:
2994
+ #
2995
+ # {
2996
+ # bundle_id: "BundleId",
2997
+ # image_id: "WorkspaceImageId",
2998
+ # }
2999
+ #
3000
+ # @!attribute [rw] bundle_id
3001
+ # The identifier of the bundle.
3002
+ # @return [String]
3003
+ #
3004
+ # @!attribute [rw] image_id
3005
+ # The identifier of the image.
3006
+ # @return [String]
3007
+ #
3008
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundleRequest AWS API Documentation
3009
+ #
3010
+ class UpdateWorkspaceBundleRequest < Struct.new(
3011
+ :bundle_id,
3012
+ :image_id)
3013
+ SENSITIVE = []
3014
+ include Aws::Structure
3015
+ end
3016
+
3017
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundleResult AWS API Documentation
3018
+ #
3019
+ class UpdateWorkspaceBundleResult < Aws::EmptyStructure; end
3020
+
2870
3021
  # @note When making an API call, you may pass UpdateWorkspaceImagePermissionRequest
2871
3022
  # data as a hash:
2872
3023
  #
@@ -2907,10 +3058,17 @@ module Aws::WorkSpaces
2907
3058
  #
2908
3059
  class UpdateWorkspaceImagePermissionResult < Aws::EmptyStructure; end
2909
3060
 
2910
- # Describes the user storage for a WorkSpace bundle.
3061
+ # Describes the user volume for a WorkSpace bundle.
3062
+ #
3063
+ # @note When making an API call, you may pass UserStorage
3064
+ # data as a hash:
3065
+ #
3066
+ # {
3067
+ # capacity: "NonEmptyString",
3068
+ # }
2911
3069
  #
2912
3070
  # @!attribute [rw] capacity
2913
- # The size of the user storage.
3071
+ # The size of the user volume.
2914
3072
  # @return [String]
2915
3073
  #
2916
3074
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UserStorage AWS API Documentation
@@ -3115,7 +3273,7 @@ module Aws::WorkSpaces
3115
3273
  # Describes a WorkSpace bundle.
3116
3274
  #
3117
3275
  # @!attribute [rw] bundle_id
3118
- # The bundle identifier.
3276
+ # The identifier of the bundle.
3119
3277
  # @return [String]
3120
3278
  #
3121
3279
  # @!attribute [rw] name
@@ -3128,11 +3286,11 @@ module Aws::WorkSpaces
3128
3286
  # @return [String]
3129
3287
  #
3130
3288
  # @!attribute [rw] description
3131
- # A description.
3289
+ # The description of the bundle.
3132
3290
  # @return [String]
3133
3291
  #
3134
3292
  # @!attribute [rw] image_id
3135
- # The image identifier of the bundle.
3293
+ # The identifier of the image that was used to create the bundle.
3136
3294
  # @return [String]
3137
3295
  #
3138
3296
  # @!attribute [rw] root_storage
@@ -3140,12 +3298,12 @@ module Aws::WorkSpaces
3140
3298
  # @return [Types::RootStorage]
3141
3299
  #
3142
3300
  # @!attribute [rw] user_storage
3143
- # The size of the user storage.
3301
+ # The size of the user volume.
3144
3302
  # @return [Types::UserStorage]
3145
3303
  #
3146
3304
  # @!attribute [rw] compute_type
3147
- # The compute type. For more information, see [Amazon WorkSpaces
3148
- # Bundles][1].
3305
+ # The compute type of the bundle. For more information, see [Amazon
3306
+ # WorkSpaces Bundles][1].
3149
3307
  #
3150
3308
  #
3151
3309
  #
@@ -3156,6 +3314,10 @@ module Aws::WorkSpaces
3156
3314
  # The last time that the bundle was updated.
3157
3315
  # @return [Time]
3158
3316
  #
3317
+ # @!attribute [rw] creation_time
3318
+ # The time when the bundle was created.
3319
+ # @return [Time]
3320
+ #
3159
3321
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceBundle AWS API Documentation
3160
3322
  #
3161
3323
  class WorkspaceBundle < Struct.new(
@@ -3167,7 +3329,8 @@ module Aws::WorkSpaces
3167
3329
  :root_storage,
3168
3330
  :user_storage,
3169
3331
  :compute_type,
3170
- :last_updated_time)
3332
+ :last_updated_time,
3333
+ :creation_time)
3171
3334
  SENSITIVE = []
3172
3335
  include Aws::Structure
3173
3336
  end
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.51.0
4
+ version: 1.52.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: 2021-03-10 00:00:00.000000000 Z
11
+ date: 2021-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core