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

Contents

Description

Starts a gateway that you previously shut down (see ShutdownGateway ). After the gateway starts, you can then make other API calls, your applications can read from or write to the gateway's storage volumes and you will be able to take snapshot backups.

To specify which gateway to start, use the Amazon Resource Name (ARN) of the gateway in your request.

Synopsis

Creating a Request

startGateway #

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

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

data StartGateway #

A JSON object containing the of the gateway to start.

See: startGateway smart constructor.

Instances

Eq StartGateway # 
Data StartGateway # 

Methods

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

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

toConstr :: StartGateway -> Constr #

dataTypeOf :: StartGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartGateway # 
Show StartGateway # 
Generic StartGateway # 

Associated Types

type Rep StartGateway :: * -> * #

Hashable StartGateway # 
ToJSON StartGateway # 
NFData StartGateway # 

Methods

rnf :: StartGateway -> () #

AWSRequest StartGateway # 
ToQuery StartGateway # 
ToPath StartGateway # 
ToHeaders StartGateway # 
type Rep StartGateway # 
type Rep StartGateway = D1 (MetaData "StartGateway" "Network.AWS.StorageGateway.StartGateway" "amazonka-storagegateway-1.4.5-ChAHao40T5hDKKv8LXBPA4" True) (C1 (MetaCons "StartGateway'" PrefixI True) (S1 (MetaSel (Just Symbol "_sgGatewayARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs StartGateway # 

Request Lenses

sgGatewayARN :: Lens' StartGateway Text #

Undocumented member.

Destructuring the Response

startGatewayResponse #

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

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

data StartGatewayResponse #

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

See: startGatewayResponse smart constructor.

Instances

Eq StartGatewayResponse # 
Data StartGatewayResponse # 

Methods

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

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

toConstr :: StartGatewayResponse -> Constr #

dataTypeOf :: StartGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StartGatewayResponse # 
Show StartGatewayResponse # 
Generic StartGatewayResponse # 
NFData StartGatewayResponse # 

Methods

rnf :: StartGatewayResponse -> () #

type Rep StartGatewayResponse # 
type Rep StartGatewayResponse = D1 (MetaData "StartGatewayResponse" "Network.AWS.StorageGateway.StartGateway" "amazonka-storagegateway-1.4.5-ChAHao40T5hDKKv8LXBPA4" False) (C1 (MetaCons "StartGatewayResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_sgrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sgrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

sgrsResponseStatus :: Lens' StartGatewayResponse Int #

  • - | The response status code.