Skip to content

Describe Bot Resource Generation

lexmodelsv2_describe_bot_resource_generation R Documentation

Returns information about a request to generate a bot through natural language description, made through the StartBotResource API

Description

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

Usage

lexmodelsv2_describe_bot_resource_generation(botId, botVersion,
  localeId, generationId)

Arguments

botId

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

botVersion

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

localeId

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

generationId

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

Value

A list with the following syntax:

list(
  botId = "string",
  botVersion = "string",
  localeId = "string",
  generationId = "string",
  failureReasons = list(
    "string"
  ),
  generationStatus = "Failed"|"Complete"|"InProgress",
  generationInputPrompt = "string",
  generatedBotLocaleUrl = "string",
  creationDateTime = as.POSIXct(
    "2015-01-01"
  ),
  modelArn = "string",
  lastUpdatedDateTime = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$describe_bot_resource_generation(
  botId = "string",
  botVersion = "string",
  localeId = "string",
  generationId = "string"
)