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

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

Defined in Network.AWS.StorageGateway.DisableGateway

Data DisableGateway Source # 
Instance details

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

Defined in Network.AWS.StorageGateway.DisableGateway

Show DisableGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

Generic DisableGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

Associated Types

type Rep DisableGateway :: Type -> Type #

Hashable DisableGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

ToJSON DisableGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

AWSRequest DisableGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

Associated Types

type Rs DisableGateway :: Type #

ToHeaders DisableGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

ToPath DisableGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

ToQuery DisableGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

NFData DisableGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

Methods

rnf :: DisableGateway -> () #

type Rep DisableGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

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

Defined in Network.AWS.StorageGateway.DisableGateway

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

Defined in Network.AWS.StorageGateway.DisableGateway

Data DisableGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

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

Defined in Network.AWS.StorageGateway.DisableGateway

Show DisableGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

Generic DisableGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

Associated Types

type Rep DisableGatewayResponse :: Type -> Type #

NFData DisableGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

Methods

rnf :: DisableGatewayResponse -> () #

type Rep DisableGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DisableGateway

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

Response Lenses

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

The unique Amazon Resource Name of the disabled gateway.