| 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.CancelBatchImportJob
Description
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.
Constructors
| CancelBatchImportJob' | |
Instances
newCancelBatchImportJob Source #
Arguments
| :: Text | |
| -> CancelBatchImportJob |
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:
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.
Constructors
| CancelBatchImportJobResponse' | |
Fields
| |
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.