aws-sdk-workspaces 1.50.0 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.54.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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.50.0'
51
+ GEM_VERSION = '1.54.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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 when 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
@@ -1315,6 +1428,7 @@ module Aws::WorkSpaces
1315
1428
  # resp.directories[0].workspace_access_properties.device_type_android #=> String, one of "ALLOW", "DENY"
1316
1429
  # resp.directories[0].workspace_access_properties.device_type_chrome_os #=> String, one of "ALLOW", "DENY"
1317
1430
  # resp.directories[0].workspace_access_properties.device_type_zero_client #=> String, one of "ALLOW", "DENY"
1431
+ # resp.directories[0].workspace_access_properties.device_type_linux #=> String, one of "ALLOW", "DENY"
1318
1432
  # resp.directories[0].tenancy #=> String, one of "DEDICATED", "SHARED"
1319
1433
  # resp.directories[0].selfservice_permissions.restart_workspace #=> String, one of "ENABLED", "DISABLED"
1320
1434
  # resp.directories[0].selfservice_permissions.increase_volume_size #=> String, one of "ENABLED", "DISABLED"
@@ -1963,6 +2077,7 @@ module Aws::WorkSpaces
1963
2077
  # device_type_android: "ALLOW", # accepts ALLOW, DENY
1964
2078
  # device_type_chrome_os: "ALLOW", # accepts ALLOW, DENY
1965
2079
  # device_type_zero_client: "ALLOW", # accepts ALLOW, DENY
2080
+ # device_type_linux: "ALLOW", # accepts ALLOW, DENY
1966
2081
  # },
1967
2082
  # })
1968
2083
  #
@@ -2540,6 +2655,43 @@ module Aws::WorkSpaces
2540
2655
  req.send_request(options)
2541
2656
  end
2542
2657
 
2658
+ # Updates a WorkSpace bundle with a new image. For more information
2659
+ # about updating WorkSpace bundles, see [ Update a Custom WorkSpaces
2660
+ # Bundle][1].
2661
+ #
2662
+ # Existing WorkSpaces aren't automatically updated when you update the
2663
+ # bundle that they're based on. To update existing WorkSpaces that are
2664
+ # based on a bundle that you've updated, you must either rebuild the
2665
+ # WorkSpaces or delete and recreate them.
2666
+ #
2667
+ #
2668
+ #
2669
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/update-custom-bundle.html
2670
+ #
2671
+ # @option params [String] :bundle_id
2672
+ # The identifier of the bundle.
2673
+ #
2674
+ # @option params [String] :image_id
2675
+ # The identifier of the image.
2676
+ #
2677
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2678
+ #
2679
+ # @example Request syntax with placeholder values
2680
+ #
2681
+ # resp = client.update_workspace_bundle({
2682
+ # bundle_id: "BundleId",
2683
+ # image_id: "WorkspaceImageId",
2684
+ # })
2685
+ #
2686
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundle AWS API Documentation
2687
+ #
2688
+ # @overload update_workspace_bundle(params = {})
2689
+ # @param [Hash] params ({})
2690
+ def update_workspace_bundle(params = {}, options = {})
2691
+ req = build_request(:update_workspace_bundle, params)
2692
+ req.send_request(options)
2693
+ end
2694
+
2543
2695
  # Shares or unshares an image with one account in the same AWS Region by
2544
2696
  # specifying whether that account has permission to copy the image. If
2545
2697
  # the copy image permission is granted, the image is shared with that
@@ -2619,7 +2771,7 @@ module Aws::WorkSpaces
2619
2771
  params: params,
2620
2772
  config: config)
2621
2773
  context[:gem_name] = 'aws-sdk-workspaces'
2622
- context[:gem_version] = '1.50.0'
2774
+ context[:gem_version] = '1.54.0'
2623
2775
  Seahorse::Client::Request.new(handlers, context)
2624
2776
  end
2625
2777
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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"))
@@ -862,6 +893,7 @@ module Aws::WorkSpaces
862
893
  WorkspaceAccessProperties.add_member(:device_type_android, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeAndroid"))
863
894
  WorkspaceAccessProperties.add_member(:device_type_chrome_os, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeChromeOs"))
864
895
  WorkspaceAccessProperties.add_member(:device_type_zero_client, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeZeroClient"))
896
+ WorkspaceAccessProperties.add_member(:device_type_linux, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeLinux"))
865
897
  WorkspaceAccessProperties.struct_class = Types::WorkspaceAccessProperties
866
898
 
867
899
  WorkspaceBundle.add_member(:bundle_id, Shapes::ShapeRef.new(shape: BundleId, location_name: "BundleId"))
@@ -873,6 +905,7 @@ module Aws::WorkSpaces
873
905
  WorkspaceBundle.add_member(:user_storage, Shapes::ShapeRef.new(shape: UserStorage, location_name: "UserStorage"))
874
906
  WorkspaceBundle.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "ComputeType"))
875
907
  WorkspaceBundle.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
908
+ WorkspaceBundle.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
876
909
  WorkspaceBundle.struct_class = Types::WorkspaceBundle
877
910
 
878
911
  WorkspaceConnectionStatus.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
@@ -1071,6 +1104,20 @@ module Aws::WorkSpaces
1071
1104
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1072
1105
  end)
1073
1106
 
1107
+ api.add_operation(:create_workspace_bundle, Seahorse::Model::Operation.new.tap do |o|
1108
+ o.name = "CreateWorkspaceBundle"
1109
+ o.http_method = "POST"
1110
+ o.http_request_uri = "/"
1111
+ o.input = Shapes::ShapeRef.new(shape: CreateWorkspaceBundleRequest)
1112
+ o.output = Shapes::ShapeRef.new(shape: CreateWorkspaceBundleResult)
1113
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
1114
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1115
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1116
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1117
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1118
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1119
+ end)
1120
+
1074
1121
  api.add_operation(:create_workspaces, Seahorse::Model::Operation.new.tap do |o|
1075
1122
  o.name = "CreateWorkspaces"
1076
1123
  o.http_method = "POST"
@@ -1117,6 +1164,18 @@ module Aws::WorkSpaces
1117
1164
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1118
1165
  end)
1119
1166
 
1167
+ api.add_operation(:delete_workspace_bundle, Seahorse::Model::Operation.new.tap do |o|
1168
+ o.name = "DeleteWorkspaceBundle"
1169
+ o.http_method = "POST"
1170
+ o.http_request_uri = "/"
1171
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkspaceBundleRequest)
1172
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkspaceBundleResult)
1173
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1174
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1175
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAssociatedException)
1176
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1177
+ end)
1178
+
1120
1179
  api.add_operation(:delete_workspace_image, Seahorse::Model::Operation.new.tap do |o|
1121
1180
  o.name = "DeleteWorkspaceImage"
1122
1181
  o.http_method = "POST"
@@ -1549,6 +1608,18 @@ module Aws::WorkSpaces
1549
1608
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1550
1609
  end)
1551
1610
 
1611
+ api.add_operation(:update_workspace_bundle, Seahorse::Model::Operation.new.tap do |o|
1612
+ o.name = "UpdateWorkspaceBundle"
1613
+ o.http_method = "POST"
1614
+ o.http_request_uri = "/"
1615
+ o.input = Shapes::ShapeRef.new(shape: UpdateWorkspaceBundleRequest)
1616
+ o.output = Shapes::ShapeRef.new(shape: UpdateWorkspaceBundleResult)
1617
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1618
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1619
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1620
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
1621
+ end)
1622
+
1552
1623
  api.add_operation(:update_workspace_image_permission, Seahorse::Model::Operation.new.tap do |o|
1553
1624
  o.name = "UpdateWorkspaceImagePermission"
1554
1625
  o.http_method = "POST"
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -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 when 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
@@ -1980,6 +2095,7 @@ module Aws::WorkSpaces
1980
2095
  # device_type_android: "ALLOW", # accepts ALLOW, DENY
1981
2096
  # device_type_chrome_os: "ALLOW", # accepts ALLOW, DENY
1982
2097
  # device_type_zero_client: "ALLOW", # accepts ALLOW, DENY
2098
+ # device_type_linux: "ALLOW", # accepts ALLOW, DENY
1983
2099
  # },
1984
2100
  # }
1985
2101
  #
@@ -2484,6 +2600,13 @@ module Aws::WorkSpaces
2484
2600
 
2485
2601
  # Describes the root volume for a WorkSpace bundle.
2486
2602
  #
2603
+ # @note When making an API call, you may pass RootStorage
2604
+ # data as a hash:
2605
+ #
2606
+ # {
2607
+ # capacity: "NonEmptyString",
2608
+ # }
2609
+ #
2487
2610
  # @!attribute [rw] capacity
2488
2611
  # The size of the root volume.
2489
2612
  # @return [String]
@@ -2867,6 +2990,35 @@ module Aws::WorkSpaces
2867
2990
  #
2868
2991
  class UpdateRulesOfIpGroupResult < Aws::EmptyStructure; end
2869
2992
 
2993
+ # @note When making an API call, you may pass UpdateWorkspaceBundleRequest
2994
+ # data as a hash:
2995
+ #
2996
+ # {
2997
+ # bundle_id: "BundleId",
2998
+ # image_id: "WorkspaceImageId",
2999
+ # }
3000
+ #
3001
+ # @!attribute [rw] bundle_id
3002
+ # The identifier of the bundle.
3003
+ # @return [String]
3004
+ #
3005
+ # @!attribute [rw] image_id
3006
+ # The identifier of the image.
3007
+ # @return [String]
3008
+ #
3009
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundleRequest AWS API Documentation
3010
+ #
3011
+ class UpdateWorkspaceBundleRequest < Struct.new(
3012
+ :bundle_id,
3013
+ :image_id)
3014
+ SENSITIVE = []
3015
+ include Aws::Structure
3016
+ end
3017
+
3018
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceBundleResult AWS API Documentation
3019
+ #
3020
+ class UpdateWorkspaceBundleResult < Aws::EmptyStructure; end
3021
+
2870
3022
  # @note When making an API call, you may pass UpdateWorkspaceImagePermissionRequest
2871
3023
  # data as a hash:
2872
3024
  #
@@ -2907,10 +3059,17 @@ module Aws::WorkSpaces
2907
3059
  #
2908
3060
  class UpdateWorkspaceImagePermissionResult < Aws::EmptyStructure; end
2909
3061
 
2910
- # Describes the user storage for a WorkSpace bundle.
3062
+ # Describes the user volume for a WorkSpace bundle.
3063
+ #
3064
+ # @note When making an API call, you may pass UserStorage
3065
+ # data as a hash:
3066
+ #
3067
+ # {
3068
+ # capacity: "NonEmptyString",
3069
+ # }
2911
3070
  #
2912
3071
  # @!attribute [rw] capacity
2913
- # The size of the user storage.
3072
+ # The size of the user volume.
2914
3073
  # @return [String]
2915
3074
  #
2916
3075
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UserStorage AWS API Documentation
@@ -3047,6 +3206,7 @@ module Aws::WorkSpaces
3047
3206
  # device_type_android: "ALLOW", # accepts ALLOW, DENY
3048
3207
  # device_type_chrome_os: "ALLOW", # accepts ALLOW, DENY
3049
3208
  # device_type_zero_client: "ALLOW", # accepts ALLOW, DENY
3209
+ # device_type_linux: "ALLOW", # accepts ALLOW, DENY
3050
3210
  # }
3051
3211
  #
3052
3212
  # @!attribute [rw] device_type_windows
@@ -3098,6 +3258,11 @@ module Aws::WorkSpaces
3098
3258
  # WorkSpaces.
3099
3259
  # @return [String]
3100
3260
  #
3261
+ # @!attribute [rw] device_type_linux
3262
+ # Indicates whether users can use Linux clients to access their
3263
+ # WorkSpaces.
3264
+ # @return [String]
3265
+ #
3101
3266
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceAccessProperties AWS API Documentation
3102
3267
  #
3103
3268
  class WorkspaceAccessProperties < Struct.new(
@@ -3107,7 +3272,8 @@ module Aws::WorkSpaces
3107
3272
  :device_type_ios,
3108
3273
  :device_type_android,
3109
3274
  :device_type_chrome_os,
3110
- :device_type_zero_client)
3275
+ :device_type_zero_client,
3276
+ :device_type_linux)
3111
3277
  SENSITIVE = []
3112
3278
  include Aws::Structure
3113
3279
  end
@@ -3115,7 +3281,7 @@ module Aws::WorkSpaces
3115
3281
  # Describes a WorkSpace bundle.
3116
3282
  #
3117
3283
  # @!attribute [rw] bundle_id
3118
- # The bundle identifier.
3284
+ # The identifier of the bundle.
3119
3285
  # @return [String]
3120
3286
  #
3121
3287
  # @!attribute [rw] name
@@ -3128,11 +3294,11 @@ module Aws::WorkSpaces
3128
3294
  # @return [String]
3129
3295
  #
3130
3296
  # @!attribute [rw] description
3131
- # A description.
3297
+ # The description of the bundle.
3132
3298
  # @return [String]
3133
3299
  #
3134
3300
  # @!attribute [rw] image_id
3135
- # The image identifier of the bundle.
3301
+ # The identifier of the image that was used to create the bundle.
3136
3302
  # @return [String]
3137
3303
  #
3138
3304
  # @!attribute [rw] root_storage
@@ -3140,12 +3306,12 @@ module Aws::WorkSpaces
3140
3306
  # @return [Types::RootStorage]
3141
3307
  #
3142
3308
  # @!attribute [rw] user_storage
3143
- # The size of the user storage.
3309
+ # The size of the user volume.
3144
3310
  # @return [Types::UserStorage]
3145
3311
  #
3146
3312
  # @!attribute [rw] compute_type
3147
- # The compute type. For more information, see [Amazon WorkSpaces
3148
- # Bundles][1].
3313
+ # The compute type of the bundle. For more information, see [Amazon
3314
+ # WorkSpaces Bundles][1].
3149
3315
  #
3150
3316
  #
3151
3317
  #
@@ -3156,6 +3322,10 @@ module Aws::WorkSpaces
3156
3322
  # The last time that the bundle was updated.
3157
3323
  # @return [Time]
3158
3324
  #
3325
+ # @!attribute [rw] creation_time
3326
+ # The time when the bundle was created.
3327
+ # @return [Time]
3328
+ #
3159
3329
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceBundle AWS API Documentation
3160
3330
  #
3161
3331
  class WorkspaceBundle < Struct.new(
@@ -3167,7 +3337,8 @@ module Aws::WorkSpaces
3167
3337
  :root_storage,
3168
3338
  :user_storage,
3169
3339
  :compute_type,
3170
- :last_updated_time)
3340
+ :last_updated_time,
3341
+ :creation_time)
3171
3342
  SENSITIVE = []
3172
3343
  include Aws::Structure
3173
3344
  end