1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. wisdom
  5. getAiPromptVersion

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.wisdom.getAiPromptVersion

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Definition of AWS::Wisdom::AIPromptVersion Resource Type

    Using getAiPromptVersion

    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 getAiPromptVersion(args: GetAiPromptVersionArgs, opts?: InvokeOptions): Promise<GetAiPromptVersionResult>
    function getAiPromptVersionOutput(args: GetAiPromptVersionOutputArgs, opts?: InvokeOptions): Output<GetAiPromptVersionResult>
    def get_ai_prompt_version(ai_prompt_id: Optional[str] = None,
                              assistant_id: Optional[str] = None,
                              version_number: Optional[float] = None,
                              opts: Optional[InvokeOptions] = None) -> GetAiPromptVersionResult
    def get_ai_prompt_version_output(ai_prompt_id: Optional[pulumi.Input[str]] = None,
                              assistant_id: Optional[pulumi.Input[str]] = None,
                              version_number: Optional[pulumi.Input[float]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[GetAiPromptVersionResult]
    func LookupAiPromptVersion(ctx *Context, args *LookupAiPromptVersionArgs, opts ...InvokeOption) (*LookupAiPromptVersionResult, error)
    func LookupAiPromptVersionOutput(ctx *Context, args *LookupAiPromptVersionOutputArgs, opts ...InvokeOption) LookupAiPromptVersionResultOutput

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

    public static class GetAiPromptVersion 
    {
        public static Task<GetAiPromptVersionResult> InvokeAsync(GetAiPromptVersionArgs args, InvokeOptions? opts = null)
        public static Output<GetAiPromptVersionResult> Invoke(GetAiPromptVersionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAiPromptVersionResult> getAiPromptVersion(GetAiPromptVersionArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:wisdom:getAiPromptVersion
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AiPromptId string
    The identifier of the Amazon Q in Connect AI prompt.
    AssistantId string
    The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
    VersionNumber double
    The version number for this AI Prompt version.
    AiPromptId string
    The identifier of the Amazon Q in Connect AI prompt.
    AssistantId string
    The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
    VersionNumber float64
    The version number for this AI Prompt version.
    aiPromptId String
    The identifier of the Amazon Q in Connect AI prompt.
    assistantId String
    The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
    versionNumber Double
    The version number for this AI Prompt version.
    aiPromptId string
    The identifier of the Amazon Q in Connect AI prompt.
    assistantId string
    The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
    versionNumber number
    The version number for this AI Prompt version.
    ai_prompt_id str
    The identifier of the Amazon Q in Connect AI prompt.
    assistant_id str
    The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
    version_number float
    The version number for this AI Prompt version.
    aiPromptId String
    The identifier of the Amazon Q in Connect AI prompt.
    assistantId String
    The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
    versionNumber Number
    The version number for this AI Prompt version.

    getAiPromptVersion Result

    The following output properties are available:

    AiPromptArn string
    AiPromptVersionId string
    AssistantArn string
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    VersionNumber double
    The version number for this AI Prompt version.
    AiPromptArn string
    AiPromptVersionId string
    AssistantArn string
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    VersionNumber float64
    The version number for this AI Prompt version.
    aiPromptArn String
    aiPromptVersionId String
    assistantArn String
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    versionNumber Double
    The version number for this AI Prompt version.
    aiPromptArn string
    aiPromptVersionId string
    assistantArn string
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    versionNumber number
    The version number for this AI Prompt version.
    ai_prompt_arn str
    ai_prompt_version_id str
    assistant_arn str
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    version_number float
    The version number for this AI Prompt version.
    aiPromptArn String
    aiPromptVersionId String
    assistantArn String
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    versionNumber Number
    The version number for this AI Prompt version.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi