Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

lexmodelbuildingservice_get_bot_versions

Gets information about all of the versions of a bot


Description

Gets information about all of the versions of a bot.

The get_bot_versions operation returns a BotMetadata object for each version of a bot. For example, if a bot has three numbered versions, the get_bot_versions operation returns four BotMetadata objects in the response, one for each numbered version and one for the $LATEST version.

The get_bot_versions operation always returns at least one version, the $LATEST version.

This operation requires permissions for the lex:GetBotVersions action.

Usage

lexmodelbuildingservice_get_bot_versions(name, nextToken, maxResults)

Arguments

name

[required] The name of the bot for which versions should be returned.

nextToken

A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.

maxResults

The maximum number of bot versions to return in the response. The default is 10.

Value

A list with the following syntax:

list(
  bots = list(
    list(
      name = "string",
      description = "string",
      status = "BUILDING"|"READY"|"READY_BASIC_TESTING"|"FAILED"|"NOT_BUILT",
      lastUpdatedDate = as.POSIXct(
        "2015-01-01"
      ),
      createdDate = as.POSIXct(
        "2015-01-01"
      ),
      version = "string"
    )
  ),
  nextToken = "string"
)

Request syntax

svc$get_bot_versions(
  name = "string",
  nextToken = "string",
  maxResults = 123
)

paws.machine.learning

Amazon Web Services Machine Learning Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.