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 Amazon GuardDuty detector that is specified by the detector ID.
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 unique ID of the detector that you want to delete.
Request Lenses
deleteDetector_detectorId :: Lens' DeleteDetector Text Source #
The unique ID of the detector that you want 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.