| 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.BatchSnoozeAlarm
Description
Changes one or more alarms to the snooze mode. The alarms change to the
SNOOZE_DISABLED state after you set them to the snooze mode.
Synopsis
- data BatchSnoozeAlarm = BatchSnoozeAlarm' {}
- newBatchSnoozeAlarm :: NonEmpty SnoozeAlarmActionRequest -> BatchSnoozeAlarm
- batchSnoozeAlarm_snoozeActionRequests :: Lens' BatchSnoozeAlarm (NonEmpty SnoozeAlarmActionRequest)
- data BatchSnoozeAlarmResponse = BatchSnoozeAlarmResponse' {}
- newBatchSnoozeAlarmResponse :: Int -> BatchSnoozeAlarmResponse
- batchSnoozeAlarmResponse_errorEntries :: Lens' BatchSnoozeAlarmResponse (Maybe [BatchAlarmActionErrorEntry])
- batchSnoozeAlarmResponse_httpStatus :: Lens' BatchSnoozeAlarmResponse Int
Creating a Request
data BatchSnoozeAlarm Source #
See: newBatchSnoozeAlarm smart constructor.
Constructors
| BatchSnoozeAlarm' | |
Fields
| |
Instances
Arguments
| :: NonEmpty SnoozeAlarmActionRequest | |
| -> BatchSnoozeAlarm |
Create a value of BatchSnoozeAlarm 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:snoozeActionRequests:BatchSnoozeAlarm', batchSnoozeAlarm_snoozeActionRequests - The list of snooze action requests. You can specify up to 10 requests
per operation.
Request Lenses
batchSnoozeAlarm_snoozeActionRequests :: Lens' BatchSnoozeAlarm (NonEmpty SnoozeAlarmActionRequest) Source #
The list of snooze action requests. You can specify up to 10 requests per operation.
Destructuring the Response
data BatchSnoozeAlarmResponse Source #
See: newBatchSnoozeAlarmResponse smart constructor.
Constructors
| BatchSnoozeAlarmResponse' | |
Fields
| |
Instances
newBatchSnoozeAlarmResponse Source #
Create a value of BatchSnoozeAlarmResponse 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:BatchSnoozeAlarmResponse', batchSnoozeAlarmResponse_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:BatchSnoozeAlarmResponse', batchSnoozeAlarmResponse_httpStatus - The response's http status code.
Response Lenses
batchSnoozeAlarmResponse_errorEntries :: Lens' BatchSnoozeAlarmResponse (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.
batchSnoozeAlarmResponse_httpStatus :: Lens' BatchSnoozeAlarmResponse Int Source #
The response's http status code.