v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14107861793.8 KB

Returns information about a request to generate a bot through natural language description, made through the <code>StartBotResource</code> API. Use the <code>generatedBotLocaleUrl</code> to retrieve the Amazon S3 object containing the bot locale configuration. You can then modify and import this configuration.

get/bots/{botId}/botversions/{botVersion}/botlocales/{localeId}/generations/{generationId}

Path parameters

botIdstring required

The unique identifier of the bot for which to return the generation details.

botVersionstring required

The version of the bot for which to return the generation details.

localeIdstring required

The locale of the bot for which to return the generation details.

generationIdstring required

The unique identifier of the generation request for which to return the generation details.

Response

Success

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.

generationIdstring

The generation ID for which to return the generation details.

failureReasonsFailureReason[]

A list of reasons why the generation of bot resources through natural language description failed.

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

The status of the generation request.

generationInputPromptstring

The prompt used in the generation request.

generatedBotLocaleUrlstring

The Amazon S3 location of the generated bot locale configuration.

creationDateTimestring date-time

The date and time at which the item was generated.

modelArnstring

The ARN of the model used to generate the bot resources.

lastUpdatedDateTimestring date-time

The date and time at which the generated item was updated.