@aws-sdk/client-lex-models-v2 3.170.0 → 3.178.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 +19 -0
- package/dist-cjs/commands/UpdateSlotTypeCommand.js +2 -1
- package/dist-cjs/models/models_0.js +39 -34
- package/dist-cjs/models/models_1.js +29 -1
- package/dist-cjs/protocols/Aws_restJson1.js +128 -0
- package/dist-es/commands/UpdateSlotTypeCommand.js +2 -1
- package/dist-es/models/models_0.js +15 -7
- package/dist-es/models/models_1.js +7 -0
- package/dist-es/protocols/Aws_restJson1.js +105 -2
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +134 -211
- package/dist-types/models/models_1.d.ts +214 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/LexModelsV2.d.ts +0 -67
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +0 -25
- package/dist-types/ts3.4/commands/BuildBotLocaleCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateBotAliasCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateBotCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateBotLocaleCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateBotVersionCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateExportCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateIntentCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateResourcePolicyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateResourcePolicyStatementCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateSlotCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateSlotTypeCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/CreateUploadUrlCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteBotAliasCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteBotCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteBotLocaleCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteBotVersionCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteCustomVocabularyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteExportCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteImportCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteIntentCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteResourcePolicyStatementCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteSlotCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteSlotTypeCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DeleteUtterancesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeBotAliasCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeBotCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeBotLocaleCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeBotVersionCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeCustomVocabularyMetadataCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeExportCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeIntentCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeSlotCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/DescribeSlotTypeCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListAggregatedUtterancesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListBotAliasesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListBotLocalesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListBotRecommendationsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListBotVersionsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListBuiltInIntentsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListBuiltInSlotTypesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListExportsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListImportsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListIntentsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListRecommendedIntentsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListSlotTypesCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListSlotsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/SearchAssociatedTranscriptsCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartBotRecommendationCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StartImportCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/StopBotRecommendationCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateBotAliasCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateBotCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateBotLocaleCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateBotRecommendationCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateExportCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateIntentCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateResourcePolicyCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateSlotCommand.d.ts +0 -2
- package/dist-types/ts3.4/commands/UpdateSlotTypeCommand.d.ts +2 -6
- package/dist-types/ts3.4/models/LexModelsV2ServiceException.d.ts +0 -1
- package/dist-types/ts3.4/models/models_0.d.ts +55 -1113
- package/dist-types/ts3.4/models/models_1.d.ts +71 -223
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +0 -1
- package/dist-types/ts3.4/waiters/waitForBotAliasAvailable.d.ts +0 -2
- package/dist-types/ts3.4/waiters/waitForBotAvailable.d.ts +0 -2
- package/dist-types/ts3.4/waiters/waitForBotExportCompleted.d.ts +0 -2
- package/dist-types/ts3.4/waiters/waitForBotImportCompleted.d.ts +0 -2
- package/dist-types/ts3.4/waiters/waitForBotLocaleBuilt.d.ts +0 -2
- package/dist-types/ts3.4/waiters/waitForBotLocaleCreated.d.ts +0 -2
- package/dist-types/ts3.4/waiters/waitForBotLocaleExpressTestingAvailable.d.ts +0 -2
- package/dist-types/ts3.4/waiters/waitForBotVersionAvailable.d.ts +0 -2
- package/package.json +27 -27
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.178.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.177.0...v3.178.0) (2022-09-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-lex-models-v2:** This release introduces additional optional parameters promptAttemptsSpecification to PromptSpecification, which enables the users to configure interrupt setting and Audio, DTMF and Text input configuration for the initial and retry prompt played by the Bot ([b798090](https://github.com/aws/aws-sdk-js-v3/commit/b7980906fb816fa0d0c1035cc1946bfab50a2c82))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-lex-models-v2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @aws-sdk/client-lex-models-v2
|
|
@@ -4,6 +4,7 @@ exports.UpdateSlotTypeCommand = void 0;
|
|
|
4
4
|
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const models_1_1 = require("../models/models_1");
|
|
7
8
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
9
|
class UpdateSlotTypeCommand extends smithy_client_1.Command {
|
|
9
10
|
constructor(input) {
|
|
@@ -21,7 +22,7 @@ class UpdateSlotTypeCommand extends smithy_client_1.Command {
|
|
|
21
22
|
clientName,
|
|
22
23
|
commandName,
|
|
23
24
|
inputFilterSensitiveLog: models_0_1.UpdateSlotTypeRequestFilterSensitiveLog,
|
|
24
|
-
outputFilterSensitiveLog:
|
|
25
|
+
outputFilterSensitiveLog: models_1_1.UpdateSlotTypeResponseFilterSensitiveLog,
|
|
25
26
|
};
|
|
26
27
|
const { requestHandler } = configuration;
|
|
27
28
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
3
|
+
exports.IntentFilterOperator = exports.IntentFilterName = exports.ImportSortAttribute = exports.ImportResourceType = exports.ImportFilterOperator = exports.ImportFilterName = exports.ExportSortAttribute = exports.ExportFilterOperator = exports.ExportFilterName = exports.MergeStrategy = exports.TranscriptFormat = exports.ImportStatus = exports.CustomVocabularyStatus = exports.SlotValueResolutionStrategy = exports.SlotConstraint = exports.ObfuscationSettingType = exports.Effect = exports.PromptAttempt = exports.MessageSelectionStrategy = exports.ResourceNotFoundException = exports.ExportStatus = exports.ImportExportFileFormat = exports.SlotShape = exports.DialogActionType = exports.BuiltInSlotTypeSortAttribute = exports.BuiltInIntentSortAttribute = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.PreconditionFailedException = exports.InternalServerException = exports.ConflictException = exports.BotVersionSortAttribute = exports.BotStatus = exports.BotSortAttribute = exports.BotRecommendationStatus = exports.BotLocaleStatus = exports.BotLocaleSortAttribute = exports.VoiceEngine = exports.BotLocaleFilterOperator = exports.BotLocaleFilterName = exports.BotFilterOperator = exports.BotFilterName = exports.BotAliasStatus = exports.AssociatedTranscriptFilterName = exports.SortOrder = exports.AggregatedUtterancesSortAttribute = exports.AggregatedUtterancesFilterOperator = exports.AggregatedUtterancesFilterName = exports.AudioRecognitionStrategy = void 0;
|
|
4
|
+
exports.BuildBotLocaleRequestFilterSensitiveLog = exports.BotVersionSummaryFilterSensitiveLog = exports.BotVersionSortByFilterSensitiveLog = exports.BotVersionLocaleDetailsFilterSensitiveLog = exports.BotSummaryFilterSensitiveLog = exports.BotSortByFilterSensitiveLog = exports.BotRecommendationSummaryFilterSensitiveLog = exports.BotRecommendationResultsFilterSensitiveLog = exports.BotRecommendationResultStatisticsFilterSensitiveLog = exports.SlotTypeStatisticsFilterSensitiveLog = exports.IntentStatisticsFilterSensitiveLog = exports.BotLocaleSummaryFilterSensitiveLog = exports.BotLocaleSortByFilterSensitiveLog = exports.BotLocaleImportSpecificationFilterSensitiveLog = exports.VoiceSettingsFilterSensitiveLog = exports.BotLocaleHistoryEventFilterSensitiveLog = exports.BotLocaleFilterFilterSensitiveLog = exports.BotLocaleExportSpecificationFilterSensitiveLog = exports.BotImportSpecificationFilterSensitiveLog = exports.DataPrivacyFilterSensitiveLog = exports.BotFilterFilterSensitiveLog = exports.BotExportSpecificationFilterSensitiveLog = exports.BotAliasSummaryFilterSensitiveLog = exports.BotAliasLocaleSettingsFilterSensitiveLog = exports.CodeHookSpecificationFilterSensitiveLog = exports.LambdaCodeHookFilterSensitiveLog = exports.BotAliasHistoryEventFilterSensitiveLog = exports.AudioLogSettingFilterSensitiveLog = exports.AudioLogDestinationFilterSensitiveLog = exports.S3BucketLogDestinationFilterSensitiveLog = exports.AudioAndDTMFInputSpecificationFilterSensitiveLog = exports.DTMFSpecificationFilterSensitiveLog = exports.AudioSpecificationFilterSensitiveLog = exports.AssociatedTranscriptFilterFilterSensitiveLog = exports.AssociatedTranscriptFilterSensitiveLog = exports.AllowedInputTypesFilterSensitiveLog = exports.AggregatedUtterancesSummaryFilterSensitiveLog = exports.AggregatedUtterancesSortByFilterSensitiveLog = exports.AggregatedUtterancesFilterFilterSensitiveLog = exports.AdvancedRecognitionSettingFilterSensitiveLog = exports.SearchOrder = exports.SlotTypeCategory = exports.SlotTypeSortAttribute = exports.SlotTypeFilterOperator = exports.SlotTypeFilterName = exports.SlotSortAttribute = exports.SlotFilterOperator = exports.SlotFilterName = exports.TimeDimension = exports.IntentSortAttribute = void 0;
|
|
5
|
+
exports.PrincipalFilterSensitiveLog = exports.CreateResourcePolicyResponseFilterSensitiveLog = exports.CreateResourcePolicyRequestFilterSensitiveLog = exports.SampleUtteranceFilterSensitiveLog = exports.OutputContextFilterSensitiveLog = exports.KendraConfigurationFilterSensitiveLog = exports.PromptSpecificationFilterSensitiveLog = exports.PromptAttemptSpecificationFilterSensitiveLog = exports.TextInputSpecificationFilterSensitiveLog = exports.ElicitationCodeHookInvocationSettingFilterSensitiveLog = exports.InputContextFilterSensitiveLog = exports.FulfillmentUpdatesSpecificationFilterSensitiveLog = exports.FulfillmentUpdateResponseSpecificationFilterSensitiveLog = exports.FulfillmentStartResponseSpecificationFilterSensitiveLog = exports.DialogCodeHookSettingsFilterSensitiveLog = exports.CreateExportResponseFilterSensitiveLog = exports.CreateExportRequestFilterSensitiveLog = exports.ExportResourceSpecificationFilterSensitiveLog = exports.CustomVocabularyExportSpecificationFilterSensitiveLog = exports.CreateBotVersionResponseFilterSensitiveLog = exports.CreateBotVersionRequestFilterSensitiveLog = exports.CreateBotLocaleResponseFilterSensitiveLog = exports.CreateBotLocaleRequestFilterSensitiveLog = exports.CreateBotAliasResponseFilterSensitiveLog = exports.CreateBotAliasRequestFilterSensitiveLog = exports.SentimentAnalysisSettingsFilterSensitiveLog = exports.CreateBotResponseFilterSensitiveLog = exports.CreateBotRequestFilterSensitiveLog = exports.ConversationLogSettingsFilterSensitiveLog = exports.TextLogSettingFilterSensitiveLog = exports.TextLogDestinationFilterSensitiveLog = exports.ResponseSpecificationFilterSensitiveLog = exports.MessageGroupFilterSensitiveLog = exports.MessageFilterSensitiveLog = exports.SSMLMessageFilterSensitiveLog = exports.PlainTextMessageFilterSensitiveLog = exports.ImageResponseCardFilterSensitiveLog = exports.CustomPayloadFilterSensitiveLog = exports.SlotValueFilterSensitiveLog = exports.DialogActionFilterSensitiveLog = exports.ConditionFilterSensitiveLog = exports.CompositeSlotTypeSettingFilterSensitiveLog = exports.SubSlotTypeCompositionFilterSensitiveLog = exports.CloudWatchLogGroupLogDestinationFilterSensitiveLog = exports.ButtonFilterSensitiveLog = exports.BuiltInSlotTypeSummaryFilterSensitiveLog = exports.BuiltInSlotTypeSortByFilterSensitiveLog = exports.BuiltInIntentSummaryFilterSensitiveLog = exports.BuiltInIntentSortByFilterSensitiveLog = exports.BuildBotLocaleResponseFilterSensitiveLog = void 0;
|
|
6
|
+
exports.DescribeBotAliasRequestFilterSensitiveLog = exports.DescribeBotResponseFilterSensitiveLog = exports.DescribeBotRequestFilterSensitiveLog = exports.DeleteUtterancesResponseFilterSensitiveLog = exports.DeleteUtterancesRequestFilterSensitiveLog = exports.DeleteSlotTypeRequestFilterSensitiveLog = exports.DeleteSlotRequestFilterSensitiveLog = exports.DeleteResourcePolicyStatementResponseFilterSensitiveLog = exports.DeleteResourcePolicyStatementRequestFilterSensitiveLog = exports.DeleteResourcePolicyResponseFilterSensitiveLog = exports.DeleteResourcePolicyRequestFilterSensitiveLog = exports.DeleteIntentRequestFilterSensitiveLog = exports.DeleteImportResponseFilterSensitiveLog = exports.DeleteImportRequestFilterSensitiveLog = exports.DeleteExportResponseFilterSensitiveLog = exports.DeleteExportRequestFilterSensitiveLog = exports.DeleteCustomVocabularyResponseFilterSensitiveLog = exports.DeleteCustomVocabularyRequestFilterSensitiveLog = exports.DeleteBotVersionResponseFilterSensitiveLog = exports.DeleteBotVersionRequestFilterSensitiveLog = exports.DeleteBotLocaleResponseFilterSensitiveLog = exports.DeleteBotLocaleRequestFilterSensitiveLog = exports.DeleteBotAliasResponseFilterSensitiveLog = exports.DeleteBotAliasRequestFilterSensitiveLog = exports.DeleteBotResponseFilterSensitiveLog = exports.DeleteBotRequestFilterSensitiveLog = exports.DateRangeFilterFilterSensitiveLog = exports.CustomVocabularyImportSpecificationFilterSensitiveLog = exports.CreateUploadUrlResponseFilterSensitiveLog = exports.CreateUploadUrlRequestFilterSensitiveLog = exports.CreateSlotTypeResponseFilterSensitiveLog = exports.CreateSlotTypeRequestFilterSensitiveLog = exports.SlotValueSelectionSettingFilterSensitiveLog = exports.SlotValueRegexFilterFilterSensitiveLog = exports.SlotTypeValueFilterSensitiveLog = exports.SampleValueFilterSensitiveLog = exports.ExternalSourceSettingFilterSensitiveLog = exports.GrammarSlotTypeSettingFilterSensitiveLog = exports.GrammarSlotTypeSourceFilterSensitiveLog = exports.SubSlotSettingFilterSensitiveLog = exports.SpecificationsFilterSensitiveLog = exports.SubSlotValueElicitationSettingFilterSensitiveLog = exports.WaitAndContinueSpecificationFilterSensitiveLog = exports.StillWaitingResponseSpecificationFilterSensitiveLog = exports.SlotDefaultValueSpecificationFilterSensitiveLog = exports.SlotDefaultValueFilterSensitiveLog = exports.ObfuscationSettingFilterSensitiveLog = exports.MultipleValuesSettingFilterSensitiveLog = exports.CreateResourcePolicyStatementResponseFilterSensitiveLog = exports.CreateResourcePolicyStatementRequestFilterSensitiveLog = void 0;
|
|
7
|
+
exports.ListBotVersionsResponseFilterSensitiveLog = exports.ListBotVersionsRequestFilterSensitiveLog = exports.ListBotsResponseFilterSensitiveLog = exports.ListBotsRequestFilterSensitiveLog = exports.ListBotRecommendationsResponseFilterSensitiveLog = exports.ListBotRecommendationsRequestFilterSensitiveLog = exports.ListBotLocalesResponseFilterSensitiveLog = exports.ListBotLocalesRequestFilterSensitiveLog = exports.ListBotAliasesResponseFilterSensitiveLog = exports.ListBotAliasesRequestFilterSensitiveLog = exports.ListAggregatedUtterancesResponseFilterSensitiveLog = exports.ListAggregatedUtterancesRequestFilterSensitiveLog = exports.UtteranceAggregationDurationFilterSensitiveLog = exports.RelativeAggregationDurationFilterSensitiveLog = exports.IntentSummaryFilterSensitiveLog = exports.IntentSortByFilterSensitiveLog = exports.IntentFilterFilterSensitiveLog = exports.ImportSummaryFilterSensitiveLog = exports.ImportSortByFilterSensitiveLog = exports.ImportFilterFilterSensitiveLog = exports.ExportSummaryFilterSensitiveLog = exports.ExportSortByFilterSensitiveLog = exports.ExportFilterFilterSensitiveLog = exports.DescribeSlotTypeResponseFilterSensitiveLog = exports.DescribeSlotTypeRequestFilterSensitiveLog = exports.DescribeSlotRequestFilterSensitiveLog = exports.DescribeResourcePolicyResponseFilterSensitiveLog = exports.DescribeResourcePolicyRequestFilterSensitiveLog = exports.SlotPriorityFilterSensitiveLog = exports.DescribeIntentRequestFilterSensitiveLog = exports.DescribeImportResponseFilterSensitiveLog = exports.ImportResourceSpecificationFilterSensitiveLog = exports.DescribeImportRequestFilterSensitiveLog = exports.DescribeExportResponseFilterSensitiveLog = exports.DescribeExportRequestFilterSensitiveLog = exports.DescribeCustomVocabularyMetadataResponseFilterSensitiveLog = exports.DescribeCustomVocabularyMetadataRequestFilterSensitiveLog = exports.DescribeBotVersionResponseFilterSensitiveLog = exports.DescribeBotVersionRequestFilterSensitiveLog = exports.DescribeBotRecommendationResponseFilterSensitiveLog = exports.TranscriptSourceSettingFilterSensitiveLog = exports.S3BucketTranscriptSourceFilterSensitiveLog = exports.TranscriptFilterFilterSensitiveLog = exports.LexTranscriptFilterFilterSensitiveLog = exports.PathFormatFilterSensitiveLog = exports.EncryptionSettingFilterSensitiveLog = exports.DescribeBotRecommendationRequestFilterSensitiveLog = exports.DescribeBotLocaleResponseFilterSensitiveLog = exports.DescribeBotLocaleRequestFilterSensitiveLog = exports.DescribeBotAliasResponseFilterSensitiveLog = void 0;
|
|
8
|
+
exports.UpdateSlotTypeRequestFilterSensitiveLog = exports.UpdateResourcePolicyResponseFilterSensitiveLog = exports.UpdateResourcePolicyRequestFilterSensitiveLog = exports.UpdateExportResponseFilterSensitiveLog = exports.UpdateExportRequestFilterSensitiveLog = exports.UpdateBotRecommendationResponseFilterSensitiveLog = exports.UpdateBotRecommendationRequestFilterSensitiveLog = exports.UpdateBotLocaleResponseFilterSensitiveLog = exports.UpdateBotLocaleRequestFilterSensitiveLog = exports.UpdateBotAliasResponseFilterSensitiveLog = exports.UpdateBotAliasRequestFilterSensitiveLog = exports.UpdateBotResponseFilterSensitiveLog = exports.UpdateBotRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopBotRecommendationResponseFilterSensitiveLog = exports.StopBotRecommendationRequestFilterSensitiveLog = exports.StartImportResponseFilterSensitiveLog = exports.StartImportRequestFilterSensitiveLog = exports.StartBotRecommendationResponseFilterSensitiveLog = exports.StartBotRecommendationRequestFilterSensitiveLog = exports.SearchAssociatedTranscriptsResponseFilterSensitiveLog = exports.SearchAssociatedTranscriptsRequestFilterSensitiveLog = exports.ListTagsForResourceResponseFilterSensitiveLog = exports.ListTagsForResourceRequestFilterSensitiveLog = exports.ListSlotTypesResponseFilterSensitiveLog = exports.SlotTypeSummaryFilterSensitiveLog = exports.ListSlotTypesRequestFilterSensitiveLog = exports.SlotTypeSortByFilterSensitiveLog = exports.SlotTypeFilterFilterSensitiveLog = exports.ListSlotsResponseFilterSensitiveLog = exports.SlotSummaryFilterSensitiveLog = exports.ListSlotsRequestFilterSensitiveLog = exports.SlotSortByFilterSensitiveLog = exports.SlotFilterFilterSensitiveLog = exports.ListRecommendedIntentsResponseFilterSensitiveLog = exports.RecommendedIntentSummaryFilterSensitiveLog = exports.ListRecommendedIntentsRequestFilterSensitiveLog = exports.ListIntentsResponseFilterSensitiveLog = exports.ListIntentsRequestFilterSensitiveLog = exports.ListImportsResponseFilterSensitiveLog = exports.ListImportsRequestFilterSensitiveLog = exports.ListExportsResponseFilterSensitiveLog = exports.ListExportsRequestFilterSensitiveLog = exports.ListBuiltInSlotTypesResponseFilterSensitiveLog = exports.ListBuiltInSlotTypesRequestFilterSensitiveLog = exports.ListBuiltInIntentsResponseFilterSensitiveLog = exports.ListBuiltInIntentsRequestFilterSensitiveLog = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
const LexModelsV2ServiceException_1 = require("./LexModelsV2ServiceException");
|
|
11
11
|
var AudioRecognitionStrategy;
|
|
@@ -246,6 +246,15 @@ var MessageSelectionStrategy;
|
|
|
246
246
|
MessageSelectionStrategy["Ordered"] = "Ordered";
|
|
247
247
|
MessageSelectionStrategy["Random"] = "Random";
|
|
248
248
|
})(MessageSelectionStrategy = exports.MessageSelectionStrategy || (exports.MessageSelectionStrategy = {}));
|
|
249
|
+
var PromptAttempt;
|
|
250
|
+
(function (PromptAttempt) {
|
|
251
|
+
PromptAttempt["Initial"] = "Initial";
|
|
252
|
+
PromptAttempt["Retry1"] = "Retry1";
|
|
253
|
+
PromptAttempt["Retry2"] = "Retry2";
|
|
254
|
+
PromptAttempt["Retry3"] = "Retry3";
|
|
255
|
+
PromptAttempt["Retry4"] = "Retry4";
|
|
256
|
+
PromptAttempt["Retry5"] = "Retry5";
|
|
257
|
+
})(PromptAttempt = exports.PromptAttempt || (exports.PromptAttempt = {}));
|
|
249
258
|
var Effect;
|
|
250
259
|
(function (Effect) {
|
|
251
260
|
Effect["Allow"] = "Allow";
|
|
@@ -401,6 +410,10 @@ const AggregatedUtterancesSummaryFilterSensitiveLog = (obj) => ({
|
|
|
401
410
|
...obj,
|
|
402
411
|
});
|
|
403
412
|
exports.AggregatedUtterancesSummaryFilterSensitiveLog = AggregatedUtterancesSummaryFilterSensitiveLog;
|
|
413
|
+
const AllowedInputTypesFilterSensitiveLog = (obj) => ({
|
|
414
|
+
...obj,
|
|
415
|
+
});
|
|
416
|
+
exports.AllowedInputTypesFilterSensitiveLog = AllowedInputTypesFilterSensitiveLog;
|
|
404
417
|
const AssociatedTranscriptFilterSensitiveLog = (obj) => ({
|
|
405
418
|
...obj,
|
|
406
419
|
});
|
|
@@ -409,6 +422,18 @@ const AssociatedTranscriptFilterFilterSensitiveLog = (obj) => ({
|
|
|
409
422
|
...obj,
|
|
410
423
|
});
|
|
411
424
|
exports.AssociatedTranscriptFilterFilterSensitiveLog = AssociatedTranscriptFilterFilterSensitiveLog;
|
|
425
|
+
const AudioSpecificationFilterSensitiveLog = (obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
});
|
|
428
|
+
exports.AudioSpecificationFilterSensitiveLog = AudioSpecificationFilterSensitiveLog;
|
|
429
|
+
const DTMFSpecificationFilterSensitiveLog = (obj) => ({
|
|
430
|
+
...obj,
|
|
431
|
+
});
|
|
432
|
+
exports.DTMFSpecificationFilterSensitiveLog = DTMFSpecificationFilterSensitiveLog;
|
|
433
|
+
const AudioAndDTMFInputSpecificationFilterSensitiveLog = (obj) => ({
|
|
434
|
+
...obj,
|
|
435
|
+
});
|
|
436
|
+
exports.AudioAndDTMFInputSpecificationFilterSensitiveLog = AudioAndDTMFInputSpecificationFilterSensitiveLog;
|
|
412
437
|
const S3BucketLogDestinationFilterSensitiveLog = (obj) => ({
|
|
413
438
|
...obj,
|
|
414
439
|
});
|
|
@@ -694,6 +719,14 @@ const ElicitationCodeHookInvocationSettingFilterSensitiveLog = (obj) => ({
|
|
|
694
719
|
...obj,
|
|
695
720
|
});
|
|
696
721
|
exports.ElicitationCodeHookInvocationSettingFilterSensitiveLog = ElicitationCodeHookInvocationSettingFilterSensitiveLog;
|
|
722
|
+
const TextInputSpecificationFilterSensitiveLog = (obj) => ({
|
|
723
|
+
...obj,
|
|
724
|
+
});
|
|
725
|
+
exports.TextInputSpecificationFilterSensitiveLog = TextInputSpecificationFilterSensitiveLog;
|
|
726
|
+
const PromptAttemptSpecificationFilterSensitiveLog = (obj) => ({
|
|
727
|
+
...obj,
|
|
728
|
+
});
|
|
729
|
+
exports.PromptAttemptSpecificationFilterSensitiveLog = PromptAttemptSpecificationFilterSensitiveLog;
|
|
697
730
|
const PromptSpecificationFilterSensitiveLog = (obj) => ({
|
|
698
731
|
...obj,
|
|
699
732
|
});
|
|
@@ -1331,31 +1364,3 @@ const UpdateSlotTypeRequestFilterSensitiveLog = (obj) => ({
|
|
|
1331
1364
|
...obj,
|
|
1332
1365
|
});
|
|
1333
1366
|
exports.UpdateSlotTypeRequestFilterSensitiveLog = UpdateSlotTypeRequestFilterSensitiveLog;
|
|
1334
|
-
const UpdateSlotTypeResponseFilterSensitiveLog = (obj) => ({
|
|
1335
|
-
...obj,
|
|
1336
|
-
});
|
|
1337
|
-
exports.UpdateSlotTypeResponseFilterSensitiveLog = UpdateSlotTypeResponseFilterSensitiveLog;
|
|
1338
|
-
const SlotValueOverrideFilterSensitiveLog = (obj) => ({
|
|
1339
|
-
...obj,
|
|
1340
|
-
});
|
|
1341
|
-
exports.SlotValueOverrideFilterSensitiveLog = SlotValueOverrideFilterSensitiveLog;
|
|
1342
|
-
const IntentOverrideFilterSensitiveLog = (obj) => ({
|
|
1343
|
-
...obj,
|
|
1344
|
-
});
|
|
1345
|
-
exports.IntentOverrideFilterSensitiveLog = IntentOverrideFilterSensitiveLog;
|
|
1346
|
-
const DialogStateFilterSensitiveLog = (obj) => ({
|
|
1347
|
-
...obj,
|
|
1348
|
-
});
|
|
1349
|
-
exports.DialogStateFilterSensitiveLog = DialogStateFilterSensitiveLog;
|
|
1350
|
-
const ConditionalBranchFilterSensitiveLog = (obj) => ({
|
|
1351
|
-
...obj,
|
|
1352
|
-
});
|
|
1353
|
-
exports.ConditionalBranchFilterSensitiveLog = ConditionalBranchFilterSensitiveLog;
|
|
1354
|
-
const DefaultConditionalBranchFilterSensitiveLog = (obj) => ({
|
|
1355
|
-
...obj,
|
|
1356
|
-
});
|
|
1357
|
-
exports.DefaultConditionalBranchFilterSensitiveLog = DefaultConditionalBranchFilterSensitiveLog;
|
|
1358
|
-
const ConditionalSpecificationFilterSensitiveLog = (obj) => ({
|
|
1359
|
-
...obj,
|
|
1360
|
-
});
|
|
1361
|
-
exports.ConditionalSpecificationFilterSensitiveLog = ConditionalSpecificationFilterSensitiveLog;
|
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateIntentResponseFilterSensitiveLog = exports.UpdateIntentRequestFilterSensitiveLog = exports.DescribeIntentResponseFilterSensitiveLog = exports.CreateIntentResponseFilterSensitiveLog = exports.CreateIntentRequestFilterSensitiveLog = exports.UpdateSlotResponseFilterSensitiveLog = exports.UpdateSlotRequestFilterSensitiveLog = exports.DescribeSlotResponseFilterSensitiveLog = exports.CreateSlotResponseFilterSensitiveLog = exports.CreateSlotRequestFilterSensitiveLog = exports.IntentConfirmationSettingFilterSensitiveLog = exports.SlotValueElicitationSettingFilterSensitiveLog = exports.SlotCaptureSettingFilterSensitiveLog = exports.InitialResponseSettingFilterSensitiveLog = exports.FulfillmentCodeHookSettingsFilterSensitiveLog = exports.DialogCodeHookInvocationSettingFilterSensitiveLog = exports.PostFulfillmentStatusSpecificationFilterSensitiveLog = exports.PostDialogCodeHookInvocationSpecificationFilterSensitiveLog = exports.IntentClosingSettingFilterSensitiveLog = void 0;
|
|
3
|
+
exports.UpdateIntentResponseFilterSensitiveLog = exports.UpdateIntentRequestFilterSensitiveLog = exports.DescribeIntentResponseFilterSensitiveLog = exports.CreateIntentResponseFilterSensitiveLog = exports.CreateIntentRequestFilterSensitiveLog = exports.UpdateSlotResponseFilterSensitiveLog = exports.UpdateSlotRequestFilterSensitiveLog = exports.DescribeSlotResponseFilterSensitiveLog = exports.CreateSlotResponseFilterSensitiveLog = exports.CreateSlotRequestFilterSensitiveLog = exports.IntentConfirmationSettingFilterSensitiveLog = exports.SlotValueElicitationSettingFilterSensitiveLog = exports.SlotCaptureSettingFilterSensitiveLog = exports.InitialResponseSettingFilterSensitiveLog = exports.FulfillmentCodeHookSettingsFilterSensitiveLog = exports.DialogCodeHookInvocationSettingFilterSensitiveLog = exports.PostFulfillmentStatusSpecificationFilterSensitiveLog = exports.PostDialogCodeHookInvocationSpecificationFilterSensitiveLog = exports.IntentClosingSettingFilterSensitiveLog = exports.ConditionalSpecificationFilterSensitiveLog = exports.DefaultConditionalBranchFilterSensitiveLog = exports.ConditionalBranchFilterSensitiveLog = exports.DialogStateFilterSensitiveLog = exports.IntentOverrideFilterSensitiveLog = exports.SlotValueOverrideFilterSensitiveLog = exports.UpdateSlotTypeResponseFilterSensitiveLog = void 0;
|
|
4
|
+
const UpdateSlotTypeResponseFilterSensitiveLog = (obj) => ({
|
|
5
|
+
...obj,
|
|
6
|
+
});
|
|
7
|
+
exports.UpdateSlotTypeResponseFilterSensitiveLog = UpdateSlotTypeResponseFilterSensitiveLog;
|
|
8
|
+
const SlotValueOverrideFilterSensitiveLog = (obj) => ({
|
|
9
|
+
...obj,
|
|
10
|
+
});
|
|
11
|
+
exports.SlotValueOverrideFilterSensitiveLog = SlotValueOverrideFilterSensitiveLog;
|
|
12
|
+
const IntentOverrideFilterSensitiveLog = (obj) => ({
|
|
13
|
+
...obj,
|
|
14
|
+
});
|
|
15
|
+
exports.IntentOverrideFilterSensitiveLog = IntentOverrideFilterSensitiveLog;
|
|
16
|
+
const DialogStateFilterSensitiveLog = (obj) => ({
|
|
17
|
+
...obj,
|
|
18
|
+
});
|
|
19
|
+
exports.DialogStateFilterSensitiveLog = DialogStateFilterSensitiveLog;
|
|
20
|
+
const ConditionalBranchFilterSensitiveLog = (obj) => ({
|
|
21
|
+
...obj,
|
|
22
|
+
});
|
|
23
|
+
exports.ConditionalBranchFilterSensitiveLog = ConditionalBranchFilterSensitiveLog;
|
|
24
|
+
const DefaultConditionalBranchFilterSensitiveLog = (obj) => ({
|
|
25
|
+
...obj,
|
|
26
|
+
});
|
|
27
|
+
exports.DefaultConditionalBranchFilterSensitiveLog = DefaultConditionalBranchFilterSensitiveLog;
|
|
28
|
+
const ConditionalSpecificationFilterSensitiveLog = (obj) => ({
|
|
29
|
+
...obj,
|
|
30
|
+
});
|
|
31
|
+
exports.ConditionalSpecificationFilterSensitiveLog = ConditionalSpecificationFilterSensitiveLog;
|
|
4
32
|
const IntentClosingSettingFilterSensitiveLog = (obj) => ({
|
|
5
33
|
...obj,
|
|
6
34
|
});
|
|
@@ -6056,6 +6056,12 @@ const serializeAws_restJson1AggregatedUtterancesSortBy = (input, context) => {
|
|
|
6056
6056
|
...(input.order != null && { order: input.order }),
|
|
6057
6057
|
};
|
|
6058
6058
|
};
|
|
6059
|
+
const serializeAws_restJson1AllowedInputTypes = (input, context) => {
|
|
6060
|
+
return {
|
|
6061
|
+
...(input.allowAudioInput != null && { allowAudioInput: input.allowAudioInput }),
|
|
6062
|
+
...(input.allowDTMFInput != null && { allowDTMFInput: input.allowDTMFInput }),
|
|
6063
|
+
};
|
|
6064
|
+
};
|
|
6059
6065
|
const serializeAws_restJson1AssociatedTranscriptFilter = (input, context) => {
|
|
6060
6066
|
return {
|
|
6061
6067
|
...(input.name != null && { name: input.name }),
|
|
@@ -6069,6 +6075,17 @@ const serializeAws_restJson1AssociatedTranscriptFilters = (input, context) => {
|
|
|
6069
6075
|
return serializeAws_restJson1AssociatedTranscriptFilter(entry, context);
|
|
6070
6076
|
});
|
|
6071
6077
|
};
|
|
6078
|
+
const serializeAws_restJson1AudioAndDTMFInputSpecification = (input, context) => {
|
|
6079
|
+
return {
|
|
6080
|
+
...(input.audioSpecification != null && {
|
|
6081
|
+
audioSpecification: serializeAws_restJson1AudioSpecification(input.audioSpecification, context),
|
|
6082
|
+
}),
|
|
6083
|
+
...(input.dtmfSpecification != null && {
|
|
6084
|
+
dtmfSpecification: serializeAws_restJson1DTMFSpecification(input.dtmfSpecification, context),
|
|
6085
|
+
}),
|
|
6086
|
+
...(input.startTimeoutMs != null && { startTimeoutMs: input.startTimeoutMs }),
|
|
6087
|
+
};
|
|
6088
|
+
};
|
|
6072
6089
|
const serializeAws_restJson1AudioLogDestination = (input, context) => {
|
|
6073
6090
|
return {
|
|
6074
6091
|
...(input.s3Bucket != null && { s3Bucket: serializeAws_restJson1S3BucketLogDestination(input.s3Bucket, context) }),
|
|
@@ -6089,6 +6106,12 @@ const serializeAws_restJson1AudioLogSettingsList = (input, context) => {
|
|
|
6089
6106
|
return serializeAws_restJson1AudioLogSetting(entry, context);
|
|
6090
6107
|
});
|
|
6091
6108
|
};
|
|
6109
|
+
const serializeAws_restJson1AudioSpecification = (input, context) => {
|
|
6110
|
+
return {
|
|
6111
|
+
...(input.endTimeoutMs != null && { endTimeoutMs: input.endTimeoutMs }),
|
|
6112
|
+
...(input.maxLengthMs != null && { maxLengthMs: input.maxLengthMs }),
|
|
6113
|
+
};
|
|
6114
|
+
};
|
|
6092
6115
|
const serializeAws_restJson1BotAliasLocaleSettings = (input, context) => {
|
|
6093
6116
|
return {
|
|
6094
6117
|
...(input.codeHookSpecification != null && {
|
|
@@ -6383,6 +6406,14 @@ const serializeAws_restJson1DialogState = (input, context) => {
|
|
|
6383
6406
|
}),
|
|
6384
6407
|
};
|
|
6385
6408
|
};
|
|
6409
|
+
const serializeAws_restJson1DTMFSpecification = (input, context) => {
|
|
6410
|
+
return {
|
|
6411
|
+
...(input.deletionCharacter != null && { deletionCharacter: input.deletionCharacter }),
|
|
6412
|
+
...(input.endCharacter != null && { endCharacter: input.endCharacter }),
|
|
6413
|
+
...(input.endTimeoutMs != null && { endTimeoutMs: input.endTimeoutMs }),
|
|
6414
|
+
...(input.maxLength != null && { maxLength: input.maxLength }),
|
|
6415
|
+
};
|
|
6416
|
+
};
|
|
6386
6417
|
const serializeAws_restJson1ElicitationCodeHookInvocationSetting = (input, context) => {
|
|
6387
6418
|
return {
|
|
6388
6419
|
...(input.enableCodeHookInvocation != null && { enableCodeHookInvocation: input.enableCodeHookInvocation }),
|
|
@@ -6826,6 +6857,31 @@ const serializeAws_restJson1PrincipalList = (input, context) => {
|
|
|
6826
6857
|
return serializeAws_restJson1Principal(entry, context);
|
|
6827
6858
|
});
|
|
6828
6859
|
};
|
|
6860
|
+
const serializeAws_restJson1PromptAttemptSpecification = (input, context) => {
|
|
6861
|
+
return {
|
|
6862
|
+
...(input.allowInterrupt != null && { allowInterrupt: input.allowInterrupt }),
|
|
6863
|
+
...(input.allowedInputTypes != null && {
|
|
6864
|
+
allowedInputTypes: serializeAws_restJson1AllowedInputTypes(input.allowedInputTypes, context),
|
|
6865
|
+
}),
|
|
6866
|
+
...(input.audioAndDTMFInputSpecification != null && {
|
|
6867
|
+
audioAndDTMFInputSpecification: serializeAws_restJson1AudioAndDTMFInputSpecification(input.audioAndDTMFInputSpecification, context),
|
|
6868
|
+
}),
|
|
6869
|
+
...(input.textInputSpecification != null && {
|
|
6870
|
+
textInputSpecification: serializeAws_restJson1TextInputSpecification(input.textInputSpecification, context),
|
|
6871
|
+
}),
|
|
6872
|
+
};
|
|
6873
|
+
};
|
|
6874
|
+
const serializeAws_restJson1PromptAttemptsSpecificationMap = (input, context) => {
|
|
6875
|
+
return Object.entries(input).reduce((acc, [key, value]) => {
|
|
6876
|
+
if (value === null) {
|
|
6877
|
+
return acc;
|
|
6878
|
+
}
|
|
6879
|
+
return {
|
|
6880
|
+
...acc,
|
|
6881
|
+
[key]: serializeAws_restJson1PromptAttemptSpecification(value, context),
|
|
6882
|
+
};
|
|
6883
|
+
}, {});
|
|
6884
|
+
};
|
|
6829
6885
|
const serializeAws_restJson1PromptSpecification = (input, context) => {
|
|
6830
6886
|
return {
|
|
6831
6887
|
...(input.allowInterrupt != null && { allowInterrupt: input.allowInterrupt }),
|
|
@@ -6834,6 +6890,9 @@ const serializeAws_restJson1PromptSpecification = (input, context) => {
|
|
|
6834
6890
|
messageGroups: serializeAws_restJson1MessageGroupsList(input.messageGroups, context),
|
|
6835
6891
|
}),
|
|
6836
6892
|
...(input.messageSelectionStrategy != null && { messageSelectionStrategy: input.messageSelectionStrategy }),
|
|
6893
|
+
...(input.promptAttemptsSpecification != null && {
|
|
6894
|
+
promptAttemptsSpecification: serializeAws_restJson1PromptAttemptsSpecificationMap(input.promptAttemptsSpecification, context),
|
|
6895
|
+
}),
|
|
6837
6896
|
};
|
|
6838
6897
|
};
|
|
6839
6898
|
const serializeAws_restJson1RelativeAggregationDuration = (input, context) => {
|
|
@@ -7169,6 +7228,11 @@ const serializeAws_restJson1TagMap = (input, context) => {
|
|
|
7169
7228
|
};
|
|
7170
7229
|
}, {});
|
|
7171
7230
|
};
|
|
7231
|
+
const serializeAws_restJson1TextInputSpecification = (input, context) => {
|
|
7232
|
+
return {
|
|
7233
|
+
...(input.startTimeoutMs != null && { startTimeoutMs: input.startTimeoutMs }),
|
|
7234
|
+
};
|
|
7235
|
+
};
|
|
7172
7236
|
const serializeAws_restJson1TextLogDestination = (input, context) => {
|
|
7173
7237
|
return {
|
|
7174
7238
|
...(input.cloudWatch != null && {
|
|
@@ -7262,6 +7326,12 @@ const deserializeAws_restJson1AggregatedUtterancesSummaryList = (output, context
|
|
|
7262
7326
|
});
|
|
7263
7327
|
return retVal;
|
|
7264
7328
|
};
|
|
7329
|
+
const deserializeAws_restJson1AllowedInputTypes = (output, context) => {
|
|
7330
|
+
return {
|
|
7331
|
+
allowAudioInput: (0, smithy_client_1.expectBoolean)(output.allowAudioInput),
|
|
7332
|
+
allowDTMFInput: (0, smithy_client_1.expectBoolean)(output.allowDTMFInput),
|
|
7333
|
+
};
|
|
7334
|
+
};
|
|
7265
7335
|
const deserializeAws_restJson1AssociatedTranscript = (output, context) => {
|
|
7266
7336
|
return {
|
|
7267
7337
|
transcript: (0, smithy_client_1.expectString)(output.transcript),
|
|
@@ -7278,6 +7348,17 @@ const deserializeAws_restJson1AssociatedTranscriptList = (output, context) => {
|
|
|
7278
7348
|
});
|
|
7279
7349
|
return retVal;
|
|
7280
7350
|
};
|
|
7351
|
+
const deserializeAws_restJson1AudioAndDTMFInputSpecification = (output, context) => {
|
|
7352
|
+
return {
|
|
7353
|
+
audioSpecification: output.audioSpecification != null
|
|
7354
|
+
? deserializeAws_restJson1AudioSpecification(output.audioSpecification, context)
|
|
7355
|
+
: undefined,
|
|
7356
|
+
dtmfSpecification: output.dtmfSpecification != null
|
|
7357
|
+
? deserializeAws_restJson1DTMFSpecification(output.dtmfSpecification, context)
|
|
7358
|
+
: undefined,
|
|
7359
|
+
startTimeoutMs: (0, smithy_client_1.expectInt32)(output.startTimeoutMs),
|
|
7360
|
+
};
|
|
7361
|
+
};
|
|
7281
7362
|
const deserializeAws_restJson1AudioLogDestination = (output, context) => {
|
|
7282
7363
|
return {
|
|
7283
7364
|
s3Bucket: output.s3Bucket != null ? deserializeAws_restJson1S3BucketLogDestination(output.s3Bucket, context) : undefined,
|
|
@@ -7300,6 +7381,12 @@ const deserializeAws_restJson1AudioLogSettingsList = (output, context) => {
|
|
|
7300
7381
|
});
|
|
7301
7382
|
return retVal;
|
|
7302
7383
|
};
|
|
7384
|
+
const deserializeAws_restJson1AudioSpecification = (output, context) => {
|
|
7385
|
+
return {
|
|
7386
|
+
endTimeoutMs: (0, smithy_client_1.expectInt32)(output.endTimeoutMs),
|
|
7387
|
+
maxLengthMs: (0, smithy_client_1.expectInt32)(output.maxLengthMs),
|
|
7388
|
+
};
|
|
7389
|
+
};
|
|
7303
7390
|
const deserializeAws_restJson1BotAliasHistoryEvent = (output, context) => {
|
|
7304
7391
|
return {
|
|
7305
7392
|
botVersion: (0, smithy_client_1.expectString)(output.botVersion),
|
|
@@ -7721,6 +7808,14 @@ const deserializeAws_restJson1DialogState = (output, context) => {
|
|
|
7721
7808
|
: undefined,
|
|
7722
7809
|
};
|
|
7723
7810
|
};
|
|
7811
|
+
const deserializeAws_restJson1DTMFSpecification = (output, context) => {
|
|
7812
|
+
return {
|
|
7813
|
+
deletionCharacter: (0, smithy_client_1.expectString)(output.deletionCharacter),
|
|
7814
|
+
endCharacter: (0, smithy_client_1.expectString)(output.endCharacter),
|
|
7815
|
+
endTimeoutMs: (0, smithy_client_1.expectInt32)(output.endTimeoutMs),
|
|
7816
|
+
maxLength: (0, smithy_client_1.expectInt32)(output.maxLength),
|
|
7817
|
+
};
|
|
7818
|
+
};
|
|
7724
7819
|
const deserializeAws_restJson1ElicitationCodeHookInvocationSetting = (output, context) => {
|
|
7725
7820
|
return {
|
|
7726
7821
|
enableCodeHookInvocation: (0, smithy_client_1.expectBoolean)(output.enableCodeHookInvocation),
|
|
@@ -8175,6 +8270,31 @@ const deserializeAws_restJson1PostFulfillmentStatusSpecification = (output, cont
|
|
|
8175
8270
|
: undefined,
|
|
8176
8271
|
};
|
|
8177
8272
|
};
|
|
8273
|
+
const deserializeAws_restJson1PromptAttemptSpecification = (output, context) => {
|
|
8274
|
+
return {
|
|
8275
|
+
allowInterrupt: (0, smithy_client_1.expectBoolean)(output.allowInterrupt),
|
|
8276
|
+
allowedInputTypes: output.allowedInputTypes != null
|
|
8277
|
+
? deserializeAws_restJson1AllowedInputTypes(output.allowedInputTypes, context)
|
|
8278
|
+
: undefined,
|
|
8279
|
+
audioAndDTMFInputSpecification: output.audioAndDTMFInputSpecification != null
|
|
8280
|
+
? deserializeAws_restJson1AudioAndDTMFInputSpecification(output.audioAndDTMFInputSpecification, context)
|
|
8281
|
+
: undefined,
|
|
8282
|
+
textInputSpecification: output.textInputSpecification != null
|
|
8283
|
+
? deserializeAws_restJson1TextInputSpecification(output.textInputSpecification, context)
|
|
8284
|
+
: undefined,
|
|
8285
|
+
};
|
|
8286
|
+
};
|
|
8287
|
+
const deserializeAws_restJson1PromptAttemptsSpecificationMap = (output, context) => {
|
|
8288
|
+
return Object.entries(output).reduce((acc, [key, value]) => {
|
|
8289
|
+
if (value === null) {
|
|
8290
|
+
return acc;
|
|
8291
|
+
}
|
|
8292
|
+
return {
|
|
8293
|
+
...acc,
|
|
8294
|
+
[key]: deserializeAws_restJson1PromptAttemptSpecification(value, context),
|
|
8295
|
+
};
|
|
8296
|
+
}, {});
|
|
8297
|
+
};
|
|
8178
8298
|
const deserializeAws_restJson1PromptSpecification = (output, context) => {
|
|
8179
8299
|
return {
|
|
8180
8300
|
allowInterrupt: (0, smithy_client_1.expectBoolean)(output.allowInterrupt),
|
|
@@ -8183,6 +8303,9 @@ const deserializeAws_restJson1PromptSpecification = (output, context) => {
|
|
|
8183
8303
|
? deserializeAws_restJson1MessageGroupsList(output.messageGroups, context)
|
|
8184
8304
|
: undefined,
|
|
8185
8305
|
messageSelectionStrategy: (0, smithy_client_1.expectString)(output.messageSelectionStrategy),
|
|
8306
|
+
promptAttemptsSpecification: output.promptAttemptsSpecification != null
|
|
8307
|
+
? deserializeAws_restJson1PromptAttemptsSpecificationMap(output.promptAttemptsSpecification, context)
|
|
8308
|
+
: undefined,
|
|
8186
8309
|
};
|
|
8187
8310
|
};
|
|
8188
8311
|
const deserializeAws_restJson1RecommendedActions = (output, context) => {
|
|
@@ -8585,6 +8708,11 @@ const deserializeAws_restJson1TagMap = (output, context) => {
|
|
|
8585
8708
|
};
|
|
8586
8709
|
}, {});
|
|
8587
8710
|
};
|
|
8711
|
+
const deserializeAws_restJson1TextInputSpecification = (output, context) => {
|
|
8712
|
+
return {
|
|
8713
|
+
startTimeoutMs: (0, smithy_client_1.expectInt32)(output.startTimeoutMs),
|
|
8714
|
+
};
|
|
8715
|
+
};
|
|
8588
8716
|
const deserializeAws_restJson1TextLogDestination = (output, context) => {
|
|
8589
8717
|
return {
|
|
8590
8718
|
cloudWatch: output.cloudWatch != null
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { __extends } from "tslib";
|
|
2
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { UpdateSlotTypeRequestFilterSensitiveLog
|
|
4
|
+
import { UpdateSlotTypeRequestFilterSensitiveLog } from "../models/models_0";
|
|
5
|
+
import { UpdateSlotTypeResponseFilterSensitiveLog } from "../models/models_1";
|
|
5
6
|
import { deserializeAws_restJson1UpdateSlotTypeCommand, serializeAws_restJson1UpdateSlotTypeCommand, } from "../protocols/Aws_restJson1";
|
|
6
7
|
var UpdateSlotTypeCommand = (function (_super) {
|
|
7
8
|
__extends(UpdateSlotTypeCommand, _super);
|
|
@@ -232,6 +232,15 @@ export var MessageSelectionStrategy;
|
|
|
232
232
|
MessageSelectionStrategy["Ordered"] = "Ordered";
|
|
233
233
|
MessageSelectionStrategy["Random"] = "Random";
|
|
234
234
|
})(MessageSelectionStrategy || (MessageSelectionStrategy = {}));
|
|
235
|
+
export var PromptAttempt;
|
|
236
|
+
(function (PromptAttempt) {
|
|
237
|
+
PromptAttempt["Initial"] = "Initial";
|
|
238
|
+
PromptAttempt["Retry1"] = "Retry1";
|
|
239
|
+
PromptAttempt["Retry2"] = "Retry2";
|
|
240
|
+
PromptAttempt["Retry3"] = "Retry3";
|
|
241
|
+
PromptAttempt["Retry4"] = "Retry4";
|
|
242
|
+
PromptAttempt["Retry5"] = "Retry5";
|
|
243
|
+
})(PromptAttempt || (PromptAttempt = {}));
|
|
235
244
|
export var Effect;
|
|
236
245
|
(function (Effect) {
|
|
237
246
|
Effect["Allow"] = "Allow";
|
|
@@ -375,8 +384,12 @@ export var AdvancedRecognitionSettingFilterSensitiveLog = function (obj) { retur
|
|
|
375
384
|
export var AggregatedUtterancesFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
376
385
|
export var AggregatedUtterancesSortByFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
377
386
|
export var AggregatedUtterancesSummaryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
387
|
+
export var AllowedInputTypesFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
378
388
|
export var AssociatedTranscriptFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
379
389
|
export var AssociatedTranscriptFilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
390
|
+
export var AudioSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
391
|
+
export var DTMFSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
392
|
+
export var AudioAndDTMFInputSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
380
393
|
export var S3BucketLogDestinationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
381
394
|
export var AudioLogDestinationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
382
395
|
export var AudioLogSettingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -448,6 +461,8 @@ export var FulfillmentUpdateResponseSpecificationFilterSensitiveLog = function (
|
|
|
448
461
|
export var FulfillmentUpdatesSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
449
462
|
export var InputContextFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
450
463
|
export var ElicitationCodeHookInvocationSettingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
464
|
+
export var TextInputSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
465
|
+
export var PromptAttemptSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
451
466
|
export var PromptSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
452
467
|
export var KendraConfigurationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
453
468
|
export var OutputContextFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -605,10 +620,3 @@ export var UpdateExportResponseFilterSensitiveLog = function (obj) { return (__a
|
|
|
605
620
|
export var UpdateResourcePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
606
621
|
export var UpdateResourcePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
607
622
|
export var UpdateSlotTypeRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
608
|
-
export var UpdateSlotTypeResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
609
|
-
export var SlotValueOverrideFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
610
|
-
export var IntentOverrideFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
611
|
-
export var DialogStateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
612
|
-
export var ConditionalBranchFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
613
|
-
export var DefaultConditionalBranchFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
614
|
-
export var ConditionalSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { __assign } from "tslib";
|
|
2
|
+
export var UpdateSlotTypeResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
3
|
+
export var SlotValueOverrideFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
4
|
+
export var IntentOverrideFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
|
+
export var DialogStateFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
6
|
+
export var ConditionalBranchFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
7
|
+
export var DefaultConditionalBranchFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
8
|
+
export var ConditionalSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
2
9
|
export var IntentClosingSettingFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
3
10
|
export var PostDialogCodeHookInvocationSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
4
11
|
export var PostFulfillmentStatusSpecificationFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|