libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.FraudDetector.CreateModelVersion

Description

Creates a version of the model using the specified model type and model id.

Synopsis

Creating a Request

data CreateModelVersion Source #

See: newCreateModelVersion smart constructor.

Constructors

CreateModelVersion' 

Fields

Instances

Instances details
Eq CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Read CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Show CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Generic CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Associated Types

type Rep CreateModelVersion :: Type -> Type #

NFData CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Methods

rnf :: CreateModelVersion -> () #

Hashable CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

ToJSON CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

AWSRequest CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Associated Types

type AWSResponse CreateModelVersion #

ToHeaders CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

ToPath CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

ToQuery CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

type Rep CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

type Rep CreateModelVersion = D1 ('MetaData "CreateModelVersion" "Amazonka.FraudDetector.CreateModelVersion" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "CreateModelVersion'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "externalEventsDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExternalEventsDetail)) :*: (S1 ('MetaSel ('Just "ingestedEventsDetail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe IngestedEventsDetail)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])))) :*: ((S1 ('MetaSel ('Just "modelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "modelType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ModelTypeEnum)) :*: (S1 ('MetaSel ('Just "trainingDataSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrainingDataSourceEnum) :*: S1 ('MetaSel ('Just "trainingDataSchema") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 TrainingDataSchema)))))
type AWSResponse CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

newCreateModelVersion Source #

Create a value of CreateModelVersion 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:externalEventsDetail:CreateModelVersion', createModelVersion_externalEventsDetail - Details of the external events data used for model version training. Required if trainingDataSource is EXTERNAL_EVENTS.

$sel:ingestedEventsDetail:CreateModelVersion', createModelVersion_ingestedEventsDetail - Details of the ingested events data used for model version training. Required if trainingDataSource is INGESTED_EVENTS.

$sel:tags:CreateModelVersion', createModelVersion_tags - A collection of key and value pairs.

$sel:modelId:CreateModelVersion', createModelVersion_modelId - The model ID.

$sel:modelType:CreateModelVersion', createModelVersion_modelType - The model type.

$sel:trainingDataSource:CreateModelVersion', createModelVersion_trainingDataSource - The training data source location in Amazon S3.

$sel:trainingDataSchema:CreateModelVersion', createModelVersion_trainingDataSchema - The training data schema.

Request Lenses

createModelVersion_externalEventsDetail :: Lens' CreateModelVersion (Maybe ExternalEventsDetail) Source #

Details of the external events data used for model version training. Required if trainingDataSource is EXTERNAL_EVENTS.

createModelVersion_ingestedEventsDetail :: Lens' CreateModelVersion (Maybe IngestedEventsDetail) Source #

Details of the ingested events data used for model version training. Required if trainingDataSource is INGESTED_EVENTS.

createModelVersion_tags :: Lens' CreateModelVersion (Maybe [Tag]) Source #

A collection of key and value pairs.

Destructuring the Response

data CreateModelVersionResponse Source #

See: newCreateModelVersionResponse smart constructor.

Constructors

CreateModelVersionResponse' 

Fields

Instances

Instances details
Eq CreateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Read CreateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Show CreateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Generic CreateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Associated Types

type Rep CreateModelVersionResponse :: Type -> Type #

NFData CreateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

type Rep CreateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

type Rep CreateModelVersionResponse = D1 ('MetaData "CreateModelVersionResponse" "Amazonka.FraudDetector.CreateModelVersion" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "CreateModelVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "modelType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelTypeEnum))) :*: (S1 ('MetaSel ('Just "modelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "modelVersionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newCreateModelVersionResponse Source #

Create a value of CreateModelVersionResponse 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:status:CreateModelVersionResponse', createModelVersionResponse_status - The model version status.

$sel:modelType:CreateModelVersion', createModelVersionResponse_modelType - The model type.

$sel:modelId:CreateModelVersion', createModelVersionResponse_modelId - The model ID.

$sel:modelVersionNumber:CreateModelVersionResponse', createModelVersionResponse_modelVersionNumber - The model version number of the model version created.

$sel:httpStatus:CreateModelVersionResponse', createModelVersionResponse_httpStatus - The response's http status code.

Response Lenses

createModelVersionResponse_modelVersionNumber :: Lens' CreateModelVersionResponse (Maybe Text) Source #

The model version number of the model version created.