@aws-sdk/client-lex-models-v2 3.42.0 → 3.43.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/models/models_0.js +10 -5
- package/dist-cjs/protocols/Aws_restJson1.js +2 -0
- package/dist-es/models/models_0.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +2 -1
- package/dist-types/LexModelsV2.d.ts +6 -6
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +3 -3
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExportCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +35 -25
- package/dist-types/ts3.4/models/models_0.d.ts +6 -0
- package/package.json +2 -2
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.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-lex-models-v2
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.UpdateSlotTypeResponse = exports.UpdateSlotTypeRequest = exports.UpdateSlotResponse = exports.UpdateSlotRequest = exports.UpdateResourcePolicyResponse = exports.UpdateResourcePolicyRequest = exports.UpdateIntentResponse = exports.UpdateIntentRequest = exports.UpdateExportResponse = exports.UpdateExportRequest = 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.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSlotTypesResponse = exports.SlotTypeSummary = exports.ListSlotTypesRequest = 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.ListIntentsResponse = exports.ListIntentsRequest = exports.ListImportsResponse = exports.ListImportsRequest = exports.ListExportsResponse = exports.ListExportsRequest = exports.ListBuiltInSlotTypesResponse = exports.ListBuiltInSlotTypesRequest = exports.ListBuiltInIntentsResponse = void 0;
|
|
3
|
+
exports.ValidationException = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.PreconditionFailedException = exports.InternalServerException = exports.ConflictException = exports.BuildBotLocaleResponse = exports.BuildBotLocaleRequest = exports.BotVersionSummary = exports.BotVersionSortBy = exports.BotVersionSortAttribute = exports.BotVersionLocaleDetails = exports.BotSummary = exports.BotStatus = exports.BotSortBy = exports.BotSortAttribute = 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.AggregatedUtterancesSummary = exports.AggregatedUtterancesSortBy = exports.SortOrder = exports.AggregatedUtterancesSortAttribute = exports.AggregatedUtterancesFilter = exports.AggregatedUtterancesFilterOperator = exports.AggregatedUtterancesFilterName = void 0;
|
|
4
|
+
exports.CreateResourcePolicyResponse = exports.CreateResourcePolicyRequest = exports.CreateIntentResponse = exports.CreateIntentRequest = exports.SampleUtterance = exports.OutputContext = exports.KendraConfiguration = exports.IntentConfirmationSetting = exports.PromptSpecification = exports.IntentClosingSetting = exports.InputContext = exports.FulfillmentCodeHookSettings = exports.PostFulfillmentStatusSpecification = exports.ResponseSpecification = exports.FulfillmentUpdatesSpecification = exports.FulfillmentUpdateResponseSpecification = exports.FulfillmentStartResponseSpecification = exports.MessageGroup = exports.Message = exports.SSMLMessage = exports.PlainTextMessage = exports.ImageResponseCard = exports.CustomPayload = exports.DialogCodeHookSettings = exports.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 = void 0;
|
|
5
|
+
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 = 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.CreateUploadUrlResponse = exports.CreateUploadUrlRequest = exports.CreateSlotTypeResponse = exports.CreateSlotTypeRequest = exports.SlotValueSelectionSetting = exports.SlotValueResolutionStrategy = exports.SlotValueRegexFilter = exports.SlotTypeValue = exports.SampleValue = 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 = void 0;
|
|
6
|
+
exports.ListBotVersionsResponse = exports.ListBotVersionsRequest = exports.ListBotsResponse = exports.ListBotsRequest = exports.ListBotLocalesResponse = exports.ListBotLocalesRequest = exports.ListBotAliasesResponse = exports.ListBotAliasesRequest = exports.ListAggregatedUtterancesResponse = exports.ListAggregatedUtterancesRequest = exports.UtteranceAggregationDuration = exports.RelativeAggregationDuration = exports.TimeDimension = exports.IntentSummary = exports.IntentSortBy = exports.IntentSortAttribute = exports.IntentFilter = exports.IntentFilterOperator = exports.IntentFilterName = exports.ImportSummary = exports.ImportSortBy = exports.ImportSortAttribute = exports.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.DescribeBotLocaleResponse = exports.DescribeBotLocaleRequest = void 0;
|
|
7
|
+
exports.UpdateSlotTypeResponse = exports.UpdateSlotTypeRequest = exports.UpdateSlotResponse = exports.UpdateSlotRequest = exports.UpdateResourcePolicyResponse = exports.UpdateResourcePolicyRequest = exports.UpdateIntentResponse = exports.UpdateIntentRequest = exports.UpdateExportResponse = exports.UpdateExportRequest = 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.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListSlotTypesResponse = exports.SlotTypeSummary = exports.ListSlotTypesRequest = 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.ListIntentsResponse = exports.ListIntentsRequest = exports.ListImportsResponse = exports.ListImportsRequest = exports.ListExportsResponse = exports.ListExportsRequest = exports.ListBuiltInSlotTypesResponse = exports.ListBuiltInSlotTypesRequest = exports.ListBuiltInIntentsResponse = exports.ListBuiltInIntentsRequest = void 0;
|
|
8
8
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
9
9
|
var AggregatedUtterancesFilterName;
|
|
10
10
|
(function (AggregatedUtterancesFilterName) {
|
|
@@ -158,6 +158,11 @@ var BotLocaleHistoryEvent;
|
|
|
158
158
|
...obj,
|
|
159
159
|
});
|
|
160
160
|
})(BotLocaleHistoryEvent = exports.BotLocaleHistoryEvent || (exports.BotLocaleHistoryEvent = {}));
|
|
161
|
+
var VoiceEngine;
|
|
162
|
+
(function (VoiceEngine) {
|
|
163
|
+
VoiceEngine["Neural"] = "neural";
|
|
164
|
+
VoiceEngine["Standard"] = "standard";
|
|
165
|
+
})(VoiceEngine = exports.VoiceEngine || (exports.VoiceEngine = {}));
|
|
161
166
|
var VoiceSettings;
|
|
162
167
|
(function (VoiceSettings) {
|
|
163
168
|
VoiceSettings.filterSensitiveLog = (obj) => ({
|
|
@@ -9403,6 +9403,7 @@ const serializeAws_restJson1UtteranceAggregationDuration = (input, context) => {
|
|
|
9403
9403
|
};
|
|
9404
9404
|
const serializeAws_restJson1VoiceSettings = (input, context) => {
|
|
9405
9405
|
return {
|
|
9406
|
+
...(input.engine !== undefined && input.engine !== null && { engine: input.engine }),
|
|
9406
9407
|
...(input.voiceId !== undefined && input.voiceId !== null && { voiceId: input.voiceId }),
|
|
9407
9408
|
};
|
|
9408
9409
|
};
|
|
@@ -10322,6 +10323,7 @@ const deserializeAws_restJson1UtteranceAggregationDuration = (output, context) =
|
|
|
10322
10323
|
};
|
|
10323
10324
|
const deserializeAws_restJson1VoiceSettings = (output, context) => {
|
|
10324
10325
|
return {
|
|
10326
|
+
engine: smithy_client_1.expectString(output.engine),
|
|
10325
10327
|
voiceId: smithy_client_1.expectString(output.voiceId),
|
|
10326
10328
|
};
|
|
10327
10329
|
};
|
|
@@ -116,6 +116,11 @@ export var BotLocaleHistoryEvent;
|
|
|
116
116
|
(function (BotLocaleHistoryEvent) {
|
|
117
117
|
BotLocaleHistoryEvent.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
118
118
|
})(BotLocaleHistoryEvent || (BotLocaleHistoryEvent = {}));
|
|
119
|
+
export var VoiceEngine;
|
|
120
|
+
(function (VoiceEngine) {
|
|
121
|
+
VoiceEngine["Neural"] = "neural";
|
|
122
|
+
VoiceEngine["Standard"] = "standard";
|
|
123
|
+
})(VoiceEngine || (VoiceEngine = {}));
|
|
119
124
|
export var VoiceSettings;
|
|
120
125
|
(function (VoiceSettings) {
|
|
121
126
|
VoiceSettings.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -10069,7 +10069,7 @@ var serializeAws_restJson1UtteranceAggregationDuration = function (input, contex
|
|
|
10069
10069
|
}));
|
|
10070
10070
|
};
|
|
10071
10071
|
var serializeAws_restJson1VoiceSettings = function (input, context) {
|
|
10072
|
-
return __assign({}, (input.voiceId !== undefined && input.voiceId !== null && { voiceId: input.voiceId }));
|
|
10072
|
+
return __assign(__assign({}, (input.engine !== undefined && input.engine !== null && { engine: input.engine })), (input.voiceId !== undefined && input.voiceId !== null && { voiceId: input.voiceId }));
|
|
10073
10073
|
};
|
|
10074
10074
|
var serializeAws_restJson1WaitAndContinueSpecification = function (input, context) {
|
|
10075
10075
|
return __assign(__assign(__assign(__assign({}, (input.active !== undefined && input.active !== null && { active: input.active })), (input.continueResponse !== undefined &&
|
|
@@ -10979,6 +10979,7 @@ var deserializeAws_restJson1UtteranceAggregationDuration = function (output, con
|
|
|
10979
10979
|
};
|
|
10980
10980
|
var deserializeAws_restJson1VoiceSettings = function (output, context) {
|
|
10981
10981
|
return {
|
|
10982
|
+
engine: __expectString(output.engine),
|
|
10982
10983
|
voiceId: __expectString(output.voiceId),
|
|
10983
10984
|
};
|
|
10984
10985
|
};
|
|
@@ -238,7 +238,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
238
238
|
deleteBotLocale(args: DeleteBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBotLocaleCommandOutput) => void): void;
|
|
239
239
|
/**
|
|
240
240
|
* <p>Deletes a specific version of a bot. To delete all version of a bot,
|
|
241
|
-
* use the <a>DeleteBot</a> operation.</p>
|
|
241
|
+
* use the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html">DeleteBot</a> operation.</p>
|
|
242
242
|
*/
|
|
243
243
|
deleteBotVersion(args: DeleteBotVersionCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBotVersionCommandOutput>;
|
|
244
244
|
deleteBotVersion(args: DeleteBotVersionCommandInput, cb: (err: any, data?: DeleteBotVersionCommandOutput) => void): void;
|
|
@@ -301,9 +301,9 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
301
301
|
/**
|
|
302
302
|
* <p>Deletes stored utterances.</p>
|
|
303
303
|
* <p>Amazon Lex stores the utterances that users send to your bot. Utterances
|
|
304
|
-
* are stored for 15 days for use with the
|
|
305
|
-
* indefinitely for use in improving the ability of your bot
|
|
306
|
-
* user input..</p>
|
|
304
|
+
* are stored for 15 days for use with the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListAggregatedUtterances.html">ListAggregatedUtterances</a> operation, and
|
|
305
|
+
* then stored indefinitely for use in improving the ability of your bot
|
|
306
|
+
* to respond to user input..</p>
|
|
307
307
|
* <p>Use the <code>DeleteUtterances</code> operation to manually delete
|
|
308
308
|
* utterances for a specific session. When you use the
|
|
309
309
|
* <code>DeleteUtterances</code> operation, utterances stored for
|
|
@@ -443,7 +443,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
443
443
|
* <p>To use a built-in intent as a the base for your own intent, include
|
|
444
444
|
* the built-in intent signature in the <code>parentIntentSignature</code>
|
|
445
445
|
* parameter when you call the <code>CreateIntent</code> operation. For
|
|
446
|
-
* more information, see <a>CreateIntent</a>.</p>
|
|
446
|
+
* more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html">CreateIntent</a>.</p>
|
|
447
447
|
*/
|
|
448
448
|
listBuiltInIntents(args: ListBuiltInIntentsCommandInput, options?: __HttpHandlerOptions): Promise<ListBuiltInIntentsCommandOutput>;
|
|
449
449
|
listBuiltInIntents(args: ListBuiltInIntentsCommandInput, cb: (err: any, data?: ListBuiltInIntentsCommandOutput) => void): void;
|
|
@@ -538,7 +538,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
538
538
|
* <p>The password is not required. If you don't supply a password, Amazon Lex
|
|
539
539
|
* generates a zip file that is not protected by a password. This is the
|
|
540
540
|
* archive that is available at the pre-signed S3 URL provided by the
|
|
541
|
-
*
|
|
541
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html">DescribeExport</a> operation.</p>
|
|
542
542
|
*/
|
|
543
543
|
updateExport(args: UpdateExportCommandInput, options?: __HttpHandlerOptions): Promise<UpdateExportCommandOutput>;
|
|
544
544
|
updateExport(args: UpdateExportCommandInput, cb: (err: any, data?: UpdateExportCommandOutput) => void): void;
|
|
@@ -8,7 +8,7 @@ export interface DeleteBotVersionCommandOutput extends DeleteBotVersionResponse,
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes a specific version of a bot. To delete all version of a bot,
|
|
11
|
-
* use the <a>DeleteBot</a> operation.</p>
|
|
11
|
+
* use the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DeleteBot.html">DeleteBot</a> operation.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -9,9 +9,9 @@ export interface DeleteUtterancesCommandOutput extends DeleteUtterancesResponse,
|
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes stored utterances.</p>
|
|
11
11
|
* <p>Amazon Lex stores the utterances that users send to your bot. Utterances
|
|
12
|
-
* are stored for 15 days for use with the
|
|
13
|
-
* indefinitely for use in improving the ability of your bot
|
|
14
|
-
* user input..</p>
|
|
12
|
+
* are stored for 15 days for use with the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListAggregatedUtterances.html">ListAggregatedUtterances</a> operation, and
|
|
13
|
+
* then stored indefinitely for use in improving the ability of your bot
|
|
14
|
+
* to respond to user input..</p>
|
|
15
15
|
* <p>Use the <code>DeleteUtterances</code> operation to manually delete
|
|
16
16
|
* utterances for a specific session. When you use the
|
|
17
17
|
* <code>DeleteUtterances</code> operation, utterances stored for
|
|
@@ -12,7 +12,7 @@ export interface ListBuiltInIntentsCommandOutput extends ListBuiltInIntentsRespo
|
|
|
12
12
|
* <p>To use a built-in intent as a the base for your own intent, include
|
|
13
13
|
* the built-in intent signature in the <code>parentIntentSignature</code>
|
|
14
14
|
* parameter when you call the <code>CreateIntent</code> operation. For
|
|
15
|
-
* more information, see <a>CreateIntent</a>.</p>
|
|
15
|
+
* more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateIntent.html">CreateIntent</a>.</p>
|
|
16
16
|
* @example
|
|
17
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
18
|
* ```javascript
|
|
@@ -11,7 +11,7 @@ export interface UpdateExportCommandOutput extends UpdateExportResponse, __Metad
|
|
|
11
11
|
* <p>The password is not required. If you don't supply a password, Amazon Lex
|
|
12
12
|
* generates a zip file that is not protected by a password. This is the
|
|
13
13
|
* archive that is available at the pre-signed S3 URL provided by the
|
|
14
|
-
*
|
|
14
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html">DescribeExport</a> operation.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -144,8 +144,8 @@ export declare namespace S3BucketLogDestination {
|
|
|
144
144
|
export interface AudioLogDestination {
|
|
145
145
|
/**
|
|
146
146
|
* <p>The Amazon S3 bucket where the audio log files are stored. The IAM
|
|
147
|
-
* role specified in the <code>roleArn</code> parameter of the <a>CreateBot</a> operation must have permission to write to
|
|
148
|
-
*
|
|
147
|
+
* role specified in the <code>roleArn</code> parameter of the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html">CreateBot</a> operation must have permission to write to this
|
|
148
|
+
* bucket.</p>
|
|
149
149
|
*/
|
|
150
150
|
s3Bucket: S3BucketLogDestination | undefined;
|
|
151
151
|
}
|
|
@@ -268,12 +268,12 @@ export declare enum BotAliasStatus {
|
|
|
268
268
|
Failed = "Failed"
|
|
269
269
|
}
|
|
270
270
|
/**
|
|
271
|
-
* <p>Summary information about bot aliases returned from the <a>ListBotAliases</a> operation.</p>
|
|
271
|
+
* <p>Summary information about bot aliases returned from the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotAliases.html">ListBotAliases</a> operation.</p>
|
|
272
272
|
*/
|
|
273
273
|
export interface BotAliasSummary {
|
|
274
274
|
/**
|
|
275
275
|
* <p>The unique identifier assigned to the bot alias. You can use this ID
|
|
276
|
-
* to get detailed information about the alias using the <a>DescribeBotAlias</a> operation.</p>
|
|
276
|
+
* to get detailed information about the alias using the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBotAlias.html">DescribeBotAlias</a> operation.</p>
|
|
277
277
|
*/
|
|
278
278
|
botAliasId?: string;
|
|
279
279
|
/**
|
|
@@ -543,6 +543,10 @@ export declare namespace BotLocaleHistoryEvent {
|
|
|
543
543
|
*/
|
|
544
544
|
const filterSensitiveLog: (obj: BotLocaleHistoryEvent) => any;
|
|
545
545
|
}
|
|
546
|
+
export declare enum VoiceEngine {
|
|
547
|
+
Neural = "neural",
|
|
548
|
+
Standard = "standard"
|
|
549
|
+
}
|
|
546
550
|
/**
|
|
547
551
|
* <p>Defines settings for using an Amazon Polly voice to communicate with a
|
|
548
552
|
* user.</p>
|
|
@@ -552,6 +556,12 @@ export interface VoiceSettings {
|
|
|
552
556
|
* <p>The identifier of the Amazon Polly voice to use.</p>
|
|
553
557
|
*/
|
|
554
558
|
voiceId: string | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* <p>Indicates the type of Amazon Polly
|
|
561
|
+
* voice that Amazon Lex should use for voice interaction with the user.
|
|
562
|
+
* For more information, see <a href="https://docs.aws.amazon.com/polly/latest/dg/voicelist.html">Voices in Amazon Polly</a>.</p>
|
|
563
|
+
*/
|
|
564
|
+
engine?: VoiceEngine | string;
|
|
555
565
|
}
|
|
556
566
|
export declare namespace VoiceSettings {
|
|
557
567
|
/**
|
|
@@ -663,7 +673,7 @@ export declare enum BotLocaleStatus {
|
|
|
663
673
|
ReadyExpressTesting = "ReadyExpressTesting"
|
|
664
674
|
}
|
|
665
675
|
/**
|
|
666
|
-
* <p>Summary information about bot locales returned by the <a>ListBotLocales</a> operation.</p>
|
|
676
|
+
* <p>Summary information about bot locales returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotLocales.html">ListBotLocales</a> operation.</p>
|
|
667
677
|
*/
|
|
668
678
|
export interface BotLocaleSummary {
|
|
669
679
|
/**
|
|
@@ -733,12 +743,12 @@ export declare enum BotStatus {
|
|
|
733
743
|
Versioning = "Versioning"
|
|
734
744
|
}
|
|
735
745
|
/**
|
|
736
|
-
* <p>Summary information about a bot returned by the <a>ListBots</a> operation.</p>
|
|
746
|
+
* <p>Summary information about a bot returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBots.html">ListBots</a> operation.</p>
|
|
737
747
|
*/
|
|
738
748
|
export interface BotSummary {
|
|
739
749
|
/**
|
|
740
750
|
* <p>The unique identifier assigned to the bot. Use this ID to get
|
|
741
|
-
* detailed information about the bot with the <a>DescribeBot</a> operation.</p>
|
|
751
|
+
* detailed information about the bot with the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeBot.html">DescribeBot</a> operation.</p>
|
|
742
752
|
*/
|
|
743
753
|
botId?: string;
|
|
744
754
|
/**
|
|
@@ -808,7 +818,7 @@ export declare namespace BotVersionSortBy {
|
|
|
808
818
|
const filterSensitiveLog: (obj: BotVersionSortBy) => any;
|
|
809
819
|
}
|
|
810
820
|
/**
|
|
811
|
-
* <p>Summary information about a bot version returned by the <a>ListBotVersions</a> operation.</p>
|
|
821
|
+
* <p>Summary information about a bot version returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBotVersions.html">ListBotVersions</a> operation.</p>
|
|
812
822
|
*/
|
|
813
823
|
export interface BotVersionSummary {
|
|
814
824
|
/**
|
|
@@ -844,7 +854,7 @@ export declare namespace BotVersionSummary {
|
|
|
844
854
|
export interface BuildBotLocaleRequest {
|
|
845
855
|
/**
|
|
846
856
|
* <p>The identifier of the bot to build. The identifier is returned in
|
|
847
|
-
* the response from the
|
|
857
|
+
* the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html">CreateBot</a> operation.</p>
|
|
848
858
|
*/
|
|
849
859
|
botId: string | undefined;
|
|
850
860
|
/**
|
|
@@ -1017,7 +1027,7 @@ export declare namespace BuiltInIntentSortBy {
|
|
|
1017
1027
|
const filterSensitiveLog: (obj: BuiltInIntentSortBy) => any;
|
|
1018
1028
|
}
|
|
1019
1029
|
/**
|
|
1020
|
-
* <p>Provides summary information about a built-in intent for the <a>ListBuiltInIntents</a> operation.</p>
|
|
1030
|
+
* <p>Provides summary information about a built-in intent for the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInIntents.html"> ListBuiltInIntents </a> operation.</p>
|
|
1021
1031
|
*/
|
|
1022
1032
|
export interface BuiltInIntentSummary {
|
|
1023
1033
|
/**
|
|
@@ -1062,7 +1072,8 @@ export declare namespace BuiltInSlotTypeSortBy {
|
|
|
1062
1072
|
}
|
|
1063
1073
|
/**
|
|
1064
1074
|
* <p>Provides summary information about a built-in slot type for the
|
|
1065
|
-
* <a>ListBuiltInSlotTypes</a>
|
|
1075
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListBuiltInSlotTypes.html"> ListBuiltInSlotTypes </a>
|
|
1076
|
+
* operation.</p>
|
|
1066
1077
|
*/
|
|
1067
1078
|
export interface BuiltInSlotTypeSummary {
|
|
1068
1079
|
/**
|
|
@@ -1325,8 +1336,8 @@ export interface CreateBotAliasRequest {
|
|
|
1325
1336
|
description?: string;
|
|
1326
1337
|
/**
|
|
1327
1338
|
* <p>The version of the bot that this alias points to. You can use the
|
|
1328
|
-
*
|
|
1329
|
-
* version associated with the alias.</p>
|
|
1339
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_UpdateBotAlias.html">UpdateBotAlias</a> operation to change the
|
|
1340
|
+
* bot version associated with the alias.</p>
|
|
1330
1341
|
*/
|
|
1331
1342
|
botVersion?: string;
|
|
1332
1343
|
/**
|
|
@@ -1685,8 +1696,8 @@ export interface CreateExportResponse {
|
|
|
1685
1696
|
fileFormat?: ImportExportFileFormat | string;
|
|
1686
1697
|
/**
|
|
1687
1698
|
* <p>The status of the export. When the status is <code>Completed</code>,
|
|
1688
|
-
* you can use the
|
|
1689
|
-
*
|
|
1699
|
+
* you can use the <a href="https://docs.aws.amazon.com/latest/dg/API_DescribeExport.html">DescribeExport</a> operation to get the
|
|
1700
|
+
* pre-signed S3 URL link to your exported bot or bot locale.</p>
|
|
1690
1701
|
*/
|
|
1691
1702
|
exportStatus?: ExportStatus | string;
|
|
1692
1703
|
/**
|
|
@@ -3118,7 +3129,7 @@ export declare namespace CreateUploadUrlRequest {
|
|
|
3118
3129
|
export interface CreateUploadUrlResponse {
|
|
3119
3130
|
/**
|
|
3120
3131
|
* <p>An identifier for a unique import job. Use it when you call the
|
|
3121
|
-
*
|
|
3132
|
+
* <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_StartImport.html">StartImport</a> operation.</p>
|
|
3122
3133
|
*/
|
|
3123
3134
|
importId?: string;
|
|
3124
3135
|
/**
|
|
@@ -3326,7 +3337,8 @@ export interface DeleteExportResponse {
|
|
|
3326
3337
|
exportId?: string;
|
|
3327
3338
|
/**
|
|
3328
3339
|
* <p>The current status of the deletion. When the deletion is complete,
|
|
3329
|
-
* the export will no longer be returned by the
|
|
3340
|
+
* the export will no longer be returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html">ListExports</a> operation and calls to the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeExport.html">
|
|
3341
|
+
* DescribeExport</a> operation with the export identifier will
|
|
3330
3342
|
* fail.</p>
|
|
3331
3343
|
*/
|
|
3332
3344
|
exportStatus?: ExportStatus | string;
|
|
@@ -3362,7 +3374,7 @@ export interface DeleteImportResponse {
|
|
|
3362
3374
|
importId?: string;
|
|
3363
3375
|
/**
|
|
3364
3376
|
* <p>The current status of the deletion. When the deletion is complete,
|
|
3365
|
-
* the import will no longer be returned by the
|
|
3377
|
+
* the import will no longer be returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html">ListImports</a> operation and calls to the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_DescribeImport.html">DescribeImport</a> operation with the import identifier will
|
|
3366
3378
|
* fail.</p>
|
|
3367
3379
|
*/
|
|
3368
3380
|
importStatus?: ImportStatus | string;
|
|
@@ -3563,7 +3575,7 @@ export interface DeleteUtterancesRequest {
|
|
|
3563
3575
|
localeId?: string;
|
|
3564
3576
|
/**
|
|
3565
3577
|
* <p>The unique identifier of the session with the user. The ID is
|
|
3566
|
-
* returned in the response from the
|
|
3578
|
+
* returned in the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeText.html">RecognizeText</a> and <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_runtime_RecognizeUtterance.html">RecognizeUtterance</a> operations.</p>
|
|
3567
3579
|
*/
|
|
3568
3580
|
sessionId?: string;
|
|
3569
3581
|
}
|
|
@@ -4402,8 +4414,7 @@ export declare enum ExportFilterOperator {
|
|
|
4402
4414
|
Equals = "EQ"
|
|
4403
4415
|
}
|
|
4404
4416
|
/**
|
|
4405
|
-
* <p>Filters the response form the
|
|
4406
|
-
* operation</p>
|
|
4417
|
+
* <p>Filters the response form the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListExports.html">ListExports</a> operation</p>
|
|
4407
4418
|
*/
|
|
4408
4419
|
export interface ExportFilter {
|
|
4409
4420
|
/**
|
|
@@ -4496,8 +4507,7 @@ export declare enum ImportFilterOperator {
|
|
|
4496
4507
|
Equals = "EQ"
|
|
4497
4508
|
}
|
|
4498
4509
|
/**
|
|
4499
|
-
* <p>Filters the response from the
|
|
4500
|
-
* operation.</p>
|
|
4510
|
+
* <p>Filters the response from the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_ListImports.html">ListImports</a> operation.</p>
|
|
4501
4511
|
*/
|
|
4502
4512
|
export interface ImportFilter {
|
|
4503
4513
|
/**
|
|
@@ -5929,7 +5939,7 @@ export declare namespace ListTagsForResourceResponse {
|
|
|
5929
5939
|
export interface StartImportRequest {
|
|
5930
5940
|
/**
|
|
5931
5941
|
* <p>The unique identifier for the import. It is included in the response
|
|
5932
|
-
* from the
|
|
5942
|
+
* from the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateUploadUrl.html">CreateUploadUrl</a> operation.</p>
|
|
5933
5943
|
*/
|
|
5934
5944
|
importId: string | undefined;
|
|
5935
5945
|
/**
|
|
@@ -6045,7 +6055,7 @@ export declare namespace UntagResourceResponse {
|
|
|
6045
6055
|
export interface UpdateBotRequest {
|
|
6046
6056
|
/**
|
|
6047
6057
|
* <p>The unique identifier of the bot to update. This identifier is
|
|
6048
|
-
* returned by the <a>CreateBot</a> operation.</p>
|
|
6058
|
+
* returned by the <a href="https://docs.aws.amazon.com/lexv2/latest/dg/API_CreateBot.html">CreateBot</a> operation.</p>
|
|
6049
6059
|
*/
|
|
6050
6060
|
botId: string | undefined;
|
|
6051
6061
|
/**
|
|
@@ -268,10 +268,16 @@ export declare namespace BotLocaleHistoryEvent {
|
|
|
268
268
|
|
|
269
269
|
const filterSensitiveLog: (obj: BotLocaleHistoryEvent) => any;
|
|
270
270
|
}
|
|
271
|
+
export declare enum VoiceEngine {
|
|
272
|
+
Neural = "neural",
|
|
273
|
+
Standard = "standard"
|
|
274
|
+
}
|
|
271
275
|
|
|
272
276
|
export interface VoiceSettings {
|
|
273
277
|
|
|
274
278
|
voiceId: string | undefined;
|
|
279
|
+
|
|
280
|
+
engine?: VoiceEngine | string;
|
|
275
281
|
}
|
|
276
282
|
export declare namespace VoiceSettings {
|
|
277
283
|
|
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.43.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,7 +21,7 @@
|
|
|
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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.43.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.40.0",
|
|
26
26
|
"@aws-sdk/credential-provider-node": "3.41.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.40.0",
|