Skip to content

AIPromptData

Source code in docs_src/capo_qconnect/types/ai_prompt_data.py
class AIPromptData(TypedDict, closed=True):
    assistant_id: "capo_qconnect.types.uuid.Uuid"
    """<p>The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>"""
    assistant_arn: "capo_qconnect.types.arn.Arn"
    """<p>The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.</p>"""
    ai_prompt_id: "capo_qconnect.types.uuid.Uuid"
    """<p>The identifier of the Amazon Q in Connect AI prompt.</p>"""
    ai_prompt_arn: "capo_qconnect.types.arn.Arn"
    """<p>The Amazon Resource Name (ARN) of the AI Prompt.</p>"""
    name: "capo_qconnect.types.name.Name"
    """<p>The name of the AI Prompt</p>"""
    type: "capo_qconnect.types.ai_prompt_type.AIPromptType"
    """<p>The type of this AI Prompt.</p>"""
    template_type: "capo_qconnect.types.ai_prompt_template_type.AIPromptTemplateType"
    """<p>The type of the prompt template for this AI Prompt.</p>"""
    model_id: "capo_qconnect.types.ai_prompt_model_identifier.AIPromptModelIdentifier"
    """<p>The identifier of the model used for this AI Prompt. The following model Ids are supported:</p> <ul> <li> <p> <code>anthropic.claude-3-haiku--v1:0</code> </p> </li> <li> <p> <code>apac.amazon.nova-lite-v1:0</code> </p> </li> <li> <p> <code>apac.amazon.nova-micro-v1:0</code> </p> </li> <li> <p> <code>apac.amazon.nova-pro-v1:0</code> </p> </li> <li> <p> <code>apac.anthropic.claude-3-5-sonnet--v2:0</code> </p> </li> <li> <p> <code>apac.anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> <li> <p> <code>eu.amazon.nova-lite-v1:0</code> </p> </li> <li> <p> <code>eu.amazon.nova-micro-v1:0</code> </p> </li> <li> <p> <code>eu.amazon.nova-pro-v1:0</code> </p> </li> <li> <p> <code>eu.anthropic.claude-3-7-sonnet-20250219-v1:0</code> </p> </li> <li> <p> <code>eu.anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> <li> <p> <code>us.amazon.nova-lite-v1:0</code> </p> </li> <li> <p> <code>us.amazon.nova-micro-v1:0</code> </p> </li> <li> <p> <code>us.amazon.nova-pro-v1:0</code> </p> </li> <li> <p> <code>us.anthropic.claude-3-5-haiku-20241022-v1:0</code> </p> </li> <li> <p> <code>us.anthropic.claude-3-7-sonnet-20250219-v1:0</code> </p> </li> <li> <p> <code>us.anthropic.claude-3-haiku-20240307-v1:0</code> </p> </li> </ul>"""
    api_format: "capo_qconnect.types.ai_prompt_api_format.AIPromptAPIFormat"
    """<p>The API format used for this AI Prompt.</p>"""
    template_configuration: "capo_qconnect.types.ai_prompt_template_configuration.AIPromptTemplateConfiguration"
    """<p>The configuration of the prompt template for this AI Prompt.</p>"""
    inference_configuration: NotRequired[
        "capo_qconnect.types.ai_prompt_inference_configuration.AIPromptInferenceConfiguration"
    ]
    """<p>The configuration for inference parameters when using the AI Prompt.</p>"""
    modified_time: NotRequired["datetime.datetime"]
    """<p>The time the AI Prompt was last modified.</p>"""
    description: NotRequired["capo_qconnect.types.description.Description"]
    """<p>The description of the AI Prompt.</p>"""
    visibility_status: "capo_qconnect.types.visibility_status.VisibilityStatus"
    """<p>The visibility status of the AI Prompt.</p>"""
    tags: NotRequired["capo_qconnect.types.tags.Tags"]
    """<p>The tags used to organize, track, or control access for this resource.</p>"""
    origin: NotRequired["capo_qconnect.types.origin.Origin"]
    """<p>The origin of the AI Prompt. <code>SYSTEM</code> for a default AI Prompt created by Q in Connect or <code>CUSTOMER</code> for an AI Prompt created by calling AI Prompt creation APIs. </p>"""
    status: NotRequired["capo_qconnect.types.status.Status"]
    """<p>The status of the AI Prompt.</p>"""

ai_prompt_arn instance-attribute

ai_prompt_arn: Arn

The Amazon Resource Name (ARN) of the AI Prompt.

ai_prompt_id instance-attribute

ai_prompt_id: Uuid

The identifier of the Amazon Q in Connect AI prompt.

api_format instance-attribute

api_format: AIPromptAPIFormat

The API format used for this AI Prompt.

assistant_arn instance-attribute

assistant_arn: Arn

The Amazon Resource Name (ARN) of the Amazon Q in Connect assistant.

assistant_id instance-attribute

assistant_id: Uuid

The identifier of the Amazon Q in Connect assistant. Can be either the ID or the ARN. URLs cannot contain the ARN.

description instance-attribute

description: NotRequired[Description]

The description of the AI Prompt.

inference_configuration instance-attribute

inference_configuration: NotRequired[AIPromptInferenceConfiguration]

The configuration for inference parameters when using the AI Prompt.

model_id instance-attribute

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

modified_time instance-attribute

modified_time: NotRequired[datetime]

The time the AI Prompt was last modified.

name instance-attribute

name: Name

The name of the AI Prompt

origin instance-attribute

origin: NotRequired[Origin]

The origin of the AI Prompt. SYSTEM for a default AI Prompt created by Q in Connect or CUSTOMER for an AI Prompt created by calling AI Prompt creation APIs.

status instance-attribute

status: NotRequired[Status]

The status of the AI Prompt.

tags instance-attribute

tags: NotRequired[Tags]

The tags used to organize, track, or control access for this resource.

template_configuration instance-attribute

template_configuration: AIPromptTemplateConfiguration

The configuration of the prompt template for this AI Prompt.

template_type instance-attribute

template_type: AIPromptTemplateType

The type of the prompt template for this AI Prompt.

type instance-attribute

The type of this AI Prompt.

visibility_status instance-attribute

visibility_status: VisibilityStatus

The visibility status of the AI Prompt.