Module Values.DeletePromptRequestSource

Deletes a prompt or a version of it, depending on whether you include the promptVersion field or not. For more information, see Delete prompts from the Prompt management tool and Delete a version of a prompt from the Prompt management tool in the Amazon Bedrock User Guide.

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

    The unique identifier of the prompt.

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

    The version of the prompt to delete. To delete the prompt, omit this field.

    *)
}
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