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.UpdateMaintenanceStartTime

Contents

Description

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.

Synopsis

Creating a Request

updateMaintenanceStartTime Source #

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:

  • umstGatewayARN - Undocumented member.
  • umstHourOfDay - 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 - 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 - The maintenance start time day of the week represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

data UpdateMaintenanceStartTime Source #

A JSON object containing the following fields:

  • 'UpdateMaintenanceStartTimeInput$DayOfWeek'
  • 'UpdateMaintenanceStartTimeInput$HourOfDay'
  • 'UpdateMaintenanceStartTimeInput$MinuteOfHour'

See: updateMaintenanceStartTime smart constructor.

Instances

Eq UpdateMaintenanceStartTime Source # 
Data UpdateMaintenanceStartTime Source # 

Methods

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

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

toConstr :: UpdateMaintenanceStartTime -> Constr #

dataTypeOf :: UpdateMaintenanceStartTime -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateMaintenanceStartTime Source # 
Show UpdateMaintenanceStartTime Source # 
Generic UpdateMaintenanceStartTime Source # 
Hashable UpdateMaintenanceStartTime Source # 
ToJSON UpdateMaintenanceStartTime Source # 
NFData UpdateMaintenanceStartTime Source # 
AWSRequest UpdateMaintenanceStartTime Source # 
ToHeaders UpdateMaintenanceStartTime Source # 
ToPath UpdateMaintenanceStartTime Source # 
ToQuery UpdateMaintenanceStartTime Source # 
type Rep UpdateMaintenanceStartTime Source # 
type Rep UpdateMaintenanceStartTime = D1 * (MetaData "UpdateMaintenanceStartTime" "Network.AWS.StorageGateway.UpdateMaintenanceStartTime" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" False) (C1 * (MetaCons "UpdateMaintenanceStartTime'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_umstGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_umstHourOfDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Nat))) ((:*:) * (S1 * (MetaSel (Just Symbol "_umstMinuteOfHour") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Nat)) (S1 * (MetaSel (Just Symbol "_umstDayOfWeek") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Nat)))))
type Rs UpdateMaintenanceStartTime Source # 

Request Lenses

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 represented as an ordinal number from 0 to 6, where 0 represents Sunday and 6 Saturday.

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.

Instances

Eq UpdateMaintenanceStartTimeResponse Source # 
Data UpdateMaintenanceStartTimeResponse Source # 

Methods

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

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

toConstr :: UpdateMaintenanceStartTimeResponse -> Constr #

dataTypeOf :: UpdateMaintenanceStartTimeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateMaintenanceStartTimeResponse Source # 
Show UpdateMaintenanceStartTimeResponse Source # 
Generic UpdateMaintenanceStartTimeResponse Source # 
NFData UpdateMaintenanceStartTimeResponse Source # 
type Rep UpdateMaintenanceStartTimeResponse Source # 
type Rep UpdateMaintenanceStartTimeResponse = D1 * (MetaData "UpdateMaintenanceStartTimeResponse" "Network.AWS.StorageGateway.UpdateMaintenanceStartTime" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" False) (C1 * (MetaCons "UpdateMaintenanceStartTimeResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_umstrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_umstrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses