Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates a gateway's weekly maintenance start time information, including day and time of the week. The maintenance time is the time in your gateway's time zone.
- updateMaintenanceStartTime :: Text -> Natural -> Natural -> Natural -> UpdateMaintenanceStartTime
- data UpdateMaintenanceStartTime
- umstGatewayARN :: Lens' UpdateMaintenanceStartTime Text
- umstHourOfDay :: Lens' UpdateMaintenanceStartTime Natural
- umstMinuteOfHour :: Lens' UpdateMaintenanceStartTime Natural
- umstDayOfWeek :: Lens' UpdateMaintenanceStartTime Natural
- updateMaintenanceStartTimeResponse :: Int -> UpdateMaintenanceStartTimeResponse
- data UpdateMaintenanceStartTimeResponse
- umstrsGatewayARN :: Lens' UpdateMaintenanceStartTimeResponse (Maybe Text)
- umstrsResponseStatus :: Lens' UpdateMaintenanceStartTimeResponse Int
Creating a Request
updateMaintenanceStartTime Source #
:: Text | |
-> Natural | |
-> Natural | |
-> Natural | |
-> UpdateMaintenanceStartTime |
Creates a value of UpdateMaintenanceStartTime
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateMaintenanceStartTime Source #
A JSON object containing the following fields:
- UpdateMaintenanceStartTimeInput$DayOfWeek
- UpdateMaintenanceStartTimeInput$HourOfDay
- UpdateMaintenanceStartTimeInput$MinuteOfHour
See: updateMaintenanceStartTime
smart constructor.
Request Lenses
umstGatewayARN :: Lens' UpdateMaintenanceStartTime Text Source #
Undocumented member.
umstHourOfDay :: Lens' UpdateMaintenanceStartTime Natural Source #
The hour component of the maintenance start time represented as hh, where hh is the hour (00 to 23). The hour of the day is in the time zone of the gateway.
umstMinuteOfHour :: Lens' UpdateMaintenanceStartTime Natural Source #
The minute component of the maintenance start time represented as mm, where mm is the minute (00 to 59). The minute of the hour is in the time zone of the gateway.
umstDayOfWeek :: Lens' UpdateMaintenanceStartTime Natural Source #
The maintenance start time day of the week.
Destructuring the Response
updateMaintenanceStartTimeResponse Source #
Creates a value of UpdateMaintenanceStartTimeResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateMaintenanceStartTimeResponse Source #
A JSON object containing the of the gateway whose maintenance start time is updated.
See: updateMaintenanceStartTimeResponse
smart constructor.
Response Lenses
umstrsGatewayARN :: Lens' UpdateMaintenanceStartTimeResponse (Maybe Text) Source #
Undocumented member.
umstrsResponseStatus :: Lens' UpdateMaintenanceStartTimeResponse Int Source #
The response status code.