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 one or more detectors that were created. When a detector is deleted, its state will be cleared and the detector will be removed from the list of detectors. The deleted detector will no longer appear if referenced in the ListDetectors API call.
Synopsis
- data BatchDeleteDetector = BatchDeleteDetector' {}
- newBatchDeleteDetector :: NonEmpty DeleteDetectorRequest -> BatchDeleteDetector
- batchDeleteDetector_detectors :: Lens' BatchDeleteDetector (NonEmpty DeleteDetectorRequest)
- data BatchDeleteDetectorResponse = BatchDeleteDetectorResponse' {}
- newBatchDeleteDetectorResponse :: Int -> BatchDeleteDetectorResponse
- batchDeleteDetectorResponse_batchDeleteDetectorErrorEntries :: Lens' BatchDeleteDetectorResponse (Maybe [BatchDeleteDetectorErrorEntry])
- batchDeleteDetectorResponse_httpStatus :: Lens' BatchDeleteDetectorResponse Int
Creating a Request
data BatchDeleteDetector Source #
See: newBatchDeleteDetector
smart constructor.
BatchDeleteDetector' | |
|
Instances
newBatchDeleteDetector Source #
Create a value of BatchDeleteDetector
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:detectors:BatchDeleteDetector'
, batchDeleteDetector_detectors
- The list of one or more detectors to be deleted.
Request Lenses
batchDeleteDetector_detectors :: Lens' BatchDeleteDetector (NonEmpty DeleteDetectorRequest) Source #
The list of one or more detectors to be deleted.
Destructuring the Response
data BatchDeleteDetectorResponse Source #
See: newBatchDeleteDetectorResponse
smart constructor.
BatchDeleteDetectorResponse' | |
|
Instances
newBatchDeleteDetectorResponse Source #
Create a value of BatchDeleteDetectorResponse
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:batchDeleteDetectorErrorEntries:BatchDeleteDetectorResponse'
, batchDeleteDetectorResponse_batchDeleteDetectorErrorEntries
- A list of errors associated with the request, or an empty array ([]
)
if there are no errors. Each error entry contains a messageId
that
helps you identify the entry that failed.
$sel:httpStatus:BatchDeleteDetectorResponse'
, batchDeleteDetectorResponse_httpStatus
- The response's http status code.
Response Lenses
batchDeleteDetectorResponse_batchDeleteDetectorErrorEntries :: Lens' BatchDeleteDetectorResponse (Maybe [BatchDeleteDetectorErrorEntry]) Source #
A list of errors associated with the request, or an empty array ([]
)
if there are no errors. Each error entry contains a messageId
that
helps you identify the entry that failed.
batchDeleteDetectorResponse_httpStatus :: Lens' BatchDeleteDetectorResponse Int Source #
The response's http status code.