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

Description

Deletes a model.

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, Amazon Fraud Detector permanently deletes that model and the data is no longer stored in Amazon Fraud Detector.

Synopsis

Creating a Request

data DeleteModel Source #

See: newDeleteModel smart constructor.

Constructors

DeleteModel' 

Fields

Instances

Instances details
Eq DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Read DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Show DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Generic DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Associated Types

type Rep DeleteModel :: Type -> Type #

NFData DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Methods

rnf :: DeleteModel -> () #

Hashable DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

ToJSON DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

AWSRequest DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Associated Types

type AWSResponse DeleteModel #

ToHeaders DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Methods

toHeaders :: DeleteModel -> [Header] #

ToPath DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

ToQuery DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

type Rep DeleteModel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

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

Defined in Amazonka.FraudDetector.DeleteModel

newDeleteModel Source #

Create a value of DeleteModel 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:DeleteModel', deleteModel_modelId - The model ID of the model to delete.

$sel:modelType:DeleteModel', deleteModel_modelType - The model type of the model to delete.

Request Lenses

deleteModel_modelId :: Lens' DeleteModel Text Source #

The model ID of the model to delete.

deleteModel_modelType :: Lens' DeleteModel ModelTypeEnum Source #

The model type of the model to delete.

Destructuring the Response

data DeleteModelResponse Source #

See: newDeleteModelResponse smart constructor.

Constructors

DeleteModelResponse' 

Fields

Instances

Instances details
Eq DeleteModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Read DeleteModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Show DeleteModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Generic DeleteModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Associated Types

type Rep DeleteModelResponse :: Type -> Type #

NFData DeleteModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

Methods

rnf :: DeleteModelResponse -> () #

type Rep DeleteModelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteModel

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

newDeleteModelResponse Source #

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

Response Lenses