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

When you make a request, you will get a 200 OK success response immediately. However, it might take some time for the gateway to be ready. You should call DescribeGatewayInformation and check the status before making any additional API calls. For more information, see ActivateGateway.

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

Synopsis

Creating a Request

startGateway Source #

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 Source #

A JSON object containing the of the gateway to start.

See: startGateway smart constructor.

Instances

Eq StartGateway Source # 
Data StartGateway Source # 

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 Source # 
Show StartGateway Source # 
Generic StartGateway Source # 

Associated Types

type Rep StartGateway :: * -> * #

ToJSON StartGateway Source # 
Hashable StartGateway Source # 
NFData StartGateway Source # 

Methods

rnf :: StartGateway -> () #

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

Request Lenses

sgGatewayARN :: Lens' StartGateway Text Source #

Undocumented member.

Destructuring the Response

startGatewayResponse Source #

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 Source #

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

See: startGatewayResponse smart constructor.

Instances

Eq StartGatewayResponse Source # 
Data StartGatewayResponse Source # 

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 Source # 
Show StartGatewayResponse Source # 
Generic StartGatewayResponse Source # 
NFData StartGatewayResponse Source # 

Methods

rnf :: StartGatewayResponse -> () #

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

Response Lenses