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 |
Cancels an in-progress batch import job.
Synopsis
- data CancelBatchImportJob = CancelBatchImportJob' {}
- newCancelBatchImportJob :: Text -> CancelBatchImportJob
- cancelBatchImportJob_jobId :: Lens' CancelBatchImportJob Text
- data CancelBatchImportJobResponse = CancelBatchImportJobResponse' {
- httpStatus :: Int
- newCancelBatchImportJobResponse :: Int -> CancelBatchImportJobResponse
- cancelBatchImportJobResponse_httpStatus :: Lens' CancelBatchImportJobResponse Int
Creating a Request
data CancelBatchImportJob Source #
See: newCancelBatchImportJob
smart constructor.
Instances
newCancelBatchImportJob Source #
Create a value of CancelBatchImportJob
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:jobId:CancelBatchImportJob'
, cancelBatchImportJob_jobId
- The ID of an in-progress batch import job to cancel.
Amazon Fraud Detector will throw an error if the batch import job is in
FAILED
, CANCELED
, or COMPLETED
state.
Request Lenses
cancelBatchImportJob_jobId :: Lens' CancelBatchImportJob Text Source #
The ID of an in-progress batch import job to cancel.
Amazon Fraud Detector will throw an error if the batch import job is in
FAILED
, CANCELED
, or COMPLETED
state.
Destructuring the Response
data CancelBatchImportJobResponse Source #
See: newCancelBatchImportJobResponse
smart constructor.
CancelBatchImportJobResponse' | |
|
Instances
newCancelBatchImportJobResponse Source #
Create a value of CancelBatchImportJobResponse
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:httpStatus:CancelBatchImportJobResponse'
, cancelBatchImportJobResponse_httpStatus
- The response's http status code.
Response Lenses
cancelBatchImportJobResponse_httpStatus :: Lens' CancelBatchImportJobResponse Int Source #
The response's http status code.