List Bot Versions
lexmodelsv2_list_bot_versions | R Documentation |
Gets information about all of the versions of a bot¶
Description¶
Gets information about all of the versions of a bot.
The list_bot_versions
operation returns a summary of each version of a
bot. For example, if a bot has three numbered versions, the
list_bot_versions
operation returns for summaries, one for each
numbered version and one for the DRAFT
version.
The list_bot_versions
operation always returns at least one version,
the DRAFT
version.
Usage¶
Arguments¶
botId
[required] The identifier of the bot to list versions for.
sortBy
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
maxResults
The maximum number of versions to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
nextToken
If the response to the
ListBotVersion
operation contains more results than specified in themaxResults
parameter, a token is returned in the response. Use that token in thenextToken
parameter to return the next page of results.
Value¶
A list with the following syntax:
list(
botId = "string",
botVersionSummaries = list(
list(
botName = "string",
botVersion = "string",
description = "string",
botStatus = "Creating"|"Available"|"Inactive"|"Deleting"|"Failed"|"Versioning"|"Importing"|"Updating",
creationDateTime = as.POSIXct(
"2015-01-01"
)
)
),
nextToken = "string"
)