Values.GetPromptResponseSourceRetrieves information about the working draft (DRAFT version) of a prompt or a version of it, depending on whether you include the promptVersion field or not. For more information, see View information about prompts using Prompt management and View information about a version of your prompt in the Amazon Bedrock User Guide.
type nonrec t = {name : PromptName.t option;The name of the prompt.
*)description : PromptDescription.t option;The descriptino of the prompt.
*)customerEncryptionKeyArn : KmsKeyArn.t option;The Amazon Resource Name (ARN) of the KMS key that the prompt is encrypted with.
*)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.
*)id : PromptId.t option;The unique identifier of the prompt.
*)arn : PromptArn.t option;The Amazon Resource Name (ARN) of the prompt or the prompt version (if you specified a version in the request).
*)version : Version.t option;The version of the prompt.
*)createdAt : DateTimestamp.t option;The time at which the prompt was created.
*)updatedAt : DateTimestamp.t option;The time at which the prompt was last updated.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val 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
| `Timestamp of DateTimestamp.t ])
list ]