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

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

Description

Synopsis

# Creating a Request

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:

• distFilters - One or more filters.
• distImportTaskIds - A list of import snapshot task IDs.
• distNextToken - A token that indicates the next page of results.
• distDryRun - 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 - 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: describeImportSnapshotTasks smart constructor.

Instances

# Request Lenses

One or more filters.

A list of import snapshot 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 distrsResponseStatus -> DescribeImportSnapshotTasksResponse

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:

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

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