aws-sdk-workspacesweb 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.
@@ -18,6 +18,8 @@ module Aws::WorkSpacesWeb
18
18
  ArnList = Shapes::ListShape.new(name: 'ArnList')
19
19
  AssociateBrowserSettingsRequest = Shapes::StructureShape.new(name: 'AssociateBrowserSettingsRequest')
20
20
  AssociateBrowserSettingsResponse = Shapes::StructureShape.new(name: 'AssociateBrowserSettingsResponse')
21
+ AssociateIpAccessSettingsRequest = Shapes::StructureShape.new(name: 'AssociateIpAccessSettingsRequest')
22
+ AssociateIpAccessSettingsResponse = Shapes::StructureShape.new(name: 'AssociateIpAccessSettingsResponse')
21
23
  AssociateNetworkSettingsRequest = Shapes::StructureShape.new(name: 'AssociateNetworkSettingsRequest')
22
24
  AssociateNetworkSettingsResponse = Shapes::StructureShape.new(name: 'AssociateNetworkSettingsResponse')
23
25
  AssociateTrustStoreRequest = Shapes::StructureShape.new(name: 'AssociateTrustStoreRequest')
@@ -46,6 +48,8 @@ module Aws::WorkSpacesWeb
46
48
  CreateBrowserSettingsResponse = Shapes::StructureShape.new(name: 'CreateBrowserSettingsResponse')
47
49
  CreateIdentityProviderRequest = Shapes::StructureShape.new(name: 'CreateIdentityProviderRequest')
48
50
  CreateIdentityProviderResponse = Shapes::StructureShape.new(name: 'CreateIdentityProviderResponse')
51
+ CreateIpAccessSettingsRequest = Shapes::StructureShape.new(name: 'CreateIpAccessSettingsRequest')
52
+ CreateIpAccessSettingsResponse = Shapes::StructureShape.new(name: 'CreateIpAccessSettingsResponse')
49
53
  CreateNetworkSettingsRequest = Shapes::StructureShape.new(name: 'CreateNetworkSettingsRequest')
50
54
  CreateNetworkSettingsResponse = Shapes::StructureShape.new(name: 'CreateNetworkSettingsResponse')
51
55
  CreatePortalRequest = Shapes::StructureShape.new(name: 'CreatePortalRequest')
@@ -60,6 +64,8 @@ module Aws::WorkSpacesWeb
60
64
  DeleteBrowserSettingsResponse = Shapes::StructureShape.new(name: 'DeleteBrowserSettingsResponse')
61
65
  DeleteIdentityProviderRequest = Shapes::StructureShape.new(name: 'DeleteIdentityProviderRequest')
62
66
  DeleteIdentityProviderResponse = Shapes::StructureShape.new(name: 'DeleteIdentityProviderResponse')
67
+ DeleteIpAccessSettingsRequest = Shapes::StructureShape.new(name: 'DeleteIpAccessSettingsRequest')
68
+ DeleteIpAccessSettingsResponse = Shapes::StructureShape.new(name: 'DeleteIpAccessSettingsResponse')
63
69
  DeleteNetworkSettingsRequest = Shapes::StructureShape.new(name: 'DeleteNetworkSettingsRequest')
64
70
  DeleteNetworkSettingsResponse = Shapes::StructureShape.new(name: 'DeleteNetworkSettingsResponse')
65
71
  DeletePortalRequest = Shapes::StructureShape.new(name: 'DeletePortalRequest')
@@ -70,8 +76,11 @@ module Aws::WorkSpacesWeb
70
76
  DeleteUserAccessLoggingSettingsResponse = Shapes::StructureShape.new(name: 'DeleteUserAccessLoggingSettingsResponse')
71
77
  DeleteUserSettingsRequest = Shapes::StructureShape.new(name: 'DeleteUserSettingsRequest')
72
78
  DeleteUserSettingsResponse = Shapes::StructureShape.new(name: 'DeleteUserSettingsResponse')
79
+ Description = Shapes::StringShape.new(name: 'Description')
73
80
  DisassociateBrowserSettingsRequest = Shapes::StructureShape.new(name: 'DisassociateBrowserSettingsRequest')
74
81
  DisassociateBrowserSettingsResponse = Shapes::StructureShape.new(name: 'DisassociateBrowserSettingsResponse')
82
+ DisassociateIpAccessSettingsRequest = Shapes::StructureShape.new(name: 'DisassociateIpAccessSettingsRequest')
83
+ DisassociateIpAccessSettingsResponse = Shapes::StructureShape.new(name: 'DisassociateIpAccessSettingsResponse')
75
84
  DisassociateNetworkSettingsRequest = Shapes::StructureShape.new(name: 'DisassociateNetworkSettingsRequest')
76
85
  DisassociateNetworkSettingsResponse = Shapes::StructureShape.new(name: 'DisassociateNetworkSettingsResponse')
77
86
  DisassociateTrustStoreRequest = Shapes::StructureShape.new(name: 'DisassociateTrustStoreRequest')
@@ -90,6 +99,8 @@ module Aws::WorkSpacesWeb
90
99
  GetBrowserSettingsResponse = Shapes::StructureShape.new(name: 'GetBrowserSettingsResponse')
91
100
  GetIdentityProviderRequest = Shapes::StructureShape.new(name: 'GetIdentityProviderRequest')
92
101
  GetIdentityProviderResponse = Shapes::StructureShape.new(name: 'GetIdentityProviderResponse')
102
+ GetIpAccessSettingsRequest = Shapes::StructureShape.new(name: 'GetIpAccessSettingsRequest')
103
+ GetIpAccessSettingsResponse = Shapes::StructureShape.new(name: 'GetIpAccessSettingsResponse')
93
104
  GetNetworkSettingsRequest = Shapes::StructureShape.new(name: 'GetNetworkSettingsRequest')
94
105
  GetNetworkSettingsResponse = Shapes::StructureShape.new(name: 'GetNetworkSettingsResponse')
95
106
  GetPortalRequest = Shapes::StructureShape.new(name: 'GetPortalRequest')
@@ -112,11 +123,19 @@ module Aws::WorkSpacesWeb
112
123
  IdentityProviderType = Shapes::StringShape.new(name: 'IdentityProviderType')
113
124
  IdleDisconnectTimeoutInMinutes = Shapes::IntegerShape.new(name: 'IdleDisconnectTimeoutInMinutes')
114
125
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
126
+ IpAccessSettings = Shapes::StructureShape.new(name: 'IpAccessSettings')
127
+ IpAccessSettingsList = Shapes::ListShape.new(name: 'IpAccessSettingsList')
128
+ IpAccessSettingsSummary = Shapes::StructureShape.new(name: 'IpAccessSettingsSummary')
129
+ IpRange = Shapes::StringShape.new(name: 'IpRange')
130
+ IpRule = Shapes::StructureShape.new(name: 'IpRule')
131
+ IpRuleList = Shapes::ListShape.new(name: 'IpRuleList')
115
132
  KinesisStreamArn = Shapes::StringShape.new(name: 'KinesisStreamArn')
116
133
  ListBrowserSettingsRequest = Shapes::StructureShape.new(name: 'ListBrowserSettingsRequest')
117
134
  ListBrowserSettingsResponse = Shapes::StructureShape.new(name: 'ListBrowserSettingsResponse')
118
135
  ListIdentityProvidersRequest = Shapes::StructureShape.new(name: 'ListIdentityProvidersRequest')
119
136
  ListIdentityProvidersResponse = Shapes::StructureShape.new(name: 'ListIdentityProvidersResponse')
137
+ ListIpAccessSettingsRequest = Shapes::StructureShape.new(name: 'ListIpAccessSettingsRequest')
138
+ ListIpAccessSettingsResponse = Shapes::StructureShape.new(name: 'ListIpAccessSettingsResponse')
120
139
  ListNetworkSettingsRequest = Shapes::StructureShape.new(name: 'ListNetworkSettingsRequest')
121
140
  ListNetworkSettingsResponse = Shapes::StructureShape.new(name: 'ListNetworkSettingsResponse')
122
141
  ListPortalsRequest = Shapes::StructureShape.new(name: 'ListPortalsRequest')
@@ -176,6 +195,8 @@ module Aws::WorkSpacesWeb
176
195
  UpdateBrowserSettingsResponse = Shapes::StructureShape.new(name: 'UpdateBrowserSettingsResponse')
177
196
  UpdateIdentityProviderRequest = Shapes::StructureShape.new(name: 'UpdateIdentityProviderRequest')
178
197
  UpdateIdentityProviderResponse = Shapes::StructureShape.new(name: 'UpdateIdentityProviderResponse')
198
+ UpdateIpAccessSettingsRequest = Shapes::StructureShape.new(name: 'UpdateIpAccessSettingsRequest')
199
+ UpdateIpAccessSettingsResponse = Shapes::StructureShape.new(name: 'UpdateIpAccessSettingsResponse')
179
200
  UpdateNetworkSettingsRequest = Shapes::StructureShape.new(name: 'UpdateNetworkSettingsRequest')
180
201
  UpdateNetworkSettingsResponse = Shapes::StructureShape.new(name: 'UpdateNetworkSettingsResponse')
181
202
  UpdatePortalRequest = Shapes::StructureShape.new(name: 'UpdatePortalRequest')
@@ -212,6 +233,14 @@ module Aws::WorkSpacesWeb
212
233
  AssociateBrowserSettingsResponse.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "portalArn"))
213
234
  AssociateBrowserSettingsResponse.struct_class = Types::AssociateBrowserSettingsResponse
214
235
 
236
+ AssociateIpAccessSettingsRequest.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "ipAccessSettingsArn"))
237
+ AssociateIpAccessSettingsRequest.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "portalArn"))
238
+ AssociateIpAccessSettingsRequest.struct_class = Types::AssociateIpAccessSettingsRequest
239
+
240
+ AssociateIpAccessSettingsResponse.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ipAccessSettingsArn"))
241
+ AssociateIpAccessSettingsResponse.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "portalArn"))
242
+ AssociateIpAccessSettingsResponse.struct_class = Types::AssociateIpAccessSettingsResponse
243
+
215
244
  AssociateNetworkSettingsRequest.add_member(:network_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "querystring", location_name: "networkSettingsArn"))
216
245
  AssociateNetworkSettingsRequest.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "portalArn"))
217
246
  AssociateNetworkSettingsRequest.struct_class = Types::AssociateNetworkSettingsRequest
@@ -300,6 +329,18 @@ module Aws::WorkSpacesWeb
300
329
  CreateIdentityProviderResponse.add_member(:identity_provider_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "identityProviderArn"))
301
330
  CreateIdentityProviderResponse.struct_class = Types::CreateIdentityProviderResponse
302
331
 
332
+ CreateIpAccessSettingsRequest.add_member(:additional_encryption_context, Shapes::ShapeRef.new(shape: EncryptionContextMap, location_name: "additionalEncryptionContext"))
333
+ CreateIpAccessSettingsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
334
+ CreateIpAccessSettingsRequest.add_member(:customer_managed_key, Shapes::ShapeRef.new(shape: keyArn, location_name: "customerManagedKey"))
335
+ CreateIpAccessSettingsRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
336
+ CreateIpAccessSettingsRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
337
+ CreateIpAccessSettingsRequest.add_member(:ip_rules, Shapes::ShapeRef.new(shape: IpRuleList, required: true, location_name: "ipRules"))
338
+ CreateIpAccessSettingsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
339
+ CreateIpAccessSettingsRequest.struct_class = Types::CreateIpAccessSettingsRequest
340
+
341
+ CreateIpAccessSettingsResponse.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ipAccessSettingsArn"))
342
+ CreateIpAccessSettingsResponse.struct_class = Types::CreateIpAccessSettingsResponse
343
+
303
344
  CreateNetworkSettingsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
304
345
  CreateNetworkSettingsRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, required: true, location_name: "securityGroupIds"))
305
346
  CreateNetworkSettingsRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, required: true, location_name: "subnetIds"))
@@ -362,6 +403,11 @@ module Aws::WorkSpacesWeb
362
403
 
363
404
  DeleteIdentityProviderResponse.struct_class = Types::DeleteIdentityProviderResponse
364
405
 
406
+ DeleteIpAccessSettingsRequest.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "ipAccessSettingsArn"))
407
+ DeleteIpAccessSettingsRequest.struct_class = Types::DeleteIpAccessSettingsRequest
408
+
409
+ DeleteIpAccessSettingsResponse.struct_class = Types::DeleteIpAccessSettingsResponse
410
+
365
411
  DeleteNetworkSettingsRequest.add_member(:network_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "networkSettingsArn"))
366
412
  DeleteNetworkSettingsRequest.struct_class = Types::DeleteNetworkSettingsRequest
367
413
 
@@ -392,6 +438,11 @@ module Aws::WorkSpacesWeb
392
438
 
393
439
  DisassociateBrowserSettingsResponse.struct_class = Types::DisassociateBrowserSettingsResponse
394
440
 
441
+ DisassociateIpAccessSettingsRequest.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "portalArn"))
442
+ DisassociateIpAccessSettingsRequest.struct_class = Types::DisassociateIpAccessSettingsRequest
443
+
444
+ DisassociateIpAccessSettingsResponse.struct_class = Types::DisassociateIpAccessSettingsResponse
445
+
395
446
  DisassociateNetworkSettingsRequest.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "portalArn"))
396
447
  DisassociateNetworkSettingsRequest.struct_class = Types::DisassociateNetworkSettingsRequest
397
448
 
@@ -427,6 +478,12 @@ module Aws::WorkSpacesWeb
427
478
  GetIdentityProviderResponse.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, location_name: "identityProvider"))
428
479
  GetIdentityProviderResponse.struct_class = Types::GetIdentityProviderResponse
429
480
 
481
+ GetIpAccessSettingsRequest.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "ipAccessSettingsArn"))
482
+ GetIpAccessSettingsRequest.struct_class = Types::GetIpAccessSettingsRequest
483
+
484
+ GetIpAccessSettingsResponse.add_member(:ip_access_settings, Shapes::ShapeRef.new(shape: IpAccessSettings, location_name: "ipAccessSettings"))
485
+ GetIpAccessSettingsResponse.struct_class = Types::GetIpAccessSettingsResponse
486
+
430
487
  GetNetworkSettingsRequest.add_member(:network_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "networkSettingsArn"))
431
488
  GetNetworkSettingsRequest.struct_class = Types::GetNetworkSettingsRequest
432
489
 
@@ -492,6 +549,28 @@ module Aws::WorkSpacesWeb
492
549
  InternalServerException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
493
550
  InternalServerException.struct_class = Types::InternalServerException
494
551
 
552
+ IpAccessSettings.add_member(:associated_portal_arns, Shapes::ShapeRef.new(shape: ArnList, location_name: "associatedPortalArns"))
553
+ IpAccessSettings.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDate"))
554
+ IpAccessSettings.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
555
+ IpAccessSettings.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
556
+ IpAccessSettings.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ipAccessSettingsArn"))
557
+ IpAccessSettings.add_member(:ip_rules, Shapes::ShapeRef.new(shape: IpRuleList, location_name: "ipRules"))
558
+ IpAccessSettings.struct_class = Types::IpAccessSettings
559
+
560
+ IpAccessSettingsList.member = Shapes::ShapeRef.new(shape: IpAccessSettingsSummary)
561
+
562
+ IpAccessSettingsSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDate"))
563
+ IpAccessSettingsSummary.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
564
+ IpAccessSettingsSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
565
+ IpAccessSettingsSummary.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ipAccessSettingsArn"))
566
+ IpAccessSettingsSummary.struct_class = Types::IpAccessSettingsSummary
567
+
568
+ IpRule.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
569
+ IpRule.add_member(:ip_range, Shapes::ShapeRef.new(shape: IpRange, required: true, location_name: "ipRange"))
570
+ IpRule.struct_class = Types::IpRule
571
+
572
+ IpRuleList.member = Shapes::ShapeRef.new(shape: IpRule)
573
+
495
574
  ListBrowserSettingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
496
575
  ListBrowserSettingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
497
576
  ListBrowserSettingsRequest.struct_class = Types::ListBrowserSettingsRequest
@@ -509,6 +588,14 @@ module Aws::WorkSpacesWeb
509
588
  ListIdentityProvidersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
510
589
  ListIdentityProvidersResponse.struct_class = Types::ListIdentityProvidersResponse
511
590
 
591
+ ListIpAccessSettingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
592
+ ListIpAccessSettingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
593
+ ListIpAccessSettingsRequest.struct_class = Types::ListIpAccessSettingsRequest
594
+
595
+ ListIpAccessSettingsResponse.add_member(:ip_access_settings, Shapes::ShapeRef.new(shape: IpAccessSettingsList, location_name: "ipAccessSettings"))
596
+ ListIpAccessSettingsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
597
+ ListIpAccessSettingsResponse.struct_class = Types::ListIpAccessSettingsResponse
598
+
512
599
  ListNetworkSettingsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
513
600
  ListNetworkSettingsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
514
601
  ListNetworkSettingsRequest.struct_class = Types::ListNetworkSettingsRequest
@@ -583,6 +670,7 @@ module Aws::WorkSpacesWeb
583
670
  Portal.add_member(:browser_type, Shapes::ShapeRef.new(shape: BrowserType, location_name: "browserType"))
584
671
  Portal.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDate"))
585
672
  Portal.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
673
+ Portal.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ipAccessSettingsArn"))
586
674
  Portal.add_member(:network_settings_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "networkSettingsArn"))
587
675
  Portal.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "portalArn"))
588
676
  Portal.add_member(:portal_endpoint, Shapes::ShapeRef.new(shape: PortalEndpoint, location_name: "portalEndpoint"))
@@ -601,6 +689,7 @@ module Aws::WorkSpacesWeb
601
689
  PortalSummary.add_member(:browser_type, Shapes::ShapeRef.new(shape: BrowserType, location_name: "browserType"))
602
690
  PortalSummary.add_member(:creation_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "creationDate"))
603
691
  PortalSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
692
+ PortalSummary.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "ipAccessSettingsArn"))
604
693
  PortalSummary.add_member(:network_settings_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "networkSettingsArn"))
605
694
  PortalSummary.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "portalArn"))
606
695
  PortalSummary.add_member(:portal_endpoint, Shapes::ShapeRef.new(shape: PortalEndpoint, location_name: "portalEndpoint"))
@@ -685,6 +774,16 @@ module Aws::WorkSpacesWeb
685
774
  UpdateIdentityProviderResponse.add_member(:identity_provider, Shapes::ShapeRef.new(shape: IdentityProvider, required: true, location_name: "identityProvider"))
686
775
  UpdateIdentityProviderResponse.struct_class = Types::UpdateIdentityProviderResponse
687
776
 
777
+ UpdateIpAccessSettingsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
778
+ UpdateIpAccessSettingsRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
779
+ UpdateIpAccessSettingsRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "displayName"))
780
+ UpdateIpAccessSettingsRequest.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "ipAccessSettingsArn"))
781
+ UpdateIpAccessSettingsRequest.add_member(:ip_rules, Shapes::ShapeRef.new(shape: IpRuleList, location_name: "ipRules"))
782
+ UpdateIpAccessSettingsRequest.struct_class = Types::UpdateIpAccessSettingsRequest
783
+
784
+ UpdateIpAccessSettingsResponse.add_member(:ip_access_settings, Shapes::ShapeRef.new(shape: IpAccessSettings, required: true, location_name: "ipAccessSettings"))
785
+ UpdateIpAccessSettingsResponse.struct_class = Types::UpdateIpAccessSettingsResponse
786
+
688
787
  UpdateNetworkSettingsRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
689
788
  UpdateNetworkSettingsRequest.add_member(:network_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "networkSettingsArn"))
690
789
  UpdateNetworkSettingsRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
@@ -811,6 +910,20 @@ module Aws::WorkSpacesWeb
811
910
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
812
911
  end)
813
912
 
913
+ api.add_operation(:associate_ip_access_settings, Seahorse::Model::Operation.new.tap do |o|
914
+ o.name = "AssociateIpAccessSettings"
915
+ o.http_method = "PUT"
916
+ o.http_request_uri = "/portals/{portalArn+}/ipAccessSettings"
917
+ o.input = Shapes::ShapeRef.new(shape: AssociateIpAccessSettingsRequest)
918
+ o.output = Shapes::ShapeRef.new(shape: AssociateIpAccessSettingsResponse)
919
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
920
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
921
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
922
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
923
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
924
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
925
+ end)
926
+
814
927
  api.add_operation(:associate_network_settings, Seahorse::Model::Operation.new.tap do |o|
815
928
  o.name = "AssociateNetworkSettings"
816
929
  o.http_method = "PUT"
@@ -896,6 +1009,20 @@ module Aws::WorkSpacesWeb
896
1009
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
897
1010
  end)
898
1011
 
1012
+ api.add_operation(:create_ip_access_settings, Seahorse::Model::Operation.new.tap do |o|
1013
+ o.name = "CreateIpAccessSettings"
1014
+ o.http_method = "POST"
1015
+ o.http_request_uri = "/ipAccessSettings"
1016
+ o.input = Shapes::ShapeRef.new(shape: CreateIpAccessSettingsRequest)
1017
+ o.output = Shapes::ShapeRef.new(shape: CreateIpAccessSettingsResponse)
1018
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1019
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1020
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1021
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1022
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1023
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1024
+ end)
1025
+
899
1026
  api.add_operation(:create_network_settings, Seahorse::Model::Operation.new.tap do |o|
900
1027
  o.name = "CreateNetworkSettings"
901
1028
  o.http_method = "POST"
@@ -993,6 +1120,19 @@ module Aws::WorkSpacesWeb
993
1120
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
994
1121
  end)
995
1122
 
1123
+ api.add_operation(:delete_ip_access_settings, Seahorse::Model::Operation.new.tap do |o|
1124
+ o.name = "DeleteIpAccessSettings"
1125
+ o.http_method = "DELETE"
1126
+ o.http_request_uri = "/ipAccessSettings/{ipAccessSettingsArn+}"
1127
+ o.input = Shapes::ShapeRef.new(shape: DeleteIpAccessSettingsRequest)
1128
+ o.output = Shapes::ShapeRef.new(shape: DeleteIpAccessSettingsResponse)
1129
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1130
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1131
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1132
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1133
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1134
+ end)
1135
+
996
1136
  api.add_operation(:delete_network_settings, Seahorse::Model::Operation.new.tap do |o|
997
1137
  o.name = "DeleteNetworkSettings"
998
1138
  o.http_method = "DELETE"
@@ -1071,6 +1211,19 @@ module Aws::WorkSpacesWeb
1071
1211
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1072
1212
  end)
1073
1213
 
1214
+ api.add_operation(:disassociate_ip_access_settings, Seahorse::Model::Operation.new.tap do |o|
1215
+ o.name = "DisassociateIpAccessSettings"
1216
+ o.http_method = "DELETE"
1217
+ o.http_request_uri = "/portals/{portalArn+}/ipAccessSettings"
1218
+ o.input = Shapes::ShapeRef.new(shape: DisassociateIpAccessSettingsRequest)
1219
+ o.output = Shapes::ShapeRef.new(shape: DisassociateIpAccessSettingsResponse)
1220
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1221
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1222
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1223
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1224
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1225
+ end)
1226
+
1074
1227
  api.add_operation(:disassociate_network_settings, Seahorse::Model::Operation.new.tap do |o|
1075
1228
  o.name = "DisassociateNetworkSettings"
1076
1229
  o.http_method = "DELETE"
@@ -1149,6 +1302,19 @@ module Aws::WorkSpacesWeb
1149
1302
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1150
1303
  end)
1151
1304
 
1305
+ api.add_operation(:get_ip_access_settings, Seahorse::Model::Operation.new.tap do |o|
1306
+ o.name = "GetIpAccessSettings"
1307
+ o.http_method = "GET"
1308
+ o.http_request_uri = "/ipAccessSettings/{ipAccessSettingsArn+}"
1309
+ o.input = Shapes::ShapeRef.new(shape: GetIpAccessSettingsRequest)
1310
+ o.output = Shapes::ShapeRef.new(shape: GetIpAccessSettingsResponse)
1311
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1312
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1313
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1314
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1315
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1316
+ end)
1317
+
1152
1318
  api.add_operation(:get_network_settings, Seahorse::Model::Operation.new.tap do |o|
1153
1319
  o.name = "GetNetworkSettings"
1154
1320
  o.http_method = "GET"
@@ -1276,6 +1442,24 @@ module Aws::WorkSpacesWeb
1276
1442
  )
1277
1443
  end)
1278
1444
 
1445
+ api.add_operation(:list_ip_access_settings, Seahorse::Model::Operation.new.tap do |o|
1446
+ o.name = "ListIpAccessSettings"
1447
+ o.http_method = "GET"
1448
+ o.http_request_uri = "/ipAccessSettings"
1449
+ o.input = Shapes::ShapeRef.new(shape: ListIpAccessSettingsRequest)
1450
+ o.output = Shapes::ShapeRef.new(shape: ListIpAccessSettingsResponse)
1451
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1452
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1453
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1454
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1455
+ o[:pager] = Aws::Pager.new(
1456
+ limit_key: "max_results",
1457
+ tokens: {
1458
+ "next_token" => "next_token"
1459
+ }
1460
+ )
1461
+ end)
1462
+
1279
1463
  api.add_operation(:list_network_settings, Seahorse::Model::Operation.new.tap do |o|
1280
1464
  o.name = "ListNetworkSettings"
1281
1465
  o.http_method = "GET"
@@ -1451,6 +1635,19 @@ module Aws::WorkSpacesWeb
1451
1635
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1452
1636
  end)
1453
1637
 
1638
+ api.add_operation(:update_ip_access_settings, Seahorse::Model::Operation.new.tap do |o|
1639
+ o.name = "UpdateIpAccessSettings"
1640
+ o.http_method = "PATCH"
1641
+ o.http_request_uri = "/ipAccessSettings/{ipAccessSettingsArn+}"
1642
+ o.input = Shapes::ShapeRef.new(shape: UpdateIpAccessSettingsRequest)
1643
+ o.output = Shapes::ShapeRef.new(shape: UpdateIpAccessSettingsResponse)
1644
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1645
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1646
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1647
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1648
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1649
+ end)
1650
+
1454
1651
  api.add_operation(:update_network_settings, Seahorse::Model::Operation.new.tap do |o|
1455
1652
  o.name = "UpdateNetworkSettings"
1456
1653
  o.http_method = "PATCH"
@@ -1475,6 +1672,7 @@ module Aws::WorkSpacesWeb
1475
1672
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1476
1673
  o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1477
1674
  o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1675
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1478
1676
  end)
1479
1677
 
1480
1678
  api.add_operation(:update_trust_store, Seahorse::Model::Operation.new.tap do |o|
@@ -50,9 +50,6 @@ module Aws::WorkSpacesWeb
50
50
 
51
51
  def initialize(options = {})
52
52
  self[:region] = options[:region]
53
- if self[:region].nil?
54
- raise ArgumentError, "Missing required EndpointParameter: :region"
55
- end
56
53
  self[:use_dual_stack] = options[:use_dual_stack]
57
54
  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
58
55
  if self[:use_dual_stack].nil?
@@ -14,36 +14,39 @@ module Aws::WorkSpacesWeb
14
14
  use_dual_stack = parameters.use_dual_stack
15
15
  use_fips = parameters.use_fips
16
16
  endpoint = parameters.endpoint
17
- if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
18
- if Aws::Endpoints::Matchers.set?(endpoint)
19
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
20
- raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
21
- end
22
- if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
23
- raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
24
- end
25
- return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
26
- end
27
- if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
28
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
29
- return Aws::Endpoints::Endpoint.new(url: "https://workspaces-web-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
30
- end
31
- raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
32
- end
17
+ if Aws::Endpoints::Matchers.set?(endpoint)
33
18
  if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
34
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
35
- return Aws::Endpoints::Endpoint.new(url: "https://workspaces-web-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
36
- end
37
- raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
19
+ raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
38
20
  end
39
21
  if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
40
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
41
- return Aws::Endpoints::Endpoint.new(url: "https://workspaces-web.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
22
+ raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
23
+ end
24
+ return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
25
+ end
26
+ if Aws::Endpoints::Matchers.set?(region)
27
+ if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
28
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
29
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
30
+ return Aws::Endpoints::Endpoint.new(url: "https://workspaces-web-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
31
+ end
32
+ raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
33
+ end
34
+ if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
35
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
36
+ return Aws::Endpoints::Endpoint.new(url: "https://workspaces-web-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
37
+ end
38
+ raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
39
+ end
40
+ if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
41
+ if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
42
+ return Aws::Endpoints::Endpoint.new(url: "https://workspaces-web.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
43
+ end
44
+ raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
42
45
  end
43
- raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
46
+ return Aws::Endpoints::Endpoint.new(url: "https://workspaces-web.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
44
47
  end
45
- return Aws::Endpoints::Endpoint.new(url: "https://workspaces-web.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
46
48
  end
49
+ raise ArgumentError, "Invalid Configuration: Missing Region"
47
50
  raise ArgumentError, 'No endpoint could be resolved'
48
51
 
49
52
  end
@@ -25,6 +25,20 @@ module Aws::WorkSpacesWeb
25
25
  end
26
26
  end
27
27
 
28
+ class AssociateIpAccessSettings
29
+ def self.build(context)
30
+ unless context.config.regional_endpoint
31
+ endpoint = context.config.endpoint.to_s
32
+ end
33
+ Aws::WorkSpacesWeb::EndpointParameters.new(
34
+ region: context.config.region,
35
+ use_dual_stack: context.config.use_dualstack_endpoint,
36
+ use_fips: context.config.use_fips_endpoint,
37
+ endpoint: endpoint,
38
+ )
39
+ end
40
+ end
41
+
28
42
  class AssociateNetworkSettings
29
43
  def self.build(context)
30
44
  unless context.config.regional_endpoint
@@ -109,6 +123,20 @@ module Aws::WorkSpacesWeb
109
123
  end
110
124
  end
111
125
 
126
+ class CreateIpAccessSettings
127
+ def self.build(context)
128
+ unless context.config.regional_endpoint
129
+ endpoint = context.config.endpoint.to_s
130
+ end
131
+ Aws::WorkSpacesWeb::EndpointParameters.new(
132
+ region: context.config.region,
133
+ use_dual_stack: context.config.use_dualstack_endpoint,
134
+ use_fips: context.config.use_fips_endpoint,
135
+ endpoint: endpoint,
136
+ )
137
+ end
138
+ end
139
+
112
140
  class CreateNetworkSettings
113
141
  def self.build(context)
114
142
  unless context.config.regional_endpoint
@@ -207,6 +235,20 @@ module Aws::WorkSpacesWeb
207
235
  end
208
236
  end
209
237
 
238
+ class DeleteIpAccessSettings
239
+ def self.build(context)
240
+ unless context.config.regional_endpoint
241
+ endpoint = context.config.endpoint.to_s
242
+ end
243
+ Aws::WorkSpacesWeb::EndpointParameters.new(
244
+ region: context.config.region,
245
+ use_dual_stack: context.config.use_dualstack_endpoint,
246
+ use_fips: context.config.use_fips_endpoint,
247
+ endpoint: endpoint,
248
+ )
249
+ end
250
+ end
251
+
210
252
  class DeleteNetworkSettings
211
253
  def self.build(context)
212
254
  unless context.config.regional_endpoint
@@ -291,6 +333,20 @@ module Aws::WorkSpacesWeb
291
333
  end
292
334
  end
293
335
 
336
+ class DisassociateIpAccessSettings
337
+ def self.build(context)
338
+ unless context.config.regional_endpoint
339
+ endpoint = context.config.endpoint.to_s
340
+ end
341
+ Aws::WorkSpacesWeb::EndpointParameters.new(
342
+ region: context.config.region,
343
+ use_dual_stack: context.config.use_dualstack_endpoint,
344
+ use_fips: context.config.use_fips_endpoint,
345
+ endpoint: endpoint,
346
+ )
347
+ end
348
+ end
349
+
294
350
  class DisassociateNetworkSettings
295
351
  def self.build(context)
296
352
  unless context.config.regional_endpoint
@@ -375,6 +431,20 @@ module Aws::WorkSpacesWeb
375
431
  end
376
432
  end
377
433
 
434
+ class GetIpAccessSettings
435
+ def self.build(context)
436
+ unless context.config.regional_endpoint
437
+ endpoint = context.config.endpoint.to_s
438
+ end
439
+ Aws::WorkSpacesWeb::EndpointParameters.new(
440
+ region: context.config.region,
441
+ use_dual_stack: context.config.use_dualstack_endpoint,
442
+ use_fips: context.config.use_fips_endpoint,
443
+ endpoint: endpoint,
444
+ )
445
+ end
446
+ end
447
+
378
448
  class GetNetworkSettings
379
449
  def self.build(context)
380
450
  unless context.config.regional_endpoint
@@ -501,6 +571,20 @@ module Aws::WorkSpacesWeb
501
571
  end
502
572
  end
503
573
 
574
+ class ListIpAccessSettings
575
+ def self.build(context)
576
+ unless context.config.regional_endpoint
577
+ endpoint = context.config.endpoint.to_s
578
+ end
579
+ Aws::WorkSpacesWeb::EndpointParameters.new(
580
+ region: context.config.region,
581
+ use_dual_stack: context.config.use_dualstack_endpoint,
582
+ use_fips: context.config.use_fips_endpoint,
583
+ endpoint: endpoint,
584
+ )
585
+ end
586
+ end
587
+
504
588
  class ListNetworkSettings
505
589
  def self.build(context)
506
590
  unless context.config.regional_endpoint
@@ -655,6 +739,20 @@ module Aws::WorkSpacesWeb
655
739
  end
656
740
  end
657
741
 
742
+ class UpdateIpAccessSettings
743
+ def self.build(context)
744
+ unless context.config.regional_endpoint
745
+ endpoint = context.config.endpoint.to_s
746
+ end
747
+ Aws::WorkSpacesWeb::EndpointParameters.new(
748
+ region: context.config.region,
749
+ use_dual_stack: context.config.use_dualstack_endpoint,
750
+ use_fips: context.config.use_fips_endpoint,
751
+ endpoint: endpoint,
752
+ )
753
+ end
754
+ end
755
+
658
756
  class UpdateNetworkSettings
659
757
  def self.build(context)
660
758
  unless context.config.regional_endpoint