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 |
Deletes the detector version. You cannot delete detector versions that
are in ACTIVE
status.
When you delete a detector version, Amazon Fraud Detector permanently deletes the detector and the data is no longer stored in Amazon Fraud Detector.
Synopsis
- data DeleteDetectorVersion = DeleteDetectorVersion' {}
- newDeleteDetectorVersion :: Text -> Text -> DeleteDetectorVersion
- deleteDetectorVersion_detectorId :: Lens' DeleteDetectorVersion Text
- deleteDetectorVersion_detectorVersionId :: Lens' DeleteDetectorVersion Text
- data DeleteDetectorVersionResponse = DeleteDetectorVersionResponse' {
- httpStatus :: Int
- newDeleteDetectorVersionResponse :: Int -> DeleteDetectorVersionResponse
- deleteDetectorVersionResponse_httpStatus :: Lens' DeleteDetectorVersionResponse Int
Creating a Request
data DeleteDetectorVersion Source #
See: newDeleteDetectorVersion
smart constructor.
DeleteDetectorVersion' | |
|
Instances
newDeleteDetectorVersion Source #
Create a value of DeleteDetectorVersion
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:
DeleteDetectorVersion
, deleteDetectorVersion_detectorId
- The ID of the parent detector for the detector version to delete.
DeleteDetectorVersion
, deleteDetectorVersion_detectorVersionId
- The ID of the detector version to delete.
Request Lenses
deleteDetectorVersion_detectorId :: Lens' DeleteDetectorVersion Text Source #
The ID of the parent detector for the detector version to delete.
deleteDetectorVersion_detectorVersionId :: Lens' DeleteDetectorVersion Text Source #
The ID of the detector version to delete.
Destructuring the Response
data DeleteDetectorVersionResponse Source #
See: newDeleteDetectorVersionResponse
smart constructor.
DeleteDetectorVersionResponse' | |
|
Instances
newDeleteDetectorVersionResponse Source #
Create a value of DeleteDetectorVersionResponse
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:DeleteDetectorVersionResponse'
, deleteDetectorVersionResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDetectorVersionResponse_httpStatus :: Lens' DeleteDetectorVersionResponse Int Source #
The response's http status code.