aws-sdk 2.637.0 → 2.641.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +23 -1
- package/README.md +1 -1
- package/apis/apigatewayv2-2018-11-29.min.json +437 -73
- package/apis/cognito-idp-2016-04-18.min.json +115 -112
- package/apis/ecs-2014-11-13.min.json +6 -0
- package/apis/elasticache-2015-02-02.min.json +424 -95
- package/apis/elasticache-2015-02-02.paginators.json +6 -0
- package/apis/iot-2015-05-28.min.json +111 -100
- package/apis/lex-models-2017-04-19.min.json +116 -1
- package/apis/mediaconvert-2017-08-29.min.json +121 -62
- package/apis/redshift-2012-12-01.min.json +112 -60
- package/apis/s3control-2018-08-20.min.json +100 -4
- package/apis/securityhub-2018-10-26.min.json +198 -155
- package/apis/ssm-2014-11-06.min.json +182 -176
- package/buildspec.yml +22 -0
- package/clients/apigatewayv2.d.ts +378 -45
- package/clients/appconfig.d.ts +6 -6
- package/clients/cognitoidentityserviceprovider.d.ts +10 -6
- package/clients/ec2.d.ts +1 -1
- package/clients/ecs.d.ts +15 -7
- package/clients/efs.d.ts +3 -3
- package/clients/elasticache.d.ts +390 -15
- package/clients/iot.d.ts +18 -3
- package/clients/lexmodelbuildingservice.d.ts +99 -0
- package/clients/mediaconvert.d.ts +73 -3
- package/clients/redshift.d.ts +44 -2
- package/clients/s3control.d.ts +72 -0
- package/clients/securityhub.d.ts +85 -4
- package/clients/ssm.d.ts +15 -4
- package/dist/aws-sdk-core-react-native.js +2 -2
- package/dist/aws-sdk-react-native.js +14 -14
- package/dist/aws-sdk.js +1076 -548
- package/dist/aws-sdk.min.js +63 -63
- package/lib/core.js +1 -1
- package/lib/event_listeners.js +1 -1
- package/package.json +1 -1
|
@@ -99,6 +99,22 @@ declare class ApiGatewayV2 extends Service {
|
|
|
99
99
|
* Creates a Stage for an API.
|
|
100
100
|
*/
|
|
101
101
|
createStage(callback?: (err: AWSError, data: ApiGatewayV2.Types.CreateStageResponse) => void): Request<ApiGatewayV2.Types.CreateStageResponse, AWSError>;
|
|
102
|
+
/**
|
|
103
|
+
* Creates a VPC link.
|
|
104
|
+
*/
|
|
105
|
+
createVpcLink(params: ApiGatewayV2.Types.CreateVpcLinkRequest, callback?: (err: AWSError, data: ApiGatewayV2.Types.CreateVpcLinkResponse) => void): Request<ApiGatewayV2.Types.CreateVpcLinkResponse, AWSError>;
|
|
106
|
+
/**
|
|
107
|
+
* Creates a VPC link.
|
|
108
|
+
*/
|
|
109
|
+
createVpcLink(callback?: (err: AWSError, data: ApiGatewayV2.Types.CreateVpcLinkResponse) => void): Request<ApiGatewayV2.Types.CreateVpcLinkResponse, AWSError>;
|
|
110
|
+
/**
|
|
111
|
+
* Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.
|
|
112
|
+
*/
|
|
113
|
+
deleteAccessLogSettings(params: ApiGatewayV2.Types.DeleteAccessLogSettingsRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
114
|
+
/**
|
|
115
|
+
* Deletes the AccessLogSettings for a Stage. To disable access logging for a Stage, delete its AccessLogSettings.
|
|
116
|
+
*/
|
|
117
|
+
deleteAccessLogSettings(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
102
118
|
/**
|
|
103
119
|
* Deletes an Api resource.
|
|
104
120
|
*/
|
|
@@ -179,6 +195,14 @@ declare class ApiGatewayV2 extends Service {
|
|
|
179
195
|
* Deletes a Route.
|
|
180
196
|
*/
|
|
181
197
|
deleteRoute(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
198
|
+
/**
|
|
199
|
+
* Deletes a route request parameter.
|
|
200
|
+
*/
|
|
201
|
+
deleteRouteRequestParameter(params: ApiGatewayV2.Types.DeleteRouteRequestParameterRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
202
|
+
/**
|
|
203
|
+
* Deletes a route request parameter.
|
|
204
|
+
*/
|
|
205
|
+
deleteRouteRequestParameter(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
182
206
|
/**
|
|
183
207
|
* Deletes a RouteResponse.
|
|
184
208
|
*/
|
|
@@ -203,6 +227,14 @@ declare class ApiGatewayV2 extends Service {
|
|
|
203
227
|
* Deletes a Stage.
|
|
204
228
|
*/
|
|
205
229
|
deleteStage(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
230
|
+
/**
|
|
231
|
+
* Deletes a VPC link.
|
|
232
|
+
*/
|
|
233
|
+
deleteVpcLink(params: ApiGatewayV2.Types.DeleteVpcLinkRequest, callback?: (err: AWSError, data: ApiGatewayV2.Types.DeleteVpcLinkResponse) => void): Request<ApiGatewayV2.Types.DeleteVpcLinkResponse, AWSError>;
|
|
234
|
+
/**
|
|
235
|
+
* Deletes a VPC link.
|
|
236
|
+
*/
|
|
237
|
+
deleteVpcLink(callback?: (err: AWSError, data: ApiGatewayV2.Types.DeleteVpcLinkResponse) => void): Request<ApiGatewayV2.Types.DeleteVpcLinkResponse, AWSError>;
|
|
206
238
|
/**
|
|
207
239
|
* Gets an Api resource.
|
|
208
240
|
*/
|
|
@@ -395,6 +427,22 @@ declare class ApiGatewayV2 extends Service {
|
|
|
395
427
|
* Gets a collection of Tag resources.
|
|
396
428
|
*/
|
|
397
429
|
getTags(callback?: (err: AWSError, data: ApiGatewayV2.Types.GetTagsResponse) => void): Request<ApiGatewayV2.Types.GetTagsResponse, AWSError>;
|
|
430
|
+
/**
|
|
431
|
+
* Gets a VPC link.
|
|
432
|
+
*/
|
|
433
|
+
getVpcLink(params: ApiGatewayV2.Types.GetVpcLinkRequest, callback?: (err: AWSError, data: ApiGatewayV2.Types.GetVpcLinkResponse) => void): Request<ApiGatewayV2.Types.GetVpcLinkResponse, AWSError>;
|
|
434
|
+
/**
|
|
435
|
+
* Gets a VPC link.
|
|
436
|
+
*/
|
|
437
|
+
getVpcLink(callback?: (err: AWSError, data: ApiGatewayV2.Types.GetVpcLinkResponse) => void): Request<ApiGatewayV2.Types.GetVpcLinkResponse, AWSError>;
|
|
438
|
+
/**
|
|
439
|
+
* Gets a collection of VPC links.
|
|
440
|
+
*/
|
|
441
|
+
getVpcLinks(params: ApiGatewayV2.Types.GetVpcLinksRequest, callback?: (err: AWSError, data: ApiGatewayV2.Types.GetVpcLinksResponse) => void): Request<ApiGatewayV2.Types.GetVpcLinksResponse, AWSError>;
|
|
442
|
+
/**
|
|
443
|
+
* Gets a collection of VPC links.
|
|
444
|
+
*/
|
|
445
|
+
getVpcLinks(callback?: (err: AWSError, data: ApiGatewayV2.Types.GetVpcLinksResponse) => void): Request<ApiGatewayV2.Types.GetVpcLinksResponse, AWSError>;
|
|
398
446
|
/**
|
|
399
447
|
* Imports an API.
|
|
400
448
|
*/
|
|
@@ -515,6 +563,14 @@ declare class ApiGatewayV2 extends Service {
|
|
|
515
563
|
* Updates a Stage.
|
|
516
564
|
*/
|
|
517
565
|
updateStage(callback?: (err: AWSError, data: ApiGatewayV2.Types.UpdateStageResponse) => void): Request<ApiGatewayV2.Types.UpdateStageResponse, AWSError>;
|
|
566
|
+
/**
|
|
567
|
+
* Updates a VPC link.
|
|
568
|
+
*/
|
|
569
|
+
updateVpcLink(params: ApiGatewayV2.Types.UpdateVpcLinkRequest, callback?: (err: AWSError, data: ApiGatewayV2.Types.UpdateVpcLinkResponse) => void): Request<ApiGatewayV2.Types.UpdateVpcLinkResponse, AWSError>;
|
|
570
|
+
/**
|
|
571
|
+
* Updates a VPC link.
|
|
572
|
+
*/
|
|
573
|
+
updateVpcLink(callback?: (err: AWSError, data: ApiGatewayV2.Types.UpdateVpcLinkResponse) => void): Request<ApiGatewayV2.Types.UpdateVpcLinkResponse, AWSError>;
|
|
518
574
|
}
|
|
519
575
|
declare namespace ApiGatewayV2 {
|
|
520
576
|
export interface AccessLogSettings {
|
|
@@ -977,11 +1033,11 @@ declare namespace ApiGatewayV2 {
|
|
|
977
1033
|
*/
|
|
978
1034
|
ApiId: __string;
|
|
979
1035
|
/**
|
|
980
|
-
* The
|
|
1036
|
+
* The ID of the VPC link for a private integration. Supported only for HTTP APIs.
|
|
981
1037
|
*/
|
|
982
1038
|
ConnectionId?: StringWithLengthBetween1And1024;
|
|
983
1039
|
/**
|
|
984
|
-
* The type of the network connection to the integration endpoint.
|
|
1040
|
+
* The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
|
|
985
1041
|
*/
|
|
986
1042
|
ConnectionType?: ConnectionType;
|
|
987
1043
|
/**
|
|
@@ -1001,11 +1057,11 @@ declare namespace ApiGatewayV2 {
|
|
|
1001
1057
|
*/
|
|
1002
1058
|
IntegrationMethod?: StringWithLengthBetween1And64;
|
|
1003
1059
|
/**
|
|
1004
|
-
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
1060
|
+
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. For HTTP API private integrations, use an HTTP_PROXY integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
1005
1061
|
*/
|
|
1006
1062
|
IntegrationType: IntegrationType;
|
|
1007
1063
|
/**
|
|
1008
|
-
* For a Lambda
|
|
1064
|
+
* For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify resources. You can use query parameters to target specific resources. To learn more, see DiscoverInstances. For private integrations, all resources must be owned by the same AWS account.
|
|
1009
1065
|
*/
|
|
1010
1066
|
IntegrationUri?: UriWithLengthBetween1And2048;
|
|
1011
1067
|
/**
|
|
@@ -1013,7 +1069,7 @@ declare namespace ApiGatewayV2 {
|
|
|
1013
1069
|
*/
|
|
1014
1070
|
PassthroughBehavior?: PassthroughBehavior;
|
|
1015
1071
|
/**
|
|
1016
|
-
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
1072
|
+
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
1017
1073
|
*/
|
|
1018
1074
|
PayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
1019
1075
|
/**
|
|
@@ -1037,6 +1093,10 @@ declare namespace ApiGatewayV2 {
|
|
|
1037
1093
|
* Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds for WebSocket APIs. The default value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
|
|
1038
1094
|
*/
|
|
1039
1095
|
TimeoutInMillis?: IntegerWithLengthBetween50And29000;
|
|
1096
|
+
/**
|
|
1097
|
+
* The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
|
|
1098
|
+
*/
|
|
1099
|
+
TlsConfig?: TlsConfigInput;
|
|
1040
1100
|
}
|
|
1041
1101
|
export interface CreateIntegrationResult {
|
|
1042
1102
|
/**
|
|
@@ -1044,11 +1104,11 @@ declare namespace ApiGatewayV2 {
|
|
|
1044
1104
|
*/
|
|
1045
1105
|
ApiGatewayManaged?: __boolean;
|
|
1046
1106
|
/**
|
|
1047
|
-
* The
|
|
1107
|
+
* The ID of the VPC link for a private integration. Supported only for HTTP APIs.
|
|
1048
1108
|
*/
|
|
1049
1109
|
ConnectionId?: StringWithLengthBetween1And1024;
|
|
1050
1110
|
/**
|
|
1051
|
-
* The type of the network connection to the integration endpoint.
|
|
1111
|
+
* The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
|
|
1052
1112
|
*/
|
|
1053
1113
|
ConnectionType?: ConnectionType;
|
|
1054
1114
|
/**
|
|
@@ -1076,11 +1136,11 @@ declare namespace ApiGatewayV2 {
|
|
|
1076
1136
|
*/
|
|
1077
1137
|
IntegrationResponseSelectionExpression?: SelectionExpression;
|
|
1078
1138
|
/**
|
|
1079
|
-
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
1139
|
+
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
1080
1140
|
*/
|
|
1081
1141
|
IntegrationType?: IntegrationType;
|
|
1082
1142
|
/**
|
|
1083
|
-
* For a Lambda
|
|
1143
|
+
* For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify resources. You can use query parameters to target specific resources. To learn more, see DiscoverInstances. For private integrations, all resources must be owned by the same AWS account.
|
|
1084
1144
|
*/
|
|
1085
1145
|
IntegrationUri?: UriWithLengthBetween1And2048;
|
|
1086
1146
|
/**
|
|
@@ -1088,7 +1148,7 @@ declare namespace ApiGatewayV2 {
|
|
|
1088
1148
|
*/
|
|
1089
1149
|
PassthroughBehavior?: PassthroughBehavior;
|
|
1090
1150
|
/**
|
|
1091
|
-
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
1151
|
+
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
1092
1152
|
*/
|
|
1093
1153
|
PayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
1094
1154
|
/**
|
|
@@ -1112,6 +1172,10 @@ declare namespace ApiGatewayV2 {
|
|
|
1112
1172
|
* Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds for WebSocket APIs. The default value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
|
|
1113
1173
|
*/
|
|
1114
1174
|
TimeoutInMillis?: IntegerWithLengthBetween50And29000;
|
|
1175
|
+
/**
|
|
1176
|
+
* The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
|
|
1177
|
+
*/
|
|
1178
|
+
TlsConfig?: TlsConfig;
|
|
1115
1179
|
}
|
|
1116
1180
|
export interface CreateIntegrationResponseRequest {
|
|
1117
1181
|
/**
|
|
@@ -1403,7 +1467,7 @@ declare namespace ApiGatewayV2 {
|
|
|
1403
1467
|
*/
|
|
1404
1468
|
StageName: StringWithLengthBetween1And128;
|
|
1405
1469
|
/**
|
|
1406
|
-
* A map that defines the stage variables for a Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
1470
|
+
* A map that defines the stage variables for a Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
1407
1471
|
*/
|
|
1408
1472
|
StageVariables?: StageVariablesMap;
|
|
1409
1473
|
/**
|
|
@@ -1461,7 +1525,7 @@ declare namespace ApiGatewayV2 {
|
|
|
1461
1525
|
*/
|
|
1462
1526
|
StageName?: StringWithLengthBetween1And128;
|
|
1463
1527
|
/**
|
|
1464
|
-
* A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
1528
|
+
* A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
1465
1529
|
*/
|
|
1466
1530
|
StageVariables?: StageVariablesMap;
|
|
1467
1531
|
/**
|
|
@@ -1469,6 +1533,72 @@ declare namespace ApiGatewayV2 {
|
|
|
1469
1533
|
*/
|
|
1470
1534
|
Tags?: Tags;
|
|
1471
1535
|
}
|
|
1536
|
+
export interface CreateVpcLinkRequest {
|
|
1537
|
+
/**
|
|
1538
|
+
* The name of the VPC link.
|
|
1539
|
+
*/
|
|
1540
|
+
Name: StringWithLengthBetween1And128;
|
|
1541
|
+
/**
|
|
1542
|
+
* A list of security group IDs for the VPC link.
|
|
1543
|
+
*/
|
|
1544
|
+
SecurityGroupIds?: SecurityGroupIdList;
|
|
1545
|
+
/**
|
|
1546
|
+
* A list of subnet IDs to include in the VPC link.
|
|
1547
|
+
*/
|
|
1548
|
+
SubnetIds: SubnetIdList;
|
|
1549
|
+
/**
|
|
1550
|
+
* A list of tags.
|
|
1551
|
+
*/
|
|
1552
|
+
Tags?: Tags;
|
|
1553
|
+
}
|
|
1554
|
+
export interface CreateVpcLinkResponse {
|
|
1555
|
+
/**
|
|
1556
|
+
* The timestamp when the VPC link was created.
|
|
1557
|
+
*/
|
|
1558
|
+
CreatedDate?: __timestampIso8601;
|
|
1559
|
+
/**
|
|
1560
|
+
* The name of the VPC link.
|
|
1561
|
+
*/
|
|
1562
|
+
Name?: StringWithLengthBetween1And128;
|
|
1563
|
+
/**
|
|
1564
|
+
* A list of security group IDs for the VPC link.
|
|
1565
|
+
*/
|
|
1566
|
+
SecurityGroupIds?: SecurityGroupIdList;
|
|
1567
|
+
/**
|
|
1568
|
+
* A list of subnet IDs to include in the VPC link.
|
|
1569
|
+
*/
|
|
1570
|
+
SubnetIds?: SubnetIdList;
|
|
1571
|
+
/**
|
|
1572
|
+
* Tags for the VPC link.
|
|
1573
|
+
*/
|
|
1574
|
+
Tags?: Tags;
|
|
1575
|
+
/**
|
|
1576
|
+
* The ID of the VPC link.
|
|
1577
|
+
*/
|
|
1578
|
+
VpcLinkId?: Id;
|
|
1579
|
+
/**
|
|
1580
|
+
* The status of the VPC link.
|
|
1581
|
+
*/
|
|
1582
|
+
VpcLinkStatus?: VpcLinkStatus;
|
|
1583
|
+
/**
|
|
1584
|
+
* A message summarizing the cause of the status of the VPC link.
|
|
1585
|
+
*/
|
|
1586
|
+
VpcLinkStatusMessage?: StringWithLengthBetween0And1024;
|
|
1587
|
+
/**
|
|
1588
|
+
* The version of the VPC link.
|
|
1589
|
+
*/
|
|
1590
|
+
VpcLinkVersion?: VpcLinkVersion;
|
|
1591
|
+
}
|
|
1592
|
+
export interface DeleteAccessLogSettingsRequest {
|
|
1593
|
+
/**
|
|
1594
|
+
* The API identifier.
|
|
1595
|
+
*/
|
|
1596
|
+
ApiId: __string;
|
|
1597
|
+
/**
|
|
1598
|
+
* The stage name. Stage names can only contain alphanumeric characters, hyphens, and underscores. Maximum length is 128 characters.
|
|
1599
|
+
*/
|
|
1600
|
+
StageName: __string;
|
|
1601
|
+
}
|
|
1472
1602
|
export interface DeleteApiMappingRequest {
|
|
1473
1603
|
/**
|
|
1474
1604
|
* The API mapping identifier.
|
|
@@ -1561,6 +1691,20 @@ declare namespace ApiGatewayV2 {
|
|
|
1561
1691
|
*/
|
|
1562
1692
|
RouteId: __string;
|
|
1563
1693
|
}
|
|
1694
|
+
export interface DeleteRouteRequestParameterRequest {
|
|
1695
|
+
/**
|
|
1696
|
+
* The API identifier.
|
|
1697
|
+
*/
|
|
1698
|
+
ApiId: __string;
|
|
1699
|
+
/**
|
|
1700
|
+
* The route request parameter key.
|
|
1701
|
+
*/
|
|
1702
|
+
RequestParameterKey: __string;
|
|
1703
|
+
/**
|
|
1704
|
+
* The route ID.
|
|
1705
|
+
*/
|
|
1706
|
+
RouteId: __string;
|
|
1707
|
+
}
|
|
1564
1708
|
export interface DeleteRouteResponseRequest {
|
|
1565
1709
|
/**
|
|
1566
1710
|
* The API identifier.
|
|
@@ -1599,6 +1743,14 @@ declare namespace ApiGatewayV2 {
|
|
|
1599
1743
|
*/
|
|
1600
1744
|
StageName: __string;
|
|
1601
1745
|
}
|
|
1746
|
+
export interface DeleteVpcLinkRequest {
|
|
1747
|
+
/**
|
|
1748
|
+
* The ID of the VPC link.
|
|
1749
|
+
*/
|
|
1750
|
+
VpcLinkId: __string;
|
|
1751
|
+
}
|
|
1752
|
+
export interface DeleteVpcLinkResponse {
|
|
1753
|
+
}
|
|
1602
1754
|
export interface Deployment {
|
|
1603
1755
|
/**
|
|
1604
1756
|
* Specifies whether a deployment was automatically released.
|
|
@@ -2014,11 +2166,11 @@ declare namespace ApiGatewayV2 {
|
|
|
2014
2166
|
*/
|
|
2015
2167
|
ApiGatewayManaged?: __boolean;
|
|
2016
2168
|
/**
|
|
2017
|
-
* The
|
|
2169
|
+
* The ID of the VPC link for a private integration. Supported only for HTTP APIs.
|
|
2018
2170
|
*/
|
|
2019
2171
|
ConnectionId?: StringWithLengthBetween1And1024;
|
|
2020
2172
|
/**
|
|
2021
|
-
* The type of the network connection to the integration endpoint.
|
|
2173
|
+
* The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
|
|
2022
2174
|
*/
|
|
2023
2175
|
ConnectionType?: ConnectionType;
|
|
2024
2176
|
/**
|
|
@@ -2046,11 +2198,11 @@ declare namespace ApiGatewayV2 {
|
|
|
2046
2198
|
*/
|
|
2047
2199
|
IntegrationResponseSelectionExpression?: SelectionExpression;
|
|
2048
2200
|
/**
|
|
2049
|
-
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
2201
|
+
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
2050
2202
|
*/
|
|
2051
2203
|
IntegrationType?: IntegrationType;
|
|
2052
2204
|
/**
|
|
2053
|
-
* For a Lambda
|
|
2205
|
+
* For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify resources. You can use query parameters to target specific resources. To learn more, see DiscoverInstances. For private integrations, all resources must be owned by the same AWS account.
|
|
2054
2206
|
*/
|
|
2055
2207
|
IntegrationUri?: UriWithLengthBetween1And2048;
|
|
2056
2208
|
/**
|
|
@@ -2058,7 +2210,7 @@ declare namespace ApiGatewayV2 {
|
|
|
2058
2210
|
*/
|
|
2059
2211
|
PassthroughBehavior?: PassthroughBehavior;
|
|
2060
2212
|
/**
|
|
2061
|
-
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
2213
|
+
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
2062
2214
|
*/
|
|
2063
2215
|
PayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
2064
2216
|
/**
|
|
@@ -2082,6 +2234,10 @@ declare namespace ApiGatewayV2 {
|
|
|
2082
2234
|
* Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds for WebSocket APIs. The default value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
|
|
2083
2235
|
*/
|
|
2084
2236
|
TimeoutInMillis?: IntegerWithLengthBetween50And29000;
|
|
2237
|
+
/**
|
|
2238
|
+
* The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
|
|
2239
|
+
*/
|
|
2240
|
+
TlsConfig?: TlsConfig;
|
|
2085
2241
|
}
|
|
2086
2242
|
export interface GetIntegrationResponseRequest {
|
|
2087
2243
|
/**
|
|
@@ -2459,7 +2615,7 @@ declare namespace ApiGatewayV2 {
|
|
|
2459
2615
|
*/
|
|
2460
2616
|
StageName?: StringWithLengthBetween1And128;
|
|
2461
2617
|
/**
|
|
2462
|
-
* A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
2618
|
+
* A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
2463
2619
|
*/
|
|
2464
2620
|
StageVariables?: StageVariablesMap;
|
|
2465
2621
|
/**
|
|
@@ -2498,13 +2654,77 @@ declare namespace ApiGatewayV2 {
|
|
|
2498
2654
|
ResourceArn: __string;
|
|
2499
2655
|
}
|
|
2500
2656
|
export interface GetTagsResponse {
|
|
2501
|
-
Tags
|
|
2657
|
+
Tags?: Tags;
|
|
2658
|
+
}
|
|
2659
|
+
export interface GetVpcLinkRequest {
|
|
2660
|
+
/**
|
|
2661
|
+
* The ID of the VPC link.
|
|
2662
|
+
*/
|
|
2663
|
+
VpcLinkId: __string;
|
|
2664
|
+
}
|
|
2665
|
+
export interface GetVpcLinkResponse {
|
|
2666
|
+
/**
|
|
2667
|
+
* The timestamp when the VPC link was created.
|
|
2668
|
+
*/
|
|
2669
|
+
CreatedDate?: __timestampIso8601;
|
|
2670
|
+
/**
|
|
2671
|
+
* The name of the VPC link.
|
|
2672
|
+
*/
|
|
2673
|
+
Name?: StringWithLengthBetween1And128;
|
|
2674
|
+
/**
|
|
2675
|
+
* A list of security group IDs for the VPC link.
|
|
2676
|
+
*/
|
|
2677
|
+
SecurityGroupIds?: SecurityGroupIdList;
|
|
2678
|
+
/**
|
|
2679
|
+
* A list of subnet IDs to include in the VPC link.
|
|
2680
|
+
*/
|
|
2681
|
+
SubnetIds?: SubnetIdList;
|
|
2682
|
+
/**
|
|
2683
|
+
* Tags for the VPC link.
|
|
2684
|
+
*/
|
|
2685
|
+
Tags?: Tags;
|
|
2686
|
+
/**
|
|
2687
|
+
* The ID of the VPC link.
|
|
2688
|
+
*/
|
|
2689
|
+
VpcLinkId?: Id;
|
|
2690
|
+
/**
|
|
2691
|
+
* The status of the VPC link.
|
|
2692
|
+
*/
|
|
2693
|
+
VpcLinkStatus?: VpcLinkStatus;
|
|
2694
|
+
/**
|
|
2695
|
+
* A message summarizing the cause of the status of the VPC link.
|
|
2696
|
+
*/
|
|
2697
|
+
VpcLinkStatusMessage?: StringWithLengthBetween0And1024;
|
|
2698
|
+
/**
|
|
2699
|
+
* The version of the VPC link.
|
|
2700
|
+
*/
|
|
2701
|
+
VpcLinkVersion?: VpcLinkVersion;
|
|
2702
|
+
}
|
|
2703
|
+
export interface GetVpcLinksRequest {
|
|
2704
|
+
/**
|
|
2705
|
+
* The maximum number of elements to be returned for this resource.
|
|
2706
|
+
*/
|
|
2707
|
+
MaxResults?: __string;
|
|
2708
|
+
/**
|
|
2709
|
+
* The next page of elements from this collection. Not valid for the last element of the collection.
|
|
2710
|
+
*/
|
|
2711
|
+
NextToken?: __string;
|
|
2712
|
+
}
|
|
2713
|
+
export interface GetVpcLinksResponse {
|
|
2714
|
+
/**
|
|
2715
|
+
* A collection of VPC links.
|
|
2716
|
+
*/
|
|
2717
|
+
Items?: __listOfVpcLink;
|
|
2718
|
+
/**
|
|
2719
|
+
* The next page of elements from this collection. Not valid for the last element of the collection.
|
|
2720
|
+
*/
|
|
2721
|
+
NextToken?: NextToken;
|
|
2502
2722
|
}
|
|
2503
2723
|
export type Id = string;
|
|
2504
2724
|
export type IdentitySourceList = __string[];
|
|
2505
2725
|
export interface ImportApiRequest {
|
|
2506
2726
|
/**
|
|
2507
|
-
*
|
|
2727
|
+
* Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.
|
|
2508
2728
|
*/
|
|
2509
2729
|
Basepath?: __string;
|
|
2510
2730
|
/**
|
|
@@ -2583,11 +2803,11 @@ declare namespace ApiGatewayV2 {
|
|
|
2583
2803
|
*/
|
|
2584
2804
|
ApiGatewayManaged?: __boolean;
|
|
2585
2805
|
/**
|
|
2586
|
-
* The
|
|
2806
|
+
* The ID of the VPC link for a private integration. Supported only for HTTP APIs.
|
|
2587
2807
|
*/
|
|
2588
2808
|
ConnectionId?: StringWithLengthBetween1And1024;
|
|
2589
2809
|
/**
|
|
2590
|
-
* The type of the network connection to the integration endpoint.
|
|
2810
|
+
* The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
|
|
2591
2811
|
*/
|
|
2592
2812
|
ConnectionType?: ConnectionType;
|
|
2593
2813
|
/**
|
|
@@ -2615,11 +2835,11 @@ declare namespace ApiGatewayV2 {
|
|
|
2615
2835
|
*/
|
|
2616
2836
|
IntegrationResponseSelectionExpression?: SelectionExpression;
|
|
2617
2837
|
/**
|
|
2618
|
-
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
2838
|
+
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
2619
2839
|
*/
|
|
2620
2840
|
IntegrationType?: IntegrationType;
|
|
2621
2841
|
/**
|
|
2622
|
-
* For a Lambda
|
|
2842
|
+
* For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify resources. You can use query parameters to target specific resources. To learn more, see DiscoverInstances. For private integrations, all resources must be owned by the same AWS account.
|
|
2623
2843
|
*/
|
|
2624
2844
|
IntegrationUri?: UriWithLengthBetween1And2048;
|
|
2625
2845
|
/**
|
|
@@ -2627,7 +2847,7 @@ declare namespace ApiGatewayV2 {
|
|
|
2627
2847
|
*/
|
|
2628
2848
|
PassthroughBehavior?: PassthroughBehavior;
|
|
2629
2849
|
/**
|
|
2630
|
-
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
2850
|
+
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
2631
2851
|
*/
|
|
2632
2852
|
PayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
2633
2853
|
/**
|
|
@@ -2651,6 +2871,10 @@ declare namespace ApiGatewayV2 {
|
|
|
2651
2871
|
* Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds for WebSocket APIs. The default value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
|
|
2652
2872
|
*/
|
|
2653
2873
|
TimeoutInMillis?: IntegerWithLengthBetween50And29000;
|
|
2874
|
+
/**
|
|
2875
|
+
* The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
|
|
2876
|
+
*/
|
|
2877
|
+
TlsConfig?: TlsConfig;
|
|
2654
2878
|
}
|
|
2655
2879
|
export type IntegrationParameters = {[key: string]: StringWithLengthBetween1And512};
|
|
2656
2880
|
export interface IntegrationResponse {
|
|
@@ -2691,7 +2915,7 @@ declare namespace ApiGatewayV2 {
|
|
|
2691
2915
|
*/
|
|
2692
2916
|
Issuer?: UriWithLengthBetween1And2048;
|
|
2693
2917
|
}
|
|
2694
|
-
export type LoggingLevel = "ERROR"|"INFO"|"
|
|
2918
|
+
export type LoggingLevel = "ERROR"|"INFO"|"OFF"|string;
|
|
2695
2919
|
export interface Model {
|
|
2696
2920
|
/**
|
|
2697
2921
|
* The content-type for the model, for example, "application/json".
|
|
@@ -2729,7 +2953,7 @@ declare namespace ApiGatewayV2 {
|
|
|
2729
2953
|
*/
|
|
2730
2954
|
ApiId: __string;
|
|
2731
2955
|
/**
|
|
2732
|
-
*
|
|
2956
|
+
* Specifies how to interpret the base path of the API during import. Valid values are ignore, prepend, and split. The default value is ignore. To learn more, see Set the OpenAPI basePath Property. Supported only for HTTP APIs.
|
|
2733
2957
|
*/
|
|
2734
2958
|
Basepath?: __string;
|
|
2735
2959
|
/**
|
|
@@ -2891,15 +3115,16 @@ declare namespace ApiGatewayV2 {
|
|
|
2891
3115
|
*/
|
|
2892
3116
|
LoggingLevel?: LoggingLevel;
|
|
2893
3117
|
/**
|
|
2894
|
-
* Specifies the throttling burst limit.
|
|
3118
|
+
* Specifies the throttling burst limit.
|
|
2895
3119
|
*/
|
|
2896
3120
|
ThrottlingBurstLimit?: __integer;
|
|
2897
3121
|
/**
|
|
2898
|
-
* Specifies the throttling rate limit.
|
|
3122
|
+
* Specifies the throttling rate limit.
|
|
2899
3123
|
*/
|
|
2900
3124
|
ThrottlingRateLimit?: __double;
|
|
2901
3125
|
}
|
|
2902
3126
|
export type RouteSettingsMap = {[key: string]: RouteSettings};
|
|
3127
|
+
export type SecurityGroupIdList = __string[];
|
|
2903
3128
|
export type SecurityPolicy = "TLS_1_0"|"TLS_1_2"|string;
|
|
2904
3129
|
export type SelectionExpression = string;
|
|
2905
3130
|
export type SelectionKey = string;
|
|
@@ -2953,7 +3178,7 @@ declare namespace ApiGatewayV2 {
|
|
|
2953
3178
|
*/
|
|
2954
3179
|
StageName: StringWithLengthBetween1And128;
|
|
2955
3180
|
/**
|
|
2956
|
-
* A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
3181
|
+
* A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
2957
3182
|
*/
|
|
2958
3183
|
StageVariables?: StageVariablesMap;
|
|
2959
3184
|
/**
|
|
@@ -2971,6 +3196,7 @@ declare namespace ApiGatewayV2 {
|
|
|
2971
3196
|
export type StringWithLengthBetween1And256 = string;
|
|
2972
3197
|
export type StringWithLengthBetween1And512 = string;
|
|
2973
3198
|
export type StringWithLengthBetween1And64 = string;
|
|
3199
|
+
export type SubnetIdList = __string[];
|
|
2974
3200
|
export interface TagResourceRequest {
|
|
2975
3201
|
/**
|
|
2976
3202
|
* The resource ARN for the tag.
|
|
@@ -2985,15 +3211,25 @@ declare namespace ApiGatewayV2 {
|
|
|
2985
3211
|
}
|
|
2986
3212
|
export type Tags = {[key: string]: StringWithLengthBetween1And1600};
|
|
2987
3213
|
export type TemplateMap = {[key: string]: StringWithLengthBetween0And32K};
|
|
3214
|
+
export interface TlsConfig {
|
|
3215
|
+
/**
|
|
3216
|
+
* If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
|
|
3217
|
+
*/
|
|
3218
|
+
ServerNameToVerify?: StringWithLengthBetween1And512;
|
|
3219
|
+
}
|
|
3220
|
+
export interface TlsConfigInput {
|
|
3221
|
+
/**
|
|
3222
|
+
* If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
|
|
3223
|
+
*/
|
|
3224
|
+
ServerNameToVerify?: StringWithLengthBetween1And512;
|
|
3225
|
+
}
|
|
2988
3226
|
export interface UntagResourceRequest {
|
|
2989
3227
|
/**
|
|
2990
3228
|
* The resource ARN for the tag.
|
|
2991
3229
|
*/
|
|
2992
3230
|
ResourceArn: __string;
|
|
2993
3231
|
/**
|
|
2994
|
-
*
|
|
2995
|
-
The Tag keys to delete.
|
|
2996
|
-
|
|
3232
|
+
* The Tag keys to delete
|
|
2997
3233
|
*/
|
|
2998
3234
|
TagKeys: __listOf__string;
|
|
2999
3235
|
}
|
|
@@ -3297,11 +3533,11 @@ declare namespace ApiGatewayV2 {
|
|
|
3297
3533
|
*/
|
|
3298
3534
|
ApiId: __string;
|
|
3299
3535
|
/**
|
|
3300
|
-
* The
|
|
3536
|
+
* The ID of the VPC link for a private integration. Supported only for HTTP APIs.
|
|
3301
3537
|
*/
|
|
3302
3538
|
ConnectionId?: StringWithLengthBetween1And1024;
|
|
3303
3539
|
/**
|
|
3304
|
-
* The type of the network connection to the integration endpoint.
|
|
3540
|
+
* The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
|
|
3305
3541
|
*/
|
|
3306
3542
|
ConnectionType?: ConnectionType;
|
|
3307
3543
|
/**
|
|
@@ -3325,11 +3561,11 @@ declare namespace ApiGatewayV2 {
|
|
|
3325
3561
|
*/
|
|
3326
3562
|
IntegrationMethod?: StringWithLengthBetween1And64;
|
|
3327
3563
|
/**
|
|
3328
|
-
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
3564
|
+
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. For HTTP API private integrations, use an HTTP_PROXY integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
3329
3565
|
*/
|
|
3330
3566
|
IntegrationType?: IntegrationType;
|
|
3331
3567
|
/**
|
|
3332
|
-
* For a Lambda
|
|
3568
|
+
* For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify resources. You can use query parameters to target specific resources. To learn more, see DiscoverInstances. For private integrations, all resources must be owned by the same AWS account.
|
|
3333
3569
|
*/
|
|
3334
3570
|
IntegrationUri?: UriWithLengthBetween1And2048;
|
|
3335
3571
|
/**
|
|
@@ -3337,7 +3573,7 @@ declare namespace ApiGatewayV2 {
|
|
|
3337
3573
|
*/
|
|
3338
3574
|
PassthroughBehavior?: PassthroughBehavior;
|
|
3339
3575
|
/**
|
|
3340
|
-
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
3576
|
+
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
3341
3577
|
*/
|
|
3342
3578
|
PayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
3343
3579
|
/**
|
|
@@ -3361,6 +3597,10 @@ declare namespace ApiGatewayV2 {
|
|
|
3361
3597
|
* Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds for WebSocket APIs. The default value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
|
|
3362
3598
|
*/
|
|
3363
3599
|
TimeoutInMillis?: IntegerWithLengthBetween50And29000;
|
|
3600
|
+
/**
|
|
3601
|
+
* The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
|
|
3602
|
+
*/
|
|
3603
|
+
TlsConfig?: TlsConfigInput;
|
|
3364
3604
|
}
|
|
3365
3605
|
export interface UpdateIntegrationResult {
|
|
3366
3606
|
/**
|
|
@@ -3368,11 +3608,11 @@ declare namespace ApiGatewayV2 {
|
|
|
3368
3608
|
*/
|
|
3369
3609
|
ApiGatewayManaged?: __boolean;
|
|
3370
3610
|
/**
|
|
3371
|
-
* The
|
|
3611
|
+
* The ID of the VPC link for a private integration. Supported only for HTTP APIs.
|
|
3372
3612
|
*/
|
|
3373
3613
|
ConnectionId?: StringWithLengthBetween1And1024;
|
|
3374
3614
|
/**
|
|
3375
|
-
* The type of the network connection to the integration endpoint.
|
|
3615
|
+
* The type of the network connection to the integration endpoint. Specify INTERNET for connections through the public routable internet or VPC_LINK for private connections between API Gateway and resources in a VPC. The default value is INTERNET.
|
|
3376
3616
|
*/
|
|
3377
3617
|
ConnectionType?: ConnectionType;
|
|
3378
3618
|
/**
|
|
@@ -3400,11 +3640,11 @@ declare namespace ApiGatewayV2 {
|
|
|
3400
3640
|
*/
|
|
3401
3641
|
IntegrationResponseSelectionExpression?: SelectionExpression;
|
|
3402
3642
|
/**
|
|
3403
|
-
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
3643
|
+
* The integration type of an integration. One of the following: AWS: for integrating the route or method request with an AWS service action, including the Lambda function-invoking action. With the Lambda function-invoking action, this is referred to as the Lambda custom integration. With any other AWS service action, this is known as AWS integration. Supported only for WebSocket APIs. AWS_PROXY: for integrating the route or method request with the Lambda function-invoking action with the client request passed through as-is. This integration is also referred to as Lambda proxy integration. HTTP: for integrating the route or method request with an HTTP endpoint. This integration is also referred to as the HTTP custom integration. Supported only for WebSocket APIs. HTTP_PROXY: for integrating the route or method request with an HTTP endpoint, with the client request passed through as-is. This is also referred to as HTTP proxy integration. MOCK: for integrating the route or method request with API Gateway as a "loopback" endpoint without invoking any backend. Supported only for WebSocket APIs.
|
|
3404
3644
|
*/
|
|
3405
3645
|
IntegrationType?: IntegrationType;
|
|
3406
3646
|
/**
|
|
3407
|
-
* For a Lambda
|
|
3647
|
+
* For a Lambda integration, specify the URI of a Lambda function. For an HTTP integration, specify a fully-qualified URL. For an HTTP API private integration, specify the ARN of an Application Load Balancer listener, Network Load Balancer listener, or AWS Cloud Map service. If you specify the ARN of an AWS Cloud Map service, API Gateway uses DiscoverInstances to identify resources. You can use query parameters to target specific resources. To learn more, see DiscoverInstances. For private integrations, all resources must be owned by the same AWS account.
|
|
3408
3648
|
*/
|
|
3409
3649
|
IntegrationUri?: UriWithLengthBetween1And2048;
|
|
3410
3650
|
/**
|
|
@@ -3412,7 +3652,7 @@ declare namespace ApiGatewayV2 {
|
|
|
3412
3652
|
*/
|
|
3413
3653
|
PassthroughBehavior?: PassthroughBehavior;
|
|
3414
3654
|
/**
|
|
3415
|
-
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
3655
|
+
* Specifies the format of the payload sent to an integration. Required for HTTP APIs.
|
|
3416
3656
|
*/
|
|
3417
3657
|
PayloadFormatVersion?: StringWithLengthBetween1And64;
|
|
3418
3658
|
/**
|
|
@@ -3436,6 +3676,10 @@ declare namespace ApiGatewayV2 {
|
|
|
3436
3676
|
* Custom timeout between 50 and 29,000 milliseconds. The default value is 29,000 milliseconds or 29 seconds for WebSocket APIs. The default value is 5,000 milliseconds, or 5 seconds for HTTP APIs.
|
|
3437
3677
|
*/
|
|
3438
3678
|
TimeoutInMillis?: IntegerWithLengthBetween50And29000;
|
|
3679
|
+
/**
|
|
3680
|
+
* The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
|
|
3681
|
+
*/
|
|
3682
|
+
TlsConfig?: TlsConfig;
|
|
3439
3683
|
}
|
|
3440
3684
|
export interface UpdateIntegrationResponseRequest {
|
|
3441
3685
|
/**
|
|
@@ -3750,7 +3994,7 @@ declare namespace ApiGatewayV2 {
|
|
|
3750
3994
|
*/
|
|
3751
3995
|
StageName: __string;
|
|
3752
3996
|
/**
|
|
3753
|
-
* A map that defines the stage variables for a Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
3997
|
+
* A map that defines the stage variables for a Stage. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
3754
3998
|
*/
|
|
3755
3999
|
StageVariables?: StageVariablesMap;
|
|
3756
4000
|
}
|
|
@@ -3804,7 +4048,7 @@ declare namespace ApiGatewayV2 {
|
|
|
3804
4048
|
*/
|
|
3805
4049
|
StageName?: StringWithLengthBetween1And128;
|
|
3806
4050
|
/**
|
|
3807
|
-
* A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
4051
|
+
* A map that defines the stage variables for a stage resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9-._~:/?#&=,]+.
|
|
3808
4052
|
*/
|
|
3809
4053
|
StageVariables?: StageVariablesMap;
|
|
3810
4054
|
/**
|
|
@@ -3812,7 +4056,95 @@ declare namespace ApiGatewayV2 {
|
|
|
3812
4056
|
*/
|
|
3813
4057
|
Tags?: Tags;
|
|
3814
4058
|
}
|
|
4059
|
+
export interface UpdateVpcLinkRequest {
|
|
4060
|
+
/**
|
|
4061
|
+
* The name of the VPC link.
|
|
4062
|
+
*/
|
|
4063
|
+
Name?: StringWithLengthBetween1And128;
|
|
4064
|
+
/**
|
|
4065
|
+
* The ID of the VPC link.
|
|
4066
|
+
*/
|
|
4067
|
+
VpcLinkId: __string;
|
|
4068
|
+
}
|
|
4069
|
+
export interface UpdateVpcLinkResponse {
|
|
4070
|
+
/**
|
|
4071
|
+
* The timestamp when the VPC link was created.
|
|
4072
|
+
*/
|
|
4073
|
+
CreatedDate?: __timestampIso8601;
|
|
4074
|
+
/**
|
|
4075
|
+
* The name of the VPC link.
|
|
4076
|
+
*/
|
|
4077
|
+
Name?: StringWithLengthBetween1And128;
|
|
4078
|
+
/**
|
|
4079
|
+
* A list of security group IDs for the VPC link.
|
|
4080
|
+
*/
|
|
4081
|
+
SecurityGroupIds?: SecurityGroupIdList;
|
|
4082
|
+
/**
|
|
4083
|
+
* A list of subnet IDs to include in the VPC link.
|
|
4084
|
+
*/
|
|
4085
|
+
SubnetIds?: SubnetIdList;
|
|
4086
|
+
/**
|
|
4087
|
+
* Tags for the VPC link.
|
|
4088
|
+
*/
|
|
4089
|
+
Tags?: Tags;
|
|
4090
|
+
/**
|
|
4091
|
+
* The ID of the VPC link.
|
|
4092
|
+
*/
|
|
4093
|
+
VpcLinkId?: Id;
|
|
4094
|
+
/**
|
|
4095
|
+
* The status of the VPC link.
|
|
4096
|
+
*/
|
|
4097
|
+
VpcLinkStatus?: VpcLinkStatus;
|
|
4098
|
+
/**
|
|
4099
|
+
* A message summarizing the cause of the status of the VPC link.
|
|
4100
|
+
*/
|
|
4101
|
+
VpcLinkStatusMessage?: StringWithLengthBetween0And1024;
|
|
4102
|
+
/**
|
|
4103
|
+
* The version of the VPC link.
|
|
4104
|
+
*/
|
|
4105
|
+
VpcLinkVersion?: VpcLinkVersion;
|
|
4106
|
+
}
|
|
3815
4107
|
export type UriWithLengthBetween1And2048 = string;
|
|
4108
|
+
export interface VpcLink {
|
|
4109
|
+
/**
|
|
4110
|
+
* The timestamp when the VPC link was created.
|
|
4111
|
+
*/
|
|
4112
|
+
CreatedDate?: __timestampIso8601;
|
|
4113
|
+
/**
|
|
4114
|
+
* The name of the VPC link.
|
|
4115
|
+
*/
|
|
4116
|
+
Name: StringWithLengthBetween1And128;
|
|
4117
|
+
/**
|
|
4118
|
+
* A list of security group IDs for the VPC link.
|
|
4119
|
+
*/
|
|
4120
|
+
SecurityGroupIds: SecurityGroupIdList;
|
|
4121
|
+
/**
|
|
4122
|
+
* A list of subnet IDs to include in the VPC link.
|
|
4123
|
+
*/
|
|
4124
|
+
SubnetIds: SubnetIdList;
|
|
4125
|
+
/**
|
|
4126
|
+
* Tags for the VPC link.
|
|
4127
|
+
*/
|
|
4128
|
+
Tags?: Tags;
|
|
4129
|
+
/**
|
|
4130
|
+
* The ID of the VPC link.
|
|
4131
|
+
*/
|
|
4132
|
+
VpcLinkId: Id;
|
|
4133
|
+
/**
|
|
4134
|
+
* The status of the VPC link.
|
|
4135
|
+
*/
|
|
4136
|
+
VpcLinkStatus?: VpcLinkStatus;
|
|
4137
|
+
/**
|
|
4138
|
+
* A message summarizing the cause of the status of the VPC link.
|
|
4139
|
+
*/
|
|
4140
|
+
VpcLinkStatusMessage?: StringWithLengthBetween0And1024;
|
|
4141
|
+
/**
|
|
4142
|
+
* The version of the VPC link.
|
|
4143
|
+
*/
|
|
4144
|
+
VpcLinkVersion?: VpcLinkVersion;
|
|
4145
|
+
}
|
|
4146
|
+
export type VpcLinkStatus = "PENDING"|"AVAILABLE"|"DELETING"|"FAILED"|"INACTIVE"|string;
|
|
4147
|
+
export type VpcLinkVersion = "V2"|string;
|
|
3816
4148
|
export type __boolean = boolean;
|
|
3817
4149
|
export type __double = number;
|
|
3818
4150
|
export type __integer = number;
|
|
@@ -3827,6 +4159,7 @@ declare namespace ApiGatewayV2 {
|
|
|
3827
4159
|
export type __listOfRoute = Route[];
|
|
3828
4160
|
export type __listOfRouteResponse = RouteResponse[];
|
|
3829
4161
|
export type __listOfStage = Stage[];
|
|
4162
|
+
export type __listOfVpcLink = VpcLink[];
|
|
3830
4163
|
export type __listOf__string = __string[];
|
|
3831
4164
|
export type __string = string;
|
|
3832
4165
|
export type __timestampIso8601 = Date;
|