1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. wisdom
  5. getAiPrompt

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

aws-native logo

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:

    AiPromptId string
    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.
    AiPromptId string
    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.
    aiPromptId String
    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.
    aiPromptId string
    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.
    ai_prompt_id str
    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.
    aiPromptId String
    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.

    getAiPrompt Result

    The following output properties are available:

    AiPromptArn string
    The Amazon Resource Name (ARN) of the AI Prompt.
    AiPromptId string
    The identifier of the Amazon Q in Connect AI prompt.
    AssistantArn string
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    Description string
    The description of the AI Prompt.
    TemplateConfiguration Pulumi.AwsNative.Wisdom.Outputs.AiPromptAiPromptTemplateConfiguration
    The configuration of the prompt template for this AI Prompt.
    AiPromptArn string
    The Amazon Resource Name (ARN) of the AI Prompt.
    AiPromptId string
    The identifier of the Amazon Q in Connect AI prompt.
    AssistantArn string
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    Description string
    The description of the AI Prompt.
    TemplateConfiguration AiPromptAiPromptTemplateConfiguration
    The configuration of the prompt template for this AI Prompt.
    aiPromptArn String
    The Amazon Resource Name (ARN) of the AI Prompt.
    aiPromptId String
    The identifier of the Amazon Q in Connect AI prompt.
    assistantArn String
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    description String
    The description of the AI Prompt.
    templateConfiguration AiPromptAiPromptTemplateConfiguration
    The configuration of the prompt template for this AI Prompt.
    aiPromptArn string
    The Amazon Resource Name (ARN) of the AI Prompt.
    aiPromptId string
    The identifier of the Amazon Q in Connect AI prompt.
    assistantArn string
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    description string
    The description of the AI Prompt.
    templateConfiguration AiPromptAiPromptTemplateConfiguration
    The configuration of the prompt template for this AI Prompt.
    ai_prompt_arn str
    The Amazon Resource Name (ARN) of the AI Prompt.
    ai_prompt_id str
    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 AiPromptAiPromptTemplateConfiguration
    The configuration of the prompt template for this AI Prompt.
    aiPromptArn String
    The Amazon Resource Name (ARN) of the AI Prompt.
    aiPromptId String
    The identifier of the Amazon Q in Connect AI prompt.
    assistantArn String
    The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.
    description String
    The description of the AI Prompt.
    templateConfiguration 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
    aws-native logo

    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