| 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.DeleteEventType
Description
Deletes an event type.
You cannot delete an event type that is used in a detector or a model.
When you delete an event type, Amazon Fraud Detector permanently deletes that event type and the data is no longer stored in Amazon Fraud Detector.
Synopsis
- data DeleteEventType = DeleteEventType' {}
- newDeleteEventType :: Text -> DeleteEventType
- deleteEventType_name :: Lens' DeleteEventType Text
- data DeleteEventTypeResponse = DeleteEventTypeResponse' {
- httpStatus :: Int
- newDeleteEventTypeResponse :: Int -> DeleteEventTypeResponse
- deleteEventTypeResponse_httpStatus :: Lens' DeleteEventTypeResponse Int
Creating a Request
data DeleteEventType Source #
See: newDeleteEventType smart constructor.
Constructors
| DeleteEventType' | |
Instances
Arguments
| :: Text | |
| -> DeleteEventType |
Create a value of DeleteEventType 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:
DeleteEventType, deleteEventType_name - The name of the event type to delete.
Request Lenses
deleteEventType_name :: Lens' DeleteEventType Text Source #
The name of the event type to delete.
Destructuring the Response
data DeleteEventTypeResponse Source #
See: newDeleteEventTypeResponse smart constructor.
Constructors
| DeleteEventTypeResponse' | |
Fields
| |
Instances
newDeleteEventTypeResponse Source #
Create a value of DeleteEventTypeResponse 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:DeleteEventTypeResponse', deleteEventTypeResponse_httpStatus - The response's http status code.
Response Lenses
deleteEventTypeResponse_httpStatus :: Lens' DeleteEventTypeResponse Int Source #
The response's http status code.