@aws-sdk/client-lex-models-v2 3.47.1 → 3.50.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 +35 -0
- package/dist-cjs/LexModelsV2.js +30 -0
- package/dist-cjs/commands/DeleteCustomVocabularyCommand.js +36 -0
- package/dist-cjs/commands/DescribeCustomVocabularyMetadataCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +67 -6
- package/dist-cjs/protocols/Aws_restJson1.js +368 -3
- package/dist-es/LexModelsV2.js +30 -0
- package/dist-es/commands/DeleteCustomVocabularyCommand.js +39 -0
- package/dist-es/commands/DescribeCustomVocabularyMetadataCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +47 -0
- package/dist-es/protocols/Aws_restJson1.js +395 -7
- package/dist-types/LexModelsV2.d.ts +21 -6
- package/dist-types/LexModelsV2Client.d.ts +4 -2
- package/dist-types/commands/DeleteCustomVocabularyCommand.d.ts +36 -0
- package/dist-types/commands/DescribeCustomVocabularyMetadataCommand.d.ts +35 -0
- package/dist-types/commands/ListExportsCommand.d.ts +2 -2
- package/dist-types/commands/ListImportsCommand.d.ts +2 -2
- package/dist-types/commands/StartImportCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +264 -24
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +40 -34
- package/dist-types/ts3.4/LexModelsV2.d.ts +0 -325
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +0 -137
- package/dist-types/ts3.4/commands/BuildBotLocaleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateBotAliasCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateBotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateBotLocaleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateBotVersionCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateExportCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateIntentCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateResourcePolicyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateResourcePolicyStatementCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateSlotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateSlotTypeCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/CreateUploadUrlCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteBotAliasCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteBotLocaleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteBotVersionCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteExportCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteImportCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteIntentCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteResourcePolicyStatementCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteSlotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DeleteUtterancesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeBotAliasCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeBotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeBotLocaleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeBotVersionCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeIntentCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeSlotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/DescribeSlotTypeCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListAggregatedUtterancesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListBotAliasesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListBotLocalesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListBotVersionsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListBuiltInIntentsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListBuiltInSlotTypesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListIntentsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListSlotTypesCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListSlotsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateBotAliasCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateBotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateBotLocaleCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateIntentCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateResourcePolicyCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateSlotCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/UpdateSlotTypeCommand.d.ts +0 -17
- package/dist-types/ts3.4/commands/index.d.ts +0 -64
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/index.d.ts +0 -6
- package/dist-types/ts3.4/models/index.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -3751
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +0 -6
- package/dist-types/ts3.4/pagination/ListAggregatedUtterancesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListBotAliasesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListBotLocalesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListBotRecommendationsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListBotVersionsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListBotsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListBuiltInIntentsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListBuiltInSlotTypesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListExportsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListImportsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListIntentsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListRecommendedIntentsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListSlotTypesPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/ListSlotsPaginator.d.ts +0 -4
- package/dist-types/ts3.4/pagination/index.d.ts +0 -15
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -194
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +0 -38
- package/dist-types/ts3.4/runtimeConfig.d.ts +0 -38
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +0 -37
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -11
- package/dist-types/ts3.4/waiters/index.d.ts +0 -8
- package/dist-types/ts3.4/waiters/waitForBotAliasAvailable.d.ts +0 -7
- package/dist-types/ts3.4/waiters/waitForBotAvailable.d.ts +0 -7
- package/dist-types/ts3.4/waiters/waitForBotExportCompleted.d.ts +0 -7
- package/dist-types/ts3.4/waiters/waitForBotImportCompleted.d.ts +0 -7
- package/dist-types/ts3.4/waiters/waitForBotLocaleBuilt.d.ts +0 -7
- package/dist-types/ts3.4/waiters/waitForBotLocaleCreated.d.ts +0 -7
- package/dist-types/ts3.4/waiters/waitForBotLocaleExpressTestingAvailable.d.ts +0 -7
- package/dist-types/ts3.4/waiters/waitForBotVersionAvailable.d.ts +0 -7
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { DescribeCustomVocabularyMetadataRequest, DescribeCustomVocabularyMetadataResponse } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1DescribeCustomVocabularyMetadataCommand, serializeAws_restJson1DescribeCustomVocabularyMetadataCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var DescribeCustomVocabularyMetadataCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeCustomVocabularyMetadataCommand, _super);
|
|
8
|
+
function DescribeCustomVocabularyMetadataCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
DescribeCustomVocabularyMetadataCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "LexModelsV2Client";
|
|
18
|
+
var commandName = "DescribeCustomVocabularyMetadataCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: DescribeCustomVocabularyMetadataRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: DescribeCustomVocabularyMetadataResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeCustomVocabularyMetadataCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1DescribeCustomVocabularyMetadataCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
DescribeCustomVocabularyMetadataCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1DescribeCustomVocabularyMetadataCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return DescribeCustomVocabularyMetadataCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeCustomVocabularyMetadataCommand };
|
|
@@ -14,6 +14,7 @@ export * from "./DeleteBotAliasCommand";
|
|
|
14
14
|
export * from "./DeleteBotCommand";
|
|
15
15
|
export * from "./DeleteBotLocaleCommand";
|
|
16
16
|
export * from "./DeleteBotVersionCommand";
|
|
17
|
+
export * from "./DeleteCustomVocabularyCommand";
|
|
17
18
|
export * from "./DeleteExportCommand";
|
|
18
19
|
export * from "./DeleteImportCommand";
|
|
19
20
|
export * from "./DeleteIntentCommand";
|
|
@@ -27,6 +28,7 @@ export * from "./DescribeBotCommand";
|
|
|
27
28
|
export * from "./DescribeBotLocaleCommand";
|
|
28
29
|
export * from "./DescribeBotRecommendationCommand";
|
|
29
30
|
export * from "./DescribeBotVersionCommand";
|
|
31
|
+
export * from "./DescribeCustomVocabularyMetadataCommand";
|
|
30
32
|
export * from "./DescribeExportCommand";
|
|
31
33
|
export * from "./DescribeImportCommand";
|
|
32
34
|
export * from "./DescribeIntentCommand";
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
2
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
3
|
+
export var AudioRecognitionStrategy;
|
|
4
|
+
(function (AudioRecognitionStrategy) {
|
|
5
|
+
AudioRecognitionStrategy["UseSlotValuesAsCustomVocabulary"] = "UseSlotValuesAsCustomVocabulary";
|
|
6
|
+
})(AudioRecognitionStrategy || (AudioRecognitionStrategy = {}));
|
|
7
|
+
export var AdvancedRecognitionSetting;
|
|
8
|
+
(function (AdvancedRecognitionSetting) {
|
|
9
|
+
AdvancedRecognitionSetting.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
10
|
+
})(AdvancedRecognitionSetting || (AdvancedRecognitionSetting = {}));
|
|
3
11
|
export var AggregatedUtterancesFilterName;
|
|
4
12
|
(function (AggregatedUtterancesFilterName) {
|
|
5
13
|
AggregatedUtterancesFilterName["Utterance"] = "Utterance";
|
|
@@ -325,7 +333,12 @@ export var CreateBotVersionResponse;
|
|
|
325
333
|
export var ImportExportFileFormat;
|
|
326
334
|
(function (ImportExportFileFormat) {
|
|
327
335
|
ImportExportFileFormat["LexJson"] = "LexJson";
|
|
336
|
+
ImportExportFileFormat["TSV"] = "TSV";
|
|
328
337
|
})(ImportExportFileFormat || (ImportExportFileFormat = {}));
|
|
338
|
+
export var CustomVocabularyExportSpecification;
|
|
339
|
+
(function (CustomVocabularyExportSpecification) {
|
|
340
|
+
CustomVocabularyExportSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
341
|
+
})(CustomVocabularyExportSpecification || (CustomVocabularyExportSpecification = {}));
|
|
329
342
|
export var ExportResourceSpecification;
|
|
330
343
|
(function (ExportResourceSpecification) {
|
|
331
344
|
ExportResourceSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -553,6 +566,18 @@ export var CreateUploadUrlResponse;
|
|
|
553
566
|
(function (CreateUploadUrlResponse) {
|
|
554
567
|
CreateUploadUrlResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
555
568
|
})(CreateUploadUrlResponse || (CreateUploadUrlResponse = {}));
|
|
569
|
+
export var CustomVocabularyImportSpecification;
|
|
570
|
+
(function (CustomVocabularyImportSpecification) {
|
|
571
|
+
CustomVocabularyImportSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
572
|
+
})(CustomVocabularyImportSpecification || (CustomVocabularyImportSpecification = {}));
|
|
573
|
+
export var CustomVocabularyStatus;
|
|
574
|
+
(function (CustomVocabularyStatus) {
|
|
575
|
+
CustomVocabularyStatus["Creating"] = "Creating";
|
|
576
|
+
CustomVocabularyStatus["Deleting"] = "Deleting";
|
|
577
|
+
CustomVocabularyStatus["Exporting"] = "Exporting";
|
|
578
|
+
CustomVocabularyStatus["Importing"] = "Importing";
|
|
579
|
+
CustomVocabularyStatus["Ready"] = "Ready";
|
|
580
|
+
})(CustomVocabularyStatus || (CustomVocabularyStatus = {}));
|
|
556
581
|
export var DateRangeFilter;
|
|
557
582
|
(function (DateRangeFilter) {
|
|
558
583
|
DateRangeFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -589,6 +614,14 @@ export var DeleteBotVersionResponse;
|
|
|
589
614
|
(function (DeleteBotVersionResponse) {
|
|
590
615
|
DeleteBotVersionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
591
616
|
})(DeleteBotVersionResponse || (DeleteBotVersionResponse = {}));
|
|
617
|
+
export var DeleteCustomVocabularyRequest;
|
|
618
|
+
(function (DeleteCustomVocabularyRequest) {
|
|
619
|
+
DeleteCustomVocabularyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
620
|
+
})(DeleteCustomVocabularyRequest || (DeleteCustomVocabularyRequest = {}));
|
|
621
|
+
export var DeleteCustomVocabularyResponse;
|
|
622
|
+
(function (DeleteCustomVocabularyResponse) {
|
|
623
|
+
DeleteCustomVocabularyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
624
|
+
})(DeleteCustomVocabularyResponse || (DeleteCustomVocabularyResponse = {}));
|
|
592
625
|
export var DeleteExportRequest;
|
|
593
626
|
(function (DeleteExportRequest) {
|
|
594
627
|
DeleteExportRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -716,6 +749,14 @@ export var DescribeBotVersionResponse;
|
|
|
716
749
|
(function (DescribeBotVersionResponse) {
|
|
717
750
|
DescribeBotVersionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
718
751
|
})(DescribeBotVersionResponse || (DescribeBotVersionResponse = {}));
|
|
752
|
+
export var DescribeCustomVocabularyMetadataRequest;
|
|
753
|
+
(function (DescribeCustomVocabularyMetadataRequest) {
|
|
754
|
+
DescribeCustomVocabularyMetadataRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
755
|
+
})(DescribeCustomVocabularyMetadataRequest || (DescribeCustomVocabularyMetadataRequest = {}));
|
|
756
|
+
export var DescribeCustomVocabularyMetadataResponse;
|
|
757
|
+
(function (DescribeCustomVocabularyMetadataResponse) {
|
|
758
|
+
DescribeCustomVocabularyMetadataResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
759
|
+
})(DescribeCustomVocabularyMetadataResponse || (DescribeCustomVocabularyMetadataResponse = {}));
|
|
719
760
|
export var DescribeExportRequest;
|
|
720
761
|
(function (DescribeExportRequest) {
|
|
721
762
|
DescribeExportRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -816,6 +857,12 @@ export var ImportFilter;
|
|
|
816
857
|
(function (ImportFilter) {
|
|
817
858
|
ImportFilter.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
818
859
|
})(ImportFilter || (ImportFilter = {}));
|
|
860
|
+
export var ImportResourceType;
|
|
861
|
+
(function (ImportResourceType) {
|
|
862
|
+
ImportResourceType["Bot"] = "Bot";
|
|
863
|
+
ImportResourceType["BotLocale"] = "BotLocale";
|
|
864
|
+
ImportResourceType["CustomVocabulary"] = "CustomVocabulary";
|
|
865
|
+
})(ImportResourceType || (ImportResourceType = {}));
|
|
819
866
|
export var ImportSortAttribute;
|
|
820
867
|
(function (ImportSortAttribute) {
|
|
821
868
|
ImportSortAttribute["LastUpdatedDateTime"] = "LastUpdatedDateTime";
|