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 |
Enables one or more alarms. The alarms change to the NORMAL
state
after you enable them.
Synopsis
- data BatchEnableAlarm = BatchEnableAlarm' {}
- newBatchEnableAlarm :: NonEmpty EnableAlarmActionRequest -> BatchEnableAlarm
- batchEnableAlarm_enableActionRequests :: Lens' BatchEnableAlarm (NonEmpty EnableAlarmActionRequest)
- data BatchEnableAlarmResponse = BatchEnableAlarmResponse' {}
- newBatchEnableAlarmResponse :: Int -> BatchEnableAlarmResponse
- batchEnableAlarmResponse_errorEntries :: Lens' BatchEnableAlarmResponse (Maybe [BatchAlarmActionErrorEntry])
- batchEnableAlarmResponse_httpStatus :: Lens' BatchEnableAlarmResponse Int
Creating a Request
data BatchEnableAlarm Source #
See: newBatchEnableAlarm
smart constructor.
BatchEnableAlarm' | |
|
Instances
Create a value of BatchEnableAlarm
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:enableActionRequests:BatchEnableAlarm'
, batchEnableAlarm_enableActionRequests
- The list of enable action requests. You can specify up to 10 requests
per operation.
Request Lenses
batchEnableAlarm_enableActionRequests :: Lens' BatchEnableAlarm (NonEmpty EnableAlarmActionRequest) Source #
The list of enable action requests. You can specify up to 10 requests per operation.
Destructuring the Response
data BatchEnableAlarmResponse Source #
See: newBatchEnableAlarmResponse
smart constructor.
BatchEnableAlarmResponse' | |
|
Instances
newBatchEnableAlarmResponse Source #
Create a value of BatchEnableAlarmResponse
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:BatchEnableAlarmResponse'
, batchEnableAlarmResponse_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:BatchEnableAlarmResponse'
, batchEnableAlarmResponse_httpStatus
- The response's http status code.
Response Lenses
batchEnableAlarmResponse_errorEntries :: Lens' BatchEnableAlarmResponse (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.
batchEnableAlarmResponse_httpStatus :: Lens' BatchEnableAlarmResponse Int Source #
The response's http status code.