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.
-
sortBySpecifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
-
maxResultsThe 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.
-
nextTokenIf the response to the
ListBotVersionoperation contains more results than specified in themaxResultsparameter, a token is returned in the response. Use that token in thenextTokenparameter 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"
)