aws-sdk-apigatewayv2 1.20.0 → 1.26.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -175,6 +177,7 @@ module Aws::ApiGatewayV2
175
177
  ReimportApiInput = Shapes::StructureShape.new(name: 'ReimportApiInput')
176
178
  ReimportApiRequest = Shapes::StructureShape.new(name: 'ReimportApiRequest')
177
179
  ReimportApiResponse = Shapes::StructureShape.new(name: 'ReimportApiResponse')
180
+ ResetAuthorizersCacheRequest = Shapes::StructureShape.new(name: 'ResetAuthorizersCacheRequest')
178
181
  Route = Shapes::StructureShape.new(name: 'Route')
179
182
  RouteModels = Shapes::MapShape.new(name: 'RouteModels')
180
183
  RouteParameters = Shapes::MapShape.new(name: 'RouteParameters')
@@ -280,6 +283,7 @@ module Aws::ApiGatewayV2
280
283
  AccessLogSettings.struct_class = Types::AccessLogSettings
281
284
 
282
285
  Api.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
286
+ Api.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
283
287
  Api.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
284
288
  Api.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
285
289
  Api.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
@@ -320,6 +324,8 @@ module Aws::ApiGatewayV2
320
324
  Authorizer.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "identityValidationExpression"))
321
325
  Authorizer.add_member(:jwt_configuration, Shapes::ShapeRef.new(shape: JWTConfiguration, location_name: "jwtConfiguration"))
322
326
  Authorizer.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
327
+ Authorizer.add_member(:authorizer_payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "authorizerPayloadFormatVersion"))
328
+ Authorizer.add_member(:enable_simple_responses, Shapes::ShapeRef.new(shape: __boolean, location_name: "enableSimpleResponses"))
323
329
  Authorizer.struct_class = Types::Authorizer
324
330
 
325
331
  Authorizers.add_member(:items, Shapes::ShapeRef.new(shape: __listOfAuthorizer, location_name: "items"))
@@ -392,6 +398,7 @@ module Aws::ApiGatewayV2
392
398
  CreateApiRequest.struct_class = Types::CreateApiRequest
393
399
 
394
400
  CreateApiResponse.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
401
+ CreateApiResponse.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
395
402
  CreateApiResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
396
403
  CreateApiResponse.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
397
404
  CreateApiResponse.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
@@ -415,6 +422,8 @@ module Aws::ApiGatewayV2
415
422
  CreateAuthorizerInput.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "identityValidationExpression"))
416
423
  CreateAuthorizerInput.add_member(:jwt_configuration, Shapes::ShapeRef.new(shape: JWTConfiguration, location_name: "jwtConfiguration"))
417
424
  CreateAuthorizerInput.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
425
+ CreateAuthorizerInput.add_member(:authorizer_payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "authorizerPayloadFormatVersion"))
426
+ CreateAuthorizerInput.add_member(:enable_simple_responses, Shapes::ShapeRef.new(shape: __boolean, location_name: "enableSimpleResponses"))
418
427
  CreateAuthorizerInput.struct_class = Types::CreateAuthorizerInput
419
428
 
420
429
  CreateAuthorizerRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
@@ -426,6 +435,8 @@ module Aws::ApiGatewayV2
426
435
  CreateAuthorizerRequest.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "identityValidationExpression"))
427
436
  CreateAuthorizerRequest.add_member(:jwt_configuration, Shapes::ShapeRef.new(shape: JWTConfiguration, location_name: "jwtConfiguration"))
428
437
  CreateAuthorizerRequest.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
438
+ CreateAuthorizerRequest.add_member(:authorizer_payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "authorizerPayloadFormatVersion"))
439
+ CreateAuthorizerRequest.add_member(:enable_simple_responses, Shapes::ShapeRef.new(shape: __boolean, location_name: "enableSimpleResponses"))
429
440
  CreateAuthorizerRequest.struct_class = Types::CreateAuthorizerRequest
430
441
 
431
442
  CreateAuthorizerResponse.add_member(:authorizer_credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "authorizerCredentialsArn"))
@@ -437,6 +448,8 @@ module Aws::ApiGatewayV2
437
448
  CreateAuthorizerResponse.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "identityValidationExpression"))
438
449
  CreateAuthorizerResponse.add_member(:jwt_configuration, Shapes::ShapeRef.new(shape: JWTConfiguration, location_name: "jwtConfiguration"))
439
450
  CreateAuthorizerResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
451
+ CreateAuthorizerResponse.add_member(:authorizer_payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "authorizerPayloadFormatVersion"))
452
+ CreateAuthorizerResponse.add_member(:enable_simple_responses, Shapes::ShapeRef.new(shape: __boolean, location_name: "enableSimpleResponses"))
440
453
  CreateAuthorizerResponse.struct_class = Types::CreateAuthorizerResponse
441
454
 
442
455
  CreateDeploymentInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
@@ -478,6 +491,7 @@ module Aws::ApiGatewayV2
478
491
  CreateIntegrationInput.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
479
492
  CreateIntegrationInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
480
493
  CreateIntegrationInput.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
494
+ CreateIntegrationInput.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
481
495
  CreateIntegrationInput.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, required: true, location_name: "integrationType"))
482
496
  CreateIntegrationInput.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
483
497
  CreateIntegrationInput.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
@@ -496,6 +510,7 @@ module Aws::ApiGatewayV2
496
510
  CreateIntegrationRequest.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
497
511
  CreateIntegrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
498
512
  CreateIntegrationRequest.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
513
+ CreateIntegrationRequest.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
499
514
  CreateIntegrationRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, required: true, location_name: "integrationType"))
500
515
  CreateIntegrationRequest.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
501
516
  CreateIntegrationRequest.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
@@ -540,6 +555,7 @@ module Aws::ApiGatewayV2
540
555
  CreateIntegrationResult.add_member(:integration_id, Shapes::ShapeRef.new(shape: Id, location_name: "integrationId"))
541
556
  CreateIntegrationResult.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
542
557
  CreateIntegrationResult.add_member(:integration_response_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "integrationResponseSelectionExpression"))
558
+ CreateIntegrationResult.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
543
559
  CreateIntegrationResult.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
544
560
  CreateIntegrationResult.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
545
561
  CreateIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
@@ -835,6 +851,7 @@ module Aws::ApiGatewayV2
835
851
  GetApiRequest.struct_class = Types::GetApiRequest
836
852
 
837
853
  GetApiResponse.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
854
+ GetApiResponse.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
838
855
  GetApiResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
839
856
  GetApiResponse.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
840
857
  GetApiResponse.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
@@ -871,6 +888,8 @@ module Aws::ApiGatewayV2
871
888
  GetAuthorizerResponse.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "identityValidationExpression"))
872
889
  GetAuthorizerResponse.add_member(:jwt_configuration, Shapes::ShapeRef.new(shape: JWTConfiguration, location_name: "jwtConfiguration"))
873
890
  GetAuthorizerResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
891
+ GetAuthorizerResponse.add_member(:authorizer_payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "authorizerPayloadFormatVersion"))
892
+ GetAuthorizerResponse.add_member(:enable_simple_responses, Shapes::ShapeRef.new(shape: __boolean, location_name: "enableSimpleResponses"))
874
893
  GetAuthorizerResponse.struct_class = Types::GetAuthorizerResponse
875
894
 
876
895
  GetAuthorizersRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
@@ -956,6 +975,7 @@ module Aws::ApiGatewayV2
956
975
  GetIntegrationResult.add_member(:integration_id, Shapes::ShapeRef.new(shape: Id, location_name: "integrationId"))
957
976
  GetIntegrationResult.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
958
977
  GetIntegrationResult.add_member(:integration_response_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "integrationResponseSelectionExpression"))
978
+ GetIntegrationResult.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
959
979
  GetIntegrationResult.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
960
980
  GetIntegrationResult.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
961
981
  GetIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
@@ -1121,6 +1141,7 @@ module Aws::ApiGatewayV2
1121
1141
  ImportApiRequest.struct_class = Types::ImportApiRequest
1122
1142
 
1123
1143
  ImportApiResponse.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
1144
+ ImportApiResponse.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
1124
1145
  ImportApiResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
1125
1146
  ImportApiResponse.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
1126
1147
  ImportApiResponse.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
@@ -1145,6 +1166,7 @@ module Aws::ApiGatewayV2
1145
1166
  Integration.add_member(:integration_id, Shapes::ShapeRef.new(shape: Id, location_name: "integrationId"))
1146
1167
  Integration.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
1147
1168
  Integration.add_member(:integration_response_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "integrationResponseSelectionExpression"))
1169
+ Integration.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
1148
1170
  Integration.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
1149
1171
  Integration.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
1150
1172
  Integration.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
@@ -1211,6 +1233,7 @@ module Aws::ApiGatewayV2
1211
1233
  ReimportApiRequest.struct_class = Types::ReimportApiRequest
1212
1234
 
1213
1235
  ReimportApiResponse.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
1236
+ ReimportApiResponse.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
1214
1237
  ReimportApiResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
1215
1238
  ReimportApiResponse.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
1216
1239
  ReimportApiResponse.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
@@ -1226,6 +1249,10 @@ module Aws::ApiGatewayV2
1226
1249
  ReimportApiResponse.add_member(:warnings, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "warnings"))
1227
1250
  ReimportApiResponse.struct_class = Types::ReimportApiResponse
1228
1251
 
1252
+ ResetAuthorizersCacheRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
1253
+ ResetAuthorizersCacheRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "stageName"))
1254
+ ResetAuthorizersCacheRequest.struct_class = Types::ResetAuthorizersCacheRequest
1255
+
1229
1256
  Route.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
1230
1257
  Route.add_member(:api_key_required, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiKeyRequired"))
1231
1258
  Route.add_member(:authorization_scopes, Shapes::ShapeRef.new(shape: AuthorizationScopes, location_name: "authorizationScopes"))
@@ -1375,6 +1402,7 @@ module Aws::ApiGatewayV2
1375
1402
  UpdateApiRequest.struct_class = Types::UpdateApiRequest
1376
1403
 
1377
1404
  UpdateApiResponse.add_member(:api_endpoint, Shapes::ShapeRef.new(shape: __string, location_name: "apiEndpoint"))
1405
+ UpdateApiResponse.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
1378
1406
  UpdateApiResponse.add_member(:api_id, Shapes::ShapeRef.new(shape: Id, location_name: "apiId"))
1379
1407
  UpdateApiResponse.add_member(:api_key_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "apiKeySelectionExpression"))
1380
1408
  UpdateApiResponse.add_member(:cors_configuration, Shapes::ShapeRef.new(shape: Cors, location_name: "corsConfiguration"))
@@ -1398,6 +1426,8 @@ module Aws::ApiGatewayV2
1398
1426
  UpdateAuthorizerInput.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "identityValidationExpression"))
1399
1427
  UpdateAuthorizerInput.add_member(:jwt_configuration, Shapes::ShapeRef.new(shape: JWTConfiguration, location_name: "jwtConfiguration"))
1400
1428
  UpdateAuthorizerInput.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
1429
+ UpdateAuthorizerInput.add_member(:authorizer_payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "authorizerPayloadFormatVersion"))
1430
+ UpdateAuthorizerInput.add_member(:enable_simple_responses, Shapes::ShapeRef.new(shape: __boolean, location_name: "enableSimpleResponses"))
1401
1431
  UpdateAuthorizerInput.struct_class = Types::UpdateAuthorizerInput
1402
1432
 
1403
1433
  UpdateAuthorizerRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
@@ -1410,6 +1440,8 @@ module Aws::ApiGatewayV2
1410
1440
  UpdateAuthorizerRequest.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "identityValidationExpression"))
1411
1441
  UpdateAuthorizerRequest.add_member(:jwt_configuration, Shapes::ShapeRef.new(shape: JWTConfiguration, location_name: "jwtConfiguration"))
1412
1442
  UpdateAuthorizerRequest.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
1443
+ UpdateAuthorizerRequest.add_member(:authorizer_payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "authorizerPayloadFormatVersion"))
1444
+ UpdateAuthorizerRequest.add_member(:enable_simple_responses, Shapes::ShapeRef.new(shape: __boolean, location_name: "enableSimpleResponses"))
1413
1445
  UpdateAuthorizerRequest.struct_class = Types::UpdateAuthorizerRequest
1414
1446
 
1415
1447
  UpdateAuthorizerResponse.add_member(:authorizer_credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "authorizerCredentialsArn"))
@@ -1421,6 +1453,8 @@ module Aws::ApiGatewayV2
1421
1453
  UpdateAuthorizerResponse.add_member(:identity_validation_expression, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "identityValidationExpression"))
1422
1454
  UpdateAuthorizerResponse.add_member(:jwt_configuration, Shapes::ShapeRef.new(shape: JWTConfiguration, location_name: "jwtConfiguration"))
1423
1455
  UpdateAuthorizerResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
1456
+ UpdateAuthorizerResponse.add_member(:authorizer_payload_format_version, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "authorizerPayloadFormatVersion"))
1457
+ UpdateAuthorizerResponse.add_member(:enable_simple_responses, Shapes::ShapeRef.new(shape: __boolean, location_name: "enableSimpleResponses"))
1424
1458
  UpdateAuthorizerResponse.struct_class = Types::UpdateAuthorizerResponse
1425
1459
 
1426
1460
  UpdateDeploymentInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
@@ -1458,6 +1492,7 @@ module Aws::ApiGatewayV2
1458
1492
  UpdateIntegrationInput.add_member(:credentials_arn, Shapes::ShapeRef.new(shape: Arn, location_name: "credentialsArn"))
1459
1493
  UpdateIntegrationInput.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
1460
1494
  UpdateIntegrationInput.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
1495
+ UpdateIntegrationInput.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
1461
1496
  UpdateIntegrationInput.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
1462
1497
  UpdateIntegrationInput.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
1463
1498
  UpdateIntegrationInput.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
@@ -1477,6 +1512,7 @@ module Aws::ApiGatewayV2
1477
1512
  UpdateIntegrationRequest.add_member(:description, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "description"))
1478
1513
  UpdateIntegrationRequest.add_member(:integration_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "integrationId"))
1479
1514
  UpdateIntegrationRequest.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
1515
+ UpdateIntegrationRequest.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
1480
1516
  UpdateIntegrationRequest.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
1481
1517
  UpdateIntegrationRequest.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
1482
1518
  UpdateIntegrationRequest.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
@@ -1522,6 +1558,7 @@ module Aws::ApiGatewayV2
1522
1558
  UpdateIntegrationResult.add_member(:integration_id, Shapes::ShapeRef.new(shape: Id, location_name: "integrationId"))
1523
1559
  UpdateIntegrationResult.add_member(:integration_method, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And64, location_name: "integrationMethod"))
1524
1560
  UpdateIntegrationResult.add_member(:integration_response_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "integrationResponseSelectionExpression"))
1561
+ UpdateIntegrationResult.add_member(:integration_subtype, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "integrationSubtype"))
1525
1562
  UpdateIntegrationResult.add_member(:integration_type, Shapes::ShapeRef.new(shape: IntegrationType, location_name: "integrationType"))
1526
1563
  UpdateIntegrationResult.add_member(:integration_uri, Shapes::ShapeRef.new(shape: UriWithLengthBetween1And2048, location_name: "integrationUri"))
1527
1564
  UpdateIntegrationResult.add_member(:passthrough_behavior, Shapes::ShapeRef.new(shape: PassthroughBehavior, location_name: "passthroughBehavior"))
@@ -2049,6 +2086,16 @@ module Aws::ApiGatewayV2
2049
2086
  o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2050
2087
  end)
2051
2088
 
2089
+ api.add_operation(:reset_authorizers_cache, Seahorse::Model::Operation.new.tap do |o|
2090
+ o.name = "ResetAuthorizersCache"
2091
+ o.http_method = "DELETE"
2092
+ o.http_request_uri = "/v2/apis/{apiId}/stages/{stageName}/cache/authorizers"
2093
+ o.input = Shapes::ShapeRef.new(shape: ResetAuthorizersCacheRequest)
2094
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
2095
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2096
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2097
+ end)
2098
+
2052
2099
  api.add_operation(:get_api, Seahorse::Model::Operation.new.tap do |o|
2053
2100
  o.name = "GetApi"
2054
2101
  o.http_method = "GET"
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -13,6 +15,7 @@ module Aws::ApiGatewayV2
13
15
  #
14
16
  class AccessDeniedException < Struct.new(
15
17
  :message)
18
+ SENSITIVE = []
16
19
  include Aws::Structure
17
20
  end
18
21
 
@@ -39,6 +42,7 @@ module Aws::ApiGatewayV2
39
42
  class AccessLogSettings < Struct.new(
40
43
  :destination_arn,
41
44
  :format)
45
+ SENSITIVE = []
42
46
  include Aws::Structure
43
47
  end
44
48
 
@@ -51,6 +55,12 @@ module Aws::ApiGatewayV2
51
55
  # deployed API stage.
52
56
  # @return [String]
53
57
  #
58
+ # @!attribute [rw] api_gateway_managed
59
+ # Specifies whether an API is managed by API Gateway. You can't
60
+ # update or delete a managed API by using API Gateway. A managed API
61
+ # can be deleted only through the tooling or service that created it.
62
+ # @return [Boolean]
63
+ #
54
64
  # @!attribute [rw] api_id
55
65
  # The API ID.
56
66
  # @return [String]
@@ -117,6 +127,7 @@ module Aws::ApiGatewayV2
117
127
  #
118
128
  class Api < Struct.new(
119
129
  :api_endpoint,
130
+ :api_gateway_managed,
120
131
  :api_id,
121
132
  :api_key_selection_expression,
122
133
  :cors_configuration,
@@ -130,6 +141,7 @@ module Aws::ApiGatewayV2
130
141
  :tags,
131
142
  :version,
132
143
  :warnings)
144
+ SENSITIVE = []
133
145
  include Aws::Structure
134
146
  end
135
147
 
@@ -156,6 +168,7 @@ module Aws::ApiGatewayV2
156
168
  :api_mapping_id,
157
169
  :api_mapping_key,
158
170
  :stage)
171
+ SENSITIVE = []
159
172
  include Aws::Structure
160
173
  end
161
174
 
@@ -173,6 +186,7 @@ module Aws::ApiGatewayV2
173
186
  class ApiMappings < Struct.new(
174
187
  :items,
175
188
  :next_token)
189
+ SENSITIVE = []
176
190
  include Aws::Structure
177
191
  end
178
192
 
@@ -190,6 +204,7 @@ module Aws::ApiGatewayV2
190
204
  class Apis < Struct.new(
191
205
  :items,
192
206
  :next_token)
207
+ SENSITIVE = []
193
208
  include Aws::Structure
194
209
  end
195
210
 
@@ -199,8 +214,8 @@ module Aws::ApiGatewayV2
199
214
  # Specifies the required credentials as an IAM role for API Gateway to
200
215
  # invoke the authorizer. To specify an IAM role for API Gateway to
201
216
  # assume, use the role's Amazon Resource Name (ARN). To use
202
- # resource-based permissions on the Lambda function, specify null.
203
- # Supported only for REQUEST authorizers.
217
+ # resource-based permissions on the Lambda function, don't specify
218
+ # this parameter. Supported only for REQUEST authorizers.
204
219
  # @return [String]
205
220
  #
206
221
  # @!attribute [rw] authorizer_id
@@ -208,18 +223,20 @@ module Aws::ApiGatewayV2
208
223
  # @return [String]
209
224
  #
210
225
  # @!attribute [rw] authorizer_result_ttl_in_seconds
211
- # Authorizer caching is not currently supported. Don't specify this
212
- # value for authorizers.
226
+ # The time to live (TTL) for cached authorizer results, in seconds. If
227
+ # it equals 0, authorization caching is disabled. If it is greater
228
+ # than 0, API Gateway caches authorizer responses. The maximum value
229
+ # is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
213
230
  # @return [Integer]
214
231
  #
215
232
  # @!attribute [rw] authorizer_type
216
- # The authorizer type. For WebSocket APIs, specify REQUEST for a
217
- # Lambda function using incoming request parameters. For HTTP APIs,
218
- # specify JWT to use JSON Web Tokens.
233
+ # The authorizer type. Specify REQUEST for a Lambda function using
234
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
235
+ # (supported only for HTTP APIs).
219
236
  # @return [String]
220
237
  #
221
238
  # @!attribute [rw] authorizer_uri
222
- # The authorizer's Uniform Resource Identifier (URI). ForREQUEST
239
+ # The authorizer's Uniform Resource Identifier (URI). For REQUEST
223
240
  # authorizers, this must be a well-formed Lambda function URI, for
224
241
  # example,
225
242
  # arn:aws:apigateway:us-west-2:lambda:path/2015-03-31/functions/arn:aws:lambda:us-west-2:*\\\{account\_id\\}*\:function:*\\\{lambda\_function\_name\\}*/invocations.
@@ -240,22 +257,30 @@ module Aws::ApiGatewayV2
240
257
  #
241
258
  # For a REQUEST authorizer, this is optional. The value is a set of
242
259
  # one or more mapping expressions of the specified request parameters.
243
- # Currently, the identity source can be headers, query string
244
- # parameters, stage variables, and context parameters. For example, if
245
- # an Auth header and a Name query string parameter are defined as
246
- # identity sources, this value is route.request.header.Auth,
247
- # route.request.querystring.Name. These parameters will be used to
248
- # perform runtime validation for Lambda-based authorizers by verifying
249
- # all of the identity-related request parameters are present in the
250
- # request, not null, and non-empty. Only when this is true does the
251
- # authorizer invoke the authorizer Lambda function. Otherwise, it
252
- # returns a 401 Unauthorized response without calling the Lambda
253
- # function.
260
+ # The identity source can be headers, query string parameters, stage
261
+ # variables, and context parameters. For example, if an Auth header
262
+ # and a Name query string parameter are defined as identity sources,
263
+ # this value is route.request.header.Auth,
264
+ # route.request.querystring.Name for WebSocket APIs. For HTTP APIs,
265
+ # use selection expressions prefixed with $, for example,
266
+ # $request.header.Auth, $request.querystring.Name. These parameters
267
+ # are used to perform runtime validation for Lambda-based authorizers
268
+ # by verifying all of the identity-related request parameters are
269
+ # present in the request, not null, and non-empty. Only when this is
270
+ # true does the authorizer invoke the authorizer Lambda function.
271
+ # Otherwise, it returns a 401 Unauthorized response without calling
272
+ # the Lambda function. For HTTP APIs, identity sources are also used
273
+ # as the cache key when caching is enabled. To learn more, see
274
+ # [Working with AWS Lambda authorizers for HTTP APIs][1].
254
275
  #
255
276
  # For JWT, a single entry that specifies where to extract the JSON Web
256
277
  # Token (JWT) from inbound requests. Currently only header-based and
257
278
  # query parameter-based selections are supported, for example
258
- # "$request.header.Authorization".
279
+ # $request.header.Authorization.
280
+ #
281
+ #
282
+ #
283
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
259
284
  # @return [Array<String>]
260
285
  #
261
286
  # @!attribute [rw] identity_validation_expression
@@ -271,6 +296,28 @@ module Aws::ApiGatewayV2
271
296
  # The name of the authorizer.
272
297
  # @return [String]
273
298
  #
299
+ # @!attribute [rw] authorizer_payload_format_version
300
+ # Specifies the format of the payload sent to an HTTP API Lambda
301
+ # authorizer. Required for HTTP API Lambda authorizers. Supported
302
+ # values are 1.0 and 2.0. To learn more, see [Working with AWS Lambda
303
+ # authorizers for HTTP APIs][1].
304
+ #
305
+ #
306
+ #
307
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
308
+ # @return [String]
309
+ #
310
+ # @!attribute [rw] enable_simple_responses
311
+ # Specifies whether a Lambda authorizer returns a response in a simple
312
+ # format. If enabled, the Lambda authorizer can return a boolean value
313
+ # instead of an IAM policy. Supported only for HTTP APIs. To learn
314
+ # more, see [Working with AWS Lambda authorizers for HTTP APIs][1]
315
+ #
316
+ #
317
+ #
318
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
319
+ # @return [Boolean]
320
+ #
274
321
  class Authorizer < Struct.new(
275
322
  :authorizer_credentials_arn,
276
323
  :authorizer_id,
@@ -280,7 +327,10 @@ module Aws::ApiGatewayV2
280
327
  :identity_source,
281
328
  :identity_validation_expression,
282
329
  :jwt_configuration,
283
- :name)
330
+ :name,
331
+ :authorizer_payload_format_version,
332
+ :enable_simple_responses)
333
+ SENSITIVE = []
284
334
  include Aws::Structure
285
335
  end
286
336
 
@@ -298,6 +348,7 @@ module Aws::ApiGatewayV2
298
348
  class Authorizers < Struct.new(
299
349
  :items,
300
350
  :next_token)
351
+ SENSITIVE = []
301
352
  include Aws::Structure
302
353
  end
303
354
 
@@ -310,6 +361,7 @@ module Aws::ApiGatewayV2
310
361
  #
311
362
  class BadRequestException < Struct.new(
312
363
  :message)
364
+ SENSITIVE = []
313
365
  include Aws::Structure
314
366
  end
315
367
 
@@ -324,6 +376,7 @@ module Aws::ApiGatewayV2
324
376
  #
325
377
  class ConflictException < Struct.new(
326
378
  :message)
379
+ SENSITIVE = []
327
380
  include Aws::Structure
328
381
  end
329
382
 
@@ -383,6 +436,7 @@ module Aws::ApiGatewayV2
383
436
  :allow_origins,
384
437
  :expose_headers,
385
438
  :max_age)
439
+ SENSITIVE = []
386
440
  include Aws::Structure
387
441
  end
388
442
 
@@ -482,6 +536,7 @@ module Aws::ApiGatewayV2
482
536
  :tags,
483
537
  :target,
484
538
  :version)
539
+ SENSITIVE = []
485
540
  include Aws::Structure
486
541
  end
487
542
 
@@ -503,6 +558,7 @@ module Aws::ApiGatewayV2
503
558
  :api_id,
504
559
  :api_mapping_key,
505
560
  :stage)
561
+ SENSITIVE = []
506
562
  include Aws::Structure
507
563
  end
508
564
 
@@ -543,6 +599,7 @@ module Aws::ApiGatewayV2
543
599
  :api_mapping_key,
544
600
  :domain_name,
545
601
  :stage)
602
+ SENSITIVE = []
546
603
  include Aws::Structure
547
604
  end
548
605
 
@@ -574,6 +631,7 @@ module Aws::ApiGatewayV2
574
631
  :api_mapping_id,
575
632
  :api_mapping_key,
576
633
  :stage)
634
+ SENSITIVE = []
577
635
  include Aws::Structure
578
636
  end
579
637
 
@@ -686,12 +744,16 @@ module Aws::ApiGatewayV2
686
744
  :tags,
687
745
  :target,
688
746
  :version)
747
+ SENSITIVE = []
689
748
  include Aws::Structure
690
749
  end
691
750
 
692
751
  # @!attribute [rw] api_endpoint
693
752
  # @return [String]
694
753
  #
754
+ # @!attribute [rw] api_gateway_managed
755
+ # @return [Boolean]
756
+ #
695
757
  # @!attribute [rw] api_id
696
758
  # The identifier.
697
759
  # @return [String]
@@ -757,6 +819,7 @@ module Aws::ApiGatewayV2
757
819
  #
758
820
  class CreateApiResponse < Struct.new(
759
821
  :api_endpoint,
822
+ :api_gateway_managed,
760
823
  :api_id,
761
824
  :api_key_selection_expression,
762
825
  :cors_configuration,
@@ -770,6 +833,7 @@ module Aws::ApiGatewayV2
770
833
  :tags,
771
834
  :version,
772
835
  :warnings)
836
+ SENSITIVE = []
773
837
  include Aws::Structure
774
838
  end
775
839
 
@@ -779,19 +843,21 @@ module Aws::ApiGatewayV2
779
843
  # Specifies the required credentials as an IAM role for API Gateway to
780
844
  # invoke the authorizer. To specify an IAM role for API Gateway to
781
845
  # assume, use the role's Amazon Resource Name (ARN). To use
782
- # resource-based permissions on the Lambda function, specify null.
783
- # Supported only for REQUEST authorizers.
846
+ # resource-based permissions on the Lambda function, don't specify
847
+ # this parameter. Supported only for REQUEST authorizers.
784
848
  # @return [String]
785
849
  #
786
850
  # @!attribute [rw] authorizer_result_ttl_in_seconds
787
- # Authorizer caching is not currently supported. Don't specify this
788
- # value for authorizers.
851
+ # The time to live (TTL) for cached authorizer results, in seconds. If
852
+ # it equals 0, authorization caching is disabled. If it is greater
853
+ # than 0, API Gateway caches authorizer responses. The maximum value
854
+ # is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
789
855
  # @return [Integer]
790
856
  #
791
857
  # @!attribute [rw] authorizer_type
792
- # The authorizer type. For WebSocket APIs, specify REQUEST for a
793
- # Lambda function using incoming request parameters. For HTTP APIs,
794
- # specify JWT to use JSON Web Tokens.
858
+ # The authorizer type. Specify REQUEST for a Lambda function using
859
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
860
+ # (supported only for HTTP APIs).
795
861
  # @return [String]
796
862
  #
797
863
  # @!attribute [rw] authorizer_uri
@@ -816,22 +882,30 @@ module Aws::ApiGatewayV2
816
882
  #
817
883
  # For a REQUEST authorizer, this is optional. The value is a set of
818
884
  # one or more mapping expressions of the specified request parameters.
819
- # Currently, the identity source can be headers, query string
820
- # parameters, stage variables, and context parameters. For example, if
821
- # an Auth header and a Name query string parameter are defined as
822
- # identity sources, this value is route.request.header.Auth,
823
- # route.request.querystring.Name. These parameters will be used to
824
- # perform runtime validation for Lambda-based authorizers by verifying
825
- # all of the identity-related request parameters are present in the
826
- # request, not null, and non-empty. Only when this is true does the
827
- # authorizer invoke the authorizer Lambda function. Otherwise, it
828
- # returns a 401 Unauthorized response without calling the Lambda
829
- # function.
885
+ # The identity source can be headers, query string parameters, stage
886
+ # variables, and context parameters. For example, if an Auth header
887
+ # and a Name query string parameter are defined as identity sources,
888
+ # this value is route.request.header.Auth,
889
+ # route.request.querystring.Name for WebSocket APIs. For HTTP APIs,
890
+ # use selection expressions prefixed with $, for example,
891
+ # $request.header.Auth, $request.querystring.Name. These parameters
892
+ # are used to perform runtime validation for Lambda-based authorizers
893
+ # by verifying all of the identity-related request parameters are
894
+ # present in the request, not null, and non-empty. Only when this is
895
+ # true does the authorizer invoke the authorizer Lambda function.
896
+ # Otherwise, it returns a 401 Unauthorized response without calling
897
+ # the Lambda function. For HTTP APIs, identity sources are also used
898
+ # as the cache key when caching is enabled. To learn more, see
899
+ # [Working with AWS Lambda authorizers for HTTP APIs][1].
830
900
  #
831
901
  # For JWT, a single entry that specifies where to extract the JSON Web
832
- # Token (JWT )from inbound requests. Currently only header-based and
902
+ # Token (JWT) from inbound requests. Currently only header-based and
833
903
  # query parameter-based selections are supported, for example
834
- # "$request.header.Authorization".
904
+ # $request.header.Authorization.
905
+ #
906
+ #
907
+ #
908
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
835
909
  # @return [Array<String>]
836
910
  #
837
911
  # @!attribute [rw] identity_validation_expression
@@ -847,6 +921,29 @@ module Aws::ApiGatewayV2
847
921
  # The name of the authorizer.
848
922
  # @return [String]
849
923
  #
924
+ # @!attribute [rw] authorizer_payload_format_version
925
+ # Specifies the format of the payload sent to an HTTP API Lambda
926
+ # authorizer. Required for HTTP API Lambda authorizers. Supported
927
+ # values are 1.0 and 2.0. To learn more, see [Working with AWS Lambda
928
+ # authorizers for HTTP APIs][1].
929
+ #
930
+ #
931
+ #
932
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
933
+ # @return [String]
934
+ #
935
+ # @!attribute [rw] enable_simple_responses
936
+ # Specifies whether a Lambda authorizer returns a response in a simple
937
+ # format. By default, a Lambda authorizer must return an IAM policy.
938
+ # If enabled, the Lambda authorizer can return a boolean value instead
939
+ # of an IAM policy. Supported only for HTTP APIs. To learn more, see
940
+ # [Working with AWS Lambda authorizers for HTTP APIs][1]
941
+ #
942
+ #
943
+ #
944
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
945
+ # @return [Boolean]
946
+ #
850
947
  class CreateAuthorizerInput < Struct.new(
851
948
  :authorizer_credentials_arn,
852
949
  :authorizer_result_ttl_in_seconds,
@@ -855,7 +952,10 @@ module Aws::ApiGatewayV2
855
952
  :identity_source,
856
953
  :identity_validation_expression,
857
954
  :jwt_configuration,
858
- :name)
955
+ :name,
956
+ :authorizer_payload_format_version,
957
+ :enable_simple_responses)
958
+ SENSITIVE = []
859
959
  include Aws::Structure
860
960
  end
861
961
 
@@ -875,6 +975,8 @@ module Aws::ApiGatewayV2
875
975
  # issuer: "UriWithLengthBetween1And2048",
876
976
  # },
877
977
  # name: "StringWithLengthBetween1And128", # required
978
+ # authorizer_payload_format_version: "StringWithLengthBetween1And64",
979
+ # enable_simple_responses: false,
878
980
  # }
879
981
  #
880
982
  # @!attribute [rw] api_id
@@ -889,9 +991,9 @@ module Aws::ApiGatewayV2
889
991
  # @return [Integer]
890
992
  #
891
993
  # @!attribute [rw] authorizer_type
892
- # The authorizer type. For WebSocket APIs, specify REQUEST for a
893
- # Lambda function using incoming request parameters. For HTTP APIs,
894
- # specify JWT to use JSON Web Tokens.
994
+ # The authorizer type. Specify REQUEST for a Lambda function using
995
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
996
+ # (supported only for HTTP APIs).
895
997
  # @return [String]
896
998
  #
897
999
  # @!attribute [rw] authorizer_uri
@@ -930,6 +1032,13 @@ module Aws::ApiGatewayV2
930
1032
  # A string with a length between \[1-128\].
931
1033
  # @return [String]
932
1034
  #
1035
+ # @!attribute [rw] authorizer_payload_format_version
1036
+ # A string with a length between \[1-64\].
1037
+ # @return [String]
1038
+ #
1039
+ # @!attribute [rw] enable_simple_responses
1040
+ # @return [Boolean]
1041
+ #
933
1042
  class CreateAuthorizerRequest < Struct.new(
934
1043
  :api_id,
935
1044
  :authorizer_credentials_arn,
@@ -939,7 +1048,10 @@ module Aws::ApiGatewayV2
939
1048
  :identity_source,
940
1049
  :identity_validation_expression,
941
1050
  :jwt_configuration,
942
- :name)
1051
+ :name,
1052
+ :authorizer_payload_format_version,
1053
+ :enable_simple_responses)
1054
+ SENSITIVE = []
943
1055
  include Aws::Structure
944
1056
  end
945
1057
 
@@ -956,9 +1068,9 @@ module Aws::ApiGatewayV2
956
1068
  # @return [Integer]
957
1069
  #
958
1070
  # @!attribute [rw] authorizer_type
959
- # The authorizer type. For WebSocket APIs, specify REQUEST for a
960
- # Lambda function using incoming request parameters. For HTTP APIs,
961
- # specify JWT to use JSON Web Tokens.
1071
+ # The authorizer type. Specify REQUEST for a Lambda function using
1072
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
1073
+ # (supported only for HTTP APIs).
962
1074
  # @return [String]
963
1075
  #
964
1076
  # @!attribute [rw] authorizer_uri
@@ -997,6 +1109,13 @@ module Aws::ApiGatewayV2
997
1109
  # A string with a length between \[1-128\].
998
1110
  # @return [String]
999
1111
  #
1112
+ # @!attribute [rw] authorizer_payload_format_version
1113
+ # A string with a length between \[1-64\].
1114
+ # @return [String]
1115
+ #
1116
+ # @!attribute [rw] enable_simple_responses
1117
+ # @return [Boolean]
1118
+ #
1000
1119
  class CreateAuthorizerResponse < Struct.new(
1001
1120
  :authorizer_credentials_arn,
1002
1121
  :authorizer_id,
@@ -1006,7 +1125,10 @@ module Aws::ApiGatewayV2
1006
1125
  :identity_source,
1007
1126
  :identity_validation_expression,
1008
1127
  :jwt_configuration,
1009
- :name)
1128
+ :name,
1129
+ :authorizer_payload_format_version,
1130
+ :enable_simple_responses)
1131
+ SENSITIVE = []
1010
1132
  include Aws::Structure
1011
1133
  end
1012
1134
 
@@ -1024,6 +1146,7 @@ module Aws::ApiGatewayV2
1024
1146
  class CreateDeploymentInput < Struct.new(
1025
1147
  :description,
1026
1148
  :stage_name)
1149
+ SENSITIVE = []
1027
1150
  include Aws::Structure
1028
1151
  end
1029
1152
 
@@ -1051,6 +1174,7 @@ module Aws::ApiGatewayV2
1051
1174
  :api_id,
1052
1175
  :description,
1053
1176
  :stage_name)
1177
+ SENSITIVE = []
1054
1178
  include Aws::Structure
1055
1179
  end
1056
1180
 
@@ -1082,6 +1206,7 @@ module Aws::ApiGatewayV2
1082
1206
  :deployment_status,
1083
1207
  :deployment_status_message,
1084
1208
  :description)
1209
+ SENSITIVE = []
1085
1210
  include Aws::Structure
1086
1211
  end
1087
1212
 
@@ -1103,6 +1228,7 @@ module Aws::ApiGatewayV2
1103
1228
  :domain_name,
1104
1229
  :domain_name_configurations,
1105
1230
  :tags)
1231
+ SENSITIVE = []
1106
1232
  include Aws::Structure
1107
1233
  end
1108
1234
 
@@ -1145,6 +1271,7 @@ module Aws::ApiGatewayV2
1145
1271
  :domain_name,
1146
1272
  :domain_name_configurations,
1147
1273
  :tags)
1274
+ SENSITIVE = []
1148
1275
  include Aws::Structure
1149
1276
  end
1150
1277
 
@@ -1174,6 +1301,7 @@ module Aws::ApiGatewayV2
1174
1301
  :domain_name,
1175
1302
  :domain_name_configurations,
1176
1303
  :tags)
1304
+ SENSITIVE = []
1177
1305
  include Aws::Structure
1178
1306
  end
1179
1307
 
@@ -1225,6 +1353,16 @@ module Aws::ApiGatewayV2
1225
1353
  # Specifies the integration's HTTP method type.
1226
1354
  # @return [String]
1227
1355
  #
1356
+ # @!attribute [rw] integration_subtype
1357
+ # Supported only for HTTP API AWS\_PROXY integrations. Specifies the
1358
+ # AWS service action to invoke. To learn more, see [Integration
1359
+ # subtype reference][1].
1360
+ #
1361
+ #
1362
+ #
1363
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html
1364
+ # @return [String]
1365
+ #
1228
1366
  # @!attribute [rw] integration_type
1229
1367
  # The integration type of an integration. One of the following:
1230
1368
  #
@@ -1234,10 +1372,9 @@ module Aws::ApiGatewayV2
1234
1372
  # custom integration. With any other AWS service action, this is known
1235
1373
  # as AWS integration. Supported only for WebSocket APIs.
1236
1374
  #
1237
- # AWS\_PROXY: for integrating the route or method request with the
1238
- # Lambda function-invoking action with the client request passed
1239
- # through as-is. This integration is also referred to as Lambda proxy
1240
- # integration.
1375
+ # AWS\_PROXY: for integrating the route or method request with a
1376
+ # Lambda function or other AWS service action. This integration is
1377
+ # also referred to as a Lambda proxy integration.
1241
1378
  #
1242
1379
  # HTTP: for integrating the route or method request with an HTTP
1243
1380
  # endpoint. This integration is also referred to as the HTTP custom
@@ -1296,16 +1433,26 @@ module Aws::ApiGatewayV2
1296
1433
  # @return [String]
1297
1434
  #
1298
1435
  # @!attribute [rw] request_parameters
1299
- # A key-value map specifying request parameters that are passed from
1300
- # the method request to the backend. The key is an integration request
1301
- # parameter name and the associated value is a method request
1302
- # parameter value or static value that must be enclosed within single
1303
- # quotes and pre-encoded as required by the backend. The method
1304
- # request parameter value must match the pattern of
1436
+ # For WebSocket APIs, a key-value map specifying request parameters
1437
+ # that are passed from the method request to the backend. The key is
1438
+ # an integration request parameter name and the associated value is a
1439
+ # method request parameter value or static value that must be enclosed
1440
+ # within single quotes and pre-encoded as required by the backend. The
1441
+ # method request parameter value must match the pattern of
1305
1442
  # method.request.*\\\{location\\}*.*\\\{name\\}* , where
1306
1443
  # *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
1307
- # must be a valid and unique method request parameter name. Supported
1308
- # only for WebSocket APIs.
1444
+ # must be a valid and unique method request parameter name.
1445
+ #
1446
+ # For HTTP APIs, request parameters are a key-value map specifying
1447
+ # parameters that are passed to AWS\_PROXY integrations with a
1448
+ # specified integrationSubtype. You can provide static values, or map
1449
+ # request data, stage variables, or context variables that are
1450
+ # evaluated at runtime. To learn more, see [Working with AWS service
1451
+ # integrations for HTTP APIs][1].
1452
+ #
1453
+ #
1454
+ #
1455
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
1309
1456
  # @return [Hash<String,String>]
1310
1457
  #
1311
1458
  # @!attribute [rw] request_templates
@@ -1340,6 +1487,7 @@ module Aws::ApiGatewayV2
1340
1487
  :credentials_arn,
1341
1488
  :description,
1342
1489
  :integration_method,
1490
+ :integration_subtype,
1343
1491
  :integration_type,
1344
1492
  :integration_uri,
1345
1493
  :passthrough_behavior,
@@ -1349,6 +1497,7 @@ module Aws::ApiGatewayV2
1349
1497
  :template_selection_expression,
1350
1498
  :timeout_in_millis,
1351
1499
  :tls_config)
1500
+ SENSITIVE = []
1352
1501
  include Aws::Structure
1353
1502
  end
1354
1503
 
@@ -1363,6 +1512,7 @@ module Aws::ApiGatewayV2
1363
1512
  # credentials_arn: "Arn",
1364
1513
  # description: "StringWithLengthBetween0And1024",
1365
1514
  # integration_method: "StringWithLengthBetween1And64",
1515
+ # integration_subtype: "StringWithLengthBetween1And128",
1366
1516
  # integration_type: "AWS", # required, accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
1367
1517
  # integration_uri: "UriWithLengthBetween1And2048",
1368
1518
  # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
@@ -1408,6 +1558,10 @@ module Aws::ApiGatewayV2
1408
1558
  # A string with a length between \[1-64\].
1409
1559
  # @return [String]
1410
1560
  #
1561
+ # @!attribute [rw] integration_subtype
1562
+ # A string with a length between \[1-128\].
1563
+ # @return [String]
1564
+ #
1411
1565
  # @!attribute [rw] integration_type
1412
1566
  # Represents an API method integration type.
1413
1567
  # @return [String]
@@ -1473,6 +1627,7 @@ module Aws::ApiGatewayV2
1473
1627
  :credentials_arn,
1474
1628
  :description,
1475
1629
  :integration_method,
1630
+ :integration_subtype,
1476
1631
  :integration_type,
1477
1632
  :integration_uri,
1478
1633
  :passthrough_behavior,
@@ -1482,6 +1637,7 @@ module Aws::ApiGatewayV2
1482
1637
  :template_selection_expression,
1483
1638
  :timeout_in_millis,
1484
1639
  :tls_config)
1640
+ SENSITIVE = []
1485
1641
  include Aws::Structure
1486
1642
  end
1487
1643
 
@@ -1526,6 +1682,10 @@ module Aws::ApiGatewayV2
1526
1682
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
1527
1683
  # @return [String]
1528
1684
  #
1685
+ # @!attribute [rw] integration_subtype
1686
+ # A string with a length between \[1-128\].
1687
+ # @return [String]
1688
+ #
1529
1689
  # @!attribute [rw] integration_type
1530
1690
  # Represents an API method integration type.
1531
1691
  # @return [String]
@@ -1593,6 +1753,7 @@ module Aws::ApiGatewayV2
1593
1753
  :integration_id,
1594
1754
  :integration_method,
1595
1755
  :integration_response_selection_expression,
1756
+ :integration_subtype,
1596
1757
  :integration_type,
1597
1758
  :integration_uri,
1598
1759
  :passthrough_behavior,
@@ -1602,6 +1763,7 @@ module Aws::ApiGatewayV2
1602
1763
  :template_selection_expression,
1603
1764
  :timeout_in_millis,
1604
1765
  :tls_config)
1766
+ SENSITIVE = []
1605
1767
  include Aws::Structure
1606
1768
  end
1607
1769
 
@@ -1662,6 +1824,7 @@ module Aws::ApiGatewayV2
1662
1824
  :response_parameters,
1663
1825
  :response_templates,
1664
1826
  :template_selection_expression)
1827
+ SENSITIVE = []
1665
1828
  include Aws::Structure
1666
1829
  end
1667
1830
 
@@ -1742,6 +1905,7 @@ module Aws::ApiGatewayV2
1742
1905
  :response_parameters,
1743
1906
  :response_templates,
1744
1907
  :template_selection_expression)
1908
+ SENSITIVE = []
1745
1909
  include Aws::Structure
1746
1910
  end
1747
1911
 
@@ -1802,6 +1966,7 @@ module Aws::ApiGatewayV2
1802
1966
  :response_parameters,
1803
1967
  :response_templates,
1804
1968
  :template_selection_expression)
1969
+ SENSITIVE = []
1805
1970
  include Aws::Structure
1806
1971
  end
1807
1972
 
@@ -1829,6 +1994,7 @@ module Aws::ApiGatewayV2
1829
1994
  :description,
1830
1995
  :name,
1831
1996
  :schema)
1997
+ SENSITIVE = []
1832
1998
  include Aws::Structure
1833
1999
  end
1834
2000
 
@@ -1868,6 +2034,7 @@ module Aws::ApiGatewayV2
1868
2034
  :description,
1869
2035
  :name,
1870
2036
  :schema)
2037
+ SENSITIVE = []
1871
2038
  include Aws::Structure
1872
2039
  end
1873
2040
 
@@ -1897,6 +2064,7 @@ module Aws::ApiGatewayV2
1897
2064
  :model_id,
1898
2065
  :name,
1899
2066
  :schema)
2067
+ SENSITIVE = []
1900
2068
  include Aws::Structure
1901
2069
  end
1902
2070
 
@@ -1915,8 +2083,9 @@ module Aws::ApiGatewayV2
1915
2083
  # The authorization type for the route. For WebSocket APIs, valid
1916
2084
  # values are NONE for open access, AWS\_IAM for using AWS IAM
1917
2085
  # permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs,
1918
- # valid values are NONE for open access, or JWT for using JSON Web
1919
- # Tokens.
2086
+ # valid values are NONE for open access, JWT for using JSON Web
2087
+ # Tokens, AWS\_IAM for using AWS IAM permissions, and CUSTOM for using
2088
+ # a Lambda authorizer.
1920
2089
  # @return [String]
1921
2090
  #
1922
2091
  # @!attribute [rw] authorizer_id
@@ -1968,6 +2137,7 @@ module Aws::ApiGatewayV2
1968
2137
  :route_key,
1969
2138
  :route_response_selection_expression,
1970
2139
  :target)
2140
+ SENSITIVE = []
1971
2141
  include Aws::Structure
1972
2142
  end
1973
2143
 
@@ -2017,7 +2187,8 @@ module Aws::ApiGatewayV2
2017
2187
  # The authorization type. For WebSocket APIs, valid values are NONE
2018
2188
  # for open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM
2019
2189
  # for using a Lambda authorizer. For HTTP APIs, valid values are NONE
2020
- # for open access, or JWT for using JSON Web Tokens.
2190
+ # for open access, JWT for using JSON Web Tokens, AWS\_IAM for using
2191
+ # AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
2021
2192
  # @return [String]
2022
2193
  #
2023
2194
  # @!attribute [rw] authorizer_id
@@ -2082,6 +2253,7 @@ module Aws::ApiGatewayV2
2082
2253
  :route_key,
2083
2254
  :route_response_selection_expression,
2084
2255
  :target)
2256
+ SENSITIVE = []
2085
2257
  include Aws::Structure
2086
2258
  end
2087
2259
 
@@ -2107,7 +2279,8 @@ module Aws::ApiGatewayV2
2107
2279
  # The authorization type. For WebSocket APIs, valid values are NONE
2108
2280
  # for open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM
2109
2281
  # for using a Lambda authorizer. For HTTP APIs, valid values are NONE
2110
- # for open access, or JWT for using JSON Web Tokens.
2282
+ # for open access, JWT for using JSON Web Tokens, AWS\_IAM for using
2283
+ # AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
2111
2284
  # @return [String]
2112
2285
  #
2113
2286
  # @!attribute [rw] authorizer_id
@@ -2177,6 +2350,7 @@ module Aws::ApiGatewayV2
2177
2350
  :route_key,
2178
2351
  :route_response_selection_expression,
2179
2352
  :target)
2353
+ SENSITIVE = []
2180
2354
  include Aws::Structure
2181
2355
  end
2182
2356
 
@@ -2204,6 +2378,7 @@ module Aws::ApiGatewayV2
2204
2378
  :response_models,
2205
2379
  :response_parameters,
2206
2380
  :route_response_key)
2381
+ SENSITIVE = []
2207
2382
  include Aws::Structure
2208
2383
  end
2209
2384
 
@@ -2266,6 +2441,7 @@ module Aws::ApiGatewayV2
2266
2441
  :response_parameters,
2267
2442
  :route_id,
2268
2443
  :route_response_key)
2444
+ SENSITIVE = []
2269
2445
  include Aws::Structure
2270
2446
  end
2271
2447
 
@@ -2307,6 +2483,7 @@ module Aws::ApiGatewayV2
2307
2483
  :response_parameters,
2308
2484
  :route_response_id,
2309
2485
  :route_response_key)
2486
+ SENSITIVE = []
2310
2487
  include Aws::Structure
2311
2488
  end
2312
2489
 
@@ -2368,6 +2545,7 @@ module Aws::ApiGatewayV2
2368
2545
  :stage_name,
2369
2546
  :stage_variables,
2370
2547
  :tags)
2548
+ SENSITIVE = []
2371
2549
  include Aws::Structure
2372
2550
  end
2373
2551
 
@@ -2463,6 +2641,7 @@ module Aws::ApiGatewayV2
2463
2641
  :stage_name,
2464
2642
  :stage_variables,
2465
2643
  :tags)
2644
+ SENSITIVE = []
2466
2645
  include Aws::Structure
2467
2646
  end
2468
2647
 
@@ -2532,6 +2711,7 @@ module Aws::ApiGatewayV2
2532
2711
  :stage_name,
2533
2712
  :stage_variables,
2534
2713
  :tags)
2714
+ SENSITIVE = []
2535
2715
  include Aws::Structure
2536
2716
  end
2537
2717
 
@@ -2558,6 +2738,7 @@ module Aws::ApiGatewayV2
2558
2738
  :security_group_ids,
2559
2739
  :subnet_ids,
2560
2740
  :tags)
2741
+ SENSITIVE = []
2561
2742
  include Aws::Structure
2562
2743
  end
2563
2744
 
@@ -2594,6 +2775,7 @@ module Aws::ApiGatewayV2
2594
2775
  :security_group_ids,
2595
2776
  :subnet_ids,
2596
2777
  :tags)
2778
+ SENSITIVE = []
2597
2779
  include Aws::Structure
2598
2780
  end
2599
2781
 
@@ -2642,6 +2824,7 @@ module Aws::ApiGatewayV2
2642
2824
  :vpc_link_status,
2643
2825
  :vpc_link_status_message,
2644
2826
  :vpc_link_version)
2827
+ SENSITIVE = []
2645
2828
  include Aws::Structure
2646
2829
  end
2647
2830
 
@@ -2662,6 +2845,7 @@ module Aws::ApiGatewayV2
2662
2845
  class DeleteAccessLogSettingsRequest < Struct.new(
2663
2846
  :api_id,
2664
2847
  :stage_name)
2848
+ SENSITIVE = []
2665
2849
  include Aws::Structure
2666
2850
  end
2667
2851
 
@@ -2682,6 +2866,7 @@ module Aws::ApiGatewayV2
2682
2866
  class DeleteApiMappingRequest < Struct.new(
2683
2867
  :api_mapping_id,
2684
2868
  :domain_name)
2869
+ SENSITIVE = []
2685
2870
  include Aws::Structure
2686
2871
  end
2687
2872
 
@@ -2697,6 +2882,7 @@ module Aws::ApiGatewayV2
2697
2882
  #
2698
2883
  class DeleteApiRequest < Struct.new(
2699
2884
  :api_id)
2885
+ SENSITIVE = []
2700
2886
  include Aws::Structure
2701
2887
  end
2702
2888
 
@@ -2717,6 +2903,7 @@ module Aws::ApiGatewayV2
2717
2903
  class DeleteAuthorizerRequest < Struct.new(
2718
2904
  :api_id,
2719
2905
  :authorizer_id)
2906
+ SENSITIVE = []
2720
2907
  include Aws::Structure
2721
2908
  end
2722
2909
 
@@ -2732,6 +2919,7 @@ module Aws::ApiGatewayV2
2732
2919
  #
2733
2920
  class DeleteCorsConfigurationRequest < Struct.new(
2734
2921
  :api_id)
2922
+ SENSITIVE = []
2735
2923
  include Aws::Structure
2736
2924
  end
2737
2925
 
@@ -2752,6 +2940,7 @@ module Aws::ApiGatewayV2
2752
2940
  class DeleteDeploymentRequest < Struct.new(
2753
2941
  :api_id,
2754
2942
  :deployment_id)
2943
+ SENSITIVE = []
2755
2944
  include Aws::Structure
2756
2945
  end
2757
2946
 
@@ -2767,6 +2956,7 @@ module Aws::ApiGatewayV2
2767
2956
  #
2768
2957
  class DeleteDomainNameRequest < Struct.new(
2769
2958
  :domain_name)
2959
+ SENSITIVE = []
2770
2960
  include Aws::Structure
2771
2961
  end
2772
2962
 
@@ -2787,6 +2977,7 @@ module Aws::ApiGatewayV2
2787
2977
  class DeleteIntegrationRequest < Struct.new(
2788
2978
  :api_id,
2789
2979
  :integration_id)
2980
+ SENSITIVE = []
2790
2981
  include Aws::Structure
2791
2982
  end
2792
2983
 
@@ -2812,6 +3003,7 @@ module Aws::ApiGatewayV2
2812
3003
  :api_id,
2813
3004
  :integration_id,
2814
3005
  :integration_response_id)
3006
+ SENSITIVE = []
2815
3007
  include Aws::Structure
2816
3008
  end
2817
3009
 
@@ -2832,6 +3024,7 @@ module Aws::ApiGatewayV2
2832
3024
  class DeleteModelRequest < Struct.new(
2833
3025
  :api_id,
2834
3026
  :model_id)
3027
+ SENSITIVE = []
2835
3028
  include Aws::Structure
2836
3029
  end
2837
3030
 
@@ -2852,6 +3045,7 @@ module Aws::ApiGatewayV2
2852
3045
  class DeleteRouteRequest < Struct.new(
2853
3046
  :api_id,
2854
3047
  :route_id)
3048
+ SENSITIVE = []
2855
3049
  include Aws::Structure
2856
3050
  end
2857
3051
 
@@ -2877,6 +3071,7 @@ module Aws::ApiGatewayV2
2877
3071
  :api_id,
2878
3072
  :request_parameter_key,
2879
3073
  :route_id)
3074
+ SENSITIVE = []
2880
3075
  include Aws::Structure
2881
3076
  end
2882
3077
 
@@ -2902,6 +3097,7 @@ module Aws::ApiGatewayV2
2902
3097
  :api_id,
2903
3098
  :route_id,
2904
3099
  :route_response_id)
3100
+ SENSITIVE = []
2905
3101
  include Aws::Structure
2906
3102
  end
2907
3103
 
@@ -2927,6 +3123,7 @@ module Aws::ApiGatewayV2
2927
3123
  :api_id,
2928
3124
  :route_key,
2929
3125
  :stage_name)
3126
+ SENSITIVE = []
2930
3127
  include Aws::Structure
2931
3128
  end
2932
3129
 
@@ -2947,6 +3144,7 @@ module Aws::ApiGatewayV2
2947
3144
  class DeleteStageRequest < Struct.new(
2948
3145
  :api_id,
2949
3146
  :stage_name)
3147
+ SENSITIVE = []
2950
3148
  include Aws::Structure
2951
3149
  end
2952
3150
 
@@ -2962,6 +3160,7 @@ module Aws::ApiGatewayV2
2962
3160
  #
2963
3161
  class DeleteVpcLinkRequest < Struct.new(
2964
3162
  :vpc_link_id)
3163
+ SENSITIVE = []
2965
3164
  include Aws::Structure
2966
3165
  end
2967
3166
 
@@ -3002,6 +3201,7 @@ module Aws::ApiGatewayV2
3002
3201
  :deployment_status,
3003
3202
  :deployment_status_message,
3004
3203
  :description)
3204
+ SENSITIVE = []
3005
3205
  include Aws::Structure
3006
3206
  end
3007
3207
 
@@ -3022,6 +3222,7 @@ module Aws::ApiGatewayV2
3022
3222
  class Deployments < Struct.new(
3023
3223
  :items,
3024
3224
  :next_token)
3225
+ SENSITIVE = []
3025
3226
  include Aws::Structure
3026
3227
  end
3027
3228
 
@@ -3048,6 +3249,7 @@ module Aws::ApiGatewayV2
3048
3249
  :domain_name,
3049
3250
  :domain_name_configurations,
3050
3251
  :tags)
3252
+ SENSITIVE = []
3051
3253
  include Aws::Structure
3052
3254
  end
3053
3255
 
@@ -3123,6 +3325,7 @@ module Aws::ApiGatewayV2
3123
3325
  :endpoint_type,
3124
3326
  :hosted_zone_id,
3125
3327
  :security_policy)
3328
+ SENSITIVE = []
3126
3329
  include Aws::Structure
3127
3330
  end
3128
3331
 
@@ -3140,6 +3343,7 @@ module Aws::ApiGatewayV2
3140
3343
  class DomainNames < Struct.new(
3141
3344
  :items,
3142
3345
  :next_token)
3346
+ SENSITIVE = []
3143
3347
  include Aws::Structure
3144
3348
  end
3145
3349
 
@@ -3180,6 +3384,7 @@ module Aws::ApiGatewayV2
3180
3384
  :output_type,
3181
3385
  :specification,
3182
3386
  :stage_name)
3387
+ SENSITIVE = []
3183
3388
  include Aws::Structure
3184
3389
  end
3185
3390
 
@@ -3191,6 +3396,28 @@ module Aws::ApiGatewayV2
3191
3396
  #
3192
3397
  class ExportApiResponse < Struct.new(
3193
3398
  :body)
3399
+ SENSITIVE = []
3400
+ include Aws::Structure
3401
+ end
3402
+
3403
+ # @note When making an API call, you may pass ResetAuthorizersCacheRequest
3404
+ # data as a hash:
3405
+ #
3406
+ # {
3407
+ # api_id: "__string", # required
3408
+ # stage_name: "__string", # required
3409
+ # }
3410
+ #
3411
+ # @!attribute [rw] api_id
3412
+ # @return [String]
3413
+ #
3414
+ # @!attribute [rw] stage_name
3415
+ # @return [String]
3416
+ #
3417
+ class ResetAuthorizersCacheRequest < Struct.new(
3418
+ :api_id,
3419
+ :stage_name)
3420
+ SENSITIVE = []
3194
3421
  include Aws::Structure
3195
3422
  end
3196
3423
 
@@ -3211,6 +3438,7 @@ module Aws::ApiGatewayV2
3211
3438
  class GetApiMappingRequest < Struct.new(
3212
3439
  :api_mapping_id,
3213
3440
  :domain_name)
3441
+ SENSITIVE = []
3214
3442
  include Aws::Structure
3215
3443
  end
3216
3444
 
@@ -3242,6 +3470,7 @@ module Aws::ApiGatewayV2
3242
3470
  :api_mapping_id,
3243
3471
  :api_mapping_key,
3244
3472
  :stage)
3473
+ SENSITIVE = []
3245
3474
  include Aws::Structure
3246
3475
  end
3247
3476
 
@@ -3267,6 +3496,7 @@ module Aws::ApiGatewayV2
3267
3496
  :domain_name,
3268
3497
  :max_results,
3269
3498
  :next_token)
3499
+ SENSITIVE = []
3270
3500
  include Aws::Structure
3271
3501
  end
3272
3502
 
@@ -3281,6 +3511,7 @@ module Aws::ApiGatewayV2
3281
3511
  class GetApiMappingsResponse < Struct.new(
3282
3512
  :items,
3283
3513
  :next_token)
3514
+ SENSITIVE = []
3284
3515
  include Aws::Structure
3285
3516
  end
3286
3517
 
@@ -3296,12 +3527,16 @@ module Aws::ApiGatewayV2
3296
3527
  #
3297
3528
  class GetApiRequest < Struct.new(
3298
3529
  :api_id)
3530
+ SENSITIVE = []
3299
3531
  include Aws::Structure
3300
3532
  end
3301
3533
 
3302
3534
  # @!attribute [rw] api_endpoint
3303
3535
  # @return [String]
3304
3536
  #
3537
+ # @!attribute [rw] api_gateway_managed
3538
+ # @return [Boolean]
3539
+ #
3305
3540
  # @!attribute [rw] api_id
3306
3541
  # The identifier.
3307
3542
  # @return [String]
@@ -3367,6 +3602,7 @@ module Aws::ApiGatewayV2
3367
3602
  #
3368
3603
  class GetApiResponse < Struct.new(
3369
3604
  :api_endpoint,
3605
+ :api_gateway_managed,
3370
3606
  :api_id,
3371
3607
  :api_key_selection_expression,
3372
3608
  :cors_configuration,
@@ -3380,6 +3616,7 @@ module Aws::ApiGatewayV2
3380
3616
  :tags,
3381
3617
  :version,
3382
3618
  :warnings)
3619
+ SENSITIVE = []
3383
3620
  include Aws::Structure
3384
3621
  end
3385
3622
 
@@ -3400,6 +3637,7 @@ module Aws::ApiGatewayV2
3400
3637
  class GetApisRequest < Struct.new(
3401
3638
  :max_results,
3402
3639
  :next_token)
3640
+ SENSITIVE = []
3403
3641
  include Aws::Structure
3404
3642
  end
3405
3643
 
@@ -3414,6 +3652,7 @@ module Aws::ApiGatewayV2
3414
3652
  class GetApisResponse < Struct.new(
3415
3653
  :items,
3416
3654
  :next_token)
3655
+ SENSITIVE = []
3417
3656
  include Aws::Structure
3418
3657
  end
3419
3658
 
@@ -3434,6 +3673,7 @@ module Aws::ApiGatewayV2
3434
3673
  class GetAuthorizerRequest < Struct.new(
3435
3674
  :api_id,
3436
3675
  :authorizer_id)
3676
+ SENSITIVE = []
3437
3677
  include Aws::Structure
3438
3678
  end
3439
3679
 
@@ -3450,9 +3690,9 @@ module Aws::ApiGatewayV2
3450
3690
  # @return [Integer]
3451
3691
  #
3452
3692
  # @!attribute [rw] authorizer_type
3453
- # The authorizer type. For WebSocket APIs, specify REQUEST for a
3454
- # Lambda function using incoming request parameters. For HTTP APIs,
3455
- # specify JWT to use JSON Web Tokens.
3693
+ # The authorizer type. Specify REQUEST for a Lambda function using
3694
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
3695
+ # (supported only for HTTP APIs).
3456
3696
  # @return [String]
3457
3697
  #
3458
3698
  # @!attribute [rw] authorizer_uri
@@ -3491,6 +3731,13 @@ module Aws::ApiGatewayV2
3491
3731
  # A string with a length between \[1-128\].
3492
3732
  # @return [String]
3493
3733
  #
3734
+ # @!attribute [rw] authorizer_payload_format_version
3735
+ # A string with a length between \[1-64\].
3736
+ # @return [String]
3737
+ #
3738
+ # @!attribute [rw] enable_simple_responses
3739
+ # @return [Boolean]
3740
+ #
3494
3741
  class GetAuthorizerResponse < Struct.new(
3495
3742
  :authorizer_credentials_arn,
3496
3743
  :authorizer_id,
@@ -3500,7 +3747,10 @@ module Aws::ApiGatewayV2
3500
3747
  :identity_source,
3501
3748
  :identity_validation_expression,
3502
3749
  :jwt_configuration,
3503
- :name)
3750
+ :name,
3751
+ :authorizer_payload_format_version,
3752
+ :enable_simple_responses)
3753
+ SENSITIVE = []
3504
3754
  include Aws::Structure
3505
3755
  end
3506
3756
 
@@ -3526,6 +3776,7 @@ module Aws::ApiGatewayV2
3526
3776
  :api_id,
3527
3777
  :max_results,
3528
3778
  :next_token)
3779
+ SENSITIVE = []
3529
3780
  include Aws::Structure
3530
3781
  end
3531
3782
 
@@ -3540,6 +3791,7 @@ module Aws::ApiGatewayV2
3540
3791
  class GetAuthorizersResponse < Struct.new(
3541
3792
  :items,
3542
3793
  :next_token)
3794
+ SENSITIVE = []
3543
3795
  include Aws::Structure
3544
3796
  end
3545
3797
 
@@ -3560,6 +3812,7 @@ module Aws::ApiGatewayV2
3560
3812
  class GetDeploymentRequest < Struct.new(
3561
3813
  :api_id,
3562
3814
  :deployment_id)
3815
+ SENSITIVE = []
3563
3816
  include Aws::Structure
3564
3817
  end
3565
3818
 
@@ -3591,6 +3844,7 @@ module Aws::ApiGatewayV2
3591
3844
  :deployment_status,
3592
3845
  :deployment_status_message,
3593
3846
  :description)
3847
+ SENSITIVE = []
3594
3848
  include Aws::Structure
3595
3849
  end
3596
3850
 
@@ -3616,6 +3870,7 @@ module Aws::ApiGatewayV2
3616
3870
  :api_id,
3617
3871
  :max_results,
3618
3872
  :next_token)
3873
+ SENSITIVE = []
3619
3874
  include Aws::Structure
3620
3875
  end
3621
3876
 
@@ -3630,6 +3885,7 @@ module Aws::ApiGatewayV2
3630
3885
  class GetDeploymentsResponse < Struct.new(
3631
3886
  :items,
3632
3887
  :next_token)
3888
+ SENSITIVE = []
3633
3889
  include Aws::Structure
3634
3890
  end
3635
3891
 
@@ -3645,6 +3901,7 @@ module Aws::ApiGatewayV2
3645
3901
  #
3646
3902
  class GetDomainNameRequest < Struct.new(
3647
3903
  :domain_name)
3904
+ SENSITIVE = []
3648
3905
  include Aws::Structure
3649
3906
  end
3650
3907
 
@@ -3674,6 +3931,7 @@ module Aws::ApiGatewayV2
3674
3931
  :domain_name,
3675
3932
  :domain_name_configurations,
3676
3933
  :tags)
3934
+ SENSITIVE = []
3677
3935
  include Aws::Structure
3678
3936
  end
3679
3937
 
@@ -3694,6 +3952,7 @@ module Aws::ApiGatewayV2
3694
3952
  class GetDomainNamesRequest < Struct.new(
3695
3953
  :max_results,
3696
3954
  :next_token)
3955
+ SENSITIVE = []
3697
3956
  include Aws::Structure
3698
3957
  end
3699
3958
 
@@ -3708,6 +3967,7 @@ module Aws::ApiGatewayV2
3708
3967
  class GetDomainNamesResponse < Struct.new(
3709
3968
  :items,
3710
3969
  :next_token)
3970
+ SENSITIVE = []
3711
3971
  include Aws::Structure
3712
3972
  end
3713
3973
 
@@ -3728,6 +3988,7 @@ module Aws::ApiGatewayV2
3728
3988
  class GetIntegrationRequest < Struct.new(
3729
3989
  :api_id,
3730
3990
  :integration_id)
3991
+ SENSITIVE = []
3731
3992
  include Aws::Structure
3732
3993
  end
3733
3994
 
@@ -3772,6 +4033,10 @@ module Aws::ApiGatewayV2
3772
4033
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
3773
4034
  # @return [String]
3774
4035
  #
4036
+ # @!attribute [rw] integration_subtype
4037
+ # A string with a length between \[1-128\].
4038
+ # @return [String]
4039
+ #
3775
4040
  # @!attribute [rw] integration_type
3776
4041
  # Represents an API method integration type.
3777
4042
  # @return [String]
@@ -3839,6 +4104,7 @@ module Aws::ApiGatewayV2
3839
4104
  :integration_id,
3840
4105
  :integration_method,
3841
4106
  :integration_response_selection_expression,
4107
+ :integration_subtype,
3842
4108
  :integration_type,
3843
4109
  :integration_uri,
3844
4110
  :passthrough_behavior,
@@ -3848,6 +4114,7 @@ module Aws::ApiGatewayV2
3848
4114
  :template_selection_expression,
3849
4115
  :timeout_in_millis,
3850
4116
  :tls_config)
4117
+ SENSITIVE = []
3851
4118
  include Aws::Structure
3852
4119
  end
3853
4120
 
@@ -3873,6 +4140,7 @@ module Aws::ApiGatewayV2
3873
4140
  :api_id,
3874
4141
  :integration_id,
3875
4142
  :integration_response_id)
4143
+ SENSITIVE = []
3876
4144
  include Aws::Structure
3877
4145
  end
3878
4146
 
@@ -3933,6 +4201,7 @@ module Aws::ApiGatewayV2
3933
4201
  :response_parameters,
3934
4202
  :response_templates,
3935
4203
  :template_selection_expression)
4204
+ SENSITIVE = []
3936
4205
  include Aws::Structure
3937
4206
  end
3938
4207
 
@@ -3963,6 +4232,7 @@ module Aws::ApiGatewayV2
3963
4232
  :integration_id,
3964
4233
  :max_results,
3965
4234
  :next_token)
4235
+ SENSITIVE = []
3966
4236
  include Aws::Structure
3967
4237
  end
3968
4238
 
@@ -3977,6 +4247,7 @@ module Aws::ApiGatewayV2
3977
4247
  class GetIntegrationResponsesResponse < Struct.new(
3978
4248
  :items,
3979
4249
  :next_token)
4250
+ SENSITIVE = []
3980
4251
  include Aws::Structure
3981
4252
  end
3982
4253
 
@@ -4002,6 +4273,7 @@ module Aws::ApiGatewayV2
4002
4273
  :api_id,
4003
4274
  :max_results,
4004
4275
  :next_token)
4276
+ SENSITIVE = []
4005
4277
  include Aws::Structure
4006
4278
  end
4007
4279
 
@@ -4016,6 +4288,7 @@ module Aws::ApiGatewayV2
4016
4288
  class GetIntegrationsResponse < Struct.new(
4017
4289
  :items,
4018
4290
  :next_token)
4291
+ SENSITIVE = []
4019
4292
  include Aws::Structure
4020
4293
  end
4021
4294
 
@@ -4036,6 +4309,7 @@ module Aws::ApiGatewayV2
4036
4309
  class GetModelRequest < Struct.new(
4037
4310
  :api_id,
4038
4311
  :model_id)
4312
+ SENSITIVE = []
4039
4313
  include Aws::Structure
4040
4314
  end
4041
4315
 
@@ -4065,6 +4339,7 @@ module Aws::ApiGatewayV2
4065
4339
  :model_id,
4066
4340
  :name,
4067
4341
  :schema)
4342
+ SENSITIVE = []
4068
4343
  include Aws::Structure
4069
4344
  end
4070
4345
 
@@ -4085,6 +4360,7 @@ module Aws::ApiGatewayV2
4085
4360
  class GetModelTemplateRequest < Struct.new(
4086
4361
  :api_id,
4087
4362
  :model_id)
4363
+ SENSITIVE = []
4088
4364
  include Aws::Structure
4089
4365
  end
4090
4366
 
@@ -4093,6 +4369,7 @@ module Aws::ApiGatewayV2
4093
4369
  #
4094
4370
  class GetModelTemplateResponse < Struct.new(
4095
4371
  :value)
4372
+ SENSITIVE = []
4096
4373
  include Aws::Structure
4097
4374
  end
4098
4375
 
@@ -4118,6 +4395,7 @@ module Aws::ApiGatewayV2
4118
4395
  :api_id,
4119
4396
  :max_results,
4120
4397
  :next_token)
4398
+ SENSITIVE = []
4121
4399
  include Aws::Structure
4122
4400
  end
4123
4401
 
@@ -4132,6 +4410,7 @@ module Aws::ApiGatewayV2
4132
4410
  class GetModelsResponse < Struct.new(
4133
4411
  :items,
4134
4412
  :next_token)
4413
+ SENSITIVE = []
4135
4414
  include Aws::Structure
4136
4415
  end
4137
4416
 
@@ -4152,6 +4431,7 @@ module Aws::ApiGatewayV2
4152
4431
  class GetRouteRequest < Struct.new(
4153
4432
  :api_id,
4154
4433
  :route_id)
4434
+ SENSITIVE = []
4155
4435
  include Aws::Structure
4156
4436
  end
4157
4437
 
@@ -4177,7 +4457,8 @@ module Aws::ApiGatewayV2
4177
4457
  # The authorization type. For WebSocket APIs, valid values are NONE
4178
4458
  # for open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM
4179
4459
  # for using a Lambda authorizer. For HTTP APIs, valid values are NONE
4180
- # for open access, or JWT for using JSON Web Tokens.
4460
+ # for open access, JWT for using JSON Web Tokens, AWS\_IAM for using
4461
+ # AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
4181
4462
  # @return [String]
4182
4463
  #
4183
4464
  # @!attribute [rw] authorizer_id
@@ -4247,6 +4528,7 @@ module Aws::ApiGatewayV2
4247
4528
  :route_key,
4248
4529
  :route_response_selection_expression,
4249
4530
  :target)
4531
+ SENSITIVE = []
4250
4532
  include Aws::Structure
4251
4533
  end
4252
4534
 
@@ -4272,6 +4554,7 @@ module Aws::ApiGatewayV2
4272
4554
  :api_id,
4273
4555
  :route_id,
4274
4556
  :route_response_id)
4557
+ SENSITIVE = []
4275
4558
  include Aws::Structure
4276
4559
  end
4277
4560
 
@@ -4313,6 +4596,7 @@ module Aws::ApiGatewayV2
4313
4596
  :response_parameters,
4314
4597
  :route_response_id,
4315
4598
  :route_response_key)
4599
+ SENSITIVE = []
4316
4600
  include Aws::Structure
4317
4601
  end
4318
4602
 
@@ -4343,6 +4627,7 @@ module Aws::ApiGatewayV2
4343
4627
  :max_results,
4344
4628
  :next_token,
4345
4629
  :route_id)
4630
+ SENSITIVE = []
4346
4631
  include Aws::Structure
4347
4632
  end
4348
4633
 
@@ -4357,6 +4642,7 @@ module Aws::ApiGatewayV2
4357
4642
  class GetRouteResponsesResponse < Struct.new(
4358
4643
  :items,
4359
4644
  :next_token)
4645
+ SENSITIVE = []
4360
4646
  include Aws::Structure
4361
4647
  end
4362
4648
 
@@ -4382,6 +4668,7 @@ module Aws::ApiGatewayV2
4382
4668
  :api_id,
4383
4669
  :max_results,
4384
4670
  :next_token)
4671
+ SENSITIVE = []
4385
4672
  include Aws::Structure
4386
4673
  end
4387
4674
 
@@ -4396,6 +4683,7 @@ module Aws::ApiGatewayV2
4396
4683
  class GetRoutesResponse < Struct.new(
4397
4684
  :items,
4398
4685
  :next_token)
4686
+ SENSITIVE = []
4399
4687
  include Aws::Structure
4400
4688
  end
4401
4689
 
@@ -4416,6 +4704,7 @@ module Aws::ApiGatewayV2
4416
4704
  class GetStageRequest < Struct.new(
4417
4705
  :api_id,
4418
4706
  :stage_name)
4707
+ SENSITIVE = []
4419
4708
  include Aws::Structure
4420
4709
  end
4421
4710
 
@@ -4485,6 +4774,7 @@ module Aws::ApiGatewayV2
4485
4774
  :stage_name,
4486
4775
  :stage_variables,
4487
4776
  :tags)
4777
+ SENSITIVE = []
4488
4778
  include Aws::Structure
4489
4779
  end
4490
4780
 
@@ -4510,6 +4800,7 @@ module Aws::ApiGatewayV2
4510
4800
  :api_id,
4511
4801
  :max_results,
4512
4802
  :next_token)
4803
+ SENSITIVE = []
4513
4804
  include Aws::Structure
4514
4805
  end
4515
4806
 
@@ -4524,6 +4815,7 @@ module Aws::ApiGatewayV2
4524
4815
  class GetStagesResponse < Struct.new(
4525
4816
  :items,
4526
4817
  :next_token)
4818
+ SENSITIVE = []
4527
4819
  include Aws::Structure
4528
4820
  end
4529
4821
 
@@ -4539,6 +4831,7 @@ module Aws::ApiGatewayV2
4539
4831
  #
4540
4832
  class GetTagsRequest < Struct.new(
4541
4833
  :resource_arn)
4834
+ SENSITIVE = []
4542
4835
  include Aws::Structure
4543
4836
  end
4544
4837
 
@@ -4548,6 +4841,7 @@ module Aws::ApiGatewayV2
4548
4841
  #
4549
4842
  class GetTagsResponse < Struct.new(
4550
4843
  :tags)
4844
+ SENSITIVE = []
4551
4845
  include Aws::Structure
4552
4846
  end
4553
4847
 
@@ -4563,6 +4857,7 @@ module Aws::ApiGatewayV2
4563
4857
  #
4564
4858
  class GetVpcLinkRequest < Struct.new(
4565
4859
  :vpc_link_id)
4860
+ SENSITIVE = []
4566
4861
  include Aws::Structure
4567
4862
  end
4568
4863
 
@@ -4611,6 +4906,7 @@ module Aws::ApiGatewayV2
4611
4906
  :vpc_link_status,
4612
4907
  :vpc_link_status_message,
4613
4908
  :vpc_link_version)
4909
+ SENSITIVE = []
4614
4910
  include Aws::Structure
4615
4911
  end
4616
4912
 
@@ -4631,6 +4927,7 @@ module Aws::ApiGatewayV2
4631
4927
  class GetVpcLinksRequest < Struct.new(
4632
4928
  :max_results,
4633
4929
  :next_token)
4930
+ SENSITIVE = []
4634
4931
  include Aws::Structure
4635
4932
  end
4636
4933
 
@@ -4645,6 +4942,7 @@ module Aws::ApiGatewayV2
4645
4942
  class GetVpcLinksResponse < Struct.new(
4646
4943
  :items,
4647
4944
  :next_token)
4945
+ SENSITIVE = []
4648
4946
  include Aws::Structure
4649
4947
  end
4650
4948
 
@@ -4656,6 +4954,7 @@ module Aws::ApiGatewayV2
4656
4954
  #
4657
4955
  class ImportApiInput < Struct.new(
4658
4956
  :body)
4957
+ SENSITIVE = []
4659
4958
  include Aws::Structure
4660
4959
  end
4661
4960
 
@@ -4681,12 +4980,16 @@ module Aws::ApiGatewayV2
4681
4980
  :basepath,
4682
4981
  :body,
4683
4982
  :fail_on_warnings)
4983
+ SENSITIVE = []
4684
4984
  include Aws::Structure
4685
4985
  end
4686
4986
 
4687
4987
  # @!attribute [rw] api_endpoint
4688
4988
  # @return [String]
4689
4989
  #
4990
+ # @!attribute [rw] api_gateway_managed
4991
+ # @return [Boolean]
4992
+ #
4690
4993
  # @!attribute [rw] api_id
4691
4994
  # The identifier.
4692
4995
  # @return [String]
@@ -4752,6 +5055,7 @@ module Aws::ApiGatewayV2
4752
5055
  #
4753
5056
  class ImportApiResponse < Struct.new(
4754
5057
  :api_endpoint,
5058
+ :api_gateway_managed,
4755
5059
  :api_id,
4756
5060
  :api_key_selection_expression,
4757
5061
  :cors_configuration,
@@ -4765,6 +5069,7 @@ module Aws::ApiGatewayV2
4765
5069
  :tags,
4766
5070
  :version,
4767
5071
  :warnings)
5072
+ SENSITIVE = []
4768
5073
  include Aws::Structure
4769
5074
  end
4770
5075
 
@@ -4837,6 +5142,16 @@ module Aws::ApiGatewayV2
4837
5142
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-integration-response-selection-expressions
4838
5143
  # @return [String]
4839
5144
  #
5145
+ # @!attribute [rw] integration_subtype
5146
+ # Supported only for HTTP API AWS\_PROXY integrations. Specifies the
5147
+ # AWS service action to invoke. To learn more, see [Integration
5148
+ # subtype reference][1].
5149
+ #
5150
+ #
5151
+ #
5152
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html
5153
+ # @return [String]
5154
+ #
4840
5155
  # @!attribute [rw] integration_type
4841
5156
  # The integration type of an integration. One of the following:
4842
5157
  #
@@ -4846,10 +5161,9 @@ module Aws::ApiGatewayV2
4846
5161
  # custom integration. With any other AWS service action, this is known
4847
5162
  # as AWS integration. Supported only for WebSocket APIs.
4848
5163
  #
4849
- # AWS\_PROXY: for integrating the route or method request with the
4850
- # Lambda function-invoking action with the client request passed
4851
- # through as-is. This integration is also referred to as Lambda proxy
4852
- # integration.
5164
+ # AWS\_PROXY: for integrating the route or method request with a
5165
+ # Lambda function or other AWS service action. This integration is
5166
+ # also referred to as a Lambda proxy integration.
4853
5167
  #
4854
5168
  # HTTP: for integrating the route or method request with an HTTP
4855
5169
  # endpoint. This integration is also referred to as the HTTP custom
@@ -4907,16 +5221,26 @@ module Aws::ApiGatewayV2
4907
5221
  # @return [String]
4908
5222
  #
4909
5223
  # @!attribute [rw] request_parameters
4910
- # A key-value map specifying request parameters that are passed from
4911
- # the method request to the backend. The key is an integration request
4912
- # parameter name and the associated value is a method request
4913
- # parameter value or static value that must be enclosed within single
4914
- # quotes and pre-encoded as required by the backend. The method
4915
- # request parameter value must match the pattern of
5224
+ # For WebSocket APIs, a key-value map specifying request parameters
5225
+ # that are passed from the method request to the backend. The key is
5226
+ # an integration request parameter name and the associated value is a
5227
+ # method request parameter value or static value that must be enclosed
5228
+ # within single quotes and pre-encoded as required by the backend. The
5229
+ # method request parameter value must match the pattern of
4916
5230
  # method.request.*\\\{location\\}*.*\\\{name\\}* , where
4917
5231
  # *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
4918
- # must be a valid and unique method request parameter name. Supported
4919
- # only for WebSocket APIs.
5232
+ # must be a valid and unique method request parameter name.
5233
+ #
5234
+ # For HTTP APIs, request parameters are a key-value map specifying
5235
+ # parameters that are passed to AWS\_PROXY integrations with a
5236
+ # specified integrationSubtype. You can provide static values, or map
5237
+ # request data, stage variables, or context variables that are
5238
+ # evaluated at runtime. To learn more, see [Working with AWS service
5239
+ # integrations for HTTP APIs][1].
5240
+ #
5241
+ #
5242
+ #
5243
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
4920
5244
  # @return [Hash<String,String>]
4921
5245
  #
4922
5246
  # @!attribute [rw] request_templates
@@ -4955,6 +5279,7 @@ module Aws::ApiGatewayV2
4955
5279
  :integration_id,
4956
5280
  :integration_method,
4957
5281
  :integration_response_selection_expression,
5282
+ :integration_subtype,
4958
5283
  :integration_type,
4959
5284
  :integration_uri,
4960
5285
  :passthrough_behavior,
@@ -4964,6 +5289,7 @@ module Aws::ApiGatewayV2
4964
5289
  :template_selection_expression,
4965
5290
  :timeout_in_millis,
4966
5291
  :tls_config)
5292
+ SENSITIVE = []
4967
5293
  include Aws::Structure
4968
5294
  end
4969
5295
 
@@ -5027,6 +5353,7 @@ module Aws::ApiGatewayV2
5027
5353
  :response_parameters,
5028
5354
  :response_templates,
5029
5355
  :template_selection_expression)
5356
+ SENSITIVE = []
5030
5357
  include Aws::Structure
5031
5358
  end
5032
5359
 
@@ -5044,6 +5371,7 @@ module Aws::ApiGatewayV2
5044
5371
  class IntegrationResponses < Struct.new(
5045
5372
  :items,
5046
5373
  :next_token)
5374
+ SENSITIVE = []
5047
5375
  include Aws::Structure
5048
5376
  end
5049
5377
 
@@ -5061,6 +5389,7 @@ module Aws::ApiGatewayV2
5061
5389
  class Integrations < Struct.new(
5062
5390
  :items,
5063
5391
  :next_token)
5392
+ SENSITIVE = []
5064
5393
  include Aws::Structure
5065
5394
  end
5066
5395
 
@@ -5097,6 +5426,7 @@ module Aws::ApiGatewayV2
5097
5426
  class JWTConfiguration < Struct.new(
5098
5427
  :audience,
5099
5428
  :issuer)
5429
+ SENSITIVE = []
5100
5430
  include Aws::Structure
5101
5431
  end
5102
5432
 
@@ -5114,6 +5444,7 @@ module Aws::ApiGatewayV2
5114
5444
  class LimitExceededException < Struct.new(
5115
5445
  :limit_type,
5116
5446
  :message)
5447
+ SENSITIVE = []
5117
5448
  include Aws::Structure
5118
5449
  end
5119
5450
 
@@ -5152,6 +5483,7 @@ module Aws::ApiGatewayV2
5152
5483
  :model_id,
5153
5484
  :name,
5154
5485
  :schema)
5486
+ SENSITIVE = []
5155
5487
  include Aws::Structure
5156
5488
  end
5157
5489
 
@@ -5174,6 +5506,7 @@ module Aws::ApiGatewayV2
5174
5506
  class Models < Struct.new(
5175
5507
  :items,
5176
5508
  :next_token)
5509
+ SENSITIVE = []
5177
5510
  include Aws::Structure
5178
5511
  end
5179
5512
 
@@ -5191,6 +5524,7 @@ module Aws::ApiGatewayV2
5191
5524
  class NotFoundException < Struct.new(
5192
5525
  :message,
5193
5526
  :resource_type)
5527
+ SENSITIVE = []
5194
5528
  include Aws::Structure
5195
5529
  end
5196
5530
 
@@ -5210,6 +5544,7 @@ module Aws::ApiGatewayV2
5210
5544
  #
5211
5545
  class ParameterConstraints < Struct.new(
5212
5546
  :required)
5547
+ SENSITIVE = []
5213
5548
  include Aws::Structure
5214
5549
  end
5215
5550
 
@@ -5222,6 +5557,7 @@ module Aws::ApiGatewayV2
5222
5557
  #
5223
5558
  class ReimportApiInput < Struct.new(
5224
5559
  :body)
5560
+ SENSITIVE = []
5225
5561
  include Aws::Structure
5226
5562
  end
5227
5563
 
@@ -5252,12 +5588,16 @@ module Aws::ApiGatewayV2
5252
5588
  :basepath,
5253
5589
  :body,
5254
5590
  :fail_on_warnings)
5591
+ SENSITIVE = []
5255
5592
  include Aws::Structure
5256
5593
  end
5257
5594
 
5258
5595
  # @!attribute [rw] api_endpoint
5259
5596
  # @return [String]
5260
5597
  #
5598
+ # @!attribute [rw] api_gateway_managed
5599
+ # @return [Boolean]
5600
+ #
5261
5601
  # @!attribute [rw] api_id
5262
5602
  # The identifier.
5263
5603
  # @return [String]
@@ -5323,6 +5663,7 @@ module Aws::ApiGatewayV2
5323
5663
  #
5324
5664
  class ReimportApiResponse < Struct.new(
5325
5665
  :api_endpoint,
5666
+ :api_gateway_managed,
5326
5667
  :api_id,
5327
5668
  :api_key_selection_expression,
5328
5669
  :cors_configuration,
@@ -5336,6 +5677,7 @@ module Aws::ApiGatewayV2
5336
5677
  :tags,
5337
5678
  :version,
5338
5679
  :warnings)
5680
+ SENSITIVE = []
5339
5681
  include Aws::Structure
5340
5682
  end
5341
5683
 
@@ -5368,8 +5710,9 @@ module Aws::ApiGatewayV2
5368
5710
  # The authorization type for the route. For WebSocket APIs, valid
5369
5711
  # values are NONE for open access, AWS\_IAM for using AWS IAM
5370
5712
  # permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs,
5371
- # valid values are NONE for open access, or JWT for using JSON Web
5372
- # Tokens.
5713
+ # valid values are NONE for open access, JWT for using JSON Web
5714
+ # Tokens, AWS\_IAM for using AWS IAM permissions, and CUSTOM for using
5715
+ # a Lambda authorizer.
5373
5716
  # @return [String]
5374
5717
  #
5375
5718
  # @!attribute [rw] authorizer_id
@@ -5427,6 +5770,7 @@ module Aws::ApiGatewayV2
5427
5770
  :route_key,
5428
5771
  :route_response_selection_expression,
5429
5772
  :target)
5773
+ SENSITIVE = []
5430
5774
  include Aws::Structure
5431
5775
  end
5432
5776
 
@@ -5459,6 +5803,7 @@ module Aws::ApiGatewayV2
5459
5803
  :response_parameters,
5460
5804
  :route_response_id,
5461
5805
  :route_response_key)
5806
+ SENSITIVE = []
5462
5807
  include Aws::Structure
5463
5808
  end
5464
5809
 
@@ -5476,6 +5821,7 @@ module Aws::ApiGatewayV2
5476
5821
  class RouteResponses < Struct.new(
5477
5822
  :items,
5478
5823
  :next_token)
5824
+ SENSITIVE = []
5479
5825
  include Aws::Structure
5480
5826
  end
5481
5827
 
@@ -5522,6 +5868,7 @@ module Aws::ApiGatewayV2
5522
5868
  :logging_level,
5523
5869
  :throttling_burst_limit,
5524
5870
  :throttling_rate_limit)
5871
+ SENSITIVE = []
5525
5872
  include Aws::Structure
5526
5873
  end
5527
5874
 
@@ -5539,6 +5886,7 @@ module Aws::ApiGatewayV2
5539
5886
  class Routes < Struct.new(
5540
5887
  :items,
5541
5888
  :next_token)
5889
+ SENSITIVE = []
5542
5890
  include Aws::Structure
5543
5891
  end
5544
5892
 
@@ -5624,6 +5972,7 @@ module Aws::ApiGatewayV2
5624
5972
  :stage_name,
5625
5973
  :stage_variables,
5626
5974
  :tags)
5975
+ SENSITIVE = []
5627
5976
  include Aws::Structure
5628
5977
  end
5629
5978
 
@@ -5642,6 +5991,7 @@ module Aws::ApiGatewayV2
5642
5991
  class Stages < Struct.new(
5643
5992
  :items,
5644
5993
  :next_token)
5994
+ SENSITIVE = []
5645
5995
  include Aws::Structure
5646
5996
  end
5647
5997
 
@@ -5654,6 +6004,7 @@ module Aws::ApiGatewayV2
5654
6004
  #
5655
6005
  class TagResourceInput < Struct.new(
5656
6006
  :tags)
6007
+ SENSITIVE = []
5657
6008
  include Aws::Structure
5658
6009
  end
5659
6010
 
@@ -5677,6 +6028,7 @@ module Aws::ApiGatewayV2
5677
6028
  class TagResourceRequest < Struct.new(
5678
6029
  :resource_arn,
5679
6030
  :tags)
6031
+ SENSITIVE = []
5680
6032
  include Aws::Structure
5681
6033
  end
5682
6034
 
@@ -5690,6 +6042,7 @@ module Aws::ApiGatewayV2
5690
6042
  #
5691
6043
  class Template < Struct.new(
5692
6044
  :value)
6045
+ SENSITIVE = []
5693
6046
  include Aws::Structure
5694
6047
  end
5695
6048
 
@@ -5706,6 +6059,7 @@ module Aws::ApiGatewayV2
5706
6059
  #
5707
6060
  class TlsConfig < Struct.new(
5708
6061
  :server_name_to_verify)
6062
+ SENSITIVE = []
5709
6063
  include Aws::Structure
5710
6064
  end
5711
6065
 
@@ -5729,6 +6083,7 @@ module Aws::ApiGatewayV2
5729
6083
  #
5730
6084
  class TlsConfigInput < Struct.new(
5731
6085
  :server_name_to_verify)
6086
+ SENSITIVE = []
5732
6087
  include Aws::Structure
5733
6088
  end
5734
6089
 
@@ -5744,6 +6099,7 @@ module Aws::ApiGatewayV2
5744
6099
  class TooManyRequestsException < Struct.new(
5745
6100
  :limit_type,
5746
6101
  :message)
6102
+ SENSITIVE = []
5747
6103
  include Aws::Structure
5748
6104
  end
5749
6105
 
@@ -5764,6 +6120,7 @@ module Aws::ApiGatewayV2
5764
6120
  class UntagResourceRequest < Struct.new(
5765
6121
  :resource_arn,
5766
6122
  :tag_keys)
6123
+ SENSITIVE = []
5767
6124
  include Aws::Structure
5768
6125
  end
5769
6126
 
@@ -5846,6 +6203,7 @@ module Aws::ApiGatewayV2
5846
6203
  :route_selection_expression,
5847
6204
  :target,
5848
6205
  :version)
6206
+ SENSITIVE = []
5849
6207
  include Aws::Structure
5850
6208
  end
5851
6209
 
@@ -5867,6 +6225,7 @@ module Aws::ApiGatewayV2
5867
6225
  :api_id,
5868
6226
  :api_mapping_key,
5869
6227
  :stage)
6228
+ SENSITIVE = []
5870
6229
  include Aws::Structure
5871
6230
  end
5872
6231
 
@@ -5912,6 +6271,7 @@ module Aws::ApiGatewayV2
5912
6271
  :api_mapping_key,
5913
6272
  :domain_name,
5914
6273
  :stage)
6274
+ SENSITIVE = []
5915
6275
  include Aws::Structure
5916
6276
  end
5917
6277
 
@@ -5943,6 +6303,7 @@ module Aws::ApiGatewayV2
5943
6303
  :api_mapping_id,
5944
6304
  :api_mapping_key,
5945
6305
  :stage)
6306
+ SENSITIVE = []
5946
6307
  include Aws::Structure
5947
6308
  end
5948
6309
 
@@ -6046,12 +6407,16 @@ module Aws::ApiGatewayV2
6046
6407
  :route_selection_expression,
6047
6408
  :target,
6048
6409
  :version)
6410
+ SENSITIVE = []
6049
6411
  include Aws::Structure
6050
6412
  end
6051
6413
 
6052
6414
  # @!attribute [rw] api_endpoint
6053
6415
  # @return [String]
6054
6416
  #
6417
+ # @!attribute [rw] api_gateway_managed
6418
+ # @return [Boolean]
6419
+ #
6055
6420
  # @!attribute [rw] api_id
6056
6421
  # The identifier.
6057
6422
  # @return [String]
@@ -6117,6 +6482,7 @@ module Aws::ApiGatewayV2
6117
6482
  #
6118
6483
  class UpdateApiResponse < Struct.new(
6119
6484
  :api_endpoint,
6485
+ :api_gateway_managed,
6120
6486
  :api_id,
6121
6487
  :api_key_selection_expression,
6122
6488
  :cors_configuration,
@@ -6130,6 +6496,7 @@ module Aws::ApiGatewayV2
6130
6496
  :tags,
6131
6497
  :version,
6132
6498
  :warnings)
6499
+ SENSITIVE = []
6133
6500
  include Aws::Structure
6134
6501
  end
6135
6502
 
@@ -6143,14 +6510,16 @@ module Aws::ApiGatewayV2
6143
6510
  # @return [String]
6144
6511
  #
6145
6512
  # @!attribute [rw] authorizer_result_ttl_in_seconds
6146
- # Authorizer caching is not currently supported. Don't specify this
6147
- # value for authorizers.
6513
+ # The time to live (TTL) for cached authorizer results, in seconds. If
6514
+ # it equals 0, authorization caching is disabled. If it is greater
6515
+ # than 0, API Gateway caches authorizer responses. The maximum value
6516
+ # is 3600, or 1 hour. Supported only for HTTP API Lambda authorizers.
6148
6517
  # @return [Integer]
6149
6518
  #
6150
6519
  # @!attribute [rw] authorizer_type
6151
- # The authorizer type. For WebSocket APIs, specify REQUEST for a
6152
- # Lambda function using incoming request parameters. For HTTP APIs,
6153
- # specify JWT to use JSON Web Tokens.
6520
+ # The authorizer type. Specify REQUEST for a Lambda function using
6521
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
6522
+ # (supported only for HTTP APIs).
6154
6523
  # @return [String]
6155
6524
  #
6156
6525
  # @!attribute [rw] authorizer_uri
@@ -6175,22 +6544,30 @@ module Aws::ApiGatewayV2
6175
6544
  #
6176
6545
  # For a REQUEST authorizer, this is optional. The value is a set of
6177
6546
  # one or more mapping expressions of the specified request parameters.
6178
- # Currently, the identity source can be headers, query string
6179
- # parameters, stage variables, and context parameters. For example, if
6180
- # an Auth header and a Name query string parameter are defined as
6181
- # identity sources, this value is route.request.header.Auth,
6182
- # route.request.querystring.Name. These parameters will be used to
6183
- # perform runtime validation for Lambda-based authorizers by verifying
6184
- # all of the identity-related request parameters are present in the
6185
- # request, not null, and non-empty. Only when this is true does the
6186
- # authorizer invoke the authorizer Lambda function. Otherwise, it
6187
- # returns a 401 Unauthorized response without calling the Lambda
6188
- # function.
6547
+ # The identity source can be headers, query string parameters, stage
6548
+ # variables, and context parameters. For example, if an Auth header
6549
+ # and a Name query string parameter are defined as identity sources,
6550
+ # this value is route.request.header.Auth,
6551
+ # route.request.querystring.Name for WebSocket APIs. For HTTP APIs,
6552
+ # use selection expressions prefixed with $, for example,
6553
+ # $request.header.Auth, $request.querystring.Name. These parameters
6554
+ # are used to perform runtime validation for Lambda-based authorizers
6555
+ # by verifying all of the identity-related request parameters are
6556
+ # present in the request, not null, and non-empty. Only when this is
6557
+ # true does the authorizer invoke the authorizer Lambda function.
6558
+ # Otherwise, it returns a 401 Unauthorized response without calling
6559
+ # the Lambda function. For HTTP APIs, identity sources are also used
6560
+ # as the cache key when caching is enabled. To learn more, see
6561
+ # [Working with AWS Lambda authorizers for HTTP APIs][1].
6189
6562
  #
6190
6563
  # For JWT, a single entry that specifies where to extract the JSON Web
6191
6564
  # Token (JWT) from inbound requests. Currently only header-based and
6192
6565
  # query parameter-based selections are supported, for example
6193
- # "$request.header.Authorization".
6566
+ # $request.header.Authorization.
6567
+ #
6568
+ #
6569
+ #
6570
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
6194
6571
  # @return [Array<String>]
6195
6572
  #
6196
6573
  # @!attribute [rw] identity_validation_expression
@@ -6206,6 +6583,29 @@ module Aws::ApiGatewayV2
6206
6583
  # The name of the authorizer.
6207
6584
  # @return [String]
6208
6585
  #
6586
+ # @!attribute [rw] authorizer_payload_format_version
6587
+ # Specifies the format of the payload sent to an HTTP API Lambda
6588
+ # authorizer. Required for HTTP API Lambda authorizers. Supported
6589
+ # values are 1.0 and 2.0. To learn more, see [Working with AWS Lambda
6590
+ # authorizers for HTTP APIs][1].
6591
+ #
6592
+ #
6593
+ #
6594
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
6595
+ # @return [String]
6596
+ #
6597
+ # @!attribute [rw] enable_simple_responses
6598
+ # Specifies whether a Lambda authorizer returns a response in a simple
6599
+ # format. By default, a Lambda authorizer must return an IAM policy.
6600
+ # If enabled, the Lambda authorizer can return a boolean value instead
6601
+ # of an IAM policy. Supported only for HTTP APIs. To learn more, see
6602
+ # [Working with AWS Lambda authorizers for HTTP APIs][1]
6603
+ #
6604
+ #
6605
+ #
6606
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
6607
+ # @return [Boolean]
6608
+ #
6209
6609
  class UpdateAuthorizerInput < Struct.new(
6210
6610
  :authorizer_credentials_arn,
6211
6611
  :authorizer_result_ttl_in_seconds,
@@ -6214,7 +6614,10 @@ module Aws::ApiGatewayV2
6214
6614
  :identity_source,
6215
6615
  :identity_validation_expression,
6216
6616
  :jwt_configuration,
6217
- :name)
6617
+ :name,
6618
+ :authorizer_payload_format_version,
6619
+ :enable_simple_responses)
6620
+ SENSITIVE = []
6218
6621
  include Aws::Structure
6219
6622
  end
6220
6623
 
@@ -6235,6 +6638,8 @@ module Aws::ApiGatewayV2
6235
6638
  # issuer: "UriWithLengthBetween1And2048",
6236
6639
  # },
6237
6640
  # name: "StringWithLengthBetween1And128",
6641
+ # authorizer_payload_format_version: "StringWithLengthBetween1And64",
6642
+ # enable_simple_responses: false,
6238
6643
  # }
6239
6644
  #
6240
6645
  # @!attribute [rw] api_id
@@ -6252,9 +6657,9 @@ module Aws::ApiGatewayV2
6252
6657
  # @return [Integer]
6253
6658
  #
6254
6659
  # @!attribute [rw] authorizer_type
6255
- # The authorizer type. For WebSocket APIs, specify REQUEST for a
6256
- # Lambda function using incoming request parameters. For HTTP APIs,
6257
- # specify JWT to use JSON Web Tokens.
6660
+ # The authorizer type. Specify REQUEST for a Lambda function using
6661
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
6662
+ # (supported only for HTTP APIs).
6258
6663
  # @return [String]
6259
6664
  #
6260
6665
  # @!attribute [rw] authorizer_uri
@@ -6293,6 +6698,13 @@ module Aws::ApiGatewayV2
6293
6698
  # A string with a length between \[1-128\].
6294
6699
  # @return [String]
6295
6700
  #
6701
+ # @!attribute [rw] authorizer_payload_format_version
6702
+ # A string with a length between \[1-64\].
6703
+ # @return [String]
6704
+ #
6705
+ # @!attribute [rw] enable_simple_responses
6706
+ # @return [Boolean]
6707
+ #
6296
6708
  class UpdateAuthorizerRequest < Struct.new(
6297
6709
  :api_id,
6298
6710
  :authorizer_credentials_arn,
@@ -6303,7 +6715,10 @@ module Aws::ApiGatewayV2
6303
6715
  :identity_source,
6304
6716
  :identity_validation_expression,
6305
6717
  :jwt_configuration,
6306
- :name)
6718
+ :name,
6719
+ :authorizer_payload_format_version,
6720
+ :enable_simple_responses)
6721
+ SENSITIVE = []
6307
6722
  include Aws::Structure
6308
6723
  end
6309
6724
 
@@ -6320,9 +6735,9 @@ module Aws::ApiGatewayV2
6320
6735
  # @return [Integer]
6321
6736
  #
6322
6737
  # @!attribute [rw] authorizer_type
6323
- # The authorizer type. For WebSocket APIs, specify REQUEST for a
6324
- # Lambda function using incoming request parameters. For HTTP APIs,
6325
- # specify JWT to use JSON Web Tokens.
6738
+ # The authorizer type. Specify REQUEST for a Lambda function using
6739
+ # incoming request parameters. Specify JWT to use JSON Web Tokens
6740
+ # (supported only for HTTP APIs).
6326
6741
  # @return [String]
6327
6742
  #
6328
6743
  # @!attribute [rw] authorizer_uri
@@ -6361,6 +6776,13 @@ module Aws::ApiGatewayV2
6361
6776
  # A string with a length between \[1-128\].
6362
6777
  # @return [String]
6363
6778
  #
6779
+ # @!attribute [rw] authorizer_payload_format_version
6780
+ # A string with a length between \[1-64\].
6781
+ # @return [String]
6782
+ #
6783
+ # @!attribute [rw] enable_simple_responses
6784
+ # @return [Boolean]
6785
+ #
6364
6786
  class UpdateAuthorizerResponse < Struct.new(
6365
6787
  :authorizer_credentials_arn,
6366
6788
  :authorizer_id,
@@ -6370,7 +6792,10 @@ module Aws::ApiGatewayV2
6370
6792
  :identity_source,
6371
6793
  :identity_validation_expression,
6372
6794
  :jwt_configuration,
6373
- :name)
6795
+ :name,
6796
+ :authorizer_payload_format_version,
6797
+ :enable_simple_responses)
6798
+ SENSITIVE = []
6374
6799
  include Aws::Structure
6375
6800
  end
6376
6801
 
@@ -6382,6 +6807,7 @@ module Aws::ApiGatewayV2
6382
6807
  #
6383
6808
  class UpdateDeploymentInput < Struct.new(
6384
6809
  :description)
6810
+ SENSITIVE = []
6385
6811
  include Aws::Structure
6386
6812
  end
6387
6813
 
@@ -6408,6 +6834,7 @@ module Aws::ApiGatewayV2
6408
6834
  :api_id,
6409
6835
  :deployment_id,
6410
6836
  :description)
6837
+ SENSITIVE = []
6411
6838
  include Aws::Structure
6412
6839
  end
6413
6840
 
@@ -6439,6 +6866,7 @@ module Aws::ApiGatewayV2
6439
6866
  :deployment_status,
6440
6867
  :deployment_status_message,
6441
6868
  :description)
6869
+ SENSITIVE = []
6442
6870
  include Aws::Structure
6443
6871
  end
6444
6872
 
@@ -6450,6 +6878,7 @@ module Aws::ApiGatewayV2
6450
6878
  #
6451
6879
  class UpdateDomainNameInput < Struct.new(
6452
6880
  :domain_name_configurations)
6881
+ SENSITIVE = []
6453
6882
  include Aws::Structure
6454
6883
  end
6455
6884
 
@@ -6483,6 +6912,7 @@ module Aws::ApiGatewayV2
6483
6912
  class UpdateDomainNameRequest < Struct.new(
6484
6913
  :domain_name,
6485
6914
  :domain_name_configurations)
6915
+ SENSITIVE = []
6486
6916
  include Aws::Structure
6487
6917
  end
6488
6918
 
@@ -6512,6 +6942,7 @@ module Aws::ApiGatewayV2
6512
6942
  :domain_name,
6513
6943
  :domain_name_configurations,
6514
6944
  :tags)
6945
+ SENSITIVE = []
6515
6946
  include Aws::Structure
6516
6947
  end
6517
6948
 
@@ -6563,6 +6994,16 @@ module Aws::ApiGatewayV2
6563
6994
  # Specifies the integration's HTTP method type.
6564
6995
  # @return [String]
6565
6996
  #
6997
+ # @!attribute [rw] integration_subtype
6998
+ # Supported only for HTTP API AWS\_PROXY integrations. Specifies the
6999
+ # AWS service action to invoke. To learn more, see [Integration
7000
+ # subtype reference][1].
7001
+ #
7002
+ #
7003
+ #
7004
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services-reference.html
7005
+ # @return [String]
7006
+ #
6566
7007
  # @!attribute [rw] integration_type
6567
7008
  # The integration type of an integration. One of the following:
6568
7009
  #
@@ -6572,10 +7013,9 @@ module Aws::ApiGatewayV2
6572
7013
  # custom integration. With any other AWS service action, this is known
6573
7014
  # as AWS integration. Supported only for WebSocket APIs.
6574
7015
  #
6575
- # AWS\_PROXY: for integrating the route or method request with the
6576
- # Lambda function-invoking action with the client request passed
6577
- # through as-is. This integration is also referred to as Lambda proxy
6578
- # integration.
7016
+ # AWS\_PROXY: for integrating the route or method request with a
7017
+ # Lambda function or other AWS service action. This integration is
7018
+ # also referred to as a Lambda proxy integration.
6579
7019
  #
6580
7020
  # HTTP: for integrating the route or method request with an HTTP
6581
7021
  # endpoint. This integration is also referred to as the HTTP custom
@@ -6634,16 +7074,26 @@ module Aws::ApiGatewayV2
6634
7074
  # @return [String]
6635
7075
  #
6636
7076
  # @!attribute [rw] request_parameters
6637
- # A key-value map specifying request parameters that are passed from
6638
- # the method request to the backend. The key is an integration request
6639
- # parameter name and the associated value is a method request
6640
- # parameter value or static value that must be enclosed within single
6641
- # quotes and pre-encoded as required by the backend. The method
6642
- # request parameter value must match the pattern of
7077
+ # For WebSocket APIs, a key-value map specifying request parameters
7078
+ # that are passed from the method request to the backend. The key is
7079
+ # an integration request parameter name and the associated value is a
7080
+ # method request parameter value or static value that must be enclosed
7081
+ # within single quotes and pre-encoded as required by the backend. The
7082
+ # method request parameter value must match the pattern of
6643
7083
  # method.request.*\\\{location\\}*.*\\\{name\\}* , where
6644
7084
  # *\\\{location\\}* is querystring, path, or header; and *\\\{name\\}*
6645
- # must be a valid and unique method request parameter name. Supported
6646
- # only for WebSocket APIs.
7085
+ # must be a valid and unique method request parameter name.
7086
+ #
7087
+ # For HTTP APIs, request parameters are a key-value map specifying
7088
+ # parameters that are passed to AWS\_PROXY integrations with a
7089
+ # specified integrationSubtype. You can provide static values, or map
7090
+ # request data, stage variables, or context variables that are
7091
+ # evaluated at runtime. To learn more, see [Working with AWS service
7092
+ # integrations for HTTP APIs][1].
7093
+ #
7094
+ #
7095
+ #
7096
+ # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-aws-services.html
6647
7097
  # @return [Hash<String,String>]
6648
7098
  #
6649
7099
  # @!attribute [rw] request_templates
@@ -6678,6 +7128,7 @@ module Aws::ApiGatewayV2
6678
7128
  :credentials_arn,
6679
7129
  :description,
6680
7130
  :integration_method,
7131
+ :integration_subtype,
6681
7132
  :integration_type,
6682
7133
  :integration_uri,
6683
7134
  :passthrough_behavior,
@@ -6687,6 +7138,7 @@ module Aws::ApiGatewayV2
6687
7138
  :template_selection_expression,
6688
7139
  :timeout_in_millis,
6689
7140
  :tls_config)
7141
+ SENSITIVE = []
6690
7142
  include Aws::Structure
6691
7143
  end
6692
7144
 
@@ -6702,6 +7154,7 @@ module Aws::ApiGatewayV2
6702
7154
  # description: "StringWithLengthBetween0And1024",
6703
7155
  # integration_id: "__string", # required
6704
7156
  # integration_method: "StringWithLengthBetween1And64",
7157
+ # integration_subtype: "StringWithLengthBetween1And128",
6705
7158
  # integration_type: "AWS", # accepts AWS, HTTP, MOCK, HTTP_PROXY, AWS_PROXY
6706
7159
  # integration_uri: "UriWithLengthBetween1And2048",
6707
7160
  # passthrough_behavior: "WHEN_NO_MATCH", # accepts WHEN_NO_MATCH, NEVER, WHEN_NO_TEMPLATES
@@ -6750,6 +7203,10 @@ module Aws::ApiGatewayV2
6750
7203
  # A string with a length between \[1-64\].
6751
7204
  # @return [String]
6752
7205
  #
7206
+ # @!attribute [rw] integration_subtype
7207
+ # A string with a length between \[1-128\].
7208
+ # @return [String]
7209
+ #
6753
7210
  # @!attribute [rw] integration_type
6754
7211
  # Represents an API method integration type.
6755
7212
  # @return [String]
@@ -6816,6 +7273,7 @@ module Aws::ApiGatewayV2
6816
7273
  :description,
6817
7274
  :integration_id,
6818
7275
  :integration_method,
7276
+ :integration_subtype,
6819
7277
  :integration_type,
6820
7278
  :integration_uri,
6821
7279
  :passthrough_behavior,
@@ -6825,6 +7283,7 @@ module Aws::ApiGatewayV2
6825
7283
  :template_selection_expression,
6826
7284
  :timeout_in_millis,
6827
7285
  :tls_config)
7286
+ SENSITIVE = []
6828
7287
  include Aws::Structure
6829
7288
  end
6830
7289
 
@@ -6869,6 +7328,10 @@ module Aws::ApiGatewayV2
6869
7328
  # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
6870
7329
  # @return [String]
6871
7330
  #
7331
+ # @!attribute [rw] integration_subtype
7332
+ # A string with a length between \[1-128\].
7333
+ # @return [String]
7334
+ #
6872
7335
  # @!attribute [rw] integration_type
6873
7336
  # Represents an API method integration type.
6874
7337
  # @return [String]
@@ -6936,6 +7399,7 @@ module Aws::ApiGatewayV2
6936
7399
  :integration_id,
6937
7400
  :integration_method,
6938
7401
  :integration_response_selection_expression,
7402
+ :integration_subtype,
6939
7403
  :integration_type,
6940
7404
  :integration_uri,
6941
7405
  :passthrough_behavior,
@@ -6945,6 +7409,7 @@ module Aws::ApiGatewayV2
6945
7409
  :template_selection_expression,
6946
7410
  :timeout_in_millis,
6947
7411
  :tls_config)
7412
+ SENSITIVE = []
6948
7413
  include Aws::Structure
6949
7414
  end
6950
7415
 
@@ -7006,6 +7471,7 @@ module Aws::ApiGatewayV2
7006
7471
  :response_parameters,
7007
7472
  :response_templates,
7008
7473
  :template_selection_expression)
7474
+ SENSITIVE = []
7009
7475
  include Aws::Structure
7010
7476
  end
7011
7477
 
@@ -7091,6 +7557,7 @@ module Aws::ApiGatewayV2
7091
7557
  :response_parameters,
7092
7558
  :response_templates,
7093
7559
  :template_selection_expression)
7560
+ SENSITIVE = []
7094
7561
  include Aws::Structure
7095
7562
  end
7096
7563
 
@@ -7151,6 +7618,7 @@ module Aws::ApiGatewayV2
7151
7618
  :response_parameters,
7152
7619
  :response_templates,
7153
7620
  :template_selection_expression)
7621
+ SENSITIVE = []
7154
7622
  include Aws::Structure
7155
7623
  end
7156
7624
 
@@ -7179,6 +7647,7 @@ module Aws::ApiGatewayV2
7179
7647
  :description,
7180
7648
  :name,
7181
7649
  :schema)
7650
+ SENSITIVE = []
7182
7651
  include Aws::Structure
7183
7652
  end
7184
7653
 
@@ -7223,6 +7692,7 @@ module Aws::ApiGatewayV2
7223
7692
  :model_id,
7224
7693
  :name,
7225
7694
  :schema)
7695
+ SENSITIVE = []
7226
7696
  include Aws::Structure
7227
7697
  end
7228
7698
 
@@ -7252,6 +7722,7 @@ module Aws::ApiGatewayV2
7252
7722
  :model_id,
7253
7723
  :name,
7254
7724
  :schema)
7725
+ SENSITIVE = []
7255
7726
  include Aws::Structure
7256
7727
  end
7257
7728
 
@@ -7270,8 +7741,9 @@ module Aws::ApiGatewayV2
7270
7741
  # The authorization type for the route. For WebSocket APIs, valid
7271
7742
  # values are NONE for open access, AWS\_IAM for using AWS IAM
7272
7743
  # permissions, and CUSTOM for using a Lambda authorizer For HTTP APIs,
7273
- # valid values are NONE for open access, or JWT for using JSON Web
7274
- # Tokens.
7744
+ # valid values are NONE for open access, JWT for using JSON Web
7745
+ # Tokens, AWS\_IAM for using AWS IAM permissions, and CUSTOM for using
7746
+ # a Lambda authorizer.
7275
7747
  # @return [String]
7276
7748
  #
7277
7749
  # @!attribute [rw] authorizer_id
@@ -7323,6 +7795,7 @@ module Aws::ApiGatewayV2
7323
7795
  :route_key,
7324
7796
  :route_response_selection_expression,
7325
7797
  :target)
7798
+ SENSITIVE = []
7326
7799
  include Aws::Structure
7327
7800
  end
7328
7801
 
@@ -7373,7 +7846,8 @@ module Aws::ApiGatewayV2
7373
7846
  # The authorization type. For WebSocket APIs, valid values are NONE
7374
7847
  # for open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM
7375
7848
  # for using a Lambda authorizer. For HTTP APIs, valid values are NONE
7376
- # for open access, or JWT for using JSON Web Tokens.
7849
+ # for open access, JWT for using JSON Web Tokens, AWS\_IAM for using
7850
+ # AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
7377
7851
  # @return [String]
7378
7852
  #
7379
7853
  # @!attribute [rw] authorizer_id
@@ -7442,6 +7916,7 @@ module Aws::ApiGatewayV2
7442
7916
  :route_key,
7443
7917
  :route_response_selection_expression,
7444
7918
  :target)
7919
+ SENSITIVE = []
7445
7920
  include Aws::Structure
7446
7921
  end
7447
7922
 
@@ -7467,7 +7942,8 @@ module Aws::ApiGatewayV2
7467
7942
  # The authorization type. For WebSocket APIs, valid values are NONE
7468
7943
  # for open access, AWS\_IAM for using AWS IAM permissions, and CUSTOM
7469
7944
  # for using a Lambda authorizer. For HTTP APIs, valid values are NONE
7470
- # for open access, or JWT for using JSON Web Tokens.
7945
+ # for open access, JWT for using JSON Web Tokens, AWS\_IAM for using
7946
+ # AWS IAM permissions, and CUSTOM for using a Lambda authorizer.
7471
7947
  # @return [String]
7472
7948
  #
7473
7949
  # @!attribute [rw] authorizer_id
@@ -7537,6 +8013,7 @@ module Aws::ApiGatewayV2
7537
8013
  :route_key,
7538
8014
  :route_response_selection_expression,
7539
8015
  :target)
8016
+ SENSITIVE = []
7540
8017
  include Aws::Structure
7541
8018
  end
7542
8019
 
@@ -7564,6 +8041,7 @@ module Aws::ApiGatewayV2
7564
8041
  :response_models,
7565
8042
  :response_parameters,
7566
8043
  :route_response_key)
8044
+ SENSITIVE = []
7567
8045
  include Aws::Structure
7568
8046
  end
7569
8047
 
@@ -7631,6 +8109,7 @@ module Aws::ApiGatewayV2
7631
8109
  :route_id,
7632
8110
  :route_response_id,
7633
8111
  :route_response_key)
8112
+ SENSITIVE = []
7634
8113
  include Aws::Structure
7635
8114
  end
7636
8115
 
@@ -7672,6 +8151,7 @@ module Aws::ApiGatewayV2
7672
8151
  :response_parameters,
7673
8152
  :route_response_id,
7674
8153
  :route_response_key)
8154
+ SENSITIVE = []
7675
8155
  include Aws::Structure
7676
8156
  end
7677
8157
 
@@ -7722,6 +8202,7 @@ module Aws::ApiGatewayV2
7722
8202
  :description,
7723
8203
  :route_settings,
7724
8204
  :stage_variables)
8205
+ SENSITIVE = []
7725
8206
  include Aws::Structure
7726
8207
  end
7727
8208
 
@@ -7808,6 +8289,7 @@ module Aws::ApiGatewayV2
7808
8289
  :route_settings,
7809
8290
  :stage_name,
7810
8291
  :stage_variables)
8292
+ SENSITIVE = []
7811
8293
  include Aws::Structure
7812
8294
  end
7813
8295
 
@@ -7877,6 +8359,7 @@ module Aws::ApiGatewayV2
7877
8359
  :stage_name,
7878
8360
  :stage_variables,
7879
8361
  :tags)
8362
+ SENSITIVE = []
7880
8363
  include Aws::Structure
7881
8364
  end
7882
8365
 
@@ -7888,6 +8371,7 @@ module Aws::ApiGatewayV2
7888
8371
  #
7889
8372
  class UpdateVpcLinkInput < Struct.new(
7890
8373
  :name)
8374
+ SENSITIVE = []
7891
8375
  include Aws::Structure
7892
8376
  end
7893
8377
 
@@ -7909,6 +8393,7 @@ module Aws::ApiGatewayV2
7909
8393
  class UpdateVpcLinkRequest < Struct.new(
7910
8394
  :name,
7911
8395
  :vpc_link_id)
8396
+ SENSITIVE = []
7912
8397
  include Aws::Structure
7913
8398
  end
7914
8399
 
@@ -7957,6 +8442,7 @@ module Aws::ApiGatewayV2
7957
8442
  :vpc_link_status,
7958
8443
  :vpc_link_status_message,
7959
8444
  :vpc_link_version)
8445
+ SENSITIVE = []
7960
8446
  include Aws::Structure
7961
8447
  end
7962
8448
 
@@ -8008,6 +8494,7 @@ module Aws::ApiGatewayV2
8008
8494
  :vpc_link_status,
8009
8495
  :vpc_link_status_message,
8010
8496
  :vpc_link_version)
8497
+ SENSITIVE = []
8011
8498
  include Aws::Structure
8012
8499
  end
8013
8500
 
@@ -8025,6 +8512,7 @@ module Aws::ApiGatewayV2
8025
8512
  class VpcLinks < Struct.new(
8026
8513
  :items,
8027
8514
  :next_token)
8515
+ SENSITIVE = []
8028
8516
  include Aws::Structure
8029
8517
  end
8030
8518