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.getAiPrompt
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::AIPrompt Resource Type
Using getAiPrompt
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 getAiPrompt(args: GetAiPromptArgs, opts?: InvokeOptions): Promise<GetAiPromptResult>
function getAiPromptOutput(args: GetAiPromptOutputArgs, opts?: InvokeOptions): Output<GetAiPromptResult>
def get_ai_prompt(ai_prompt_id: Optional[str] = None,
assistant_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAiPromptResult
def get_ai_prompt_output(ai_prompt_id: Optional[pulumi.Input[str]] = None,
assistant_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAiPromptResult]
func LookupAiPrompt(ctx *Context, args *LookupAiPromptArgs, opts ...InvokeOption) (*LookupAiPromptResult, error)
func LookupAiPromptOutput(ctx *Context, args *LookupAiPromptOutputArgs, opts ...InvokeOption) LookupAiPromptResultOutput
> Note: This function is named LookupAiPrompt
in the Go SDK.
public static class GetAiPrompt
{
public static Task<GetAiPromptResult> InvokeAsync(GetAiPromptArgs args, InvokeOptions? opts = null)
public static Output<GetAiPromptResult> Invoke(GetAiPromptInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAiPromptResult> getAiPrompt(GetAiPromptArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:wisdom:getAiPrompt
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.
- 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.
- 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.
- 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.
- 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.
- 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.
getAiPrompt Result
The following output properties are available:
- Ai
Prompt stringArn - The Amazon Resource Name (ARN) of the AI Prompt.
- Ai
Prompt stringId - The identifier of the Amazon Q in Connect AI prompt.
- Assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- Description string
- The description of the AI Prompt.
- Template
Configuration Pulumi.Aws Native. Wisdom. Outputs. Ai Prompt Ai Prompt Template Configuration - The configuration of the prompt template for this AI Prompt.
- Ai
Prompt stringArn - The Amazon Resource Name (ARN) of the AI Prompt.
- Ai
Prompt stringId - The identifier of the Amazon Q in Connect AI prompt.
- Assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- Description string
- The description of the AI Prompt.
- Template
Configuration AiPrompt Ai Prompt Template Configuration - The configuration of the prompt template for this AI Prompt.
- ai
Prompt StringArn - The Amazon Resource Name (ARN) of the AI Prompt.
- ai
Prompt StringId - The identifier of the Amazon Q in Connect AI prompt.
- assistant
Arn String - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- description String
- The description of the AI Prompt.
- template
Configuration AiPrompt Ai Prompt Template Configuration - The configuration of the prompt template for this AI Prompt.
- ai
Prompt stringArn - The Amazon Resource Name (ARN) of the AI Prompt.
- ai
Prompt stringId - The identifier of the Amazon Q in Connect AI prompt.
- assistant
Arn string - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- description string
- The description of the AI Prompt.
- template
Configuration AiPrompt Ai Prompt Template Configuration - The configuration of the prompt template for this AI Prompt.
- ai_
prompt_ strarn - The Amazon Resource Name (ARN) of the AI Prompt.
- ai_
prompt_ strid - The identifier of the Amazon Q in Connect AI prompt.
- assistant_
arn str - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- description str
- The description of the AI Prompt.
- template_
configuration AiPrompt Ai Prompt Template Configuration - The configuration of the prompt template for this AI Prompt.
- ai
Prompt StringArn - The Amazon Resource Name (ARN) of the AI Prompt.
- ai
Prompt StringId - The identifier of the Amazon Q in Connect AI prompt.
- assistant
Arn String - The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
- description String
- The description of the AI Prompt.
- template
Configuration Property Map - The configuration of the prompt template for this AI Prompt.
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