| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.FraudDetector.DeleteEventsByEventType
Description
Deletes all events of a particular event type.
Synopsis
- data DeleteEventsByEventType = DeleteEventsByEventType' {}
- newDeleteEventsByEventType :: Text -> DeleteEventsByEventType
- deleteEventsByEventType_eventTypeName :: Lens' DeleteEventsByEventType Text
- data DeleteEventsByEventTypeResponse = DeleteEventsByEventTypeResponse' {}
- newDeleteEventsByEventTypeResponse :: Int -> DeleteEventsByEventTypeResponse
- deleteEventsByEventTypeResponse_eventTypeName :: Lens' DeleteEventsByEventTypeResponse (Maybe Text)
- deleteEventsByEventTypeResponse_eventsDeletionStatus :: Lens' DeleteEventsByEventTypeResponse (Maybe Text)
- deleteEventsByEventTypeResponse_httpStatus :: Lens' DeleteEventsByEventTypeResponse Int
Creating a Request
data DeleteEventsByEventType Source #
See: newDeleteEventsByEventType smart constructor.
Constructors
| DeleteEventsByEventType' | |
Fields
| |
Instances
newDeleteEventsByEventType Source #
Arguments
| :: Text | |
| -> DeleteEventsByEventType |
Create a value of DeleteEventsByEventType 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:
DeleteEventsByEventType, deleteEventsByEventType_eventTypeName - The name of the event type.
Request Lenses
deleteEventsByEventType_eventTypeName :: Lens' DeleteEventsByEventType Text Source #
The name of the event type.
Destructuring the Response
data DeleteEventsByEventTypeResponse Source #
See: newDeleteEventsByEventTypeResponse smart constructor.
Constructors
| DeleteEventsByEventTypeResponse' | |
Fields
| |
Instances
newDeleteEventsByEventTypeResponse Source #
Create a value of DeleteEventsByEventTypeResponse 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:
DeleteEventsByEventType, deleteEventsByEventTypeResponse_eventTypeName - Name of event type for which to delete the events.
$sel:eventsDeletionStatus:DeleteEventsByEventTypeResponse', deleteEventsByEventTypeResponse_eventsDeletionStatus - The status of the delete request.
$sel:httpStatus:DeleteEventsByEventTypeResponse', deleteEventsByEventTypeResponse_httpStatus - The response's http status code.
Response Lenses
deleteEventsByEventTypeResponse_eventTypeName :: Lens' DeleteEventsByEventTypeResponse (Maybe Text) Source #
Name of event type for which to delete the events.
deleteEventsByEventTypeResponse_eventsDeletionStatus :: Lens' DeleteEventsByEventTypeResponse (Maybe Text) Source #
The status of the delete request.
deleteEventsByEventTypeResponse_httpStatus :: Lens' DeleteEventsByEventTypeResponse Int Source #
The response's http status code.