getBotVersions
inline suspend fun LexModelBuildingClient.getBotVersions(crossinline block: GetBotVersionsRequest.Builder.() -> Unit): GetBotVersionsResponse
Gets information about all of the versions of a bot.
The GetBotVersions
operation returns a BotMetadata
object for each version of a bot. For example, if a bot has three numbered versions, the GetBotVersions
operation returns four BotMetadata
objects in the response, one for each numbered version and one for the $LATEST
version.
The GetBotVersions
operation always returns at least one version, the $LATEST
version.
This operation requires permissions for the lex:GetBotVersions
action.