@aws-sdk/client-lex-models-v2 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/LexModelsV2ServiceException.js +1 -0
- package/dist-es/models/errors.js +7 -0
- package/dist-types/models/LexModelsV2ServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/LexModelsV2ServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +7 -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.1148.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 LexModelsV2ServiceException extends ServiceException {
|
|
135
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.lexmodelsv2#LexModelsV2ServiceException";
|
|
135
136
|
constructor(options) {
|
|
136
137
|
super(options);
|
|
137
138
|
Object.setPrototypeOf(this, LexModelsV2ServiceException.prototype);
|
|
@@ -139,6 +140,7 @@ class LexModelsV2ServiceException extends ServiceException {
|
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
class InternalServerException extends LexModelsV2ServiceException {
|
|
143
|
+
static shapeId = "com.amazonaws.lexmodelsv2#InternalServerException";
|
|
142
144
|
name = "InternalServerException";
|
|
143
145
|
$fault = "server";
|
|
144
146
|
constructor(opts) {
|
|
@@ -151,6 +153,7 @@ class InternalServerException extends LexModelsV2ServiceException {
|
|
|
151
153
|
}
|
|
152
154
|
}
|
|
153
155
|
class ResourceNotFoundException extends LexModelsV2ServiceException {
|
|
156
|
+
static shapeId = "com.amazonaws.lexmodelsv2#ResourceNotFoundException";
|
|
154
157
|
name = "ResourceNotFoundException";
|
|
155
158
|
$fault = "client";
|
|
156
159
|
constructor(opts) {
|
|
@@ -163,6 +166,7 @@ class ResourceNotFoundException extends LexModelsV2ServiceException {
|
|
|
163
166
|
}
|
|
164
167
|
}
|
|
165
168
|
class ServiceQuotaExceededException extends LexModelsV2ServiceException {
|
|
169
|
+
static shapeId = "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException";
|
|
166
170
|
name = "ServiceQuotaExceededException";
|
|
167
171
|
$fault = "client";
|
|
168
172
|
constructor(opts) {
|
|
@@ -175,6 +179,7 @@ class ServiceQuotaExceededException extends LexModelsV2ServiceException {
|
|
|
175
179
|
}
|
|
176
180
|
}
|
|
177
181
|
class ThrottlingException extends LexModelsV2ServiceException {
|
|
182
|
+
static shapeId = "com.amazonaws.lexmodelsv2#ThrottlingException";
|
|
178
183
|
name = "ThrottlingException";
|
|
179
184
|
$fault = "client";
|
|
180
185
|
retryAfterSeconds;
|
|
@@ -189,6 +194,7 @@ class ThrottlingException extends LexModelsV2ServiceException {
|
|
|
189
194
|
}
|
|
190
195
|
}
|
|
191
196
|
class ValidationException extends LexModelsV2ServiceException {
|
|
197
|
+
static shapeId = "com.amazonaws.lexmodelsv2#ValidationException";
|
|
192
198
|
name = "ValidationException";
|
|
193
199
|
$fault = "client";
|
|
194
200
|
constructor(opts) {
|
|
@@ -201,6 +207,7 @@ class ValidationException extends LexModelsV2ServiceException {
|
|
|
201
207
|
}
|
|
202
208
|
}
|
|
203
209
|
class ConflictException extends LexModelsV2ServiceException {
|
|
210
|
+
static shapeId = "com.amazonaws.lexmodelsv2#ConflictException";
|
|
204
211
|
name = "ConflictException";
|
|
205
212
|
$fault = "client";
|
|
206
213
|
constructor(opts) {
|
|
@@ -213,6 +220,7 @@ class ConflictException extends LexModelsV2ServiceException {
|
|
|
213
220
|
}
|
|
214
221
|
}
|
|
215
222
|
class PreconditionFailedException extends LexModelsV2ServiceException {
|
|
223
|
+
static shapeId = "com.amazonaws.lexmodelsv2#PreconditionFailedException";
|
|
216
224
|
name = "PreconditionFailedException";
|
|
217
225
|
$fault = "client";
|
|
218
226
|
constructor(opts) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class LexModelsV2ServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.lexmodelsv2#LexModelsV2ServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, LexModelsV2ServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LexModelsV2ServiceException as __BaseException } from "./LexModelsV2ServiceException";
|
|
2
2
|
export class InternalServerException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.lexmodelsv2#InternalServerException";
|
|
3
4
|
name = "InternalServerException";
|
|
4
5
|
$fault = "server";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class InternalServerException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class ResourceNotFoundException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.lexmodelsv2#ResourceNotFoundException";
|
|
15
17
|
name = "ResourceNotFoundException";
|
|
16
18
|
$fault = "client";
|
|
17
19
|
constructor(opts) {
|
|
@@ -24,6 +26,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
24
26
|
}
|
|
25
27
|
}
|
|
26
28
|
export class ServiceQuotaExceededException extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.lexmodelsv2#ServiceQuotaExceededException";
|
|
27
30
|
name = "ServiceQuotaExceededException";
|
|
28
31
|
$fault = "client";
|
|
29
32
|
constructor(opts) {
|
|
@@ -36,6 +39,7 @@ export class ServiceQuotaExceededException extends __BaseException {
|
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
export class ThrottlingException extends __BaseException {
|
|
42
|
+
static shapeId = "com.amazonaws.lexmodelsv2#ThrottlingException";
|
|
39
43
|
name = "ThrottlingException";
|
|
40
44
|
$fault = "client";
|
|
41
45
|
retryAfterSeconds;
|
|
@@ -50,6 +54,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
50
54
|
}
|
|
51
55
|
}
|
|
52
56
|
export class ValidationException extends __BaseException {
|
|
57
|
+
static shapeId = "com.amazonaws.lexmodelsv2#ValidationException";
|
|
53
58
|
name = "ValidationException";
|
|
54
59
|
$fault = "client";
|
|
55
60
|
constructor(opts) {
|
|
@@ -62,6 +67,7 @@ export class ValidationException extends __BaseException {
|
|
|
62
67
|
}
|
|
63
68
|
}
|
|
64
69
|
export class ConflictException extends __BaseException {
|
|
70
|
+
static shapeId = "com.amazonaws.lexmodelsv2#ConflictException";
|
|
65
71
|
name = "ConflictException";
|
|
66
72
|
$fault = "client";
|
|
67
73
|
constructor(opts) {
|
|
@@ -74,6 +80,7 @@ export class ConflictException extends __BaseException {
|
|
|
74
80
|
}
|
|
75
81
|
}
|
|
76
82
|
export class PreconditionFailedException extends __BaseException {
|
|
83
|
+
static shapeId = "com.amazonaws.lexmodelsv2#PreconditionFailedException";
|
|
77
84
|
name = "PreconditionFailedException";
|
|
78
85
|
$fault = "client";
|
|
79
86
|
constructor(opts) {
|
|
@@ -6,6 +6,7 @@ import { LexModelsV2ServiceException as __BaseException } from "./LexModelsV2Ser
|
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
8
8
|
export declare class InternalServerException extends __BaseException {
|
|
9
|
+
static readonly shapeId: string;
|
|
9
10
|
readonly name: "InternalServerException";
|
|
10
11
|
readonly $fault: "server";
|
|
11
12
|
/**
|
|
@@ -19,6 +20,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
19
20
|
* @public
|
|
20
21
|
*/
|
|
21
22
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
23
|
+
static readonly shapeId: string;
|
|
22
24
|
readonly name: "ResourceNotFoundException";
|
|
23
25
|
readonly $fault: "client";
|
|
24
26
|
/**
|
|
@@ -31,6 +33,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
31
33
|
* @public
|
|
32
34
|
*/
|
|
33
35
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
36
|
+
static readonly shapeId: string;
|
|
34
37
|
readonly name: "ServiceQuotaExceededException";
|
|
35
38
|
readonly $fault: "client";
|
|
36
39
|
/**
|
|
@@ -44,6 +47,7 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
44
47
|
* @public
|
|
45
48
|
*/
|
|
46
49
|
export declare class ThrottlingException extends __BaseException {
|
|
50
|
+
static readonly shapeId: string;
|
|
47
51
|
readonly name: "ThrottlingException";
|
|
48
52
|
readonly $fault: "client";
|
|
49
53
|
/**
|
|
@@ -62,6 +66,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
62
66
|
* @public
|
|
63
67
|
*/
|
|
64
68
|
export declare class ValidationException extends __BaseException {
|
|
69
|
+
static readonly shapeId: string;
|
|
65
70
|
readonly name: "ValidationException";
|
|
66
71
|
readonly $fault: "client";
|
|
67
72
|
/**
|
|
@@ -76,6 +81,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
76
81
|
* @public
|
|
77
82
|
*/
|
|
78
83
|
export declare class ConflictException extends __BaseException {
|
|
84
|
+
static readonly shapeId: string;
|
|
79
85
|
readonly name: "ConflictException";
|
|
80
86
|
readonly $fault: "client";
|
|
81
87
|
/**
|
|
@@ -90,6 +96,7 @@ export declare class ConflictException extends __BaseException {
|
|
|
90
96
|
* @public
|
|
91
97
|
*/
|
|
92
98
|
export declare class PreconditionFailedException extends __BaseException {
|
|
99
|
+
static readonly shapeId: string;
|
|
93
100
|
readonly name: "PreconditionFailedException";
|
|
94
101
|
readonly $fault: "client";
|
|
95
102
|
/**
|
|
@@ -1,37 +1,44 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { LexModelsV2ServiceException as __BaseException } from "./LexModelsV2ServiceException";
|
|
3
3
|
export declare class InternalServerException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "InternalServerException";
|
|
5
6
|
readonly $fault: "server";
|
|
6
7
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
7
8
|
}
|
|
8
9
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
10
|
+
static readonly shapeId: string;
|
|
9
11
|
readonly name: "ResourceNotFoundException";
|
|
10
12
|
readonly $fault: "client";
|
|
11
13
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
12
14
|
}
|
|
13
15
|
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
16
|
+
static readonly shapeId: string;
|
|
14
17
|
readonly name: "ServiceQuotaExceededException";
|
|
15
18
|
readonly $fault: "client";
|
|
16
19
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
17
20
|
}
|
|
18
21
|
export declare class ThrottlingException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
19
23
|
readonly name: "ThrottlingException";
|
|
20
24
|
readonly $fault: "client";
|
|
21
25
|
retryAfterSeconds?: number | undefined;
|
|
22
26
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
23
27
|
}
|
|
24
28
|
export declare class ValidationException extends __BaseException {
|
|
29
|
+
static readonly shapeId: string;
|
|
25
30
|
readonly name: "ValidationException";
|
|
26
31
|
readonly $fault: "client";
|
|
27
32
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
28
33
|
}
|
|
29
34
|
export declare class ConflictException extends __BaseException {
|
|
35
|
+
static readonly shapeId: string;
|
|
30
36
|
readonly name: "ConflictException";
|
|
31
37
|
readonly $fault: "client";
|
|
32
38
|
constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
|
|
33
39
|
}
|
|
34
40
|
export declare class PreconditionFailedException extends __BaseException {
|
|
41
|
+
static readonly shapeId: string;
|
|
35
42
|
readonly name: "PreconditionFailedException";
|
|
36
43
|
readonly $fault: "client";
|
|
37
44
|
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-models-v2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lex-models-v2",
|
|
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.2",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
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",
|