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

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

Data UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.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 Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

Show UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

Generic UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

Associated Types

type Rep UpdateGatewaySoftwareNow :: Type -> Type #

Hashable UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

ToJSON UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

AWSRequest UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

Associated Types

type Rs UpdateGatewaySoftwareNow :: Type #

ToHeaders UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

ToPath UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

ToQuery UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

NFData UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

type Rep UpdateGatewaySoftwareNow Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

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

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

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

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

Data UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

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

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

Show UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

Generic UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

Associated Types

type Rep UpdateGatewaySoftwareNowResponse :: Type -> Type #

NFData UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

type Rep UpdateGatewaySoftwareNowResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewaySoftwareNow

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

Response Lenses