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.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
Eq PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Read PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Show PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.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 #

NFData PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Methods

rnf :: PutLabel -> () #

Hashable PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Methods

hashWithSalt :: Int -> PutLabel -> Int #

hash :: PutLabel -> Int #

ToJSON PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

AWSRequest PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Associated Types

type AWSResponse 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

type Rep PutLabel Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

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

Defined in Amazonka.FraudDetector.PutLabel

newPutLabel Source #

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:

$sel:description:PutLabel', putLabel_description - The label description.

$sel:tags:PutLabel', putLabel_tags -

$sel:name: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
Eq PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Read PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Show PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Generic PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Associated Types

type Rep PutLabelResponse :: Type -> Type #

NFData PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

Methods

rnf :: PutLabelResponse -> () #

type Rep PutLabelResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutLabel

type Rep PutLabelResponse = D1 ('MetaData "PutLabelResponse" "Amazonka.FraudDetector.PutLabel" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" '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.