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

Description

Deletes a label.

You cannot delete labels that are included in an event type in Amazon Fraud Detector.

You cannot delete a label assigned to an event ID. You must first delete the relevant event ID.

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

Synopsis

Creating a Request

data DeleteLabel Source #

See: newDeleteLabel smart constructor.

Constructors

DeleteLabel' 

Fields

  • name :: Text

    The name of the label to delete.

Instances

Instances details
Eq DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Read DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Show DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Generic DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Associated Types

type Rep DeleteLabel :: Type -> Type #

NFData DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Methods

rnf :: DeleteLabel -> () #

Hashable DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

ToJSON DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

AWSRequest DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Associated Types

type AWSResponse DeleteLabel #

ToHeaders DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Methods

toHeaders :: DeleteLabel -> [Header] #

ToPath DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

ToQuery DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

type Rep DeleteLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

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

Defined in Amazonka.FraudDetector.DeleteLabel

newDeleteLabel Source #

Create a value of DeleteLabel 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:name:DeleteLabel', deleteLabel_name - The name of the label to delete.

Request Lenses

deleteLabel_name :: Lens' DeleteLabel Text Source #

The name of the label to delete.

Destructuring the Response

data DeleteLabelResponse Source #

See: newDeleteLabelResponse smart constructor.

Constructors

DeleteLabelResponse' 

Fields

Instances

Instances details
Eq DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Read DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Show DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Generic DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Associated Types

type Rep DeleteLabelResponse :: Type -> Type #

NFData DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

Methods

rnf :: DeleteLabelResponse -> () #

type Rep DeleteLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteLabel

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

newDeleteLabelResponse Source #

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

Response Lenses