Module Values.GetPromptRequestSource

Retrieves 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.

Sourcetype nonrec t = {
  1. promptIdentifier : PromptIdentifier.t;
    (*

    The unique identifier of the prompt.

    *)
  2. promptVersion : Version.t option;
    (*

    The version of the prompt about which you want to retrieve information. Omit this field to return information about the working draft of the prompt.

    *)
}
Sourceval context_ : string
Sourceval make : ?promptVersion:??? -> promptIdentifier:PromptIdentifier.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of PromptIdentifier.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t