UNPKG

@pulumi/aws-native

Version:

The Pulumi AWS Cloud Control Provider enables you to build, deploy, and manage [any AWS resource that's supported by the AWS Cloud Control API](https://github.com/pulumi/pulumi-aws-native/blob/master/provider/cmd/pulumi-gen-aws-native/supported-types.txt)

76 lines (75 loc) 2.7 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Definition of AWS::Wisdom::AIPrompt Resource Type */ export declare function getAiPrompt(args: GetAiPromptArgs, opts?: pulumi.InvokeOptions): Promise<GetAiPromptResult>; export interface GetAiPromptArgs { /** * The identifier of the Amazon Q in Connect AI prompt. */ aiPromptId: string; /** * The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN. */ assistantId: string; } export interface GetAiPromptResult { /** * The Amazon Resource Name (ARN) of the AI Prompt. */ readonly aiPromptArn?: string; /** * The identifier of the Amazon Q in Connect AI prompt. */ readonly aiPromptId?: string; /** * The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant. */ readonly assistantArn?: string; /** * The description of the AI Prompt. */ readonly description?: string; /** * The identifier of the model used for this AI Prompt. The following model Ids are supported: * * - `anthropic.claude-3-haiku--v1:0` * - `apac.amazon.nova-lite-v1:0` * - `apac.amazon.nova-micro-v1:0` * - `apac.amazon.nova-pro-v1:0` * - `apac.anthropic.claude-3-5-sonnet--v2:0` * - `apac.anthropic.claude-3-haiku-20240307-v1:0` * - `eu.amazon.nova-lite-v1:0` * - `eu.amazon.nova-micro-v1:0` * - `eu.amazon.nova-pro-v1:0` * - `eu.anthropic.claude-3-7-sonnet-20250219-v1:0` * - `eu.anthropic.claude-3-haiku-20240307-v1:0` * - `us.amazon.nova-lite-v1:0` * - `us.amazon.nova-micro-v1:0` * - `us.amazon.nova-pro-v1:0` * - `us.anthropic.claude-3-5-haiku-20241022-v1:0` * - `us.anthropic.claude-3-7-sonnet-20250219-v1:0` * - `us.anthropic.claude-3-haiku-20240307-v1:0` */ readonly modelId?: string; readonly modifiedTimeSeconds?: number; /** * The configuration of the prompt template for this AI Prompt. */ readonly templateConfiguration?: outputs.wisdom.AiPromptAiPromptTemplateConfiguration; } /** * Definition of AWS::Wisdom::AIPrompt Resource Type */ export declare function getAiPromptOutput(args: GetAiPromptOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAiPromptResult>; export interface GetAiPromptOutputArgs { /** * The identifier of the Amazon Q in Connect AI prompt. */ aiPromptId: pulumi.Input<string>; /** * The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN. */ assistantId: pulumi.Input<string>; }