amazonka-storagegateway-1.6.0: Amazon Storage Gateway SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.StorageGateway.DescribeMaintenanceStartTime

Contents

Description

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

Creating a Request

describeMaintenanceStartTime Source #

Creates a value of DescribeMaintenanceStartTime with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeMaintenanceStartTime Source #

A JSON object containing the of the gateway.

See: describeMaintenanceStartTime smart constructor.

Instances

Eq DescribeMaintenanceStartTime Source # 
Data DescribeMaintenanceStartTime Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeMaintenanceStartTime -> c DescribeMaintenanceStartTime #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeMaintenanceStartTime #

toConstr :: DescribeMaintenanceStartTime -> Constr #

dataTypeOf :: DescribeMaintenanceStartTime -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeMaintenanceStartTime) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeMaintenanceStartTime) #

gmapT :: (forall b. Data b => b -> b) -> DescribeMaintenanceStartTime -> DescribeMaintenanceStartTime #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMaintenanceStartTime -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMaintenanceStartTime -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeMaintenanceStartTime -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeMaintenanceStartTime -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeMaintenanceStartTime -> m DescribeMaintenanceStartTime #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMaintenanceStartTime -> m DescribeMaintenanceStartTime #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMaintenanceStartTime -> m DescribeMaintenanceStartTime #

Read DescribeMaintenanceStartTime Source # 
Show DescribeMaintenanceStartTime Source # 
Generic DescribeMaintenanceStartTime Source # 
Hashable DescribeMaintenanceStartTime Source # 
ToJSON DescribeMaintenanceStartTime Source # 
NFData DescribeMaintenanceStartTime Source # 
AWSRequest DescribeMaintenanceStartTime Source # 
ToHeaders DescribeMaintenanceStartTime Source # 
ToPath DescribeMaintenanceStartTime Source # 
ToQuery DescribeMaintenanceStartTime Source # 
type Rep DescribeMaintenanceStartTime Source # 
type Rep DescribeMaintenanceStartTime = D1 * (MetaData "DescribeMaintenanceStartTime" "Network.AWS.StorageGateway.DescribeMaintenanceStartTime" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" True) (C1 * (MetaCons "DescribeMaintenanceStartTime'" PrefixI True) (S1 * (MetaSel (Just Symbol "_dmstGatewayARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Text)))
type Rs DescribeMaintenanceStartTime Source # 

Request Lenses

Destructuring the Response

describeMaintenanceStartTimeResponse Source #

Creates a value of DescribeMaintenanceStartTimeResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dmstrsGatewayARN - Undocumented member.
  • dmstrsMinuteOfHour - 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.
  • dmstrsHourOfDay - 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.
  • dmstrsTimezone - Undocumented member.
  • dmstrsDayOfWeek - 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.
  • dmstrsResponseStatus - -- | The response status code.

data DescribeMaintenanceStartTimeResponse Source #

A JSON object containing the following fields:

  • 'DescribeMaintenanceStartTimeOutput$DayOfWeek'
  • 'DescribeMaintenanceStartTimeOutput$HourOfDay'
  • 'DescribeMaintenanceStartTimeOutput$MinuteOfHour'
  • 'DescribeMaintenanceStartTimeOutput$Timezone'

See: describeMaintenanceStartTimeResponse smart constructor.

Instances

Eq DescribeMaintenanceStartTimeResponse Source # 
Data DescribeMaintenanceStartTimeResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeMaintenanceStartTimeResponse -> c DescribeMaintenanceStartTimeResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeMaintenanceStartTimeResponse #

toConstr :: DescribeMaintenanceStartTimeResponse -> Constr #

dataTypeOf :: DescribeMaintenanceStartTimeResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeMaintenanceStartTimeResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeMaintenanceStartTimeResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeMaintenanceStartTimeResponse -> DescribeMaintenanceStartTimeResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMaintenanceStartTimeResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeMaintenanceStartTimeResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeMaintenanceStartTimeResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeMaintenanceStartTimeResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeMaintenanceStartTimeResponse -> m DescribeMaintenanceStartTimeResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMaintenanceStartTimeResponse -> m DescribeMaintenanceStartTimeResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeMaintenanceStartTimeResponse -> m DescribeMaintenanceStartTimeResponse #

Read DescribeMaintenanceStartTimeResponse Source # 
Show DescribeMaintenanceStartTimeResponse Source # 
Generic DescribeMaintenanceStartTimeResponse Source # 
NFData DescribeMaintenanceStartTimeResponse Source # 
type Rep DescribeMaintenanceStartTimeResponse Source # 
type Rep DescribeMaintenanceStartTimeResponse = D1 * (MetaData "DescribeMaintenanceStartTimeResponse" "Network.AWS.StorageGateway.DescribeMaintenanceStartTime" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" False) (C1 * (MetaCons "DescribeMaintenanceStartTimeResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dmstrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmstrsMinuteOfHour") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_dmstrsHourOfDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmstrsTimezone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmstrsDayOfWeek") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_dmstrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))))

Response Lenses

dmstrsMinuteOfHour :: 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.

dmstrsHourOfDay :: 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.

dmstrsDayOfWeek :: 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.