aws-sdk-workspaces 1.54.0 → 1.58.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c5a0bcb26d0842da6e8f4caaffec4d7e11058b148a4dad53769b22091ebe2a07
4
- data.tar.gz: 3c6e7bf6f5398f423bd46f99093cc0bc3ead031e214a468336cb5e288c80ab9a
3
+ metadata.gz: 9c46768447ec71247450f902b781ce9a3b1b52829e83f09b5c8ee56a85c5c9fe
4
+ data.tar.gz: 07b30a18cfa999acd1cf6506b162cf080d32337f9f77b266f2993c9ea515bc31
5
5
  SHA512:
6
- metadata.gz: 466146efff4328ec31fdb2db5695999f2c52877dc1e8e53eb23f1ab26ca6924b45b416b6d8f5b7c54b9995a98e2668bc38f738fa14c83155e7ff87967db57f6f
7
- data.tar.gz: cc8d569a20da64fb4cba7e3ebbd87ca37b736263430d8d6669a46d449c30d96400cc872ff681068add006fa27c15cbefe775ea48d5b950f564833cfdacdb5357
6
+ metadata.gz: 2595f30ac3ba61ff77a5514aa5f7538c5c3c8cf4a9b2b9a68153ea66eb084ae1305d238fd9e0f0f3cb7ea578c914cada5c26b5f559a3b1987f67deef9c419162
7
+ data.tar.gz: d838c8f628533d9a33bf1f1f7ca9c99d6404db61d7f29d2dce2a4374a116447f6c1c0e40a3389ddc7b63858383623da70355b02e2a1731999e8a55a3c88f322c
data/CHANGELOG.md CHANGED
@@ -1,6 +1,26 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.58.0 (2021-10-18)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.57.0 (2021-09-30)
10
+ ------------------
11
+
12
+ * 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.
13
+
14
+ 1.56.0 (2021-09-01)
15
+ ------------------
16
+
17
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
18
+
19
+ 1.55.0 (2021-07-30)
20
+ ------------------
21
+
22
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
23
+
4
24
  1.54.0 (2021-07-28)
5
25
  ------------------
6
26
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.54.0
1
+ 1.58.0
@@ -448,18 +448,16 @@ module Aws::WorkSpaces
448
448
  # Region. For more information about copying images, see [ Copy a Custom
449
449
  # WorkSpaces Image][1].
450
450
  #
451
- # <note markdown="1"> In the China (Ningxia) Region, you can copy images only within the
451
+ # In the China (Ningxia) Region, you can copy images only within the
452
452
  # same Region.
453
453
  #
454
- # In the AWS GovCloud (US-West) Region, to copy images to and from other
455
- # AWS Regions, contact AWS Support.
456
- #
457
- # </note>
454
+ # In Amazon Web Services GovCloud (US), to copy images to and from other
455
+ # Regions, contact Amazon Web Services Support.
458
456
  #
459
457
  # 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
458
+ # shared from the correct Amazon Web Services account. To determine if
459
+ # an image has been shared and to see the ID of the Amazon Web Services
460
+ # account that owns an image, use the [DescribeWorkSpaceImages][2] and
463
461
  # [DescribeWorkspaceImagePermissions][3] API operations.
464
462
  #
465
463
  #
@@ -528,10 +526,10 @@ module Aws::WorkSpaces
528
526
  # (FQDN), such as `www.example.com`.
529
527
  #
530
528
  # 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.
529
+ # Amazon Web Services account. You cannot recreate the same connection
530
+ # string with a different account, even if you delete all instances of
531
+ # it from the original account. The connection string is globally
532
+ # reserved for your account.
535
533
  #
536
534
  # @option params [Array<Types::Tag>] :tags
537
535
  # The tags to associate with the connection alias.
@@ -662,6 +660,79 @@ module Aws::WorkSpaces
662
660
  req.send_request(options)
663
661
  end
664
662
 
663
+ # Creates a new updated WorkSpace image based on the specified source
664
+ # image. The new updated WorkSpace image has the latest drivers and
665
+ # other updates required by the Amazon WorkSpaces components.
666
+ #
667
+ # To determine which WorkSpace images need to be updated with the latest
668
+ # Amazon WorkSpaces requirements, use [ DescribeWorkspaceImages][1].
669
+ #
670
+ # <note markdown="1"> * Only Windows 10 WorkSpace images can be programmatically updated at
671
+ # this time.
672
+ #
673
+ # * Microsoft Windows updates and other application updates are not
674
+ # included in the update process.
675
+ #
676
+ # * The source WorkSpace image is not deleted. You can delete the source
677
+ # image after you've verified your new updated image and created a
678
+ # new bundle.
679
+ #
680
+ # </note>
681
+ #
682
+ #
683
+ #
684
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaceImages.html
685
+ #
686
+ # @option params [required, String] :name
687
+ # The name of the new updated WorkSpace image.
688
+ #
689
+ # @option params [required, String] :description
690
+ # A description of whether updates for the WorkSpace image are
691
+ # available.
692
+ #
693
+ # @option params [required, String] :source_image_id
694
+ # The identifier of the source WorkSpace image.
695
+ #
696
+ # @option params [Array<Types::Tag>] :tags
697
+ # The tags that you want to add to the new updated WorkSpace image.
698
+ #
699
+ # <note markdown="1"> To add tags at the same time when you're creating the updated image,
700
+ # you must create an IAM policy that grants your IAM user permissions to
701
+ # use `workspaces:CreateTags`.
702
+ #
703
+ # </note>
704
+ #
705
+ # @return [Types::CreateUpdatedWorkspaceImageResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
706
+ #
707
+ # * {Types::CreateUpdatedWorkspaceImageResult#image_id #image_id} => String
708
+ #
709
+ # @example Request syntax with placeholder values
710
+ #
711
+ # resp = client.create_updated_workspace_image({
712
+ # name: "WorkspaceImageName", # required
713
+ # description: "WorkspaceImageDescription", # required
714
+ # source_image_id: "WorkspaceImageId", # required
715
+ # tags: [
716
+ # {
717
+ # key: "TagKey", # required
718
+ # value: "TagValue",
719
+ # },
720
+ # ],
721
+ # })
722
+ #
723
+ # @example Response structure
724
+ #
725
+ # resp.image_id #=> String
726
+ #
727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateUpdatedWorkspaceImage AWS API Documentation
728
+ #
729
+ # @overload create_updated_workspace_image(params = {})
730
+ # @param [Hash] params ({})
731
+ def create_updated_workspace_image(params = {}, options = {})
732
+ req = build_request(:create_updated_workspace_image, params)
733
+ req.send_request(options)
734
+ end
735
+
665
736
  # Creates the specified WorkSpace bundle. For more information about
666
737
  # creating WorkSpace bundles, see [ Create a Custom WorkSpaces Image and
667
738
  # Bundle][1].
@@ -995,8 +1066,8 @@ module Aws::WorkSpaces
995
1066
  # use with WorkSpaces. If there are no WorkSpaces being used with your
996
1067
  # Simple AD or AD Connector directory for 30 consecutive days, this
997
1068
  # 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].
1069
+ # WorkSpaces, and you will be charged for this directory as per the
1070
+ # [Directory Service pricing terms][1].
1000
1071
  #
1001
1072
  # To delete empty directories, see [ Delete the Directory for Your
1002
1073
  # WorkSpaces][2]. If you delete your Simple AD or AD Connector
@@ -1125,9 +1196,9 @@ module Aws::WorkSpaces
1125
1196
  end
1126
1197
 
1127
1198
  # 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].
1199
+ # granted to another Amazon Web Services account for the specified
1200
+ # connection alias. For more information, see [ Cross-Region Redirection
1201
+ # for Amazon WorkSpaces][1].
1131
1202
  #
1132
1203
  #
1133
1204
  #
@@ -1322,8 +1393,9 @@ module Aws::WorkSpaces
1322
1393
  # The owner of the bundles. You cannot combine this parameter with any
1323
1394
  # other filter.
1324
1395
  #
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.
1396
+ # To describe the bundles provided by Amazon Web Services, specify
1397
+ # `AMAZON`. To describe the bundles that belong to your account, don't
1398
+ # specify a value.
1327
1399
  #
1328
1400
  # @option params [String] :next_token
1329
1401
  # The token for the next set of results. (You received this token from a
@@ -1447,7 +1519,7 @@ module Aws::WorkSpaces
1447
1519
  end
1448
1520
 
1449
1521
  # Describes the permissions that the owner of an image has granted to
1450
- # other AWS accounts for an image.
1522
+ # other Amazon Web Services accounts for an image.
1451
1523
  #
1452
1524
  # @option params [required, String] :image_id
1453
1525
  # The identifier of the image.
@@ -1533,6 +1605,8 @@ module Aws::WorkSpaces
1533
1605
  # resp.images[0].error_message #=> String
1534
1606
  # resp.images[0].created #=> Time
1535
1607
  # resp.images[0].owner_account_id #=> String
1608
+ # resp.images[0].updates.update_available #=> Boolean
1609
+ # resp.images[0].updates.description #=> String
1536
1610
  # resp.next_token #=> String
1537
1611
  #
1538
1612
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImages AWS API Documentation
@@ -1705,7 +1779,7 @@ module Aws::WorkSpaces
1705
1779
 
1706
1780
  # Disassociates a connection alias from a directory. Disassociating a
1707
1781
  # connection alias disables cross-Region redirection between two
1708
- # directories in different AWS Regions. For more information, see [
1782
+ # directories in different Regions. For more information, see [
1709
1783
  # Cross-Region Redirection for Amazon WorkSpaces][1].
1710
1784
  #
1711
1785
  # <note markdown="1"> Before performing this operation, call [ DescribeConnectionAliases][2]
@@ -1768,9 +1842,9 @@ module Aws::WorkSpaces
1768
1842
 
1769
1843
  # Imports the specified Windows 10 Bring Your Own License (BYOL) image
1770
1844
  # 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].
1845
+ # EC2 image that is in your Amazon Web Services account, and you must
1846
+ # own the image. For more information about creating BYOL images, see [
1847
+ # Bring Your Own Windows Desktop Licenses][1].
1774
1848
  #
1775
1849
  #
1776
1850
  #
@@ -1851,9 +1925,9 @@ module Aws::WorkSpaces
1851
1925
  # that you can use for the network management interface when you enable
1852
1926
  # Bring Your Own License (BYOL).
1853
1927
  #
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.
1928
+ # This operation can be run only by Amazon Web Services accounts that
1929
+ # are enabled for BYOL. If your account isn't enabled for BYOL, you'll
1930
+ # receive an `AccessDeniedException` error.
1857
1931
  #
1858
1932
  # The management network interface is connected to a secure Amazon
1859
1933
  # WorkSpaces management network. It is used for interactive streaming of
@@ -2322,10 +2396,10 @@ module Aws::WorkSpaces
2322
2396
  # @option params [String] :tenancy
2323
2397
  # Indicates whether your WorkSpace directory is dedicated or shared. To
2324
2398
  # 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].
2399
+ # `DEDICATED` and your Amazon Web Services account must be enabled for
2400
+ # BYOL. If your account has not been enabled for BYOL, you will receive
2401
+ # an InvalidParameterValuesException error. For more information about
2402
+ # BYOL images, see [Bring Your Own Windows Desktop Images][1].
2329
2403
  #
2330
2404
  #
2331
2405
  #
@@ -2503,7 +2577,7 @@ module Aws::WorkSpaces
2503
2577
  #
2504
2578
  # Terminating a WorkSpace is a permanent action and cannot be undone.
2505
2579
  # The user's data is destroyed. If you need to archive any user data,
2506
- # contact AWS Support before terminating the WorkSpace.
2580
+ # contact Amazon Web Services Support before terminating the WorkSpace.
2507
2581
  #
2508
2582
  # You can terminate a WorkSpace that is in any state except `SUSPENDED`.
2509
2583
  #
@@ -2519,8 +2593,8 @@ module Aws::WorkSpaces
2519
2593
  # use with WorkSpaces. If there are no WorkSpaces being used with your
2520
2594
  # Simple AD or AD Connector directory for 30 consecutive days, this
2521
2595
  # 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].
2596
+ # WorkSpaces, and you will be charged for this directory as per the
2597
+ # [Directory Service pricing terms][2].
2524
2598
  #
2525
2599
  # To delete empty directories, see [ Delete the Directory for Your
2526
2600
  # WorkSpaces][3]. If you delete your Simple AD or AD Connector
@@ -2600,7 +2674,7 @@ module Aws::WorkSpaces
2600
2674
  #
2601
2675
  # @option params [required, Types::ConnectionAliasPermission] :connection_alias_permission
2602
2676
  # Indicates whether to share or unshare the connection alias with the
2603
- # specified AWS account.
2677
+ # specified Amazon Web Services account.
2604
2678
  #
2605
2679
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2606
2680
  #
@@ -2692,22 +2766,20 @@ module Aws::WorkSpaces
2692
2766
  req.send_request(options)
2693
2767
  end
2694
2768
 
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.
2769
+ # Shares or unshares an image with one account in the same Amazon Web
2770
+ # Services Region by specifying whether that account has permission to
2771
+ # copy the image. If the copy image permission is granted, the image is
2772
+ # shared with that account. If the copy image permission is revoked, the
2773
+ # image is unshared with the account.
2700
2774
  #
2701
2775
  # After an image has been shared, the recipient account can copy the
2702
- # image to other AWS Regions as needed.
2776
+ # image to other Regions as needed.
2703
2777
  #
2704
- # <note markdown="1"> In the China (Ningxia) Region, you can copy images only within the
2778
+ # In the China (Ningxia) Region, you can copy images only within the
2705
2779
  # same Region.
2706
2780
  #
2707
- # In the AWS GovCloud (US-West) Region, to copy images to and from other
2708
- # AWS Regions, contact AWS Support.
2709
- #
2710
- # </note>
2781
+ # In Amazon Web Services GovCloud (US), to copy images to and from other
2782
+ # Regions, contact Amazon Web Services Support.
2711
2783
  #
2712
2784
  # For more information about sharing images, see [ Share or Unshare a
2713
2785
  # Custom WorkSpaces Image][1].
@@ -2715,10 +2787,11 @@ module Aws::WorkSpaces
2715
2787
  # <note markdown="1"> * To delete an image that has been shared, you must unshare the image
2716
2788
  # before you delete it.
2717
2789
  #
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.
2790
+ # * Sharing Bring Your Own License (BYOL) images across Amazon Web
2791
+ # Services accounts isn't supported at this time in Amazon Web
2792
+ # Services GovCloud (US). To share BYOL images across accounts in
2793
+ # Amazon Web Services GovCloud (US), contact Amazon Web Services
2794
+ # Support.
2722
2795
  #
2723
2796
  # </note>
2724
2797
  #
@@ -2734,10 +2807,11 @@ module Aws::WorkSpaces
2734
2807
  # after an image has been shared.
2735
2808
  #
2736
2809
  # @option params [required, String] :shared_account_id
2737
- # The identifier of the AWS account to share or unshare the image with.
2810
+ # The identifier of the Amazon Web Services account to share or unshare
2811
+ # the image with.
2738
2812
  #
2739
2813
  # Before sharing the image, confirm that you are sharing to the correct
2740
- # AWS account ID.
2814
+ # Amazon Web Services account ID.
2741
2815
  #
2742
2816
  # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2743
2817
  #
@@ -2771,7 +2845,7 @@ module Aws::WorkSpaces
2771
2845
  params: params,
2772
2846
  config: config)
2773
2847
  context[:gem_name] = 'aws-sdk-workspaces'
2774
- context[:gem_version] = '1.54.0'
2848
+ context[:gem_version] = '1.58.0'
2775
2849
  Seahorse::Client::Request.new(handlers, context)
2776
2850
  end
2777
2851
 
@@ -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.54.0'
51
+ GEM_VERSION = '1.58.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.54.0
4
+ version: 1.58.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-07-28 00:00:00.000000000 Z
11
+ date: 2021-10-18 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.118.0
22
+ version: 3.121.2
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.118.0
32
+ version: 3.121.2
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: aws-sigv4
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -76,7 +76,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
76
76
  requirements:
77
77
  - - ">="
78
78
  - !ruby/object:Gem::Version
79
- version: '0'
79
+ version: '2.3'
80
80
  required_rubygems_version: !ruby/object:Gem::Requirement
81
81
  requirements:
82
82
  - - ">="