Module Values.CancelImportTaskResponseSource

Cancels an active import task and stops importing data from the CloudTrail Lake Event Data Store.

Sourcetype nonrec t = {
  1. importId : ImportId.t option;
    (*

    The ID of the cancelled import task.

    *)
  2. importStatistics : ImportStatistics.t option;
    (*

    Statistics about the import progress at the time of cancellation.

    *)
  3. importStatus : ImportStatus.t option;
    (*

    The final status of the import task. This will be set to CANCELLED.

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

    The timestamp when the import task was created, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

    *)
  5. lastUpdatedTime : Timestamp.t option;
    (*

    The timestamp when the import task was cancelled, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InvalidOperationException of InvalidOperationException.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?importId:??? -> ?importStatistics:??? -> ?importStatus:??? -> ?creationTime:??? -> ?lastUpdatedTime:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of unit | `InvalidOperationException of unit | `InvalidParameterException of unit | `ResourceNotFoundException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of unit | `InvalidOperationException of unit | `InvalidParameterException of unit | `ResourceNotFoundException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of Timestamp.t | `String of ImportId.t | `Structure of (string * [> `Long of StoredBytes.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