@aws-sdk/client-lex-runtime-v2 3.131.0 → 3.140.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 +30 -0
- package/dist-cjs/commands/DeleteSessionCommand.js +2 -2
- package/dist-cjs/commands/GetSessionCommand.js +2 -2
- package/dist-cjs/commands/PutSessionCommand.js +2 -2
- package/dist-cjs/commands/RecognizeTextCommand.js +2 -2
- package/dist-cjs/commands/RecognizeUtteranceCommand.js +2 -2
- package/dist-cjs/commands/StartConversationCommand.js +2 -2
- package/dist-cjs/models/models_0.js +233 -315
- package/dist-cjs/protocols/Aws_restJson1.js +242 -409
- package/dist-cjs/runtimeConfig.js +1 -1
- package/dist-es/commands/DeleteSessionCommand.js +3 -3
- package/dist-es/commands/GetSessionCommand.js +3 -3
- package/dist-es/commands/PutSessionCommand.js +3 -3
- package/dist-es/commands/RecognizeTextCommand.js +3 -3
- package/dist-es/commands/RecognizeUtteranceCommand.js +3 -3
- package/dist-es/commands/StartConversationCommand.js +3 -3
- package/dist-es/models/models_0.js +93 -218
- package/dist-es/protocols/Aws_restJson1.js +257 -414
- package/dist-es/runtimeConfig.js +8 -1
- package/dist-types/models/models_0.d.ts +172 -254
- package/dist-types/ts3.4/models/models_0.d.ts +0 -76
- package/package.json +6 -6
|
@@ -40,7 +40,7 @@ const getRuntimeConfig = (config) => {
|
|
|
40
40
|
eventStreamSerdeProvider: (_g = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _g !== void 0 ? _g : eventstream_serde_node_1.eventStreamSerdeProvider,
|
|
41
41
|
maxAttempts: (_h = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _h !== void 0 ? _h : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
42
42
|
region: (_j = config === null || config === void 0 ? void 0 : config.region) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
43
|
-
requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new node_http_handler_1.NodeHttp2Handler(defaultConfigProvider),
|
|
43
|
+
requestHandler: (_k = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _k !== void 0 ? _k : new node_http_handler_1.NodeHttp2Handler(async () => ({ ...(await defaultConfigProvider()), disableConcurrentStreams: true })),
|
|
44
44
|
retryMode: (_l = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _l !== void 0 ? _l : (0, node_config_provider_1.loadConfig)({
|
|
45
45
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
46
46
|
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { DeleteSessionRequestFilterSensitiveLog, DeleteSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1DeleteSessionCommand, serializeAws_restJson1DeleteSessionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var DeleteSessionCommand = (function (_super) {
|
|
7
7
|
__extends(DeleteSessionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var DeleteSessionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: DeleteSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DeleteSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { GetSessionRequestFilterSensitiveLog, GetSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1GetSessionCommand, serializeAws_restJson1GetSessionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var GetSessionCommand = (function (_super) {
|
|
7
7
|
__extends(GetSessionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var GetSessionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: GetSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: GetSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { PutSessionRequestFilterSensitiveLog, PutSessionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1PutSessionCommand, serializeAws_restJson1PutSessionCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var PutSessionCommand = (function (_super) {
|
|
7
7
|
__extends(PutSessionCommand, _super);
|
|
@@ -20,8 +20,8 @@ var PutSessionCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: PutSessionRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: PutSessionResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { RecognizeTextRequestFilterSensitiveLog, RecognizeTextResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1RecognizeTextCommand, serializeAws_restJson1RecognizeTextCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var RecognizeTextCommand = (function (_super) {
|
|
7
7
|
__extends(RecognizeTextCommand, _super);
|
|
@@ -20,8 +20,8 @@ var RecognizeTextCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: RecognizeTextRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: RecognizeTextResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
4
|
+
import { RecognizeUtteranceRequestFilterSensitiveLog, RecognizeUtteranceResponseFilterSensitiveLog, } from "../models/models_0";
|
|
5
5
|
import { deserializeAws_restJson1RecognizeUtteranceCommand, serializeAws_restJson1RecognizeUtteranceCommand, } from "../protocols/Aws_restJson1";
|
|
6
6
|
var RecognizeUtteranceCommand = (function (_super) {
|
|
7
7
|
__extends(RecognizeUtteranceCommand, _super);
|
|
@@ -20,8 +20,8 @@ var RecognizeUtteranceCommand = (function (_super) {
|
|
|
20
20
|
logger: logger,
|
|
21
21
|
clientName: clientName,
|
|
22
22
|
commandName: commandName,
|
|
23
|
-
inputFilterSensitiveLog:
|
|
24
|
-
outputFilterSensitiveLog:
|
|
23
|
+
inputFilterSensitiveLog: RecognizeUtteranceRequestFilterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: RecognizeUtteranceResponseFilterSensitiveLog,
|
|
25
25
|
};
|
|
26
26
|
var requestHandler = configuration.requestHandler;
|
|
27
27
|
return stack.resolve(function (request) {
|
|
@@ -2,7 +2,7 @@ import { __extends } from "tslib";
|
|
|
2
2
|
import { getEventStreamPlugin } from "@aws-sdk/middleware-eventstream";
|
|
3
3
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
4
4
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
5
|
-
import {
|
|
5
|
+
import { StartConversationRequestFilterSensitiveLog, StartConversationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
6
|
import { deserializeAws_restJson1StartConversationCommand, serializeAws_restJson1StartConversationCommand, } from "../protocols/Aws_restJson1";
|
|
7
7
|
var StartConversationCommand = (function (_super) {
|
|
8
8
|
__extends(StartConversationCommand, _super);
|
|
@@ -22,8 +22,8 @@ var StartConversationCommand = (function (_super) {
|
|
|
22
22
|
logger: logger,
|
|
23
23
|
clientName: clientName,
|
|
24
24
|
commandName: commandName,
|
|
25
|
-
inputFilterSensitiveLog:
|
|
26
|
-
outputFilterSensitiveLog:
|
|
25
|
+
inputFilterSensitiveLog: StartConversationRequestFilterSensitiveLog,
|
|
26
|
+
outputFilterSensitiveLog: StartConversationResponseFilterSensitiveLog,
|
|
27
27
|
};
|
|
28
28
|
var requestHandler = configuration.requestHandler;
|
|
29
29
|
return stack.resolve(function (request) {
|
|
@@ -13,22 +13,6 @@ var AccessDeniedException = (function (_super) {
|
|
|
13
13
|
return AccessDeniedException;
|
|
14
14
|
}(__BaseException));
|
|
15
15
|
export { AccessDeniedException };
|
|
16
|
-
export var ActiveContextTimeToLive;
|
|
17
|
-
(function (ActiveContextTimeToLive) {
|
|
18
|
-
ActiveContextTimeToLive.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
19
|
-
})(ActiveContextTimeToLive || (ActiveContextTimeToLive = {}));
|
|
20
|
-
export var ActiveContext;
|
|
21
|
-
(function (ActiveContext) {
|
|
22
|
-
ActiveContext.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.contextAttributes && { contextAttributes: SENSITIVE_STRING }))); };
|
|
23
|
-
})(ActiveContext || (ActiveContext = {}));
|
|
24
|
-
export var AudioInputEvent;
|
|
25
|
-
(function (AudioInputEvent) {
|
|
26
|
-
AudioInputEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
27
|
-
})(AudioInputEvent || (AudioInputEvent = {}));
|
|
28
|
-
export var AudioResponseEvent;
|
|
29
|
-
(function (AudioResponseEvent) {
|
|
30
|
-
AudioResponseEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
31
|
-
})(AudioResponseEvent || (AudioResponseEvent = {}));
|
|
32
16
|
var ConflictException = (function (_super) {
|
|
33
17
|
__extends(ConflictException, _super);
|
|
34
18
|
function ConflictException(opts) {
|
|
@@ -41,14 +25,6 @@ var ConflictException = (function (_super) {
|
|
|
41
25
|
return ConflictException;
|
|
42
26
|
}(__BaseException));
|
|
43
27
|
export { ConflictException };
|
|
44
|
-
export var DeleteSessionRequest;
|
|
45
|
-
(function (DeleteSessionRequest) {
|
|
46
|
-
DeleteSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
47
|
-
})(DeleteSessionRequest || (DeleteSessionRequest = {}));
|
|
48
|
-
export var DeleteSessionResponse;
|
|
49
|
-
(function (DeleteSessionResponse) {
|
|
50
|
-
DeleteSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
51
|
-
})(DeleteSessionResponse || (DeleteSessionResponse = {}));
|
|
52
28
|
var InternalServerException = (function (_super) {
|
|
53
29
|
__extends(InternalServerException, _super);
|
|
54
30
|
function InternalServerException(opts) {
|
|
@@ -97,10 +73,6 @@ var ValidationException = (function (_super) {
|
|
|
97
73
|
return ValidationException;
|
|
98
74
|
}(__BaseException));
|
|
99
75
|
export { ValidationException };
|
|
100
|
-
export var GetSessionRequest;
|
|
101
|
-
(function (GetSessionRequest) {
|
|
102
|
-
GetSessionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
103
|
-
})(GetSessionRequest || (GetSessionRequest = {}));
|
|
104
76
|
export var ConfirmationState;
|
|
105
77
|
(function (ConfirmationState) {
|
|
106
78
|
ConfirmationState["CONFIRMED"] = "Confirmed";
|
|
@@ -112,10 +84,6 @@ export var Shape;
|
|
|
112
84
|
Shape["LIST"] = "List";
|
|
113
85
|
Shape["SCALAR"] = "Scalar";
|
|
114
86
|
})(Shape || (Shape = {}));
|
|
115
|
-
export var Value;
|
|
116
|
-
(function (Value) {
|
|
117
|
-
Value.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
118
|
-
})(Value || (Value = {}));
|
|
119
87
|
export var IntentState;
|
|
120
88
|
(function (IntentState) {
|
|
121
89
|
IntentState["FAILED"] = "Failed";
|
|
@@ -125,10 +93,6 @@ export var IntentState;
|
|
|
125
93
|
IntentState["READY_FOR_FULFILLMENT"] = "ReadyForFulfillment";
|
|
126
94
|
IntentState["WAITING"] = "Waiting";
|
|
127
95
|
})(IntentState || (IntentState = {}));
|
|
128
|
-
export var ConfidenceScore;
|
|
129
|
-
(function (ConfidenceScore) {
|
|
130
|
-
ConfidenceScore.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
131
|
-
})(ConfidenceScore || (ConfidenceScore = {}));
|
|
132
96
|
export var SentimentType;
|
|
133
97
|
(function (SentimentType) {
|
|
134
98
|
SentimentType["MIXED"] = "MIXED";
|
|
@@ -136,14 +100,6 @@ export var SentimentType;
|
|
|
136
100
|
SentimentType["NEUTRAL"] = "NEUTRAL";
|
|
137
101
|
SentimentType["POSITIVE"] = "POSITIVE";
|
|
138
102
|
})(SentimentType || (SentimentType = {}));
|
|
139
|
-
export var SentimentScore;
|
|
140
|
-
(function (SentimentScore) {
|
|
141
|
-
SentimentScore.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
142
|
-
})(SentimentScore || (SentimentScore = {}));
|
|
143
|
-
export var SentimentResponse;
|
|
144
|
-
(function (SentimentResponse) {
|
|
145
|
-
SentimentResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
146
|
-
})(SentimentResponse || (SentimentResponse = {}));
|
|
147
103
|
export var MessageContentType;
|
|
148
104
|
(function (MessageContentType) {
|
|
149
105
|
MessageContentType["CUSTOM_PAYLOAD"] = "CustomPayload";
|
|
@@ -151,18 +107,6 @@ export var MessageContentType;
|
|
|
151
107
|
MessageContentType["PLAIN_TEXT"] = "PlainText";
|
|
152
108
|
MessageContentType["SSML"] = "SSML";
|
|
153
109
|
})(MessageContentType || (MessageContentType = {}));
|
|
154
|
-
export var Button;
|
|
155
|
-
(function (Button) {
|
|
156
|
-
Button.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
157
|
-
})(Button || (Button = {}));
|
|
158
|
-
export var ImageResponseCard;
|
|
159
|
-
(function (ImageResponseCard) {
|
|
160
|
-
ImageResponseCard.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
161
|
-
})(ImageResponseCard || (ImageResponseCard = {}));
|
|
162
|
-
export var Message;
|
|
163
|
-
(function (Message) {
|
|
164
|
-
Message.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.content && { content: SENSITIVE_STRING }))); };
|
|
165
|
-
})(Message || (Message = {}));
|
|
166
110
|
export var StyleType;
|
|
167
111
|
(function (StyleType) {
|
|
168
112
|
StyleType["DEFAULT"] = "Default";
|
|
@@ -178,22 +122,6 @@ export var DialogActionType;
|
|
|
178
122
|
DialogActionType["ELICIT_SLOT"] = "ElicitSlot";
|
|
179
123
|
DialogActionType["NONE"] = "None";
|
|
180
124
|
})(DialogActionType || (DialogActionType = {}));
|
|
181
|
-
export var DialogAction;
|
|
182
|
-
(function (DialogAction) {
|
|
183
|
-
DialogAction.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
-
})(DialogAction || (DialogAction = {}));
|
|
185
|
-
export var RuntimeHintValue;
|
|
186
|
-
(function (RuntimeHintValue) {
|
|
187
|
-
RuntimeHintValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
188
|
-
})(RuntimeHintValue || (RuntimeHintValue = {}));
|
|
189
|
-
export var RuntimeHintDetails;
|
|
190
|
-
(function (RuntimeHintDetails) {
|
|
191
|
-
RuntimeHintDetails.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
192
|
-
})(RuntimeHintDetails || (RuntimeHintDetails = {}));
|
|
193
|
-
export var RuntimeHints;
|
|
194
|
-
(function (RuntimeHints) {
|
|
195
|
-
RuntimeHints.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
196
|
-
})(RuntimeHints || (RuntimeHints = {}));
|
|
197
125
|
var BadGatewayException = (function (_super) {
|
|
198
126
|
__extends(BadGatewayException, _super);
|
|
199
127
|
function BadGatewayException(opts) {
|
|
@@ -218,43 +146,11 @@ var DependencyFailedException = (function (_super) {
|
|
|
218
146
|
return DependencyFailedException;
|
|
219
147
|
}(__BaseException));
|
|
220
148
|
export { DependencyFailedException };
|
|
221
|
-
export var PutSessionResponse;
|
|
222
|
-
(function (PutSessionResponse) {
|
|
223
|
-
PutSessionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
-
})(PutSessionResponse || (PutSessionResponse = {}));
|
|
225
|
-
export var RecognizeUtteranceRequest;
|
|
226
|
-
(function (RecognizeUtteranceRequest) {
|
|
227
|
-
RecognizeUtteranceRequest.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.sessionState && { sessionState: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING }))); };
|
|
228
|
-
})(RecognizeUtteranceRequest || (RecognizeUtteranceRequest = {}));
|
|
229
|
-
export var RecognizeUtteranceResponse;
|
|
230
|
-
(function (RecognizeUtteranceResponse) {
|
|
231
|
-
RecognizeUtteranceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
232
|
-
})(RecognizeUtteranceResponse || (RecognizeUtteranceResponse = {}));
|
|
233
149
|
export var ConversationMode;
|
|
234
150
|
(function (ConversationMode) {
|
|
235
151
|
ConversationMode["AUDIO"] = "AUDIO";
|
|
236
152
|
ConversationMode["TEXT"] = "TEXT";
|
|
237
153
|
})(ConversationMode || (ConversationMode = {}));
|
|
238
|
-
export var DisconnectionEvent;
|
|
239
|
-
(function (DisconnectionEvent) {
|
|
240
|
-
DisconnectionEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
241
|
-
})(DisconnectionEvent || (DisconnectionEvent = {}));
|
|
242
|
-
export var DTMFInputEvent;
|
|
243
|
-
(function (DTMFInputEvent) {
|
|
244
|
-
DTMFInputEvent.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.inputCharacter && { inputCharacter: SENSITIVE_STRING }))); };
|
|
245
|
-
})(DTMFInputEvent || (DTMFInputEvent = {}));
|
|
246
|
-
export var PlaybackCompletionEvent;
|
|
247
|
-
(function (PlaybackCompletionEvent) {
|
|
248
|
-
PlaybackCompletionEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
249
|
-
})(PlaybackCompletionEvent || (PlaybackCompletionEvent = {}));
|
|
250
|
-
export var TextInputEvent;
|
|
251
|
-
(function (TextInputEvent) {
|
|
252
|
-
TextInputEvent.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.text && { text: SENSITIVE_STRING }))); };
|
|
253
|
-
})(TextInputEvent || (TextInputEvent = {}));
|
|
254
|
-
export var HeartbeatEvent;
|
|
255
|
-
(function (HeartbeatEvent) {
|
|
256
|
-
HeartbeatEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
257
|
-
})(HeartbeatEvent || (HeartbeatEvent = {}));
|
|
258
154
|
export var InputMode;
|
|
259
155
|
(function (InputMode) {
|
|
260
156
|
InputMode["DTMF"] = "DTMF";
|
|
@@ -267,50 +163,6 @@ export var PlaybackInterruptionReason;
|
|
|
267
163
|
PlaybackInterruptionReason["TEXT_DETECTED"] = "TEXT_DETECTED";
|
|
268
164
|
PlaybackInterruptionReason["VOICE_START_DETECTED"] = "VOICE_START_DETECTED";
|
|
269
165
|
})(PlaybackInterruptionReason || (PlaybackInterruptionReason = {}));
|
|
270
|
-
export var PlaybackInterruptionEvent;
|
|
271
|
-
(function (PlaybackInterruptionEvent) {
|
|
272
|
-
PlaybackInterruptionEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
273
|
-
})(PlaybackInterruptionEvent || (PlaybackInterruptionEvent = {}));
|
|
274
|
-
export var TextResponseEvent;
|
|
275
|
-
(function (TextResponseEvent) {
|
|
276
|
-
TextResponseEvent.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.messages && { messages: obj.messages.map(function (item) { return Message.filterSensitiveLog(item); }) }))); };
|
|
277
|
-
})(TextResponseEvent || (TextResponseEvent = {}));
|
|
278
|
-
export var TranscriptEvent;
|
|
279
|
-
(function (TranscriptEvent) {
|
|
280
|
-
TranscriptEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
281
|
-
})(TranscriptEvent || (TranscriptEvent = {}));
|
|
282
|
-
export var Slot;
|
|
283
|
-
(function (Slot) {
|
|
284
|
-
Slot.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
285
|
-
})(Slot || (Slot = {}));
|
|
286
|
-
export var Intent;
|
|
287
|
-
(function (Intent) {
|
|
288
|
-
Intent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
289
|
-
})(Intent || (Intent = {}));
|
|
290
|
-
export var Interpretation;
|
|
291
|
-
(function (Interpretation) {
|
|
292
|
-
Interpretation.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
293
|
-
})(Interpretation || (Interpretation = {}));
|
|
294
|
-
export var SessionState;
|
|
295
|
-
(function (SessionState) {
|
|
296
|
-
SessionState.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.activeContexts && {
|
|
297
|
-
activeContexts: obj.activeContexts.map(function (item) { return ActiveContext.filterSensitiveLog(item); }),
|
|
298
|
-
}))); };
|
|
299
|
-
})(SessionState || (SessionState = {}));
|
|
300
|
-
export var ConfigurationEvent;
|
|
301
|
-
(function (ConfigurationEvent) {
|
|
302
|
-
ConfigurationEvent.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.welcomeMessages && {
|
|
303
|
-
welcomeMessages: obj.welcomeMessages.map(function (item) { return Message.filterSensitiveLog(item); }),
|
|
304
|
-
}))); };
|
|
305
|
-
})(ConfigurationEvent || (ConfigurationEvent = {}));
|
|
306
|
-
export var PutSessionRequest;
|
|
307
|
-
(function (PutSessionRequest) {
|
|
308
|
-
PutSessionRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.messages && { messages: obj.messages.map(function (item) { return Message.filterSensitiveLog(item); }) }))); };
|
|
309
|
-
})(PutSessionRequest || (PutSessionRequest = {}));
|
|
310
|
-
export var RecognizeTextRequest;
|
|
311
|
-
(function (RecognizeTextRequest) {
|
|
312
|
-
RecognizeTextRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.text && { text: SENSITIVE_STRING }))); };
|
|
313
|
-
})(RecognizeTextRequest || (RecognizeTextRequest = {}));
|
|
314
166
|
export var StartConversationRequestEventStream;
|
|
315
167
|
(function (StartConversationRequestEventStream) {
|
|
316
168
|
StartConversationRequestEventStream.visit = function (value, visitor) {
|
|
@@ -328,40 +180,7 @@ export var StartConversationRequestEventStream;
|
|
|
328
180
|
return visitor.DisconnectionEvent(value.DisconnectionEvent);
|
|
329
181
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
330
182
|
};
|
|
331
|
-
StartConversationRequestEventStream.filterSensitiveLog = function (obj) {
|
|
332
|
-
var _a;
|
|
333
|
-
if (obj.ConfigurationEvent !== undefined)
|
|
334
|
-
return { ConfigurationEvent: ConfigurationEvent.filterSensitiveLog(obj.ConfigurationEvent) };
|
|
335
|
-
if (obj.AudioInputEvent !== undefined)
|
|
336
|
-
return { AudioInputEvent: AudioInputEvent.filterSensitiveLog(obj.AudioInputEvent) };
|
|
337
|
-
if (obj.DTMFInputEvent !== undefined)
|
|
338
|
-
return { DTMFInputEvent: DTMFInputEvent.filterSensitiveLog(obj.DTMFInputEvent) };
|
|
339
|
-
if (obj.TextInputEvent !== undefined)
|
|
340
|
-
return { TextInputEvent: TextInputEvent.filterSensitiveLog(obj.TextInputEvent) };
|
|
341
|
-
if (obj.PlaybackCompletionEvent !== undefined)
|
|
342
|
-
return { PlaybackCompletionEvent: PlaybackCompletionEvent.filterSensitiveLog(obj.PlaybackCompletionEvent) };
|
|
343
|
-
if (obj.DisconnectionEvent !== undefined)
|
|
344
|
-
return { DisconnectionEvent: DisconnectionEvent.filterSensitiveLog(obj.DisconnectionEvent) };
|
|
345
|
-
if (obj.$unknown !== undefined)
|
|
346
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
347
|
-
};
|
|
348
183
|
})(StartConversationRequestEventStream || (StartConversationRequestEventStream = {}));
|
|
349
|
-
export var StartConversationRequest;
|
|
350
|
-
(function (StartConversationRequest) {
|
|
351
|
-
StartConversationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.requestEventStream && { requestEventStream: "STREAMING_CONTENT" }))); };
|
|
352
|
-
})(StartConversationRequest || (StartConversationRequest = {}));
|
|
353
|
-
export var GetSessionResponse;
|
|
354
|
-
(function (GetSessionResponse) {
|
|
355
|
-
GetSessionResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.messages && { messages: obj.messages.map(function (item) { return Message.filterSensitiveLog(item); }) }))); };
|
|
356
|
-
})(GetSessionResponse || (GetSessionResponse = {}));
|
|
357
|
-
export var IntentResultEvent;
|
|
358
|
-
(function (IntentResultEvent) {
|
|
359
|
-
IntentResultEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
360
|
-
})(IntentResultEvent || (IntentResultEvent = {}));
|
|
361
|
-
export var RecognizeTextResponse;
|
|
362
|
-
(function (RecognizeTextResponse) {
|
|
363
|
-
RecognizeTextResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.messages && { messages: obj.messages.map(function (item) { return Message.filterSensitiveLog(item); }) }))); };
|
|
364
|
-
})(RecognizeTextResponse || (RecognizeTextResponse = {}));
|
|
365
184
|
export var StartConversationResponseEventStream;
|
|
366
185
|
(function (StartConversationResponseEventStream) {
|
|
367
186
|
StartConversationResponseEventStream.visit = function (value, visitor) {
|
|
@@ -395,41 +214,97 @@ export var StartConversationResponseEventStream;
|
|
|
395
214
|
return visitor.BadGatewayException(value.BadGatewayException);
|
|
396
215
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
397
216
|
};
|
|
398
|
-
StartConversationResponseEventStream.filterSensitiveLog = function (obj) {
|
|
399
|
-
var _a;
|
|
400
|
-
if (obj.PlaybackInterruptionEvent !== undefined)
|
|
401
|
-
return { PlaybackInterruptionEvent: PlaybackInterruptionEvent.filterSensitiveLog(obj.PlaybackInterruptionEvent) };
|
|
402
|
-
if (obj.TranscriptEvent !== undefined)
|
|
403
|
-
return { TranscriptEvent: TranscriptEvent.filterSensitiveLog(obj.TranscriptEvent) };
|
|
404
|
-
if (obj.IntentResultEvent !== undefined)
|
|
405
|
-
return { IntentResultEvent: IntentResultEvent.filterSensitiveLog(obj.IntentResultEvent) };
|
|
406
|
-
if (obj.TextResponseEvent !== undefined)
|
|
407
|
-
return { TextResponseEvent: TextResponseEvent.filterSensitiveLog(obj.TextResponseEvent) };
|
|
408
|
-
if (obj.AudioResponseEvent !== undefined)
|
|
409
|
-
return { AudioResponseEvent: AudioResponseEvent.filterSensitiveLog(obj.AudioResponseEvent) };
|
|
410
|
-
if (obj.HeartbeatEvent !== undefined)
|
|
411
|
-
return { HeartbeatEvent: HeartbeatEvent.filterSensitiveLog(obj.HeartbeatEvent) };
|
|
412
|
-
if (obj.AccessDeniedException !== undefined)
|
|
413
|
-
return { AccessDeniedException: obj.AccessDeniedException };
|
|
414
|
-
if (obj.ResourceNotFoundException !== undefined)
|
|
415
|
-
return { ResourceNotFoundException: obj.ResourceNotFoundException };
|
|
416
|
-
if (obj.ValidationException !== undefined)
|
|
417
|
-
return { ValidationException: obj.ValidationException };
|
|
418
|
-
if (obj.ThrottlingException !== undefined)
|
|
419
|
-
return { ThrottlingException: obj.ThrottlingException };
|
|
420
|
-
if (obj.InternalServerException !== undefined)
|
|
421
|
-
return { InternalServerException: obj.InternalServerException };
|
|
422
|
-
if (obj.ConflictException !== undefined)
|
|
423
|
-
return { ConflictException: obj.ConflictException };
|
|
424
|
-
if (obj.DependencyFailedException !== undefined)
|
|
425
|
-
return { DependencyFailedException: obj.DependencyFailedException };
|
|
426
|
-
if (obj.BadGatewayException !== undefined)
|
|
427
|
-
return { BadGatewayException: obj.BadGatewayException };
|
|
428
|
-
if (obj.$unknown !== undefined)
|
|
429
|
-
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
430
|
-
};
|
|
431
217
|
})(StartConversationResponseEventStream || (StartConversationResponseEventStream = {}));
|
|
432
|
-
export var
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
218
|
+
export var ActiveContextTimeToLiveFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
219
|
+
export var ActiveContextFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.contextAttributes && { contextAttributes: SENSITIVE_STRING }))); };
|
|
220
|
+
export var AudioInputEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
221
|
+
export var AudioResponseEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
222
|
+
export var DeleteSessionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
|
+
export var DeleteSessionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
+
export var GetSessionRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
225
|
+
export var ValueFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
226
|
+
export var ConfidenceScoreFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
+
export var SentimentScoreFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
228
|
+
export var SentimentResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
229
|
+
export var ButtonFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
230
|
+
export var ImageResponseCardFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
231
|
+
export var MessageFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.content && { content: SENSITIVE_STRING }))); };
|
|
232
|
+
export var DialogActionFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
233
|
+
export var RuntimeHintValueFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
234
|
+
export var RuntimeHintDetailsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
235
|
+
export var RuntimeHintsFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
236
|
+
export var PutSessionResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
237
|
+
export var RecognizeUtteranceRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.sessionState && { sessionState: SENSITIVE_STRING })), (obj.requestAttributes && { requestAttributes: SENSITIVE_STRING }))); };
|
|
238
|
+
export var RecognizeUtteranceResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
239
|
+
export var DisconnectionEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
240
|
+
export var DTMFInputEventFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.inputCharacter && { inputCharacter: SENSITIVE_STRING }))); };
|
|
241
|
+
export var PlaybackCompletionEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
242
|
+
export var TextInputEventFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.text && { text: SENSITIVE_STRING }))); };
|
|
243
|
+
export var HeartbeatEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
244
|
+
export var PlaybackInterruptionEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
245
|
+
export var TextResponseEventFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.messages && { messages: obj.messages.map(function (item) { return MessageFilterSensitiveLog(item); }) }))); };
|
|
246
|
+
export var TranscriptEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
247
|
+
export var SlotFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
248
|
+
export var IntentFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
249
|
+
export var InterpretationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
250
|
+
export var SessionStateFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.activeContexts && {
|
|
251
|
+
activeContexts: obj.activeContexts.map(function (item) { return ActiveContextFilterSensitiveLog(item); }),
|
|
252
|
+
}))); };
|
|
253
|
+
export var ConfigurationEventFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.welcomeMessages && { welcomeMessages: obj.welcomeMessages.map(function (item) { return MessageFilterSensitiveLog(item); }) }))); };
|
|
254
|
+
export var PutSessionRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.messages && { messages: obj.messages.map(function (item) { return MessageFilterSensitiveLog(item); }) }))); };
|
|
255
|
+
export var RecognizeTextRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.text && { text: SENSITIVE_STRING }))); };
|
|
256
|
+
export var StartConversationRequestEventStreamFilterSensitiveLog = function (obj) {
|
|
257
|
+
var _a;
|
|
258
|
+
if (obj.ConfigurationEvent !== undefined)
|
|
259
|
+
return { ConfigurationEvent: ConfigurationEventFilterSensitiveLog(obj.ConfigurationEvent) };
|
|
260
|
+
if (obj.AudioInputEvent !== undefined)
|
|
261
|
+
return { AudioInputEvent: AudioInputEventFilterSensitiveLog(obj.AudioInputEvent) };
|
|
262
|
+
if (obj.DTMFInputEvent !== undefined)
|
|
263
|
+
return { DTMFInputEvent: DTMFInputEventFilterSensitiveLog(obj.DTMFInputEvent) };
|
|
264
|
+
if (obj.TextInputEvent !== undefined)
|
|
265
|
+
return { TextInputEvent: TextInputEventFilterSensitiveLog(obj.TextInputEvent) };
|
|
266
|
+
if (obj.PlaybackCompletionEvent !== undefined)
|
|
267
|
+
return { PlaybackCompletionEvent: PlaybackCompletionEventFilterSensitiveLog(obj.PlaybackCompletionEvent) };
|
|
268
|
+
if (obj.DisconnectionEvent !== undefined)
|
|
269
|
+
return { DisconnectionEvent: DisconnectionEventFilterSensitiveLog(obj.DisconnectionEvent) };
|
|
270
|
+
if (obj.$unknown !== undefined)
|
|
271
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
272
|
+
};
|
|
273
|
+
export var StartConversationRequestFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.requestEventStream && { requestEventStream: "STREAMING_CONTENT" }))); };
|
|
274
|
+
export var GetSessionResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.messages && { messages: obj.messages.map(function (item) { return MessageFilterSensitiveLog(item); }) }))); };
|
|
275
|
+
export var IntentResultEventFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
276
|
+
export var RecognizeTextResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.messages && { messages: obj.messages.map(function (item) { return MessageFilterSensitiveLog(item); }) }))); };
|
|
277
|
+
export var StartConversationResponseEventStreamFilterSensitiveLog = function (obj) {
|
|
278
|
+
var _a;
|
|
279
|
+
if (obj.PlaybackInterruptionEvent !== undefined)
|
|
280
|
+
return { PlaybackInterruptionEvent: PlaybackInterruptionEventFilterSensitiveLog(obj.PlaybackInterruptionEvent) };
|
|
281
|
+
if (obj.TranscriptEvent !== undefined)
|
|
282
|
+
return { TranscriptEvent: TranscriptEventFilterSensitiveLog(obj.TranscriptEvent) };
|
|
283
|
+
if (obj.IntentResultEvent !== undefined)
|
|
284
|
+
return { IntentResultEvent: IntentResultEventFilterSensitiveLog(obj.IntentResultEvent) };
|
|
285
|
+
if (obj.TextResponseEvent !== undefined)
|
|
286
|
+
return { TextResponseEvent: TextResponseEventFilterSensitiveLog(obj.TextResponseEvent) };
|
|
287
|
+
if (obj.AudioResponseEvent !== undefined)
|
|
288
|
+
return { AudioResponseEvent: AudioResponseEventFilterSensitiveLog(obj.AudioResponseEvent) };
|
|
289
|
+
if (obj.HeartbeatEvent !== undefined)
|
|
290
|
+
return { HeartbeatEvent: HeartbeatEventFilterSensitiveLog(obj.HeartbeatEvent) };
|
|
291
|
+
if (obj.AccessDeniedException !== undefined)
|
|
292
|
+
return { AccessDeniedException: obj.AccessDeniedException };
|
|
293
|
+
if (obj.ResourceNotFoundException !== undefined)
|
|
294
|
+
return { ResourceNotFoundException: obj.ResourceNotFoundException };
|
|
295
|
+
if (obj.ValidationException !== undefined)
|
|
296
|
+
return { ValidationException: obj.ValidationException };
|
|
297
|
+
if (obj.ThrottlingException !== undefined)
|
|
298
|
+
return { ThrottlingException: obj.ThrottlingException };
|
|
299
|
+
if (obj.InternalServerException !== undefined)
|
|
300
|
+
return { InternalServerException: obj.InternalServerException };
|
|
301
|
+
if (obj.ConflictException !== undefined)
|
|
302
|
+
return { ConflictException: obj.ConflictException };
|
|
303
|
+
if (obj.DependencyFailedException !== undefined)
|
|
304
|
+
return { DependencyFailedException: obj.DependencyFailedException };
|
|
305
|
+
if (obj.BadGatewayException !== undefined)
|
|
306
|
+
return { BadGatewayException: obj.BadGatewayException };
|
|
307
|
+
if (obj.$unknown !== undefined)
|
|
308
|
+
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
309
|
+
};
|
|
310
|
+
export var StartConversationResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.responseEventStream && { responseEventStream: "STREAMING_CONTENT" }))); };
|