aws-sdk-workspaces 1.56.0 → 1.60.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: d744c28322568927e2f029fe06e12bb9fa84f3c30ffc7a69cde3f70ace536fc7
4
- data.tar.gz: 4963fcbe3a97f0f3f43b3190b1132c79da09b862d6193da8620ee7dd1dfb0a09
3
+ metadata.gz: 457430b58fa60cea0c502d9d78f97807d3029d694c33398ec7f5766e69327d5f
4
+ data.tar.gz: b86609bc954e23c21c663e3d8492367da13da8010baab6ef822fe2eef833fa2d
5
5
  SHA512:
6
- metadata.gz: 502175c09328db19e59b895baf83aca03a1f00f2022b3d64766bba2dfb9793e53dac26e1723078dc00e004f9193014b1585133d4f46b0e3d5d3063e7add622c4
7
- data.tar.gz: 57be9a89f44b72cbb67edb71616cf1c0ad7a90a7cdea35f4d33daead06b7e241c3abba813ac68867ca3dd4a017461e9e693adc3a24bb74e8b87bd5ff2b1db5e8
6
+ metadata.gz: 7f6961d7030dafe93c4eb3fdba92fb2de3e7e4a357571f19e5bf48fbd2dc9446dd94a29391470f34d74f25d09c4b07d34cd38506d320d9d159f321b54a59ade6
7
+ data.tar.gz: 574e95a03d0b85329e37845f2ec2c1a29e2e8560644b1ae1a32bc01c859443df419bedebed5a253523fd4ef51c9d273c8d7852c350de91e9859fbc1df0b724ea
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.60.0 (2021-11-23)
5
+ ------------------
6
+
7
+ * Feature - Documentation updates for Amazon WorkSpaces
8
+
9
+ 1.59.0 (2021-11-04)
10
+ ------------------
11
+
12
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
13
+
14
+ 1.58.0 (2021-10-18)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.57.0 (2021-09-30)
20
+ ------------------
21
+
22
+ * Feature - Added CreateUpdatedWorkspaceImage API to update WorkSpace images with latest software and drivers. Updated DescribeWorkspaceImages API to display if there are updates available for WorkSpace images.
23
+
4
24
  1.56.0 (2021-09-01)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.56.0
1
+ 1.60.0
@@ -285,6 +285,15 @@ module Aws::WorkSpaces
285
285
  # ** Please note ** When response stubbing is enabled, no HTTP
286
286
  # requests are made, and retries are disabled.
287
287
  #
288
+ # @option options [Boolean] :use_dualstack_endpoint
289
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
290
+ # will be used if available.
291
+ #
292
+ # @option options [Boolean] :use_fips_endpoint
293
+ # When set to `true`, fips compatible endpoints will be used if available.
294
+ # When a `fips` region is used, the region is normalized and this config
295
+ # is set to `true`.
296
+ #
288
297
  # @option options [Boolean] :validate_params (true)
289
298
  # When `true`, request parameters are validated before
290
299
  # sending the request.
@@ -448,18 +457,16 @@ module Aws::WorkSpaces
448
457
  # Region. For more information about copying images, see [ Copy a Custom
449
458
  # WorkSpaces Image][1].
450
459
  #
451
- # <note markdown="1"> In the China (Ningxia) Region, you can copy images only within the
460
+ # In the China (Ningxia) Region, you can copy images only within the
452
461
  # same Region.
453
462
  #
454
- # In the AWS GovCloud (US-West) Region, to copy images to and from other
455
- # AWS Regions, contact AWS Support.
456
- #
457
- # </note>
463
+ # In Amazon Web Services GovCloud (US), to copy images to and from other
464
+ # Regions, contact Amazon Web Services Support.
458
465
  #
459
466
  # Before copying a shared image, be sure to verify that it has been
460
- # shared from the correct AWS account. To determine if an image has been
461
- # shared and to see the AWS account ID that owns an image, use the
462
- # [DescribeWorkSpaceImages][2] and
467
+ # shared from the correct Amazon Web Services account. To determine if
468
+ # an image has been shared and to see the ID of the Amazon Web Services
469
+ # account that owns an image, use the [DescribeWorkSpaceImages][2] and
463
470
  # [DescribeWorkspaceImagePermissions][3] API operations.
464
471
  #
465
472
  #
@@ -528,10 +535,10 @@ module Aws::WorkSpaces
528
535
  # (FQDN), such as `www.example.com`.
529
536
  #
530
537
  # After you create a connection string, it is always associated to your
531
- # AWS account. You cannot recreate the same connection string with a
532
- # different account, even if you delete all instances of it from the
533
- # original account. The connection string is globally reserved for your
534
- # account.
538
+ # Amazon Web Services account. You cannot recreate the same connection
539
+ # string with a different account, even if you delete all instances of
540
+ # it from the original account. The connection string is globally
541
+ # reserved for your account.
535
542
  #
536
543
  # @option params [Array<Types::Tag>] :tags
537
544
  # The tags to associate with the connection alias.
@@ -662,6 +669,79 @@ module Aws::WorkSpaces
662
669
  req.send_request(options)
663
670
  end
664
671
 
672
+ # Creates a new updated WorkSpace image based on the specified source
673
+ # image. The new updated WorkSpace image has the latest drivers and
674
+ # other updates required by the Amazon WorkSpaces components.
675
+ #
676
+ # To determine which WorkSpace images need to be updated with the latest
677
+ # Amazon WorkSpaces requirements, use [ DescribeWorkspaceImages][1].
678
+ #
679
+ # <note markdown="1"> * Only Windows 10, Windows Sever 2016, and Windows Server 2019
680
+ # WorkSpace images can be programmatically updated at this time.
681
+ #
682
+ # * Microsoft Windows updates and other application updates are not
683
+ # included in the update process.
684
+ #
685
+ # * The source WorkSpace image is not deleted. You can delete the source
686
+ # image after you've verified your new updated image and created a
687
+ # new bundle.
688
+ #
689
+ # </note>
690
+ #
691
+ #
692
+ #
693
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImages.html
694
+ #
695
+ # @option params [required, String] :name
696
+ # The name of the new updated WorkSpace image.
697
+ #
698
+ # @option params [required, String] :description
699
+ # A description of whether updates for the WorkSpace image are
700
+ # available.
701
+ #
702
+ # @option params [required, String] :source_image_id
703
+ # The identifier of the source WorkSpace image.
704
+ #
705
+ # @option params [Array<Types::Tag>] :tags
706
+ # The tags that you want to add to the new updated WorkSpace image.
707
+ #
708
+ # <note markdown="1"> To add tags at the same time when you're creating the updated image,
709
+ # you must create an IAM policy that grants your IAM user permissions to
710
+ # use `workspaces:CreateTags`.
711
+ #
712
+ # </note>
713
+ #
714
+ # @return [Types::CreateUpdatedWorkspaceImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
715
+ #
716
+ # * {Types::CreateUpdatedWorkspaceImageResult#image_id #image_id} => String
717
+ #
718
+ # @example Request syntax with placeholder values
719
+ #
720
+ # resp = client.create_updated_workspace_image({
721
+ # name: "WorkspaceImageName", # required
722
+ # description: "WorkspaceImageDescription", # required
723
+ # source_image_id: "WorkspaceImageId", # required
724
+ # tags: [
725
+ # {
726
+ # key: "TagKey", # required
727
+ # value: "TagValue",
728
+ # },
729
+ # ],
730
+ # })
731
+ #
732
+ # @example Response structure
733
+ #
734
+ # resp.image_id #=> String
735
+ #
736
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateUpdatedWorkspaceImage AWS API Documentation
737
+ #
738
+ # @overload create_updated_workspace_image(params = {})
739
+ # @param [Hash] params ({})
740
+ def create_updated_workspace_image(params = {}, options = {})
741
+ req = build_request(:create_updated_workspace_image, params)
742
+ req.send_request(options)
743
+ end
744
+
665
745
  # Creates the specified WorkSpace bundle. For more information about
666
746
  # creating WorkSpace bundles, see [ Create a Custom WorkSpaces Image and
667
747
  # Bundle][1].
@@ -995,8 +1075,8 @@ module Aws::WorkSpaces
995
1075
  # use with WorkSpaces. If there are no WorkSpaces being used with your
996
1076
  # Simple AD or AD Connector directory for 30 consecutive days, this
997
1077
  # directory will be automatically deregistered for use with Amazon
998
- # WorkSpaces, and you will be charged for this directory as per the [AWS
999
- # Directory Services pricing terms][1].
1078
+ # WorkSpaces, and you will be charged for this directory as per the
1079
+ # [Directory Service pricing terms][1].
1000
1080
  #
1001
1081
  # To delete empty directories, see [ Delete the Directory for Your
1002
1082
  # WorkSpaces][2]. If you delete your Simple AD or AD Connector
@@ -1125,9 +1205,9 @@ module Aws::WorkSpaces
1125
1205
  end
1126
1206
 
1127
1207
  # Describes the permissions that the owner of a connection alias has
1128
- # granted to another AWS account for the specified connection alias. For
1129
- # more information, see [ Cross-Region Redirection for Amazon
1130
- # WorkSpaces][1].
1208
+ # granted to another Amazon Web Services account for the specified
1209
+ # connection alias. For more information, see [ Cross-Region Redirection
1210
+ # for Amazon WorkSpaces][1].
1131
1211
  #
1132
1212
  #
1133
1213
  #
@@ -1322,8 +1402,9 @@ module Aws::WorkSpaces
1322
1402
  # The owner of the bundles. You cannot combine this parameter with any
1323
1403
  # other filter.
1324
1404
  #
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.
1405
+ # To describe the bundles provided by Amazon Web Services, specify
1406
+ # `AMAZON`. To describe the bundles that belong to your account, don't
1407
+ # specify a value.
1327
1408
  #
1328
1409
  # @option params [String] :next_token
1329
1410
  # The token for the next set of results. (You received this token from a
@@ -1447,7 +1528,7 @@ module Aws::WorkSpaces
1447
1528
  end
1448
1529
 
1449
1530
  # Describes the permissions that the owner of an image has granted to
1450
- # other AWS accounts for an image.
1531
+ # other Amazon Web Services accounts for an image.
1451
1532
  #
1452
1533
  # @option params [required, String] :image_id
1453
1534
  # The identifier of the image.
@@ -1533,6 +1614,8 @@ module Aws::WorkSpaces
1533
1614
  # resp.images[0].error_message #=> String
1534
1615
  # resp.images[0].created #=> Time
1535
1616
  # resp.images[0].owner_account_id #=> String
1617
+ # resp.images[0].updates.update_available #=> Boolean
1618
+ # resp.images[0].updates.description #=> String
1536
1619
  # resp.next_token #=> String
1537
1620
  #
1538
1621
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImages AWS API Documentation
@@ -1705,7 +1788,7 @@ module Aws::WorkSpaces
1705
1788
 
1706
1789
  # Disassociates a connection alias from a directory. Disassociating a
1707
1790
  # connection alias disables cross-Region redirection between two
1708
- # directories in different AWS Regions. For more information, see [
1791
+ # directories in different Regions. For more information, see [
1709
1792
  # Cross-Region Redirection for Amazon WorkSpaces][1].
1710
1793
  #
1711
1794
  # <note markdown="1"> Before performing this operation, call [ DescribeConnectionAliases][2]
@@ -1768,9 +1851,9 @@ module Aws::WorkSpaces
1768
1851
 
1769
1852
  # Imports the specified Windows 10 Bring Your Own License (BYOL) image
1770
1853
  # into Amazon WorkSpaces. The image must be an already licensed Amazon
1771
- # EC2 image that is in your AWS account, and you must own the image. For
1772
- # more information about creating BYOL images, see [ Bring Your Own
1773
- # Windows Desktop Licenses][1].
1854
+ # EC2 image that is in your Amazon Web Services account, and you must
1855
+ # own the image. For more information about creating BYOL images, see [
1856
+ # Bring Your Own Windows Desktop Licenses][1].
1774
1857
  #
1775
1858
  #
1776
1859
  #
@@ -1851,9 +1934,9 @@ module Aws::WorkSpaces
1851
1934
  # that you can use for the network management interface when you enable
1852
1935
  # Bring Your Own License (BYOL).
1853
1936
  #
1854
- # This operation can be run only by AWS accounts that are enabled for
1855
- # BYOL. If your account isn't enabled for BYOL, you'll receive an
1856
- # `AccessDeniedException` error.
1937
+ # This operation can be run only by Amazon Web Services accounts that
1938
+ # are enabled for BYOL. If your account isn't enabled for BYOL, you'll
1939
+ # receive an `AccessDeniedException` error.
1857
1940
  #
1858
1941
  # The management network interface is connected to a secure Amazon
1859
1942
  # WorkSpaces management network. It is used for interactive streaming of
@@ -2322,10 +2405,10 @@ module Aws::WorkSpaces
2322
2405
  # @option params [String] :tenancy
2323
2406
  # Indicates whether your WorkSpace directory is dedicated or shared. To
2324
2407
  # use Bring Your Own License (BYOL) images, this value must be set to
2325
- # `DEDICATED` and your AWS account must be enabled for BYOL. If your
2326
- # account has not been enabled for BYOL, you will receive an
2327
- # InvalidParameterValuesException error. For more information about BYOL
2328
- # images, see [Bring Your Own Windows Desktop Images][1].
2408
+ # `DEDICATED` and your Amazon Web Services account must be enabled for
2409
+ # BYOL. If your account has not been enabled for BYOL, you will receive
2410
+ # an InvalidParameterValuesException error. For more information about
2411
+ # BYOL images, see [Bring Your Own Windows Desktop Images][1].
2329
2412
  #
2330
2413
  #
2331
2414
  #
@@ -2503,7 +2586,7 @@ module Aws::WorkSpaces
2503
2586
  #
2504
2587
  # Terminating a WorkSpace is a permanent action and cannot be undone.
2505
2588
  # The user's data is destroyed. If you need to archive any user data,
2506
- # contact AWS Support before terminating the WorkSpace.
2589
+ # contact Amazon Web Services Support before terminating the WorkSpace.
2507
2590
  #
2508
2591
  # You can terminate a WorkSpace that is in any state except `SUSPENDED`.
2509
2592
  #
@@ -2519,8 +2602,8 @@ module Aws::WorkSpaces
2519
2602
  # use with WorkSpaces. If there are no WorkSpaces being used with your
2520
2603
  # Simple AD or AD Connector directory for 30 consecutive days, this
2521
2604
  # directory will be automatically deregistered for use with Amazon
2522
- # WorkSpaces, and you will be charged for this directory as per the [AWS
2523
- # Directory Services pricing terms][2].
2605
+ # WorkSpaces, and you will be charged for this directory as per the
2606
+ # [Directory Service pricing terms][2].
2524
2607
  #
2525
2608
  # To delete empty directories, see [ Delete the Directory for Your
2526
2609
  # WorkSpaces][3]. If you delete your Simple AD or AD Connector
@@ -2600,7 +2683,7 @@ module Aws::WorkSpaces
2600
2683
  #
2601
2684
  # @option params [required, Types::ConnectionAliasPermission] :connection_alias_permission
2602
2685
  # Indicates whether to share or unshare the connection alias with the
2603
- # specified AWS account.
2686
+ # specified Amazon Web Services account.
2604
2687
  #
2605
2688
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2606
2689
  #
@@ -2692,22 +2775,20 @@ module Aws::WorkSpaces
2692
2775
  req.send_request(options)
2693
2776
  end
2694
2777
 
2695
- # Shares or unshares an image with one account in the same AWS Region by
2696
- # specifying whether that account has permission to copy the image. If
2697
- # the copy image permission is granted, the image is shared with that
2698
- # account. If the copy image permission is revoked, the image is
2699
- # unshared with the account.
2778
+ # Shares or unshares an image with one account in the same Amazon Web
2779
+ # Services Region by specifying whether that account has permission to
2780
+ # copy the image. If the copy image permission is granted, the image is
2781
+ # shared with that account. If the copy image permission is revoked, the
2782
+ # image is unshared with the account.
2700
2783
  #
2701
2784
  # After an image has been shared, the recipient account can copy the
2702
- # image to other AWS Regions as needed.
2785
+ # image to other Regions as needed.
2703
2786
  #
2704
- # <note markdown="1"> In the China (Ningxia) Region, you can copy images only within the
2787
+ # In the China (Ningxia) Region, you can copy images only within the
2705
2788
  # same Region.
2706
2789
  #
2707
- # In the AWS GovCloud (US-West) Region, to copy images to and from other
2708
- # AWS Regions, contact AWS Support.
2709
- #
2710
- # </note>
2790
+ # In Amazon Web Services GovCloud (US), to copy images to and from other
2791
+ # Regions, contact Amazon Web Services Support.
2711
2792
  #
2712
2793
  # For more information about sharing images, see [ Share or Unshare a
2713
2794
  # Custom WorkSpaces Image][1].
@@ -2715,10 +2796,11 @@ module Aws::WorkSpaces
2715
2796
  # <note markdown="1"> * To delete an image that has been shared, you must unshare the image
2716
2797
  # before you delete it.
2717
2798
  #
2718
- # * Sharing Bring Your Own License (BYOL) images across AWS accounts
2719
- # isn't supported at this time in the AWS GovCloud (US-West) Region.
2720
- # To share BYOL images across accounts in the AWS GovCloud (US-West)
2721
- # Region, contact AWS Support.
2799
+ # * Sharing Bring Your Own License (BYOL) images across Amazon Web
2800
+ # Services accounts isn't supported at this time in Amazon Web
2801
+ # Services GovCloud (US). To share BYOL images across accounts in
2802
+ # Amazon Web Services GovCloud (US), contact Amazon Web Services
2803
+ # Support.
2722
2804
  #
2723
2805
  # </note>
2724
2806
  #
@@ -2734,10 +2816,11 @@ module Aws::WorkSpaces
2734
2816
  # after an image has been shared.
2735
2817
  #
2736
2818
  # @option params [required, String] :shared_account_id
2737
- # The identifier of the AWS account to share or unshare the image with.
2819
+ # The identifier of the Amazon Web Services account to share or unshare
2820
+ # the image with.
2738
2821
  #
2739
2822
  # Before sharing the image, confirm that you are sharing to the correct
2740
- # AWS account ID.
2823
+ # Amazon Web Services account ID.
2741
2824
  #
2742
2825
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2743
2826
  #
@@ -2771,7 +2854,7 @@ module Aws::WorkSpaces
2771
2854
  params: params,
2772
2855
  config: config)
2773
2856
  context[:gem_name] = 'aws-sdk-workspaces'
2774
- context[:gem_version] = '1.56.0'
2857
+ context[:gem_version] = '1.60.0'
2775
2858
  Seahorse::Client::Request.new(handlers, context)
2776
2859
  end
2777
2860
 
@@ -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
+ CreateUpdatedWorkspaceImageRequest = Shapes::StructureShape.new(name: 'CreateUpdatedWorkspaceImageRequest')
64
+ CreateUpdatedWorkspaceImageResult = Shapes::StructureShape.new(name: 'CreateUpdatedWorkspaceImageResult')
63
65
  CreateWorkspaceBundleRequest = Shapes::StructureShape.new(name: 'CreateWorkspaceBundleRequest')
64
66
  CreateWorkspaceBundleResult = Shapes::StructureShape.new(name: 'CreateWorkspaceBundleResult')
65
67
  CreateWorkspacesRequest = Shapes::StructureShape.new(name: 'CreateWorkspacesRequest')
@@ -238,6 +240,8 @@ module Aws::WorkSpaces
238
240
  UnsupportedWorkspaceConfigurationException = Shapes::StructureShape.new(name: 'UnsupportedWorkspaceConfigurationException')
239
241
  UpdateConnectionAliasPermissionRequest = Shapes::StructureShape.new(name: 'UpdateConnectionAliasPermissionRequest')
240
242
  UpdateConnectionAliasPermissionResult = Shapes::StructureShape.new(name: 'UpdateConnectionAliasPermissionResult')
243
+ UpdateDescription = Shapes::StringShape.new(name: 'UpdateDescription')
244
+ UpdateResult = Shapes::StructureShape.new(name: 'UpdateResult')
241
245
  UpdateRulesOfIpGroupRequest = Shapes::StructureShape.new(name: 'UpdateRulesOfIpGroupRequest')
242
246
  UpdateRulesOfIpGroupResult = Shapes::StructureShape.new(name: 'UpdateRulesOfIpGroupResult')
243
247
  UpdateWorkspaceBundleRequest = Shapes::StructureShape.new(name: 'UpdateWorkspaceBundleRequest')
@@ -388,6 +392,15 @@ module Aws::WorkSpaces
388
392
 
389
393
  CreateTagsResult.struct_class = Types::CreateTagsResult
390
394
 
395
+ CreateUpdatedWorkspaceImageRequest.add_member(:name, Shapes::ShapeRef.new(shape: WorkspaceImageName, required: true, location_name: "Name"))
396
+ CreateUpdatedWorkspaceImageRequest.add_member(:description, Shapes::ShapeRef.new(shape: WorkspaceImageDescription, required: true, location_name: "Description"))
397
+ CreateUpdatedWorkspaceImageRequest.add_member(:source_image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "SourceImageId"))
398
+ CreateUpdatedWorkspaceImageRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
399
+ CreateUpdatedWorkspaceImageRequest.struct_class = Types::CreateUpdatedWorkspaceImageRequest
400
+
401
+ CreateUpdatedWorkspaceImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
402
+ CreateUpdatedWorkspaceImageResult.struct_class = Types::CreateUpdatedWorkspaceImageResult
403
+
391
404
  CreateWorkspaceBundleRequest.add_member(:bundle_name, Shapes::ShapeRef.new(shape: WorkspaceBundleName, required: true, location_name: "BundleName"))
392
405
  CreateWorkspaceBundleRequest.add_member(:bundle_description, Shapes::ShapeRef.new(shape: WorkspaceBundleDescription, required: true, location_name: "BundleDescription"))
393
406
  CreateWorkspaceBundleRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
@@ -847,6 +860,10 @@ module Aws::WorkSpaces
847
860
 
848
861
  UpdateConnectionAliasPermissionResult.struct_class = Types::UpdateConnectionAliasPermissionResult
849
862
 
863
+ UpdateResult.add_member(:update_available, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "UpdateAvailable"))
864
+ UpdateResult.add_member(:description, Shapes::ShapeRef.new(shape: UpdateDescription, location_name: "Description"))
865
+ UpdateResult.struct_class = Types::UpdateResult
866
+
850
867
  UpdateRulesOfIpGroupRequest.add_member(:group_id, Shapes::ShapeRef.new(shape: IpGroupId, required: true, location_name: "GroupId"))
851
868
  UpdateRulesOfIpGroupRequest.add_member(:user_rules, Shapes::ShapeRef.new(shape: IpRuleList, required: true, location_name: "UserRules"))
852
869
  UpdateRulesOfIpGroupRequest.struct_class = Types::UpdateRulesOfIpGroupRequest
@@ -954,6 +971,7 @@ module Aws::WorkSpaces
954
971
  WorkspaceImage.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
955
972
  WorkspaceImage.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Created"))
956
973
  WorkspaceImage.add_member(:owner_account_id, Shapes::ShapeRef.new(shape: AwsAccount, location_name: "OwnerAccountId"))
974
+ WorkspaceImage.add_member(:updates, Shapes::ShapeRef.new(shape: UpdateResult, location_name: "Updates"))
957
975
  WorkspaceImage.struct_class = Types::WorkspaceImage
958
976
 
959
977
  WorkspaceImageIdList.member = Shapes::ShapeRef.new(shape: WorkspaceImageId)
@@ -1104,6 +1122,21 @@ module Aws::WorkSpaces
1104
1122
  o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1105
1123
  end)
1106
1124
 
1125
+ api.add_operation(:create_updated_workspace_image, Seahorse::Model::Operation.new.tap do |o|
1126
+ o.name = "CreateUpdatedWorkspaceImage"
1127
+ o.http_method = "POST"
1128
+ o.http_request_uri = "/"
1129
+ o.input = Shapes::ShapeRef.new(shape: CreateUpdatedWorkspaceImageRequest)
1130
+ o.output = Shapes::ShapeRef.new(shape: CreateUpdatedWorkspaceImageResult)
1131
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
1133
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1134
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1135
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
1136
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1137
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1138
+ end)
1139
+
1107
1140
  api.add_operation(:create_workspace_bundle, Seahorse::Model::Operation.new.tap do |o|
1108
1141
  o.name = "CreateWorkspaceBundle"
1109
1142
  o.http_method = "POST"
@@ -256,7 +256,8 @@ module Aws::WorkSpaces
256
256
  # @return [String]
257
257
  #
258
258
  # @!attribute [rw] owner_account_id
259
- # The identifier of the AWS account that owns the connection alias.
259
+ # The identifier of the Amazon Web Services account that owns the
260
+ # connection alias.
260
261
  # @return [String]
261
262
  #
262
263
  # @!attribute [rw] associations
@@ -288,8 +289,8 @@ module Aws::WorkSpaces
288
289
  # @return [String]
289
290
  #
290
291
  # @!attribute [rw] associated_account_id
291
- # The identifier of the AWS account that associated the connection
292
- # alias with a directory.
292
+ # The identifier of the Amazon Web Services account that associated
293
+ # the connection alias with a directory.
293
294
  # @return [String]
294
295
  #
295
296
  # @!attribute [rw] resource_id
@@ -330,13 +331,13 @@ module Aws::WorkSpaces
330
331
  # }
331
332
  #
332
333
  # @!attribute [rw] shared_account_id
333
- # The identifier of the AWS account that the connection alias is
334
- # shared with.
334
+ # The identifier of the Amazon Web Services account that the
335
+ # connection alias is shared with.
335
336
  # @return [String]
336
337
  #
337
338
  # @!attribute [rw] allow_association
338
- # Indicates whether the specified AWS account is allowed to associate
339
- # the connection alias with a directory.
339
+ # Indicates whether the specified Amazon Web Services account is
340
+ # allowed to associate the connection alias with a directory.
340
341
  # @return [Boolean]
341
342
  #
342
343
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ConnectionAliasPermission AWS API Documentation
@@ -426,10 +427,10 @@ module Aws::WorkSpaces
426
427
  # (FQDN), such as `www.example.com`.
427
428
  #
428
429
  # After you create a connection string, it is always associated to
429
- # your AWS account. You cannot recreate the same connection string
430
- # with a different account, even if you delete all instances of it
431
- # from the original account. The connection string is globally
432
- # reserved for your account.
430
+ # your Amazon Web Services account. You cannot recreate the same
431
+ # connection string with a different account, even if you delete all
432
+ # instances of it from the original account. The connection string is
433
+ # globally reserved for your account.
433
434
  # @return [String]
434
435
  #
435
436
  # @!attribute [rw] tags
@@ -552,6 +553,67 @@ module Aws::WorkSpaces
552
553
  #
553
554
  class CreateTagsResult < Aws::EmptyStructure; end
554
555
 
556
+ # @note When making an API call, you may pass CreateUpdatedWorkspaceImageRequest
557
+ # data as a hash:
558
+ #
559
+ # {
560
+ # name: "WorkspaceImageName", # required
561
+ # description: "WorkspaceImageDescription", # required
562
+ # source_image_id: "WorkspaceImageId", # required
563
+ # tags: [
564
+ # {
565
+ # key: "TagKey", # required
566
+ # value: "TagValue",
567
+ # },
568
+ # ],
569
+ # }
570
+ #
571
+ # @!attribute [rw] name
572
+ # The name of the new updated WorkSpace image.
573
+ # @return [String]
574
+ #
575
+ # @!attribute [rw] description
576
+ # A description of whether updates for the WorkSpace image are
577
+ # available.
578
+ # @return [String]
579
+ #
580
+ # @!attribute [rw] source_image_id
581
+ # The identifier of the source WorkSpace image.
582
+ # @return [String]
583
+ #
584
+ # @!attribute [rw] tags
585
+ # The tags that you want to add to the new updated WorkSpace image.
586
+ #
587
+ # <note markdown="1"> To add tags at the same time when you're creating the updated
588
+ # image, you must create an IAM policy that grants your IAM user
589
+ # permissions to use `workspaces:CreateTags`.
590
+ #
591
+ # </note>
592
+ # @return [Array<Types::Tag>]
593
+ #
594
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateUpdatedWorkspaceImageRequest AWS API Documentation
595
+ #
596
+ class CreateUpdatedWorkspaceImageRequest < Struct.new(
597
+ :name,
598
+ :description,
599
+ :source_image_id,
600
+ :tags)
601
+ SENSITIVE = []
602
+ include Aws::Structure
603
+ end
604
+
605
+ # @!attribute [rw] image_id
606
+ # The identifier of the new updated WorkSpace image.
607
+ # @return [String]
608
+ #
609
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateUpdatedWorkspaceImageResult AWS API Documentation
610
+ #
611
+ class CreateUpdatedWorkspaceImageResult < Struct.new(
612
+ :image_id)
613
+ SENSITIVE = []
614
+ include Aws::Structure
615
+ end
616
+
555
617
  # @note When making an API call, you may pass CreateWorkspaceBundleRequest
556
618
  # data as a hash:
557
619
  #
@@ -1231,9 +1293,9 @@ module Aws::WorkSpaces
1231
1293
  # The owner of the bundles. You cannot combine this parameter with any
1232
1294
  # other filter.
1233
1295
  #
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.
1296
+ # To describe the bundles provided by Amazon Web Services, specify
1297
+ # `AMAZON`. To describe the bundles that belong to your account,
1298
+ # don't specify a value.
1237
1299
  # @return [String]
1238
1300
  #
1239
1301
  # @!attribute [rw] next_token
@@ -1358,8 +1420,8 @@ module Aws::WorkSpaces
1358
1420
  # @return [String]
1359
1421
  #
1360
1422
  # @!attribute [rw] image_permissions
1361
- # The identifiers of the AWS accounts that the image has been shared
1362
- # with.
1423
+ # The identifiers of the Amazon Web Services accounts that the image
1424
+ # has been shared with.
1363
1425
  # @return [Array<Types::ImagePermission>]
1364
1426
  #
1365
1427
  # @!attribute [rw] next_token
@@ -1704,17 +1766,17 @@ module Aws::WorkSpaces
1704
1766
  include Aws::Structure
1705
1767
  end
1706
1768
 
1707
- # Describes the AWS accounts that have been granted permission to use a
1708
- # shared image. For more information about sharing images, see [ Share
1709
- # or Unshare a Custom WorkSpaces Image][1].
1769
+ # Describes the Amazon Web Services accounts that have been granted
1770
+ # permission to use a shared image. For more information about sharing
1771
+ # images, see [ Share or Unshare a Custom WorkSpaces Image][1].
1710
1772
  #
1711
1773
  #
1712
1774
  #
1713
1775
  # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/share-custom-image.html
1714
1776
  #
1715
1777
  # @!attribute [rw] shared_account_id
1716
- # The identifier of the AWS account that an image has been shared
1717
- # with.
1778
+ # The identifier of the Amazon Web Services account that an image has
1779
+ # been shared with.
1718
1780
  # @return [String]
1719
1781
  #
1720
1782
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImagePermission AWS API Documentation
@@ -2424,10 +2486,11 @@ module Aws::WorkSpaces
2424
2486
  # @!attribute [rw] tenancy
2425
2487
  # Indicates whether your WorkSpace directory is dedicated or shared.
2426
2488
  # To use Bring Your Own License (BYOL) images, this value must be set
2427
- # to `DEDICATED` and your AWS account must be enabled for BYOL. If
2428
- # your account has not been enabled for BYOL, you will receive an
2429
- # InvalidParameterValuesException error. For more information about
2430
- # BYOL images, see [Bring Your Own Windows Desktop Images][1].
2489
+ # to `DEDICATED` and your Amazon Web Services account must be enabled
2490
+ # for BYOL. If your account has not been enabled for BYOL, you will
2491
+ # receive an InvalidParameterValuesException error. For more
2492
+ # information about BYOL images, see [Bring Your Own Windows Desktop
2493
+ # Images][1].
2431
2494
  #
2432
2495
  #
2433
2496
  #
@@ -2940,7 +3003,7 @@ module Aws::WorkSpaces
2940
3003
  #
2941
3004
  # @!attribute [rw] connection_alias_permission
2942
3005
  # Indicates whether to share or unshare the connection alias with the
2943
- # specified AWS account.
3006
+ # specified Amazon Web Services account.
2944
3007
  # @return [Types::ConnectionAliasPermission]
2945
3008
  #
2946
3009
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateConnectionAliasPermissionRequest AWS API Documentation
@@ -2956,6 +3019,33 @@ module Aws::WorkSpaces
2956
3019
  #
2957
3020
  class UpdateConnectionAliasPermissionResult < Aws::EmptyStructure; end
2958
3021
 
3022
+ # Describes whether a WorkSpace image needs to be updated with the
3023
+ # latest drivers and other components required by Amazon WorkSpaces.
3024
+ #
3025
+ # <note markdown="1"> Only Windows 10 WorkSpace images can be programmatically updated at
3026
+ # this time.
3027
+ #
3028
+ # </note>
3029
+ #
3030
+ # @!attribute [rw] update_available
3031
+ # Indicates whether updated drivers or other components are available
3032
+ # for the specified WorkSpace image.
3033
+ # @return [Boolean]
3034
+ #
3035
+ # @!attribute [rw] description
3036
+ # A description of whether updates for the WorkSpace image are pending
3037
+ # or available.
3038
+ # @return [String]
3039
+ #
3040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateResult AWS API Documentation
3041
+ #
3042
+ class UpdateResult < Struct.new(
3043
+ :update_available,
3044
+ :description)
3045
+ SENSITIVE = []
3046
+ include Aws::Structure
3047
+ end
3048
+
2959
3049
  # @note When making an API call, you may pass UpdateRulesOfIpGroupRequest
2960
3050
  # data as a hash:
2961
3051
  #
@@ -3038,11 +3128,11 @@ module Aws::WorkSpaces
3038
3128
  # @return [Boolean]
3039
3129
  #
3040
3130
  # @!attribute [rw] shared_account_id
3041
- # The identifier of the AWS account to share or unshare the image
3042
- # with.
3131
+ # The identifier of the Amazon Web Services account to share or
3132
+ # unshare the image with.
3043
3133
  #
3044
3134
  # Before sharing the image, confirm that you are sharing to the
3045
- # correct AWS account ID.
3135
+ # correct Amazon Web Services account ID.
3046
3136
  # @return [String]
3047
3137
  #
3048
3138
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/UpdateWorkspaceImagePermissionRequest AWS API Documentation
@@ -3087,8 +3177,7 @@ module Aws::WorkSpaces
3087
3177
  # @return [String]
3088
3178
  #
3089
3179
  # @!attribute [rw] directory_id
3090
- # The identifier of the AWS Directory Service directory for the
3091
- # WorkSpace.
3180
+ # The identifier of the Directory Service directory for the WorkSpace.
3092
3181
  # @return [String]
3093
3182
  #
3094
3183
  # @!attribute [rw] user_name
@@ -3144,9 +3233,8 @@ module Aws::WorkSpaces
3144
3233
  # @return [String]
3145
3234
  #
3146
3235
  # @!attribute [rw] volume_encryption_key
3147
- # The symmetric AWS KMS customer master key (CMK) used to encrypt data
3148
- # stored on your WorkSpace. Amazon WorkSpaces does not support
3149
- # asymmetric CMKs.
3236
+ # The symmetric KMS key used to encrypt data stored on your WorkSpace.
3237
+ # Amazon WorkSpaces does not support asymmetric KMS keys.
3150
3238
  # @return [String]
3151
3239
  #
3152
3240
  # @!attribute [rw] user_volume_encryption_enabled
@@ -3211,26 +3299,12 @@ module Aws::WorkSpaces
3211
3299
  #
3212
3300
  # @!attribute [rw] device_type_windows
3213
3301
  # Indicates whether users can use Windows clients to access their
3214
- # WorkSpaces. To restrict WorkSpaces access to trusted devices (also
3215
- # known as managed devices) with valid certificates, specify a value
3216
- # of `TRUST`. For more information, see [Restrict WorkSpaces Access to
3217
- # Trusted Devices][1].
3218
- #
3219
- #
3220
- #
3221
- # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/trusted-devices.html
3302
+ # WorkSpaces.
3222
3303
  # @return [String]
3223
3304
  #
3224
3305
  # @!attribute [rw] device_type_osx
3225
3306
  # Indicates whether users can use macOS clients to access their
3226
- # WorkSpaces. To restrict WorkSpaces access to trusted devices (also
3227
- # known as managed devices) with valid certificates, specify a value
3228
- # of `TRUST`. For more information, see [Restrict WorkSpaces Access to
3229
- # Trusted Devices][1].
3230
- #
3231
- #
3232
- #
3233
- # [1]: https://docs.aws.amazon.com/workspaces/latest/adminguide/trusted-devices.html
3307
+ # WorkSpaces.
3234
3308
  # @return [String]
3235
3309
  #
3236
3310
  # @!attribute [rw] device_type_web
@@ -3244,8 +3318,8 @@ module Aws::WorkSpaces
3244
3318
  # @return [String]
3245
3319
  #
3246
3320
  # @!attribute [rw] device_type_android
3247
- # Indicates whether users can use Android devices to access their
3248
- # WorkSpaces.
3321
+ # Indicates whether users can use Android and Android-compatible
3322
+ # Chrome OS devices to access their WorkSpaces.
3249
3323
  # @return [String]
3250
3324
  #
3251
3325
  # @!attribute [rw] device_type_chrome_os
@@ -3290,7 +3364,7 @@ module Aws::WorkSpaces
3290
3364
  #
3291
3365
  # @!attribute [rw] owner
3292
3366
  # The owner of the bundle. This is the account identifier of the
3293
- # owner, or `AMAZON` if the bundle is provided by AWS.
3367
+ # owner, or `AMAZON` if the bundle is provided by Amazon Web Services.
3294
3368
  # @return [String]
3295
3369
  #
3296
3370
  # @!attribute [rw] description
@@ -3628,14 +3702,19 @@ module Aws::WorkSpaces
3628
3702
  #
3629
3703
  # @!attribute [rw] created
3630
3704
  # The date when the image was created. If the image has been shared,
3631
- # the AWS account that the image has been shared with sees the
3632
- # original creation date of the image.
3705
+ # the Amazon Web Services account that the image has been shared with
3706
+ # sees the original creation date of the image.
3633
3707
  # @return [Time]
3634
3708
  #
3635
3709
  # @!attribute [rw] owner_account_id
3636
- # The identifier of the AWS account that owns the image.
3710
+ # The identifier of the Amazon Web Services account that owns the
3711
+ # image.
3637
3712
  # @return [String]
3638
3713
  #
3714
+ # @!attribute [rw] updates
3715
+ # The updates (if any) that are available for the specified image.
3716
+ # @return [Types::UpdateResult]
3717
+ #
3639
3718
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceImage AWS API Documentation
3640
3719
  #
3641
3720
  class WorkspaceImage < Struct.new(
@@ -3648,7 +3727,8 @@ module Aws::WorkSpaces
3648
3727
  :error_code,
3649
3728
  :error_message,
3650
3729
  :created,
3651
- :owner_account_id)
3730
+ :owner_account_id,
3731
+ :updates)
3652
3732
  SENSITIVE = []
3653
3733
  include Aws::Structure
3654
3734
  end
@@ -3749,14 +3829,14 @@ module Aws::WorkSpaces
3749
3829
  # }
3750
3830
  #
3751
3831
  # @!attribute [rw] directory_id
3752
- # The identifier of the AWS Directory Service directory for the
3753
- # WorkSpace. You can use DescribeWorkspaceDirectories to list the
3754
- # available directories.
3832
+ # The identifier of the Directory Service directory for the WorkSpace.
3833
+ # You can use DescribeWorkspaceDirectories to list the available
3834
+ # directories.
3755
3835
  # @return [String]
3756
3836
  #
3757
3837
  # @!attribute [rw] user_name
3758
3838
  # The user name of the user for the WorkSpace. This user name must
3759
- # exist in the AWS Directory Service directory for the WorkSpace.
3839
+ # exist in the Directory Service directory for the WorkSpace.
3760
3840
  # @return [String]
3761
3841
  #
3762
3842
  # @!attribute [rw] bundle_id
@@ -3765,9 +3845,8 @@ module Aws::WorkSpaces
3765
3845
  # @return [String]
3766
3846
  #
3767
3847
  # @!attribute [rw] volume_encryption_key
3768
- # The symmetric AWS KMS customer master key (CMK) used to encrypt data
3769
- # stored on your WorkSpace. Amazon WorkSpaces does not support
3770
- # asymmetric CMKs.
3848
+ # The symmetric KMS key used to encrypt data stored on your WorkSpace.
3849
+ # Amazon WorkSpaces does not support asymmetric KMS keys.
3771
3850
  # @return [String]
3772
3851
  #
3773
3852
  # @!attribute [rw] user_volume_encryption_enabled
@@ -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.56.0'
51
+ GEM_VERSION = '1.60.0'
52
52
 
53
53
  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.56.0
4
+ version: 1.60.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-09-01 00:00:00.000000000 Z
11
+ date: 2021-11-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '3'
20
20
  - - ">="
21
21
  - !ruby/object:Gem::Version
22
- version: 3.120.0
22
+ version: 3.122.0
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '3'
30
30
  - - ">="
31
31
  - !ruby/object:Gem::Version
32
- version: 3.120.0
32
+ version: 3.122.0
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement