@aws-sdk/client-api-gateway 3.935.0 → 3.938.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/dist-cjs/index.js +5 -3
- package/dist-es/schemas/schemas_0.js +5 -3
- package/dist-types/commands/CreateResourceCommand.d.ts +1 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +1 -0
- package/dist-types/commands/GetMethodCommand.d.ts +1 -0
- package/dist-types/commands/GetResourceCommand.d.ts +1 -0
- package/dist-types/commands/GetResourcesCommand.d.ts +1 -0
- package/dist-types/commands/PutIntegrationCommand.d.ts +2 -0
- package/dist-types/commands/PutMethodCommand.d.ts +1 -0
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +1 -0
- package/dist-types/commands/UpdateMethodCommand.d.ts +1 -0
- package/dist-types/commands/UpdateResourceCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +14 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -672,6 +672,7 @@ const _iHM = "integrationHttpMethod";
|
|
|
672
672
|
const _iR = "integrationResponses";
|
|
673
673
|
const _iS = "identitySource";
|
|
674
674
|
const _iSV = "insecureSkipVerification";
|
|
675
|
+
const _iT = "integrationTarget";
|
|
675
676
|
const _iV = "includeValue";
|
|
676
677
|
const _iVE = "identityValidationExpression";
|
|
677
678
|
const _iVn = "includeValues";
|
|
@@ -2415,8 +2416,8 @@ var Integration = [
|
|
|
2415
2416
|
n0,
|
|
2416
2417
|
_I,
|
|
2417
2418
|
0,
|
|
2418
|
-
[_ty, _hM, _u, _cTo, _cIo, _cr, _rPe, _rTeq, _pB, _cH, _tIM, _cNa, _cKP, _iR, _tC, _rTM],
|
|
2419
|
-
[0, 0, 0, 0, 0, 0, 128 | 0, 128 | 0, 0, 0, 1, 0, 64 | 0, () => MapOfIntegrationResponse, () => TlsConfig, 0],
|
|
2419
|
+
[_ty, _hM, _u, _cTo, _cIo, _cr, _rPe, _rTeq, _pB, _cH, _tIM, _cNa, _cKP, _iR, _tC, _rTM, _iT],
|
|
2420
|
+
[0, 0, 0, 0, 0, 0, 128 | 0, 128 | 0, 0, 0, 1, 0, 64 | 0, () => MapOfIntegrationResponse, () => TlsConfig, 0, 0],
|
|
2420
2421
|
];
|
|
2421
2422
|
var IntegrationResponse = [
|
|
2422
2423
|
3,
|
|
@@ -2514,7 +2515,7 @@ var PutIntegrationRequest = [
|
|
|
2514
2515
|
n0,
|
|
2515
2516
|
_PIR,
|
|
2516
2517
|
0,
|
|
2517
|
-
[_rAI, _rI, _hM, _ty, _iHM, _u, _cTo, _cIo, _cr, _rPe, _rTeq, _pB, _cNa, _cKP, _cH, _tIM, _tC, _rTM],
|
|
2518
|
+
[_rAI, _rI, _hM, _ty, _iHM, _u, _cTo, _cIo, _cr, _rPe, _rTeq, _pB, _cNa, _cKP, _cH, _tIM, _tC, _rTM, _iT],
|
|
2518
2519
|
[
|
|
2519
2520
|
[0, 1],
|
|
2520
2521
|
[0, 1],
|
|
@@ -2545,6 +2546,7 @@ var PutIntegrationRequest = [
|
|
|
2545
2546
|
1,
|
|
2546
2547
|
() => TlsConfig,
|
|
2547
2548
|
0,
|
|
2549
|
+
0,
|
|
2548
2550
|
],
|
|
2549
2551
|
];
|
|
2550
2552
|
var PutIntegrationResponseRequest = [
|
|
@@ -460,6 +460,7 @@ const _iHM = "integrationHttpMethod";
|
|
|
460
460
|
const _iR = "integrationResponses";
|
|
461
461
|
const _iS = "identitySource";
|
|
462
462
|
const _iSV = "insecureSkipVerification";
|
|
463
|
+
const _iT = "integrationTarget";
|
|
463
464
|
const _iV = "includeValue";
|
|
464
465
|
const _iVE = "identityValidationExpression";
|
|
465
466
|
const _iVn = "includeValues";
|
|
@@ -2206,8 +2207,8 @@ export var Integration = [
|
|
|
2206
2207
|
n0,
|
|
2207
2208
|
_I,
|
|
2208
2209
|
0,
|
|
2209
|
-
[_ty, _hM, _u, _cTo, _cIo, _cr, _rPe, _rTeq, _pB, _cH, _tIM, _cNa, _cKP, _iR, _tC, _rTM],
|
|
2210
|
-
[0, 0, 0, 0, 0, 0, 128 | 0, 128 | 0, 0, 0, 1, 0, 64 | 0, () => MapOfIntegrationResponse, () => TlsConfig, 0],
|
|
2210
|
+
[_ty, _hM, _u, _cTo, _cIo, _cr, _rPe, _rTeq, _pB, _cH, _tIM, _cNa, _cKP, _iR, _tC, _rTM, _iT],
|
|
2211
|
+
[0, 0, 0, 0, 0, 0, 128 | 0, 128 | 0, 0, 0, 1, 0, 64 | 0, () => MapOfIntegrationResponse, () => TlsConfig, 0, 0],
|
|
2211
2212
|
];
|
|
2212
2213
|
export var IntegrationResponse = [
|
|
2213
2214
|
3,
|
|
@@ -2305,7 +2306,7 @@ export var PutIntegrationRequest = [
|
|
|
2305
2306
|
n0,
|
|
2306
2307
|
_PIR,
|
|
2307
2308
|
0,
|
|
2308
|
-
[_rAI, _rI, _hM, _ty, _iHM, _u, _cTo, _cIo, _cr, _rPe, _rTeq, _pB, _cNa, _cKP, _cH, _tIM, _tC, _rTM],
|
|
2309
|
+
[_rAI, _rI, _hM, _ty, _iHM, _u, _cTo, _cIo, _cr, _rPe, _rTeq, _pB, _cNa, _cKP, _cH, _tIM, _tC, _rTM, _iT],
|
|
2309
2310
|
[
|
|
2310
2311
|
[0, 1],
|
|
2311
2312
|
[0, 1],
|
|
@@ -2336,6 +2337,7 @@ export var PutIntegrationRequest = [
|
|
|
2336
2337
|
1,
|
|
2337
2338
|
() => TlsConfig,
|
|
2338
2339
|
0,
|
|
2340
|
+
0,
|
|
2339
2341
|
],
|
|
2340
2342
|
];
|
|
2341
2343
|
export var PutIntegrationResponseRequest = [
|
|
@@ -102,6 +102,7 @@ declare const CreateResourceCommand_base: {
|
|
|
102
102
|
* // insecureSkipVerification: true || false,
|
|
103
103
|
* // },
|
|
104
104
|
* // responseTransferMode: "BUFFERED" || "STREAM",
|
|
105
|
+
* // integrationTarget: "STRING_VALUE",
|
|
105
106
|
* // },
|
|
106
107
|
* // authorizationScopes: [
|
|
107
108
|
* // "STRING_VALUE",
|
|
@@ -96,6 +96,7 @@ declare const GetMethodCommand_base: {
|
|
|
96
96
|
* // insecureSkipVerification: true || false,
|
|
97
97
|
* // },
|
|
98
98
|
* // responseTransferMode: "BUFFERED" || "STREAM",
|
|
99
|
+
* // integrationTarget: "STRING_VALUE",
|
|
99
100
|
* // },
|
|
100
101
|
* // authorizationScopes: [
|
|
101
102
|
* // "STRING_VALUE",
|
|
@@ -104,6 +104,7 @@ declare const GetResourceCommand_base: {
|
|
|
104
104
|
* // insecureSkipVerification: true || false,
|
|
105
105
|
* // },
|
|
106
106
|
* // responseTransferMode: "BUFFERED" || "STREAM",
|
|
107
|
+
* // integrationTarget: "STRING_VALUE",
|
|
107
108
|
* // },
|
|
108
109
|
* // authorizationScopes: [
|
|
109
110
|
* // "STRING_VALUE",
|
|
@@ -107,6 +107,7 @@ declare const GetResourcesCommand_base: {
|
|
|
107
107
|
* // insecureSkipVerification: true || false,
|
|
108
108
|
* // },
|
|
109
109
|
* // responseTransferMode: "BUFFERED" || "STREAM",
|
|
110
|
+
* // integrationTarget: "STRING_VALUE",
|
|
110
111
|
* // },
|
|
111
112
|
* // authorizationScopes: [
|
|
112
113
|
* // "STRING_VALUE",
|
|
@@ -63,6 +63,7 @@ declare const PutIntegrationCommand_base: {
|
|
|
63
63
|
* insecureSkipVerification: true || false,
|
|
64
64
|
* },
|
|
65
65
|
* responseTransferMode: "BUFFERED" || "STREAM",
|
|
66
|
+
* integrationTarget: "STRING_VALUE",
|
|
66
67
|
* };
|
|
67
68
|
* const command = new PutIntegrationCommand(input);
|
|
68
69
|
* const response = await client.send(command);
|
|
@@ -103,6 +104,7 @@ declare const PutIntegrationCommand_base: {
|
|
|
103
104
|
* // insecureSkipVerification: true || false,
|
|
104
105
|
* // },
|
|
105
106
|
* // responseTransferMode: "BUFFERED" || "STREAM",
|
|
107
|
+
* // integrationTarget: "STRING_VALUE",
|
|
106
108
|
* // };
|
|
107
109
|
*
|
|
108
110
|
* ```
|
|
@@ -110,6 +110,7 @@ declare const PutMethodCommand_base: {
|
|
|
110
110
|
* // insecureSkipVerification: true || false,
|
|
111
111
|
* // },
|
|
112
112
|
* // responseTransferMode: "BUFFERED" || "STREAM",
|
|
113
|
+
* // integrationTarget: "STRING_VALUE",
|
|
113
114
|
* // },
|
|
114
115
|
* // authorizationScopes: [
|
|
115
116
|
* // "STRING_VALUE",
|
|
@@ -104,6 +104,7 @@ declare const UpdateMethodCommand_base: {
|
|
|
104
104
|
* // insecureSkipVerification: true || false,
|
|
105
105
|
* // },
|
|
106
106
|
* // responseTransferMode: "BUFFERED" || "STREAM",
|
|
107
|
+
* // integrationTarget: "STRING_VALUE",
|
|
107
108
|
* // },
|
|
108
109
|
* // authorizationScopes: [
|
|
109
110
|
* // "STRING_VALUE",
|
|
@@ -109,6 +109,7 @@ declare const UpdateResourceCommand_base: {
|
|
|
109
109
|
* // insecureSkipVerification: true || false,
|
|
110
110
|
* // },
|
|
111
111
|
* // responseTransferMode: "BUFFERED" || "STREAM",
|
|
112
|
+
* // integrationTarget: "STRING_VALUE",
|
|
112
113
|
* // },
|
|
113
114
|
* // authorizationScopes: [
|
|
114
115
|
* // "STRING_VALUE",
|
|
@@ -1357,6 +1357,13 @@ export interface Integration {
|
|
|
1357
1357
|
* @public
|
|
1358
1358
|
*/
|
|
1359
1359
|
responseTransferMode?: ResponseTransferMode | undefined;
|
|
1360
|
+
/**
|
|
1361
|
+
* <p>
|
|
1362
|
+
* The ALB or NLB listener to send the request to.
|
|
1363
|
+
* </p>
|
|
1364
|
+
* @public
|
|
1365
|
+
*/
|
|
1366
|
+
integrationTarget?: string | undefined;
|
|
1360
1367
|
}
|
|
1361
1368
|
/**
|
|
1362
1369
|
* <p>Represents a method response of a given HTTP status code returned to the client. The method response is passed from the back end through the associated integration response that can be transformed using a mapping template. </p>
|
|
@@ -4193,6 +4200,13 @@ export interface PutIntegrationRequest {
|
|
|
4193
4200
|
* @public
|
|
4194
4201
|
*/
|
|
4195
4202
|
responseTransferMode?: ResponseTransferMode | undefined;
|
|
4203
|
+
/**
|
|
4204
|
+
* <p>
|
|
4205
|
+
* The ALB or NLB listener to send the request to.
|
|
4206
|
+
* </p>
|
|
4207
|
+
* @public
|
|
4208
|
+
*/
|
|
4209
|
+
integrationTarget?: string | undefined;
|
|
4196
4210
|
}
|
|
4197
4211
|
/**
|
|
4198
4212
|
* <p>Represents a put integration response request.</p>
|
|
@@ -302,6 +302,7 @@ export interface Integration {
|
|
|
302
302
|
integrationResponses?: Record<string, IntegrationResponse> | undefined;
|
|
303
303
|
tlsConfig?: TlsConfig | undefined;
|
|
304
304
|
responseTransferMode?: ResponseTransferMode | undefined;
|
|
305
|
+
integrationTarget?: string | undefined;
|
|
305
306
|
}
|
|
306
307
|
export interface MethodResponse {
|
|
307
308
|
statusCode?: string | undefined;
|
|
@@ -951,6 +952,7 @@ export interface PutIntegrationRequest {
|
|
|
951
952
|
timeoutInMillis?: number | undefined;
|
|
952
953
|
tlsConfig?: TlsConfig | undefined;
|
|
953
954
|
responseTransferMode?: ResponseTransferMode | undefined;
|
|
955
|
+
integrationTarget?: string | undefined;
|
|
954
956
|
}
|
|
955
957
|
export interface PutIntegrationResponseRequest {
|
|
956
958
|
restApiId: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-api-gateway",
|
|
3
3
|
"description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.938.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-api-gateway",
|
|
@@ -20,18 +20,18 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
25
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
26
|
-
"@aws-sdk/middleware-logger": "3.
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
28
|
-
"@aws-sdk/middleware-sdk-api-gateway": "3.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
31
|
-
"@aws-sdk/types": "3.
|
|
32
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.936.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.936.0",
|
|
25
|
+
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
|
+
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
+
"@aws-sdk/middleware-sdk-api-gateway": "3.936.0",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "3.936.0",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
31
|
+
"@aws-sdk/types": "3.936.0",
|
|
32
|
+
"@aws-sdk/util-endpoints": "3.936.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-node": "3.936.0",
|
|
35
35
|
"@smithy/config-resolver": "^4.4.3",
|
|
36
36
|
"@smithy/core": "^3.18.5",
|
|
37
37
|
"@smithy/fetch-http-handler": "^5.3.6",
|