getBot

abstract suspend fun getBot(input: GetBotRequest): GetBotResponse

Returns metadata information for a specific bot. You must provide the bot name and the bot version or alias.

This operation requires permissions for the lex:GetBot action.

Samples

// This example shows how to get configuration information for a bot.
val resp = lexModelBuildingClient.getBot {
    name = "DocOrderPizza"
    versionOrAlias = "$LATEST"
}