Module Values.GetGuardrailRequestSource

Gets details about a guardrail. If you don't specify a version, the response returns details for the DRAFT version.

Sourcetype nonrec t = {
  1. guardrailIdentifier : GuardrailIdentifier.t;
    (*

    The unique identifier of the guardrail for which to get details. This can be an ID or the ARN.

    *)
  2. guardrailVersion : GuardrailVersion.t option;
    (*

    The version of the guardrail for which to get details. If you don't specify a version, the response returns details for the DRAFT version.

    *)
}
Sourceval context_ : string
Sourceval make : ?guardrailVersion:??? -> guardrailIdentifier:GuardrailIdentifier.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of GuardrailIdentifier.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