Gets all batch import jobs or a specific job of the specified ID¶
Description¶
Gets all batch import jobs or a specific job of the specified ID. This is a paginated API. If you provide a null maxResults, this action retrieves a maximum of 50 records per page. If you provide a maxResults, the value must be between 1 and 50. To get the next page results, provide the pagination token from the GetBatchImportJobsResponse as part of your request. A null pagination token fetches the records from the beginning.
Usage¶
Arguments¶
-
jobIdThe ID of the batch import job to get.
-
maxResultsThe maximum number of objects to return for request.
-
nextTokenThe next token from the previous request.
Value¶
A list with the following syntax:
list(
batchImports = list(
list(
jobId = "string",
status = "IN_PROGRESS_INITIALIZING"|"IN_PROGRESS"|"CANCEL_IN_PROGRESS"|"CANCELED"|"COMPLETE"|"FAILED",
failureReason = "string",
startTime = "string",
completionTime = "string",
inputPath = "string",
outputPath = "string",
eventTypeName = "string",
iamRoleArn = "string",
arn = "string",
processedRecordsCount = 123,
failedRecordsCount = 123,
totalRecordsCount = 123
)
),
nextToken = "string"
)