Module Values.ImportSource

An import job to move data from CloudTrail Event Data Store to CloudWatch.

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

    The unique identifier of the import task.

    *)
  2. importSourceArn : Arn.t option;
    (*

    The ARN of the CloudTrail Lake Event Data Store being imported from.

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

    The current status of the import task. Valid values are IN_PROGRESS, CANCELLED, COMPLETED and FAILED.

    *)
  4. importDestinationArn : Arn.t option;
    (*

    The ARN of the managed CloudWatch Logs log group where the events are being imported to.

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

    Statistics about the import progress

    *)
  6. importFilter : ImportFilter.t option;
    (*

    The filter criteria used for this import task.

    *)
  7. 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.

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

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

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

    Error message related to any failed imports

    *)
}
Sourceval make : ?importId:??? -> ?importSourceArn:??? -> ?importStatus:??? -> ?importDestinationArn:??? -> ?importStatistics:??? -> ?importFilter:??? -> ?creationTime:??? -> ?lastUpdatedTime:??? -> ?errorMessage:??? -> unit -> 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