@aws-sdk/client-lex-models-v2 3.369.0 → 3.372.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/README.md +56 -0
- package/dist-cjs/LexModelsV2.js +14 -0
- package/dist-cjs/commands/ListIntentMetricsCommand.js +46 -0
- package/dist-cjs/commands/ListIntentPathsCommand.js +46 -0
- package/dist-cjs/commands/ListIntentStageMetricsCommand.js +46 -0
- package/dist-cjs/commands/ListSessionAnalyticsDataCommand.js +46 -0
- package/dist-cjs/commands/ListSessionMetricsCommand.js +46 -0
- package/dist-cjs/commands/ListUtteranceAnalyticsDataCommand.js +46 -0
- package/dist-cjs/commands/ListUtteranceMetricsCommand.js +46 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +153 -79
- package/dist-cjs/models/models_1.js +92 -1
- package/dist-cjs/pagination/ListIntentMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/ListIntentStageMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/ListSessionAnalyticsDataPaginator.js +29 -0
- package/dist-cjs/pagination/ListSessionMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/ListUtteranceAnalyticsDataPaginator.js +29 -0
- package/dist-cjs/pagination/ListUtteranceMetricsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +767 -56
- package/dist-es/LexModelsV2.js +14 -0
- package/dist-es/commands/ListIntentMetricsCommand.js +42 -0
- package/dist-es/commands/ListIntentPathsCommand.js +42 -0
- package/dist-es/commands/ListIntentStageMetricsCommand.js +42 -0
- package/dist-es/commands/ListSessionAnalyticsDataCommand.js +42 -0
- package/dist-es/commands/ListSessionMetricsCommand.js +42 -0
- package/dist-es/commands/ListUtteranceAnalyticsDataCommand.js +42 -0
- package/dist-es/commands/ListUtteranceMetricsCommand.js +42 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +151 -77
- package/dist-es/models/models_1.js +91 -0
- package/dist-es/pagination/ListIntentMetricsPaginator.js +25 -0
- package/dist-es/pagination/ListIntentStageMetricsPaginator.js +25 -0
- package/dist-es/pagination/ListSessionAnalyticsDataPaginator.js +25 -0
- package/dist-es/pagination/ListSessionMetricsPaginator.js +25 -0
- package/dist-es/pagination/ListUtteranceAnalyticsDataPaginator.js +25 -0
- package/dist-es/pagination/ListUtteranceMetricsPaginator.js +25 -0
- package/dist-es/pagination/index.js +6 -0
- package/dist-es/protocols/Aws_restJson1.js +749 -52
- package/dist-types/LexModelsV2.d.ts +49 -0
- package/dist-types/LexModelsV2Client.d.ts +9 -2
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTestExecutionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTestSetCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTestSetDiscrepancyReportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTestSetGenerationCommand.d.ts +1 -1
- package/dist-types/commands/GetTestExecutionArtifactsUrlCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +1 -1
- package/dist-types/commands/ListIntentMetricsCommand.d.ts +169 -0
- package/dist-types/commands/ListIntentPathsCommand.d.ts +124 -0
- package/dist-types/commands/ListIntentStageMetricsCommand.d.ts +169 -0
- package/dist-types/commands/ListSessionAnalyticsDataCommand.d.ts +140 -0
- package/dist-types/commands/ListSessionMetricsCommand.d.ts +169 -0
- package/dist-types/commands/ListUtteranceAnalyticsDataCommand.d.ts +161 -0
- package/dist-types/commands/ListUtteranceMetricsCommand.d.ts +179 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +4423 -3758
- package/dist-types/models/models_1.d.ts +2039 -53
- package/dist-types/pagination/ListIntentMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListIntentStageMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionAnalyticsDataPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListUtteranceAnalyticsDataPaginator.d.ts +7 -0
- package/dist-types/pagination/ListUtteranceMetricsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +6 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +63 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +119 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeSlotTypeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTestExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTestSetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTestSetDiscrepancyReportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeTestSetGenerationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetTestExecutionArtifactsUrlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAggregatedUtterancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListIntentMetricsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListIntentPathsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListIntentStageMetricsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSessionAnalyticsDataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListSessionMetricsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListUtteranceAnalyticsDataCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListUtteranceMetricsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +337 -333
- package/dist-types/ts3.4/models/models_1.d.ts +541 -19
- package/dist-types/ts3.4/pagination/ListIntentMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListIntentStageMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionAnalyticsDataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListUtteranceAnalyticsDataPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListUtteranceMetricsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +6 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +84 -0
- package/package.json +16 -17
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.DescribeBotRecommendationResponseFilterSensitiveLog = exports.EncryptionSettingFilterSensitiveLog = exports.CreateExportRequestFilterSensitiveLog = exports.
|
|
3
|
+
exports.ConflictException = exports.BotVersionSortAttribute = exports.BotType = exports.BotStatus = exports.BotSortAttribute = exports.BotRecommendationStatus = exports.BotLocaleStatus = exports.BotLocaleSortAttribute = exports.VoiceEngine = exports.BotLocaleFilterOperator = exports.BotLocaleFilterName = exports.BotFilterOperator = exports.BotFilterName = exports.BotChannelType = exports.BotAliasStatus = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ErrorCode = exports.AssociatedTranscriptFilterName = exports.AnalyticsUtteranceSortByName = exports.AnalyticsUtteranceMetricName = exports.AnalyticsUtteranceFilterName = exports.AnalyticsUtteranceField = exports.AnalyticsUtteranceAttributeName = exports.AnalyticsSessionSortByName = exports.AnalyticsSessionMetricName = exports.AnalyticsSessionFilterName = exports.AnalyticsSessionField = exports.AnalyticsModality = exports.AnalyticsIntentStageMetricName = exports.AnalyticsIntentStageFilterName = exports.AnalyticsIntentStageField = exports.AnalyticsNodeType = exports.AnalyticsMetricStatistic = exports.AnalyticsIntentMetricName = exports.AnalyticsIntentFilterName = exports.AnalyticsIntentField = exports.AnalyticsFilterOperator = exports.AnalyticsCommonFilterName = exports.AnalyticsSortOrder = exports.AnalyticsBinByName = exports.AnalyticsInterval = exports.SortOrder = exports.AggregatedUtterancesSortAttribute = exports.AggregatedUtterancesFilterOperator = exports.AggregatedUtterancesFilterName = exports.AudioRecognitionStrategy = void 0;
|
|
4
|
+
exports.DescribeBotRecommendationResponseFilterSensitiveLog = exports.EncryptionSettingFilterSensitiveLog = exports.CreateExportRequestFilterSensitiveLog = exports.TestSetModality = exports.MergeStrategy = exports.TranscriptFormat = exports.ImportStatus = exports.CustomVocabularyStatus = exports.SlotValueResolutionStrategy = exports.SlotConstraint = exports.ObfuscationSettingType = exports.Effect = exports.PromptAttempt = exports.MessageSelectionStrategy = exports.ExportStatus = exports.ImportExportFileFormat = exports.ConversationLogsInputModeFilter = exports.TestResultMatchStatus = exports.ConversationEndState = exports.SlotShape = exports.DialogActionType = exports.BuiltInSlotTypeSortAttribute = exports.BuiltInIntentSortAttribute = exports.PreconditionFailedException = void 0;
|
|
5
5
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
const LexModelsV2ServiceException_1 = require("./LexModelsV2ServiceException");
|
|
7
7
|
exports.AudioRecognitionStrategy = {
|
|
@@ -22,6 +22,147 @@ exports.SortOrder = {
|
|
|
22
22
|
Ascending: "Ascending",
|
|
23
23
|
Descending: "Descending",
|
|
24
24
|
};
|
|
25
|
+
exports.AnalyticsInterval = {
|
|
26
|
+
OneDay: "OneDay",
|
|
27
|
+
OneHour: "OneHour",
|
|
28
|
+
};
|
|
29
|
+
exports.AnalyticsBinByName = {
|
|
30
|
+
ConversationStartTime: "ConversationStartTime",
|
|
31
|
+
UtteranceTimestamp: "UtteranceTimestamp",
|
|
32
|
+
};
|
|
33
|
+
exports.AnalyticsSortOrder = {
|
|
34
|
+
Ascending: "Ascending",
|
|
35
|
+
Descending: "Descending",
|
|
36
|
+
};
|
|
37
|
+
exports.AnalyticsCommonFilterName = {
|
|
38
|
+
BotAliasId: "BotAliasId",
|
|
39
|
+
BotVersion: "BotVersion",
|
|
40
|
+
Channel: "Channel",
|
|
41
|
+
LocaleId: "LocaleId",
|
|
42
|
+
Modality: "Modality",
|
|
43
|
+
};
|
|
44
|
+
exports.AnalyticsFilterOperator = {
|
|
45
|
+
Equals: "EQ",
|
|
46
|
+
GreaterThan: "GT",
|
|
47
|
+
LessThan: "LT",
|
|
48
|
+
};
|
|
49
|
+
exports.AnalyticsIntentField = {
|
|
50
|
+
IntentEndState: "IntentEndState",
|
|
51
|
+
IntentLevel: "IntentLevel",
|
|
52
|
+
IntentName: "IntentName",
|
|
53
|
+
};
|
|
54
|
+
exports.AnalyticsIntentFilterName = {
|
|
55
|
+
BotAliasId: "BotAliasId",
|
|
56
|
+
BotVersion: "BotVersion",
|
|
57
|
+
Channel: "Channel",
|
|
58
|
+
IntentEndState: "IntentEndState",
|
|
59
|
+
IntentName: "IntentName",
|
|
60
|
+
LocaleId: "LocaleId",
|
|
61
|
+
Modality: "Modality",
|
|
62
|
+
OriginatingRequestId: "OriginatingRequestId",
|
|
63
|
+
SessionId: "SessionId",
|
|
64
|
+
};
|
|
65
|
+
exports.AnalyticsIntentMetricName = {
|
|
66
|
+
Count: "Count",
|
|
67
|
+
Dropped: "Dropped",
|
|
68
|
+
Failure: "Failure",
|
|
69
|
+
Success: "Success",
|
|
70
|
+
Switched: "Switched",
|
|
71
|
+
};
|
|
72
|
+
exports.AnalyticsMetricStatistic = {
|
|
73
|
+
Avg: "Avg",
|
|
74
|
+
Max: "Max",
|
|
75
|
+
Sum: "Sum",
|
|
76
|
+
};
|
|
77
|
+
exports.AnalyticsNodeType = {
|
|
78
|
+
Exit: "Exit",
|
|
79
|
+
Inner: "Inner",
|
|
80
|
+
};
|
|
81
|
+
exports.AnalyticsIntentStageField = {
|
|
82
|
+
IntentStageName: "IntentStageName",
|
|
83
|
+
SwitchedToIntent: "SwitchedToIntent",
|
|
84
|
+
};
|
|
85
|
+
exports.AnalyticsIntentStageFilterName = {
|
|
86
|
+
BotAliasId: "BotAliasId",
|
|
87
|
+
BotVersion: "BotVersion",
|
|
88
|
+
Channel: "Channel",
|
|
89
|
+
IntentName: "IntentName",
|
|
90
|
+
IntentStageName: "IntentStageName",
|
|
91
|
+
LocaleId: "LocaleId",
|
|
92
|
+
Modality: "Modality",
|
|
93
|
+
OriginatingRequestId: "OriginatingRequestId",
|
|
94
|
+
SessionId: "SessionId",
|
|
95
|
+
};
|
|
96
|
+
exports.AnalyticsIntentStageMetricName = {
|
|
97
|
+
Count: "Count",
|
|
98
|
+
Dropped: "Dropped",
|
|
99
|
+
Failed: "Failed",
|
|
100
|
+
Retry: "Retry",
|
|
101
|
+
Success: "Success",
|
|
102
|
+
};
|
|
103
|
+
exports.AnalyticsModality = {
|
|
104
|
+
DTMF: "DTMF",
|
|
105
|
+
MultiMode: "MultiMode",
|
|
106
|
+
Speech: "Speech",
|
|
107
|
+
Text: "Text",
|
|
108
|
+
};
|
|
109
|
+
exports.AnalyticsSessionField = {
|
|
110
|
+
ConversationEndState: "ConversationEndState",
|
|
111
|
+
LocaleId: "LocaleId",
|
|
112
|
+
};
|
|
113
|
+
exports.AnalyticsSessionFilterName = {
|
|
114
|
+
BotAliasId: "BotAliasId",
|
|
115
|
+
BotVersion: "BotVersion",
|
|
116
|
+
Channel: "Channel",
|
|
117
|
+
ConversationEndState: "ConversationEndState",
|
|
118
|
+
Duration: "Duration",
|
|
119
|
+
IntentPath: "IntentPath",
|
|
120
|
+
LocaleId: "LocaleId",
|
|
121
|
+
Modality: "Modality",
|
|
122
|
+
OriginatingRequestId: "OriginatingRequestId",
|
|
123
|
+
SessionId: "SessionId",
|
|
124
|
+
};
|
|
125
|
+
exports.AnalyticsSessionMetricName = {
|
|
126
|
+
Concurrency: "Concurrency",
|
|
127
|
+
Count: "Count",
|
|
128
|
+
Dropped: "Dropped",
|
|
129
|
+
Duration: "Duration",
|
|
130
|
+
Failure: "Failure",
|
|
131
|
+
Success: "Success",
|
|
132
|
+
TurnsPerConversation: "TurnsPerConversation",
|
|
133
|
+
};
|
|
134
|
+
exports.AnalyticsSessionSortByName = {
|
|
135
|
+
ConversationStartTime: "ConversationStartTime",
|
|
136
|
+
Duration: "Duration",
|
|
137
|
+
NumberOfTurns: "NumberOfTurns",
|
|
138
|
+
};
|
|
139
|
+
exports.AnalyticsUtteranceAttributeName = {
|
|
140
|
+
LastUsedIntent: "LastUsedIntent",
|
|
141
|
+
};
|
|
142
|
+
exports.AnalyticsUtteranceField = {
|
|
143
|
+
UtteranceState: "UtteranceState",
|
|
144
|
+
UtteranceText: "UtteranceText",
|
|
145
|
+
};
|
|
146
|
+
exports.AnalyticsUtteranceFilterName = {
|
|
147
|
+
BotAliasId: "BotAliasId",
|
|
148
|
+
BotVersion: "BotVersion",
|
|
149
|
+
Channel: "Channel",
|
|
150
|
+
LocaleId: "LocaleId",
|
|
151
|
+
Modality: "Modality",
|
|
152
|
+
OriginatingRequestId: "OriginatingRequestId",
|
|
153
|
+
SessionId: "SessionId",
|
|
154
|
+
UtteranceState: "UtteranceState",
|
|
155
|
+
UtteranceText: "UtteranceText",
|
|
156
|
+
};
|
|
157
|
+
exports.AnalyticsUtteranceMetricName = {
|
|
158
|
+
Count: "Count",
|
|
159
|
+
Detected: "Detected",
|
|
160
|
+
Missed: "Missed",
|
|
161
|
+
UtteranceTimestamp: "UtteranceTimestamp",
|
|
162
|
+
};
|
|
163
|
+
exports.AnalyticsUtteranceSortByName = {
|
|
164
|
+
UtteranceTimestamp: "UtteranceTimestamp",
|
|
165
|
+
};
|
|
25
166
|
exports.AssociatedTranscriptFilterName = {
|
|
26
167
|
IntentId: "IntentId",
|
|
27
168
|
SlotTypeId: "SlotTypeId",
|
|
@@ -104,6 +245,11 @@ exports.BotAliasStatus = {
|
|
|
104
245
|
Deleting: "Deleting",
|
|
105
246
|
Failed: "Failed",
|
|
106
247
|
};
|
|
248
|
+
exports.BotChannelType = {
|
|
249
|
+
Facebook: "Facebook",
|
|
250
|
+
Slack: "Slack",
|
|
251
|
+
TwilioSms: "TwilioSms",
|
|
252
|
+
};
|
|
107
253
|
exports.BotFilterName = {
|
|
108
254
|
BotName: "BotName",
|
|
109
255
|
BotType: "BotType",
|
|
@@ -216,6 +362,11 @@ exports.SlotShape = {
|
|
|
216
362
|
List: "List",
|
|
217
363
|
Scalar: "Scalar",
|
|
218
364
|
};
|
|
365
|
+
exports.ConversationEndState = {
|
|
366
|
+
Dropped: "Dropped",
|
|
367
|
+
Failure: "Failure",
|
|
368
|
+
Success: "Success",
|
|
369
|
+
};
|
|
219
370
|
exports.TestResultMatchStatus = {
|
|
220
371
|
ExecutionError: "ExecutionError",
|
|
221
372
|
Matched: "Matched",
|
|
@@ -290,83 +441,6 @@ exports.TestSetModality = {
|
|
|
290
441
|
Audio: "Audio",
|
|
291
442
|
Text: "Text",
|
|
292
443
|
};
|
|
293
|
-
exports.TestExecutionApiMode = {
|
|
294
|
-
NonStreaming: "NonStreaming",
|
|
295
|
-
Streaming: "Streaming",
|
|
296
|
-
};
|
|
297
|
-
exports.TestExecutionModality = {
|
|
298
|
-
Audio: "Audio",
|
|
299
|
-
Text: "Text",
|
|
300
|
-
};
|
|
301
|
-
exports.TestExecutionStatus = {
|
|
302
|
-
Completed: "Completed",
|
|
303
|
-
Failed: "Failed",
|
|
304
|
-
InProgress: "InProgress",
|
|
305
|
-
Pending: "Pending",
|
|
306
|
-
Stopped: "Stopped",
|
|
307
|
-
Stopping: "Stopping",
|
|
308
|
-
Waiting: "Waiting",
|
|
309
|
-
};
|
|
310
|
-
exports.TestSetStatus = {
|
|
311
|
-
Deleting: "Deleting",
|
|
312
|
-
Importing: "Importing",
|
|
313
|
-
PendingAnnotation: "PendingAnnotation",
|
|
314
|
-
Ready: "Ready",
|
|
315
|
-
ValidationError: "ValidationError",
|
|
316
|
-
};
|
|
317
|
-
exports.TestSetDiscrepancyReportStatus = {
|
|
318
|
-
Completed: "Completed",
|
|
319
|
-
Failed: "Failed",
|
|
320
|
-
InProgress: "InProgress",
|
|
321
|
-
};
|
|
322
|
-
exports.TestSetGenerationStatus = {
|
|
323
|
-
Failed: "Failed",
|
|
324
|
-
Generating: "Generating",
|
|
325
|
-
Pending: "Pending",
|
|
326
|
-
Ready: "Ready",
|
|
327
|
-
};
|
|
328
|
-
exports.ExportFilterName = {
|
|
329
|
-
ExportResourceType: "ExportResourceType",
|
|
330
|
-
};
|
|
331
|
-
exports.ExportFilterOperator = {
|
|
332
|
-
Contains: "CO",
|
|
333
|
-
Equals: "EQ",
|
|
334
|
-
};
|
|
335
|
-
exports.ExportSortAttribute = {
|
|
336
|
-
LastUpdatedDateTime: "LastUpdatedDateTime",
|
|
337
|
-
};
|
|
338
|
-
exports.ImportFilterName = {
|
|
339
|
-
ImportResourceType: "ImportResourceType",
|
|
340
|
-
};
|
|
341
|
-
exports.ImportFilterOperator = {
|
|
342
|
-
Contains: "CO",
|
|
343
|
-
Equals: "EQ",
|
|
344
|
-
};
|
|
345
|
-
exports.ImportResourceType = {
|
|
346
|
-
Bot: "Bot",
|
|
347
|
-
BotLocale: "BotLocale",
|
|
348
|
-
CustomVocabulary: "CustomVocabulary",
|
|
349
|
-
TestSet: "TestSet",
|
|
350
|
-
};
|
|
351
|
-
exports.ImportSortAttribute = {
|
|
352
|
-
LastUpdatedDateTime: "LastUpdatedDateTime",
|
|
353
|
-
};
|
|
354
|
-
exports.IntentFilterName = {
|
|
355
|
-
IntentName: "IntentName",
|
|
356
|
-
};
|
|
357
|
-
exports.IntentFilterOperator = {
|
|
358
|
-
Contains: "CO",
|
|
359
|
-
Equals: "EQ",
|
|
360
|
-
};
|
|
361
|
-
exports.IntentSortAttribute = {
|
|
362
|
-
IntentName: "IntentName",
|
|
363
|
-
LastUpdatedDateTime: "LastUpdatedDateTime",
|
|
364
|
-
};
|
|
365
|
-
exports.TimeDimension = {
|
|
366
|
-
Days: "Days",
|
|
367
|
-
Hours: "Hours",
|
|
368
|
-
Weeks: "Weeks",
|
|
369
|
-
};
|
|
370
444
|
const CreateExportRequestFilterSensitiveLog = (obj) => ({
|
|
371
445
|
...obj,
|
|
372
446
|
...(obj.filePassword && { filePassword: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,8 +1,93 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateExportRequestFilterSensitiveLog = exports.UpdateBotRecommendationResponseFilterSensitiveLog = exports.UpdateBotRecommendationRequestFilterSensitiveLog = exports.StartImportRequestFilterSensitiveLog = exports.StartBotRecommendationResponseFilterSensitiveLog = exports.StartBotRecommendationRequestFilterSensitiveLog = exports.SearchOrder = exports.TestSetSortAttribute = exports.TestExecutionSortAttribute = exports.TestResultTypeFilter = exports.SlotTypeCategory = exports.SlotTypeSortAttribute = exports.SlotTypeFilterOperator = exports.SlotTypeFilterName = exports.SlotSortAttribute = exports.SlotFilterOperator = exports.SlotFilterName = void 0;
|
|
3
|
+
exports.UpdateExportRequestFilterSensitiveLog = exports.UpdateBotRecommendationResponseFilterSensitiveLog = exports.UpdateBotRecommendationRequestFilterSensitiveLog = exports.StartImportRequestFilterSensitiveLog = exports.StartBotRecommendationResponseFilterSensitiveLog = exports.StartBotRecommendationRequestFilterSensitiveLog = exports.SearchOrder = exports.UtteranceContentType = exports.TestSetSortAttribute = exports.TestExecutionSortAttribute = exports.TestResultTypeFilter = exports.SlotTypeCategory = exports.SlotTypeSortAttribute = exports.SlotTypeFilterOperator = exports.SlotTypeFilterName = exports.SlotSortAttribute = exports.SlotFilterOperator = exports.SlotFilterName = exports.TimeDimension = exports.IntentState = exports.IntentSortAttribute = exports.IntentFilterOperator = exports.IntentFilterName = exports.ImportSortAttribute = exports.ImportResourceType = exports.ImportFilterOperator = exports.ImportFilterName = exports.ExportSortAttribute = exports.ExportFilterOperator = exports.ExportFilterName = exports.TestSetGenerationStatus = exports.TestSetDiscrepancyReportStatus = exports.TestSetStatus = exports.TestExecutionStatus = exports.TestExecutionModality = exports.TestExecutionApiMode = void 0;
|
|
4
4
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const models_0_1 = require("./models_0");
|
|
6
|
+
exports.TestExecutionApiMode = {
|
|
7
|
+
NonStreaming: "NonStreaming",
|
|
8
|
+
Streaming: "Streaming",
|
|
9
|
+
};
|
|
10
|
+
exports.TestExecutionModality = {
|
|
11
|
+
Audio: "Audio",
|
|
12
|
+
Text: "Text",
|
|
13
|
+
};
|
|
14
|
+
exports.TestExecutionStatus = {
|
|
15
|
+
Completed: "Completed",
|
|
16
|
+
Failed: "Failed",
|
|
17
|
+
InProgress: "InProgress",
|
|
18
|
+
Pending: "Pending",
|
|
19
|
+
Stopped: "Stopped",
|
|
20
|
+
Stopping: "Stopping",
|
|
21
|
+
Waiting: "Waiting",
|
|
22
|
+
};
|
|
23
|
+
exports.TestSetStatus = {
|
|
24
|
+
Deleting: "Deleting",
|
|
25
|
+
Importing: "Importing",
|
|
26
|
+
PendingAnnotation: "PendingAnnotation",
|
|
27
|
+
Ready: "Ready",
|
|
28
|
+
ValidationError: "ValidationError",
|
|
29
|
+
};
|
|
30
|
+
exports.TestSetDiscrepancyReportStatus = {
|
|
31
|
+
Completed: "Completed",
|
|
32
|
+
Failed: "Failed",
|
|
33
|
+
InProgress: "InProgress",
|
|
34
|
+
};
|
|
35
|
+
exports.TestSetGenerationStatus = {
|
|
36
|
+
Failed: "Failed",
|
|
37
|
+
Generating: "Generating",
|
|
38
|
+
Pending: "Pending",
|
|
39
|
+
Ready: "Ready",
|
|
40
|
+
};
|
|
41
|
+
exports.ExportFilterName = {
|
|
42
|
+
ExportResourceType: "ExportResourceType",
|
|
43
|
+
};
|
|
44
|
+
exports.ExportFilterOperator = {
|
|
45
|
+
Contains: "CO",
|
|
46
|
+
Equals: "EQ",
|
|
47
|
+
};
|
|
48
|
+
exports.ExportSortAttribute = {
|
|
49
|
+
LastUpdatedDateTime: "LastUpdatedDateTime",
|
|
50
|
+
};
|
|
51
|
+
exports.ImportFilterName = {
|
|
52
|
+
ImportResourceType: "ImportResourceType",
|
|
53
|
+
};
|
|
54
|
+
exports.ImportFilterOperator = {
|
|
55
|
+
Contains: "CO",
|
|
56
|
+
Equals: "EQ",
|
|
57
|
+
};
|
|
58
|
+
exports.ImportResourceType = {
|
|
59
|
+
Bot: "Bot",
|
|
60
|
+
BotLocale: "BotLocale",
|
|
61
|
+
CustomVocabulary: "CustomVocabulary",
|
|
62
|
+
TestSet: "TestSet",
|
|
63
|
+
};
|
|
64
|
+
exports.ImportSortAttribute = {
|
|
65
|
+
LastUpdatedDateTime: "LastUpdatedDateTime",
|
|
66
|
+
};
|
|
67
|
+
exports.IntentFilterName = {
|
|
68
|
+
IntentName: "IntentName",
|
|
69
|
+
};
|
|
70
|
+
exports.IntentFilterOperator = {
|
|
71
|
+
Contains: "CO",
|
|
72
|
+
Equals: "EQ",
|
|
73
|
+
};
|
|
74
|
+
exports.IntentSortAttribute = {
|
|
75
|
+
IntentName: "IntentName",
|
|
76
|
+
LastUpdatedDateTime: "LastUpdatedDateTime",
|
|
77
|
+
};
|
|
78
|
+
exports.IntentState = {
|
|
79
|
+
Failed: "Failed",
|
|
80
|
+
Fulfilled: "Fulfilled",
|
|
81
|
+
FulfillmentInProgress: "FulfillmentInProgress",
|
|
82
|
+
InProgress: "InProgress",
|
|
83
|
+
ReadyForFulfillment: "ReadyForFulfillment",
|
|
84
|
+
Waiting: "Waiting",
|
|
85
|
+
};
|
|
86
|
+
exports.TimeDimension = {
|
|
87
|
+
Days: "Days",
|
|
88
|
+
Hours: "Hours",
|
|
89
|
+
Weeks: "Weeks",
|
|
90
|
+
};
|
|
6
91
|
exports.SlotFilterName = {
|
|
7
92
|
SlotName: "SlotName",
|
|
8
93
|
};
|
|
@@ -47,6 +132,12 @@ exports.TestSetSortAttribute = {
|
|
|
47
132
|
LastUpdatedDateTime: "LastUpdatedDateTime",
|
|
48
133
|
TestSetName: "TestSetName",
|
|
49
134
|
};
|
|
135
|
+
exports.UtteranceContentType = {
|
|
136
|
+
CustomPayload: "CustomPayload",
|
|
137
|
+
ImageResponseCard: "ImageResponseCard",
|
|
138
|
+
PlainText: "PlainText",
|
|
139
|
+
SSML: "SSML",
|
|
140
|
+
};
|
|
50
141
|
exports.SearchOrder = {
|
|
51
142
|
Ascending: "Ascending",
|
|
52
143
|
Descending: "Descending",
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListIntentMetrics = void 0;
|
|
4
|
+
const ListIntentMetricsCommand_1 = require("../commands/ListIntentMetricsCommand");
|
|
5
|
+
const LexModelsV2Client_1 = require("../LexModelsV2Client");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListIntentMetricsCommand_1.ListIntentMetricsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListIntentMetrics(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof LexModelsV2Client_1.LexModelsV2Client) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListIntentMetrics = paginateListIntentMetrics;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListIntentStageMetrics = void 0;
|
|
4
|
+
const ListIntentStageMetricsCommand_1 = require("../commands/ListIntentStageMetricsCommand");
|
|
5
|
+
const LexModelsV2Client_1 = require("../LexModelsV2Client");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListIntentStageMetricsCommand_1.ListIntentStageMetricsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListIntentStageMetrics(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof LexModelsV2Client_1.LexModelsV2Client) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListIntentStageMetrics = paginateListIntentStageMetrics;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListSessionAnalyticsData = void 0;
|
|
4
|
+
const ListSessionAnalyticsDataCommand_1 = require("../commands/ListSessionAnalyticsDataCommand");
|
|
5
|
+
const LexModelsV2Client_1 = require("../LexModelsV2Client");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListSessionAnalyticsDataCommand_1.ListSessionAnalyticsDataCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListSessionAnalyticsData(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof LexModelsV2Client_1.LexModelsV2Client) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListSessionAnalyticsData = paginateListSessionAnalyticsData;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListSessionMetrics = void 0;
|
|
4
|
+
const ListSessionMetricsCommand_1 = require("../commands/ListSessionMetricsCommand");
|
|
5
|
+
const LexModelsV2Client_1 = require("../LexModelsV2Client");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListSessionMetricsCommand_1.ListSessionMetricsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListSessionMetrics(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof LexModelsV2Client_1.LexModelsV2Client) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListSessionMetrics = paginateListSessionMetrics;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListUtteranceAnalyticsData = void 0;
|
|
4
|
+
const ListUtteranceAnalyticsDataCommand_1 = require("../commands/ListUtteranceAnalyticsDataCommand");
|
|
5
|
+
const LexModelsV2Client_1 = require("../LexModelsV2Client");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListUtteranceAnalyticsDataCommand_1.ListUtteranceAnalyticsDataCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListUtteranceAnalyticsData(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof LexModelsV2Client_1.LexModelsV2Client) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListUtteranceAnalyticsData = paginateListUtteranceAnalyticsData;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListUtteranceMetrics = void 0;
|
|
4
|
+
const ListUtteranceMetricsCommand_1 = require("../commands/ListUtteranceMetricsCommand");
|
|
5
|
+
const LexModelsV2Client_1 = require("../LexModelsV2Client");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListUtteranceMetricsCommand_1.ListUtteranceMetricsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListUtteranceMetrics(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.nextToken = token;
|
|
15
|
+
input["maxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof LexModelsV2Client_1.LexModelsV2Client) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.nextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListUtteranceMetrics = paginateListUtteranceMetrics;
|
|
@@ -13,11 +13,17 @@ tslib_1.__exportStar(require("./ListBuiltInSlotTypesPaginator"), exports);
|
|
|
13
13
|
tslib_1.__exportStar(require("./ListCustomVocabularyItemsPaginator"), exports);
|
|
14
14
|
tslib_1.__exportStar(require("./ListExportsPaginator"), exports);
|
|
15
15
|
tslib_1.__exportStar(require("./ListImportsPaginator"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./ListIntentMetricsPaginator"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./ListIntentStageMetricsPaginator"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./ListIntentsPaginator"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./ListRecommendedIntentsPaginator"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./ListSessionAnalyticsDataPaginator"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./ListSessionMetricsPaginator"), exports);
|
|
18
22
|
tslib_1.__exportStar(require("./ListSlotTypesPaginator"), exports);
|
|
19
23
|
tslib_1.__exportStar(require("./ListSlotsPaginator"), exports);
|
|
20
24
|
tslib_1.__exportStar(require("./ListTestExecutionResultItemsPaginator"), exports);
|
|
21
25
|
tslib_1.__exportStar(require("./ListTestExecutionsPaginator"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./ListTestSetRecordsPaginator"), exports);
|
|
23
27
|
tslib_1.__exportStar(require("./ListTestSetsPaginator"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./ListUtteranceAnalyticsDataPaginator"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./ListUtteranceMetricsPaginator"), exports);
|