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

Contents

Description

Shuts down a gateway. To specify which gateway to shut down, use the Amazon Resource Name (ARN) of the gateway in the body of your request.

The operation shuts down the gateway service component running in the gateway's virtual machine (VM) and not the host VM.

After the gateway is shutdown, you cannot call any other API except StartGateway , DescribeGatewayInformation , and ListGateways . For more information, see ActivateGateway . Your applications cannot read from or write to the gateway's storage volumes, and there are no snapshots taken.

If do not intend to use the gateway again, you must delete the gateway (using DeleteGateway ) to no longer pay software charges associated with the gateway.

Synopsis

Creating a Request

shutdownGateway Source #

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

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

data ShutdownGateway Source #

A JSON object containing the of the gateway to shut down.

See: shutdownGateway smart constructor.

Instances
Eq ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Data ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Methods

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

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

toConstr :: ShutdownGateway -> Constr #

dataTypeOf :: ShutdownGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Show ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Generic ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Associated Types

type Rep ShutdownGateway :: Type -> Type #

Hashable ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

ToJSON ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

AWSRequest ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Associated Types

type Rs ShutdownGateway :: Type #

ToHeaders ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

ToPath ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

ToQuery ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

NFData ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Methods

rnf :: ShutdownGateway -> () #

type Rep ShutdownGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

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

Defined in Network.AWS.StorageGateway.ShutdownGateway

Request Lenses

sGatewayARN :: Lens' ShutdownGateway Text Source #

Undocumented member.

Destructuring the Response

shutdownGatewayResponse Source #

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

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

data ShutdownGatewayResponse Source #

A JSON object containing the of the gateway that was shut down.

See: shutdownGatewayResponse smart constructor.

Instances
Eq ShutdownGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Data ShutdownGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Methods

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

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

toConstr :: ShutdownGatewayResponse -> Constr #

dataTypeOf :: ShutdownGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ShutdownGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Show ShutdownGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Generic ShutdownGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Associated Types

type Rep ShutdownGatewayResponse :: Type -> Type #

NFData ShutdownGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

Methods

rnf :: ShutdownGatewayResponse -> () #

type Rep ShutdownGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.ShutdownGateway

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

Response Lenses

srsResponseStatus :: Lens' ShutdownGatewayResponse Int Source #

  • - | The response status code.