amazonka-storagegateway-1.6.1: 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 # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

Data DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

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 # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

Show DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

Generic DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

Associated Types

type Rep DescribeMaintenanceStartTime :: Type -> Type #

Hashable DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

ToJSON DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

AWSRequest DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

Associated Types

type Rs DescribeMaintenanceStartTime :: Type #

ToHeaders DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

ToPath DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

ToQuery DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

NFData DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

type Rep DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

type Rep DescribeMaintenanceStartTime = D1 (MetaData "DescribeMaintenanceStartTime" "Network.AWS.StorageGateway.DescribeMaintenanceStartTime" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" True) (C1 (MetaCons "DescribeMaintenanceStartTime'" PrefixI True) (S1 (MetaSel (Just "_dmstGatewayARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DescribeMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

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 # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

Data DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

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 # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

Show DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

Generic DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

NFData DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

type Rep DescribeMaintenanceStartTimeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DescribeMaintenanceStartTime

type Rep DescribeMaintenanceStartTimeResponse = D1 (MetaData "DescribeMaintenanceStartTimeResponse" "Network.AWS.StorageGateway.DescribeMaintenanceStartTime" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "DescribeMaintenanceStartTimeResponse'" PrefixI True) ((S1 (MetaSel (Just "_dmstrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dmstrsMinuteOfHour") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_dmstrsHourOfDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) :*: (S1 (MetaSel (Just "_dmstrsTimezone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dmstrsDayOfWeek") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_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.