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

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

Data UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

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

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

Show UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

Generic UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

Associated Types

type Rep UpdateGatewayInformation :: Type -> Type #

Hashable UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

ToJSON UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

AWSRequest UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

Associated Types

type Rs UpdateGatewayInformation :: Type #

ToHeaders UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

ToPath UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

ToQuery UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

NFData UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformation = D1 (MetaData "UpdateGatewayInformation" "Network.AWS.StorageGateway.UpdateGatewayInformation" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "UpdateGatewayInformation'" PrefixI True) (S1 (MetaSel (Just "_ugiGatewayName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_ugiGatewayTimezone") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_ugiGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs UpdateGatewayInformation Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

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

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

Data UpdateGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

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

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

Show UpdateGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

Generic UpdateGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

Associated Types

type Rep UpdateGatewayInformationResponse :: Type -> Type #

NFData UpdateGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

type Rep UpdateGatewayInformationResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.UpdateGatewayInformation

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

Response Lenses