aws-sdk-workspaces 1.99.0 → 1.101.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-workspaces/client.rb +236 -3
- data/lib/aws-sdk-workspaces/client_api.rb +166 -0
- data/lib/aws-sdk-workspaces/endpoints.rb +84 -0
- data/lib/aws-sdk-workspaces/errors.rb +48 -0
- data/lib/aws-sdk-workspaces/plugins/endpoints.rb +12 -0
- data/lib/aws-sdk-workspaces/types.rb +304 -1
- data/lib/aws-sdk-workspaces.rb +2 -2
- data/sig/client.rbs +69 -0
- data/sig/errors.rbs +9 -0
- data/sig/types.rbs +92 -0
- metadata +2 -2
@@ -14,8 +14,13 @@ module Aws::WorkSpaces
|
|
14
14
|
include Seahorse::Model
|
15
15
|
|
16
16
|
ARN = Shapes::StringShape.new(name: 'ARN')
|
17
|
+
AcceptAccountLinkInvitationRequest = Shapes::StructureShape.new(name: 'AcceptAccountLinkInvitationRequest')
|
18
|
+
AcceptAccountLinkInvitationResult = Shapes::StructureShape.new(name: 'AcceptAccountLinkInvitationResult')
|
17
19
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
18
20
|
AccessPropertyValue = Shapes::StringShape.new(name: 'AccessPropertyValue')
|
21
|
+
AccountLink = Shapes::StructureShape.new(name: 'AccountLink')
|
22
|
+
AccountLinkList = Shapes::ListShape.new(name: 'AccountLinkList')
|
23
|
+
AccountLinkStatusEnum = Shapes::StringShape.new(name: 'AccountLinkStatusEnum')
|
19
24
|
AccountModification = Shapes::StructureShape.new(name: 'AccountModification')
|
20
25
|
AccountModificationList = Shapes::ListShape.new(name: 'AccountModificationList')
|
21
26
|
AddInName = Shapes::StringShape.new(name: 'AddInName')
|
@@ -63,12 +68,14 @@ module Aws::WorkSpaces
|
|
63
68
|
ClientProperties = Shapes::StructureShape.new(name: 'ClientProperties')
|
64
69
|
ClientPropertiesList = Shapes::ListShape.new(name: 'ClientPropertiesList')
|
65
70
|
ClientPropertiesResult = Shapes::StructureShape.new(name: 'ClientPropertiesResult')
|
71
|
+
ClientToken = Shapes::StringShape.new(name: 'ClientToken')
|
66
72
|
ClientUrl = Shapes::StringShape.new(name: 'ClientUrl')
|
67
73
|
Compute = Shapes::StringShape.new(name: 'Compute')
|
68
74
|
ComputeList = Shapes::ListShape.new(name: 'ComputeList')
|
69
75
|
ComputeNotCompatibleException = Shapes::StructureShape.new(name: 'ComputeNotCompatibleException')
|
70
76
|
ComputeType = Shapes::StructureShape.new(name: 'ComputeType')
|
71
77
|
ComputerName = Shapes::StringShape.new(name: 'ComputerName')
|
78
|
+
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
72
79
|
ConnectClientAddIn = Shapes::StructureShape.new(name: 'ConnectClientAddIn')
|
73
80
|
ConnectClientAddInList = Shapes::ListShape.new(name: 'ConnectClientAddInList')
|
74
81
|
ConnectionAlias = Shapes::StructureShape.new(name: 'ConnectionAlias')
|
@@ -85,6 +92,8 @@ module Aws::WorkSpaces
|
|
85
92
|
ConnectionString = Shapes::StringShape.new(name: 'ConnectionString')
|
86
93
|
CopyWorkspaceImageRequest = Shapes::StructureShape.new(name: 'CopyWorkspaceImageRequest')
|
87
94
|
CopyWorkspaceImageResult = Shapes::StructureShape.new(name: 'CopyWorkspaceImageResult')
|
95
|
+
CreateAccountLinkInvitationRequest = Shapes::StructureShape.new(name: 'CreateAccountLinkInvitationRequest')
|
96
|
+
CreateAccountLinkInvitationResult = Shapes::StructureShape.new(name: 'CreateAccountLinkInvitationResult')
|
88
97
|
CreateConnectClientAddInRequest = Shapes::StructureShape.new(name: 'CreateConnectClientAddInRequest')
|
89
98
|
CreateConnectClientAddInResult = Shapes::StructureShape.new(name: 'CreateConnectClientAddInResult')
|
90
99
|
CreateConnectionAliasRequest = Shapes::StructureShape.new(name: 'CreateConnectionAliasRequest')
|
@@ -105,6 +114,7 @@ module Aws::WorkSpaces
|
|
105
114
|
CreateWorkspacesResult = Shapes::StructureShape.new(name: 'CreateWorkspacesResult')
|
106
115
|
DataReplication = Shapes::StringShape.new(name: 'DataReplication')
|
107
116
|
DataReplicationSettings = Shapes::StructureShape.new(name: 'DataReplicationSettings')
|
117
|
+
DedicatedTenancyAccountType = Shapes::StringShape.new(name: 'DedicatedTenancyAccountType')
|
108
118
|
DedicatedTenancyCidrRangeList = Shapes::ListShape.new(name: 'DedicatedTenancyCidrRangeList')
|
109
119
|
DedicatedTenancyManagementCidrRange = Shapes::StringShape.new(name: 'DedicatedTenancyManagementCidrRange')
|
110
120
|
DedicatedTenancyModificationStateEnum = Shapes::StringShape.new(name: 'DedicatedTenancyModificationStateEnum')
|
@@ -119,6 +129,8 @@ module Aws::WorkSpaces
|
|
119
129
|
DeletableCertificateBasedAuthProperty = Shapes::StringShape.new(name: 'DeletableCertificateBasedAuthProperty')
|
120
130
|
DeletableSamlPropertiesList = Shapes::ListShape.new(name: 'DeletableSamlPropertiesList')
|
121
131
|
DeletableSamlProperty = Shapes::StringShape.new(name: 'DeletableSamlProperty')
|
132
|
+
DeleteAccountLinkInvitationRequest = Shapes::StructureShape.new(name: 'DeleteAccountLinkInvitationRequest')
|
133
|
+
DeleteAccountLinkInvitationResult = Shapes::StructureShape.new(name: 'DeleteAccountLinkInvitationResult')
|
122
134
|
DeleteClientBrandingRequest = Shapes::StructureShape.new(name: 'DeleteClientBrandingRequest')
|
123
135
|
DeleteClientBrandingResult = Shapes::StructureShape.new(name: 'DeleteClientBrandingResult')
|
124
136
|
DeleteConnectClientAddInRequest = Shapes::StructureShape.new(name: 'DeleteConnectClientAddInRequest')
|
@@ -207,6 +219,8 @@ module Aws::WorkSpaces
|
|
207
219
|
FailedStopWorkspaceRequests = Shapes::ListShape.new(name: 'FailedStopWorkspaceRequests')
|
208
220
|
FailedTerminateWorkspaceRequests = Shapes::ListShape.new(name: 'FailedTerminateWorkspaceRequests')
|
209
221
|
FailedWorkspaceChangeRequest = Shapes::StructureShape.new(name: 'FailedWorkspaceChangeRequest')
|
222
|
+
GetAccountLinkRequest = Shapes::StructureShape.new(name: 'GetAccountLinkRequest')
|
223
|
+
GetAccountLinkResult = Shapes::StructureShape.new(name: 'GetAccountLinkResult')
|
210
224
|
ImageAssociatedResourceType = Shapes::StringShape.new(name: 'ImageAssociatedResourceType')
|
211
225
|
ImageAssociatedResourceTypeList = Shapes::ListShape.new(name: 'ImageAssociatedResourceTypeList')
|
212
226
|
ImagePermission = Shapes::StructureShape.new(name: 'ImagePermission')
|
@@ -219,6 +233,7 @@ module Aws::WorkSpaces
|
|
219
233
|
ImportWorkspaceImageRequest = Shapes::StructureShape.new(name: 'ImportWorkspaceImageRequest')
|
220
234
|
ImportWorkspaceImageResult = Shapes::StructureShape.new(name: 'ImportWorkspaceImageResult')
|
221
235
|
IncompatibleApplicationsException = Shapes::StructureShape.new(name: 'IncompatibleApplicationsException')
|
236
|
+
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
222
237
|
InvalidParameterValuesException = Shapes::StructureShape.new(name: 'InvalidParameterValuesException')
|
223
238
|
InvalidResourceStateException = Shapes::StructureShape.new(name: 'InvalidResourceStateException')
|
224
239
|
Ios2XLogo = Shapes::BlobShape.new(name: 'Ios2XLogo')
|
@@ -237,6 +252,10 @@ module Aws::WorkSpaces
|
|
237
252
|
IpRuleItem = Shapes::StructureShape.new(name: 'IpRuleItem')
|
238
253
|
IpRuleList = Shapes::ListShape.new(name: 'IpRuleList')
|
239
254
|
Limit = Shapes::IntegerShape.new(name: 'Limit')
|
255
|
+
LinkId = Shapes::StringShape.new(name: 'LinkId')
|
256
|
+
LinkStatusFilterList = Shapes::ListShape.new(name: 'LinkStatusFilterList')
|
257
|
+
ListAccountLinksRequest = Shapes::StructureShape.new(name: 'ListAccountLinksRequest')
|
258
|
+
ListAccountLinksResult = Shapes::StructureShape.new(name: 'ListAccountLinksResult')
|
240
259
|
ListAvailableManagementCidrRangesRequest = Shapes::StructureShape.new(name: 'ListAvailableManagementCidrRangesRequest')
|
241
260
|
ListAvailableManagementCidrRangesResult = Shapes::StructureShape.new(name: 'ListAvailableManagementCidrRangesResult')
|
242
261
|
LogUploadEnum = Shapes::StringShape.new(name: 'LogUploadEnum')
|
@@ -293,6 +312,8 @@ module Aws::WorkSpaces
|
|
293
312
|
RegisterWorkspaceDirectoryRequest = Shapes::StructureShape.new(name: 'RegisterWorkspaceDirectoryRequest')
|
294
313
|
RegisterWorkspaceDirectoryResult = Shapes::StructureShape.new(name: 'RegisterWorkspaceDirectoryResult')
|
295
314
|
RegistrationCode = Shapes::StringShape.new(name: 'RegistrationCode')
|
315
|
+
RejectAccountLinkInvitationRequest = Shapes::StructureShape.new(name: 'RejectAccountLinkInvitationRequest')
|
316
|
+
RejectAccountLinkInvitationResult = Shapes::StructureShape.new(name: 'RejectAccountLinkInvitationResult')
|
296
317
|
RelatedWorkspaceProperties = Shapes::StructureShape.new(name: 'RelatedWorkspaceProperties')
|
297
318
|
RelatedWorkspaces = Shapes::ListShape.new(name: 'RelatedWorkspaces')
|
298
319
|
ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
|
@@ -363,6 +384,7 @@ module Aws::WorkSpaces
|
|
363
384
|
UserName = Shapes::StringShape.new(name: 'UserName')
|
364
385
|
UserStorage = Shapes::StructureShape.new(name: 'UserStorage')
|
365
386
|
UserVolumeSizeGib = Shapes::IntegerShape.new(name: 'UserVolumeSizeGib')
|
387
|
+
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
366
388
|
VolumeEncryptionKey = Shapes::StringShape.new(name: 'VolumeEncryptionKey')
|
367
389
|
WorkSpaceApplication = Shapes::StructureShape.new(name: 'WorkSpaceApplication')
|
368
390
|
WorkSpaceApplicationDeployment = Shapes::StructureShape.new(name: 'WorkSpaceApplicationDeployment')
|
@@ -412,9 +434,24 @@ module Aws::WorkSpaces
|
|
412
434
|
WorkspacesIpGroup = Shapes::StructureShape.new(name: 'WorkspacesIpGroup')
|
413
435
|
WorkspacesIpGroupsList = Shapes::ListShape.new(name: 'WorkspacesIpGroupsList')
|
414
436
|
|
437
|
+
AcceptAccountLinkInvitationRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: LinkId, required: true, location_name: "LinkId"))
|
438
|
+
AcceptAccountLinkInvitationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
|
439
|
+
AcceptAccountLinkInvitationRequest.struct_class = Types::AcceptAccountLinkInvitationRequest
|
440
|
+
|
441
|
+
AcceptAccountLinkInvitationResult.add_member(:account_link, Shapes::ShapeRef.new(shape: AccountLink, location_name: "AccountLink"))
|
442
|
+
AcceptAccountLinkInvitationResult.struct_class = Types::AcceptAccountLinkInvitationResult
|
443
|
+
|
415
444
|
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
416
445
|
AccessDeniedException.struct_class = Types::AccessDeniedException
|
417
446
|
|
447
|
+
AccountLink.add_member(:account_link_id, Shapes::ShapeRef.new(shape: LinkId, location_name: "AccountLinkId"))
|
448
|
+
AccountLink.add_member(:account_link_status, Shapes::ShapeRef.new(shape: AccountLinkStatusEnum, location_name: "AccountLinkStatus"))
|
449
|
+
AccountLink.add_member(:source_account_id, Shapes::ShapeRef.new(shape: AwsAccount, location_name: "SourceAccountId"))
|
450
|
+
AccountLink.add_member(:target_account_id, Shapes::ShapeRef.new(shape: AwsAccount, location_name: "TargetAccountId"))
|
451
|
+
AccountLink.struct_class = Types::AccountLink
|
452
|
+
|
453
|
+
AccountLinkList.member = Shapes::ShapeRef.new(shape: AccountLink)
|
454
|
+
|
418
455
|
AccountModification.add_member(:modification_state, Shapes::ShapeRef.new(shape: DedicatedTenancyModificationStateEnum, location_name: "ModificationState"))
|
419
456
|
AccountModification.add_member(:dedicated_tenancy_support, Shapes::ShapeRef.new(shape: DedicatedTenancySupportResultEnum, location_name: "DedicatedTenancySupport"))
|
420
457
|
AccountModification.add_member(:dedicated_tenancy_management_cidr_range, Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange, location_name: "DedicatedTenancyManagementCidrRange"))
|
@@ -512,6 +549,9 @@ module Aws::WorkSpaces
|
|
512
549
|
ComputeType.add_member(:name, Shapes::ShapeRef.new(shape: Compute, location_name: "Name"))
|
513
550
|
ComputeType.struct_class = Types::ComputeType
|
514
551
|
|
552
|
+
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
553
|
+
ConflictException.struct_class = Types::ConflictException
|
554
|
+
|
515
555
|
ConnectClientAddIn.add_member(:add_in_id, Shapes::ShapeRef.new(shape: AmazonUuid, location_name: "AddInId"))
|
516
556
|
ConnectClientAddIn.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "ResourceId"))
|
517
557
|
ConnectClientAddIn.add_member(:name, Shapes::ShapeRef.new(shape: AddInName, location_name: "Name"))
|
@@ -555,6 +595,13 @@ module Aws::WorkSpaces
|
|
555
595
|
CopyWorkspaceImageResult.add_member(:image_id, Shapes::ShapeRef.new(shape: WorkspaceImageId, location_name: "ImageId"))
|
556
596
|
CopyWorkspaceImageResult.struct_class = Types::CopyWorkspaceImageResult
|
557
597
|
|
598
|
+
CreateAccountLinkInvitationRequest.add_member(:target_account_id, Shapes::ShapeRef.new(shape: AwsAccount, required: true, location_name: "TargetAccountId"))
|
599
|
+
CreateAccountLinkInvitationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
|
600
|
+
CreateAccountLinkInvitationRequest.struct_class = Types::CreateAccountLinkInvitationRequest
|
601
|
+
|
602
|
+
CreateAccountLinkInvitationResult.add_member(:account_link, Shapes::ShapeRef.new(shape: AccountLink, location_name: "AccountLink"))
|
603
|
+
CreateAccountLinkInvitationResult.struct_class = Types::CreateAccountLinkInvitationResult
|
604
|
+
|
558
605
|
CreateConnectClientAddInRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
|
559
606
|
CreateConnectClientAddInRequest.add_member(:name, Shapes::ShapeRef.new(shape: AddInName, required: true, location_name: "Name"))
|
560
607
|
CreateConnectClientAddInRequest.add_member(:url, Shapes::ShapeRef.new(shape: AddInUrl, required: true, location_name: "URL"))
|
@@ -669,6 +716,13 @@ module Aws::WorkSpaces
|
|
669
716
|
|
670
717
|
DeletableSamlPropertiesList.member = Shapes::ShapeRef.new(shape: DeletableSamlProperty)
|
671
718
|
|
719
|
+
DeleteAccountLinkInvitationRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: LinkId, required: true, location_name: "LinkId"))
|
720
|
+
DeleteAccountLinkInvitationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
|
721
|
+
DeleteAccountLinkInvitationRequest.struct_class = Types::DeleteAccountLinkInvitationRequest
|
722
|
+
|
723
|
+
DeleteAccountLinkInvitationResult.add_member(:account_link, Shapes::ShapeRef.new(shape: AccountLink, location_name: "AccountLink"))
|
724
|
+
DeleteAccountLinkInvitationResult.struct_class = Types::DeleteAccountLinkInvitationResult
|
725
|
+
|
672
726
|
DeleteClientBrandingRequest.add_member(:resource_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "ResourceId"))
|
673
727
|
DeleteClientBrandingRequest.add_member(:platforms, Shapes::ShapeRef.new(shape: ClientDeviceTypeList, required: true, location_name: "Platforms"))
|
674
728
|
DeleteClientBrandingRequest.struct_class = Types::DeleteClientBrandingRequest
|
@@ -730,6 +784,7 @@ module Aws::WorkSpaces
|
|
730
784
|
|
731
785
|
DescribeAccountResult.add_member(:dedicated_tenancy_support, Shapes::ShapeRef.new(shape: DedicatedTenancySupportResultEnum, location_name: "DedicatedTenancySupport"))
|
732
786
|
DescribeAccountResult.add_member(:dedicated_tenancy_management_cidr_range, Shapes::ShapeRef.new(shape: DedicatedTenancyManagementCidrRange, location_name: "DedicatedTenancyManagementCidrRange"))
|
787
|
+
DescribeAccountResult.add_member(:dedicated_tenancy_account_type, Shapes::ShapeRef.new(shape: DedicatedTenancyAccountType, location_name: "DedicatedTenancyAccountType"))
|
733
788
|
DescribeAccountResult.struct_class = Types::DescribeAccountResult
|
734
789
|
|
735
790
|
DescribeApplicationAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Limit, location_name: "MaxResults"))
|
@@ -962,6 +1017,13 @@ module Aws::WorkSpaces
|
|
962
1017
|
FailedWorkspaceChangeRequest.add_member(:error_message, Shapes::ShapeRef.new(shape: Description, location_name: "ErrorMessage"))
|
963
1018
|
FailedWorkspaceChangeRequest.struct_class = Types::FailedWorkspaceChangeRequest
|
964
1019
|
|
1020
|
+
GetAccountLinkRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: LinkId, location_name: "LinkId"))
|
1021
|
+
GetAccountLinkRequest.add_member(:linked_account_id, Shapes::ShapeRef.new(shape: AwsAccount, location_name: "LinkedAccountId"))
|
1022
|
+
GetAccountLinkRequest.struct_class = Types::GetAccountLinkRequest
|
1023
|
+
|
1024
|
+
GetAccountLinkResult.add_member(:account_link, Shapes::ShapeRef.new(shape: AccountLink, location_name: "AccountLink"))
|
1025
|
+
GetAccountLinkResult.struct_class = Types::GetAccountLinkResult
|
1026
|
+
|
965
1027
|
ImageAssociatedResourceTypeList.member = Shapes::ShapeRef.new(shape: ImageAssociatedResourceType)
|
966
1028
|
|
967
1029
|
ImagePermission.add_member(:shared_account_id, Shapes::ShapeRef.new(shape: AwsAccount, location_name: "SharedAccountId"))
|
@@ -1010,6 +1072,9 @@ module Aws::WorkSpaces
|
|
1010
1072
|
|
1011
1073
|
IncompatibleApplicationsException.struct_class = Types::IncompatibleApplicationsException
|
1012
1074
|
|
1075
|
+
InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
1076
|
+
InternalServerException.struct_class = Types::InternalServerException
|
1077
|
+
|
1013
1078
|
InvalidParameterValuesException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
1014
1079
|
InvalidParameterValuesException.struct_class = Types::InvalidParameterValuesException
|
1015
1080
|
|
@@ -1044,6 +1109,17 @@ module Aws::WorkSpaces
|
|
1044
1109
|
|
1045
1110
|
IpRuleList.member = Shapes::ShapeRef.new(shape: IpRuleItem)
|
1046
1111
|
|
1112
|
+
LinkStatusFilterList.member = Shapes::ShapeRef.new(shape: AccountLinkStatusEnum)
|
1113
|
+
|
1114
|
+
ListAccountLinksRequest.add_member(:link_status_filter, Shapes::ShapeRef.new(shape: LinkStatusFilterList, location_name: "LinkStatusFilter"))
|
1115
|
+
ListAccountLinksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
1116
|
+
ListAccountLinksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: Limit, location_name: "MaxResults"))
|
1117
|
+
ListAccountLinksRequest.struct_class = Types::ListAccountLinksRequest
|
1118
|
+
|
1119
|
+
ListAccountLinksResult.add_member(:account_links, Shapes::ShapeRef.new(shape: AccountLinkList, location_name: "AccountLinks"))
|
1120
|
+
ListAccountLinksResult.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
1121
|
+
ListAccountLinksResult.struct_class = Types::ListAccountLinksResult
|
1122
|
+
|
1047
1123
|
ListAvailableManagementCidrRangesRequest.add_member(:management_cidr_range_constraint, Shapes::ShapeRef.new(shape: ManagementCidrRangeConstraint, required: true, location_name: "ManagementCidrRangeConstraint"))
|
1048
1124
|
ListAvailableManagementCidrRangesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: ManagementCidrRangeMaxResults, location_name: "MaxResults"))
|
1049
1125
|
ListAvailableManagementCidrRangesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "NextToken"))
|
@@ -1183,6 +1259,13 @@ module Aws::WorkSpaces
|
|
1183
1259
|
|
1184
1260
|
RegisterWorkspaceDirectoryResult.struct_class = Types::RegisterWorkspaceDirectoryResult
|
1185
1261
|
|
1262
|
+
RejectAccountLinkInvitationRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: LinkId, required: true, location_name: "LinkId"))
|
1263
|
+
RejectAccountLinkInvitationRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken"))
|
1264
|
+
RejectAccountLinkInvitationRequest.struct_class = Types::RejectAccountLinkInvitationRequest
|
1265
|
+
|
1266
|
+
RejectAccountLinkInvitationResult.add_member(:account_link, Shapes::ShapeRef.new(shape: AccountLink, location_name: "AccountLink"))
|
1267
|
+
RejectAccountLinkInvitationResult.struct_class = Types::RejectAccountLinkInvitationResult
|
1268
|
+
|
1186
1269
|
RelatedWorkspaceProperties.add_member(:workspace_id, Shapes::ShapeRef.new(shape: WorkspaceId, location_name: "WorkspaceId"))
|
1187
1270
|
RelatedWorkspaceProperties.add_member(:region, Shapes::ShapeRef.new(shape: Region, location_name: "Region"))
|
1188
1271
|
RelatedWorkspaceProperties.add_member(:state, Shapes::ShapeRef.new(shape: WorkspaceState, location_name: "State"))
|
@@ -1353,6 +1436,9 @@ module Aws::WorkSpaces
|
|
1353
1436
|
UserStorage.add_member(:capacity, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "Capacity"))
|
1354
1437
|
UserStorage.struct_class = Types::UserStorage
|
1355
1438
|
|
1439
|
+
ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "message"))
|
1440
|
+
ValidationException.struct_class = Types::ValidationException
|
1441
|
+
|
1356
1442
|
WorkSpaceApplication.add_member(:application_id, Shapes::ShapeRef.new(shape: WorkSpaceApplicationId, location_name: "ApplicationId"))
|
1357
1443
|
WorkSpaceApplication.add_member(:created, Shapes::ShapeRef.new(shape: Timestamp, location_name: "Created"))
|
1358
1444
|
WorkSpaceApplication.add_member(:description, Shapes::ShapeRef.new(shape: String2048, location_name: "Description"))
|
@@ -1538,6 +1624,19 @@ module Aws::WorkSpaces
|
|
1538
1624
|
"uid" => "workspaces-2015-04-08",
|
1539
1625
|
}
|
1540
1626
|
|
1627
|
+
api.add_operation(:accept_account_link_invitation, Seahorse::Model::Operation.new.tap do |o|
|
1628
|
+
o.name = "AcceptAccountLinkInvitation"
|
1629
|
+
o.http_method = "POST"
|
1630
|
+
o.http_request_uri = "/"
|
1631
|
+
o.input = Shapes::ShapeRef.new(shape: AcceptAccountLinkInvitationRequest)
|
1632
|
+
o.output = Shapes::ShapeRef.new(shape: AcceptAccountLinkInvitationResult)
|
1633
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1634
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1635
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1636
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1637
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1638
|
+
end)
|
1639
|
+
|
1541
1640
|
api.add_operation(:associate_connection_alias, Seahorse::Model::Operation.new.tap do |o|
|
1542
1641
|
o.name = "AssociateConnectionAlias"
|
1543
1642
|
o.http_method = "POST"
|
@@ -1612,6 +1711,18 @@ module Aws::WorkSpaces
|
|
1612
1711
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1613
1712
|
end)
|
1614
1713
|
|
1714
|
+
api.add_operation(:create_account_link_invitation, Seahorse::Model::Operation.new.tap do |o|
|
1715
|
+
o.name = "CreateAccountLinkInvitation"
|
1716
|
+
o.http_method = "POST"
|
1717
|
+
o.http_request_uri = "/"
|
1718
|
+
o.input = Shapes::ShapeRef.new(shape: CreateAccountLinkInvitationRequest)
|
1719
|
+
o.output = Shapes::ShapeRef.new(shape: CreateAccountLinkInvitationResult)
|
1720
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1721
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1722
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1723
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1724
|
+
end)
|
1725
|
+
|
1615
1726
|
api.add_operation(:create_connect_client_add_in, Seahorse::Model::Operation.new.tap do |o|
|
1616
1727
|
o.name = "CreateConnectClientAddIn"
|
1617
1728
|
o.http_method = "POST"
|
@@ -1730,6 +1841,19 @@ module Aws::WorkSpaces
|
|
1730
1841
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
1731
1842
|
end)
|
1732
1843
|
|
1844
|
+
api.add_operation(:delete_account_link_invitation, Seahorse::Model::Operation.new.tap do |o|
|
1845
|
+
o.name = "DeleteAccountLinkInvitation"
|
1846
|
+
o.http_method = "POST"
|
1847
|
+
o.http_request_uri = "/"
|
1848
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteAccountLinkInvitationRequest)
|
1849
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteAccountLinkInvitationResult)
|
1850
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
1851
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1852
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
1853
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1854
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
1855
|
+
end)
|
1856
|
+
|
1733
1857
|
api.add_operation(:delete_client_branding, Seahorse::Model::Operation.new.tap do |o|
|
1734
1858
|
o.name = "DeleteClientBranding"
|
1735
1859
|
o.http_method = "POST"
|
@@ -2125,6 +2249,18 @@ module Aws::WorkSpaces
|
|
2125
2249
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2126
2250
|
end)
|
2127
2251
|
|
2252
|
+
api.add_operation(:get_account_link, Seahorse::Model::Operation.new.tap do |o|
|
2253
|
+
o.name = "GetAccountLink"
|
2254
|
+
o.http_method = "POST"
|
2255
|
+
o.http_request_uri = "/"
|
2256
|
+
o.input = Shapes::ShapeRef.new(shape: GetAccountLinkRequest)
|
2257
|
+
o.output = Shapes::ShapeRef.new(shape: GetAccountLinkResult)
|
2258
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2259
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2260
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2261
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2262
|
+
end)
|
2263
|
+
|
2128
2264
|
api.add_operation(:import_client_branding, Seahorse::Model::Operation.new.tap do |o|
|
2129
2265
|
o.name = "ImportClientBranding"
|
2130
2266
|
o.http_method = "POST"
|
@@ -2151,6 +2287,23 @@ module Aws::WorkSpaces
|
|
2151
2287
|
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValuesException)
|
2152
2288
|
end)
|
2153
2289
|
|
2290
|
+
api.add_operation(:list_account_links, Seahorse::Model::Operation.new.tap do |o|
|
2291
|
+
o.name = "ListAccountLinks"
|
2292
|
+
o.http_method = "POST"
|
2293
|
+
o.http_request_uri = "/"
|
2294
|
+
o.input = Shapes::ShapeRef.new(shape: ListAccountLinksRequest)
|
2295
|
+
o.output = Shapes::ShapeRef.new(shape: ListAccountLinksResult)
|
2296
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2297
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2298
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2299
|
+
o[:pager] = Aws::Pager.new(
|
2300
|
+
limit_key: "max_results",
|
2301
|
+
tokens: {
|
2302
|
+
"next_token" => "next_token"
|
2303
|
+
}
|
2304
|
+
)
|
2305
|
+
end)
|
2306
|
+
|
2154
2307
|
api.add_operation(:list_available_management_cidr_ranges, Seahorse::Model::Operation.new.tap do |o|
|
2155
2308
|
o.name = "ListAvailableManagementCidrRanges"
|
2156
2309
|
o.http_method = "POST"
|
@@ -2317,6 +2470,19 @@ module Aws::WorkSpaces
|
|
2317
2470
|
o.errors << Shapes::ShapeRef.new(shape: OperationNotSupportedException)
|
2318
2471
|
end)
|
2319
2472
|
|
2473
|
+
api.add_operation(:reject_account_link_invitation, Seahorse::Model::Operation.new.tap do |o|
|
2474
|
+
o.name = "RejectAccountLinkInvitation"
|
2475
|
+
o.http_method = "POST"
|
2476
|
+
o.http_request_uri = "/"
|
2477
|
+
o.input = Shapes::ShapeRef.new(shape: RejectAccountLinkInvitationRequest)
|
2478
|
+
o.output = Shapes::ShapeRef.new(shape: RejectAccountLinkInvitationResult)
|
2479
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2480
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2481
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2482
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2483
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2484
|
+
end)
|
2485
|
+
|
2320
2486
|
api.add_operation(:restore_workspace, Seahorse::Model::Operation.new.tap do |o|
|
2321
2487
|
o.name = "RestoreWorkspace"
|
2322
2488
|
o.http_method = "POST"
|
@@ -12,6 +12,20 @@ module Aws::WorkSpaces
|
|
12
12
|
# @api private
|
13
13
|
module Endpoints
|
14
14
|
|
15
|
+
class AcceptAccountLinkInvitation
|
16
|
+
def self.build(context)
|
17
|
+
unless context.config.regional_endpoint
|
18
|
+
endpoint = context.config.endpoint.to_s
|
19
|
+
end
|
20
|
+
Aws::WorkSpaces::EndpointParameters.new(
|
21
|
+
region: context.config.region,
|
22
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
23
|
+
use_fips: context.config.use_fips_endpoint,
|
24
|
+
endpoint: endpoint,
|
25
|
+
)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
15
29
|
class AssociateConnectionAlias
|
16
30
|
def self.build(context)
|
17
31
|
unless context.config.regional_endpoint
|
@@ -82,6 +96,20 @@ module Aws::WorkSpaces
|
|
82
96
|
end
|
83
97
|
end
|
84
98
|
|
99
|
+
class CreateAccountLinkInvitation
|
100
|
+
def self.build(context)
|
101
|
+
unless context.config.regional_endpoint
|
102
|
+
endpoint = context.config.endpoint.to_s
|
103
|
+
end
|
104
|
+
Aws::WorkSpaces::EndpointParameters.new(
|
105
|
+
region: context.config.region,
|
106
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
107
|
+
use_fips: context.config.use_fips_endpoint,
|
108
|
+
endpoint: endpoint,
|
109
|
+
)
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
85
113
|
class CreateConnectClientAddIn
|
86
114
|
def self.build(context)
|
87
115
|
unless context.config.regional_endpoint
|
@@ -208,6 +236,20 @@ module Aws::WorkSpaces
|
|
208
236
|
end
|
209
237
|
end
|
210
238
|
|
239
|
+
class DeleteAccountLinkInvitation
|
240
|
+
def self.build(context)
|
241
|
+
unless context.config.regional_endpoint
|
242
|
+
endpoint = context.config.endpoint.to_s
|
243
|
+
end
|
244
|
+
Aws::WorkSpaces::EndpointParameters.new(
|
245
|
+
region: context.config.region,
|
246
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
247
|
+
use_fips: context.config.use_fips_endpoint,
|
248
|
+
endpoint: endpoint,
|
249
|
+
)
|
250
|
+
end
|
251
|
+
end
|
252
|
+
|
211
253
|
class DeleteClientBranding
|
212
254
|
def self.build(context)
|
213
255
|
unless context.config.regional_endpoint
|
@@ -670,6 +712,20 @@ module Aws::WorkSpaces
|
|
670
712
|
end
|
671
713
|
end
|
672
714
|
|
715
|
+
class GetAccountLink
|
716
|
+
def self.build(context)
|
717
|
+
unless context.config.regional_endpoint
|
718
|
+
endpoint = context.config.endpoint.to_s
|
719
|
+
end
|
720
|
+
Aws::WorkSpaces::EndpointParameters.new(
|
721
|
+
region: context.config.region,
|
722
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
723
|
+
use_fips: context.config.use_fips_endpoint,
|
724
|
+
endpoint: endpoint,
|
725
|
+
)
|
726
|
+
end
|
727
|
+
end
|
728
|
+
|
673
729
|
class ImportClientBranding
|
674
730
|
def self.build(context)
|
675
731
|
unless context.config.regional_endpoint
|
@@ -698,6 +754,20 @@ module Aws::WorkSpaces
|
|
698
754
|
end
|
699
755
|
end
|
700
756
|
|
757
|
+
class ListAccountLinks
|
758
|
+
def self.build(context)
|
759
|
+
unless context.config.regional_endpoint
|
760
|
+
endpoint = context.config.endpoint.to_s
|
761
|
+
end
|
762
|
+
Aws::WorkSpaces::EndpointParameters.new(
|
763
|
+
region: context.config.region,
|
764
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
765
|
+
use_fips: context.config.use_fips_endpoint,
|
766
|
+
endpoint: endpoint,
|
767
|
+
)
|
768
|
+
end
|
769
|
+
end
|
770
|
+
|
701
771
|
class ListAvailableManagementCidrRanges
|
702
772
|
def self.build(context)
|
703
773
|
unless context.config.regional_endpoint
|
@@ -894,6 +964,20 @@ module Aws::WorkSpaces
|
|
894
964
|
end
|
895
965
|
end
|
896
966
|
|
967
|
+
class RejectAccountLinkInvitation
|
968
|
+
def self.build(context)
|
969
|
+
unless context.config.regional_endpoint
|
970
|
+
endpoint = context.config.endpoint.to_s
|
971
|
+
end
|
972
|
+
Aws::WorkSpaces::EndpointParameters.new(
|
973
|
+
region: context.config.region,
|
974
|
+
use_dual_stack: context.config.use_dualstack_endpoint,
|
975
|
+
use_fips: context.config.use_fips_endpoint,
|
976
|
+
endpoint: endpoint,
|
977
|
+
)
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
897
981
|
class RestoreWorkspace
|
898
982
|
def self.build(context)
|
899
983
|
unless context.config.regional_endpoint
|
@@ -30,7 +30,9 @@ module Aws::WorkSpaces
|
|
30
30
|
# * {AccessDeniedException}
|
31
31
|
# * {ApplicationNotSupportedException}
|
32
32
|
# * {ComputeNotCompatibleException}
|
33
|
+
# * {ConflictException}
|
33
34
|
# * {IncompatibleApplicationsException}
|
35
|
+
# * {InternalServerException}
|
34
36
|
# * {InvalidParameterValuesException}
|
35
37
|
# * {InvalidResourceStateException}
|
36
38
|
# * {OperatingSystemNotCompatibleException}
|
@@ -45,6 +47,7 @@ module Aws::WorkSpaces
|
|
45
47
|
# * {ResourceUnavailableException}
|
46
48
|
# * {UnsupportedNetworkConfigurationException}
|
47
49
|
# * {UnsupportedWorkspaceConfigurationException}
|
50
|
+
# * {ValidationException}
|
48
51
|
# * {WorkspacesDefaultRoleNotFoundException}
|
49
52
|
#
|
50
53
|
# Additionally, error classes are dynamically generated for service errors based on the error code
|
@@ -88,6 +91,21 @@ module Aws::WorkSpaces
|
|
88
91
|
end
|
89
92
|
end
|
90
93
|
|
94
|
+
class ConflictException < ServiceError
|
95
|
+
|
96
|
+
# @param [Seahorse::Client::RequestContext] context
|
97
|
+
# @param [String] message
|
98
|
+
# @param [Aws::WorkSpaces::Types::ConflictException] data
|
99
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
100
|
+
super(context, message, data)
|
101
|
+
end
|
102
|
+
|
103
|
+
# @return [String]
|
104
|
+
def message
|
105
|
+
@message || @data[:message]
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
91
109
|
class IncompatibleApplicationsException < ServiceError
|
92
110
|
|
93
111
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -98,6 +116,21 @@ module Aws::WorkSpaces
|
|
98
116
|
end
|
99
117
|
end
|
100
118
|
|
119
|
+
class InternalServerException < ServiceError
|
120
|
+
|
121
|
+
# @param [Seahorse::Client::RequestContext] context
|
122
|
+
# @param [String] message
|
123
|
+
# @param [Aws::WorkSpaces::Types::InternalServerException] data
|
124
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
125
|
+
super(context, message, data)
|
126
|
+
end
|
127
|
+
|
128
|
+
# @return [String]
|
129
|
+
def message
|
130
|
+
@message || @data[:message]
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
101
134
|
class InvalidParameterValuesException < ServiceError
|
102
135
|
|
103
136
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -323,6 +356,21 @@ module Aws::WorkSpaces
|
|
323
356
|
end
|
324
357
|
end
|
325
358
|
|
359
|
+
class ValidationException < ServiceError
|
360
|
+
|
361
|
+
# @param [Seahorse::Client::RequestContext] context
|
362
|
+
# @param [String] message
|
363
|
+
# @param [Aws::WorkSpaces::Types::ValidationException] data
|
364
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
365
|
+
super(context, message, data)
|
366
|
+
end
|
367
|
+
|
368
|
+
# @return [String]
|
369
|
+
def message
|
370
|
+
@message || @data[:message]
|
371
|
+
end
|
372
|
+
end
|
373
|
+
|
326
374
|
class WorkspacesDefaultRoleNotFoundException < ServiceError
|
327
375
|
|
328
376
|
# @param [Seahorse::Client::RequestContext] context
|
@@ -58,6 +58,8 @@ module Aws::WorkSpaces
|
|
58
58
|
|
59
59
|
def parameters_for_operation(context)
|
60
60
|
case context.operation_name
|
61
|
+
when :accept_account_link_invitation
|
62
|
+
Aws::WorkSpaces::Endpoints::AcceptAccountLinkInvitation.build(context)
|
61
63
|
when :associate_connection_alias
|
62
64
|
Aws::WorkSpaces::Endpoints::AssociateConnectionAlias.build(context)
|
63
65
|
when :associate_ip_groups
|
@@ -68,6 +70,8 @@ module Aws::WorkSpaces
|
|
68
70
|
Aws::WorkSpaces::Endpoints::AuthorizeIpRules.build(context)
|
69
71
|
when :copy_workspace_image
|
70
72
|
Aws::WorkSpaces::Endpoints::CopyWorkspaceImage.build(context)
|
73
|
+
when :create_account_link_invitation
|
74
|
+
Aws::WorkSpaces::Endpoints::CreateAccountLinkInvitation.build(context)
|
71
75
|
when :create_connect_client_add_in
|
72
76
|
Aws::WorkSpaces::Endpoints::CreateConnectClientAddIn.build(context)
|
73
77
|
when :create_connection_alias
|
@@ -86,6 +90,8 @@ module Aws::WorkSpaces
|
|
86
90
|
Aws::WorkSpaces::Endpoints::CreateWorkspaceImage.build(context)
|
87
91
|
when :create_workspaces
|
88
92
|
Aws::WorkSpaces::Endpoints::CreateWorkspaces.build(context)
|
93
|
+
when :delete_account_link_invitation
|
94
|
+
Aws::WorkSpaces::Endpoints::DeleteAccountLinkInvitation.build(context)
|
89
95
|
when :delete_client_branding
|
90
96
|
Aws::WorkSpaces::Endpoints::DeleteClientBranding.build(context)
|
91
97
|
when :delete_connect_client_add_in
|
@@ -152,10 +158,14 @@ module Aws::WorkSpaces
|
|
152
158
|
Aws::WorkSpaces::Endpoints::DisassociateIpGroups.build(context)
|
153
159
|
when :disassociate_workspace_application
|
154
160
|
Aws::WorkSpaces::Endpoints::DisassociateWorkspaceApplication.build(context)
|
161
|
+
when :get_account_link
|
162
|
+
Aws::WorkSpaces::Endpoints::GetAccountLink.build(context)
|
155
163
|
when :import_client_branding
|
156
164
|
Aws::WorkSpaces::Endpoints::ImportClientBranding.build(context)
|
157
165
|
when :import_workspace_image
|
158
166
|
Aws::WorkSpaces::Endpoints::ImportWorkspaceImage.build(context)
|
167
|
+
when :list_account_links
|
168
|
+
Aws::WorkSpaces::Endpoints::ListAccountLinks.build(context)
|
159
169
|
when :list_available_management_cidr_ranges
|
160
170
|
Aws::WorkSpaces::Endpoints::ListAvailableManagementCidrRanges.build(context)
|
161
171
|
when :migrate_workspace
|
@@ -184,6 +194,8 @@ module Aws::WorkSpaces
|
|
184
194
|
Aws::WorkSpaces::Endpoints::RebuildWorkspaces.build(context)
|
185
195
|
when :register_workspace_directory
|
186
196
|
Aws::WorkSpaces::Endpoints::RegisterWorkspaceDirectory.build(context)
|
197
|
+
when :reject_account_link_invitation
|
198
|
+
Aws::WorkSpaces::Endpoints::RejectAccountLinkInvitation.build(context)
|
187
199
|
when :restore_workspace
|
188
200
|
Aws::WorkSpaces::Endpoints::RestoreWorkspace.build(context)
|
189
201
|
when :revoke_ip_rules
|