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 the detector. Before deleting a detector, you must first delete all detector versions and rule versions associated with the detector.
When you delete a detector, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
Synopsis
- data DeleteDetector = DeleteDetector' {
- detectorId :: Text
- newDeleteDetector :: Text -> DeleteDetector
- deleteDetector_detectorId :: Lens' DeleteDetector Text
- data DeleteDetectorResponse = DeleteDetectorResponse' {
- httpStatus :: Int
- newDeleteDetectorResponse :: Int -> DeleteDetectorResponse
- deleteDetectorResponse_httpStatus :: Lens' DeleteDetectorResponse Int
Creating a Request
data DeleteDetector Source #
See: newDeleteDetector
smart constructor.
DeleteDetector' | |
|
Instances
Create a value of DeleteDetector
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:detectorId:DeleteDetector'
, deleteDetector_detectorId
- The ID of the detector to delete.
Request Lenses
deleteDetector_detectorId :: Lens' DeleteDetector Text Source #
The ID of the detector to delete.
Destructuring the Response
data DeleteDetectorResponse Source #
See: newDeleteDetectorResponse
smart constructor.
DeleteDetectorResponse' | |
|
Instances
newDeleteDetectorResponse Source #
Create a value of DeleteDetectorResponse
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:DeleteDetectorResponse'
, deleteDetectorResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDetectorResponse_httpStatus :: Lens' DeleteDetectorResponse Int Source #
The response's http status code.