Skip to content

Lists the generation requests made for a bot locale

Description

Lists the generation requests made for a bot locale.

Usage

lexmodelsv2_list_bot_resource_generations(botId, botVersion, localeId,
  sortBy, maxResults, nextToken)

Arguments

  • botId

    [required] The unique identifier of the bot whose generation requests you want to view.

  • botVersion

    [required] The version of the bot whose generation requests you want to view.

  • localeId

    [required] The locale of the bot whose generation requests you want to view.

  • sortBy

    An object containing information about the attribute and the method by which to sort the results

  • maxResults

    The maximum number of results to return in the response.

  • nextToken

    If the total number of results is greater than the number specified in the maxResults, the response returns a token in the nextToken field. Use this token when making a request to return the next batch of results.

Value

A list with the following syntax:

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

Request syntax

svc$list_bot_resource_generations(
  botId = "string",
  botVersion = "string",
  localeId = "string",
  sortBy = list(
    attribute = "creationStartTime"|"lastUpdatedTime",
    order = "Ascending"|"Descending"
  ),
  maxResults = 123,
  nextToken = "string"
)