v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14107861793.8 KB

Starts a request for the descriptive bot builder to generate a bot locale configuration based on the prompt you provide it. After you make this call, use the <code>DescribeBotResourceGeneration</code> operation to check on the status of the generation and for the <code>generatedBotLocaleUrl</code> when the generation is complete. Use that value to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.

put/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/startgeneration

Path parameters

botIdstring required

The unique identifier of the bot for which to generate intents and slot types.

botVersionstring required

The version of the bot for which to generate intents and slot types.

localeIdstring required

The locale of the bot for which to generate intents and slot types.

Request body

generationInputPromptstring required

The prompt to generate intents and slot types for the bot locale. Your description should be both <i>detailed</i> and <i>precise</i> to help generate appropriate and sufficient intents for your bot. Include a list of actions to improve the intent creation process.

Response

Success

generationInputPromptstring

The prompt that was used generate intents and slot types for the bot locale.

generationIdstring

The unique identifier of the generation request.

botIdstring

The unique identifier of the bot for which the generation request was made.

botVersionstring

The version of the bot for which the generation request was made.

localeIdstring

The locale of the bot for which the generation request was made.

generationStatus'Failed' | 'Complete' | 'InProgress'

The status of the generation request.

creationDateTimestring date-time

The date and time at which the generation request was made.