DescribeImportImageTasks - Amazon Elastic Compute Cloud

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, or deleted.

Type: Array of Filter objects

Required: No

ImportTaskId.N

The IDs of the import image tasks.

Type: Array of strings

Required: No

MaxResults

The maximum number of results to return in a single call.

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 client error codes.

See Also

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