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 |
Lists all of the import jobs.
Synopsis
- data ListImportJobs = ListImportJobs' {}
- newListImportJobs :: ListImportJobs
- listImportJobs_nextToken :: Lens' ListImportJobs (Maybe Text)
- listImportJobs_pageSize :: Lens' ListImportJobs (Maybe Int)
- listImportJobs_importDestinationType :: Lens' ListImportJobs (Maybe ImportDestinationType)
- data ListImportJobsResponse = ListImportJobsResponse' {
- importJobs :: Maybe [ImportJobSummary]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListImportJobsResponse :: Int -> ListImportJobsResponse
- listImportJobsResponse_importJobs :: Lens' ListImportJobsResponse (Maybe [ImportJobSummary])
- listImportJobsResponse_nextToken :: Lens' ListImportJobsResponse (Maybe Text)
- listImportJobsResponse_httpStatus :: Lens' ListImportJobsResponse Int
Creating a Request
data ListImportJobs Source #
Represents a request to list all of the import jobs for a data destination within the specified maximum number of import jobs.
See: newListImportJobs
smart constructor.
ListImportJobs' | |
|
Instances
newListImportJobs :: ListImportJobs Source #
Create a value of ListImportJobs
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:nextToken:ListImportJobs'
, listImportJobs_nextToken
- A string token indicating that there might be additional import jobs
available to be listed. Copy this token to a subsequent call to
ListImportJobs
with the same parameters to retrieve the next page of
import jobs.
$sel:pageSize:ListImportJobs'
, listImportJobs_pageSize
- Maximum number of import jobs to return at once. Use this parameter to
paginate results. If additional import jobs exist beyond the specified
limit, the NextToken
element is sent in the response. Use the
NextToken
value in subsequent requests to retrieve additional
addresses.
$sel:importDestinationType:ListImportJobs'
, listImportJobs_importDestinationType
- The destination of the import job, which can be used to list import jobs
that have a certain ImportDestinationType
.
Request Lenses
listImportJobs_nextToken :: Lens' ListImportJobs (Maybe Text) Source #
A string token indicating that there might be additional import jobs
available to be listed. Copy this token to a subsequent call to
ListImportJobs
with the same parameters to retrieve the next page of
import jobs.
listImportJobs_pageSize :: Lens' ListImportJobs (Maybe Int) Source #
Maximum number of import jobs to return at once. Use this parameter to
paginate results. If additional import jobs exist beyond the specified
limit, the NextToken
element is sent in the response. Use the
NextToken
value in subsequent requests to retrieve additional
addresses.
listImportJobs_importDestinationType :: Lens' ListImportJobs (Maybe ImportDestinationType) Source #
The destination of the import job, which can be used to list import jobs
that have a certain ImportDestinationType
.
Destructuring the Response
data ListImportJobsResponse Source #
An HTTP 200 response if the request succeeds, or an error message if the request fails.
See: newListImportJobsResponse
smart constructor.
ListImportJobsResponse' | |
|
Instances
newListImportJobsResponse Source #
Create a value of ListImportJobsResponse
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:importJobs:ListImportJobsResponse'
, listImportJobsResponse_importJobs
- A list of the import job summaries.
$sel:nextToken:ListImportJobs'
, listImportJobsResponse_nextToken
- A string token indicating that there might be additional import jobs
available to be listed. Copy this token to a subsequent call to
ListImportJobs
with the same parameters to retrieve the next page of
import jobs.
$sel:httpStatus:ListImportJobsResponse'
, listImportJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listImportJobsResponse_importJobs :: Lens' ListImportJobsResponse (Maybe [ImportJobSummary]) Source #
A list of the import job summaries.
listImportJobsResponse_nextToken :: Lens' ListImportJobsResponse (Maybe Text) Source #
A string token indicating that there might be additional import jobs
available to be listed. Copy this token to a subsequent call to
ListImportJobs
with the same parameters to retrieve the next page of
import jobs.
listImportJobsResponse_httpStatus :: Lens' ListImportJobsResponse Int Source #
The response's http status code.