Module Values.ValidationExceptionSource

The input fails to satisfy the constraints specified by the service or business validation rules. Suggested action: Review the error message, including the failed fields and reasons, to correct the request payload.

Sourcetype nonrec t = {
  1. message : String_.t option;
  2. reason : ValidationExceptionReason.t option;
    (*

    The primary reason for this validation exception to occur. REQUEST_VALIDATION_FAILED: The request format is not valid. Fix: Verify your request payload includes all required fields, uses correct data types and string formats. BUSINESS_VALIDATION_FAILED: The requested change doesn't pass the business validation rules. Fix: Check that your change aligns with the business rules defined by AWS Partner Central.

    *)
  3. errorList : ValidationExceptionErrorList.t option;
    (*

    A list of issues that were discovered in the submitted request or the resource state.

    *)
}
Sourceval make : ?message:??? -> ?reason:??? -> ?errorList:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of String_.t ]) list ] list | `String of String_.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