Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Describes your import snapshot tasks.
- describeImportSnapshotTasks :: DescribeImportSnapshotTasks
- data DescribeImportSnapshotTasks
- distFilters :: Lens' DescribeImportSnapshotTasks [Filter]
- distImportTaskIds :: Lens' DescribeImportSnapshotTasks [Text]
- distNextToken :: Lens' DescribeImportSnapshotTasks (Maybe Text)
- distDryRun :: Lens' DescribeImportSnapshotTasks (Maybe Bool)
- distMaxResults :: Lens' DescribeImportSnapshotTasks (Maybe Int)
- describeImportSnapshotTasksResponse :: Int -> DescribeImportSnapshotTasksResponse
- data DescribeImportSnapshotTasksResponse
- distrsNextToken :: Lens' DescribeImportSnapshotTasksResponse (Maybe Text)
- distrsImportSnapshotTasks :: Lens' DescribeImportSnapshotTasksResponse [ImportSnapshotTask]
- distrsResponseStatus :: Lens' DescribeImportSnapshotTasksResponse Int
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:
data DescribeImportSnapshotTasks Source #
Contains the parameters for DescribeImportSnapshotTasks.
See: describeImportSnapshotTasks
smart constructor.
Request Lenses
distFilters :: Lens' DescribeImportSnapshotTasks [Filter] Source #
One or more filters.
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 call. To retrieve
the remaining results, make another call with the returned NextToken
value.
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:
data DescribeImportSnapshotTasksResponse Source #
Contains the output for DescribeImportSnapshotTasks.
See: describeImportSnapshotTasksResponse
smart constructor.
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.
distrsResponseStatus :: Lens' DescribeImportSnapshotTasksResponse Int Source #
The response status code.