@aws-sdk/client-lex-models-v2 3.46.0 → 3.48.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 +38 -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 -48
- package/dist-cjs/protocols/Aws_restJson1.js +368 -3
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- 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 -28
- package/dist-es/protocols/Aws_restJson1.js +395 -7
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/LexModelsV2.d.ts +21 -6
- package/dist-types/LexModelsV2Client.d.ts +9 -3
- 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 -66
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +10 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +7 -3
- 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 -29
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +36 -36
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,44 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2022/01/21 ([#3228](https://github.com/aws/aws-sdk-js-v3/issues/3228)) ([fa713ef](https://github.com/aws/aws-sdk-js-v3/commit/fa713efca6b2f424c27535d000359f08830960b1))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-models-v2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-models-v2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
6
44
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
45
|
|
|
8
46
|
|
package/dist-cjs/LexModelsV2.js
CHANGED
|
@@ -17,6 +17,7 @@ const DeleteBotAliasCommand_1 = require("./commands/DeleteBotAliasCommand");
|
|
|
17
17
|
const DeleteBotCommand_1 = require("./commands/DeleteBotCommand");
|
|
18
18
|
const DeleteBotLocaleCommand_1 = require("./commands/DeleteBotLocaleCommand");
|
|
19
19
|
const DeleteBotVersionCommand_1 = require("./commands/DeleteBotVersionCommand");
|
|
20
|
+
const DeleteCustomVocabularyCommand_1 = require("./commands/DeleteCustomVocabularyCommand");
|
|
20
21
|
const DeleteExportCommand_1 = require("./commands/DeleteExportCommand");
|
|
21
22
|
const DeleteImportCommand_1 = require("./commands/DeleteImportCommand");
|
|
22
23
|
const DeleteIntentCommand_1 = require("./commands/DeleteIntentCommand");
|
|
@@ -30,6 +31,7 @@ const DescribeBotCommand_1 = require("./commands/DescribeBotCommand");
|
|
|
30
31
|
const DescribeBotLocaleCommand_1 = require("./commands/DescribeBotLocaleCommand");
|
|
31
32
|
const DescribeBotRecommendationCommand_1 = require("./commands/DescribeBotRecommendationCommand");
|
|
32
33
|
const DescribeBotVersionCommand_1 = require("./commands/DescribeBotVersionCommand");
|
|
34
|
+
const DescribeCustomVocabularyMetadataCommand_1 = require("./commands/DescribeCustomVocabularyMetadataCommand");
|
|
33
35
|
const DescribeExportCommand_1 = require("./commands/DescribeExportCommand");
|
|
34
36
|
const DescribeImportCommand_1 = require("./commands/DescribeImportCommand");
|
|
35
37
|
const DescribeIntentCommand_1 = require("./commands/DescribeIntentCommand");
|
|
@@ -291,6 +293,20 @@ class LexModelsV2 extends LexModelsV2Client_1.LexModelsV2Client {
|
|
|
291
293
|
return this.send(command, optionsOrCb);
|
|
292
294
|
}
|
|
293
295
|
}
|
|
296
|
+
deleteCustomVocabulary(args, optionsOrCb, cb) {
|
|
297
|
+
const command = new DeleteCustomVocabularyCommand_1.DeleteCustomVocabularyCommand(args);
|
|
298
|
+
if (typeof optionsOrCb === "function") {
|
|
299
|
+
this.send(command, optionsOrCb);
|
|
300
|
+
}
|
|
301
|
+
else if (typeof cb === "function") {
|
|
302
|
+
if (typeof optionsOrCb !== "object")
|
|
303
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
304
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
305
|
+
}
|
|
306
|
+
else {
|
|
307
|
+
return this.send(command, optionsOrCb);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
294
310
|
deleteExport(args, optionsOrCb, cb) {
|
|
295
311
|
const command = new DeleteExportCommand_1.DeleteExportCommand(args);
|
|
296
312
|
if (typeof optionsOrCb === "function") {
|
|
@@ -473,6 +489,20 @@ class LexModelsV2 extends LexModelsV2Client_1.LexModelsV2Client {
|
|
|
473
489
|
return this.send(command, optionsOrCb);
|
|
474
490
|
}
|
|
475
491
|
}
|
|
492
|
+
describeCustomVocabularyMetadata(args, optionsOrCb, cb) {
|
|
493
|
+
const command = new DescribeCustomVocabularyMetadataCommand_1.DescribeCustomVocabularyMetadataCommand(args);
|
|
494
|
+
if (typeof optionsOrCb === "function") {
|
|
495
|
+
this.send(command, optionsOrCb);
|
|
496
|
+
}
|
|
497
|
+
else if (typeof cb === "function") {
|
|
498
|
+
if (typeof optionsOrCb !== "object")
|
|
499
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
500
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
501
|
+
}
|
|
502
|
+
else {
|
|
503
|
+
return this.send(command, optionsOrCb);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
476
506
|
describeExport(args, optionsOrCb, cb) {
|
|
477
507
|
const command = new DescribeExportCommand_1.DescribeExportCommand(args);
|
|
478
508
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteCustomVocabularyCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DeleteCustomVocabularyCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LexModelsV2Client";
|
|
18
|
+
const commandName = "DeleteCustomVocabularyCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DeleteCustomVocabularyRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DeleteCustomVocabularyResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1DeleteCustomVocabularyCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DeleteCustomVocabularyCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DeleteCustomVocabularyCommand = DeleteCustomVocabularyCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DescribeCustomVocabularyMetadataCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class DescribeCustomVocabularyMetadataCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "LexModelsV2Client";
|
|
18
|
+
const commandName = "DescribeCustomVocabularyMetadataCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.DescribeCustomVocabularyMetadataRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.DescribeCustomVocabularyMetadataResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1DescribeCustomVocabularyMetadataCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1DescribeCustomVocabularyMetadataCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.DescribeCustomVocabularyMetadataCommand = DescribeCustomVocabularyMetadataCommand;
|
|
@@ -17,6 +17,7 @@ tslib_1.__exportStar(require("./DeleteBotAliasCommand"), exports);
|
|
|
17
17
|
tslib_1.__exportStar(require("./DeleteBotCommand"), exports);
|
|
18
18
|
tslib_1.__exportStar(require("./DeleteBotLocaleCommand"), exports);
|
|
19
19
|
tslib_1.__exportStar(require("./DeleteBotVersionCommand"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./DeleteCustomVocabularyCommand"), exports);
|
|
20
21
|
tslib_1.__exportStar(require("./DeleteExportCommand"), exports);
|
|
21
22
|
tslib_1.__exportStar(require("./DeleteImportCommand"), exports);
|
|
22
23
|
tslib_1.__exportStar(require("./DeleteIntentCommand"), exports);
|
|
@@ -30,6 +31,7 @@ tslib_1.__exportStar(require("./DescribeBotCommand"), exports);
|
|
|
30
31
|
tslib_1.__exportStar(require("./DescribeBotLocaleCommand"), exports);
|
|
31
32
|
tslib_1.__exportStar(require("./DescribeBotRecommendationCommand"), exports);
|
|
32
33
|
tslib_1.__exportStar(require("./DescribeBotVersionCommand"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./DescribeCustomVocabularyMetadataCommand"), exports);
|
|
33
35
|
tslib_1.__exportStar(require("./DescribeExportCommand"), exports);
|
|
34
36
|
tslib_1.__exportStar(require("./DescribeImportCommand"), exports);
|
|
35
37
|
tslib_1.__exportStar(require("./DescribeIntentCommand"), exports);
|
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
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.
|
|
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 =
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
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;
|
|
3
|
+
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 = exports.AdvancedRecognitionSetting = exports.AudioRecognitionStrategy = void 0;
|
|
4
|
+
exports.OutputContext = exports.KendraConfiguration = exports.IntentConfirmationSetting = exports.PromptSpecification = 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.CreateExportResponse = exports.ExportStatus = exports.CreateExportRequest = exports.ExportResourceSpecification = exports.CustomVocabularyExportSpecification = 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.BuildBotLocaleResponse = exports.BuildBotLocaleRequest = exports.BotVersionSummary = exports.BotVersionSortBy = exports.BotVersionSortAttribute = void 0;
|
|
5
|
+
exports.DeleteImportResponse = exports.ImportStatus = exports.DeleteImportRequest = exports.DeleteExportResponse = exports.DeleteExportRequest = exports.DeleteCustomVocabularyResponse = exports.DeleteCustomVocabularyRequest = exports.DeleteBotVersionResponse = exports.DeleteBotVersionRequest = exports.DeleteBotLocaleResponse = exports.DeleteBotLocaleRequest = exports.DeleteBotAliasResponse = exports.DeleteBotAliasRequest = exports.DeleteBotResponse = exports.DeleteBotRequest = exports.DateRangeFilter = exports.CustomVocabularyStatus = exports.CustomVocabularyImportSpecification = 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 = void 0;
|
|
6
|
+
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.DescribeCustomVocabularyMetadataResponse = exports.DescribeCustomVocabularyMetadataRequest = 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.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 = exports.ImportResourceType = exports.ImportFilter = exports.ImportFilterOperator = 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 = exports.SlotTypeSortBy = exports.SlotTypeSortAttribute = exports.SlotTypeFilter = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
|
+
var AudioRecognitionStrategy;
|
|
11
|
+
(function (AudioRecognitionStrategy) {
|
|
12
|
+
AudioRecognitionStrategy["UseSlotValuesAsCustomVocabulary"] = "UseSlotValuesAsCustomVocabulary";
|
|
13
|
+
})(AudioRecognitionStrategy = exports.AudioRecognitionStrategy || (exports.AudioRecognitionStrategy = {}));
|
|
14
|
+
var AdvancedRecognitionSetting;
|
|
15
|
+
(function (AdvancedRecognitionSetting) {
|
|
16
|
+
AdvancedRecognitionSetting.filterSensitiveLog = (obj) => ({
|
|
17
|
+
...obj,
|
|
18
|
+
});
|
|
19
|
+
})(AdvancedRecognitionSetting = exports.AdvancedRecognitionSetting || (exports.AdvancedRecognitionSetting = {}));
|
|
10
20
|
var AggregatedUtterancesFilterName;
|
|
11
21
|
(function (AggregatedUtterancesFilterName) {
|
|
12
22
|
AggregatedUtterancesFilterName["Utterance"] = "Utterance";
|
|
@@ -321,42 +331,6 @@ var BuildBotLocaleResponse;
|
|
|
321
331
|
...obj,
|
|
322
332
|
});
|
|
323
333
|
})(BuildBotLocaleResponse = exports.BuildBotLocaleResponse || (exports.BuildBotLocaleResponse = {}));
|
|
324
|
-
var ConflictException;
|
|
325
|
-
(function (ConflictException) {
|
|
326
|
-
ConflictException.filterSensitiveLog = (obj) => ({
|
|
327
|
-
...obj,
|
|
328
|
-
});
|
|
329
|
-
})(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
|
|
330
|
-
var InternalServerException;
|
|
331
|
-
(function (InternalServerException) {
|
|
332
|
-
InternalServerException.filterSensitiveLog = (obj) => ({
|
|
333
|
-
...obj,
|
|
334
|
-
});
|
|
335
|
-
})(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
|
|
336
|
-
var PreconditionFailedException;
|
|
337
|
-
(function (PreconditionFailedException) {
|
|
338
|
-
PreconditionFailedException.filterSensitiveLog = (obj) => ({
|
|
339
|
-
...obj,
|
|
340
|
-
});
|
|
341
|
-
})(PreconditionFailedException = exports.PreconditionFailedException || (exports.PreconditionFailedException = {}));
|
|
342
|
-
var ServiceQuotaExceededException;
|
|
343
|
-
(function (ServiceQuotaExceededException) {
|
|
344
|
-
ServiceQuotaExceededException.filterSensitiveLog = (obj) => ({
|
|
345
|
-
...obj,
|
|
346
|
-
});
|
|
347
|
-
})(ServiceQuotaExceededException = exports.ServiceQuotaExceededException || (exports.ServiceQuotaExceededException = {}));
|
|
348
|
-
var ThrottlingException;
|
|
349
|
-
(function (ThrottlingException) {
|
|
350
|
-
ThrottlingException.filterSensitiveLog = (obj) => ({
|
|
351
|
-
...obj,
|
|
352
|
-
});
|
|
353
|
-
})(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
|
|
354
|
-
var ValidationException;
|
|
355
|
-
(function (ValidationException) {
|
|
356
|
-
ValidationException.filterSensitiveLog = (obj) => ({
|
|
357
|
-
...obj,
|
|
358
|
-
});
|
|
359
|
-
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
360
334
|
var BuiltInIntentSortAttribute;
|
|
361
335
|
(function (BuiltInIntentSortAttribute) {
|
|
362
336
|
BuiltInIntentSortAttribute["IntentSignature"] = "IntentSignature";
|
|
@@ -476,7 +450,14 @@ var CreateBotVersionResponse;
|
|
|
476
450
|
var ImportExportFileFormat;
|
|
477
451
|
(function (ImportExportFileFormat) {
|
|
478
452
|
ImportExportFileFormat["LexJson"] = "LexJson";
|
|
453
|
+
ImportExportFileFormat["TSV"] = "TSV";
|
|
479
454
|
})(ImportExportFileFormat = exports.ImportExportFileFormat || (exports.ImportExportFileFormat = {}));
|
|
455
|
+
var CustomVocabularyExportSpecification;
|
|
456
|
+
(function (CustomVocabularyExportSpecification) {
|
|
457
|
+
CustomVocabularyExportSpecification.filterSensitiveLog = (obj) => ({
|
|
458
|
+
...obj,
|
|
459
|
+
});
|
|
460
|
+
})(CustomVocabularyExportSpecification = exports.CustomVocabularyExportSpecification || (exports.CustomVocabularyExportSpecification = {}));
|
|
480
461
|
var ExportResourceSpecification;
|
|
481
462
|
(function (ExportResourceSpecification) {
|
|
482
463
|
ExportResourceSpecification.filterSensitiveLog = (obj) => ({
|
|
@@ -503,12 +484,6 @@ var CreateExportResponse;
|
|
|
503
484
|
...obj,
|
|
504
485
|
});
|
|
505
486
|
})(CreateExportResponse = exports.CreateExportResponse || (exports.CreateExportResponse = {}));
|
|
506
|
-
var ResourceNotFoundException;
|
|
507
|
-
(function (ResourceNotFoundException) {
|
|
508
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
509
|
-
...obj,
|
|
510
|
-
});
|
|
511
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
512
487
|
var DialogCodeHookSettings;
|
|
513
488
|
(function (DialogCodeHookSettings) {
|
|
514
489
|
DialogCodeHookSettings.filterSensitiveLog = (obj) => ({
|
|
@@ -811,6 +786,20 @@ var CreateUploadUrlResponse;
|
|
|
811
786
|
...obj,
|
|
812
787
|
});
|
|
813
788
|
})(CreateUploadUrlResponse = exports.CreateUploadUrlResponse || (exports.CreateUploadUrlResponse = {}));
|
|
789
|
+
var CustomVocabularyImportSpecification;
|
|
790
|
+
(function (CustomVocabularyImportSpecification) {
|
|
791
|
+
CustomVocabularyImportSpecification.filterSensitiveLog = (obj) => ({
|
|
792
|
+
...obj,
|
|
793
|
+
});
|
|
794
|
+
})(CustomVocabularyImportSpecification = exports.CustomVocabularyImportSpecification || (exports.CustomVocabularyImportSpecification = {}));
|
|
795
|
+
var CustomVocabularyStatus;
|
|
796
|
+
(function (CustomVocabularyStatus) {
|
|
797
|
+
CustomVocabularyStatus["Creating"] = "Creating";
|
|
798
|
+
CustomVocabularyStatus["Deleting"] = "Deleting";
|
|
799
|
+
CustomVocabularyStatus["Exporting"] = "Exporting";
|
|
800
|
+
CustomVocabularyStatus["Importing"] = "Importing";
|
|
801
|
+
CustomVocabularyStatus["Ready"] = "Ready";
|
|
802
|
+
})(CustomVocabularyStatus = exports.CustomVocabularyStatus || (exports.CustomVocabularyStatus = {}));
|
|
814
803
|
var DateRangeFilter;
|
|
815
804
|
(function (DateRangeFilter) {
|
|
816
805
|
DateRangeFilter.filterSensitiveLog = (obj) => ({
|
|
@@ -865,6 +854,18 @@ var DeleteBotVersionResponse;
|
|
|
865
854
|
...obj,
|
|
866
855
|
});
|
|
867
856
|
})(DeleteBotVersionResponse = exports.DeleteBotVersionResponse || (exports.DeleteBotVersionResponse = {}));
|
|
857
|
+
var DeleteCustomVocabularyRequest;
|
|
858
|
+
(function (DeleteCustomVocabularyRequest) {
|
|
859
|
+
DeleteCustomVocabularyRequest.filterSensitiveLog = (obj) => ({
|
|
860
|
+
...obj,
|
|
861
|
+
});
|
|
862
|
+
})(DeleteCustomVocabularyRequest = exports.DeleteCustomVocabularyRequest || (exports.DeleteCustomVocabularyRequest = {}));
|
|
863
|
+
var DeleteCustomVocabularyResponse;
|
|
864
|
+
(function (DeleteCustomVocabularyResponse) {
|
|
865
|
+
DeleteCustomVocabularyResponse.filterSensitiveLog = (obj) => ({
|
|
866
|
+
...obj,
|
|
867
|
+
});
|
|
868
|
+
})(DeleteCustomVocabularyResponse = exports.DeleteCustomVocabularyResponse || (exports.DeleteCustomVocabularyResponse = {}));
|
|
868
869
|
var DeleteExportRequest;
|
|
869
870
|
(function (DeleteExportRequest) {
|
|
870
871
|
DeleteExportRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1053,6 +1054,18 @@ var DescribeBotVersionResponse;
|
|
|
1053
1054
|
...obj,
|
|
1054
1055
|
});
|
|
1055
1056
|
})(DescribeBotVersionResponse = exports.DescribeBotVersionResponse || (exports.DescribeBotVersionResponse = {}));
|
|
1057
|
+
var DescribeCustomVocabularyMetadataRequest;
|
|
1058
|
+
(function (DescribeCustomVocabularyMetadataRequest) {
|
|
1059
|
+
DescribeCustomVocabularyMetadataRequest.filterSensitiveLog = (obj) => ({
|
|
1060
|
+
...obj,
|
|
1061
|
+
});
|
|
1062
|
+
})(DescribeCustomVocabularyMetadataRequest = exports.DescribeCustomVocabularyMetadataRequest || (exports.DescribeCustomVocabularyMetadataRequest = {}));
|
|
1063
|
+
var DescribeCustomVocabularyMetadataResponse;
|
|
1064
|
+
(function (DescribeCustomVocabularyMetadataResponse) {
|
|
1065
|
+
DescribeCustomVocabularyMetadataResponse.filterSensitiveLog = (obj) => ({
|
|
1066
|
+
...obj,
|
|
1067
|
+
});
|
|
1068
|
+
})(DescribeCustomVocabularyMetadataResponse = exports.DescribeCustomVocabularyMetadataResponse || (exports.DescribeCustomVocabularyMetadataResponse = {}));
|
|
1056
1069
|
var DescribeExportRequest;
|
|
1057
1070
|
(function (DescribeExportRequest) {
|
|
1058
1071
|
DescribeExportRequest.filterSensitiveLog = (obj) => ({
|
|
@@ -1189,6 +1202,12 @@ var ImportFilter;
|
|
|
1189
1202
|
...obj,
|
|
1190
1203
|
});
|
|
1191
1204
|
})(ImportFilter = exports.ImportFilter || (exports.ImportFilter = {}));
|
|
1205
|
+
var ImportResourceType;
|
|
1206
|
+
(function (ImportResourceType) {
|
|
1207
|
+
ImportResourceType["Bot"] = "Bot";
|
|
1208
|
+
ImportResourceType["BotLocale"] = "BotLocale";
|
|
1209
|
+
ImportResourceType["CustomVocabulary"] = "CustomVocabulary";
|
|
1210
|
+
})(ImportResourceType = exports.ImportResourceType || (exports.ImportResourceType = {}));
|
|
1192
1211
|
var ImportSortAttribute;
|
|
1193
1212
|
(function (ImportSortAttribute) {
|
|
1194
1213
|
ImportSortAttribute["LastUpdatedDateTime"] = "LastUpdatedDateTime";
|