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 an entity type.
You cannot delete an entity type that is included in an event type.
When you delete an entity type, Amazon Fraud Detector permanently deletes that entity type and the data is no longer stored in Amazon Fraud Detector.
Synopsis
- data DeleteEntityType = DeleteEntityType' {}
- newDeleteEntityType :: Text -> DeleteEntityType
- deleteEntityType_name :: Lens' DeleteEntityType Text
- data DeleteEntityTypeResponse = DeleteEntityTypeResponse' {
- httpStatus :: Int
- newDeleteEntityTypeResponse :: Int -> DeleteEntityTypeResponse
- deleteEntityTypeResponse_httpStatus :: Lens' DeleteEntityTypeResponse Int
Creating a Request
data DeleteEntityType Source #
See: newDeleteEntityType
smart constructor.
Instances
Create a value of DeleteEntityType
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:name:DeleteEntityType'
, deleteEntityType_name
- The name of the entity type to delete.
Request Lenses
deleteEntityType_name :: Lens' DeleteEntityType Text Source #
The name of the entity type to delete.
Destructuring the Response
data DeleteEntityTypeResponse Source #
See: newDeleteEntityTypeResponse
smart constructor.
DeleteEntityTypeResponse' | |
|
Instances
newDeleteEntityTypeResponse Source #
Create a value of DeleteEntityTypeResponse
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:DeleteEntityTypeResponse'
, deleteEntityTypeResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEntityTypeResponse_httpStatus :: Lens' DeleteEntityTypeResponse Int Source #
The response's http status code.