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.26.0 published on Wednesday, Mar 12, 2025 by Pulumi

aws-native.wisdom.getAiPromptVersion

Explore with Pulumi AI

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 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>
Copy
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]
Copy
func LookupAiPromptVersion(ctx *Context, args *LookupAiPromptVersionArgs, opts ...InvokeOption) (*LookupAiPromptVersionResult, error)
func LookupAiPromptVersionOutput(ctx *Context, args *LookupAiPromptVersionOutputArgs, opts ...InvokeOption) LookupAiPromptVersionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetAiPromptVersionResult> getAiPromptVersion(GetAiPromptVersionArgs args, InvokeOptions options)
public static Output<GetAiPromptVersionResult> getAiPromptVersion(GetAiPromptVersionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:wisdom:getAiPromptVersion
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AiPromptId This property is required. string
The identifier of the Amazon Q in Connect AI prompt.
AssistantId This property is required. string
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
VersionNumber This property is required. double
The version number for this AI Prompt version.
AiPromptId This property is required. string
The identifier of the Amazon Q in Connect AI prompt.
AssistantId This property is required. string
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
VersionNumber This property is required. float64
The version number for this AI Prompt version.
aiPromptId This property is required. String
The identifier of the Amazon Q in Connect AI prompt.
assistantId This property is required. String
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
versionNumber This property is required. Double
The version number for this AI Prompt version.
aiPromptId This property is required. string
The identifier of the Amazon Q in Connect AI prompt.
assistantId This property is required. string
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
versionNumber This property is required. number
The version number for this AI Prompt version.
ai_prompt_id This property is required. str
The identifier of the Amazon Q in Connect AI prompt.
assistant_id This property is required. 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 This property is required. float
The version number for this AI Prompt version.
aiPromptId This property is required. String
The identifier of the Amazon Q in Connect AI prompt.
assistantId This property is required. String
The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
versionNumber This property is required. Number
The version number for this AI Prompt version.

getAiPromptVersion Result

The following output properties are available:

AiPromptArn string
The ARN of the AI prompt.
AiPromptVersionId string
AssistantArn string
VersionNumber double
The version number for this AI Prompt version.
AiPromptArn string
The ARN of the AI prompt.
AiPromptVersionId string
AssistantArn string
VersionNumber float64
The version number for this AI Prompt version.
aiPromptArn String
The ARN of the AI prompt.
aiPromptVersionId String
assistantArn String
versionNumber Double
The version number for this AI Prompt version.
aiPromptArn string
The ARN of the AI prompt.
aiPromptVersionId string
assistantArn string
versionNumber number
The version number for this AI Prompt version.
ai_prompt_arn str
The ARN of the AI prompt.
ai_prompt_version_id str
assistant_arn str
version_number float
The version number for this AI Prompt version.
aiPromptArn String
The ARN of the AI prompt.
aiPromptVersionId String
assistantArn String
versionNumber Number
The version number for this AI Prompt version.

Package Details

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

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

AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi