Module Values.GetImportResponseSource

Returns information about a specific import.

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

    The ID of the import.

    *)
  2. destinations : ImportDestinations.t option;
    (*

    The ARN of the destination event data store.

    *)
  3. importSource : ImportSource.t option;
    (*

    The source S3 bucket.

    *)
  4. startEventTime : Date.t option;
    (*

    Used with EndEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

    *)
  5. endEventTime : Date.t option;
    (*

    Used with StartEventTime to bound a StartImport request, and limit imported trail events to only those events logged within a specified time period.

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

    The status of the import.

    *)
  7. createdTimestamp : Date.t option;
    (*

    The timestamp of the import's creation.

    *)
  8. updatedTimestamp : Date.t option;
    (*

    The timestamp of when the import was updated.

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

    Provides statistics for the import. CloudTrail does not update import statistics in real-time. Returned values for parameters such as EventsCompleted may be lower than the actual value, because CloudTrail updates statistics incrementally over the course of the import.

    *)
}
Sourcetype nonrec error = [
  1. | `ImportNotFoundException of ImportNotFoundException.t
  2. | `InvalidParameterException of InvalidParameterException.t
  3. | `OperationNotPermittedException of OperationNotPermittedException.t
  4. | `UnsupportedOperationException of UnsupportedOperationException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?importId:??? -> ?destinations:??? -> ?importSource:??? -> ?startEventTime:??? -> ?endEventTime:??? -> ?importStatus:??? -> ?createdTimestamp:??? -> ?updatedTimestamp:??? -> ?importStatistics:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `ImportNotFoundException of unit | `InvalidParameterException of unit | `OperationNotPermittedException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `ImportNotFoundException of unit | `InvalidParameterException of unit | `OperationNotPermittedException of unit | `Unknown_operation_error of string * string option | `UnsupportedOperationException of unit ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `String of EventDataStoreArn.t ] list | `String of UUID.t | `Structure of (string * [> `Long of Long.t | `Structure of (string * [> `String of String_.t ]) list ]) list | `Timestamp of Date.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