@aws-sdk/client-lex-runtime-service 3.183.0 → 3.185.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/CHANGELOG.md +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/LexRuntimeService.js +29 -22
- package/dist-es/LexRuntimeServiceClient.js +28 -22
- package/dist-es/commands/DeleteSessionCommand.js +28 -21
- package/dist-es/commands/GetSessionCommand.js +28 -21
- package/dist-es/commands/PostContentCommand.js +28 -21
- package/dist-es/commands/PostTextCommand.js +28 -21
- package/dist-es/commands/PutSessionCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/LexRuntimeServiceServiceException.js +10 -5
- package/dist-es/models/models_0.js +152 -223
- package/dist-es/protocols/Aws_restJson1.js +913 -753
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,66 +1,67 @@
|
|
|
1
|
+
import { __assign, __extends } from "tslib";
|
|
1
2
|
import { SENSITIVE_STRING, } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { LexRuntimeServiceServiceException as __BaseException } from "./LexRuntimeServiceServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
this.$fault = "client";
|
|
12
|
-
Object.setPrototypeOf(this, BadRequestException.prototype);
|
|
4
|
+
var BadRequestException = (function (_super) {
|
|
5
|
+
__extends(BadRequestException, _super);
|
|
6
|
+
function BadRequestException(opts) {
|
|
7
|
+
var _this = _super.call(this, __assign({ name: "BadRequestException", $fault: "client" }, opts)) || this;
|
|
8
|
+
_this.name = "BadRequestException";
|
|
9
|
+
_this.$fault = "client";
|
|
10
|
+
Object.setPrototypeOf(_this, BadRequestException.prototype);
|
|
11
|
+
return _this;
|
|
13
12
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
13
|
+
return BadRequestException;
|
|
14
|
+
}(__BaseException));
|
|
15
|
+
export { BadRequestException };
|
|
16
|
+
var ConflictException = (function (_super) {
|
|
17
|
+
__extends(ConflictException, _super);
|
|
18
|
+
function ConflictException(opts) {
|
|
19
|
+
var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
|
|
20
|
+
_this.name = "ConflictException";
|
|
21
|
+
_this.$fault = "client";
|
|
22
|
+
Object.setPrototypeOf(_this, ConflictException.prototype);
|
|
23
|
+
return _this;
|
|
25
24
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
25
|
+
return ConflictException;
|
|
26
|
+
}(__BaseException));
|
|
27
|
+
export { ConflictException };
|
|
28
|
+
var InternalFailureException = (function (_super) {
|
|
29
|
+
__extends(InternalFailureException, _super);
|
|
30
|
+
function InternalFailureException(opts) {
|
|
31
|
+
var _this = _super.call(this, __assign({ name: "InternalFailureException", $fault: "server" }, opts)) || this;
|
|
32
|
+
_this.name = "InternalFailureException";
|
|
33
|
+
_this.$fault = "server";
|
|
34
|
+
Object.setPrototypeOf(_this, InternalFailureException.prototype);
|
|
35
|
+
return _this;
|
|
37
36
|
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
37
|
+
return InternalFailureException;
|
|
38
|
+
}(__BaseException));
|
|
39
|
+
export { InternalFailureException };
|
|
40
|
+
var LimitExceededException = (function (_super) {
|
|
41
|
+
__extends(LimitExceededException, _super);
|
|
42
|
+
function LimitExceededException(opts) {
|
|
43
|
+
var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
|
|
44
|
+
_this.name = "LimitExceededException";
|
|
45
|
+
_this.$fault = "client";
|
|
46
|
+
Object.setPrototypeOf(_this, LimitExceededException.prototype);
|
|
47
|
+
_this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
48
|
+
return _this;
|
|
50
49
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
50
|
+
return LimitExceededException;
|
|
51
|
+
}(__BaseException));
|
|
52
|
+
export { LimitExceededException };
|
|
53
|
+
var NotFoundException = (function (_super) {
|
|
54
|
+
__extends(NotFoundException, _super);
|
|
55
|
+
function NotFoundException(opts) {
|
|
56
|
+
var _this = _super.call(this, __assign({ name: "NotFoundException", $fault: "client" }, opts)) || this;
|
|
57
|
+
_this.name = "NotFoundException";
|
|
58
|
+
_this.$fault = "client";
|
|
59
|
+
Object.setPrototypeOf(_this, NotFoundException.prototype);
|
|
60
|
+
return _this;
|
|
62
61
|
}
|
|
63
|
-
|
|
62
|
+
return NotFoundException;
|
|
63
|
+
}(__BaseException));
|
|
64
|
+
export { NotFoundException };
|
|
64
65
|
export var FulfillmentState;
|
|
65
66
|
(function (FulfillmentState) {
|
|
66
67
|
FulfillmentState["FAILED"] = "Failed";
|
|
@@ -88,57 +89,57 @@ export var ConfirmationStatus;
|
|
|
88
89
|
ConfirmationStatus["DENIED"] = "Denied";
|
|
89
90
|
ConfirmationStatus["NONE"] = "None";
|
|
90
91
|
})(ConfirmationStatus || (ConfirmationStatus = {}));
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
Object.setPrototypeOf(this, BadGatewayException.prototype);
|
|
101
|
-
this.Message = opts.Message;
|
|
92
|
+
var BadGatewayException = (function (_super) {
|
|
93
|
+
__extends(BadGatewayException, _super);
|
|
94
|
+
function BadGatewayException(opts) {
|
|
95
|
+
var _this = _super.call(this, __assign({ name: "BadGatewayException", $fault: "server" }, opts)) || this;
|
|
96
|
+
_this.name = "BadGatewayException";
|
|
97
|
+
_this.$fault = "server";
|
|
98
|
+
Object.setPrototypeOf(_this, BadGatewayException.prototype);
|
|
99
|
+
_this.Message = opts.Message;
|
|
100
|
+
return _this;
|
|
102
101
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
102
|
+
return BadGatewayException;
|
|
103
|
+
}(__BaseException));
|
|
104
|
+
export { BadGatewayException };
|
|
105
|
+
var DependencyFailedException = (function (_super) {
|
|
106
|
+
__extends(DependencyFailedException, _super);
|
|
107
|
+
function DependencyFailedException(opts) {
|
|
108
|
+
var _this = _super.call(this, __assign({ name: "DependencyFailedException", $fault: "client" }, opts)) || this;
|
|
109
|
+
_this.name = "DependencyFailedException";
|
|
110
|
+
_this.$fault = "client";
|
|
111
|
+
Object.setPrototypeOf(_this, DependencyFailedException.prototype);
|
|
112
|
+
_this.Message = opts.Message;
|
|
113
|
+
return _this;
|
|
115
114
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
115
|
+
return DependencyFailedException;
|
|
116
|
+
}(__BaseException));
|
|
117
|
+
export { DependencyFailedException };
|
|
118
|
+
var LoopDetectedException = (function (_super) {
|
|
119
|
+
__extends(LoopDetectedException, _super);
|
|
120
|
+
function LoopDetectedException(opts) {
|
|
121
|
+
var _this = _super.call(this, __assign({ name: "LoopDetectedException", $fault: "server" }, opts)) || this;
|
|
122
|
+
_this.name = "LoopDetectedException";
|
|
123
|
+
_this.$fault = "server";
|
|
124
|
+
Object.setPrototypeOf(_this, LoopDetectedException.prototype);
|
|
125
|
+
_this.Message = opts.Message;
|
|
126
|
+
return _this;
|
|
128
127
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
128
|
+
return LoopDetectedException;
|
|
129
|
+
}(__BaseException));
|
|
130
|
+
export { LoopDetectedException };
|
|
131
|
+
var NotAcceptableException = (function (_super) {
|
|
132
|
+
__extends(NotAcceptableException, _super);
|
|
133
|
+
function NotAcceptableException(opts) {
|
|
134
|
+
var _this = _super.call(this, __assign({ name: "NotAcceptableException", $fault: "client" }, opts)) || this;
|
|
135
|
+
_this.name = "NotAcceptableException";
|
|
136
|
+
_this.$fault = "client";
|
|
137
|
+
Object.setPrototypeOf(_this, NotAcceptableException.prototype);
|
|
138
|
+
return _this;
|
|
140
139
|
}
|
|
141
|
-
|
|
140
|
+
return NotAcceptableException;
|
|
141
|
+
}(__BaseException));
|
|
142
|
+
export { NotAcceptableException };
|
|
142
143
|
export var DialogState;
|
|
143
144
|
(function (DialogState) {
|
|
144
145
|
DialogState["CONFIRM_INTENT"] = "ConfirmIntent";
|
|
@@ -148,129 +149,57 @@ export var DialogState;
|
|
|
148
149
|
DialogState["FULFILLED"] = "Fulfilled";
|
|
149
150
|
DialogState["READY_FOR_FULFILLMENT"] = "ReadyForFulfillment";
|
|
150
151
|
})(DialogState || (DialogState = {}));
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
this.$fault = "client";
|
|
160
|
-
Object.setPrototypeOf(this, RequestTimeoutException.prototype);
|
|
152
|
+
var RequestTimeoutException = (function (_super) {
|
|
153
|
+
__extends(RequestTimeoutException, _super);
|
|
154
|
+
function RequestTimeoutException(opts) {
|
|
155
|
+
var _this = _super.call(this, __assign({ name: "RequestTimeoutException", $fault: "client" }, opts)) || this;
|
|
156
|
+
_this.name = "RequestTimeoutException";
|
|
157
|
+
_this.$fault = "client";
|
|
158
|
+
Object.setPrototypeOf(_this, RequestTimeoutException.prototype);
|
|
159
|
+
return _this;
|
|
161
160
|
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
161
|
+
return RequestTimeoutException;
|
|
162
|
+
}(__BaseException));
|
|
163
|
+
export { RequestTimeoutException };
|
|
164
|
+
var UnsupportedMediaTypeException = (function (_super) {
|
|
165
|
+
__extends(UnsupportedMediaTypeException, _super);
|
|
166
|
+
function UnsupportedMediaTypeException(opts) {
|
|
167
|
+
var _this = _super.call(this, __assign({ name: "UnsupportedMediaTypeException", $fault: "client" }, opts)) || this;
|
|
168
|
+
_this.name = "UnsupportedMediaTypeException";
|
|
169
|
+
_this.$fault = "client";
|
|
170
|
+
Object.setPrototypeOf(_this, UnsupportedMediaTypeException.prototype);
|
|
171
|
+
return _this;
|
|
173
172
|
}
|
|
174
|
-
|
|
173
|
+
return UnsupportedMediaTypeException;
|
|
174
|
+
}(__BaseException));
|
|
175
|
+
export { UnsupportedMediaTypeException };
|
|
175
176
|
export var ContentType;
|
|
176
177
|
(function (ContentType) {
|
|
177
178
|
ContentType["GENERIC"] = "application/vnd.amazonaws.card.generic";
|
|
178
179
|
})(ContentType || (ContentType = {}));
|
|
179
|
-
export
|
|
180
|
-
|
|
181
|
-
});
|
|
182
|
-
export
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
});
|
|
186
|
-
export
|
|
187
|
-
|
|
188
|
-
});
|
|
189
|
-
export
|
|
190
|
-
|
|
191
|
-
});
|
|
192
|
-
export
|
|
193
|
-
|
|
194
|
-
});
|
|
195
|
-
export
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
})
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
});
|
|
204
|
-
export
|
|
205
|
-
...obj,
|
|
206
|
-
...(obj.recentIntentSummaryView && {
|
|
207
|
-
recentIntentSummaryView: obj.recentIntentSummaryView.map((item) => IntentSummaryFilterSensitiveLog(item)),
|
|
208
|
-
}),
|
|
209
|
-
...(obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING }),
|
|
210
|
-
...(obj.dialogAction && { dialogAction: DialogActionFilterSensitiveLog(obj.dialogAction) }),
|
|
211
|
-
...(obj.activeContexts && { activeContexts: SENSITIVE_STRING }),
|
|
212
|
-
});
|
|
213
|
-
export const PostContentRequestFilterSensitiveLog = (obj) => ({
|
|
214
|
-
...obj,
|
|
215
|
-
...(obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING }),
|
|
216
|
-
...(obj.requestAttributes && { requestAttributes: SENSITIVE_STRING }),
|
|
217
|
-
...(obj.activeContexts && { activeContexts: SENSITIVE_STRING }),
|
|
218
|
-
});
|
|
219
|
-
export const PostContentResponseFilterSensitiveLog = (obj) => ({
|
|
220
|
-
...obj,
|
|
221
|
-
...(obj.message && { message: SENSITIVE_STRING }),
|
|
222
|
-
...(obj.encodedMessage && { encodedMessage: SENSITIVE_STRING }),
|
|
223
|
-
...(obj.encodedInputTranscript && { encodedInputTranscript: SENSITIVE_STRING }),
|
|
224
|
-
...(obj.activeContexts && { activeContexts: SENSITIVE_STRING }),
|
|
225
|
-
});
|
|
226
|
-
export const PostTextRequestFilterSensitiveLog = (obj) => ({
|
|
227
|
-
...obj,
|
|
228
|
-
...(obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING }),
|
|
229
|
-
...(obj.requestAttributes && { requestAttributes: SENSITIVE_STRING }),
|
|
230
|
-
...(obj.inputText && { inputText: SENSITIVE_STRING }),
|
|
231
|
-
...(obj.activeContexts && { activeContexts: SENSITIVE_STRING }),
|
|
232
|
-
});
|
|
233
|
-
export const IntentConfidenceFilterSensitiveLog = (obj) => ({
|
|
234
|
-
...obj,
|
|
235
|
-
});
|
|
236
|
-
export const PredictedIntentFilterSensitiveLog = (obj) => ({
|
|
237
|
-
...obj,
|
|
238
|
-
...(obj.slots && { slots: SENSITIVE_STRING }),
|
|
239
|
-
});
|
|
240
|
-
export const ButtonFilterSensitiveLog = (obj) => ({
|
|
241
|
-
...obj,
|
|
242
|
-
});
|
|
243
|
-
export const GenericAttachmentFilterSensitiveLog = (obj) => ({
|
|
244
|
-
...obj,
|
|
245
|
-
});
|
|
246
|
-
export const ResponseCardFilterSensitiveLog = (obj) => ({
|
|
247
|
-
...obj,
|
|
248
|
-
});
|
|
249
|
-
export const SentimentResponseFilterSensitiveLog = (obj) => ({
|
|
250
|
-
...obj,
|
|
251
|
-
});
|
|
252
|
-
export const PostTextResponseFilterSensitiveLog = (obj) => ({
|
|
253
|
-
...obj,
|
|
254
|
-
...(obj.alternativeIntents && {
|
|
255
|
-
alternativeIntents: obj.alternativeIntents.map((item) => PredictedIntentFilterSensitiveLog(item)),
|
|
256
|
-
}),
|
|
257
|
-
...(obj.slots && { slots: SENSITIVE_STRING }),
|
|
258
|
-
...(obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING }),
|
|
259
|
-
...(obj.message && { message: SENSITIVE_STRING }),
|
|
260
|
-
...(obj.activeContexts && { activeContexts: SENSITIVE_STRING }),
|
|
261
|
-
});
|
|
262
|
-
export const PutSessionRequestFilterSensitiveLog = (obj) => ({
|
|
263
|
-
...obj,
|
|
264
|
-
...(obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING }),
|
|
265
|
-
...(obj.dialogAction && { dialogAction: DialogActionFilterSensitiveLog(obj.dialogAction) }),
|
|
266
|
-
...(obj.recentIntentSummaryView && {
|
|
267
|
-
recentIntentSummaryView: obj.recentIntentSummaryView.map((item) => IntentSummaryFilterSensitiveLog(item)),
|
|
268
|
-
}),
|
|
269
|
-
...(obj.activeContexts && { activeContexts: SENSITIVE_STRING }),
|
|
270
|
-
});
|
|
271
|
-
export const PutSessionResponseFilterSensitiveLog = (obj) => ({
|
|
272
|
-
...obj,
|
|
273
|
-
...(obj.message && { message: SENSITIVE_STRING }),
|
|
274
|
-
...(obj.encodedMessage && { encodedMessage: SENSITIVE_STRING }),
|
|
275
|
-
...(obj.activeContexts && { activeContexts: SENSITIVE_STRING }),
|
|
276
|
-
});
|
|
180
|
+
export var ActiveContextTimeToLiveFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
181
|
+
export var ActiveContextFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.parameters && { parameters: SENSITIVE_STRING }))); };
|
|
182
|
+
export var DeleteSessionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
+
export var DeleteSessionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
export var GetSessionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
185
|
+
export var DialogActionFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.slots && { slots: SENSITIVE_STRING })), (obj.message && { message: SENSITIVE_STRING }))); };
|
|
186
|
+
export var IntentSummaryFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.slots && { slots: SENSITIVE_STRING }))); };
|
|
187
|
+
export var GetSessionResponseFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.recentIntentSummaryView && {
|
|
188
|
+
recentIntentSummaryView: obj.recentIntentSummaryView.map(function (item) { return IntentSummaryFilterSensitiveLog(item); }),
|
|
189
|
+
})), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.dialogAction && { dialogAction: DialogActionFilterSensitiveLog(obj.dialogAction) })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
190
|
+
export var PostContentRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
191
|
+
export var PostContentResponseFilterSensitiveLog = 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 }))); };
|
|
192
|
+
export var PostTextRequestFilterSensitiveLog = 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 }))); };
|
|
193
|
+
export var IntentConfidenceFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
194
|
+
export var PredictedIntentFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.slots && { slots: SENSITIVE_STRING }))); };
|
|
195
|
+
export var ButtonFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
+
export var GenericAttachmentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
197
|
+
export var ResponseCardFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
export var SentimentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
+
export var PostTextResponseFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign(__assign({}, obj), (obj.alternativeIntents && {
|
|
200
|
+
alternativeIntents: obj.alternativeIntents.map(function (item) { return PredictedIntentFilterSensitiveLog(item); }),
|
|
201
|
+
})), (obj.slots && { slots: SENSITIVE_STRING })), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.message && { message: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
202
|
+
export var PutSessionRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign(__assign({}, obj), (obj.sessionAttributes && { sessionAttributes: SENSITIVE_STRING })), (obj.dialogAction && { dialogAction: DialogActionFilterSensitiveLog(obj.dialogAction) })), (obj.recentIntentSummaryView && {
|
|
203
|
+
recentIntentSummaryView: obj.recentIntentSummaryView.map(function (item) { return IntentSummaryFilterSensitiveLog(item); }),
|
|
204
|
+
})), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|
|
205
|
+
export var PutSessionResponseFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign(__assign({}, obj), (obj.message && { message: SENSITIVE_STRING })), (obj.encodedMessage && { encodedMessage: SENSITIVE_STRING })), (obj.activeContexts && { activeContexts: SENSITIVE_STRING }))); };
|