Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data DeleteEvent = DeleteEvent' {}
- newDeleteEvent :: Text -> Text -> DeleteEvent
- deleteEvent_deleteAuditHistory :: Lens' DeleteEvent (Maybe Bool)
- deleteEvent_eventId :: Lens' DeleteEvent Text
- deleteEvent_eventTypeName :: Lens' DeleteEvent Text
- data DeleteEventResponse = DeleteEventResponse' {
- httpStatus :: Int
- newDeleteEventResponse :: Int -> DeleteEventResponse
- deleteEventResponse_httpStatus :: Lens' DeleteEventResponse Int
Creating a Request
data DeleteEvent Source #
See: newDeleteEvent
smart constructor.
Constructors
DeleteEvent' | |
Fields
|
Instances
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
newDeleteEventResponse Source #
Arguments
:: Int | |
-> DeleteEventResponse |
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
deleteEventResponse_httpStatus :: Lens' DeleteEventResponse Int Source #
The response's http status code.