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 |
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:
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
Generic CancelBatchImportJobResponse Source # | |
Read CancelBatchImportJobResponse Source # | |
Show CancelBatchImportJobResponse Source # | |
Defined in Amazonka.FraudDetector.CancelBatchImportJob showsPrec :: Int -> CancelBatchImportJobResponse -> ShowS # show :: CancelBatchImportJobResponse -> String # showList :: [CancelBatchImportJobResponse] -> ShowS # | |
NFData CancelBatchImportJobResponse Source # | |
Defined in Amazonka.FraudDetector.CancelBatchImportJob rnf :: CancelBatchImportJobResponse -> () # | |
Eq CancelBatchImportJobResponse Source # | |
type Rep CancelBatchImportJobResponse Source # | |
Defined in Amazonka.FraudDetector.CancelBatchImportJob type Rep CancelBatchImportJobResponse = D1 ('MetaData "CancelBatchImportJobResponse" "Amazonka.FraudDetector.CancelBatchImportJob" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "CancelBatchImportJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.