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

Defined in Network.AWS.StorageGateway.StartGateway

Data StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.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 Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

Show StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

Generic StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

Associated Types

type Rep StartGateway :: Type -> Type #

Hashable StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

ToJSON StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

AWSRequest StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

Associated Types

type Rs StartGateway :: Type #

ToHeaders StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

ToPath StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

ToQuery StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

NFData StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

Methods

rnf :: StartGateway -> () #

type Rep StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

type Rep StartGateway = D1 (MetaData "StartGateway" "Network.AWS.StorageGateway.StartGateway" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" True) (C1 (MetaCons "StartGateway'" PrefixI True) (S1 (MetaSel (Just "_sgGatewayARN") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs StartGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

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

Defined in Network.AWS.StorageGateway.StartGateway

Data StartGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

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

Defined in Network.AWS.StorageGateway.StartGateway

Show StartGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

Generic StartGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

Associated Types

type Rep StartGatewayResponse :: Type -> Type #

NFData StartGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

Methods

rnf :: StartGatewayResponse -> () #

type Rep StartGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.StartGateway

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

Response Lenses

sgrsResponseStatus :: Lens' StartGatewayResponse Int Source #

  • - | The response status code.