@aws-sdk/client-api-gateway 3.52.0 → 3.53.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 +11 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/APIGatewayServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +100 -5
- package/dist-cjs/protocols/Aws_restJson1.js +1180 -4913
- package/dist-es/index.js +1 -0
- package/dist-es/models/APIGatewayServiceException.js +12 -0
- package/dist-es/models/models_0.js +89 -1
- package/dist-es/protocols/Aws_restJson1.js +2733 -5401
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/APIGatewayServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +51 -29
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/APIGatewayServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +37 -29
- package/package.json +26 -26
package/dist-types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
/**
|
|
3
|
+
* Base exception class for all service exceptions from APIGateway service.
|
|
4
|
+
*/
|
|
5
|
+
export declare class APIGatewayServiceException extends __ServiceException {
|
|
6
|
+
/**
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
constructor(options: __ServiceExceptionOptions);
|
|
10
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
|
|
2
3
|
/**
|
|
3
4
|
* <p>Access log settings, including the access log format and access log destination ARN.</p>
|
|
4
5
|
*/
|
|
@@ -331,18 +332,24 @@ export declare namespace Authorizers {
|
|
|
331
332
|
/**
|
|
332
333
|
* <p>The submitted request is not valid, for example, the input is incomplete or incorrect. See the accompanying error message for details.</p>
|
|
333
334
|
*/
|
|
334
|
-
export
|
|
335
|
-
name: "BadRequestException";
|
|
336
|
-
$fault: "client";
|
|
337
|
-
|
|
335
|
+
export declare class BadRequestException extends __BaseException {
|
|
336
|
+
readonly name: "BadRequestException";
|
|
337
|
+
readonly $fault: "client";
|
|
338
|
+
/**
|
|
339
|
+
* @internal
|
|
340
|
+
*/
|
|
341
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
338
342
|
}
|
|
339
343
|
/**
|
|
340
344
|
* <p>The request configuration has conflicts. For details, see the accompanying error message.</p>
|
|
341
345
|
*/
|
|
342
|
-
export
|
|
343
|
-
name: "ConflictException";
|
|
344
|
-
$fault: "client";
|
|
345
|
-
|
|
346
|
+
export declare class ConflictException extends __BaseException {
|
|
347
|
+
readonly name: "ConflictException";
|
|
348
|
+
readonly $fault: "client";
|
|
349
|
+
/**
|
|
350
|
+
* @internal
|
|
351
|
+
*/
|
|
352
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
346
353
|
}
|
|
347
354
|
/**
|
|
348
355
|
* <p>A reference to a unique stage identified in the format <code>{restApiId}/{stage}</code>.</p>
|
|
@@ -411,36 +418,48 @@ export declare namespace CreateApiKeyRequest {
|
|
|
411
418
|
/**
|
|
412
419
|
* <p>The request exceeded the rate limit. Retry after the specified time period.</p>
|
|
413
420
|
*/
|
|
414
|
-
export
|
|
415
|
-
name: "LimitExceededException";
|
|
416
|
-
$fault: "client";
|
|
421
|
+
export declare class LimitExceededException extends __BaseException {
|
|
422
|
+
readonly name: "LimitExceededException";
|
|
423
|
+
readonly $fault: "client";
|
|
417
424
|
retryAfterSeconds?: string;
|
|
418
|
-
|
|
425
|
+
/**
|
|
426
|
+
* @internal
|
|
427
|
+
*/
|
|
428
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
419
429
|
}
|
|
420
430
|
/**
|
|
421
431
|
* <p>The requested resource is not found. Make sure that the request URI is correct.</p>
|
|
422
432
|
*/
|
|
423
|
-
export
|
|
424
|
-
name: "NotFoundException";
|
|
425
|
-
$fault: "client";
|
|
426
|
-
|
|
433
|
+
export declare class NotFoundException extends __BaseException {
|
|
434
|
+
readonly name: "NotFoundException";
|
|
435
|
+
readonly $fault: "client";
|
|
436
|
+
/**
|
|
437
|
+
* @internal
|
|
438
|
+
*/
|
|
439
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
427
440
|
}
|
|
428
441
|
/**
|
|
429
442
|
* <p>The request has reached its throttling limit. Retry after the specified time period.</p>
|
|
430
443
|
*/
|
|
431
|
-
export
|
|
432
|
-
name: "TooManyRequestsException";
|
|
433
|
-
$fault: "client";
|
|
444
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
445
|
+
readonly name: "TooManyRequestsException";
|
|
446
|
+
readonly $fault: "client";
|
|
434
447
|
retryAfterSeconds?: string;
|
|
435
|
-
|
|
448
|
+
/**
|
|
449
|
+
* @internal
|
|
450
|
+
*/
|
|
451
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
436
452
|
}
|
|
437
453
|
/**
|
|
438
454
|
* <p>The request is denied because the caller has insufficient permissions.</p>
|
|
439
455
|
*/
|
|
440
|
-
export
|
|
441
|
-
name: "UnauthorizedException";
|
|
442
|
-
$fault: "client";
|
|
443
|
-
|
|
456
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
457
|
+
readonly name: "UnauthorizedException";
|
|
458
|
+
readonly $fault: "client";
|
|
459
|
+
/**
|
|
460
|
+
* @internal
|
|
461
|
+
*/
|
|
462
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
444
463
|
}
|
|
445
464
|
/**
|
|
446
465
|
* <p>Request to add a new <a>Authorizer</a> to an existing <a>RestApi</a> resource.</p>
|
|
@@ -692,11 +711,14 @@ export declare namespace Deployment {
|
|
|
692
711
|
/**
|
|
693
712
|
* <p>The requested service is not available. For details see the accompanying error message. Retry after the specified time period.</p>
|
|
694
713
|
*/
|
|
695
|
-
export
|
|
696
|
-
name: "ServiceUnavailableException";
|
|
697
|
-
$fault: "server";
|
|
714
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
715
|
+
readonly name: "ServiceUnavailableException";
|
|
716
|
+
readonly $fault: "server";
|
|
698
717
|
retryAfterSeconds?: string;
|
|
699
|
-
|
|
718
|
+
/**
|
|
719
|
+
* @internal
|
|
720
|
+
*/
|
|
721
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
700
722
|
}
|
|
701
723
|
export declare enum DocumentationPartType {
|
|
702
724
|
API = "API",
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
|
|
2
|
+
|
|
3
|
+
export declare class APIGatewayServiceException extends __ServiceException {
|
|
4
|
+
|
|
5
|
+
constructor(options: __ServiceExceptionOptions);
|
|
6
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
|
|
2
3
|
|
|
3
4
|
export interface AccessLogSettings {
|
|
4
5
|
|
|
@@ -155,16 +156,18 @@ export declare namespace Authorizers {
|
|
|
155
156
|
const filterSensitiveLog: (obj: Authorizers) => any;
|
|
156
157
|
}
|
|
157
158
|
|
|
158
|
-
export
|
|
159
|
-
name: "BadRequestException";
|
|
160
|
-
$fault: "client";
|
|
161
|
-
|
|
159
|
+
export declare class BadRequestException extends __BaseException {
|
|
160
|
+
readonly name: "BadRequestException";
|
|
161
|
+
readonly $fault: "client";
|
|
162
|
+
|
|
163
|
+
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
162
164
|
}
|
|
163
165
|
|
|
164
|
-
export
|
|
165
|
-
name: "ConflictException";
|
|
166
|
-
$fault: "client";
|
|
167
|
-
|
|
166
|
+
export declare class ConflictException extends __BaseException {
|
|
167
|
+
readonly name: "ConflictException";
|
|
168
|
+
readonly $fault: "client";
|
|
169
|
+
|
|
170
|
+
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
168
171
|
}
|
|
169
172
|
|
|
170
173
|
export interface StageKey {
|
|
@@ -203,30 +206,34 @@ export declare namespace CreateApiKeyRequest {
|
|
|
203
206
|
const filterSensitiveLog: (obj: CreateApiKeyRequest) => any;
|
|
204
207
|
}
|
|
205
208
|
|
|
206
|
-
export
|
|
207
|
-
name: "LimitExceededException";
|
|
208
|
-
$fault: "client";
|
|
209
|
+
export declare class LimitExceededException extends __BaseException {
|
|
210
|
+
readonly name: "LimitExceededException";
|
|
211
|
+
readonly $fault: "client";
|
|
209
212
|
retryAfterSeconds?: string;
|
|
210
|
-
|
|
213
|
+
|
|
214
|
+
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
211
215
|
}
|
|
212
216
|
|
|
213
|
-
export
|
|
214
|
-
name: "NotFoundException";
|
|
215
|
-
$fault: "client";
|
|
216
|
-
|
|
217
|
+
export declare class NotFoundException extends __BaseException {
|
|
218
|
+
readonly name: "NotFoundException";
|
|
219
|
+
readonly $fault: "client";
|
|
220
|
+
|
|
221
|
+
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
217
222
|
}
|
|
218
223
|
|
|
219
|
-
export
|
|
220
|
-
name: "TooManyRequestsException";
|
|
221
|
-
$fault: "client";
|
|
224
|
+
export declare class TooManyRequestsException extends __BaseException {
|
|
225
|
+
readonly name: "TooManyRequestsException";
|
|
226
|
+
readonly $fault: "client";
|
|
222
227
|
retryAfterSeconds?: string;
|
|
223
|
-
|
|
228
|
+
|
|
229
|
+
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
224
230
|
}
|
|
225
231
|
|
|
226
|
-
export
|
|
227
|
-
name: "UnauthorizedException";
|
|
228
|
-
$fault: "client";
|
|
229
|
-
|
|
232
|
+
export declare class UnauthorizedException extends __BaseException {
|
|
233
|
+
readonly name: "UnauthorizedException";
|
|
234
|
+
readonly $fault: "client";
|
|
235
|
+
|
|
236
|
+
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
230
237
|
}
|
|
231
238
|
|
|
232
239
|
export interface CreateAuthorizerRequest {
|
|
@@ -366,11 +373,12 @@ export declare namespace Deployment {
|
|
|
366
373
|
const filterSensitiveLog: (obj: Deployment) => any;
|
|
367
374
|
}
|
|
368
375
|
|
|
369
|
-
export
|
|
370
|
-
name: "ServiceUnavailableException";
|
|
371
|
-
$fault: "server";
|
|
376
|
+
export declare class ServiceUnavailableException extends __BaseException {
|
|
377
|
+
readonly name: "ServiceUnavailableException";
|
|
378
|
+
readonly $fault: "server";
|
|
372
379
|
retryAfterSeconds?: string;
|
|
373
|
-
|
|
380
|
+
|
|
381
|
+
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
374
382
|
}
|
|
375
383
|
export declare enum DocumentationPartType {
|
|
376
384
|
API = "API",
|
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.53.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",
|
|
@@ -18,35 +18,35 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-sdk-api-gateway": "3.
|
|
32
|
-
"@aws-sdk/middleware-serde": "3.
|
|
33
|
-
"@aws-sdk/middleware-signing": "3.
|
|
34
|
-
"@aws-sdk/middleware-stack": "3.
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
36
|
-
"@aws-sdk/node-config-provider": "3.
|
|
37
|
-
"@aws-sdk/node-http-handler": "3.
|
|
38
|
-
"@aws-sdk/protocol-http": "3.
|
|
39
|
-
"@aws-sdk/smithy-client": "3.
|
|
40
|
-
"@aws-sdk/types": "3.
|
|
41
|
-
"@aws-sdk/url-parser": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.53.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.53.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.53.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.53.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.53.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.53.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.53.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.53.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.53.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.53.0",
|
|
31
|
+
"@aws-sdk/middleware-sdk-api-gateway": "3.53.0",
|
|
32
|
+
"@aws-sdk/middleware-serde": "3.53.0",
|
|
33
|
+
"@aws-sdk/middleware-signing": "3.53.0",
|
|
34
|
+
"@aws-sdk/middleware-stack": "3.53.0",
|
|
35
|
+
"@aws-sdk/middleware-user-agent": "3.53.0",
|
|
36
|
+
"@aws-sdk/node-config-provider": "3.53.0",
|
|
37
|
+
"@aws-sdk/node-http-handler": "3.53.0",
|
|
38
|
+
"@aws-sdk/protocol-http": "3.53.0",
|
|
39
|
+
"@aws-sdk/smithy-client": "3.53.0",
|
|
40
|
+
"@aws-sdk/types": "3.53.0",
|
|
41
|
+
"@aws-sdk/url-parser": "3.53.0",
|
|
42
42
|
"@aws-sdk/util-base64-browser": "3.52.0",
|
|
43
43
|
"@aws-sdk/util-base64-node": "3.52.0",
|
|
44
44
|
"@aws-sdk/util-body-length-browser": "3.52.0",
|
|
45
45
|
"@aws-sdk/util-body-length-node": "3.52.0",
|
|
46
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
47
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
49
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
46
|
+
"@aws-sdk/util-defaults-mode-browser": "3.53.0",
|
|
47
|
+
"@aws-sdk/util-defaults-mode-node": "3.53.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-browser": "3.53.0",
|
|
49
|
+
"@aws-sdk/util-user-agent-node": "3.53.0",
|
|
50
50
|
"@aws-sdk/util-utf8-browser": "3.52.0",
|
|
51
51
|
"@aws-sdk/util-utf8-node": "3.52.0",
|
|
52
52
|
"tslib": "^2.3.0"
|