Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Describes your import snapshot tasks.
This operation returns paginated results.
Synopsis
- data DescribeImportSnapshotTasks = DescribeImportSnapshotTasks' {}
- newDescribeImportSnapshotTasks :: DescribeImportSnapshotTasks
- describeImportSnapshotTasks_dryRun :: Lens' DescribeImportSnapshotTasks (Maybe Bool)
- describeImportSnapshotTasks_filters :: Lens' DescribeImportSnapshotTasks (Maybe [Filter])
- describeImportSnapshotTasks_importTaskIds :: Lens' DescribeImportSnapshotTasks (Maybe [Text])
- describeImportSnapshotTasks_maxResults :: Lens' DescribeImportSnapshotTasks (Maybe Int)
- describeImportSnapshotTasks_nextToken :: Lens' DescribeImportSnapshotTasks (Maybe Text)
- data DescribeImportSnapshotTasksResponse = DescribeImportSnapshotTasksResponse' {}
- newDescribeImportSnapshotTasksResponse :: Int -> DescribeImportSnapshotTasksResponse
- describeImportSnapshotTasksResponse_importSnapshotTasks :: Lens' DescribeImportSnapshotTasksResponse (Maybe [ImportSnapshotTask])
- describeImportSnapshotTasksResponse_nextToken :: Lens' DescribeImportSnapshotTasksResponse (Maybe Text)
- describeImportSnapshotTasksResponse_httpStatus :: Lens' DescribeImportSnapshotTasksResponse Int
Creating a Request
data DescribeImportSnapshotTasks Source #
See: newDescribeImportSnapshotTasks
smart constructor.
DescribeImportSnapshotTasks' | |
|
Instances
newDescribeImportSnapshotTasks :: DescribeImportSnapshotTasks Source #
Create a value of DescribeImportSnapshotTasks
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DescribeImportSnapshotTasks'
, describeImportSnapshotTasks_dryRun
- 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
.
$sel:filters:DescribeImportSnapshotTasks'
, describeImportSnapshotTasks_filters
- The filters.
$sel:importTaskIds:DescribeImportSnapshotTasks'
, describeImportSnapshotTasks_importTaskIds
- A list of import snapshot task IDs.
$sel:maxResults:DescribeImportSnapshotTasks'
, describeImportSnapshotTasks_maxResults
- The maximum number of results to return in a single call. To retrieve
the remaining results, make another call with the returned NextToken
value.
DescribeImportSnapshotTasks
, describeImportSnapshotTasks_nextToken
- A token that indicates the next page of results.
Request Lenses
describeImportSnapshotTasks_dryRun :: 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
.
describeImportSnapshotTasks_filters :: Lens' DescribeImportSnapshotTasks (Maybe [Filter]) Source #
The filters.
describeImportSnapshotTasks_importTaskIds :: Lens' DescribeImportSnapshotTasks (Maybe [Text]) Source #
A list of import snapshot task IDs.
describeImportSnapshotTasks_maxResults :: 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.
describeImportSnapshotTasks_nextToken :: Lens' DescribeImportSnapshotTasks (Maybe Text) Source #
A token that indicates the next page of results.
Destructuring the Response
data DescribeImportSnapshotTasksResponse Source #
See: newDescribeImportSnapshotTasksResponse
smart constructor.
DescribeImportSnapshotTasksResponse' | |
|
Instances
newDescribeImportSnapshotTasksResponse Source #
Create a value of DescribeImportSnapshotTasksResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:importSnapshotTasks:DescribeImportSnapshotTasksResponse'
, describeImportSnapshotTasksResponse_importSnapshotTasks
- A list of zero or more import snapshot tasks that are currently active
or were completed or canceled in the previous 7 days.
DescribeImportSnapshotTasks
, describeImportSnapshotTasksResponse_nextToken
- The token to use to get the next page of results. This value is null
when there are no more results to return.
$sel:httpStatus:DescribeImportSnapshotTasksResponse'
, describeImportSnapshotTasksResponse_httpStatus
- The response's http status code.
Response Lenses
describeImportSnapshotTasksResponse_importSnapshotTasks :: Lens' DescribeImportSnapshotTasksResponse (Maybe [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.
describeImportSnapshotTasksResponse_nextToken :: 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.
describeImportSnapshotTasksResponse_httpStatus :: Lens' DescribeImportSnapshotTasksResponse Int Source #
The response's http status code.