Skip to content

/AWS1/CL_LM2=>STARTBOTRESOURCEGENERATION()

About StartBotResourceGeneration

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 DescribeBotResourceGeneration operation to check on the status of the generation and for the generatedBotLocaleUrl 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.

Method Signature

IMPORTING

Required arguments:

IV_GENERATIONINPUTPROMPT TYPE /AWS1/LM2GENERATIONINPUT /AWS1/LM2GENERATIONINPUT

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

IV_BOTID TYPE /AWS1/LM2ID /AWS1/LM2ID

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

IV_BOTVERSION TYPE /AWS1/LM2BOTVERSION /AWS1/LM2BOTVERSION

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

IV_LOCALEID TYPE /AWS1/LM2LOCALEID /AWS1/LM2LOCALEID

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

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LM2STRTBOTRESRCGENE01 /AWS1/CL_LM2STRTBOTRESRCGENE01