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 the specified batch prediction job.
Synopsis
- data CancelBatchPredictionJob = CancelBatchPredictionJob' {}
- newCancelBatchPredictionJob :: Text -> CancelBatchPredictionJob
- cancelBatchPredictionJob_jobId :: Lens' CancelBatchPredictionJob Text
- data CancelBatchPredictionJobResponse = CancelBatchPredictionJobResponse' {
- httpStatus :: Int
- newCancelBatchPredictionJobResponse :: Int -> CancelBatchPredictionJobResponse
- cancelBatchPredictionJobResponse_httpStatus :: Lens' CancelBatchPredictionJobResponse Int
Creating a Request
data CancelBatchPredictionJob Source #
See: newCancelBatchPredictionJob
smart constructor.
Instances
newCancelBatchPredictionJob Source #
Create a value of CancelBatchPredictionJob
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:CancelBatchPredictionJob'
, cancelBatchPredictionJob_jobId
- The ID of the batch prediction job to cancel.
Request Lenses
cancelBatchPredictionJob_jobId :: Lens' CancelBatchPredictionJob Text Source #
The ID of the batch prediction job to cancel.
Destructuring the Response
data CancelBatchPredictionJobResponse Source #
See: newCancelBatchPredictionJobResponse
smart constructor.
CancelBatchPredictionJobResponse' | |
|
Instances
Eq CancelBatchPredictionJobResponse Source # | |
Read CancelBatchPredictionJobResponse Source # | |
Show CancelBatchPredictionJobResponse Source # | |
Generic CancelBatchPredictionJobResponse Source # | |
NFData CancelBatchPredictionJobResponse Source # | |
Defined in Amazonka.FraudDetector.CancelBatchPredictionJob rnf :: CancelBatchPredictionJobResponse -> () # | |
type Rep CancelBatchPredictionJobResponse Source # | |
Defined in Amazonka.FraudDetector.CancelBatchPredictionJob type Rep CancelBatchPredictionJobResponse = D1 ('MetaData "CancelBatchPredictionJobResponse" "Amazonka.FraudDetector.CancelBatchPredictionJob" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "CancelBatchPredictionJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCancelBatchPredictionJobResponse Source #
Create a value of CancelBatchPredictionJobResponse
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:CancelBatchPredictionJobResponse'
, cancelBatchPredictionJobResponse_httpStatus
- The response's http status code.
Response Lenses
cancelBatchPredictionJobResponse_httpStatus :: Lens' CancelBatchPredictionJobResponse Int Source #
The response's http status code.