amazonka-ec2-1.4.5: Amazon Elastic Compute Cloud SDK.

Copyright (c) 2013-2016 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

# Creating a Request

Creates a value of DescribeImportImageTasks with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• diitFilters - Filter tasks using the task-state filter and one of the following values: active, completed, deleting, deleted.
• diitImportTaskIds - A list of import image task IDs.
• diitNextToken - A token that indicates the next page of results.
• diitDryRun - 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 .
• diitMaxResults - The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

See: describeImportImageTasks smart constructor.

Instances

# Request Lenses

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

A list of import image task IDs.

A token that indicates the next page of results.

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 .

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

# Destructuring the Response

Arguments

 :: Int diitrsResponseStatus -> DescribeImportImageTasksResponse

Creates a value of DescribeImportImageTasksResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

• diitrsNextToken - The token to use to get the next page of results. This value is null when there are no more results to return.
• diitrsImportImageTasks - A list of zero or more import image tasks that are currently active or were completed or canceled in the previous 7 days.
• diitrsResponseStatus - -- | The response status code.

See: describeImportImageTasksResponse smart constructor.

Instances

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