@aws-sdk/client-lex-models-v2 3.46.0 → 3.48.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +38 -0
- package/dist-cjs/LexModelsV2.js +30 -0
- package/dist-cjs/commands/DeleteCustomVocabularyCommand.js +36 -0
- package/dist-cjs/commands/DescribeCustomVocabularyMetadataCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +67 -48
- package/dist-cjs/protocols/Aws_restJson1.js +368 -3
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/LexModelsV2.js +30 -0
- package/dist-es/commands/DeleteCustomVocabularyCommand.js +39 -0
- package/dist-es/commands/DescribeCustomVocabularyMetadataCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +47 -28
- package/dist-es/protocols/Aws_restJson1.js +395 -7
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/LexModelsV2.d.ts +21 -6
- package/dist-types/LexModelsV2Client.d.ts +9 -3
- package/dist-types/commands/DeleteCustomVocabularyCommand.d.ts +36 -0
- package/dist-types/commands/DescribeCustomVocabularyMetadataCommand.d.ts +35 -0
- package/dist-types/commands/ListExportsCommand.d.ts +2 -2
- package/dist-types/commands/ListImportsCommand.d.ts +2 -2
- package/dist-types/commands/StartImportCommand.d.ts +2 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +264 -66
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +10 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +7 -3
- package/dist-types/ts3.4/commands/DeleteCustomVocabularyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeCustomVocabularyMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +124 -29
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +36 -36
|
@@ -1,4 +1,22 @@
|
|
|
1
1
|
import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
|
|
2
|
+
export declare enum AudioRecognitionStrategy {
|
|
3
|
+
UseSlotValuesAsCustomVocabulary = "UseSlotValuesAsCustomVocabulary"
|
|
4
|
+
}
|
|
5
|
+
/**
|
|
6
|
+
* <p>Provides settings that enable advanced recognition settings for slot values.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface AdvancedRecognitionSetting {
|
|
9
|
+
/**
|
|
10
|
+
* <p>Enables using the slot values as a custom vocabulary for recognizing user utterances.</p>
|
|
11
|
+
*/
|
|
12
|
+
audioRecognitionStrategy?: AudioRecognitionStrategy | string;
|
|
13
|
+
}
|
|
14
|
+
export declare namespace AdvancedRecognitionSetting {
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
const filterSensitiveLog: (obj: AdvancedRecognitionSetting) => any;
|
|
19
|
+
}
|
|
2
20
|
export declare enum AggregatedUtterancesFilterName {
|
|
3
21
|
Utterance = "Utterance"
|
|
4
22
|
}
|
|
@@ -1089,12 +1107,6 @@ export interface ConflictException extends __SmithyException, $MetadataBearer {
|
|
|
1089
1107
|
$fault: "client";
|
|
1090
1108
|
message?: string;
|
|
1091
1109
|
}
|
|
1092
|
-
export declare namespace ConflictException {
|
|
1093
|
-
/**
|
|
1094
|
-
* @internal
|
|
1095
|
-
*/
|
|
1096
|
-
const filterSensitiveLog: (obj: ConflictException) => any;
|
|
1097
|
-
}
|
|
1098
1110
|
/**
|
|
1099
1111
|
* <p>The service encountered an unexpected condition. Try your request
|
|
1100
1112
|
* again.</p>
|
|
@@ -1104,12 +1116,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
|
|
|
1104
1116
|
$fault: "server";
|
|
1105
1117
|
message?: string;
|
|
1106
1118
|
}
|
|
1107
|
-
export declare namespace InternalServerException {
|
|
1108
|
-
/**
|
|
1109
|
-
* @internal
|
|
1110
|
-
*/
|
|
1111
|
-
const filterSensitiveLog: (obj: InternalServerException) => any;
|
|
1112
|
-
}
|
|
1113
1119
|
/**
|
|
1114
1120
|
* <p>Your request couldn't be completed because one or more request
|
|
1115
1121
|
* fields aren't valid. Check the fields in your request and try
|
|
@@ -1120,12 +1126,6 @@ export interface PreconditionFailedException extends __SmithyException, $Metadat
|
|
|
1120
1126
|
$fault: "client";
|
|
1121
1127
|
message?: string;
|
|
1122
1128
|
}
|
|
1123
|
-
export declare namespace PreconditionFailedException {
|
|
1124
|
-
/**
|
|
1125
|
-
* @internal
|
|
1126
|
-
*/
|
|
1127
|
-
const filterSensitiveLog: (obj: PreconditionFailedException) => any;
|
|
1128
|
-
}
|
|
1129
1129
|
/**
|
|
1130
1130
|
* <p>You have reached a quota for your bot. </p>
|
|
1131
1131
|
*/
|
|
@@ -1134,12 +1134,6 @@ export interface ServiceQuotaExceededException extends __SmithyException, $Metad
|
|
|
1134
1134
|
$fault: "client";
|
|
1135
1135
|
message?: string;
|
|
1136
1136
|
}
|
|
1137
|
-
export declare namespace ServiceQuotaExceededException {
|
|
1138
|
-
/**
|
|
1139
|
-
* @internal
|
|
1140
|
-
*/
|
|
1141
|
-
const filterSensitiveLog: (obj: ServiceQuotaExceededException) => any;
|
|
1142
|
-
}
|
|
1143
1137
|
/**
|
|
1144
1138
|
* <p>Your request rate is too high. Reduce the frequency of
|
|
1145
1139
|
* requests.</p>
|
|
@@ -1150,12 +1144,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
|
|
|
1150
1144
|
retryAfterSeconds?: number;
|
|
1151
1145
|
message?: string;
|
|
1152
1146
|
}
|
|
1153
|
-
export declare namespace ThrottlingException {
|
|
1154
|
-
/**
|
|
1155
|
-
* @internal
|
|
1156
|
-
*/
|
|
1157
|
-
const filterSensitiveLog: (obj: ThrottlingException) => any;
|
|
1158
|
-
}
|
|
1159
1147
|
/**
|
|
1160
1148
|
* <p>One of the input parameters in your request isn't valid. Check the
|
|
1161
1149
|
* parameters and try your request again.</p>
|
|
@@ -1165,12 +1153,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
1165
1153
|
$fault: "client";
|
|
1166
1154
|
message?: string;
|
|
1167
1155
|
}
|
|
1168
|
-
export declare namespace ValidationException {
|
|
1169
|
-
/**
|
|
1170
|
-
* @internal
|
|
1171
|
-
*/
|
|
1172
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
1173
|
-
}
|
|
1174
1156
|
export declare enum BuiltInIntentSortAttribute {
|
|
1175
1157
|
IntentSignature = "IntentSignature"
|
|
1176
1158
|
}
|
|
@@ -1795,7 +1777,31 @@ export declare namespace CreateBotVersionResponse {
|
|
|
1795
1777
|
const filterSensitiveLog: (obj: CreateBotVersionResponse) => any;
|
|
1796
1778
|
}
|
|
1797
1779
|
export declare enum ImportExportFileFormat {
|
|
1798
|
-
LexJson = "LexJson"
|
|
1780
|
+
LexJson = "LexJson",
|
|
1781
|
+
TSV = "TSV"
|
|
1782
|
+
}
|
|
1783
|
+
/**
|
|
1784
|
+
* <p>Provides the parameters required for exporting a custom vocabulary.</p>
|
|
1785
|
+
*/
|
|
1786
|
+
export interface CustomVocabularyExportSpecification {
|
|
1787
|
+
/**
|
|
1788
|
+
* <p>The identifier of the bot that contains the custom vocabulary to export.</p>
|
|
1789
|
+
*/
|
|
1790
|
+
botId: string | undefined;
|
|
1791
|
+
/**
|
|
1792
|
+
* <p>The version of the bot that contains the custom vocabulary to export.</p>
|
|
1793
|
+
*/
|
|
1794
|
+
botVersion: string | undefined;
|
|
1795
|
+
/**
|
|
1796
|
+
* <p>The locale of the bot that contains the custom vocabulary to export.</p>
|
|
1797
|
+
*/
|
|
1798
|
+
localeId: string | undefined;
|
|
1799
|
+
}
|
|
1800
|
+
export declare namespace CustomVocabularyExportSpecification {
|
|
1801
|
+
/**
|
|
1802
|
+
* @internal
|
|
1803
|
+
*/
|
|
1804
|
+
const filterSensitiveLog: (obj: CustomVocabularyExportSpecification) => any;
|
|
1799
1805
|
}
|
|
1800
1806
|
/**
|
|
1801
1807
|
* <p>Provides information about the bot or bot locale that you want to
|
|
@@ -1811,6 +1817,10 @@ export interface ExportResourceSpecification {
|
|
|
1811
1817
|
* <p>Parameters for exporting a bot locale.</p>
|
|
1812
1818
|
*/
|
|
1813
1819
|
botLocaleExportSpecification?: BotLocaleExportSpecification;
|
|
1820
|
+
/**
|
|
1821
|
+
* <p>The parameters required to export a custom vocabulary.</p>
|
|
1822
|
+
*/
|
|
1823
|
+
customVocabularyExportSpecification?: CustomVocabularyExportSpecification;
|
|
1814
1824
|
}
|
|
1815
1825
|
export declare namespace ExportResourceSpecification {
|
|
1816
1826
|
/**
|
|
@@ -1889,12 +1899,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
1889
1899
|
$fault: "client";
|
|
1890
1900
|
message?: string;
|
|
1891
1901
|
}
|
|
1892
|
-
export declare namespace ResourceNotFoundException {
|
|
1893
|
-
/**
|
|
1894
|
-
* @internal
|
|
1895
|
-
*/
|
|
1896
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
1897
|
-
}
|
|
1898
1902
|
/**
|
|
1899
1903
|
* <p>Settings that determine the Lambda function that Amazon Lex uses for
|
|
1900
1904
|
* processing user responses.</p>
|
|
@@ -3215,6 +3219,11 @@ export interface SlotValueSelectionSetting {
|
|
|
3215
3219
|
* <p>A regular expression used to validate the value of a slot.</p>
|
|
3216
3220
|
*/
|
|
3217
3221
|
regexFilter?: SlotValueRegexFilter;
|
|
3222
|
+
/**
|
|
3223
|
+
* <p>Provides settings that enable advanced recognition settings for slot
|
|
3224
|
+
* values.</p>
|
|
3225
|
+
*/
|
|
3226
|
+
advancedRecognitionSetting?: AdvancedRecognitionSetting;
|
|
3218
3227
|
}
|
|
3219
3228
|
export declare namespace SlotValueSelectionSetting {
|
|
3220
3229
|
/**
|
|
@@ -3380,6 +3389,37 @@ export declare namespace CreateUploadUrlResponse {
|
|
|
3380
3389
|
*/
|
|
3381
3390
|
const filterSensitiveLog: (obj: CreateUploadUrlResponse) => any;
|
|
3382
3391
|
}
|
|
3392
|
+
/**
|
|
3393
|
+
* <p>Provides the parameters required for importing a custom vocabulary.</p>
|
|
3394
|
+
*/
|
|
3395
|
+
export interface CustomVocabularyImportSpecification {
|
|
3396
|
+
/**
|
|
3397
|
+
* <p>The identifier of the bot to import the custom vocabulary to.</p>
|
|
3398
|
+
*/
|
|
3399
|
+
botId: string | undefined;
|
|
3400
|
+
/**
|
|
3401
|
+
* <p>The version of the bot to import the custom vocabulary to.</p>
|
|
3402
|
+
*/
|
|
3403
|
+
botVersion: string | undefined;
|
|
3404
|
+
/**
|
|
3405
|
+
* <p>The identifier of the local to import the custom vocabulary to. The value must
|
|
3406
|
+
* be <code>en_GB</code>.</p>
|
|
3407
|
+
*/
|
|
3408
|
+
localeId: string | undefined;
|
|
3409
|
+
}
|
|
3410
|
+
export declare namespace CustomVocabularyImportSpecification {
|
|
3411
|
+
/**
|
|
3412
|
+
* @internal
|
|
3413
|
+
*/
|
|
3414
|
+
const filterSensitiveLog: (obj: CustomVocabularyImportSpecification) => any;
|
|
3415
|
+
}
|
|
3416
|
+
export declare enum CustomVocabularyStatus {
|
|
3417
|
+
Creating = "Creating",
|
|
3418
|
+
Deleting = "Deleting",
|
|
3419
|
+
Exporting = "Exporting",
|
|
3420
|
+
Importing = "Importing",
|
|
3421
|
+
Ready = "Ready"
|
|
3422
|
+
}
|
|
3383
3423
|
/**
|
|
3384
3424
|
* <p>The object used for specifying the data range that the customer
|
|
3385
3425
|
* wants Amazon Lex to read through in the input transcripts.</p>
|
|
@@ -3576,6 +3616,56 @@ export declare namespace DeleteBotVersionResponse {
|
|
|
3576
3616
|
*/
|
|
3577
3617
|
const filterSensitiveLog: (obj: DeleteBotVersionResponse) => any;
|
|
3578
3618
|
}
|
|
3619
|
+
export interface DeleteCustomVocabularyRequest {
|
|
3620
|
+
/**
|
|
3621
|
+
* <p>The unique identifier of the bot to remove the custom
|
|
3622
|
+
* vocabulary from.</p>
|
|
3623
|
+
*/
|
|
3624
|
+
botId: string | undefined;
|
|
3625
|
+
/**
|
|
3626
|
+
* <p>The version of the bot to remove the custom vocabulary
|
|
3627
|
+
* from.</p>
|
|
3628
|
+
*/
|
|
3629
|
+
botVersion: string | undefined;
|
|
3630
|
+
/**
|
|
3631
|
+
* <p>The locale identifier for the locale that contains the
|
|
3632
|
+
* custom vocabulary to remove.</p>
|
|
3633
|
+
*/
|
|
3634
|
+
localeId: string | undefined;
|
|
3635
|
+
}
|
|
3636
|
+
export declare namespace DeleteCustomVocabularyRequest {
|
|
3637
|
+
/**
|
|
3638
|
+
* @internal
|
|
3639
|
+
*/
|
|
3640
|
+
const filterSensitiveLog: (obj: DeleteCustomVocabularyRequest) => any;
|
|
3641
|
+
}
|
|
3642
|
+
export interface DeleteCustomVocabularyResponse {
|
|
3643
|
+
/**
|
|
3644
|
+
* <p>The identifier of the bot that the custom vocabulary
|
|
3645
|
+
* was removed from.</p>
|
|
3646
|
+
*/
|
|
3647
|
+
botId?: string;
|
|
3648
|
+
/**
|
|
3649
|
+
* <p>The version of the bot that the custom vocabulary
|
|
3650
|
+
* was removed from.</p>
|
|
3651
|
+
*/
|
|
3652
|
+
botVersion?: string;
|
|
3653
|
+
/**
|
|
3654
|
+
* <p>The locale identifier for the locale that the
|
|
3655
|
+
* custom vocabulary was removed from.</p>
|
|
3656
|
+
*/
|
|
3657
|
+
localeId?: string;
|
|
3658
|
+
/**
|
|
3659
|
+
* <p>The status of removing the custom vocabulary.</p>
|
|
3660
|
+
*/
|
|
3661
|
+
customVocabularyStatus?: CustomVocabularyStatus | string;
|
|
3662
|
+
}
|
|
3663
|
+
export declare namespace DeleteCustomVocabularyResponse {
|
|
3664
|
+
/**
|
|
3665
|
+
* @internal
|
|
3666
|
+
*/
|
|
3667
|
+
const filterSensitiveLog: (obj: DeleteCustomVocabularyResponse) => any;
|
|
3668
|
+
}
|
|
3579
3669
|
export interface DeleteExportRequest {
|
|
3580
3670
|
/**
|
|
3581
3671
|
* <p>The unique identifier of the export to delete.</p>
|
|
@@ -4405,6 +4495,60 @@ export declare namespace DescribeBotVersionResponse {
|
|
|
4405
4495
|
*/
|
|
4406
4496
|
const filterSensitiveLog: (obj: DescribeBotVersionResponse) => any;
|
|
4407
4497
|
}
|
|
4498
|
+
export interface DescribeCustomVocabularyMetadataRequest {
|
|
4499
|
+
/**
|
|
4500
|
+
* <p>The unique identifier of the bot that contains the custom vocabulary.</p>
|
|
4501
|
+
*/
|
|
4502
|
+
botId: string | undefined;
|
|
4503
|
+
/**
|
|
4504
|
+
* <p>The bot version of the bot to return metadata for.</p>
|
|
4505
|
+
*/
|
|
4506
|
+
botVersion: string | undefined;
|
|
4507
|
+
/**
|
|
4508
|
+
* <p>The locale to return the custom vocabulary information for.
|
|
4509
|
+
* The locale must be <code>en_GB</code>.</p>
|
|
4510
|
+
*/
|
|
4511
|
+
localeId: string | undefined;
|
|
4512
|
+
}
|
|
4513
|
+
export declare namespace DescribeCustomVocabularyMetadataRequest {
|
|
4514
|
+
/**
|
|
4515
|
+
* @internal
|
|
4516
|
+
*/
|
|
4517
|
+
const filterSensitiveLog: (obj: DescribeCustomVocabularyMetadataRequest) => any;
|
|
4518
|
+
}
|
|
4519
|
+
export interface DescribeCustomVocabularyMetadataResponse {
|
|
4520
|
+
/**
|
|
4521
|
+
* <p>The identifier of the bot that contains the custom vocabulary.</p>
|
|
4522
|
+
*/
|
|
4523
|
+
botId?: string;
|
|
4524
|
+
/**
|
|
4525
|
+
* <p>The version of the bot that contains the custom vocabulary to describe.</p>
|
|
4526
|
+
*/
|
|
4527
|
+
botVersion?: string;
|
|
4528
|
+
/**
|
|
4529
|
+
* <p>The locale that contains the custom vocabulary to describe.</p>
|
|
4530
|
+
*/
|
|
4531
|
+
localeId?: string;
|
|
4532
|
+
/**
|
|
4533
|
+
* <p>The status of the custom vocabulary. If the status is
|
|
4534
|
+
* <code>Ready</code> the custom vocabulary is ready to use.</p>
|
|
4535
|
+
*/
|
|
4536
|
+
customVocabularyStatus?: CustomVocabularyStatus | string;
|
|
4537
|
+
/**
|
|
4538
|
+
* <p>The date and time that the custom vocabulary was created.</p>
|
|
4539
|
+
*/
|
|
4540
|
+
creationDateTime?: Date;
|
|
4541
|
+
/**
|
|
4542
|
+
* <p>The date and time that the custom vocabulary was last updated.</p>
|
|
4543
|
+
*/
|
|
4544
|
+
lastUpdatedDateTime?: Date;
|
|
4545
|
+
}
|
|
4546
|
+
export declare namespace DescribeCustomVocabularyMetadataResponse {
|
|
4547
|
+
/**
|
|
4548
|
+
* @internal
|
|
4549
|
+
*/
|
|
4550
|
+
const filterSensitiveLog: (obj: DescribeCustomVocabularyMetadataResponse) => any;
|
|
4551
|
+
}
|
|
4408
4552
|
export interface DescribeExportRequest {
|
|
4409
4553
|
/**
|
|
4410
4554
|
* <p>The unique identifier of the export to describe.</p>
|
|
@@ -4428,8 +4572,8 @@ export interface DescribeExportResponse {
|
|
|
4428
4572
|
*/
|
|
4429
4573
|
resourceSpecification?: ExportResourceSpecification;
|
|
4430
4574
|
/**
|
|
4431
|
-
* <p>The file format used in the files that describe the
|
|
4432
|
-
*
|
|
4575
|
+
* <p>The file format used in the files that describe the resource.
|
|
4576
|
+
* </p>
|
|
4433
4577
|
*/
|
|
4434
4578
|
fileFormat?: ImportExportFileFormat | string;
|
|
4435
4579
|
/**
|
|
@@ -4494,6 +4638,10 @@ export interface ImportResourceSpecification {
|
|
|
4494
4638
|
* <p>Parameters for importing a bot locale.</p>
|
|
4495
4639
|
*/
|
|
4496
4640
|
botLocaleImportSpecification?: BotLocaleImportSpecification;
|
|
4641
|
+
/**
|
|
4642
|
+
* <p>Provides the parameters required for importing a custom vocabulary.</p>
|
|
4643
|
+
*/
|
|
4644
|
+
customVocabularyImportSpecification?: CustomVocabularyImportSpecification;
|
|
4497
4645
|
}
|
|
4498
4646
|
export declare namespace ImportResourceSpecification {
|
|
4499
4647
|
/**
|
|
@@ -4507,7 +4655,8 @@ export interface DescribeImportResponse {
|
|
|
4507
4655
|
*/
|
|
4508
4656
|
importId?: string;
|
|
4509
4657
|
/**
|
|
4510
|
-
* <p>The specifications of the imported bot
|
|
4658
|
+
* <p>The specifications of the imported bot, bot locale, or custom
|
|
4659
|
+
* vocabulary.</p>
|
|
4511
4660
|
*/
|
|
4512
4661
|
resourceSpecification?: ImportResourceSpecification;
|
|
4513
4662
|
/**
|
|
@@ -4927,7 +5076,9 @@ export interface ExportFilter {
|
|
|
4927
5076
|
*/
|
|
4928
5077
|
name: ExportFilterName | string | undefined;
|
|
4929
5078
|
/**
|
|
4930
|
-
* <p>The values to use to filter the response
|
|
5079
|
+
* <p>The values to use to filter the response. The values must be
|
|
5080
|
+
* <code>Bot</code>, <code>BotLocale</code>, or
|
|
5081
|
+
* <code>CustomVocabulary</code>.</p>
|
|
4931
5082
|
*/
|
|
4932
5083
|
values: string[] | undefined;
|
|
4933
5084
|
/**
|
|
@@ -5020,7 +5171,9 @@ export interface ImportFilter {
|
|
|
5020
5171
|
*/
|
|
5021
5172
|
name: ImportFilterName | string | undefined;
|
|
5022
5173
|
/**
|
|
5023
|
-
* <p>The values to use to filter the response
|
|
5174
|
+
* <p>The values to use to filter the response. The values must be
|
|
5175
|
+
* <code>Bot</code>, <code>BotLocale</code>, or
|
|
5176
|
+
* <code>CustomVocabulary</code>.</p>
|
|
5024
5177
|
*/
|
|
5025
5178
|
values: string[] | undefined;
|
|
5026
5179
|
/**
|
|
@@ -5038,6 +5191,11 @@ export declare namespace ImportFilter {
|
|
|
5038
5191
|
*/
|
|
5039
5192
|
const filterSensitiveLog: (obj: ImportFilter) => any;
|
|
5040
5193
|
}
|
|
5194
|
+
export declare enum ImportResourceType {
|
|
5195
|
+
Bot = "Bot",
|
|
5196
|
+
BotLocale = "BotLocale",
|
|
5197
|
+
CustomVocabulary = "CustomVocabulary"
|
|
5198
|
+
}
|
|
5041
5199
|
export declare enum ImportSortAttribute {
|
|
5042
5200
|
LastUpdatedDateTime = "LastUpdatedDateTime"
|
|
5043
5201
|
}
|
|
@@ -5096,6 +5254,10 @@ export interface ImportSummary {
|
|
|
5096
5254
|
* <p>The date and time that the import was last updated.</p>
|
|
5097
5255
|
*/
|
|
5098
5256
|
lastUpdatedDateTime?: Date;
|
|
5257
|
+
/**
|
|
5258
|
+
* <p>The type of resource that was imported.</p>
|
|
5259
|
+
*/
|
|
5260
|
+
importedResourceType?: ImportResourceType | string;
|
|
5099
5261
|
}
|
|
5100
5262
|
export declare namespace ImportSummary {
|
|
5101
5263
|
/**
|
|
@@ -5659,9 +5821,12 @@ export interface ListBotsRequest {
|
|
|
5659
5821
|
/**
|
|
5660
5822
|
* <p>If the response from the <code>ListBots</code> operation contains
|
|
5661
5823
|
* more results than specified in the <code>maxResults</code> parameter, a
|
|
5662
|
-
* token is returned in the response.
|
|
5663
|
-
*
|
|
5664
|
-
*
|
|
5824
|
+
* token is returned in the response. </p>
|
|
5825
|
+
* <p>Use the returned token in the <code>nextToken</code> parameter of a
|
|
5826
|
+
* <code>ListBots</code> request to return the next page of results.
|
|
5827
|
+
* For a complete set of results, call the <code>ListBots</code> operation
|
|
5828
|
+
* until the <code>nextToken</code> returned in the response is
|
|
5829
|
+
* null.</p>
|
|
5665
5830
|
*/
|
|
5666
5831
|
nextToken?: string;
|
|
5667
5832
|
}
|
|
@@ -5911,11 +6076,20 @@ export interface ListExportsRequest {
|
|
|
5911
6076
|
/**
|
|
5912
6077
|
* <p>If the response from the <code>ListExports</code> operation contains
|
|
5913
6078
|
* more results that specified in the <code>maxResults</code> parameter, a
|
|
5914
|
-
* token is returned in the response.
|
|
5915
|
-
*
|
|
5916
|
-
*
|
|
6079
|
+
* token is returned in the response. </p>
|
|
6080
|
+
* <p>Use the returned token in the <code>nextToken</code> parameter of a
|
|
6081
|
+
* <code>ListExports</code> request to return the next page of results.
|
|
6082
|
+
* For a complete set of results, call the <code>ListExports</code>
|
|
6083
|
+
* operation until the <code>nextToken</code> returned in the response is
|
|
6084
|
+
* null.</p>
|
|
5917
6085
|
*/
|
|
5918
6086
|
nextToken?: string;
|
|
6087
|
+
/**
|
|
6088
|
+
* <p>Specifies the resources that should be exported. If you
|
|
6089
|
+
* don't specify a resource type in the <code>filters</code> parameter,
|
|
6090
|
+
* both bot locales and custom vocabularies are exported.</p>
|
|
6091
|
+
*/
|
|
6092
|
+
localeId?: string;
|
|
5919
6093
|
}
|
|
5920
6094
|
export declare namespace ListExportsRequest {
|
|
5921
6095
|
/**
|
|
@@ -5948,6 +6122,10 @@ export interface ListExportsResponse {
|
|
|
5948
6122
|
* operation request to get the next page of results.</p>
|
|
5949
6123
|
*/
|
|
5950
6124
|
nextToken?: string;
|
|
6125
|
+
/**
|
|
6126
|
+
* <p>The locale specified in the request.</p>
|
|
6127
|
+
*/
|
|
6128
|
+
localeId?: string;
|
|
5951
6129
|
}
|
|
5952
6130
|
export declare namespace ListExportsResponse {
|
|
5953
6131
|
/**
|
|
@@ -5985,11 +6163,20 @@ export interface ListImportsRequest {
|
|
|
5985
6163
|
/**
|
|
5986
6164
|
* <p>If the response from the <code>ListImports</code> operation contains
|
|
5987
6165
|
* more results than specified in the <code>maxResults</code> parameter, a
|
|
5988
|
-
* token is returned in the response
|
|
5989
|
-
*
|
|
5990
|
-
*
|
|
6166
|
+
* token is returned in the response.</p>
|
|
6167
|
+
* <p>Use the returned token in the <code>nextToken</code> parameter of a
|
|
6168
|
+
* <code>ListImports</code> request to return the next page of results.
|
|
6169
|
+
* For a complete set of results, call the <code>ListImports</code>
|
|
6170
|
+
* operation until the <code>nextToken</code> returned in the response is
|
|
6171
|
+
* null.</p>
|
|
5991
6172
|
*/
|
|
5992
6173
|
nextToken?: string;
|
|
6174
|
+
/**
|
|
6175
|
+
* <p>Specifies the locale that should be present in the list. If you
|
|
6176
|
+
* don't specify a resource type in the <code>filters</code> parameter,
|
|
6177
|
+
* the list contains both bot locales and custom vocabularies.</p>
|
|
6178
|
+
*/
|
|
6179
|
+
localeId?: string;
|
|
5993
6180
|
}
|
|
5994
6181
|
export declare namespace ListImportsRequest {
|
|
5995
6182
|
/**
|
|
@@ -6023,6 +6210,10 @@ export interface ListImportsResponse {
|
|
|
6023
6210
|
* operation request to get the next page of results.</p>
|
|
6024
6211
|
*/
|
|
6025
6212
|
nextToken?: string;
|
|
6213
|
+
/**
|
|
6214
|
+
* <p>The locale specified in the request.</p>
|
|
6215
|
+
*/
|
|
6216
|
+
localeId?: string;
|
|
6026
6217
|
}
|
|
6027
6218
|
export declare namespace ListImportsResponse {
|
|
6028
6219
|
/**
|
|
@@ -6067,9 +6258,12 @@ export interface ListIntentsRequest {
|
|
|
6067
6258
|
/**
|
|
6068
6259
|
* <p>If the response from the <code>ListIntents</code> operation contains
|
|
6069
6260
|
* more results than specified in the <code>maxResults</code> parameter, a
|
|
6070
|
-
* token is returned in the response
|
|
6071
|
-
*
|
|
6072
|
-
*
|
|
6261
|
+
* token is returned in the response.</p>
|
|
6262
|
+
* <p>Use the returned token in the <code>nextToken</code> parameter of a
|
|
6263
|
+
* <code>ListIntents</code> request to return the next page of results.
|
|
6264
|
+
* For a complete set of results, call the <code>ListIntents</code>
|
|
6265
|
+
* operation until the <code>nextToken</code> returned in the response is
|
|
6266
|
+
* null.</p>
|
|
6073
6267
|
*/
|
|
6074
6268
|
nextToken?: string;
|
|
6075
6269
|
}
|
|
@@ -6851,7 +7045,8 @@ export interface StartImportRequest {
|
|
|
6851
7045
|
*/
|
|
6852
7046
|
importId: string | undefined;
|
|
6853
7047
|
/**
|
|
6854
|
-
* <p>Parameters for creating the bot
|
|
7048
|
+
* <p>Parameters for creating the bot, bot locale or custom
|
|
7049
|
+
* vocabulary.</p>
|
|
6855
7050
|
*/
|
|
6856
7051
|
resourceSpecification: ImportResourceSpecification | undefined;
|
|
6857
7052
|
/**
|
|
@@ -6862,8 +7057,8 @@ export interface StartImportRequest {
|
|
|
6862
7057
|
*/
|
|
6863
7058
|
mergeStrategy: MergeStrategy | string | undefined;
|
|
6864
7059
|
/**
|
|
6865
|
-
* <p>The password used to encrypt the zip archive that contains the
|
|
6866
|
-
*
|
|
7060
|
+
* <p>The password used to encrypt the zip archive that contains the
|
|
7061
|
+
* resource definition. You should always encrypt the zip archive to
|
|
6867
7062
|
* protect it during transit between your site and Amazon Lex.</p>
|
|
6868
7063
|
*/
|
|
6869
7064
|
filePassword?: string;
|
|
@@ -6880,7 +7075,7 @@ export interface StartImportResponse {
|
|
|
6880
7075
|
*/
|
|
6881
7076
|
importId?: string;
|
|
6882
7077
|
/**
|
|
6883
|
-
* <p>The parameters used when importing the
|
|
7078
|
+
* <p>The parameters used when importing the resource.</p>
|
|
6884
7079
|
*/
|
|
6885
7080
|
resourceSpecification?: ImportResourceSpecification;
|
|
6886
7081
|
/**
|
|
@@ -6892,7 +7087,8 @@ export interface StartImportResponse {
|
|
|
6892
7087
|
mergeStrategy?: MergeStrategy | string;
|
|
6893
7088
|
/**
|
|
6894
7089
|
* <p>The current status of the import. When the status is
|
|
6895
|
-
* <code>Complete</code> the bot
|
|
7090
|
+
* <code>Complete</code> the bot, bot alias, or custom vocabulary is
|
|
7091
|
+
* ready to use.</p>
|
|
6896
7092
|
*/
|
|
6897
7093
|
importStatus?: ImportStatus | string;
|
|
6898
7094
|
/**
|
|
@@ -7379,7 +7575,9 @@ export interface UpdateExportResponse {
|
|
|
7379
7575
|
*/
|
|
7380
7576
|
resourceSpecification?: ExportResourceSpecification;
|
|
7381
7577
|
/**
|
|
7382
|
-
* <p>The file format used for the files that define the resource
|
|
7578
|
+
* <p>The file format used for the files that define the resource. The
|
|
7579
|
+
* <code>TSV</code> format is required to export a custom vocabulary
|
|
7580
|
+
* only; otherwise use <code>LexJson</code> format.</p>
|
|
7383
7581
|
*/
|
|
7384
7582
|
fileFormat?: ImportExportFileFormat | string;
|
|
7385
7583
|
/**
|
|
@@ -16,6 +16,7 @@ import { DeleteBotAliasCommandInput, DeleteBotAliasCommandOutput } from "../comm
|
|
|
16
16
|
import { DeleteBotCommandInput, DeleteBotCommandOutput } from "../commands/DeleteBotCommand";
|
|
17
17
|
import { DeleteBotLocaleCommandInput, DeleteBotLocaleCommandOutput } from "../commands/DeleteBotLocaleCommand";
|
|
18
18
|
import { DeleteBotVersionCommandInput, DeleteBotVersionCommandOutput } from "../commands/DeleteBotVersionCommand";
|
|
19
|
+
import { DeleteCustomVocabularyCommandInput, DeleteCustomVocabularyCommandOutput } from "../commands/DeleteCustomVocabularyCommand";
|
|
19
20
|
import { DeleteExportCommandInput, DeleteExportCommandOutput } from "../commands/DeleteExportCommand";
|
|
20
21
|
import { DeleteImportCommandInput, DeleteImportCommandOutput } from "../commands/DeleteImportCommand";
|
|
21
22
|
import { DeleteIntentCommandInput, DeleteIntentCommandOutput } from "../commands/DeleteIntentCommand";
|
|
@@ -29,6 +30,7 @@ import { DescribeBotCommandInput, DescribeBotCommandOutput } from "../commands/D
|
|
|
29
30
|
import { DescribeBotLocaleCommandInput, DescribeBotLocaleCommandOutput } from "../commands/DescribeBotLocaleCommand";
|
|
30
31
|
import { DescribeBotRecommendationCommandInput, DescribeBotRecommendationCommandOutput } from "../commands/DescribeBotRecommendationCommand";
|
|
31
32
|
import { DescribeBotVersionCommandInput, DescribeBotVersionCommandOutput } from "../commands/DescribeBotVersionCommand";
|
|
33
|
+
import { DescribeCustomVocabularyMetadataCommandInput, DescribeCustomVocabularyMetadataCommandOutput } from "../commands/DescribeCustomVocabularyMetadataCommand";
|
|
32
34
|
import { DescribeExportCommandInput, DescribeExportCommandOutput } from "../commands/DescribeExportCommand";
|
|
33
35
|
import { DescribeImportCommandInput, DescribeImportCommandOutput } from "../commands/DescribeImportCommand";
|
|
34
36
|
import { DescribeIntentCommandInput, DescribeIntentCommandOutput } from "../commands/DescribeIntentCommand";
|
|
@@ -80,6 +82,7 @@ export declare const serializeAws_restJson1DeleteBotCommand: (input: DeleteBotCo
|
|
|
80
82
|
export declare const serializeAws_restJson1DeleteBotAliasCommand: (input: DeleteBotAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
81
83
|
export declare const serializeAws_restJson1DeleteBotLocaleCommand: (input: DeleteBotLocaleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
82
84
|
export declare const serializeAws_restJson1DeleteBotVersionCommand: (input: DeleteBotVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
|
+
export declare const serializeAws_restJson1DeleteCustomVocabularyCommand: (input: DeleteCustomVocabularyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
83
86
|
export declare const serializeAws_restJson1DeleteExportCommand: (input: DeleteExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
84
87
|
export declare const serializeAws_restJson1DeleteImportCommand: (input: DeleteImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
85
88
|
export declare const serializeAws_restJson1DeleteIntentCommand: (input: DeleteIntentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -93,6 +96,7 @@ export declare const serializeAws_restJson1DescribeBotAliasCommand: (input: Desc
|
|
|
93
96
|
export declare const serializeAws_restJson1DescribeBotLocaleCommand: (input: DescribeBotLocaleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
94
97
|
export declare const serializeAws_restJson1DescribeBotRecommendationCommand: (input: DescribeBotRecommendationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
95
98
|
export declare const serializeAws_restJson1DescribeBotVersionCommand: (input: DescribeBotVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
99
|
+
export declare const serializeAws_restJson1DescribeCustomVocabularyMetadataCommand: (input: DescribeCustomVocabularyMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
96
100
|
export declare const serializeAws_restJson1DescribeExportCommand: (input: DescribeExportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
97
101
|
export declare const serializeAws_restJson1DescribeImportCommand: (input: DescribeImportCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
98
102
|
export declare const serializeAws_restJson1DescribeIntentCommand: (input: DescribeIntentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
@@ -144,6 +148,7 @@ export declare const deserializeAws_restJson1DeleteBotCommand: (output: __HttpRe
|
|
|
144
148
|
export declare const deserializeAws_restJson1DeleteBotAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBotAliasCommandOutput>;
|
|
145
149
|
export declare const deserializeAws_restJson1DeleteBotLocaleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBotLocaleCommandOutput>;
|
|
146
150
|
export declare const deserializeAws_restJson1DeleteBotVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteBotVersionCommandOutput>;
|
|
151
|
+
export declare const deserializeAws_restJson1DeleteCustomVocabularyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteCustomVocabularyCommandOutput>;
|
|
147
152
|
export declare const deserializeAws_restJson1DeleteExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteExportCommandOutput>;
|
|
148
153
|
export declare const deserializeAws_restJson1DeleteImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteImportCommandOutput>;
|
|
149
154
|
export declare const deserializeAws_restJson1DeleteIntentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteIntentCommandOutput>;
|
|
@@ -157,6 +162,7 @@ export declare const deserializeAws_restJson1DescribeBotAliasCommand: (output: _
|
|
|
157
162
|
export declare const deserializeAws_restJson1DescribeBotLocaleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeBotLocaleCommandOutput>;
|
|
158
163
|
export declare const deserializeAws_restJson1DescribeBotRecommendationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeBotRecommendationCommandOutput>;
|
|
159
164
|
export declare const deserializeAws_restJson1DescribeBotVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeBotVersionCommandOutput>;
|
|
165
|
+
export declare const deserializeAws_restJson1DescribeCustomVocabularyMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCustomVocabularyMetadataCommandOutput>;
|
|
160
166
|
export declare const deserializeAws_restJson1DescribeExportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeExportCommandOutput>;
|
|
161
167
|
export declare const deserializeAws_restJson1DescribeImportCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeImportCommandOutput>;
|
|
162
168
|
export declare const deserializeAws_restJson1DescribeIntentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeIntentCommandOutput>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { LexModelsV2ClientConfig } from "./LexModelsV2Client";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
|
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { LexModelsV2ClientConfig } from "./LexModelsV2Client";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
14
15
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
15
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
16
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
16
17
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
17
18
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
19
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
|
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
28
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
29
30
|
tls?: boolean | undefined;
|
|
30
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|