@aws-sdk/client-lex-runtime-service 3.51.0 → 3.54.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-es/index.js CHANGED
@@ -2,3 +2,4 @@ export * from "./LexRuntimeService";
2
2
  export * from "./LexRuntimeServiceClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
+ export { LexRuntimeServiceServiceException } from "./models/LexRuntimeServiceServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var LexRuntimeServiceServiceException = (function (_super) {
4
+ __extends(LexRuntimeServiceServiceException, _super);
5
+ function LexRuntimeServiceServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, LexRuntimeServiceServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return LexRuntimeServiceServiceException;
11
+ }(__ServiceException));
12
+ export { LexRuntimeServiceServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
2
- import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
1
+ import { __assign, __extends } from "tslib";
2
+ import { SENSITIVE_STRING, } from "@aws-sdk/smithy-client";
3
+ import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException";
3
4
  export var ActiveContextTimeToLive;
4
5
  (function (ActiveContextTimeToLive) {
5
6
  ActiveContextTimeToLive.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -8,6 +9,30 @@ export var ActiveContext;
8
9
  (function (ActiveContext) {
9
10
  ActiveContext.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.parameters && { parameters: SENSITIVE_STRING }))); };
10
11
  })(ActiveContext || (ActiveContext = {}));
12
+ var BadRequestException = (function (_super) {
13
+ __extends(BadRequestException, _super);
14
+ function BadRequestException(opts) {
15
+ var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
16
+ _this.name = "BadRequestException";
17
+ _this.$fault = "client";
18
+ Object.setPrototypeOf(_this, BadRequestException.prototype);
19
+ return _this;
20
+ }
21
+ return BadRequestException;
22
+ }(__BaseException));
23
+ export { BadRequestException };
24
+ var ConflictException = (function (_super) {
25
+ __extends(ConflictException, _super);
26
+ function ConflictException(opts) {
27
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
28
+ _this.name = "ConflictException";
29
+ _this.$fault = "client";
30
+ Object.setPrototypeOf(_this, ConflictException.prototype);
31
+ return _this;
32
+ }
33
+ return ConflictException;
34
+ }(__BaseException));
35
+ export { ConflictException };
11
36
  export var DeleteSessionRequest;
12
37
  (function (DeleteSessionRequest) {
13
38
  DeleteSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -16,6 +41,43 @@ export var DeleteSessionResponse;
16
41
  (function (DeleteSessionResponse) {
17
42
  DeleteSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
18
43
  })(DeleteSessionResponse || (DeleteSessionResponse = {}));
44
+ var InternalFailureException = (function (_super) {
45
+ __extends(InternalFailureException, _super);
46
+ function InternalFailureException(opts) {
47
+ var _this = _super.call(this, __assign({ name: "InternalFailureException", $fault: "server" }, opts)) || this;
48
+ _this.name = "InternalFailureException";
49
+ _this.$fault = "server";
50
+ Object.setPrototypeOf(_this, InternalFailureException.prototype);
51
+ return _this;
52
+ }
53
+ return InternalFailureException;
54
+ }(__BaseException));
55
+ export { InternalFailureException };
56
+ var LimitExceededException = (function (_super) {
57
+ __extends(LimitExceededException, _super);
58
+ function LimitExceededException(opts) {
59
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
60
+ _this.name = "LimitExceededException";
61
+ _this.$fault = "client";
62
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
63
+ _this.retryAfterSeconds = opts.retryAfterSeconds;
64
+ return _this;
65
+ }
66
+ return LimitExceededException;
67
+ }(__BaseException));
68
+ export { LimitExceededException };
69
+ var NotFoundException = (function (_super) {
70
+ __extends(NotFoundException, _super);
71
+ function NotFoundException(opts) {
72
+ var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
73
+ _this.name = "NotFoundException";
74
+ _this.$fault = "client";
75
+ Object.setPrototypeOf(_this, NotFoundException.prototype);
76
+ return _this;
77
+ }
78
+ return NotFoundException;
79
+ }(__BaseException));
80
+ export { NotFoundException };
19
81
  export var GetSessionRequest;
20
82
  (function (GetSessionRequest) {
21
83
  GetSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -61,6 +123,57 @@ export var GetSessionResponse;
61
123
  recentIntentSummaryView: obj.recentIntentSummaryView.map(function (item) { return IntentSummary.filterSensitiveLog(item); }),
62
124
  })), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.dialogAction && { dialogAction: DialogAction.filterSensitiveLog(obj.dialogAction) })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
63
125
  })(GetSessionResponse || (GetSessionResponse = {}));
126
+ var BadGatewayException = (function (_super) {
127
+ __extends(BadGatewayException, _super);
128
+ function BadGatewayException(opts) {
129
+ var _this = _super.call(this, __assign({ name: "BadGatewayException", $fault: "server" }, opts)) || this;
130
+ _this.name = "BadGatewayException";
131
+ _this.$fault = "server";
132
+ Object.setPrototypeOf(_this, BadGatewayException.prototype);
133
+ _this.Message = opts.Message;
134
+ return _this;
135
+ }
136
+ return BadGatewayException;
137
+ }(__BaseException));
138
+ export { BadGatewayException };
139
+ var DependencyFailedException = (function (_super) {
140
+ __extends(DependencyFailedException, _super);
141
+ function DependencyFailedException(opts) {
142
+ var _this = _super.call(this, __assign({ name: "DependencyFailedException", $fault: "client" }, opts)) || this;
143
+ _this.name = "DependencyFailedException";
144
+ _this.$fault = "client";
145
+ Object.setPrototypeOf(_this, DependencyFailedException.prototype);
146
+ _this.Message = opts.Message;
147
+ return _this;
148
+ }
149
+ return DependencyFailedException;
150
+ }(__BaseException));
151
+ export { DependencyFailedException };
152
+ var LoopDetectedException = (function (_super) {
153
+ __extends(LoopDetectedException, _super);
154
+ function LoopDetectedException(opts) {
155
+ var _this = _super.call(this, __assign({ name: "LoopDetectedException", $fault: "server" }, opts)) || this;
156
+ _this.name = "LoopDetectedException";
157
+ _this.$fault = "server";
158
+ Object.setPrototypeOf(_this, LoopDetectedException.prototype);
159
+ _this.Message = opts.Message;
160
+ return _this;
161
+ }
162
+ return LoopDetectedException;
163
+ }(__BaseException));
164
+ export { LoopDetectedException };
165
+ var NotAcceptableException = (function (_super) {
166
+ __extends(NotAcceptableException, _super);
167
+ function NotAcceptableException(opts) {
168
+ var _this = _super.call(this, __assign({ name: "NotAcceptableException", $fault: "client" }, opts)) || this;
169
+ _this.name = "NotAcceptableException";
170
+ _this.$fault = "client";
171
+ Object.setPrototypeOf(_this, NotAcceptableException.prototype);
172
+ return _this;
173
+ }
174
+ return NotAcceptableException;
175
+ }(__BaseException));
176
+ export { NotAcceptableException };
64
177
  export var PostContentRequest;
65
178
  (function (PostContentRequest) {
66
179
  PostContentRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
@@ -78,6 +191,30 @@ export var PostContentResponse;
78
191
  (function (PostContentResponse) {
79
192
  PostContentResponse.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.message && { message: SENSITIVE_STRING })), (obj.encodedMessage && { encodedMessage: SENSITIVE_STRING })), (obj.encodedInputTranscript && { encodedInputTranscript: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
80
193
  })(PostContentResponse || (PostContentResponse = {}));
194
+ var RequestTimeoutException = (function (_super) {
195
+ __extends(RequestTimeoutException, _super);
196
+ function RequestTimeoutException(opts) {
197
+ var _this = _super.call(this, __assign({ name: "RequestTimeoutException", $fault: "client" }, opts)) || this;
198
+ _this.name = "RequestTimeoutException";
199
+ _this.$fault = "client";
200
+ Object.setPrototypeOf(_this, RequestTimeoutException.prototype);
201
+ return _this;
202
+ }
203
+ return RequestTimeoutException;
204
+ }(__BaseException));
205
+ export { RequestTimeoutException };
206
+ var UnsupportedMediaTypeException = (function (_super) {
207
+ __extends(UnsupportedMediaTypeException, _super);
208
+ function UnsupportedMediaTypeException(opts) {
209
+ var _this = _super.call(this, __assign({ name: "UnsupportedMediaTypeException", $fault: "client" }, opts)) || this;
210
+ _this.name = "UnsupportedMediaTypeException";
211
+ _this.$fault = "client";
212
+ Object.setPrototypeOf(_this, UnsupportedMediaTypeException.prototype);
213
+ return _this;
214
+ }
215
+ return UnsupportedMediaTypeException;
216
+ }(__BaseException));
217
+ export { UnsupportedMediaTypeException };
81
218
  export var PostTextRequest;
82
219
  (function (PostTextRequest) {
83
220
  PostTextRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING })), (obj.inputText && { inputText: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };