amazonka-personalize-2.0: Amazon Personalize SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Personalize.CreateBatchSegmentJob

Description

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

Creating a Request

data CreateBatchSegmentJob Source #

See: newCreateBatchSegmentJob smart constructor.

Constructors

CreateBatchSegmentJob' 

Fields

  • filterArn :: Maybe Text

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

  • numResults :: Maybe Int

    The number of predicted users generated by the batch segment job for each line of input data.

  • tags :: Maybe [Tag]

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

  • jobName :: Text

    The name of the batch segment job to create.

  • solutionVersionArn :: Text

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

  • jobInput :: BatchSegmentJobInput

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

  • jobOutput :: BatchSegmentJobOutput

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

  • roleArn :: Text

    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.

Instances

Instances details
ToJSON CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

ToHeaders CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

ToPath CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

ToQuery CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

AWSRequest CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

Associated Types

type AWSResponse CreateBatchSegmentJob #

Generic CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

Associated Types

type Rep CreateBatchSegmentJob :: Type -> Type #

Read CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

Show CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

NFData CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

Methods

rnf :: CreateBatchSegmentJob -> () #

Eq CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

Hashable CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

type AWSResponse CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

type Rep CreateBatchSegmentJob Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

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.

Constructors

CreateBatchSegmentJobResponse' 

Fields

Instances

Instances details
Generic CreateBatchSegmentJobResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

Associated Types

type Rep CreateBatchSegmentJobResponse :: Type -> Type #

Read CreateBatchSegmentJobResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

Show CreateBatchSegmentJobResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

NFData CreateBatchSegmentJobResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

Eq CreateBatchSegmentJobResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

type Rep CreateBatchSegmentJobResponse Source # 
Instance details

Defined in Amazonka.Personalize.CreateBatchSegmentJob

type Rep CreateBatchSegmentJobResponse = D1 ('MetaData "CreateBatchSegmentJobResponse" "Amazonka.Personalize.CreateBatchSegmentJob" "amazonka-personalize-2.0-9kdbGNMxU7zEIoXPqEwwTg" 'False) (C1 ('MetaCons "CreateBatchSegmentJobResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "batchSegmentJobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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