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.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.

For Gateways activated after September 2, 2015, the gateway's ARN contains the gateway ID rather than the gateway name. However, changing the name of the gateway has no effect on the gateway's ARN.

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.4.1-L8VGb4RzUam2oDN29DqQAk" 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.4.1-L8VGb4RzUam2oDN29DqQAk" 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