Module Values.BatchCreateDelegationByAssessmentErrorSource

An error entity for the BatchCreateDelegationByAssessment API. This is used to provide more meaningful errors than a simple string message.

Sourcetype nonrec t = {
  1. createDelegationRequest : CreateDelegationRequest.t option;
    (*

    The API request to batch create delegations in Audit Manager.

    *)
  2. errorCode : ErrorCode.t option;
    (*

    The error code that the BatchCreateDelegationByAssessment API returned.

    *)
  3. errorMessage : ErrorMessage.t option;
    (*

    The error message that the BatchCreateDelegationByAssessment API returned.

    *)
}
Sourceval make : ?createDelegationRequest:??? -> ?errorCode:??? -> ?errorMessage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of ErrorCode.t | `Structure of (string * [> `Enum of string | `String of DelegationComment.t ]) list ]) 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