amazonka-storagegateway-1.5.0: Amazon Storage Gateway SDK.

Copyright(c) 2013-2017 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.UpdateGatewayInformation

Contents

Description

Updates a gateway's metadata, which includes the gateway's name and time zone. To specify which gateway to update, use the Amazon Resource Name (ARN) of the gateway in your request.

Synopsis

Creating a Request

updateGatewayInformation Source #

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

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

data UpdateGatewayInformation Source #

See: updateGatewayInformation smart constructor.

Instances

Eq UpdateGatewayInformation Source # 
Data UpdateGatewayInformation Source # 

Methods

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

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

toConstr :: UpdateGatewayInformation -> Constr #

dataTypeOf :: UpdateGatewayInformation -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGatewayInformation Source # 
Show UpdateGatewayInformation Source # 
Generic UpdateGatewayInformation Source # 
Hashable UpdateGatewayInformation Source # 
ToJSON UpdateGatewayInformation Source # 
NFData UpdateGatewayInformation Source # 
AWSRequest UpdateGatewayInformation Source # 
ToQuery UpdateGatewayInformation Source # 
ToPath UpdateGatewayInformation Source # 
ToHeaders UpdateGatewayInformation Source # 
type Rep UpdateGatewayInformation Source # 
type Rep UpdateGatewayInformation = D1 (MetaData "UpdateGatewayInformation" "Network.AWS.StorageGateway.UpdateGatewayInformation" "amazonka-storagegateway-1.5.0-Dl0pEQb6pvFBwTkfuWFwCu" False) (C1 (MetaCons "UpdateGatewayInformation'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ugiGatewayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ugiGatewayTimezone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ugiGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs UpdateGatewayInformation Source # 

Request Lenses

Destructuring the Response

updateGatewayInformationResponse Source #

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

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

data UpdateGatewayInformationResponse Source #

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

See: updateGatewayInformationResponse smart constructor.

Instances

Eq UpdateGatewayInformationResponse Source # 
Data UpdateGatewayInformationResponse Source # 

Methods

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

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

toConstr :: UpdateGatewayInformationResponse -> Constr #

dataTypeOf :: UpdateGatewayInformationResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read UpdateGatewayInformationResponse Source # 
Show UpdateGatewayInformationResponse Source # 
Generic UpdateGatewayInformationResponse Source # 
NFData UpdateGatewayInformationResponse Source # 
type Rep UpdateGatewayInformationResponse Source # 
type Rep UpdateGatewayInformationResponse = D1 (MetaData "UpdateGatewayInformationResponse" "Network.AWS.StorageGateway.UpdateGatewayInformation" "amazonka-storagegateway-1.5.0-Dl0pEQb6pvFBwTkfuWFwCu" False) (C1 (MetaCons "UpdateGatewayInformationResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ugirsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_ugirsGatewayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_ugirsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))))

Response Lenses