@aws-sdk/client-lex-models-v2 3.47.2 → 3.51.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/dist-types/ts3.4/LexModelsV2.d.ts +10 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteCustomVocabularyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCustomVocabularyMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +124 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +40 -34
|
@@ -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";
|