@aws-sdk/client-lex-models-v2 3.41.0 → 3.45.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 +1 -0
- package/dist-cjs/models/models_0.js +231 -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 +1531 -186
- 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 +158 -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 +1543 -135
- package/dist-types/LexModelsV2.d.ts +56 -6
- package/dist-types/LexModelsV2Client.d.ts +8 -2
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +3 -3
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +39 -0
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +36 -0
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +1 -1
- 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/UpdateExportCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +1117 -91
- 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 +480 -2
- 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 +5 -5
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
3
|
+
exports.BotVersionSortBy = exports.BotVersionSortAttribute = exports.BotVersionLocaleDetails = exports.BotSummary = exports.BotStatus = exports.BotSortBy = exports.BotSortAttribute = exports.BotRecommendationSummary = exports.BotRecommendationStatus = exports.BotRecommendationResults = exports.BotRecommendationResultStatistics = exports.SlotTypeStatistics = exports.IntentStatistics = exports.BotLocaleSummary = exports.BotLocaleStatus = exports.BotLocaleSortBy = exports.BotLocaleSortAttribute = exports.BotLocaleImportSpecification = exports.VoiceSettings = exports.VoiceEngine = exports.BotLocaleHistoryEvent = exports.BotLocaleFilter = exports.BotLocaleFilterOperator = exports.BotLocaleFilterName = exports.BotLocaleExportSpecification = exports.BotImportSpecification = exports.DataPrivacy = exports.BotFilter = exports.BotFilterOperator = exports.BotFilterName = exports.BotExportSpecification = exports.BotAliasSummary = exports.BotAliasStatus = exports.BotAliasLocaleSettings = exports.CodeHookSpecification = exports.LambdaCodeHook = exports.BotAliasHistoryEvent = exports.AudioLogSetting = exports.AudioLogDestination = exports.S3BucketLogDestination = exports.AssociatedTranscriptFilter = exports.AssociatedTranscriptFilterName = exports.AssociatedTranscript = exports.AggregatedUtterancesSummary = exports.AggregatedUtterancesSortBy = exports.SortOrder = exports.AggregatedUtterancesSortAttribute = exports.AggregatedUtterancesFilter = exports.AggregatedUtterancesFilterOperator = exports.AggregatedUtterancesFilterName = void 0;
|
|
4
|
+
exports.IntentClosingSetting = exports.InputContext = exports.FulfillmentCodeHookSettings = exports.PostFulfillmentStatusSpecification = exports.ResponseSpecification = exports.FulfillmentUpdatesSpecification = exports.FulfillmentUpdateResponseSpecification = exports.FulfillmentStartResponseSpecification = exports.MessageGroup = exports.Message = exports.SSMLMessage = exports.PlainTextMessage = exports.ImageResponseCard = exports.CustomPayload = exports.DialogCodeHookSettings = exports.ResourceNotFoundException = exports.CreateExportResponse = exports.ExportStatus = exports.CreateExportRequest = exports.ExportResourceSpecification = exports.ImportExportFileFormat = exports.CreateBotVersionResponse = exports.CreateBotVersionRequest = exports.CreateBotLocaleResponse = exports.CreateBotLocaleRequest = exports.CreateBotAliasResponse = exports.CreateBotAliasRequest = exports.SentimentAnalysisSettings = exports.CreateBotResponse = exports.CreateBotRequest = exports.ConversationLogSettings = exports.TextLogSetting = exports.TextLogDestination = exports.CloudWatchLogGroupLogDestination = exports.Button = exports.BuiltInSlotTypeSummary = exports.BuiltInSlotTypeSortBy = exports.BuiltInSlotTypeSortAttribute = exports.BuiltInIntentSummary = exports.BuiltInIntentSortBy = exports.BuiltInIntentSortAttribute = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.PreconditionFailedException = exports.InternalServerException = exports.ConflictException = exports.BuildBotLocaleResponse = exports.BuildBotLocaleRequest = exports.BotVersionSummary = void 0;
|
|
5
|
+
exports.DeleteImportResponse = exports.ImportStatus = exports.DeleteImportRequest = exports.DeleteExportResponse = exports.DeleteExportRequest = exports.DeleteBotVersionResponse = exports.DeleteBotVersionRequest = exports.DeleteBotLocaleResponse = exports.DeleteBotLocaleRequest = exports.DeleteBotAliasResponse = exports.DeleteBotAliasRequest = exports.DeleteBotResponse = exports.DeleteBotRequest = exports.DateRangeFilter = exports.CreateUploadUrlResponse = exports.CreateUploadUrlRequest = exports.CreateSlotTypeResponse = exports.CreateSlotTypeRequest = exports.SlotValueSelectionSetting = exports.SlotValueResolutionStrategy = exports.SlotValueRegexFilter = exports.SlotTypeValue = exports.SampleValue = exports.ExternalSourceSetting = exports.GrammarSlotTypeSetting = exports.GrammarSlotTypeSource = exports.CreateSlotResponse = exports.CreateSlotRequest = exports.SlotValueElicitationSetting = exports.WaitAndContinueSpecification = exports.StillWaitingResponseSpecification = exports.SlotConstraint = exports.SlotDefaultValueSpecification = exports.SlotDefaultValue = exports.ObfuscationSetting = exports.ObfuscationSettingType = exports.MultipleValuesSetting = exports.CreateResourcePolicyStatementResponse = exports.CreateResourcePolicyStatementRequest = exports.Principal = exports.Effect = exports.CreateResourcePolicyResponse = exports.CreateResourcePolicyRequest = exports.CreateIntentResponse = exports.CreateIntentRequest = exports.SampleUtterance = exports.OutputContext = exports.KendraConfiguration = exports.IntentConfirmationSetting = exports.PromptSpecification = void 0;
|
|
6
|
+
exports.ImportFilter = exports.ImportFilterOperator = exports.ImportFilterName = exports.ExportSummary = exports.ExportSortBy = exports.ExportSortAttribute = exports.ExportFilter = exports.ExportFilterOperator = exports.ExportFilterName = exports.DescribeSlotTypeResponse = exports.DescribeSlotTypeRequest = exports.DescribeSlotResponse = exports.DescribeSlotRequest = exports.DescribeResourcePolicyResponse = exports.DescribeResourcePolicyRequest = exports.DescribeIntentResponse = exports.SlotPriority = exports.DescribeIntentRequest = exports.DescribeImportResponse = exports.ImportResourceSpecification = exports.MergeStrategy = exports.DescribeImportRequest = exports.DescribeExportResponse = exports.DescribeExportRequest = exports.DescribeBotVersionResponse = exports.DescribeBotVersionRequest = exports.DescribeBotRecommendationResponse = exports.TranscriptSourceSetting = exports.S3BucketTranscriptSource = exports.TranscriptFormat = exports.TranscriptFilter = exports.LexTranscriptFilter = exports.PathFormat = exports.EncryptionSetting = exports.DescribeBotRecommendationRequest = exports.DescribeBotLocaleResponse = exports.DescribeBotLocaleRequest = exports.DescribeBotAliasResponse = exports.DescribeBotAliasRequest = exports.DescribeBotResponse = exports.DescribeBotRequest = exports.DeleteUtterancesResponse = exports.DeleteUtterancesRequest = exports.DeleteSlotTypeRequest = exports.DeleteSlotRequest = exports.DeleteResourcePolicyStatementResponse = exports.DeleteResourcePolicyStatementRequest = exports.DeleteResourcePolicyResponse = exports.DeleteResourcePolicyRequest = exports.DeleteIntentRequest = void 0;
|
|
7
|
+
exports.SlotTypeSortBy = exports.SlotTypeSortAttribute = exports.SlotTypeFilter = exports.SlotTypeFilterOperator = exports.SlotTypeFilterName = exports.ListSlotsResponse = exports.SlotSummary = exports.ListSlotsRequest = exports.SlotSortBy = exports.SlotSortAttribute = exports.SlotFilter = exports.SlotFilterOperator = exports.SlotFilterName = exports.ListRecommendedIntentsResponse = exports.RecommendedIntentSummary = exports.ListRecommendedIntentsRequest = exports.ListIntentsResponse = exports.ListIntentsRequest = exports.ListImportsResponse = exports.ListImportsRequest = exports.ListExportsResponse = exports.ListExportsRequest = exports.ListBuiltInSlotTypesResponse = exports.ListBuiltInSlotTypesRequest = exports.ListBuiltInIntentsResponse = exports.ListBuiltInIntentsRequest = exports.ListBotVersionsResponse = exports.ListBotVersionsRequest = exports.ListBotsResponse = exports.ListBotsRequest = exports.ListBotRecommendationsResponse = exports.ListBotRecommendationsRequest = exports.ListBotLocalesResponse = exports.ListBotLocalesRequest = exports.ListBotAliasesResponse = exports.ListBotAliasesRequest = exports.ListAggregatedUtterancesResponse = exports.ListAggregatedUtterancesRequest = exports.UtteranceAggregationDuration = exports.RelativeAggregationDuration = exports.TimeDimension = exports.IntentSummary = exports.IntentSortBy = exports.IntentSortAttribute = exports.IntentFilter = exports.IntentFilterOperator = exports.IntentFilterName = exports.ImportSummary = exports.ImportSortBy = exports.ImportSortAttribute = void 0;
|
|
8
|
+
exports.UpdateSlotTypeResponse = exports.UpdateSlotTypeRequest = exports.UpdateSlotResponse = exports.UpdateSlotRequest = exports.UpdateResourcePolicyResponse = exports.UpdateResourcePolicyRequest = exports.UpdateIntentResponse = exports.UpdateIntentRequest = exports.UpdateExportResponse = exports.UpdateExportRequest = exports.UpdateBotRecommendationResponse = exports.UpdateBotRecommendationRequest = exports.UpdateBotLocaleResponse = exports.UpdateBotLocaleRequest = exports.UpdateBotAliasResponse = exports.UpdateBotAliasRequest = exports.UpdateBotResponse = exports.UpdateBotRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartImportResponse = exports.StartImportRequest = exports.StartBotRecommendationResponse = exports.StartBotRecommendationRequest = exports.SearchAssociatedTranscriptsResponse = exports.SearchAssociatedTranscriptsRequest = exports.SearchOrder = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSlotTypesResponse = exports.SlotTypeSummary = exports.SlotTypeCategory = exports.ListSlotTypesRequest = void 0;
|
|
8
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
10
|
var AggregatedUtterancesFilterName;
|
|
10
11
|
(function (AggregatedUtterancesFilterName) {
|
|
@@ -43,6 +44,23 @@ var AggregatedUtterancesSummary;
|
|
|
43
44
|
...obj,
|
|
44
45
|
});
|
|
45
46
|
})(AggregatedUtterancesSummary = exports.AggregatedUtterancesSummary || (exports.AggregatedUtterancesSummary = {}));
|
|
47
|
+
var AssociatedTranscript;
|
|
48
|
+
(function (AssociatedTranscript) {
|
|
49
|
+
AssociatedTranscript.filterSensitiveLog = (obj) => ({
|
|
50
|
+
...obj,
|
|
51
|
+
});
|
|
52
|
+
})(AssociatedTranscript = exports.AssociatedTranscript || (exports.AssociatedTranscript = {}));
|
|
53
|
+
var AssociatedTranscriptFilterName;
|
|
54
|
+
(function (AssociatedTranscriptFilterName) {
|
|
55
|
+
AssociatedTranscriptFilterName["IntentId"] = "IntentId";
|
|
56
|
+
AssociatedTranscriptFilterName["SlotTypeId"] = "SlotTypeId";
|
|
57
|
+
})(AssociatedTranscriptFilterName = exports.AssociatedTranscriptFilterName || (exports.AssociatedTranscriptFilterName = {}));
|
|
58
|
+
var AssociatedTranscriptFilter;
|
|
59
|
+
(function (AssociatedTranscriptFilter) {
|
|
60
|
+
AssociatedTranscriptFilter.filterSensitiveLog = (obj) => ({
|
|
61
|
+
...obj,
|
|
62
|
+
});
|
|
63
|
+
})(AssociatedTranscriptFilter = exports.AssociatedTranscriptFilter || (exports.AssociatedTranscriptFilter = {}));
|
|
46
64
|
var S3BucketLogDestination;
|
|
47
65
|
(function (S3BucketLogDestination) {
|
|
48
66
|
S3BucketLogDestination.filterSensitiveLog = (obj) => ({
|
|
@@ -158,6 +176,11 @@ var BotLocaleHistoryEvent;
|
|
|
158
176
|
...obj,
|
|
159
177
|
});
|
|
160
178
|
})(BotLocaleHistoryEvent = exports.BotLocaleHistoryEvent || (exports.BotLocaleHistoryEvent = {}));
|
|
179
|
+
var VoiceEngine;
|
|
180
|
+
(function (VoiceEngine) {
|
|
181
|
+
VoiceEngine["Neural"] = "neural";
|
|
182
|
+
VoiceEngine["Standard"] = "standard";
|
|
183
|
+
})(VoiceEngine = exports.VoiceEngine || (exports.VoiceEngine = {}));
|
|
161
184
|
var VoiceSettings;
|
|
162
185
|
(function (VoiceSettings) {
|
|
163
186
|
VoiceSettings.filterSensitiveLog = (obj) => ({
|
|
@@ -189,6 +212,7 @@ var BotLocaleStatus;
|
|
|
189
212
|
BotLocaleStatus["Failed"] = "Failed";
|
|
190
213
|
BotLocaleStatus["Importing"] = "Importing";
|
|
191
214
|
BotLocaleStatus["NotBuilt"] = "NotBuilt";
|
|
215
|
+
BotLocaleStatus["Processing"] = "Processing";
|
|
192
216
|
BotLocaleStatus["ReadyExpressTesting"] = "ReadyExpressTesting";
|
|
193
217
|
})(BotLocaleStatus = exports.BotLocaleStatus || (exports.BotLocaleStatus = {}));
|
|
194
218
|
var BotLocaleSummary;
|
|
@@ -197,6 +221,46 @@ var BotLocaleSummary;
|
|
|
197
221
|
...obj,
|
|
198
222
|
});
|
|
199
223
|
})(BotLocaleSummary = exports.BotLocaleSummary || (exports.BotLocaleSummary = {}));
|
|
224
|
+
var IntentStatistics;
|
|
225
|
+
(function (IntentStatistics) {
|
|
226
|
+
IntentStatistics.filterSensitiveLog = (obj) => ({
|
|
227
|
+
...obj,
|
|
228
|
+
});
|
|
229
|
+
})(IntentStatistics = exports.IntentStatistics || (exports.IntentStatistics = {}));
|
|
230
|
+
var SlotTypeStatistics;
|
|
231
|
+
(function (SlotTypeStatistics) {
|
|
232
|
+
SlotTypeStatistics.filterSensitiveLog = (obj) => ({
|
|
233
|
+
...obj,
|
|
234
|
+
});
|
|
235
|
+
})(SlotTypeStatistics = exports.SlotTypeStatistics || (exports.SlotTypeStatistics = {}));
|
|
236
|
+
var BotRecommendationResultStatistics;
|
|
237
|
+
(function (BotRecommendationResultStatistics) {
|
|
238
|
+
BotRecommendationResultStatistics.filterSensitiveLog = (obj) => ({
|
|
239
|
+
...obj,
|
|
240
|
+
});
|
|
241
|
+
})(BotRecommendationResultStatistics = exports.BotRecommendationResultStatistics || (exports.BotRecommendationResultStatistics = {}));
|
|
242
|
+
var BotRecommendationResults;
|
|
243
|
+
(function (BotRecommendationResults) {
|
|
244
|
+
BotRecommendationResults.filterSensitiveLog = (obj) => ({
|
|
245
|
+
...obj,
|
|
246
|
+
});
|
|
247
|
+
})(BotRecommendationResults = exports.BotRecommendationResults || (exports.BotRecommendationResults = {}));
|
|
248
|
+
var BotRecommendationStatus;
|
|
249
|
+
(function (BotRecommendationStatus) {
|
|
250
|
+
BotRecommendationStatus["Available"] = "Available";
|
|
251
|
+
BotRecommendationStatus["Deleted"] = "Deleted";
|
|
252
|
+
BotRecommendationStatus["Deleting"] = "Deleting";
|
|
253
|
+
BotRecommendationStatus["Downloading"] = "Downloading";
|
|
254
|
+
BotRecommendationStatus["Failed"] = "Failed";
|
|
255
|
+
BotRecommendationStatus["Processing"] = "Processing";
|
|
256
|
+
BotRecommendationStatus["Updating"] = "Updating";
|
|
257
|
+
})(BotRecommendationStatus = exports.BotRecommendationStatus || (exports.BotRecommendationStatus = {}));
|
|
258
|
+
var BotRecommendationSummary;
|
|
259
|
+
(function (BotRecommendationSummary) {
|
|
260
|
+
BotRecommendationSummary.filterSensitiveLog = (obj) => ({
|
|
261
|
+
...obj,
|
|
262
|
+
});
|
|
263
|
+
})(BotRecommendationSummary = exports.BotRecommendationSummary || (exports.BotRecommendationSummary = {}));
|
|
200
264
|
var BotSortAttribute;
|
|
201
265
|
(function (BotSortAttribute) {
|
|
202
266
|
BotSortAttribute["BotName"] = "BotName";
|
|
@@ -676,6 +740,24 @@ var CreateSlotResponse;
|
|
|
676
740
|
...obj,
|
|
677
741
|
});
|
|
678
742
|
})(CreateSlotResponse = exports.CreateSlotResponse || (exports.CreateSlotResponse = {}));
|
|
743
|
+
var GrammarSlotTypeSource;
|
|
744
|
+
(function (GrammarSlotTypeSource) {
|
|
745
|
+
GrammarSlotTypeSource.filterSensitiveLog = (obj) => ({
|
|
746
|
+
...obj,
|
|
747
|
+
});
|
|
748
|
+
})(GrammarSlotTypeSource = exports.GrammarSlotTypeSource || (exports.GrammarSlotTypeSource = {}));
|
|
749
|
+
var GrammarSlotTypeSetting;
|
|
750
|
+
(function (GrammarSlotTypeSetting) {
|
|
751
|
+
GrammarSlotTypeSetting.filterSensitiveLog = (obj) => ({
|
|
752
|
+
...obj,
|
|
753
|
+
});
|
|
754
|
+
})(GrammarSlotTypeSetting = exports.GrammarSlotTypeSetting || (exports.GrammarSlotTypeSetting = {}));
|
|
755
|
+
var ExternalSourceSetting;
|
|
756
|
+
(function (ExternalSourceSetting) {
|
|
757
|
+
ExternalSourceSetting.filterSensitiveLog = (obj) => ({
|
|
758
|
+
...obj,
|
|
759
|
+
});
|
|
760
|
+
})(ExternalSourceSetting = exports.ExternalSourceSetting || (exports.ExternalSourceSetting = {}));
|
|
679
761
|
var SampleValue;
|
|
680
762
|
(function (SampleValue) {
|
|
681
763
|
SampleValue.filterSensitiveLog = (obj) => ({
|
|
@@ -729,6 +811,12 @@ var CreateUploadUrlResponse;
|
|
|
729
811
|
...obj,
|
|
730
812
|
});
|
|
731
813
|
})(CreateUploadUrlResponse = exports.CreateUploadUrlResponse || (exports.CreateUploadUrlResponse = {}));
|
|
814
|
+
var DateRangeFilter;
|
|
815
|
+
(function (DateRangeFilter) {
|
|
816
|
+
DateRangeFilter.filterSensitiveLog = (obj) => ({
|
|
817
|
+
...obj,
|
|
818
|
+
});
|
|
819
|
+
})(DateRangeFilter = exports.DateRangeFilter || (exports.DateRangeFilter = {}));
|
|
732
820
|
var DeleteBotRequest;
|
|
733
821
|
(function (DeleteBotRequest) {
|
|
734
822
|
DeleteBotRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -898,6 +986,61 @@ var DescribeBotLocaleResponse;
|
|
|
898
986
|
...obj,
|
|
899
987
|
});
|
|
900
988
|
})(DescribeBotLocaleResponse = exports.DescribeBotLocaleResponse || (exports.DescribeBotLocaleResponse = {}));
|
|
989
|
+
var DescribeBotRecommendationRequest;
|
|
990
|
+
(function (DescribeBotRecommendationRequest) {
|
|
991
|
+
DescribeBotRecommendationRequest.filterSensitiveLog = (obj) => ({
|
|
992
|
+
...obj,
|
|
993
|
+
});
|
|
994
|
+
})(DescribeBotRecommendationRequest = exports.DescribeBotRecommendationRequest || (exports.DescribeBotRecommendationRequest = {}));
|
|
995
|
+
var EncryptionSetting;
|
|
996
|
+
(function (EncryptionSetting) {
|
|
997
|
+
EncryptionSetting.filterSensitiveLog = (obj) => ({
|
|
998
|
+
...obj,
|
|
999
|
+
...(obj.botLocaleExportPassword && { botLocaleExportPassword: smithy_client_1.SENSITIVE_STRING }),
|
|
1000
|
+
...(obj.associatedTranscriptsPassword && { associatedTranscriptsPassword: smithy_client_1.SENSITIVE_STRING }),
|
|
1001
|
+
});
|
|
1002
|
+
})(EncryptionSetting = exports.EncryptionSetting || (exports.EncryptionSetting = {}));
|
|
1003
|
+
var PathFormat;
|
|
1004
|
+
(function (PathFormat) {
|
|
1005
|
+
PathFormat.filterSensitiveLog = (obj) => ({
|
|
1006
|
+
...obj,
|
|
1007
|
+
});
|
|
1008
|
+
})(PathFormat = exports.PathFormat || (exports.PathFormat = {}));
|
|
1009
|
+
var LexTranscriptFilter;
|
|
1010
|
+
(function (LexTranscriptFilter) {
|
|
1011
|
+
LexTranscriptFilter.filterSensitiveLog = (obj) => ({
|
|
1012
|
+
...obj,
|
|
1013
|
+
});
|
|
1014
|
+
})(LexTranscriptFilter = exports.LexTranscriptFilter || (exports.LexTranscriptFilter = {}));
|
|
1015
|
+
var TranscriptFilter;
|
|
1016
|
+
(function (TranscriptFilter) {
|
|
1017
|
+
TranscriptFilter.filterSensitiveLog = (obj) => ({
|
|
1018
|
+
...obj,
|
|
1019
|
+
});
|
|
1020
|
+
})(TranscriptFilter = exports.TranscriptFilter || (exports.TranscriptFilter = {}));
|
|
1021
|
+
var TranscriptFormat;
|
|
1022
|
+
(function (TranscriptFormat) {
|
|
1023
|
+
TranscriptFormat["Lex"] = "Lex";
|
|
1024
|
+
})(TranscriptFormat = exports.TranscriptFormat || (exports.TranscriptFormat = {}));
|
|
1025
|
+
var S3BucketTranscriptSource;
|
|
1026
|
+
(function (S3BucketTranscriptSource) {
|
|
1027
|
+
S3BucketTranscriptSource.filterSensitiveLog = (obj) => ({
|
|
1028
|
+
...obj,
|
|
1029
|
+
});
|
|
1030
|
+
})(S3BucketTranscriptSource = exports.S3BucketTranscriptSource || (exports.S3BucketTranscriptSource = {}));
|
|
1031
|
+
var TranscriptSourceSetting;
|
|
1032
|
+
(function (TranscriptSourceSetting) {
|
|
1033
|
+
TranscriptSourceSetting.filterSensitiveLog = (obj) => ({
|
|
1034
|
+
...obj,
|
|
1035
|
+
});
|
|
1036
|
+
})(TranscriptSourceSetting = exports.TranscriptSourceSetting || (exports.TranscriptSourceSetting = {}));
|
|
1037
|
+
var DescribeBotRecommendationResponse;
|
|
1038
|
+
(function (DescribeBotRecommendationResponse) {
|
|
1039
|
+
DescribeBotRecommendationResponse.filterSensitiveLog = (obj) => ({
|
|
1040
|
+
...obj,
|
|
1041
|
+
...(obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }),
|
|
1042
|
+
});
|
|
1043
|
+
})(DescribeBotRecommendationResponse = exports.DescribeBotRecommendationResponse || (exports.DescribeBotRecommendationResponse = {}));
|
|
901
1044
|
var DescribeBotVersionRequest;
|
|
902
1045
|
(function (DescribeBotVersionRequest) {
|
|
903
1046
|
DescribeBotVersionRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -930,6 +1073,7 @@ var DescribeImportRequest;
|
|
|
930
1073
|
})(DescribeImportRequest = exports.DescribeImportRequest || (exports.DescribeImportRequest = {}));
|
|
931
1074
|
var MergeStrategy;
|
|
932
1075
|
(function (MergeStrategy) {
|
|
1076
|
+
MergeStrategy["Append"] = "Append";
|
|
933
1077
|
MergeStrategy["FailOnConflict"] = "FailOnConflict";
|
|
934
1078
|
MergeStrategy["Overwrite"] = "Overwrite";
|
|
935
1079
|
})(MergeStrategy = exports.MergeStrategy || (exports.MergeStrategy = {}));
|
|
@@ -1147,6 +1291,18 @@ var ListBotLocalesResponse;
|
|
|
1147
1291
|
...obj,
|
|
1148
1292
|
});
|
|
1149
1293
|
})(ListBotLocalesResponse = exports.ListBotLocalesResponse || (exports.ListBotLocalesResponse = {}));
|
|
1294
|
+
var ListBotRecommendationsRequest;
|
|
1295
|
+
(function (ListBotRecommendationsRequest) {
|
|
1296
|
+
ListBotRecommendationsRequest.filterSensitiveLog = (obj) => ({
|
|
1297
|
+
...obj,
|
|
1298
|
+
});
|
|
1299
|
+
})(ListBotRecommendationsRequest = exports.ListBotRecommendationsRequest || (exports.ListBotRecommendationsRequest = {}));
|
|
1300
|
+
var ListBotRecommendationsResponse;
|
|
1301
|
+
(function (ListBotRecommendationsResponse) {
|
|
1302
|
+
ListBotRecommendationsResponse.filterSensitiveLog = (obj) => ({
|
|
1303
|
+
...obj,
|
|
1304
|
+
});
|
|
1305
|
+
})(ListBotRecommendationsResponse = exports.ListBotRecommendationsResponse || (exports.ListBotRecommendationsResponse = {}));
|
|
1150
1306
|
var ListBotsRequest;
|
|
1151
1307
|
(function (ListBotsRequest) {
|
|
1152
1308
|
ListBotsRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1231,6 +1387,24 @@ var ListIntentsResponse;
|
|
|
1231
1387
|
...obj,
|
|
1232
1388
|
});
|
|
1233
1389
|
})(ListIntentsResponse = exports.ListIntentsResponse || (exports.ListIntentsResponse = {}));
|
|
1390
|
+
var ListRecommendedIntentsRequest;
|
|
1391
|
+
(function (ListRecommendedIntentsRequest) {
|
|
1392
|
+
ListRecommendedIntentsRequest.filterSensitiveLog = (obj) => ({
|
|
1393
|
+
...obj,
|
|
1394
|
+
});
|
|
1395
|
+
})(ListRecommendedIntentsRequest = exports.ListRecommendedIntentsRequest || (exports.ListRecommendedIntentsRequest = {}));
|
|
1396
|
+
var RecommendedIntentSummary;
|
|
1397
|
+
(function (RecommendedIntentSummary) {
|
|
1398
|
+
RecommendedIntentSummary.filterSensitiveLog = (obj) => ({
|
|
1399
|
+
...obj,
|
|
1400
|
+
});
|
|
1401
|
+
})(RecommendedIntentSummary = exports.RecommendedIntentSummary || (exports.RecommendedIntentSummary = {}));
|
|
1402
|
+
var ListRecommendedIntentsResponse;
|
|
1403
|
+
(function (ListRecommendedIntentsResponse) {
|
|
1404
|
+
ListRecommendedIntentsResponse.filterSensitiveLog = (obj) => ({
|
|
1405
|
+
...obj,
|
|
1406
|
+
});
|
|
1407
|
+
})(ListRecommendedIntentsResponse = exports.ListRecommendedIntentsResponse || (exports.ListRecommendedIntentsResponse = {}));
|
|
1234
1408
|
var SlotFilterName;
|
|
1235
1409
|
(function (SlotFilterName) {
|
|
1236
1410
|
SlotFilterName["SlotName"] = "SlotName";
|
|
@@ -1277,6 +1451,7 @@ var ListSlotsResponse;
|
|
|
1277
1451
|
})(ListSlotsResponse = exports.ListSlotsResponse || (exports.ListSlotsResponse = {}));
|
|
1278
1452
|
var SlotTypeFilterName;
|
|
1279
1453
|
(function (SlotTypeFilterName) {
|
|
1454
|
+
SlotTypeFilterName["ExternalSourceType"] = "ExternalSourceType";
|
|
1280
1455
|
SlotTypeFilterName["SlotTypeName"] = "SlotTypeName";
|
|
1281
1456
|
})(SlotTypeFilterName = exports.SlotTypeFilterName || (exports.SlotTypeFilterName = {}));
|
|
1282
1457
|
var SlotTypeFilterOperator;
|
|
@@ -1307,6 +1482,12 @@ var ListSlotTypesRequest;
|
|
|
1307
1482
|
...obj,
|
|
1308
1483
|
});
|
|
1309
1484
|
})(ListSlotTypesRequest = exports.ListSlotTypesRequest || (exports.ListSlotTypesRequest = {}));
|
|
1485
|
+
var SlotTypeCategory;
|
|
1486
|
+
(function (SlotTypeCategory) {
|
|
1487
|
+
SlotTypeCategory["Custom"] = "Custom";
|
|
1488
|
+
SlotTypeCategory["Extended"] = "Extended";
|
|
1489
|
+
SlotTypeCategory["ExternalGrammar"] = "ExternalGrammar";
|
|
1490
|
+
})(SlotTypeCategory = exports.SlotTypeCategory || (exports.SlotTypeCategory = {}));
|
|
1310
1491
|
var SlotTypeSummary;
|
|
1311
1492
|
(function (SlotTypeSummary) {
|
|
1312
1493
|
SlotTypeSummary.filterSensitiveLog = (obj) => ({
|
|
@@ -1331,6 +1512,37 @@ var ListTagsForResourceResponse;
|
|
|
1331
1512
|
...obj,
|
|
1332
1513
|
});
|
|
1333
1514
|
})(ListTagsForResourceResponse = exports.ListTagsForResourceResponse || (exports.ListTagsForResourceResponse = {}));
|
|
1515
|
+
var SearchOrder;
|
|
1516
|
+
(function (SearchOrder) {
|
|
1517
|
+
SearchOrder["Ascending"] = "Ascending";
|
|
1518
|
+
SearchOrder["Descending"] = "Descending";
|
|
1519
|
+
})(SearchOrder = exports.SearchOrder || (exports.SearchOrder = {}));
|
|
1520
|
+
var SearchAssociatedTranscriptsRequest;
|
|
1521
|
+
(function (SearchAssociatedTranscriptsRequest) {
|
|
1522
|
+
SearchAssociatedTranscriptsRequest.filterSensitiveLog = (obj) => ({
|
|
1523
|
+
...obj,
|
|
1524
|
+
});
|
|
1525
|
+
})(SearchAssociatedTranscriptsRequest = exports.SearchAssociatedTranscriptsRequest || (exports.SearchAssociatedTranscriptsRequest = {}));
|
|
1526
|
+
var SearchAssociatedTranscriptsResponse;
|
|
1527
|
+
(function (SearchAssociatedTranscriptsResponse) {
|
|
1528
|
+
SearchAssociatedTranscriptsResponse.filterSensitiveLog = (obj) => ({
|
|
1529
|
+
...obj,
|
|
1530
|
+
});
|
|
1531
|
+
})(SearchAssociatedTranscriptsResponse = exports.SearchAssociatedTranscriptsResponse || (exports.SearchAssociatedTranscriptsResponse = {}));
|
|
1532
|
+
var StartBotRecommendationRequest;
|
|
1533
|
+
(function (StartBotRecommendationRequest) {
|
|
1534
|
+
StartBotRecommendationRequest.filterSensitiveLog = (obj) => ({
|
|
1535
|
+
...obj,
|
|
1536
|
+
...(obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }),
|
|
1537
|
+
});
|
|
1538
|
+
})(StartBotRecommendationRequest = exports.StartBotRecommendationRequest || (exports.StartBotRecommendationRequest = {}));
|
|
1539
|
+
var StartBotRecommendationResponse;
|
|
1540
|
+
(function (StartBotRecommendationResponse) {
|
|
1541
|
+
StartBotRecommendationResponse.filterSensitiveLog = (obj) => ({
|
|
1542
|
+
...obj,
|
|
1543
|
+
...(obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }),
|
|
1544
|
+
});
|
|
1545
|
+
})(StartBotRecommendationResponse = exports.StartBotRecommendationResponse || (exports.StartBotRecommendationResponse = {}));
|
|
1334
1546
|
var StartImportRequest;
|
|
1335
1547
|
(function (StartImportRequest) {
|
|
1336
1548
|
StartImportRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1404,6 +1616,20 @@ var UpdateBotLocaleResponse;
|
|
|
1404
1616
|
...obj,
|
|
1405
1617
|
});
|
|
1406
1618
|
})(UpdateBotLocaleResponse = exports.UpdateBotLocaleResponse || (exports.UpdateBotLocaleResponse = {}));
|
|
1619
|
+
var UpdateBotRecommendationRequest;
|
|
1620
|
+
(function (UpdateBotRecommendationRequest) {
|
|
1621
|
+
UpdateBotRecommendationRequest.filterSensitiveLog = (obj) => ({
|
|
1622
|
+
...obj,
|
|
1623
|
+
...(obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }),
|
|
1624
|
+
});
|
|
1625
|
+
})(UpdateBotRecommendationRequest = exports.UpdateBotRecommendationRequest || (exports.UpdateBotRecommendationRequest = {}));
|
|
1626
|
+
var UpdateBotRecommendationResponse;
|
|
1627
|
+
(function (UpdateBotRecommendationResponse) {
|
|
1628
|
+
UpdateBotRecommendationResponse.filterSensitiveLog = (obj) => ({
|
|
1629
|
+
...obj,
|
|
1630
|
+
...(obj.encryptionSetting && { encryptionSetting: EncryptionSetting.filterSensitiveLog(obj.encryptionSetting) }),
|
|
1631
|
+
});
|
|
1632
|
+
})(UpdateBotRecommendationResponse = exports.UpdateBotRecommendationResponse || (exports.UpdateBotRecommendationResponse = {}));
|
|
1407
1633
|
var UpdateExportRequest;
|
|
1408
1634
|
(function (UpdateExportRequest) {
|
|
1409
1635
|
UpdateExportRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListBotRecommendations = void 0;
|
|
4
|
+
const ListBotRecommendationsCommand_1 = require("../commands/ListBotRecommendationsCommand");
|
|
5
|
+
const LexModelsV2_1 = require("../LexModelsV2");
|
|
6
|
+
const LexModelsV2Client_1 = require("../LexModelsV2Client");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListBotRecommendationsCommand_1.ListBotRecommendationsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listBotRecommendations(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListBotRecommendations(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof LexModelsV2_1.LexModelsV2) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof LexModelsV2Client_1.LexModelsV2Client) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListBotRecommendations = paginateListBotRecommendations;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListRecommendedIntents = void 0;
|
|
4
|
+
const ListRecommendedIntentsCommand_1 = require("../commands/ListRecommendedIntentsCommand");
|
|
5
|
+
const LexModelsV2_1 = require("../LexModelsV2");
|
|
6
|
+
const LexModelsV2Client_1 = require("../LexModelsV2Client");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListRecommendedIntentsCommand_1.ListRecommendedIntentsCommand(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listRecommendedIntents(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListRecommendedIntents(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.nextToken = token;
|
|
19
|
+
input["maxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof LexModelsV2_1.LexModelsV2) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof LexModelsV2Client_1.LexModelsV2Client) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected LexModelsV2 | LexModelsV2Client");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.nextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListRecommendedIntents = paginateListRecommendedIntents;
|
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./ListAggregatedUtterancesPaginator"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./ListBotAliasesPaginator"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ListBotLocalesPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListBotRecommendationsPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ListBotVersionsPaginator"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ListBotsPaginator"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ListBuiltInIntentsPaginator"), exports);
|
|
@@ -12,5 +13,6 @@ tslib_1.__exportStar(require("./ListBuiltInSlotTypesPaginator"), exports);
|
|
|
12
13
|
tslib_1.__exportStar(require("./ListExportsPaginator"), exports);
|
|
13
14
|
tslib_1.__exportStar(require("./ListImportsPaginator"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./ListIntentsPaginator"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./ListRecommendedIntentsPaginator"), exports);
|
|
15
17
|
tslib_1.__exportStar(require("./ListSlotTypesPaginator"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./ListSlotsPaginator"), exports);
|