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

Description

Deletes a model version.

You can delete models and model versions in Amazon Fraud Detector, provided that they are not associated with a detector version.

When you delete a model version, Amazon Fraud Detector permanently deletes that model version and the data is no longer stored in Amazon Fraud Detector.

Synopsis

Creating a Request

data DeleteModelVersion Source #

See: newDeleteModelVersion smart constructor.

Constructors

DeleteModelVersion' 

Fields

Instances

Instances details
Eq DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

Read DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

Show DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

Generic DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

Associated Types

type Rep DeleteModelVersion :: Type -> Type #

NFData DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

Methods

rnf :: DeleteModelVersion -> () #

Hashable DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

ToJSON DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

AWSRequest DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

Associated Types

type AWSResponse DeleteModelVersion #

ToHeaders DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

ToPath DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

ToQuery DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

type Rep DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

type Rep DeleteModelVersion = D1 ('MetaData "DeleteModelVersion" "Amazonka.FraudDetector.DeleteModelVersion" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "DeleteModelVersion'" '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))))
type AWSResponse DeleteModelVersion Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

newDeleteModelVersion Source #

Create a value of DeleteModelVersion 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:modelId:DeleteModelVersion', deleteModelVersion_modelId - The model ID of the model version to delete.

$sel:modelType:DeleteModelVersion', deleteModelVersion_modelType - The model type of the model version to delete.

$sel:modelVersionNumber:DeleteModelVersion', deleteModelVersion_modelVersionNumber - The model version number of the model version to delete.

Request Lenses

deleteModelVersion_modelId :: Lens' DeleteModelVersion Text Source #

The model ID of the model version to delete.

deleteModelVersion_modelType :: Lens' DeleteModelVersion ModelTypeEnum Source #

The model type of the model version to delete.

deleteModelVersion_modelVersionNumber :: Lens' DeleteModelVersion Text Source #

The model version number of the model version to delete.

Destructuring the Response

data DeleteModelVersionResponse Source #

See: newDeleteModelVersionResponse smart constructor.

Constructors

DeleteModelVersionResponse' 

Fields

Instances

Instances details
Eq DeleteModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

Read DeleteModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

Show DeleteModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

Generic DeleteModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

Associated Types

type Rep DeleteModelVersionResponse :: Type -> Type #

NFData DeleteModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

type Rep DeleteModelVersionResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModelVersion

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

newDeleteModelVersionResponse Source #

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

Response Lenses