| 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 |
Amazonka.FraudDetector.GetBatchImportJobs
Description
Gets all batch import jobs or a specific job of the specified ID. This
is a paginated API. If you provide a null maxResults, this action
retrieves a maximum of 50 records per page. If you provide a
maxResults, the value must be between 1 and 50. To get the next page
results, provide the pagination token from the
GetBatchImportJobsResponse as part of your request. A null pagination
token fetches the records from the beginning.
Synopsis
- data GetBatchImportJobs = GetBatchImportJobs' {}
- newGetBatchImportJobs :: GetBatchImportJobs
- getBatchImportJobs_jobId :: Lens' GetBatchImportJobs (Maybe Text)
- getBatchImportJobs_maxResults :: Lens' GetBatchImportJobs (Maybe Natural)
- getBatchImportJobs_nextToken :: Lens' GetBatchImportJobs (Maybe Text)
- data GetBatchImportJobsResponse = GetBatchImportJobsResponse' {
- batchImports :: Maybe [BatchImport]
- nextToken :: Maybe Text
- httpStatus :: Int
- newGetBatchImportJobsResponse :: Int -> GetBatchImportJobsResponse
- getBatchImportJobsResponse_batchImports :: Lens' GetBatchImportJobsResponse (Maybe [BatchImport])
- getBatchImportJobsResponse_nextToken :: Lens' GetBatchImportJobsResponse (Maybe Text)
- getBatchImportJobsResponse_httpStatus :: Lens' GetBatchImportJobsResponse Int
Creating a Request
data GetBatchImportJobs Source #
See: newGetBatchImportJobs smart constructor.
Constructors
| GetBatchImportJobs' | |
Instances
newGetBatchImportJobs :: GetBatchImportJobs Source #
Create a value of GetBatchImportJobs 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:
GetBatchImportJobs, getBatchImportJobs_jobId - The ID of the batch import job to get.
$sel:maxResults:GetBatchImportJobs', getBatchImportJobs_maxResults - The maximum number of objects to return for request.
GetBatchImportJobs, getBatchImportJobs_nextToken - The next token from the previous request.
Request Lenses
getBatchImportJobs_jobId :: Lens' GetBatchImportJobs (Maybe Text) Source #
The ID of the batch import job to get.
getBatchImportJobs_maxResults :: Lens' GetBatchImportJobs (Maybe Natural) Source #
The maximum number of objects to return for request.
getBatchImportJobs_nextToken :: Lens' GetBatchImportJobs (Maybe Text) Source #
The next token from the previous request.
Destructuring the Response
data GetBatchImportJobsResponse Source #
See: newGetBatchImportJobsResponse smart constructor.
Constructors
| GetBatchImportJobsResponse' | |
Fields
| |
Instances
newGetBatchImportJobsResponse Source #
Create a value of GetBatchImportJobsResponse 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:batchImports:GetBatchImportJobsResponse', getBatchImportJobsResponse_batchImports - An array containing the details of each batch import job.
GetBatchImportJobs, getBatchImportJobsResponse_nextToken - The next token for the subsequent resquest.
$sel:httpStatus:GetBatchImportJobsResponse', getBatchImportJobsResponse_httpStatus - The response's http status code.
Response Lenses
getBatchImportJobsResponse_batchImports :: Lens' GetBatchImportJobsResponse (Maybe [BatchImport]) Source #
An array containing the details of each batch import job.
getBatchImportJobsResponse_nextToken :: Lens' GetBatchImportJobsResponse (Maybe Text) Source #
The next token for the subsequent resquest.
getBatchImportJobsResponse_httpStatus :: Lens' GetBatchImportJobsResponse Int Source #
The response's http status code.