| 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.BatchAcknowledgeAlarm
Description
Acknowledges one or more alarms. The alarms change to the ACKNOWLEDGED
state after you acknowledge them.
Synopsis
- data BatchAcknowledgeAlarm = BatchAcknowledgeAlarm' {}
- newBatchAcknowledgeAlarm :: NonEmpty AcknowledgeAlarmActionRequest -> BatchAcknowledgeAlarm
- batchAcknowledgeAlarm_acknowledgeActionRequests :: Lens' BatchAcknowledgeAlarm (NonEmpty AcknowledgeAlarmActionRequest)
- data BatchAcknowledgeAlarmResponse = BatchAcknowledgeAlarmResponse' {}
- newBatchAcknowledgeAlarmResponse :: Int -> BatchAcknowledgeAlarmResponse
- batchAcknowledgeAlarmResponse_errorEntries :: Lens' BatchAcknowledgeAlarmResponse (Maybe [BatchAlarmActionErrorEntry])
- batchAcknowledgeAlarmResponse_httpStatus :: Lens' BatchAcknowledgeAlarmResponse Int
Creating a Request
data BatchAcknowledgeAlarm Source #
See: newBatchAcknowledgeAlarm smart constructor.
Constructors
| BatchAcknowledgeAlarm' | |
Fields
| |
Instances
newBatchAcknowledgeAlarm Source #
Arguments
| :: NonEmpty AcknowledgeAlarmActionRequest | |
| -> BatchAcknowledgeAlarm |
Create a value of BatchAcknowledgeAlarm 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:acknowledgeActionRequests:BatchAcknowledgeAlarm', batchAcknowledgeAlarm_acknowledgeActionRequests - The list of acknowledge action requests. You can specify up to 10
requests per operation.
Request Lenses
batchAcknowledgeAlarm_acknowledgeActionRequests :: Lens' BatchAcknowledgeAlarm (NonEmpty AcknowledgeAlarmActionRequest) Source #
The list of acknowledge action requests. You can specify up to 10 requests per operation.
Destructuring the Response
data BatchAcknowledgeAlarmResponse Source #
See: newBatchAcknowledgeAlarmResponse smart constructor.
Constructors
| BatchAcknowledgeAlarmResponse' | |
Fields
| |
Instances
newBatchAcknowledgeAlarmResponse Source #
Create a value of BatchAcknowledgeAlarmResponse 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:BatchAcknowledgeAlarmResponse', batchAcknowledgeAlarmResponse_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:BatchAcknowledgeAlarmResponse', batchAcknowledgeAlarmResponse_httpStatus - The response's http status code.
Response Lenses
batchAcknowledgeAlarmResponse_errorEntries :: Lens' BatchAcknowledgeAlarmResponse (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.
batchAcknowledgeAlarmResponse_httpStatus :: Lens' BatchAcknowledgeAlarmResponse Int Source #
The response's http status code.