@aws-sdk/client-schemas 3.1148.0 → 3.1150.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 +12 -1
- package/dist-es/models/SchemasServiceException.js +1 -0
- package/dist-es/models/errors.js +10 -0
- package/dist-types/models/SchemasServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +10 -0
- package/dist-types/ts3.4/models/SchemasServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +10 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1149.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -132,6 +132,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
132
132
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
133
133
|
|
|
134
134
|
class SchemasServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.schemas#SchemasServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, SchemasServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class SchemasServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class BadRequestException extends SchemasServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.schemas#BadRequestException";
|
|
142
144
|
name = "BadRequestException";
|
|
143
145
|
$fault = "client";
|
|
144
146
|
Code;
|
|
@@ -155,6 +157,7 @@ class BadRequestException extends SchemasServiceException {
|
|
|
155
157
|
}
|
|
156
158
|
}
|
|
157
159
|
class ConflictException extends SchemasServiceException {
|
|
160
|
+
static shapeId = "com.amazonaws.schemas#ConflictException";
|
|
158
161
|
name = "ConflictException";
|
|
159
162
|
$fault = "client";
|
|
160
163
|
Code;
|
|
@@ -171,6 +174,7 @@ class ConflictException extends SchemasServiceException {
|
|
|
171
174
|
}
|
|
172
175
|
}
|
|
173
176
|
class ForbiddenException extends SchemasServiceException {
|
|
177
|
+
static shapeId = "com.amazonaws.schemas#ForbiddenException";
|
|
174
178
|
name = "ForbiddenException";
|
|
175
179
|
$fault = "client";
|
|
176
180
|
Code;
|
|
@@ -187,6 +191,7 @@ class ForbiddenException extends SchemasServiceException {
|
|
|
187
191
|
}
|
|
188
192
|
}
|
|
189
193
|
class InternalServerErrorException extends SchemasServiceException {
|
|
194
|
+
static shapeId = "com.amazonaws.schemas#InternalServerErrorException";
|
|
190
195
|
name = "InternalServerErrorException";
|
|
191
196
|
$fault = "server";
|
|
192
197
|
Code;
|
|
@@ -203,6 +208,7 @@ class InternalServerErrorException extends SchemasServiceException {
|
|
|
203
208
|
}
|
|
204
209
|
}
|
|
205
210
|
class ServiceUnavailableException extends SchemasServiceException {
|
|
211
|
+
static shapeId = "com.amazonaws.schemas#ServiceUnavailableException";
|
|
206
212
|
name = "ServiceUnavailableException";
|
|
207
213
|
$fault = "server";
|
|
208
214
|
Code;
|
|
@@ -219,6 +225,7 @@ class ServiceUnavailableException extends SchemasServiceException {
|
|
|
219
225
|
}
|
|
220
226
|
}
|
|
221
227
|
class UnauthorizedException extends SchemasServiceException {
|
|
228
|
+
static shapeId = "com.amazonaws.schemas#UnauthorizedException";
|
|
222
229
|
name = "UnauthorizedException";
|
|
223
230
|
$fault = "client";
|
|
224
231
|
Code;
|
|
@@ -235,6 +242,7 @@ class UnauthorizedException extends SchemasServiceException {
|
|
|
235
242
|
}
|
|
236
243
|
}
|
|
237
244
|
class NotFoundException extends SchemasServiceException {
|
|
245
|
+
static shapeId = "com.amazonaws.schemas#NotFoundException";
|
|
238
246
|
name = "NotFoundException";
|
|
239
247
|
$fault = "client";
|
|
240
248
|
Code;
|
|
@@ -251,6 +259,7 @@ class NotFoundException extends SchemasServiceException {
|
|
|
251
259
|
}
|
|
252
260
|
}
|
|
253
261
|
class TooManyRequestsException extends SchemasServiceException {
|
|
262
|
+
static shapeId = "com.amazonaws.schemas#TooManyRequestsException";
|
|
254
263
|
name = "TooManyRequestsException";
|
|
255
264
|
$fault = "client";
|
|
256
265
|
Code;
|
|
@@ -267,6 +276,7 @@ class TooManyRequestsException extends SchemasServiceException {
|
|
|
267
276
|
}
|
|
268
277
|
}
|
|
269
278
|
class GoneException extends SchemasServiceException {
|
|
279
|
+
static shapeId = "com.amazonaws.schemas#GoneException";
|
|
270
280
|
name = "GoneException";
|
|
271
281
|
$fault = "client";
|
|
272
282
|
Code;
|
|
@@ -283,6 +293,7 @@ class GoneException extends SchemasServiceException {
|
|
|
283
293
|
}
|
|
284
294
|
}
|
|
285
295
|
class PreconditionFailedException extends SchemasServiceException {
|
|
296
|
+
static shapeId = "com.amazonaws.schemas#PreconditionFailedException";
|
|
286
297
|
name = "PreconditionFailedException";
|
|
287
298
|
$fault = "client";
|
|
288
299
|
Code;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SchemasServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.schemas#SchemasServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, SchemasServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
2
2
|
export class BadRequestException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.schemas#BadRequestException";
|
|
3
4
|
name = "BadRequestException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Code;
|
|
@@ -16,6 +17,7 @@ export class BadRequestException extends __BaseException {
|
|
|
16
17
|
}
|
|
17
18
|
}
|
|
18
19
|
export class ConflictException extends __BaseException {
|
|
20
|
+
static shapeId = "com.amazonaws.schemas#ConflictException";
|
|
19
21
|
name = "ConflictException";
|
|
20
22
|
$fault = "client";
|
|
21
23
|
Code;
|
|
@@ -32,6 +34,7 @@ export class ConflictException extends __BaseException {
|
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
36
|
export class ForbiddenException extends __BaseException {
|
|
37
|
+
static shapeId = "com.amazonaws.schemas#ForbiddenException";
|
|
35
38
|
name = "ForbiddenException";
|
|
36
39
|
$fault = "client";
|
|
37
40
|
Code;
|
|
@@ -48,6 +51,7 @@ export class ForbiddenException extends __BaseException {
|
|
|
48
51
|
}
|
|
49
52
|
}
|
|
50
53
|
export class InternalServerErrorException extends __BaseException {
|
|
54
|
+
static shapeId = "com.amazonaws.schemas#InternalServerErrorException";
|
|
51
55
|
name = "InternalServerErrorException";
|
|
52
56
|
$fault = "server";
|
|
53
57
|
Code;
|
|
@@ -64,6 +68,7 @@ export class InternalServerErrorException extends __BaseException {
|
|
|
64
68
|
}
|
|
65
69
|
}
|
|
66
70
|
export class ServiceUnavailableException extends __BaseException {
|
|
71
|
+
static shapeId = "com.amazonaws.schemas#ServiceUnavailableException";
|
|
67
72
|
name = "ServiceUnavailableException";
|
|
68
73
|
$fault = "server";
|
|
69
74
|
Code;
|
|
@@ -80,6 +85,7 @@ export class ServiceUnavailableException extends __BaseException {
|
|
|
80
85
|
}
|
|
81
86
|
}
|
|
82
87
|
export class UnauthorizedException extends __BaseException {
|
|
88
|
+
static shapeId = "com.amazonaws.schemas#UnauthorizedException";
|
|
83
89
|
name = "UnauthorizedException";
|
|
84
90
|
$fault = "client";
|
|
85
91
|
Code;
|
|
@@ -96,6 +102,7 @@ export class UnauthorizedException extends __BaseException {
|
|
|
96
102
|
}
|
|
97
103
|
}
|
|
98
104
|
export class NotFoundException extends __BaseException {
|
|
105
|
+
static shapeId = "com.amazonaws.schemas#NotFoundException";
|
|
99
106
|
name = "NotFoundException";
|
|
100
107
|
$fault = "client";
|
|
101
108
|
Code;
|
|
@@ -112,6 +119,7 @@ export class NotFoundException extends __BaseException {
|
|
|
112
119
|
}
|
|
113
120
|
}
|
|
114
121
|
export class TooManyRequestsException extends __BaseException {
|
|
122
|
+
static shapeId = "com.amazonaws.schemas#TooManyRequestsException";
|
|
115
123
|
name = "TooManyRequestsException";
|
|
116
124
|
$fault = "client";
|
|
117
125
|
Code;
|
|
@@ -128,6 +136,7 @@ export class TooManyRequestsException extends __BaseException {
|
|
|
128
136
|
}
|
|
129
137
|
}
|
|
130
138
|
export class GoneException extends __BaseException {
|
|
139
|
+
static shapeId = "com.amazonaws.schemas#GoneException";
|
|
131
140
|
name = "GoneException";
|
|
132
141
|
$fault = "client";
|
|
133
142
|
Code;
|
|
@@ -144,6 +153,7 @@ export class GoneException extends __BaseException {
|
|
|
144
153
|
}
|
|
145
154
|
}
|
|
146
155
|
export class PreconditionFailedException extends __BaseException {
|
|
156
|
+
static shapeId = "com.amazonaws.schemas#PreconditionFailedException";
|
|
147
157
|
name = "PreconditionFailedException";
|
|
148
158
|
$fault = "client";
|
|
149
159
|
Code;
|
|
@@ -4,6 +4,7 @@ import { SchemasServiceException as __BaseException } from "./SchemasServiceExce
|
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
6
6
|
export declare class BadRequestException extends __BaseException {
|
|
7
|
+
static readonly shapeId: string;
|
|
7
8
|
readonly name: "BadRequestException";
|
|
8
9
|
readonly $fault: "client";
|
|
9
10
|
/**
|
|
@@ -25,6 +26,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
25
26
|
* @public
|
|
26
27
|
*/
|
|
27
28
|
export declare class ConflictException extends __BaseException {
|
|
29
|
+
static readonly shapeId: string;
|
|
28
30
|
readonly name: "ConflictException";
|
|
29
31
|
readonly $fault: "client";
|
|
30
32
|
/**
|
|
@@ -46,6 +48,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
46
48
|
* @public
|
|
47
49
|
*/
|
|
48
50
|
export declare class ForbiddenException extends __BaseException {
|
|
51
|
+
static readonly shapeId: string;
|
|
49
52
|
readonly name: "ForbiddenException";
|
|
50
53
|
readonly $fault: "client";
|
|
51
54
|
/**
|
|
@@ -67,6 +70,7 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
67
70
|
* @public
|
|
68
71
|
*/
|
|
69
72
|
export declare class InternalServerErrorException extends __BaseException {
|
|
73
|
+
static readonly shapeId: string;
|
|
70
74
|
readonly name: "InternalServerErrorException";
|
|
71
75
|
readonly $fault: "server";
|
|
72
76
|
/**
|
|
@@ -88,6 +92,7 @@ export declare class InternalServerErrorException extends __BaseException {
|
|
|
88
92
|
* @public
|
|
89
93
|
*/
|
|
90
94
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
95
|
+
static readonly shapeId: string;
|
|
91
96
|
readonly name: "ServiceUnavailableException";
|
|
92
97
|
readonly $fault: "server";
|
|
93
98
|
/**
|
|
@@ -109,6 +114,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
109
114
|
* @public
|
|
110
115
|
*/
|
|
111
116
|
export declare class UnauthorizedException extends __BaseException {
|
|
117
|
+
static readonly shapeId: string;
|
|
112
118
|
readonly name: "UnauthorizedException";
|
|
113
119
|
readonly $fault: "client";
|
|
114
120
|
/**
|
|
@@ -130,6 +136,7 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
130
136
|
* @public
|
|
131
137
|
*/
|
|
132
138
|
export declare class NotFoundException extends __BaseException {
|
|
139
|
+
static readonly shapeId: string;
|
|
133
140
|
readonly name: "NotFoundException";
|
|
134
141
|
readonly $fault: "client";
|
|
135
142
|
/**
|
|
@@ -151,6 +158,7 @@ export declare class NotFoundException extends __BaseException {
|
|
|
151
158
|
* @public
|
|
152
159
|
*/
|
|
153
160
|
export declare class TooManyRequestsException extends __BaseException {
|
|
161
|
+
static readonly shapeId: string;
|
|
154
162
|
readonly name: "TooManyRequestsException";
|
|
155
163
|
readonly $fault: "client";
|
|
156
164
|
/**
|
|
@@ -172,6 +180,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
172
180
|
* @public
|
|
173
181
|
*/
|
|
174
182
|
export declare class GoneException extends __BaseException {
|
|
183
|
+
static readonly shapeId: string;
|
|
175
184
|
readonly name: "GoneException";
|
|
176
185
|
readonly $fault: "client";
|
|
177
186
|
/**
|
|
@@ -193,6 +202,7 @@ export declare class GoneException extends __BaseException {
|
|
|
193
202
|
* @public
|
|
194
203
|
*/
|
|
195
204
|
export declare class PreconditionFailedException extends __BaseException {
|
|
205
|
+
static readonly shapeId: string;
|
|
196
206
|
readonly name: "PreconditionFailedException";
|
|
197
207
|
readonly $fault: "client";
|
|
198
208
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { SchemasServiceException as __BaseException } from "./SchemasServiceException";
|
|
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
|
Code: string | undefined;
|
|
@@ -8,6 +9,7 @@ export declare class BadRequestException extends __BaseException {
|
|
|
8
9
|
constructor(opts: __ExceptionOptionType<BadRequestException, __BaseException>);
|
|
9
10
|
}
|
|
10
11
|
export declare class ConflictException extends __BaseException {
|
|
12
|
+
static readonly shapeId: string;
|
|
11
13
|
readonly name: "ConflictException";
|
|
12
14
|
readonly $fault: "client";
|
|
13
15
|
Code: string | undefined;
|
|
@@ -15,6 +17,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
15
17
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
16
18
|
}
|
|
17
19
|
export declare class ForbiddenException extends __BaseException {
|
|
20
|
+
static readonly shapeId: string;
|
|
18
21
|
readonly name: "ForbiddenException";
|
|
19
22
|
readonly $fault: "client";
|
|
20
23
|
Code: string | undefined;
|
|
@@ -22,6 +25,7 @@ export declare class ForbiddenException extends __BaseException {
|
|
|
22
25
|
constructor(opts: __ExceptionOptionType<ForbiddenException, __BaseException>);
|
|
23
26
|
}
|
|
24
27
|
export declare class InternalServerErrorException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
25
29
|
readonly name: "InternalServerErrorException";
|
|
26
30
|
readonly $fault: "server";
|
|
27
31
|
Code: string | undefined;
|
|
@@ -29,6 +33,7 @@ export declare class InternalServerErrorException extends __BaseException {
|
|
|
29
33
|
constructor(opts: __ExceptionOptionType<InternalServerErrorException, __BaseException>);
|
|
30
34
|
}
|
|
31
35
|
export declare class ServiceUnavailableException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
32
37
|
readonly name: "ServiceUnavailableException";
|
|
33
38
|
readonly $fault: "server";
|
|
34
39
|
Code: string | undefined;
|
|
@@ -36,6 +41,7 @@ export declare class ServiceUnavailableException extends __BaseException {
|
|
|
36
41
|
constructor(opts: __ExceptionOptionType<ServiceUnavailableException, __BaseException>);
|
|
37
42
|
}
|
|
38
43
|
export declare class UnauthorizedException extends __BaseException {
|
|
44
|
+
static readonly shapeId: string;
|
|
39
45
|
readonly name: "UnauthorizedException";
|
|
40
46
|
readonly $fault: "client";
|
|
41
47
|
Code: string | undefined;
|
|
@@ -43,6 +49,7 @@ export declare class UnauthorizedException extends __BaseException {
|
|
|
43
49
|
constructor(opts: __ExceptionOptionType<UnauthorizedException, __BaseException>);
|
|
44
50
|
}
|
|
45
51
|
export declare class NotFoundException extends __BaseException {
|
|
52
|
+
static readonly shapeId: string;
|
|
46
53
|
readonly name: "NotFoundException";
|
|
47
54
|
readonly $fault: "client";
|
|
48
55
|
Code: string | undefined;
|
|
@@ -50,6 +57,7 @@ export declare class NotFoundException extends __BaseException {
|
|
|
50
57
|
constructor(opts: __ExceptionOptionType<NotFoundException, __BaseException>);
|
|
51
58
|
}
|
|
52
59
|
export declare class TooManyRequestsException extends __BaseException {
|
|
60
|
+
static readonly shapeId: string;
|
|
53
61
|
readonly name: "TooManyRequestsException";
|
|
54
62
|
readonly $fault: "client";
|
|
55
63
|
Code: string | undefined;
|
|
@@ -57,6 +65,7 @@ export declare class TooManyRequestsException extends __BaseException {
|
|
|
57
65
|
constructor(opts: __ExceptionOptionType<TooManyRequestsException, __BaseException>);
|
|
58
66
|
}
|
|
59
67
|
export declare class GoneException extends __BaseException {
|
|
68
|
+
static readonly shapeId: string;
|
|
60
69
|
readonly name: "GoneException";
|
|
61
70
|
readonly $fault: "client";
|
|
62
71
|
Code: string | undefined;
|
|
@@ -64,6 +73,7 @@ export declare class GoneException extends __BaseException {
|
|
|
64
73
|
constructor(opts: __ExceptionOptionType<GoneException, __BaseException>);
|
|
65
74
|
}
|
|
66
75
|
export declare class PreconditionFailedException extends __BaseException {
|
|
76
|
+
static readonly shapeId: string;
|
|
67
77
|
readonly name: "PreconditionFailedException";
|
|
68
78
|
readonly $fault: "client";
|
|
69
79
|
Code: string | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-schemas",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1150.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Schemas Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-schemas",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.978.3",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.86",
|
|
51
51
|
"@aws-sdk/types": "^3.974.6",
|
|
52
|
-
"@smithy/core": "^3.35.
|
|
52
|
+
"@smithy/core": "^3.35.2",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|