Skip to content

CreatePromptResponse

Source code in docs_src/capo_bedrock_agent/types/create_prompt_response.py
class CreatePromptResponse(TypedDict, closed=True):
    name: "capo_bedrock_agent.types.prompt_name.PromptName"
    """<p>The name of the prompt.</p>"""
    description: NotRequired[
        "capo_bedrock_agent.types.prompt_description.PromptDescription"
    ]
    """<p>The description of the prompt.</p>"""
    customer_encryption_key_arn: NotRequired[
        "capo_bedrock_agent.types.kms_key_arn.KmsKeyArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the KMS key that you encrypted the prompt with.</p>"""
    default_variant: NotRequired[
        "capo_bedrock_agent.types.prompt_variant_name.PromptVariantName"
    ]
    """<p>The name of the default variant for your prompt.</p>"""
    variants: NotRequired[
        "capo_bedrock_agent.types.prompt_variant_list.PromptVariantList"
    ]
    """<p>A list of objects, each containing details about a variant of the prompt.</p>"""
    id: "capo_bedrock_agent.types.prompt_id.PromptId"
    """<p>The unique identifier of the prompt.</p>"""
    arn: "capo_bedrock_agent.types.prompt_arn.PromptArn"
    """<p>The Amazon Resource Name (ARN) of the prompt.</p>"""
    version: "capo_bedrock_agent.types.version.Version"
    """<p>The version of the prompt. When you create a prompt, the version created is the <code>DRAFT</code> version.</p>"""
    created_at: "capo_bedrock_agent.types.date_timestamp.DateTimestamp"
    """<p>The time at which the prompt was created.</p>"""
    updated_at: "capo_bedrock_agent.types.date_timestamp.DateTimestamp"
    """<p>The time at which the prompt was last updated.</p>"""

arn instance-attribute

arn: PromptArn

The Amazon Resource Name (ARN) of the prompt.

created_at instance-attribute

created_at: DateTimestamp

The time at which the prompt was created.

customer_encryption_key_arn instance-attribute

customer_encryption_key_arn: NotRequired[KmsKeyArn]

The Amazon Resource Name (ARN) of the KMS key that you encrypted the prompt with.

default_variant instance-attribute

default_variant: NotRequired[PromptVariantName]

The name of the default variant for your prompt.

description instance-attribute

description: NotRequired[PromptDescription]

The description of the prompt.

id instance-attribute

The unique identifier of the prompt.

name instance-attribute

name: PromptName

The name of the prompt.

updated_at instance-attribute

updated_at: DateTimestamp

The time at which the prompt was last updated.

variants instance-attribute

variants: NotRequired[PromptVariantList]

A list of objects, each containing details about a variant of the prompt.

version instance-attribute

version: Version

The version of the prompt. When you create a prompt, the version created is the DRAFT version.