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

Defined in Amazonka.FraudDetector.PutEventType

Read PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Show PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Generic PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Associated Types

type Rep PutEventType :: Type -> Type #

NFData PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Methods

rnf :: PutEventType -> () #

Hashable PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

ToJSON PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

AWSRequest PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Associated Types

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

type Rep PutEventType Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

type Rep PutEventType = D1 ('MetaData "PutEventType" "Amazonka.FraudDetector.PutEventType" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "PutEventType'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "labels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "eventIngestion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EventIngestion)) :*: 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)) :*: (S1 ('MetaSel ('Just "eventVariables") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text)) :*: S1 ('MetaSel ('Just "entityTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))))
type AWSResponse 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:

$sel:labels:PutEventType', putEventType_labels - The event type labels.

$sel:eventIngestion:PutEventType', putEventType_eventIngestion - Specifies if ingenstion is enabled or disabled.

$sel:description:PutEventType', putEventType_description - The description of the event type.

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

$sel:name:PutEventType', putEventType_name - The name.

$sel:eventVariables:PutEventType', putEventType_eventVariables - The event type variables.

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

Request Lenses

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

The event type labels.

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

Specifies if ingenstion is enabled or disabled.

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

The description of the event type.

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

Defined in Amazonka.FraudDetector.PutEventType

Read PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Show PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Generic PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Associated Types

type Rep PutEventTypeResponse :: Type -> Type #

NFData PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

Methods

rnf :: PutEventTypeResponse -> () #

type Rep PutEventTypeResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.PutEventType

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