Skip to content

/AWS1/CL_PZZ=>CREATEBATCHSEGMENTJOB()

About CreateBatchSegmentJob

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.

Method Signature

IMPORTING

Required arguments:

IV_JOBNAME TYPE /AWS1/PZZNAME /AWS1/PZZNAME

The name of the batch segment job to create.

IV_SOLUTIONVERSIONARN TYPE /AWS1/PZZARN /AWS1/PZZARN

The Amazon Resource Name (ARN) of the solution version you want the batch segment job to use to generate batch segments.

IO_JOBINPUT TYPE REF TO /AWS1/CL_PZZBATCHSEGMENTJOBINP /AWS1/CL_PZZBATCHSEGMENTJOBINP

The Amazon S3 path for the input data used to generate the batch segment job.

IO_JOBOUTPUT TYPE REF TO /AWS1/CL_PZZBATCHSEGMENTJOBOUT /AWS1/CL_PZZBATCHSEGMENTJOBOUT

The Amazon S3 path for the bucket where the job's output will be stored.

IV_ROLEARN TYPE /AWS1/PZZROLEARN /AWS1/PZZROLEARN

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.

Optional arguments:

IV_FILTERARN TYPE /AWS1/PZZARN /AWS1/PZZARN

The ARN of the filter to apply to the batch segment job. For more information on using filters, see Filtering batch recommendations.

IV_NUMRESULTS TYPE /AWS1/PZZNUMBATCHRESULTS /AWS1/PZZNUMBATCHRESULTS

The number of predicted users generated by the batch segment job for each line of input data. The maximum number of users per segment is 5 million.

IT_TAGS TYPE /AWS1/CL_PZZTAG=>TT_TAGS TT_TAGS

A list of tags to apply to the batch segment job.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_PZZCREBTCSEGMENTJOB01 /AWS1/CL_PZZCREBTCSEGMENTJOB01