amazonka-frauddetector-2.0: Amazon Fraud Detector SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FraudDetector.PutLabel

Description

Creates or updates label. A label classifies an event as fraudulent or legitimate. Labels are associated with event types and used to train supervised machine learning models in Amazon Fraud Detector.

Synopsis

Creating a Request

data PutLabel Source #

See: newPutLabel smart constructor.

Constructors

PutLabel' 

Fields

Instances

Instances details
ToJSON PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

ToHeaders PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Methods

toHeaders :: PutLabel -> [Header] #

ToPath PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

ToQuery PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

AWSRequest PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Associated Types

type AWSResponse PutLabel #

Generic PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Associated Types

type Rep PutLabel :: Type -> Type #

Methods

from :: PutLabel -> Rep PutLabel x #

to :: Rep PutLabel x -> PutLabel #

Read PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Show PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

NFData PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Methods

rnf :: PutLabel -> () #

Eq PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Hashable PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Methods

hashWithSalt :: Int -> PutLabel -> Int #

hash :: PutLabel -> Int #

type AWSResponse PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

type Rep PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

type Rep PutLabel = D1 ('MetaData "PutLabel" "Amazonka.FraudDetector.PutLabel" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "PutLabel'" 'PrefixI 'True) (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newPutLabel Source #

Arguments

:: Text

PutLabel

-> PutLabel 

Create a value of PutLabel 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:

PutLabel, putLabel_description - The label description.

$sel:tags:PutLabel', putLabel_tags -

PutLabel, putLabel_name - The label name.

Request Lenses

putLabel_description :: Lens' PutLabel (Maybe Text) Source #

The label description.

Destructuring the Response

data PutLabelResponse Source #

See: newPutLabelResponse smart constructor.

Constructors

PutLabelResponse' 

Fields

Instances

Instances details
Generic PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Associated Types

type Rep PutLabelResponse :: Type -> Type #

Read PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Show PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

NFData PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Methods

rnf :: PutLabelResponse -> () #

Eq PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

type Rep PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

type Rep PutLabelResponse = D1 ('MetaData "PutLabelResponse" "Amazonka.FraudDetector.PutLabel" "amazonka-frauddetector-2.0-CdXFXtLV8DgKo4Kta7Jw61" 'False) (C1 ('MetaCons "PutLabelResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newPutLabelResponse Source #

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

Response Lenses

putLabelResponse_httpStatus :: Lens' PutLabelResponse Int Source #

The response's http status code.