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>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)
public static Output<GetAiPromptVersionResult> getAiPromptVersion(GetAiPromptVersionArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:wisdom:getAiPromptVersion
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AiPrompt stringId 
- 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.
- AiPrompt stringId 
- 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.
- aiPrompt StringId 
- 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.
- aiPrompt stringId 
- 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_ strid 
- 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.
- aiPrompt StringId 
- 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:
- AiPrompt stringArn 
- The ARN of the AI prompt.
- AiPrompt stringVersion Id 
- AssistantArn string
- VersionNumber double
- The version number for this AI Prompt version.
- AiPrompt stringArn 
- The ARN of the AI prompt.
- AiPrompt stringVersion Id 
- AssistantArn string
- VersionNumber float64
- The version number for this AI Prompt version.
- aiPrompt StringArn 
- The ARN of the AI prompt.
- aiPrompt StringVersion Id 
- assistantArn String
- versionNumber Double
- The version number for this AI Prompt version.
- aiPrompt stringArn 
- The ARN of the AI prompt.
- aiPrompt stringVersion Id 
- assistantArn string
- versionNumber number
- The version number for this AI Prompt version.
- ai_prompt_ strarn 
- The ARN of the AI prompt.
- ai_prompt_ strversion_ id 
- assistant_arn str
- version_number float
- The version number for this AI Prompt version.
- aiPrompt StringArn 
- The ARN of the AI prompt.
- aiPrompt StringVersion Id 
- 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