aws-sdk-apigatewayv2 1.27.0 → 1.32.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 +173 -0
- data/LICENSE.txt +202 -0
- data/VERSION +1 -0
- data/lib/aws-sdk-apigatewayv2.rb +2 -2
- data/lib/aws-sdk-apigatewayv2/client.rb +215 -46
- data/lib/aws-sdk-apigatewayv2/client_api.rb +42 -1
- data/lib/aws-sdk-apigatewayv2/errors.rb +1 -1
- data/lib/aws-sdk-apigatewayv2/resource.rb +1 -1
- data/lib/aws-sdk-apigatewayv2/types.rb +646 -141
- metadata +8 -5
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -169,6 +169,8 @@ module Aws::ApiGatewayV2
|
|
169
169
|
LoggingLevel = Shapes::StringShape.new(name: 'LoggingLevel')
|
170
170
|
Model = Shapes::StructureShape.new(name: 'Model')
|
171
171
|
Models = Shapes::StructureShape.new(name: 'Models')
|
172
|
+
MutualTlsAuthentication = Shapes::StructureShape.new(name: 'MutualTlsAuthentication')
|
173
|
+
MutualTlsAuthenticationInput = Shapes::StructureShape.new(name: 'MutualTlsAuthenticationInput')
|
172
174
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
173
175
|
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
|
174
176
|
ParameterConstraints = Shapes::StructureShape.new(name: 'ParameterConstraints')
|
@@ -178,6 +180,7 @@ module Aws::ApiGatewayV2
|
|
178
180
|
ReimportApiRequest = Shapes::StructureShape.new(name: 'ReimportApiRequest')
|
179
181
|
ReimportApiResponse = Shapes::StructureShape.new(name: 'ReimportApiResponse')
|
180
182
|
ResetAuthorizersCacheRequest = Shapes::StructureShape.new(name: 'ResetAuthorizersCacheRequest')
|
183
|
+
ResponseParameters = Shapes::MapShape.new(name: 'ResponseParameters')
|
181
184
|
Route = Shapes::StructureShape.new(name: 'Route')
|
182
185
|
RouteModels = Shapes::MapShape.new(name: 'RouteModels')
|
183
186
|
RouteParameters = Shapes::MapShape.new(name: 'RouteParameters')
|
@@ -290,6 +293,7 @@ module Aws::ApiGatewayV2
|
|
290
293
|
Api.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
291
294
|
Api.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
292
295
|
Api.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
296
|
+
Api.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
293
297
|
Api.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
294
298
|
Api.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
|
295
299
|
Api.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "protocolType"))
|
@@ -357,6 +361,7 @@ module Aws::ApiGatewayV2
|
|
357
361
|
CreateApiInput.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
358
362
|
CreateApiInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
359
363
|
CreateApiInput.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
364
|
+
CreateApiInput.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
360
365
|
CreateApiInput.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
|
361
366
|
CreateApiInput.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "protocolType"))
|
362
367
|
CreateApiInput.add_member(:route_key, Shapes::ShapeRef.new(shape: SelectionKey, location_name: "routeKey"))
|
@@ -388,6 +393,7 @@ module Aws::ApiGatewayV2
|
|
388
393
|
CreateApiRequest.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
389
394
|
CreateApiRequest.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
390
395
|
CreateApiRequest.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
396
|
+
CreateApiRequest.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
391
397
|
CreateApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
|
392
398
|
CreateApiRequest.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, required: true, location_name: "protocolType"))
|
393
399
|
CreateApiRequest.add_member(:route_key, Shapes::ShapeRef.new(shape: SelectionKey, location_name: "routeKey"))
|
@@ -405,6 +411,7 @@ module Aws::ApiGatewayV2
|
|
405
411
|
CreateApiResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
406
412
|
CreateApiResponse.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
407
413
|
CreateApiResponse.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
414
|
+
CreateApiResponse.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
408
415
|
CreateApiResponse.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
409
416
|
CreateApiResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
410
417
|
CreateApiResponse.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "protocolType"))
|
@@ -471,17 +478,20 @@ module Aws::ApiGatewayV2
|
|
471
478
|
|
472
479
|
CreateDomainNameInput.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
473
480
|
CreateDomainNameInput.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
481
|
+
CreateDomainNameInput.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
474
482
|
CreateDomainNameInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
475
483
|
CreateDomainNameInput.struct_class = Types::CreateDomainNameInput
|
476
484
|
|
477
485
|
CreateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
478
486
|
CreateDomainNameRequest.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
487
|
+
CreateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
479
488
|
CreateDomainNameRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
480
489
|
CreateDomainNameRequest.struct_class = Types::CreateDomainNameRequest
|
481
490
|
|
482
491
|
CreateDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
483
492
|
CreateDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
484
493
|
CreateDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
494
|
+
CreateDomainNameResponse.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
485
495
|
CreateDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
486
496
|
CreateDomainNameResponse.struct_class = Types::CreateDomainNameResponse
|
487
497
|
|
@@ -497,6 +507,7 @@ module Aws::ApiGatewayV2
|
|
497
507
|
CreateIntegrationInput.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
498
508
|
CreateIntegrationInput.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
499
509
|
CreateIntegrationInput.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
510
|
+
CreateIntegrationInput.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
500
511
|
CreateIntegrationInput.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
501
512
|
CreateIntegrationInput.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
502
513
|
CreateIntegrationInput.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -516,6 +527,7 @@ module Aws::ApiGatewayV2
|
|
516
527
|
CreateIntegrationRequest.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
517
528
|
CreateIntegrationRequest.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
518
529
|
CreateIntegrationRequest.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
530
|
+
CreateIntegrationRequest.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
519
531
|
CreateIntegrationRequest.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
520
532
|
CreateIntegrationRequest.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
521
533
|
CreateIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -561,6 +573,7 @@ module Aws::ApiGatewayV2
|
|
561
573
|
CreateIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
562
574
|
CreateIntegrationResult.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
563
575
|
CreateIntegrationResult.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
576
|
+
CreateIntegrationResult.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
564
577
|
CreateIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
565
578
|
CreateIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
566
579
|
CreateIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -795,6 +808,7 @@ module Aws::ApiGatewayV2
|
|
795
808
|
DomainName.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
796
809
|
DomainName.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, required: true, location_name: "domainName"))
|
797
810
|
DomainName.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
811
|
+
DomainName.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
798
812
|
DomainName.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
799
813
|
DomainName.struct_class = Types::DomainName
|
800
814
|
|
@@ -858,6 +872,7 @@ module Aws::ApiGatewayV2
|
|
858
872
|
GetApiResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
859
873
|
GetApiResponse.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
860
874
|
GetApiResponse.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
875
|
+
GetApiResponse.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
861
876
|
GetApiResponse.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
862
877
|
GetApiResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
863
878
|
GetApiResponse.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "protocolType"))
|
@@ -928,6 +943,7 @@ module Aws::ApiGatewayV2
|
|
928
943
|
GetDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
929
944
|
GetDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
930
945
|
GetDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
946
|
+
GetDomainNameResponse.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
931
947
|
GetDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
932
948
|
GetDomainNameResponse.struct_class = Types::GetDomainNameResponse
|
933
949
|
|
@@ -981,6 +997,7 @@ module Aws::ApiGatewayV2
|
|
981
997
|
GetIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
982
998
|
GetIntegrationResult.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
983
999
|
GetIntegrationResult.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1000
|
+
GetIntegrationResult.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
984
1001
|
GetIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
985
1002
|
GetIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
986
1003
|
GetIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -1148,6 +1165,7 @@ module Aws::ApiGatewayV2
|
|
1148
1165
|
ImportApiResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
1149
1166
|
ImportApiResponse.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1150
1167
|
ImportApiResponse.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
1168
|
+
ImportApiResponse.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
1151
1169
|
ImportApiResponse.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
1152
1170
|
ImportApiResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
1153
1171
|
ImportApiResponse.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "protocolType"))
|
@@ -1172,6 +1190,7 @@ module Aws::ApiGatewayV2
|
|
1172
1190
|
Integration.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
1173
1191
|
Integration.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
1174
1192
|
Integration.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1193
|
+
Integration.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
1175
1194
|
Integration.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1176
1195
|
Integration.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1177
1196
|
Integration.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -1216,6 +1235,15 @@ module Aws::ApiGatewayV2
|
|
1216
1235
|
Models.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1217
1236
|
Models.struct_class = Types::Models
|
1218
1237
|
|
1238
|
+
MutualTlsAuthentication.add_member(:truststore_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "truststoreUri"))
|
1239
|
+
MutualTlsAuthentication.add_member(:truststore_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "truststoreVersion"))
|
1240
|
+
MutualTlsAuthentication.add_member(:truststore_warnings, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "truststoreWarnings"))
|
1241
|
+
MutualTlsAuthentication.struct_class = Types::MutualTlsAuthentication
|
1242
|
+
|
1243
|
+
MutualTlsAuthenticationInput.add_member(:truststore_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "truststoreUri"))
|
1244
|
+
MutualTlsAuthenticationInput.add_member(:truststore_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "truststoreVersion"))
|
1245
|
+
MutualTlsAuthenticationInput.struct_class = Types::MutualTlsAuthenticationInput
|
1246
|
+
|
1219
1247
|
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
|
1220
1248
|
NotFoundException.add_member(:resource_type, Shapes::ShapeRef.new(shape: __string, location_name: "resourceType"))
|
1221
1249
|
NotFoundException.struct_class = Types::NotFoundException
|
@@ -1240,6 +1268,7 @@ module Aws::ApiGatewayV2
|
|
1240
1268
|
ReimportApiResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
1241
1269
|
ReimportApiResponse.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1242
1270
|
ReimportApiResponse.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
1271
|
+
ReimportApiResponse.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
1243
1272
|
ReimportApiResponse.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
1244
1273
|
ReimportApiResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
1245
1274
|
ReimportApiResponse.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "protocolType"))
|
@@ -1253,6 +1282,9 @@ module Aws::ApiGatewayV2
|
|
1253
1282
|
ResetAuthorizersCacheRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "stageName"))
|
1254
1283
|
ResetAuthorizersCacheRequest.struct_class = Types::ResetAuthorizersCacheRequest
|
1255
1284
|
|
1285
|
+
ResponseParameters.key = Shapes::ShapeRef.new(shape: __string)
|
1286
|
+
ResponseParameters.value = Shapes::ShapeRef.new(shape: IntegrationParameters)
|
1287
|
+
|
1256
1288
|
Route.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
|
1257
1289
|
Route.add_member(:api_key_required, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiKeyRequired"))
|
1258
1290
|
Route.add_member(:authorization_scopes, Shapes::ShapeRef.new(shape: AuthorizationScopes, location_name: "authorizationScopes"))
|
@@ -1363,6 +1395,7 @@ module Aws::ApiGatewayV2
|
|
1363
1395
|
UpdateApiInput.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
1364
1396
|
UpdateApiInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1365
1397
|
UpdateApiInput.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
1398
|
+
UpdateApiInput.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
1366
1399
|
UpdateApiInput.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
1367
1400
|
UpdateApiInput.add_member(:route_key, Shapes::ShapeRef.new(shape: SelectionKey, location_name: "routeKey"))
|
1368
1401
|
UpdateApiInput.add_member(:route_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "routeSelectionExpression"))
|
@@ -1394,6 +1427,7 @@ module Aws::ApiGatewayV2
|
|
1394
1427
|
UpdateApiRequest.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
|
1395
1428
|
UpdateApiRequest.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1396
1429
|
UpdateApiRequest.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
1430
|
+
UpdateApiRequest.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
1397
1431
|
UpdateApiRequest.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
1398
1432
|
UpdateApiRequest.add_member(:route_key, Shapes::ShapeRef.new(shape: SelectionKey, location_name: "routeKey"))
|
1399
1433
|
UpdateApiRequest.add_member(:route_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "routeSelectionExpression"))
|
@@ -1409,6 +1443,7 @@ module Aws::ApiGatewayV2
|
|
1409
1443
|
UpdateApiResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
|
1410
1444
|
UpdateApiResponse.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
|
1411
1445
|
UpdateApiResponse.add_member(:disable_schema_validation, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableSchemaValidation"))
|
1446
|
+
UpdateApiResponse.add_member(:disable_execute_api_endpoint, Shapes::ShapeRef.new(shape: __boolean, location_name: "disableExecuteApiEndpoint"))
|
1412
1447
|
UpdateApiResponse.add_member(:import_info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "importInfo"))
|
1413
1448
|
UpdateApiResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
|
1414
1449
|
UpdateApiResponse.add_member(:protocol_type, Shapes::ShapeRef.new(shape: ProtocolType, location_name: "protocolType"))
|
@@ -1474,15 +1509,18 @@ module Aws::ApiGatewayV2
|
|
1474
1509
|
UpdateDeploymentResponse.struct_class = Types::UpdateDeploymentResponse
|
1475
1510
|
|
1476
1511
|
UpdateDomainNameInput.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
1512
|
+
UpdateDomainNameInput.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
1477
1513
|
UpdateDomainNameInput.struct_class = Types::UpdateDomainNameInput
|
1478
1514
|
|
1479
1515
|
UpdateDomainNameRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
|
1480
1516
|
UpdateDomainNameRequest.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
1517
|
+
UpdateDomainNameRequest.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthenticationInput, location_name: "mutualTlsAuthentication"))
|
1481
1518
|
UpdateDomainNameRequest.struct_class = Types::UpdateDomainNameRequest
|
1482
1519
|
|
1483
1520
|
UpdateDomainNameResponse.add_member(:api_mapping_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiMappingSelectionExpression"))
|
1484
1521
|
UpdateDomainNameResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "domainName"))
|
1485
1522
|
UpdateDomainNameResponse.add_member(:domain_name_configurations, Shapes::ShapeRef.new(shape: DomainNameConfigurations, location_name: "domainNameConfigurations"))
|
1523
|
+
UpdateDomainNameResponse.add_member(:mutual_tls_authentication, Shapes::ShapeRef.new(shape: MutualTlsAuthentication, location_name: "mutualTlsAuthentication"))
|
1486
1524
|
UpdateDomainNameResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
|
1487
1525
|
UpdateDomainNameResponse.struct_class = Types::UpdateDomainNameResponse
|
1488
1526
|
|
@@ -1498,6 +1536,7 @@ module Aws::ApiGatewayV2
|
|
1498
1536
|
UpdateIntegrationInput.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
1499
1537
|
UpdateIntegrationInput.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
1500
1538
|
UpdateIntegrationInput.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1539
|
+
UpdateIntegrationInput.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
1501
1540
|
UpdateIntegrationInput.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1502
1541
|
UpdateIntegrationInput.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1503
1542
|
UpdateIntegrationInput.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -1518,6 +1557,7 @@ module Aws::ApiGatewayV2
|
|
1518
1557
|
UpdateIntegrationRequest.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
1519
1558
|
UpdateIntegrationRequest.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
1520
1559
|
UpdateIntegrationRequest.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1560
|
+
UpdateIntegrationRequest.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
1521
1561
|
UpdateIntegrationRequest.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1522
1562
|
UpdateIntegrationRequest.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1523
1563
|
UpdateIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -1564,6 +1604,7 @@ module Aws::ApiGatewayV2
|
|
1564
1604
|
UpdateIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
|
1565
1605
|
UpdateIntegrationResult.add_member(:payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "payloadFormatVersion"))
|
1566
1606
|
UpdateIntegrationResult.add_member(:request_parameters, Shapes::ShapeRef.new(shape: IntegrationParameters, location_name: "requestParameters"))
|
1607
|
+
UpdateIntegrationResult.add_member(:response_parameters, Shapes::ShapeRef.new(shape: ResponseParameters, location_name: "responseParameters"))
|
1567
1608
|
UpdateIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
|
1568
1609
|
UpdateIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
|
1569
1610
|
UpdateIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And30000, location_name: "timeoutInMillis"))
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -3,7 +3,7 @@
|
|
3
3
|
# WARNING ABOUT GENERATED CODE
|
4
4
|
#
|
5
5
|
# This file is generated. See the contributing guide for more information:
|
6
|
-
# https://github.com/aws/aws-sdk-ruby/blob/
|
6
|
+
# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
|
7
7
|
#
|
8
8
|
# WARNING ABOUT GENERATED CODE
|
9
9
|
|
@@ -91,6 +91,15 @@ module Aws::ApiGatewayV2
|
|
91
91
|
# for WebSocket APIs.
|
92
92
|
# @return [Boolean]
|
93
93
|
#
|
94
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
95
|
+
# Specifies whether clients can invoke your API by using the default
|
96
|
+
# execute-api endpoint. By default, clients can invoke your API with
|
97
|
+
# the default
|
98
|
+
# https://\\\{api\_id\\}.execute-api.\\\{region\\}.amazonaws.com
|
99
|
+
# endpoint. To require that clients use a custom domain name to invoke
|
100
|
+
# your API, disable the default endpoint.
|
101
|
+
# @return [Boolean]
|
102
|
+
#
|
94
103
|
# @!attribute [rw] import_info
|
95
104
|
# The validation information during API import. This may include
|
96
105
|
# particular properties of your OpenAPI definition which are ignored
|
@@ -134,6 +143,7 @@ module Aws::ApiGatewayV2
|
|
134
143
|
:created_date,
|
135
144
|
:description,
|
136
145
|
:disable_schema_validation,
|
146
|
+
:disable_execute_api_endpoint,
|
137
147
|
:import_info,
|
138
148
|
:name,
|
139
149
|
:protocol_type,
|
@@ -480,6 +490,9 @@ module Aws::ApiGatewayV2
|
|
480
490
|
# for WebSocket APIs.
|
481
491
|
# @return [Boolean]
|
482
492
|
#
|
493
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
494
|
+
# @return [Boolean]
|
495
|
+
#
|
483
496
|
# @!attribute [rw] name
|
484
497
|
# The name of the API.
|
485
498
|
# @return [String]
|
@@ -529,6 +542,7 @@ module Aws::ApiGatewayV2
|
|
529
542
|
:credentials_arn,
|
530
543
|
:description,
|
531
544
|
:disable_schema_validation,
|
545
|
+
:disable_execute_api_endpoint,
|
532
546
|
:name,
|
533
547
|
:protocol_type,
|
534
548
|
:route_key,
|
@@ -651,6 +665,7 @@ module Aws::ApiGatewayV2
|
|
651
665
|
# credentials_arn: "Arn",
|
652
666
|
# description: "StringWithLengthBetween0And1024",
|
653
667
|
# disable_schema_validation: false,
|
668
|
+
# disable_execute_api_endpoint: false,
|
654
669
|
# name: "StringWithLengthBetween1And128", # required
|
655
670
|
# protocol_type: "WEBSOCKET", # required, accepts WEBSOCKET, HTTP
|
656
671
|
# route_key: "SelectionKey",
|
@@ -691,6 +706,9 @@ module Aws::ApiGatewayV2
|
|
691
706
|
# @!attribute [rw] disable_schema_validation
|
692
707
|
# @return [Boolean]
|
693
708
|
#
|
709
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
710
|
+
# @return [Boolean]
|
711
|
+
#
|
694
712
|
# @!attribute [rw] name
|
695
713
|
# A string with a length between \[1-128\].
|
696
714
|
# @return [String]
|
@@ -737,6 +755,7 @@ module Aws::ApiGatewayV2
|
|
737
755
|
:credentials_arn,
|
738
756
|
:description,
|
739
757
|
:disable_schema_validation,
|
758
|
+
:disable_execute_api_endpoint,
|
740
759
|
:name,
|
741
760
|
:protocol_type,
|
742
761
|
:route_key,
|
@@ -786,6 +805,9 @@ module Aws::ApiGatewayV2
|
|
786
805
|
# @!attribute [rw] disable_schema_validation
|
787
806
|
# @return [Boolean]
|
788
807
|
#
|
808
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
809
|
+
# @return [Boolean]
|
810
|
+
#
|
789
811
|
# @!attribute [rw] import_info
|
790
812
|
# @return [Array<String>]
|
791
813
|
#
|
@@ -826,6 +848,7 @@ module Aws::ApiGatewayV2
|
|
826
848
|
:created_date,
|
827
849
|
:description,
|
828
850
|
:disable_schema_validation,
|
851
|
+
:disable_execute_api_endpoint,
|
829
852
|
:import_info,
|
830
853
|
:name,
|
831
854
|
:protocol_type,
|
@@ -1220,6 +1243,11 @@ module Aws::ApiGatewayV2
|
|
1220
1243
|
# The domain name configurations.
|
1221
1244
|
# @return [Array<Types::DomainNameConfiguration>]
|
1222
1245
|
#
|
1246
|
+
# @!attribute [rw] mutual_tls_authentication
|
1247
|
+
# The mutual TLS authentication configuration for a custom domain
|
1248
|
+
# name.
|
1249
|
+
# @return [Types::MutualTlsAuthenticationInput]
|
1250
|
+
#
|
1223
1251
|
# @!attribute [rw] tags
|
1224
1252
|
# The collection of tags associated with a domain name.
|
1225
1253
|
# @return [Hash<String,String>]
|
@@ -1227,6 +1255,7 @@ module Aws::ApiGatewayV2
|
|
1227
1255
|
class CreateDomainNameInput < Struct.new(
|
1228
1256
|
:domain_name,
|
1229
1257
|
:domain_name_configurations,
|
1258
|
+
:mutual_tls_authentication,
|
1230
1259
|
:tags)
|
1231
1260
|
SENSITIVE = []
|
1232
1261
|
include Aws::Structure
|
@@ -1250,6 +1279,10 @@ module Aws::ApiGatewayV2
|
|
1250
1279
|
# security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
|
1251
1280
|
# },
|
1252
1281
|
# ],
|
1282
|
+
# mutual_tls_authentication: {
|
1283
|
+
# truststore_uri: "UriWithLengthBetween1And2048",
|
1284
|
+
# truststore_version: "StringWithLengthBetween1And64",
|
1285
|
+
# },
|
1253
1286
|
# tags: {
|
1254
1287
|
# "__string" => "StringWithLengthBetween1And1600",
|
1255
1288
|
# },
|
@@ -1263,6 +1296,12 @@ module Aws::ApiGatewayV2
|
|
1263
1296
|
# The domain name configurations.
|
1264
1297
|
# @return [Array<Types::DomainNameConfiguration>]
|
1265
1298
|
#
|
1299
|
+
# @!attribute [rw] mutual_tls_authentication
|
1300
|
+
# If specified, API Gateway performs two-way authentication between
|
1301
|
+
# the client and the server. Clients must present a trusted
|
1302
|
+
# certificate to access your API.
|
1303
|
+
# @return [Types::MutualTlsAuthenticationInput]
|
1304
|
+
#
|
1266
1305
|
# @!attribute [rw] tags
|
1267
1306
|
# Represents a collection of tags associated with the resource.
|
1268
1307
|
# @return [Hash<String,String>]
|
@@ -1270,6 +1309,7 @@ module Aws::ApiGatewayV2
|
|
1270
1309
|
class CreateDomainNameRequest < Struct.new(
|
1271
1310
|
:domain_name,
|
1272
1311
|
:domain_name_configurations,
|
1312
|
+
:mutual_tls_authentication,
|
1273
1313
|
:tags)
|
1274
1314
|
SENSITIVE = []
|
1275
1315
|
include Aws::Structure
|
@@ -1292,6 +1332,12 @@ module Aws::ApiGatewayV2
|
|
1292
1332
|
# The domain name configurations.
|
1293
1333
|
# @return [Array<Types::DomainNameConfiguration>]
|
1294
1334
|
#
|
1335
|
+
# @!attribute [rw] mutual_tls_authentication
|
1336
|
+
# If specified, API Gateway performs two-way authentication between
|
1337
|
+
# the client and the server. Clients must present a trusted
|
1338
|
+
# certificate to access your API.
|
1339
|
+
# @return [Types::MutualTlsAuthentication]
|
1340
|
+
#
|
1295
1341
|
# @!attribute [rw] tags
|
1296
1342
|
# Represents a collection of tags associated with the resource.
|
1297
1343
|
# @return [Hash<String,String>]
|
@@ -1300,6 +1346,7 @@ module Aws::ApiGatewayV2
|
|
1300
1346
|
:api_mapping_selection_expression,
|
1301
1347
|
:domain_name,
|
1302
1348
|
:domain_name_configurations,
|
1349
|
+
:mutual_tls_authentication,
|
1303
1350
|
:tags)
|
1304
1351
|
SENSITIVE = []
|
1305
1352
|
include Aws::Structure
|
@@ -1443,18 +1490,47 @@ module Aws::ApiGatewayV2
|
|
1443
1490
|
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
1444
1491
|
# must be a valid and unique method request parameter name.
|
1445
1492
|
#
|
1446
|
-
# For HTTP
|
1447
|
-
# parameters
|
1448
|
-
#
|
1449
|
-
# request data, stage variables, or context variables
|
1450
|
-
# evaluated at runtime. To learn more, see [Working with AWS
|
1451
|
-
# integrations for HTTP APIs][1].
|
1493
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
1494
|
+
# request parameters are a key-value map specifying parameters that
|
1495
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
1496
|
+
# values, or map request data, stage variables, or context variables
|
1497
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
1498
|
+
# service integrations for HTTP APIs][1].
|
1499
|
+
#
|
1500
|
+
# For HTTP API integrations without a specified integrationSubtype
|
1501
|
+
# request parameters are a key-value map specifying how to transform
|
1502
|
+
# HTTP requests before sending them to the backend. The key should
|
1503
|
+
# follow the pattern
|
1504
|
+
# <action>\:<header\|querystring\|path>.<location>
|
1505
|
+
# where action can be append, overwrite or remove. For values, you can
|
1506
|
+
# provide static values, or map request data, stage variables, or
|
1507
|
+
# context variables that are evaluated at runtime. To learn more, see
|
1508
|
+
# [Transforming API requests and responses][2].
|
1452
1509
|
#
|
1453
1510
|
#
|
1454
1511
|
#
|
1455
1512
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
1513
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1456
1514
|
# @return [Hash<String,String>]
|
1457
1515
|
#
|
1516
|
+
# @!attribute [rw] response_parameters
|
1517
|
+
# Supported only for HTTP APIs. You use response parameters to
|
1518
|
+
# transform the HTTP response from a backend integration before
|
1519
|
+
# returning the response to clients. Specify a key-value map from a
|
1520
|
+
# selection key to response parameters. The selection key must be a
|
1521
|
+
# valid HTTP status code within the range of 200-599. Response
|
1522
|
+
# parameters are a key-value map. The key must match pattern
|
1523
|
+
# <action>\:<header>.<location> or
|
1524
|
+
# overwrite.statuscode. The action can be append, overwrite or remove.
|
1525
|
+
# The value can be a static value, or map to response data, stage
|
1526
|
+
# variables, or context variables that are evaluated at runtime. To
|
1527
|
+
# learn more, see [Transforming API requests and responses][1].
|
1528
|
+
#
|
1529
|
+
#
|
1530
|
+
#
|
1531
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1532
|
+
# @return [Hash<String,Hash<String,String>>]
|
1533
|
+
#
|
1458
1534
|
# @!attribute [rw] request_templates
|
1459
1535
|
# Represents a map of Velocity templates that are applied on the
|
1460
1536
|
# request payload based on the value of the Content-Type header sent
|
@@ -1493,6 +1569,7 @@ module Aws::ApiGatewayV2
|
|
1493
1569
|
:passthrough_behavior,
|
1494
1570
|
:payload_format_version,
|
1495
1571
|
:request_parameters,
|
1572
|
+
:response_parameters,
|
1496
1573
|
:request_templates,
|
1497
1574
|
:template_selection_expression,
|
1498
1575
|
:timeout_in_millis,
|
@@ -1520,6 +1597,11 @@ module Aws::ApiGatewayV2
|
|
1520
1597
|
# request_parameters: {
|
1521
1598
|
# "__string" => "StringWithLengthBetween1And512",
|
1522
1599
|
# },
|
1600
|
+
# response_parameters: {
|
1601
|
+
# "__string" => {
|
1602
|
+
# "__string" => "StringWithLengthBetween1And512",
|
1603
|
+
# },
|
1604
|
+
# },
|
1523
1605
|
# request_templates: {
|
1524
1606
|
# "__string" => "StringWithLengthBetween0And32K",
|
1525
1607
|
# },
|
@@ -1580,20 +1662,45 @@ module Aws::ApiGatewayV2
|
|
1580
1662
|
# @return [String]
|
1581
1663
|
#
|
1582
1664
|
# @!attribute [rw] request_parameters
|
1583
|
-
#
|
1584
|
-
# the method
|
1585
|
-
#
|
1586
|
-
#
|
1587
|
-
# single quotes
|
1588
|
-
#
|
1589
|
-
# method.
|
1590
|
-
#
|
1591
|
-
#
|
1592
|
-
#
|
1593
|
-
#
|
1594
|
-
#
|
1665
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
1666
|
+
# that are passed from the method request to the backend. The key is
|
1667
|
+
# an integration request parameter name and the associated value is a
|
1668
|
+
# method request parameter value or static value that must be enclosed
|
1669
|
+
# within single quotes and pre-encoded as required by the backend. The
|
1670
|
+
# method request parameter value must match the pattern of
|
1671
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
1672
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
1673
|
+
# must be a valid and unique method request parameter name.
|
1674
|
+
#
|
1675
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
1676
|
+
# request parameters are a key-value map specifying parameters that
|
1677
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
1678
|
+
# values, or map request data, stage variables, or context variables
|
1679
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
1680
|
+
# service integrations for HTTP APIs][1].
|
1681
|
+
#
|
1682
|
+
# For HTTP API integrations without a specified integrationSubtype
|
1683
|
+
# request parameters are a key-value map specifying how to transform
|
1684
|
+
# HTTP requests before sending them to the backend. The key should
|
1685
|
+
# follow the pattern
|
1686
|
+
# <action>\:<header\|querystring\|path>.<location>
|
1687
|
+
# where action can be append, overwrite or remove. For values, you can
|
1688
|
+
# provide static values, or map request data, stage variables, or
|
1689
|
+
# context variables that are evaluated at runtime. To learn more, see
|
1690
|
+
# [Transforming API requests and responses][2].
|
1691
|
+
#
|
1692
|
+
#
|
1693
|
+
#
|
1694
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
1695
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1595
1696
|
# @return [Hash<String,String>]
|
1596
1697
|
#
|
1698
|
+
# @!attribute [rw] response_parameters
|
1699
|
+
# Supported only for HTTP APIs. You use response parameters to
|
1700
|
+
# transform the HTTP response from a backend integration before
|
1701
|
+
# returning the response to clients.
|
1702
|
+
# @return [Hash<String,Hash<String,String>>]
|
1703
|
+
#
|
1597
1704
|
# @!attribute [rw] request_templates
|
1598
1705
|
# A mapping of identifier keys to templates. The value is an actual
|
1599
1706
|
# template script. The key is typically a SelectionKey which is chosen
|
@@ -1633,6 +1740,7 @@ module Aws::ApiGatewayV2
|
|
1633
1740
|
:passthrough_behavior,
|
1634
1741
|
:payload_format_version,
|
1635
1742
|
:request_parameters,
|
1743
|
+
:response_parameters,
|
1636
1744
|
:request_templates,
|
1637
1745
|
:template_selection_expression,
|
1638
1746
|
:timeout_in_millis,
|
@@ -1704,20 +1812,45 @@ module Aws::ApiGatewayV2
|
|
1704
1812
|
# @return [String]
|
1705
1813
|
#
|
1706
1814
|
# @!attribute [rw] request_parameters
|
1707
|
-
#
|
1708
|
-
# the method
|
1709
|
-
#
|
1710
|
-
#
|
1711
|
-
# single quotes
|
1712
|
-
#
|
1713
|
-
# method.
|
1714
|
-
#
|
1715
|
-
#
|
1716
|
-
#
|
1717
|
-
#
|
1718
|
-
#
|
1815
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
1816
|
+
# that are passed from the method request to the backend. The key is
|
1817
|
+
# an integration request parameter name and the associated value is a
|
1818
|
+
# method request parameter value or static value that must be enclosed
|
1819
|
+
# within single quotes and pre-encoded as required by the backend. The
|
1820
|
+
# method request parameter value must match the pattern of
|
1821
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
1822
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
1823
|
+
# must be a valid and unique method request parameter name.
|
1824
|
+
#
|
1825
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
1826
|
+
# request parameters are a key-value map specifying parameters that
|
1827
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
1828
|
+
# values, or map request data, stage variables, or context variables
|
1829
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
1830
|
+
# service integrations for HTTP APIs][1].
|
1831
|
+
#
|
1832
|
+
# For HTTP API integrations without a specified integrationSubtype
|
1833
|
+
# request parameters are a key-value map specifying how to transform
|
1834
|
+
# HTTP requests before sending them to the backend. The key should
|
1835
|
+
# follow the pattern
|
1836
|
+
# <action>\:<header\|querystring\|path>.<location>
|
1837
|
+
# where action can be append, overwrite or remove. For values, you can
|
1838
|
+
# provide static values, or map request data, stage variables, or
|
1839
|
+
# context variables that are evaluated at runtime. To learn more, see
|
1840
|
+
# [Transforming API requests and responses][2].
|
1841
|
+
#
|
1842
|
+
#
|
1843
|
+
#
|
1844
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
1845
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1719
1846
|
# @return [Hash<String,String>]
|
1720
1847
|
#
|
1848
|
+
# @!attribute [rw] response_parameters
|
1849
|
+
# Supported only for HTTP APIs. You use response parameters to
|
1850
|
+
# transform the HTTP response from a backend integration before
|
1851
|
+
# returning the response to clients.
|
1852
|
+
# @return [Hash<String,Hash<String,String>>]
|
1853
|
+
#
|
1721
1854
|
# @!attribute [rw] request_templates
|
1722
1855
|
# A mapping of identifier keys to templates. The value is an actual
|
1723
1856
|
# template script. The key is typically a SelectionKey which is chosen
|
@@ -1759,6 +1892,7 @@ module Aws::ApiGatewayV2
|
|
1759
1892
|
:passthrough_behavior,
|
1760
1893
|
:payload_format_version,
|
1761
1894
|
:request_parameters,
|
1895
|
+
:response_parameters,
|
1762
1896
|
:request_templates,
|
1763
1897
|
:template_selection_expression,
|
1764
1898
|
:timeout_in_millis,
|
@@ -1868,18 +2002,37 @@ module Aws::ApiGatewayV2
|
|
1868
2002
|
# @return [String]
|
1869
2003
|
#
|
1870
2004
|
# @!attribute [rw] response_parameters
|
1871
|
-
#
|
1872
|
-
# the method
|
1873
|
-
#
|
1874
|
-
#
|
1875
|
-
# single quotes
|
1876
|
-
#
|
1877
|
-
# method.
|
1878
|
-
#
|
1879
|
-
#
|
1880
|
-
#
|
1881
|
-
#
|
1882
|
-
#
|
2005
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
2006
|
+
# that are passed from the method request to the backend. The key is
|
2007
|
+
# an integration request parameter name and the associated value is a
|
2008
|
+
# method request parameter value or static value that must be enclosed
|
2009
|
+
# within single quotes and pre-encoded as required by the backend. The
|
2010
|
+
# method request parameter value must match the pattern of
|
2011
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
2012
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
2013
|
+
# must be a valid and unique method request parameter name.
|
2014
|
+
#
|
2015
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
2016
|
+
# request parameters are a key-value map specifying parameters that
|
2017
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
2018
|
+
# values, or map request data, stage variables, or context variables
|
2019
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
2020
|
+
# service integrations for HTTP APIs][1].
|
2021
|
+
#
|
2022
|
+
# For HTTP API integrations without a specified integrationSubtype
|
2023
|
+
# request parameters are a key-value map specifying how to transform
|
2024
|
+
# HTTP requests before sending them to the backend. The key should
|
2025
|
+
# follow the pattern
|
2026
|
+
# <action>\:<header\|querystring\|path>.<location>
|
2027
|
+
# where action can be append, overwrite or remove. For values, you can
|
2028
|
+
# provide static values, or map request data, stage variables, or
|
2029
|
+
# context variables that are evaluated at runtime. To learn more, see
|
2030
|
+
# [Transforming API requests and responses][2].
|
2031
|
+
#
|
2032
|
+
#
|
2033
|
+
#
|
2034
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
2035
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1883
2036
|
# @return [Hash<String,String>]
|
1884
2037
|
#
|
1885
2038
|
# @!attribute [rw] response_templates
|
@@ -1930,18 +2083,37 @@ module Aws::ApiGatewayV2
|
|
1930
2083
|
# @return [String]
|
1931
2084
|
#
|
1932
2085
|
# @!attribute [rw] response_parameters
|
1933
|
-
#
|
1934
|
-
# the method
|
1935
|
-
#
|
1936
|
-
#
|
1937
|
-
# single quotes
|
1938
|
-
#
|
1939
|
-
# method.
|
1940
|
-
#
|
1941
|
-
#
|
1942
|
-
#
|
1943
|
-
#
|
1944
|
-
#
|
2086
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
2087
|
+
# that are passed from the method request to the backend. The key is
|
2088
|
+
# an integration request parameter name and the associated value is a
|
2089
|
+
# method request parameter value or static value that must be enclosed
|
2090
|
+
# within single quotes and pre-encoded as required by the backend. The
|
2091
|
+
# method request parameter value must match the pattern of
|
2092
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
2093
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
2094
|
+
# must be a valid and unique method request parameter name.
|
2095
|
+
#
|
2096
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
2097
|
+
# request parameters are a key-value map specifying parameters that
|
2098
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
2099
|
+
# values, or map request data, stage variables, or context variables
|
2100
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
2101
|
+
# service integrations for HTTP APIs][1].
|
2102
|
+
#
|
2103
|
+
# For HTTP API integrations without a specified integrationSubtype
|
2104
|
+
# request parameters are a key-value map specifying how to transform
|
2105
|
+
# HTTP requests before sending them to the backend. The key should
|
2106
|
+
# follow the pattern
|
2107
|
+
# <action>\:<header\|querystring\|path>.<location>
|
2108
|
+
# where action can be append, overwrite or remove. For values, you can
|
2109
|
+
# provide static values, or map request data, stage variables, or
|
2110
|
+
# context variables that are evaluated at runtime. To learn more, see
|
2111
|
+
# [Transforming API requests and responses][2].
|
2112
|
+
#
|
2113
|
+
#
|
2114
|
+
#
|
2115
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
2116
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
1945
2117
|
# @return [Hash<String,String>]
|
1946
2118
|
#
|
1947
2119
|
# @!attribute [rw] response_templates
|
@@ -3240,6 +3412,11 @@ module Aws::ApiGatewayV2
|
|
3240
3412
|
# The domain name configurations.
|
3241
3413
|
# @return [Array<Types::DomainNameConfiguration>]
|
3242
3414
|
#
|
3415
|
+
# @!attribute [rw] mutual_tls_authentication
|
3416
|
+
# The mutual TLS authentication configuration for a custom domain
|
3417
|
+
# name.
|
3418
|
+
# @return [Types::MutualTlsAuthentication]
|
3419
|
+
#
|
3243
3420
|
# @!attribute [rw] tags
|
3244
3421
|
# The collection of tags associated with a domain name.
|
3245
3422
|
# @return [Hash<String,String>]
|
@@ -3248,6 +3425,7 @@ module Aws::ApiGatewayV2
|
|
3248
3425
|
:api_mapping_selection_expression,
|
3249
3426
|
:domain_name,
|
3250
3427
|
:domain_name_configurations,
|
3428
|
+
:mutual_tls_authentication,
|
3251
3429
|
:tags)
|
3252
3430
|
SENSITIVE = []
|
3253
3431
|
include Aws::Structure
|
@@ -3569,6 +3747,9 @@ module Aws::ApiGatewayV2
|
|
3569
3747
|
# @!attribute [rw] disable_schema_validation
|
3570
3748
|
# @return [Boolean]
|
3571
3749
|
#
|
3750
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
3751
|
+
# @return [Boolean]
|
3752
|
+
#
|
3572
3753
|
# @!attribute [rw] import_info
|
3573
3754
|
# @return [Array<String>]
|
3574
3755
|
#
|
@@ -3609,6 +3790,7 @@ module Aws::ApiGatewayV2
|
|
3609
3790
|
:created_date,
|
3610
3791
|
:description,
|
3611
3792
|
:disable_schema_validation,
|
3793
|
+
:disable_execute_api_endpoint,
|
3612
3794
|
:import_info,
|
3613
3795
|
:name,
|
3614
3796
|
:protocol_type,
|
@@ -3922,6 +4104,12 @@ module Aws::ApiGatewayV2
|
|
3922
4104
|
# The domain name configurations.
|
3923
4105
|
# @return [Array<Types::DomainNameConfiguration>]
|
3924
4106
|
#
|
4107
|
+
# @!attribute [rw] mutual_tls_authentication
|
4108
|
+
# If specified, API Gateway performs two-way authentication between
|
4109
|
+
# the client and the server. Clients must present a trusted
|
4110
|
+
# certificate to access your API.
|
4111
|
+
# @return [Types::MutualTlsAuthentication]
|
4112
|
+
#
|
3925
4113
|
# @!attribute [rw] tags
|
3926
4114
|
# Represents a collection of tags associated with the resource.
|
3927
4115
|
# @return [Hash<String,String>]
|
@@ -3930,6 +4118,7 @@ module Aws::ApiGatewayV2
|
|
3930
4118
|
:api_mapping_selection_expression,
|
3931
4119
|
:domain_name,
|
3932
4120
|
:domain_name_configurations,
|
4121
|
+
:mutual_tls_authentication,
|
3933
4122
|
:tags)
|
3934
4123
|
SENSITIVE = []
|
3935
4124
|
include Aws::Structure
|
@@ -4055,20 +4244,45 @@ module Aws::ApiGatewayV2
|
|
4055
4244
|
# @return [String]
|
4056
4245
|
#
|
4057
4246
|
# @!attribute [rw] request_parameters
|
4058
|
-
#
|
4059
|
-
# the method
|
4060
|
-
#
|
4061
|
-
#
|
4062
|
-
# single quotes
|
4063
|
-
#
|
4064
|
-
# method.
|
4065
|
-
#
|
4066
|
-
#
|
4067
|
-
#
|
4068
|
-
#
|
4069
|
-
#
|
4247
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
4248
|
+
# that are passed from the method request to the backend. The key is
|
4249
|
+
# an integration request parameter name and the associated value is a
|
4250
|
+
# method request parameter value or static value that must be enclosed
|
4251
|
+
# within single quotes and pre-encoded as required by the backend. The
|
4252
|
+
# method request parameter value must match the pattern of
|
4253
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
4254
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
4255
|
+
# must be a valid and unique method request parameter name.
|
4256
|
+
#
|
4257
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
4258
|
+
# request parameters are a key-value map specifying parameters that
|
4259
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
4260
|
+
# values, or map request data, stage variables, or context variables
|
4261
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
4262
|
+
# service integrations for HTTP APIs][1].
|
4263
|
+
#
|
4264
|
+
# For HTTP API integrations without a specified integrationSubtype
|
4265
|
+
# request parameters are a key-value map specifying how to transform
|
4266
|
+
# HTTP requests before sending them to the backend. The key should
|
4267
|
+
# follow the pattern
|
4268
|
+
# <action>\:<header\|querystring\|path>.<location>
|
4269
|
+
# where action can be append, overwrite or remove. For values, you can
|
4270
|
+
# provide static values, or map request data, stage variables, or
|
4271
|
+
# context variables that are evaluated at runtime. To learn more, see
|
4272
|
+
# [Transforming API requests and responses][2].
|
4273
|
+
#
|
4274
|
+
#
|
4275
|
+
#
|
4276
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
4277
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
4070
4278
|
# @return [Hash<String,String>]
|
4071
4279
|
#
|
4280
|
+
# @!attribute [rw] response_parameters
|
4281
|
+
# Supported only for HTTP APIs. You use response parameters to
|
4282
|
+
# transform the HTTP response from a backend integration before
|
4283
|
+
# returning the response to clients.
|
4284
|
+
# @return [Hash<String,Hash<String,String>>]
|
4285
|
+
#
|
4072
4286
|
# @!attribute [rw] request_templates
|
4073
4287
|
# A mapping of identifier keys to templates. The value is an actual
|
4074
4288
|
# template script. The key is typically a SelectionKey which is chosen
|
@@ -4110,6 +4324,7 @@ module Aws::ApiGatewayV2
|
|
4110
4324
|
:passthrough_behavior,
|
4111
4325
|
:payload_format_version,
|
4112
4326
|
:request_parameters,
|
4327
|
+
:response_parameters,
|
4113
4328
|
:request_templates,
|
4114
4329
|
:template_selection_expression,
|
4115
4330
|
:timeout_in_millis,
|
@@ -4165,18 +4380,37 @@ module Aws::ApiGatewayV2
|
|
4165
4380
|
# @return [String]
|
4166
4381
|
#
|
4167
4382
|
# @!attribute [rw] response_parameters
|
4168
|
-
#
|
4169
|
-
# the method
|
4170
|
-
#
|
4171
|
-
#
|
4172
|
-
# single quotes
|
4173
|
-
#
|
4174
|
-
# method.
|
4175
|
-
#
|
4176
|
-
#
|
4177
|
-
#
|
4178
|
-
#
|
4179
|
-
#
|
4383
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
4384
|
+
# that are passed from the method request to the backend. The key is
|
4385
|
+
# an integration request parameter name and the associated value is a
|
4386
|
+
# method request parameter value or static value that must be enclosed
|
4387
|
+
# within single quotes and pre-encoded as required by the backend. The
|
4388
|
+
# method request parameter value must match the pattern of
|
4389
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
4390
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
4391
|
+
# must be a valid and unique method request parameter name.
|
4392
|
+
#
|
4393
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
4394
|
+
# request parameters are a key-value map specifying parameters that
|
4395
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
4396
|
+
# values, or map request data, stage variables, or context variables
|
4397
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
4398
|
+
# service integrations for HTTP APIs][1].
|
4399
|
+
#
|
4400
|
+
# For HTTP API integrations without a specified integrationSubtype
|
4401
|
+
# request parameters are a key-value map specifying how to transform
|
4402
|
+
# HTTP requests before sending them to the backend. The key should
|
4403
|
+
# follow the pattern
|
4404
|
+
# <action>\:<header\|querystring\|path>.<location>
|
4405
|
+
# where action can be append, overwrite or remove. For values, you can
|
4406
|
+
# provide static values, or map request data, stage variables, or
|
4407
|
+
# context variables that are evaluated at runtime. To learn more, see
|
4408
|
+
# [Transforming API requests and responses][2].
|
4409
|
+
#
|
4410
|
+
#
|
4411
|
+
#
|
4412
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
4413
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
4180
4414
|
# @return [Hash<String,String>]
|
4181
4415
|
#
|
4182
4416
|
# @!attribute [rw] response_templates
|
@@ -5022,6 +5256,9 @@ module Aws::ApiGatewayV2
|
|
5022
5256
|
# @!attribute [rw] disable_schema_validation
|
5023
5257
|
# @return [Boolean]
|
5024
5258
|
#
|
5259
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
5260
|
+
# @return [Boolean]
|
5261
|
+
#
|
5025
5262
|
# @!attribute [rw] import_info
|
5026
5263
|
# @return [Array<String>]
|
5027
5264
|
#
|
@@ -5062,6 +5299,7 @@ module Aws::ApiGatewayV2
|
|
5062
5299
|
:created_date,
|
5063
5300
|
:description,
|
5064
5301
|
:disable_schema_validation,
|
5302
|
+
:disable_execute_api_endpoint,
|
5065
5303
|
:import_info,
|
5066
5304
|
:name,
|
5067
5305
|
:protocol_type,
|
@@ -5231,18 +5469,47 @@ module Aws::ApiGatewayV2
|
|
5231
5469
|
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
5232
5470
|
# must be a valid and unique method request parameter name.
|
5233
5471
|
#
|
5234
|
-
# For HTTP
|
5235
|
-
# parameters
|
5236
|
-
#
|
5237
|
-
# request data, stage variables, or context variables
|
5238
|
-
# evaluated at runtime. To learn more, see [Working with AWS
|
5239
|
-
# integrations for HTTP APIs][1].
|
5472
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
5473
|
+
# request parameters are a key-value map specifying parameters that
|
5474
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
5475
|
+
# values, or map request data, stage variables, or context variables
|
5476
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
5477
|
+
# service integrations for HTTP APIs][1].
|
5478
|
+
#
|
5479
|
+
# For HTTP API itegrations, without a specified integrationSubtype
|
5480
|
+
# request parameters are a key-value map specifying how to transform
|
5481
|
+
# HTTP requests before sending them to backend integrations. The key
|
5482
|
+
# should follow the pattern
|
5483
|
+
# <action>\:<header\|querystring\|path>.<location>.
|
5484
|
+
# The action can be append, overwrite or remove. For values, you can
|
5485
|
+
# provide static values, or map request data, stage variables, or
|
5486
|
+
# context variables that are evaluated at runtime. To learn more, see
|
5487
|
+
# [Transforming API requests and responses][2].
|
5240
5488
|
#
|
5241
5489
|
#
|
5242
5490
|
#
|
5243
5491
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
5492
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
5244
5493
|
# @return [Hash<String,String>]
|
5245
5494
|
#
|
5495
|
+
# @!attribute [rw] response_parameters
|
5496
|
+
# Supported only for HTTP APIs. You use response parameters to
|
5497
|
+
# transform the HTTP response from a backend integration before
|
5498
|
+
# returning the response to clients. Specify a key-value map from a
|
5499
|
+
# selection key to response parameters. The selection key must be a
|
5500
|
+
# valid HTTP status code within the range of 200-599. Response
|
5501
|
+
# parameters are a key-value map. The key must match pattern
|
5502
|
+
# <action>\:<header>.<location> or
|
5503
|
+
# overwrite.statuscode. The action can be append, overwrite or remove.
|
5504
|
+
# The value can be a static value, or map to response data, stage
|
5505
|
+
# variables, or context variables that are evaluated at runtime. To
|
5506
|
+
# learn more, see [Transforming API requests and responses][1].
|
5507
|
+
#
|
5508
|
+
#
|
5509
|
+
#
|
5510
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
5511
|
+
# @return [Hash<String,Hash<String,String>>]
|
5512
|
+
#
|
5246
5513
|
# @!attribute [rw] request_templates
|
5247
5514
|
# Represents a map of Velocity templates that are applied on the
|
5248
5515
|
# request payload based on the value of the Content-Type header sent
|
@@ -5285,6 +5552,7 @@ module Aws::ApiGatewayV2
|
|
5285
5552
|
:passthrough_behavior,
|
5286
5553
|
:payload_format_version,
|
5287
5554
|
:request_parameters,
|
5555
|
+
:response_parameters,
|
5288
5556
|
:request_templates,
|
5289
5557
|
:template_selection_expression,
|
5290
5558
|
:timeout_in_millis,
|
@@ -5510,6 +5778,77 @@ module Aws::ApiGatewayV2
|
|
5510
5778
|
include Aws::Structure
|
5511
5779
|
end
|
5512
5780
|
|
5781
|
+
# If specified, API Gateway performs two-way authentication between the
|
5782
|
+
# client and the server. Clients must present a trusted certificate to
|
5783
|
+
# access your API.
|
5784
|
+
#
|
5785
|
+
# @!attribute [rw] truststore_uri
|
5786
|
+
# An Amazon S3 URL that specifies the truststore for mutual TLS
|
5787
|
+
# authentication, for example, s3://*bucket-name*/*key-name* . The
|
5788
|
+
# truststore can contain certificates from public or private
|
5789
|
+
# certificate authorities. To update the truststore, upload a new
|
5790
|
+
# version to S3, and then update your custom domain name to use the
|
5791
|
+
# new version. To update the truststore, you must have permissions to
|
5792
|
+
# access the S3 object.
|
5793
|
+
# @return [String]
|
5794
|
+
#
|
5795
|
+
# @!attribute [rw] truststore_version
|
5796
|
+
# The version of the S3 object that contains your truststore. To
|
5797
|
+
# specify a version, you must have versioning enabled for the S3
|
5798
|
+
# bucket.
|
5799
|
+
# @return [String]
|
5800
|
+
#
|
5801
|
+
# @!attribute [rw] truststore_warnings
|
5802
|
+
# A list of warnings that API Gateway returns while processing your
|
5803
|
+
# truststore. Invalid certificates produce warnings. Mutual TLS is
|
5804
|
+
# still enabled, but some clients might not be able to access your
|
5805
|
+
# API. To resolve warnings, upload a new truststore to S3, and then
|
5806
|
+
# update you domain name to use the new version.
|
5807
|
+
# @return [Array<String>]
|
5808
|
+
#
|
5809
|
+
class MutualTlsAuthentication < Struct.new(
|
5810
|
+
:truststore_uri,
|
5811
|
+
:truststore_version,
|
5812
|
+
:truststore_warnings)
|
5813
|
+
SENSITIVE = []
|
5814
|
+
include Aws::Structure
|
5815
|
+
end
|
5816
|
+
|
5817
|
+
# If specified, API Gateway performs two-way authentication between the
|
5818
|
+
# client and the server. Clients must present a trusted certificate to
|
5819
|
+
# access your API.
|
5820
|
+
#
|
5821
|
+
# @note When making an API call, you may pass MutualTlsAuthenticationInput
|
5822
|
+
# data as a hash:
|
5823
|
+
#
|
5824
|
+
# {
|
5825
|
+
# truststore_uri: "UriWithLengthBetween1And2048",
|
5826
|
+
# truststore_version: "StringWithLengthBetween1And64",
|
5827
|
+
# }
|
5828
|
+
#
|
5829
|
+
# @!attribute [rw] truststore_uri
|
5830
|
+
# An Amazon S3 URL that specifies the truststore for mutual TLS
|
5831
|
+
# authentication, for example, s3://*bucket-name*/*key-name* . The
|
5832
|
+
# truststore can contain certificates from public or private
|
5833
|
+
# certificate authorities. To update the truststore, upload a new
|
5834
|
+
# version to S3, and then update your custom domain name to use the
|
5835
|
+
# new version. To update the truststore, you must have permissions to
|
5836
|
+
# access the S3 object.
|
5837
|
+
# @return [String]
|
5838
|
+
#
|
5839
|
+
# @!attribute [rw] truststore_version
|
5840
|
+
# The version of the S3 object that contains your truststore. To
|
5841
|
+
# specify a version, you must have versioning enabled for the S3
|
5842
|
+
# bucket.
|
5843
|
+
# @return [String]
|
5844
|
+
#
|
5845
|
+
class MutualTlsAuthenticationInput < Struct.new(
|
5846
|
+
:truststore_uri,
|
5847
|
+
:truststore_version)
|
5848
|
+
SENSITIVE = []
|
5849
|
+
include Aws::Structure
|
5850
|
+
end
|
5851
|
+
|
5513
5852
|
# The resource specified in the request was not found. See the message
|
5514
5853
|
# field for more information.
|
5515
5854
|
#
|
@@ -5630,6 +5969,9 @@ module Aws::ApiGatewayV2
|
|
5630
5969
|
# @!attribute [rw] disable_schema_validation
|
5631
5970
|
# @return [Boolean]
|
5632
5971
|
#
|
5972
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
5973
|
+
# @return [Boolean]
|
5974
|
+
#
|
5633
5975
|
# @!attribute [rw] import_info
|
5634
5976
|
# @return [Array<String>]
|
5635
5977
|
#
|
@@ -5670,6 +6012,7 @@ module Aws::ApiGatewayV2
|
|
5670
6012
|
:created_date,
|
5671
6013
|
:description,
|
5672
6014
|
:disable_schema_validation,
|
6015
|
+
:disable_execute_api_endpoint,
|
5673
6016
|
:import_info,
|
5674
6017
|
:name,
|
5675
6018
|
:protocol_type,
|
@@ -6161,6 +6504,9 @@ module Aws::ApiGatewayV2
|
|
6161
6504
|
# for WebSocket APIs.
|
6162
6505
|
# @return [Boolean]
|
6163
6506
|
#
|
6507
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
6508
|
+
# @return [Boolean]
|
6509
|
+
#
|
6164
6510
|
# @!attribute [rw] name
|
6165
6511
|
# The name of the API.
|
6166
6512
|
# @return [String]
|
@@ -6198,6 +6544,7 @@ module Aws::ApiGatewayV2
|
|
6198
6544
|
:credentials_arn,
|
6199
6545
|
:description,
|
6200
6546
|
:disable_schema_validation,
|
6547
|
+
:disable_execute_api_endpoint,
|
6201
6548
|
:name,
|
6202
6549
|
:route_key,
|
6203
6550
|
:route_selection_expression,
|
@@ -6324,6 +6671,7 @@ module Aws::ApiGatewayV2
|
|
6324
6671
|
# credentials_arn: "Arn",
|
6325
6672
|
# description: "StringWithLengthBetween0And1024",
|
6326
6673
|
# disable_schema_validation: false,
|
6674
|
+
# disable_execute_api_endpoint: false,
|
6327
6675
|
# name: "StringWithLengthBetween1And128",
|
6328
6676
|
# route_key: "SelectionKey",
|
6329
6677
|
# route_selection_expression: "SelectionExpression",
|
@@ -6363,6 +6711,9 @@ module Aws::ApiGatewayV2
|
|
6363
6711
|
# @!attribute [rw] disable_schema_validation
|
6364
6712
|
# @return [Boolean]
|
6365
6713
|
#
|
6714
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
6715
|
+
# @return [Boolean]
|
6716
|
+
#
|
6366
6717
|
# @!attribute [rw] name
|
6367
6718
|
# A string with a length between \[1-128\].
|
6368
6719
|
# @return [String]
|
@@ -6402,6 +6753,7 @@ module Aws::ApiGatewayV2
|
|
6402
6753
|
:credentials_arn,
|
6403
6754
|
:description,
|
6404
6755
|
:disable_schema_validation,
|
6756
|
+
:disable_execute_api_endpoint,
|
6405
6757
|
:name,
|
6406
6758
|
:route_key,
|
6407
6759
|
:route_selection_expression,
|
@@ -6449,6 +6801,9 @@ module Aws::ApiGatewayV2
|
|
6449
6801
|
# @!attribute [rw] disable_schema_validation
|
6450
6802
|
# @return [Boolean]
|
6451
6803
|
#
|
6804
|
+
# @!attribute [rw] disable_execute_api_endpoint
|
6805
|
+
# @return [Boolean]
|
6806
|
+
#
|
6452
6807
|
# @!attribute [rw] import_info
|
6453
6808
|
# @return [Array<String>]
|
6454
6809
|
#
|
@@ -6489,6 +6844,7 @@ module Aws::ApiGatewayV2
|
|
6489
6844
|
:created_date,
|
6490
6845
|
:description,
|
6491
6846
|
:disable_schema_validation,
|
6847
|
+
:disable_execute_api_endpoint,
|
6492
6848
|
:import_info,
|
6493
6849
|
:name,
|
6494
6850
|
:protocol_type,
|
@@ -6876,8 +7232,14 @@ module Aws::ApiGatewayV2
|
|
6876
7232
|
# The domain name configurations.
|
6877
7233
|
# @return [Array<Types::DomainNameConfiguration>]
|
6878
7234
|
#
|
7235
|
+
# @!attribute [rw] mutual_tls_authentication
|
7236
|
+
# The mutual TLS authentication configuration for a custom domain
|
7237
|
+
# name.
|
7238
|
+
# @return [Types::MutualTlsAuthenticationInput]
|
7239
|
+
#
|
6879
7240
|
class UpdateDomainNameInput < Struct.new(
|
6880
|
-
:domain_name_configurations
|
7241
|
+
:domain_name_configurations,
|
7242
|
+
:mutual_tls_authentication)
|
6881
7243
|
SENSITIVE = []
|
6882
7244
|
include Aws::Structure
|
6883
7245
|
end
|
@@ -6900,6 +7262,10 @@ module Aws::ApiGatewayV2
|
|
6900
7262
|
# security_policy: "TLS_1_0", # accepts TLS_1_0, TLS_1_2
|
6901
7263
|
# },
|
6902
7264
|
# ],
|
7265
|
+
# mutual_tls_authentication: {
|
7266
|
+
# truststore_uri: "UriWithLengthBetween1And2048",
|
7267
|
+
# truststore_version: "StringWithLengthBetween1And64",
|
7268
|
+
# },
|
6903
7269
|
# }
|
6904
7270
|
#
|
6905
7271
|
# @!attribute [rw] domain_name
|
@@ -6909,9 +7275,16 @@ module Aws::ApiGatewayV2
|
|
6909
7275
|
# The domain name configurations.
|
6910
7276
|
# @return [Array<Types::DomainNameConfiguration>]
|
6911
7277
|
#
|
7278
|
+
# @!attribute [rw] mutual_tls_authentication
|
7279
|
+
# If specified, API Gateway performs two-way authentication between
|
7280
|
+
# the client and the server. Clients must present a trusted
|
7281
|
+
# certificate to access your API.
|
7282
|
+
# @return [Types::MutualTlsAuthenticationInput]
|
7283
|
+
#
|
6912
7284
|
class UpdateDomainNameRequest < Struct.new(
|
6913
7285
|
:domain_name,
|
6914
|
-
:domain_name_configurations
|
7286
|
+
:domain_name_configurations,
|
7287
|
+
:mutual_tls_authentication)
|
6915
7288
|
SENSITIVE = []
|
6916
7289
|
include Aws::Structure
|
6917
7290
|
end
|
@@ -6933,6 +7306,12 @@ module Aws::ApiGatewayV2
|
|
6933
7306
|
# The domain name configurations.
|
6934
7307
|
# @return [Array<Types::DomainNameConfiguration>]
|
6935
7308
|
#
|
7309
|
+
# @!attribute [rw] mutual_tls_authentication
|
7310
|
+
# If specified, API Gateway performs two-way authentication between
|
7311
|
+
# the client and the server. Clients must present a trusted
|
7312
|
+
# certificate to access your API.
|
7313
|
+
# @return [Types::MutualTlsAuthentication]
|
7314
|
+
#
|
6936
7315
|
# @!attribute [rw] tags
|
6937
7316
|
# Represents a collection of tags associated with the resource.
|
6938
7317
|
# @return [Hash<String,String>]
|
@@ -6941,6 +7320,7 @@ module Aws::ApiGatewayV2
|
|
6941
7320
|
:api_mapping_selection_expression,
|
6942
7321
|
:domain_name,
|
6943
7322
|
:domain_name_configurations,
|
7323
|
+
:mutual_tls_authentication,
|
6944
7324
|
:tags)
|
6945
7325
|
SENSITIVE = []
|
6946
7326
|
include Aws::Structure
|
@@ -7084,18 +7464,47 @@ module Aws::ApiGatewayV2
|
|
7084
7464
|
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
7085
7465
|
# must be a valid and unique method request parameter name.
|
7086
7466
|
#
|
7087
|
-
# For HTTP
|
7088
|
-
# parameters
|
7089
|
-
#
|
7090
|
-
# request data, stage variables, or context variables
|
7091
|
-
# evaluated at runtime. To learn more, see [Working with AWS
|
7092
|
-
# integrations for HTTP APIs][1].
|
7467
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
7468
|
+
# request parameters are a key-value map specifying parameters that
|
7469
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
7470
|
+
# values, or map request data, stage variables, or context variables
|
7471
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
7472
|
+
# service integrations for HTTP APIs][1].
|
7473
|
+
#
|
7474
|
+
# For HTTP API integrations, without a specified integrationSubtype
|
7475
|
+
# request parameters are a key-value map specifying how to transform
|
7476
|
+
# HTTP requests before sending them to the backend. The key should
|
7477
|
+
# follow the pattern
|
7478
|
+
# <action>\:<header\|querystring\|path>.<location>
|
7479
|
+
# where action can be append, overwrite or remove. For values, you can
|
7480
|
+
# provide static values, or map request data, stage variables, or
|
7481
|
+
# context variables that are evaluated at runtime. To learn more, see
|
7482
|
+
# [Transforming API requests and responses][2].
|
7093
7483
|
#
|
7094
7484
|
#
|
7095
7485
|
#
|
7096
7486
|
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
7487
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.
|
7097
7488
|
# @return [Hash<String,String>]
|
7098
7489
|
#
|
7490
|
+
# @!attribute [rw] response_parameters
|
7491
|
+
# Supported only for HTTP APIs. You use response parameters to
|
7492
|
+
# transform the HTTP response from a backend integration before
|
7493
|
+
# returning the response to clients. Specify a key-value map from a
|
7494
|
+
# selection key to response parameters. The selection key must be a
|
7495
|
+
# valid HTTP status code within the range of 200-599. Response
|
7496
|
+
# parameters are a key-value map. The key must match pattern
|
7497
|
+
# <action>\:<header>.<location> or
|
7498
|
+
# overwrite.statuscode. The action can be append, overwrite or remove.
|
7499
|
+
# The value can be a static value, or map to response data, stage
|
7500
|
+
# variables, or context variables that are evaluated at runtime. To
|
7501
|
+
# learn more, see [Transforming API requests and responses][1].
|
7502
|
+
#
|
7503
|
+
#
|
7504
|
+
#
|
7505
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
7506
|
+
# @return [Hash<String,Hash<String,String>>]
|
7507
|
+
#
|
7099
7508
|
# @!attribute [rw] request_templates
|
7100
7509
|
# Represents a map of Velocity templates that are applied on the
|
7101
7510
|
# request payload based on the value of the Content-Type header sent
|
@@ -7134,6 +7543,7 @@ module Aws::ApiGatewayV2
|
|
7134
7543
|
:passthrough_behavior,
|
7135
7544
|
:payload_format_version,
|
7136
7545
|
:request_parameters,
|
7546
|
+
:response_parameters,
|
7137
7547
|
:request_templates,
|
7138
7548
|
:template_selection_expression,
|
7139
7549
|
:timeout_in_millis,
|
@@ -7162,6 +7572,11 @@ module Aws::ApiGatewayV2
|
|
7162
7572
|
# request_parameters: {
|
7163
7573
|
# "__string" => "StringWithLengthBetween1And512",
|
7164
7574
|
# },
|
7575
|
+
# response_parameters: {
|
7576
|
+
# "__string" => {
|
7577
|
+
# "__string" => "StringWithLengthBetween1And512",
|
7578
|
+
# },
|
7579
|
+
# },
|
7165
7580
|
# request_templates: {
|
7166
7581
|
# "__string" => "StringWithLengthBetween0And32K",
|
7167
7582
|
# },
|
@@ -7225,20 +7640,45 @@ module Aws::ApiGatewayV2
|
|
7225
7640
|
# @return [String]
|
7226
7641
|
#
|
7227
7642
|
# @!attribute [rw] request_parameters
|
7228
|
-
#
|
7229
|
-
# the method
|
7230
|
-
#
|
7231
|
-
#
|
7232
|
-
# single quotes
|
7233
|
-
#
|
7234
|
-
# method.
|
7235
|
-
#
|
7236
|
-
#
|
7237
|
-
#
|
7238
|
-
#
|
7239
|
-
#
|
7643
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
7644
|
+
# that are passed from the method request to the backend. The key is
|
7645
|
+
# an integration request parameter name and the associated value is a
|
7646
|
+
# method request parameter value or static value that must be enclosed
|
7647
|
+
# within single quotes and pre-encoded as required by the backend. The
|
7648
|
+
# method request parameter value must match the pattern of
|
7649
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
7650
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
7651
|
+
# must be a valid and unique method request parameter name.
|
7652
|
+
#
|
7653
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
7654
|
+
# request parameters are a key-value map specifying parameters that
|
7655
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
7656
|
+
# values, or map request data, stage variables, or context variables
|
7657
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
7658
|
+
# service integrations for HTTP APIs][1].
|
7659
|
+
#
|
7660
|
+
# For HTTP API integrations without a specified integrationSubtype
|
7661
|
+
# request parameters are a key-value map specifying how to transform
|
7662
|
+
# HTTP requests before sending them to the backend. The key should
|
7663
|
+
# follow the pattern
|
7664
|
+
# <action>\:<header\|querystring\|path>.<location>
|
7665
|
+
# where action can be append, overwrite or remove. For values, you can
|
7666
|
+
# provide static values, or map request data, stage variables, or
|
7667
|
+
# context variables that are evaluated at runtime. To learn more, see
|
7668
|
+
# [Transforming API requests and responses][2].
|
7669
|
+
#
|
7670
|
+
#
|
7671
|
+
#
|
7672
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
7673
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
7240
7674
|
# @return [Hash<String,String>]
|
7241
7675
|
#
|
7676
|
+
# @!attribute [rw] response_parameters
|
7677
|
+
# Supported only for HTTP APIs. You use response parameters to
|
7678
|
+
# transform the HTTP response from a backend integration before
|
7679
|
+
# returning the response to clients.
|
7680
|
+
# @return [Hash<String,Hash<String,String>>]
|
7681
|
+
#
|
7242
7682
|
# @!attribute [rw] request_templates
|
7243
7683
|
# A mapping of identifier keys to templates. The value is an actual
|
7244
7684
|
# template script. The key is typically a SelectionKey which is chosen
|
@@ -7279,6 +7719,7 @@ module Aws::ApiGatewayV2
|
|
7279
7719
|
:passthrough_behavior,
|
7280
7720
|
:payload_format_version,
|
7281
7721
|
:request_parameters,
|
7722
|
+
:response_parameters,
|
7282
7723
|
:request_templates,
|
7283
7724
|
:template_selection_expression,
|
7284
7725
|
:timeout_in_millis,
|
@@ -7350,20 +7791,45 @@ module Aws::ApiGatewayV2
|
|
7350
7791
|
# @return [String]
|
7351
7792
|
#
|
7352
7793
|
# @!attribute [rw] request_parameters
|
7353
|
-
#
|
7354
|
-
# the method
|
7355
|
-
#
|
7356
|
-
#
|
7357
|
-
# single quotes
|
7358
|
-
#
|
7359
|
-
# method.
|
7360
|
-
#
|
7361
|
-
#
|
7362
|
-
#
|
7363
|
-
#
|
7364
|
-
#
|
7794
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
7795
|
+
# that are passed from the method request to the backend. The key is
|
7796
|
+
# an integration request parameter name and the associated value is a
|
7797
|
+
# method request parameter value or static value that must be enclosed
|
7798
|
+
# within single quotes and pre-encoded as required by the backend. The
|
7799
|
+
# method request parameter value must match the pattern of
|
7800
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
7801
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
7802
|
+
# must be a valid and unique method request parameter name.
|
7803
|
+
#
|
7804
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
7805
|
+
# request parameters are a key-value map specifying parameters that
|
7806
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
7807
|
+
# values, or map request data, stage variables, or context variables
|
7808
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
7809
|
+
# service integrations for HTTP APIs][1].
|
7810
|
+
#
|
7811
|
+
# For HTTP API integrations without a specified integrationSubtype
|
7812
|
+
# request parameters are a key-value map specifying how to transform
|
7813
|
+
# HTTP requests before sending them to the backend. The key should
|
7814
|
+
# follow the pattern
|
7815
|
+
# <action>\:<header\|querystring\|path>.<location>
|
7816
|
+
# where action can be append, overwrite or remove. For values, you can
|
7817
|
+
# provide static values, or map request data, stage variables, or
|
7818
|
+
# context variables that are evaluated at runtime. To learn more, see
|
7819
|
+
# [Transforming API requests and responses][2].
|
7820
|
+
#
|
7821
|
+
#
|
7822
|
+
#
|
7823
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
7824
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
7365
7825
|
# @return [Hash<String,String>]
|
7366
7826
|
#
|
7827
|
+
# @!attribute [rw] response_parameters
|
7828
|
+
# Supported only for HTTP APIs. You use response parameters to
|
7829
|
+
# transform the HTTP response from a backend integration before
|
7830
|
+
# returning the response to clients.
|
7831
|
+
# @return [Hash<String,Hash<String,String>>]
|
7832
|
+
#
|
7367
7833
|
# @!attribute [rw] request_templates
|
7368
7834
|
# A mapping of identifier keys to templates. The value is an actual
|
7369
7835
|
# template script. The key is typically a SelectionKey which is chosen
|
@@ -7405,6 +7871,7 @@ module Aws::ApiGatewayV2
|
|
7405
7871
|
:passthrough_behavior,
|
7406
7872
|
:payload_format_version,
|
7407
7873
|
:request_parameters,
|
7874
|
+
:response_parameters,
|
7408
7875
|
:request_templates,
|
7409
7876
|
:template_selection_expression,
|
7410
7877
|
:timeout_in_millis,
|
@@ -7519,18 +7986,37 @@ module Aws::ApiGatewayV2
|
|
7519
7986
|
# @return [String]
|
7520
7987
|
#
|
7521
7988
|
# @!attribute [rw] response_parameters
|
7522
|
-
#
|
7523
|
-
# the method
|
7524
|
-
#
|
7525
|
-
#
|
7526
|
-
# single quotes
|
7527
|
-
#
|
7528
|
-
# method.
|
7529
|
-
#
|
7530
|
-
#
|
7531
|
-
#
|
7532
|
-
#
|
7533
|
-
#
|
7989
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
7990
|
+
# that are passed from the method request to the backend. The key is
|
7991
|
+
# an integration request parameter name and the associated value is a
|
7992
|
+
# method request parameter value or static value that must be enclosed
|
7993
|
+
# within single quotes and pre-encoded as required by the backend. The
|
7994
|
+
# method request parameter value must match the pattern of
|
7995
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
7996
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
7997
|
+
# must be a valid and unique method request parameter name.
|
7998
|
+
#
|
7999
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
8000
|
+
# request parameters are a key-value map specifying parameters that
|
8001
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
8002
|
+
# values, or map request data, stage variables, or context variables
|
8003
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
8004
|
+
# service integrations for HTTP APIs][1].
|
8005
|
+
#
|
8006
|
+
# For HTTP API integrations without a specified integrationSubtype
|
8007
|
+
# request parameters are a key-value map specifying how to transform
|
8008
|
+
# HTTP requests before sending them to the backend. The key should
|
8009
|
+
# follow the pattern
|
8010
|
+
# <action>\:<header\|querystring\|path>.<location>
|
8011
|
+
# where action can be append, overwrite or remove. For values, you can
|
8012
|
+
# provide static values, or map request data, stage variables, or
|
8013
|
+
# context variables that are evaluated at runtime. To learn more, see
|
8014
|
+
# [Transforming API requests and responses][2].
|
8015
|
+
#
|
8016
|
+
#
|
8017
|
+
#
|
8018
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
8019
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
7534
8020
|
# @return [Hash<String,String>]
|
7535
8021
|
#
|
7536
8022
|
# @!attribute [rw] response_templates
|
@@ -7582,18 +8068,37 @@ module Aws::ApiGatewayV2
|
|
7582
8068
|
# @return [String]
|
7583
8069
|
#
|
7584
8070
|
# @!attribute [rw] response_parameters
|
7585
|
-
#
|
7586
|
-
# the method
|
7587
|
-
#
|
7588
|
-
#
|
7589
|
-
# single quotes
|
7590
|
-
#
|
7591
|
-
# method.
|
7592
|
-
#
|
7593
|
-
#
|
7594
|
-
#
|
7595
|
-
#
|
7596
|
-
#
|
8071
|
+
# For WebSocket APIs, a key-value map specifying request parameters
|
8072
|
+
# that are passed from the method request to the backend. The key is
|
8073
|
+
# an integration request parameter name and the associated value is a
|
8074
|
+
# method request parameter value or static value that must be enclosed
|
8075
|
+
# within single quotes and pre-encoded as required by the backend. The
|
8076
|
+
# method request parameter value must match the pattern of
|
8077
|
+
# method.request.*\\\{location\\}*.*\\\{name\\}* , where
|
8078
|
+
# *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
|
8079
|
+
# must be a valid and unique method request parameter name.
|
8080
|
+
#
|
8081
|
+
# For HTTP API integrations with a specified integrationSubtype,
|
8082
|
+
# request parameters are a key-value map specifying parameters that
|
8083
|
+
# are passed to AWS\_PROXY integrations. You can provide static
|
8084
|
+
# values, or map request data, stage variables, or context variables
|
8085
|
+
# that are evaluated at runtime. To learn more, see [Working with AWS
|
8086
|
+
# service integrations for HTTP APIs][1].
|
8087
|
+
#
|
8088
|
+
# For HTTP API integrations without a specified integrationSubtype
|
8089
|
+
# request parameters are a key-value map specifying how to transform
|
8090
|
+
# HTTP requests before sending them to the backend. The key should
|
8091
|
+
# follow the pattern
|
8092
|
+
# <action>\:<header\|querystring\|path>.<location>
|
8093
|
+
# where action can be append, overwrite or remove. For values, you can
|
8094
|
+
# provide static values, or map request data, stage variables, or
|
8095
|
+
# context variables that are evaluated at runtime. To learn more, see
|
8096
|
+
# [Transforming API requests and responses][2].
|
8097
|
+
#
|
8098
|
+
#
|
8099
|
+
#
|
8100
|
+
# [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
|
8101
|
+
# [2]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-parameter-mapping.html
|
7597
8102
|
# @return [Hash<String,String>]
|
7598
8103
|
#
|
7599
8104
|
# @!attribute [rw] response_templates
|