@aws-sdk/client-lex-models-v2 3.40.0 → 3.44.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 +41 -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 +8 -0
- package/dist-cjs/models/models_0.js +206 -5
- 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 +1472 -208
- 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 +8 -0
- package/dist-es/models/models_0.js +139 -0
- 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 +1370 -33
- package/dist-types/LexModelsV2.d.ts +56 -6
- package/dist-types/LexModelsV2Client.d.ts +8 -2
- package/dist-types/commands/BuildBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/CreateBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/CreateBotCommand.d.ts +1 -1
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/CreateBotVersionCommand.d.ts +1 -1
- package/dist-types/commands/CreateExportCommand.d.ts +1 -1
- package/dist-types/commands/CreateIntentCommand.d.ts +1 -1
- package/dist-types/commands/CreateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +1 -1
- package/dist-types/commands/CreateSlotCommand.d.ts +1 -1
- package/dist-types/commands/CreateSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +2 -2
- package/dist-types/commands/DeleteExportCommand.d.ts +1 -1
- package/dist-types/commands/DeleteImportCommand.d.ts +1 -1
- package/dist-types/commands/DeleteIntentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSlotCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +4 -4
- package/dist-types/commands/DescribeBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
- package/dist-types/commands/DescribeBotVersionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeExportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeImportCommand.d.ts +1 -1
- package/dist-types/commands/DescribeIntentCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSlotCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +1 -1
- package/dist-types/commands/ListBotAliasesCommand.d.ts +1 -1
- package/dist-types/commands/ListBotLocalesCommand.d.ts +1 -1
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
- package/dist-types/commands/ListBotVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListBotsCommand.d.ts +1 -1
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +2 -2
- package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListExportsCommand.d.ts +1 -1
- package/dist-types/commands/ListImportsCommand.d.ts +1 -1
- package/dist-types/commands/ListIntentsCommand.d.ts +1 -1
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +36 -0
- package/dist-types/commands/ListSlotTypesCommand.d.ts +1 -1
- package/dist-types/commands/ListSlotsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +36 -0
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +36 -0
- package/dist-types/commands/StartImportCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotAliasCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +35 -0
- package/dist-types/commands/UpdateExportCommand.d.ts +2 -2
- package/dist-types/commands/UpdateIntentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSlotCommand.d.ts +1 -1
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +925 -25
- 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/ts3.4/LexModelsV2.d.ts +30 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +8 -2
- 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 +425 -0
- 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/package.json +4 -4
|
@@ -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)); };
|
|
@@ -116,6 +129,11 @@ export var BotLocaleHistoryEvent;
|
|
|
116
129
|
(function (BotLocaleHistoryEvent) {
|
|
117
130
|
BotLocaleHistoryEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
118
131
|
})(BotLocaleHistoryEvent || (BotLocaleHistoryEvent = {}));
|
|
132
|
+
export var VoiceEngine;
|
|
133
|
+
(function (VoiceEngine) {
|
|
134
|
+
VoiceEngine["Neural"] = "neural";
|
|
135
|
+
VoiceEngine["Standard"] = "standard";
|
|
136
|
+
})(VoiceEngine || (VoiceEngine = {}));
|
|
119
137
|
export var VoiceSettings;
|
|
120
138
|
(function (VoiceSettings) {
|
|
121
139
|
VoiceSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -141,12 +159,43 @@ export var BotLocaleStatus;
|
|
|
141
159
|
BotLocaleStatus["Failed"] = "Failed";
|
|
142
160
|
BotLocaleStatus["Importing"] = "Importing";
|
|
143
161
|
BotLocaleStatus["NotBuilt"] = "NotBuilt";
|
|
162
|
+
BotLocaleStatus["Processing"] = "Processing";
|
|
144
163
|
BotLocaleStatus["ReadyExpressTesting"] = "ReadyExpressTesting";
|
|
145
164
|
})(BotLocaleStatus || (BotLocaleStatus = {}));
|
|
146
165
|
export var BotLocaleSummary;
|
|
147
166
|
(function (BotLocaleSummary) {
|
|
148
167
|
BotLocaleSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
149
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 = {}));
|
|
150
199
|
export var BotSortAttribute;
|
|
151
200
|
(function (BotSortAttribute) {
|
|
152
201
|
BotSortAttribute["BotName"] = "BotName";
|
|
@@ -520,6 +569,10 @@ export var CreateUploadUrlResponse;
|
|
|
520
569
|
(function (CreateUploadUrlResponse) {
|
|
521
570
|
CreateUploadUrlResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
522
571
|
})(CreateUploadUrlResponse || (CreateUploadUrlResponse = {}));
|
|
572
|
+
export var DateRangeFilter;
|
|
573
|
+
(function (DateRangeFilter) {
|
|
574
|
+
DateRangeFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
575
|
+
})(DateRangeFilter || (DateRangeFilter = {}));
|
|
523
576
|
export var DeleteBotRequest;
|
|
524
577
|
(function (DeleteBotRequest) {
|
|
525
578
|
DeleteBotRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -635,6 +688,42 @@ export var DescribeBotLocaleResponse;
|
|
|
635
688
|
(function (DescribeBotLocaleResponse) {
|
|
636
689
|
DescribeBotLocaleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
637
690
|
})(DescribeBotLocaleResponse || (DescribeBotLocaleResponse = {}));
|
|
691
|
+
export var DescribeBotRecommendationRequest;
|
|
692
|
+
(function (DescribeBotRecommendationRequest) {
|
|
693
|
+
DescribeBotRecommendationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
694
|
+
})(DescribeBotRecommendationRequest || (DescribeBotRecommendationRequest = {}));
|
|
695
|
+
export var EncryptionSetting;
|
|
696
|
+
(function (EncryptionSetting) {
|
|
697
|
+
EncryptionSetting.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.botLocaleExportPassword && { botLocaleExportPassword: SENSITIVE_STRING })), (obj.associatedTranscriptsPassword && { associatedTranscriptsPassword: SENSITIVE_STRING }))); };
|
|
698
|
+
})(EncryptionSetting || (EncryptionSetting = {}));
|
|
699
|
+
export var PathFormat;
|
|
700
|
+
(function (PathFormat) {
|
|
701
|
+
PathFormat.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
702
|
+
})(PathFormat || (PathFormat = {}));
|
|
703
|
+
export var LexTranscriptFilter;
|
|
704
|
+
(function (LexTranscriptFilter) {
|
|
705
|
+
LexTranscriptFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
706
|
+
})(LexTranscriptFilter || (LexTranscriptFilter = {}));
|
|
707
|
+
export var TranscriptFilter;
|
|
708
|
+
(function (TranscriptFilter) {
|
|
709
|
+
TranscriptFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
710
|
+
})(TranscriptFilter || (TranscriptFilter = {}));
|
|
711
|
+
export var TranscriptFormat;
|
|
712
|
+
(function (TranscriptFormat) {
|
|
713
|
+
TranscriptFormat["Lex"] = "Lex";
|
|
714
|
+
})(TranscriptFormat || (TranscriptFormat = {}));
|
|
715
|
+
export var S3BucketTranscriptSource;
|
|
716
|
+
(function (S3BucketTranscriptSource) {
|
|
717
|
+
S3BucketTranscriptSource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
718
|
+
})(S3BucketTranscriptSource || (S3BucketTranscriptSource = {}));
|
|
719
|
+
export var TranscriptSourceSetting;
|
|
720
|
+
(function (TranscriptSourceSetting) {
|
|
721
|
+
TranscriptSourceSetting.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
722
|
+
})(TranscriptSourceSetting || (TranscriptSourceSetting = {}));
|
|
723
|
+
export var DescribeBotRecommendationResponse;
|
|
724
|
+
(function (DescribeBotRecommendationResponse) {
|
|
725
|
+
DescribeBotRecommendationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }))); };
|
|
726
|
+
})(DescribeBotRecommendationResponse || (DescribeBotRecommendationResponse = {}));
|
|
638
727
|
export var DescribeBotVersionRequest;
|
|
639
728
|
(function (DescribeBotVersionRequest) {
|
|
640
729
|
DescribeBotVersionRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -657,6 +746,7 @@ export var DescribeImportRequest;
|
|
|
657
746
|
})(DescribeImportRequest || (DescribeImportRequest = {}));
|
|
658
747
|
export var MergeStrategy;
|
|
659
748
|
(function (MergeStrategy) {
|
|
749
|
+
MergeStrategy["Append"] = "Append";
|
|
660
750
|
MergeStrategy["FailOnConflict"] = "FailOnConflict";
|
|
661
751
|
MergeStrategy["Overwrite"] = "Overwrite";
|
|
662
752
|
})(MergeStrategy || (MergeStrategy = {}));
|
|
@@ -818,6 +908,14 @@ export var ListBotLocalesResponse;
|
|
|
818
908
|
(function (ListBotLocalesResponse) {
|
|
819
909
|
ListBotLocalesResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
820
910
|
})(ListBotLocalesResponse || (ListBotLocalesResponse = {}));
|
|
911
|
+
export var ListBotRecommendationsRequest;
|
|
912
|
+
(function (ListBotRecommendationsRequest) {
|
|
913
|
+
ListBotRecommendationsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
914
|
+
})(ListBotRecommendationsRequest || (ListBotRecommendationsRequest = {}));
|
|
915
|
+
export var ListBotRecommendationsResponse;
|
|
916
|
+
(function (ListBotRecommendationsResponse) {
|
|
917
|
+
ListBotRecommendationsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
918
|
+
})(ListBotRecommendationsResponse || (ListBotRecommendationsResponse = {}));
|
|
821
919
|
export var ListBotsRequest;
|
|
822
920
|
(function (ListBotsRequest) {
|
|
823
921
|
ListBotsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -874,6 +972,18 @@ export var ListIntentsResponse;
|
|
|
874
972
|
(function (ListIntentsResponse) {
|
|
875
973
|
ListIntentsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
876
974
|
})(ListIntentsResponse || (ListIntentsResponse = {}));
|
|
975
|
+
export var ListRecommendedIntentsRequest;
|
|
976
|
+
(function (ListRecommendedIntentsRequest) {
|
|
977
|
+
ListRecommendedIntentsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
978
|
+
})(ListRecommendedIntentsRequest || (ListRecommendedIntentsRequest = {}));
|
|
979
|
+
export var RecommendedIntentSummary;
|
|
980
|
+
(function (RecommendedIntentSummary) {
|
|
981
|
+
RecommendedIntentSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
982
|
+
})(RecommendedIntentSummary || (RecommendedIntentSummary = {}));
|
|
983
|
+
export var ListRecommendedIntentsResponse;
|
|
984
|
+
(function (ListRecommendedIntentsResponse) {
|
|
985
|
+
ListRecommendedIntentsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
986
|
+
})(ListRecommendedIntentsResponse || (ListRecommendedIntentsResponse = {}));
|
|
877
987
|
export var SlotFilterName;
|
|
878
988
|
(function (SlotFilterName) {
|
|
879
989
|
SlotFilterName["SlotName"] = "SlotName";
|
|
@@ -950,6 +1060,27 @@ export var ListTagsForResourceResponse;
|
|
|
950
1060
|
(function (ListTagsForResourceResponse) {
|
|
951
1061
|
ListTagsForResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
952
1062
|
})(ListTagsForResourceResponse || (ListTagsForResourceResponse = {}));
|
|
1063
|
+
export var SearchOrder;
|
|
1064
|
+
(function (SearchOrder) {
|
|
1065
|
+
SearchOrder["Ascending"] = "Ascending";
|
|
1066
|
+
SearchOrder["Descending"] = "Descending";
|
|
1067
|
+
})(SearchOrder || (SearchOrder = {}));
|
|
1068
|
+
export var SearchAssociatedTranscriptsRequest;
|
|
1069
|
+
(function (SearchAssociatedTranscriptsRequest) {
|
|
1070
|
+
SearchAssociatedTranscriptsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1071
|
+
})(SearchAssociatedTranscriptsRequest || (SearchAssociatedTranscriptsRequest = {}));
|
|
1072
|
+
export var SearchAssociatedTranscriptsResponse;
|
|
1073
|
+
(function (SearchAssociatedTranscriptsResponse) {
|
|
1074
|
+
SearchAssociatedTranscriptsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1075
|
+
})(SearchAssociatedTranscriptsResponse || (SearchAssociatedTranscriptsResponse = {}));
|
|
1076
|
+
export var StartBotRecommendationRequest;
|
|
1077
|
+
(function (StartBotRecommendationRequest) {
|
|
1078
|
+
StartBotRecommendationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }))); };
|
|
1079
|
+
})(StartBotRecommendationRequest || (StartBotRecommendationRequest = {}));
|
|
1080
|
+
export var StartBotRecommendationResponse;
|
|
1081
|
+
(function (StartBotRecommendationResponse) {
|
|
1082
|
+
StartBotRecommendationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }))); };
|
|
1083
|
+
})(StartBotRecommendationResponse || (StartBotRecommendationResponse = {}));
|
|
953
1084
|
export var StartImportRequest;
|
|
954
1085
|
(function (StartImportRequest) {
|
|
955
1086
|
StartImportRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.filePassword && { filePassword: SENSITIVE_STRING }))); };
|
|
@@ -998,6 +1129,14 @@ export var UpdateBotLocaleResponse;
|
|
|
998
1129
|
(function (UpdateBotLocaleResponse) {
|
|
999
1130
|
UpdateBotLocaleResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1000
1131
|
})(UpdateBotLocaleResponse || (UpdateBotLocaleResponse = {}));
|
|
1132
|
+
export var UpdateBotRecommendationRequest;
|
|
1133
|
+
(function (UpdateBotRecommendationRequest) {
|
|
1134
|
+
UpdateBotRecommendationRequest.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }))); };
|
|
1135
|
+
})(UpdateBotRecommendationRequest || (UpdateBotRecommendationRequest = {}));
|
|
1136
|
+
export var UpdateBotRecommendationResponse;
|
|
1137
|
+
(function (UpdateBotRecommendationResponse) {
|
|
1138
|
+
UpdateBotRecommendationResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }))); };
|
|
1139
|
+
})(UpdateBotRecommendationResponse || (UpdateBotRecommendationResponse = {}));
|
|
1001
1140
|
export var UpdateExportRequest;
|
|
1002
1141
|
(function (UpdateExportRequest) {
|
|
1003
1142
|
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";
|