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

Description

Updates a model version. Updating a model version retrains an existing model version using updated training data and produces a new minor version of the model. You can update the training data set location and data access role attributes using this action. This action creates and trains a new minor version of the model, for example version 1.01, 1.02, 1.03.

Synopsis

Creating a Request

data UpdateModelVersion Source #

See: newUpdateModelVersion smart constructor.

Constructors

UpdateModelVersion' 

Fields

Instances

Instances details
Eq UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

Read UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

Show UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

Generic UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

Associated Types

type Rep UpdateModelVersion :: Type -> Type #

NFData UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

Methods

rnf :: UpdateModelVersion -> () #

Hashable UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

ToJSON UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

AWSRequest UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

Associated Types

type AWSResponse UpdateModelVersion #

ToHeaders UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

ToPath UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

ToQuery UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

type Rep UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

type Rep UpdateModelVersion = D1 ('MetaData "UpdateModelVersion" "Amazonka.FraudDetector.UpdateModelVersion" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "UpdateModelVersion'" '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 "majorVersionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

newUpdateModelVersion Source #

Create a value of UpdateModelVersion 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:UpdateModelVersion', updateModelVersion_externalEventsDetail - The details of the external events data used for training the model version. Required if trainingDataSource is EXTERNAL_EVENTS.

$sel:ingestedEventsDetail:UpdateModelVersion', updateModelVersion_ingestedEventsDetail - The details of the ingested event used for training the model version. Required if your trainingDataSource is INGESTED_EVENTS.

$sel:tags:UpdateModelVersion', updateModelVersion_tags - A collection of key and value pairs.

$sel:modelId:UpdateModelVersion', updateModelVersion_modelId - The model ID.

$sel:modelType:UpdateModelVersion', updateModelVersion_modelType - The model type.

$sel:majorVersionNumber:UpdateModelVersion', updateModelVersion_majorVersionNumber - The major version number.

Request Lenses

updateModelVersion_externalEventsDetail :: Lens' UpdateModelVersion (Maybe ExternalEventsDetail) Source #

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

updateModelVersion_ingestedEventsDetail :: Lens' UpdateModelVersion (Maybe IngestedEventsDetail) Source #

The details of the ingested event used for training the model version. Required if your trainingDataSource is INGESTED_EVENTS.

updateModelVersion_tags :: Lens' UpdateModelVersion (Maybe [Tag]) Source #

A collection of key and value pairs.

Destructuring the Response

data UpdateModelVersionResponse Source #

See: newUpdateModelVersionResponse smart constructor.

Constructors

UpdateModelVersionResponse' 

Fields

Instances

Instances details
Eq UpdateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

Read UpdateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

Show UpdateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

Generic UpdateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

Associated Types

type Rep UpdateModelVersionResponse :: Type -> Type #

NFData UpdateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

type Rep UpdateModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersion

type Rep UpdateModelVersionResponse = D1 ('MetaData "UpdateModelVersionResponse" "Amazonka.FraudDetector.UpdateModelVersion" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "UpdateModelVersionResponse'" '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)))))

newUpdateModelVersionResponse Source #

Create a value of UpdateModelVersionResponse 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:UpdateModelVersionResponse', updateModelVersionResponse_status - The status of the updated model version.

$sel:modelType:UpdateModelVersion', updateModelVersionResponse_modelType - The model type.

$sel:modelId:UpdateModelVersion', updateModelVersionResponse_modelId - The model ID.

$sel:modelVersionNumber:UpdateModelVersionResponse', updateModelVersionResponse_modelVersionNumber - The model version number of the model version updated.

$sel:httpStatus:UpdateModelVersionResponse', updateModelVersionResponse_httpStatus - The response's http status code.

Response Lenses

updateModelVersionResponse_modelVersionNumber :: Lens' UpdateModelVersionResponse (Maybe Text) Source #

The model version number of the model version updated.