Module Values.DiagnosticsSource

Diagnostic information about executable scripts that are part of a deployment.

Sourcetype nonrec t = {
  1. errorCode : LifecycleErrorCode.t option;
    (*

    The associated error code: Success: The specified script ran. ScriptMissing: The specified script was not found in the specified location. ScriptNotExecutable: The specified script is not a recognized executable file type. ScriptTimedOut: The specified script did not finish running in the specified time period. ScriptFailed: The specified script failed to run as expected. UnknownError: The specified script did not run for an unknown reason.

    *)
  2. scriptName : ScriptName.t option;
    (*

    The name of the script.

    *)
  3. message : LifecycleMessage.t option;
    (*

    The message associated with the error.

    *)
  4. logTail : LogTail.t option;
    (*

    The last portion of the diagnostic log. If available, CodeDeploy returns up to the last 4 KB of the diagnostic log.

    *)
}
Sourceval make : ?errorCode:??? -> ?scriptName:??? -> ?message:??? -> ?logTail:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of ScriptName.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