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 |
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:
CreateBatchPredictionJob
, createBatchPredictionJob_detectorVersion
- The detector version.
$sel:tags:CreateBatchPredictionJob'
, createBatchPredictionJob_tags
- A collection of key and value pairs.
CreateBatchPredictionJob
, createBatchPredictionJob_jobId
- The ID of the batch prediction job.
CreateBatchPredictionJob
, createBatchPredictionJob_inputPath
- The Amazon S3 location of your training file.
CreateBatchPredictionJob
, createBatchPredictionJob_outputPath
- The Amazon S3 location of your output file.
CreateBatchPredictionJob
, createBatchPredictionJob_eventTypeName
- The name of the event type.
CreateBatchPredictionJob
, createBatchPredictionJob_detectorName
- The name of the detector.
CreateBatchPredictionJob
, createBatchPredictionJob_iamRoleArn
- The ARN of the IAM role to use for this job request.
The IAM Role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see User policy examples in the Amazon S3 User Guide.
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.
The IAM Role must have read permissions to your input S3 bucket and write permissions to your output S3 bucket. For more information about bucket permissions, see User policy examples in the Amazon S3 User Guide.
Destructuring the Response
data CreateBatchPredictionJobResponse Source #
See: newCreateBatchPredictionJobResponse
smart constructor.
CreateBatchPredictionJobResponse' | |
|
Instances
Generic CreateBatchPredictionJobResponse Source # | |
Read CreateBatchPredictionJobResponse Source # | |
Show CreateBatchPredictionJobResponse Source # | |
NFData CreateBatchPredictionJobResponse Source # | |
Defined in Amazonka.FraudDetector.CreateBatchPredictionJob rnf :: CreateBatchPredictionJobResponse -> () # | |
Eq CreateBatchPredictionJobResponse Source # | |
type Rep CreateBatchPredictionJobResponse Source # | |
Defined in Amazonka.FraudDetector.CreateBatchPredictionJob type Rep CreateBatchPredictionJobResponse = D1 ('MetaData "CreateBatchPredictionJobResponse" "Amazonka.FraudDetector.CreateBatchPredictionJob" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" '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.