aws-sdk-workspaces 1.75.0 → 1.77.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: f07886fee6e342bf7e999186a28140cc3632bd9503e764e0c47ce07a2b689c67
4
- data.tar.gz: de325d3070a6e817a2ba071cb1c78f42f14fbd253c612c607610cf2dfb18a1df
3
+ metadata.gz: 81401fc211ec787c1521119c1e2c02eaa9ce4320105f06080767542b059e8f60
4
+ data.tar.gz: d1d6c0d1ca92287eb5de292359d643d22467dc077b721ed4849af0a2043f7dbc
5
5
  SHA512:
6
- metadata.gz: afbbb254793b7a368517fa453c18a8cbd5398e715d4df0f7fbcf936ade1c537d6f3d90acffcc1d22fca5387947bfb65552c65daa378d224b50d7e621a42debd8
7
- data.tar.gz: 4e88cac0cd1bed7e0ffcd4b8231e852c13cb079c2e73452a7a19017fcc3fa9893cd12e4717f8ca304852713362955b2d5083d7eb2d1107d69847dd7851eaaeef
6
+ metadata.gz: 0cefb02b08095edabecdde2a4b77aabb1b1a78ea9f5a30e060382909d9f78b9767bddf92c552dd9b3568efcda8399d180432d9bf5e692c1b6ad12e1126be5fa4
7
+ data.tar.gz: be4e2601bde3b2bac8facff76649ada3733bfca73c0f4fb30ce3a1f4dd55459c1e7b2b8a0d1f8d157a501ea2716488be647510d9c8e8fa59ede3a9b962b56295
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.77.0 (2022-11-17)
5
+ ------------------
6
+
7
+ * Feature - The release introduces CreateStandbyWorkspaces, an API that allows you to create standby WorkSpaces associated with a primary WorkSpace in another Region. DescribeWorkspaces now includes related WorkSpaces properties. DescribeWorkspaceBundles and CreateWorkspaceBundle now return more bundle details.
8
+
9
+ 1.76.0 (2022-11-15)
10
+ ------------------
11
+
12
+ * Feature - This release introduces ModifyCertificateBasedAuthProperties, a new API that allows control of certificate-based auth properties associated with a WorkSpaces directory. The DescribeWorkspaceDirectories API will now additionally return certificate-based auth properties in its responses.
13
+
4
14
  1.75.0 (2022-11-07)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.75.0
1
+ 1.77.0
@@ -708,6 +708,64 @@ module Aws::WorkSpaces
708
708
  req.send_request(options)
709
709
  end
710
710
 
711
+ # Creates a Standby WorkSpace in a secondary region.
712
+ #
713
+ # @option params [required, String] :primary_region
714
+ # The Region of the primary WorkSpace.
715
+ #
716
+ # @option params [required, Array<Types::StandbyWorkspace>] :standby_workspaces
717
+ # Information about the Standby WorkSpace to be created.
718
+ #
719
+ # @return [Types::CreateStandbyWorkspacesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
720
+ #
721
+ # * {Types::CreateStandbyWorkspacesResult#failed_standby_requests #failed_standby_requests} => Array&lt;Types::FailedCreateStandbyWorkspacesRequest&gt;
722
+ # * {Types::CreateStandbyWorkspacesResult#pending_standby_requests #pending_standby_requests} => Array&lt;Types::PendingCreateStandbyWorkspacesRequest&gt;
723
+ #
724
+ # @example Request syntax with placeholder values
725
+ #
726
+ # resp = client.create_standby_workspaces({
727
+ # primary_region: "Region", # required
728
+ # standby_workspaces: [ # required
729
+ # {
730
+ # primary_workspace_id: "WorkspaceId", # required
731
+ # volume_encryption_key: "VolumeEncryptionKey",
732
+ # directory_id: "DirectoryId", # required
733
+ # tags: [
734
+ # {
735
+ # key: "TagKey", # required
736
+ # value: "TagValue",
737
+ # },
738
+ # ],
739
+ # },
740
+ # ],
741
+ # })
742
+ #
743
+ # @example Response structure
744
+ #
745
+ # resp.failed_standby_requests #=> Array
746
+ # resp.failed_standby_requests[0].standby_workspace_request.primary_workspace_id #=> String
747
+ # resp.failed_standby_requests[0].standby_workspace_request.volume_encryption_key #=> String
748
+ # resp.failed_standby_requests[0].standby_workspace_request.directory_id #=> String
749
+ # resp.failed_standby_requests[0].standby_workspace_request.tags #=> Array
750
+ # resp.failed_standby_requests[0].standby_workspace_request.tags[0].key #=> String
751
+ # resp.failed_standby_requests[0].standby_workspace_request.tags[0].value #=> String
752
+ # resp.failed_standby_requests[0].error_code #=> String
753
+ # resp.failed_standby_requests[0].error_message #=> String
754
+ # resp.pending_standby_requests #=> Array
755
+ # resp.pending_standby_requests[0].user_name #=> String
756
+ # resp.pending_standby_requests[0].directory_id #=> String
757
+ # resp.pending_standby_requests[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "RESTORING", "MAINTENANCE", "ADMIN_MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "UPDATING", "STOPPING", "STOPPED", "ERROR"
758
+ # resp.pending_standby_requests[0].workspace_id #=> String
759
+ #
760
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateStandbyWorkspaces AWS API Documentation
761
+ #
762
+ # @overload create_standby_workspaces(params = {})
763
+ # @param [Hash] params ({})
764
+ def create_standby_workspaces(params = {}, options = {})
765
+ req = build_request(:create_standby_workspaces, params)
766
+ req.send_request(options)
767
+ end
768
+
711
769
  # Creates the specified tags for the specified WorkSpaces resource.
712
770
  #
713
771
  # @option params [required, String] :resource_id
@@ -888,6 +946,8 @@ module Aws::WorkSpaces
888
946
  # resp.workspace_bundle.compute_type.name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS", "POWERPRO", "GRAPHICSPRO", "GRAPHICS_G4DN", "GRAPHICSPRO_G4DN"
889
947
  # resp.workspace_bundle.last_updated_time #=> Time
890
948
  # resp.workspace_bundle.creation_time #=> Time
949
+ # resp.workspace_bundle.state #=> String, one of "AVAILABLE", "PENDING", "ERROR"
950
+ # resp.workspace_bundle.bundle_type #=> String, one of "REGULAR", "STANDBY"
891
951
  #
892
952
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaceBundle AWS API Documentation
893
953
  #
@@ -1056,6 +1116,11 @@ module Aws::WorkSpaces
1056
1116
  # resp.pending_requests[0].modification_states #=> Array
1057
1117
  # resp.pending_requests[0].modification_states[0].resource #=> String, one of "ROOT_VOLUME", "USER_VOLUME", "COMPUTE_TYPE"
1058
1118
  # resp.pending_requests[0].modification_states[0].state #=> String, one of "UPDATE_INITIATED", "UPDATE_IN_PROGRESS"
1119
+ # resp.pending_requests[0].related_workspaces #=> Array
1120
+ # resp.pending_requests[0].related_workspaces[0].workspace_id #=> String
1121
+ # resp.pending_requests[0].related_workspaces[0].region #=> String
1122
+ # resp.pending_requests[0].related_workspaces[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "RESTORING", "MAINTENANCE", "ADMIN_MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "UPDATING", "STOPPING", "STOPPED", "ERROR"
1123
+ # resp.pending_requests[0].related_workspaces[0].type #=> String, one of "PRIMARY", "STANDBY"
1059
1124
  #
1060
1125
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateWorkspaces AWS API Documentation
1061
1126
  #
@@ -1772,6 +1837,8 @@ module Aws::WorkSpaces
1772
1837
  # resp.bundles[0].compute_type.name #=> String, one of "VALUE", "STANDARD", "PERFORMANCE", "POWER", "GRAPHICS", "POWERPRO", "GRAPHICSPRO", "GRAPHICS_G4DN", "GRAPHICSPRO_G4DN"
1773
1838
  # resp.bundles[0].last_updated_time #=> Time
1774
1839
  # resp.bundles[0].creation_time #=> Time
1840
+ # resp.bundles[0].state #=> String, one of "AVAILABLE", "PENDING", "ERROR"
1841
+ # resp.bundles[0].bundle_type #=> String, one of "REGULAR", "STANDBY"
1775
1842
  # resp.next_token #=> String
1776
1843
  #
1777
1844
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceBundles AWS API Documentation
@@ -1853,6 +1920,8 @@ module Aws::WorkSpaces
1853
1920
  # resp.directories[0].saml_properties.status #=> String, one of "DISABLED", "ENABLED", "ENABLED_WITH_DIRECTORY_LOGIN_FALLBACK"
1854
1921
  # resp.directories[0].saml_properties.user_access_url #=> String
1855
1922
  # resp.directories[0].saml_properties.relay_state_parameter_name #=> String
1923
+ # resp.directories[0].certificate_based_auth_properties.status #=> String, one of "DISABLED", "ENABLED"
1924
+ # resp.directories[0].certificate_based_auth_properties.certificate_authority_arn #=> String
1856
1925
  # resp.next_token #=> String
1857
1926
  #
1858
1927
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectories AWS API Documentation
@@ -2074,6 +2143,11 @@ module Aws::WorkSpaces
2074
2143
  # resp.workspaces[0].modification_states #=> Array
2075
2144
  # resp.workspaces[0].modification_states[0].resource #=> String, one of "ROOT_VOLUME", "USER_VOLUME", "COMPUTE_TYPE"
2076
2145
  # resp.workspaces[0].modification_states[0].state #=> String, one of "UPDATE_INITIATED", "UPDATE_IN_PROGRESS"
2146
+ # resp.workspaces[0].related_workspaces #=> Array
2147
+ # resp.workspaces[0].related_workspaces[0].workspace_id #=> String
2148
+ # resp.workspaces[0].related_workspaces[0].region #=> String
2149
+ # resp.workspaces[0].related_workspaces[0].state #=> String, one of "PENDING", "AVAILABLE", "IMPAIRED", "UNHEALTHY", "REBOOTING", "STARTING", "REBUILDING", "RESTORING", "MAINTENANCE", "ADMIN_MAINTENANCE", "TERMINATING", "TERMINATED", "SUSPENDED", "UPDATING", "STOPPING", "STOPPED", "ERROR"
2150
+ # resp.workspaces[0].related_workspaces[0].type #=> String, one of "PRIMARY", "STANDBY"
2077
2151
  # resp.next_token #=> String
2078
2152
  #
2079
2153
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaces AWS API Documentation
@@ -2584,6 +2658,41 @@ module Aws::WorkSpaces
2584
2658
  req.send_request(options)
2585
2659
  end
2586
2660
 
2661
+ # Modifies the properties of the certificate-based authentication you
2662
+ # want to use with your WorkSpaces.
2663
+ #
2664
+ # @option params [required, String] :resource_id
2665
+ # The resource identifiers, in the form of directory IDs.
2666
+ #
2667
+ # @option params [Types::CertificateBasedAuthProperties] :certificate_based_auth_properties
2668
+ # The properties of the certificate-based authentication.
2669
+ #
2670
+ # @option params [Array<String>] :properties_to_delete
2671
+ # The properties of the certificate-based authentication you want to
2672
+ # delete.
2673
+ #
2674
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2675
+ #
2676
+ # @example Request syntax with placeholder values
2677
+ #
2678
+ # resp = client.modify_certificate_based_auth_properties({
2679
+ # resource_id: "DirectoryId", # required
2680
+ # certificate_based_auth_properties: {
2681
+ # status: "DISABLED", # accepts DISABLED, ENABLED
2682
+ # certificate_authority_arn: "CertificateAuthorityArn",
2683
+ # },
2684
+ # properties_to_delete: ["CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN"], # accepts CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN
2685
+ # })
2686
+ #
2687
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyCertificateBasedAuthProperties AWS API Documentation
2688
+ #
2689
+ # @overload modify_certificate_based_auth_properties(params = {})
2690
+ # @param [Hash] params ({})
2691
+ def modify_certificate_based_auth_properties(params = {}, options = {})
2692
+ req = build_request(:modify_certificate_based_auth_properties, params)
2693
+ req.send_request(options)
2694
+ end
2695
+
2587
2696
  # Modifies the properties of the specified Amazon WorkSpaces clients.
2588
2697
  #
2589
2698
  # @option params [required, String] :resource_id
@@ -3462,7 +3571,7 @@ module Aws::WorkSpaces
3462
3571
  params: params,
3463
3572
  config: config)
3464
3573
  context[:gem_name] = 'aws-sdk-workspaces'
3465
- context[:gem_version] = '1.75.0'
3574
+ context[:gem_version] = '1.77.0'
3466
3575
  Seahorse::Client::Request.new(handlers, context)
3467
3576
  end
3468
3577
 
@@ -37,6 +37,10 @@ module Aws::WorkSpaces
37
37
  BundleIdList = Shapes::ListShape.new(name: 'BundleIdList')
38
38
  BundleList = Shapes::ListShape.new(name: 'BundleList')
39
39
  BundleOwner = Shapes::StringShape.new(name: 'BundleOwner')
40
+ BundleType = Shapes::StringShape.new(name: 'BundleType')
41
+ CertificateAuthorityArn = Shapes::StringShape.new(name: 'CertificateAuthorityArn')
42
+ CertificateBasedAuthProperties = Shapes::StructureShape.new(name: 'CertificateBasedAuthProperties')
43
+ CertificateBasedAuthStatusEnum = Shapes::StringShape.new(name: 'CertificateBasedAuthStatusEnum')
40
44
  ClientDeviceType = Shapes::StringShape.new(name: 'ClientDeviceType')
41
45
  ClientDeviceTypeList = Shapes::ListShape.new(name: 'ClientDeviceTypeList')
42
46
  ClientEmail = Shapes::StringShape.new(name: 'ClientEmail')
@@ -71,6 +75,8 @@ module Aws::WorkSpaces
71
75
  CreateConnectionAliasResult = Shapes::StructureShape.new(name: 'CreateConnectionAliasResult')
72
76
  CreateIpGroupRequest = Shapes::StructureShape.new(name: 'CreateIpGroupRequest')
73
77
  CreateIpGroupResult = Shapes::StructureShape.new(name: 'CreateIpGroupResult')
78
+ CreateStandbyWorkspacesRequest = Shapes::StructureShape.new(name: 'CreateStandbyWorkspacesRequest')
79
+ CreateStandbyWorkspacesResult = Shapes::StructureShape.new(name: 'CreateStandbyWorkspacesResult')
74
80
  CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
75
81
  CreateTagsResult = Shapes::StructureShape.new(name: 'CreateTagsResult')
76
82
  CreateUpdatedWorkspaceImageRequest = Shapes::StructureShape.new(name: 'CreateUpdatedWorkspaceImageRequest')
@@ -91,6 +97,8 @@ module Aws::WorkSpaces
91
97
  DefaultLogo = Shapes::BlobShape.new(name: 'DefaultLogo')
92
98
  DefaultOu = Shapes::StringShape.new(name: 'DefaultOu')
93
99
  DefaultWorkspaceCreationProperties = Shapes::StructureShape.new(name: 'DefaultWorkspaceCreationProperties')
100
+ DeletableCertificateBasedAuthPropertiesList = Shapes::ListShape.new(name: 'DeletableCertificateBasedAuthPropertiesList')
101
+ DeletableCertificateBasedAuthProperty = Shapes::StringShape.new(name: 'DeletableCertificateBasedAuthProperty')
94
102
  DeletableSamlPropertiesList = Shapes::ListShape.new(name: 'DeletableSamlPropertiesList')
95
103
  DeletableSamlProperty = Shapes::StringShape.new(name: 'DeletableSamlProperty')
96
104
  DeleteClientBrandingRequest = Shapes::StructureShape.new(name: 'DeleteClientBrandingRequest')
@@ -155,6 +163,8 @@ module Aws::WorkSpaces
155
163
  ErrorType = Shapes::StringShape.new(name: 'ErrorType')
156
164
  ExceptionErrorCode = Shapes::StringShape.new(name: 'ExceptionErrorCode')
157
165
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
166
+ FailedCreateStandbyWorkspacesRequest = Shapes::StructureShape.new(name: 'FailedCreateStandbyWorkspacesRequest')
167
+ FailedCreateStandbyWorkspacesRequestList = Shapes::ListShape.new(name: 'FailedCreateStandbyWorkspacesRequestList')
158
168
  FailedCreateWorkspaceRequest = Shapes::StructureShape.new(name: 'FailedCreateWorkspaceRequest')
159
169
  FailedCreateWorkspaceRequests = Shapes::ListShape.new(name: 'FailedCreateWorkspaceRequests')
160
170
  FailedRebootWorkspaceRequests = Shapes::ListShape.new(name: 'FailedRebootWorkspaceRequests')
@@ -202,6 +212,8 @@ module Aws::WorkSpaces
202
212
  ModificationStateList = Shapes::ListShape.new(name: 'ModificationStateList')
203
213
  ModifyAccountRequest = Shapes::StructureShape.new(name: 'ModifyAccountRequest')
204
214
  ModifyAccountResult = Shapes::StructureShape.new(name: 'ModifyAccountResult')
215
+ ModifyCertificateBasedAuthPropertiesRequest = Shapes::StructureShape.new(name: 'ModifyCertificateBasedAuthPropertiesRequest')
216
+ ModifyCertificateBasedAuthPropertiesResult = Shapes::StructureShape.new(name: 'ModifyCertificateBasedAuthPropertiesResult')
205
217
  ModifyClientPropertiesRequest = Shapes::StructureShape.new(name: 'ModifyClientPropertiesRequest')
206
218
  ModifyClientPropertiesResult = Shapes::StructureShape.new(name: 'ModifyClientPropertiesResult')
207
219
  ModifySamlPropertiesRequest = Shapes::StructureShape.new(name: 'ModifySamlPropertiesRequest')
@@ -222,6 +234,8 @@ module Aws::WorkSpaces
222
234
  OperationInProgressException = Shapes::StructureShape.new(name: 'OperationInProgressException')
223
235
  OperationNotSupportedException = Shapes::StructureShape.new(name: 'OperationNotSupportedException')
224
236
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
237
+ PendingCreateStandbyWorkspacesRequest = Shapes::StructureShape.new(name: 'PendingCreateStandbyWorkspacesRequest')
238
+ PendingCreateStandbyWorkspacesRequestList = Shapes::ListShape.new(name: 'PendingCreateStandbyWorkspacesRequestList')
225
239
  Protocol = Shapes::StringShape.new(name: 'Protocol')
226
240
  ProtocolList = Shapes::ListShape.new(name: 'ProtocolList')
227
241
  RebootRequest = Shapes::StructureShape.new(name: 'RebootRequest')
@@ -237,6 +251,8 @@ module Aws::WorkSpaces
237
251
  RegisterWorkspaceDirectoryRequest = Shapes::StructureShape.new(name: 'RegisterWorkspaceDirectoryRequest')
238
252
  RegisterWorkspaceDirectoryResult = Shapes::StructureShape.new(name: 'RegisterWorkspaceDirectoryResult')
239
253
  RegistrationCode = Shapes::StringShape.new(name: 'RegistrationCode')
254
+ RelatedWorkspaceProperties = Shapes::StructureShape.new(name: 'RelatedWorkspaceProperties')
255
+ RelatedWorkspaces = Shapes::ListShape.new(name: 'RelatedWorkspaces')
240
256
  ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
241
257
  ResourceAssociatedException = Shapes::StructureShape.new(name: 'ResourceAssociatedException')
242
258
  ResourceCreationFailedException = Shapes::StructureShape.new(name: 'ResourceCreationFailedException')
@@ -259,6 +275,9 @@ module Aws::WorkSpaces
259
275
  SelfservicePermissions = Shapes::StructureShape.new(name: 'SelfservicePermissions')
260
276
  Snapshot = Shapes::StructureShape.new(name: 'Snapshot')
261
277
  SnapshotList = Shapes::ListShape.new(name: 'SnapshotList')
278
+ StandbyWorkspace = Shapes::StructureShape.new(name: 'StandbyWorkspace')
279
+ StandbyWorkspaceRelationshipType = Shapes::StringShape.new(name: 'StandbyWorkspaceRelationshipType')
280
+ StandbyWorkspacesList = Shapes::ListShape.new(name: 'StandbyWorkspacesList')
262
281
  StartRequest = Shapes::StructureShape.new(name: 'StartRequest')
263
282
  StartWorkspaceRequests = Shapes::ListShape.new(name: 'StartWorkspaceRequests')
264
283
  StartWorkspacesRequest = Shapes::StructureShape.new(name: 'StartWorkspacesRequest')
@@ -304,6 +323,7 @@ module Aws::WorkSpaces
304
323
  WorkspaceBundle = Shapes::StructureShape.new(name: 'WorkspaceBundle')
305
324
  WorkspaceBundleDescription = Shapes::StringShape.new(name: 'WorkspaceBundleDescription')
306
325
  WorkspaceBundleName = Shapes::StringShape.new(name: 'WorkspaceBundleName')
326
+ WorkspaceBundleState = Shapes::StringShape.new(name: 'WorkspaceBundleState')
307
327
  WorkspaceConnectionStatus = Shapes::StructureShape.new(name: 'WorkspaceConnectionStatus')
308
328
  WorkspaceConnectionStatusList = Shapes::ListShape.new(name: 'WorkspaceConnectionStatusList')
309
329
  WorkspaceCreationProperties = Shapes::StructureShape.new(name: 'WorkspaceCreationProperties')
@@ -370,6 +390,10 @@ module Aws::WorkSpaces
370
390
 
371
391
  BundleList.member = Shapes::ShapeRef.new(shape: WorkspaceBundle)
372
392
 
393
+ CertificateBasedAuthProperties.add_member(:status, Shapes::ShapeRef.new(shape: CertificateBasedAuthStatusEnum, location_name: "Status"))
394
+ CertificateBasedAuthProperties.add_member(:certificate_authority_arn, Shapes::ShapeRef.new(shape: CertificateAuthorityArn, location_name: "CertificateAuthorityArn"))
395
+ CertificateBasedAuthProperties.struct_class = Types::CertificateBasedAuthProperties
396
+
373
397
  ClientDeviceTypeList.member = Shapes::ShapeRef.new(shape: ClientDeviceType)
374
398
 
375
399
  ClientProperties.add_member(:reconnect_enabled, Shapes::ShapeRef.new(shape: ReconnectEnum, location_name: "ReconnectEnabled"))
@@ -452,6 +476,14 @@ module Aws::WorkSpaces
452
476
  CreateIpGroupResult.add_member(:group_id, Shapes::ShapeRef.new(shape: IpGroupId, location_name: "GroupId"))
453
477
  CreateIpGroupResult.struct_class = Types::CreateIpGroupResult
454
478
 
479
+ CreateStandbyWorkspacesRequest.add_member(:primary_region, Shapes::ShapeRef.new(shape: Region, required: true, location_name: "PrimaryRegion"))
480
+ CreateStandbyWorkspacesRequest.add_member(:standby_workspaces, Shapes::ShapeRef.new(shape: StandbyWorkspacesList, required: true, location_name: "StandbyWorkspaces"))
481
+ CreateStandbyWorkspacesRequest.struct_class = Types::CreateStandbyWorkspacesRequest
482
+
483
+ CreateStandbyWorkspacesResult.add_member(:failed_standby_requests, Shapes::ShapeRef.new(shape: FailedCreateStandbyWorkspacesRequestList, location_name: "FailedStandbyRequests"))
484
+ CreateStandbyWorkspacesResult.add_member(:pending_standby_requests, Shapes::ShapeRef.new(shape: PendingCreateStandbyWorkspacesRequestList, location_name: "PendingStandbyRequests"))
485
+ CreateStandbyWorkspacesResult.struct_class = Types::CreateStandbyWorkspacesResult
486
+
455
487
  CreateTagsRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
456
488
  CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, required: true, location_name: "Tags"))
457
489
  CreateTagsRequest.struct_class = Types::CreateTagsRequest
@@ -526,6 +558,8 @@ module Aws::WorkSpaces
526
558
  DefaultWorkspaceCreationProperties.add_member(:enable_maintenance_mode, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableMaintenanceMode"))
527
559
  DefaultWorkspaceCreationProperties.struct_class = Types::DefaultWorkspaceCreationProperties
528
560
 
561
+ DeletableCertificateBasedAuthPropertiesList.member = Shapes::ShapeRef.new(shape: DeletableCertificateBasedAuthProperty)
562
+
529
563
  DeletableSamlPropertiesList.member = Shapes::ShapeRef.new(shape: DeletableSamlProperty)
530
564
 
531
565
  DeleteClientBrandingRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
@@ -727,6 +761,13 @@ module Aws::WorkSpaces
727
761
 
728
762
  DnsIpAddresses.member = Shapes::ShapeRef.new(shape: IpAddress)
729
763
 
764
+ FailedCreateStandbyWorkspacesRequest.add_member(:standby_workspace_request, Shapes::ShapeRef.new(shape: StandbyWorkspace, location_name: "StandbyWorkspaceRequest"))
765
+ FailedCreateStandbyWorkspacesRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: WorkspaceErrorCode, location_name: "ErrorCode"))
766
+ FailedCreateStandbyWorkspacesRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
767
+ FailedCreateStandbyWorkspacesRequest.struct_class = Types::FailedCreateStandbyWorkspacesRequest
768
+
769
+ FailedCreateStandbyWorkspacesRequestList.member = Shapes::ShapeRef.new(shape: FailedCreateStandbyWorkspacesRequest)
770
+
730
771
  FailedCreateWorkspaceRequest.add_member(:workspace_request, Shapes::ShapeRef.new(shape: WorkspaceRequest, location_name: "WorkspaceRequest"))
731
772
  FailedCreateWorkspaceRequest.add_member(:error_code, Shapes::ShapeRef.new(shape: ErrorType, location_name: "ErrorCode"))
732
773
  FailedCreateWorkspaceRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
@@ -848,6 +889,13 @@ module Aws::WorkSpaces
848
889
 
849
890
  ModifyAccountResult.struct_class = Types::ModifyAccountResult
850
891
 
892
+ ModifyCertificateBasedAuthPropertiesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
893
+ ModifyCertificateBasedAuthPropertiesRequest.add_member(:certificate_based_auth_properties, Shapes::ShapeRef.new(shape: CertificateBasedAuthProperties, location_name: "CertificateBasedAuthProperties"))
894
+ ModifyCertificateBasedAuthPropertiesRequest.add_member(:properties_to_delete, Shapes::ShapeRef.new(shape: DeletableCertificateBasedAuthPropertiesList, location_name: "PropertiesToDelete"))
895
+ ModifyCertificateBasedAuthPropertiesRequest.struct_class = Types::ModifyCertificateBasedAuthPropertiesRequest
896
+
897
+ ModifyCertificateBasedAuthPropertiesResult.struct_class = Types::ModifyCertificateBasedAuthPropertiesResult
898
+
851
899
  ModifyClientPropertiesRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: NonEmptyString, required: true, location_name: "ResourceId"))
852
900
  ModifyClientPropertiesRequest.add_member(:client_properties, Shapes::ShapeRef.new(shape: ClientProperties, required: true, location_name: "ClientProperties"))
853
901
  ModifyClientPropertiesRequest.struct_class = Types::ModifyClientPropertiesRequest
@@ -901,6 +949,14 @@ module Aws::WorkSpaces
901
949
  OperationNotSupportedException.add_member(:reason, Shapes::ShapeRef.new(shape: ExceptionErrorCode, location_name: "reason"))
902
950
  OperationNotSupportedException.struct_class = Types::OperationNotSupportedException
903
951
 
952
+ PendingCreateStandbyWorkspacesRequest.add_member(:user_name, Shapes::ShapeRef.new(shape: UserName, location_name: "UserName"))
953
+ PendingCreateStandbyWorkspacesRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
954
+ PendingCreateStandbyWorkspacesRequest.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceState, location_name: "State"))
955
+ PendingCreateStandbyWorkspacesRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
956
+ PendingCreateStandbyWorkspacesRequest.struct_class = Types::PendingCreateStandbyWorkspacesRequest
957
+
958
+ PendingCreateStandbyWorkspacesRequestList.member = Shapes::ShapeRef.new(shape: PendingCreateStandbyWorkspacesRequest)
959
+
904
960
  ProtocolList.member = Shapes::ShapeRef.new(shape: Protocol)
905
961
 
906
962
  RebootRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
@@ -935,6 +991,14 @@ module Aws::WorkSpaces
935
991
 
936
992
  RegisterWorkspaceDirectoryResult.struct_class = Types::RegisterWorkspaceDirectoryResult
937
993
 
994
+ RelatedWorkspaceProperties.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
995
+ RelatedWorkspaceProperties.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
996
+ RelatedWorkspaceProperties.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceState, location_name: "State"))
997
+ RelatedWorkspaceProperties.add_member(:type, Shapes::ShapeRef.new(shape: StandbyWorkspaceRelationshipType, location_name: "Type"))
998
+ RelatedWorkspaceProperties.struct_class = Types::RelatedWorkspaceProperties
999
+
1000
+ RelatedWorkspaces.member = Shapes::ShapeRef.new(shape: RelatedWorkspaceProperties)
1001
+
938
1002
  ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
939
1003
  ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
940
1004
 
@@ -988,6 +1052,14 @@ module Aws::WorkSpaces
988
1052
 
989
1053
  SnapshotList.member = Shapes::ShapeRef.new(shape: Snapshot)
990
1054
 
1055
+ StandbyWorkspace.add_member(:primary_workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "PrimaryWorkspaceId"))
1056
+ StandbyWorkspace.add_member(:volume_encryption_key, Shapes::ShapeRef.new(shape: VolumeEncryptionKey, location_name: "VolumeEncryptionKey"))
1057
+ StandbyWorkspace.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
1058
+ StandbyWorkspace.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
1059
+ StandbyWorkspace.struct_class = Types::StandbyWorkspace
1060
+
1061
+ StandbyWorkspacesList.member = Shapes::ShapeRef.new(shape: StandbyWorkspace)
1062
+
991
1063
  StartRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
992
1064
  StartRequest.struct_class = Types::StartRequest
993
1065
 
@@ -1092,6 +1164,7 @@ module Aws::WorkSpaces
1092
1164
  Workspace.add_member(:root_volume_encryption_enabled, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "RootVolumeEncryptionEnabled"))
1093
1165
  Workspace.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, location_name: "WorkspaceProperties"))
1094
1166
  Workspace.add_member(:modification_states, Shapes::ShapeRef.new(shape: ModificationStateList, location_name: "ModificationStates"))
1167
+ Workspace.add_member(:related_workspaces, Shapes::ShapeRef.new(shape: RelatedWorkspaces, location_name: "RelatedWorkspaces"))
1095
1168
  Workspace.struct_class = Types::Workspace
1096
1169
 
1097
1170
  WorkspaceAccessProperties.add_member(:device_type_windows, Shapes::ShapeRef.new(shape: AccessPropertyValue, location_name: "DeviceTypeWindows"))
@@ -1114,6 +1187,8 @@ module Aws::WorkSpaces
1114
1187
  WorkspaceBundle.add_member(:compute_type, Shapes::ShapeRef.new(shape: ComputeType, location_name: "ComputeType"))
1115
1188
  WorkspaceBundle.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdatedTime"))
1116
1189
  WorkspaceBundle.add_member(:creation_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "CreationTime"))
1190
+ WorkspaceBundle.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceBundleState, location_name: "State"))
1191
+ WorkspaceBundle.add_member(:bundle_type, Shapes::ShapeRef.new(shape: BundleType, location_name: "BundleType"))
1117
1192
  WorkspaceBundle.struct_class = Types::WorkspaceBundle
1118
1193
 
1119
1194
  WorkspaceConnectionStatus.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
@@ -1149,6 +1224,7 @@ module Aws::WorkSpaces
1149
1224
  WorkspaceDirectory.add_member(:tenancy, Shapes::ShapeRef.new(shape: Tenancy, location_name: "Tenancy"))
1150
1225
  WorkspaceDirectory.add_member(:selfservice_permissions, Shapes::ShapeRef.new(shape: SelfservicePermissions, location_name: "SelfservicePermissions"))
1151
1226
  WorkspaceDirectory.add_member(:saml_properties, Shapes::ShapeRef.new(shape: SamlProperties, location_name: "SamlProperties"))
1227
+ WorkspaceDirectory.add_member(:certificate_based_auth_properties, Shapes::ShapeRef.new(shape: CertificateBasedAuthProperties, location_name: "CertificateBasedAuthProperties"))
1152
1228
  WorkspaceDirectory.struct_class = Types::WorkspaceDirectory
1153
1229
 
1154
1230
  WorkspaceIdList.member = Shapes::ShapeRef.new(shape: WorkspaceId)
@@ -1317,6 +1393,19 @@ module Aws::WorkSpaces
1317
1393
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1318
1394
  end)
1319
1395
 
1396
+ api.add_operation(:create_standby_workspaces, Seahorse::Model::Operation.new.tap do |o|
1397
+ o.name = "CreateStandbyWorkspaces"
1398
+ o.http_method = "POST"
1399
+ o.http_request_uri = "/"
1400
+ o.input = Shapes::ShapeRef.new(shape: CreateStandbyWorkspacesRequest)
1401
+ o.output = Shapes::ShapeRef.new(shape: CreateStandbyWorkspacesResult)
1402
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1403
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1404
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1405
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1406
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
1407
+ end)
1408
+
1320
1409
  api.add_operation(:create_tags, Seahorse::Model::Operation.new.tap do |o|
1321
1410
  o.name = "CreateTags"
1322
1411
  o.http_method = "POST"
@@ -1741,6 +1830,18 @@ module Aws::WorkSpaces
1741
1830
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1742
1831
  end)
1743
1832
 
1833
+ api.add_operation(:modify_certificate_based_auth_properties, Seahorse::Model::Operation.new.tap do |o|
1834
+ o.name = "ModifyCertificateBasedAuthProperties"
1835
+ o.http_method = "POST"
1836
+ o.http_request_uri = "/"
1837
+ o.input = Shapes::ShapeRef.new(shape: ModifyCertificateBasedAuthPropertiesRequest)
1838
+ o.output = Shapes::ShapeRef.new(shape: ModifyCertificateBasedAuthPropertiesResult)
1839
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1840
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1841
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1842
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1843
+ end)
1844
+
1744
1845
  api.add_operation(:modify_client_properties, Seahorse::Model::Operation.new.tap do |o|
1745
1846
  o.name = "ModifyClientProperties"
1746
1847
  o.http_method = "POST"
@@ -1821,6 +1922,7 @@ module Aws::WorkSpaces
1821
1922
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1822
1923
  o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
1823
1924
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1925
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1824
1926
  end)
1825
1927
 
1826
1928
  api.add_operation(:reboot_workspaces, Seahorse::Model::Operation.new.tap do |o|
@@ -1829,6 +1931,7 @@ module Aws::WorkSpaces
1829
1931
  o.http_request_uri = "/"
1830
1932
  o.input = Shapes::ShapeRef.new(shape: RebootWorkspacesRequest)
1831
1933
  o.output = Shapes::ShapeRef.new(shape: RebootWorkspacesResult)
1934
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1832
1935
  end)
1833
1936
 
1834
1937
  api.add_operation(:rebuild_workspaces, Seahorse::Model::Operation.new.tap do |o|
@@ -1837,6 +1940,7 @@ module Aws::WorkSpaces
1837
1940
  o.http_request_uri = "/"
1838
1941
  o.input = Shapes::ShapeRef.new(shape: RebuildWorkspacesRequest)
1839
1942
  o.output = Shapes::ShapeRef.new(shape: RebuildWorkspacesResult)
1943
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1840
1944
  end)
1841
1945
 
1842
1946
  api.add_operation(:register_workspace_directory, Seahorse::Model::Operation.new.tap do |o|
@@ -1864,6 +1968,7 @@ module Aws::WorkSpaces
1864
1968
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1865
1969
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1866
1970
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1971
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1867
1972
  end)
1868
1973
 
1869
1974
  api.add_operation(:revoke_ip_rules, Seahorse::Model::Operation.new.tap do |o|
@@ -1951,6 +2056,7 @@ module Aws::WorkSpaces
1951
2056
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
1952
2057
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1953
2058
  o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
2059
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
1954
2060
  end)
1955
2061
 
1956
2062
  api.add_operation(:update_workspace_image_permission, Seahorse::Model::Operation.new.tap do |o|
@@ -109,6 +109,20 @@ module Aws::WorkSpaces
109
109
  end
110
110
  end
111
111
 
112
+ class CreateStandbyWorkspaces
113
+ def self.build(context)
114
+ unless context.config.regional_endpoint
115
+ endpoint = context.config.endpoint.to_s
116
+ end
117
+ Aws::WorkSpaces::EndpointParameters.new(
118
+ region: context.config.region,
119
+ use_dual_stack: context.config.use_dualstack_endpoint,
120
+ use_fips: context.config.use_fips_endpoint,
121
+ endpoint: endpoint,
122
+ )
123
+ end
124
+ end
125
+
112
126
  class CreateTags
113
127
  def self.build(context)
114
128
  unless context.config.regional_endpoint
@@ -613,6 +627,20 @@ module Aws::WorkSpaces
613
627
  end
614
628
  end
615
629
 
630
+ class ModifyCertificateBasedAuthProperties
631
+ def self.build(context)
632
+ unless context.config.regional_endpoint
633
+ endpoint = context.config.endpoint.to_s
634
+ end
635
+ Aws::WorkSpaces::EndpointParameters.new(
636
+ region: context.config.region,
637
+ use_dual_stack: context.config.use_dualstack_endpoint,
638
+ use_fips: context.config.use_fips_endpoint,
639
+ endpoint: endpoint,
640
+ )
641
+ end
642
+ end
643
+
616
644
  class ModifyClientProperties
617
645
  def self.build(context)
618
646
  unless context.config.regional_endpoint
@@ -70,6 +70,8 @@ module Aws::WorkSpaces
70
70
  Aws::WorkSpaces::Endpoints::CreateConnectionAlias.build(context)
71
71
  when :create_ip_group
72
72
  Aws::WorkSpaces::Endpoints::CreateIpGroup.build(context)
73
+ when :create_standby_workspaces
74
+ Aws::WorkSpaces::Endpoints::CreateStandbyWorkspaces.build(context)
73
75
  when :create_tags
74
76
  Aws::WorkSpaces::Endpoints::CreateTags.build(context)
75
77
  when :create_updated_workspace_image
@@ -142,6 +144,8 @@ module Aws::WorkSpaces
142
144
  Aws::WorkSpaces::Endpoints::MigrateWorkspace.build(context)
143
145
  when :modify_account
144
146
  Aws::WorkSpaces::Endpoints::ModifyAccount.build(context)
147
+ when :modify_certificate_based_auth_properties
148
+ Aws::WorkSpaces::Endpoints::ModifyCertificateBasedAuthProperties.build(context)
145
149
  when :modify_client_properties
146
150
  Aws::WorkSpaces::Endpoints::ModifyClientProperties.build(context)
147
151
  when :modify_saml_properties
@@ -170,6 +170,35 @@ module Aws::WorkSpaces
170
170
  #
171
171
  class AuthorizeIpRulesResult < Aws::EmptyStructure; end
172
172
 
173
+ # Describes the properties of the certificate-based authentication you
174
+ # want to use with your WorkSpaces.
175
+ #
176
+ # @note When making an API call, you may pass CertificateBasedAuthProperties
177
+ # data as a hash:
178
+ #
179
+ # {
180
+ # status: "DISABLED", # accepts DISABLED, ENABLED
181
+ # certificate_authority_arn: "CertificateAuthorityArn",
182
+ # }
183
+ #
184
+ # @!attribute [rw] status
185
+ # The status of the certificate-based authentication properties.
186
+ # @return [String]
187
+ #
188
+ # @!attribute [rw] certificate_authority_arn
189
+ # The Amazon Resource Name (ARN) of the Amazon Web Services
190
+ # Certificate Manager Private CA resource.
191
+ # @return [String]
192
+ #
193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CertificateBasedAuthProperties AWS API Documentation
194
+ #
195
+ class CertificateBasedAuthProperties < Struct.new(
196
+ :status,
197
+ :certificate_authority_arn)
198
+ SENSITIVE = []
199
+ include Aws::Structure
200
+ end
201
+
173
202
  # Describes an Amazon WorkSpaces client.
174
203
  #
175
204
  # @note When making an API call, you may pass ClientProperties
@@ -599,6 +628,60 @@ module Aws::WorkSpaces
599
628
  include Aws::Structure
600
629
  end
601
630
 
631
+ # @note When making an API call, you may pass CreateStandbyWorkspacesRequest
632
+ # data as a hash:
633
+ #
634
+ # {
635
+ # primary_region: "Region", # required
636
+ # standby_workspaces: [ # required
637
+ # {
638
+ # primary_workspace_id: "WorkspaceId", # required
639
+ # volume_encryption_key: "VolumeEncryptionKey",
640
+ # directory_id: "DirectoryId", # required
641
+ # tags: [
642
+ # {
643
+ # key: "TagKey", # required
644
+ # value: "TagValue",
645
+ # },
646
+ # ],
647
+ # },
648
+ # ],
649
+ # }
650
+ #
651
+ # @!attribute [rw] primary_region
652
+ # The Region of the primary WorkSpace.
653
+ # @return [String]
654
+ #
655
+ # @!attribute [rw] standby_workspaces
656
+ # Information about the Standby WorkSpace to be created.
657
+ # @return [Array<Types::StandbyWorkspace>]
658
+ #
659
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateStandbyWorkspacesRequest AWS API Documentation
660
+ #
661
+ class CreateStandbyWorkspacesRequest < Struct.new(
662
+ :primary_region,
663
+ :standby_workspaces)
664
+ SENSITIVE = []
665
+ include Aws::Structure
666
+ end
667
+
668
+ # @!attribute [rw] failed_standby_requests
669
+ # Information about the Standby WorkSpace that could not be created.
670
+ # @return [Array<Types::FailedCreateStandbyWorkspacesRequest>]
671
+ #
672
+ # @!attribute [rw] pending_standby_requests
673
+ # Information about the Standby WorkSpace that was created.
674
+ # @return [Array<Types::PendingCreateStandbyWorkspacesRequest>]
675
+ #
676
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateStandbyWorkspacesResult AWS API Documentation
677
+ #
678
+ class CreateStandbyWorkspacesResult < Struct.new(
679
+ :failed_standby_requests,
680
+ :pending_standby_requests)
681
+ SENSITIVE = []
682
+ include Aws::Structure
683
+ end
684
+
602
685
  # @note When making an API call, you may pass CreateTagsRequest
603
686
  # data as a hash:
604
687
  #
@@ -2198,6 +2281,32 @@ module Aws::WorkSpaces
2198
2281
  #
2199
2282
  class DisassociateIpGroupsResult < Aws::EmptyStructure; end
2200
2283
 
2284
+ # Describes the Standby WorkSpace that could not be created.
2285
+ #
2286
+ # @!attribute [rw] standby_workspace_request
2287
+ # Information about the Standby WorkSpace that could not be created.
2288
+ # @return [Types::StandbyWorkspace]
2289
+ #
2290
+ # @!attribute [rw] error_code
2291
+ # The error code that is returned if the Standby WorkSpace could not
2292
+ # be created.
2293
+ # @return [String]
2294
+ #
2295
+ # @!attribute [rw] error_message
2296
+ # The text of the error message that is returned if the Standby
2297
+ # WorkSpace could not be created.
2298
+ # @return [String]
2299
+ #
2300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/FailedCreateStandbyWorkspacesRequest AWS API Documentation
2301
+ #
2302
+ class FailedCreateStandbyWorkspacesRequest < Struct.new(
2303
+ :standby_workspace_request,
2304
+ :error_code,
2305
+ :error_message)
2306
+ SENSITIVE = []
2307
+ include Aws::Structure
2308
+ end
2309
+
2201
2310
  # Describes a WorkSpace that cannot be created.
2202
2311
  #
2203
2312
  # @!attribute [rw] workspace_request
@@ -2929,6 +3038,45 @@ module Aws::WorkSpaces
2929
3038
  #
2930
3039
  class ModifyAccountResult < Aws::EmptyStructure; end
2931
3040
 
3041
+ # @note When making an API call, you may pass ModifyCertificateBasedAuthPropertiesRequest
3042
+ # data as a hash:
3043
+ #
3044
+ # {
3045
+ # resource_id: "DirectoryId", # required
3046
+ # certificate_based_auth_properties: {
3047
+ # status: "DISABLED", # accepts DISABLED, ENABLED
3048
+ # certificate_authority_arn: "CertificateAuthorityArn",
3049
+ # },
3050
+ # properties_to_delete: ["CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN"], # accepts CERTIFICATE_BASED_AUTH_PROPERTIES_CERTIFICATE_AUTHORITY_ARN
3051
+ # }
3052
+ #
3053
+ # @!attribute [rw] resource_id
3054
+ # The resource identifiers, in the form of directory IDs.
3055
+ # @return [String]
3056
+ #
3057
+ # @!attribute [rw] certificate_based_auth_properties
3058
+ # The properties of the certificate-based authentication.
3059
+ # @return [Types::CertificateBasedAuthProperties]
3060
+ #
3061
+ # @!attribute [rw] properties_to_delete
3062
+ # The properties of the certificate-based authentication you want to
3063
+ # delete.
3064
+ # @return [Array<String>]
3065
+ #
3066
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyCertificateBasedAuthPropertiesRequest AWS API Documentation
3067
+ #
3068
+ class ModifyCertificateBasedAuthPropertiesRequest < Struct.new(
3069
+ :resource_id,
3070
+ :certificate_based_auth_properties,
3071
+ :properties_to_delete)
3072
+ SENSITIVE = []
3073
+ include Aws::Structure
3074
+ end
3075
+
3076
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyCertificateBasedAuthPropertiesResult AWS API Documentation
3077
+ #
3078
+ class ModifyCertificateBasedAuthPropertiesResult < Aws::EmptyStructure; end
3079
+
2932
3080
  # @note When making an API call, you may pass ModifyClientPropertiesRequest
2933
3081
  # data as a hash:
2934
3082
  #
@@ -3230,6 +3378,44 @@ module Aws::WorkSpaces
3230
3378
  include Aws::Structure
3231
3379
  end
3232
3380
 
3381
+ # Information about the Standby WorkSpace.
3382
+ #
3383
+ # @!attribute [rw] user_name
3384
+ # Describes the Standby WorkSpace that was created.
3385
+ #
3386
+ # Because this operation is asynchronous, the identifier returned is
3387
+ # not immediately available for use with other operations. For
3388
+ # example, if you call [ DescribeWorkspaces][1] before the WorkSpace
3389
+ # is created, the information returned can be incomplete.
3390
+ #
3391
+ #
3392
+ #
3393
+ # [1]: https://docs.aws.amazon.com/workspaces/latest/api/API_DescribeWorkspaces.html
3394
+ # @return [String]
3395
+ #
3396
+ # @!attribute [rw] directory_id
3397
+ # The identifier of the directory for the Standby WorkSpace.
3398
+ # @return [String]
3399
+ #
3400
+ # @!attribute [rw] state
3401
+ # The operational state of the Standby WorkSpace.
3402
+ # @return [String]
3403
+ #
3404
+ # @!attribute [rw] workspace_id
3405
+ # The identifier of the Standby WorkSpace.
3406
+ # @return [String]
3407
+ #
3408
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/PendingCreateStandbyWorkspacesRequest AWS API Documentation
3409
+ #
3410
+ class PendingCreateStandbyWorkspacesRequest < Struct.new(
3411
+ :user_name,
3412
+ :directory_id,
3413
+ :state,
3414
+ :workspace_id)
3415
+ SENSITIVE = []
3416
+ include Aws::Structure
3417
+ end
3418
+
3233
3419
  # Describes the information used to reboot a WorkSpace.
3234
3420
  #
3235
3421
  # @note When making an API call, you may pass RebootRequest
@@ -3424,6 +3610,37 @@ module Aws::WorkSpaces
3424
3610
  #
3425
3611
  class RegisterWorkspaceDirectoryResult < Aws::EmptyStructure; end
3426
3612
 
3613
+ # Describes the related WorkSpace. The related WorkSpace could be a
3614
+ # Standby WorkSpace or Primary WorkSpace related to the specified
3615
+ # WorkSpace.
3616
+ #
3617
+ # @!attribute [rw] workspace_id
3618
+ # The identifier of the related WorkSpace.
3619
+ # @return [String]
3620
+ #
3621
+ # @!attribute [rw] region
3622
+ # The Region of the related WorkSpace.
3623
+ # @return [String]
3624
+ #
3625
+ # @!attribute [rw] state
3626
+ # Indicates the state of the WorkSpace.
3627
+ # @return [String]
3628
+ #
3629
+ # @!attribute [rw] type
3630
+ # Indicates the type of WorkSpace.
3631
+ # @return [String]
3632
+ #
3633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RelatedWorkspaceProperties AWS API Documentation
3634
+ #
3635
+ class RelatedWorkspaceProperties < Struct.new(
3636
+ :workspace_id,
3637
+ :region,
3638
+ :state,
3639
+ :type)
3640
+ SENSITIVE = []
3641
+ include Aws::Structure
3642
+ end
3643
+
3427
3644
  # The specified resource already exists.
3428
3645
  #
3429
3646
  # @!attribute [rw] message
@@ -3719,6 +3936,50 @@ module Aws::WorkSpaces
3719
3936
  include Aws::Structure
3720
3937
  end
3721
3938
 
3939
+ # Describes a Standby WorkSpace.
3940
+ #
3941
+ # @note When making an API call, you may pass StandbyWorkspace
3942
+ # data as a hash:
3943
+ #
3944
+ # {
3945
+ # primary_workspace_id: "WorkspaceId", # required
3946
+ # volume_encryption_key: "VolumeEncryptionKey",
3947
+ # directory_id: "DirectoryId", # required
3948
+ # tags: [
3949
+ # {
3950
+ # key: "TagKey", # required
3951
+ # value: "TagValue",
3952
+ # },
3953
+ # ],
3954
+ # }
3955
+ #
3956
+ # @!attribute [rw] primary_workspace_id
3957
+ # The identifier of the Standby WorkSpace.
3958
+ # @return [String]
3959
+ #
3960
+ # @!attribute [rw] volume_encryption_key
3961
+ # The volume encryption key of the Standby WorkSpace.
3962
+ # @return [String]
3963
+ #
3964
+ # @!attribute [rw] directory_id
3965
+ # The identifier of the directory for the Standby WorkSpace.
3966
+ # @return [String]
3967
+ #
3968
+ # @!attribute [rw] tags
3969
+ # The tags associated with the Standby WorkSpace.
3970
+ # @return [Array<Types::Tag>]
3971
+ #
3972
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StandbyWorkspace AWS API Documentation
3973
+ #
3974
+ class StandbyWorkspace < Struct.new(
3975
+ :primary_workspace_id,
3976
+ :volume_encryption_key,
3977
+ :directory_id,
3978
+ :tags)
3979
+ SENSITIVE = []
3980
+ include Aws::Structure
3981
+ end
3982
+
3722
3983
  # Information used to start a WorkSpace.
3723
3984
  #
3724
3985
  # @note When making an API call, you may pass StartRequest
@@ -4262,6 +4523,11 @@ module Aws::WorkSpaces
4262
4523
  # The modification states of the WorkSpace.
4263
4524
  # @return [Array<Types::ModificationState>]
4264
4525
  #
4526
+ # @!attribute [rw] related_workspaces
4527
+ # The Standby WorkSpace or Primary WorkSpace related to the specified
4528
+ # WorkSpace.
4529
+ # @return [Array<Types::RelatedWorkspaceProperties>]
4530
+ #
4265
4531
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/Workspace AWS API Documentation
4266
4532
  #
4267
4533
  class Workspace < Struct.new(
@@ -4279,7 +4545,8 @@ module Aws::WorkSpaces
4279
4545
  :user_volume_encryption_enabled,
4280
4546
  :root_volume_encryption_enabled,
4281
4547
  :workspace_properties,
4282
- :modification_states)
4548
+ :modification_states,
4549
+ :related_workspaces)
4283
4550
  SENSITIVE = []
4284
4551
  include Aws::Structure
4285
4552
  end
@@ -4409,6 +4676,14 @@ module Aws::WorkSpaces
4409
4676
  # The time when the bundle was created.
4410
4677
  # @return [Time]
4411
4678
  #
4679
+ # @!attribute [rw] state
4680
+ # The state of the WorkSpace bundle.
4681
+ # @return [String]
4682
+ #
4683
+ # @!attribute [rw] bundle_type
4684
+ # The type of WorkSpace bundle.
4685
+ # @return [String]
4686
+ #
4412
4687
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceBundle AWS API Documentation
4413
4688
  #
4414
4689
  class WorkspaceBundle < Struct.new(
@@ -4421,7 +4696,9 @@ module Aws::WorkSpaces
4421
4696
  :user_storage,
4422
4697
  :compute_type,
4423
4698
  :last_updated_time,
4424
- :creation_time)
4699
+ :creation_time,
4700
+ :state,
4701
+ :bundle_type)
4425
4702
  SENSITIVE = []
4426
4703
  include Aws::Structure
4427
4704
  end
@@ -4651,6 +4928,12 @@ module Aws::WorkSpaces
4651
4928
  # 2.0 identity provider.
4652
4929
  # @return [Types::SamlProperties]
4653
4930
  #
4931
+ # @!attribute [rw] certificate_based_auth_properties
4932
+ # The certificate-based authentication properties used to authenticate
4933
+ # SAML 2.0 Identity Provider (IdP) user identities to Active Directory
4934
+ # for WorkSpaces login.
4935
+ # @return [Types::CertificateBasedAuthProperties]
4936
+ #
4654
4937
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceDirectory AWS API Documentation
4655
4938
  #
4656
4939
  class WorkspaceDirectory < Struct.new(
@@ -4670,7 +4953,8 @@ module Aws::WorkSpaces
4670
4953
  :workspace_access_properties,
4671
4954
  :tenancy,
4672
4955
  :selfservice_permissions,
4673
- :saml_properties)
4956
+ :saml_properties,
4957
+ :certificate_based_auth_properties)
4674
4958
  SENSITIVE = []
4675
4959
  include Aws::Structure
4676
4960
  end
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-workspaces/customizations'
52
52
  # @!group service
53
53
  module Aws::WorkSpaces
54
54
 
55
- GEM_VERSION = '1.75.0'
55
+ GEM_VERSION = '1.77.0'
56
56
 
57
57
  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.75.0
4
+ version: 1.77.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: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2022-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core