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
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:
- Ai
Prompt stringId - The identifier of the Amazon Q in Connect AI prompt.
- Assistant
Id string - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Version
Number double - The version number for this AI Prompt version.
- Ai
Prompt stringId - The identifier of the Amazon Q in Connect AI prompt.
- Assistant
Id string - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Version
Number float64 - The version number for this AI Prompt version.
- ai
Prompt StringId - The identifier of the Amazon Q in Connect AI prompt.
- assistant
Id String - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- version
Number Double - The version number for this AI Prompt version.
- ai
Prompt stringId - The identifier of the Amazon Q in Connect AI prompt.
- assistant
Id string - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- version
Number 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.
- ai
Prompt StringId - The identifier of the Amazon Q in Connect AI prompt.
- assistant
Id String - The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.
- version
Number Number - The version number for this AI Prompt version.
getAiPromptVersion Result
The following output properties are available:
- Ai
Prompt stringArn - Ai
Prompt stringVersion Id - Assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- Version
Number double - The version number for this AI Prompt version.
- Ai
Prompt stringArn - Ai
Prompt stringVersion Id - Assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- Version
Number float64 - The version number for this AI Prompt version.
- ai
Prompt StringArn - ai
Prompt StringVersion Id - assistant
Arn String - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- version
Number Double - The version number for this AI Prompt version.
- ai
Prompt stringArn - ai
Prompt stringVersion Id - assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- version
Number number - The version number for this AI Prompt version.
- ai_
prompt_ strarn - ai_
prompt_ strversion_ id - 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.
- ai
Prompt StringArn - ai
Prompt StringVersion Id - assistant
Arn String - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- version
Number 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.9.0 published on Monday, Nov 18, 2024 by Pulumi