CreatePromptRequest
¶
Source code in docs_src/capo_bedrock_agent/types/create_prompt_request.py
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.
customer_encryption_key_arn
instance-attribute
¶
customer_encryption_key_arn: NotRequired[KmsKeyArn]
The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
default_variant
instance-attribute
¶
default_variant: NotRequired[PromptVariantName]
The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
description
instance-attribute
¶
description: NotRequired[PromptDescription]
A description for the prompt.
tags
instance-attribute
¶
tags: NotRequired[TagsMap]
Any tags that you want to attach to the prompt. For more information, see Tagging resources in Amazon Bedrock.
variants
instance-attribute
¶
variants: NotRequired[PromptVariantList]
A list of objects, each containing details about a variant of the prompt.