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 |
Disables one or more alarms. The alarms change to the DISABLED
state
after you disable them.
Synopsis
- data BatchDisableAlarm = BatchDisableAlarm' {}
- newBatchDisableAlarm :: NonEmpty DisableAlarmActionRequest -> BatchDisableAlarm
- batchDisableAlarm_disableActionRequests :: Lens' BatchDisableAlarm (NonEmpty DisableAlarmActionRequest)
- data BatchDisableAlarmResponse = BatchDisableAlarmResponse' {}
- newBatchDisableAlarmResponse :: Int -> BatchDisableAlarmResponse
- batchDisableAlarmResponse_errorEntries :: Lens' BatchDisableAlarmResponse (Maybe [BatchAlarmActionErrorEntry])
- batchDisableAlarmResponse_httpStatus :: Lens' BatchDisableAlarmResponse Int
Creating a Request
data BatchDisableAlarm Source #
See: newBatchDisableAlarm
smart constructor.
BatchDisableAlarm' | |
|
Instances
Create a value of BatchDisableAlarm
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:disableActionRequests:BatchDisableAlarm'
, batchDisableAlarm_disableActionRequests
- The list of disable action requests. You can specify up to 10 requests
per operation.
Request Lenses
batchDisableAlarm_disableActionRequests :: Lens' BatchDisableAlarm (NonEmpty DisableAlarmActionRequest) Source #
The list of disable action requests. You can specify up to 10 requests per operation.
Destructuring the Response
data BatchDisableAlarmResponse Source #
See: newBatchDisableAlarmResponse
smart constructor.
BatchDisableAlarmResponse' | |
|
Instances
newBatchDisableAlarmResponse Source #
Create a value of BatchDisableAlarmResponse
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:errorEntries:BatchDisableAlarmResponse'
, batchDisableAlarmResponse_errorEntries
- A list of errors associated with the request, or null
if there are no
errors. Each error entry contains an entry ID that helps you identify
the entry that failed.
$sel:httpStatus:BatchDisableAlarmResponse'
, batchDisableAlarmResponse_httpStatus
- The response's http status code.
Response Lenses
batchDisableAlarmResponse_errorEntries :: Lens' BatchDisableAlarmResponse (Maybe [BatchAlarmActionErrorEntry]) Source #
A list of errors associated with the request, or null
if there are no
errors. Each error entry contains an entry ID that helps you identify
the entry that failed.
batchDisableAlarmResponse_httpStatus :: Lens' BatchDisableAlarmResponse Int Source #
The response's http status code.