---
title: "GET /list-import-file-task"
method: GET
path: "/list-import-file-task"
---

# GET /list-import-file-task

`GET /list-import-file-task`

Retrieves a list of all the imports performed.

## Query parameters

- `maxResults` integer
- `nextToken` string

## Response `200`

Success

- ListImportFileTaskResponse
  - `nextToken` string — The token you use to retrieve the next set of results, or null if there are no more results.
  - `taskInfos` ImportFileTaskInformation[] — Lists information about the files you import.
    - `completionTime` string, date-time — The time that the import task completes.
    - `id` string — The ID of the import file task.
    - `importName` string — The name of the import task given in <code>StartImportFileTask</code>.
    - `inputS3Bucket` string — The S3 bucket where the import file is located.
    - `inputS3Key` string — The Amazon S3 key name of the import file.
    - `numberOfRecordsFailed` integer — The number of records that failed to be imported.
    - `numberOfRecordsSuccess` integer — The number of records successfully imported.
    - `startTime` string, date-time — Start time of the import task.
    - `status` 'ImportInProgress' | 'ImportFailed' | 'ImportPartialSuccess' | 'ImportSuccess' | 'DeleteInProgress' | 'DeleteFailed' | 'DeletePartialSuccess' | 'DeleteSuccess' — Status of import file task.
    - `statusReportS3Bucket` string — The S3 bucket name for status report of import task.
    - `statusReportS3Key` string — The Amazon S3 key name for status report of import task. The report contains details about whether each record imported successfully or why it did not.

## Other responses

- `480` — AccessDeniedException
- `481` — ThrottlingException
- `482` — ValidationException
- `483` — InternalServerException

---

[API](https://skmtc.net/aws/apis/migrationhubstrategy.md) · [All operations](https://skmtc.net/aws/apis/migrationhubstrategy/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/migrationhubstrategy/versions/5fde79aed042/schema)
