@aws-sdk/client-api-gateway 3.1147.0 → 3.1149.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 +9 -1
- package/dist-es/models/APIGatewayServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/APIGatewayServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/APIGatewayServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1148.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -133,6 +133,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
133
133
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
134
134
|
|
|
135
135
|
class APIGatewayServiceException extends ServiceException {
|
|
136
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.apigateway#APIGatewayServiceException";
|
|
136
137
|
constructor(options) {
|
|
137
138
|
super(options);
|
|
138
139
|
Object.setPrototypeOf(this, APIGatewayServiceException.prototype);
|
|
@@ -140,6 +141,7 @@ class APIGatewayServiceException extends ServiceException {
|
|
|
140
141
|
}
|
|
141
142
|
|
|
142
143
|
class BadRequestException extends APIGatewayServiceException {
|
|
144
|
+
static shapeId = "com.amazonaws.apigateway#BadRequestException";
|
|
143
145
|
name = "BadRequestException";
|
|
144
146
|
$fault = "client";
|
|
145
147
|
constructor(opts) {
|
|
@@ -152,6 +154,7 @@ class BadRequestException extends APIGatewayServiceException {
|
|
|
152
154
|
}
|
|
153
155
|
}
|
|
154
156
|
class ConflictException extends APIGatewayServiceException {
|
|
157
|
+
static shapeId = "com.amazonaws.apigateway#ConflictException";
|
|
155
158
|
name = "ConflictException";
|
|
156
159
|
$fault = "client";
|
|
157
160
|
constructor(opts) {
|
|
@@ -164,6 +167,7 @@ class ConflictException extends APIGatewayServiceException {
|
|
|
164
167
|
}
|
|
165
168
|
}
|
|
166
169
|
class LimitExceededException extends APIGatewayServiceException {
|
|
170
|
+
static shapeId = "com.amazonaws.apigateway#LimitExceededException";
|
|
167
171
|
name = "LimitExceededException";
|
|
168
172
|
$fault = "client";
|
|
169
173
|
retryAfterSeconds;
|
|
@@ -178,6 +182,7 @@ class LimitExceededException extends APIGatewayServiceException {
|
|
|
178
182
|
}
|
|
179
183
|
}
|
|
180
184
|
class NotFoundException extends APIGatewayServiceException {
|
|
185
|
+
static shapeId = "com.amazonaws.apigateway#NotFoundException";
|
|
181
186
|
name = "NotFoundException";
|
|
182
187
|
$fault = "client";
|
|
183
188
|
constructor(opts) {
|
|
@@ -190,6 +195,7 @@ class NotFoundException extends APIGatewayServiceException {
|
|
|
190
195
|
}
|
|
191
196
|
}
|
|
192
197
|
class TooManyRequestsException extends APIGatewayServiceException {
|
|
198
|
+
static shapeId = "com.amazonaws.apigateway#TooManyRequestsException";
|
|
193
199
|
name = "TooManyRequestsException";
|
|
194
200
|
$fault = "client";
|
|
195
201
|
retryAfterSeconds;
|
|
@@ -204,6 +210,7 @@ class TooManyRequestsException extends APIGatewayServiceException {
|
|
|
204
210
|
}
|
|
205
211
|
}
|
|
206
212
|
class UnauthorizedException extends APIGatewayServiceException {
|
|
213
|
+
static shapeId = "com.amazonaws.apigateway#UnauthorizedException";
|
|
207
214
|
name = "UnauthorizedException";
|
|
208
215
|
$fault = "client";
|
|
209
216
|
constructor(opts) {
|
|
@@ -216,6 +223,7 @@ class UnauthorizedException extends APIGatewayServiceException {
|
|
|
216
223
|
}
|
|
217
224
|
}
|
|
218
225
|
class ServiceUnavailableException extends APIGatewayServiceException {
|
|
226
|
+
static shapeId = "com.amazonaws.apigateway#ServiceUnavailableException";
|
|
219
227
|
name = "ServiceUnavailableException";
|
|
220
228
|
$fault = "server";
|
|
221
229
|
retryAfterSeconds;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class APIGatewayServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.apigateway#APIGatewayServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, APIGatewayServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
|
|
2
2
|
export class BadRequestException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.apigateway#BadRequestException";
|
|
3
4
|
name = "BadRequestException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class BadRequestException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class ConflictException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.apigateway#ConflictException";
|
|
15
17
|
name = "ConflictException";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
constructor(opts) {
|
|
@@ -24,6 +26,7 @@ export class ConflictException extends __BaseException {
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
export class LimitExceededException extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.apigateway#LimitExceededException";
|
|
27
30
|
name = "LimitExceededException";
|
|
28
31
|
$fault = "client";
|
|
29
32
|
retryAfterSeconds;
|
|
@@ -38,6 +41,7 @@ export class LimitExceededException extends __BaseException {
|
|
|
38
41
|
}
|
|
39
42
|
}
|
|
40
43
|
export class NotFoundException extends __BaseException {
|
|
44
|
+
static shapeId = "com.amazonaws.apigateway#NotFoundException";
|
|
41
45
|
name = "NotFoundException";
|
|
42
46
|
$fault = "client";
|
|
43
47
|
constructor(opts) {
|
|
@@ -50,6 +54,7 @@ export class NotFoundException extends __BaseException {
|
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
export class TooManyRequestsException extends __BaseException {
|
|
57
|
+
static shapeId = "com.amazonaws.apigateway#TooManyRequestsException";
|
|
53
58
|
name = "TooManyRequestsException";
|
|
54
59
|
$fault = "client";
|
|
55
60
|
retryAfterSeconds;
|
|
@@ -64,6 +69,7 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
64
69
|
}
|
|
65
70
|
}
|
|
66
71
|
export class UnauthorizedException extends __BaseException {
|
|
72
|
+
static shapeId = "com.amazonaws.apigateway#UnauthorizedException";
|
|
67
73
|
name = "UnauthorizedException";
|
|
68
74
|
$fault = "client";
|
|
69
75
|
constructor(opts) {
|
|
@@ -76,6 +82,7 @@ export class UnauthorizedException extends __BaseException {
|
|
|
76
82
|
}
|
|
77
83
|
}
|
|
78
84
|
export class ServiceUnavailableException extends __BaseException {
|
|
85
|
+
static shapeId = "com.amazonaws.apigateway#ServiceUnavailableException";
|
|
79
86
|
name = "ServiceUnavailableException";
|
|
80
87
|
$fault = "server";
|
|
81
88
|
retryAfterSeconds;
|
|
@@ -5,6 +5,7 @@ import { APIGatewayServiceException as __BaseException } from "./APIGatewayServi
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class BadRequestException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "BadRequestException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
/**
|
|
@@ -17,6 +18,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
17
18
|
* @public
|
|
18
19
|
*/
|
|
19
20
|
export declare class ConflictException extends __BaseException {
|
|
21
|
+
static readonly shapeId: string;
|
|
20
22
|
readonly name: "ConflictException";
|
|
21
23
|
readonly $fault: "client";
|
|
22
24
|
/**
|
|
@@ -29,6 +31,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
29
31
|
* @public
|
|
30
32
|
*/
|
|
31
33
|
export declare class LimitExceededException extends __BaseException {
|
|
34
|
+
static readonly shapeId: string;
|
|
32
35
|
readonly name: "LimitExceededException";
|
|
33
36
|
readonly $fault: "client";
|
|
34
37
|
retryAfterSeconds?: string | undefined;
|
|
@@ -42,6 +45,7 @@ export declare class LimitExceededException extends __BaseException {
|
|
|
42
45
|
* @public
|
|
43
46
|
*/
|
|
44
47
|
export declare class NotFoundException extends __BaseException {
|
|
48
|
+
static readonly shapeId: string;
|
|
45
49
|
readonly name: "NotFoundException";
|
|
46
50
|
readonly $fault: "client";
|
|
47
51
|
/**
|
|
@@ -54,6 +58,7 @@ export declare class NotFoundException extends __BaseException {
|
|
|
54
58
|
* @public
|
|
55
59
|
*/
|
|
56
60
|
export declare class TooManyRequestsException extends __BaseException {
|
|
61
|
+
static readonly shapeId: string;
|
|
57
62
|
readonly name: "TooManyRequestsException";
|
|
58
63
|
readonly $fault: "client";
|
|
59
64
|
retryAfterSeconds?: string | undefined;
|
|
@@ -67,6 +72,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
67
72
|
* @public
|
|
68
73
|
*/
|
|
69
74
|
export declare class UnauthorizedException extends __BaseException {
|
|
75
|
+
static readonly shapeId: string;
|
|
70
76
|
readonly name: "UnauthorizedException";
|
|
71
77
|
readonly $fault: "client";
|
|
72
78
|
/**
|
|
@@ -79,6 +85,7 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
79
85
|
* @public
|
|
80
86
|
*/
|
|
81
87
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
88
|
+
static readonly shapeId: string;
|
|
82
89
|
readonly name: "ServiceUnavailableException";
|
|
83
90
|
readonly $fault: "server";
|
|
84
91
|
retryAfterSeconds?: string | undefined;
|
|
@@ -1,38 +1,45 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { APIGatewayServiceException as __BaseException } from "./APIGatewayServiceException";
|
|
3
3
|
export declare class BadRequestException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "BadRequestException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
7
8
|
}
|
|
8
9
|
export declare class ConflictException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
9
11
|
readonly name: "ConflictException";
|
|
10
12
|
readonly $fault: "client";
|
|
11
13
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
12
14
|
}
|
|
13
15
|
export declare class LimitExceededException extends __BaseException {
|
|
16
|
+
static readonly shapeId: string;
|
|
14
17
|
readonly name: "LimitExceededException";
|
|
15
18
|
readonly $fault: "client";
|
|
16
19
|
retryAfterSeconds?: string | undefined;
|
|
17
20
|
constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
|
|
18
21
|
}
|
|
19
22
|
export declare class NotFoundException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
20
24
|
readonly name: "NotFoundException";
|
|
21
25
|
readonly $fault: "client";
|
|
22
26
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
23
27
|
}
|
|
24
28
|
export declare class TooManyRequestsException extends __BaseException {
|
|
29
|
+
static readonly shapeId: string;
|
|
25
30
|
readonly name: "TooManyRequestsException";
|
|
26
31
|
readonly $fault: "client";
|
|
27
32
|
retryAfterSeconds?: string | undefined;
|
|
28
33
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
29
34
|
}
|
|
30
35
|
export declare class UnauthorizedException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
31
37
|
readonly name: "UnauthorizedException";
|
|
32
38
|
readonly $fault: "client";
|
|
33
39
|
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
34
40
|
}
|
|
35
41
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
42
|
+
static readonly shapeId: string;
|
|
36
43
|
readonly name: "ServiceUnavailableException";
|
|
37
44
|
readonly $fault: "server";
|
|
38
45
|
retryAfterSeconds?: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-api-gateway",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Api Gateway Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-api-gateway",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@aws-sdk/core": "^3.978.
|
|
52
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
53
|
-
"@aws-sdk/middleware-sdk-api-gateway": "^3.972.
|
|
51
|
+
"@aws-sdk/core": "^3.978.2",
|
|
52
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
53
|
+
"@aws-sdk/middleware-sdk-api-gateway": "^3.972.31",
|
|
54
54
|
"@aws-sdk/types": "^3.974.6",
|
|
55
|
-
"@smithy/core": "^3.35.
|
|
55
|
+
"@smithy/core": "^3.35.2",
|
|
56
56
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
57
57
|
"@smithy/node-http-handler": "^4.12.1",
|
|
58
58
|
"@smithy/types": "^4.19.0",
|