@aws-sdk/client-lex-runtime-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 +10 -1
- package/dist-es/models/LexRuntimeV2ServiceException.js +1 -0
- package/dist-es/models/errors.js +8 -0
- package/dist-types/models/LexRuntimeV2ServiceException.d.ts +1 -0
- package/dist-types/models/errors.d.ts +8 -0
- package/dist-types/ts3.4/models/LexRuntimeV2ServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/errors.d.ts +8 -0
- package/package.json +6 -6
package/dist-cjs/index.js
CHANGED
|
@@ -72,7 +72,7 @@ const commonParams = {
|
|
|
72
72
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
73
73
|
};
|
|
74
74
|
|
|
75
|
-
var version = "3.
|
|
75
|
+
var version = "3.1148.0";
|
|
76
76
|
var packageInfo = {
|
|
77
77
|
version: version};
|
|
78
78
|
|
|
@@ -135,6 +135,7 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
135
135
|
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
136
136
|
|
|
137
137
|
class LexRuntimeV2ServiceException extends ServiceException {
|
|
138
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.lexruntimev2#LexRuntimeV2ServiceException";
|
|
138
139
|
constructor(options) {
|
|
139
140
|
super(options);
|
|
140
141
|
Object.setPrototypeOf(this, LexRuntimeV2ServiceException.prototype);
|
|
@@ -142,6 +143,7 @@ class LexRuntimeV2ServiceException extends ServiceException {
|
|
|
142
143
|
}
|
|
143
144
|
|
|
144
145
|
class AccessDeniedException extends LexRuntimeV2ServiceException {
|
|
146
|
+
static shapeId = "com.amazonaws.lexruntimev2#AccessDeniedException";
|
|
145
147
|
name = "AccessDeniedException";
|
|
146
148
|
$fault = "client";
|
|
147
149
|
constructor(opts) {
|
|
@@ -154,6 +156,7 @@ class AccessDeniedException extends LexRuntimeV2ServiceException {
|
|
|
154
156
|
}
|
|
155
157
|
}
|
|
156
158
|
class ConflictException extends LexRuntimeV2ServiceException {
|
|
159
|
+
static shapeId = "com.amazonaws.lexruntimev2#ConflictException";
|
|
157
160
|
name = "ConflictException";
|
|
158
161
|
$fault = "client";
|
|
159
162
|
constructor(opts) {
|
|
@@ -166,6 +169,7 @@ class ConflictException extends LexRuntimeV2ServiceException {
|
|
|
166
169
|
}
|
|
167
170
|
}
|
|
168
171
|
class InternalServerException extends LexRuntimeV2ServiceException {
|
|
172
|
+
static shapeId = "com.amazonaws.lexruntimev2#InternalServerException";
|
|
169
173
|
name = "InternalServerException";
|
|
170
174
|
$fault = "server";
|
|
171
175
|
constructor(opts) {
|
|
@@ -178,6 +182,7 @@ class InternalServerException extends LexRuntimeV2ServiceException {
|
|
|
178
182
|
}
|
|
179
183
|
}
|
|
180
184
|
class ResourceNotFoundException extends LexRuntimeV2ServiceException {
|
|
185
|
+
static shapeId = "com.amazonaws.lexruntimev2#ResourceNotFoundException";
|
|
181
186
|
name = "ResourceNotFoundException";
|
|
182
187
|
$fault = "client";
|
|
183
188
|
constructor(opts) {
|
|
@@ -190,6 +195,7 @@ class ResourceNotFoundException extends LexRuntimeV2ServiceException {
|
|
|
190
195
|
}
|
|
191
196
|
}
|
|
192
197
|
class ThrottlingException extends LexRuntimeV2ServiceException {
|
|
198
|
+
static shapeId = "com.amazonaws.lexruntimev2#ThrottlingException";
|
|
193
199
|
name = "ThrottlingException";
|
|
194
200
|
$fault = "client";
|
|
195
201
|
constructor(opts) {
|
|
@@ -202,6 +208,7 @@ class ThrottlingException extends LexRuntimeV2ServiceException {
|
|
|
202
208
|
}
|
|
203
209
|
}
|
|
204
210
|
class ValidationException extends LexRuntimeV2ServiceException {
|
|
211
|
+
static shapeId = "com.amazonaws.lexruntimev2#ValidationException";
|
|
205
212
|
name = "ValidationException";
|
|
206
213
|
$fault = "client";
|
|
207
214
|
constructor(opts) {
|
|
@@ -214,6 +221,7 @@ class ValidationException extends LexRuntimeV2ServiceException {
|
|
|
214
221
|
}
|
|
215
222
|
}
|
|
216
223
|
class BadGatewayException extends LexRuntimeV2ServiceException {
|
|
224
|
+
static shapeId = "com.amazonaws.lexruntimev2#BadGatewayException";
|
|
217
225
|
name = "BadGatewayException";
|
|
218
226
|
$fault = "server";
|
|
219
227
|
constructor(opts) {
|
|
@@ -226,6 +234,7 @@ class BadGatewayException extends LexRuntimeV2ServiceException {
|
|
|
226
234
|
}
|
|
227
235
|
}
|
|
228
236
|
class DependencyFailedException extends LexRuntimeV2ServiceException {
|
|
237
|
+
static shapeId = "com.amazonaws.lexruntimev2#DependencyFailedException";
|
|
229
238
|
name = "DependencyFailedException";
|
|
230
239
|
$fault = "client";
|
|
231
240
|
constructor(opts) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class LexRuntimeV2ServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.lexruntimev2#LexRuntimeV2ServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, LexRuntimeV2ServiceException.prototype);
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { LexRuntimeV2ServiceException as __BaseException } from "./LexRuntimeV2ServiceException";
|
|
2
2
|
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.lexruntimev2#AccessDeniedException";
|
|
3
4
|
name = "AccessDeniedException";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
constructor(opts) {
|
|
@@ -12,6 +13,7 @@ export class AccessDeniedException extends __BaseException {
|
|
|
12
13
|
}
|
|
13
14
|
}
|
|
14
15
|
export class ConflictException extends __BaseException {
|
|
16
|
+
static shapeId = "com.amazonaws.lexruntimev2#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 InternalServerException extends __BaseException {
|
|
29
|
+
static shapeId = "com.amazonaws.lexruntimev2#InternalServerException";
|
|
27
30
|
name = "InternalServerException";
|
|
28
31
|
$fault = "server";
|
|
29
32
|
constructor(opts) {
|
|
@@ -36,6 +39,7 @@ export class InternalServerException extends __BaseException {
|
|
|
36
39
|
}
|
|
37
40
|
}
|
|
38
41
|
export class ResourceNotFoundException extends __BaseException {
|
|
42
|
+
static shapeId = "com.amazonaws.lexruntimev2#ResourceNotFoundException";
|
|
39
43
|
name = "ResourceNotFoundException";
|
|
40
44
|
$fault = "client";
|
|
41
45
|
constructor(opts) {
|
|
@@ -48,6 +52,7 @@ export class ResourceNotFoundException extends __BaseException {
|
|
|
48
52
|
}
|
|
49
53
|
}
|
|
50
54
|
export class ThrottlingException extends __BaseException {
|
|
55
|
+
static shapeId = "com.amazonaws.lexruntimev2#ThrottlingException";
|
|
51
56
|
name = "ThrottlingException";
|
|
52
57
|
$fault = "client";
|
|
53
58
|
constructor(opts) {
|
|
@@ -60,6 +65,7 @@ export class ThrottlingException extends __BaseException {
|
|
|
60
65
|
}
|
|
61
66
|
}
|
|
62
67
|
export class ValidationException extends __BaseException {
|
|
68
|
+
static shapeId = "com.amazonaws.lexruntimev2#ValidationException";
|
|
63
69
|
name = "ValidationException";
|
|
64
70
|
$fault = "client";
|
|
65
71
|
constructor(opts) {
|
|
@@ -72,6 +78,7 @@ export class ValidationException extends __BaseException {
|
|
|
72
78
|
}
|
|
73
79
|
}
|
|
74
80
|
export class BadGatewayException extends __BaseException {
|
|
81
|
+
static shapeId = "com.amazonaws.lexruntimev2#BadGatewayException";
|
|
75
82
|
name = "BadGatewayException";
|
|
76
83
|
$fault = "server";
|
|
77
84
|
constructor(opts) {
|
|
@@ -84,6 +91,7 @@ export class BadGatewayException extends __BaseException {
|
|
|
84
91
|
}
|
|
85
92
|
}
|
|
86
93
|
export class DependencyFailedException extends __BaseException {
|
|
94
|
+
static shapeId = "com.amazonaws.lexruntimev2#DependencyFailedException";
|
|
87
95
|
name = "DependencyFailedException";
|
|
88
96
|
$fault = "client";
|
|
89
97
|
constructor(opts) {
|
|
@@ -5,6 +5,7 @@ import { LexRuntimeV2ServiceException as __BaseException } from "./LexRuntimeV2S
|
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
7
7
|
export declare class AccessDeniedException extends __BaseException {
|
|
8
|
+
static readonly shapeId: string;
|
|
8
9
|
readonly name: "AccessDeniedException";
|
|
9
10
|
readonly $fault: "client";
|
|
10
11
|
/**
|
|
@@ -17,6 +18,7 @@ export declare class AccessDeniedException 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 InternalServerException extends __BaseException {
|
|
34
|
+
static readonly shapeId: string;
|
|
32
35
|
readonly name: "InternalServerException";
|
|
33
36
|
readonly $fault: "server";
|
|
34
37
|
/**
|
|
@@ -41,6 +44,7 @@ export declare class InternalServerException extends __BaseException {
|
|
|
41
44
|
* @public
|
|
42
45
|
*/
|
|
43
46
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
47
|
+
static readonly shapeId: string;
|
|
44
48
|
readonly name: "ResourceNotFoundException";
|
|
45
49
|
readonly $fault: "client";
|
|
46
50
|
/**
|
|
@@ -53,6 +57,7 @@ export declare class ResourceNotFoundException extends __BaseException {
|
|
|
53
57
|
* @public
|
|
54
58
|
*/
|
|
55
59
|
export declare class ThrottlingException extends __BaseException {
|
|
60
|
+
static readonly shapeId: string;
|
|
56
61
|
readonly name: "ThrottlingException";
|
|
57
62
|
readonly $fault: "client";
|
|
58
63
|
/**
|
|
@@ -65,6 +70,7 @@ export declare class ThrottlingException extends __BaseException {
|
|
|
65
70
|
* @public
|
|
66
71
|
*/
|
|
67
72
|
export declare class ValidationException extends __BaseException {
|
|
73
|
+
static readonly shapeId: string;
|
|
68
74
|
readonly name: "ValidationException";
|
|
69
75
|
readonly $fault: "client";
|
|
70
76
|
/**
|
|
@@ -77,6 +83,7 @@ export declare class ValidationException extends __BaseException {
|
|
|
77
83
|
* @public
|
|
78
84
|
*/
|
|
79
85
|
export declare class BadGatewayException extends __BaseException {
|
|
86
|
+
static readonly shapeId: string;
|
|
80
87
|
readonly name: "BadGatewayException";
|
|
81
88
|
readonly $fault: "server";
|
|
82
89
|
/**
|
|
@@ -89,6 +96,7 @@ export declare class BadGatewayException extends __BaseException {
|
|
|
89
96
|
* @public
|
|
90
97
|
*/
|
|
91
98
|
export declare class DependencyFailedException extends __BaseException {
|
|
99
|
+
static readonly shapeId: string;
|
|
92
100
|
readonly name: "DependencyFailedException";
|
|
93
101
|
readonly $fault: "client";
|
|
94
102
|
/**
|
|
@@ -1,41 +1,49 @@
|
|
|
1
1
|
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/core/client";
|
|
2
2
|
import { LexRuntimeV2ServiceException as __BaseException } from "./LexRuntimeV2ServiceException";
|
|
3
3
|
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
static readonly shapeId: string;
|
|
4
5
|
readonly name: "AccessDeniedException";
|
|
5
6
|
readonly $fault: "client";
|
|
6
7
|
constructor(opts: __ExceptionOptionType<AccessDeniedException, __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 InternalServerException extends __BaseException {
|
|
16
|
+
static readonly shapeId: string;
|
|
14
17
|
readonly name: "InternalServerException";
|
|
15
18
|
readonly $fault: "server";
|
|
16
19
|
constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
|
|
17
20
|
}
|
|
18
21
|
export declare class ResourceNotFoundException extends __BaseException {
|
|
22
|
+
static readonly shapeId: string;
|
|
19
23
|
readonly name: "ResourceNotFoundException";
|
|
20
24
|
readonly $fault: "client";
|
|
21
25
|
constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
|
|
22
26
|
}
|
|
23
27
|
export declare class ThrottlingException extends __BaseException {
|
|
28
|
+
static readonly shapeId: string;
|
|
24
29
|
readonly name: "ThrottlingException";
|
|
25
30
|
readonly $fault: "client";
|
|
26
31
|
constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
|
|
27
32
|
}
|
|
28
33
|
export declare class ValidationException extends __BaseException {
|
|
34
|
+
static readonly shapeId: string;
|
|
29
35
|
readonly name: "ValidationException";
|
|
30
36
|
readonly $fault: "client";
|
|
31
37
|
constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
|
|
32
38
|
}
|
|
33
39
|
export declare class BadGatewayException extends __BaseException {
|
|
40
|
+
static readonly shapeId: string;
|
|
34
41
|
readonly name: "BadGatewayException";
|
|
35
42
|
readonly $fault: "server";
|
|
36
43
|
constructor(opts: __ExceptionOptionType<BadGatewayException, __BaseException>);
|
|
37
44
|
}
|
|
38
45
|
export declare class DependencyFailedException extends __BaseException {
|
|
46
|
+
static readonly shapeId: string;
|
|
39
47
|
readonly name: "DependencyFailedException";
|
|
40
48
|
readonly $fault: "client";
|
|
41
49
|
constructor(opts: __ExceptionOptionType<DependencyFailedException, __BaseException>);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-runtime-v2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1149.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Lex Runtime 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-runtime-v2",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/core": "^3.978.
|
|
54
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
55
|
-
"@aws-sdk/eventstream-handler-node": "^3.972.
|
|
56
|
-
"@aws-sdk/middleware-eventstream": "^3.972.
|
|
53
|
+
"@aws-sdk/core": "^3.978.2",
|
|
54
|
+
"@aws-sdk/credential-provider-node": "^3.972.85",
|
|
55
|
+
"@aws-sdk/eventstream-handler-node": "^3.972.36",
|
|
56
|
+
"@aws-sdk/middleware-eventstream": "^3.972.31",
|
|
57
57
|
"@aws-sdk/types": "^3.974.6",
|
|
58
|
-
"@smithy/core": "^3.35.
|
|
58
|
+
"@smithy/core": "^3.35.2",
|
|
59
59
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
60
60
|
"@smithy/node-http-handler": "^4.12.1",
|
|
61
61
|
"@smithy/types": "^4.19.0",
|