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 |
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.
BatchAcknowledgeAlarm' | |
|
Instances
newBatchAcknowledgeAlarm Source #
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.
BatchAcknowledgeAlarmResponse' | |
|
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.