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 |
Returns your gateway's weekly maintenance start time including the day and time of the week. Note that values are in terms of the gateway's time zone.
Synopsis
- data DescribeMaintenanceStartTime = DescribeMaintenanceStartTime' {
- gatewayARN :: Text
- newDescribeMaintenanceStartTime :: Text -> DescribeMaintenanceStartTime
- describeMaintenanceStartTime_gatewayARN :: Lens' DescribeMaintenanceStartTime Text
- data DescribeMaintenanceStartTimeResponse = DescribeMaintenanceStartTimeResponse' {}
- newDescribeMaintenanceStartTimeResponse :: Int -> DescribeMaintenanceStartTimeResponse
- describeMaintenanceStartTimeResponse_dayOfMonth :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural)
- describeMaintenanceStartTimeResponse_dayOfWeek :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural)
- describeMaintenanceStartTimeResponse_gatewayARN :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Text)
- describeMaintenanceStartTimeResponse_hourOfDay :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural)
- describeMaintenanceStartTimeResponse_minuteOfHour :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural)
- describeMaintenanceStartTimeResponse_timezone :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Text)
- describeMaintenanceStartTimeResponse_httpStatus :: Lens' DescribeMaintenanceStartTimeResponse Int
Creating a Request
data DescribeMaintenanceStartTime Source #
A JSON object containing the Amazon Resource Name (ARN) of the gateway.
See: newDescribeMaintenanceStartTime
smart constructor.
Instances
newDescribeMaintenanceStartTime Source #
Create a value of DescribeMaintenanceStartTime
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:
DescribeMaintenanceStartTime
, describeMaintenanceStartTime_gatewayARN
- Undocumented member.
Request Lenses
describeMaintenanceStartTime_gatewayARN :: Lens' DescribeMaintenanceStartTime Text Source #
Undocumented member.
Destructuring the Response
data DescribeMaintenanceStartTimeResponse Source #
A JSON object containing the following fields:
- DescribeMaintenanceStartTimeOutput$DayOfMonth
- DescribeMaintenanceStartTimeOutput$DayOfWeek
- DescribeMaintenanceStartTimeOutput$HourOfDay
- DescribeMaintenanceStartTimeOutput$MinuteOfHour
- DescribeMaintenanceStartTimeOutput$Timezone
See: newDescribeMaintenanceStartTimeResponse
smart constructor.
DescribeMaintenanceStartTimeResponse' | |
|
Instances
newDescribeMaintenanceStartTimeResponse Source #
Create a value of DescribeMaintenanceStartTimeResponse
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:dayOfMonth:DescribeMaintenanceStartTimeResponse'
, describeMaintenanceStartTimeResponse_dayOfMonth
- The day of the month component of the maintenance start time represented
as an ordinal number from 1 to 28, where 1 represents the first day of
the month and 28 represents the last day of the month.
$sel:dayOfWeek:DescribeMaintenanceStartTimeResponse'
, describeMaintenanceStartTimeResponse_dayOfWeek
- An ordinal number between 0 and 6 that represents the day of the week,
where 0 represents Sunday and 6 represents Saturday. The day of week is
in the time zone of the gateway.
DescribeMaintenanceStartTime
, describeMaintenanceStartTimeResponse_gatewayARN
- Undocumented member.
$sel:hourOfDay:DescribeMaintenanceStartTimeResponse'
, describeMaintenanceStartTimeResponse_hourOfDay
- The hour component of the maintenance start time represented as hh,
where hh is the hour (0 to 23). The hour of the day is in the time
zone of the gateway.
$sel:minuteOfHour:DescribeMaintenanceStartTimeResponse'
, describeMaintenanceStartTimeResponse_minuteOfHour
- The minute component of the maintenance start time represented as mm,
where mm is the minute (0 to 59). The minute of the hour is in the
time zone of the gateway.
$sel:timezone:DescribeMaintenanceStartTimeResponse'
, describeMaintenanceStartTimeResponse_timezone
- A value that indicates the time zone that is set for the gateway. The
start time and day of week specified should be in the time zone of the
gateway.
$sel:httpStatus:DescribeMaintenanceStartTimeResponse'
, describeMaintenanceStartTimeResponse_httpStatus
- The response's http status code.
Response Lenses
describeMaintenanceStartTimeResponse_dayOfMonth :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural) Source #
The day of the month component of the maintenance start time represented as an ordinal number from 1 to 28, where 1 represents the first day of the month and 28 represents the last day of the month.
describeMaintenanceStartTimeResponse_dayOfWeek :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural) Source #
An ordinal number between 0 and 6 that represents the day of the week, where 0 represents Sunday and 6 represents Saturday. The day of week is in the time zone of the gateway.
describeMaintenanceStartTimeResponse_gatewayARN :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Text) Source #
Undocumented member.
describeMaintenanceStartTimeResponse_hourOfDay :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural) Source #
The hour component of the maintenance start time represented as hh, where hh is the hour (0 to 23). The hour of the day is in the time zone of the gateway.
describeMaintenanceStartTimeResponse_minuteOfHour :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Natural) Source #
The minute component of the maintenance start time represented as mm, where mm is the minute (0 to 59). The minute of the hour is in the time zone of the gateway.
describeMaintenanceStartTimeResponse_timezone :: Lens' DescribeMaintenanceStartTimeResponse (Maybe Text) Source #
A value that indicates the time zone that is set for the gateway. The start time and day of week specified should be in the time zone of the gateway.
describeMaintenanceStartTimeResponse_httpStatus :: Lens' DescribeMaintenanceStartTimeResponse Int Source #
The response's http status code.