@aws-sdk/client-lex-models-v2 3.43.0 → 3.47.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 +50 -0
- package/dist-cjs/LexModelsV2.js +90 -0
- package/dist-cjs/commands/DescribeBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/ListBotRecommendationsCommand.js +36 -0
- package/dist-cjs/commands/ListRecommendedIntentsCommand.js +36 -0
- package/dist-cjs/commands/SearchAssociatedTranscriptsCommand.js +36 -0
- package/dist-cjs/commands/StartBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/UpdateBotRecommendationCommand.js +36 -0
- package/dist-cjs/commands/index.js +6 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +226 -47
- package/dist-cjs/pagination/ListBotRecommendationsPaginator.js +35 -0
- package/dist-cjs/pagination/ListRecommendedIntentsPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +2 -0
- package/dist-cjs/protocols/Aws_restJson1.js +1529 -186
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +9 -3
- package/dist-es/LexModelsV2.js +90 -0
- package/dist-es/commands/DescribeBotRecommendationCommand.js +39 -0
- package/dist-es/commands/ListBotRecommendationsCommand.js +39 -0
- package/dist-es/commands/ListRecommendedIntentsCommand.js +39 -0
- package/dist-es/commands/SearchAssociatedTranscriptsCommand.js +39 -0
- package/dist-es/commands/StartBotRecommendationCommand.js +39 -0
- package/dist-es/commands/UpdateBotRecommendationCommand.js +39 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +153 -28
- package/dist-es/pagination/ListBotRecommendationsPaginator.js +74 -0
- package/dist-es/pagination/ListRecommendedIntentsPaginator.js +74 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1541 -134
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -6
- package/dist-types/LexModelsV2.d.ts +50 -0
- package/dist-types/LexModelsV2Client.d.ts +13 -3
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +36 -0
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +36 -0
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +1083 -109
- package/dist-types/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
- package/dist-types/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +30 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +11 -3
- package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +474 -30
- package/dist-types/ts3.4/pagination/ListBotRecommendationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListRecommendedIntentsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -46
|
@@ -31,6 +31,19 @@ export var AggregatedUtterancesSummary;
|
|
|
31
31
|
(function (AggregatedUtterancesSummary) {
|
|
32
32
|
AggregatedUtterancesSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
33
33
|
})(AggregatedUtterancesSummary || (AggregatedUtterancesSummary = {}));
|
|
34
|
+
export var AssociatedTranscript;
|
|
35
|
+
(function (AssociatedTranscript) {
|
|
36
|
+
AssociatedTranscript.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
37
|
+
})(AssociatedTranscript || (AssociatedTranscript = {}));
|
|
38
|
+
export var AssociatedTranscriptFilterName;
|
|
39
|
+
(function (AssociatedTranscriptFilterName) {
|
|
40
|
+
AssociatedTranscriptFilterName["IntentId"] = "IntentId";
|
|
41
|
+
AssociatedTranscriptFilterName["SlotTypeId"] = "SlotTypeId";
|
|
42
|
+
})(AssociatedTranscriptFilterName || (AssociatedTranscriptFilterName = {}));
|
|
43
|
+
export var AssociatedTranscriptFilter;
|
|
44
|
+
(function (AssociatedTranscriptFilter) {
|
|
45
|
+
AssociatedTranscriptFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
46
|
+
})(AssociatedTranscriptFilter || (AssociatedTranscriptFilter = {}));
|
|
34
47
|
export var S3BucketLogDestination;
|
|
35
48
|
(function (S3BucketLogDestination) {
|
|
36
49
|
S3BucketLogDestination.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -146,12 +159,43 @@ export var BotLocaleStatus;
|
|
|
146
159
|
BotLocaleStatus["Failed"] = "Failed";
|
|
147
160
|
BotLocaleStatus["Importing"] = "Importing";
|
|
148
161
|
BotLocaleStatus["NotBuilt"] = "NotBuilt";
|
|
162
|
+
BotLocaleStatus["Processing"] = "Processing";
|
|
149
163
|
BotLocaleStatus["ReadyExpressTesting"] = "ReadyExpressTesting";
|
|
150
164
|
})(BotLocaleStatus || (BotLocaleStatus = {}));
|
|
151
165
|
export var BotLocaleSummary;
|
|
152
166
|
(function (BotLocaleSummary) {
|
|
153
167
|
BotLocaleSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
154
168
|
})(BotLocaleSummary || (BotLocaleSummary = {}));
|
|
169
|
+
export var IntentStatistics;
|
|
170
|
+
(function (IntentStatistics) {
|
|
171
|
+
IntentStatistics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
172
|
+
})(IntentStatistics || (IntentStatistics = {}));
|
|
173
|
+
export var SlotTypeStatistics;
|
|
174
|
+
(function (SlotTypeStatistics) {
|
|
175
|
+
SlotTypeStatistics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
176
|
+
})(SlotTypeStatistics || (SlotTypeStatistics = {}));
|
|
177
|
+
export var BotRecommendationResultStatistics;
|
|
178
|
+
(function (BotRecommendationResultStatistics) {
|
|
179
|
+
BotRecommendationResultStatistics.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
180
|
+
})(BotRecommendationResultStatistics || (BotRecommendationResultStatistics = {}));
|
|
181
|
+
export var BotRecommendationResults;
|
|
182
|
+
(function (BotRecommendationResults) {
|
|
183
|
+
BotRecommendationResults.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
184
|
+
})(BotRecommendationResults || (BotRecommendationResults = {}));
|
|
185
|
+
export var BotRecommendationStatus;
|
|
186
|
+
(function (BotRecommendationStatus) {
|
|
187
|
+
BotRecommendationStatus["Available"] = "Available";
|
|
188
|
+
BotRecommendationStatus["Deleted"] = "Deleted";
|
|
189
|
+
BotRecommendationStatus["Deleting"] = "Deleting";
|
|
190
|
+
BotRecommendationStatus["Downloading"] = "Downloading";
|
|
191
|
+
BotRecommendationStatus["Failed"] = "Failed";
|
|
192
|
+
BotRecommendationStatus["Processing"] = "Processing";
|
|
193
|
+
BotRecommendationStatus["Updating"] = "Updating";
|
|
194
|
+
})(BotRecommendationStatus || (BotRecommendationStatus = {}));
|
|
195
|
+
export var BotRecommendationSummary;
|
|
196
|
+
(function (BotRecommendationSummary) {
|
|
197
|
+
BotRecommendationSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
198
|
+
})(BotRecommendationSummary || (BotRecommendationSummary = {}));
|
|
155
199
|
export var BotSortAttribute;
|
|
156
200
|
(function (BotSortAttribute) {
|
|
157
201
|
BotSortAttribute["BotName"] = "BotName";
|
|
@@ -198,30 +242,6 @@ export var BuildBotLocaleResponse;
|
|
|
198
242
|
(function (BuildBotLocaleResponse) {
|
|
199
243
|
BuildBotLocaleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
200
244
|
})(BuildBotLocaleResponse || (BuildBotLocaleResponse = {}));
|
|
201
|
-
export var ConflictException;
|
|
202
|
-
(function (ConflictException) {
|
|
203
|
-
ConflictException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
204
|
-
})(ConflictException || (ConflictException = {}));
|
|
205
|
-
export var InternalServerException;
|
|
206
|
-
(function (InternalServerException) {
|
|
207
|
-
InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
208
|
-
})(InternalServerException || (InternalServerException = {}));
|
|
209
|
-
export var PreconditionFailedException;
|
|
210
|
-
(function (PreconditionFailedException) {
|
|
211
|
-
PreconditionFailedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
212
|
-
})(PreconditionFailedException || (PreconditionFailedException = {}));
|
|
213
|
-
export var ServiceQuotaExceededException;
|
|
214
|
-
(function (ServiceQuotaExceededException) {
|
|
215
|
-
ServiceQuotaExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
216
|
-
})(ServiceQuotaExceededException || (ServiceQuotaExceededException = {}));
|
|
217
|
-
export var ThrottlingException;
|
|
218
|
-
(function (ThrottlingException) {
|
|
219
|
-
ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
220
|
-
})(ThrottlingException || (ThrottlingException = {}));
|
|
221
|
-
export var ValidationException;
|
|
222
|
-
(function (ValidationException) {
|
|
223
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
224
|
-
})(ValidationException || (ValidationException = {}));
|
|
225
245
|
export var BuiltInIntentSortAttribute;
|
|
226
246
|
(function (BuiltInIntentSortAttribute) {
|
|
227
247
|
BuiltInIntentSortAttribute["IntentSignature"] = "IntentSignature";
|
|
@@ -325,10 +345,6 @@ export var CreateExportResponse;
|
|
|
325
345
|
(function (CreateExportResponse) {
|
|
326
346
|
CreateExportResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
327
347
|
})(CreateExportResponse || (CreateExportResponse = {}));
|
|
328
|
-
export var ResourceNotFoundException;
|
|
329
|
-
(function (ResourceNotFoundException) {
|
|
330
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
331
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
332
348
|
export var DialogCodeHookSettings;
|
|
333
349
|
(function (DialogCodeHookSettings) {
|
|
334
350
|
DialogCodeHookSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -488,6 +504,18 @@ export var CreateSlotResponse;
|
|
|
488
504
|
(function (CreateSlotResponse) {
|
|
489
505
|
CreateSlotResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
490
506
|
})(CreateSlotResponse || (CreateSlotResponse = {}));
|
|
507
|
+
export var GrammarSlotTypeSource;
|
|
508
|
+
(function (GrammarSlotTypeSource) {
|
|
509
|
+
GrammarSlotTypeSource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
510
|
+
})(GrammarSlotTypeSource || (GrammarSlotTypeSource = {}));
|
|
511
|
+
export var GrammarSlotTypeSetting;
|
|
512
|
+
(function (GrammarSlotTypeSetting) {
|
|
513
|
+
GrammarSlotTypeSetting.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
514
|
+
})(GrammarSlotTypeSetting || (GrammarSlotTypeSetting = {}));
|
|
515
|
+
export var ExternalSourceSetting;
|
|
516
|
+
(function (ExternalSourceSetting) {
|
|
517
|
+
ExternalSourceSetting.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
518
|
+
})(ExternalSourceSetting || (ExternalSourceSetting = {}));
|
|
491
519
|
export var SampleValue;
|
|
492
520
|
(function (SampleValue) {
|
|
493
521
|
SampleValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -525,6 +553,10 @@ export var CreateUploadUrlResponse;
|
|
|
525
553
|
(function (CreateUploadUrlResponse) {
|
|
526
554
|
CreateUploadUrlResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
527
555
|
})(CreateUploadUrlResponse || (CreateUploadUrlResponse = {}));
|
|
556
|
+
export var DateRangeFilter;
|
|
557
|
+
(function (DateRangeFilter) {
|
|
558
|
+
DateRangeFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
559
|
+
})(DateRangeFilter || (DateRangeFilter = {}));
|
|
528
560
|
export var DeleteBotRequest;
|
|
529
561
|
(function (DeleteBotRequest) {
|
|
530
562
|
DeleteBotRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -640,6 +672,42 @@ export var DescribeBotLocaleResponse;
|
|
|
640
672
|
(function (DescribeBotLocaleResponse) {
|
|
641
673
|
DescribeBotLocaleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
642
674
|
})(DescribeBotLocaleResponse || (DescribeBotLocaleResponse = {}));
|
|
675
|
+
export var DescribeBotRecommendationRequest;
|
|
676
|
+
(function (DescribeBotRecommendationRequest) {
|
|
677
|
+
DescribeBotRecommendationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
678
|
+
})(DescribeBotRecommendationRequest || (DescribeBotRecommendationRequest = {}));
|
|
679
|
+
export var EncryptionSetting;
|
|
680
|
+
(function (EncryptionSetting) {
|
|
681
|
+
EncryptionSetting.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.botLocaleExportPassword && { botLocaleExportPassword: SENSITIVE_STRING })), (obj.associatedTranscriptsPassword && { associatedTranscriptsPassword: SENSITIVE_STRING }))); };
|
|
682
|
+
})(EncryptionSetting || (EncryptionSetting = {}));
|
|
683
|
+
export var PathFormat;
|
|
684
|
+
(function (PathFormat) {
|
|
685
|
+
PathFormat.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
686
|
+
})(PathFormat || (PathFormat = {}));
|
|
687
|
+
export var LexTranscriptFilter;
|
|
688
|
+
(function (LexTranscriptFilter) {
|
|
689
|
+
LexTranscriptFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
690
|
+
})(LexTranscriptFilter || (LexTranscriptFilter = {}));
|
|
691
|
+
export var TranscriptFilter;
|
|
692
|
+
(function (TranscriptFilter) {
|
|
693
|
+
TranscriptFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
694
|
+
})(TranscriptFilter || (TranscriptFilter = {}));
|
|
695
|
+
export var TranscriptFormat;
|
|
696
|
+
(function (TranscriptFormat) {
|
|
697
|
+
TranscriptFormat["Lex"] = "Lex";
|
|
698
|
+
})(TranscriptFormat || (TranscriptFormat = {}));
|
|
699
|
+
export var S3BucketTranscriptSource;
|
|
700
|
+
(function (S3BucketTranscriptSource) {
|
|
701
|
+
S3BucketTranscriptSource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
702
|
+
})(S3BucketTranscriptSource || (S3BucketTranscriptSource = {}));
|
|
703
|
+
export var TranscriptSourceSetting;
|
|
704
|
+
(function (TranscriptSourceSetting) {
|
|
705
|
+
TranscriptSourceSetting.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
706
|
+
})(TranscriptSourceSetting || (TranscriptSourceSetting = {}));
|
|
707
|
+
export var DescribeBotRecommendationResponse;
|
|
708
|
+
(function (DescribeBotRecommendationResponse) {
|
|
709
|
+
DescribeBotRecommendationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }))); };
|
|
710
|
+
})(DescribeBotRecommendationResponse || (DescribeBotRecommendationResponse = {}));
|
|
643
711
|
export var DescribeBotVersionRequest;
|
|
644
712
|
(function (DescribeBotVersionRequest) {
|
|
645
713
|
DescribeBotVersionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -662,6 +730,7 @@ export var DescribeImportRequest;
|
|
|
662
730
|
})(DescribeImportRequest || (DescribeImportRequest = {}));
|
|
663
731
|
export var MergeStrategy;
|
|
664
732
|
(function (MergeStrategy) {
|
|
733
|
+
MergeStrategy["Append"] = "Append";
|
|
665
734
|
MergeStrategy["FailOnConflict"] = "FailOnConflict";
|
|
666
735
|
MergeStrategy["Overwrite"] = "Overwrite";
|
|
667
736
|
})(MergeStrategy || (MergeStrategy = {}));
|
|
@@ -823,6 +892,14 @@ export var ListBotLocalesResponse;
|
|
|
823
892
|
(function (ListBotLocalesResponse) {
|
|
824
893
|
ListBotLocalesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
825
894
|
})(ListBotLocalesResponse || (ListBotLocalesResponse = {}));
|
|
895
|
+
export var ListBotRecommendationsRequest;
|
|
896
|
+
(function (ListBotRecommendationsRequest) {
|
|
897
|
+
ListBotRecommendationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
898
|
+
})(ListBotRecommendationsRequest || (ListBotRecommendationsRequest = {}));
|
|
899
|
+
export var ListBotRecommendationsResponse;
|
|
900
|
+
(function (ListBotRecommendationsResponse) {
|
|
901
|
+
ListBotRecommendationsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
902
|
+
})(ListBotRecommendationsResponse || (ListBotRecommendationsResponse = {}));
|
|
826
903
|
export var ListBotsRequest;
|
|
827
904
|
(function (ListBotsRequest) {
|
|
828
905
|
ListBotsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -879,6 +956,18 @@ export var ListIntentsResponse;
|
|
|
879
956
|
(function (ListIntentsResponse) {
|
|
880
957
|
ListIntentsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
881
958
|
})(ListIntentsResponse || (ListIntentsResponse = {}));
|
|
959
|
+
export var ListRecommendedIntentsRequest;
|
|
960
|
+
(function (ListRecommendedIntentsRequest) {
|
|
961
|
+
ListRecommendedIntentsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
962
|
+
})(ListRecommendedIntentsRequest || (ListRecommendedIntentsRequest = {}));
|
|
963
|
+
export var RecommendedIntentSummary;
|
|
964
|
+
(function (RecommendedIntentSummary) {
|
|
965
|
+
RecommendedIntentSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
966
|
+
})(RecommendedIntentSummary || (RecommendedIntentSummary = {}));
|
|
967
|
+
export var ListRecommendedIntentsResponse;
|
|
968
|
+
(function (ListRecommendedIntentsResponse) {
|
|
969
|
+
ListRecommendedIntentsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
970
|
+
})(ListRecommendedIntentsResponse || (ListRecommendedIntentsResponse = {}));
|
|
882
971
|
export var SlotFilterName;
|
|
883
972
|
(function (SlotFilterName) {
|
|
884
973
|
SlotFilterName["SlotName"] = "SlotName";
|
|
@@ -915,6 +1004,7 @@ export var ListSlotsResponse;
|
|
|
915
1004
|
})(ListSlotsResponse || (ListSlotsResponse = {}));
|
|
916
1005
|
export var SlotTypeFilterName;
|
|
917
1006
|
(function (SlotTypeFilterName) {
|
|
1007
|
+
SlotTypeFilterName["ExternalSourceType"] = "ExternalSourceType";
|
|
918
1008
|
SlotTypeFilterName["SlotTypeName"] = "SlotTypeName";
|
|
919
1009
|
})(SlotTypeFilterName || (SlotTypeFilterName = {}));
|
|
920
1010
|
export var SlotTypeFilterOperator;
|
|
@@ -939,6 +1029,12 @@ export var ListSlotTypesRequest;
|
|
|
939
1029
|
(function (ListSlotTypesRequest) {
|
|
940
1030
|
ListSlotTypesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
941
1031
|
})(ListSlotTypesRequest || (ListSlotTypesRequest = {}));
|
|
1032
|
+
export var SlotTypeCategory;
|
|
1033
|
+
(function (SlotTypeCategory) {
|
|
1034
|
+
SlotTypeCategory["Custom"] = "Custom";
|
|
1035
|
+
SlotTypeCategory["Extended"] = "Extended";
|
|
1036
|
+
SlotTypeCategory["ExternalGrammar"] = "ExternalGrammar";
|
|
1037
|
+
})(SlotTypeCategory || (SlotTypeCategory = {}));
|
|
942
1038
|
export var SlotTypeSummary;
|
|
943
1039
|
(function (SlotTypeSummary) {
|
|
944
1040
|
SlotTypeSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -955,6 +1051,27 @@ export var ListTagsForResourceResponse;
|
|
|
955
1051
|
(function (ListTagsForResourceResponse) {
|
|
956
1052
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
957
1053
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
1054
|
+
export var SearchOrder;
|
|
1055
|
+
(function (SearchOrder) {
|
|
1056
|
+
SearchOrder["Ascending"] = "Ascending";
|
|
1057
|
+
SearchOrder["Descending"] = "Descending";
|
|
1058
|
+
})(SearchOrder || (SearchOrder = {}));
|
|
1059
|
+
export var SearchAssociatedTranscriptsRequest;
|
|
1060
|
+
(function (SearchAssociatedTranscriptsRequest) {
|
|
1061
|
+
SearchAssociatedTranscriptsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1062
|
+
})(SearchAssociatedTranscriptsRequest || (SearchAssociatedTranscriptsRequest = {}));
|
|
1063
|
+
export var SearchAssociatedTranscriptsResponse;
|
|
1064
|
+
(function (SearchAssociatedTranscriptsResponse) {
|
|
1065
|
+
SearchAssociatedTranscriptsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1066
|
+
})(SearchAssociatedTranscriptsResponse || (SearchAssociatedTranscriptsResponse = {}));
|
|
1067
|
+
export var StartBotRecommendationRequest;
|
|
1068
|
+
(function (StartBotRecommendationRequest) {
|
|
1069
|
+
StartBotRecommendationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }))); };
|
|
1070
|
+
})(StartBotRecommendationRequest || (StartBotRecommendationRequest = {}));
|
|
1071
|
+
export var StartBotRecommendationResponse;
|
|
1072
|
+
(function (StartBotRecommendationResponse) {
|
|
1073
|
+
StartBotRecommendationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }))); };
|
|
1074
|
+
})(StartBotRecommendationResponse || (StartBotRecommendationResponse = {}));
|
|
958
1075
|
export var StartImportRequest;
|
|
959
1076
|
(function (StartImportRequest) {
|
|
960
1077
|
StartImportRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.filePassword && { filePassword: SENSITIVE_STRING }))); };
|
|
@@ -1003,6 +1120,14 @@ export var UpdateBotLocaleResponse;
|
|
|
1003
1120
|
(function (UpdateBotLocaleResponse) {
|
|
1004
1121
|
UpdateBotLocaleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1005
1122
|
})(UpdateBotLocaleResponse || (UpdateBotLocaleResponse = {}));
|
|
1123
|
+
export var UpdateBotRecommendationRequest;
|
|
1124
|
+
(function (UpdateBotRecommendationRequest) {
|
|
1125
|
+
UpdateBotRecommendationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }))); };
|
|
1126
|
+
})(UpdateBotRecommendationRequest || (UpdateBotRecommendationRequest = {}));
|
|
1127
|
+
export var UpdateBotRecommendationResponse;
|
|
1128
|
+
(function (UpdateBotRecommendationResponse) {
|
|
1129
|
+
UpdateBotRecommendationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }))); };
|
|
1130
|
+
})(UpdateBotRecommendationResponse || (UpdateBotRecommendationResponse = {}));
|
|
1006
1131
|
export var UpdateExportRequest;
|
|
1007
1132
|
(function (UpdateExportRequest) {
|
|
1008
1133
|
UpdateExportRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.filePassword && { filePassword: SENSITIVE_STRING }))); };
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListBotRecommendationsCommand, } from "../commands/ListBotRecommendationsCommand";
|
|
3
|
+
import { LexModelsV2 } from "../LexModelsV2";
|
|
4
|
+
import { LexModelsV2Client } from "../LexModelsV2Client";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListBotRecommendationsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listBotRecommendations.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListBotRecommendations(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListBotRecommendations_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof LexModelsV2)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof LexModelsV2Client)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { __asyncGenerator, __await, __awaiter, __generator, __read, __spreadArray } from "tslib";
|
|
2
|
+
import { ListRecommendedIntentsCommand, } from "../commands/ListRecommendedIntentsCommand";
|
|
3
|
+
import { LexModelsV2 } from "../LexModelsV2";
|
|
4
|
+
import { LexModelsV2Client } from "../LexModelsV2Client";
|
|
5
|
+
var makePagedClientRequest = function (client, input) {
|
|
6
|
+
var args = [];
|
|
7
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
8
|
+
args[_i - 2] = arguments[_i];
|
|
9
|
+
}
|
|
10
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
|
+
return __generator(this, function (_a) {
|
|
12
|
+
switch (_a.label) {
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListRecommendedIntentsCommand(input)], __read(args)))];
|
|
14
|
+
case 1: return [2, _a.sent()];
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
});
|
|
18
|
+
};
|
|
19
|
+
var makePagedRequest = function (client, input) {
|
|
20
|
+
var args = [];
|
|
21
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
22
|
+
args[_i - 2] = arguments[_i];
|
|
23
|
+
}
|
|
24
|
+
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
|
+
return __generator(this, function (_a) {
|
|
26
|
+
switch (_a.label) {
|
|
27
|
+
case 0: return [4, client.listRecommendedIntents.apply(client, __spreadArray([input], __read(args)))];
|
|
28
|
+
case 1: return [2, _a.sent()];
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
export function paginateListRecommendedIntents(config, input) {
|
|
34
|
+
var additionalArguments = [];
|
|
35
|
+
for (var _i = 2; _i < arguments.length; _i++) {
|
|
36
|
+
additionalArguments[_i - 2] = arguments[_i];
|
|
37
|
+
}
|
|
38
|
+
return __asyncGenerator(this, arguments, function paginateListRecommendedIntents_1() {
|
|
39
|
+
var token, hasNext, page;
|
|
40
|
+
return __generator(this, function (_a) {
|
|
41
|
+
switch (_a.label) {
|
|
42
|
+
case 0:
|
|
43
|
+
token = config.startingToken || undefined;
|
|
44
|
+
hasNext = true;
|
|
45
|
+
_a.label = 1;
|
|
46
|
+
case 1:
|
|
47
|
+
if (!hasNext) return [3, 9];
|
|
48
|
+
input.nextToken = token;
|
|
49
|
+
input["maxResults"] = config.pageSize;
|
|
50
|
+
if (!(config.client instanceof LexModelsV2)) return [3, 3];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
52
|
+
case 2:
|
|
53
|
+
page = _a.sent();
|
|
54
|
+
return [3, 6];
|
|
55
|
+
case 3:
|
|
56
|
+
if (!(config.client instanceof LexModelsV2Client)) return [3, 5];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
58
|
+
case 4:
|
|
59
|
+
page = _a.sent();
|
|
60
|
+
return [3, 6];
|
|
61
|
+
case 5: throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
62
|
+
case 6: return [4, __await(page)];
|
|
63
|
+
case 7: return [4, _a.sent()];
|
|
64
|
+
case 8:
|
|
65
|
+
_a.sent();
|
|
66
|
+
token = page.nextToken;
|
|
67
|
+
hasNext = !!token;
|
|
68
|
+
return [3, 1];
|
|
69
|
+
case 9: return [4, __await(undefined)];
|
|
70
|
+
case 10: return [2, _a.sent()];
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
});
|
|
74
|
+
}
|
|
@@ -2,6 +2,7 @@ export * from "./Interfaces";
|
|
|
2
2
|
export * from "./ListAggregatedUtterancesPaginator";
|
|
3
3
|
export * from "./ListBotAliasesPaginator";
|
|
4
4
|
export * from "./ListBotLocalesPaginator";
|
|
5
|
+
export * from "./ListBotRecommendationsPaginator";
|
|
5
6
|
export * from "./ListBotVersionsPaginator";
|
|
6
7
|
export * from "./ListBotsPaginator";
|
|
7
8
|
export * from "./ListBuiltInIntentsPaginator";
|
|
@@ -9,5 +10,6 @@ export * from "./ListBuiltInSlotTypesPaginator";
|
|
|
9
10
|
export * from "./ListExportsPaginator";
|
|
10
11
|
export * from "./ListImportsPaginator";
|
|
11
12
|
export * from "./ListIntentsPaginator";
|
|
13
|
+
export * from "./ListRecommendedIntentsPaginator";
|
|
12
14
|
export * from "./ListSlotTypesPaginator";
|
|
13
15
|
export * from "./ListSlotsPaginator";
|