Module Values.CreateScanResponseSource

Use to create a scan using code uploaded to an Amazon S3 bucket.

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. resourceId : ResourceId.t option;
    (*

    The identifier for the resource object that contains resources that were scanned.

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

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

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

    The ARN for the scan name.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `ValidationException of ValidationException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?scanName:??? -> ?runId:??? -> ?resourceId:??? -> ?scanState:??? -> ?scanNameArn:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `ConflictException of ConflictException.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 | `ConflictException of ConflictException.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 | `String of ScanName.t | `Structure of (string * [> `String of Uuid.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