Menu
Amazon Elastic Compute Cloud
API Reference (API Version 2016-11-15)

DescribeImportImageTasks

Displays details about an import virtual machine or import snapshot tasks that are already created.

Request Parameters

The following parameters are for this specific action. For more information about required and optional parameters that are common to all actions, see Common Query Parameters.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Type: Boolean

Required: No

Filters.N

Filter tasks using the task-state filter and one of the following values: active, completed, deleting, deleted.

Type: Array of Filter objects

Required: No

ImportTaskId.N

A list of import image task IDs.

Type: Array of strings

Required: No

MaxResults

The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

Type: Integer

Required: No

NextToken

A token that indicates the next page of results.

Type: String

Required: No

Response Elements

The following elements are returned by the service.

importImageTaskSet

A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.

Type: Array of ImportImageTask objects

nextToken

The token to use to get the next page of results. This value is null when there are no more results to return.

Type: String

requestId

The ID of the request.

Type: String

Errors

For information about the errors that are common to all actions, see Common Errors.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: