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 |
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.
BatchSnoozeAlarm' | |
|
Instances
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.
BatchSnoozeAlarmResponse' | |
|
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.