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

Description

Creates or updates an event type. An event is a business activity that is evaluated for fraud risk. With Amazon Fraud Detector, you generate fraud predictions for events. An event type defines the structure for an event sent to Amazon Fraud Detector. This includes the variables sent as part of the event, the entity performing the event (such as a customer), and the labels that classify the event. Example event types include online payment transactions, account registrations, and authentications.

Synopsis

Creating a Request

data PutEventType Source #

See: newPutEventType smart constructor.

Constructors

PutEventType' 

Fields

Instances

Instances details
ToJSON PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

ToHeaders PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

ToPath PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

ToQuery PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

AWSRequest PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Associated Types

type AWSResponse PutEventType #

Generic PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Associated Types

type Rep PutEventType :: Type -> Type #

Read PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Show PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

NFData PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Methods

rnf :: PutEventType -> () #

Eq PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Hashable PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

type AWSResponse PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

type Rep PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

newPutEventType Source #

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

PutEventType, putEventType_description - The description of the event type.

PutEventType, putEventType_eventIngestion - Specifies if ingenstion is enabled or disabled.

PutEventType, putEventType_labels - The event type labels.

$sel:tags:PutEventType', putEventType_tags - A collection of key and value pairs.

PutEventType, putEventType_name - The name.

PutEventType, putEventType_eventVariables - The event type variables.

PutEventType, putEventType_entityTypes - The entity type for the event type. Example entity types: customer, merchant, account.

Request Lenses

putEventType_description :: Lens' PutEventType (Maybe Text) Source #

The description of the event type.

putEventType_eventIngestion :: Lens' PutEventType (Maybe EventIngestion) Source #

Specifies if ingenstion is enabled or disabled.

putEventType_labels :: Lens' PutEventType (Maybe [Text]) Source #

The event type labels.

putEventType_tags :: Lens' PutEventType (Maybe [Tag]) Source #

A collection of key and value pairs.

putEventType_entityTypes :: Lens' PutEventType (NonEmpty Text) Source #

The entity type for the event type. Example entity types: customer, merchant, account.

Destructuring the Response

data PutEventTypeResponse Source #

See: newPutEventTypeResponse smart constructor.

Constructors

PutEventTypeResponse' 

Fields

Instances

Instances details
Generic PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Associated Types

type Rep PutEventTypeResponse :: Type -> Type #

Read PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Show PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

NFData PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Methods

rnf :: PutEventTypeResponse -> () #

Eq PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

type Rep PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

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

newPutEventTypeResponse Source #

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

Response Lenses