Gets detailed information about the individual batches within an import task, including their status and any error messages¶
Description¶
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.
Usage¶
Arguments¶
-
importId[required] The ID of the import task to get batch information for.
-
batchImportStatusOptional filter to list import batches by their status. Accepts multiple status values: IN_PROGRESS, CANCELLED, COMPLETED and FAILED.
-
limitThe maximum number of import batches to return in the response. Default: 10
-
nextTokenThe pagination token for the next set of results.
Value¶
A list with the following syntax:
list(
importSourceArn = "string",
importId = "string",
importBatches = list(
list(
batchId = "string",
status = "IN_PROGRESS"|"CANCELLED"|"COMPLETED"|"FAILED",
errorMessage = "string"
)
),
nextToken = "string"
)