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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeImportImageTasks

Contents

Description

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

See: AWS API Reference for DescribeImportImageTasks.

Synopsis

Creating a Request

describeImportImageTasks :: DescribeImportImageTasks Source

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:

Request Lenses

diitImportTaskIds :: Lens' DescribeImportImageTasks [Text] Source

A list of import image task IDs.

diitNextToken :: Lens' DescribeImportImageTasks (Maybe Text) Source

A token that indicates the next page of results.

diitDryRun :: Lens' DescribeImportImageTasks (Maybe Bool) Source

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 :: Lens' DescribeImportImageTasks (Maybe Int) Source

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

Destructuring the Response

describeImportImageTasksResponse Source

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:

Response Lenses

diitrsNextToken :: Lens' DescribeImportImageTasksResponse (Maybe Text) Source

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

diitrsImportImageTasks :: Lens' DescribeImportImageTasksResponse [ImportImageTask] Source

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