aws-sdk-apigatewayv2 1.16.0 → 1.17.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -64,6 +64,10 @@ module Aws::ApiGatewayV2
64
64
  CreateStageInput = Shapes::StructureShape.new(name: 'CreateStageInput')
65
65
  CreateStageRequest = Shapes::StructureShape.new(name: 'CreateStageRequest')
66
66
  CreateStageResponse = Shapes::StructureShape.new(name: 'CreateStageResponse')
67
+ CreateVpcLinkInput = Shapes::StructureShape.new(name: 'CreateVpcLinkInput')
68
+ CreateVpcLinkRequest = Shapes::StructureShape.new(name: 'CreateVpcLinkRequest')
69
+ CreateVpcLinkResponse = Shapes::StructureShape.new(name: 'CreateVpcLinkResponse')
70
+ DeleteAccessLogSettingsRequest = Shapes::StructureShape.new(name: 'DeleteAccessLogSettingsRequest')
67
71
  DeleteApiMappingRequest = Shapes::StructureShape.new(name: 'DeleteApiMappingRequest')
68
72
  DeleteApiRequest = Shapes::StructureShape.new(name: 'DeleteApiRequest')
69
73
  DeleteAuthorizerRequest = Shapes::StructureShape.new(name: 'DeleteAuthorizerRequest')
@@ -74,9 +78,12 @@ module Aws::ApiGatewayV2
74
78
  DeleteIntegrationResponseRequest = Shapes::StructureShape.new(name: 'DeleteIntegrationResponseRequest')
75
79
  DeleteModelRequest = Shapes::StructureShape.new(name: 'DeleteModelRequest')
76
80
  DeleteRouteRequest = Shapes::StructureShape.new(name: 'DeleteRouteRequest')
81
+ DeleteRouteRequestParameterRequest = Shapes::StructureShape.new(name: 'DeleteRouteRequestParameterRequest')
77
82
  DeleteRouteResponseRequest = Shapes::StructureShape.new(name: 'DeleteRouteResponseRequest')
78
83
  DeleteRouteSettingsRequest = Shapes::StructureShape.new(name: 'DeleteRouteSettingsRequest')
79
84
  DeleteStageRequest = Shapes::StructureShape.new(name: 'DeleteStageRequest')
85
+ DeleteVpcLinkRequest = Shapes::StructureShape.new(name: 'DeleteVpcLinkRequest')
86
+ DeleteVpcLinkResponse = Shapes::StructureShape.new(name: 'DeleteVpcLinkResponse')
80
87
  Deployment = Shapes::StructureShape.new(name: 'Deployment')
81
88
  DeploymentStatus = Shapes::StringShape.new(name: 'DeploymentStatus')
82
89
  Deployments = Shapes::StructureShape.new(name: 'Deployments')
@@ -134,6 +141,10 @@ module Aws::ApiGatewayV2
134
141
  GetStagesResponse = Shapes::StructureShape.new(name: 'GetStagesResponse')
135
142
  GetTagsRequest = Shapes::StructureShape.new(name: 'GetTagsRequest')
136
143
  GetTagsResponse = Shapes::StructureShape.new(name: 'GetTagsResponse')
144
+ GetVpcLinkRequest = Shapes::StructureShape.new(name: 'GetVpcLinkRequest')
145
+ GetVpcLinkResponse = Shapes::StructureShape.new(name: 'GetVpcLinkResponse')
146
+ GetVpcLinksRequest = Shapes::StructureShape.new(name: 'GetVpcLinksRequest')
147
+ GetVpcLinksResponse = Shapes::StructureShape.new(name: 'GetVpcLinksResponse')
137
148
  Id = Shapes::StringShape.new(name: 'Id')
138
149
  IdentitySourceList = Shapes::ListShape.new(name: 'IdentitySourceList')
139
150
  ImportApiInput = Shapes::StructureShape.new(name: 'ImportApiInput')
@@ -169,6 +180,7 @@ module Aws::ApiGatewayV2
169
180
  RouteSettings = Shapes::StructureShape.new(name: 'RouteSettings')
170
181
  RouteSettingsMap = Shapes::MapShape.new(name: 'RouteSettingsMap')
171
182
  Routes = Shapes::StructureShape.new(name: 'Routes')
183
+ SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
172
184
  SecurityPolicy = Shapes::StringShape.new(name: 'SecurityPolicy')
173
185
  SelectionExpression = Shapes::StringShape.new(name: 'SelectionExpression')
174
186
  SelectionKey = Shapes::StringShape.new(name: 'SelectionKey')
@@ -184,12 +196,15 @@ module Aws::ApiGatewayV2
184
196
  StringWithLengthBetween1And256 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And256')
185
197
  StringWithLengthBetween1And512 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And512')
186
198
  StringWithLengthBetween1And64 = Shapes::StringShape.new(name: 'StringWithLengthBetween1And64')
199
+ SubnetIdList = Shapes::ListShape.new(name: 'SubnetIdList')
187
200
  TagResourceInput = Shapes::StructureShape.new(name: 'TagResourceInput')
188
201
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
189
202
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
190
203
  Tags = Shapes::MapShape.new(name: 'Tags')
191
204
  Template = Shapes::StructureShape.new(name: 'Template')
192
205
  TemplateMap = Shapes::MapShape.new(name: 'TemplateMap')
206
+ TlsConfig = Shapes::StructureShape.new(name: 'TlsConfig')
207
+ TlsConfigInput = Shapes::StructureShape.new(name: 'TlsConfigInput')
193
208
  TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
194
209
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
195
210
  UpdateApiInput = Shapes::StructureShape.new(name: 'UpdateApiInput')
@@ -225,7 +240,14 @@ module Aws::ApiGatewayV2
225
240
  UpdateStageInput = Shapes::StructureShape.new(name: 'UpdateStageInput')
226
241
  UpdateStageRequest = Shapes::StructureShape.new(name: 'UpdateStageRequest')
227
242
  UpdateStageResponse = Shapes::StructureShape.new(name: 'UpdateStageResponse')
243
+ UpdateVpcLinkInput = Shapes::StructureShape.new(name: 'UpdateVpcLinkInput')
244
+ UpdateVpcLinkRequest = Shapes::StructureShape.new(name: 'UpdateVpcLinkRequest')
245
+ UpdateVpcLinkResponse = Shapes::StructureShape.new(name: 'UpdateVpcLinkResponse')
228
246
  UriWithLengthBetween1And2048 = Shapes::StringShape.new(name: 'UriWithLengthBetween1And2048')
247
+ VpcLink = Shapes::StructureShape.new(name: 'VpcLink')
248
+ VpcLinkStatus = Shapes::StringShape.new(name: 'VpcLinkStatus')
249
+ VpcLinkVersion = Shapes::StringShape.new(name: 'VpcLinkVersion')
250
+ VpcLinks = Shapes::StructureShape.new(name: 'VpcLinks')
229
251
  __boolean = Shapes::BooleanShape.new(name: '__boolean')
230
252
  __double = Shapes::FloatShape.new(name: '__double')
231
253
  __integer = Shapes::IntegerShape.new(name: '__integer')
@@ -240,6 +262,7 @@ module Aws::ApiGatewayV2
240
262
  __listOfRoute = Shapes::ListShape.new(name: '__listOfRoute')
241
263
  __listOfRouteResponse = Shapes::ListShape.new(name: '__listOfRouteResponse')
242
264
  __listOfStage = Shapes::ListShape.new(name: '__listOfStage')
265
+ __listOfVpcLink = Shapes::ListShape.new(name: '__listOfVpcLink')
243
266
  __listOf__string = Shapes::ListShape.new(name: '__listOf__string')
244
267
  __long = Shapes::IntegerShape.new(name: '__long')
245
268
  __string = Shapes::StringShape.new(name: '__string')
@@ -460,6 +483,7 @@ module Aws::ApiGatewayV2
460
483
  CreateIntegrationInput.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
461
484
  CreateIntegrationInput.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
462
485
  CreateIntegrationInput.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And29000, location_name: "timeoutInMillis"))
486
+ CreateIntegrationInput.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfigInput, location_name: "tlsConfig"))
463
487
  CreateIntegrationInput.struct_class = Types::CreateIntegrationInput
464
488
 
465
489
  CreateIntegrationRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
@@ -477,6 +501,7 @@ module Aws::ApiGatewayV2
477
501
  CreateIntegrationRequest.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
478
502
  CreateIntegrationRequest.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
479
503
  CreateIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And29000, location_name: "timeoutInMillis"))
504
+ CreateIntegrationRequest.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfigInput, location_name: "tlsConfig"))
480
505
  CreateIntegrationRequest.struct_class = Types::CreateIntegrationRequest
481
506
 
482
507
  CreateIntegrationResponseInput.add_member(:content_handling_strategy, Shapes::ShapeRef.new(shape: ContentHandlingStrategy, location_name: "contentHandlingStrategy"))
@@ -520,6 +545,7 @@ module Aws::ApiGatewayV2
520
545
  CreateIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
521
546
  CreateIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
522
547
  CreateIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And29000, location_name: "timeoutInMillis"))
548
+ CreateIntegrationResult.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
523
549
  CreateIntegrationResult.struct_class = Types::CreateIntegrationResult
524
550
 
525
551
  CreateModelInput.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And256, location_name: "contentType"))
@@ -646,6 +672,33 @@ module Aws::ApiGatewayV2
646
672
  CreateStageResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
647
673
  CreateStageResponse.struct_class = Types::CreateStageResponse
648
674
 
675
+ CreateVpcLinkInput.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
676
+ CreateVpcLinkInput.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
677
+ CreateVpcLinkInput.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, required: true, location_name: "subnetIds"))
678
+ CreateVpcLinkInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
679
+ CreateVpcLinkInput.struct_class = Types::CreateVpcLinkInput
680
+
681
+ CreateVpcLinkRequest.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
682
+ CreateVpcLinkRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
683
+ CreateVpcLinkRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, required: true, location_name: "subnetIds"))
684
+ CreateVpcLinkRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
685
+ CreateVpcLinkRequest.struct_class = Types::CreateVpcLinkRequest
686
+
687
+ CreateVpcLinkResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
688
+ CreateVpcLinkResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
689
+ CreateVpcLinkResponse.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
690
+ CreateVpcLinkResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
691
+ CreateVpcLinkResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
692
+ CreateVpcLinkResponse.add_member(:vpc_link_id, Shapes::ShapeRef.new(shape: Id, location_name: "vpcLinkId"))
693
+ CreateVpcLinkResponse.add_member(:vpc_link_status, Shapes::ShapeRef.new(shape: VpcLinkStatus, location_name: "vpcLinkStatus"))
694
+ CreateVpcLinkResponse.add_member(:vpc_link_status_message, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "vpcLinkStatusMessage"))
695
+ CreateVpcLinkResponse.add_member(:vpc_link_version, Shapes::ShapeRef.new(shape: VpcLinkVersion, location_name: "vpcLinkVersion"))
696
+ CreateVpcLinkResponse.struct_class = Types::CreateVpcLinkResponse
697
+
698
+ DeleteAccessLogSettingsRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
699
+ DeleteAccessLogSettingsRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "stageName"))
700
+ DeleteAccessLogSettingsRequest.struct_class = Types::DeleteAccessLogSettingsRequest
701
+
649
702
  DeleteApiMappingRequest.add_member(:api_mapping_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiMappingId"))
650
703
  DeleteApiMappingRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "domainName"))
651
704
  DeleteApiMappingRequest.struct_class = Types::DeleteApiMappingRequest
@@ -684,13 +737,18 @@ module Aws::ApiGatewayV2
684
737
  DeleteRouteRequest.add_member(:route_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "routeId"))
685
738
  DeleteRouteRequest.struct_class = Types::DeleteRouteRequest
686
739
 
740
+ DeleteRouteRequestParameterRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
741
+ DeleteRouteRequestParameterRequest.add_member(:request_parameter_key, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "requestParameterKey"))
742
+ DeleteRouteRequestParameterRequest.add_member(:route_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "routeId"))
743
+ DeleteRouteRequestParameterRequest.struct_class = Types::DeleteRouteRequestParameterRequest
744
+
687
745
  DeleteRouteResponseRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
688
746
  DeleteRouteResponseRequest.add_member(:route_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "routeId"))
689
747
  DeleteRouteResponseRequest.add_member(:route_response_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "routeResponseId"))
690
748
  DeleteRouteResponseRequest.struct_class = Types::DeleteRouteResponseRequest
691
749
 
692
750
  DeleteRouteSettingsRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
693
- DeleteRouteSettingsRequest.add_member(:route_key, Shapes::ShapeRef.new(shape: SelectionKey, required: true, location: "uri", location_name: "routeKey"))
751
+ DeleteRouteSettingsRequest.add_member(:route_key, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "routeKey"))
694
752
  DeleteRouteSettingsRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "stageName"))
695
753
  DeleteRouteSettingsRequest.struct_class = Types::DeleteRouteSettingsRequest
696
754
 
@@ -698,6 +756,11 @@ module Aws::ApiGatewayV2
698
756
  DeleteStageRequest.add_member(:stage_name, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "stageName"))
699
757
  DeleteStageRequest.struct_class = Types::DeleteStageRequest
700
758
 
759
+ DeleteVpcLinkRequest.add_member(:vpc_link_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "vpcLinkId"))
760
+ DeleteVpcLinkRequest.struct_class = Types::DeleteVpcLinkRequest
761
+
762
+ DeleteVpcLinkResponse.struct_class = Types::DeleteVpcLinkResponse
763
+
701
764
  Deployment.add_member(:auto_deployed, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoDeployed"))
702
765
  Deployment.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
703
766
  Deployment.add_member(:deployment_id, Shapes::ShapeRef.new(shape: Id, location_name: "deploymentId"))
@@ -885,6 +948,7 @@ module Aws::ApiGatewayV2
885
948
  GetIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
886
949
  GetIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
887
950
  GetIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And29000, location_name: "timeoutInMillis"))
951
+ GetIntegrationResult.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
888
952
  GetIntegrationResult.struct_class = Types::GetIntegrationResult
889
953
 
890
954
  GetIntegrationsRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
@@ -1005,9 +1069,31 @@ module Aws::ApiGatewayV2
1005
1069
  GetTagsRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "resource-arn"))
1006
1070
  GetTagsRequest.struct_class = Types::GetTagsRequest
1007
1071
 
1008
- GetTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "tags"))
1072
+ GetTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1009
1073
  GetTagsResponse.struct_class = Types::GetTagsResponse
1010
1074
 
1075
+ GetVpcLinkRequest.add_member(:vpc_link_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "vpcLinkId"))
1076
+ GetVpcLinkRequest.struct_class = Types::GetVpcLinkRequest
1077
+
1078
+ GetVpcLinkResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
1079
+ GetVpcLinkResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
1080
+ GetVpcLinkResponse.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
1081
+ GetVpcLinkResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
1082
+ GetVpcLinkResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1083
+ GetVpcLinkResponse.add_member(:vpc_link_id, Shapes::ShapeRef.new(shape: Id, location_name: "vpcLinkId"))
1084
+ GetVpcLinkResponse.add_member(:vpc_link_status, Shapes::ShapeRef.new(shape: VpcLinkStatus, location_name: "vpcLinkStatus"))
1085
+ GetVpcLinkResponse.add_member(:vpc_link_status_message, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "vpcLinkStatusMessage"))
1086
+ GetVpcLinkResponse.add_member(:vpc_link_version, Shapes::ShapeRef.new(shape: VpcLinkVersion, location_name: "vpcLinkVersion"))
1087
+ GetVpcLinkResponse.struct_class = Types::GetVpcLinkResponse
1088
+
1089
+ GetVpcLinksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "maxResults"))
1090
+ GetVpcLinksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
1091
+ GetVpcLinksRequest.struct_class = Types::GetVpcLinksRequest
1092
+
1093
+ GetVpcLinksResponse.add_member(:items, Shapes::ShapeRef.new(shape: __listOfVpcLink, location_name: "items"))
1094
+ GetVpcLinksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1095
+ GetVpcLinksResponse.struct_class = Types::GetVpcLinksResponse
1096
+
1011
1097
  IdentitySourceList.member = Shapes::ShapeRef.new(shape: __string)
1012
1098
 
1013
1099
  ImportApiInput.add_member(:body, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "body"))
@@ -1051,6 +1137,7 @@ module Aws::ApiGatewayV2
1051
1137
  Integration.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
1052
1138
  Integration.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
1053
1139
  Integration.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And29000, location_name: "timeoutInMillis"))
1140
+ Integration.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
1054
1141
  Integration.struct_class = Types::Integration
1055
1142
 
1056
1143
  IntegrationParameters.key = Shapes::ShapeRef.new(shape: __string)
@@ -1169,6 +1256,8 @@ module Aws::ApiGatewayV2
1169
1256
  Routes.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1170
1257
  Routes.struct_class = Types::Routes
1171
1258
 
1259
+ SecurityGroupIdList.member = Shapes::ShapeRef.new(shape: __string)
1260
+
1172
1261
  Stage.add_member(:access_log_settings, Shapes::ShapeRef.new(shape: AccessLogSettings, location_name: "accessLogSettings"))
1173
1262
  Stage.add_member(:api_gateway_managed, Shapes::ShapeRef.new(shape: __boolean, location_name: "apiGatewayManaged"))
1174
1263
  Stage.add_member(:auto_deploy, Shapes::ShapeRef.new(shape: __boolean, location_name: "autoDeploy"))
@@ -1192,6 +1281,8 @@ module Aws::ApiGatewayV2
1192
1281
  Stages.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1193
1282
  Stages.struct_class = Types::Stages
1194
1283
 
1284
+ SubnetIdList.member = Shapes::ShapeRef.new(shape: __string)
1285
+
1195
1286
  TagResourceInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1196
1287
  TagResourceInput.struct_class = Types::TagResourceInput
1197
1288
 
@@ -1210,6 +1301,12 @@ module Aws::ApiGatewayV2
1210
1301
  TemplateMap.key = Shapes::ShapeRef.new(shape: __string)
1211
1302
  TemplateMap.value = Shapes::ShapeRef.new(shape: StringWithLengthBetween0And32K)
1212
1303
 
1304
+ TlsConfig.add_member(:server_name_to_verify, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "serverNameToVerify"))
1305
+ TlsConfig.struct_class = Types::TlsConfig
1306
+
1307
+ TlsConfigInput.add_member(:server_name_to_verify, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And512, location_name: "serverNameToVerify"))
1308
+ TlsConfigInput.struct_class = Types::TlsConfigInput
1309
+
1213
1310
  TooManyRequestsException.add_member(:limit_type, Shapes::ShapeRef.new(shape: __string, location_name: "limitType"))
1214
1311
  TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
1215
1312
  TooManyRequestsException.struct_class = Types::TooManyRequestsException
@@ -1353,6 +1450,7 @@ module Aws::ApiGatewayV2
1353
1450
  UpdateIntegrationInput.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
1354
1451
  UpdateIntegrationInput.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
1355
1452
  UpdateIntegrationInput.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And29000, location_name: "timeoutInMillis"))
1453
+ UpdateIntegrationInput.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfigInput, location_name: "tlsConfig"))
1356
1454
  UpdateIntegrationInput.struct_class = Types::UpdateIntegrationInput
1357
1455
 
1358
1456
  UpdateIntegrationRequest.add_member(:api_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "apiId"))
@@ -1371,6 +1469,7 @@ module Aws::ApiGatewayV2
1371
1469
  UpdateIntegrationRequest.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
1372
1470
  UpdateIntegrationRequest.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
1373
1471
  UpdateIntegrationRequest.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And29000, location_name: "timeoutInMillis"))
1472
+ UpdateIntegrationRequest.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfigInput, location_name: "tlsConfig"))
1374
1473
  UpdateIntegrationRequest.struct_class = Types::UpdateIntegrationRequest
1375
1474
 
1376
1475
  UpdateIntegrationResponseInput.add_member(:content_handling_strategy, Shapes::ShapeRef.new(shape: ContentHandlingStrategy, location_name: "contentHandlingStrategy"))
@@ -1415,6 +1514,7 @@ module Aws::ApiGatewayV2
1415
1514
  UpdateIntegrationResult.add_member(:request_templates, Shapes::ShapeRef.new(shape: TemplateMap, location_name: "requestTemplates"))
1416
1515
  UpdateIntegrationResult.add_member(:template_selection_expression, Shapes::ShapeRef.new(shape: SelectionExpression, location_name: "templateSelectionExpression"))
1417
1516
  UpdateIntegrationResult.add_member(:timeout_in_millis, Shapes::ShapeRef.new(shape: IntegerWithLengthBetween50And29000, location_name: "timeoutInMillis"))
1517
+ UpdateIntegrationResult.add_member(:tls_config, Shapes::ShapeRef.new(shape: TlsConfig, location_name: "tlsConfig"))
1418
1518
  UpdateIntegrationResult.struct_class = Types::UpdateIntegrationResult
1419
1519
 
1420
1520
  UpdateModelInput.add_member(:content_type, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And256, location_name: "contentType"))
@@ -1541,6 +1641,39 @@ module Aws::ApiGatewayV2
1541
1641
  UpdateStageResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1542
1642
  UpdateStageResponse.struct_class = Types::UpdateStageResponse
1543
1643
 
1644
+ UpdateVpcLinkInput.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
1645
+ UpdateVpcLinkInput.struct_class = Types::UpdateVpcLinkInput
1646
+
1647
+ UpdateVpcLinkRequest.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
1648
+ UpdateVpcLinkRequest.add_member(:vpc_link_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "vpcLinkId"))
1649
+ UpdateVpcLinkRequest.struct_class = Types::UpdateVpcLinkRequest
1650
+
1651
+ UpdateVpcLinkResponse.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
1652
+ UpdateVpcLinkResponse.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, location_name: "name"))
1653
+ UpdateVpcLinkResponse.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, location_name: "securityGroupIds"))
1654
+ UpdateVpcLinkResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, location_name: "subnetIds"))
1655
+ UpdateVpcLinkResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1656
+ UpdateVpcLinkResponse.add_member(:vpc_link_id, Shapes::ShapeRef.new(shape: Id, location_name: "vpcLinkId"))
1657
+ UpdateVpcLinkResponse.add_member(:vpc_link_status, Shapes::ShapeRef.new(shape: VpcLinkStatus, location_name: "vpcLinkStatus"))
1658
+ UpdateVpcLinkResponse.add_member(:vpc_link_status_message, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "vpcLinkStatusMessage"))
1659
+ UpdateVpcLinkResponse.add_member(:vpc_link_version, Shapes::ShapeRef.new(shape: VpcLinkVersion, location_name: "vpcLinkVersion"))
1660
+ UpdateVpcLinkResponse.struct_class = Types::UpdateVpcLinkResponse
1661
+
1662
+ VpcLink.add_member(:created_date, Shapes::ShapeRef.new(shape: __timestampIso8601, location_name: "createdDate"))
1663
+ VpcLink.add_member(:name, Shapes::ShapeRef.new(shape: StringWithLengthBetween1And128, required: true, location_name: "name"))
1664
+ VpcLink.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIdList, required: true, location_name: "securityGroupIds"))
1665
+ VpcLink.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIdList, required: true, location_name: "subnetIds"))
1666
+ VpcLink.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
1667
+ VpcLink.add_member(:vpc_link_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "vpcLinkId"))
1668
+ VpcLink.add_member(:vpc_link_status, Shapes::ShapeRef.new(shape: VpcLinkStatus, location_name: "vpcLinkStatus"))
1669
+ VpcLink.add_member(:vpc_link_status_message, Shapes::ShapeRef.new(shape: StringWithLengthBetween0And1024, location_name: "vpcLinkStatusMessage"))
1670
+ VpcLink.add_member(:vpc_link_version, Shapes::ShapeRef.new(shape: VpcLinkVersion, location_name: "vpcLinkVersion"))
1671
+ VpcLink.struct_class = Types::VpcLink
1672
+
1673
+ VpcLinks.add_member(:items, Shapes::ShapeRef.new(shape: __listOfVpcLink, location_name: "items"))
1674
+ VpcLinks.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1675
+ VpcLinks.struct_class = Types::VpcLinks
1676
+
1544
1677
  __listOfApi.member = Shapes::ShapeRef.new(shape: Api)
1545
1678
 
1546
1679
  __listOfApiMapping.member = Shapes::ShapeRef.new(shape: ApiMapping)
@@ -1563,6 +1696,8 @@ module Aws::ApiGatewayV2
1563
1696
 
1564
1697
  __listOfStage.member = Shapes::ShapeRef.new(shape: Stage)
1565
1698
 
1699
+ __listOfVpcLink.member = Shapes::ShapeRef.new(shape: VpcLink)
1700
+
1566
1701
  __listOf__string.member = Shapes::ShapeRef.new(shape: __string)
1567
1702
 
1568
1703
 
@@ -1716,6 +1851,26 @@ module Aws::ApiGatewayV2
1716
1851
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1717
1852
  end)
1718
1853
 
1854
+ api.add_operation(:create_vpc_link, Seahorse::Model::Operation.new.tap do |o|
1855
+ o.name = "CreateVpcLink"
1856
+ o.http_method = "POST"
1857
+ o.http_request_uri = "/v2/vpclinks"
1858
+ o.input = Shapes::ShapeRef.new(shape: CreateVpcLinkRequest)
1859
+ o.output = Shapes::ShapeRef.new(shape: CreateVpcLinkResponse)
1860
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
1861
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1862
+ end)
1863
+
1864
+ api.add_operation(:delete_access_log_settings, Seahorse::Model::Operation.new.tap do |o|
1865
+ o.name = "DeleteAccessLogSettings"
1866
+ o.http_method = "DELETE"
1867
+ o.http_request_uri = "/v2/apis/{apiId}/stages/{stageName}/accesslogsettings"
1868
+ o.input = Shapes::ShapeRef.new(shape: DeleteAccessLogSettingsRequest)
1869
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1870
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1871
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1872
+ end)
1873
+
1719
1874
  api.add_operation(:delete_api, Seahorse::Model::Operation.new.tap do |o|
1720
1875
  o.name = "DeleteApi"
1721
1876
  o.http_method = "DELETE"
@@ -1817,6 +1972,16 @@ module Aws::ApiGatewayV2
1817
1972
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1818
1973
  end)
1819
1974
 
1975
+ api.add_operation(:delete_route_request_parameter, Seahorse::Model::Operation.new.tap do |o|
1976
+ o.name = "DeleteRouteRequestParameter"
1977
+ o.http_method = "DELETE"
1978
+ o.http_request_uri = "/v2/apis/{apiId}/routes/{routeId}/requestparameters/{requestParameterKey}"
1979
+ o.input = Shapes::ShapeRef.new(shape: DeleteRouteRequestParameterRequest)
1980
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
1981
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
1982
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1983
+ end)
1984
+
1820
1985
  api.add_operation(:delete_route_response, Seahorse::Model::Operation.new.tap do |o|
1821
1986
  o.name = "DeleteRouteResponse"
1822
1987
  o.http_method = "DELETE"
@@ -1847,6 +2012,16 @@ module Aws::ApiGatewayV2
1847
2012
  o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
1848
2013
  end)
1849
2014
 
2015
+ api.add_operation(:delete_vpc_link, Seahorse::Model::Operation.new.tap do |o|
2016
+ o.name = "DeleteVpcLink"
2017
+ o.http_method = "DELETE"
2018
+ o.http_request_uri = "/v2/vpclinks/{vpcLinkId}"
2019
+ o.input = Shapes::ShapeRef.new(shape: DeleteVpcLinkRequest)
2020
+ o.output = Shapes::ShapeRef.new(shape: DeleteVpcLinkResponse)
2021
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2022
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2023
+ end)
2024
+
1850
2025
  api.add_operation(:get_api, Seahorse::Model::Operation.new.tap do |o|
1851
2026
  o.name = "GetApi"
1852
2027
  o.http_method = "GET"
@@ -2101,6 +2276,26 @@ module Aws::ApiGatewayV2
2101
2276
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2102
2277
  end)
2103
2278
 
2279
+ api.add_operation(:get_vpc_link, Seahorse::Model::Operation.new.tap do |o|
2280
+ o.name = "GetVpcLink"
2281
+ o.http_method = "GET"
2282
+ o.http_request_uri = "/v2/vpclinks/{vpcLinkId}"
2283
+ o.input = Shapes::ShapeRef.new(shape: GetVpcLinkRequest)
2284
+ o.output = Shapes::ShapeRef.new(shape: GetVpcLinkResponse)
2285
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2286
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2287
+ end)
2288
+
2289
+ api.add_operation(:get_vpc_links, Seahorse::Model::Operation.new.tap do |o|
2290
+ o.name = "GetVpcLinks"
2291
+ o.http_method = "GET"
2292
+ o.http_request_uri = "/v2/vpclinks"
2293
+ o.input = Shapes::ShapeRef.new(shape: GetVpcLinksRequest)
2294
+ o.output = Shapes::ShapeRef.new(shape: GetVpcLinksResponse)
2295
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2296
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2297
+ end)
2298
+
2104
2299
  api.add_operation(:import_api, Seahorse::Model::Operation.new.tap do |o|
2105
2300
  o.name = "ImportApi"
2106
2301
  o.http_method = "PUT"
@@ -2281,13 +2476,15 @@ module Aws::ApiGatewayV2
2281
2476
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2282
2477
  end)
2283
2478
 
2284
- api.add_authorizer(:authorization_strategy, Seahorse::Model::Authorizer.new.tap do |a|
2285
- a.name = "authorization_strategy"
2286
- a.type = "provided"
2287
- a.placement = {
2288
- :location => "header",
2289
- :name => "Authorization"
2290
- }
2479
+ api.add_operation(:update_vpc_link, Seahorse::Model::Operation.new.tap do |o|
2480
+ o.name = "UpdateVpcLink"
2481
+ o.http_method = "PATCH"
2482
+ o.http_request_uri = "/v2/vpclinks/{vpcLinkId}"
2483
+ o.input = Shapes::ShapeRef.new(shape: UpdateVpcLinkRequest)
2484
+ o.output = Shapes::ShapeRef.new(shape: UpdateVpcLinkResponse)
2485
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
2486
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
2487
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2291
2488
  end)
2292
2489
  end
2293
2490
 
@@ -1192,13 +1192,15 @@ module Aws::ApiGatewayV2
1192
1192
  # Represents the input parameters for a CreateIntegration request.
1193
1193
  #
1194
1194
  # @!attribute [rw] connection_id
1195
- # The connection ID.
1195
+ # The ID of the VPC link for a private integration. Supported only for
1196
+ # HTTP APIs.
1196
1197
  # @return [String]
1197
1198
  #
1198
1199
  # @!attribute [rw] connection_type
1199
1200
  # The type of the network connection to the integration endpoint.
1200
- # Currently the only valid value is INTERNET, for connections through
1201
- # the public routable internet.
1201
+ # Specify INTERNET for connections through the public routable
1202
+ # internet or VPC\_LINK for private connections between API Gateway
1203
+ # and resources in a VPC. The default value is INTERNET.
1202
1204
  # @return [String]
1203
1205
  #
1204
1206
  # @!attribute [rw] content_handling_strategy
@@ -1253,9 +1255,10 @@ module Aws::ApiGatewayV2
1253
1255
  # endpoint. This integration is also referred to as the HTTP custom
1254
1256
  # integration. Supported only for WebSocket APIs.
1255
1257
  #
1256
- # HTTP\_PROXY: for integrating route or method request with an HTTP
1257
- # endpoint, with the client request passed through as-is. This is also
1258
- # referred to as HTTP proxy integration.
1258
+ # HTTP\_PROXY: for integrating the route or method request with an
1259
+ # HTTP endpoint, with the client request passed through as-is. This is
1260
+ # also referred to as HTTP proxy integration. For HTTP API private
1261
+ # integrations, use an HTTP\_PROXY integration.
1259
1262
  #
1260
1263
  # MOCK: for integrating the route or method request with API Gateway
1261
1264
  # as a "loopback" endpoint without invoking any backend. Supported
@@ -1263,8 +1266,21 @@ module Aws::ApiGatewayV2
1263
1266
  # @return [String]
1264
1267
  #
1265
1268
  # @!attribute [rw] integration_uri
1266
- # For a Lambda proxy integration, this is the URI of the Lambda
1267
- # function.
1269
+ # For a Lambda integration, specify the URI of a Lambda function.
1270
+ #
1271
+ # For an HTTP integration, specify a fully-qualified URL.
1272
+ #
1273
+ # For an HTTP API private integration, specify the ARN of an
1274
+ # Application Load Balancer listener, Network Load Balancer listener,
1275
+ # or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map
1276
+ # service, API Gateway uses DiscoverInstances to identify resources.
1277
+ # You can use query parameters to target specific resources. To learn
1278
+ # more, see [DiscoverInstances][1]. For private integrations, all
1279
+ # resources must be owned by the same AWS account.
1280
+ #
1281
+ #
1282
+ #
1283
+ # [1]: https://alpha-docs-aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html
1268
1284
  # @return [String]
1269
1285
  #
1270
1286
  # @!attribute [rw] passthrough_behavior
@@ -1288,7 +1304,7 @@ module Aws::ApiGatewayV2
1288
1304
  #
1289
1305
  # @!attribute [rw] payload_format_version
1290
1306
  # Specifies the format of the payload sent to an integration. Required
1291
- # for HTTP APIs. Currently, the only supported value is 1.0.
1307
+ # for HTTP APIs.
1292
1308
  # @return [String]
1293
1309
  #
1294
1310
  # @!attribute [rw] request_parameters
@@ -1329,6 +1345,12 @@ module Aws::ApiGatewayV2
1329
1345
  # value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
1330
1346
  # @return [Integer]
1331
1347
  #
1348
+ # @!attribute [rw] tls_config
1349
+ # The TLS configuration for a private integration. If you specify a
1350
+ # TLS configuration, private integration traffic uses the HTTPS
1351
+ # protocol. Supported only for HTTP APIs.
1352
+ # @return [Types::TlsConfigInput]
1353
+ #
1332
1354
  class CreateIntegrationInput < Struct.new(
1333
1355
  :connection_id,
1334
1356
  :connection_type,
@@ -1343,7 +1365,8 @@ module Aws::ApiGatewayV2
1343
1365
  :request_parameters,
1344
1366
  :request_templates,
1345
1367
  :template_selection_expression,
1346
- :timeout_in_millis)
1368
+ :timeout_in_millis,
1369
+ :tls_config)
1347
1370
  include Aws::Structure
1348
1371
  end
1349
1372
 
@@ -1370,6 +1393,9 @@ module Aws::ApiGatewayV2
1370
1393
  # },
1371
1394
  # template_selection_expression: "SelectionExpression",
1372
1395
  # timeout_in_millis: 1,
1396
+ # tls_config: {
1397
+ # server_name_to_verify: "StringWithLengthBetween1And512",
1398
+ # },
1373
1399
  # }
1374
1400
  #
1375
1401
  # @!attribute [rw] api_id
@@ -1451,6 +1477,12 @@ module Aws::ApiGatewayV2
1451
1477
  # An integer with a value between \[50-29000\].
1452
1478
  # @return [Integer]
1453
1479
  #
1480
+ # @!attribute [rw] tls_config
1481
+ # The TLS configuration for a private integration. If you specify a
1482
+ # TLS configuration, private integration traffic uses the HTTPS
1483
+ # protocol. Supported only for HTTP APIs.
1484
+ # @return [Types::TlsConfigInput]
1485
+ #
1454
1486
  class CreateIntegrationRequest < Struct.new(
1455
1487
  :api_id,
1456
1488
  :connection_id,
@@ -1466,7 +1498,8 @@ module Aws::ApiGatewayV2
1466
1498
  :request_parameters,
1467
1499
  :request_templates,
1468
1500
  :template_selection_expression,
1469
- :timeout_in_millis)
1501
+ :timeout_in_millis,
1502
+ :tls_config)
1470
1503
  include Aws::Structure
1471
1504
  end
1472
1505
 
@@ -1562,6 +1595,12 @@ module Aws::ApiGatewayV2
1562
1595
  # An integer with a value between \[50-29000\].
1563
1596
  # @return [Integer]
1564
1597
  #
1598
+ # @!attribute [rw] tls_config
1599
+ # The TLS configuration for a private integration. If you specify a
1600
+ # TLS configuration, private integration traffic uses the HTTPS
1601
+ # protocol. Supported only for HTTP APIs.
1602
+ # @return [Types::TlsConfig]
1603
+ #
1565
1604
  class CreateIntegrationResult < Struct.new(
1566
1605
  :api_gateway_managed,
1567
1606
  :connection_id,
@@ -1579,7 +1618,8 @@ module Aws::ApiGatewayV2
1579
1618
  :request_parameters,
1580
1619
  :request_templates,
1581
1620
  :template_selection_expression,
1582
- :timeout_in_millis)
1621
+ :timeout_in_millis,
1622
+ :tls_config)
1583
1623
  include Aws::Structure
1584
1624
  end
1585
1625
 
@@ -2327,8 +2367,7 @@ module Aws::ApiGatewayV2
2327
2367
  # @!attribute [rw] stage_variables
2328
2368
  # A map that defines the stage variables for a Stage. Variable names
2329
2369
  # can have alphanumeric and underscore characters, and the values must
2330
- # match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+. Supported only for WebSocket
2331
- # APIs.
2370
+ # match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+.
2332
2371
  # @return [Hash<String,String>]
2333
2372
  #
2334
2373
  # @!attribute [rw] tags
@@ -2364,7 +2403,7 @@ module Aws::ApiGatewayV2
2364
2403
  # default_route_settings: {
2365
2404
  # data_trace_enabled: false,
2366
2405
  # detailed_metrics_enabled: false,
2367
- # logging_level: "ERROR", # accepts ERROR, INFO, false
2406
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
2368
2407
  # throttling_burst_limit: 1,
2369
2408
  # throttling_rate_limit: 1.0,
2370
2409
  # },
@@ -2374,7 +2413,7 @@ module Aws::ApiGatewayV2
2374
2413
  # "__string" => {
2375
2414
  # data_trace_enabled: false,
2376
2415
  # detailed_metrics_enabled: false,
2377
- # logging_level: "ERROR", # accepts ERROR, INFO, false
2416
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
2378
2417
  # throttling_burst_limit: 1,
2379
2418
  # throttling_rate_limit: 1.0,
2380
2419
  # },
@@ -2514,6 +2553,136 @@ module Aws::ApiGatewayV2
2514
2553
  include Aws::Structure
2515
2554
  end
2516
2555
 
2556
+ # Represents the input parameters for a CreateVpcLink request.
2557
+ #
2558
+ # @!attribute [rw] name
2559
+ # The name of the VPC link.
2560
+ # @return [String]
2561
+ #
2562
+ # @!attribute [rw] security_group_ids
2563
+ # A list of security group IDs for the VPC link.
2564
+ # @return [Array<String>]
2565
+ #
2566
+ # @!attribute [rw] subnet_ids
2567
+ # A list of subnet IDs to include in the VPC link.
2568
+ # @return [Array<String>]
2569
+ #
2570
+ # @!attribute [rw] tags
2571
+ # A list of tags.
2572
+ # @return [Hash<String,String>]
2573
+ #
2574
+ class CreateVpcLinkInput < Struct.new(
2575
+ :name,
2576
+ :security_group_ids,
2577
+ :subnet_ids,
2578
+ :tags)
2579
+ include Aws::Structure
2580
+ end
2581
+
2582
+ # @note When making an API call, you may pass CreateVpcLinkRequest
2583
+ # data as a hash:
2584
+ #
2585
+ # {
2586
+ # name: "StringWithLengthBetween1And128", # required
2587
+ # security_group_ids: ["__string"],
2588
+ # subnet_ids: ["__string"], # required
2589
+ # tags: {
2590
+ # "__string" => "StringWithLengthBetween1And1600",
2591
+ # },
2592
+ # }
2593
+ #
2594
+ # @!attribute [rw] name
2595
+ # A string with a length between \[1-128\].
2596
+ # @return [String]
2597
+ #
2598
+ # @!attribute [rw] security_group_ids
2599
+ # A list of security group IDs for the VPC link.
2600
+ # @return [Array<String>]
2601
+ #
2602
+ # @!attribute [rw] subnet_ids
2603
+ # A list of subnet IDs to include in the VPC link.
2604
+ # @return [Array<String>]
2605
+ #
2606
+ # @!attribute [rw] tags
2607
+ # Represents a collection of tags associated with the resource.
2608
+ # @return [Hash<String,String>]
2609
+ #
2610
+ class CreateVpcLinkRequest < Struct.new(
2611
+ :name,
2612
+ :security_group_ids,
2613
+ :subnet_ids,
2614
+ :tags)
2615
+ include Aws::Structure
2616
+ end
2617
+
2618
+ # @!attribute [rw] created_date
2619
+ # @return [Time]
2620
+ #
2621
+ # @!attribute [rw] name
2622
+ # A string with a length between \[1-128\].
2623
+ # @return [String]
2624
+ #
2625
+ # @!attribute [rw] security_group_ids
2626
+ # A list of security group IDs for the VPC link.
2627
+ # @return [Array<String>]
2628
+ #
2629
+ # @!attribute [rw] subnet_ids
2630
+ # A list of subnet IDs to include in the VPC link.
2631
+ # @return [Array<String>]
2632
+ #
2633
+ # @!attribute [rw] tags
2634
+ # Represents a collection of tags associated with the resource.
2635
+ # @return [Hash<String,String>]
2636
+ #
2637
+ # @!attribute [rw] vpc_link_id
2638
+ # The identifier.
2639
+ # @return [String]
2640
+ #
2641
+ # @!attribute [rw] vpc_link_status
2642
+ # The status of the VPC link.
2643
+ # @return [String]
2644
+ #
2645
+ # @!attribute [rw] vpc_link_status_message
2646
+ # A string with a length between \[0-1024\].
2647
+ # @return [String]
2648
+ #
2649
+ # @!attribute [rw] vpc_link_version
2650
+ # The version of the VPC link.
2651
+ # @return [String]
2652
+ #
2653
+ class CreateVpcLinkResponse < Struct.new(
2654
+ :created_date,
2655
+ :name,
2656
+ :security_group_ids,
2657
+ :subnet_ids,
2658
+ :tags,
2659
+ :vpc_link_id,
2660
+ :vpc_link_status,
2661
+ :vpc_link_status_message,
2662
+ :vpc_link_version)
2663
+ include Aws::Structure
2664
+ end
2665
+
2666
+ # @note When making an API call, you may pass DeleteAccessLogSettingsRequest
2667
+ # data as a hash:
2668
+ #
2669
+ # {
2670
+ # api_id: "__string", # required
2671
+ # stage_name: "__string", # required
2672
+ # }
2673
+ #
2674
+ # @!attribute [rw] api_id
2675
+ # @return [String]
2676
+ #
2677
+ # @!attribute [rw] stage_name
2678
+ # @return [String]
2679
+ #
2680
+ class DeleteAccessLogSettingsRequest < Struct.new(
2681
+ :api_id,
2682
+ :stage_name)
2683
+ include Aws::Structure
2684
+ end
2685
+
2517
2686
  # @note When making an API call, you may pass DeleteApiMappingRequest
2518
2687
  # data as a hash:
2519
2688
  #
@@ -2704,6 +2873,31 @@ module Aws::ApiGatewayV2
2704
2873
  include Aws::Structure
2705
2874
  end
2706
2875
 
2876
+ # @note When making an API call, you may pass DeleteRouteRequestParameterRequest
2877
+ # data as a hash:
2878
+ #
2879
+ # {
2880
+ # api_id: "__string", # required
2881
+ # request_parameter_key: "__string", # required
2882
+ # route_id: "__string", # required
2883
+ # }
2884
+ #
2885
+ # @!attribute [rw] api_id
2886
+ # @return [String]
2887
+ #
2888
+ # @!attribute [rw] request_parameter_key
2889
+ # @return [String]
2890
+ #
2891
+ # @!attribute [rw] route_id
2892
+ # @return [String]
2893
+ #
2894
+ class DeleteRouteRequestParameterRequest < Struct.new(
2895
+ :api_id,
2896
+ :request_parameter_key,
2897
+ :route_id)
2898
+ include Aws::Structure
2899
+ end
2900
+
2707
2901
  # @note When making an API call, you may pass DeleteRouteResponseRequest
2708
2902
  # data as a hash:
2709
2903
  #
@@ -2734,7 +2928,7 @@ module Aws::ApiGatewayV2
2734
2928
  #
2735
2929
  # {
2736
2930
  # api_id: "__string", # required
2737
- # route_key: "SelectionKey", # required
2931
+ # route_key: "__string", # required
2738
2932
  # stage_name: "__string", # required
2739
2933
  # }
2740
2934
  #
@@ -2742,14 +2936,6 @@ module Aws::ApiGatewayV2
2742
2936
  # @return [String]
2743
2937
  #
2744
2938
  # @!attribute [rw] route_key
2745
- # After evaluating a selection expression, the result is compared
2746
- # against one or more selection keys to find a matching key. See
2747
- # [Selection Expressions][1] for a list of expressions and each
2748
- # expression's associated selection key type.
2749
- #
2750
- #
2751
- #
2752
- # [1]: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-websocket-api-selection-expressions.html#apigateway-websocket-api-apikey-selection-expressions
2753
2939
  # @return [String]
2754
2940
  #
2755
2941
  # @!attribute [rw] stage_name
@@ -2782,6 +2968,23 @@ module Aws::ApiGatewayV2
2782
2968
  include Aws::Structure
2783
2969
  end
2784
2970
 
2971
+ # @note When making an API call, you may pass DeleteVpcLinkRequest
2972
+ # data as a hash:
2973
+ #
2974
+ # {
2975
+ # vpc_link_id: "__string", # required
2976
+ # }
2977
+ #
2978
+ # @!attribute [rw] vpc_link_id
2979
+ # @return [String]
2980
+ #
2981
+ class DeleteVpcLinkRequest < Struct.new(
2982
+ :vpc_link_id)
2983
+ include Aws::Structure
2984
+ end
2985
+
2986
+ class DeleteVpcLinkResponse < Aws::EmptyStructure; end
2987
+
2785
2988
  # An immutable representation of an API that can be called by users. A
2786
2989
  # Deployment must be associated with a Stage for it to be callable over
2787
2990
  # the internet.
@@ -3587,6 +3790,12 @@ module Aws::ApiGatewayV2
3587
3790
  # An integer with a value between \[50-29000\].
3588
3791
  # @return [Integer]
3589
3792
  #
3793
+ # @!attribute [rw] tls_config
3794
+ # The TLS configuration for a private integration. If you specify a
3795
+ # TLS configuration, private integration traffic uses the HTTPS
3796
+ # protocol. Supported only for HTTP APIs.
3797
+ # @return [Types::TlsConfig]
3798
+ #
3590
3799
  class GetIntegrationResult < Struct.new(
3591
3800
  :api_gateway_managed,
3592
3801
  :connection_id,
@@ -3604,7 +3813,8 @@ module Aws::ApiGatewayV2
3604
3813
  :request_parameters,
3605
3814
  :request_templates,
3606
3815
  :template_selection_expression,
3607
- :timeout_in_millis)
3816
+ :timeout_in_millis,
3817
+ :tls_config)
3608
3818
  include Aws::Structure
3609
3819
  end
3610
3820
 
@@ -4308,6 +4518,103 @@ module Aws::ApiGatewayV2
4308
4518
  include Aws::Structure
4309
4519
  end
4310
4520
 
4521
+ # @note When making an API call, you may pass GetVpcLinkRequest
4522
+ # data as a hash:
4523
+ #
4524
+ # {
4525
+ # vpc_link_id: "__string", # required
4526
+ # }
4527
+ #
4528
+ # @!attribute [rw] vpc_link_id
4529
+ # @return [String]
4530
+ #
4531
+ class GetVpcLinkRequest < Struct.new(
4532
+ :vpc_link_id)
4533
+ include Aws::Structure
4534
+ end
4535
+
4536
+ # @!attribute [rw] created_date
4537
+ # @return [Time]
4538
+ #
4539
+ # @!attribute [rw] name
4540
+ # A string with a length between \[1-128\].
4541
+ # @return [String]
4542
+ #
4543
+ # @!attribute [rw] security_group_ids
4544
+ # A list of security group IDs for the VPC link.
4545
+ # @return [Array<String>]
4546
+ #
4547
+ # @!attribute [rw] subnet_ids
4548
+ # A list of subnet IDs to include in the VPC link.
4549
+ # @return [Array<String>]
4550
+ #
4551
+ # @!attribute [rw] tags
4552
+ # Represents a collection of tags associated with the resource.
4553
+ # @return [Hash<String,String>]
4554
+ #
4555
+ # @!attribute [rw] vpc_link_id
4556
+ # The identifier.
4557
+ # @return [String]
4558
+ #
4559
+ # @!attribute [rw] vpc_link_status
4560
+ # The status of the VPC link.
4561
+ # @return [String]
4562
+ #
4563
+ # @!attribute [rw] vpc_link_status_message
4564
+ # A string with a length between \[0-1024\].
4565
+ # @return [String]
4566
+ #
4567
+ # @!attribute [rw] vpc_link_version
4568
+ # The version of the VPC link.
4569
+ # @return [String]
4570
+ #
4571
+ class GetVpcLinkResponse < Struct.new(
4572
+ :created_date,
4573
+ :name,
4574
+ :security_group_ids,
4575
+ :subnet_ids,
4576
+ :tags,
4577
+ :vpc_link_id,
4578
+ :vpc_link_status,
4579
+ :vpc_link_status_message,
4580
+ :vpc_link_version)
4581
+ include Aws::Structure
4582
+ end
4583
+
4584
+ # @note When making an API call, you may pass GetVpcLinksRequest
4585
+ # data as a hash:
4586
+ #
4587
+ # {
4588
+ # max_results: "__string",
4589
+ # next_token: "__string",
4590
+ # }
4591
+ #
4592
+ # @!attribute [rw] max_results
4593
+ # @return [String]
4594
+ #
4595
+ # @!attribute [rw] next_token
4596
+ # @return [String]
4597
+ #
4598
+ class GetVpcLinksRequest < Struct.new(
4599
+ :max_results,
4600
+ :next_token)
4601
+ include Aws::Structure
4602
+ end
4603
+
4604
+ # @!attribute [rw] items
4605
+ # @return [Array<Types::VpcLink>]
4606
+ #
4607
+ # @!attribute [rw] next_token
4608
+ # The next page of elements from this collection. Not valid for the
4609
+ # last element of the collection.
4610
+ # @return [String]
4611
+ #
4612
+ class GetVpcLinksResponse < Struct.new(
4613
+ :items,
4614
+ :next_token)
4615
+ include Aws::Structure
4616
+ end
4617
+
4311
4618
  # Represents the input to ImportAPI. Supported only for HTTP APIs.
4312
4619
  #
4313
4620
  # @!attribute [rw] body
@@ -4438,13 +4745,15 @@ module Aws::ApiGatewayV2
4438
4745
  # @return [Boolean]
4439
4746
  #
4440
4747
  # @!attribute [rw] connection_id
4441
- # The connection ID.
4748
+ # The ID of the VPC link for a private integration. Supported only for
4749
+ # HTTP APIs.
4442
4750
  # @return [String]
4443
4751
  #
4444
4752
  # @!attribute [rw] connection_type
4445
4753
  # The type of the network connection to the integration endpoint.
4446
- # Currently the only valid value is INTERNET, for connections through
4447
- # the public routable internet.
4754
+ # Specify INTERNET for connections through the public routable
4755
+ # internet or VPC\_LINK for private connections between API Gateway
4756
+ # and resources in a VPC. The default value is INTERNET.
4448
4757
  # @return [String]
4449
4758
  #
4450
4759
  # @!attribute [rw] content_handling_strategy
@@ -4513,9 +4822,9 @@ module Aws::ApiGatewayV2
4513
4822
  # endpoint. This integration is also referred to as the HTTP custom
4514
4823
  # integration. Supported only for WebSocket APIs.
4515
4824
  #
4516
- # HTTP\_PROXY: for integrating route or method request with an HTTP
4517
- # endpoint, with the client request passed through as-is. This is also
4518
- # referred to as HTTP proxy integration.
4825
+ # HTTP\_PROXY: for integrating the route or method request with an
4826
+ # HTTP endpoint, with the client request passed through as-is. This is
4827
+ # also referred to as HTTP proxy integration.
4519
4828
  #
4520
4829
  # MOCK: for integrating the route or method request with API Gateway
4521
4830
  # as a "loopback" endpoint without invoking any backend. Supported
@@ -4523,8 +4832,21 @@ module Aws::ApiGatewayV2
4523
4832
  # @return [String]
4524
4833
  #
4525
4834
  # @!attribute [rw] integration_uri
4526
- # For a Lambda proxy integration, this is the URI of the Lambda
4527
- # function.
4835
+ # For a Lambda integration, specify the URI of a Lambda function.
4836
+ #
4837
+ # For an HTTP integration, specify a fully-qualified URL.
4838
+ #
4839
+ # For an HTTP API private integration, specify the ARN of an
4840
+ # Application Load Balancer listener, Network Load Balancer listener,
4841
+ # or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map
4842
+ # service, API Gateway uses DiscoverInstances to identify resources.
4843
+ # You can use query parameters to target specific resources. To learn
4844
+ # more, see [DiscoverInstances][1]. For private integrations, all
4845
+ # resources must be owned by the same AWS account.
4846
+ #
4847
+ #
4848
+ #
4849
+ # [1]: https://alpha-docs-aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html
4528
4850
  # @return [String]
4529
4851
  #
4530
4852
  # @!attribute [rw] passthrough_behavior
@@ -4548,7 +4870,7 @@ module Aws::ApiGatewayV2
4548
4870
  #
4549
4871
  # @!attribute [rw] payload_format_version
4550
4872
  # Specifies the format of the payload sent to an integration. Required
4551
- # for HTTP APIs. Currently, the only supported value is 1.0.
4873
+ # for HTTP APIs.
4552
4874
  # @return [String]
4553
4875
  #
4554
4876
  # @!attribute [rw] request_parameters
@@ -4590,6 +4912,12 @@ module Aws::ApiGatewayV2
4590
4912
  # value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
4591
4913
  # @return [Integer]
4592
4914
  #
4915
+ # @!attribute [rw] tls_config
4916
+ # The TLS configuration for a private integration. If you specify a
4917
+ # TLS configuration, private integration traffic uses the HTTPS
4918
+ # protocol. Supported only for HTTP APIs.
4919
+ # @return [Types::TlsConfig]
4920
+ #
4593
4921
  class Integration < Struct.new(
4594
4922
  :api_gateway_managed,
4595
4923
  :connection_id,
@@ -4607,7 +4935,8 @@ module Aws::ApiGatewayV2
4607
4935
  :request_parameters,
4608
4936
  :request_templates,
4609
4937
  :template_selection_expression,
4610
- :timeout_in_millis)
4938
+ :timeout_in_millis,
4939
+ :tls_config)
4611
4940
  include Aws::Structure
4612
4941
  end
4613
4942
 
@@ -5133,7 +5462,7 @@ module Aws::ApiGatewayV2
5133
5462
  # {
5134
5463
  # data_trace_enabled: false,
5135
5464
  # detailed_metrics_enabled: false,
5136
- # logging_level: "ERROR", # accepts ERROR, INFO, false
5465
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
5137
5466
  # throttling_burst_limit: 1,
5138
5467
  # throttling_rate_limit: 1.0,
5139
5468
  # }
@@ -5155,13 +5484,11 @@ module Aws::ApiGatewayV2
5155
5484
  # @return [String]
5156
5485
  #
5157
5486
  # @!attribute [rw] throttling_burst_limit
5158
- # Specifies the throttling burst limit. Supported only for WebSocket
5159
- # APIs.
5487
+ # Specifies the throttling burst limit.
5160
5488
  # @return [Integer]
5161
5489
  #
5162
5490
  # @!attribute [rw] throttling_rate_limit
5163
- # Specifies the throttling rate limit. Supported only for WebSocket
5164
- # APIs.
5491
+ # Specifies the throttling rate limit.
5165
5492
  # @return [Float]
5166
5493
  #
5167
5494
  class RouteSettings < Struct.new(
@@ -5249,8 +5576,7 @@ module Aws::ApiGatewayV2
5249
5576
  # @!attribute [rw] stage_variables
5250
5577
  # A map that defines the stage variables for a stage resource.
5251
5578
  # Variable names can have alphanumeric and underscore characters, and
5252
- # the values must match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+. Supported only
5253
- # for WebSocket APIs.
5579
+ # the values must match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+.
5254
5580
  # @return [Hash<String,String>]
5255
5581
  #
5256
5582
  # @!attribute [rw] tags
@@ -5342,6 +5668,45 @@ module Aws::ApiGatewayV2
5342
5668
  include Aws::Structure
5343
5669
  end
5344
5670
 
5671
+ # The TLS configuration for a private integration. If you specify a TLS
5672
+ # configuration, private integration traffic uses the HTTPS protocol.
5673
+ # Supported only for HTTP APIs.
5674
+ #
5675
+ # @!attribute [rw] server_name_to_verify
5676
+ # If you specify a server name, API Gateway uses it to verify the
5677
+ # hostname on the integration's certificate. The server name is also
5678
+ # included in the TLS handshake to support Server Name Indication
5679
+ # (SNI) or virtual hosting.
5680
+ # @return [String]
5681
+ #
5682
+ class TlsConfig < Struct.new(
5683
+ :server_name_to_verify)
5684
+ include Aws::Structure
5685
+ end
5686
+
5687
+ # The TLS configuration for a private integration. If you specify a TLS
5688
+ # configuration, private integration traffic uses the HTTPS protocol.
5689
+ # Supported only for HTTP APIs.
5690
+ #
5691
+ # @note When making an API call, you may pass TlsConfigInput
5692
+ # data as a hash:
5693
+ #
5694
+ # {
5695
+ # server_name_to_verify: "StringWithLengthBetween1And512",
5696
+ # }
5697
+ #
5698
+ # @!attribute [rw] server_name_to_verify
5699
+ # If you specify a server name, API Gateway uses it to verify the
5700
+ # hostname on the integration's certificate. The server name is also
5701
+ # included in the TLS handshake to support Server Name Indication
5702
+ # (SNI) or virtual hosting.
5703
+ # @return [String]
5704
+ #
5705
+ class TlsConfigInput < Struct.new(
5706
+ :server_name_to_verify)
5707
+ include Aws::Structure
5708
+ end
5709
+
5345
5710
  # A limit has been exceeded. See the accompanying error message for
5346
5711
  # details.
5347
5712
  #
@@ -6134,13 +6499,15 @@ module Aws::ApiGatewayV2
6134
6499
  # Represents the input parameters for an UpdateIntegration request.
6135
6500
  #
6136
6501
  # @!attribute [rw] connection_id
6137
- # The connection ID.
6502
+ # The ID of the VPC link for a private integration. Supported only for
6503
+ # HTTP APIs.
6138
6504
  # @return [String]
6139
6505
  #
6140
6506
  # @!attribute [rw] connection_type
6141
6507
  # The type of the network connection to the integration endpoint.
6142
- # Currently the only valid value is INTERNET, for connections through
6143
- # the public routable internet.
6508
+ # Specify INTERNET for connections through the public routable
6509
+ # internet or VPC\_LINK for private connections between API Gateway
6510
+ # and resources in a VPC. The default value is INTERNET.
6144
6511
  # @return [String]
6145
6512
  #
6146
6513
  # @!attribute [rw] content_handling_strategy
@@ -6195,9 +6562,10 @@ module Aws::ApiGatewayV2
6195
6562
  # endpoint. This integration is also referred to as the HTTP custom
6196
6563
  # integration. Supported only for WebSocket APIs.
6197
6564
  #
6198
- # HTTP\_PROXY: for integrating route or method request with an HTTP
6199
- # endpoint, with the client request passed through as-is. This is also
6200
- # referred to as HTTP proxy integration.
6565
+ # HTTP\_PROXY: for integrating the route or method request with an
6566
+ # HTTP endpoint, with the client request passed through as-is. This is
6567
+ # also referred to as HTTP proxy integration. For HTTP API private
6568
+ # integrations, use an HTTP\_PROXY integration.
6201
6569
  #
6202
6570
  # MOCK: for integrating the route or method request with API Gateway
6203
6571
  # as a "loopback" endpoint without invoking any backend. Supported
@@ -6205,8 +6573,21 @@ module Aws::ApiGatewayV2
6205
6573
  # @return [String]
6206
6574
  #
6207
6575
  # @!attribute [rw] integration_uri
6208
- # For a Lambda proxy integration, this is the URI of the Lambda
6209
- # function.
6576
+ # For a Lambda integration, specify the URI of a Lambda function.
6577
+ #
6578
+ # For an HTTP integration, specify a fully-qualified URL.
6579
+ #
6580
+ # For an HTTP API private integration, specify the ARN of an
6581
+ # Application Load Balancer listener, Network Load Balancer listener,
6582
+ # or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map
6583
+ # service, API Gateway uses DiscoverInstances to identify resources.
6584
+ # You can use query parameters to target specific resources. To learn
6585
+ # more, see [DiscoverInstances][1]. For private integrations, all
6586
+ # resources must be owned by the same AWS account.
6587
+ #
6588
+ #
6589
+ #
6590
+ # [1]: https://alpha-docs-aws.amazon.com/cloud-map/latest/api/API_DiscoverInstances.html
6210
6591
  # @return [String]
6211
6592
  #
6212
6593
  # @!attribute [rw] passthrough_behavior
@@ -6230,7 +6611,7 @@ module Aws::ApiGatewayV2
6230
6611
  #
6231
6612
  # @!attribute [rw] payload_format_version
6232
6613
  # Specifies the format of the payload sent to an integration. Required
6233
- # for HTTP APIs. Currently, the only supported value is 1.0.
6614
+ # for HTTP APIs.
6234
6615
  # @return [String]
6235
6616
  #
6236
6617
  # @!attribute [rw] request_parameters
@@ -6271,6 +6652,12 @@ module Aws::ApiGatewayV2
6271
6652
  # value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
6272
6653
  # @return [Integer]
6273
6654
  #
6655
+ # @!attribute [rw] tls_config
6656
+ # The TLS configuration for a private integration. If you specify a
6657
+ # TLS configuration, private integration traffic uses the HTTPS
6658
+ # protocol. Supported only for HTTP APIs.
6659
+ # @return [Types::TlsConfigInput]
6660
+ #
6274
6661
  class UpdateIntegrationInput < Struct.new(
6275
6662
  :connection_id,
6276
6663
  :connection_type,
@@ -6285,7 +6672,8 @@ module Aws::ApiGatewayV2
6285
6672
  :request_parameters,
6286
6673
  :request_templates,
6287
6674
  :template_selection_expression,
6288
- :timeout_in_millis)
6675
+ :timeout_in_millis,
6676
+ :tls_config)
6289
6677
  include Aws::Structure
6290
6678
  end
6291
6679
 
@@ -6313,6 +6701,9 @@ module Aws::ApiGatewayV2
6313
6701
  # },
6314
6702
  # template_selection_expression: "SelectionExpression",
6315
6703
  # timeout_in_millis: 1,
6704
+ # tls_config: {
6705
+ # server_name_to_verify: "StringWithLengthBetween1And512",
6706
+ # },
6316
6707
  # }
6317
6708
  #
6318
6709
  # @!attribute [rw] api_id
@@ -6397,6 +6788,12 @@ module Aws::ApiGatewayV2
6397
6788
  # An integer with a value between \[50-29000\].
6398
6789
  # @return [Integer]
6399
6790
  #
6791
+ # @!attribute [rw] tls_config
6792
+ # The TLS configuration for a private integration. If you specify a
6793
+ # TLS configuration, private integration traffic uses the HTTPS
6794
+ # protocol. Supported only for HTTP APIs.
6795
+ # @return [Types::TlsConfigInput]
6796
+ #
6400
6797
  class UpdateIntegrationRequest < Struct.new(
6401
6798
  :api_id,
6402
6799
  :connection_id,
@@ -6413,7 +6810,8 @@ module Aws::ApiGatewayV2
6413
6810
  :request_parameters,
6414
6811
  :request_templates,
6415
6812
  :template_selection_expression,
6416
- :timeout_in_millis)
6813
+ :timeout_in_millis,
6814
+ :tls_config)
6417
6815
  include Aws::Structure
6418
6816
  end
6419
6817
 
@@ -6509,6 +6907,12 @@ module Aws::ApiGatewayV2
6509
6907
  # An integer with a value between \[50-29000\].
6510
6908
  # @return [Integer]
6511
6909
  #
6910
+ # @!attribute [rw] tls_config
6911
+ # The TLS configuration for a private integration. If you specify a
6912
+ # TLS configuration, private integration traffic uses the HTTPS
6913
+ # protocol. Supported only for HTTP APIs.
6914
+ # @return [Types::TlsConfig]
6915
+ #
6512
6916
  class UpdateIntegrationResult < Struct.new(
6513
6917
  :api_gateway_managed,
6514
6918
  :connection_id,
@@ -6526,7 +6930,8 @@ module Aws::ApiGatewayV2
6526
6930
  :request_parameters,
6527
6931
  :request_templates,
6528
6932
  :template_selection_expression,
6529
- :timeout_in_millis)
6933
+ :timeout_in_millis,
6934
+ :tls_config)
6530
6935
  include Aws::Structure
6531
6936
  end
6532
6937
 
@@ -7300,8 +7705,7 @@ module Aws::ApiGatewayV2
7300
7705
  # @!attribute [rw] stage_variables
7301
7706
  # A map that defines the stage variables for a Stage. Variable names
7302
7707
  # can have alphanumeric and underscore characters, and the values must
7303
- # match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+. Supported only for WebSocket
7304
- # APIs.
7708
+ # match \[A-Za-z0-9-.\_~:/?#&amp;=,\]+.
7305
7709
  # @return [Hash<String,String>]
7306
7710
  #
7307
7711
  class UpdateStageInput < Struct.new(
@@ -7330,7 +7734,7 @@ module Aws::ApiGatewayV2
7330
7734
  # default_route_settings: {
7331
7735
  # data_trace_enabled: false,
7332
7736
  # detailed_metrics_enabled: false,
7333
- # logging_level: "ERROR", # accepts ERROR, INFO, false
7737
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
7334
7738
  # throttling_burst_limit: 1,
7335
7739
  # throttling_rate_limit: 1.0,
7336
7740
  # },
@@ -7340,7 +7744,7 @@ module Aws::ApiGatewayV2
7340
7744
  # "__string" => {
7341
7745
  # data_trace_enabled: false,
7342
7746
  # detailed_metrics_enabled: false,
7343
- # logging_level: "ERROR", # accepts ERROR, INFO, false
7747
+ # logging_level: "ERROR", # accepts ERROR, INFO, OFF
7344
7748
  # throttling_burst_limit: 1,
7345
7749
  # throttling_rate_limit: 1.0,
7346
7750
  # },
@@ -7471,5 +7875,153 @@ module Aws::ApiGatewayV2
7471
7875
  include Aws::Structure
7472
7876
  end
7473
7877
 
7878
+ # Represents the input parameters for an UpdateVpcLink request.
7879
+ #
7880
+ # @!attribute [rw] name
7881
+ # The name of the VPC link.
7882
+ # @return [String]
7883
+ #
7884
+ class UpdateVpcLinkInput < Struct.new(
7885
+ :name)
7886
+ include Aws::Structure
7887
+ end
7888
+
7889
+ # @note When making an API call, you may pass UpdateVpcLinkRequest
7890
+ # data as a hash:
7891
+ #
7892
+ # {
7893
+ # name: "StringWithLengthBetween1And128",
7894
+ # vpc_link_id: "__string", # required
7895
+ # }
7896
+ #
7897
+ # @!attribute [rw] name
7898
+ # A string with a length between \[1-128\].
7899
+ # @return [String]
7900
+ #
7901
+ # @!attribute [rw] vpc_link_id
7902
+ # @return [String]
7903
+ #
7904
+ class UpdateVpcLinkRequest < Struct.new(
7905
+ :name,
7906
+ :vpc_link_id)
7907
+ include Aws::Structure
7908
+ end
7909
+
7910
+ # @!attribute [rw] created_date
7911
+ # @return [Time]
7912
+ #
7913
+ # @!attribute [rw] name
7914
+ # A string with a length between \[1-128\].
7915
+ # @return [String]
7916
+ #
7917
+ # @!attribute [rw] security_group_ids
7918
+ # A list of security group IDs for the VPC link.
7919
+ # @return [Array<String>]
7920
+ #
7921
+ # @!attribute [rw] subnet_ids
7922
+ # A list of subnet IDs to include in the VPC link.
7923
+ # @return [Array<String>]
7924
+ #
7925
+ # @!attribute [rw] tags
7926
+ # Represents a collection of tags associated with the resource.
7927
+ # @return [Hash<String,String>]
7928
+ #
7929
+ # @!attribute [rw] vpc_link_id
7930
+ # The identifier.
7931
+ # @return [String]
7932
+ #
7933
+ # @!attribute [rw] vpc_link_status
7934
+ # The status of the VPC link.
7935
+ # @return [String]
7936
+ #
7937
+ # @!attribute [rw] vpc_link_status_message
7938
+ # A string with a length between \[0-1024\].
7939
+ # @return [String]
7940
+ #
7941
+ # @!attribute [rw] vpc_link_version
7942
+ # The version of the VPC link.
7943
+ # @return [String]
7944
+ #
7945
+ class UpdateVpcLinkResponse < Struct.new(
7946
+ :created_date,
7947
+ :name,
7948
+ :security_group_ids,
7949
+ :subnet_ids,
7950
+ :tags,
7951
+ :vpc_link_id,
7952
+ :vpc_link_status,
7953
+ :vpc_link_status_message,
7954
+ :vpc_link_version)
7955
+ include Aws::Structure
7956
+ end
7957
+
7958
+ # Represents a VPC link.
7959
+ #
7960
+ # @!attribute [rw] created_date
7961
+ # The timestamp when the VPC link was created.
7962
+ # @return [Time]
7963
+ #
7964
+ # @!attribute [rw] name
7965
+ # The name of the VPC link.
7966
+ # @return [String]
7967
+ #
7968
+ # @!attribute [rw] security_group_ids
7969
+ # A list of security group IDs for the VPC link.
7970
+ # @return [Array<String>]
7971
+ #
7972
+ # @!attribute [rw] subnet_ids
7973
+ # A list of subnet IDs to include in the VPC link.
7974
+ # @return [Array<String>]
7975
+ #
7976
+ # @!attribute [rw] tags
7977
+ # Tags for the VPC link.
7978
+ # @return [Hash<String,String>]
7979
+ #
7980
+ # @!attribute [rw] vpc_link_id
7981
+ # The ID of the VPC link.
7982
+ # @return [String]
7983
+ #
7984
+ # @!attribute [rw] vpc_link_status
7985
+ # The status of the VPC link.
7986
+ # @return [String]
7987
+ #
7988
+ # @!attribute [rw] vpc_link_status_message
7989
+ # A message summarizing the cause of the status of the VPC link.
7990
+ # @return [String]
7991
+ #
7992
+ # @!attribute [rw] vpc_link_version
7993
+ # The version of the VPC link.
7994
+ # @return [String]
7995
+ #
7996
+ class VpcLink < Struct.new(
7997
+ :created_date,
7998
+ :name,
7999
+ :security_group_ids,
8000
+ :subnet_ids,
8001
+ :tags,
8002
+ :vpc_link_id,
8003
+ :vpc_link_status,
8004
+ :vpc_link_status_message,
8005
+ :vpc_link_version)
8006
+ include Aws::Structure
8007
+ end
8008
+
8009
+ # Represents a collection of VPCLinks.
8010
+ #
8011
+ # @!attribute [rw] items
8012
+ # A collection of VPC links.
8013
+ # @return [Array<Types::VpcLink>]
8014
+ #
8015
+ # @!attribute [rw] next_token
8016
+ # The next page of elements from this collection. Not valid for the
8017
+ # last element of the collection.
8018
+ # @return [String]
8019
+ #
8020
+ class VpcLinks < Struct.new(
8021
+ :items,
8022
+ :next_token)
8023
+ include Aws::Structure
8024
+ end
8025
+
7474
8026
  end
7475
8027
  end