amazonka-frauddetector-2.0: Amazon Fraud Detector 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.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
ToJSON CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.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

AWSRequest CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Associated Types

type AWSResponse CreateModelVersion #

Generic CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Associated Types

type Rep CreateModelVersion :: Type -> Type #

Read CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Show CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

NFData CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Methods

rnf :: CreateModelVersion -> () #

Eq CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Hashable CreateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

type AWSResponse 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" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" '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)))))

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:

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

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.

CreateModelVersion, createModelVersion_modelId - The model ID.

CreateModelVersion, createModelVersion_modelType - The model type.

CreateModelVersion, createModelVersion_trainingDataSource - The training data source location in Amazon S3.

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
Generic CreateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Associated Types

type Rep CreateModelVersionResponse :: Type -> Type #

Read CreateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Show CreateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

NFData CreateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.CreateModelVersion

Eq 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" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "CreateModelVersionResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "modelType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ModelTypeEnum))) :*: (S1 ('MetaSel ('Just "modelVersionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") '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:

CreateModelVersion, createModelVersionResponse_modelId - The model ID.

CreateModelVersion, createModelVersionResponse_modelType - The model type.

CreateModelVersionResponse, createModelVersionResponse_modelVersionNumber - The model version number of the model version created.

CreateModelVersionResponse, createModelVersionResponse_status - The model version status.

$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.