Module Values.CreateGuardrailVersionRequestSource

Creates a version of the guardrail. Use this API to create a snapshot of the guardrail when you are satisfied with a configuration, or to compare the configuration with another version.

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

    The unique identifier of the guardrail. This can be an ID or the ARN.

    *)
  2. description : GuardrailDescription.t option;
    (*

    A description of the guardrail version.

    *)
  3. clientRequestToken : IdempotencyToken.t option;
    (*

    A unique, case-sensitive identifier to ensure that the API request completes no more than once. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency in the Amazon S3 User Guide.

    *)
}
Sourceval context_ : string
Sourceval make : ?description:??? -> ?clientRequestToken:??? -> 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