@aws-sdk/client-lex-models-v2 3.454.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
|
@@ -1,4 +1,322 @@
|
|
|
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, BotAliasStatus, BotAliasSummary, BotAliasTestExecutionTarget, BotFilter, BotLocaleFilter, BotLocaleSortBy, BotLocaleStatus, BotLocaleSummary, BotMember, BotRecommendationStatus, BotRecommendationSummary, BotSortBy, BotStatus, BotSummary, BotType, BotVersionSortBy, BotVersionSummary, BuiltInIntentSortBy, BuiltInIntentSummary, BuiltInSlotTypeSortBy, BuiltInSlotTypeSummary, CompositeSlotTypeSetting, Condition, ConversationEndState, ConversationLevelResultDetail, ConversationLevelTestResults, ConversationLevelTestResultsFilterBy, ConversationLogsDataSource, ConversationLogSettings, CustomVocabularyItem, DataPrivacy, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting, EncryptionSetting, ExecutionErrorDetails, ExportResourceSpecification, ExportStatus, ExternalSourceSetting, FulfillmentUpdatesSpecification, ImageResponseCard, ImportExportFileFormat,
|
|
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, BotAliasStatus, BotAliasSummary, BotAliasTestExecutionTarget, BotFilter, BotImportSpecification, BotLocaleFilter, BotLocaleImportSpecification, BotLocaleSortBy, BotLocaleStatus, BotLocaleSummary, BotMember, BotRecommendationStatus, BotRecommendationSummary, BotSortBy, BotStatus, BotSummary, BotType, BotVersionSortBy, BotVersionSummary, BuiltInIntentSortBy, BuiltInIntentSummary, BuiltInSlotTypeSortBy, BuiltInSlotTypeSummary, CompositeSlotTypeSetting, Condition, ConversationEndState, ConversationLevelResultDetail, ConversationLevelTestResults, ConversationLevelTestResultsFilterBy, ConversationLogsDataSource, ConversationLogSettings, CustomVocabularyImportSpecification, CustomVocabularyItem, DataPrivacy, DialogAction, DialogCodeHookSettings, ElicitationCodeHookInvocationSetting, EncryptionSetting, ExecutionErrorDetails, ExportResourceSpecification, ExportStatus, ExternalSourceSetting, FulfillmentUpdatesSpecification, GenerationStatus, GenerativeAISettings, ImageResponseCard, ImportExportFileFormat, ImportStatus, InputContext, KendraConfiguration, MergeStrategy, MultipleValuesSetting, ObfuscationSetting, OutputContext, PromptSpecification, ResponseSpecification, SampleUtterance, SentimentAnalysisSettings, SlotConstraint, SlotDefaultValueSpecification, SlotResolutionSetting, SlotShape, SlotTypeValue, SlotValue, SlotValueSelectionSetting, SortOrder, SubSlotSetting, TestResultMatchStatus, TestSetDiscrepancyReportResourceTarget, TranscriptSourceSetting, VoiceSettings, WaitAndContinueSpecification } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
* <p>Contains information about the Amazon S3 location from which the test set is imported.</p>
|
|
5
|
+
*/
|
|
6
|
+
export interface TestSetImportInputLocation {
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
* <p>The name of the Amazon S3 bucket.</p>
|
|
10
|
+
*/
|
|
11
|
+
s3BucketName: string | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
* <p>The path inside the Amazon S3 bucket pointing to the test-set CSV file.</p>
|
|
15
|
+
*/
|
|
16
|
+
s3Path: string | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
* @enum
|
|
21
|
+
*/
|
|
22
|
+
export declare const TestSetModality: {
|
|
23
|
+
readonly Audio: "Audio";
|
|
24
|
+
readonly Text: "Text";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type TestSetModality = (typeof TestSetModality)[keyof typeof TestSetModality];
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
* <p>Contains information about the location in which the test set is stored.</p>
|
|
33
|
+
*/
|
|
34
|
+
export interface TestSetStorageLocation {
|
|
35
|
+
/**
|
|
36
|
+
* @public
|
|
37
|
+
* <p>The name of the Amazon S3 bucket in which the test set is stored.</p>
|
|
38
|
+
*/
|
|
39
|
+
s3BucketName: string | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* @public
|
|
42
|
+
* <p>The path inside the Amazon S3 bucket where the test set is stored.</p>
|
|
43
|
+
*/
|
|
44
|
+
s3Path: string | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
* <p>The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service
|
|
48
|
+
* (KMS) key for encrypting the test set.</p>
|
|
49
|
+
*/
|
|
50
|
+
kmsKeyArn?: string;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @public
|
|
54
|
+
* <p>Contains information about the test set that is imported.</p>
|
|
55
|
+
*/
|
|
56
|
+
export interface TestSetImportResourceSpecification {
|
|
57
|
+
/**
|
|
58
|
+
* @public
|
|
59
|
+
* <p>The name of the test set.</p>
|
|
60
|
+
*/
|
|
61
|
+
testSetName: string | undefined;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
* <p>The description of the test set.</p>
|
|
65
|
+
*/
|
|
66
|
+
description?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @public
|
|
69
|
+
* <p>The Amazon Resource Name (ARN) of an IAM role that has
|
|
70
|
+
* permission to access the test set.</p>
|
|
71
|
+
*/
|
|
72
|
+
roleArn: string | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* @public
|
|
75
|
+
* <p>Contains information about the location that Amazon Lex uses to store the test-set.</p>
|
|
76
|
+
*/
|
|
77
|
+
storageLocation: TestSetStorageLocation | undefined;
|
|
78
|
+
/**
|
|
79
|
+
* @public
|
|
80
|
+
* <p>Contains information about the input location from where test-set should be imported.</p>
|
|
81
|
+
*/
|
|
82
|
+
importInputLocation: TestSetImportInputLocation | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* @public
|
|
85
|
+
* <p>Specifies whether the test-set being imported contains written or spoken data.</p>
|
|
86
|
+
*/
|
|
87
|
+
modality: TestSetModality | undefined;
|
|
88
|
+
/**
|
|
89
|
+
* @public
|
|
90
|
+
* <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>
|
|
91
|
+
*/
|
|
92
|
+
testSetTags?: Record<string, string>;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* @public
|
|
96
|
+
* <p>Provides information about the bot or bot locale that you want to
|
|
97
|
+
* import. You can specify the <code>botImportSpecification</code> or the
|
|
98
|
+
* <code>botLocaleImportSpecification</code>, but not both.</p>
|
|
99
|
+
*/
|
|
100
|
+
export interface ImportResourceSpecification {
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
* <p>Parameters for importing a bot.</p>
|
|
104
|
+
*/
|
|
105
|
+
botImportSpecification?: BotImportSpecification;
|
|
106
|
+
/**
|
|
107
|
+
* @public
|
|
108
|
+
* <p>Parameters for importing a bot locale.</p>
|
|
109
|
+
*/
|
|
110
|
+
botLocaleImportSpecification?: BotLocaleImportSpecification;
|
|
111
|
+
/**
|
|
112
|
+
* @public
|
|
113
|
+
* <p>Provides the parameters required for importing a custom vocabulary.</p>
|
|
114
|
+
*/
|
|
115
|
+
customVocabularyImportSpecification?: CustomVocabularyImportSpecification;
|
|
116
|
+
/**
|
|
117
|
+
* @public
|
|
118
|
+
* <p>Specifications for the test set that is imported.</p>
|
|
119
|
+
*/
|
|
120
|
+
testSetImportResourceSpecification?: TestSetImportResourceSpecification;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
*/
|
|
125
|
+
export interface DescribeImportResponse {
|
|
126
|
+
/**
|
|
127
|
+
* @public
|
|
128
|
+
* <p>The unique identifier of the described import.</p>
|
|
129
|
+
*/
|
|
130
|
+
importId?: string;
|
|
131
|
+
/**
|
|
132
|
+
* @public
|
|
133
|
+
* <p>The specifications of the imported bot, bot locale, or custom
|
|
134
|
+
* vocabulary.</p>
|
|
135
|
+
*/
|
|
136
|
+
resourceSpecification?: ImportResourceSpecification;
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
* <p>The unique identifier that Amazon Lex assigned to the resource created by
|
|
140
|
+
* the import.</p>
|
|
141
|
+
*/
|
|
142
|
+
importedResourceId?: string;
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
* <p>The name of the imported resource.</p>
|
|
146
|
+
*/
|
|
147
|
+
importedResourceName?: string;
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
* <p>The strategy used when there was a name conflict between the
|
|
151
|
+
* imported resource and an existing resource. When the merge strategy is
|
|
152
|
+
* <code>FailOnConflict</code> existing resources are not overwritten
|
|
153
|
+
* and the import fails.</p>
|
|
154
|
+
*/
|
|
155
|
+
mergeStrategy?: MergeStrategy;
|
|
156
|
+
/**
|
|
157
|
+
* @public
|
|
158
|
+
* <p>The status of the import process. When the status is
|
|
159
|
+
* <code>Completed</code> the resource is imported and ready for
|
|
160
|
+
* use.</p>
|
|
161
|
+
*/
|
|
162
|
+
importStatus?: ImportStatus;
|
|
163
|
+
/**
|
|
164
|
+
* @public
|
|
165
|
+
* <p>If the <code>importStatus</code> field is <code>Failed</code>, this
|
|
166
|
+
* provides one or more reasons for the failure.</p>
|
|
167
|
+
*/
|
|
168
|
+
failureReasons?: string[];
|
|
169
|
+
/**
|
|
170
|
+
* @public
|
|
171
|
+
* <p>The date and time that the import was created.</p>
|
|
172
|
+
*/
|
|
173
|
+
creationDateTime?: Date;
|
|
174
|
+
/**
|
|
175
|
+
* @public
|
|
176
|
+
* <p>The date and time that the import was last updated.</p>
|
|
177
|
+
*/
|
|
178
|
+
lastUpdatedDateTime?: Date;
|
|
179
|
+
}
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export interface DescribeIntentRequest {
|
|
184
|
+
/**
|
|
185
|
+
* @public
|
|
186
|
+
* <p>The identifier of the intent to describe.</p>
|
|
187
|
+
*/
|
|
188
|
+
intentId: string | undefined;
|
|
189
|
+
/**
|
|
190
|
+
* @public
|
|
191
|
+
* <p>The identifier of the bot associated with the intent.</p>
|
|
192
|
+
*/
|
|
193
|
+
botId: string | undefined;
|
|
194
|
+
/**
|
|
195
|
+
* @public
|
|
196
|
+
* <p>The version of the bot associated with the intent.</p>
|
|
197
|
+
*/
|
|
198
|
+
botVersion: string | undefined;
|
|
199
|
+
/**
|
|
200
|
+
* @public
|
|
201
|
+
* <p>The identifier of the language and locale of the intent to describe.
|
|
202
|
+
* The string must match one of the supported locales. For more
|
|
203
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
204
|
+
*/
|
|
205
|
+
localeId: string | undefined;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* @public
|
|
209
|
+
* <p>Sets the priority that Amazon Lex should use when eliciting slot values
|
|
210
|
+
* from a user.</p>
|
|
211
|
+
*/
|
|
212
|
+
export interface SlotPriority {
|
|
213
|
+
/**
|
|
214
|
+
* @public
|
|
215
|
+
* <p>The priority that Amazon Lex should apply to the slot.</p>
|
|
216
|
+
*/
|
|
217
|
+
priority: number | undefined;
|
|
218
|
+
/**
|
|
219
|
+
* @public
|
|
220
|
+
* <p>The unique identifier of the slot.</p>
|
|
221
|
+
*/
|
|
222
|
+
slotId: string | undefined;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* @public
|
|
226
|
+
*/
|
|
227
|
+
export interface DescribeResourcePolicyRequest {
|
|
228
|
+
/**
|
|
229
|
+
* @public
|
|
230
|
+
* <p>The Amazon Resource Name (ARN) of the bot or bot alias that the
|
|
231
|
+
* resource policy is attached to.</p>
|
|
232
|
+
*/
|
|
233
|
+
resourceArn: string | undefined;
|
|
234
|
+
}
|
|
235
|
+
/**
|
|
236
|
+
* @public
|
|
237
|
+
*/
|
|
238
|
+
export interface DescribeResourcePolicyResponse {
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
* <p>The Amazon Resource Name (ARN) of the bot or bot alias that the
|
|
242
|
+
* resource policy is attached to.</p>
|
|
243
|
+
*/
|
|
244
|
+
resourceArn?: string;
|
|
245
|
+
/**
|
|
246
|
+
* @public
|
|
247
|
+
* <p>The JSON structure that contains the resource policy. For more
|
|
248
|
+
* 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
|
|
249
|
+
* reference </a>.</p>
|
|
250
|
+
*/
|
|
251
|
+
policy?: string;
|
|
252
|
+
/**
|
|
253
|
+
* @public
|
|
254
|
+
* <p>The current revision of the resource policy. Use the revision ID to
|
|
255
|
+
* make sure that you are updating the most current version of a resource
|
|
256
|
+
* policy when you add a policy statement to a resource, delete a
|
|
257
|
+
* resource, or update a resource.</p>
|
|
258
|
+
*/
|
|
259
|
+
revisionId?: string;
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* @public
|
|
263
|
+
*/
|
|
264
|
+
export interface DescribeSlotRequest {
|
|
265
|
+
/**
|
|
266
|
+
* @public
|
|
267
|
+
* <p>The unique identifier for the slot.</p>
|
|
268
|
+
*/
|
|
269
|
+
slotId: string | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* @public
|
|
272
|
+
* <p>The identifier of the bot associated with the slot.</p>
|
|
273
|
+
*/
|
|
274
|
+
botId: string | undefined;
|
|
275
|
+
/**
|
|
276
|
+
* @public
|
|
277
|
+
* <p>The version of the bot associated with the slot.</p>
|
|
278
|
+
*/
|
|
279
|
+
botVersion: string | undefined;
|
|
280
|
+
/**
|
|
281
|
+
* @public
|
|
282
|
+
* <p>The identifier of the language and locale of the slot to describe.
|
|
283
|
+
* The string must match one of the supported locales. For more
|
|
284
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
285
|
+
*/
|
|
286
|
+
localeId: string | undefined;
|
|
287
|
+
/**
|
|
288
|
+
* @public
|
|
289
|
+
* <p>The identifier of the intent that contains the slot.</p>
|
|
290
|
+
*/
|
|
291
|
+
intentId: string | undefined;
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
export interface DescribeSlotTypeRequest {
|
|
297
|
+
/**
|
|
298
|
+
* @public
|
|
299
|
+
* <p>The identifier of the slot type.</p>
|
|
300
|
+
*/
|
|
301
|
+
slotTypeId: string | undefined;
|
|
302
|
+
/**
|
|
303
|
+
* @public
|
|
304
|
+
* <p>The identifier of the bot associated with the slot type.</p>
|
|
305
|
+
*/
|
|
306
|
+
botId: string | undefined;
|
|
307
|
+
/**
|
|
308
|
+
* @public
|
|
309
|
+
* <p>The version of the bot associated with the slot type.</p>
|
|
310
|
+
*/
|
|
311
|
+
botVersion: string | undefined;
|
|
312
|
+
/**
|
|
313
|
+
* @public
|
|
314
|
+
* <p>The identifier of the language and locale of the slot type to
|
|
315
|
+
* describe. The string must match one of the supported locales. For more
|
|
316
|
+
* information, see <a href="https://docs.aws.amazon.com/lexv2/latest/dg/how-languages.html">Supported languages</a>.</p>
|
|
317
|
+
*/
|
|
318
|
+
localeId: string | undefined;
|
|
319
|
+
}
|
|
2
320
|
/**
|
|
3
321
|
* @public
|
|
4
322
|
*/
|
|
@@ -611,6 +929,125 @@ export interface ExportSummary {
|
|
|
611
929
|
*/
|
|
612
930
|
lastUpdatedDateTime?: Date;
|
|
613
931
|
}
|
|
932
|
+
/**
|
|
933
|
+
* @public
|
|
934
|
+
*/
|
|
935
|
+
export interface GenerateBotElementRequest {
|
|
936
|
+
/**
|
|
937
|
+
* @public
|
|
938
|
+
* <p>The intent unique Id for the bot request to generate utterances.</p>
|
|
939
|
+
*/
|
|
940
|
+
intentId: string | undefined;
|
|
941
|
+
/**
|
|
942
|
+
* @public
|
|
943
|
+
* <p>The bot unique Id for the bot request to generate utterances.</p>
|
|
944
|
+
*/
|
|
945
|
+
botId: string | undefined;
|
|
946
|
+
/**
|
|
947
|
+
* @public
|
|
948
|
+
* <p>The bot version for the bot request to generate utterances.</p>
|
|
949
|
+
*/
|
|
950
|
+
botVersion: string | undefined;
|
|
951
|
+
/**
|
|
952
|
+
* @public
|
|
953
|
+
* <p>The unique locale Id for the bot request to generate utterances.</p>
|
|
954
|
+
*/
|
|
955
|
+
localeId: string | undefined;
|
|
956
|
+
}
|
|
957
|
+
/**
|
|
958
|
+
* @public
|
|
959
|
+
*/
|
|
960
|
+
export interface GenerateBotElementResponse {
|
|
961
|
+
/**
|
|
962
|
+
* @public
|
|
963
|
+
* <p>The unique bot Id for the bot which received the response.</p>
|
|
964
|
+
*/
|
|
965
|
+
botId?: string;
|
|
966
|
+
/**
|
|
967
|
+
* @public
|
|
968
|
+
* <p>The unique bot version for the bot which received the response.</p>
|
|
969
|
+
*/
|
|
970
|
+
botVersion?: string;
|
|
971
|
+
/**
|
|
972
|
+
* @public
|
|
973
|
+
* <p>The unique locale Id for the bot which received the response.</p>
|
|
974
|
+
*/
|
|
975
|
+
localeId?: string;
|
|
976
|
+
/**
|
|
977
|
+
* @public
|
|
978
|
+
* <p>The unique intent Id for the bot which received the response.</p>
|
|
979
|
+
*/
|
|
980
|
+
intentId?: string;
|
|
981
|
+
/**
|
|
982
|
+
* @public
|
|
983
|
+
* <p>The sample utterances for the bot which received the response.</p>
|
|
984
|
+
*/
|
|
985
|
+
sampleUtterances?: SampleUtterance[];
|
|
986
|
+
}
|
|
987
|
+
/**
|
|
988
|
+
* @public
|
|
989
|
+
* @enum
|
|
990
|
+
*/
|
|
991
|
+
export declare const GenerationSortByAttribute: {
|
|
992
|
+
readonly creationStartTime: "creationStartTime";
|
|
993
|
+
readonly lastUpdatedTime: "lastUpdatedTime";
|
|
994
|
+
};
|
|
995
|
+
/**
|
|
996
|
+
* @public
|
|
997
|
+
*/
|
|
998
|
+
export type GenerationSortByAttribute = (typeof GenerationSortByAttribute)[keyof typeof GenerationSortByAttribute];
|
|
999
|
+
/**
|
|
1000
|
+
* @public
|
|
1001
|
+
* <p>Specifies the attribute and method by which to sort the generation request information.</p>
|
|
1002
|
+
*/
|
|
1003
|
+
export interface GenerationSortBy {
|
|
1004
|
+
/**
|
|
1005
|
+
* @public
|
|
1006
|
+
* <p>The attribute by which to sort the generation request information. You can sort by the following attributes.</p>
|
|
1007
|
+
* <ul>
|
|
1008
|
+
* <li>
|
|
1009
|
+
* <p>
|
|
1010
|
+
* <code>creationStartTime</code> – The time at which the generation request was created.</p>
|
|
1011
|
+
* </li>
|
|
1012
|
+
* <li>
|
|
1013
|
+
* <p>
|
|
1014
|
+
* <code>lastUpdatedTime</code> – The time at which the generation request was last updated.</p>
|
|
1015
|
+
* </li>
|
|
1016
|
+
* </ul>
|
|
1017
|
+
*/
|
|
1018
|
+
attribute: GenerationSortByAttribute | undefined;
|
|
1019
|
+
/**
|
|
1020
|
+
* @public
|
|
1021
|
+
* <p>The order by which to sort the generation request information.</p>
|
|
1022
|
+
*/
|
|
1023
|
+
order: SortOrder | undefined;
|
|
1024
|
+
}
|
|
1025
|
+
/**
|
|
1026
|
+
* @public
|
|
1027
|
+
* <p>Contains information about a generation request made for the bot locale.</p>
|
|
1028
|
+
*/
|
|
1029
|
+
export interface GenerationSummary {
|
|
1030
|
+
/**
|
|
1031
|
+
* @public
|
|
1032
|
+
* <p>The unique identifier of the generation request.</p>
|
|
1033
|
+
*/
|
|
1034
|
+
generationId?: string;
|
|
1035
|
+
/**
|
|
1036
|
+
* @public
|
|
1037
|
+
* <p>The status of the generation request.</p>
|
|
1038
|
+
*/
|
|
1039
|
+
generationStatus?: GenerationStatus;
|
|
1040
|
+
/**
|
|
1041
|
+
* @public
|
|
1042
|
+
* <p>The date and time at which the generation request was made.</p>
|
|
1043
|
+
*/
|
|
1044
|
+
creationDateTime?: Date;
|
|
1045
|
+
/**
|
|
1046
|
+
* @public
|
|
1047
|
+
* <p>The date and time at which the generation request was last updated.</p>
|
|
1048
|
+
*/
|
|
1049
|
+
lastUpdatedDateTime?: Date;
|
|
1050
|
+
}
|
|
614
1051
|
/**
|
|
615
1052
|
* @public
|
|
616
1053
|
*/
|
|
@@ -1517,6 +1954,81 @@ export interface ListBotRecommendationsResponse {
|
|
|
1517
1954
|
*/
|
|
1518
1955
|
nextToken?: string;
|
|
1519
1956
|
}
|
|
1957
|
+
/**
|
|
1958
|
+
* @public
|
|
1959
|
+
*/
|
|
1960
|
+
export interface ListBotResourceGenerationsRequest {
|
|
1961
|
+
/**
|
|
1962
|
+
* @public
|
|
1963
|
+
* <p>The unique identifier of the bot whose generation
|
|
1964
|
+
* requests you want to view.</p>
|
|
1965
|
+
*/
|
|
1966
|
+
botId: string | undefined;
|
|
1967
|
+
/**
|
|
1968
|
+
* @public
|
|
1969
|
+
* <p>The version of the bot whose generation
|
|
1970
|
+
* requests you want to view.</p>
|
|
1971
|
+
*/
|
|
1972
|
+
botVersion: string | undefined;
|
|
1973
|
+
/**
|
|
1974
|
+
* @public
|
|
1975
|
+
* <p>The locale of the bot whose generation
|
|
1976
|
+
* requests you want to view.</p>
|
|
1977
|
+
*/
|
|
1978
|
+
localeId: string | undefined;
|
|
1979
|
+
/**
|
|
1980
|
+
* @public
|
|
1981
|
+
* <p>An object containing information about the attribute and the
|
|
1982
|
+
* method by which to sort the results</p>
|
|
1983
|
+
*/
|
|
1984
|
+
sortBy?: GenerationSortBy;
|
|
1985
|
+
/**
|
|
1986
|
+
* @public
|
|
1987
|
+
* <p>The maximum number of results to return in the response.</p>
|
|
1988
|
+
*/
|
|
1989
|
+
maxResults?: number;
|
|
1990
|
+
/**
|
|
1991
|
+
* @public
|
|
1992
|
+
* <p>If the total number of results is greater than the number
|
|
1993
|
+
* specified in the <code>maxResults</code>, the response returns a token
|
|
1994
|
+
* in the <code>nextToken</code> field. Use this token when making a request to
|
|
1995
|
+
* return the next batch of results.</p>
|
|
1996
|
+
*/
|
|
1997
|
+
nextToken?: string;
|
|
1998
|
+
}
|
|
1999
|
+
/**
|
|
2000
|
+
* @public
|
|
2001
|
+
*/
|
|
2002
|
+
export interface ListBotResourceGenerationsResponse {
|
|
2003
|
+
/**
|
|
2004
|
+
* @public
|
|
2005
|
+
* <p>The unique identifier of the bot for which the generation requests were made.</p>
|
|
2006
|
+
*/
|
|
2007
|
+
botId?: string;
|
|
2008
|
+
/**
|
|
2009
|
+
* @public
|
|
2010
|
+
* <p>The version of the bot for which the generation requests were made.</p>
|
|
2011
|
+
*/
|
|
2012
|
+
botVersion?: string;
|
|
2013
|
+
/**
|
|
2014
|
+
* @public
|
|
2015
|
+
* <p>The locale of the bot for which the generation requests were made.</p>
|
|
2016
|
+
*/
|
|
2017
|
+
localeId?: string;
|
|
2018
|
+
/**
|
|
2019
|
+
* @public
|
|
2020
|
+
* <p>A list of objects, each containing information about a generation request for the bot locale.</p>
|
|
2021
|
+
*/
|
|
2022
|
+
generationSummaries?: GenerationSummary[];
|
|
2023
|
+
/**
|
|
2024
|
+
* @public
|
|
2025
|
+
* <p>If the total number of results is greater than the number
|
|
2026
|
+
* specified in the <code>maxResults</code>, the response returns a token
|
|
2027
|
+
* in the <code>nextToken</code> field. Use this token when making a request to
|
|
2028
|
+
* return the next batch of results.</p>
|
|
2029
|
+
*/
|
|
2030
|
+
nextToken?: string;
|
|
2031
|
+
}
|
|
1520
2032
|
/**
|
|
1521
2033
|
* @public
|
|
1522
2034
|
*/
|
|
@@ -4253,6 +4765,71 @@ export interface StartBotRecommendationResponse {
|
|
|
4253
4765
|
*/
|
|
4254
4766
|
encryptionSetting?: EncryptionSetting;
|
|
4255
4767
|
}
|
|
4768
|
+
/**
|
|
4769
|
+
* @public
|
|
4770
|
+
*/
|
|
4771
|
+
export interface StartBotResourceGenerationRequest {
|
|
4772
|
+
/**
|
|
4773
|
+
* @public
|
|
4774
|
+
* <p>The prompt to generate intents and slot types for the bot locale. Your description should be both <i>detailed</i> and <i>precise</i> to help generate appropriate and sufficient intents for your bot. Include a list of actions to improve the intent creation process.</p>
|
|
4775
|
+
*/
|
|
4776
|
+
generationInputPrompt: string | undefined;
|
|
4777
|
+
/**
|
|
4778
|
+
* @public
|
|
4779
|
+
* <p>The unique identifier of the bot for which to generate intents and slot types.</p>
|
|
4780
|
+
*/
|
|
4781
|
+
botId: string | undefined;
|
|
4782
|
+
/**
|
|
4783
|
+
* @public
|
|
4784
|
+
* <p>The version of the bot for which to generate intents and slot types.</p>
|
|
4785
|
+
*/
|
|
4786
|
+
botVersion: string | undefined;
|
|
4787
|
+
/**
|
|
4788
|
+
* @public
|
|
4789
|
+
* <p>The locale of the bot for which to generate intents and slot types.</p>
|
|
4790
|
+
*/
|
|
4791
|
+
localeId: string | undefined;
|
|
4792
|
+
}
|
|
4793
|
+
/**
|
|
4794
|
+
* @public
|
|
4795
|
+
*/
|
|
4796
|
+
export interface StartBotResourceGenerationResponse {
|
|
4797
|
+
/**
|
|
4798
|
+
* @public
|
|
4799
|
+
* <p>The prompt that was used generate intents and slot types for the bot locale.</p>
|
|
4800
|
+
*/
|
|
4801
|
+
generationInputPrompt?: string;
|
|
4802
|
+
/**
|
|
4803
|
+
* @public
|
|
4804
|
+
* <p>The unique identifier of the generation request.</p>
|
|
4805
|
+
*/
|
|
4806
|
+
generationId?: string;
|
|
4807
|
+
/**
|
|
4808
|
+
* @public
|
|
4809
|
+
* <p>The unique identifier of the bot for which the generation request was made.</p>
|
|
4810
|
+
*/
|
|
4811
|
+
botId?: string;
|
|
4812
|
+
/**
|
|
4813
|
+
* @public
|
|
4814
|
+
* <p>The version of the bot for which the generation request was made.</p>
|
|
4815
|
+
*/
|
|
4816
|
+
botVersion?: string;
|
|
4817
|
+
/**
|
|
4818
|
+
* @public
|
|
4819
|
+
* <p>The locale of the bot for which the generation request was made.</p>
|
|
4820
|
+
*/
|
|
4821
|
+
localeId?: string;
|
|
4822
|
+
/**
|
|
4823
|
+
* @public
|
|
4824
|
+
* <p>The status of the generation request.</p>
|
|
4825
|
+
*/
|
|
4826
|
+
generationStatus?: GenerationStatus;
|
|
4827
|
+
/**
|
|
4828
|
+
* @public
|
|
4829
|
+
* <p>The date and time at which the generation request was made.</p>
|
|
4830
|
+
*/
|
|
4831
|
+
creationDateTime?: Date;
|
|
4832
|
+
}
|
|
4256
4833
|
/**
|
|
4257
4834
|
* @public
|
|
4258
4835
|
*/
|
|
@@ -4858,6 +5435,12 @@ export interface UpdateBotLocaleRequest {
|
|
|
4858
5435
|
* user.</p>
|
|
4859
5436
|
*/
|
|
4860
5437
|
voiceSettings?: VoiceSettings;
|
|
5438
|
+
/**
|
|
5439
|
+
* @public
|
|
5440
|
+
* <p>Contains settings for generative AI features powered by Amazon Bedrock for your bot locale. Use this object to turn generative AI features on and off. Pricing
|
|
5441
|
+
* may differ if you turn a feature on. For more information, see LINK.</p>
|
|
5442
|
+
*/
|
|
5443
|
+
generativeAISettings?: GenerativeAISettings;
|
|
4861
5444
|
}
|
|
4862
5445
|
/**
|
|
4863
5446
|
* @public
|
|
@@ -4932,6 +5515,11 @@ export interface UpdateBotLocaleResponse {
|
|
|
4932
5515
|
* <code>failureReasons</code> field.</p>
|
|
4933
5516
|
*/
|
|
4934
5517
|
recommendedActions?: string[];
|
|
5518
|
+
/**
|
|
5519
|
+
* @public
|
|
5520
|
+
* <p>Contains settings for generative AI features powered by Amazon Bedrock for your bot locale.</p>
|
|
5521
|
+
*/
|
|
5522
|
+
generativeAISettings?: GenerativeAISettings;
|
|
4935
5523
|
}
|
|
4936
5524
|
/**
|
|
4937
5525
|
* @public
|
|
@@ -6240,6 +6828,11 @@ export interface SlotValueElicitationSetting {
|
|
|
6240
6828
|
* value is successfully entered by a user.</p>
|
|
6241
6829
|
*/
|
|
6242
6830
|
slotCaptureSetting?: SlotCaptureSetting;
|
|
6831
|
+
/**
|
|
6832
|
+
* @public
|
|
6833
|
+
* <p>An object containing information about whether assisted slot resolution is turned on for the slot or not.</p>
|
|
6834
|
+
*/
|
|
6835
|
+
slotResolutionSetting?: SlotResolutionSetting;
|
|
6243
6836
|
}
|
|
6244
6837
|
/**
|
|
6245
6838
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListBotResourceGenerationsCommandInput, ListBotResourceGenerationsCommandOutput } from "../commands/ListBotResourceGenerationsCommand";
|
|
3
|
+
import { LexModelsV2PaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare function paginateListBotResourceGenerations(config: LexModelsV2PaginationConfiguration, input: ListBotResourceGenerationsCommandInput, ...additionalArguments: any): 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";
|