Module Values.DescribeImportTaskBatchesResponseSource

Gets detailed information about the individual batches within an import task, including their status and any error messages. For CloudTrail Event Data Store sources, a batch refers to a subset of stored events grouped by their eventTime.

Sourcetype nonrec t = {
  1. importSourceArn : Arn.t option;
    (*

    The ARN of the source being imported from.

    *)
  2. importId : ImportId.t option;
    (*

    The ID of the import task.

    *)
  3. importBatches : ImportBatchList.t option;
    (*

    The list of import batches that match the request filters.

    *)
  4. nextToken : NextToken.t option;
    (*

    The token to use when requesting the next set of results. Not present if there are no additional results to retrieve.

    *)
}
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 : ?importSourceArn:??? -> ?importId:??? -> ?importBatches:??? -> ?nextToken:??? -> 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 * [> `List of [> `Structure of (string * [> `Enum of string | `String of BatchId.t ]) list ] list | `String of Arn.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