@aws-sdk/client-lex-models-v2 3.451.0 → 3.458.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/README.md +124 -92
- package/dist-cjs/LexModelsV2.js +8 -0
- package/dist-cjs/commands/DescribeBotResourceGenerationCommand.js +51 -0
- package/dist-cjs/commands/GenerateBotElementCommand.js +51 -0
- package/dist-cjs/commands/ListBotResourceGenerationsCommand.js +51 -0
- package/dist-cjs/commands/StartBotResourceGenerationCommand.js +51 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +10 -5
- package/dist-cjs/models/models_1.js +9 -1
- package/dist-cjs/pagination/ListBotResourceGenerationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +336 -4
- package/dist-es/LexModelsV2.js +8 -0
- package/dist-es/commands/DescribeBotResourceGenerationCommand.js +47 -0
- package/dist-es/commands/GenerateBotElementCommand.js +47 -0
- package/dist-es/commands/ListBotResourceGenerationsCommand.js +47 -0
- package/dist-es/commands/StartBotResourceGenerationCommand.js +47 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +9 -4
- package/dist-es/models/models_1.js +8 -0
- package/dist-es/pagination/ListBotResourceGenerationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +324 -0
- package/dist-types/LexModelsV2.d.ts +28 -0
- package/dist-types/LexModelsV2Client.d.ts +6 -2
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +48 -0
- package/dist-types/commands/CreateBotVersionCommand.d.ts +5 -6
- package/dist-types/commands/CreateSlotCommand.d.ts +6 -0
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +24 -0
- package/dist-types/commands/DescribeBotResourceGenerationCommand.d.ts +107 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +2 -1
- package/dist-types/commands/DescribeIntentCommand.d.ts +1 -2
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSlotCommand.d.ts +4 -2
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +1 -2
- package/dist-types/commands/GenerateBotElementCommand.d.ts +113 -0
- package/dist-types/commands/ListBotResourceGenerationsCommand.d.ts +108 -0
- package/dist-types/commands/StartBotResourceGenerationCommand.d.ts +111 -0
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +48 -0
- package/dist-types/commands/UpdateSlotCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +240 -318
- package/dist-types/models/models_1.d.ts +594 -1
- package/dist-types/pagination/ListBotResourceGenerationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +36 -0
- package/dist-types/ts3.4/LexModelsV2.d.ts +68 -0
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +24 -0
- package/dist-types/ts3.4/commands/DescribeBotResourceGenerationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeImportCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeIntentCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeResourcePolicyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeSlotCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeSlotTypeCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GenerateBotElementCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListBotResourceGenerationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/StartBotResourceGenerationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +64 -72
- package/dist-types/ts3.4/models/models_1.d.ts +140 -4
- package/dist-types/ts3.4/pagination/ListBotResourceGenerationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +48 -0
- package/package.json +3 -3
|
@@ -2666,6 +2666,17 @@ export interface BatchUpdateCustomVocabularyItemResponse {
|
|
|
2666
2666
|
*/
|
|
2667
2667
|
resources?: CustomVocabularyItem[];
|
|
2668
2668
|
}
|
|
2669
|
+
/**
|
|
2670
|
+
* @public
|
|
2671
|
+
* <p>Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.</p>
|
|
2672
|
+
*/
|
|
2673
|
+
export interface BedrockModelSpecification {
|
|
2674
|
+
/**
|
|
2675
|
+
* @public
|
|
2676
|
+
* <p>The ARN of the foundation model used in descriptive bot building.</p>
|
|
2677
|
+
*/
|
|
2678
|
+
modelArn: string | undefined;
|
|
2679
|
+
}
|
|
2669
2680
|
/**
|
|
2670
2681
|
* @public
|
|
2671
2682
|
* <p>Provides a record of an event that affects a bot alias. For example,
|
|
@@ -3665,6 +3676,54 @@ export declare class PreconditionFailedException extends __BaseException {
|
|
|
3665
3676
|
*/
|
|
3666
3677
|
constructor(opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>);
|
|
3667
3678
|
}
|
|
3679
|
+
/**
|
|
3680
|
+
* @public
|
|
3681
|
+
* <p>Contains specifications for the descriptive bot building feature.</p>
|
|
3682
|
+
*/
|
|
3683
|
+
export interface DescriptiveBotBuilderSpecification {
|
|
3684
|
+
/**
|
|
3685
|
+
* @public
|
|
3686
|
+
* <p>Specifies whether the descriptive bot building feature is activated or not.</p>
|
|
3687
|
+
*/
|
|
3688
|
+
enabled: boolean | undefined;
|
|
3689
|
+
/**
|
|
3690
|
+
* @public
|
|
3691
|
+
* <p>An object containing information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.</p>
|
|
3692
|
+
*/
|
|
3693
|
+
bedrockModelSpecification?: BedrockModelSpecification;
|
|
3694
|
+
}
|
|
3695
|
+
/**
|
|
3696
|
+
* @public
|
|
3697
|
+
* <p>Contains specifications for the sample utterance generation feature.</p>
|
|
3698
|
+
*/
|
|
3699
|
+
export interface SampleUtteranceGenerationSpecification {
|
|
3700
|
+
/**
|
|
3701
|
+
* @public
|
|
3702
|
+
* <p>Specifies whether to enable sample utterance generation or not.</p>
|
|
3703
|
+
*/
|
|
3704
|
+
enabled: boolean | undefined;
|
|
3705
|
+
/**
|
|
3706
|
+
* @public
|
|
3707
|
+
* <p>Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.</p>
|
|
3708
|
+
*/
|
|
3709
|
+
bedrockModelSpecification?: BedrockModelSpecification;
|
|
3710
|
+
}
|
|
3711
|
+
/**
|
|
3712
|
+
* @public
|
|
3713
|
+
* <p>Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>
|
|
3714
|
+
*/
|
|
3715
|
+
export interface BuildtimeSettings {
|
|
3716
|
+
/**
|
|
3717
|
+
* @public
|
|
3718
|
+
* <p>An object containing specifications for the descriptive bot building feature.</p>
|
|
3719
|
+
*/
|
|
3720
|
+
descriptiveBotBuilder?: DescriptiveBotBuilderSpecification;
|
|
3721
|
+
/**
|
|
3722
|
+
* @public
|
|
3723
|
+
* <p>Contains specifications for the sample utterance generation feature.</p>
|
|
3724
|
+
*/
|
|
3725
|
+
sampleUtteranceGeneration?: SampleUtteranceGenerationSpecification;
|
|
3726
|
+
}
|
|
3668
3727
|
/**
|
|
3669
3728
|
* @public
|
|
3670
3729
|
* @enum
|
|
@@ -4559,6 +4618,49 @@ export interface CreateBotAliasResponse {
|
|
|
4559
4618
|
*/
|
|
4560
4619
|
tags?: Record<string, string>;
|
|
4561
4620
|
}
|
|
4621
|
+
/**
|
|
4622
|
+
* @public
|
|
4623
|
+
* <p>Contains specifications for the assisted slot resolution feature.</p>
|
|
4624
|
+
*/
|
|
4625
|
+
export interface SlotResolutionImprovementSpecification {
|
|
4626
|
+
/**
|
|
4627
|
+
* @public
|
|
4628
|
+
* <p>Specifies whether assisted slot resolution is turned on or off.</p>
|
|
4629
|
+
*/
|
|
4630
|
+
enabled: boolean | undefined;
|
|
4631
|
+
/**
|
|
4632
|
+
* @public
|
|
4633
|
+
* <p>An object containing information about the Amazon Bedrock model used to assist slot resolution.</p>
|
|
4634
|
+
*/
|
|
4635
|
+
bedrockModelSpecification?: BedrockModelSpecification;
|
|
4636
|
+
}
|
|
4637
|
+
/**
|
|
4638
|
+
* @public
|
|
4639
|
+
* <p>Contains specifications about the Amazon Lex runtime generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>
|
|
4640
|
+
*/
|
|
4641
|
+
export interface RuntimeSettings {
|
|
4642
|
+
/**
|
|
4643
|
+
* @public
|
|
4644
|
+
* <p>An object containing specifications for the assisted slot resolution feature.</p>
|
|
4645
|
+
*/
|
|
4646
|
+
slotResolutionImprovement?: SlotResolutionImprovementSpecification;
|
|
4647
|
+
}
|
|
4648
|
+
/**
|
|
4649
|
+
* @public
|
|
4650
|
+
* <p>Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>
|
|
4651
|
+
*/
|
|
4652
|
+
export interface GenerativeAISettings {
|
|
4653
|
+
/**
|
|
4654
|
+
* @public
|
|
4655
|
+
* <p>Contains specifications about the Amazon Lex runtime generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>
|
|
4656
|
+
*/
|
|
4657
|
+
runtimeSettings?: RuntimeSettings;
|
|
4658
|
+
/**
|
|
4659
|
+
* @public
|
|
4660
|
+
* <p>Contains specifications about the Amazon Lex build time generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>
|
|
4661
|
+
*/
|
|
4662
|
+
buildtimeSettings?: BuildtimeSettings;
|
|
4663
|
+
}
|
|
4562
4664
|
/**
|
|
4563
4665
|
* @public
|
|
4564
4666
|
*/
|
|
@@ -4623,6 +4725,11 @@ export interface CreateBotLocaleRequest {
|
|
|
4623
4725
|
* user.</p>
|
|
4624
4726
|
*/
|
|
4625
4727
|
voiceSettings?: VoiceSettings;
|
|
4728
|
+
/**
|
|
4729
|
+
* @public
|
|
4730
|
+
* <p>Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>
|
|
4731
|
+
*/
|
|
4732
|
+
generativeAISettings?: GenerativeAISettings;
|
|
4626
4733
|
}
|
|
4627
4734
|
/**
|
|
4628
4735
|
* @public
|
|
@@ -4687,6 +4794,11 @@ export interface CreateBotLocaleResponse {
|
|
|
4687
4794
|
* created.</p>
|
|
4688
4795
|
*/
|
|
4689
4796
|
creationDateTime?: Date;
|
|
4797
|
+
/**
|
|
4798
|
+
* @public
|
|
4799
|
+
* <p>Contains specifications about the generative AI capabilities from Amazon Bedrock that you can turn on for your bot.</p>
|
|
4800
|
+
*/
|
|
4801
|
+
generativeAISettings?: GenerativeAISettings;
|
|
4690
4802
|
}
|
|
4691
4803
|
/**
|
|
4692
4804
|
* @public
|
|
@@ -5562,6 +5674,29 @@ export declare const SlotConstraint: {
|
|
|
5562
5674
|
* @public
|
|
5563
5675
|
*/
|
|
5564
5676
|
export type SlotConstraint = (typeof SlotConstraint)[keyof typeof SlotConstraint];
|
|
5677
|
+
/**
|
|
5678
|
+
* @public
|
|
5679
|
+
* @enum
|
|
5680
|
+
*/
|
|
5681
|
+
export declare const SlotResolutionStrategy: {
|
|
5682
|
+
readonly Default: "Default";
|
|
5683
|
+
readonly EnhancedFallback: "EnhancedFallback";
|
|
5684
|
+
};
|
|
5685
|
+
/**
|
|
5686
|
+
* @public
|
|
5687
|
+
*/
|
|
5688
|
+
export type SlotResolutionStrategy = (typeof SlotResolutionStrategy)[keyof typeof SlotResolutionStrategy];
|
|
5689
|
+
/**
|
|
5690
|
+
* @public
|
|
5691
|
+
* <p>Contains information about whether assisted slot resolution is turned on for the slot or not.</p>
|
|
5692
|
+
*/
|
|
5693
|
+
export interface SlotResolutionSetting {
|
|
5694
|
+
/**
|
|
5695
|
+
* @public
|
|
5696
|
+
* <p>Specifies whether assisted slot resolution is turned on for the slot or not. If the value is <code>EnhancedFallback</code>, assisted slot resolution is activated when Amazon Lex defaults to the <code>AMAZON.FallbackIntent</code>. If the value is <code>Default</code>, assisted slot resolution is turned off.</p>
|
|
5697
|
+
*/
|
|
5698
|
+
slotResolutionStrategy: SlotResolutionStrategy | undefined;
|
|
5699
|
+
}
|
|
5565
5700
|
/**
|
|
5566
5701
|
* @public
|
|
5567
5702
|
* <p>Describes the Amazon S3 bucket name and location for the grammar
|
|
@@ -6857,6 +6992,11 @@ export interface DescribeBotLocaleResponse {
|
|
|
6857
6992
|
* <code>failureReasons</code> field.</p>
|
|
6858
6993
|
*/
|
|
6859
6994
|
recommendedActions?: string[];
|
|
6995
|
+
/**
|
|
6996
|
+
* @public
|
|
6997
|
+
* <p>Contains settings for Amazon Bedrock's generative AI features for your bot locale.</p>
|
|
6998
|
+
*/
|
|
6999
|
+
generativeAISettings?: GenerativeAISettings;
|
|
6860
7000
|
}
|
|
6861
7001
|
/**
|
|
6862
7002
|
* @public
|
|
@@ -7093,6 +7233,106 @@ export interface DescribeBotRecommendationResponse {
|
|
|
7093
7233
|
*/
|
|
7094
7234
|
botRecommendationResults?: BotRecommendationResults;
|
|
7095
7235
|
}
|
|
7236
|
+
/**
|
|
7237
|
+
* @public
|
|
7238
|
+
*/
|
|
7239
|
+
export interface DescribeBotResourceGenerationRequest {
|
|
7240
|
+
/**
|
|
7241
|
+
* @public
|
|
7242
|
+
* <p>The unique identifier of the bot for which to return the generation details.</p>
|
|
7243
|
+
*/
|
|
7244
|
+
botId: string | undefined;
|
|
7245
|
+
/**
|
|
7246
|
+
* @public
|
|
7247
|
+
* <p>The version of the bot for which to return the generation details.</p>
|
|
7248
|
+
*/
|
|
7249
|
+
botVersion: string | undefined;
|
|
7250
|
+
/**
|
|
7251
|
+
* @public
|
|
7252
|
+
* <p>The locale of the bot for which to return the generation details.</p>
|
|
7253
|
+
*/
|
|
7254
|
+
localeId: string | undefined;
|
|
7255
|
+
/**
|
|
7256
|
+
* @public
|
|
7257
|
+
* <p>The unique identifier of the generation request for which to
|
|
7258
|
+
* return the generation details.</p>
|
|
7259
|
+
*/
|
|
7260
|
+
generationId: string | undefined;
|
|
7261
|
+
}
|
|
7262
|
+
/**
|
|
7263
|
+
* @public
|
|
7264
|
+
* @enum
|
|
7265
|
+
*/
|
|
7266
|
+
export declare const GenerationStatus: {
|
|
7267
|
+
readonly Complete: "Complete";
|
|
7268
|
+
readonly Failed: "Failed";
|
|
7269
|
+
readonly InProgress: "InProgress";
|
|
7270
|
+
};
|
|
7271
|
+
/**
|
|
7272
|
+
* @public
|
|
7273
|
+
*/
|
|
7274
|
+
export type GenerationStatus = (typeof GenerationStatus)[keyof typeof GenerationStatus];
|
|
7275
|
+
/**
|
|
7276
|
+
* @public
|
|
7277
|
+
*/
|
|
7278
|
+
export interface DescribeBotResourceGenerationResponse {
|
|
7279
|
+
/**
|
|
7280
|
+
* @public
|
|
7281
|
+
* <p>The unique identifier of the bot for which the generation request was
|
|
7282
|
+
* made.</p>
|
|
7283
|
+
*/
|
|
7284
|
+
botId?: string;
|
|
7285
|
+
/**
|
|
7286
|
+
* @public
|
|
7287
|
+
* <p>The version of the bot for which the generation request was made.</p>
|
|
7288
|
+
*/
|
|
7289
|
+
botVersion?: string;
|
|
7290
|
+
/**
|
|
7291
|
+
* @public
|
|
7292
|
+
* <p>The locale of the bot for which the generation request was made.</p>
|
|
7293
|
+
*/
|
|
7294
|
+
localeId?: string;
|
|
7295
|
+
/**
|
|
7296
|
+
* @public
|
|
7297
|
+
* <p>The generation ID for which to return the generation details.</p>
|
|
7298
|
+
*/
|
|
7299
|
+
generationId?: string;
|
|
7300
|
+
/**
|
|
7301
|
+
* @public
|
|
7302
|
+
* <p>A list of reasons why the generation of bot resources through natural language description failed.</p>
|
|
7303
|
+
*/
|
|
7304
|
+
failureReasons?: string[];
|
|
7305
|
+
/**
|
|
7306
|
+
* @public
|
|
7307
|
+
* <p>The status of the generation request.</p>
|
|
7308
|
+
*/
|
|
7309
|
+
generationStatus?: GenerationStatus;
|
|
7310
|
+
/**
|
|
7311
|
+
* @public
|
|
7312
|
+
* <p>The prompt used in the generation request.</p>
|
|
7313
|
+
*/
|
|
7314
|
+
generationInputPrompt?: string;
|
|
7315
|
+
/**
|
|
7316
|
+
* @public
|
|
7317
|
+
* <p>The Amazon S3 location of the generated bot locale configuration.</p>
|
|
7318
|
+
*/
|
|
7319
|
+
generatedBotLocaleUrl?: string;
|
|
7320
|
+
/**
|
|
7321
|
+
* @public
|
|
7322
|
+
* <p>The date and time at which the item was generated.</p>
|
|
7323
|
+
*/
|
|
7324
|
+
creationDateTime?: Date;
|
|
7325
|
+
/**
|
|
7326
|
+
* @public
|
|
7327
|
+
* <p>The ARN of the model used to generate the bot resources.</p>
|
|
7328
|
+
*/
|
|
7329
|
+
modelArn?: string;
|
|
7330
|
+
/**
|
|
7331
|
+
* @public
|
|
7332
|
+
* <p>The date and time at which the generated item was updated.</p>
|
|
7333
|
+
*/
|
|
7334
|
+
lastUpdatedDateTime?: Date;
|
|
7335
|
+
}
|
|
7096
7336
|
/**
|
|
7097
7337
|
* @public
|
|
7098
7338
|
*/
|
|
@@ -7325,324 +7565,6 @@ export declare const MergeStrategy: {
|
|
|
7325
7565
|
* @public
|
|
7326
7566
|
*/
|
|
7327
7567
|
export type MergeStrategy = (typeof MergeStrategy)[keyof typeof MergeStrategy];
|
|
7328
|
-
/**
|
|
7329
|
-
* @public
|
|
7330
|
-
* <p>Contains information about the Amazon S3 location from which the test set is imported.</p>
|
|
7331
|
-
*/
|
|
7332
|
-
export interface TestSetImportInputLocation {
|
|
7333
|
-
/**
|
|
7334
|
-
* @public
|
|
7335
|
-
* <p>The name of the Amazon S3 bucket.</p>
|
|
7336
|
-
*/
|
|
7337
|
-
s3BucketName: string | undefined;
|
|
7338
|
-
/**
|
|
7339
|
-
* @public
|
|
7340
|
-
* <p>The path inside the Amazon S3 bucket pointing to the test-set CSV file.</p>
|
|
7341
|
-
*/
|
|
7342
|
-
s3Path: string | undefined;
|
|
7343
|
-
}
|
|
7344
|
-
/**
|
|
7345
|
-
* @public
|
|
7346
|
-
* @enum
|
|
7347
|
-
*/
|
|
7348
|
-
export declare const TestSetModality: {
|
|
7349
|
-
readonly Audio: "Audio";
|
|
7350
|
-
readonly Text: "Text";
|
|
7351
|
-
};
|
|
7352
|
-
/**
|
|
7353
|
-
* @public
|
|
7354
|
-
*/
|
|
7355
|
-
export type TestSetModality = (typeof TestSetModality)[keyof typeof TestSetModality];
|
|
7356
|
-
/**
|
|
7357
|
-
* @public
|
|
7358
|
-
* <p>Contains information about the location in which the test set is stored.</p>
|
|
7359
|
-
*/
|
|
7360
|
-
export interface TestSetStorageLocation {
|
|
7361
|
-
/**
|
|
7362
|
-
* @public
|
|
7363
|
-
* <p>The name of the Amazon S3 bucket in which the test set is stored.</p>
|
|
7364
|
-
*/
|
|
7365
|
-
s3BucketName: string | undefined;
|
|
7366
|
-
/**
|
|
7367
|
-
* @public
|
|
7368
|
-
* <p>The path inside the Amazon S3 bucket where the test set is stored.</p>
|
|
7369
|
-
*/
|
|
7370
|
-
s3Path: string | undefined;
|
|
7371
|
-
/**
|
|
7372
|
-
* @public
|
|
7373
|
-
* <p>The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service
|
|
7374
|
-
* (KMS) key for encrypting the test set.</p>
|
|
7375
|
-
*/
|
|
7376
|
-
kmsKeyArn?: string;
|
|
7377
|
-
}
|
|
7378
|
-
/**
|
|
7379
|
-
* @public
|
|
7380
|
-
* <p>Contains information about the test set that is imported.</p>
|
|
7381
|
-
*/
|
|
7382
|
-
export interface TestSetImportResourceSpecification {
|
|
7383
|
-
/**
|
|
7384
|
-
* @public
|
|
7385
|
-
* <p>The name of the test set.</p>
|
|
7386
|
-
*/
|
|
7387
|
-
testSetName: string | undefined;
|
|
7388
|
-
/**
|
|
7389
|
-
* @public
|
|
7390
|
-
* <p>The description of the test set.</p>
|
|
7391
|
-
*/
|
|
7392
|
-
description?: string;
|
|
7393
|
-
/**
|
|
7394
|
-
* @public
|
|
7395
|
-
* <p>The Amazon Resource Name (ARN) of an IAM role that has
|
|
7396
|
-
* permission to access the test set.</p>
|
|
7397
|
-
*/
|
|
7398
|
-
roleArn: string | undefined;
|
|
7399
|
-
/**
|
|
7400
|
-
* @public
|
|
7401
|
-
* <p>Contains information about the location that Amazon Lex uses to store the test-set.</p>
|
|
7402
|
-
*/
|
|
7403
|
-
storageLocation: TestSetStorageLocation | undefined;
|
|
7404
|
-
/**
|
|
7405
|
-
* @public
|
|
7406
|
-
* <p>Contains information about the input location from where test-set should be imported.</p>
|
|
7407
|
-
*/
|
|
7408
|
-
importInputLocation: TestSetImportInputLocation | undefined;
|
|
7409
|
-
/**
|
|
7410
|
-
* @public
|
|
7411
|
-
* <p>Specifies whether the test-set being imported contains written or spoken data.</p>
|
|
7412
|
-
*/
|
|
7413
|
-
modality: TestSetModality | undefined;
|
|
7414
|
-
/**
|
|
7415
|
-
* @public
|
|
7416
|
-
* <p>A list of tags to add to the test set. You can only add tags when you import/generate a new test set. You can't use the <code>UpdateTestSet</code> operation to update tags. To update tags, use the <code>TagResource</code> operation.</p>
|
|
7417
|
-
*/
|
|
7418
|
-
testSetTags?: Record<string, string>;
|
|
7419
|
-
}
|
|
7420
|
-
/**
|
|
7421
|
-
* @public
|
|
7422
|
-
* <p>Provides information about the bot or bot locale that you want to
|
|
7423
|
-
* import. You can specify the <code>botImportSpecification</code> or the
|
|
7424
|
-
* <code>botLocaleImportSpecification</code>, but not both.</p>
|
|
7425
|
-
*/
|
|
7426
|
-
export interface ImportResourceSpecification {
|
|
7427
|
-
/**
|
|
7428
|
-
* @public
|
|
7429
|
-
* <p>Parameters for importing a bot.</p>
|
|
7430
|
-
*/
|
|
7431
|
-
botImportSpecification?: BotImportSpecification;
|
|
7432
|
-
/**
|
|
7433
|
-
* @public
|
|
7434
|
-
* <p>Parameters for importing a bot locale.</p>
|
|
7435
|
-
*/
|
|
7436
|
-
botLocaleImportSpecification?: BotLocaleImportSpecification;
|
|
7437
|
-
/**
|
|
7438
|
-
* @public
|
|
7439
|
-
* <p>Provides the parameters required for importing a custom vocabulary.</p>
|
|
7440
|
-
*/
|
|
7441
|
-
customVocabularyImportSpecification?: CustomVocabularyImportSpecification;
|
|
7442
|
-
/**
|
|
7443
|
-
* @public
|
|
7444
|
-
* <p>Specifications for the test set that is imported.</p>
|
|
7445
|
-
*/
|
|
7446
|
-
testSetImportResourceSpecification?: TestSetImportResourceSpecification;
|
|
7447
|
-
}
|
|
7448
|
-
/**
|
|
7449
|
-
* @public
|
|
7450
|
-
*/
|
|
7451
|
-
export interface DescribeImportResponse {
|
|
7452
|
-
/**
|
|
7453
|
-
* @public
|
|
7454
|
-
* <p>The unique identifier of the described import.</p>
|
|
7455
|
-
*/
|
|
7456
|
-
importId?: string;
|
|
7457
|
-
/**
|
|
7458
|
-
* @public
|
|
7459
|
-
* <p>The specifications of the imported bot, bot locale, or custom
|
|
7460
|
-
* vocabulary.</p>
|
|
7461
|
-
*/
|
|
7462
|
-
resourceSpecification?: ImportResourceSpecification;
|
|
7463
|
-
/**
|
|
7464
|
-
* @public
|
|
7465
|
-
* <p>The unique identifier that Amazon Lex assigned to the resource created by
|
|
7466
|
-
* the import.</p>
|
|
7467
|
-
*/
|
|
7468
|
-
importedResourceId?: string;
|
|
7469
|
-
/**
|
|
7470
|
-
* @public
|
|
7471
|
-
* <p>The name of the imported resource.</p>
|
|
7472
|
-
*/
|
|
7473
|
-
importedResourceName?: string;
|
|
7474
|
-
/**
|
|
7475
|
-
* @public
|
|
7476
|
-
* <p>The strategy used when there was a name conflict between the
|
|
7477
|
-
* imported resource and an existing resource. When the merge strategy is
|
|
7478
|
-
* <code>FailOnConflict</code> existing resources are not overwritten
|
|
7479
|
-
* and the import fails.</p>
|
|
7480
|
-
*/
|
|
7481
|
-
mergeStrategy?: MergeStrategy;
|
|
7482
|
-
/**
|
|
7483
|
-
* @public
|
|
7484
|
-
* <p>The status of the import process. When the status is
|
|
7485
|
-
* <code>Completed</code> the resource is imported and ready for
|
|
7486
|
-
* use.</p>
|
|
7487
|
-
*/
|
|
7488
|
-
importStatus?: ImportStatus;
|
|
7489
|
-
/**
|
|
7490
|
-
* @public
|
|
7491
|
-
* <p>If the <code>importStatus</code> field is <code>Failed</code>, this
|
|
7492
|
-
* provides one or more reasons for the failure.</p>
|
|
7493
|
-
*/
|
|
7494
|
-
failureReasons?: string[];
|
|
7495
|
-
/**
|
|
7496
|
-
* @public
|
|
7497
|
-
* <p>The date and time that the import was created.</p>
|
|
7498
|
-
*/
|
|
7499
|
-
creationDateTime?: Date;
|
|
7500
|
-
/**
|
|
7501
|
-
* @public
|
|
7502
|
-
* <p>The date and time that the import was last updated.</p>
|
|
7503
|
-
*/
|
|
7504
|
-
lastUpdatedDateTime?: Date;
|
|
7505
|
-
}
|
|
7506
|
-
/**
|
|
7507
|
-
* @public
|
|
7508
|
-
*/
|
|
7509
|
-
export interface DescribeIntentRequest {
|
|
7510
|
-
/**
|
|
7511
|
-
* @public
|
|
7512
|
-
* <p>The identifier of the intent to describe.</p>
|
|
7513
|
-
*/
|
|
7514
|
-
intentId: string | undefined;
|
|
7515
|
-
/**
|
|
7516
|
-
* @public
|
|
7517
|
-
* <p>The identifier of the bot associated with the intent.</p>
|
|
7518
|
-
*/
|
|
7519
|
-
botId: string | undefined;
|
|
7520
|
-
/**
|
|
7521
|
-
* @public
|
|
7522
|
-
* <p>The version of the bot associated with the intent.</p>
|
|
7523
|
-
*/
|
|
7524
|
-
botVersion: string | undefined;
|
|
7525
|
-
/**
|
|
7526
|
-
* @public
|
|
7527
|
-
* <p>The identifier of the language and locale of the intent to describe.
|
|
7528
|
-
* The string must match one of the supported locales. For more
|
|
7529
|
-
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
7530
|
-
*/
|
|
7531
|
-
localeId: string | undefined;
|
|
7532
|
-
}
|
|
7533
|
-
/**
|
|
7534
|
-
* @public
|
|
7535
|
-
* <p>Sets the priority that Amazon Lex should use when eliciting slot values
|
|
7536
|
-
* from a user.</p>
|
|
7537
|
-
*/
|
|
7538
|
-
export interface SlotPriority {
|
|
7539
|
-
/**
|
|
7540
|
-
* @public
|
|
7541
|
-
* <p>The priority that Amazon Lex should apply to the slot.</p>
|
|
7542
|
-
*/
|
|
7543
|
-
priority: number | undefined;
|
|
7544
|
-
/**
|
|
7545
|
-
* @public
|
|
7546
|
-
* <p>The unique identifier of the slot.</p>
|
|
7547
|
-
*/
|
|
7548
|
-
slotId: string | undefined;
|
|
7549
|
-
}
|
|
7550
|
-
/**
|
|
7551
|
-
* @public
|
|
7552
|
-
*/
|
|
7553
|
-
export interface DescribeResourcePolicyRequest {
|
|
7554
|
-
/**
|
|
7555
|
-
* @public
|
|
7556
|
-
* <p>The Amazon Resource Name (ARN) of the bot or bot alias that the
|
|
7557
|
-
* resource policy is attached to.</p>
|
|
7558
|
-
*/
|
|
7559
|
-
resourceArn: string | undefined;
|
|
7560
|
-
}
|
|
7561
|
-
/**
|
|
7562
|
-
* @public
|
|
7563
|
-
*/
|
|
7564
|
-
export interface DescribeResourcePolicyResponse {
|
|
7565
|
-
/**
|
|
7566
|
-
* @public
|
|
7567
|
-
* <p>The Amazon Resource Name (ARN) of the bot or bot alias that the
|
|
7568
|
-
* resource policy is attached to.</p>
|
|
7569
|
-
*/
|
|
7570
|
-
resourceArn?: string;
|
|
7571
|
-
/**
|
|
7572
|
-
* @public
|
|
7573
|
-
* <p>The JSON structure that contains the resource policy. For more
|
|
7574
|
-
* information about the contents of a JSON policy document, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html"> IAM JSON policy
|
|
7575
|
-
* reference </a>.</p>
|
|
7576
|
-
*/
|
|
7577
|
-
policy?: string;
|
|
7578
|
-
/**
|
|
7579
|
-
* @public
|
|
7580
|
-
* <p>The current revision of the resource policy. Use the revision ID to
|
|
7581
|
-
* make sure that you are updating the most current version of a resource
|
|
7582
|
-
* policy when you add a policy statement to a resource, delete a
|
|
7583
|
-
* resource, or update a resource.</p>
|
|
7584
|
-
*/
|
|
7585
|
-
revisionId?: string;
|
|
7586
|
-
}
|
|
7587
|
-
/**
|
|
7588
|
-
* @public
|
|
7589
|
-
*/
|
|
7590
|
-
export interface DescribeSlotRequest {
|
|
7591
|
-
/**
|
|
7592
|
-
* @public
|
|
7593
|
-
* <p>The unique identifier for the slot.</p>
|
|
7594
|
-
*/
|
|
7595
|
-
slotId: string | undefined;
|
|
7596
|
-
/**
|
|
7597
|
-
* @public
|
|
7598
|
-
* <p>The identifier of the bot associated with the slot.</p>
|
|
7599
|
-
*/
|
|
7600
|
-
botId: string | undefined;
|
|
7601
|
-
/**
|
|
7602
|
-
* @public
|
|
7603
|
-
* <p>The version of the bot associated with the slot.</p>
|
|
7604
|
-
*/
|
|
7605
|
-
botVersion: string | undefined;
|
|
7606
|
-
/**
|
|
7607
|
-
* @public
|
|
7608
|
-
* <p>The identifier of the language and locale of the slot to describe.
|
|
7609
|
-
* The string must match one of the supported locales. For more
|
|
7610
|
-
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
7611
|
-
*/
|
|
7612
|
-
localeId: string | undefined;
|
|
7613
|
-
/**
|
|
7614
|
-
* @public
|
|
7615
|
-
* <p>The identifier of the intent that contains the slot.</p>
|
|
7616
|
-
*/
|
|
7617
|
-
intentId: string | undefined;
|
|
7618
|
-
}
|
|
7619
|
-
/**
|
|
7620
|
-
* @public
|
|
7621
|
-
*/
|
|
7622
|
-
export interface DescribeSlotTypeRequest {
|
|
7623
|
-
/**
|
|
7624
|
-
* @public
|
|
7625
|
-
* <p>The identifier of the slot type.</p>
|
|
7626
|
-
*/
|
|
7627
|
-
slotTypeId: string | undefined;
|
|
7628
|
-
/**
|
|
7629
|
-
* @public
|
|
7630
|
-
* <p>The identifier of the bot associated with the slot type.</p>
|
|
7631
|
-
*/
|
|
7632
|
-
botId: string | undefined;
|
|
7633
|
-
/**
|
|
7634
|
-
* @public
|
|
7635
|
-
* <p>The version of the bot associated with the slot type.</p>
|
|
7636
|
-
*/
|
|
7637
|
-
botVersion: string | undefined;
|
|
7638
|
-
/**
|
|
7639
|
-
* @public
|
|
7640
|
-
* <p>The identifier of the language and locale of the slot type to
|
|
7641
|
-
* describe. The string must match one of the supported locales. For more
|
|
7642
|
-
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
7643
|
-
*/
|
|
7644
|
-
localeId: string | undefined;
|
|
7645
|
-
}
|
|
7646
7568
|
/**
|
|
7647
7569
|
* @internal
|
|
7648
7570
|
*/
|