aws-sdk-apigatewayv2 1.76.0 → 1.77.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-apigatewayv2/client.rb +295 -1
- data/lib/aws-sdk-apigatewayv2/client_api.rb +205 -0
- data/lib/aws-sdk-apigatewayv2/types.rb +444 -2
- data/lib/aws-sdk-apigatewayv2.rb +1 -1
- data/sig/client.rbs +128 -1
- data/sig/types.rbs +142 -0
- metadata +1 -1
@@ -64,6 +64,8 @@ module Aws::ApiGatewayV2
|
|
64
64
|
CreateRouteResponseRequest = Shapes::StructureShape.new(name: 'CreateRouteResponseRequest')
|
65
65
|
CreateRouteResponseResponse = Shapes::StructureShape.new(name: 'CreateRouteResponseResponse')
|
66
66
|
CreateRouteResult = Shapes::StructureShape.new(name: 'CreateRouteResult')
|
67
|
+
CreateRoutingRuleRequest = Shapes::StructureShape.new(name: 'CreateRoutingRuleRequest')
|
68
|
+
CreateRoutingRuleResponse = Shapes::StructureShape.new(name: 'CreateRoutingRuleResponse')
|
67
69
|
CreateStageInput = Shapes::StructureShape.new(name: 'CreateStageInput')
|
68
70
|
CreateStageRequest = Shapes::StructureShape.new(name: 'CreateStageRequest')
|
69
71
|
CreateStageResponse = Shapes::StructureShape.new(name: 'CreateStageResponse')
|
@@ -84,6 +86,7 @@ module Aws::ApiGatewayV2
|
|
84
86
|
DeleteRouteRequestParameterRequest = Shapes::StructureShape.new(name: 'DeleteRouteRequestParameterRequest')
|
85
87
|
DeleteRouteResponseRequest = Shapes::StructureShape.new(name: 'DeleteRouteResponseRequest')
|
86
88
|
DeleteRouteSettingsRequest = Shapes::StructureShape.new(name: 'DeleteRouteSettingsRequest')
|
89
|
+
DeleteRoutingRuleRequest = Shapes::StructureShape.new(name: 'DeleteRoutingRuleRequest')
|
87
90
|
DeleteStageRequest = Shapes::StructureShape.new(name: 'DeleteStageRequest')
|
88
91
|
DeleteVpcLinkRequest = Shapes::StructureShape.new(name: 'DeleteVpcLinkRequest')
|
89
92
|
DeleteVpcLinkResponse = Shapes::StructureShape.new(name: 'DeleteVpcLinkResponse')
|
@@ -141,6 +144,8 @@ module Aws::ApiGatewayV2
|
|
141
144
|
GetRouteResult = Shapes::StructureShape.new(name: 'GetRouteResult')
|
142
145
|
GetRoutesRequest = Shapes::StructureShape.new(name: 'GetRoutesRequest')
|
143
146
|
GetRoutesResponse = Shapes::StructureShape.new(name: 'GetRoutesResponse')
|
147
|
+
GetRoutingRuleRequest = Shapes::StructureShape.new(name: 'GetRoutingRuleRequest')
|
148
|
+
GetRoutingRuleResponse = Shapes::StructureShape.new(name: 'GetRoutingRuleResponse')
|
144
149
|
GetStageRequest = Shapes::StructureShape.new(name: 'GetStageRequest')
|
145
150
|
GetStageResponse = Shapes::StructureShape.new(name: 'GetStageResponse')
|
146
151
|
GetStagesRequest = Shapes::StructureShape.new(name: 'GetStagesRequest')
|
@@ -168,7 +173,10 @@ module Aws::ApiGatewayV2
|
|
168
173
|
IpAddressType = Shapes::StringShape.new(name: 'IpAddressType')
|
169
174
|
JWTConfiguration = Shapes::StructureShape.new(name: 'JWTConfiguration')
|
170
175
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
176
|
+
ListRoutingRulesRequest = Shapes::StructureShape.new(name: 'ListRoutingRulesRequest')
|
177
|
+
ListRoutingRulesResponse = Shapes::StructureShape.new(name: 'ListRoutingRulesResponse')
|
171
178
|
LoggingLevel = Shapes::StringShape.new(name: 'LoggingLevel')
|
179
|
+
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
172
180
|
Model = Shapes::StructureShape.new(name: 'Model')
|
173
181
|
Models = Shapes::StructureShape.new(name: 'Models')
|
174
182
|
MutualTlsAuthentication = Shapes::StructureShape.new(name: 'MutualTlsAuthentication')
|
@@ -178,6 +186,8 @@ module Aws::ApiGatewayV2
|
|
178
186
|
ParameterConstraints = Shapes::StructureShape.new(name: 'ParameterConstraints')
|
179
187
|
PassthroughBehavior = Shapes::StringShape.new(name: 'PassthroughBehavior')
|
180
188
|
ProtocolType = Shapes::StringShape.new(name: 'ProtocolType')
|
189
|
+
PutRoutingRuleRequest = Shapes::StructureShape.new(name: 'PutRoutingRuleRequest')
|
190
|
+
PutRoutingRuleResponse = Shapes::StructureShape.new(name: 'PutRoutingRuleResponse')
|
181
191
|
ReimportApiInput = Shapes::StructureShape.new(name: 'ReimportApiInput')
|
182
192
|
ReimportApiRequest = Shapes::StructureShape.new(name: 'ReimportApiRequest')
|
183
193
|
ReimportApiResponse = Shapes::StructureShape.new(name: 'ReimportApiResponse')
|
@@ -191,6 +201,17 @@ module Aws::ApiGatewayV2
|
|
191
201
|
RouteSettings = Shapes::StructureShape.new(name: 'RouteSettings')
|
192
202
|
RouteSettingsMap = Shapes::MapShape.new(name: 'RouteSettingsMap')
|
193
203
|
Routes = Shapes::StructureShape.new(name: 'Routes')
|
204
|
+
RoutingMode = Shapes::StringShape.new(name: 'RoutingMode')
|
205
|
+
RoutingRule = Shapes::StructureShape.new(name: 'RoutingRule')
|
206
|
+
RoutingRuleAction = Shapes::StructureShape.new(name: 'RoutingRuleAction')
|
207
|
+
RoutingRuleActionInvokeApi = Shapes::StructureShape.new(name: 'RoutingRuleActionInvokeApi')
|
208
|
+
RoutingRuleCondition = Shapes::StructureShape.new(name: 'RoutingRuleCondition')
|
209
|
+
RoutingRuleInput = Shapes::StructureShape.new(name: 'RoutingRuleInput')
|
210
|
+
RoutingRuleMatchBasePaths = Shapes::StructureShape.new(name: 'RoutingRuleMatchBasePaths')
|
211
|
+
RoutingRuleMatchHeaderValue = Shapes::StructureShape.new(name: 'RoutingRuleMatchHeaderValue')
|
212
|
+
RoutingRuleMatchHeaders = Shapes::StructureShape.new(name: 'RoutingRuleMatchHeaders')
|
213
|
+
RoutingRulePriority = Shapes::IntegerShape.new(name: 'RoutingRulePriority')
|
214
|
+
RoutingRules = Shapes::StructureShape.new(name: 'RoutingRules')
|
194
215
|
SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
|
195
216
|
SecurityPolicy = Shapes::StringShape.new(name: 'SecurityPolicy')
|
196
217
|
SelectionExpression = Shapes::StringShape.new(name: 'SelectionExpression')
|
@@ -272,6 +293,11 @@ module Aws::ApiGatewayV2
|
|
272
293
|
__listOfModel = Shapes::ListShape.new(name: '__listOfModel')
|
273
294
|
__listOfRoute = Shapes::ListShape.new(name: '__listOfRoute')
|
274
295
|
__listOfRouteResponse = Shapes::ListShape.new(name: '__listOfRouteResponse')
|
296
|
+
__listOfRoutingRule = Shapes::ListShape.new(name: '__listOfRoutingRule')
|
297
|
+
__listOfRoutingRuleAction = Shapes::ListShape.new(name: '__listOfRoutingRuleAction')
|
298
|
+
__listOfRoutingRuleCondition = Shapes::ListShape.new(name: '__listOfRoutingRuleCondition')
|
299
|
+
__listOfRoutingRuleMatchHeaderValue = Shapes::ListShape.new(name: '__listOfRoutingRuleMatchHeaderValue')
|
300
|
+
__listOfSelectionKey = Shapes::ListShape.new(name: '__listOfSelectionKey')
|
275
301
|
__listOfStage = Shapes::ListShape.new(name: '__listOfStage')
|
276
302
|
__listOfVpcLink = Shapes::ListShape.new(name: '__listOfVpcLink')
|
277
303
|
__listOf__string = Shapes::ListShape.new(name: '__listOf__string')
|
@@ -484,19 +510,23 @@ module Aws::ApiGatewayV2
|
|
484
510
|
CreateDomainNameInput.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
485
511
|
CreateDomainNameInput.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
486
512
|
CreateDomainNameInput.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
513
|
+
CreateDomainNameInput.add_member(:routing_mode, Shapes::ShapeRef.new(shape: RoutingMode, location_name: "routingMode"))
|
487
514
|
CreateDomainNameInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
488
515
|
CreateDomainNameInput.struct_class = Types::CreateDomainNameInput
|
489
516
|
|
490
517
|
CreateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
491
518
|
CreateDomainNameRequest.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
492
519
|
CreateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
520
|
+
CreateDomainNameRequest.add_member(:routing_mode, Shapes::ShapeRef.new(shape: RoutingMode, location_name: "routingMode"))
|
493
521
|
CreateDomainNameRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
494
522
|
CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
|
495
523
|
|
496
524
|
CreateDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
497
525
|
CreateDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
526
|
+
CreateDomainNameResponse.add_member(:domain_name_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "domainNameArn"))
|
498
527
|
CreateDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
499
528
|
CreateDomainNameResponse.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
529
|
+
CreateDomainNameResponse.add_member(:routing_mode, Shapes::ShapeRef.new(shape: RoutingMode, location_name: "routingMode"))
|
500
530
|
CreateDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
501
531
|
CreateDomainNameResponse.struct_class = Types::CreateDomainNameResponse
|
502
532
|
|
@@ -668,6 +698,20 @@ module Aws::ApiGatewayV2
|
|
668
698
|
CreateRouteResult.add_member(:target, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "target"))
|
669
699
|
CreateRouteResult.struct_class = Types::CreateRouteResult
|
670
700
|
|
701
|
+
CreateRoutingRuleRequest.add_member(:actions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleAction, required: true, location_name: "actions"))
|
702
|
+
CreateRoutingRuleRequest.add_member(:conditions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleCondition, required: true, location_name: "conditions"))
|
703
|
+
CreateRoutingRuleRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
|
704
|
+
CreateRoutingRuleRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "domainNameId"))
|
705
|
+
CreateRoutingRuleRequest.add_member(:priority, Shapes::ShapeRef.new(shape: RoutingRulePriority, required: true, location_name: "priority"))
|
706
|
+
CreateRoutingRuleRequest.struct_class = Types::CreateRoutingRuleRequest
|
707
|
+
|
708
|
+
CreateRoutingRuleResponse.add_member(:actions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleAction, location_name: "actions"))
|
709
|
+
CreateRoutingRuleResponse.add_member(:conditions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleCondition, location_name: "conditions"))
|
710
|
+
CreateRoutingRuleResponse.add_member(:priority, Shapes::ShapeRef.new(shape: RoutingRulePriority, location_name: "priority"))
|
711
|
+
CreateRoutingRuleResponse.add_member(:routing_rule_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "routingRuleArn"))
|
712
|
+
CreateRoutingRuleResponse.add_member(:routing_rule_id, Shapes::ShapeRef.new(shape: Id, location_name: "routingRuleId"))
|
713
|
+
CreateRoutingRuleResponse.struct_class = Types::CreateRoutingRuleResponse
|
714
|
+
|
671
715
|
CreateStageInput.add_member(:access_log_settings, Shapes::ShapeRef.new(shape: AccessLogSettings, location_name: "accessLogSettings"))
|
672
716
|
CreateStageInput.add_member(:auto_deploy, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoDeploy"))
|
673
717
|
CreateStageInput.add_member(:client_certificate_id, Shapes::ShapeRef.new(shape: Id, location_name: "clientCertificateId"))
|
@@ -789,6 +833,11 @@ module Aws::ApiGatewayV2
|
|
789
833
|
DeleteRouteSettingsRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "stageName"))
|
790
834
|
DeleteRouteSettingsRequest.struct_class = Types::DeleteRouteSettingsRequest
|
791
835
|
|
836
|
+
DeleteRoutingRuleRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
|
837
|
+
DeleteRoutingRuleRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "domainNameId"))
|
838
|
+
DeleteRoutingRuleRequest.add_member(:routing_rule_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "routingRuleId"))
|
839
|
+
DeleteRoutingRuleRequest.struct_class = Types::DeleteRoutingRuleRequest
|
840
|
+
|
792
841
|
DeleteStageRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
|
793
842
|
DeleteStageRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "stageName"))
|
794
843
|
DeleteStageRequest.struct_class = Types::DeleteStageRequest
|
@@ -812,8 +861,10 @@ module Aws::ApiGatewayV2
|
|
812
861
|
|
813
862
|
DomainName.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
814
863
|
DomainName.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
864
|
+
DomainName.add_member(:domain_name_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "domainNameArn"))
|
815
865
|
DomainName.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
816
866
|
DomainName.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
867
|
+
DomainName.add_member(:routing_mode, Shapes::ShapeRef.new(shape: RoutingMode, location_name: "routingMode"))
|
817
868
|
DomainName.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
818
869
|
DomainName.struct_class = Types::DomainName
|
819
870
|
|
@@ -950,8 +1001,10 @@ module Aws::ApiGatewayV2
|
|
950
1001
|
|
951
1002
|
GetDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
952
1003
|
GetDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
1004
|
+
GetDomainNameResponse.add_member(:domain_name_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "domainNameArn"))
|
953
1005
|
GetDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
954
1006
|
GetDomainNameResponse.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
1007
|
+
GetDomainNameResponse.add_member(:routing_mode, Shapes::ShapeRef.new(shape: RoutingMode, location_name: "routingMode"))
|
955
1008
|
GetDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
956
1009
|
GetDomainNameResponse.struct_class = Types::GetDomainNameResponse
|
957
1010
|
|
@@ -1098,6 +1151,18 @@ module Aws::ApiGatewayV2
|
|
1098
1151
|
GetRoutesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1099
1152
|
GetRoutesResponse.struct_class = Types::GetRoutesResponse
|
1100
1153
|
|
1154
|
+
GetRoutingRuleRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
|
1155
|
+
GetRoutingRuleRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "domainNameId"))
|
1156
|
+
GetRoutingRuleRequest.add_member(:routing_rule_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "routingRuleId"))
|
1157
|
+
GetRoutingRuleRequest.struct_class = Types::GetRoutingRuleRequest
|
1158
|
+
|
1159
|
+
GetRoutingRuleResponse.add_member(:actions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleAction, location_name: "actions"))
|
1160
|
+
GetRoutingRuleResponse.add_member(:conditions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleCondition, location_name: "conditions"))
|
1161
|
+
GetRoutingRuleResponse.add_member(:priority, Shapes::ShapeRef.new(shape: RoutingRulePriority, location_name: "priority"))
|
1162
|
+
GetRoutingRuleResponse.add_member(:routing_rule_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "routingRuleArn"))
|
1163
|
+
GetRoutingRuleResponse.add_member(:routing_rule_id, Shapes::ShapeRef.new(shape: Id, location_name: "routingRuleId"))
|
1164
|
+
GetRoutingRuleResponse.struct_class = Types::GetRoutingRuleResponse
|
1165
|
+
|
1101
1166
|
GetStageRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
|
1102
1167
|
GetStageRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "stageName"))
|
1103
1168
|
GetStageRequest.struct_class = Types::GetStageRequest
|
@@ -1233,6 +1298,16 @@ module Aws::ApiGatewayV2
|
|
1233
1298
|
LimitExceededException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
1234
1299
|
LimitExceededException.struct_class = Types::LimitExceededException
|
1235
1300
|
|
1301
|
+
ListRoutingRulesRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
|
1302
|
+
ListRoutingRulesRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "domainNameId"))
|
1303
|
+
ListRoutingRulesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1304
|
+
ListRoutingRulesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
|
1305
|
+
ListRoutingRulesRequest.struct_class = Types::ListRoutingRulesRequest
|
1306
|
+
|
1307
|
+
ListRoutingRulesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1308
|
+
ListRoutingRulesResponse.add_member(:routing_rules, Shapes::ShapeRef.new(shape: __listOfRoutingRule, location_name: "routingRules"))
|
1309
|
+
ListRoutingRulesResponse.struct_class = Types::ListRoutingRulesResponse
|
1310
|
+
|
1236
1311
|
Model.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And256, location_name: "contentType"))
|
1237
1312
|
Model.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1238
1313
|
Model.add_member(:model_id, Shapes::ShapeRef.new(shape: Id, location_name: "modelId"))
|
@@ -1260,6 +1335,21 @@ module Aws::ApiGatewayV2
|
|
1260
1335
|
ParameterConstraints.add_member(:required, Shapes::ShapeRef.new(shape: __boolean, location_name: "required"))
|
1261
1336
|
ParameterConstraints.struct_class = Types::ParameterConstraints
|
1262
1337
|
|
1338
|
+
PutRoutingRuleRequest.add_member(:actions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleAction, required: true, location_name: "actions"))
|
1339
|
+
PutRoutingRuleRequest.add_member(:conditions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleCondition, required: true, location_name: "conditions"))
|
1340
|
+
PutRoutingRuleRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
|
1341
|
+
PutRoutingRuleRequest.add_member(:domain_name_id, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "domainNameId"))
|
1342
|
+
PutRoutingRuleRequest.add_member(:priority, Shapes::ShapeRef.new(shape: RoutingRulePriority, required: true, location_name: "priority"))
|
1343
|
+
PutRoutingRuleRequest.add_member(:routing_rule_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "routingRuleId"))
|
1344
|
+
PutRoutingRuleRequest.struct_class = Types::PutRoutingRuleRequest
|
1345
|
+
|
1346
|
+
PutRoutingRuleResponse.add_member(:actions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleAction, location_name: "actions"))
|
1347
|
+
PutRoutingRuleResponse.add_member(:conditions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleCondition, location_name: "conditions"))
|
1348
|
+
PutRoutingRuleResponse.add_member(:priority, Shapes::ShapeRef.new(shape: RoutingRulePriority, location_name: "priority"))
|
1349
|
+
PutRoutingRuleResponse.add_member(:routing_rule_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "routingRuleArn"))
|
1350
|
+
PutRoutingRuleResponse.add_member(:routing_rule_id, Shapes::ShapeRef.new(shape: Id, location_name: "routingRuleId"))
|
1351
|
+
PutRoutingRuleResponse.struct_class = Types::PutRoutingRuleResponse
|
1352
|
+
|
1263
1353
|
ReimportApiInput.add_member(:body, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "body"))
|
1264
1354
|
ReimportApiInput.struct_class = Types::ReimportApiInput
|
1265
1355
|
|
@@ -1341,6 +1431,44 @@ module Aws::ApiGatewayV2
|
|
1341
1431
|
Routes.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1342
1432
|
Routes.struct_class = Types::Routes
|
1343
1433
|
|
1434
|
+
RoutingRule.add_member(:actions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleAction, location_name: "actions"))
|
1435
|
+
RoutingRule.add_member(:conditions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleCondition, location_name: "conditions"))
|
1436
|
+
RoutingRule.add_member(:priority, Shapes::ShapeRef.new(shape: RoutingRulePriority, location_name: "priority"))
|
1437
|
+
RoutingRule.add_member(:routing_rule_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "routingRuleArn"))
|
1438
|
+
RoutingRule.add_member(:routing_rule_id, Shapes::ShapeRef.new(shape: Id, location_name: "routingRuleId"))
|
1439
|
+
RoutingRule.struct_class = Types::RoutingRule
|
1440
|
+
|
1441
|
+
RoutingRuleAction.add_member(:invoke_api, Shapes::ShapeRef.new(shape: RoutingRuleActionInvokeApi, required: true, location_name: "invokeApi"))
|
1442
|
+
RoutingRuleAction.struct_class = Types::RoutingRuleAction
|
1443
|
+
|
1444
|
+
RoutingRuleActionInvokeApi.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "apiId"))
|
1445
|
+
RoutingRuleActionInvokeApi.add_member(:stage, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "stage"))
|
1446
|
+
RoutingRuleActionInvokeApi.add_member(:strip_base_path, Shapes::ShapeRef.new(shape: __boolean, location_name: "stripBasePath"))
|
1447
|
+
RoutingRuleActionInvokeApi.struct_class = Types::RoutingRuleActionInvokeApi
|
1448
|
+
|
1449
|
+
RoutingRuleCondition.add_member(:match_base_paths, Shapes::ShapeRef.new(shape: RoutingRuleMatchBasePaths, location_name: "matchBasePaths"))
|
1450
|
+
RoutingRuleCondition.add_member(:match_headers, Shapes::ShapeRef.new(shape: RoutingRuleMatchHeaders, location_name: "matchHeaders"))
|
1451
|
+
RoutingRuleCondition.struct_class = Types::RoutingRuleCondition
|
1452
|
+
|
1453
|
+
RoutingRuleInput.add_member(:actions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleAction, required: true, location_name: "actions"))
|
1454
|
+
RoutingRuleInput.add_member(:conditions, Shapes::ShapeRef.new(shape: __listOfRoutingRuleCondition, required: true, location_name: "conditions"))
|
1455
|
+
RoutingRuleInput.add_member(:priority, Shapes::ShapeRef.new(shape: RoutingRulePriority, required: true, location_name: "priority"))
|
1456
|
+
RoutingRuleInput.struct_class = Types::RoutingRuleInput
|
1457
|
+
|
1458
|
+
RoutingRuleMatchBasePaths.add_member(:any_of, Shapes::ShapeRef.new(shape: __listOfSelectionKey, required: true, location_name: "anyOf"))
|
1459
|
+
RoutingRuleMatchBasePaths.struct_class = Types::RoutingRuleMatchBasePaths
|
1460
|
+
|
1461
|
+
RoutingRuleMatchHeaderValue.add_member(:header, Shapes::ShapeRef.new(shape: SelectionKey, required: true, location_name: "header"))
|
1462
|
+
RoutingRuleMatchHeaderValue.add_member(:value_glob, Shapes::ShapeRef.new(shape: SelectionExpression, required: true, location_name: "valueGlob"))
|
1463
|
+
RoutingRuleMatchHeaderValue.struct_class = Types::RoutingRuleMatchHeaderValue
|
1464
|
+
|
1465
|
+
RoutingRuleMatchHeaders.add_member(:any_of, Shapes::ShapeRef.new(shape: __listOfRoutingRuleMatchHeaderValue, required: true, location_name: "anyOf"))
|
1466
|
+
RoutingRuleMatchHeaders.struct_class = Types::RoutingRuleMatchHeaders
|
1467
|
+
|
1468
|
+
RoutingRules.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1469
|
+
RoutingRules.add_member(:routing_rules, Shapes::ShapeRef.new(shape: __listOfRoutingRule, location_name: "routingRules"))
|
1470
|
+
RoutingRules.struct_class = Types::RoutingRules
|
1471
|
+
|
1344
1472
|
SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: __string)
|
1345
1473
|
|
1346
1474
|
Stage.add_member(:access_log_settings, Shapes::ShapeRef.new(shape: AccessLogSettings, location_name: "accessLogSettings"))
|
@@ -1523,17 +1651,21 @@ module Aws::ApiGatewayV2
|
|
1523
1651
|
|
1524
1652
|
UpdateDomainNameInput.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
1525
1653
|
UpdateDomainNameInput.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
1654
|
+
UpdateDomainNameInput.add_member(:routing_mode, Shapes::ShapeRef.new(shape: RoutingMode, location_name: "routingMode"))
|
1526
1655
|
UpdateDomainNameInput.struct_class = Types::UpdateDomainNameInput
|
1527
1656
|
|
1528
1657
|
UpdateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
|
1529
1658
|
UpdateDomainNameRequest.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
1530
1659
|
UpdateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
1660
|
+
UpdateDomainNameRequest.add_member(:routing_mode, Shapes::ShapeRef.new(shape: RoutingMode, location_name: "routingMode"))
|
1531
1661
|
UpdateDomainNameRequest.struct_class = Types::UpdateDomainNameRequest
|
1532
1662
|
|
1533
1663
|
UpdateDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
1534
1664
|
UpdateDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
1665
|
+
UpdateDomainNameResponse.add_member(:domain_name_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "domainNameArn"))
|
1535
1666
|
UpdateDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
1536
1667
|
UpdateDomainNameResponse.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
1668
|
+
UpdateDomainNameResponse.add_member(:routing_mode, Shapes::ShapeRef.new(shape: RoutingMode, location_name: "routingMode"))
|
1537
1669
|
UpdateDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1538
1670
|
UpdateDomainNameResponse.struct_class = Types::UpdateDomainNameResponse
|
1539
1671
|
|
@@ -1801,6 +1933,16 @@ module Aws::ApiGatewayV2
|
|
1801
1933
|
|
1802
1934
|
__listOfRouteResponse.member = Shapes::ShapeRef.new(shape: RouteResponse)
|
1803
1935
|
|
1936
|
+
__listOfRoutingRule.member = Shapes::ShapeRef.new(shape: RoutingRule)
|
1937
|
+
|
1938
|
+
__listOfRoutingRuleAction.member = Shapes::ShapeRef.new(shape: RoutingRuleAction)
|
1939
|
+
|
1940
|
+
__listOfRoutingRuleCondition.member = Shapes::ShapeRef.new(shape: RoutingRuleCondition)
|
1941
|
+
|
1942
|
+
__listOfRoutingRuleMatchHeaderValue.member = Shapes::ShapeRef.new(shape: RoutingRuleMatchHeaderValue)
|
1943
|
+
|
1944
|
+
__listOfSelectionKey.member = Shapes::ShapeRef.new(shape: SelectionKey)
|
1945
|
+
|
1804
1946
|
__listOfStage.member = Shapes::ShapeRef.new(shape: Stage)
|
1805
1947
|
|
1806
1948
|
__listOfVpcLink.member = Shapes::ShapeRef.new(shape: VpcLink)
|
@@ -1947,6 +2089,18 @@ module Aws::ApiGatewayV2
|
|
1947
2089
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
1948
2090
|
end)
|
1949
2091
|
|
2092
|
+
api.add_operation(:create_routing_rule, Seahorse::Model::Operation.new.tap do |o|
|
2093
|
+
o.name = "CreateRoutingRule"
|
2094
|
+
o.http_method = "POST"
|
2095
|
+
o.http_request_uri = "/v2/domainnames/{domainName}/routingrules"
|
2096
|
+
o.input = Shapes::ShapeRef.new(shape: CreateRoutingRuleRequest)
|
2097
|
+
o.output = Shapes::ShapeRef.new(shape: CreateRoutingRuleResponse)
|
2098
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2099
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2100
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2101
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2102
|
+
end)
|
2103
|
+
|
1950
2104
|
api.add_operation(:create_stage, Seahorse::Model::Operation.new.tap do |o|
|
1951
2105
|
o.name = "CreateStage"
|
1952
2106
|
o.http_method = "POST"
|
@@ -2110,6 +2264,17 @@ module Aws::ApiGatewayV2
|
|
2110
2264
|
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2111
2265
|
end)
|
2112
2266
|
|
2267
|
+
api.add_operation(:delete_routing_rule, Seahorse::Model::Operation.new.tap do |o|
|
2268
|
+
o.name = "DeleteRoutingRule"
|
2269
|
+
o.http_method = "DELETE"
|
2270
|
+
o.http_request_uri = "/v2/domainnames/{domainName}/routingrules/{routingRuleId}"
|
2271
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteRoutingRuleRequest)
|
2272
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2273
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2274
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2275
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2276
|
+
end)
|
2277
|
+
|
2113
2278
|
api.add_operation(:delete_stage, Seahorse::Model::Operation.new.tap do |o|
|
2114
2279
|
o.name = "DeleteStage"
|
2115
2280
|
o.http_method = "DELETE"
|
@@ -2372,6 +2537,34 @@ module Aws::ApiGatewayV2
|
|
2372
2537
|
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2373
2538
|
end)
|
2374
2539
|
|
2540
|
+
api.add_operation(:get_routing_rule, Seahorse::Model::Operation.new.tap do |o|
|
2541
|
+
o.name = "GetRoutingRule"
|
2542
|
+
o.http_method = "GET"
|
2543
|
+
o.http_request_uri = "/v2/domainnames/{domainName}/routingrules/{routingRuleId}"
|
2544
|
+
o.input = Shapes::ShapeRef.new(shape: GetRoutingRuleRequest)
|
2545
|
+
o.output = Shapes::ShapeRef.new(shape: GetRoutingRuleResponse)
|
2546
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2547
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2548
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2549
|
+
end)
|
2550
|
+
|
2551
|
+
api.add_operation(:list_routing_rules, Seahorse::Model::Operation.new.tap do |o|
|
2552
|
+
o.name = "ListRoutingRules"
|
2553
|
+
o.http_method = "GET"
|
2554
|
+
o.http_request_uri = "/v2/domainnames/{domainName}/routingrules"
|
2555
|
+
o.input = Shapes::ShapeRef.new(shape: ListRoutingRulesRequest)
|
2556
|
+
o.output = Shapes::ShapeRef.new(shape: ListRoutingRulesResponse)
|
2557
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2558
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2559
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2560
|
+
o[:pager] = Aws::Pager.new(
|
2561
|
+
limit_key: "max_results",
|
2562
|
+
tokens: {
|
2563
|
+
"next_token" => "next_token"
|
2564
|
+
}
|
2565
|
+
)
|
2566
|
+
end)
|
2567
|
+
|
2375
2568
|
api.add_operation(:get_stage, Seahorse::Model::Operation.new.tap do |o|
|
2376
2569
|
o.name = "GetStage"
|
2377
2570
|
o.http_method = "GET"
|
@@ -2437,6 +2630,18 @@ module Aws::ApiGatewayV2
|
|
2437
2630
|
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2438
2631
|
end)
|
2439
2632
|
|
2633
|
+
api.add_operation(:put_routing_rule, Seahorse::Model::Operation.new.tap do |o|
|
2634
|
+
o.name = "PutRoutingRule"
|
2635
|
+
o.http_method = "PUT"
|
2636
|
+
o.http_request_uri = "/v2/domainnames/{domainName}/routingrules/{routingRuleId}"
|
2637
|
+
o.input = Shapes::ShapeRef.new(shape: PutRoutingRuleRequest)
|
2638
|
+
o.output = Shapes::ShapeRef.new(shape: PutRoutingRuleResponse)
|
2639
|
+
o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
|
2640
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
|
2641
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2642
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2643
|
+
end)
|
2644
|
+
|
2440
2645
|
api.add_operation(:reimport_api, Seahorse::Model::Operation.new.tap do |o|
|
2441
2646
|
o.name = "ReimportApi"
|
2442
2647
|
o.http_method = "PUT"
|