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 |
Creates a batch prediction job.
Synopsis
- data CreateBatchPredictionJob = CreateBatchPredictionJob' {
- detectorVersion :: Maybe Text
- tags :: Maybe [Tag]
- jobId :: Text
- inputPath :: Text
- outputPath :: Text
- eventTypeName :: Text
- detectorName :: Text
- iamRoleArn :: Text
- newCreateBatchPredictionJob :: Text -> Text -> Text -> Text -> Text -> Text -> CreateBatchPredictionJob
- createBatchPredictionJob_detectorVersion :: Lens' CreateBatchPredictionJob (Maybe Text)
- createBatchPredictionJob_tags :: Lens' CreateBatchPredictionJob (Maybe [Tag])
- createBatchPredictionJob_jobId :: Lens' CreateBatchPredictionJob Text
- createBatchPredictionJob_inputPath :: Lens' CreateBatchPredictionJob Text
- createBatchPredictionJob_outputPath :: Lens' CreateBatchPredictionJob Text
- createBatchPredictionJob_eventTypeName :: Lens' CreateBatchPredictionJob Text
- createBatchPredictionJob_detectorName :: Lens' CreateBatchPredictionJob Text
- createBatchPredictionJob_iamRoleArn :: Lens' CreateBatchPredictionJob Text
- data CreateBatchPredictionJobResponse = CreateBatchPredictionJobResponse' {
- httpStatus :: Int
- newCreateBatchPredictionJobResponse :: Int -> CreateBatchPredictionJobResponse
- createBatchPredictionJobResponse_httpStatus :: Lens' CreateBatchPredictionJobResponse Int
Creating a Request
data CreateBatchPredictionJob Source #
See: newCreateBatchPredictionJob
smart constructor.
CreateBatchPredictionJob' | |
|
Instances
newCreateBatchPredictionJob Source #
Create a value of CreateBatchPredictionJob
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:detectorVersion:CreateBatchPredictionJob'
, createBatchPredictionJob_detectorVersion
- The detector version.
$sel:tags:CreateBatchPredictionJob'
, createBatchPredictionJob_tags
- A collection of key and value pairs.
$sel:jobId:CreateBatchPredictionJob'
, createBatchPredictionJob_jobId
- The ID of the batch prediction job.
$sel:inputPath:CreateBatchPredictionJob'
, createBatchPredictionJob_inputPath
- The Amazon S3 location of your training file.
$sel:outputPath:CreateBatchPredictionJob'
, createBatchPredictionJob_outputPath
- The Amazon S3 location of your output file.
$sel:eventTypeName:CreateBatchPredictionJob'
, createBatchPredictionJob_eventTypeName
- The name of the event type.
$sel:detectorName:CreateBatchPredictionJob'
, createBatchPredictionJob_detectorName
- The name of the detector.
$sel:iamRoleArn:CreateBatchPredictionJob'
, createBatchPredictionJob_iamRoleArn
- The ARN of the IAM role to use for this job request.
Request Lenses
createBatchPredictionJob_detectorVersion :: Lens' CreateBatchPredictionJob (Maybe Text) Source #
The detector version.
createBatchPredictionJob_tags :: Lens' CreateBatchPredictionJob (Maybe [Tag]) Source #
A collection of key and value pairs.
createBatchPredictionJob_jobId :: Lens' CreateBatchPredictionJob Text Source #
The ID of the batch prediction job.
createBatchPredictionJob_inputPath :: Lens' CreateBatchPredictionJob Text Source #
The Amazon S3 location of your training file.
createBatchPredictionJob_outputPath :: Lens' CreateBatchPredictionJob Text Source #
The Amazon S3 location of your output file.
createBatchPredictionJob_eventTypeName :: Lens' CreateBatchPredictionJob Text Source #
The name of the event type.
createBatchPredictionJob_detectorName :: Lens' CreateBatchPredictionJob Text Source #
The name of the detector.
createBatchPredictionJob_iamRoleArn :: Lens' CreateBatchPredictionJob Text Source #
The ARN of the IAM role to use for this job request.
Destructuring the Response
data CreateBatchPredictionJobResponse Source #
See: newCreateBatchPredictionJobResponse
smart constructor.
CreateBatchPredictionJobResponse' | |
|
Instances
Eq CreateBatchPredictionJobResponse Source # | |
Read CreateBatchPredictionJobResponse Source # | |
Show CreateBatchPredictionJobResponse Source # | |
Generic CreateBatchPredictionJobResponse Source # | |
NFData CreateBatchPredictionJobResponse Source # | |
Defined in Amazonka.FraudDetector.CreateBatchPredictionJob rnf :: CreateBatchPredictionJobResponse -> () # | |
type Rep CreateBatchPredictionJobResponse Source # | |
Defined in Amazonka.FraudDetector.CreateBatchPredictionJob type Rep CreateBatchPredictionJobResponse = D1 ('MetaData "CreateBatchPredictionJobResponse" "Amazonka.FraudDetector.CreateBatchPredictionJob" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "CreateBatchPredictionJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateBatchPredictionJobResponse Source #
Create a value of CreateBatchPredictionJobResponse
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:CreateBatchPredictionJobResponse'
, createBatchPredictionJobResponse_httpStatus
- The response's http status code.
Response Lenses
createBatchPredictionJobResponse_httpStatus :: Lens' CreateBatchPredictionJobResponse Int Source #
The response's http status code.