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 segment job. The operation can handle up to 50 million records and the input file must be in JSON format. For more information, see Getting batch recommendations and user segments.
Synopsis
- data CreateBatchSegmentJob = CreateBatchSegmentJob' {}
- newCreateBatchSegmentJob :: Text -> Text -> BatchSegmentJobInput -> BatchSegmentJobOutput -> Text -> CreateBatchSegmentJob
- createBatchSegmentJob_filterArn :: Lens' CreateBatchSegmentJob (Maybe Text)
- createBatchSegmentJob_numResults :: Lens' CreateBatchSegmentJob (Maybe Int)
- createBatchSegmentJob_tags :: Lens' CreateBatchSegmentJob (Maybe [Tag])
- createBatchSegmentJob_jobName :: Lens' CreateBatchSegmentJob Text
- createBatchSegmentJob_solutionVersionArn :: Lens' CreateBatchSegmentJob Text
- createBatchSegmentJob_jobInput :: Lens' CreateBatchSegmentJob BatchSegmentJobInput
- createBatchSegmentJob_jobOutput :: Lens' CreateBatchSegmentJob BatchSegmentJobOutput
- createBatchSegmentJob_roleArn :: Lens' CreateBatchSegmentJob Text
- data CreateBatchSegmentJobResponse = CreateBatchSegmentJobResponse' {}
- newCreateBatchSegmentJobResponse :: Int -> CreateBatchSegmentJobResponse
- createBatchSegmentJobResponse_batchSegmentJobArn :: Lens' CreateBatchSegmentJobResponse (Maybe Text)
- createBatchSegmentJobResponse_httpStatus :: Lens' CreateBatchSegmentJobResponse Int
Creating a Request
data CreateBatchSegmentJob Source #
See: newCreateBatchSegmentJob
smart constructor.
CreateBatchSegmentJob' | |
|
Instances
newCreateBatchSegmentJob Source #
Create a value of CreateBatchSegmentJob
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:
CreateBatchSegmentJob
, createBatchSegmentJob_filterArn
- The ARN of the filter to apply to the batch segment job. For more
information on using filters, see
Filtering batch recommendations.
CreateBatchSegmentJob
, createBatchSegmentJob_numResults
- The number of predicted users generated by the batch segment job for
each line of input data.
$sel:tags:CreateBatchSegmentJob'
, createBatchSegmentJob_tags
- A list of
tags
to apply to the batch segment job.
CreateBatchSegmentJob
, createBatchSegmentJob_jobName
- The name of the batch segment job to create.
CreateBatchSegmentJob
, createBatchSegmentJob_solutionVersionArn
- The Amazon Resource Name (ARN) of the solution version you want the
batch segment job to use to generate batch segments.
CreateBatchSegmentJob
, createBatchSegmentJob_jobInput
- The Amazon S3 path for the input data used to generate the batch segment
job.
CreateBatchSegmentJob
, createBatchSegmentJob_jobOutput
- The Amazon S3 path for the bucket where the job's output will be
stored.
CreateBatchSegmentJob
, createBatchSegmentJob_roleArn
- The ARN of the Amazon Identity and Access Management role that has
permissions to read and write to your input and output Amazon S3 buckets
respectively.
Request Lenses
createBatchSegmentJob_filterArn :: Lens' CreateBatchSegmentJob (Maybe Text) Source #
The ARN of the filter to apply to the batch segment job. For more information on using filters, see Filtering batch recommendations.
createBatchSegmentJob_numResults :: Lens' CreateBatchSegmentJob (Maybe Int) Source #
The number of predicted users generated by the batch segment job for each line of input data.
createBatchSegmentJob_tags :: Lens' CreateBatchSegmentJob (Maybe [Tag]) Source #
A list of tags to apply to the batch segment job.
createBatchSegmentJob_jobName :: Lens' CreateBatchSegmentJob Text Source #
The name of the batch segment job to create.
createBatchSegmentJob_solutionVersionArn :: Lens' CreateBatchSegmentJob Text Source #
The Amazon Resource Name (ARN) of the solution version you want the batch segment job to use to generate batch segments.
createBatchSegmentJob_jobInput :: Lens' CreateBatchSegmentJob BatchSegmentJobInput Source #
The Amazon S3 path for the input data used to generate the batch segment job.
createBatchSegmentJob_jobOutput :: Lens' CreateBatchSegmentJob BatchSegmentJobOutput Source #
The Amazon S3 path for the bucket where the job's output will be stored.
createBatchSegmentJob_roleArn :: Lens' CreateBatchSegmentJob Text Source #
The ARN of the Amazon Identity and Access Management role that has permissions to read and write to your input and output Amazon S3 buckets respectively.
Destructuring the Response
data CreateBatchSegmentJobResponse Source #
See: newCreateBatchSegmentJobResponse
smart constructor.
CreateBatchSegmentJobResponse' | |
|
Instances
newCreateBatchSegmentJobResponse Source #
Create a value of CreateBatchSegmentJobResponse
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:
CreateBatchSegmentJobResponse
, createBatchSegmentJobResponse_batchSegmentJobArn
- The ARN of the batch segment job.
$sel:httpStatus:CreateBatchSegmentJobResponse'
, createBatchSegmentJobResponse_httpStatus
- The response's http status code.
Response Lenses
createBatchSegmentJobResponse_batchSegmentJobArn :: Lens' CreateBatchSegmentJobResponse (Maybe Text) Source #
The ARN of the batch segment job.
createBatchSegmentJobResponse_httpStatus :: Lens' CreateBatchSegmentJobResponse Int Source #
The response's http status code.