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

Description

Deletes the specified event.

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

Synopsis

Creating a Request

data DeleteEvent Source #

See: newDeleteEvent smart constructor.

Constructors

DeleteEvent' 

Fields

Instances

Instances details
Eq DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Read DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Show DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Generic DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Associated Types

type Rep DeleteEvent :: Type -> Type #

NFData DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Methods

rnf :: DeleteEvent -> () #

Hashable DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

ToJSON DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

AWSRequest DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Associated Types

type AWSResponse DeleteEvent #

ToHeaders DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Methods

toHeaders :: DeleteEvent -> [Header] #

ToPath DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

ToQuery DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

type Rep DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

type Rep DeleteEvent = D1 ('MetaData "DeleteEvent" "Amazonka.FraudDetector.DeleteEvent" "libZSservicesZSamazonka-frauddetectorZSamazonka-frauddetector" 'False) (C1 ('MetaCons "DeleteEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deleteAuditHistory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "eventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "eventTypeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DeleteEvent Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

newDeleteEvent Source #

Create a value of DeleteEvent 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:deleteAuditHistory:DeleteEvent', deleteEvent_deleteAuditHistory - Specifies whether or not to delete any predictions associated with the event.

$sel:eventId:DeleteEvent', deleteEvent_eventId - The ID of the event to delete.

$sel:eventTypeName:DeleteEvent', deleteEvent_eventTypeName - The name of the event type.

Request Lenses

deleteEvent_deleteAuditHistory :: Lens' DeleteEvent (Maybe Bool) Source #

Specifies whether or not to delete any predictions associated with the event.

deleteEvent_eventId :: Lens' DeleteEvent Text Source #

The ID of the event to delete.

deleteEvent_eventTypeName :: Lens' DeleteEvent Text Source #

The name of the event type.

Destructuring the Response

data DeleteEventResponse Source #

See: newDeleteEventResponse smart constructor.

Constructors

DeleteEventResponse' 

Fields

Instances

Instances details
Eq DeleteEventResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Read DeleteEventResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Show DeleteEventResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Generic DeleteEventResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Associated Types

type Rep DeleteEventResponse :: Type -> Type #

NFData DeleteEventResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

Methods

rnf :: DeleteEventResponse -> () #

type Rep DeleteEventResponse Source # 
Instance details

Defined in Amazonka.FraudDetector.DeleteEvent

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

newDeleteEventResponse Source #

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

Response Lenses