Module Values.GetScanResponseSource

Returns details about a scan, including whether or not a scan has completed.

Sourcetype nonrec t = {
  1. scanName : ScanName.t option;
    (*

    The name of the scan.

    *)
  2. runId : Uuid.t option;
    (*

    UUID that identifies the individual scan run.

    *)
  3. scanState : ScanState.t option;
    (*

    The current state of the scan. Returns either InProgress, Successful, or Failed.

    *)
  4. createdAt : Timestamp.t option;
    (*

    The time the scan was created.

    *)
  5. analysisType : AnalysisType.t option;
    (*

    The type of analysis CodeGuru Security performed in the scan, either Security or All. The Security type only generates findings related to security. The All type generates both security findings and quality findings.

    *)
  6. updatedAt : Timestamp.t option;
    (*

    The time when the scan was last updated. Only available for STANDARD scan types.

    *)
  7. numberOfRevisions : Long.t option;
    (*

    The number of times a scan has been re-run on a revised resource.

    *)
  8. scanNameArn : ScanNameArn.t option;
    (*

    The ARN for the scan name.

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

    Details about the error that causes a scan to fail to be retrieved.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?scanName:??? -> ?runId:??? -> ?scanState:??? -> ?createdAt:??? -> ?analysisType:??? -> ?updatedAt:??? -> ?numberOfRevisions:??? -> ?scanNameArn:??? -> ?errorMessage:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option | `ValidationException of ValidationException.t ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of Long.t | `String of ScanName.t | `Timestamp of Timestamp.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