| 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 |
Amazonka.IoTEventsData.BatchResetAlarm
Description
Resets one or more alarms. The alarms return to the NORMAL state after
you reset them.
Synopsis
- data BatchResetAlarm = BatchResetAlarm' {}
- newBatchResetAlarm :: NonEmpty ResetAlarmActionRequest -> BatchResetAlarm
- batchResetAlarm_resetActionRequests :: Lens' BatchResetAlarm (NonEmpty ResetAlarmActionRequest)
- data BatchResetAlarmResponse = BatchResetAlarmResponse' {}
- newBatchResetAlarmResponse :: Int -> BatchResetAlarmResponse
- batchResetAlarmResponse_errorEntries :: Lens' BatchResetAlarmResponse (Maybe [BatchAlarmActionErrorEntry])
- batchResetAlarmResponse_httpStatus :: Lens' BatchResetAlarmResponse Int
Creating a Request
data BatchResetAlarm Source #
See: newBatchResetAlarm smart constructor.
Constructors
| BatchResetAlarm' | |
Fields
| |
Instances
Arguments
| :: NonEmpty ResetAlarmActionRequest | |
| -> BatchResetAlarm |
Create a value of BatchResetAlarm 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:resetActionRequests:BatchResetAlarm', batchResetAlarm_resetActionRequests - The list of reset action requests. You can specify up to 10 requests per
operation.
Request Lenses
batchResetAlarm_resetActionRequests :: Lens' BatchResetAlarm (NonEmpty ResetAlarmActionRequest) Source #
The list of reset action requests. You can specify up to 10 requests per operation.
Destructuring the Response
data BatchResetAlarmResponse Source #
See: newBatchResetAlarmResponse smart constructor.
Constructors
| BatchResetAlarmResponse' | |
Fields
| |
Instances
newBatchResetAlarmResponse Source #
Create a value of BatchResetAlarmResponse 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:BatchResetAlarmResponse', batchResetAlarmResponse_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:BatchResetAlarmResponse', batchResetAlarmResponse_httpStatus - The response's http status code.
Response Lenses
batchResetAlarmResponse_errorEntries :: Lens' BatchResetAlarmResponse (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.
batchResetAlarmResponse_httpStatus :: Lens' BatchResetAlarmResponse Int Source #
The response's http status code.