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 |
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.
DeleteEventsByEventType' | |
|
Instances
newDeleteEventsByEventType Source #
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:
$sel:eventTypeName: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.
DeleteEventsByEventTypeResponse' | |
|
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:
$sel:eventTypeName: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.