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

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

Data UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

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

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

Show UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

Generic UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

Associated Types

type Rep UpdateMaintenanceStartTime :: Type -> Type #

Hashable UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

ToJSON UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

AWSRequest UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

Associated Types

type Rs UpdateMaintenanceStartTime :: Type #

ToHeaders UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

ToPath UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

ToQuery UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

NFData UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

type Rep UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

type Rep UpdateMaintenanceStartTime = D1 (MetaData "UpdateMaintenanceStartTime" "Network.AWS.StorageGateway.UpdateMaintenanceStartTime" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "UpdateMaintenanceStartTime'" PrefixI True) ((S1 (MetaSel (Just "_umstGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_umstHourOfDay") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat)) :*: (S1 (MetaSel (Just "_umstMinuteOfHour") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat) :*: S1 (MetaSel (Just "_umstDayOfWeek") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat))))
type Rs UpdateMaintenanceStartTime Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

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

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

Data UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

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

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

Show UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

Generic UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

Associated Types

type Rep UpdateMaintenanceStartTimeResponse :: Type -> Type #

NFData UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

type Rep UpdateMaintenanceStartTimeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateMaintenanceStartTime

type Rep UpdateMaintenanceStartTimeResponse = D1 (MetaData "UpdateMaintenanceStartTimeResponse" "Network.AWS.StorageGateway.UpdateMaintenanceStartTime" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "UpdateMaintenanceStartTimeResponse'" PrefixI True) (S1 (MetaSel (Just "_umstrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_umstrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses