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 |
Displays details about an import virtual machine or import snapshot tasks that are already created.
This operation returns paginated results.
Synopsis
- data DescribeImportImageTasks = DescribeImportImageTasks' {}
- newDescribeImportImageTasks :: DescribeImportImageTasks
- describeImportImageTasks_dryRun :: Lens' DescribeImportImageTasks (Maybe Bool)
- describeImportImageTasks_filters :: Lens' DescribeImportImageTasks (Maybe [Filter])
- describeImportImageTasks_importTaskIds :: Lens' DescribeImportImageTasks (Maybe [Text])
- describeImportImageTasks_maxResults :: Lens' DescribeImportImageTasks (Maybe Int)
- describeImportImageTasks_nextToken :: Lens' DescribeImportImageTasks (Maybe Text)
- data DescribeImportImageTasksResponse = DescribeImportImageTasksResponse' {}
- newDescribeImportImageTasksResponse :: Int -> DescribeImportImageTasksResponse
- describeImportImageTasksResponse_importImageTasks :: Lens' DescribeImportImageTasksResponse (Maybe [ImportImageTask])
- describeImportImageTasksResponse_nextToken :: Lens' DescribeImportImageTasksResponse (Maybe Text)
- describeImportImageTasksResponse_httpStatus :: Lens' DescribeImportImageTasksResponse Int
Creating a Request
data DescribeImportImageTasks Source #
See: newDescribeImportImageTasks
smart constructor.
DescribeImportImageTasks' | |
|
Instances
newDescribeImportImageTasks :: DescribeImportImageTasks Source #
Create a value of DescribeImportImageTasks
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:DescribeImportImageTasks'
, describeImportImageTasks_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:DescribeImportImageTasks'
, describeImportImageTasks_filters
- Filter tasks using the task-state
filter and one of the following
values: active
, completed
, deleting
, or deleted
.
$sel:importTaskIds:DescribeImportImageTasks'
, describeImportImageTasks_importTaskIds
- The IDs of the import image tasks.
$sel:maxResults:DescribeImportImageTasks'
, describeImportImageTasks_maxResults
- The maximum number of results to return in a single call.
DescribeImportImageTasks
, describeImportImageTasks_nextToken
- A token that indicates the next page of results.
Request Lenses
describeImportImageTasks_dryRun :: 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
.
describeImportImageTasks_filters :: Lens' DescribeImportImageTasks (Maybe [Filter]) Source #
Filter tasks using the task-state
filter and one of the following
values: active
, completed
, deleting
, or deleted
.
describeImportImageTasks_importTaskIds :: Lens' DescribeImportImageTasks (Maybe [Text]) Source #
The IDs of the import image tasks.
describeImportImageTasks_maxResults :: Lens' DescribeImportImageTasks (Maybe Int) Source #
The maximum number of results to return in a single call.
describeImportImageTasks_nextToken :: Lens' DescribeImportImageTasks (Maybe Text) Source #
A token that indicates the next page of results.
Destructuring the Response
data DescribeImportImageTasksResponse Source #
See: newDescribeImportImageTasksResponse
smart constructor.
DescribeImportImageTasksResponse' | |
|
Instances
newDescribeImportImageTasksResponse Source #
Create a value of DescribeImportImageTasksResponse
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:importImageTasks:DescribeImportImageTasksResponse'
, describeImportImageTasksResponse_importImageTasks
- A list of zero or more import image tasks that are currently active or
were completed or canceled in the previous 7 days.
DescribeImportImageTasks
, describeImportImageTasksResponse_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:DescribeImportImageTasksResponse'
, describeImportImageTasksResponse_httpStatus
- The response's http status code.
Response Lenses
describeImportImageTasksResponse_importImageTasks :: Lens' DescribeImportImageTasksResponse (Maybe [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.
describeImportImageTasksResponse_nextToken :: 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.
describeImportImageTasksResponse_httpStatus :: Lens' DescribeImportImageTasksResponse Int Source #
The response's http status code.