Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Returns an array of import tasks for your account, including status information, times, IDs, the Amazon S3 Object URL for the import file, and more.
Synopsis
- data DescribeImportTasks = DescribeImportTasks' {
- filters :: Maybe [ImportTaskFilter]
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- newDescribeImportTasks :: DescribeImportTasks
- describeImportTasks_filters :: Lens' DescribeImportTasks (Maybe [ImportTaskFilter])
- describeImportTasks_nextToken :: Lens' DescribeImportTasks (Maybe Text)
- describeImportTasks_maxResults :: Lens' DescribeImportTasks (Maybe Natural)
- data DescribeImportTasksResponse = DescribeImportTasksResponse' {
- tasks :: Maybe [ImportTask]
- nextToken :: Maybe Text
- httpStatus :: Int
- newDescribeImportTasksResponse :: Int -> DescribeImportTasksResponse
- describeImportTasksResponse_tasks :: Lens' DescribeImportTasksResponse (Maybe [ImportTask])
- describeImportTasksResponse_nextToken :: Lens' DescribeImportTasksResponse (Maybe Text)
- describeImportTasksResponse_httpStatus :: Lens' DescribeImportTasksResponse Int
Creating a Request
data DescribeImportTasks Source #
See: newDescribeImportTasks
smart constructor.
DescribeImportTasks' | |
|
Instances
newDescribeImportTasks :: DescribeImportTasks Source #
Create a value of DescribeImportTasks
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:filters:DescribeImportTasks'
, describeImportTasks_filters
- An array of name-value pairs that you provide to filter the results for
the DescribeImportTask
request to a specific subset of results.
Currently, wildcard values aren't supported for filters.
$sel:nextToken:DescribeImportTasks'
, describeImportTasks_nextToken
- The token to request a specific page of results.
$sel:maxResults:DescribeImportTasks'
, describeImportTasks_maxResults
- The maximum number of results that you want this request to return, up
to 100.
Request Lenses
describeImportTasks_filters :: Lens' DescribeImportTasks (Maybe [ImportTaskFilter]) Source #
An array of name-value pairs that you provide to filter the results for
the DescribeImportTask
request to a specific subset of results.
Currently, wildcard values aren't supported for filters.
describeImportTasks_nextToken :: Lens' DescribeImportTasks (Maybe Text) Source #
The token to request a specific page of results.
describeImportTasks_maxResults :: Lens' DescribeImportTasks (Maybe Natural) Source #
The maximum number of results that you want this request to return, up to 100.
Destructuring the Response
data DescribeImportTasksResponse Source #
See: newDescribeImportTasksResponse
smart constructor.
DescribeImportTasksResponse' | |
|
Instances
newDescribeImportTasksResponse Source #
Create a value of DescribeImportTasksResponse
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:tasks:DescribeImportTasksResponse'
, describeImportTasksResponse_tasks
- A returned array of import tasks that match any applied filters, up to
the specified number of maximum results.
$sel:nextToken:DescribeImportTasks'
, describeImportTasksResponse_nextToken
- The token to request the next page of results.
$sel:httpStatus:DescribeImportTasksResponse'
, describeImportTasksResponse_httpStatus
- The response's http status code.
Response Lenses
describeImportTasksResponse_tasks :: Lens' DescribeImportTasksResponse (Maybe [ImportTask]) Source #
A returned array of import tasks that match any applied filters, up to the specified number of maximum results.
describeImportTasksResponse_nextToken :: Lens' DescribeImportTasksResponse (Maybe Text) Source #
The token to request the next page of results.
describeImportTasksResponse_httpStatus :: Lens' DescribeImportTasksResponse Int Source #
The response's http status code.