@aws-sdk/client-lex-models-v2 3.296.0 → 3.297.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-types/LexModelsV2.d.ts +72 -0
- package/dist-types/LexModelsV2Client.d.ts +24 -4
- package/dist-types/commands/BatchCreateCustomVocabularyItemCommand.d.ts +16 -0
- package/dist-types/commands/BatchDeleteCustomVocabularyItemCommand.d.ts +16 -0
- package/dist-types/commands/BatchUpdateCustomVocabularyItemCommand.d.ts +16 -0
- package/dist-types/commands/BuildBotLocaleCommand.d.ts +16 -0
- package/dist-types/commands/CreateBotAliasCommand.d.ts +16 -0
- package/dist-types/commands/CreateBotCommand.d.ts +16 -0
- package/dist-types/commands/CreateBotLocaleCommand.d.ts +16 -0
- package/dist-types/commands/CreateBotVersionCommand.d.ts +16 -0
- package/dist-types/commands/CreateExportCommand.d.ts +16 -0
- package/dist-types/commands/CreateIntentCommand.d.ts +16 -0
- package/dist-types/commands/CreateResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/CreateResourcePolicyStatementCommand.d.ts +16 -0
- package/dist-types/commands/CreateSlotCommand.d.ts +16 -0
- package/dist-types/commands/CreateSlotTypeCommand.d.ts +16 -0
- package/dist-types/commands/CreateUploadUrlCommand.d.ts +16 -0
- package/dist-types/commands/DeleteBotAliasCommand.d.ts +16 -0
- package/dist-types/commands/DeleteBotCommand.d.ts +16 -0
- package/dist-types/commands/DeleteBotLocaleCommand.d.ts +16 -0
- package/dist-types/commands/DeleteBotVersionCommand.d.ts +16 -0
- package/dist-types/commands/DeleteCustomVocabularyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteExportCommand.d.ts +16 -0
- package/dist-types/commands/DeleteImportCommand.d.ts +16 -0
- package/dist-types/commands/DeleteIntentCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DeleteResourcePolicyStatementCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSlotCommand.d.ts +16 -0
- package/dist-types/commands/DeleteSlotTypeCommand.d.ts +16 -0
- package/dist-types/commands/DeleteUtterancesCommand.d.ts +16 -0
- package/dist-types/commands/DescribeBotAliasCommand.d.ts +16 -0
- package/dist-types/commands/DescribeBotCommand.d.ts +16 -0
- package/dist-types/commands/DescribeBotLocaleCommand.d.ts +16 -0
- package/dist-types/commands/DescribeBotRecommendationCommand.d.ts +16 -0
- package/dist-types/commands/DescribeBotVersionCommand.d.ts +16 -0
- package/dist-types/commands/DescribeCustomVocabularyMetadataCommand.d.ts +16 -0
- package/dist-types/commands/DescribeExportCommand.d.ts +16 -0
- package/dist-types/commands/DescribeImportCommand.d.ts +16 -0
- package/dist-types/commands/DescribeIntentCommand.d.ts +16 -0
- package/dist-types/commands/DescribeResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSlotCommand.d.ts +16 -0
- package/dist-types/commands/DescribeSlotTypeCommand.d.ts +16 -0
- package/dist-types/commands/ListAggregatedUtterancesCommand.d.ts +16 -0
- package/dist-types/commands/ListBotAliasesCommand.d.ts +16 -0
- package/dist-types/commands/ListBotLocalesCommand.d.ts +16 -0
- package/dist-types/commands/ListBotRecommendationsCommand.d.ts +16 -0
- package/dist-types/commands/ListBotVersionsCommand.d.ts +16 -0
- package/dist-types/commands/ListBotsCommand.d.ts +16 -0
- package/dist-types/commands/ListBuiltInIntentsCommand.d.ts +16 -0
- package/dist-types/commands/ListBuiltInSlotTypesCommand.d.ts +16 -0
- package/dist-types/commands/ListCustomVocabularyItemsCommand.d.ts +16 -0
- package/dist-types/commands/ListExportsCommand.d.ts +16 -0
- package/dist-types/commands/ListImportsCommand.d.ts +16 -0
- package/dist-types/commands/ListIntentsCommand.d.ts +16 -0
- package/dist-types/commands/ListRecommendedIntentsCommand.d.ts +16 -0
- package/dist-types/commands/ListSlotTypesCommand.d.ts +16 -0
- package/dist-types/commands/ListSlotsCommand.d.ts +16 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +16 -0
- package/dist-types/commands/SearchAssociatedTranscriptsCommand.d.ts +16 -0
- package/dist-types/commands/StartBotRecommendationCommand.d.ts +16 -0
- package/dist-types/commands/StartImportCommand.d.ts +16 -0
- package/dist-types/commands/StopBotRecommendationCommand.d.ts +16 -0
- package/dist-types/commands/TagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +16 -0
- package/dist-types/commands/UpdateBotAliasCommand.d.ts +16 -0
- package/dist-types/commands/UpdateBotCommand.d.ts +16 -0
- package/dist-types/commands/UpdateBotLocaleCommand.d.ts +16 -0
- package/dist-types/commands/UpdateBotRecommendationCommand.d.ts +16 -0
- package/dist-types/commands/UpdateExportCommand.d.ts +16 -0
- package/dist-types/commands/UpdateIntentCommand.d.ts +16 -0
- package/dist-types/commands/UpdateResourcePolicyCommand.d.ts +16 -0
- package/dist-types/commands/UpdateSlotCommand.d.ts +16 -0
- package/dist-types/commands/UpdateSlotTypeCommand.d.ts +16 -0
- package/dist-types/models/LexModelsV2ServiceException.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +635 -1
- package/dist-types/models/models_1.d.ts +98 -2
- package/dist-types/pagination/Interfaces.d.ts +3 -0
- package/dist-types/pagination/ListAggregatedUtterancesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListBotAliasesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListBotLocalesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListBotRecommendationsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListBotVersionsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListBotsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListBuiltInIntentsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListBuiltInSlotTypesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListCustomVocabularyItemsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListExportsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListImportsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListIntentsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListRecommendedIntentsPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSlotTypesPaginator.d.ts +3 -0
- package/dist-types/pagination/ListSlotsPaginator.d.ts +3 -0
- package/package.json +3 -3
|
@@ -72,10 +72,12 @@ import { UpdateSlotCommandInput, UpdateSlotCommandOutput } from "./commands/Upda
|
|
|
72
72
|
import { UpdateSlotTypeCommandInput, UpdateSlotTypeCommandOutput } from "./commands/UpdateSlotTypeCommand";
|
|
73
73
|
import { LexModelsV2Client } from "./LexModelsV2Client";
|
|
74
74
|
/**
|
|
75
|
+
* @public
|
|
75
76
|
* <p></p>
|
|
76
77
|
*/
|
|
77
78
|
export declare class LexModelsV2 extends LexModelsV2Client {
|
|
78
79
|
/**
|
|
80
|
+
* @public
|
|
79
81
|
* <p>Create a batch of custom vocabulary items for a given bot locale's
|
|
80
82
|
* custom vocabulary.</p>
|
|
81
83
|
*/
|
|
@@ -83,6 +85,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
83
85
|
batchCreateCustomVocabularyItem(args: BatchCreateCustomVocabularyItemCommandInput, cb: (err: any, data?: BatchCreateCustomVocabularyItemCommandOutput) => void): void;
|
|
84
86
|
batchCreateCustomVocabularyItem(args: BatchCreateCustomVocabularyItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchCreateCustomVocabularyItemCommandOutput) => void): void;
|
|
85
87
|
/**
|
|
88
|
+
* @public
|
|
86
89
|
* <p>Delete a batch of custom vocabulary items for a given bot locale's
|
|
87
90
|
* custom vocabulary.</p>
|
|
88
91
|
*/
|
|
@@ -90,6 +93,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
90
93
|
batchDeleteCustomVocabularyItem(args: BatchDeleteCustomVocabularyItemCommandInput, cb: (err: any, data?: BatchDeleteCustomVocabularyItemCommandOutput) => void): void;
|
|
91
94
|
batchDeleteCustomVocabularyItem(args: BatchDeleteCustomVocabularyItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDeleteCustomVocabularyItemCommandOutput) => void): void;
|
|
92
95
|
/**
|
|
96
|
+
* @public
|
|
93
97
|
* <p>Update a batch of custom vocabulary items for a given bot locale's custom
|
|
94
98
|
* vocabulary.</p>
|
|
95
99
|
*/
|
|
@@ -97,6 +101,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
97
101
|
batchUpdateCustomVocabularyItem(args: BatchUpdateCustomVocabularyItemCommandInput, cb: (err: any, data?: BatchUpdateCustomVocabularyItemCommandOutput) => void): void;
|
|
98
102
|
batchUpdateCustomVocabularyItem(args: BatchUpdateCustomVocabularyItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchUpdateCustomVocabularyItemCommandOutput) => void): void;
|
|
99
103
|
/**
|
|
104
|
+
* @public
|
|
100
105
|
* <p>Builds a bot, its intents, and its slot types into a specific
|
|
101
106
|
* locale. A bot can be built into multiple locales. At runtime the locale
|
|
102
107
|
* is used to choose a specific build of the bot.</p>
|
|
@@ -105,12 +110,14 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
105
110
|
buildBotLocale(args: BuildBotLocaleCommandInput, cb: (err: any, data?: BuildBotLocaleCommandOutput) => void): void;
|
|
106
111
|
buildBotLocale(args: BuildBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BuildBotLocaleCommandOutput) => void): void;
|
|
107
112
|
/**
|
|
113
|
+
* @public
|
|
108
114
|
* <p>Creates an Amazon Lex conversational bot. </p>
|
|
109
115
|
*/
|
|
110
116
|
createBot(args: CreateBotCommandInput, options?: __HttpHandlerOptions): Promise<CreateBotCommandOutput>;
|
|
111
117
|
createBot(args: CreateBotCommandInput, cb: (err: any, data?: CreateBotCommandOutput) => void): void;
|
|
112
118
|
createBot(args: CreateBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBotCommandOutput) => void): void;
|
|
113
119
|
/**
|
|
120
|
+
* @public
|
|
114
121
|
* <p>Creates an alias for the specified version of a bot. Use an alias to
|
|
115
122
|
* enable you to change the version of a bot without updating applications
|
|
116
123
|
* that use the bot.</p>
|
|
@@ -121,6 +128,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
121
128
|
createBotAlias(args: CreateBotAliasCommandInput, cb: (err: any, data?: CreateBotAliasCommandOutput) => void): void;
|
|
122
129
|
createBotAlias(args: CreateBotAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBotAliasCommandOutput) => void): void;
|
|
123
130
|
/**
|
|
131
|
+
* @public
|
|
124
132
|
* <p>Creates a locale in the bot. The locale contains the intents and
|
|
125
133
|
* slot types that the bot uses in conversations with users in the
|
|
126
134
|
* specified language and locale. You must add a locale to a bot before
|
|
@@ -130,6 +138,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
130
138
|
createBotLocale(args: CreateBotLocaleCommandInput, cb: (err: any, data?: CreateBotLocaleCommandOutput) => void): void;
|
|
131
139
|
createBotLocale(args: CreateBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBotLocaleCommandOutput) => void): void;
|
|
132
140
|
/**
|
|
141
|
+
* @public
|
|
133
142
|
* <p>Creates a new version of the bot based on the <code>DRAFT</code>
|
|
134
143
|
* version. If the <code>DRAFT</code> version of this resource hasn't
|
|
135
144
|
* changed since you created the last version, Amazon Lex doesn't create a new
|
|
@@ -141,6 +150,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
141
150
|
createBotVersion(args: CreateBotVersionCommandInput, cb: (err: any, data?: CreateBotVersionCommandOutput) => void): void;
|
|
142
151
|
createBotVersion(args: CreateBotVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBotVersionCommandOutput) => void): void;
|
|
143
152
|
/**
|
|
153
|
+
* @public
|
|
144
154
|
* <p>Creates a zip archive containing the contents of a bot or a bot
|
|
145
155
|
* locale. The archive contains a directory structure that contains JSON
|
|
146
156
|
* files that define the bot.</p>
|
|
@@ -156,6 +166,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
156
166
|
createExport(args: CreateExportCommandInput, cb: (err: any, data?: CreateExportCommandOutput) => void): void;
|
|
157
167
|
createExport(args: CreateExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateExportCommandOutput) => void): void;
|
|
158
168
|
/**
|
|
169
|
+
* @public
|
|
159
170
|
* <p>Creates an intent.</p>
|
|
160
171
|
* <p>To define the interaction between the user and your bot, you define
|
|
161
172
|
* one or more intents. For example, for a pizza ordering bot you would
|
|
@@ -199,6 +210,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
199
210
|
createIntent(args: CreateIntentCommandInput, cb: (err: any, data?: CreateIntentCommandOutput) => void): void;
|
|
200
211
|
createIntent(args: CreateIntentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateIntentCommandOutput) => void): void;
|
|
201
212
|
/**
|
|
213
|
+
* @public
|
|
202
214
|
* <p>Creates a new resource policy with the specified policy
|
|
203
215
|
* statements.</p>
|
|
204
216
|
*/
|
|
@@ -206,6 +218,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
206
218
|
createResourcePolicy(args: CreateResourcePolicyCommandInput, cb: (err: any, data?: CreateResourcePolicyCommandOutput) => void): void;
|
|
207
219
|
createResourcePolicy(args: CreateResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourcePolicyCommandOutput) => void): void;
|
|
208
220
|
/**
|
|
221
|
+
* @public
|
|
209
222
|
* <p>Adds a new resource policy statement to a bot or bot alias. If a
|
|
210
223
|
* resource policy exists, the statement is added to the current resource
|
|
211
224
|
* policy. If a policy doesn't exist, a new policy is created.</p>
|
|
@@ -216,6 +229,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
216
229
|
createResourcePolicyStatement(args: CreateResourcePolicyStatementCommandInput, cb: (err: any, data?: CreateResourcePolicyStatementCommandOutput) => void): void;
|
|
217
230
|
createResourcePolicyStatement(args: CreateResourcePolicyStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourcePolicyStatementCommandOutput) => void): void;
|
|
218
231
|
/**
|
|
232
|
+
* @public
|
|
219
233
|
* <p>Creates a slot in an intent. A slot is a variable needed to fulfill
|
|
220
234
|
* an intent. For example, an <code>OrderPizza</code> intent might need
|
|
221
235
|
* slots for size, crust, and number of pizzas. For each slot, you define
|
|
@@ -226,6 +240,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
226
240
|
createSlot(args: CreateSlotCommandInput, cb: (err: any, data?: CreateSlotCommandOutput) => void): void;
|
|
227
241
|
createSlot(args: CreateSlotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSlotCommandOutput) => void): void;
|
|
228
242
|
/**
|
|
243
|
+
* @public
|
|
229
244
|
* <p>Creates a custom slot type</p>
|
|
230
245
|
* <p> To create a custom slot type, specify a name for the slot type and
|
|
231
246
|
* a set of enumeration values, the values that a slot of this type can
|
|
@@ -235,6 +250,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
235
250
|
createSlotType(args: CreateSlotTypeCommandInput, cb: (err: any, data?: CreateSlotTypeCommandOutput) => void): void;
|
|
236
251
|
createSlotType(args: CreateSlotTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSlotTypeCommandOutput) => void): void;
|
|
237
252
|
/**
|
|
253
|
+
* @public
|
|
238
254
|
* <p>Gets a pre-signed S3 write URL that you use to upload the zip
|
|
239
255
|
* archive when importing a bot or a bot locale. </p>
|
|
240
256
|
*/
|
|
@@ -242,6 +258,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
242
258
|
createUploadUrl(args: CreateUploadUrlCommandInput, cb: (err: any, data?: CreateUploadUrlCommandOutput) => void): void;
|
|
243
259
|
createUploadUrl(args: CreateUploadUrlCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUploadUrlCommandOutput) => void): void;
|
|
244
260
|
/**
|
|
261
|
+
* @public
|
|
245
262
|
* <p>Deletes all versions of a bot, including the <code>Draft</code>
|
|
246
263
|
* version. To delete a specific version, use the
|
|
247
264
|
* <code>DeleteBotVersion</code> operation.</p>
|
|
@@ -257,12 +274,14 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
257
274
|
deleteBot(args: DeleteBotCommandInput, cb: (err: any, data?: DeleteBotCommandOutput) => void): void;
|
|
258
275
|
deleteBot(args: DeleteBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBotCommandOutput) => void): void;
|
|
259
276
|
/**
|
|
277
|
+
* @public
|
|
260
278
|
* <p>Deletes the specified bot alias.</p>
|
|
261
279
|
*/
|
|
262
280
|
deleteBotAlias(args: DeleteBotAliasCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBotAliasCommandOutput>;
|
|
263
281
|
deleteBotAlias(args: DeleteBotAliasCommandInput, cb: (err: any, data?: DeleteBotAliasCommandOutput) => void): void;
|
|
264
282
|
deleteBotAlias(args: DeleteBotAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBotAliasCommandOutput) => void): void;
|
|
265
283
|
/**
|
|
284
|
+
* @public
|
|
266
285
|
* <p>Removes a locale from a bot.</p>
|
|
267
286
|
* <p>When you delete a locale, all intents, slots, and slot types defined
|
|
268
287
|
* for the locale are also deleted.</p>
|
|
@@ -271,6 +290,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
271
290
|
deleteBotLocale(args: DeleteBotLocaleCommandInput, cb: (err: any, data?: DeleteBotLocaleCommandOutput) => void): void;
|
|
272
291
|
deleteBotLocale(args: DeleteBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBotLocaleCommandOutput) => void): void;
|
|
273
292
|
/**
|
|
293
|
+
* @public
|
|
274
294
|
* <p>Deletes a specific version of a bot. To delete all versions of a bot,
|
|
275
295
|
* use the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_DeleteBot.html">DeleteBot</a> operation.</p>
|
|
276
296
|
*/
|
|
@@ -278,6 +298,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
278
298
|
deleteBotVersion(args: DeleteBotVersionCommandInput, cb: (err: any, data?: DeleteBotVersionCommandOutput) => void): void;
|
|
279
299
|
deleteBotVersion(args: DeleteBotVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBotVersionCommandOutput) => void): void;
|
|
280
300
|
/**
|
|
301
|
+
* @public
|
|
281
302
|
* <p>Removes a custom vocabulary from the specified locale
|
|
282
303
|
* in the specified bot.</p>
|
|
283
304
|
*/
|
|
@@ -285,6 +306,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
285
306
|
deleteCustomVocabulary(args: DeleteCustomVocabularyCommandInput, cb: (err: any, data?: DeleteCustomVocabularyCommandOutput) => void): void;
|
|
286
307
|
deleteCustomVocabulary(args: DeleteCustomVocabularyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCustomVocabularyCommandOutput) => void): void;
|
|
287
308
|
/**
|
|
309
|
+
* @public
|
|
288
310
|
* <p>Removes a previous export and the associated files stored in an S3
|
|
289
311
|
* bucket.</p>
|
|
290
312
|
*/
|
|
@@ -292,6 +314,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
292
314
|
deleteExport(args: DeleteExportCommandInput, cb: (err: any, data?: DeleteExportCommandOutput) => void): void;
|
|
293
315
|
deleteExport(args: DeleteExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteExportCommandOutput) => void): void;
|
|
294
316
|
/**
|
|
317
|
+
* @public
|
|
295
318
|
* <p>Removes a previous import and the associated file stored in an S3
|
|
296
319
|
* bucket.</p>
|
|
297
320
|
*/
|
|
@@ -299,6 +322,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
299
322
|
deleteImport(args: DeleteImportCommandInput, cb: (err: any, data?: DeleteImportCommandOutput) => void): void;
|
|
300
323
|
deleteImport(args: DeleteImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteImportCommandOutput) => void): void;
|
|
301
324
|
/**
|
|
325
|
+
* @public
|
|
302
326
|
* <p>Removes the specified intent.</p>
|
|
303
327
|
* <p>Deleting an intent also deletes the slots associated with the
|
|
304
328
|
* intent.</p>
|
|
@@ -307,6 +331,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
307
331
|
deleteIntent(args: DeleteIntentCommandInput, cb: (err: any, data?: DeleteIntentCommandOutput) => void): void;
|
|
308
332
|
deleteIntent(args: DeleteIntentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteIntentCommandOutput) => void): void;
|
|
309
333
|
/**
|
|
334
|
+
* @public
|
|
310
335
|
* <p>Removes an existing policy from a bot or bot alias. If the resource
|
|
311
336
|
* doesn't have a policy attached, Amazon Lex returns an exception.</p>
|
|
312
337
|
*/
|
|
@@ -314,6 +339,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
314
339
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
315
340
|
deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void;
|
|
316
341
|
/**
|
|
342
|
+
* @public
|
|
317
343
|
* <p>Deletes a policy statement from a resource policy. If you delete the
|
|
318
344
|
* last statement from a policy, the policy is deleted. If you specify a
|
|
319
345
|
* statement ID that doesn't exist in the policy, or if the bot or bot
|
|
@@ -324,12 +350,14 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
324
350
|
deleteResourcePolicyStatement(args: DeleteResourcePolicyStatementCommandInput, cb: (err: any, data?: DeleteResourcePolicyStatementCommandOutput) => void): void;
|
|
325
351
|
deleteResourcePolicyStatement(args: DeleteResourcePolicyStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyStatementCommandOutput) => void): void;
|
|
326
352
|
/**
|
|
353
|
+
* @public
|
|
327
354
|
* <p>Deletes the specified slot from an intent.</p>
|
|
328
355
|
*/
|
|
329
356
|
deleteSlot(args: DeleteSlotCommandInput, options?: __HttpHandlerOptions): Promise<DeleteSlotCommandOutput>;
|
|
330
357
|
deleteSlot(args: DeleteSlotCommandInput, cb: (err: any, data?: DeleteSlotCommandOutput) => void): void;
|
|
331
358
|
deleteSlot(args: DeleteSlotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSlotCommandOutput) => void): void;
|
|
332
359
|
/**
|
|
360
|
+
* @public
|
|
333
361
|
* <p>Deletes a slot type from a bot locale.</p>
|
|
334
362
|
* <p>If a slot is using the slot type, Amazon Lex throws a
|
|
335
363
|
* <code>ResourceInUseException</code> exception. To avoid the
|
|
@@ -340,6 +368,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
340
368
|
deleteSlotType(args: DeleteSlotTypeCommandInput, cb: (err: any, data?: DeleteSlotTypeCommandOutput) => void): void;
|
|
341
369
|
deleteSlotType(args: DeleteSlotTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteSlotTypeCommandOutput) => void): void;
|
|
342
370
|
/**
|
|
371
|
+
* @public
|
|
343
372
|
* <p>Deletes stored utterances.</p>
|
|
344
373
|
* <p>Amazon Lex stores the utterances that users send to your bot. Utterances
|
|
345
374
|
* are stored for 15 days for use with the <a href="https://docs.aws.amazon.com/lexv2/latest/APIReference/API_ListAggregatedUtterances.html">ListAggregatedUtterances</a> operation, and
|
|
@@ -357,24 +386,28 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
357
386
|
deleteUtterances(args: DeleteUtterancesCommandInput, cb: (err: any, data?: DeleteUtterancesCommandOutput) => void): void;
|
|
358
387
|
deleteUtterances(args: DeleteUtterancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteUtterancesCommandOutput) => void): void;
|
|
359
388
|
/**
|
|
389
|
+
* @public
|
|
360
390
|
* <p>Provides metadata information about a bot. </p>
|
|
361
391
|
*/
|
|
362
392
|
describeBot(args: DescribeBotCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBotCommandOutput>;
|
|
363
393
|
describeBot(args: DescribeBotCommandInput, cb: (err: any, data?: DescribeBotCommandOutput) => void): void;
|
|
364
394
|
describeBot(args: DescribeBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBotCommandOutput) => void): void;
|
|
365
395
|
/**
|
|
396
|
+
* @public
|
|
366
397
|
* <p>Get information about a specific bot alias.</p>
|
|
367
398
|
*/
|
|
368
399
|
describeBotAlias(args: DescribeBotAliasCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBotAliasCommandOutput>;
|
|
369
400
|
describeBotAlias(args: DescribeBotAliasCommandInput, cb: (err: any, data?: DescribeBotAliasCommandOutput) => void): void;
|
|
370
401
|
describeBotAlias(args: DescribeBotAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBotAliasCommandOutput) => void): void;
|
|
371
402
|
/**
|
|
403
|
+
* @public
|
|
372
404
|
* <p>Describes the settings that a bot has for a specific locale. </p>
|
|
373
405
|
*/
|
|
374
406
|
describeBotLocale(args: DescribeBotLocaleCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBotLocaleCommandOutput>;
|
|
375
407
|
describeBotLocale(args: DescribeBotLocaleCommandInput, cb: (err: any, data?: DescribeBotLocaleCommandOutput) => void): void;
|
|
376
408
|
describeBotLocale(args: DescribeBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBotLocaleCommandOutput) => void): void;
|
|
377
409
|
/**
|
|
410
|
+
* @public
|
|
378
411
|
* <p>Provides metadata information about a bot recommendation. This
|
|
379
412
|
* information will enable you to get a description on the request inputs,
|
|
380
413
|
* to download associated transcripts after processing is complete, and to
|
|
@@ -385,36 +418,42 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
385
418
|
describeBotRecommendation(args: DescribeBotRecommendationCommandInput, cb: (err: any, data?: DescribeBotRecommendationCommandOutput) => void): void;
|
|
386
419
|
describeBotRecommendation(args: DescribeBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBotRecommendationCommandOutput) => void): void;
|
|
387
420
|
/**
|
|
421
|
+
* @public
|
|
388
422
|
* <p>Provides metadata about a version of a bot.</p>
|
|
389
423
|
*/
|
|
390
424
|
describeBotVersion(args: DescribeBotVersionCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBotVersionCommandOutput>;
|
|
391
425
|
describeBotVersion(args: DescribeBotVersionCommandInput, cb: (err: any, data?: DescribeBotVersionCommandOutput) => void): void;
|
|
392
426
|
describeBotVersion(args: DescribeBotVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBotVersionCommandOutput) => void): void;
|
|
393
427
|
/**
|
|
428
|
+
* @public
|
|
394
429
|
* <p>Provides metadata information about a custom vocabulary.</p>
|
|
395
430
|
*/
|
|
396
431
|
describeCustomVocabularyMetadata(args: DescribeCustomVocabularyMetadataCommandInput, options?: __HttpHandlerOptions): Promise<DescribeCustomVocabularyMetadataCommandOutput>;
|
|
397
432
|
describeCustomVocabularyMetadata(args: DescribeCustomVocabularyMetadataCommandInput, cb: (err: any, data?: DescribeCustomVocabularyMetadataCommandOutput) => void): void;
|
|
398
433
|
describeCustomVocabularyMetadata(args: DescribeCustomVocabularyMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeCustomVocabularyMetadataCommandOutput) => void): void;
|
|
399
434
|
/**
|
|
435
|
+
* @public
|
|
400
436
|
* <p>Gets information about a specific export.</p>
|
|
401
437
|
*/
|
|
402
438
|
describeExport(args: DescribeExportCommandInput, options?: __HttpHandlerOptions): Promise<DescribeExportCommandOutput>;
|
|
403
439
|
describeExport(args: DescribeExportCommandInput, cb: (err: any, data?: DescribeExportCommandOutput) => void): void;
|
|
404
440
|
describeExport(args: DescribeExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeExportCommandOutput) => void): void;
|
|
405
441
|
/**
|
|
442
|
+
* @public
|
|
406
443
|
* <p>Gets information about a specific import.</p>
|
|
407
444
|
*/
|
|
408
445
|
describeImport(args: DescribeImportCommandInput, options?: __HttpHandlerOptions): Promise<DescribeImportCommandOutput>;
|
|
409
446
|
describeImport(args: DescribeImportCommandInput, cb: (err: any, data?: DescribeImportCommandOutput) => void): void;
|
|
410
447
|
describeImport(args: DescribeImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeImportCommandOutput) => void): void;
|
|
411
448
|
/**
|
|
449
|
+
* @public
|
|
412
450
|
* <p>Returns metadata about an intent.</p>
|
|
413
451
|
*/
|
|
414
452
|
describeIntent(args: DescribeIntentCommandInput, options?: __HttpHandlerOptions): Promise<DescribeIntentCommandOutput>;
|
|
415
453
|
describeIntent(args: DescribeIntentCommandInput, cb: (err: any, data?: DescribeIntentCommandOutput) => void): void;
|
|
416
454
|
describeIntent(args: DescribeIntentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeIntentCommandOutput) => void): void;
|
|
417
455
|
/**
|
|
456
|
+
* @public
|
|
418
457
|
* <p>Gets the resource policy and policy revision for a bot or bot
|
|
419
458
|
* alias.</p>
|
|
420
459
|
*/
|
|
@@ -422,18 +461,21 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
422
461
|
describeResourcePolicy(args: DescribeResourcePolicyCommandInput, cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void): void;
|
|
423
462
|
describeResourcePolicy(args: DescribeResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeResourcePolicyCommandOutput) => void): void;
|
|
424
463
|
/**
|
|
464
|
+
* @public
|
|
425
465
|
* <p>Gets metadata information about a slot.</p>
|
|
426
466
|
*/
|
|
427
467
|
describeSlot(args: DescribeSlotCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSlotCommandOutput>;
|
|
428
468
|
describeSlot(args: DescribeSlotCommandInput, cb: (err: any, data?: DescribeSlotCommandOutput) => void): void;
|
|
429
469
|
describeSlot(args: DescribeSlotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSlotCommandOutput) => void): void;
|
|
430
470
|
/**
|
|
471
|
+
* @public
|
|
431
472
|
* <p>Gets metadata information about a slot type.</p>
|
|
432
473
|
*/
|
|
433
474
|
describeSlotType(args: DescribeSlotTypeCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSlotTypeCommandOutput>;
|
|
434
475
|
describeSlotType(args: DescribeSlotTypeCommandInput, cb: (err: any, data?: DescribeSlotTypeCommandOutput) => void): void;
|
|
435
476
|
describeSlotType(args: DescribeSlotTypeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSlotTypeCommandOutput) => void): void;
|
|
436
477
|
/**
|
|
478
|
+
* @public
|
|
437
479
|
* <p>Provides a list of utterances that users have sent to the
|
|
438
480
|
* bot.</p>
|
|
439
481
|
* <p>Utterances are aggregated by the text of the utterance. For example,
|
|
@@ -464,18 +506,21 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
464
506
|
listAggregatedUtterances(args: ListAggregatedUtterancesCommandInput, cb: (err: any, data?: ListAggregatedUtterancesCommandOutput) => void): void;
|
|
465
507
|
listAggregatedUtterances(args: ListAggregatedUtterancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAggregatedUtterancesCommandOutput) => void): void;
|
|
466
508
|
/**
|
|
509
|
+
* @public
|
|
467
510
|
* <p>Gets a list of aliases for the specified bot.</p>
|
|
468
511
|
*/
|
|
469
512
|
listBotAliases(args: ListBotAliasesCommandInput, options?: __HttpHandlerOptions): Promise<ListBotAliasesCommandOutput>;
|
|
470
513
|
listBotAliases(args: ListBotAliasesCommandInput, cb: (err: any, data?: ListBotAliasesCommandOutput) => void): void;
|
|
471
514
|
listBotAliases(args: ListBotAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotAliasesCommandOutput) => void): void;
|
|
472
515
|
/**
|
|
516
|
+
* @public
|
|
473
517
|
* <p>Gets a list of locales for the specified bot.</p>
|
|
474
518
|
*/
|
|
475
519
|
listBotLocales(args: ListBotLocalesCommandInput, options?: __HttpHandlerOptions): Promise<ListBotLocalesCommandOutput>;
|
|
476
520
|
listBotLocales(args: ListBotLocalesCommandInput, cb: (err: any, data?: ListBotLocalesCommandOutput) => void): void;
|
|
477
521
|
listBotLocales(args: ListBotLocalesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotLocalesCommandOutput) => void): void;
|
|
478
522
|
/**
|
|
523
|
+
* @public
|
|
479
524
|
* <p>Get a list of bot recommendations that meet the specified
|
|
480
525
|
* criteria.</p>
|
|
481
526
|
*/
|
|
@@ -483,12 +528,14 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
483
528
|
listBotRecommendations(args: ListBotRecommendationsCommandInput, cb: (err: any, data?: ListBotRecommendationsCommandOutput) => void): void;
|
|
484
529
|
listBotRecommendations(args: ListBotRecommendationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotRecommendationsCommandOutput) => void): void;
|
|
485
530
|
/**
|
|
531
|
+
* @public
|
|
486
532
|
* <p>Gets a list of available bots.</p>
|
|
487
533
|
*/
|
|
488
534
|
listBots(args: ListBotsCommandInput, options?: __HttpHandlerOptions): Promise<ListBotsCommandOutput>;
|
|
489
535
|
listBots(args: ListBotsCommandInput, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
490
536
|
listBots(args: ListBotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotsCommandOutput) => void): void;
|
|
491
537
|
/**
|
|
538
|
+
* @public
|
|
492
539
|
* <p>Gets information about all of the versions of a bot.</p>
|
|
493
540
|
* <p>The <code>ListBotVersions</code> operation returns a summary of each
|
|
494
541
|
* version of a bot. For example, if a bot has three numbered versions,
|
|
@@ -502,6 +549,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
502
549
|
listBotVersions(args: ListBotVersionsCommandInput, cb: (err: any, data?: ListBotVersionsCommandOutput) => void): void;
|
|
503
550
|
listBotVersions(args: ListBotVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBotVersionsCommandOutput) => void): void;
|
|
504
551
|
/**
|
|
552
|
+
* @public
|
|
505
553
|
* <p>Gets a list of built-in intents provided by Amazon Lex that you can use
|
|
506
554
|
* in your bot. </p>
|
|
507
555
|
* <p>To use a built-in intent as a the base for your own intent, include
|
|
@@ -513,6 +561,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
513
561
|
listBuiltInIntents(args: ListBuiltInIntentsCommandInput, cb: (err: any, data?: ListBuiltInIntentsCommandOutput) => void): void;
|
|
514
562
|
listBuiltInIntents(args: ListBuiltInIntentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBuiltInIntentsCommandOutput) => void): void;
|
|
515
563
|
/**
|
|
564
|
+
* @public
|
|
516
565
|
* <p>Gets a list of built-in slot types that meet the specified
|
|
517
566
|
* criteria.</p>
|
|
518
567
|
*/
|
|
@@ -520,6 +569,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
520
569
|
listBuiltInSlotTypes(args: ListBuiltInSlotTypesCommandInput, cb: (err: any, data?: ListBuiltInSlotTypesCommandOutput) => void): void;
|
|
521
570
|
listBuiltInSlotTypes(args: ListBuiltInSlotTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBuiltInSlotTypesCommandOutput) => void): void;
|
|
522
571
|
/**
|
|
572
|
+
* @public
|
|
523
573
|
* <p>Paginated list of custom vocabulary items for a given bot locale's
|
|
524
574
|
* custom vocabulary.</p>
|
|
525
575
|
*/
|
|
@@ -527,6 +577,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
527
577
|
listCustomVocabularyItems(args: ListCustomVocabularyItemsCommandInput, cb: (err: any, data?: ListCustomVocabularyItemsCommandOutput) => void): void;
|
|
528
578
|
listCustomVocabularyItems(args: ListCustomVocabularyItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCustomVocabularyItemsCommandOutput) => void): void;
|
|
529
579
|
/**
|
|
580
|
+
* @public
|
|
530
581
|
* <p>Lists the exports for a bot, bot locale, or custom vocabulary.
|
|
531
582
|
* Exports are kept in the list for 7 days.</p>
|
|
532
583
|
*/
|
|
@@ -534,6 +585,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
534
585
|
listExports(args: ListExportsCommandInput, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
|
|
535
586
|
listExports(args: ListExportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListExportsCommandOutput) => void): void;
|
|
536
587
|
/**
|
|
588
|
+
* @public
|
|
537
589
|
* <p>Lists the imports for a bot, bot locale, or custom vocabulary.
|
|
538
590
|
* Imports are kept in the list for 7 days.</p>
|
|
539
591
|
*/
|
|
@@ -541,12 +593,14 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
541
593
|
listImports(args: ListImportsCommandInput, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
|
|
542
594
|
listImports(args: ListImportsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListImportsCommandOutput) => void): void;
|
|
543
595
|
/**
|
|
596
|
+
* @public
|
|
544
597
|
* <p>Get a list of intents that meet the specified criteria.</p>
|
|
545
598
|
*/
|
|
546
599
|
listIntents(args: ListIntentsCommandInput, options?: __HttpHandlerOptions): Promise<ListIntentsCommandOutput>;
|
|
547
600
|
listIntents(args: ListIntentsCommandInput, cb: (err: any, data?: ListIntentsCommandOutput) => void): void;
|
|
548
601
|
listIntents(args: ListIntentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListIntentsCommandOutput) => void): void;
|
|
549
602
|
/**
|
|
603
|
+
* @public
|
|
550
604
|
* <p>Gets a list of recommended intents provided by the bot
|
|
551
605
|
* recommendation that you can use in your bot. Intents in the
|
|
552
606
|
* response are ordered by relevance.</p>
|
|
@@ -555,18 +609,21 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
555
609
|
listRecommendedIntents(args: ListRecommendedIntentsCommandInput, cb: (err: any, data?: ListRecommendedIntentsCommandOutput) => void): void;
|
|
556
610
|
listRecommendedIntents(args: ListRecommendedIntentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRecommendedIntentsCommandOutput) => void): void;
|
|
557
611
|
/**
|
|
612
|
+
* @public
|
|
558
613
|
* <p>Gets a list of slots that match the specified criteria.</p>
|
|
559
614
|
*/
|
|
560
615
|
listSlots(args: ListSlotsCommandInput, options?: __HttpHandlerOptions): Promise<ListSlotsCommandOutput>;
|
|
561
616
|
listSlots(args: ListSlotsCommandInput, cb: (err: any, data?: ListSlotsCommandOutput) => void): void;
|
|
562
617
|
listSlots(args: ListSlotsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSlotsCommandOutput) => void): void;
|
|
563
618
|
/**
|
|
619
|
+
* @public
|
|
564
620
|
* <p>Gets a list of slot types that match the specified criteria.</p>
|
|
565
621
|
*/
|
|
566
622
|
listSlotTypes(args: ListSlotTypesCommandInput, options?: __HttpHandlerOptions): Promise<ListSlotTypesCommandOutput>;
|
|
567
623
|
listSlotTypes(args: ListSlotTypesCommandInput, cb: (err: any, data?: ListSlotTypesCommandOutput) => void): void;
|
|
568
624
|
listSlotTypes(args: ListSlotTypesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListSlotTypesCommandOutput) => void): void;
|
|
569
625
|
/**
|
|
626
|
+
* @public
|
|
570
627
|
* <p>Gets a list of tags associated with a resource. Only bots, bot
|
|
571
628
|
* aliases, and bot channels can have tags associated with them.</p>
|
|
572
629
|
*/
|
|
@@ -574,6 +631,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
574
631
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
575
632
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
576
633
|
/**
|
|
634
|
+
* @public
|
|
577
635
|
* <p>Search for associated transcripts that meet the specified
|
|
578
636
|
* criteria.</p>
|
|
579
637
|
*/
|
|
@@ -581,6 +639,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
581
639
|
searchAssociatedTranscripts(args: SearchAssociatedTranscriptsCommandInput, cb: (err: any, data?: SearchAssociatedTranscriptsCommandOutput) => void): void;
|
|
582
640
|
searchAssociatedTranscripts(args: SearchAssociatedTranscriptsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SearchAssociatedTranscriptsCommandOutput) => void): void;
|
|
583
641
|
/**
|
|
642
|
+
* @public
|
|
584
643
|
* <p>Use this to provide your transcript data, and to start the bot
|
|
585
644
|
* recommendation process.</p>
|
|
586
645
|
*/
|
|
@@ -588,6 +647,7 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
588
647
|
startBotRecommendation(args: StartBotRecommendationCommandInput, cb: (err: any, data?: StartBotRecommendationCommandOutput) => void): void;
|
|
589
648
|
startBotRecommendation(args: StartBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartBotRecommendationCommandOutput) => void): void;
|
|
590
649
|
/**
|
|
650
|
+
* @public
|
|
591
651
|
* <p>Starts importing a bot, bot locale, or custom vocabulary from a zip
|
|
592
652
|
* archive that you uploaded to an S3 bucket.</p>
|
|
593
653
|
*/
|
|
@@ -595,12 +655,14 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
595
655
|
startImport(args: StartImportCommandInput, cb: (err: any, data?: StartImportCommandOutput) => void): void;
|
|
596
656
|
startImport(args: StartImportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartImportCommandOutput) => void): void;
|
|
597
657
|
/**
|
|
658
|
+
* @public
|
|
598
659
|
* <p>Stop an already running Bot Recommendation request.</p>
|
|
599
660
|
*/
|
|
600
661
|
stopBotRecommendation(args: StopBotRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<StopBotRecommendationCommandOutput>;
|
|
601
662
|
stopBotRecommendation(args: StopBotRecommendationCommandInput, cb: (err: any, data?: StopBotRecommendationCommandOutput) => void): void;
|
|
602
663
|
stopBotRecommendation(args: StopBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopBotRecommendationCommandOutput) => void): void;
|
|
603
664
|
/**
|
|
665
|
+
* @public
|
|
604
666
|
* <p>Adds the specified tags to the specified resource. If a tag key
|
|
605
667
|
* already exists, the existing value is replaced with the new
|
|
606
668
|
* value.</p>
|
|
@@ -609,36 +671,42 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
609
671
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
610
672
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
611
673
|
/**
|
|
674
|
+
* @public
|
|
612
675
|
* <p>Removes tags from a bot, bot alias, or bot channel.</p>
|
|
613
676
|
*/
|
|
614
677
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
615
678
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
616
679
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
617
680
|
/**
|
|
681
|
+
* @public
|
|
618
682
|
* <p>Updates the configuration of an existing bot. </p>
|
|
619
683
|
*/
|
|
620
684
|
updateBot(args: UpdateBotCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotCommandOutput>;
|
|
621
685
|
updateBot(args: UpdateBotCommandInput, cb: (err: any, data?: UpdateBotCommandOutput) => void): void;
|
|
622
686
|
updateBot(args: UpdateBotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotCommandOutput) => void): void;
|
|
623
687
|
/**
|
|
688
|
+
* @public
|
|
624
689
|
* <p>Updates the configuration of an existing bot alias.</p>
|
|
625
690
|
*/
|
|
626
691
|
updateBotAlias(args: UpdateBotAliasCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotAliasCommandOutput>;
|
|
627
692
|
updateBotAlias(args: UpdateBotAliasCommandInput, cb: (err: any, data?: UpdateBotAliasCommandOutput) => void): void;
|
|
628
693
|
updateBotAlias(args: UpdateBotAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotAliasCommandOutput) => void): void;
|
|
629
694
|
/**
|
|
695
|
+
* @public
|
|
630
696
|
* <p>Updates the settings that a bot has for a specific locale.</p>
|
|
631
697
|
*/
|
|
632
698
|
updateBotLocale(args: UpdateBotLocaleCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotLocaleCommandOutput>;
|
|
633
699
|
updateBotLocale(args: UpdateBotLocaleCommandInput, cb: (err: any, data?: UpdateBotLocaleCommandOutput) => void): void;
|
|
634
700
|
updateBotLocale(args: UpdateBotLocaleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotLocaleCommandOutput) => void): void;
|
|
635
701
|
/**
|
|
702
|
+
* @public
|
|
636
703
|
* <p>Updates an existing bot recommendation request.</p>
|
|
637
704
|
*/
|
|
638
705
|
updateBotRecommendation(args: UpdateBotRecommendationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBotRecommendationCommandOutput>;
|
|
639
706
|
updateBotRecommendation(args: UpdateBotRecommendationCommandInput, cb: (err: any, data?: UpdateBotRecommendationCommandOutput) => void): void;
|
|
640
707
|
updateBotRecommendation(args: UpdateBotRecommendationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBotRecommendationCommandOutput) => void): void;
|
|
641
708
|
/**
|
|
709
|
+
* @public
|
|
642
710
|
* <p>Updates the password used to protect an export zip archive.</p>
|
|
643
711
|
* <p>The password is not required. If you don't supply a password, Amazon Lex
|
|
644
712
|
* generates a zip file that is not protected by a password. This is the
|
|
@@ -649,12 +717,14 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
649
717
|
updateExport(args: UpdateExportCommandInput, cb: (err: any, data?: UpdateExportCommandOutput) => void): void;
|
|
650
718
|
updateExport(args: UpdateExportCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateExportCommandOutput) => void): void;
|
|
651
719
|
/**
|
|
720
|
+
* @public
|
|
652
721
|
* <p>Updates the settings for an intent.</p>
|
|
653
722
|
*/
|
|
654
723
|
updateIntent(args: UpdateIntentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateIntentCommandOutput>;
|
|
655
724
|
updateIntent(args: UpdateIntentCommandInput, cb: (err: any, data?: UpdateIntentCommandOutput) => void): void;
|
|
656
725
|
updateIntent(args: UpdateIntentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateIntentCommandOutput) => void): void;
|
|
657
726
|
/**
|
|
727
|
+
* @public
|
|
658
728
|
* <p>Replaces the existing resource policy for a bot or bot alias with a
|
|
659
729
|
* new one. If the policy doesn't exist, Amazon Lex returns an
|
|
660
730
|
* exception.</p>
|
|
@@ -663,12 +733,14 @@ export declare class LexModelsV2 extends LexModelsV2Client {
|
|
|
663
733
|
updateResourcePolicy(args: UpdateResourcePolicyCommandInput, cb: (err: any, data?: UpdateResourcePolicyCommandOutput) => void): void;
|
|
664
734
|
updateResourcePolicy(args: UpdateResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourcePolicyCommandOutput) => void): void;
|
|
665
735
|
/**
|
|
736
|
+
* @public
|
|
666
737
|
* <p>Updates the settings for a slot.</p>
|
|
667
738
|
*/
|
|
668
739
|
updateSlot(args: UpdateSlotCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSlotCommandOutput>;
|
|
669
740
|
updateSlot(args: UpdateSlotCommandInput, cb: (err: any, data?: UpdateSlotCommandOutput) => void): void;
|
|
670
741
|
updateSlot(args: UpdateSlotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSlotCommandOutput) => void): void;
|
|
671
742
|
/**
|
|
743
|
+
* @public
|
|
672
744
|
* <p>Updates the configuration of an existing slot type.</p>
|
|
673
745
|
*/
|
|
674
746
|
updateSlotType(args: UpdateSlotTypeCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSlotTypeCommandOutput>;
|
|
@@ -79,15 +79,24 @@ import { UpdateResourcePolicyCommandInput, UpdateResourcePolicyCommandOutput } f
|
|
|
79
79
|
import { UpdateSlotCommandInput, UpdateSlotCommandOutput } from "./commands/UpdateSlotCommand";
|
|
80
80
|
import { UpdateSlotTypeCommandInput, UpdateSlotTypeCommandOutput } from "./commands/UpdateSlotTypeCommand";
|
|
81
81
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
82
|
+
/**
|
|
83
|
+
* @public
|
|
84
|
+
*/
|
|
82
85
|
export type ServiceInputTypes = BatchCreateCustomVocabularyItemCommandInput | BatchDeleteCustomVocabularyItemCommandInput | BatchUpdateCustomVocabularyItemCommandInput | BuildBotLocaleCommandInput | CreateBotAliasCommandInput | CreateBotCommandInput | CreateBotLocaleCommandInput | CreateBotVersionCommandInput | CreateExportCommandInput | CreateIntentCommandInput | CreateResourcePolicyCommandInput | CreateResourcePolicyStatementCommandInput | CreateSlotCommandInput | CreateSlotTypeCommandInput | CreateUploadUrlCommandInput | DeleteBotAliasCommandInput | DeleteBotCommandInput | DeleteBotLocaleCommandInput | DeleteBotVersionCommandInput | DeleteCustomVocabularyCommandInput | DeleteExportCommandInput | DeleteImportCommandInput | DeleteIntentCommandInput | DeleteResourcePolicyCommandInput | DeleteResourcePolicyStatementCommandInput | DeleteSlotCommandInput | DeleteSlotTypeCommandInput | DeleteUtterancesCommandInput | DescribeBotAliasCommandInput | DescribeBotCommandInput | DescribeBotLocaleCommandInput | DescribeBotRecommendationCommandInput | DescribeBotVersionCommandInput | DescribeCustomVocabularyMetadataCommandInput | DescribeExportCommandInput | DescribeImportCommandInput | DescribeIntentCommandInput | DescribeResourcePolicyCommandInput | DescribeSlotCommandInput | DescribeSlotTypeCommandInput | ListAggregatedUtterancesCommandInput | ListBotAliasesCommandInput | ListBotLocalesCommandInput | ListBotRecommendationsCommandInput | ListBotVersionsCommandInput | ListBotsCommandInput | ListBuiltInIntentsCommandInput | ListBuiltInSlotTypesCommandInput | ListCustomVocabularyItemsCommandInput | ListExportsCommandInput | ListImportsCommandInput | ListIntentsCommandInput | ListRecommendedIntentsCommandInput | ListSlotTypesCommandInput | ListSlotsCommandInput | ListTagsForResourceCommandInput | SearchAssociatedTranscriptsCommandInput | StartBotRecommendationCommandInput | StartImportCommandInput | StopBotRecommendationCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBotAliasCommandInput | UpdateBotCommandInput | UpdateBotLocaleCommandInput | UpdateBotRecommendationCommandInput | UpdateExportCommandInput | UpdateIntentCommandInput | UpdateResourcePolicyCommandInput | UpdateSlotCommandInput | UpdateSlotTypeCommandInput;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
83
89
|
export type ServiceOutputTypes = BatchCreateCustomVocabularyItemCommandOutput | BatchDeleteCustomVocabularyItemCommandOutput | BatchUpdateCustomVocabularyItemCommandOutput | BuildBotLocaleCommandOutput | CreateBotAliasCommandOutput | CreateBotCommandOutput | CreateBotLocaleCommandOutput | CreateBotVersionCommandOutput | CreateExportCommandOutput | CreateIntentCommandOutput | CreateResourcePolicyCommandOutput | CreateResourcePolicyStatementCommandOutput | CreateSlotCommandOutput | CreateSlotTypeCommandOutput | CreateUploadUrlCommandOutput | DeleteBotAliasCommandOutput | DeleteBotCommandOutput | DeleteBotLocaleCommandOutput | DeleteBotVersionCommandOutput | DeleteCustomVocabularyCommandOutput | DeleteExportCommandOutput | DeleteImportCommandOutput | DeleteIntentCommandOutput | DeleteResourcePolicyCommandOutput | DeleteResourcePolicyStatementCommandOutput | DeleteSlotCommandOutput | DeleteSlotTypeCommandOutput | DeleteUtterancesCommandOutput | DescribeBotAliasCommandOutput | DescribeBotCommandOutput | DescribeBotLocaleCommandOutput | DescribeBotRecommendationCommandOutput | DescribeBotVersionCommandOutput | DescribeCustomVocabularyMetadataCommandOutput | DescribeExportCommandOutput | DescribeImportCommandOutput | DescribeIntentCommandOutput | DescribeResourcePolicyCommandOutput | DescribeSlotCommandOutput | DescribeSlotTypeCommandOutput | ListAggregatedUtterancesCommandOutput | ListBotAliasesCommandOutput | ListBotLocalesCommandOutput | ListBotRecommendationsCommandOutput | ListBotVersionsCommandOutput | ListBotsCommandOutput | ListBuiltInIntentsCommandOutput | ListBuiltInSlotTypesCommandOutput | ListCustomVocabularyItemsCommandOutput | ListExportsCommandOutput | ListImportsCommandOutput | ListIntentsCommandOutput | ListRecommendedIntentsCommandOutput | ListSlotTypesCommandOutput | ListSlotsCommandOutput | ListTagsForResourceCommandOutput | SearchAssociatedTranscriptsCommandOutput | StartBotRecommendationCommandOutput | StartImportCommandOutput | StopBotRecommendationCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBotAliasCommandOutput | UpdateBotCommandOutput | UpdateBotLocaleCommandOutput | UpdateBotRecommendationCommandOutput | UpdateExportCommandOutput | UpdateIntentCommandOutput | UpdateResourcePolicyCommandOutput | UpdateSlotCommandOutput | UpdateSlotTypeCommandOutput;
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
84
93
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
85
94
|
/**
|
|
86
95
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
87
96
|
*/
|
|
88
97
|
requestHandler?: __HttpHandler;
|
|
89
98
|
/**
|
|
90
|
-
* A constructor for a class implementing the {@link
|
|
99
|
+
* A constructor for a class implementing the {@link @aws-sdk/types#ChecksumConstructor} interface
|
|
91
100
|
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
92
101
|
* @internal
|
|
93
102
|
*/
|
|
@@ -177,23 +186,34 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
177
186
|
*/
|
|
178
187
|
logger?: __Logger;
|
|
179
188
|
/**
|
|
180
|
-
* The {@link
|
|
189
|
+
* The {@link @aws-sdk/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
181
190
|
*/
|
|
182
191
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
183
192
|
}
|
|
193
|
+
/**
|
|
194
|
+
* @public
|
|
195
|
+
*/
|
|
184
196
|
type LexModelsV2ClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters;
|
|
185
197
|
/**
|
|
186
|
-
*
|
|
198
|
+
* @public
|
|
199
|
+
*
|
|
200
|
+
* The configuration interface of LexModelsV2Client class constructor that set the region, credentials and other options.
|
|
187
201
|
*/
|
|
188
202
|
export interface LexModelsV2ClientConfig extends LexModelsV2ClientConfigType {
|
|
189
203
|
}
|
|
204
|
+
/**
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
190
207
|
type LexModelsV2ClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters;
|
|
191
208
|
/**
|
|
192
|
-
*
|
|
209
|
+
* @public
|
|
210
|
+
*
|
|
211
|
+
* The resolved configuration interface of LexModelsV2Client class. This is resolved and normalized from the {@link LexModelsV2ClientConfig | constructor configuration interface}.
|
|
193
212
|
*/
|
|
194
213
|
export interface LexModelsV2ClientResolvedConfig extends LexModelsV2ClientResolvedConfigType {
|
|
195
214
|
}
|
|
196
215
|
/**
|
|
216
|
+
* @public
|
|
197
217
|
* <p></p>
|
|
198
218
|
*/
|
|
199
219
|
export declare class LexModelsV2Client extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LexModelsV2ClientResolvedConfig> {
|