amazonka-storagegateway-1.4.5: Amazon Storage Gateway SDK.

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

Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

Contents

Description

Updates the gateway virtual machine (VM) software. The request immediately triggers the software update.

Important: A software update forces a system restart of your gateway. You can minimize the chance of any disruption to your applications by increasing your iSCSI Initiators' timeouts. For more information about increasing iSCSI Initiator timeouts for Windows and Linux, see Customizing Your Windows iSCSI Settings and Customizing Your Linux iSCSI Settings , respectively.

Synopsis

Creating a Request

updateGatewaySoftwareNow #

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

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

data UpdateGatewaySoftwareNow #

A JSON object containing the of the gateway to update.

See: updateGatewaySoftwareNow smart constructor.

Instances

Eq UpdateGatewaySoftwareNow # 
Data UpdateGatewaySoftwareNow # 

Methods

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

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

toConstr :: UpdateGatewaySoftwareNow -> Constr #

dataTypeOf :: UpdateGatewaySoftwareNow -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGatewaySoftwareNow # 
Show UpdateGatewaySoftwareNow # 
Generic UpdateGatewaySoftwareNow # 
Hashable UpdateGatewaySoftwareNow # 
ToJSON UpdateGatewaySoftwareNow # 
NFData UpdateGatewaySoftwareNow # 
AWSRequest UpdateGatewaySoftwareNow # 
ToQuery UpdateGatewaySoftwareNow # 
ToPath UpdateGatewaySoftwareNow # 
ToHeaders UpdateGatewaySoftwareNow # 
type Rep UpdateGatewaySoftwareNow # 
type Rep UpdateGatewaySoftwareNow = D1 (MetaData "UpdateGatewaySoftwareNow" "Network.AWS.StorageGateway.UpdateGatewaySoftwareNow" "amazonka-storagegateway-1.4.5-ChAHao40T5hDKKv8LXBPA4" True) (C1 (MetaCons "UpdateGatewaySoftwareNow'" PrefixI True) (S1 (MetaSel (Just Symbol "_ugsnGatewayARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs UpdateGatewaySoftwareNow # 

Request Lenses

Destructuring the Response

updateGatewaySoftwareNowResponse #

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

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

data UpdateGatewaySoftwareNowResponse #

A JSON object containing the of the gateway that was updated.

See: updateGatewaySoftwareNowResponse smart constructor.

Instances

Eq UpdateGatewaySoftwareNowResponse # 
Data UpdateGatewaySoftwareNowResponse # 

Methods

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

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

toConstr :: UpdateGatewaySoftwareNowResponse -> Constr #

dataTypeOf :: UpdateGatewaySoftwareNowResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGatewaySoftwareNowResponse # 
Show UpdateGatewaySoftwareNowResponse # 
Generic UpdateGatewaySoftwareNowResponse # 
NFData UpdateGatewaySoftwareNowResponse # 
type Rep UpdateGatewaySoftwareNowResponse # 
type Rep UpdateGatewaySoftwareNowResponse = D1 (MetaData "UpdateGatewaySoftwareNowResponse" "Network.AWS.StorageGateway.UpdateGatewaySoftwareNow" "amazonka-storagegateway-1.4.5-ChAHao40T5hDKKv8LXBPA4" False) (C1 (MetaCons "UpdateGatewaySoftwareNowResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ugsnrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ugsnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses