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

Contents

Description

Disables a 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 gateway-VTL that is not reachable or not functioning.

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

Synopsis

Creating a Request

disableGateway #

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 #

DisableGatewayInput

See: disableGateway smart constructor.

Instances

Eq DisableGateway # 
Data DisableGateway # 

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 # 
Show DisableGateway # 
Generic DisableGateway # 

Associated Types

type Rep DisableGateway :: * -> * #

Hashable DisableGateway # 
ToJSON DisableGateway # 
NFData DisableGateway # 

Methods

rnf :: DisableGateway -> () #

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

Request Lenses

dGatewayARN :: Lens' DisableGateway Text #

Undocumented member.

Destructuring the Response

disableGatewayResponse #

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 #

DisableGatewayOutput

See: disableGatewayResponse smart constructor.

Instances

Eq DisableGatewayResponse # 
Data DisableGatewayResponse # 

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

Methods

rnf :: DisableGatewayResponse -> () #

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

Response Lenses

disrsGatewayARN :: Lens' DisableGatewayResponse (Maybe Text) #

The unique Amazon Resource Name of the disabled gateway.

disrsResponseStatus :: Lens' DisableGatewayResponse Int #

  • - | The response status code.