A version is a numbered snapshot of your work that you can publish for use in different parts of your workflow, such as development, beta deployment, and production.

Using getBotVersion

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getBotVersion(args: GetBotVersionArgs, opts?: InvokeOptions): Promise<GetBotVersionResult>
function getBotVersionOutput(args: GetBotVersionOutputArgs, opts?: InvokeOptions): Output<GetBotVersionResult>
def get_bot_version(bot_id: Optional[str] = None,
                    bot_version: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetBotVersionResult
def get_bot_version_output(bot_id: Optional[pulumi.Input[str]] = None,
                    bot_version: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetBotVersionResult]
func LookupBotVersion(ctx *Context, args *LookupBotVersionArgs, opts ...InvokeOption) (*LookupBotVersionResult, error)
func LookupBotVersionOutput(ctx *Context, args *LookupBotVersionOutputArgs, opts ...InvokeOption) LookupBotVersionResultOutput

> Note: This function is named LookupBotVersion in the Go SDK.

public static class GetBotVersion 
    public static Task<GetBotVersionResult> InvokeAsync(GetBotVersionArgs args, InvokeOptions? opts = null)
    public static Output<GetBotVersionResult> Invoke(GetBotVersionInvokeArgs args, InvokeOptions? opts = null)
public static CompletableFuture<GetBotVersionResult> getBotVersion(GetBotVersionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
  function: aws-native:lex:getBotVersion
    # arguments dictionary

The following arguments are supported:

BotId string
BotVersionValue string
BotId string
BotVersion string
botId String
botVersion String
botId string
botVersion string
botId String
botVersion String

getBotVersion Result

The following output properties are available:

BotVersion string
Description string
botVersion String
description String
botVersion string
description string
botVersion String
description String

Package Details