@aws-sdk/client-lex-models-v2 3.44.0 → 3.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +29 -4
- package/dist-cjs/protocols/Aws_restJson1.js +81 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +19 -0
- package/dist-es/protocols/Aws_restJson1.js +73 -2
- package/dist-types/models/models_0.d.ts +131 -5
- package/dist-types/ts3.4/models/models_0.d.ts +55 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
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.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
|
|
7
18
|
|
|
8
19
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BotVersionSortBy = exports.BotVersionSortAttribute = exports.BotVersionLocaleDetails = exports.BotSummary = exports.BotStatus = exports.BotSortBy = exports.BotSortAttribute = exports.BotRecommendationSummary = exports.BotRecommendationStatus = exports.BotRecommendationResults = exports.BotRecommendationResultStatistics = exports.SlotTypeStatistics = exports.IntentStatistics = exports.BotLocaleSummary = exports.BotLocaleStatus = exports.BotLocaleSortBy = exports.BotLocaleSortAttribute = exports.BotLocaleImportSpecification = exports.VoiceSettings = exports.VoiceEngine = exports.BotLocaleHistoryEvent = exports.BotLocaleFilter = exports.BotLocaleFilterOperator = exports.BotLocaleFilterName = exports.BotLocaleExportSpecification = exports.BotImportSpecification = exports.DataPrivacy = exports.BotFilter = exports.BotFilterOperator = exports.BotFilterName = exports.BotExportSpecification = exports.BotAliasSummary = exports.BotAliasStatus = exports.BotAliasLocaleSettings = exports.CodeHookSpecification = exports.LambdaCodeHook = exports.BotAliasHistoryEvent = exports.AudioLogSetting = exports.AudioLogDestination = exports.S3BucketLogDestination = exports.AssociatedTranscriptFilter = exports.AssociatedTranscriptFilterName = exports.AssociatedTranscript = exports.AggregatedUtterancesSummary = exports.AggregatedUtterancesSortBy = exports.SortOrder = exports.AggregatedUtterancesSortAttribute = exports.AggregatedUtterancesFilter = exports.AggregatedUtterancesFilterOperator = exports.AggregatedUtterancesFilterName = void 0;
|
|
4
4
|
exports.IntentClosingSetting = exports.InputContext = exports.FulfillmentCodeHookSettings = exports.PostFulfillmentStatusSpecification = exports.ResponseSpecification = exports.FulfillmentUpdatesSpecification = exports.FulfillmentUpdateResponseSpecification = exports.FulfillmentStartResponseSpecification = exports.MessageGroup = exports.Message = exports.SSMLMessage = exports.PlainTextMessage = exports.ImageResponseCard = exports.CustomPayload = exports.DialogCodeHookSettings = exports.ResourceNotFoundException = exports.CreateExportResponse = exports.ExportStatus = exports.CreateExportRequest = exports.ExportResourceSpecification = exports.ImportExportFileFormat = exports.CreateBotVersionResponse = exports.CreateBotVersionRequest = exports.CreateBotLocaleResponse = exports.CreateBotLocaleRequest = exports.CreateBotAliasResponse = exports.CreateBotAliasRequest = exports.SentimentAnalysisSettings = exports.CreateBotResponse = exports.CreateBotRequest = exports.ConversationLogSettings = exports.TextLogSetting = exports.TextLogDestination = exports.CloudWatchLogGroupLogDestination = exports.Button = exports.BuiltInSlotTypeSummary = exports.BuiltInSlotTypeSortBy = exports.BuiltInSlotTypeSortAttribute = exports.BuiltInIntentSummary = exports.BuiltInIntentSortBy = exports.BuiltInIntentSortAttribute = exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.PreconditionFailedException = exports.InternalServerException = exports.ConflictException = exports.BuildBotLocaleResponse = exports.BuildBotLocaleRequest = exports.BotVersionSummary = void 0;
|
|
5
|
-
exports.
|
|
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 = void 0;
|
|
5
|
+
exports.DeleteImportResponse = exports.ImportStatus = exports.DeleteImportRequest = exports.DeleteExportResponse = exports.DeleteExportRequest = exports.DeleteBotVersionResponse = exports.DeleteBotVersionRequest = exports.DeleteBotLocaleResponse = exports.DeleteBotLocaleRequest = exports.DeleteBotAliasResponse = exports.DeleteBotAliasRequest = exports.DeleteBotResponse = exports.DeleteBotRequest = exports.DateRangeFilter = exports.CreateUploadUrlResponse = exports.CreateUploadUrlRequest = exports.CreateSlotTypeResponse = exports.CreateSlotTypeRequest = exports.SlotValueSelectionSetting = exports.SlotValueResolutionStrategy = exports.SlotValueRegexFilter = exports.SlotTypeValue = exports.SampleValue = exports.ExternalSourceSetting = exports.GrammarSlotTypeSetting = exports.GrammarSlotTypeSource = exports.CreateSlotResponse = exports.CreateSlotRequest = exports.SlotValueElicitationSetting = exports.WaitAndContinueSpecification = exports.StillWaitingResponseSpecification = exports.SlotConstraint = exports.SlotDefaultValueSpecification = exports.SlotDefaultValue = exports.ObfuscationSetting = exports.ObfuscationSettingType = exports.MultipleValuesSetting = exports.CreateResourcePolicyStatementResponse = exports.CreateResourcePolicyStatementRequest = exports.Principal = exports.Effect = exports.CreateResourcePolicyResponse = exports.CreateResourcePolicyRequest = exports.CreateIntentResponse = exports.CreateIntentRequest = exports.SampleUtterance = exports.OutputContext = exports.KendraConfiguration = exports.IntentConfirmationSetting = exports.PromptSpecification = void 0;
|
|
6
|
+
exports.ImportFilter = exports.ImportFilterOperator = exports.ImportFilterName = exports.ExportSummary = exports.ExportSortBy = exports.ExportSortAttribute = exports.ExportFilter = exports.ExportFilterOperator = exports.ExportFilterName = exports.DescribeSlotTypeResponse = exports.DescribeSlotTypeRequest = exports.DescribeSlotResponse = exports.DescribeSlotRequest = exports.DescribeResourcePolicyResponse = exports.DescribeResourcePolicyRequest = exports.DescribeIntentResponse = exports.SlotPriority = exports.DescribeIntentRequest = exports.DescribeImportResponse = exports.ImportResourceSpecification = exports.MergeStrategy = exports.DescribeImportRequest = exports.DescribeExportResponse = exports.DescribeExportRequest = exports.DescribeBotVersionResponse = exports.DescribeBotVersionRequest = exports.DescribeBotRecommendationResponse = exports.TranscriptSourceSetting = exports.S3BucketTranscriptSource = exports.TranscriptFormat = exports.TranscriptFilter = exports.LexTranscriptFilter = exports.PathFormat = exports.EncryptionSetting = exports.DescribeBotRecommendationRequest = exports.DescribeBotLocaleResponse = exports.DescribeBotLocaleRequest = exports.DescribeBotAliasResponse = exports.DescribeBotAliasRequest = exports.DescribeBotResponse = exports.DescribeBotRequest = exports.DeleteUtterancesResponse = exports.DeleteUtterancesRequest = exports.DeleteSlotTypeRequest = exports.DeleteSlotRequest = exports.DeleteResourcePolicyStatementResponse = exports.DeleteResourcePolicyStatementRequest = exports.DeleteResourcePolicyResponse = exports.DeleteResourcePolicyRequest = exports.DeleteIntentRequest = void 0;
|
|
7
|
+
exports.SlotTypeSortBy = exports.SlotTypeSortAttribute = exports.SlotTypeFilter = exports.SlotTypeFilterOperator = exports.SlotTypeFilterName = exports.ListSlotsResponse = exports.SlotSummary = exports.ListSlotsRequest = exports.SlotSortBy = exports.SlotSortAttribute = exports.SlotFilter = exports.SlotFilterOperator = exports.SlotFilterName = exports.ListRecommendedIntentsResponse = exports.RecommendedIntentSummary = exports.ListRecommendedIntentsRequest = exports.ListIntentsResponse = exports.ListIntentsRequest = exports.ListImportsResponse = exports.ListImportsRequest = exports.ListExportsResponse = exports.ListExportsRequest = exports.ListBuiltInSlotTypesResponse = exports.ListBuiltInSlotTypesRequest = exports.ListBuiltInIntentsResponse = exports.ListBuiltInIntentsRequest = exports.ListBotVersionsResponse = exports.ListBotVersionsRequest = exports.ListBotsResponse = exports.ListBotsRequest = exports.ListBotRecommendationsResponse = exports.ListBotRecommendationsRequest = exports.ListBotLocalesResponse = exports.ListBotLocalesRequest = exports.ListBotAliasesResponse = exports.ListBotAliasesRequest = exports.ListAggregatedUtterancesResponse = exports.ListAggregatedUtterancesRequest = exports.UtteranceAggregationDuration = exports.RelativeAggregationDuration = exports.TimeDimension = exports.IntentSummary = exports.IntentSortBy = exports.IntentSortAttribute = exports.IntentFilter = exports.IntentFilterOperator = exports.IntentFilterName = exports.ImportSummary = exports.ImportSortBy = exports.ImportSortAttribute = void 0;
|
|
8
|
+
exports.UpdateSlotTypeResponse = exports.UpdateSlotTypeRequest = exports.UpdateSlotResponse = exports.UpdateSlotRequest = exports.UpdateResourcePolicyResponse = exports.UpdateResourcePolicyRequest = exports.UpdateIntentResponse = exports.UpdateIntentRequest = exports.UpdateExportResponse = exports.UpdateExportRequest = exports.UpdateBotRecommendationResponse = exports.UpdateBotRecommendationRequest = exports.UpdateBotLocaleResponse = exports.UpdateBotLocaleRequest = exports.UpdateBotAliasResponse = exports.UpdateBotAliasRequest = exports.UpdateBotResponse = exports.UpdateBotRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.StartImportResponse = exports.StartImportRequest = exports.StartBotRecommendationResponse = exports.StartBotRecommendationRequest = exports.SearchAssociatedTranscriptsResponse = exports.SearchAssociatedTranscriptsRequest = exports.SearchOrder = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSlotTypesResponse = exports.SlotTypeSummary = exports.SlotTypeCategory = exports.ListSlotTypesRequest = void 0;
|
|
9
9
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
10
10
|
var AggregatedUtterancesFilterName;
|
|
11
11
|
(function (AggregatedUtterancesFilterName) {
|
|
@@ -740,6 +740,24 @@ var CreateSlotResponse;
|
|
|
740
740
|
...obj,
|
|
741
741
|
});
|
|
742
742
|
})(CreateSlotResponse = exports.CreateSlotResponse || (exports.CreateSlotResponse = {}));
|
|
743
|
+
var GrammarSlotTypeSource;
|
|
744
|
+
(function (GrammarSlotTypeSource) {
|
|
745
|
+
GrammarSlotTypeSource.filterSensitiveLog = (obj) => ({
|
|
746
|
+
...obj,
|
|
747
|
+
});
|
|
748
|
+
})(GrammarSlotTypeSource = exports.GrammarSlotTypeSource || (exports.GrammarSlotTypeSource = {}));
|
|
749
|
+
var GrammarSlotTypeSetting;
|
|
750
|
+
(function (GrammarSlotTypeSetting) {
|
|
751
|
+
GrammarSlotTypeSetting.filterSensitiveLog = (obj) => ({
|
|
752
|
+
...obj,
|
|
753
|
+
});
|
|
754
|
+
})(GrammarSlotTypeSetting = exports.GrammarSlotTypeSetting || (exports.GrammarSlotTypeSetting = {}));
|
|
755
|
+
var ExternalSourceSetting;
|
|
756
|
+
(function (ExternalSourceSetting) {
|
|
757
|
+
ExternalSourceSetting.filterSensitiveLog = (obj) => ({
|
|
758
|
+
...obj,
|
|
759
|
+
});
|
|
760
|
+
})(ExternalSourceSetting = exports.ExternalSourceSetting || (exports.ExternalSourceSetting = {}));
|
|
743
761
|
var SampleValue;
|
|
744
762
|
(function (SampleValue) {
|
|
745
763
|
SampleValue.filterSensitiveLog = (obj) => ({
|
|
@@ -1433,6 +1451,7 @@ var ListSlotsResponse;
|
|
|
1433
1451
|
})(ListSlotsResponse = exports.ListSlotsResponse || (exports.ListSlotsResponse = {}));
|
|
1434
1452
|
var SlotTypeFilterName;
|
|
1435
1453
|
(function (SlotTypeFilterName) {
|
|
1454
|
+
SlotTypeFilterName["ExternalSourceType"] = "ExternalSourceType";
|
|
1436
1455
|
SlotTypeFilterName["SlotTypeName"] = "SlotTypeName";
|
|
1437
1456
|
})(SlotTypeFilterName = exports.SlotTypeFilterName || (exports.SlotTypeFilterName = {}));
|
|
1438
1457
|
var SlotTypeFilterOperator;
|
|
@@ -1463,6 +1482,12 @@ var ListSlotTypesRequest;
|
|
|
1463
1482
|
...obj,
|
|
1464
1483
|
});
|
|
1465
1484
|
})(ListSlotTypesRequest = exports.ListSlotTypesRequest || (exports.ListSlotTypesRequest = {}));
|
|
1485
|
+
var SlotTypeCategory;
|
|
1486
|
+
(function (SlotTypeCategory) {
|
|
1487
|
+
SlotTypeCategory["Custom"] = "Custom";
|
|
1488
|
+
SlotTypeCategory["Extended"] = "Extended";
|
|
1489
|
+
SlotTypeCategory["ExternalGrammar"] = "ExternalGrammar";
|
|
1490
|
+
})(SlotTypeCategory = exports.SlotTypeCategory || (exports.SlotTypeCategory = {}));
|
|
1466
1491
|
var SlotTypeSummary;
|
|
1467
1492
|
(function (SlotTypeSummary) {
|
|
1468
1493
|
SlotTypeSummary.filterSensitiveLog = (obj) => ({
|
|
@@ -519,6 +519,10 @@ const serializeAws_restJson1CreateSlotTypeCommand = async (input, context) => {
|
|
|
519
519
|
let body;
|
|
520
520
|
body = JSON.stringify({
|
|
521
521
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
522
|
+
...(input.externalSourceSetting !== undefined &&
|
|
523
|
+
input.externalSourceSetting !== null && {
|
|
524
|
+
externalSourceSetting: serializeAws_restJson1ExternalSourceSetting(input.externalSourceSetting, context),
|
|
525
|
+
}),
|
|
522
526
|
...(input.parentSlotTypeSignature !== undefined &&
|
|
523
527
|
input.parentSlotTypeSignature !== null && { parentSlotTypeSignature: input.parentSlotTypeSignature }),
|
|
524
528
|
...(input.slotTypeName !== undefined && input.slotTypeName !== null && { slotTypeName: input.slotTypeName }),
|
|
@@ -2888,6 +2892,10 @@ const serializeAws_restJson1UpdateSlotTypeCommand = async (input, context) => {
|
|
|
2888
2892
|
let body;
|
|
2889
2893
|
body = JSON.stringify({
|
|
2890
2894
|
...(input.description !== undefined && input.description !== null && { description: input.description }),
|
|
2895
|
+
...(input.externalSourceSetting !== undefined &&
|
|
2896
|
+
input.externalSourceSetting !== null && {
|
|
2897
|
+
externalSourceSetting: serializeAws_restJson1ExternalSourceSetting(input.externalSourceSetting, context),
|
|
2898
|
+
}),
|
|
2891
2899
|
...(input.parentSlotTypeSignature !== undefined &&
|
|
2892
2900
|
input.parentSlotTypeSignature !== null && { parentSlotTypeSignature: input.parentSlotTypeSignature }),
|
|
2893
2901
|
...(input.slotTypeName !== undefined && input.slotTypeName !== null && { slotTypeName: input.slotTypeName }),
|
|
@@ -4081,6 +4089,7 @@ const deserializeAws_restJson1CreateSlotTypeCommand = async (output, context) =>
|
|
|
4081
4089
|
botVersion: undefined,
|
|
4082
4090
|
creationDateTime: undefined,
|
|
4083
4091
|
description: undefined,
|
|
4092
|
+
externalSourceSetting: undefined,
|
|
4084
4093
|
localeId: undefined,
|
|
4085
4094
|
parentSlotTypeSignature: undefined,
|
|
4086
4095
|
slotTypeId: undefined,
|
|
@@ -4101,6 +4110,9 @@ const deserializeAws_restJson1CreateSlotTypeCommand = async (output, context) =>
|
|
|
4101
4110
|
if (data.description !== undefined && data.description !== null) {
|
|
4102
4111
|
contents.description = smithy_client_1.expectString(data.description);
|
|
4103
4112
|
}
|
|
4113
|
+
if (data.externalSourceSetting !== undefined && data.externalSourceSetting !== null) {
|
|
4114
|
+
contents.externalSourceSetting = deserializeAws_restJson1ExternalSourceSetting(data.externalSourceSetting, context);
|
|
4115
|
+
}
|
|
4104
4116
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
4105
4117
|
contents.localeId = smithy_client_1.expectString(data.localeId);
|
|
4106
4118
|
}
|
|
@@ -5550,6 +5562,7 @@ const deserializeAws_restJson1DescribeBotLocaleCommand = async (output, context)
|
|
|
5550
5562
|
localeId: undefined,
|
|
5551
5563
|
localeName: undefined,
|
|
5552
5564
|
nluIntentConfidenceThreshold: undefined,
|
|
5565
|
+
recommendedActions: undefined,
|
|
5553
5566
|
slotTypesCount: undefined,
|
|
5554
5567
|
voiceSettings: undefined,
|
|
5555
5568
|
};
|
|
@@ -5593,6 +5606,9 @@ const deserializeAws_restJson1DescribeBotLocaleCommand = async (output, context)
|
|
|
5593
5606
|
if (data.nluIntentConfidenceThreshold !== undefined && data.nluIntentConfidenceThreshold !== null) {
|
|
5594
5607
|
contents.nluIntentConfidenceThreshold = smithy_client_1.limitedParseDouble(data.nluIntentConfidenceThreshold);
|
|
5595
5608
|
}
|
|
5609
|
+
if (data.recommendedActions !== undefined && data.recommendedActions !== null) {
|
|
5610
|
+
contents.recommendedActions = deserializeAws_restJson1RecommendedActions(data.recommendedActions, context);
|
|
5611
|
+
}
|
|
5596
5612
|
if (data.slotTypesCount !== undefined && data.slotTypesCount !== null) {
|
|
5597
5613
|
contents.slotTypesCount = smithy_client_1.expectInt32(data.slotTypesCount);
|
|
5598
5614
|
}
|
|
@@ -6457,6 +6473,7 @@ const deserializeAws_restJson1DescribeSlotTypeCommand = async (output, context)
|
|
|
6457
6473
|
botVersion: undefined,
|
|
6458
6474
|
creationDateTime: undefined,
|
|
6459
6475
|
description: undefined,
|
|
6476
|
+
externalSourceSetting: undefined,
|
|
6460
6477
|
lastUpdatedDateTime: undefined,
|
|
6461
6478
|
localeId: undefined,
|
|
6462
6479
|
parentSlotTypeSignature: undefined,
|
|
@@ -6478,6 +6495,9 @@ const deserializeAws_restJson1DescribeSlotTypeCommand = async (output, context)
|
|
|
6478
6495
|
if (data.description !== undefined && data.description !== null) {
|
|
6479
6496
|
contents.description = smithy_client_1.expectString(data.description);
|
|
6480
6497
|
}
|
|
6498
|
+
if (data.externalSourceSetting !== undefined && data.externalSourceSetting !== null) {
|
|
6499
|
+
contents.externalSourceSetting = deserializeAws_restJson1ExternalSourceSetting(data.externalSourceSetting, context);
|
|
6500
|
+
}
|
|
6481
6501
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
6482
6502
|
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
6483
6503
|
}
|
|
@@ -8567,6 +8587,7 @@ const deserializeAws_restJson1UpdateBotLocaleCommand = async (output, context) =
|
|
|
8567
8587
|
localeId: undefined,
|
|
8568
8588
|
localeName: undefined,
|
|
8569
8589
|
nluIntentConfidenceThreshold: undefined,
|
|
8590
|
+
recommendedActions: undefined,
|
|
8570
8591
|
voiceSettings: undefined,
|
|
8571
8592
|
};
|
|
8572
8593
|
const data = smithy_client_1.expectNonNull(smithy_client_1.expectObject(await parseBody(output.body, context)), "body");
|
|
@@ -8600,6 +8621,9 @@ const deserializeAws_restJson1UpdateBotLocaleCommand = async (output, context) =
|
|
|
8600
8621
|
if (data.nluIntentConfidenceThreshold !== undefined && data.nluIntentConfidenceThreshold !== null) {
|
|
8601
8622
|
contents.nluIntentConfidenceThreshold = smithy_client_1.limitedParseDouble(data.nluIntentConfidenceThreshold);
|
|
8602
8623
|
}
|
|
8624
|
+
if (data.recommendedActions !== undefined && data.recommendedActions !== null) {
|
|
8625
|
+
contents.recommendedActions = deserializeAws_restJson1RecommendedActions(data.recommendedActions, context);
|
|
8626
|
+
}
|
|
8603
8627
|
if (data.voiceSettings !== undefined && data.voiceSettings !== null) {
|
|
8604
8628
|
contents.voiceSettings = deserializeAws_restJson1VoiceSettings(data.voiceSettings, context);
|
|
8605
8629
|
}
|
|
@@ -9309,6 +9333,7 @@ const deserializeAws_restJson1UpdateSlotTypeCommand = async (output, context) =>
|
|
|
9309
9333
|
botVersion: undefined,
|
|
9310
9334
|
creationDateTime: undefined,
|
|
9311
9335
|
description: undefined,
|
|
9336
|
+
externalSourceSetting: undefined,
|
|
9312
9337
|
lastUpdatedDateTime: undefined,
|
|
9313
9338
|
localeId: undefined,
|
|
9314
9339
|
parentSlotTypeSignature: undefined,
|
|
@@ -9330,6 +9355,9 @@ const deserializeAws_restJson1UpdateSlotTypeCommand = async (output, context) =>
|
|
|
9330
9355
|
if (data.description !== undefined && data.description !== null) {
|
|
9331
9356
|
contents.description = smithy_client_1.expectString(data.description);
|
|
9332
9357
|
}
|
|
9358
|
+
if (data.externalSourceSetting !== undefined && data.externalSourceSetting !== null) {
|
|
9359
|
+
contents.externalSourceSetting = deserializeAws_restJson1ExternalSourceSetting(data.externalSourceSetting, context);
|
|
9360
|
+
}
|
|
9333
9361
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
9334
9362
|
contents.lastUpdatedDateTime = smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(data.lastUpdatedDateTime)));
|
|
9335
9363
|
}
|
|
@@ -9870,6 +9898,14 @@ const serializeAws_restJson1ExportSortBy = (input, context) => {
|
|
|
9870
9898
|
...(input.order !== undefined && input.order !== null && { order: input.order }),
|
|
9871
9899
|
};
|
|
9872
9900
|
};
|
|
9901
|
+
const serializeAws_restJson1ExternalSourceSetting = (input, context) => {
|
|
9902
|
+
return {
|
|
9903
|
+
...(input.grammarSlotTypeSetting !== undefined &&
|
|
9904
|
+
input.grammarSlotTypeSetting !== null && {
|
|
9905
|
+
grammarSlotTypeSetting: serializeAws_restJson1GrammarSlotTypeSetting(input.grammarSlotTypeSetting, context),
|
|
9906
|
+
}),
|
|
9907
|
+
};
|
|
9908
|
+
};
|
|
9873
9909
|
const serializeAws_restJson1FilterValues = (input, context) => {
|
|
9874
9910
|
return input
|
|
9875
9911
|
.filter((e) => e != null)
|
|
@@ -9932,6 +9968,19 @@ const serializeAws_restJson1FulfillmentUpdatesSpecification = (input, context) =
|
|
|
9932
9968
|
}),
|
|
9933
9969
|
};
|
|
9934
9970
|
};
|
|
9971
|
+
const serializeAws_restJson1GrammarSlotTypeSetting = (input, context) => {
|
|
9972
|
+
return {
|
|
9973
|
+
...(input.source !== undefined &&
|
|
9974
|
+
input.source !== null && { source: serializeAws_restJson1GrammarSlotTypeSource(input.source, context) }),
|
|
9975
|
+
};
|
|
9976
|
+
};
|
|
9977
|
+
const serializeAws_restJson1GrammarSlotTypeSource = (input, context) => {
|
|
9978
|
+
return {
|
|
9979
|
+
...(input.kmsKeyArn !== undefined && input.kmsKeyArn !== null && { kmsKeyArn: input.kmsKeyArn }),
|
|
9980
|
+
...(input.s3BucketName !== undefined && input.s3BucketName !== null && { s3BucketName: input.s3BucketName }),
|
|
9981
|
+
...(input.s3ObjectKey !== undefined && input.s3ObjectKey !== null && { s3ObjectKey: input.s3ObjectKey }),
|
|
9982
|
+
};
|
|
9983
|
+
};
|
|
9935
9984
|
const serializeAws_restJson1ImageResponseCard = (input, context) => {
|
|
9936
9985
|
return {
|
|
9937
9986
|
...(input.buttons !== undefined &&
|
|
@@ -10987,6 +11036,13 @@ const deserializeAws_restJson1ExportSummaryList = (output, context) => {
|
|
|
10987
11036
|
return deserializeAws_restJson1ExportSummary(entry, context);
|
|
10988
11037
|
});
|
|
10989
11038
|
};
|
|
11039
|
+
const deserializeAws_restJson1ExternalSourceSetting = (output, context) => {
|
|
11040
|
+
return {
|
|
11041
|
+
grammarSlotTypeSetting: output.grammarSlotTypeSetting !== undefined && output.grammarSlotTypeSetting !== null
|
|
11042
|
+
? deserializeAws_restJson1GrammarSlotTypeSetting(output.grammarSlotTypeSetting, context)
|
|
11043
|
+
: undefined,
|
|
11044
|
+
};
|
|
11045
|
+
};
|
|
10990
11046
|
const deserializeAws_restJson1FailureReasons = (output, context) => {
|
|
10991
11047
|
return (output || [])
|
|
10992
11048
|
.filter((e) => e != null)
|
|
@@ -11038,6 +11094,20 @@ const deserializeAws_restJson1FulfillmentUpdatesSpecification = (output, context
|
|
|
11038
11094
|
: undefined,
|
|
11039
11095
|
};
|
|
11040
11096
|
};
|
|
11097
|
+
const deserializeAws_restJson1GrammarSlotTypeSetting = (output, context) => {
|
|
11098
|
+
return {
|
|
11099
|
+
source: output.source !== undefined && output.source !== null
|
|
11100
|
+
? deserializeAws_restJson1GrammarSlotTypeSource(output.source, context)
|
|
11101
|
+
: undefined,
|
|
11102
|
+
};
|
|
11103
|
+
};
|
|
11104
|
+
const deserializeAws_restJson1GrammarSlotTypeSource = (output, context) => {
|
|
11105
|
+
return {
|
|
11106
|
+
kmsKeyArn: smithy_client_1.expectString(output.kmsKeyArn),
|
|
11107
|
+
s3BucketName: smithy_client_1.expectString(output.s3BucketName),
|
|
11108
|
+
s3ObjectKey: smithy_client_1.expectString(output.s3ObjectKey),
|
|
11109
|
+
};
|
|
11110
|
+
};
|
|
11041
11111
|
const deserializeAws_restJson1ImageResponseCard = (output, context) => {
|
|
11042
11112
|
return {
|
|
11043
11113
|
buttons: output.buttons !== undefined && output.buttons !== null
|
|
@@ -11286,6 +11356,16 @@ const deserializeAws_restJson1PromptSpecification = (output, context) => {
|
|
|
11286
11356
|
: undefined,
|
|
11287
11357
|
};
|
|
11288
11358
|
};
|
|
11359
|
+
const deserializeAws_restJson1RecommendedActions = (output, context) => {
|
|
11360
|
+
return (output || [])
|
|
11361
|
+
.filter((e) => e != null)
|
|
11362
|
+
.map((entry) => {
|
|
11363
|
+
if (entry === null) {
|
|
11364
|
+
return null;
|
|
11365
|
+
}
|
|
11366
|
+
return smithy_client_1.expectString(entry);
|
|
11367
|
+
});
|
|
11368
|
+
};
|
|
11289
11369
|
const deserializeAws_restJson1RecommendedIntentSummary = (output, context) => {
|
|
11290
11370
|
return {
|
|
11291
11371
|
intentId: smithy_client_1.expectString(output.intentId),
|
|
@@ -11437,6 +11517,7 @@ const deserializeAws_restJson1SlotTypeSummary = (output, context) => {
|
|
|
11437
11517
|
? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.lastUpdatedDateTime)))
|
|
11438
11518
|
: undefined,
|
|
11439
11519
|
parentSlotTypeSignature: smithy_client_1.expectString(output.parentSlotTypeSignature),
|
|
11520
|
+
slotTypeCategory: smithy_client_1.expectString(output.slotTypeCategory),
|
|
11440
11521
|
slotTypeId: smithy_client_1.expectString(output.slotTypeId),
|
|
11441
11522
|
slotTypeName: smithy_client_1.expectString(output.slotTypeName),
|
|
11442
11523
|
};
|
package/dist-es/endpoints.js
CHANGED
|
@@ -532,6 +532,18 @@ export var CreateSlotResponse;
|
|
|
532
532
|
(function (CreateSlotResponse) {
|
|
533
533
|
CreateSlotResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
534
534
|
})(CreateSlotResponse || (CreateSlotResponse = {}));
|
|
535
|
+
export var GrammarSlotTypeSource;
|
|
536
|
+
(function (GrammarSlotTypeSource) {
|
|
537
|
+
GrammarSlotTypeSource.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
538
|
+
})(GrammarSlotTypeSource || (GrammarSlotTypeSource = {}));
|
|
539
|
+
export var GrammarSlotTypeSetting;
|
|
540
|
+
(function (GrammarSlotTypeSetting) {
|
|
541
|
+
GrammarSlotTypeSetting.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
542
|
+
})(GrammarSlotTypeSetting || (GrammarSlotTypeSetting = {}));
|
|
543
|
+
export var ExternalSourceSetting;
|
|
544
|
+
(function (ExternalSourceSetting) {
|
|
545
|
+
ExternalSourceSetting.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
546
|
+
})(ExternalSourceSetting || (ExternalSourceSetting = {}));
|
|
535
547
|
export var SampleValue;
|
|
536
548
|
(function (SampleValue) {
|
|
537
549
|
SampleValue.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1020,6 +1032,7 @@ export var ListSlotsResponse;
|
|
|
1020
1032
|
})(ListSlotsResponse || (ListSlotsResponse = {}));
|
|
1021
1033
|
export var SlotTypeFilterName;
|
|
1022
1034
|
(function (SlotTypeFilterName) {
|
|
1035
|
+
SlotTypeFilterName["ExternalSourceType"] = "ExternalSourceType";
|
|
1023
1036
|
SlotTypeFilterName["SlotTypeName"] = "SlotTypeName";
|
|
1024
1037
|
})(SlotTypeFilterName || (SlotTypeFilterName = {}));
|
|
1025
1038
|
export var SlotTypeFilterOperator;
|
|
@@ -1044,6 +1057,12 @@ export var ListSlotTypesRequest;
|
|
|
1044
1057
|
(function (ListSlotTypesRequest) {
|
|
1045
1058
|
ListSlotTypesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1046
1059
|
})(ListSlotTypesRequest || (ListSlotTypesRequest = {}));
|
|
1060
|
+
export var SlotTypeCategory;
|
|
1061
|
+
(function (SlotTypeCategory) {
|
|
1062
|
+
SlotTypeCategory["Custom"] = "Custom";
|
|
1063
|
+
SlotTypeCategory["Extended"] = "Extended";
|
|
1064
|
+
SlotTypeCategory["ExternalGrammar"] = "ExternalGrammar";
|
|
1065
|
+
})(SlotTypeCategory || (SlotTypeCategory = {}));
|
|
1047
1066
|
export var SlotTypeSummary;
|
|
1048
1067
|
(function (SlotTypeSummary) {
|
|
1049
1068
|
SlotTypeSummary.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -510,7 +510,10 @@ export var serializeAws_restJson1CreateSlotTypeCommand = function (input, contex
|
|
|
510
510
|
else {
|
|
511
511
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
512
512
|
}
|
|
513
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.description !== undefined && input.description !== null && { description: input.description })), (input.
|
|
513
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description !== undefined && input.description !== null && { description: input.description })), (input.externalSourceSetting !== undefined &&
|
|
514
|
+
input.externalSourceSetting !== null && {
|
|
515
|
+
externalSourceSetting: serializeAws_restJson1ExternalSourceSetting(input.externalSourceSetting, context),
|
|
516
|
+
})), (input.parentSlotTypeSignature !== undefined &&
|
|
514
517
|
input.parentSlotTypeSignature !== null && { parentSlotTypeSignature: input.parentSlotTypeSignature })), (input.slotTypeName !== undefined && input.slotTypeName !== null && { slotTypeName: input.slotTypeName })), (input.slotTypeValues !== undefined &&
|
|
515
518
|
input.slotTypeValues !== null && {
|
|
516
519
|
slotTypeValues: serializeAws_restJson1SlotTypeValues(input.slotTypeValues, context),
|
|
@@ -2992,7 +2995,10 @@ export var serializeAws_restJson1UpdateSlotTypeCommand = function (input, contex
|
|
|
2992
2995
|
else {
|
|
2993
2996
|
throw new Error("No value provided for input HTTP label: localeId.");
|
|
2994
2997
|
}
|
|
2995
|
-
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.description !== undefined && input.description !== null && { description: input.description })), (input.
|
|
2998
|
+
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.description !== undefined && input.description !== null && { description: input.description })), (input.externalSourceSetting !== undefined &&
|
|
2999
|
+
input.externalSourceSetting !== null && {
|
|
3000
|
+
externalSourceSetting: serializeAws_restJson1ExternalSourceSetting(input.externalSourceSetting, context),
|
|
3001
|
+
})), (input.parentSlotTypeSignature !== undefined &&
|
|
2996
3002
|
input.parentSlotTypeSignature !== null && { parentSlotTypeSignature: input.parentSlotTypeSignature })), (input.slotTypeName !== undefined && input.slotTypeName !== null && { slotTypeName: input.slotTypeName })), (input.slotTypeValues !== undefined &&
|
|
2997
3003
|
input.slotTypeValues !== null && {
|
|
2998
3004
|
slotTypeValues: serializeAws_restJson1SlotTypeValues(input.slotTypeValues, context),
|
|
@@ -4326,6 +4332,7 @@ export var deserializeAws_restJson1CreateSlotTypeCommand = function (output, con
|
|
|
4326
4332
|
botVersion: undefined,
|
|
4327
4333
|
creationDateTime: undefined,
|
|
4328
4334
|
description: undefined,
|
|
4335
|
+
externalSourceSetting: undefined,
|
|
4329
4336
|
localeId: undefined,
|
|
4330
4337
|
parentSlotTypeSignature: undefined,
|
|
4331
4338
|
slotTypeId: undefined,
|
|
@@ -4350,6 +4357,9 @@ export var deserializeAws_restJson1CreateSlotTypeCommand = function (output, con
|
|
|
4350
4357
|
if (data.description !== undefined && data.description !== null) {
|
|
4351
4358
|
contents.description = __expectString(data.description);
|
|
4352
4359
|
}
|
|
4360
|
+
if (data.externalSourceSetting !== undefined && data.externalSourceSetting !== null) {
|
|
4361
|
+
contents.externalSourceSetting = deserializeAws_restJson1ExternalSourceSetting(data.externalSourceSetting, context);
|
|
4362
|
+
}
|
|
4353
4363
|
if (data.localeId !== undefined && data.localeId !== null) {
|
|
4354
4364
|
contents.localeId = __expectString(data.localeId);
|
|
4355
4365
|
}
|
|
@@ -6011,6 +6021,7 @@ export var deserializeAws_restJson1DescribeBotLocaleCommand = function (output,
|
|
|
6011
6021
|
localeId: undefined,
|
|
6012
6022
|
localeName: undefined,
|
|
6013
6023
|
nluIntentConfidenceThreshold: undefined,
|
|
6024
|
+
recommendedActions: undefined,
|
|
6014
6025
|
slotTypesCount: undefined,
|
|
6015
6026
|
voiceSettings: undefined,
|
|
6016
6027
|
};
|
|
@@ -6058,6 +6069,9 @@ export var deserializeAws_restJson1DescribeBotLocaleCommand = function (output,
|
|
|
6058
6069
|
if (data.nluIntentConfidenceThreshold !== undefined && data.nluIntentConfidenceThreshold !== null) {
|
|
6059
6070
|
contents.nluIntentConfidenceThreshold = __limitedParseDouble(data.nluIntentConfidenceThreshold);
|
|
6060
6071
|
}
|
|
6072
|
+
if (data.recommendedActions !== undefined && data.recommendedActions !== null) {
|
|
6073
|
+
contents.recommendedActions = deserializeAws_restJson1RecommendedActions(data.recommendedActions, context);
|
|
6074
|
+
}
|
|
6061
6075
|
if (data.slotTypesCount !== undefined && data.slotTypesCount !== null) {
|
|
6062
6076
|
contents.slotTypesCount = __expectInt32(data.slotTypesCount);
|
|
6063
6077
|
}
|
|
@@ -7030,6 +7044,7 @@ export var deserializeAws_restJson1DescribeSlotTypeCommand = function (output, c
|
|
|
7030
7044
|
botVersion: undefined,
|
|
7031
7045
|
creationDateTime: undefined,
|
|
7032
7046
|
description: undefined,
|
|
7047
|
+
externalSourceSetting: undefined,
|
|
7033
7048
|
lastUpdatedDateTime: undefined,
|
|
7034
7049
|
localeId: undefined,
|
|
7035
7050
|
parentSlotTypeSignature: undefined,
|
|
@@ -7055,6 +7070,9 @@ export var deserializeAws_restJson1DescribeSlotTypeCommand = function (output, c
|
|
|
7055
7070
|
if (data.description !== undefined && data.description !== null) {
|
|
7056
7071
|
contents.description = __expectString(data.description);
|
|
7057
7072
|
}
|
|
7073
|
+
if (data.externalSourceSetting !== undefined && data.externalSourceSetting !== null) {
|
|
7074
|
+
contents.externalSourceSetting = deserializeAws_restJson1ExternalSourceSetting(data.externalSourceSetting, context);
|
|
7075
|
+
}
|
|
7058
7076
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
7059
7077
|
contents.lastUpdatedDateTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdatedDateTime)));
|
|
7060
7078
|
}
|
|
@@ -9458,6 +9476,7 @@ export var deserializeAws_restJson1UpdateBotLocaleCommand = function (output, co
|
|
|
9458
9476
|
localeId: undefined,
|
|
9459
9477
|
localeName: undefined,
|
|
9460
9478
|
nluIntentConfidenceThreshold: undefined,
|
|
9479
|
+
recommendedActions: undefined,
|
|
9461
9480
|
voiceSettings: undefined,
|
|
9462
9481
|
};
|
|
9463
9482
|
_a = __expectNonNull;
|
|
@@ -9495,6 +9514,9 @@ export var deserializeAws_restJson1UpdateBotLocaleCommand = function (output, co
|
|
|
9495
9514
|
if (data.nluIntentConfidenceThreshold !== undefined && data.nluIntentConfidenceThreshold !== null) {
|
|
9496
9515
|
contents.nluIntentConfidenceThreshold = __limitedParseDouble(data.nluIntentConfidenceThreshold);
|
|
9497
9516
|
}
|
|
9517
|
+
if (data.recommendedActions !== undefined && data.recommendedActions !== null) {
|
|
9518
|
+
contents.recommendedActions = deserializeAws_restJson1RecommendedActions(data.recommendedActions, context);
|
|
9519
|
+
}
|
|
9498
9520
|
if (data.voiceSettings !== undefined && data.voiceSettings !== null) {
|
|
9499
9521
|
contents.voiceSettings = deserializeAws_restJson1VoiceSettings(data.voiceSettings, context);
|
|
9500
9522
|
}
|
|
@@ -10284,6 +10306,7 @@ export var deserializeAws_restJson1UpdateSlotTypeCommand = function (output, con
|
|
|
10284
10306
|
botVersion: undefined,
|
|
10285
10307
|
creationDateTime: undefined,
|
|
10286
10308
|
description: undefined,
|
|
10309
|
+
externalSourceSetting: undefined,
|
|
10287
10310
|
lastUpdatedDateTime: undefined,
|
|
10288
10311
|
localeId: undefined,
|
|
10289
10312
|
parentSlotTypeSignature: undefined,
|
|
@@ -10309,6 +10332,9 @@ export var deserializeAws_restJson1UpdateSlotTypeCommand = function (output, con
|
|
|
10309
10332
|
if (data.description !== undefined && data.description !== null) {
|
|
10310
10333
|
contents.description = __expectString(data.description);
|
|
10311
10334
|
}
|
|
10335
|
+
if (data.externalSourceSetting !== undefined && data.externalSourceSetting !== null) {
|
|
10336
|
+
contents.externalSourceSetting = deserializeAws_restJson1ExternalSourceSetting(data.externalSourceSetting, context);
|
|
10337
|
+
}
|
|
10312
10338
|
if (data.lastUpdatedDateTime !== undefined && data.lastUpdatedDateTime !== null) {
|
|
10313
10339
|
contents.lastUpdatedDateTime = __expectNonNull(__parseEpochTimestamp(__expectNumber(data.lastUpdatedDateTime)));
|
|
10314
10340
|
}
|
|
@@ -10775,6 +10801,12 @@ var serializeAws_restJson1ExportResourceSpecification = function (input, context
|
|
|
10775
10801
|
var serializeAws_restJson1ExportSortBy = function (input, context) {
|
|
10776
10802
|
return __assign(__assign({}, (input.attribute !== undefined && input.attribute !== null && { attribute: input.attribute })), (input.order !== undefined && input.order !== null && { order: input.order }));
|
|
10777
10803
|
};
|
|
10804
|
+
var serializeAws_restJson1ExternalSourceSetting = function (input, context) {
|
|
10805
|
+
return __assign({}, (input.grammarSlotTypeSetting !== undefined &&
|
|
10806
|
+
input.grammarSlotTypeSetting !== null && {
|
|
10807
|
+
grammarSlotTypeSetting: serializeAws_restJson1GrammarSlotTypeSetting(input.grammarSlotTypeSetting, context),
|
|
10808
|
+
}));
|
|
10809
|
+
};
|
|
10778
10810
|
var serializeAws_restJson1FilterValues = function (input, context) {
|
|
10779
10811
|
return input
|
|
10780
10812
|
.filter(function (e) { return e != null; })
|
|
@@ -10820,6 +10852,13 @@ var serializeAws_restJson1FulfillmentUpdatesSpecification = function (input, con
|
|
|
10820
10852
|
updateResponse: serializeAws_restJson1FulfillmentUpdateResponseSpecification(input.updateResponse, context),
|
|
10821
10853
|
}));
|
|
10822
10854
|
};
|
|
10855
|
+
var serializeAws_restJson1GrammarSlotTypeSetting = function (input, context) {
|
|
10856
|
+
return __assign({}, (input.source !== undefined &&
|
|
10857
|
+
input.source !== null && { source: serializeAws_restJson1GrammarSlotTypeSource(input.source, context) }));
|
|
10858
|
+
};
|
|
10859
|
+
var serializeAws_restJson1GrammarSlotTypeSource = function (input, context) {
|
|
10860
|
+
return __assign(__assign(__assign({}, (input.kmsKeyArn !== undefined && input.kmsKeyArn !== null && { kmsKeyArn: input.kmsKeyArn })), (input.s3BucketName !== undefined && input.s3BucketName !== null && { s3BucketName: input.s3BucketName })), (input.s3ObjectKey !== undefined && input.s3ObjectKey !== null && { s3ObjectKey: input.s3ObjectKey }));
|
|
10861
|
+
};
|
|
10823
10862
|
var serializeAws_restJson1ImageResponseCard = function (input, context) {
|
|
10824
10863
|
return __assign(__assign(__assign(__assign({}, (input.buttons !== undefined &&
|
|
10825
10864
|
input.buttons !== null && { buttons: serializeAws_restJson1ButtonsList(input.buttons, context) })), (input.imageUrl !== undefined && input.imageUrl !== null && { imageUrl: input.imageUrl })), (input.subtitle !== undefined && input.subtitle !== null && { subtitle: input.subtitle })), (input.title !== undefined && input.title !== null && { title: input.title }));
|
|
@@ -11718,6 +11757,13 @@ var deserializeAws_restJson1ExportSummaryList = function (output, context) {
|
|
|
11718
11757
|
return deserializeAws_restJson1ExportSummary(entry, context);
|
|
11719
11758
|
});
|
|
11720
11759
|
};
|
|
11760
|
+
var deserializeAws_restJson1ExternalSourceSetting = function (output, context) {
|
|
11761
|
+
return {
|
|
11762
|
+
grammarSlotTypeSetting: output.grammarSlotTypeSetting !== undefined && output.grammarSlotTypeSetting !== null
|
|
11763
|
+
? deserializeAws_restJson1GrammarSlotTypeSetting(output.grammarSlotTypeSetting, context)
|
|
11764
|
+
: undefined,
|
|
11765
|
+
};
|
|
11766
|
+
};
|
|
11721
11767
|
var deserializeAws_restJson1FailureReasons = function (output, context) {
|
|
11722
11768
|
return (output || [])
|
|
11723
11769
|
.filter(function (e) { return e != null; })
|
|
@@ -11769,6 +11815,20 @@ var deserializeAws_restJson1FulfillmentUpdatesSpecification = function (output,
|
|
|
11769
11815
|
: undefined,
|
|
11770
11816
|
};
|
|
11771
11817
|
};
|
|
11818
|
+
var deserializeAws_restJson1GrammarSlotTypeSetting = function (output, context) {
|
|
11819
|
+
return {
|
|
11820
|
+
source: output.source !== undefined && output.source !== null
|
|
11821
|
+
? deserializeAws_restJson1GrammarSlotTypeSource(output.source, context)
|
|
11822
|
+
: undefined,
|
|
11823
|
+
};
|
|
11824
|
+
};
|
|
11825
|
+
var deserializeAws_restJson1GrammarSlotTypeSource = function (output, context) {
|
|
11826
|
+
return {
|
|
11827
|
+
kmsKeyArn: __expectString(output.kmsKeyArn),
|
|
11828
|
+
s3BucketName: __expectString(output.s3BucketName),
|
|
11829
|
+
s3ObjectKey: __expectString(output.s3ObjectKey),
|
|
11830
|
+
};
|
|
11831
|
+
};
|
|
11772
11832
|
var deserializeAws_restJson1ImageResponseCard = function (output, context) {
|
|
11773
11833
|
return {
|
|
11774
11834
|
buttons: output.buttons !== undefined && output.buttons !== null
|
|
@@ -12017,6 +12077,16 @@ var deserializeAws_restJson1PromptSpecification = function (output, context) {
|
|
|
12017
12077
|
: undefined,
|
|
12018
12078
|
};
|
|
12019
12079
|
};
|
|
12080
|
+
var deserializeAws_restJson1RecommendedActions = function (output, context) {
|
|
12081
|
+
return (output || [])
|
|
12082
|
+
.filter(function (e) { return e != null; })
|
|
12083
|
+
.map(function (entry) {
|
|
12084
|
+
if (entry === null) {
|
|
12085
|
+
return null;
|
|
12086
|
+
}
|
|
12087
|
+
return __expectString(entry);
|
|
12088
|
+
});
|
|
12089
|
+
};
|
|
12020
12090
|
var deserializeAws_restJson1RecommendedIntentSummary = function (output, context) {
|
|
12021
12091
|
return {
|
|
12022
12092
|
intentId: __expectString(output.intentId),
|
|
@@ -12168,6 +12238,7 @@ var deserializeAws_restJson1SlotTypeSummary = function (output, context) {
|
|
|
12168
12238
|
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.lastUpdatedDateTime)))
|
|
12169
12239
|
: undefined,
|
|
12170
12240
|
parentSlotTypeSignature: __expectString(output.parentSlotTypeSignature),
|
|
12241
|
+
slotTypeCategory: __expectString(output.slotTypeCategory),
|
|
12171
12242
|
slotTypeId: __expectString(output.slotTypeId),
|
|
12172
12243
|
slotTypeName: __expectString(output.slotTypeName),
|
|
12173
12244
|
};
|
|
@@ -599,9 +599,13 @@ export interface VoiceSettings {
|
|
|
599
599
|
*/
|
|
600
600
|
voiceId: string | undefined;
|
|
601
601
|
/**
|
|
602
|
-
* <p>Indicates the type of Amazon Polly
|
|
603
|
-
*
|
|
604
|
-
*
|
|
602
|
+
* <p>Indicates the type of Amazon Polly voice that Amazon Lex should use for voice interaction with the user. For more
|
|
603
|
+
* information, see the <a href="https://docs.aws.amazon.com/polly/latest/dg/API_SynthesizeSpeech.html#polly-SynthesizeSpeech-request-Engine">
|
|
604
|
+
* <code>engine</code> parameter of the
|
|
605
|
+
* <code>SynthesizeSpeech</code> operation</a> in the
|
|
606
|
+
* <i>Amazon Polly developer guide</i>.</p>
|
|
607
|
+
* <p>If you do not specify a value, the default is
|
|
608
|
+
* <code>standard</code>.</p>
|
|
605
609
|
*/
|
|
606
610
|
engine?: VoiceEngine | string;
|
|
607
611
|
}
|
|
@@ -3044,6 +3048,64 @@ export declare namespace CreateSlotResponse {
|
|
|
3044
3048
|
*/
|
|
3045
3049
|
const filterSensitiveLog: (obj: CreateSlotResponse) => any;
|
|
3046
3050
|
}
|
|
3051
|
+
/**
|
|
3052
|
+
* <p>Describes the Amazon S3 bucket name and location for the grammar
|
|
3053
|
+
* that is the source for the slot type.</p>
|
|
3054
|
+
*/
|
|
3055
|
+
export interface GrammarSlotTypeSource {
|
|
3056
|
+
/**
|
|
3057
|
+
* <p>The name of the S3 bucket that contains the grammar source.</p>
|
|
3058
|
+
*/
|
|
3059
|
+
s3BucketName: string | undefined;
|
|
3060
|
+
/**
|
|
3061
|
+
* <p>The path to the grammar in the S3 bucket.</p>
|
|
3062
|
+
*/
|
|
3063
|
+
s3ObjectKey: string | undefined;
|
|
3064
|
+
/**
|
|
3065
|
+
* <p>The Amazon KMS key required to decrypt the contents of the grammar,
|
|
3066
|
+
* if any.</p>
|
|
3067
|
+
*/
|
|
3068
|
+
kmsKeyArn?: string;
|
|
3069
|
+
}
|
|
3070
|
+
export declare namespace GrammarSlotTypeSource {
|
|
3071
|
+
/**
|
|
3072
|
+
* @internal
|
|
3073
|
+
*/
|
|
3074
|
+
const filterSensitiveLog: (obj: GrammarSlotTypeSource) => any;
|
|
3075
|
+
}
|
|
3076
|
+
/**
|
|
3077
|
+
* <p>Settings requried for a slot type based on a grammar that you
|
|
3078
|
+
* provide.</p>
|
|
3079
|
+
*/
|
|
3080
|
+
export interface GrammarSlotTypeSetting {
|
|
3081
|
+
/**
|
|
3082
|
+
* <p>The source of the grammar used to create the slot type.</p>
|
|
3083
|
+
*/
|
|
3084
|
+
source?: GrammarSlotTypeSource;
|
|
3085
|
+
}
|
|
3086
|
+
export declare namespace GrammarSlotTypeSetting {
|
|
3087
|
+
/**
|
|
3088
|
+
* @internal
|
|
3089
|
+
*/
|
|
3090
|
+
const filterSensitiveLog: (obj: GrammarSlotTypeSetting) => any;
|
|
3091
|
+
}
|
|
3092
|
+
/**
|
|
3093
|
+
* <p>Provides information about the external source of the slot type's
|
|
3094
|
+
* definition.</p>
|
|
3095
|
+
*/
|
|
3096
|
+
export interface ExternalSourceSetting {
|
|
3097
|
+
/**
|
|
3098
|
+
* <p>Settings required for a slot type based on a grammar that you
|
|
3099
|
+
* provide.</p>
|
|
3100
|
+
*/
|
|
3101
|
+
grammarSlotTypeSetting?: GrammarSlotTypeSetting;
|
|
3102
|
+
}
|
|
3103
|
+
export declare namespace ExternalSourceSetting {
|
|
3104
|
+
/**
|
|
3105
|
+
* @internal
|
|
3106
|
+
*/
|
|
3107
|
+
const filterSensitiveLog: (obj: ExternalSourceSetting) => any;
|
|
3108
|
+
}
|
|
3047
3109
|
/**
|
|
3048
3110
|
* <p>Defines one of the values for a slot type.</p>
|
|
3049
3111
|
*/
|
|
@@ -3198,7 +3260,7 @@ export interface CreateSlotTypeRequest {
|
|
|
3198
3260
|
* <p>If you don't specify the <code>valueSelectionSetting</code>
|
|
3199
3261
|
* parameter, the default is <code>OriginalValue</code>.</p>
|
|
3200
3262
|
*/
|
|
3201
|
-
valueSelectionSetting
|
|
3263
|
+
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
3202
3264
|
/**
|
|
3203
3265
|
* <p>The built-in slot type used as a parent of this slot type. When you
|
|
3204
3266
|
* define a parent slot type, the new slot type has the configuration of
|
|
@@ -3222,6 +3284,11 @@ export interface CreateSlotTypeRequest {
|
|
|
3222
3284
|
* locale. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
3223
3285
|
*/
|
|
3224
3286
|
localeId: string | undefined;
|
|
3287
|
+
/**
|
|
3288
|
+
* <p>Sets the type of external information used to create the slot
|
|
3289
|
+
* type.</p>
|
|
3290
|
+
*/
|
|
3291
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
3225
3292
|
}
|
|
3226
3293
|
export declare namespace CreateSlotTypeRequest {
|
|
3227
3294
|
/**
|
|
@@ -3275,6 +3342,11 @@ export interface CreateSlotTypeResponse {
|
|
|
3275
3342
|
* created.</p>
|
|
3276
3343
|
*/
|
|
3277
3344
|
creationDateTime?: Date;
|
|
3345
|
+
/**
|
|
3346
|
+
* <p>The type of external information used to create the slot
|
|
3347
|
+
* type.</p>
|
|
3348
|
+
*/
|
|
3349
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
3278
3350
|
}
|
|
3279
3351
|
export declare namespace CreateSlotTypeResponse {
|
|
3280
3352
|
/**
|
|
@@ -4015,6 +4087,11 @@ export interface DescribeBotLocaleResponse {
|
|
|
4015
4087
|
* have taken place for the locale.</p>
|
|
4016
4088
|
*/
|
|
4017
4089
|
botLocaleHistoryEvents?: BotLocaleHistoryEvent[];
|
|
4090
|
+
/**
|
|
4091
|
+
* <p>Recommended actions to take to resolve an error in the
|
|
4092
|
+
* <code>failureReasons</code> field.</p>
|
|
4093
|
+
*/
|
|
4094
|
+
recommendedActions?: string[];
|
|
4018
4095
|
}
|
|
4019
4096
|
export declare namespace DescribeBotLocaleResponse {
|
|
4020
4097
|
/**
|
|
@@ -4822,6 +4899,11 @@ export interface DescribeSlotTypeResponse {
|
|
|
4822
4899
|
* updated.</p>
|
|
4823
4900
|
*/
|
|
4824
4901
|
lastUpdatedDateTime?: Date;
|
|
4902
|
+
/**
|
|
4903
|
+
* <p>Provides information about the external source of the slot type's
|
|
4904
|
+
* definition.</p>
|
|
4905
|
+
*/
|
|
4906
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
4825
4907
|
}
|
|
4826
4908
|
export declare namespace DescribeSlotTypeResponse {
|
|
4827
4909
|
/**
|
|
@@ -6340,6 +6422,7 @@ export declare namespace ListSlotsResponse {
|
|
|
6340
6422
|
const filterSensitiveLog: (obj: ListSlotsResponse) => any;
|
|
6341
6423
|
}
|
|
6342
6424
|
export declare enum SlotTypeFilterName {
|
|
6425
|
+
ExternalSourceType = "ExternalSourceType",
|
|
6343
6426
|
SlotTypeName = "SlotTypeName"
|
|
6344
6427
|
}
|
|
6345
6428
|
export declare enum SlotTypeFilterOperator {
|
|
@@ -6448,6 +6531,11 @@ export declare namespace ListSlotTypesRequest {
|
|
|
6448
6531
|
*/
|
|
6449
6532
|
const filterSensitiveLog: (obj: ListSlotTypesRequest) => any;
|
|
6450
6533
|
}
|
|
6534
|
+
export declare enum SlotTypeCategory {
|
|
6535
|
+
Custom = "Custom",
|
|
6536
|
+
Extended = "Extended",
|
|
6537
|
+
ExternalGrammar = "ExternalGrammar"
|
|
6538
|
+
}
|
|
6451
6539
|
/**
|
|
6452
6540
|
* <p>Provides summary information about a slot type.</p>
|
|
6453
6541
|
*/
|
|
@@ -6474,6 +6562,29 @@ export interface SlotTypeSummary {
|
|
|
6474
6562
|
* updated.</p>
|
|
6475
6563
|
*/
|
|
6476
6564
|
lastUpdatedDateTime?: Date;
|
|
6565
|
+
/**
|
|
6566
|
+
* <p>Indicates the type of the slot type.</p>
|
|
6567
|
+
* <ul>
|
|
6568
|
+
* <li>
|
|
6569
|
+
* <p>
|
|
6570
|
+
* <code>Custom</code> - A slot type that you created using
|
|
6571
|
+
* custom values. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/custom-slot-types.html">Creating custom slot
|
|
6572
|
+
* types</a>.</p>
|
|
6573
|
+
* </li>
|
|
6574
|
+
* <li>
|
|
6575
|
+
* <p>
|
|
6576
|
+
* <code>Extended</code> - A slot type created by extending the
|
|
6577
|
+
* AMAZON.AlphaNumeric built-in slot type. For more information, see
|
|
6578
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/built-in-slot-alphanumerice.html">AMAZON.AlphaNumeric</a>.</p>
|
|
6579
|
+
* </li>
|
|
6580
|
+
* <li>
|
|
6581
|
+
* <p>
|
|
6582
|
+
* <code>ExternalGrammar</code> - A slot type using a custom
|
|
6583
|
+
* GRXML grammar to define values. For more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/building-grxml.html">Using a custom grammar slot type</a>.</p>
|
|
6584
|
+
* </li>
|
|
6585
|
+
* </ul>
|
|
6586
|
+
*/
|
|
6587
|
+
slotTypeCategory?: SlotTypeCategory | string;
|
|
6477
6588
|
}
|
|
6478
6589
|
export declare namespace SlotTypeSummary {
|
|
6479
6590
|
/**
|
|
@@ -7136,6 +7247,11 @@ export interface UpdateBotLocaleResponse {
|
|
|
7136
7247
|
* updated.</p>
|
|
7137
7248
|
*/
|
|
7138
7249
|
lastUpdatedDateTime?: Date;
|
|
7250
|
+
/**
|
|
7251
|
+
* <p>Recommended actions to take to resolve an error in the
|
|
7252
|
+
* <code>failureReasons</code> field.</p>
|
|
7253
|
+
*/
|
|
7254
|
+
recommendedActions?: string[];
|
|
7139
7255
|
}
|
|
7140
7256
|
export declare namespace UpdateBotLocaleResponse {
|
|
7141
7257
|
/**
|
|
@@ -7661,7 +7777,7 @@ export interface UpdateSlotTypeRequest {
|
|
|
7661
7777
|
* <p>The strategy that Amazon Lex should use when deciding on a value from the
|
|
7662
7778
|
* list of slot type values.</p>
|
|
7663
7779
|
*/
|
|
7664
|
-
valueSelectionSetting
|
|
7780
|
+
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
7665
7781
|
/**
|
|
7666
7782
|
* <p>The new built-in slot type that should be used as the parent of this
|
|
7667
7783
|
* slot type.</p>
|
|
@@ -7682,6 +7798,11 @@ export interface UpdateSlotTypeRequest {
|
|
|
7682
7798
|
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
7683
7799
|
*/
|
|
7684
7800
|
localeId: string | undefined;
|
|
7801
|
+
/**
|
|
7802
|
+
* <p>Provides information about the external source of the slot type's
|
|
7803
|
+
* definition.</p>
|
|
7804
|
+
*/
|
|
7805
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
7685
7806
|
}
|
|
7686
7807
|
export declare namespace UpdateSlotTypeRequest {
|
|
7687
7808
|
/**
|
|
@@ -7739,6 +7860,11 @@ export interface UpdateSlotTypeResponse {
|
|
|
7739
7860
|
* updated.</p>
|
|
7740
7861
|
*/
|
|
7741
7862
|
lastUpdatedDateTime?: Date;
|
|
7863
|
+
/**
|
|
7864
|
+
* <p>Provides information about the external source of the slot type's
|
|
7865
|
+
* definition.</p>
|
|
7866
|
+
*/
|
|
7867
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
7742
7868
|
}
|
|
7743
7869
|
export declare namespace UpdateSlotTypeResponse {
|
|
7744
7870
|
/**
|
|
@@ -1488,6 +1488,37 @@ export declare namespace CreateSlotResponse {
|
|
|
1488
1488
|
const filterSensitiveLog: (obj: CreateSlotResponse) => any;
|
|
1489
1489
|
}
|
|
1490
1490
|
|
|
1491
|
+
export interface GrammarSlotTypeSource {
|
|
1492
|
+
|
|
1493
|
+
s3BucketName: string | undefined;
|
|
1494
|
+
|
|
1495
|
+
s3ObjectKey: string | undefined;
|
|
1496
|
+
|
|
1497
|
+
kmsKeyArn?: string;
|
|
1498
|
+
}
|
|
1499
|
+
export declare namespace GrammarSlotTypeSource {
|
|
1500
|
+
|
|
1501
|
+
const filterSensitiveLog: (obj: GrammarSlotTypeSource) => any;
|
|
1502
|
+
}
|
|
1503
|
+
|
|
1504
|
+
export interface GrammarSlotTypeSetting {
|
|
1505
|
+
|
|
1506
|
+
source?: GrammarSlotTypeSource;
|
|
1507
|
+
}
|
|
1508
|
+
export declare namespace GrammarSlotTypeSetting {
|
|
1509
|
+
|
|
1510
|
+
const filterSensitiveLog: (obj: GrammarSlotTypeSetting) => any;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
export interface ExternalSourceSetting {
|
|
1514
|
+
|
|
1515
|
+
grammarSlotTypeSetting?: GrammarSlotTypeSetting;
|
|
1516
|
+
}
|
|
1517
|
+
export declare namespace ExternalSourceSetting {
|
|
1518
|
+
|
|
1519
|
+
const filterSensitiveLog: (obj: ExternalSourceSetting) => any;
|
|
1520
|
+
}
|
|
1521
|
+
|
|
1491
1522
|
export interface SampleValue {
|
|
1492
1523
|
|
|
1493
1524
|
value: string | undefined;
|
|
@@ -1539,7 +1570,7 @@ export interface CreateSlotTypeRequest {
|
|
|
1539
1570
|
|
|
1540
1571
|
slotTypeValues?: SlotTypeValue[];
|
|
1541
1572
|
|
|
1542
|
-
valueSelectionSetting
|
|
1573
|
+
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
1543
1574
|
|
|
1544
1575
|
parentSlotTypeSignature?: string;
|
|
1545
1576
|
|
|
@@ -1548,6 +1579,8 @@ export interface CreateSlotTypeRequest {
|
|
|
1548
1579
|
botVersion: string | undefined;
|
|
1549
1580
|
|
|
1550
1581
|
localeId: string | undefined;
|
|
1582
|
+
|
|
1583
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
1551
1584
|
}
|
|
1552
1585
|
export declare namespace CreateSlotTypeRequest {
|
|
1553
1586
|
|
|
@@ -1574,6 +1607,8 @@ export interface CreateSlotTypeResponse {
|
|
|
1574
1607
|
localeId?: string;
|
|
1575
1608
|
|
|
1576
1609
|
creationDateTime?: Date;
|
|
1610
|
+
|
|
1611
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
1577
1612
|
}
|
|
1578
1613
|
export declare namespace CreateSlotTypeResponse {
|
|
1579
1614
|
|
|
@@ -1965,6 +2000,8 @@ export interface DescribeBotLocaleResponse {
|
|
|
1965
2000
|
lastBuildSubmittedDateTime?: Date;
|
|
1966
2001
|
|
|
1967
2002
|
botLocaleHistoryEvents?: BotLocaleHistoryEvent[];
|
|
2003
|
+
|
|
2004
|
+
recommendedActions?: string[];
|
|
1968
2005
|
}
|
|
1969
2006
|
export declare namespace DescribeBotLocaleResponse {
|
|
1970
2007
|
|
|
@@ -2367,6 +2404,8 @@ export interface DescribeSlotTypeResponse {
|
|
|
2367
2404
|
creationDateTime?: Date;
|
|
2368
2405
|
|
|
2369
2406
|
lastUpdatedDateTime?: Date;
|
|
2407
|
+
|
|
2408
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
2370
2409
|
}
|
|
2371
2410
|
export declare namespace DescribeSlotTypeResponse {
|
|
2372
2411
|
|
|
@@ -3047,6 +3086,7 @@ export declare namespace ListSlotsResponse {
|
|
|
3047
3086
|
const filterSensitiveLog: (obj: ListSlotsResponse) => any;
|
|
3048
3087
|
}
|
|
3049
3088
|
export declare enum SlotTypeFilterName {
|
|
3089
|
+
ExternalSourceType = "ExternalSourceType",
|
|
3050
3090
|
SlotTypeName = "SlotTypeName"
|
|
3051
3091
|
}
|
|
3052
3092
|
export declare enum SlotTypeFilterOperator {
|
|
@@ -3101,6 +3141,11 @@ export declare namespace ListSlotTypesRequest {
|
|
|
3101
3141
|
|
|
3102
3142
|
const filterSensitiveLog: (obj: ListSlotTypesRequest) => any;
|
|
3103
3143
|
}
|
|
3144
|
+
export declare enum SlotTypeCategory {
|
|
3145
|
+
Custom = "Custom",
|
|
3146
|
+
Extended = "Extended",
|
|
3147
|
+
ExternalGrammar = "ExternalGrammar"
|
|
3148
|
+
}
|
|
3104
3149
|
|
|
3105
3150
|
export interface SlotTypeSummary {
|
|
3106
3151
|
|
|
@@ -3113,6 +3158,8 @@ export interface SlotTypeSummary {
|
|
|
3113
3158
|
parentSlotTypeSignature?: string;
|
|
3114
3159
|
|
|
3115
3160
|
lastUpdatedDateTime?: Date;
|
|
3161
|
+
|
|
3162
|
+
slotTypeCategory?: SlotTypeCategory | string;
|
|
3116
3163
|
}
|
|
3117
3164
|
export declare namespace SlotTypeSummary {
|
|
3118
3165
|
|
|
@@ -3437,6 +3484,8 @@ export interface UpdateBotLocaleResponse {
|
|
|
3437
3484
|
creationDateTime?: Date;
|
|
3438
3485
|
|
|
3439
3486
|
lastUpdatedDateTime?: Date;
|
|
3487
|
+
|
|
3488
|
+
recommendedActions?: string[];
|
|
3440
3489
|
}
|
|
3441
3490
|
export declare namespace UpdateBotLocaleResponse {
|
|
3442
3491
|
|
|
@@ -3682,7 +3731,7 @@ export interface UpdateSlotTypeRequest {
|
|
|
3682
3731
|
|
|
3683
3732
|
slotTypeValues?: SlotTypeValue[];
|
|
3684
3733
|
|
|
3685
|
-
valueSelectionSetting
|
|
3734
|
+
valueSelectionSetting?: SlotValueSelectionSetting;
|
|
3686
3735
|
|
|
3687
3736
|
parentSlotTypeSignature?: string;
|
|
3688
3737
|
|
|
@@ -3691,6 +3740,8 @@ export interface UpdateSlotTypeRequest {
|
|
|
3691
3740
|
botVersion: string | undefined;
|
|
3692
3741
|
|
|
3693
3742
|
localeId: string | undefined;
|
|
3743
|
+
|
|
3744
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
3694
3745
|
}
|
|
3695
3746
|
export declare namespace UpdateSlotTypeRequest {
|
|
3696
3747
|
|
|
@@ -3719,6 +3770,8 @@ export interface UpdateSlotTypeResponse {
|
|
|
3719
3770
|
creationDateTime?: Date;
|
|
3720
3771
|
|
|
3721
3772
|
lastUpdatedDateTime?: Date;
|
|
3773
|
+
|
|
3774
|
+
externalSourceSetting?: ExternalSourceSetting;
|
|
3722
3775
|
}
|
|
3723
3776
|
export declare namespace UpdateSlotTypeResponse {
|
|
3724
3777
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-models-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.45.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "yarn build:cjs && yarn build:es && yarn build:types",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.json",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.45.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.45.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.45.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.40.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.40.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.40.0",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"@aws-sdk/middleware-logger": "3.40.0",
|
|
33
33
|
"@aws-sdk/middleware-retry": "3.40.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.40.0",
|
|
35
|
-
"@aws-sdk/middleware-signing": "3.
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.45.0",
|
|
36
36
|
"@aws-sdk/middleware-stack": "3.40.0",
|
|
37
37
|
"@aws-sdk/middleware-user-agent": "3.40.0",
|
|
38
38
|
"@aws-sdk/node-config-provider": "3.40.0",
|