DescribeImportTasks
Important
AWS Application Discovery Service will discontinue onboarding new customers starting November 7, 2025. If you would like to use the service, please sign up prior to November 7, 2025. Existing customers can continue to use the service as normal. For more information, see AWS Application Discovery Service availability change.
Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
Request Syntax
{
"filters": [
{
"name": "string
",
"values": [ "string
" ]
}
],
"maxResults": number
,
"nextToken": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- filters
-
An array of name-value pairs that you provide to filter the results for the
DescribeImportTask
request to a specific subset of results. Currently, wildcard values aren't supported for filters.Type: Array of ImportTaskFilter objects
Required: No
- maxResults
-
The maximum number of results that you want this request to return, up to 100.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 100.
Required: No
- nextToken
-
The token to request a specific page of results.
Type: String
Required: No
Response Syntax
{
"nextToken": "string",
"tasks": [
{
"applicationImportFailure": number,
"applicationImportSuccess": number,
"clientRequestToken": "string",
"errorsAndFailedEntriesZip": "string",
"fileClassification": "string",
"importCompletionTime": number,
"importDeletedTime": number,
"importRequestTime": number,
"importTaskId": "string",
"importUrl": "string",
"name": "string",
"serverImportFailure": number,
"serverImportSuccess": number,
"status": "string"
}
]
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
- nextToken
-
The token to request the next page of results.
Type: String
- tasks
-
A returned array of import tasks that match any applied filters, up to the specified number of maximum results.
Type: Array of ImportTask objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- AuthorizationErrorException
-
The user does not have permission to perform the action. Check the IAM policy associated with this user.
HTTP Status Code: 400
- HomeRegionNotSetException
-
Important
AWS Application Discovery Service will discontinue onboarding new customers starting November 7, 2025. If you would like to use the service, please sign up prior to November 7, 2025. Existing customers can continue to use the service as normal. For more information, see AWS Application Discovery Service availability change.
The home Region is not set. Set the home Region to continue.
HTTP Status Code: 400
- InvalidParameterException
-
One or more parameters are not valid. Verify the parameters and try again.
HTTP Status Code: 400
- InvalidParameterValueException
-
The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.
HTTP Status Code: 400
- ServerInternalErrorException
-
The server experienced an internal error. Try again.
HTTP Status Code: 500
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: