@aws-sdk/client-lex-models-v2 3.454.0 → 3.460.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 +12 -12
|
@@ -533,6 +533,9 @@ export interface BatchUpdateCustomVocabularyItemResponse {
|
|
|
533
533
|
errors?: FailedCustomVocabularyItem[];
|
|
534
534
|
resources?: CustomVocabularyItem[];
|
|
535
535
|
}
|
|
536
|
+
export interface BedrockModelSpecification {
|
|
537
|
+
modelArn: string | undefined;
|
|
538
|
+
}
|
|
536
539
|
export interface BotAliasHistoryEvent {
|
|
537
540
|
botVersion?: string;
|
|
538
541
|
startDate?: Date;
|
|
@@ -792,6 +795,18 @@ export declare class PreconditionFailedException extends __BaseException {
|
|
|
792
795
|
opts: __ExceptionOptionType<PreconditionFailedException, __BaseException>
|
|
793
796
|
);
|
|
794
797
|
}
|
|
798
|
+
export interface DescriptiveBotBuilderSpecification {
|
|
799
|
+
enabled: boolean | undefined;
|
|
800
|
+
bedrockModelSpecification?: BedrockModelSpecification;
|
|
801
|
+
}
|
|
802
|
+
export interface SampleUtteranceGenerationSpecification {
|
|
803
|
+
enabled: boolean | undefined;
|
|
804
|
+
bedrockModelSpecification?: BedrockModelSpecification;
|
|
805
|
+
}
|
|
806
|
+
export interface BuildtimeSettings {
|
|
807
|
+
descriptiveBotBuilder?: DescriptiveBotBuilderSpecification;
|
|
808
|
+
sampleUtteranceGeneration?: SampleUtteranceGenerationSpecification;
|
|
809
|
+
}
|
|
795
810
|
export declare const BuiltInIntentSortAttribute: {
|
|
796
811
|
readonly IntentSignature: "IntentSignature";
|
|
797
812
|
};
|
|
@@ -1015,6 +1030,17 @@ export interface CreateBotAliasResponse {
|
|
|
1015
1030
|
creationDateTime?: Date;
|
|
1016
1031
|
tags?: Record<string, string>;
|
|
1017
1032
|
}
|
|
1033
|
+
export interface SlotResolutionImprovementSpecification {
|
|
1034
|
+
enabled: boolean | undefined;
|
|
1035
|
+
bedrockModelSpecification?: BedrockModelSpecification;
|
|
1036
|
+
}
|
|
1037
|
+
export interface RuntimeSettings {
|
|
1038
|
+
slotResolutionImprovement?: SlotResolutionImprovementSpecification;
|
|
1039
|
+
}
|
|
1040
|
+
export interface GenerativeAISettings {
|
|
1041
|
+
runtimeSettings?: RuntimeSettings;
|
|
1042
|
+
buildtimeSettings?: BuildtimeSettings;
|
|
1043
|
+
}
|
|
1018
1044
|
export interface CreateBotLocaleRequest {
|
|
1019
1045
|
botId: string | undefined;
|
|
1020
1046
|
botVersion: string | undefined;
|
|
@@ -1022,6 +1048,7 @@ export interface CreateBotLocaleRequest {
|
|
|
1022
1048
|
description?: string;
|
|
1023
1049
|
nluIntentConfidenceThreshold: number | undefined;
|
|
1024
1050
|
voiceSettings?: VoiceSettings;
|
|
1051
|
+
generativeAISettings?: GenerativeAISettings;
|
|
1025
1052
|
}
|
|
1026
1053
|
export interface CreateBotLocaleResponse {
|
|
1027
1054
|
botId?: string;
|
|
@@ -1033,6 +1060,7 @@ export interface CreateBotLocaleResponse {
|
|
|
1033
1060
|
voiceSettings?: VoiceSettings;
|
|
1034
1061
|
botLocaleStatus?: BotLocaleStatus;
|
|
1035
1062
|
creationDateTime?: Date;
|
|
1063
|
+
generativeAISettings?: GenerativeAISettings;
|
|
1036
1064
|
}
|
|
1037
1065
|
export interface CreateBotVersionRequest {
|
|
1038
1066
|
botId: string | undefined;
|
|
@@ -1241,6 +1269,15 @@ export declare const SlotConstraint: {
|
|
|
1241
1269
|
};
|
|
1242
1270
|
export type SlotConstraint =
|
|
1243
1271
|
(typeof SlotConstraint)[keyof typeof SlotConstraint];
|
|
1272
|
+
export declare const SlotResolutionStrategy: {
|
|
1273
|
+
readonly Default: "Default";
|
|
1274
|
+
readonly EnhancedFallback: "EnhancedFallback";
|
|
1275
|
+
};
|
|
1276
|
+
export type SlotResolutionStrategy =
|
|
1277
|
+
(typeof SlotResolutionStrategy)[keyof typeof SlotResolutionStrategy];
|
|
1278
|
+
export interface SlotResolutionSetting {
|
|
1279
|
+
slotResolutionStrategy: SlotResolutionStrategy | undefined;
|
|
1280
|
+
}
|
|
1244
1281
|
export interface GrammarSlotTypeSource {
|
|
1245
1282
|
s3BucketName: string | undefined;
|
|
1246
1283
|
s3ObjectKey: string | undefined;
|
|
@@ -1520,6 +1557,7 @@ export interface DescribeBotLocaleResponse {
|
|
|
1520
1557
|
lastBuildSubmittedDateTime?: Date;
|
|
1521
1558
|
botLocaleHistoryEvents?: BotLocaleHistoryEvent[];
|
|
1522
1559
|
recommendedActions?: string[];
|
|
1560
|
+
generativeAISettings?: GenerativeAISettings;
|
|
1523
1561
|
}
|
|
1524
1562
|
export interface DescribeBotRecommendationRequest {
|
|
1525
1563
|
botId: string | undefined;
|
|
@@ -1569,6 +1607,32 @@ export interface DescribeBotRecommendationResponse {
|
|
|
1569
1607
|
encryptionSetting?: EncryptionSetting;
|
|
1570
1608
|
botRecommendationResults?: BotRecommendationResults;
|
|
1571
1609
|
}
|
|
1610
|
+
export interface DescribeBotResourceGenerationRequest {
|
|
1611
|
+
botId: string | undefined;
|
|
1612
|
+
botVersion: string | undefined;
|
|
1613
|
+
localeId: string | undefined;
|
|
1614
|
+
generationId: string | undefined;
|
|
1615
|
+
}
|
|
1616
|
+
export declare const GenerationStatus: {
|
|
1617
|
+
readonly Complete: "Complete";
|
|
1618
|
+
readonly Failed: "Failed";
|
|
1619
|
+
readonly InProgress: "InProgress";
|
|
1620
|
+
};
|
|
1621
|
+
export type GenerationStatus =
|
|
1622
|
+
(typeof GenerationStatus)[keyof typeof GenerationStatus];
|
|
1623
|
+
export interface DescribeBotResourceGenerationResponse {
|
|
1624
|
+
botId?: string;
|
|
1625
|
+
botVersion?: string;
|
|
1626
|
+
localeId?: string;
|
|
1627
|
+
generationId?: string;
|
|
1628
|
+
failureReasons?: string[];
|
|
1629
|
+
generationStatus?: GenerationStatus;
|
|
1630
|
+
generationInputPrompt?: string;
|
|
1631
|
+
generatedBotLocaleUrl?: string;
|
|
1632
|
+
creationDateTime?: Date;
|
|
1633
|
+
modelArn?: string;
|
|
1634
|
+
lastUpdatedDateTime?: Date;
|
|
1635
|
+
}
|
|
1572
1636
|
export interface DescribeBotVersionRequest {
|
|
1573
1637
|
botId: string | undefined;
|
|
1574
1638
|
botVersion: string | undefined;
|
|
@@ -1623,78 +1687,6 @@ export declare const MergeStrategy: {
|
|
|
1623
1687
|
readonly Overwrite: "Overwrite";
|
|
1624
1688
|
};
|
|
1625
1689
|
export type MergeStrategy = (typeof MergeStrategy)[keyof typeof MergeStrategy];
|
|
1626
|
-
export interface TestSetImportInputLocation {
|
|
1627
|
-
s3BucketName: string | undefined;
|
|
1628
|
-
s3Path: string | undefined;
|
|
1629
|
-
}
|
|
1630
|
-
export declare const TestSetModality: {
|
|
1631
|
-
readonly Audio: "Audio";
|
|
1632
|
-
readonly Text: "Text";
|
|
1633
|
-
};
|
|
1634
|
-
export type TestSetModality =
|
|
1635
|
-
(typeof TestSetModality)[keyof typeof TestSetModality];
|
|
1636
|
-
export interface TestSetStorageLocation {
|
|
1637
|
-
s3BucketName: string | undefined;
|
|
1638
|
-
s3Path: string | undefined;
|
|
1639
|
-
kmsKeyArn?: string;
|
|
1640
|
-
}
|
|
1641
|
-
export interface TestSetImportResourceSpecification {
|
|
1642
|
-
testSetName: string | undefined;
|
|
1643
|
-
description?: string;
|
|
1644
|
-
roleArn: string | undefined;
|
|
1645
|
-
storageLocation: TestSetStorageLocation | undefined;
|
|
1646
|
-
importInputLocation: TestSetImportInputLocation | undefined;
|
|
1647
|
-
modality: TestSetModality | undefined;
|
|
1648
|
-
testSetTags?: Record<string, string>;
|
|
1649
|
-
}
|
|
1650
|
-
export interface ImportResourceSpecification {
|
|
1651
|
-
botImportSpecification?: BotImportSpecification;
|
|
1652
|
-
botLocaleImportSpecification?: BotLocaleImportSpecification;
|
|
1653
|
-
customVocabularyImportSpecification?: CustomVocabularyImportSpecification;
|
|
1654
|
-
testSetImportResourceSpecification?: TestSetImportResourceSpecification;
|
|
1655
|
-
}
|
|
1656
|
-
export interface DescribeImportResponse {
|
|
1657
|
-
importId?: string;
|
|
1658
|
-
resourceSpecification?: ImportResourceSpecification;
|
|
1659
|
-
importedResourceId?: string;
|
|
1660
|
-
importedResourceName?: string;
|
|
1661
|
-
mergeStrategy?: MergeStrategy;
|
|
1662
|
-
importStatus?: ImportStatus;
|
|
1663
|
-
failureReasons?: string[];
|
|
1664
|
-
creationDateTime?: Date;
|
|
1665
|
-
lastUpdatedDateTime?: Date;
|
|
1666
|
-
}
|
|
1667
|
-
export interface DescribeIntentRequest {
|
|
1668
|
-
intentId: string | undefined;
|
|
1669
|
-
botId: string | undefined;
|
|
1670
|
-
botVersion: string | undefined;
|
|
1671
|
-
localeId: string | undefined;
|
|
1672
|
-
}
|
|
1673
|
-
export interface SlotPriority {
|
|
1674
|
-
priority: number | undefined;
|
|
1675
|
-
slotId: string | undefined;
|
|
1676
|
-
}
|
|
1677
|
-
export interface DescribeResourcePolicyRequest {
|
|
1678
|
-
resourceArn: string | undefined;
|
|
1679
|
-
}
|
|
1680
|
-
export interface DescribeResourcePolicyResponse {
|
|
1681
|
-
resourceArn?: string;
|
|
1682
|
-
policy?: string;
|
|
1683
|
-
revisionId?: string;
|
|
1684
|
-
}
|
|
1685
|
-
export interface DescribeSlotRequest {
|
|
1686
|
-
slotId: string | undefined;
|
|
1687
|
-
botId: string | undefined;
|
|
1688
|
-
botVersion: string | undefined;
|
|
1689
|
-
localeId: string | undefined;
|
|
1690
|
-
intentId: string | undefined;
|
|
1691
|
-
}
|
|
1692
|
-
export interface DescribeSlotTypeRequest {
|
|
1693
|
-
slotTypeId: string | undefined;
|
|
1694
|
-
botId: string | undefined;
|
|
1695
|
-
botVersion: string | undefined;
|
|
1696
|
-
localeId: string | undefined;
|
|
1697
|
-
}
|
|
1698
1690
|
export declare const CreateExportRequestFilterSensitiveLog: (
|
|
1699
1691
|
obj: CreateExportRequest
|
|
1700
1692
|
) => any;
|
|
@@ -36,7 +36,9 @@ import {
|
|
|
36
36
|
BotAliasSummary,
|
|
37
37
|
BotAliasTestExecutionTarget,
|
|
38
38
|
BotFilter,
|
|
39
|
+
BotImportSpecification,
|
|
39
40
|
BotLocaleFilter,
|
|
41
|
+
BotLocaleImportSpecification,
|
|
40
42
|
BotLocaleSortBy,
|
|
41
43
|
BotLocaleStatus,
|
|
42
44
|
BotLocaleSummary,
|
|
@@ -61,6 +63,7 @@ import {
|
|
|
61
63
|
ConversationLevelTestResultsFilterBy,
|
|
62
64
|
ConversationLogsDataSource,
|
|
63
65
|
ConversationLogSettings,
|
|
66
|
+
CustomVocabularyImportSpecification,
|
|
64
67
|
CustomVocabularyItem,
|
|
65
68
|
DataPrivacy,
|
|
66
69
|
DialogAction,
|
|
@@ -72,9 +75,10 @@ import {
|
|
|
72
75
|
ExportStatus,
|
|
73
76
|
ExternalSourceSetting,
|
|
74
77
|
FulfillmentUpdatesSpecification,
|
|
78
|
+
GenerationStatus,
|
|
79
|
+
GenerativeAISettings,
|
|
75
80
|
ImageResponseCard,
|
|
76
81
|
ImportExportFileFormat,
|
|
77
|
-
ImportResourceSpecification,
|
|
78
82
|
ImportStatus,
|
|
79
83
|
InputContext,
|
|
80
84
|
KendraConfiguration,
|
|
@@ -88,7 +92,7 @@ import {
|
|
|
88
92
|
SentimentAnalysisSettings,
|
|
89
93
|
SlotConstraint,
|
|
90
94
|
SlotDefaultValueSpecification,
|
|
91
|
-
|
|
95
|
+
SlotResolutionSetting,
|
|
92
96
|
SlotShape,
|
|
93
97
|
SlotTypeValue,
|
|
94
98
|
SlotValue,
|
|
@@ -97,12 +101,82 @@ import {
|
|
|
97
101
|
SubSlotSetting,
|
|
98
102
|
TestResultMatchStatus,
|
|
99
103
|
TestSetDiscrepancyReportResourceTarget,
|
|
100
|
-
TestSetModality,
|
|
101
|
-
TestSetStorageLocation,
|
|
102
104
|
TranscriptSourceSetting,
|
|
103
105
|
VoiceSettings,
|
|
104
106
|
WaitAndContinueSpecification,
|
|
105
107
|
} from "./models_0";
|
|
108
|
+
export interface TestSetImportInputLocation {
|
|
109
|
+
s3BucketName: string | undefined;
|
|
110
|
+
s3Path: string | undefined;
|
|
111
|
+
}
|
|
112
|
+
export declare const TestSetModality: {
|
|
113
|
+
readonly Audio: "Audio";
|
|
114
|
+
readonly Text: "Text";
|
|
115
|
+
};
|
|
116
|
+
export type TestSetModality =
|
|
117
|
+
(typeof TestSetModality)[keyof typeof TestSetModality];
|
|
118
|
+
export interface TestSetStorageLocation {
|
|
119
|
+
s3BucketName: string | undefined;
|
|
120
|
+
s3Path: string | undefined;
|
|
121
|
+
kmsKeyArn?: string;
|
|
122
|
+
}
|
|
123
|
+
export interface TestSetImportResourceSpecification {
|
|
124
|
+
testSetName: string | undefined;
|
|
125
|
+
description?: string;
|
|
126
|
+
roleArn: string | undefined;
|
|
127
|
+
storageLocation: TestSetStorageLocation | undefined;
|
|
128
|
+
importInputLocation: TestSetImportInputLocation | undefined;
|
|
129
|
+
modality: TestSetModality | undefined;
|
|
130
|
+
testSetTags?: Record<string, string>;
|
|
131
|
+
}
|
|
132
|
+
export interface ImportResourceSpecification {
|
|
133
|
+
botImportSpecification?: BotImportSpecification;
|
|
134
|
+
botLocaleImportSpecification?: BotLocaleImportSpecification;
|
|
135
|
+
customVocabularyImportSpecification?: CustomVocabularyImportSpecification;
|
|
136
|
+
testSetImportResourceSpecification?: TestSetImportResourceSpecification;
|
|
137
|
+
}
|
|
138
|
+
export interface DescribeImportResponse {
|
|
139
|
+
importId?: string;
|
|
140
|
+
resourceSpecification?: ImportResourceSpecification;
|
|
141
|
+
importedResourceId?: string;
|
|
142
|
+
importedResourceName?: string;
|
|
143
|
+
mergeStrategy?: MergeStrategy;
|
|
144
|
+
importStatus?: ImportStatus;
|
|
145
|
+
failureReasons?: string[];
|
|
146
|
+
creationDateTime?: Date;
|
|
147
|
+
lastUpdatedDateTime?: Date;
|
|
148
|
+
}
|
|
149
|
+
export interface DescribeIntentRequest {
|
|
150
|
+
intentId: string | undefined;
|
|
151
|
+
botId: string | undefined;
|
|
152
|
+
botVersion: string | undefined;
|
|
153
|
+
localeId: string | undefined;
|
|
154
|
+
}
|
|
155
|
+
export interface SlotPriority {
|
|
156
|
+
priority: number | undefined;
|
|
157
|
+
slotId: string | undefined;
|
|
158
|
+
}
|
|
159
|
+
export interface DescribeResourcePolicyRequest {
|
|
160
|
+
resourceArn: string | undefined;
|
|
161
|
+
}
|
|
162
|
+
export interface DescribeResourcePolicyResponse {
|
|
163
|
+
resourceArn?: string;
|
|
164
|
+
policy?: string;
|
|
165
|
+
revisionId?: string;
|
|
166
|
+
}
|
|
167
|
+
export interface DescribeSlotRequest {
|
|
168
|
+
slotId: string | undefined;
|
|
169
|
+
botId: string | undefined;
|
|
170
|
+
botVersion: string | undefined;
|
|
171
|
+
localeId: string | undefined;
|
|
172
|
+
intentId: string | undefined;
|
|
173
|
+
}
|
|
174
|
+
export interface DescribeSlotTypeRequest {
|
|
175
|
+
slotTypeId: string | undefined;
|
|
176
|
+
botId: string | undefined;
|
|
177
|
+
botVersion: string | undefined;
|
|
178
|
+
localeId: string | undefined;
|
|
179
|
+
}
|
|
106
180
|
export interface DescribeSlotTypeResponse {
|
|
107
181
|
slotTypeId?: string;
|
|
108
182
|
slotTypeName?: string;
|
|
@@ -276,6 +350,35 @@ export interface ExportSummary {
|
|
|
276
350
|
creationDateTime?: Date;
|
|
277
351
|
lastUpdatedDateTime?: Date;
|
|
278
352
|
}
|
|
353
|
+
export interface GenerateBotElementRequest {
|
|
354
|
+
intentId: string | undefined;
|
|
355
|
+
botId: string | undefined;
|
|
356
|
+
botVersion: string | undefined;
|
|
357
|
+
localeId: string | undefined;
|
|
358
|
+
}
|
|
359
|
+
export interface GenerateBotElementResponse {
|
|
360
|
+
botId?: string;
|
|
361
|
+
botVersion?: string;
|
|
362
|
+
localeId?: string;
|
|
363
|
+
intentId?: string;
|
|
364
|
+
sampleUtterances?: SampleUtterance[];
|
|
365
|
+
}
|
|
366
|
+
export declare const GenerationSortByAttribute: {
|
|
367
|
+
readonly creationStartTime: "creationStartTime";
|
|
368
|
+
readonly lastUpdatedTime: "lastUpdatedTime";
|
|
369
|
+
};
|
|
370
|
+
export type GenerationSortByAttribute =
|
|
371
|
+
(typeof GenerationSortByAttribute)[keyof typeof GenerationSortByAttribute];
|
|
372
|
+
export interface GenerationSortBy {
|
|
373
|
+
attribute: GenerationSortByAttribute | undefined;
|
|
374
|
+
order: SortOrder | undefined;
|
|
375
|
+
}
|
|
376
|
+
export interface GenerationSummary {
|
|
377
|
+
generationId?: string;
|
|
378
|
+
generationStatus?: GenerationStatus;
|
|
379
|
+
creationDateTime?: Date;
|
|
380
|
+
lastUpdatedDateTime?: Date;
|
|
381
|
+
}
|
|
279
382
|
export interface GetTestExecutionArtifactsUrlRequest {
|
|
280
383
|
testExecutionId: string | undefined;
|
|
281
384
|
}
|
|
@@ -488,6 +591,21 @@ export interface ListBotRecommendationsResponse {
|
|
|
488
591
|
botRecommendationSummaries?: BotRecommendationSummary[];
|
|
489
592
|
nextToken?: string;
|
|
490
593
|
}
|
|
594
|
+
export interface ListBotResourceGenerationsRequest {
|
|
595
|
+
botId: string | undefined;
|
|
596
|
+
botVersion: string | undefined;
|
|
597
|
+
localeId: string | undefined;
|
|
598
|
+
sortBy?: GenerationSortBy;
|
|
599
|
+
maxResults?: number;
|
|
600
|
+
nextToken?: string;
|
|
601
|
+
}
|
|
602
|
+
export interface ListBotResourceGenerationsResponse {
|
|
603
|
+
botId?: string;
|
|
604
|
+
botVersion?: string;
|
|
605
|
+
localeId?: string;
|
|
606
|
+
generationSummaries?: GenerationSummary[];
|
|
607
|
+
nextToken?: string;
|
|
608
|
+
}
|
|
491
609
|
export interface ListBotsRequest {
|
|
492
610
|
sortBy?: BotSortBy;
|
|
493
611
|
filters?: BotFilter[];
|
|
@@ -1041,6 +1159,21 @@ export interface StartBotRecommendationResponse {
|
|
|
1041
1159
|
transcriptSourceSetting?: TranscriptSourceSetting;
|
|
1042
1160
|
encryptionSetting?: EncryptionSetting;
|
|
1043
1161
|
}
|
|
1162
|
+
export interface StartBotResourceGenerationRequest {
|
|
1163
|
+
generationInputPrompt: string | undefined;
|
|
1164
|
+
botId: string | undefined;
|
|
1165
|
+
botVersion: string | undefined;
|
|
1166
|
+
localeId: string | undefined;
|
|
1167
|
+
}
|
|
1168
|
+
export interface StartBotResourceGenerationResponse {
|
|
1169
|
+
generationInputPrompt?: string;
|
|
1170
|
+
generationId?: string;
|
|
1171
|
+
botId?: string;
|
|
1172
|
+
botVersion?: string;
|
|
1173
|
+
localeId?: string;
|
|
1174
|
+
generationStatus?: GenerationStatus;
|
|
1175
|
+
creationDateTime?: Date;
|
|
1176
|
+
}
|
|
1044
1177
|
export interface StartImportRequest {
|
|
1045
1178
|
importId: string | undefined;
|
|
1046
1179
|
resourceSpecification: ImportResourceSpecification | undefined;
|
|
@@ -1163,6 +1296,7 @@ export interface UpdateBotLocaleRequest {
|
|
|
1163
1296
|
description?: string;
|
|
1164
1297
|
nluIntentConfidenceThreshold: number | undefined;
|
|
1165
1298
|
voiceSettings?: VoiceSettings;
|
|
1299
|
+
generativeAISettings?: GenerativeAISettings;
|
|
1166
1300
|
}
|
|
1167
1301
|
export interface UpdateBotLocaleResponse {
|
|
1168
1302
|
botId?: string;
|
|
@@ -1177,6 +1311,7 @@ export interface UpdateBotLocaleResponse {
|
|
|
1177
1311
|
creationDateTime?: Date;
|
|
1178
1312
|
lastUpdatedDateTime?: Date;
|
|
1179
1313
|
recommendedActions?: string[];
|
|
1314
|
+
generativeAISettings?: GenerativeAISettings;
|
|
1180
1315
|
}
|
|
1181
1316
|
export interface UpdateBotRecommendationRequest {
|
|
1182
1317
|
botId: string | undefined;
|
|
@@ -1439,6 +1574,7 @@ export interface SlotValueElicitationSetting {
|
|
|
1439
1574
|
sampleUtterances?: SampleUtterance[];
|
|
1440
1575
|
waitAndContinueSpecification?: WaitAndContinueSpecification;
|
|
1441
1576
|
slotCaptureSetting?: SlotCaptureSetting;
|
|
1577
|
+
slotResolutionSetting?: SlotResolutionSetting;
|
|
1442
1578
|
}
|
|
1443
1579
|
export interface IntentConfirmationSetting {
|
|
1444
1580
|
promptSpecification: PromptSpecification | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListBotResourceGenerationsCommandInput,
|
|
4
|
+
ListBotResourceGenerationsCommandOutput,
|
|
5
|
+
} from "../commands/ListBotResourceGenerationsCommand";
|
|
6
|
+
import { LexModelsV2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListBotResourceGenerations(
|
|
8
|
+
config: LexModelsV2PaginationConfiguration,
|
|
9
|
+
input: ListBotResourceGenerationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListBotResourceGenerationsCommandOutput>;
|
|
@@ -3,6 +3,7 @@ export * from "./ListAggregatedUtterancesPaginator";
|
|
|
3
3
|
export * from "./ListBotAliasesPaginator";
|
|
4
4
|
export * from "./ListBotLocalesPaginator";
|
|
5
5
|
export * from "./ListBotRecommendationsPaginator";
|
|
6
|
+
export * from "./ListBotResourceGenerationsPaginator";
|
|
6
7
|
export * from "./ListBotVersionsPaginator";
|
|
7
8
|
export * from "./ListBotsPaginator";
|
|
8
9
|
export * from "./ListBuiltInIntentsPaginator";
|
|
@@ -139,6 +139,10 @@ import {
|
|
|
139
139
|
DescribeBotRecommendationCommandInput,
|
|
140
140
|
DescribeBotRecommendationCommandOutput,
|
|
141
141
|
} from "../commands/DescribeBotRecommendationCommand";
|
|
142
|
+
import {
|
|
143
|
+
DescribeBotResourceGenerationCommandInput,
|
|
144
|
+
DescribeBotResourceGenerationCommandOutput,
|
|
145
|
+
} from "../commands/DescribeBotResourceGenerationCommand";
|
|
142
146
|
import {
|
|
143
147
|
DescribeBotVersionCommandInput,
|
|
144
148
|
DescribeBotVersionCommandOutput,
|
|
@@ -187,6 +191,10 @@ import {
|
|
|
187
191
|
DescribeTestSetGenerationCommandInput,
|
|
188
192
|
DescribeTestSetGenerationCommandOutput,
|
|
189
193
|
} from "../commands/DescribeTestSetGenerationCommand";
|
|
194
|
+
import {
|
|
195
|
+
GenerateBotElementCommandInput,
|
|
196
|
+
GenerateBotElementCommandOutput,
|
|
197
|
+
} from "../commands/GenerateBotElementCommand";
|
|
190
198
|
import {
|
|
191
199
|
GetTestExecutionArtifactsUrlCommandInput,
|
|
192
200
|
GetTestExecutionArtifactsUrlCommandOutput,
|
|
@@ -207,6 +215,10 @@ import {
|
|
|
207
215
|
ListBotRecommendationsCommandInput,
|
|
208
216
|
ListBotRecommendationsCommandOutput,
|
|
209
217
|
} from "../commands/ListBotRecommendationsCommand";
|
|
218
|
+
import {
|
|
219
|
+
ListBotResourceGenerationsCommandInput,
|
|
220
|
+
ListBotResourceGenerationsCommandOutput,
|
|
221
|
+
} from "../commands/ListBotResourceGenerationsCommand";
|
|
210
222
|
import {
|
|
211
223
|
ListBotsCommandInput,
|
|
212
224
|
ListBotsCommandOutput,
|
|
@@ -307,6 +319,10 @@ import {
|
|
|
307
319
|
StartBotRecommendationCommandInput,
|
|
308
320
|
StartBotRecommendationCommandOutput,
|
|
309
321
|
} from "../commands/StartBotRecommendationCommand";
|
|
322
|
+
import {
|
|
323
|
+
StartBotResourceGenerationCommandInput,
|
|
324
|
+
StartBotResourceGenerationCommandOutput,
|
|
325
|
+
} from "../commands/StartBotResourceGenerationCommand";
|
|
310
326
|
import {
|
|
311
327
|
StartImportCommandInput,
|
|
312
328
|
StartImportCommandOutput,
|
|
@@ -507,6 +523,10 @@ export declare const se_DescribeBotRecommendationCommand: (
|
|
|
507
523
|
input: DescribeBotRecommendationCommandInput,
|
|
508
524
|
context: __SerdeContext
|
|
509
525
|
) => Promise<__HttpRequest>;
|
|
526
|
+
export declare const se_DescribeBotResourceGenerationCommand: (
|
|
527
|
+
input: DescribeBotResourceGenerationCommandInput,
|
|
528
|
+
context: __SerdeContext
|
|
529
|
+
) => Promise<__HttpRequest>;
|
|
510
530
|
export declare const se_DescribeBotVersionCommand: (
|
|
511
531
|
input: DescribeBotVersionCommandInput,
|
|
512
532
|
context: __SerdeContext
|
|
@@ -555,6 +575,10 @@ export declare const se_DescribeTestSetGenerationCommand: (
|
|
|
555
575
|
input: DescribeTestSetGenerationCommandInput,
|
|
556
576
|
context: __SerdeContext
|
|
557
577
|
) => Promise<__HttpRequest>;
|
|
578
|
+
export declare const se_GenerateBotElementCommand: (
|
|
579
|
+
input: GenerateBotElementCommandInput,
|
|
580
|
+
context: __SerdeContext
|
|
581
|
+
) => Promise<__HttpRequest>;
|
|
558
582
|
export declare const se_GetTestExecutionArtifactsUrlCommand: (
|
|
559
583
|
input: GetTestExecutionArtifactsUrlCommandInput,
|
|
560
584
|
context: __SerdeContext
|
|
@@ -575,6 +599,10 @@ export declare const se_ListBotRecommendationsCommand: (
|
|
|
575
599
|
input: ListBotRecommendationsCommandInput,
|
|
576
600
|
context: __SerdeContext
|
|
577
601
|
) => Promise<__HttpRequest>;
|
|
602
|
+
export declare const se_ListBotResourceGenerationsCommand: (
|
|
603
|
+
input: ListBotResourceGenerationsCommandInput,
|
|
604
|
+
context: __SerdeContext
|
|
605
|
+
) => Promise<__HttpRequest>;
|
|
578
606
|
export declare const se_ListBotsCommand: (
|
|
579
607
|
input: ListBotsCommandInput,
|
|
580
608
|
context: __SerdeContext
|
|
@@ -675,6 +703,10 @@ export declare const se_StartBotRecommendationCommand: (
|
|
|
675
703
|
input: StartBotRecommendationCommandInput,
|
|
676
704
|
context: __SerdeContext
|
|
677
705
|
) => Promise<__HttpRequest>;
|
|
706
|
+
export declare const se_StartBotResourceGenerationCommand: (
|
|
707
|
+
input: StartBotResourceGenerationCommandInput,
|
|
708
|
+
context: __SerdeContext
|
|
709
|
+
) => Promise<__HttpRequest>;
|
|
678
710
|
export declare const se_StartImportCommand: (
|
|
679
711
|
input: StartImportCommandInput,
|
|
680
712
|
context: __SerdeContext
|
|
@@ -875,6 +907,10 @@ export declare const de_DescribeBotRecommendationCommand: (
|
|
|
875
907
|
output: __HttpResponse,
|
|
876
908
|
context: __SerdeContext
|
|
877
909
|
) => Promise<DescribeBotRecommendationCommandOutput>;
|
|
910
|
+
export declare const de_DescribeBotResourceGenerationCommand: (
|
|
911
|
+
output: __HttpResponse,
|
|
912
|
+
context: __SerdeContext
|
|
913
|
+
) => Promise<DescribeBotResourceGenerationCommandOutput>;
|
|
878
914
|
export declare const de_DescribeBotVersionCommand: (
|
|
879
915
|
output: __HttpResponse,
|
|
880
916
|
context: __SerdeContext
|
|
@@ -923,6 +959,10 @@ export declare const de_DescribeTestSetGenerationCommand: (
|
|
|
923
959
|
output: __HttpResponse,
|
|
924
960
|
context: __SerdeContext
|
|
925
961
|
) => Promise<DescribeTestSetGenerationCommandOutput>;
|
|
962
|
+
export declare const de_GenerateBotElementCommand: (
|
|
963
|
+
output: __HttpResponse,
|
|
964
|
+
context: __SerdeContext
|
|
965
|
+
) => Promise<GenerateBotElementCommandOutput>;
|
|
926
966
|
export declare const de_GetTestExecutionArtifactsUrlCommand: (
|
|
927
967
|
output: __HttpResponse,
|
|
928
968
|
context: __SerdeContext
|
|
@@ -943,6 +983,10 @@ export declare const de_ListBotRecommendationsCommand: (
|
|
|
943
983
|
output: __HttpResponse,
|
|
944
984
|
context: __SerdeContext
|
|
945
985
|
) => Promise<ListBotRecommendationsCommandOutput>;
|
|
986
|
+
export declare const de_ListBotResourceGenerationsCommand: (
|
|
987
|
+
output: __HttpResponse,
|
|
988
|
+
context: __SerdeContext
|
|
989
|
+
) => Promise<ListBotResourceGenerationsCommandOutput>;
|
|
946
990
|
export declare const de_ListBotsCommand: (
|
|
947
991
|
output: __HttpResponse,
|
|
948
992
|
context: __SerdeContext
|
|
@@ -1043,6 +1087,10 @@ export declare const de_StartBotRecommendationCommand: (
|
|
|
1043
1087
|
output: __HttpResponse,
|
|
1044
1088
|
context: __SerdeContext
|
|
1045
1089
|
) => Promise<StartBotRecommendationCommandOutput>;
|
|
1090
|
+
export declare const de_StartBotResourceGenerationCommand: (
|
|
1091
|
+
output: __HttpResponse,
|
|
1092
|
+
context: __SerdeContext
|
|
1093
|
+
) => Promise<StartBotResourceGenerationCommandOutput>;
|
|
1046
1094
|
export declare const de_StartImportCommand: (
|
|
1047
1095
|
output: __HttpResponse,
|
|
1048
1096
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-lex-models-v2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Lex Models V2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.460.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,19 +21,19 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.460.0",
|
|
25
25
|
"@aws-sdk/core": "3.451.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-signing": "3.
|
|
31
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.460.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.460.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.460.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.460.0",
|
|
30
|
+
"@aws-sdk/middleware-signing": "3.460.0",
|
|
31
|
+
"@aws-sdk/middleware-user-agent": "3.460.0",
|
|
32
32
|
"@aws-sdk/region-config-resolver": "3.451.0",
|
|
33
|
-
"@aws-sdk/types": "3.
|
|
34
|
-
"@aws-sdk/util-endpoints": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
36
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/types": "3.460.0",
|
|
34
|
+
"@aws-sdk/util-endpoints": "3.460.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-browser": "3.460.0",
|
|
36
|
+
"@aws-sdk/util-user-agent-node": "3.460.0",
|
|
37
37
|
"@smithy/config-resolver": "^2.0.18",
|
|
38
38
|
"@smithy/fetch-http-handler": "^2.2.6",
|
|
39
39
|
"@smithy/hash-node": "^2.0.15",
|