@aws-sdk/client-lex-models-v2 3.620.1 → 3.622.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/dist-cjs/index.js +24 -24
- package/dist-es/LexModelsV2Client.js +12 -18
- package/dist-es/models/models_0.js +4 -5
- package/dist-es/models/models_1.js +5 -1
- package/dist-types/LexModelsV2Client.d.ts +2 -4
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +4 -4
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +36 -0
- package/dist-types/commands/CreateIntentCommand.d.ts +20 -0
- package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +2 -0
- package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +2 -0
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +20 -1
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +1 -2
- package/dist-types/commands/DescribeIntentCommand.d.ts +10 -0
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +36 -0
- package/dist-types/commands/UpdateIntentCommand.d.ts +20 -0
- package/dist-types/models/models_0.d.ts +65 -160
- package/dist-types/models/models_1.d.ts +160 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -2
- package/dist-types/runtimeConfig.d.ts +2 -2
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/LexModelsV2Client.d.ts +6 -8
- package/dist-types/ts3.4/commands/DescribeBotLocaleCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeBotRecommendationCommand.d.ts +4 -2
- package/dist-types/ts3.4/models/models_0.d.ts +18 -33
- package/dist-types/ts3.4/models/models_1.d.ts +34 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.d.ts +5 -5
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +5 -5
- package/package.json +11 -11
|
@@ -2666,17 +2666,66 @@ export interface BatchUpdateCustomVocabularyItemResponse {
|
|
|
2666
2666
|
*/
|
|
2667
2667
|
resources?: CustomVocabularyItem[];
|
|
2668
2668
|
}
|
|
2669
|
+
/**
|
|
2670
|
+
* <p>The details on the Bedrock guardrail configuration.</p>
|
|
2671
|
+
* @public
|
|
2672
|
+
*/
|
|
2673
|
+
export interface BedrockGuardrailConfiguration {
|
|
2674
|
+
/**
|
|
2675
|
+
* <p>The unique guardrail id for the Bedrock guardrail configuration.</p>
|
|
2676
|
+
* @public
|
|
2677
|
+
*/
|
|
2678
|
+
identifier: string | undefined;
|
|
2679
|
+
/**
|
|
2680
|
+
* <p>The guardrail version for the Bedrock guardrail configuration.</p>
|
|
2681
|
+
* @public
|
|
2682
|
+
*/
|
|
2683
|
+
version: string | undefined;
|
|
2684
|
+
}
|
|
2685
|
+
/**
|
|
2686
|
+
* <p>The exact response fields given by the Bedrock knowledge store.</p>
|
|
2687
|
+
* @public
|
|
2688
|
+
*/
|
|
2689
|
+
export interface BedrockKnowledgeStoreExactResponseFields {
|
|
2690
|
+
/**
|
|
2691
|
+
* <p>The answer field used for an exact response from Bedrock Knowledge Store.</p>
|
|
2692
|
+
* @public
|
|
2693
|
+
*/
|
|
2694
|
+
answerField?: string;
|
|
2695
|
+
}
|
|
2669
2696
|
/**
|
|
2670
2697
|
* <p>Contains details about the configuration of a Amazon Bedrock knowledge base.</p>
|
|
2671
2698
|
* @public
|
|
2672
2699
|
*/
|
|
2673
2700
|
export interface BedrockKnowledgeStoreConfiguration {
|
|
2674
2701
|
/**
|
|
2675
|
-
* <p>The ARN of the knowledge base used.</p>
|
|
2702
|
+
* <p>The base ARN of the knowledge base used.</p>
|
|
2676
2703
|
* @public
|
|
2677
2704
|
*/
|
|
2678
2705
|
bedrockKnowledgeBaseArn: string | undefined;
|
|
2706
|
+
/**
|
|
2707
|
+
* <p>Specifies whether to return an exact response, or to return an answer generated by the model, using the fields you specify from the database.</p>
|
|
2708
|
+
* @public
|
|
2709
|
+
*/
|
|
2710
|
+
exactResponse?: boolean;
|
|
2711
|
+
/**
|
|
2712
|
+
* <p>Contains the names of the fields used for an exact response to the user.</p>
|
|
2713
|
+
* @public
|
|
2714
|
+
*/
|
|
2715
|
+
exactResponseFields?: BedrockKnowledgeStoreExactResponseFields;
|
|
2679
2716
|
}
|
|
2717
|
+
/**
|
|
2718
|
+
* @public
|
|
2719
|
+
* @enum
|
|
2720
|
+
*/
|
|
2721
|
+
export declare const BedrockTraceStatus: {
|
|
2722
|
+
readonly DISABLED: "DISABLED";
|
|
2723
|
+
readonly ENABLED: "ENABLED";
|
|
2724
|
+
};
|
|
2725
|
+
/**
|
|
2726
|
+
* @public
|
|
2727
|
+
*/
|
|
2728
|
+
export type BedrockTraceStatus = (typeof BedrockTraceStatus)[keyof typeof BedrockTraceStatus];
|
|
2680
2729
|
/**
|
|
2681
2730
|
* <p>Contains information about the Amazon Bedrock model used to interpret the prompt used in descriptive bot building.</p>
|
|
2682
2731
|
* @public
|
|
@@ -2687,6 +2736,21 @@ export interface BedrockModelSpecification {
|
|
|
2687
2736
|
* @public
|
|
2688
2737
|
*/
|
|
2689
2738
|
modelArn: string | undefined;
|
|
2739
|
+
/**
|
|
2740
|
+
* <p>The guardrail configuration in the Bedrock model specification details.</p>
|
|
2741
|
+
* @public
|
|
2742
|
+
*/
|
|
2743
|
+
guardrail?: BedrockGuardrailConfiguration;
|
|
2744
|
+
/**
|
|
2745
|
+
* <p>The Bedrock trace status in the Bedrock model specification details.</p>
|
|
2746
|
+
* @public
|
|
2747
|
+
*/
|
|
2748
|
+
traceStatus?: BedrockTraceStatus;
|
|
2749
|
+
/**
|
|
2750
|
+
* <p>The custom prompt used in the Bedrock model specification details.</p>
|
|
2751
|
+
* @public
|
|
2752
|
+
*/
|
|
2753
|
+
customPrompt?: string;
|
|
2690
2754
|
}
|
|
2691
2755
|
/**
|
|
2692
2756
|
* <p>Provides a record of an event that affects a bot alias. For example,
|
|
@@ -7256,166 +7320,7 @@ export interface DescribeBotLocaleRequest {
|
|
|
7256
7320
|
*/
|
|
7257
7321
|
localeId: string | undefined;
|
|
7258
7322
|
}
|
|
7259
|
-
/**
|
|
7260
|
-
* @public
|
|
7261
|
-
*/
|
|
7262
|
-
export interface DescribeBotLocaleResponse {
|
|
7263
|
-
/**
|
|
7264
|
-
* <p>The identifier of the bot associated with the locale.</p>
|
|
7265
|
-
* @public
|
|
7266
|
-
*/
|
|
7267
|
-
botId?: string;
|
|
7268
|
-
/**
|
|
7269
|
-
* <p>The version of the bot associated with the
|
|
7270
|
-
* locale.</p>
|
|
7271
|
-
* @public
|
|
7272
|
-
*/
|
|
7273
|
-
botVersion?: string;
|
|
7274
|
-
/**
|
|
7275
|
-
* <p>The unique identifier of the described locale.</p>
|
|
7276
|
-
* @public
|
|
7277
|
-
*/
|
|
7278
|
-
localeId?: string;
|
|
7279
|
-
/**
|
|
7280
|
-
* <p>The name of the locale.</p>
|
|
7281
|
-
* @public
|
|
7282
|
-
*/
|
|
7283
|
-
localeName?: string;
|
|
7284
|
-
/**
|
|
7285
|
-
* <p>The description of the locale.</p>
|
|
7286
|
-
* @public
|
|
7287
|
-
*/
|
|
7288
|
-
description?: string;
|
|
7289
|
-
/**
|
|
7290
|
-
* <p>The confidence threshold where Amazon Lex inserts the
|
|
7291
|
-
* <code>AMAZON.FallbackIntent</code> and
|
|
7292
|
-
* <code>AMAZON.KendraSearchIntent</code> intents in the list of
|
|
7293
|
-
* possible intents for an utterance.</p>
|
|
7294
|
-
* @public
|
|
7295
|
-
*/
|
|
7296
|
-
nluIntentConfidenceThreshold?: number;
|
|
7297
|
-
/**
|
|
7298
|
-
* <p>The Amazon Polly voice Amazon Lex uses for voice interaction with the
|
|
7299
|
-
* user.</p>
|
|
7300
|
-
* @public
|
|
7301
|
-
*/
|
|
7302
|
-
voiceSettings?: VoiceSettings;
|
|
7303
|
-
/**
|
|
7304
|
-
* <p>The number of intents defined for the locale.</p>
|
|
7305
|
-
* @public
|
|
7306
|
-
*/
|
|
7307
|
-
intentsCount?: number;
|
|
7308
|
-
/**
|
|
7309
|
-
* <p>The number of slot types defined for the locale.</p>
|
|
7310
|
-
* @public
|
|
7311
|
-
*/
|
|
7312
|
-
slotTypesCount?: number;
|
|
7313
|
-
/**
|
|
7314
|
-
* <p>The status of the bot. If the status is <code>Failed</code>, the
|
|
7315
|
-
* reasons for the failure are listed in the <code>failureReasons</code>
|
|
7316
|
-
* field.</p>
|
|
7317
|
-
* @public
|
|
7318
|
-
*/
|
|
7319
|
-
botLocaleStatus?: BotLocaleStatus;
|
|
7320
|
-
/**
|
|
7321
|
-
* <p>if <code>botLocaleStatus</code> is <code>Failed</code>, Amazon Lex
|
|
7322
|
-
* explains why it failed to build the bot.</p>
|
|
7323
|
-
* @public
|
|
7324
|
-
*/
|
|
7325
|
-
failureReasons?: string[];
|
|
7326
|
-
/**
|
|
7327
|
-
* <p>The date and time that the locale was created.</p>
|
|
7328
|
-
* @public
|
|
7329
|
-
*/
|
|
7330
|
-
creationDateTime?: Date;
|
|
7331
|
-
/**
|
|
7332
|
-
* <p>The date and time that the locale was last updated.</p>
|
|
7333
|
-
* @public
|
|
7334
|
-
*/
|
|
7335
|
-
lastUpdatedDateTime?: Date;
|
|
7336
|
-
/**
|
|
7337
|
-
* <p>The date and time that the locale was last submitted for
|
|
7338
|
-
* building.</p>
|
|
7339
|
-
* @public
|
|
7340
|
-
*/
|
|
7341
|
-
lastBuildSubmittedDateTime?: Date;
|
|
7342
|
-
/**
|
|
7343
|
-
* <p>History of changes, such as when a locale is used in an alias, that
|
|
7344
|
-
* have taken place for the locale.</p>
|
|
7345
|
-
* @public
|
|
7346
|
-
*/
|
|
7347
|
-
botLocaleHistoryEvents?: BotLocaleHistoryEvent[];
|
|
7348
|
-
/**
|
|
7349
|
-
* <p>Recommended actions to take to resolve an error in the
|
|
7350
|
-
* <code>failureReasons</code> field.</p>
|
|
7351
|
-
* @public
|
|
7352
|
-
*/
|
|
7353
|
-
recommendedActions?: string[];
|
|
7354
|
-
/**
|
|
7355
|
-
* <p>Contains settings for Amazon Bedrock's generative AI features for your bot locale.</p>
|
|
7356
|
-
* @public
|
|
7357
|
-
*/
|
|
7358
|
-
generativeAISettings?: GenerativeAISettings;
|
|
7359
|
-
}
|
|
7360
|
-
/**
|
|
7361
|
-
* @public
|
|
7362
|
-
*/
|
|
7363
|
-
export interface DescribeBotRecommendationRequest {
|
|
7364
|
-
/**
|
|
7365
|
-
* <p>The unique identifier of the bot associated with the bot
|
|
7366
|
-
* recommendation.</p>
|
|
7367
|
-
* @public
|
|
7368
|
-
*/
|
|
7369
|
-
botId: string | undefined;
|
|
7370
|
-
/**
|
|
7371
|
-
* <p>The version of the bot associated with the bot
|
|
7372
|
-
* recommendation.</p>
|
|
7373
|
-
* @public
|
|
7374
|
-
*/
|
|
7375
|
-
botVersion: string | undefined;
|
|
7376
|
-
/**
|
|
7377
|
-
* <p>The identifier of the language and locale of the bot recommendation
|
|
7378
|
-
* to describe. The string must match one of the supported locales. For
|
|
7379
|
-
* more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
7380
|
-
* @public
|
|
7381
|
-
*/
|
|
7382
|
-
localeId: string | undefined;
|
|
7383
|
-
/**
|
|
7384
|
-
* <p>The identifier of the bot recommendation to describe.</p>
|
|
7385
|
-
* @public
|
|
7386
|
-
*/
|
|
7387
|
-
botRecommendationId: string | undefined;
|
|
7388
|
-
}
|
|
7389
|
-
/**
|
|
7390
|
-
* <p>The object representing the passwords that were used to encrypt the
|
|
7391
|
-
* data related to the bot recommendation, as well as the KMS key ARN used
|
|
7392
|
-
* to encrypt the associated metadata.</p>
|
|
7393
|
-
* @public
|
|
7394
|
-
*/
|
|
7395
|
-
export interface EncryptionSetting {
|
|
7396
|
-
/**
|
|
7397
|
-
* <p>The KMS key ARN used to encrypt the metadata associated with the bot
|
|
7398
|
-
* recommendation.</p>
|
|
7399
|
-
* @public
|
|
7400
|
-
*/
|
|
7401
|
-
kmsKeyArn?: string;
|
|
7402
|
-
/**
|
|
7403
|
-
* <p>The password used to encrypt the recommended bot recommendation
|
|
7404
|
-
* file.</p>
|
|
7405
|
-
* @public
|
|
7406
|
-
*/
|
|
7407
|
-
botLocaleExportPassword?: string;
|
|
7408
|
-
/**
|
|
7409
|
-
* <p>The password used to encrypt the associated transcript file.</p>
|
|
7410
|
-
* @public
|
|
7411
|
-
*/
|
|
7412
|
-
associatedTranscriptsPassword?: string;
|
|
7413
|
-
}
|
|
7414
7323
|
/**
|
|
7415
7324
|
* @internal
|
|
7416
7325
|
*/
|
|
7417
7326
|
export declare const CreateExportRequestFilterSensitiveLog: (obj: CreateExportRequest) => any;
|
|
7418
|
-
/**
|
|
7419
|
-
* @internal
|
|
7420
|
-
*/
|
|
7421
|
-
export declare const EncryptionSettingFilterSensitiveLog: (obj: EncryptionSetting) => any;
|
|
@@ -1,4 +1,159 @@
|
|
|
1
|
-
import { ActiveContext, AgentTurnResult, AgentTurnSpecification, AggregatedUtterancesFilter, AggregatedUtterancesSortBy, AggregatedUtterancesSummary, AnalyticsBinBySpecification, AnalyticsIntentFilter, AnalyticsIntentGroupBySpecification, AnalyticsIntentMetric, AnalyticsIntentNodeSummary, AnalyticsIntentResult, AnalyticsIntentStageFilter, AnalyticsIntentStageGroupBySpecification, AnalyticsIntentStageMetric, AnalyticsIntentStageResult, AnalyticsModality, AnalyticsPathFilter, AnalyticsSessionFilter, AnalyticsSessionGroupBySpecification, AnalyticsSessionMetric, AnalyticsSessionResult, AnalyticsSessionSortByName, AnalyticsSortOrder, AnalyticsUtteranceAttribute, AnalyticsUtteranceFilter, AnalyticsUtteranceGroupBySpecification, AnalyticsUtteranceMetric, AnalyticsUtteranceResult, AnalyticsUtteranceSortByName, AssociatedTranscript, AssociatedTranscriptFilter, BotAliasLocaleSettings, BotAliasReplicaSummary, BotAliasStatus, BotAliasSummary, BotAliasTestExecutionTarget, BotFilter, BotImportSpecification, BotLocaleFilter, BotLocaleImportSpecification, BotLocaleSortBy, BotLocaleStatus, BotLocaleSummary, BotMember, BotRecommendationResults, BotRecommendationStatus, BotRecommendationSummary, BotReplicaStatus, BotReplicaSummary, BotSortBy, BotStatus, BotSummary, BotType, BotVersionReplicaSortBy, BotVersionReplicaSummary, BotVersionSortBy, BotVersionSummary, BuiltInIntentSortBy, BuiltInIntentSummary, BuiltInSlotTypeSortBy, BuiltInSlotTypeSummary, CompositeSlotTypeSetting, Condition, ConversationEndState, ConversationLevelResultDetail, ConversationLevelTestResults, ConversationLevelTestResultsFilterBy, ConversationLogsDataSource, ConversationLogSettings, CustomVocabularyImportSpecification, CustomVocabularyItem, CustomVocabularyStatus, DataPrivacy, DateRangeFilter, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting,
|
|
1
|
+
import { ActiveContext, AgentTurnResult, AgentTurnSpecification, AggregatedUtterancesFilter, AggregatedUtterancesSortBy, AggregatedUtterancesSummary, AnalyticsBinBySpecification, AnalyticsIntentFilter, AnalyticsIntentGroupBySpecification, AnalyticsIntentMetric, AnalyticsIntentNodeSummary, AnalyticsIntentResult, AnalyticsIntentStageFilter, AnalyticsIntentStageGroupBySpecification, AnalyticsIntentStageMetric, AnalyticsIntentStageResult, AnalyticsModality, AnalyticsPathFilter, AnalyticsSessionFilter, AnalyticsSessionGroupBySpecification, AnalyticsSessionMetric, AnalyticsSessionResult, AnalyticsSessionSortByName, AnalyticsSortOrder, AnalyticsUtteranceAttribute, AnalyticsUtteranceFilter, AnalyticsUtteranceGroupBySpecification, AnalyticsUtteranceMetric, AnalyticsUtteranceResult, AnalyticsUtteranceSortByName, AssociatedTranscript, AssociatedTranscriptFilter, BotAliasLocaleSettings, BotAliasReplicaSummary, BotAliasStatus, BotAliasSummary, BotAliasTestExecutionTarget, BotFilter, BotImportSpecification, BotLocaleFilter, BotLocaleHistoryEvent, BotLocaleImportSpecification, BotLocaleSortBy, BotLocaleStatus, BotLocaleSummary, BotMember, BotRecommendationResults, BotRecommendationStatus, BotRecommendationSummary, BotReplicaStatus, BotReplicaSummary, BotSortBy, BotStatus, BotSummary, BotType, BotVersionReplicaSortBy, BotVersionReplicaSummary, BotVersionSortBy, BotVersionSummary, BuiltInIntentSortBy, BuiltInIntentSummary, BuiltInSlotTypeSortBy, BuiltInSlotTypeSummary, CompositeSlotTypeSetting, Condition, ConversationEndState, ConversationLevelResultDetail, ConversationLevelTestResults, ConversationLevelTestResultsFilterBy, ConversationLogsDataSource, ConversationLogSettings, CustomVocabularyImportSpecification, CustomVocabularyItem, CustomVocabularyStatus, DataPrivacy, DateRangeFilter, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting, ExecutionErrorDetails, ExportResourceSpecification, ExportStatus, ExternalSourceSetting, FulfillmentUpdatesSpecification, GenerativeAISettings, ImageResponseCard, ImportExportFileFormat, ImportStatus, InputContext, KendraConfiguration, MultipleValuesSetting, ObfuscationSetting, OutputContext, ParentBotNetwork, PromptSpecification, QnAIntentConfiguration, ResponseSpecification, SampleUtterance, SentimentAnalysisSettings, SlotConstraint, SlotDefaultValueSpecification, SlotResolutionSetting, SlotShape, SlotTypeValue, SlotValue, SlotValueSelectionSetting, SortOrder, SubSlotSetting, TestResultMatchStatus, TestSetDiscrepancyReportResourceTarget, VoiceSettings, WaitAndContinueSpecification } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface DescribeBotLocaleResponse {
|
|
6
|
+
/**
|
|
7
|
+
* <p>The identifier of the bot associated with the locale.</p>
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
botId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* <p>The version of the bot associated with the
|
|
13
|
+
* locale.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
botVersion?: string;
|
|
17
|
+
/**
|
|
18
|
+
* <p>The unique identifier of the described locale.</p>
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
localeId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* <p>The name of the locale.</p>
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
localeName?: string;
|
|
27
|
+
/**
|
|
28
|
+
* <p>The description of the locale.</p>
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
description?: string;
|
|
32
|
+
/**
|
|
33
|
+
* <p>The confidence threshold where Amazon Lex inserts the
|
|
34
|
+
* <code>AMAZON.FallbackIntent</code> and
|
|
35
|
+
* <code>AMAZON.KendraSearchIntent</code> intents in the list of
|
|
36
|
+
* possible intents for an utterance.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
nluIntentConfidenceThreshold?: number;
|
|
40
|
+
/**
|
|
41
|
+
* <p>The Amazon Polly voice Amazon Lex uses for voice interaction with the
|
|
42
|
+
* user.</p>
|
|
43
|
+
* @public
|
|
44
|
+
*/
|
|
45
|
+
voiceSettings?: VoiceSettings;
|
|
46
|
+
/**
|
|
47
|
+
* <p>The number of intents defined for the locale.</p>
|
|
48
|
+
* @public
|
|
49
|
+
*/
|
|
50
|
+
intentsCount?: number;
|
|
51
|
+
/**
|
|
52
|
+
* <p>The number of slot types defined for the locale.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
slotTypesCount?: number;
|
|
56
|
+
/**
|
|
57
|
+
* <p>The status of the bot. If the status is <code>Failed</code>, the
|
|
58
|
+
* reasons for the failure are listed in the <code>failureReasons</code>
|
|
59
|
+
* field.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
botLocaleStatus?: BotLocaleStatus;
|
|
63
|
+
/**
|
|
64
|
+
* <p>if <code>botLocaleStatus</code> is <code>Failed</code>, Amazon Lex
|
|
65
|
+
* explains why it failed to build the bot.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
failureReasons?: string[];
|
|
69
|
+
/**
|
|
70
|
+
* <p>The date and time that the locale was created.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
creationDateTime?: Date;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The date and time that the locale was last updated.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
lastUpdatedDateTime?: Date;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The date and time that the locale was last submitted for
|
|
81
|
+
* building.</p>
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
lastBuildSubmittedDateTime?: Date;
|
|
85
|
+
/**
|
|
86
|
+
* <p>History of changes, such as when a locale is used in an alias, that
|
|
87
|
+
* have taken place for the locale.</p>
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
botLocaleHistoryEvents?: BotLocaleHistoryEvent[];
|
|
91
|
+
/**
|
|
92
|
+
* <p>Recommended actions to take to resolve an error in the
|
|
93
|
+
* <code>failureReasons</code> field.</p>
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
recommendedActions?: string[];
|
|
97
|
+
/**
|
|
98
|
+
* <p>Contains settings for Amazon Bedrock's generative AI features for your bot locale.</p>
|
|
99
|
+
* @public
|
|
100
|
+
*/
|
|
101
|
+
generativeAISettings?: GenerativeAISettings;
|
|
102
|
+
}
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export interface DescribeBotRecommendationRequest {
|
|
107
|
+
/**
|
|
108
|
+
* <p>The unique identifier of the bot associated with the bot
|
|
109
|
+
* recommendation.</p>
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
botId: string | undefined;
|
|
113
|
+
/**
|
|
114
|
+
* <p>The version of the bot associated with the bot
|
|
115
|
+
* recommendation.</p>
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
botVersion: string | undefined;
|
|
119
|
+
/**
|
|
120
|
+
* <p>The identifier of the language and locale of the bot recommendation
|
|
121
|
+
* to describe. The string must match one of the supported locales. For
|
|
122
|
+
* more information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
localeId: string | undefined;
|
|
126
|
+
/**
|
|
127
|
+
* <p>The identifier of the bot recommendation to describe.</p>
|
|
128
|
+
* @public
|
|
129
|
+
*/
|
|
130
|
+
botRecommendationId: string | undefined;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* <p>The object representing the passwords that were used to encrypt the
|
|
134
|
+
* data related to the bot recommendation, as well as the KMS key ARN used
|
|
135
|
+
* to encrypt the associated metadata.</p>
|
|
136
|
+
* @public
|
|
137
|
+
*/
|
|
138
|
+
export interface EncryptionSetting {
|
|
139
|
+
/**
|
|
140
|
+
* <p>The KMS key ARN used to encrypt the metadata associated with the bot
|
|
141
|
+
* recommendation.</p>
|
|
142
|
+
* @public
|
|
143
|
+
*/
|
|
144
|
+
kmsKeyArn?: string;
|
|
145
|
+
/**
|
|
146
|
+
* <p>The password used to encrypt the recommended bot recommendation
|
|
147
|
+
* file.</p>
|
|
148
|
+
* @public
|
|
149
|
+
*/
|
|
150
|
+
botLocaleExportPassword?: string;
|
|
151
|
+
/**
|
|
152
|
+
* <p>The password used to encrypt the associated transcript file.</p>
|
|
153
|
+
* @public
|
|
154
|
+
*/
|
|
155
|
+
associatedTranscriptsPassword?: string;
|
|
156
|
+
}
|
|
2
157
|
/**
|
|
3
158
|
* <p>The object that contains a path format that will be applied when
|
|
4
159
|
* Amazon Lex reads the transcript file in the bucket you provide. Specify this
|
|
@@ -8614,6 +8769,10 @@ export interface UpdateIntentResponse {
|
|
|
8614
8769
|
*/
|
|
8615
8770
|
qnAIntentConfiguration?: QnAIntentConfiguration;
|
|
8616
8771
|
}
|
|
8772
|
+
/**
|
|
8773
|
+
* @internal
|
|
8774
|
+
*/
|
|
8775
|
+
export declare const EncryptionSettingFilterSensitiveLog: (obj: EncryptionSetting) => any;
|
|
8617
8776
|
/**
|
|
8618
8777
|
* @internal
|
|
8619
8778
|
*/
|
|
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
|
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexModelsV2HttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -27,13 +27,13 @@ export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
|
|
|
27
27
|
serviceId: string;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
30
32
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
31
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
34
|
logger?: import("@smithy/types").Logger | undefined;
|
|
33
35
|
}) => import("@smithy/types").EndpointV2;
|
|
34
36
|
tls?: boolean | undefined;
|
|
35
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
37
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
38
38
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexModelsV2HttpAuthSchemeProvider;
|
|
39
39
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -26,13 +26,13 @@ export declare const getRuntimeConfig: (config: LexModelsV2ClientConfig) => {
|
|
|
26
26
|
logger: import("@smithy/types").Logger;
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
29
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
30
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
29
31
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
30
32
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
33
|
logger?: import("@smithy/types").Logger | undefined;
|
|
32
34
|
}) => import("@smithy/types").EndpointV2;
|
|
33
35
|
tls?: boolean | undefined;
|
|
34
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
35
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
36
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
37
37
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").LexModelsV2HttpAuthSchemeProvider;
|
|
38
38
|
credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
|
|
@@ -695,11 +695,11 @@ export type LexModelsV2ClientConfigType = Partial<
|
|
|
695
695
|
__SmithyConfiguration<__HttpHandlerOptions>
|
|
696
696
|
> &
|
|
697
697
|
ClientDefaults &
|
|
698
|
-
RegionInputConfig &
|
|
699
|
-
EndpointInputConfig<EndpointParameters> &
|
|
700
|
-
HostHeaderInputConfig &
|
|
701
698
|
UserAgentInputConfig &
|
|
702
699
|
RetryInputConfig &
|
|
700
|
+
RegionInputConfig &
|
|
701
|
+
HostHeaderInputConfig &
|
|
702
|
+
EndpointInputConfig<EndpointParameters> &
|
|
703
703
|
HttpAuthSchemeInputConfig &
|
|
704
704
|
ClientInputEndpointParameters;
|
|
705
705
|
export interface LexModelsV2ClientConfig extends LexModelsV2ClientConfigType {}
|
|
@@ -707,11 +707,11 @@ export type LexModelsV2ClientResolvedConfigType =
|
|
|
707
707
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
708
708
|
Required<ClientDefaults> &
|
|
709
709
|
RuntimeExtensionsConfig &
|
|
710
|
-
RegionResolvedConfig &
|
|
711
|
-
EndpointResolvedConfig<EndpointParameters> &
|
|
712
|
-
HostHeaderResolvedConfig &
|
|
713
710
|
UserAgentResolvedConfig &
|
|
714
711
|
RetryResolvedConfig &
|
|
712
|
+
RegionResolvedConfig &
|
|
713
|
+
HostHeaderResolvedConfig &
|
|
714
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
715
715
|
HttpAuthSchemeResolvedConfig &
|
|
716
716
|
ClientResolvedEndpointParameters;
|
|
717
717
|
export interface LexModelsV2ClientResolvedConfig
|
|
@@ -727,6 +727,4 @@ export declare class LexModelsV2Client extends __Client<
|
|
|
727
727
|
...[configuration]: __CheckOptionalClientConfig<LexModelsV2ClientConfig>
|
|
728
728
|
);
|
|
729
729
|
destroy(): void;
|
|
730
|
-
private getDefaultHttpAuthSchemeParametersProvider;
|
|
731
|
-
private getIdentityProviderConfigProvider;
|
|
732
730
|
}
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../LexModelsV2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
DescribeBotLocaleResponse,
|
|
11
|
-
} from "../models/models_0";
|
|
8
|
+
import { DescribeBotLocaleRequest } from "../models/models_0";
|
|
9
|
+
import { DescribeBotLocaleResponse } from "../models/models_1";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface DescribeBotLocaleCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../LexModelsV2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DescribeBotRecommendationRequest,
|
|
10
|
+
DescribeBotRecommendationResponse,
|
|
11
|
+
} from "../models/models_1";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface DescribeBotRecommendationCommandInput
|
|
@@ -533,11 +533,29 @@ export interface BatchUpdateCustomVocabularyItemResponse {
|
|
|
533
533
|
errors?: FailedCustomVocabularyItem[];
|
|
534
534
|
resources?: CustomVocabularyItem[];
|
|
535
535
|
}
|
|
536
|
+
export interface BedrockGuardrailConfiguration {
|
|
537
|
+
identifier: string | undefined;
|
|
538
|
+
version: string | undefined;
|
|
539
|
+
}
|
|
540
|
+
export interface BedrockKnowledgeStoreExactResponseFields {
|
|
541
|
+
answerField?: string;
|
|
542
|
+
}
|
|
536
543
|
export interface BedrockKnowledgeStoreConfiguration {
|
|
537
544
|
bedrockKnowledgeBaseArn: string | undefined;
|
|
545
|
+
exactResponse?: boolean;
|
|
546
|
+
exactResponseFields?: BedrockKnowledgeStoreExactResponseFields;
|
|
538
547
|
}
|
|
548
|
+
export declare const BedrockTraceStatus: {
|
|
549
|
+
readonly DISABLED: "DISABLED";
|
|
550
|
+
readonly ENABLED: "ENABLED";
|
|
551
|
+
};
|
|
552
|
+
export type BedrockTraceStatus =
|
|
553
|
+
(typeof BedrockTraceStatus)[keyof typeof BedrockTraceStatus];
|
|
539
554
|
export interface BedrockModelSpecification {
|
|
540
555
|
modelArn: string | undefined;
|
|
556
|
+
guardrail?: BedrockGuardrailConfiguration;
|
|
557
|
+
traceStatus?: BedrockTraceStatus;
|
|
558
|
+
customPrompt?: string;
|
|
541
559
|
}
|
|
542
560
|
export interface BotAliasHistoryEvent {
|
|
543
561
|
botVersion?: string;
|
|
@@ -1643,39 +1661,6 @@ export interface DescribeBotLocaleRequest {
|
|
|
1643
1661
|
botVersion: string | undefined;
|
|
1644
1662
|
localeId: string | undefined;
|
|
1645
1663
|
}
|
|
1646
|
-
export interface DescribeBotLocaleResponse {
|
|
1647
|
-
botId?: string;
|
|
1648
|
-
botVersion?: string;
|
|
1649
|
-
localeId?: string;
|
|
1650
|
-
localeName?: string;
|
|
1651
|
-
description?: string;
|
|
1652
|
-
nluIntentConfidenceThreshold?: number;
|
|
1653
|
-
voiceSettings?: VoiceSettings;
|
|
1654
|
-
intentsCount?: number;
|
|
1655
|
-
slotTypesCount?: number;
|
|
1656
|
-
botLocaleStatus?: BotLocaleStatus;
|
|
1657
|
-
failureReasons?: string[];
|
|
1658
|
-
creationDateTime?: Date;
|
|
1659
|
-
lastUpdatedDateTime?: Date;
|
|
1660
|
-
lastBuildSubmittedDateTime?: Date;
|
|
1661
|
-
botLocaleHistoryEvents?: BotLocaleHistoryEvent[];
|
|
1662
|
-
recommendedActions?: string[];
|
|
1663
|
-
generativeAISettings?: GenerativeAISettings;
|
|
1664
|
-
}
|
|
1665
|
-
export interface DescribeBotRecommendationRequest {
|
|
1666
|
-
botId: string | undefined;
|
|
1667
|
-
botVersion: string | undefined;
|
|
1668
|
-
localeId: string | undefined;
|
|
1669
|
-
botRecommendationId: string | undefined;
|
|
1670
|
-
}
|
|
1671
|
-
export interface EncryptionSetting {
|
|
1672
|
-
kmsKeyArn?: string;
|
|
1673
|
-
botLocaleExportPassword?: string;
|
|
1674
|
-
associatedTranscriptsPassword?: string;
|
|
1675
|
-
}
|
|
1676
1664
|
export declare const CreateExportRequestFilterSensitiveLog: (
|
|
1677
1665
|
obj: CreateExportRequest
|
|
1678
1666
|
) => any;
|
|
1679
|
-
export declare const EncryptionSettingFilterSensitiveLog: (
|
|
1680
|
-
obj: EncryptionSetting
|
|
1681
|
-
) => any;
|
|
@@ -39,6 +39,7 @@ import {
|
|
|
39
39
|
BotFilter,
|
|
40
40
|
BotImportSpecification,
|
|
41
41
|
BotLocaleFilter,
|
|
42
|
+
BotLocaleHistoryEvent,
|
|
42
43
|
BotLocaleImportSpecification,
|
|
43
44
|
BotLocaleSortBy,
|
|
44
45
|
BotLocaleStatus,
|
|
@@ -77,7 +78,6 @@ import {
|
|
|
77
78
|
DialogAction,
|
|
78
79
|
DialogCodeHookSettings,
|
|
79
80
|
ElicitationCodeHookInvocationSetting,
|
|
80
|
-
EncryptionSetting,
|
|
81
81
|
ExecutionErrorDetails,
|
|
82
82
|
ExportResourceSpecification,
|
|
83
83
|
ExportStatus,
|
|
@@ -112,6 +112,36 @@ import {
|
|
|
112
112
|
VoiceSettings,
|
|
113
113
|
WaitAndContinueSpecification,
|
|
114
114
|
} from "./models_0";
|
|
115
|
+
export interface DescribeBotLocaleResponse {
|
|
116
|
+
botId?: string;
|
|
117
|
+
botVersion?: string;
|
|
118
|
+
localeId?: string;
|
|
119
|
+
localeName?: string;
|
|
120
|
+
description?: string;
|
|
121
|
+
nluIntentConfidenceThreshold?: number;
|
|
122
|
+
voiceSettings?: VoiceSettings;
|
|
123
|
+
intentsCount?: number;
|
|
124
|
+
slotTypesCount?: number;
|
|
125
|
+
botLocaleStatus?: BotLocaleStatus;
|
|
126
|
+
failureReasons?: string[];
|
|
127
|
+
creationDateTime?: Date;
|
|
128
|
+
lastUpdatedDateTime?: Date;
|
|
129
|
+
lastBuildSubmittedDateTime?: Date;
|
|
130
|
+
botLocaleHistoryEvents?: BotLocaleHistoryEvent[];
|
|
131
|
+
recommendedActions?: string[];
|
|
132
|
+
generativeAISettings?: GenerativeAISettings;
|
|
133
|
+
}
|
|
134
|
+
export interface DescribeBotRecommendationRequest {
|
|
135
|
+
botId: string | undefined;
|
|
136
|
+
botVersion: string | undefined;
|
|
137
|
+
localeId: string | undefined;
|
|
138
|
+
botRecommendationId: string | undefined;
|
|
139
|
+
}
|
|
140
|
+
export interface EncryptionSetting {
|
|
141
|
+
kmsKeyArn?: string;
|
|
142
|
+
botLocaleExportPassword?: string;
|
|
143
|
+
associatedTranscriptsPassword?: string;
|
|
144
|
+
}
|
|
115
145
|
export interface PathFormat {
|
|
116
146
|
objectPrefixes?: string[];
|
|
117
147
|
}
|
|
@@ -1938,6 +1968,9 @@ export interface UpdateIntentResponse {
|
|
|
1938
1968
|
initialResponseSetting?: InitialResponseSetting;
|
|
1939
1969
|
qnAIntentConfiguration?: QnAIntentConfiguration;
|
|
1940
1970
|
}
|
|
1971
|
+
export declare const EncryptionSettingFilterSensitiveLog: (
|
|
1972
|
+
obj: EncryptionSetting
|
|
1973
|
+
) => any;
|
|
1941
1974
|
export declare const DescribeBotRecommendationResponseFilterSensitiveLog: (
|
|
1942
1975
|
obj: DescribeBotRecommendationResponse
|
|
1943
1976
|
) => any;
|