Skip to content

CreatePromptVersionRequest

Source code in docs_src/capo_bedrock_agent/types/create_prompt_version_request.py
class CreatePromptVersionRequest(TypedDict, closed=True):
    prompt_identifier: "capo_bedrock_agent.types.prompt_identifier.PromptIdentifier"
    """<p>The unique identifier of the prompt that you want to create a version of.</p>"""
    description: NotRequired[
        "capo_bedrock_agent.types.prompt_description.PromptDescription"
    ]
    """<p>A description for the version of the prompt.</p>"""
    client_token: NotRequired["capo_bedrock_agent.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>"""
    tags: NotRequired["capo_bedrock_agent.types.tags_map.TagsMap"]
    """<p>Any tags that you want to attach to the version of the prompt. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tagging resources in Amazon Bedrock</a>.</p>"""

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

description instance-attribute

description: NotRequired[PromptDescription]

A description for the version of the prompt.

prompt_identifier instance-attribute

prompt_identifier: PromptIdentifier

The unique identifier of the prompt that you want to create a version of.

tags instance-attribute

tags: NotRequired[TagsMap]

Any tags that you want to attach to the version of the prompt. For more information, see Tagging resources in Amazon Bedrock.