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