Values.UpdatePromptRequestSourceModifies 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.
type nonrec t = {name : PromptName.t;A name for the prompt.
*)description : PromptDescription.t option;A description for the prompt.
*)customerEncryptionKeyArn : KmsKeyArn.t option;The Amazon Resource Name (ARN) of the KMS key to encrypt the prompt.
*)defaultVariant : PromptVariantName.t option;The name of the default variant for the prompt. This value must match the name field in the relevant PromptVariant object.
*)variants : PromptVariantList.t option;A list of objects, each containing details about a variant of the prompt.
*)promptIdentifier : PromptIdentifier.t;The unique identifier of the prompt.
*)}val make :
?description:??? ->
?customerEncryptionKeyArn:??? ->
?defaultVariant:??? ->
?variants:??? ->
name:PromptName.t ->
promptIdentifier:PromptIdentifier.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string * [> `String of PromptMetadataKey.t ])
list ]
list
| `String of PromptVariantName.t
| `Structure of
(string
* [> `Structure of
(string
* [> `Float of Temperature.t
| `Integer of MaximumLength.t
| `List of
[> `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `String of String_.t
| `Structure of
(string
* [> `Enum of string ])
list ])
list ]
list
| `String of
PromptInputVariableName.t
| `Structure of
(string * [> `Enum of string ])
list ])
list ]
list
| `String of TextPrompt.t
| `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Boolean of
Boolean.t
| `Enum of string
| `String of
ToolName.t
| `Structure of
(string
* [> `Structure of
'a list ])
list ])
list ])
list ]
list
| `Structure of
(string
* [> `Structure of
(string
* [> `String of ToolName.t ])
list ])
list ])
list ])
list ])
list ])
list ]
list
| `String of PromptName.t ])
list ]