amazonka-storagegateway-1.5.0: Amazon Storage Gateway SDK.

Copyright(c) 2013-2017 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.DisableGateway

Contents

Description

Disables a tape gateway when the gateway is no longer functioning. For example, if your gateway VM is damaged, you can disable the gateway so you can recover virtual tapes.

Use this operation for a tape gateway that is not reachable or not functioning. This operation is only supported in the tape gateway architectures.

Important: Once a gateway is disabled it cannot be enabled.

Synopsis

Creating a Request

disableGateway Source #

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

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

data DisableGateway Source #

DisableGatewayInput

See: disableGateway smart constructor.

Instances

Eq DisableGateway Source # 
Data DisableGateway Source # 

Methods

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

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

toConstr :: DisableGateway -> Constr #

dataTypeOf :: DisableGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisableGateway Source # 
Show DisableGateway Source # 
Generic DisableGateway Source # 

Associated Types

type Rep DisableGateway :: * -> * #

Hashable DisableGateway Source # 
ToJSON DisableGateway Source # 
NFData DisableGateway Source # 

Methods

rnf :: DisableGateway -> () #

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

Request Lenses

dGatewayARN :: Lens' DisableGateway Text Source #

Undocumented member.

Destructuring the Response

disableGatewayResponse Source #

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

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

data DisableGatewayResponse Source #

DisableGatewayOutput

See: disableGatewayResponse smart constructor.

Instances

Eq DisableGatewayResponse Source # 
Data DisableGatewayResponse Source # 

Methods

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

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

toConstr :: DisableGatewayResponse -> Constr #

dataTypeOf :: DisableGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisableGatewayResponse Source # 
Show DisableGatewayResponse Source # 
Generic DisableGatewayResponse Source # 
NFData DisableGatewayResponse Source # 

Methods

rnf :: DisableGatewayResponse -> () #

type Rep DisableGatewayResponse Source # 
type Rep DisableGatewayResponse = D1 (MetaData "DisableGatewayResponse" "Network.AWS.StorageGateway.DisableGateway" "amazonka-storagegateway-1.5.0-Dl0pEQb6pvFBwTkfuWFwCu" False) (C1 (MetaCons "DisableGatewayResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_disrsGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_disrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

disrsGatewayARN :: Lens' DisableGatewayResponse (Maybe Text) Source #

The unique Amazon Resource Name of the disabled gateway.