amazonka-ec2-1.2.0: 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.DescribeImportSnapshotTasks

Contents

Description

Describes your import snapshot tasks.

See: AWS API Reference for DescribeImportSnapshotTasks.

Synopsis

Creating a Request

describeImportSnapshotTasks :: DescribeImportSnapshotTasks Source

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

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

Request Lenses

distImportTaskIds :: Lens' DescribeImportSnapshotTasks [Text] Source

A list of import snapshot task IDs.

distNextToken :: Lens' DescribeImportSnapshotTasks (Maybe Text) Source

A token that indicates the next page of results.

distDryRun :: Lens' DescribeImportSnapshotTasks (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.

distMaxResults :: Lens' DescribeImportSnapshotTasks (Maybe Int) Source

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

Destructuring the Response

describeImportSnapshotTasksResponse Source

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

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

Response Lenses

distrsNextToken :: Lens' DescribeImportSnapshotTasksResponse (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.

distrsImportSnapshotTasks :: Lens' DescribeImportSnapshotTasksResponse [ImportSnapshotTask] Source

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