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

Description

Updates the status of a model version.

You can perform the following status updates:

  1. Change the TRAINING_COMPLETE status to ACTIVE.
  2. Change ACTIVE to INACTIVE.
Synopsis

Creating a Request

data UpdateModelVersionStatus Source #

See: newUpdateModelVersionStatus smart constructor.

Constructors

UpdateModelVersionStatus' 

Fields

Instances

Instances details
Eq UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

Read UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

Show UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

Generic UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

Associated Types

type Rep UpdateModelVersionStatus :: Type -> Type #

NFData UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

Hashable UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

ToJSON UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

AWSRequest UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

ToHeaders UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

ToPath UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

ToQuery UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

type Rep UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

type Rep UpdateModelVersionStatus = D1 ('MetaData "UpdateModelVersionStatus" "Amazonka.FraudDetector.UpdateModelVersionStatus" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "UpdateModelVersionStatus'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "modelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "modelType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ModelTypeEnum)) :*: (S1 ('MetaSel ('Just "modelVersionNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ModelVersionStatus))))
type AWSResponse UpdateModelVersionStatus Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

Request Lenses

updateModelVersionStatus_modelId :: Lens' UpdateModelVersionStatus Text Source #

The model ID of the model version to update.

Destructuring the Response

data UpdateModelVersionStatusResponse Source #

See: newUpdateModelVersionStatusResponse smart constructor.

Constructors

UpdateModelVersionStatusResponse' 

Fields

Instances

Instances details
Eq UpdateModelVersionStatusResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

Read UpdateModelVersionStatusResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

Show UpdateModelVersionStatusResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

Generic UpdateModelVersionStatusResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

Associated Types

type Rep UpdateModelVersionStatusResponse :: Type -> Type #

NFData UpdateModelVersionStatusResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

type Rep UpdateModelVersionStatusResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.UpdateModelVersionStatus

type Rep UpdateModelVersionStatusResponse = D1 ('MetaData "UpdateModelVersionStatusResponse" "Amazonka.FraudDetector.UpdateModelVersionStatus" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "UpdateModelVersionStatusResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateModelVersionStatusResponse Source #

Create a value of UpdateModelVersionStatusResponse 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:httpStatus:UpdateModelVersionStatusResponse', updateModelVersionStatusResponse_httpStatus - The response's http status code.

Response Lenses