@aws-sdk/client-apigatewayv2 3.301.0 → 3.303.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/models/models_0.js +68 -82
- package/dist-es/models/models_0.js +68 -82
- package/dist-types/models/models_0.d.ts +138 -68
- package/dist-types/ts3.4/models/models_0.d.ts +92 -68
- package/package.json +34 -34
|
@@ -2,88 +2,74 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TooManyRequestsException = exports.NotFoundException = exports.ConflictException = exports.BadRequestException = exports.AccessDeniedException = exports.VpcLinkVersion = exports.VpcLinkStatus = exports.LoggingLevel = exports.AuthorizationType = exports.PassthroughBehavior = exports.IntegrationType = exports.ContentHandlingStrategy = exports.ConnectionType = exports.SecurityPolicy = exports.EndpointType = exports.DomainNameStatus = exports.DeploymentStatus = exports.AuthorizerType = exports.ProtocolType = void 0;
|
|
4
4
|
const ApiGatewayV2ServiceException_1 = require("./ApiGatewayV2ServiceException");
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
LoggingLevel["OFF"] = "OFF";
|
|
74
|
-
})(LoggingLevel = exports.LoggingLevel || (exports.LoggingLevel = {}));
|
|
75
|
-
var VpcLinkStatus;
|
|
76
|
-
(function (VpcLinkStatus) {
|
|
77
|
-
VpcLinkStatus["AVAILABLE"] = "AVAILABLE";
|
|
78
|
-
VpcLinkStatus["DELETING"] = "DELETING";
|
|
79
|
-
VpcLinkStatus["FAILED"] = "FAILED";
|
|
80
|
-
VpcLinkStatus["INACTIVE"] = "INACTIVE";
|
|
81
|
-
VpcLinkStatus["PENDING"] = "PENDING";
|
|
82
|
-
})(VpcLinkStatus = exports.VpcLinkStatus || (exports.VpcLinkStatus = {}));
|
|
83
|
-
var VpcLinkVersion;
|
|
84
|
-
(function (VpcLinkVersion) {
|
|
85
|
-
VpcLinkVersion["V2"] = "V2";
|
|
86
|
-
})(VpcLinkVersion = exports.VpcLinkVersion || (exports.VpcLinkVersion = {}));
|
|
5
|
+
exports.ProtocolType = {
|
|
6
|
+
HTTP: "HTTP",
|
|
7
|
+
WEBSOCKET: "WEBSOCKET",
|
|
8
|
+
};
|
|
9
|
+
exports.AuthorizerType = {
|
|
10
|
+
JWT: "JWT",
|
|
11
|
+
REQUEST: "REQUEST",
|
|
12
|
+
};
|
|
13
|
+
exports.DeploymentStatus = {
|
|
14
|
+
DEPLOYED: "DEPLOYED",
|
|
15
|
+
FAILED: "FAILED",
|
|
16
|
+
PENDING: "PENDING",
|
|
17
|
+
};
|
|
18
|
+
exports.DomainNameStatus = {
|
|
19
|
+
AVAILABLE: "AVAILABLE",
|
|
20
|
+
PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT",
|
|
21
|
+
PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION",
|
|
22
|
+
UPDATING: "UPDATING",
|
|
23
|
+
};
|
|
24
|
+
exports.EndpointType = {
|
|
25
|
+
EDGE: "EDGE",
|
|
26
|
+
REGIONAL: "REGIONAL",
|
|
27
|
+
};
|
|
28
|
+
exports.SecurityPolicy = {
|
|
29
|
+
TLS_1_0: "TLS_1_0",
|
|
30
|
+
TLS_1_2: "TLS_1_2",
|
|
31
|
+
};
|
|
32
|
+
exports.ConnectionType = {
|
|
33
|
+
INTERNET: "INTERNET",
|
|
34
|
+
VPC_LINK: "VPC_LINK",
|
|
35
|
+
};
|
|
36
|
+
exports.ContentHandlingStrategy = {
|
|
37
|
+
CONVERT_TO_BINARY: "CONVERT_TO_BINARY",
|
|
38
|
+
CONVERT_TO_TEXT: "CONVERT_TO_TEXT",
|
|
39
|
+
};
|
|
40
|
+
exports.IntegrationType = {
|
|
41
|
+
AWS: "AWS",
|
|
42
|
+
AWS_PROXY: "AWS_PROXY",
|
|
43
|
+
HTTP: "HTTP",
|
|
44
|
+
HTTP_PROXY: "HTTP_PROXY",
|
|
45
|
+
MOCK: "MOCK",
|
|
46
|
+
};
|
|
47
|
+
exports.PassthroughBehavior = {
|
|
48
|
+
NEVER: "NEVER",
|
|
49
|
+
WHEN_NO_MATCH: "WHEN_NO_MATCH",
|
|
50
|
+
WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES",
|
|
51
|
+
};
|
|
52
|
+
exports.AuthorizationType = {
|
|
53
|
+
AWS_IAM: "AWS_IAM",
|
|
54
|
+
CUSTOM: "CUSTOM",
|
|
55
|
+
JWT: "JWT",
|
|
56
|
+
NONE: "NONE",
|
|
57
|
+
};
|
|
58
|
+
exports.LoggingLevel = {
|
|
59
|
+
ERROR: "ERROR",
|
|
60
|
+
INFO: "INFO",
|
|
61
|
+
OFF: "OFF",
|
|
62
|
+
};
|
|
63
|
+
exports.VpcLinkStatus = {
|
|
64
|
+
AVAILABLE: "AVAILABLE",
|
|
65
|
+
DELETING: "DELETING",
|
|
66
|
+
FAILED: "FAILED",
|
|
67
|
+
INACTIVE: "INACTIVE",
|
|
68
|
+
PENDING: "PENDING",
|
|
69
|
+
};
|
|
70
|
+
exports.VpcLinkVersion = {
|
|
71
|
+
V2: "V2",
|
|
72
|
+
};
|
|
87
73
|
class AccessDeniedException extends ApiGatewayV2ServiceException_1.ApiGatewayV2ServiceException {
|
|
88
74
|
constructor(opts) {
|
|
89
75
|
super({
|
|
@@ -1,86 +1,72 @@
|
|
|
1
1
|
import { ApiGatewayV2ServiceException as __BaseException } from "./ApiGatewayV2ServiceException";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
export
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
LoggingLevel["OFF"] = "OFF";
|
|
71
|
-
})(LoggingLevel || (LoggingLevel = {}));
|
|
72
|
-
export var VpcLinkStatus;
|
|
73
|
-
(function (VpcLinkStatus) {
|
|
74
|
-
VpcLinkStatus["AVAILABLE"] = "AVAILABLE";
|
|
75
|
-
VpcLinkStatus["DELETING"] = "DELETING";
|
|
76
|
-
VpcLinkStatus["FAILED"] = "FAILED";
|
|
77
|
-
VpcLinkStatus["INACTIVE"] = "INACTIVE";
|
|
78
|
-
VpcLinkStatus["PENDING"] = "PENDING";
|
|
79
|
-
})(VpcLinkStatus || (VpcLinkStatus = {}));
|
|
80
|
-
export var VpcLinkVersion;
|
|
81
|
-
(function (VpcLinkVersion) {
|
|
82
|
-
VpcLinkVersion["V2"] = "V2";
|
|
83
|
-
})(VpcLinkVersion || (VpcLinkVersion = {}));
|
|
2
|
+
export const ProtocolType = {
|
|
3
|
+
HTTP: "HTTP",
|
|
4
|
+
WEBSOCKET: "WEBSOCKET",
|
|
5
|
+
};
|
|
6
|
+
export const AuthorizerType = {
|
|
7
|
+
JWT: "JWT",
|
|
8
|
+
REQUEST: "REQUEST",
|
|
9
|
+
};
|
|
10
|
+
export const DeploymentStatus = {
|
|
11
|
+
DEPLOYED: "DEPLOYED",
|
|
12
|
+
FAILED: "FAILED",
|
|
13
|
+
PENDING: "PENDING",
|
|
14
|
+
};
|
|
15
|
+
export const DomainNameStatus = {
|
|
16
|
+
AVAILABLE: "AVAILABLE",
|
|
17
|
+
PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT",
|
|
18
|
+
PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION",
|
|
19
|
+
UPDATING: "UPDATING",
|
|
20
|
+
};
|
|
21
|
+
export const EndpointType = {
|
|
22
|
+
EDGE: "EDGE",
|
|
23
|
+
REGIONAL: "REGIONAL",
|
|
24
|
+
};
|
|
25
|
+
export const SecurityPolicy = {
|
|
26
|
+
TLS_1_0: "TLS_1_0",
|
|
27
|
+
TLS_1_2: "TLS_1_2",
|
|
28
|
+
};
|
|
29
|
+
export const ConnectionType = {
|
|
30
|
+
INTERNET: "INTERNET",
|
|
31
|
+
VPC_LINK: "VPC_LINK",
|
|
32
|
+
};
|
|
33
|
+
export const ContentHandlingStrategy = {
|
|
34
|
+
CONVERT_TO_BINARY: "CONVERT_TO_BINARY",
|
|
35
|
+
CONVERT_TO_TEXT: "CONVERT_TO_TEXT",
|
|
36
|
+
};
|
|
37
|
+
export const IntegrationType = {
|
|
38
|
+
AWS: "AWS",
|
|
39
|
+
AWS_PROXY: "AWS_PROXY",
|
|
40
|
+
HTTP: "HTTP",
|
|
41
|
+
HTTP_PROXY: "HTTP_PROXY",
|
|
42
|
+
MOCK: "MOCK",
|
|
43
|
+
};
|
|
44
|
+
export const PassthroughBehavior = {
|
|
45
|
+
NEVER: "NEVER",
|
|
46
|
+
WHEN_NO_MATCH: "WHEN_NO_MATCH",
|
|
47
|
+
WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES",
|
|
48
|
+
};
|
|
49
|
+
export const AuthorizationType = {
|
|
50
|
+
AWS_IAM: "AWS_IAM",
|
|
51
|
+
CUSTOM: "CUSTOM",
|
|
52
|
+
JWT: "JWT",
|
|
53
|
+
NONE: "NONE",
|
|
54
|
+
};
|
|
55
|
+
export const LoggingLevel = {
|
|
56
|
+
ERROR: "ERROR",
|
|
57
|
+
INFO: "INFO",
|
|
58
|
+
OFF: "OFF",
|
|
59
|
+
};
|
|
60
|
+
export const VpcLinkStatus = {
|
|
61
|
+
AVAILABLE: "AVAILABLE",
|
|
62
|
+
DELETING: "DELETING",
|
|
63
|
+
FAILED: "FAILED",
|
|
64
|
+
INACTIVE: "INACTIVE",
|
|
65
|
+
PENDING: "PENDING",
|
|
66
|
+
};
|
|
67
|
+
export const VpcLinkVersion = {
|
|
68
|
+
V2: "V2",
|
|
69
|
+
};
|
|
84
70
|
export class AccessDeniedException extends __BaseException {
|
|
85
71
|
constructor(opts) {
|
|
86
72
|
super({
|
|
@@ -32,11 +32,16 @@ export interface Cors {
|
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* @public
|
|
35
|
+
* @enum
|
|
35
36
|
*/
|
|
36
|
-
export declare
|
|
37
|
-
HTTP
|
|
38
|
-
WEBSOCKET
|
|
39
|
-
}
|
|
37
|
+
export declare const ProtocolType: {
|
|
38
|
+
readonly HTTP: "HTTP";
|
|
39
|
+
readonly WEBSOCKET: "WEBSOCKET";
|
|
40
|
+
};
|
|
41
|
+
/**
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
export type ProtocolType = (typeof ProtocolType)[keyof typeof ProtocolType];
|
|
40
45
|
/**
|
|
41
46
|
* @public
|
|
42
47
|
* <p>Represents an API.</p>
|
|
@@ -131,11 +136,16 @@ export interface ApiMapping {
|
|
|
131
136
|
}
|
|
132
137
|
/**
|
|
133
138
|
* @public
|
|
139
|
+
* @enum
|
|
134
140
|
*/
|
|
135
|
-
export declare
|
|
136
|
-
JWT
|
|
137
|
-
REQUEST
|
|
138
|
-
}
|
|
141
|
+
export declare const AuthorizerType: {
|
|
142
|
+
readonly JWT: "JWT";
|
|
143
|
+
readonly REQUEST: "REQUEST";
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export type AuthorizerType = (typeof AuthorizerType)[keyof typeof AuthorizerType];
|
|
139
149
|
/**
|
|
140
150
|
* @public
|
|
141
151
|
* <p>Represents the configuration of a JWT authorizer. Required for the JWT authorizer type. Supported only for HTTP APIs.</p>
|
|
@@ -204,12 +214,17 @@ export interface Authorizer {
|
|
|
204
214
|
}
|
|
205
215
|
/**
|
|
206
216
|
* @public
|
|
217
|
+
* @enum
|
|
207
218
|
*/
|
|
208
|
-
export declare
|
|
209
|
-
DEPLOYED
|
|
210
|
-
FAILED
|
|
211
|
-
PENDING
|
|
212
|
-
}
|
|
219
|
+
export declare const DeploymentStatus: {
|
|
220
|
+
readonly DEPLOYED: "DEPLOYED";
|
|
221
|
+
readonly FAILED: "FAILED";
|
|
222
|
+
readonly PENDING: "PENDING";
|
|
223
|
+
};
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export type DeploymentStatus = (typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
213
228
|
/**
|
|
214
229
|
* @public
|
|
215
230
|
* <p>An immutable representation of an API that can be called by users. A Deployment must be associated with a Stage for it to be callable over the internet.</p>
|
|
@@ -242,27 +257,42 @@ export interface Deployment {
|
|
|
242
257
|
}
|
|
243
258
|
/**
|
|
244
259
|
* @public
|
|
260
|
+
* @enum
|
|
245
261
|
*/
|
|
246
|
-
export declare
|
|
247
|
-
AVAILABLE
|
|
248
|
-
PENDING_CERTIFICATE_REIMPORT
|
|
249
|
-
PENDING_OWNERSHIP_VERIFICATION
|
|
250
|
-
UPDATING
|
|
251
|
-
}
|
|
262
|
+
export declare const DomainNameStatus: {
|
|
263
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
264
|
+
readonly PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT";
|
|
265
|
+
readonly PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION";
|
|
266
|
+
readonly UPDATING: "UPDATING";
|
|
267
|
+
};
|
|
252
268
|
/**
|
|
253
269
|
* @public
|
|
254
270
|
*/
|
|
255
|
-
export
|
|
256
|
-
EDGE = "EDGE",
|
|
257
|
-
REGIONAL = "REGIONAL"
|
|
258
|
-
}
|
|
271
|
+
export type DomainNameStatus = (typeof DomainNameStatus)[keyof typeof DomainNameStatus];
|
|
259
272
|
/**
|
|
260
273
|
* @public
|
|
274
|
+
* @enum
|
|
261
275
|
*/
|
|
262
|
-
export declare
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
}
|
|
276
|
+
export declare const EndpointType: {
|
|
277
|
+
readonly EDGE: "EDGE";
|
|
278
|
+
readonly REGIONAL: "REGIONAL";
|
|
279
|
+
};
|
|
280
|
+
/**
|
|
281
|
+
* @public
|
|
282
|
+
*/
|
|
283
|
+
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
284
|
+
/**
|
|
285
|
+
* @public
|
|
286
|
+
* @enum
|
|
287
|
+
*/
|
|
288
|
+
export declare const SecurityPolicy: {
|
|
289
|
+
readonly TLS_1_0: "TLS_1_0";
|
|
290
|
+
readonly TLS_1_2: "TLS_1_2";
|
|
291
|
+
};
|
|
292
|
+
/**
|
|
293
|
+
* @public
|
|
294
|
+
*/
|
|
295
|
+
export type SecurityPolicy = (typeof SecurityPolicy)[keyof typeof SecurityPolicy];
|
|
266
296
|
/**
|
|
267
297
|
* @public
|
|
268
298
|
* <p>The domain name configuration.</p>
|
|
@@ -354,36 +384,56 @@ export interface DomainName {
|
|
|
354
384
|
}
|
|
355
385
|
/**
|
|
356
386
|
* @public
|
|
387
|
+
* @enum
|
|
357
388
|
*/
|
|
358
|
-
export declare
|
|
359
|
-
INTERNET
|
|
360
|
-
VPC_LINK
|
|
361
|
-
}
|
|
389
|
+
export declare const ConnectionType: {
|
|
390
|
+
readonly INTERNET: "INTERNET";
|
|
391
|
+
readonly VPC_LINK: "VPC_LINK";
|
|
392
|
+
};
|
|
362
393
|
/**
|
|
363
394
|
* @public
|
|
364
395
|
*/
|
|
365
|
-
export
|
|
366
|
-
CONVERT_TO_BINARY = "CONVERT_TO_BINARY",
|
|
367
|
-
CONVERT_TO_TEXT = "CONVERT_TO_TEXT"
|
|
368
|
-
}
|
|
396
|
+
export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
|
|
369
397
|
/**
|
|
370
398
|
* @public
|
|
399
|
+
* @enum
|
|
371
400
|
*/
|
|
372
|
-
export declare
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
HTTP_PROXY = "HTTP_PROXY",
|
|
377
|
-
MOCK = "MOCK"
|
|
378
|
-
}
|
|
401
|
+
export declare const ContentHandlingStrategy: {
|
|
402
|
+
readonly CONVERT_TO_BINARY: "CONVERT_TO_BINARY";
|
|
403
|
+
readonly CONVERT_TO_TEXT: "CONVERT_TO_TEXT";
|
|
404
|
+
};
|
|
379
405
|
/**
|
|
380
406
|
* @public
|
|
381
407
|
*/
|
|
382
|
-
export
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
408
|
+
export type ContentHandlingStrategy = (typeof ContentHandlingStrategy)[keyof typeof ContentHandlingStrategy];
|
|
409
|
+
/**
|
|
410
|
+
* @public
|
|
411
|
+
* @enum
|
|
412
|
+
*/
|
|
413
|
+
export declare const IntegrationType: {
|
|
414
|
+
readonly AWS: "AWS";
|
|
415
|
+
readonly AWS_PROXY: "AWS_PROXY";
|
|
416
|
+
readonly HTTP: "HTTP";
|
|
417
|
+
readonly HTTP_PROXY: "HTTP_PROXY";
|
|
418
|
+
readonly MOCK: "MOCK";
|
|
419
|
+
};
|
|
420
|
+
/**
|
|
421
|
+
* @public
|
|
422
|
+
*/
|
|
423
|
+
export type IntegrationType = (typeof IntegrationType)[keyof typeof IntegrationType];
|
|
424
|
+
/**
|
|
425
|
+
* @public
|
|
426
|
+
* @enum
|
|
427
|
+
*/
|
|
428
|
+
export declare const PassthroughBehavior: {
|
|
429
|
+
readonly NEVER: "NEVER";
|
|
430
|
+
readonly WHEN_NO_MATCH: "WHEN_NO_MATCH";
|
|
431
|
+
readonly WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES";
|
|
432
|
+
};
|
|
433
|
+
/**
|
|
434
|
+
* @public
|
|
435
|
+
*/
|
|
436
|
+
export type PassthroughBehavior = (typeof PassthroughBehavior)[keyof typeof PassthroughBehavior];
|
|
387
437
|
/**
|
|
388
438
|
* @public
|
|
389
439
|
* <p>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.</p>
|
|
@@ -543,13 +593,18 @@ export interface Model {
|
|
|
543
593
|
}
|
|
544
594
|
/**
|
|
545
595
|
* @public
|
|
596
|
+
* @enum
|
|
546
597
|
*/
|
|
547
|
-
export declare
|
|
548
|
-
AWS_IAM
|
|
549
|
-
CUSTOM
|
|
550
|
-
JWT
|
|
551
|
-
NONE
|
|
552
|
-
}
|
|
598
|
+
export declare const AuthorizationType: {
|
|
599
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
600
|
+
readonly CUSTOM: "CUSTOM";
|
|
601
|
+
readonly JWT: "JWT";
|
|
602
|
+
readonly NONE: "NONE";
|
|
603
|
+
};
|
|
604
|
+
/**
|
|
605
|
+
* @public
|
|
606
|
+
*/
|
|
607
|
+
export type AuthorizationType = (typeof AuthorizationType)[keyof typeof AuthorizationType];
|
|
553
608
|
/**
|
|
554
609
|
* @public
|
|
555
610
|
* <p>Validation constraints imposed on parameters of a request (path, query string, headers).</p>
|
|
@@ -660,12 +715,17 @@ export interface AccessLogSettings {
|
|
|
660
715
|
}
|
|
661
716
|
/**
|
|
662
717
|
* @public
|
|
718
|
+
* @enum
|
|
663
719
|
*/
|
|
664
|
-
export declare
|
|
665
|
-
ERROR
|
|
666
|
-
INFO
|
|
667
|
-
OFF
|
|
668
|
-
}
|
|
720
|
+
export declare const LoggingLevel: {
|
|
721
|
+
readonly ERROR: "ERROR";
|
|
722
|
+
readonly INFO: "INFO";
|
|
723
|
+
readonly OFF: "OFF";
|
|
724
|
+
};
|
|
725
|
+
/**
|
|
726
|
+
* @public
|
|
727
|
+
*/
|
|
728
|
+
export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
|
|
669
729
|
/**
|
|
670
730
|
* @public
|
|
671
731
|
* <p>Represents a collection of route settings.</p>
|
|
@@ -756,20 +816,30 @@ export interface Stage {
|
|
|
756
816
|
}
|
|
757
817
|
/**
|
|
758
818
|
* @public
|
|
819
|
+
* @enum
|
|
759
820
|
*/
|
|
760
|
-
export declare
|
|
761
|
-
AVAILABLE
|
|
762
|
-
DELETING
|
|
763
|
-
FAILED
|
|
764
|
-
INACTIVE
|
|
765
|
-
PENDING
|
|
766
|
-
}
|
|
821
|
+
export declare const VpcLinkStatus: {
|
|
822
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
823
|
+
readonly DELETING: "DELETING";
|
|
824
|
+
readonly FAILED: "FAILED";
|
|
825
|
+
readonly INACTIVE: "INACTIVE";
|
|
826
|
+
readonly PENDING: "PENDING";
|
|
827
|
+
};
|
|
767
828
|
/**
|
|
768
829
|
* @public
|
|
769
830
|
*/
|
|
770
|
-
export
|
|
771
|
-
|
|
772
|
-
|
|
831
|
+
export type VpcLinkStatus = (typeof VpcLinkStatus)[keyof typeof VpcLinkStatus];
|
|
832
|
+
/**
|
|
833
|
+
* @public
|
|
834
|
+
* @enum
|
|
835
|
+
*/
|
|
836
|
+
export declare const VpcLinkVersion: {
|
|
837
|
+
readonly V2: "V2";
|
|
838
|
+
};
|
|
839
|
+
/**
|
|
840
|
+
* @public
|
|
841
|
+
*/
|
|
842
|
+
export type VpcLinkVersion = (typeof VpcLinkVersion)[keyof typeof VpcLinkVersion];
|
|
773
843
|
/**
|
|
774
844
|
* @public
|
|
775
845
|
* <p>Represents a VPC link.</p>
|
|
@@ -8,10 +8,11 @@ export interface Cors {
|
|
|
8
8
|
ExposeHeaders?: string[];
|
|
9
9
|
MaxAge?: number;
|
|
10
10
|
}
|
|
11
|
-
export declare
|
|
12
|
-
HTTP
|
|
13
|
-
WEBSOCKET
|
|
14
|
-
}
|
|
11
|
+
export declare const ProtocolType: {
|
|
12
|
+
readonly HTTP: "HTTP";
|
|
13
|
+
readonly WEBSOCKET: "WEBSOCKET";
|
|
14
|
+
};
|
|
15
|
+
export type ProtocolType = (typeof ProtocolType)[keyof typeof ProtocolType];
|
|
15
16
|
export interface Api {
|
|
16
17
|
ApiEndpoint?: string;
|
|
17
18
|
ApiGatewayManaged?: boolean;
|
|
@@ -36,10 +37,12 @@ export interface ApiMapping {
|
|
|
36
37
|
ApiMappingKey?: string;
|
|
37
38
|
Stage: string | undefined;
|
|
38
39
|
}
|
|
39
|
-
export declare
|
|
40
|
-
JWT
|
|
41
|
-
REQUEST
|
|
42
|
-
}
|
|
40
|
+
export declare const AuthorizerType: {
|
|
41
|
+
readonly JWT: "JWT";
|
|
42
|
+
readonly REQUEST: "REQUEST";
|
|
43
|
+
};
|
|
44
|
+
export type AuthorizerType =
|
|
45
|
+
(typeof AuthorizerType)[keyof typeof AuthorizerType];
|
|
43
46
|
export interface JWTConfiguration {
|
|
44
47
|
Audience?: string[];
|
|
45
48
|
Issuer?: string;
|
|
@@ -57,11 +60,13 @@ export interface Authorizer {
|
|
|
57
60
|
JwtConfiguration?: JWTConfiguration;
|
|
58
61
|
Name: string | undefined;
|
|
59
62
|
}
|
|
60
|
-
export declare
|
|
61
|
-
DEPLOYED
|
|
62
|
-
FAILED
|
|
63
|
-
PENDING
|
|
64
|
-
}
|
|
63
|
+
export declare const DeploymentStatus: {
|
|
64
|
+
readonly DEPLOYED: "DEPLOYED";
|
|
65
|
+
readonly FAILED: "FAILED";
|
|
66
|
+
readonly PENDING: "PENDING";
|
|
67
|
+
};
|
|
68
|
+
export type DeploymentStatus =
|
|
69
|
+
(typeof DeploymentStatus)[keyof typeof DeploymentStatus];
|
|
65
70
|
export interface Deployment {
|
|
66
71
|
AutoDeployed?: boolean;
|
|
67
72
|
CreatedDate?: Date;
|
|
@@ -70,20 +75,25 @@ export interface Deployment {
|
|
|
70
75
|
DeploymentStatusMessage?: string;
|
|
71
76
|
Description?: string;
|
|
72
77
|
}
|
|
73
|
-
export declare
|
|
74
|
-
AVAILABLE
|
|
75
|
-
PENDING_CERTIFICATE_REIMPORT
|
|
76
|
-
PENDING_OWNERSHIP_VERIFICATION
|
|
77
|
-
UPDATING
|
|
78
|
-
}
|
|
79
|
-
export
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
78
|
+
export declare const DomainNameStatus: {
|
|
79
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
80
|
+
readonly PENDING_CERTIFICATE_REIMPORT: "PENDING_CERTIFICATE_REIMPORT";
|
|
81
|
+
readonly PENDING_OWNERSHIP_VERIFICATION: "PENDING_OWNERSHIP_VERIFICATION";
|
|
82
|
+
readonly UPDATING: "UPDATING";
|
|
83
|
+
};
|
|
84
|
+
export type DomainNameStatus =
|
|
85
|
+
(typeof DomainNameStatus)[keyof typeof DomainNameStatus];
|
|
86
|
+
export declare const EndpointType: {
|
|
87
|
+
readonly EDGE: "EDGE";
|
|
88
|
+
readonly REGIONAL: "REGIONAL";
|
|
89
|
+
};
|
|
90
|
+
export type EndpointType = (typeof EndpointType)[keyof typeof EndpointType];
|
|
91
|
+
export declare const SecurityPolicy: {
|
|
92
|
+
readonly TLS_1_0: "TLS_1_0";
|
|
93
|
+
readonly TLS_1_2: "TLS_1_2";
|
|
94
|
+
};
|
|
95
|
+
export type SecurityPolicy =
|
|
96
|
+
(typeof SecurityPolicy)[keyof typeof SecurityPolicy];
|
|
87
97
|
export interface DomainNameConfiguration {
|
|
88
98
|
ApiGatewayDomainName?: string;
|
|
89
99
|
CertificateArn?: string;
|
|
@@ -108,26 +118,34 @@ export interface DomainName {
|
|
|
108
118
|
MutualTlsAuthentication?: MutualTlsAuthentication;
|
|
109
119
|
Tags?: Record<string, string>;
|
|
110
120
|
}
|
|
111
|
-
export declare
|
|
112
|
-
INTERNET
|
|
113
|
-
VPC_LINK
|
|
114
|
-
}
|
|
115
|
-
export
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
121
|
+
export declare const ConnectionType: {
|
|
122
|
+
readonly INTERNET: "INTERNET";
|
|
123
|
+
readonly VPC_LINK: "VPC_LINK";
|
|
124
|
+
};
|
|
125
|
+
export type ConnectionType =
|
|
126
|
+
(typeof ConnectionType)[keyof typeof ConnectionType];
|
|
127
|
+
export declare const ContentHandlingStrategy: {
|
|
128
|
+
readonly CONVERT_TO_BINARY: "CONVERT_TO_BINARY";
|
|
129
|
+
readonly CONVERT_TO_TEXT: "CONVERT_TO_TEXT";
|
|
130
|
+
};
|
|
131
|
+
export type ContentHandlingStrategy =
|
|
132
|
+
(typeof ContentHandlingStrategy)[keyof typeof ContentHandlingStrategy];
|
|
133
|
+
export declare const IntegrationType: {
|
|
134
|
+
readonly AWS: "AWS";
|
|
135
|
+
readonly AWS_PROXY: "AWS_PROXY";
|
|
136
|
+
readonly HTTP: "HTTP";
|
|
137
|
+
readonly HTTP_PROXY: "HTTP_PROXY";
|
|
138
|
+
readonly MOCK: "MOCK";
|
|
139
|
+
};
|
|
140
|
+
export type IntegrationType =
|
|
141
|
+
(typeof IntegrationType)[keyof typeof IntegrationType];
|
|
142
|
+
export declare const PassthroughBehavior: {
|
|
143
|
+
readonly NEVER: "NEVER";
|
|
144
|
+
readonly WHEN_NO_MATCH: "WHEN_NO_MATCH";
|
|
145
|
+
readonly WHEN_NO_TEMPLATES: "WHEN_NO_TEMPLATES";
|
|
146
|
+
};
|
|
147
|
+
export type PassthroughBehavior =
|
|
148
|
+
(typeof PassthroughBehavior)[keyof typeof PassthroughBehavior];
|
|
131
149
|
export interface TlsConfig {
|
|
132
150
|
ServerNameToVerify?: string;
|
|
133
151
|
}
|
|
@@ -168,12 +186,14 @@ export interface Model {
|
|
|
168
186
|
Name: string | undefined;
|
|
169
187
|
Schema?: string;
|
|
170
188
|
}
|
|
171
|
-
export declare
|
|
172
|
-
AWS_IAM
|
|
173
|
-
CUSTOM
|
|
174
|
-
JWT
|
|
175
|
-
NONE
|
|
176
|
-
}
|
|
189
|
+
export declare const AuthorizationType: {
|
|
190
|
+
readonly AWS_IAM: "AWS_IAM";
|
|
191
|
+
readonly CUSTOM: "CUSTOM";
|
|
192
|
+
readonly JWT: "JWT";
|
|
193
|
+
readonly NONE: "NONE";
|
|
194
|
+
};
|
|
195
|
+
export type AuthorizationType =
|
|
196
|
+
(typeof AuthorizationType)[keyof typeof AuthorizationType];
|
|
177
197
|
export interface ParameterConstraints {
|
|
178
198
|
Required?: boolean;
|
|
179
199
|
}
|
|
@@ -203,11 +223,12 @@ export interface AccessLogSettings {
|
|
|
203
223
|
DestinationArn?: string;
|
|
204
224
|
Format?: string;
|
|
205
225
|
}
|
|
206
|
-
export declare
|
|
207
|
-
ERROR
|
|
208
|
-
INFO
|
|
209
|
-
OFF
|
|
210
|
-
}
|
|
226
|
+
export declare const LoggingLevel: {
|
|
227
|
+
readonly ERROR: "ERROR";
|
|
228
|
+
readonly INFO: "INFO";
|
|
229
|
+
readonly OFF: "OFF";
|
|
230
|
+
};
|
|
231
|
+
export type LoggingLevel = (typeof LoggingLevel)[keyof typeof LoggingLevel];
|
|
211
232
|
export interface RouteSettings {
|
|
212
233
|
DataTraceEnabled?: boolean;
|
|
213
234
|
DetailedMetricsEnabled?: boolean;
|
|
@@ -231,16 +252,19 @@ export interface Stage {
|
|
|
231
252
|
StageVariables?: Record<string, string>;
|
|
232
253
|
Tags?: Record<string, string>;
|
|
233
254
|
}
|
|
234
|
-
export declare
|
|
235
|
-
AVAILABLE
|
|
236
|
-
DELETING
|
|
237
|
-
FAILED
|
|
238
|
-
INACTIVE
|
|
239
|
-
PENDING
|
|
240
|
-
}
|
|
241
|
-
export
|
|
242
|
-
|
|
243
|
-
|
|
255
|
+
export declare const VpcLinkStatus: {
|
|
256
|
+
readonly AVAILABLE: "AVAILABLE";
|
|
257
|
+
readonly DELETING: "DELETING";
|
|
258
|
+
readonly FAILED: "FAILED";
|
|
259
|
+
readonly INACTIVE: "INACTIVE";
|
|
260
|
+
readonly PENDING: "PENDING";
|
|
261
|
+
};
|
|
262
|
+
export type VpcLinkStatus = (typeof VpcLinkStatus)[keyof typeof VpcLinkStatus];
|
|
263
|
+
export declare const VpcLinkVersion: {
|
|
264
|
+
readonly V2: "V2";
|
|
265
|
+
};
|
|
266
|
+
export type VpcLinkVersion =
|
|
267
|
+
(typeof VpcLinkVersion)[keyof typeof VpcLinkVersion];
|
|
244
268
|
export interface VpcLink {
|
|
245
269
|
CreatedDate?: Date;
|
|
246
270
|
Name: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-apigatewayv2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Apigatewayv2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.303.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,42 +21,42 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64": "3.
|
|
47
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
52
|
-
"@aws-sdk/util-retry": "3.
|
|
53
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
55
|
-
"@aws-sdk/util-utf8": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.303.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.303.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.303.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.303.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.303.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.303.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.303.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.303.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.303.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.303.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.303.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.303.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.303.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.303.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.303.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.303.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.303.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.303.0",
|
|
42
|
+
"@aws-sdk/protocol-http": "3.303.0",
|
|
43
|
+
"@aws-sdk/smithy-client": "3.303.0",
|
|
44
|
+
"@aws-sdk/types": "3.303.0",
|
|
45
|
+
"@aws-sdk/url-parser": "3.303.0",
|
|
46
|
+
"@aws-sdk/util-base64": "3.303.0",
|
|
47
|
+
"@aws-sdk/util-body-length-browser": "3.303.0",
|
|
48
|
+
"@aws-sdk/util-body-length-node": "3.303.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.303.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.303.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.303.0",
|
|
52
|
+
"@aws-sdk/util-retry": "3.303.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.303.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.303.0",
|
|
55
|
+
"@aws-sdk/util-utf8": "3.303.0",
|
|
56
56
|
"tslib": "^2.5.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
59
|
+
"@aws-sdk/service-client-documentation-generator": "3.303.0",
|
|
60
60
|
"@tsconfig/node14": "1.0.3",
|
|
61
61
|
"@types/node": "^14.14.31",
|
|
62
62
|
"concurrently": "7.0.0",
|