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 |
Updates the state, variable values, and timer settings of one or more detectors (instances) of a specified detector model.
Synopsis
- data BatchUpdateDetector = BatchUpdateDetector' {}
- newBatchUpdateDetector :: NonEmpty UpdateDetectorRequest -> BatchUpdateDetector
- batchUpdateDetector_detectors :: Lens' BatchUpdateDetector (NonEmpty UpdateDetectorRequest)
- data BatchUpdateDetectorResponse = BatchUpdateDetectorResponse' {}
- newBatchUpdateDetectorResponse :: Int -> BatchUpdateDetectorResponse
- batchUpdateDetectorResponse_batchUpdateDetectorErrorEntries :: Lens' BatchUpdateDetectorResponse (Maybe [BatchUpdateDetectorErrorEntry])
- batchUpdateDetectorResponse_httpStatus :: Lens' BatchUpdateDetectorResponse Int
Creating a Request
data BatchUpdateDetector Source #
See: newBatchUpdateDetector
smart constructor.
BatchUpdateDetector' | |
|
Instances
newBatchUpdateDetector Source #
Create a value of BatchUpdateDetector
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:BatchUpdateDetector'
, batchUpdateDetector_detectors
- The list of detectors (instances) to update, along with the values to
update.
Request Lenses
batchUpdateDetector_detectors :: Lens' BatchUpdateDetector (NonEmpty UpdateDetectorRequest) Source #
The list of detectors (instances) to update, along with the values to update.
Destructuring the Response
data BatchUpdateDetectorResponse Source #
See: newBatchUpdateDetectorResponse
smart constructor.
BatchUpdateDetectorResponse' | |
|
Instances
newBatchUpdateDetectorResponse Source #
Create a value of BatchUpdateDetectorResponse
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:batchUpdateDetectorErrorEntries:BatchUpdateDetectorResponse'
, batchUpdateDetectorResponse_batchUpdateDetectorErrorEntries
- A list of those detector updates that resulted in errors. (If an error
is listed here, the specific update did not occur.)
$sel:httpStatus:BatchUpdateDetectorResponse'
, batchUpdateDetectorResponse_httpStatus
- The response's http status code.
Response Lenses
batchUpdateDetectorResponse_batchUpdateDetectorErrorEntries :: Lens' BatchUpdateDetectorResponse (Maybe [BatchUpdateDetectorErrorEntry]) Source #
A list of those detector updates that resulted in errors. (If an error is listed here, the specific update did not occur.)
batchUpdateDetectorResponse_httpStatus :: Lens' BatchUpdateDetectorResponse Int Source #
The response's http status code.