@aws-sdk/client-lex-runtime-v2 3.52.0 → 3.54.1
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 +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/LexRuntimeV2ServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +107 -2
- package/dist-cjs/protocols/Aws_restJson1.js +126 -357
- package/dist-es/index.js +1 -0
- package/dist-es/models/LexRuntimeV2ServiceException.js +12 -0
- package/dist-es/models/models_0.js +98 -1
- package/dist-es/protocols/Aws_restJson1.js +199 -391
- package/dist-types/LexRuntimeV2Client.d.ts +2 -2
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/LexRuntimeV2ServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +58 -33
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/LexRuntimeV2Client.d.ts +2 -2
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/LexRuntimeV2ServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +42 -33
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +32 -32
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-lex-runtime-v2
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexRuntimeV2ServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./LexRuntimeV2"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./LexRuntimeV2Client"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
9
|
+
var LexRuntimeV2ServiceException_1 = require("./models/LexRuntimeV2ServiceException");
|
|
10
|
+
Object.defineProperty(exports, "LexRuntimeV2ServiceException", { enumerable: true, get: function () { return LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LexRuntimeV2ServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class LexRuntimeV2ServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, LexRuntimeV2ServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.LexRuntimeV2ServiceException = LexRuntimeV2ServiceException;
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.StartConversationResponse = exports.StartConversationResponseEventStream = exports.RecognizeTextResponse = void 0;
|
|
3
|
+
exports.Interpretation = exports.Intent = exports.Slot = exports.TranscriptEvent = exports.TextResponseEvent = exports.PlaybackInterruptionEvent = exports.PlaybackInterruptionReason = exports.InputMode = exports.HeartbeatEvent = exports.TextInputEvent = exports.PlaybackCompletionEvent = exports.DTMFInputEvent = exports.DisconnectionEvent = exports.ConversationMode = exports.RecognizeUtteranceResponse = exports.RecognizeUtteranceRequest = exports.PutSessionResponse = exports.DependencyFailedException = exports.BadGatewayException = exports.RuntimeHints = exports.RuntimeHintDetails = exports.RuntimeHintValue = exports.DialogAction = exports.DialogActionType = exports.StyleType = exports.Message = exports.ImageResponseCard = exports.Button = exports.MessageContentType = exports.SentimentResponse = exports.SentimentScore = exports.SentimentType = exports.ConfidenceScore = exports.IntentState = exports.Value = exports.Shape = exports.ConfirmationState = exports.GetSessionRequest = exports.ValidationException = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.DeleteSessionResponse = exports.DeleteSessionRequest = exports.ConflictException = exports.AudioResponseEvent = exports.AudioInputEvent = exports.ActiveContext = exports.ActiveContextTimeToLive = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.StartConversationResponse = exports.StartConversationResponseEventStream = exports.RecognizeTextResponse = exports.IntentResultEvent = exports.GetSessionResponse = exports.StartConversationRequest = exports.StartConversationRequestEventStream = exports.RecognizeTextRequest = exports.PutSessionRequest = exports.ConfigurationEvent = exports.SessionState = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const LexRuntimeV2ServiceException_1 = require("./LexRuntimeV2ServiceException");
|
|
7
|
+
class AccessDeniedException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
6
20
|
var ActiveContextTimeToLive;
|
|
7
21
|
(function (ActiveContextTimeToLive) {
|
|
8
22
|
ActiveContextTimeToLive.filterSensitiveLog = (obj) => ({
|
|
@@ -28,6 +42,19 @@ var AudioResponseEvent;
|
|
|
28
42
|
...obj,
|
|
29
43
|
});
|
|
30
44
|
})(AudioResponseEvent = exports.AudioResponseEvent || (exports.AudioResponseEvent = {}));
|
|
45
|
+
class ConflictException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
46
|
+
constructor(opts) {
|
|
47
|
+
super({
|
|
48
|
+
name: "ConflictException",
|
|
49
|
+
$fault: "client",
|
|
50
|
+
...opts,
|
|
51
|
+
});
|
|
52
|
+
this.name = "ConflictException";
|
|
53
|
+
this.$fault = "client";
|
|
54
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.ConflictException = ConflictException;
|
|
31
58
|
var DeleteSessionRequest;
|
|
32
59
|
(function (DeleteSessionRequest) {
|
|
33
60
|
DeleteSessionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -40,6 +67,58 @@ var DeleteSessionResponse;
|
|
|
40
67
|
...obj,
|
|
41
68
|
});
|
|
42
69
|
})(DeleteSessionResponse = exports.DeleteSessionResponse || (exports.DeleteSessionResponse = {}));
|
|
70
|
+
class InternalServerException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "InternalServerException",
|
|
74
|
+
$fault: "server",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
this.name = "InternalServerException";
|
|
78
|
+
this.$fault = "server";
|
|
79
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.InternalServerException = InternalServerException;
|
|
83
|
+
class ResourceNotFoundException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
84
|
+
constructor(opts) {
|
|
85
|
+
super({
|
|
86
|
+
name: "ResourceNotFoundException",
|
|
87
|
+
$fault: "client",
|
|
88
|
+
...opts,
|
|
89
|
+
});
|
|
90
|
+
this.name = "ResourceNotFoundException";
|
|
91
|
+
this.$fault = "client";
|
|
92
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
96
|
+
class ThrottlingException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
97
|
+
constructor(opts) {
|
|
98
|
+
super({
|
|
99
|
+
name: "ThrottlingException",
|
|
100
|
+
$fault: "client",
|
|
101
|
+
...opts,
|
|
102
|
+
});
|
|
103
|
+
this.name = "ThrottlingException";
|
|
104
|
+
this.$fault = "client";
|
|
105
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ThrottlingException = ThrottlingException;
|
|
109
|
+
class ValidationException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
110
|
+
constructor(opts) {
|
|
111
|
+
super({
|
|
112
|
+
name: "ValidationException",
|
|
113
|
+
$fault: "client",
|
|
114
|
+
...opts,
|
|
115
|
+
});
|
|
116
|
+
this.name = "ValidationException";
|
|
117
|
+
this.$fault = "client";
|
|
118
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.ValidationException = ValidationException;
|
|
43
122
|
var GetSessionRequest;
|
|
44
123
|
(function (GetSessionRequest) {
|
|
45
124
|
GetSessionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -162,6 +241,32 @@ var RuntimeHints;
|
|
|
162
241
|
...obj,
|
|
163
242
|
});
|
|
164
243
|
})(RuntimeHints = exports.RuntimeHints || (exports.RuntimeHints = {}));
|
|
244
|
+
class BadGatewayException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
245
|
+
constructor(opts) {
|
|
246
|
+
super({
|
|
247
|
+
name: "BadGatewayException",
|
|
248
|
+
$fault: "server",
|
|
249
|
+
...opts,
|
|
250
|
+
});
|
|
251
|
+
this.name = "BadGatewayException";
|
|
252
|
+
this.$fault = "server";
|
|
253
|
+
Object.setPrototypeOf(this, BadGatewayException.prototype);
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
exports.BadGatewayException = BadGatewayException;
|
|
257
|
+
class DependencyFailedException extends LexRuntimeV2ServiceException_1.LexRuntimeV2ServiceException {
|
|
258
|
+
constructor(opts) {
|
|
259
|
+
super({
|
|
260
|
+
name: "DependencyFailedException",
|
|
261
|
+
$fault: "client",
|
|
262
|
+
...opts,
|
|
263
|
+
});
|
|
264
|
+
this.name = "DependencyFailedException";
|
|
265
|
+
this.$fault = "client";
|
|
266
|
+
Object.setPrototypeOf(this, DependencyFailedException.prototype);
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
exports.DependencyFailedException = DependencyFailedException;
|
|
165
270
|
var PutSessionResponse;
|
|
166
271
|
(function (PutSessionResponse) {
|
|
167
272
|
PutSessionResponse.filterSensitiveLog = (obj) => ({
|