amazonka-storagegateway-1.4.1: 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.

When you make this request, you get a '200 OK' success response immediately. However, it might take some time for the update to complete. You can call DescribeGatewayInformation to verify the gateway is in the STATE_RUNNING state.

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 Source #

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 Source #

A JSON object containing the of the gateway to update.

See: updateGatewaySoftwareNow smart constructor.

Instances

Eq UpdateGatewaySoftwareNow Source # 
Data UpdateGatewaySoftwareNow Source # 

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 Source # 
Show UpdateGatewaySoftwareNow Source # 
Generic UpdateGatewaySoftwareNow Source # 
Hashable UpdateGatewaySoftwareNow Source # 
ToJSON UpdateGatewaySoftwareNow Source # 
NFData UpdateGatewaySoftwareNow Source # 
AWSRequest UpdateGatewaySoftwareNow Source # 
ToQuery UpdateGatewaySoftwareNow Source # 
ToPath UpdateGatewaySoftwareNow Source # 
ToHeaders UpdateGatewaySoftwareNow Source # 
type Rep UpdateGatewaySoftwareNow Source # 
type Rep UpdateGatewaySoftwareNow = D1 (MetaData "UpdateGatewaySoftwareNow" "Network.AWS.StorageGateway.UpdateGatewaySoftwareNow" "amazonka-storagegateway-1.4.1-L8VGb4RzUam2oDN29DqQAk" True) (C1 (MetaCons "UpdateGatewaySoftwareNow'" PrefixI True) (S1 (MetaSel (Just Symbol "_ugsnGatewayARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs UpdateGatewaySoftwareNow Source # 

Request Lenses

Destructuring the Response

updateGatewaySoftwareNowResponse Source #

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 Source #

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

See: updateGatewaySoftwareNowResponse smart constructor.

Instances

Eq UpdateGatewaySoftwareNowResponse Source # 
Data UpdateGatewaySoftwareNowResponse Source # 

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 Source # 
Show UpdateGatewaySoftwareNowResponse Source # 
Generic UpdateGatewaySoftwareNowResponse Source # 
NFData UpdateGatewaySoftwareNowResponse Source # 
type Rep UpdateGatewaySoftwareNowResponse Source # 
type Rep UpdateGatewaySoftwareNowResponse = D1 (MetaData "UpdateGatewaySoftwareNowResponse" "Network.AWS.StorageGateway.UpdateGatewaySoftwareNow" "amazonka-storagegateway-1.4.1-L8VGb4RzUam2oDN29DqQAk" False) (C1 (MetaCons "UpdateGatewaySoftwareNowResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ugsnrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ugsnrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses