aws-sdk-workspaces 1.8.0 → 1.9.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.
@@ -13,6 +13,8 @@ module Aws::WorkSpaces
13
13
 
14
14
  ARN = Shapes::StringShape.new(name: 'ARN')
15
15
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
16
+ AccountModification = Shapes::StructureShape.new(name: 'AccountModification')
17
+ AccountModificationList = Shapes::ListShape.new(name: 'AccountModificationList')
16
18
  Alias = Shapes::StringShape.new(name: 'Alias')
17
19
  AssociateIpGroupsRequest = Shapes::StructureShape.new(name: 'AssociateIpGroupsRequest')
18
20
  AssociateIpGroupsResult = Shapes::StructureShape.new(name: 'AssociateIpGroupsResult')
@@ -33,12 +35,23 @@ module Aws::WorkSpaces
33
35
  CreateTagsResult = Shapes::StructureShape.new(name: 'CreateTagsResult')
34
36
  CreateWorkspacesRequest = Shapes::StructureShape.new(name: 'CreateWorkspacesRequest')
35
37
  CreateWorkspacesResult = Shapes::StructureShape.new(name: 'CreateWorkspacesResult')
38
+ DedicatedTenancyCidrRangeList = Shapes::ListShape.new(name: 'DedicatedTenancyCidrRangeList')
39
+ DedicatedTenancyManagementCidrRange = Shapes::StringShape.new(name: 'DedicatedTenancyManagementCidrRange')
40
+ DedicatedTenancyModificationStateEnum = Shapes::StringShape.new(name: 'DedicatedTenancyModificationStateEnum')
41
+ DedicatedTenancySupportEnum = Shapes::StringShape.new(name: 'DedicatedTenancySupportEnum')
42
+ DedicatedTenancySupportResultEnum = Shapes::StringShape.new(name: 'DedicatedTenancySupportResultEnum')
36
43
  DefaultOu = Shapes::StringShape.new(name: 'DefaultOu')
37
44
  DefaultWorkspaceCreationProperties = Shapes::StructureShape.new(name: 'DefaultWorkspaceCreationProperties')
38
45
  DeleteIpGroupRequest = Shapes::StructureShape.new(name: 'DeleteIpGroupRequest')
39
46
  DeleteIpGroupResult = Shapes::StructureShape.new(name: 'DeleteIpGroupResult')
40
47
  DeleteTagsRequest = Shapes::StructureShape.new(name: 'DeleteTagsRequest')
41
48
  DeleteTagsResult = Shapes::StructureShape.new(name: 'DeleteTagsResult')
49
+ DeleteWorkspaceImageRequest = Shapes::StructureShape.new(name: 'DeleteWorkspaceImageRequest')
50
+ DeleteWorkspaceImageResult = Shapes::StructureShape.new(name: 'DeleteWorkspaceImageResult')
51
+ DescribeAccountModificationsRequest = Shapes::StructureShape.new(name: 'DescribeAccountModificationsRequest')
52
+ DescribeAccountModificationsResult = Shapes::StructureShape.new(name: 'DescribeAccountModificationsResult')
53
+ DescribeAccountRequest = Shapes::StructureShape.new(name: 'DescribeAccountRequest')
54
+ DescribeAccountResult = Shapes::StructureShape.new(name: 'DescribeAccountResult')
42
55
  DescribeIpGroupsRequest = Shapes::StructureShape.new(name: 'DescribeIpGroupsRequest')
43
56
  DescribeIpGroupsResult = Shapes::StructureShape.new(name: 'DescribeIpGroupsResult')
44
57
  DescribeTagsRequest = Shapes::StructureShape.new(name: 'DescribeTagsRequest')
@@ -47,6 +60,8 @@ module Aws::WorkSpaces
47
60
  DescribeWorkspaceBundlesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceBundlesResult')
48
61
  DescribeWorkspaceDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesRequest')
49
62
  DescribeWorkspaceDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceDirectoriesResult')
63
+ DescribeWorkspaceImagesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspaceImagesRequest')
64
+ DescribeWorkspaceImagesResult = Shapes::StructureShape.new(name: 'DescribeWorkspaceImagesResult')
50
65
  DescribeWorkspacesConnectionStatusRequest = Shapes::StructureShape.new(name: 'DescribeWorkspacesConnectionStatusRequest')
51
66
  DescribeWorkspacesConnectionStatusResult = Shapes::StructureShape.new(name: 'DescribeWorkspacesConnectionStatusResult')
52
67
  DescribeWorkspacesRequest = Shapes::StructureShape.new(name: 'DescribeWorkspacesRequest')
@@ -59,6 +74,7 @@ module Aws::WorkSpaces
59
74
  DisassociateIpGroupsRequest = Shapes::StructureShape.new(name: 'DisassociateIpGroupsRequest')
60
75
  DisassociateIpGroupsResult = Shapes::StructureShape.new(name: 'DisassociateIpGroupsResult')
61
76
  DnsIpAddresses = Shapes::ListShape.new(name: 'DnsIpAddresses')
77
+ Ec2ImageId = Shapes::StringShape.new(name: 'Ec2ImageId')
62
78
  ErrorType = Shapes::StringShape.new(name: 'ErrorType')
63
79
  ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
64
80
  FailedCreateWorkspaceRequest = Shapes::StructureShape.new(name: 'FailedCreateWorkspaceRequest')
@@ -69,6 +85,8 @@ module Aws::WorkSpaces
69
85
  FailedStopWorkspaceRequests = Shapes::ListShape.new(name: 'FailedStopWorkspaceRequests')
70
86
  FailedTerminateWorkspaceRequests = Shapes::ListShape.new(name: 'FailedTerminateWorkspaceRequests')
71
87
  FailedWorkspaceChangeRequest = Shapes::StructureShape.new(name: 'FailedWorkspaceChangeRequest')
88
+ ImportWorkspaceImageRequest = Shapes::StructureShape.new(name: 'ImportWorkspaceImageRequest')
89
+ ImportWorkspaceImageResult = Shapes::StructureShape.new(name: 'ImportWorkspaceImageResult')
72
90
  InvalidParameterValuesException = Shapes::StructureShape.new(name: 'InvalidParameterValuesException')
73
91
  InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
74
92
  IpAddress = Shapes::StringShape.new(name: 'IpAddress')
@@ -82,15 +100,23 @@ module Aws::WorkSpaces
82
100
  IpRuleItem = Shapes::StructureShape.new(name: 'IpRuleItem')
83
101
  IpRuleList = Shapes::ListShape.new(name: 'IpRuleList')
84
102
  Limit = Shapes::IntegerShape.new(name: 'Limit')
103
+ ListAvailableManagementCidrRangesRequest = Shapes::StructureShape.new(name: 'ListAvailableManagementCidrRangesRequest')
104
+ ListAvailableManagementCidrRangesResult = Shapes::StructureShape.new(name: 'ListAvailableManagementCidrRangesResult')
105
+ ManagementCidrRangeConstraint = Shapes::StringShape.new(name: 'ManagementCidrRangeConstraint')
106
+ ManagementCidrRangeMaxResults = Shapes::IntegerShape.new(name: 'ManagementCidrRangeMaxResults')
85
107
  ModificationResourceEnum = Shapes::StringShape.new(name: 'ModificationResourceEnum')
86
108
  ModificationState = Shapes::StructureShape.new(name: 'ModificationState')
87
109
  ModificationStateEnum = Shapes::StringShape.new(name: 'ModificationStateEnum')
88
110
  ModificationStateList = Shapes::ListShape.new(name: 'ModificationStateList')
111
+ ModifyAccountRequest = Shapes::StructureShape.new(name: 'ModifyAccountRequest')
112
+ ModifyAccountResult = Shapes::StructureShape.new(name: 'ModifyAccountResult')
89
113
  ModifyWorkspacePropertiesRequest = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesRequest')
90
114
  ModifyWorkspacePropertiesResult = Shapes::StructureShape.new(name: 'ModifyWorkspacePropertiesResult')
91
115
  ModifyWorkspaceStateRequest = Shapes::StructureShape.new(name: 'ModifyWorkspaceStateRequest')
92
116
  ModifyWorkspaceStateResult = Shapes::StructureShape.new(name: 'ModifyWorkspaceStateResult')
93
117
  NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
118
+ OperatingSystem = Shapes::StructureShape.new(name: 'OperatingSystem')
119
+ OperatingSystemType = Shapes::StringShape.new(name: 'OperatingSystemType')
94
120
  OperationInProgressException = Shapes::StructureShape.new(name: 'OperationInProgressException')
95
121
  OperationNotSupportedException = Shapes::StructureShape.new(name: 'OperationNotSupportedException')
96
122
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
@@ -154,6 +180,16 @@ module Aws::WorkSpaces
154
180
  WorkspaceErrorCode = Shapes::StringShape.new(name: 'WorkspaceErrorCode')
155
181
  WorkspaceId = Shapes::StringShape.new(name: 'WorkspaceId')
156
182
  WorkspaceIdList = Shapes::ListShape.new(name: 'WorkspaceIdList')
183
+ WorkspaceImage = Shapes::StructureShape.new(name: 'WorkspaceImage')
184
+ WorkspaceImageDescription = Shapes::StringShape.new(name: 'WorkspaceImageDescription')
185
+ WorkspaceImageErrorCode = Shapes::StringShape.new(name: 'WorkspaceImageErrorCode')
186
+ WorkspaceImageId = Shapes::StringShape.new(name: 'WorkspaceImageId')
187
+ WorkspaceImageIdList = Shapes::ListShape.new(name: 'WorkspaceImageIdList')
188
+ WorkspaceImageIngestionProcess = Shapes::StringShape.new(name: 'WorkspaceImageIngestionProcess')
189
+ WorkspaceImageList = Shapes::ListShape.new(name: 'WorkspaceImageList')
190
+ WorkspaceImageName = Shapes::StringShape.new(name: 'WorkspaceImageName')
191
+ WorkspaceImageRequiredTenancy = Shapes::StringShape.new(name: 'WorkspaceImageRequiredTenancy')
192
+ WorkspaceImageState = Shapes::StringShape.new(name: 'WorkspaceImageState')
157
193
  WorkspaceList = Shapes::ListShape.new(name: 'WorkspaceList')
158
194
  WorkspaceProperties = Shapes::StructureShape.new(name: 'WorkspaceProperties')
159
195
  WorkspaceRequest = Shapes::StructureShape.new(name: 'WorkspaceRequest')
@@ -162,6 +198,16 @@ module Aws::WorkSpaces
162
198
  WorkspacesIpGroup = Shapes::StructureShape.new(name: 'WorkspacesIpGroup')
163
199
  WorkspacesIpGroupsList = Shapes::ListShape.new(name: 'WorkspacesIpGroupsList')
164
200
 
201
+ AccountModification.add_member(:modification_state, Shapes::ShapeRef.new(shape: DedicatedTenancyModificationStateEnum, location_name: "ModificationState"))
202
+ AccountModification.add_member(:dedicated_tenancy_support, Shapes::ShapeRef.new(shape: DedicatedTenancySupportResultEnum, location_name: "DedicatedTenancySupport"))
203
+ AccountModification.add_member(:dedicated_tenancy_management_cidr_range, Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange, location_name: "DedicatedTenancyManagementCidrRange"))
204
+ AccountModification.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "StartTime"))
205
+ AccountModification.add_member(:error_code, Shapes::ShapeRef.new(shape: WorkspaceErrorCode, location_name: "ErrorCode"))
206
+ AccountModification.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
207
+ AccountModification.struct_class = Types::AccountModification
208
+
209
+ AccountModificationList.member = Shapes::ShapeRef.new(shape: AccountModification)
210
+
165
211
  AssociateIpGroupsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
166
212
  AssociateIpGroupsRequest.add_member(:group_ids, Shapes::ShapeRef.new(shape: IpGroupIdList, required: true, location_name: "GroupIds"))
167
213
  AssociateIpGroupsRequest.struct_class = Types::AssociateIpGroupsRequest
@@ -202,6 +248,8 @@ module Aws::WorkSpaces
202
248
  CreateWorkspacesResult.add_member(:pending_requests, Shapes::ShapeRef.new(shape: WorkspaceList, location_name: "PendingRequests"))
203
249
  CreateWorkspacesResult.struct_class = Types::CreateWorkspacesResult
204
250
 
251
+ DedicatedTenancyCidrRangeList.member = Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange)
252
+
205
253
  DefaultWorkspaceCreationProperties.add_member(:enable_work_docs, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableWorkDocs"))
206
254
  DefaultWorkspaceCreationProperties.add_member(:enable_internet_access, Shapes::ShapeRef.new(shape: BooleanObject, location_name: "EnableInternetAccess"))
207
255
  DefaultWorkspaceCreationProperties.add_member(:default_ou, Shapes::ShapeRef.new(shape: DefaultOu, location_name: "DefaultOu"))
@@ -220,6 +268,24 @@ module Aws::WorkSpaces
220
268
 
221
269
  DeleteTagsResult.struct_class = Types::DeleteTagsResult
222
270
 
271
+ DeleteWorkspaceImageRequest.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, required: true, location_name: "ImageId"))
272
+ DeleteWorkspaceImageRequest.struct_class = Types::DeleteWorkspaceImageRequest
273
+
274
+ DeleteWorkspaceImageResult.struct_class = Types::DeleteWorkspaceImageResult
275
+
276
+ DescribeAccountModificationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
277
+ DescribeAccountModificationsRequest.struct_class = Types::DescribeAccountModificationsRequest
278
+
279
+ DescribeAccountModificationsResult.add_member(:account_modifications, Shapes::ShapeRef.new(shape: AccountModificationList, location_name: "AccountModifications"))
280
+ DescribeAccountModificationsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
281
+ DescribeAccountModificationsResult.struct_class = Types::DescribeAccountModificationsResult
282
+
283
+ DescribeAccountRequest.struct_class = Types::DescribeAccountRequest
284
+
285
+ DescribeAccountResult.add_member(:dedicated_tenancy_support, Shapes::ShapeRef.new(shape: DedicatedTenancySupportResultEnum, location_name: "DedicatedTenancySupport"))
286
+ DescribeAccountResult.add_member(:dedicated_tenancy_management_cidr_range, Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange, location_name: "DedicatedTenancyManagementCidrRange"))
287
+ DescribeAccountResult.struct_class = Types::DescribeAccountResult
288
+
223
289
  DescribeIpGroupsRequest.add_member(:group_ids, Shapes::ShapeRef.new(shape: IpGroupIdList, location_name: "GroupIds"))
224
290
  DescribeIpGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
225
291
  DescribeIpGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Limit, location_name: "MaxResults"))
@@ -252,6 +318,15 @@ module Aws::WorkSpaces
252
318
  DescribeWorkspaceDirectoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
253
319
  DescribeWorkspaceDirectoriesResult.struct_class = Types::DescribeWorkspaceDirectoriesResult
254
320
 
321
+ DescribeWorkspaceImagesRequest.add_member(:image_ids, Shapes::ShapeRef.new(shape: WorkspaceImageIdList, location_name: "ImageIds"))
322
+ DescribeWorkspaceImagesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
323
+ DescribeWorkspaceImagesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Limit, location_name: "MaxResults"))
324
+ DescribeWorkspaceImagesRequest.struct_class = Types::DescribeWorkspaceImagesRequest
325
+
326
+ DescribeWorkspaceImagesResult.add_member(:images, Shapes::ShapeRef.new(shape: WorkspaceImageList, location_name: "Images"))
327
+ DescribeWorkspaceImagesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
328
+ DescribeWorkspaceImagesResult.struct_class = Types::DescribeWorkspaceImagesResult
329
+
255
330
  DescribeWorkspacesConnectionStatusRequest.add_member(:workspace_ids, Shapes::ShapeRef.new(shape: WorkspaceIdList, location_name: "WorkspaceIds"))
256
331
  DescribeWorkspacesConnectionStatusRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
257
332
  DescribeWorkspacesConnectionStatusRequest.struct_class = Types::DescribeWorkspacesConnectionStatusRequest
@@ -306,6 +381,15 @@ module Aws::WorkSpaces
306
381
  FailedWorkspaceChangeRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
307
382
  FailedWorkspaceChangeRequest.struct_class = Types::FailedWorkspaceChangeRequest
308
383
 
384
+ ImportWorkspaceImageRequest.add_member(:ec2_image_id, Shapes::ShapeRef.new(shape: Ec2ImageId, required: true, location_name: "Ec2ImageId"))
385
+ ImportWorkspaceImageRequest.add_member(:ingestion_process, Shapes::ShapeRef.new(shape: WorkspaceImageIngestionProcess, required: true, location_name: "IngestionProcess"))
386
+ ImportWorkspaceImageRequest.add_member(:image_name, Shapes::ShapeRef.new(shape: WorkspaceImageName, required: true, location_name: "ImageName"))
387
+ ImportWorkspaceImageRequest.add_member(:image_description, Shapes::ShapeRef.new(shape: WorkspaceImageDescription, required: true, location_name: "ImageDescription"))
388
+ ImportWorkspaceImageRequest.struct_class = Types::ImportWorkspaceImageRequest
389
+
390
+ ImportWorkspaceImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
391
+ ImportWorkspaceImageResult.struct_class = Types::ImportWorkspaceImageResult
392
+
309
393
  IpGroupIdList.member = Shapes::ShapeRef.new(shape: IpGroupId)
310
394
 
311
395
  IpRevokedRuleList.member = Shapes::ShapeRef.new(shape: IpRule)
@@ -316,12 +400,27 @@ module Aws::WorkSpaces
316
400
 
317
401
  IpRuleList.member = Shapes::ShapeRef.new(shape: IpRuleItem)
318
402
 
403
+ ListAvailableManagementCidrRangesRequest.add_member(:management_cidr_range_constraint, Shapes::ShapeRef.new(shape: ManagementCidrRangeConstraint, required: true, location_name: "ManagementCidrRangeConstraint"))
404
+ ListAvailableManagementCidrRangesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ManagementCidrRangeMaxResults, location_name: "MaxResults"))
405
+ ListAvailableManagementCidrRangesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
406
+ ListAvailableManagementCidrRangesRequest.struct_class = Types::ListAvailableManagementCidrRangesRequest
407
+
408
+ ListAvailableManagementCidrRangesResult.add_member(:management_cidr_ranges, Shapes::ShapeRef.new(shape: DedicatedTenancyCidrRangeList, location_name: "ManagementCidrRanges"))
409
+ ListAvailableManagementCidrRangesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
410
+ ListAvailableManagementCidrRangesResult.struct_class = Types::ListAvailableManagementCidrRangesResult
411
+
319
412
  ModificationState.add_member(:resource, Shapes::ShapeRef.new(shape: ModificationResourceEnum, location_name: "Resource"))
320
413
  ModificationState.add_member(:state, Shapes::ShapeRef.new(shape: ModificationStateEnum, location_name: "State"))
321
414
  ModificationState.struct_class = Types::ModificationState
322
415
 
323
416
  ModificationStateList.member = Shapes::ShapeRef.new(shape: ModificationState)
324
417
 
418
+ ModifyAccountRequest.add_member(:dedicated_tenancy_support, Shapes::ShapeRef.new(shape: DedicatedTenancySupportEnum, location_name: "DedicatedTenancySupport"))
419
+ ModifyAccountRequest.add_member(:dedicated_tenancy_management_cidr_range, Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange, location_name: "DedicatedTenancyManagementCidrRange"))
420
+ ModifyAccountRequest.struct_class = Types::ModifyAccountRequest
421
+
422
+ ModifyAccountResult.struct_class = Types::ModifyAccountResult
423
+
325
424
  ModifyWorkspacePropertiesRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
326
425
  ModifyWorkspacePropertiesRequest.add_member(:workspace_properties, Shapes::ShapeRef.new(shape: WorkspaceProperties, required: true, location_name: "WorkspaceProperties"))
327
426
  ModifyWorkspacePropertiesRequest.struct_class = Types::ModifyWorkspacePropertiesRequest
@@ -334,6 +433,9 @@ module Aws::WorkSpaces
334
433
 
335
434
  ModifyWorkspaceStateResult.struct_class = Types::ModifyWorkspaceStateResult
336
435
 
436
+ OperatingSystem.add_member(:type, Shapes::ShapeRef.new(shape: OperatingSystemType, location_name: "Type"))
437
+ OperatingSystem.struct_class = Types::OperatingSystem
438
+
337
439
  RebootRequest.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, required: true, location_name: "WorkspaceId"))
338
440
  RebootRequest.struct_class = Types::RebootRequest
339
441
 
@@ -468,6 +570,20 @@ module Aws::WorkSpaces
468
570
 
469
571
  WorkspaceIdList.member = Shapes::ShapeRef.new(shape: WorkspaceId)
470
572
 
573
+ WorkspaceImage.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
574
+ WorkspaceImage.add_member(:name, Shapes::ShapeRef.new(shape: WorkspaceImageName, location_name: "Name"))
575
+ WorkspaceImage.add_member(:description, Shapes::ShapeRef.new(shape: WorkspaceImageDescription, location_name: "Description"))
576
+ WorkspaceImage.add_member(:operating_system, Shapes::ShapeRef.new(shape: OperatingSystem, location_name: "OperatingSystem"))
577
+ WorkspaceImage.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceImageState, location_name: "State"))
578
+ WorkspaceImage.add_member(:required_tenancy, Shapes::ShapeRef.new(shape: WorkspaceImageRequiredTenancy, location_name: "RequiredTenancy"))
579
+ WorkspaceImage.add_member(:error_code, Shapes::ShapeRef.new(shape: WorkspaceImageErrorCode, location_name: "ErrorCode"))
580
+ WorkspaceImage.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
581
+ WorkspaceImage.struct_class = Types::WorkspaceImage
582
+
583
+ WorkspaceImageIdList.member = Shapes::ShapeRef.new(shape: WorkspaceImageId)
584
+
585
+ WorkspaceImageList.member = Shapes::ShapeRef.new(shape: WorkspaceImage)
586
+
471
587
  WorkspaceList.member = Shapes::ShapeRef.new(shape: Workspace)
472
588
 
473
589
  WorkspaceProperties.add_member(:running_mode, Shapes::ShapeRef.new(shape: RunningMode, location_name: "RunningMode"))
@@ -598,6 +714,35 @@ module Aws::WorkSpaces
598
714
  o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
599
715
  end)
600
716
 
717
+ api.add_operation(:delete_workspace_image, Seahorse::Model::Operation.new.tap do |o|
718
+ o.name = "DeleteWorkspaceImage"
719
+ o.http_method = "POST"
720
+ o.http_request_uri = "/"
721
+ o.input = Shapes::ShapeRef.new(shape: DeleteWorkspaceImageRequest)
722
+ o.output = Shapes::ShapeRef.new(shape: DeleteWorkspaceImageResult)
723
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAssociatedException)
724
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
725
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
726
+ end)
727
+
728
+ api.add_operation(:describe_account, Seahorse::Model::Operation.new.tap do |o|
729
+ o.name = "DescribeAccount"
730
+ o.http_method = "POST"
731
+ o.http_request_uri = "/"
732
+ o.input = Shapes::ShapeRef.new(shape: DescribeAccountRequest)
733
+ o.output = Shapes::ShapeRef.new(shape: DescribeAccountResult)
734
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
735
+ end)
736
+
737
+ api.add_operation(:describe_account_modifications, Seahorse::Model::Operation.new.tap do |o|
738
+ o.name = "DescribeAccountModifications"
739
+ o.http_method = "POST"
740
+ o.http_request_uri = "/"
741
+ o.input = Shapes::ShapeRef.new(shape: DescribeAccountModificationsRequest)
742
+ o.output = Shapes::ShapeRef.new(shape: DescribeAccountModificationsResult)
743
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
744
+ end)
745
+
601
746
  api.add_operation(:describe_ip_groups, Seahorse::Model::Operation.new.tap do |o|
602
747
  o.name = "DescribeIpGroups"
603
748
  o.http_method = "POST"
@@ -645,6 +790,15 @@ module Aws::WorkSpaces
645
790
  )
646
791
  end)
647
792
 
793
+ api.add_operation(:describe_workspace_images, Seahorse::Model::Operation.new.tap do |o|
794
+ o.name = "DescribeWorkspaceImages"
795
+ o.http_method = "POST"
796
+ o.http_request_uri = "/"
797
+ o.input = Shapes::ShapeRef.new(shape: DescribeWorkspaceImagesRequest)
798
+ o.output = Shapes::ShapeRef.new(shape: DescribeWorkspaceImagesResult)
799
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
800
+ end)
801
+
648
802
  api.add_operation(:describe_workspaces, Seahorse::Model::Operation.new.tap do |o|
649
803
  o.name = "DescribeWorkspaces"
650
804
  o.http_method = "POST"
@@ -682,6 +836,42 @@ module Aws::WorkSpaces
682
836
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
683
837
  end)
684
838
 
839
+ api.add_operation(:import_workspace_image, Seahorse::Model::Operation.new.tap do |o|
840
+ o.name = "ImportWorkspaceImage"
841
+ o.http_method = "POST"
842
+ o.http_request_uri = "/"
843
+ o.input = Shapes::ShapeRef.new(shape: ImportWorkspaceImageRequest)
844
+ o.output = Shapes::ShapeRef.new(shape: ImportWorkspaceImageResult)
845
+ o.errors << Shapes::ShapeRef.new(shape: ResourceLimitExceededException)
846
+ o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
847
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
848
+ o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
849
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
850
+ end)
851
+
852
+ api.add_operation(:list_available_management_cidr_ranges, Seahorse::Model::Operation.new.tap do |o|
853
+ o.name = "ListAvailableManagementCidrRanges"
854
+ o.http_method = "POST"
855
+ o.http_request_uri = "/"
856
+ o.input = Shapes::ShapeRef.new(shape: ListAvailableManagementCidrRangesRequest)
857
+ o.output = Shapes::ShapeRef.new(shape: ListAvailableManagementCidrRangesResult)
858
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
859
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
860
+ end)
861
+
862
+ api.add_operation(:modify_account, Seahorse::Model::Operation.new.tap do |o|
863
+ o.name = "ModifyAccount"
864
+ o.http_method = "POST"
865
+ o.http_request_uri = "/"
866
+ o.input = Shapes::ShapeRef.new(shape: ModifyAccountRequest)
867
+ o.output = Shapes::ShapeRef.new(shape: ModifyAccountResult)
868
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
869
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
870
+ o.errors << Shapes::ShapeRef.new(shape: InvalidResourceStateException)
871
+ o.errors << Shapes::ShapeRef.new(shape: ResourceUnavailableException)
872
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
873
+ end)
874
+
685
875
  api.add_operation(:modify_workspace_properties, Seahorse::Model::Operation.new.tap do |o|
686
876
  o.name = "ModifyWorkspaceProperties"
687
877
  o.http_method = "POST"
@@ -8,6 +8,49 @@
8
8
  module Aws::WorkSpaces
9
9
  module Types
10
10
 
11
+ # Describes a modification to the configuration of bring your own
12
+ # license (BYOL) for the specified account.
13
+ #
14
+ # @!attribute [rw] modification_state
15
+ # The state of the modification to the configuration of BYOL.
16
+ # @return [String]
17
+ #
18
+ # @!attribute [rw] dedicated_tenancy_support
19
+ # The status of BYOL (whether BYOL is being enabled or disabled).
20
+ # @return [String]
21
+ #
22
+ # @!attribute [rw] dedicated_tenancy_management_cidr_range
23
+ # The IP address range, specified as an IPv4 CIDR block, for the
24
+ # management network interface used for the account.
25
+ # @return [String]
26
+ #
27
+ # @!attribute [rw] start_time
28
+ # The timestamp when the modification of the BYOL configuration was
29
+ # started.
30
+ # @return [Time]
31
+ #
32
+ # @!attribute [rw] error_code
33
+ # The error code that is returned if the configuration of BYOL cannot
34
+ # be modified.
35
+ # @return [String]
36
+ #
37
+ # @!attribute [rw] error_message
38
+ # The text of the error message that is returned if the configuration
39
+ # of BYOL cannot be modified.
40
+ # @return [String]
41
+ #
42
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AccountModification AWS API Documentation
43
+ #
44
+ class AccountModification < Struct.new(
45
+ :modification_state,
46
+ :dedicated_tenancy_support,
47
+ :dedicated_tenancy_management_cidr_range,
48
+ :start_time,
49
+ :error_code,
50
+ :error_message)
51
+ include Aws::Structure
52
+ end
53
+
11
54
  # @note When making an API call, you may pass AssociateIpGroupsRequest
12
55
  # data as a hash:
13
56
  #
@@ -17,11 +60,11 @@ module Aws::WorkSpaces
17
60
  # }
18
61
  #
19
62
  # @!attribute [rw] directory_id
20
- # The ID of the directory.
63
+ # The identifier of the directory.
21
64
  # @return [String]
22
65
  #
23
66
  # @!attribute [rw] group_ids
24
- # The IDs of one or more IP access control groups.
67
+ # The identifiers of one or more IP access control groups.
25
68
  # @return [Array<String>]
26
69
  #
27
70
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/AssociateIpGroupsRequest AWS API Documentation
@@ -50,7 +93,7 @@ module Aws::WorkSpaces
50
93
  # }
51
94
  #
52
95
  # @!attribute [rw] group_id
53
- # The ID of the group.
96
+ # The identifier of the group.
54
97
  # @return [String]
55
98
  #
56
99
  # @!attribute [rw] user_rules
@@ -69,7 +112,7 @@ module Aws::WorkSpaces
69
112
  #
70
113
  class AuthorizeIpRulesResult < Aws::EmptyStructure; end
71
114
 
72
- # Information about the compute type.
115
+ # Describes the compute type.
73
116
  #
74
117
  # @!attribute [rw] name
75
118
  # The compute type.
@@ -118,7 +161,7 @@ module Aws::WorkSpaces
118
161
  end
119
162
 
120
163
  # @!attribute [rw] group_id
121
- # The ID of the group.
164
+ # The identifier of the group.
122
165
  # @return [String]
123
166
  #
124
167
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/CreateIpGroupResult AWS API Documentation
@@ -142,7 +185,8 @@ module Aws::WorkSpaces
142
185
  # }
143
186
  #
144
187
  # @!attribute [rw] resource_id
145
- # The ID of the WorkSpace. To find this ID, use DescribeWorkspaces.
188
+ # The identifier of the WorkSpace. To find this ID, use
189
+ # DescribeWorkspaces.
146
190
  # @return [String]
147
191
  #
148
192
  # @!attribute [rw] tags
@@ -222,10 +266,10 @@ module Aws::WorkSpaces
222
266
  include Aws::Structure
223
267
  end
224
268
 
225
- # Information about defaults used to create a WorkSpace.
269
+ # Describes the default values used to create a WorkSpace.
226
270
  #
227
271
  # @!attribute [rw] enable_work_docs
228
- # Indicates whether the directory is enabled for Amazon WorkDocs.
272
+ # Specifies whether the directory is enabled for Amazon WorkDocs.
229
273
  # @return [Boolean]
230
274
  #
231
275
  # @!attribute [rw] enable_internet_access
@@ -244,7 +288,7 @@ module Aws::WorkSpaces
244
288
  # @return [String]
245
289
  #
246
290
  # @!attribute [rw] user_enabled_as_local_administrator
247
- # Indicates whether the WorkSpace user is an administrator on the
291
+ # Specifies whether the WorkSpace user is an administrator on the
248
292
  # WorkSpace.
249
293
  # @return [Boolean]
250
294
  #
@@ -267,7 +311,7 @@ module Aws::WorkSpaces
267
311
  # }
268
312
  #
269
313
  # @!attribute [rw] group_id
270
- # The ID of the IP access control group.
314
+ # The identifier of the IP access control group.
271
315
  # @return [String]
272
316
  #
273
317
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteIpGroupRequest AWS API Documentation
@@ -290,7 +334,8 @@ module Aws::WorkSpaces
290
334
  # }
291
335
  #
292
336
  # @!attribute [rw] resource_id
293
- # The ID of the WorkSpace. To find this ID, use DescribeWorkspaces.
337
+ # The identifier of the WorkSpace. To find this ID, use
338
+ # DescribeWorkspaces.
294
339
  # @return [String]
295
340
  #
296
341
  # @!attribute [rw] tag_keys
@@ -309,6 +354,92 @@ module Aws::WorkSpaces
309
354
  #
310
355
  class DeleteTagsResult < Aws::EmptyStructure; end
311
356
 
357
+ # @note When making an API call, you may pass DeleteWorkspaceImageRequest
358
+ # data as a hash:
359
+ #
360
+ # {
361
+ # image_id: "WorkspaceImageId", # required
362
+ # }
363
+ #
364
+ # @!attribute [rw] image_id
365
+ # The identifier of the image.
366
+ # @return [String]
367
+ #
368
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceImageRequest AWS API Documentation
369
+ #
370
+ class DeleteWorkspaceImageRequest < Struct.new(
371
+ :image_id)
372
+ include Aws::Structure
373
+ end
374
+
375
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DeleteWorkspaceImageResult AWS API Documentation
376
+ #
377
+ class DeleteWorkspaceImageResult < Aws::EmptyStructure; end
378
+
379
+ # @note When making an API call, you may pass DescribeAccountModificationsRequest
380
+ # data as a hash:
381
+ #
382
+ # {
383
+ # next_token: "PaginationToken",
384
+ # }
385
+ #
386
+ # @!attribute [rw] next_token
387
+ # If you received a `NextToken` from a previous call that was
388
+ # paginated, provide this token to receive the next set of results.
389
+ # @return [String]
390
+ #
391
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountModificationsRequest AWS API Documentation
392
+ #
393
+ class DescribeAccountModificationsRequest < Struct.new(
394
+ :next_token)
395
+ include Aws::Structure
396
+ end
397
+
398
+ # @!attribute [rw] account_modifications
399
+ # The list of modifications to the configuration of BYOL.
400
+ # @return [Array<Types::AccountModification>]
401
+ #
402
+ # @!attribute [rw] next_token
403
+ # The token to use to retrieve the next set of results, or null if no
404
+ # more results are available.
405
+ # @return [String]
406
+ #
407
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountModificationsResult AWS API Documentation
408
+ #
409
+ class DescribeAccountModificationsResult < Struct.new(
410
+ :account_modifications,
411
+ :next_token)
412
+ include Aws::Structure
413
+ end
414
+
415
+ # @api private
416
+ #
417
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountRequest AWS API Documentation
418
+ #
419
+ class DescribeAccountRequest < Aws::EmptyStructure; end
420
+
421
+ # @!attribute [rw] dedicated_tenancy_support
422
+ # The status of BYOL (whether BYOL is enabled or disabled).
423
+ # @return [String]
424
+ #
425
+ # @!attribute [rw] dedicated_tenancy_management_cidr_range
426
+ # The IP address range, specified as an IPv4 CIDR block, used for the
427
+ # management network interface.
428
+ #
429
+ # The management network interface is connected to a secure Amazon
430
+ # WorkSpaces management network. It is used for interactive streaming
431
+ # of the WorkSpace desktop to Amazon WorkSpaces clients, and to allow
432
+ # Amazon WorkSpaces to manage the WorkSpace.
433
+ # @return [String]
434
+ #
435
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeAccountResult AWS API Documentation
436
+ #
437
+ class DescribeAccountResult < Struct.new(
438
+ :dedicated_tenancy_support,
439
+ :dedicated_tenancy_management_cidr_range)
440
+ include Aws::Structure
441
+ end
442
+
312
443
  # @note When making an API call, you may pass DescribeIpGroupsRequest
313
444
  # data as a hash:
314
445
  #
@@ -319,12 +450,12 @@ module Aws::WorkSpaces
319
450
  # }
320
451
  #
321
452
  # @!attribute [rw] group_ids
322
- # The IDs of one or more IP access control groups.
453
+ # The identifiers of one or more IP access control groups.
323
454
  # @return [Array<String>]
324
455
  #
325
456
  # @!attribute [rw] next_token
326
- # The token for the next set of results. (You received this token from
327
- # a previous call.)
457
+ # If you received a `NextToken` from a previous call that was
458
+ # paginated, provide this token to receive the next set of results.
328
459
  # @return [String]
329
460
  #
330
461
  # @!attribute [rw] max_results
@@ -345,9 +476,8 @@ module Aws::WorkSpaces
345
476
  # @return [Array<Types::WorkspacesIpGroup>]
346
477
  #
347
478
  # @!attribute [rw] next_token
348
- # The token to use to retrieve the next set of results, or null if
349
- # there are no more results available. This token is valid for one day
350
- # and must be used within that time frame.
479
+ # The token to use to retrieve the next set of results, or null if no
480
+ # more results are available.
351
481
  # @return [String]
352
482
  #
353
483
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeIpGroupsResult AWS API Documentation
@@ -366,7 +496,8 @@ module Aws::WorkSpaces
366
496
  # }
367
497
  #
368
498
  # @!attribute [rw] resource_id
369
- # The ID of the WorkSpace. To find this ID, use DescribeWorkspaces.
499
+ # The identifier of the WorkSpace. To find this ID, use
500
+ # DescribeWorkspaces.
370
501
  # @return [String]
371
502
  #
372
503
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeTagsRequest AWS API Documentation
@@ -397,12 +528,12 @@ module Aws::WorkSpaces
397
528
  # }
398
529
  #
399
530
  # @!attribute [rw] bundle_ids
400
- # The IDs of the bundles. This parameter cannot be combined with any
401
- # other filter.
531
+ # The identifiers of the bundles. You cannot combine this parameter
532
+ # with any other filter.
402
533
  # @return [Array<String>]
403
534
  #
404
535
  # @!attribute [rw] owner
405
- # The owner of the bundles. This parameter cannot be combined with any
536
+ # The owner of the bundles. You cannot combine this parameter with any
406
537
  # other filter.
407
538
  #
408
539
  # Specify `AMAZON` to describe the bundles provided by AWS or null to
@@ -455,8 +586,8 @@ module Aws::WorkSpaces
455
586
  # @return [Array<String>]
456
587
  #
457
588
  # @!attribute [rw] next_token
458
- # The token for the next set of results. (You received this token from
459
- # a previous call.)
589
+ # If you received a `NextToken` from a previous call that was
590
+ # paginated, provide this token to receive the next set of results.
460
591
  # @return [String]
461
592
  #
462
593
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectoriesRequest AWS API Documentation
@@ -472,9 +603,8 @@ module Aws::WorkSpaces
472
603
  # @return [Array<Types::WorkspaceDirectory>]
473
604
  #
474
605
  # @!attribute [rw] next_token
475
- # The token to use to retrieve the next set of results, or null if
476
- # there are no more results available. This token is valid for one day
477
- # and must be used within that time frame.
606
+ # The token to use to retrieve the next set of results, or null if no
607
+ # more results are available.
478
608
  # @return [String]
479
609
  #
480
610
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceDirectoriesResult AWS API Documentation
@@ -485,6 +615,54 @@ module Aws::WorkSpaces
485
615
  include Aws::Structure
486
616
  end
487
617
 
618
+ # @note When making an API call, you may pass DescribeWorkspaceImagesRequest
619
+ # data as a hash:
620
+ #
621
+ # {
622
+ # image_ids: ["WorkspaceImageId"],
623
+ # next_token: "PaginationToken",
624
+ # max_results: 1,
625
+ # }
626
+ #
627
+ # @!attribute [rw] image_ids
628
+ # The identifier of the image.
629
+ # @return [Array<String>]
630
+ #
631
+ # @!attribute [rw] next_token
632
+ # If you received a `NextToken` from a previous call that was
633
+ # paginated, provide this token to receive the next set of results.
634
+ # @return [String]
635
+ #
636
+ # @!attribute [rw] max_results
637
+ # The maximum number of items to return.
638
+ # @return [Integer]
639
+ #
640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagesRequest AWS API Documentation
641
+ #
642
+ class DescribeWorkspaceImagesRequest < Struct.new(
643
+ :image_ids,
644
+ :next_token,
645
+ :max_results)
646
+ include Aws::Structure
647
+ end
648
+
649
+ # @!attribute [rw] images
650
+ # Information about the images.
651
+ # @return [Array<Types::WorkspaceImage>]
652
+ #
653
+ # @!attribute [rw] next_token
654
+ # The token to use to retrieve the next set of results, or null if no
655
+ # more results are available.
656
+ # @return [String]
657
+ #
658
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspaceImagesResult AWS API Documentation
659
+ #
660
+ class DescribeWorkspaceImagesResult < Struct.new(
661
+ :images,
662
+ :next_token)
663
+ include Aws::Structure
664
+ end
665
+
488
666
  # @note When making an API call, you may pass DescribeWorkspacesConnectionStatusRequest
489
667
  # data as a hash:
490
668
  #
@@ -499,8 +677,8 @@ module Aws::WorkSpaces
499
677
  # @return [Array<String>]
500
678
  #
501
679
  # @!attribute [rw] next_token
502
- # The token for the next set of results. (You received this token from
503
- # a previous call.)
680
+ # If you received a `NextToken` from a previous call that was
681
+ # paginated, provide this token to receive the next set of results.
504
682
  # @return [String]
505
683
  #
506
684
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatusRequest AWS API Documentation
@@ -516,8 +694,8 @@ module Aws::WorkSpaces
516
694
  # @return [Array<Types::WorkspaceConnectionStatus>]
517
695
  #
518
696
  # @!attribute [rw] next_token
519
- # The token to use to retrieve the next set of results, or null if
520
- # there are no more results available.
697
+ # The token to use to retrieve the next set of results, or null if no
698
+ # more results are available.
521
699
  # @return [String]
522
700
  #
523
701
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesConnectionStatusResult AWS API Documentation
@@ -541,8 +719,8 @@ module Aws::WorkSpaces
541
719
  # }
542
720
  #
543
721
  # @!attribute [rw] workspace_ids
544
- # The IDs of the WorkSpaces. This parameter cannot be combined with
545
- # any other filter.
722
+ # The identifiers of the WorkSpaces. You cannot combine this parameter
723
+ # with any other filter.
546
724
  #
547
725
  # Because the CreateWorkspaces operation is asynchronous, the
548
726
  # identifier it returns is not immediately available. If you
@@ -551,9 +729,9 @@ module Aws::WorkSpaces
551
729
  # @return [Array<String>]
552
730
  #
553
731
  # @!attribute [rw] directory_id
554
- # The ID of the directory. In addition, you can optionally specify a
555
- # specific directory user (see `UserName`). This parameter cannot be
556
- # combined with any other filter.
732
+ # The identifier of the directory. In addition, you can optionally
733
+ # specify a specific directory user (see `UserName`). You cannot
734
+ # combine this parameter with any other filter.
557
735
  # @return [String]
558
736
  #
559
737
  # @!attribute [rw] user_name
@@ -562,9 +740,9 @@ module Aws::WorkSpaces
562
740
  # @return [String]
563
741
  #
564
742
  # @!attribute [rw] bundle_id
565
- # The ID of the bundle. All WorkSpaces that are created from this
566
- # bundle are retrieved. This parameter cannot be combined with any
567
- # other filter.
743
+ # The identifier of the bundle. All WorkSpaces that are created from
744
+ # this bundle are retrieved. You cannot combine this parameter with
745
+ # any other filter.
568
746
  # @return [String]
569
747
  #
570
748
  # @!attribute [rw] limit
@@ -572,8 +750,8 @@ module Aws::WorkSpaces
572
750
  # @return [Integer]
573
751
  #
574
752
  # @!attribute [rw] next_token
575
- # The token for the next set of results. (You received this token from
576
- # a previous call.)
753
+ # If you received a `NextToken` from a previous call that was
754
+ # paginated, provide this token to receive the next set of results.
577
755
  # @return [String]
578
756
  #
579
757
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesRequest AWS API Documentation
@@ -596,9 +774,8 @@ module Aws::WorkSpaces
596
774
  # @return [Array<Types::Workspace>]
597
775
  #
598
776
  # @!attribute [rw] next_token
599
- # The token to use to retrieve the next set of results, or null if
600
- # there are no more results available. This token is valid for one day
601
- # and must be used within that time frame.
777
+ # The token to use to retrieve the next set of results, or null if no
778
+ # more results are available.
602
779
  # @return [String]
603
780
  #
604
781
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DescribeWorkspacesResult AWS API Documentation
@@ -618,11 +795,11 @@ module Aws::WorkSpaces
618
795
  # }
619
796
  #
620
797
  # @!attribute [rw] directory_id
621
- # The ID of the directory.
798
+ # The identifier of the directory.
622
799
  # @return [String]
623
800
  #
624
801
  # @!attribute [rw] group_ids
625
- # The IDs of one or more IP access control groups.
802
+ # The identifiers of one or more IP access control groups.
626
803
  # @return [Array<String>]
627
804
  #
628
805
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/DisassociateIpGroupsRequest AWS API Documentation
@@ -637,18 +814,19 @@ module Aws::WorkSpaces
637
814
  #
638
815
  class DisassociateIpGroupsResult < Aws::EmptyStructure; end
639
816
 
640
- # Information about a WorkSpace that could not be created.
817
+ # Describes a WorkSpace that cannot be created.
641
818
  #
642
819
  # @!attribute [rw] workspace_request
643
820
  # Information about the WorkSpace.
644
821
  # @return [Types::WorkspaceRequest]
645
822
  #
646
823
  # @!attribute [rw] error_code
647
- # The error code.
824
+ # The error code that is returned if the WorkSpace cannot be created.
648
825
  # @return [String]
649
826
  #
650
827
  # @!attribute [rw] error_message
651
- # The textual error message.
828
+ # The text of the error message that is returned if the WorkSpace
829
+ # cannot be created.
652
830
  # @return [String]
653
831
  #
654
832
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/FailedCreateWorkspaceRequest AWS API Documentation
@@ -660,21 +838,21 @@ module Aws::WorkSpaces
660
838
  include Aws::Structure
661
839
  end
662
840
 
663
- # Information about a WorkSpace that could not be rebooted
664
- # (RebootWorkspaces), rebuilt (RebuildWorkspaces), terminated
665
- # (TerminateWorkspaces), started (StartWorkspaces), or stopped
666
- # (StopWorkspaces).
841
+ # Describes a WorkSpace that could not be rebooted. (RebootWorkspaces),
842
+ # rebuilt (RebuildWorkspaces), terminated (TerminateWorkspaces), started
843
+ # (StartWorkspaces), or stopped (StopWorkspaces).
667
844
  #
668
845
  # @!attribute [rw] workspace_id
669
846
  # The identifier of the WorkSpace.
670
847
  # @return [String]
671
848
  #
672
849
  # @!attribute [rw] error_code
673
- # The error code.
850
+ # The error code that is returned if the WorkSpace cannot be rebooted.
674
851
  # @return [String]
675
852
  #
676
853
  # @!attribute [rw] error_message
677
- # The textual error message.
854
+ # The text of the error message that is returned if the WorkSpace
855
+ # cannot be rebooted.
678
856
  # @return [String]
679
857
  #
680
858
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/FailedWorkspaceChangeRequest AWS API Documentation
@@ -686,7 +864,54 @@ module Aws::WorkSpaces
686
864
  include Aws::Structure
687
865
  end
688
866
 
689
- # Information about a rule for an IP access control group.
867
+ # @note When making an API call, you may pass ImportWorkspaceImageRequest
868
+ # data as a hash:
869
+ #
870
+ # {
871
+ # ec2_image_id: "Ec2ImageId", # required
872
+ # ingestion_process: "BYOL_REGULAR", # required, accepts BYOL_REGULAR, BYOL_GRAPHICS, BYOL_GRAPHICSPRO
873
+ # image_name: "WorkspaceImageName", # required
874
+ # image_description: "WorkspaceImageDescription", # required
875
+ # }
876
+ #
877
+ # @!attribute [rw] ec2_image_id
878
+ # The identifier of the EC2 image.
879
+ # @return [String]
880
+ #
881
+ # @!attribute [rw] ingestion_process
882
+ # The ingestion process to be used when importing the image.
883
+ # @return [String]
884
+ #
885
+ # @!attribute [rw] image_name
886
+ # The name of the WorkSpace image.
887
+ # @return [String]
888
+ #
889
+ # @!attribute [rw] image_description
890
+ # The description of the WorkSpace image.
891
+ # @return [String]
892
+ #
893
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportWorkspaceImageRequest AWS API Documentation
894
+ #
895
+ class ImportWorkspaceImageRequest < Struct.new(
896
+ :ec2_image_id,
897
+ :ingestion_process,
898
+ :image_name,
899
+ :image_description)
900
+ include Aws::Structure
901
+ end
902
+
903
+ # @!attribute [rw] image_id
904
+ # The identifier of the WorkSpace image.
905
+ # @return [String]
906
+ #
907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ImportWorkspaceImageResult AWS API Documentation
908
+ #
909
+ class ImportWorkspaceImageResult < Struct.new(
910
+ :image_id)
911
+ include Aws::Structure
912
+ end
913
+
914
+ # Describes a rule for an IP access control group.
690
915
  #
691
916
  # @note When making an API call, you may pass IpRuleItem
692
917
  # data as a hash:
@@ -712,7 +937,58 @@ module Aws::WorkSpaces
712
937
  include Aws::Structure
713
938
  end
714
939
 
715
- # Information about a WorkSpace modification.
940
+ # @note When making an API call, you may pass ListAvailableManagementCidrRangesRequest
941
+ # data as a hash:
942
+ #
943
+ # {
944
+ # management_cidr_range_constraint: "ManagementCidrRangeConstraint", # required
945
+ # max_results: 1,
946
+ # next_token: "PaginationToken",
947
+ # }
948
+ #
949
+ # @!attribute [rw] management_cidr_range_constraint
950
+ # The IP address range to search. Specify an IP address range that is
951
+ # compatible with your network and in CIDR notation (that is, specify
952
+ # the range as an IPv4 CIDR block).
953
+ # @return [String]
954
+ #
955
+ # @!attribute [rw] max_results
956
+ # The maximum number of items to return.
957
+ # @return [Integer]
958
+ #
959
+ # @!attribute [rw] next_token
960
+ # If you received a `NextToken` from a previous call that was
961
+ # paginated, provide this token to receive the next set of results.
962
+ # @return [String]
963
+ #
964
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAvailableManagementCidrRangesRequest AWS API Documentation
965
+ #
966
+ class ListAvailableManagementCidrRangesRequest < Struct.new(
967
+ :management_cidr_range_constraint,
968
+ :max_results,
969
+ :next_token)
970
+ include Aws::Structure
971
+ end
972
+
973
+ # @!attribute [rw] management_cidr_ranges
974
+ # The list of available IP address ranges, specified as IPv4 CIDR
975
+ # blocks.
976
+ # @return [Array<String>]
977
+ #
978
+ # @!attribute [rw] next_token
979
+ # The token to use to retrieve the next set of results, or null if no
980
+ # more results are available.
981
+ # @return [String]
982
+ #
983
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ListAvailableManagementCidrRangesResult AWS API Documentation
984
+ #
985
+ class ListAvailableManagementCidrRangesResult < Struct.new(
986
+ :management_cidr_ranges,
987
+ :next_token)
988
+ include Aws::Structure
989
+ end
990
+
991
+ # Describes a WorkSpace modification.
716
992
  #
717
993
  # @!attribute [rw] resource
718
994
  # The resource.
@@ -730,6 +1006,39 @@ module Aws::WorkSpaces
730
1006
  include Aws::Structure
731
1007
  end
732
1008
 
1009
+ # @note When making an API call, you may pass ModifyAccountRequest
1010
+ # data as a hash:
1011
+ #
1012
+ # {
1013
+ # dedicated_tenancy_support: "ENABLED", # accepts ENABLED
1014
+ # dedicated_tenancy_management_cidr_range: "DedicatedTenancyManagementCidrRange",
1015
+ # }
1016
+ #
1017
+ # @!attribute [rw] dedicated_tenancy_support
1018
+ # The status of BYOL.
1019
+ # @return [String]
1020
+ #
1021
+ # @!attribute [rw] dedicated_tenancy_management_cidr_range
1022
+ # The IP address range, specified as an IPv4 CIDR block, for the
1023
+ # management network interface. Specify an IP address range that is
1024
+ # compatible with your network and in CIDR notation (that is, specify
1025
+ # the range as an IPv4 CIDR block). The CIDR block size must be /16
1026
+ # (for example, 203.0.113.25/16). It must also be specified as
1027
+ # available by the `ListAvailableManagementCidrRanges` operation.
1028
+ # @return [String]
1029
+ #
1030
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyAccountRequest AWS API Documentation
1031
+ #
1032
+ class ModifyAccountRequest < Struct.new(
1033
+ :dedicated_tenancy_support,
1034
+ :dedicated_tenancy_management_cidr_range)
1035
+ include Aws::Structure
1036
+ end
1037
+
1038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/ModifyAccountResult AWS API Documentation
1039
+ #
1040
+ class ModifyAccountResult < Aws::EmptyStructure; end
1041
+
733
1042
  # @note When making an API call, you may pass ModifyWorkspacePropertiesRequest
734
1043
  # data as a hash:
735
1044
  #
@@ -745,7 +1054,7 @@ module Aws::WorkSpaces
745
1054
  # }
746
1055
  #
747
1056
  # @!attribute [rw] workspace_id
748
- # The ID of the WorkSpace.
1057
+ # The identifier of the WorkSpace.
749
1058
  # @return [String]
750
1059
  #
751
1060
  # @!attribute [rw] workspace_properties
@@ -773,7 +1082,7 @@ module Aws::WorkSpaces
773
1082
  # }
774
1083
  #
775
1084
  # @!attribute [rw] workspace_id
776
- # The ID of the WorkSpace.
1085
+ # The identifier of the WorkSpace.
777
1086
  # @return [String]
778
1087
  #
779
1088
  # @!attribute [rw] workspace_state
@@ -792,7 +1101,20 @@ module Aws::WorkSpaces
792
1101
  #
793
1102
  class ModifyWorkspaceStateResult < Aws::EmptyStructure; end
794
1103
 
795
- # Information used to reboot a WorkSpace.
1104
+ # The operating system that the image is running.
1105
+ #
1106
+ # @!attribute [rw] type
1107
+ # The operating system.
1108
+ # @return [String]
1109
+ #
1110
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/OperatingSystem AWS API Documentation
1111
+ #
1112
+ class OperatingSystem < Struct.new(
1113
+ :type)
1114
+ include Aws::Structure
1115
+ end
1116
+
1117
+ # Describes the information used to reboot a WorkSpace.
796
1118
  #
797
1119
  # @note When making an API call, you may pass RebootRequest
798
1120
  # data as a hash:
@@ -802,7 +1124,7 @@ module Aws::WorkSpaces
802
1124
  # }
803
1125
  #
804
1126
  # @!attribute [rw] workspace_id
805
- # The ID of the WorkSpace.
1127
+ # The identifier of the WorkSpace.
806
1128
  # @return [String]
807
1129
  #
808
1130
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebootRequest AWS API Documentation
@@ -845,7 +1167,7 @@ module Aws::WorkSpaces
845
1167
  include Aws::Structure
846
1168
  end
847
1169
 
848
- # Information used to rebuild a WorkSpace.
1170
+ # Describes the information used to rebuild a WorkSpace.
849
1171
  #
850
1172
  # @note When making an API call, you may pass RebuildRequest
851
1173
  # data as a hash:
@@ -855,7 +1177,7 @@ module Aws::WorkSpaces
855
1177
  # }
856
1178
  #
857
1179
  # @!attribute [rw] workspace_id
858
- # The ID of the WorkSpace.
1180
+ # The identifier of the WorkSpace.
859
1181
  # @return [String]
860
1182
  #
861
1183
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildRequest AWS API Documentation
@@ -888,7 +1210,7 @@ module Aws::WorkSpaces
888
1210
  end
889
1211
 
890
1212
  # @!attribute [rw] failed_requests
891
- # Information about the WorkSpace if it could not be rebuilt.
1213
+ # Information about the WorkSpace that could not be rebuilt.
892
1214
  # @return [Array<Types::FailedWorkspaceChangeRequest>]
893
1215
  #
894
1216
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/RebuildWorkspacesResult AWS API Documentation
@@ -907,7 +1229,7 @@ module Aws::WorkSpaces
907
1229
  # }
908
1230
  #
909
1231
  # @!attribute [rw] group_id
910
- # The ID of the group.
1232
+ # The identifier of the group.
911
1233
  # @return [String]
912
1234
  #
913
1235
  # @!attribute [rw] user_rules
@@ -926,7 +1248,7 @@ module Aws::WorkSpaces
926
1248
  #
927
1249
  class RevokeIpRulesResult < Aws::EmptyStructure; end
928
1250
 
929
- # Information about the root volume for a WorkSpace bundle.
1251
+ # Describes the root volume for a WorkSpace bundle.
930
1252
  #
931
1253
  # @!attribute [rw] capacity
932
1254
  # The size of the root volume.
@@ -949,7 +1271,7 @@ module Aws::WorkSpaces
949
1271
  # }
950
1272
  #
951
1273
  # @!attribute [rw] workspace_id
952
- # The ID of the WorkSpace.
1274
+ # The identifier of the WorkSpace.
953
1275
  # @return [String]
954
1276
  #
955
1277
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StartRequest AWS API Documentation
@@ -992,7 +1314,7 @@ module Aws::WorkSpaces
992
1314
  include Aws::Structure
993
1315
  end
994
1316
 
995
- # Information used to stop a WorkSpace.
1317
+ # Describes the information used to stop a WorkSpace.
996
1318
  #
997
1319
  # @note When making an API call, you may pass StopRequest
998
1320
  # data as a hash:
@@ -1002,7 +1324,7 @@ module Aws::WorkSpaces
1002
1324
  # }
1003
1325
  #
1004
1326
  # @!attribute [rw] workspace_id
1005
- # The ID of the WorkSpace.
1327
+ # The identifier of the WorkSpace.
1006
1328
  # @return [String]
1007
1329
  #
1008
1330
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/StopRequest AWS API Documentation
@@ -1045,7 +1367,7 @@ module Aws::WorkSpaces
1045
1367
  include Aws::Structure
1046
1368
  end
1047
1369
 
1048
- # Information about a tag.
1370
+ # Describes a tag.
1049
1371
  #
1050
1372
  # @note When making an API call, you may pass Tag
1051
1373
  # data as a hash:
@@ -1071,7 +1393,7 @@ module Aws::WorkSpaces
1071
1393
  include Aws::Structure
1072
1394
  end
1073
1395
 
1074
- # Information used to terminate a WorkSpace.
1396
+ # Describes the information used to terminate a WorkSpace.
1075
1397
  #
1076
1398
  # @note When making an API call, you may pass TerminateRequest
1077
1399
  # data as a hash:
@@ -1081,7 +1403,7 @@ module Aws::WorkSpaces
1081
1403
  # }
1082
1404
  #
1083
1405
  # @!attribute [rw] workspace_id
1084
- # The ID of the WorkSpace.
1406
+ # The identifier of the WorkSpace.
1085
1407
  # @return [String]
1086
1408
  #
1087
1409
  # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/TerminateRequest AWS API Documentation
@@ -1138,7 +1460,7 @@ module Aws::WorkSpaces
1138
1460
  # }
1139
1461
  #
1140
1462
  # @!attribute [rw] group_id
1141
- # The ID of the group.
1463
+ # The identifier of the group.
1142
1464
  # @return [String]
1143
1465
  #
1144
1466
  # @!attribute [rw] user_rules
@@ -1157,7 +1479,7 @@ module Aws::WorkSpaces
1157
1479
  #
1158
1480
  class UpdateRulesOfIpGroupResult < Aws::EmptyStructure; end
1159
1481
 
1160
- # Information about the user storage for a WorkSpace bundle.
1482
+ # Describes the user storage for a WorkSpace bundle.
1161
1483
  #
1162
1484
  # @!attribute [rw] capacity
1163
1485
  # The size of the user storage.
@@ -1170,7 +1492,7 @@ module Aws::WorkSpaces
1170
1492
  include Aws::Structure
1171
1493
  end
1172
1494
 
1173
- # Information about a WorkSpace.
1495
+ # Describes a WorkSpace.
1174
1496
  #
1175
1497
  # @!attribute [rw] workspace_id
1176
1498
  # The identifier of the WorkSpace.
@@ -1202,12 +1524,12 @@ module Aws::WorkSpaces
1202
1524
  # @return [String]
1203
1525
  #
1204
1526
  # @!attribute [rw] error_message
1205
- # If the WorkSpace could not be created, contains a textual error
1206
- # message that describes the failure.
1527
+ # The text of the error message that is returned if the WorkSpace
1528
+ # cannot be created.
1207
1529
  # @return [String]
1208
1530
  #
1209
1531
  # @!attribute [rw] error_code
1210
- # If the WorkSpace could not be created, contains the error code.
1532
+ # The error code that is returned if the WorkSpace cannot be created.
1211
1533
  # @return [String]
1212
1534
  #
1213
1535
  # @!attribute [rw] computer_name
@@ -1255,7 +1577,7 @@ module Aws::WorkSpaces
1255
1577
  include Aws::Structure
1256
1578
  end
1257
1579
 
1258
- # Information about a WorkSpace bundle.
1580
+ # Describes a WorkSpace bundle.
1259
1581
  #
1260
1582
  # @!attribute [rw] bundle_id
1261
1583
  # The bundle identifier.
@@ -1307,7 +1629,7 @@ module Aws::WorkSpaces
1307
1629
  # Describes the connection status of a WorkSpace.
1308
1630
  #
1309
1631
  # @!attribute [rw] workspace_id
1310
- # The ID of the WorkSpace.
1632
+ # The identifier of the WorkSpace.
1311
1633
  # @return [String]
1312
1634
  #
1313
1635
  # @!attribute [rw] connection_state
@@ -1316,7 +1638,7 @@ module Aws::WorkSpaces
1316
1638
  # @return [String]
1317
1639
  #
1318
1640
  # @!attribute [rw] connection_state_check_timestamp
1319
- # The timestamp of the connection state check.
1641
+ # The timestamp of the connection status check.
1320
1642
  # @return [Time]
1321
1643
  #
1322
1644
  # @!attribute [rw] last_known_user_connection_timestamp
@@ -1333,8 +1655,8 @@ module Aws::WorkSpaces
1333
1655
  include Aws::Structure
1334
1656
  end
1335
1657
 
1336
- # Information about an AWS Directory Service directory for use with
1337
- # Amazon WorkSpaces.
1658
+ # Describes an AWS Directory Service directory that is used with Amazon
1659
+ # WorkSpaces.
1338
1660
  #
1339
1661
  # @!attribute [rw] directory_id
1340
1662
  # The directory identifier.
@@ -1413,7 +1735,57 @@ module Aws::WorkSpaces
1413
1735
  include Aws::Structure
1414
1736
  end
1415
1737
 
1416
- # Information about a WorkSpace.
1738
+ # Describes a WorkSpace image.
1739
+ #
1740
+ # @!attribute [rw] image_id
1741
+ # The identifier of the image.
1742
+ # @return [String]
1743
+ #
1744
+ # @!attribute [rw] name
1745
+ # The name of the image.
1746
+ # @return [String]
1747
+ #
1748
+ # @!attribute [rw] description
1749
+ # The description of the image.
1750
+ # @return [String]
1751
+ #
1752
+ # @!attribute [rw] operating_system
1753
+ # The operating system that the image is running.
1754
+ # @return [Types::OperatingSystem]
1755
+ #
1756
+ # @!attribute [rw] state
1757
+ # The status of the image.
1758
+ # @return [String]
1759
+ #
1760
+ # @!attribute [rw] required_tenancy
1761
+ # Specifies whether the image is running on dedicated hardware. When
1762
+ # bring your own license (BYOL) is enabled, this value is set to
1763
+ # DEDICATED.
1764
+ # @return [String]
1765
+ #
1766
+ # @!attribute [rw] error_code
1767
+ # The error code that is returned for the image.
1768
+ # @return [String]
1769
+ #
1770
+ # @!attribute [rw] error_message
1771
+ # The text of the error message that is returned for the image.
1772
+ # @return [String]
1773
+ #
1774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-2015-04-08/WorkspaceImage AWS API Documentation
1775
+ #
1776
+ class WorkspaceImage < Struct.new(
1777
+ :image_id,
1778
+ :name,
1779
+ :description,
1780
+ :operating_system,
1781
+ :state,
1782
+ :required_tenancy,
1783
+ :error_code,
1784
+ :error_message)
1785
+ include Aws::Structure
1786
+ end
1787
+
1788
+ # Describes a WorkSpace.
1417
1789
  #
1418
1790
  # @note When making an API call, you may pass WorkspaceProperties
1419
1791
  # data as a hash:
@@ -1468,7 +1840,7 @@ module Aws::WorkSpaces
1468
1840
  include Aws::Structure
1469
1841
  end
1470
1842
 
1471
- # Information used to create a WorkSpace.
1843
+ # Describes the information used to create a WorkSpace.
1472
1844
  #
1473
1845
  # @note When making an API call, you may pass WorkspaceRequest
1474
1846
  # data as a hash:
@@ -1545,10 +1917,10 @@ module Aws::WorkSpaces
1545
1917
  include Aws::Structure
1546
1918
  end
1547
1919
 
1548
- # Information about an IP access control group.
1920
+ # Describes an IP access control group.
1549
1921
  #
1550
1922
  # @!attribute [rw] group_id
1551
- # The ID of the group.
1923
+ # The identifier of the group.
1552
1924
  # @return [String]
1553
1925
  #
1554
1926
  # @!attribute [rw] group_name