Modifies a prompt in your prompt library. Include both fields that you want to keep and fields that you want to replace. For more information, see Prompt management in Amazon Bedrock and Edit prompts in your prompt library in the Amazon Bedrock User Guide.
See https://www.paws-r-sdk.com/docs/bedrockagent_update_prompt/ for full documentation.
bedrockagent_update_prompt(
customerEncryptionKeyArn = NULL,
defaultVariant = NULL,
description = NULL,
name,
promptIdentifier,
variants = NULL
)
The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
The name of the default variant for the prompt. This value must match
the name
field in the relevant
PromptVariant
object.
A description for the prompt.
[required] A name for the prompt.
[required] The unique identifier of the prompt.
A list of objects, each containing details about a variant of the prompt.