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

Contents

Description

Deletes a gateway. To specify which gateway to delete, use the Amazon Resource Name (ARN) of the gateway in your request. The operation deletes the gateway; however, it does not delete the gateway virtual machine (VM) from your host computer.

After you delete a gateway, you cannot reactivate it. Completed snapshots of the gateway volumes are not deleted upon deleting the gateway, however, pending snapshots will not complete. After you delete a gateway, your next step is to remove it from your environment.

Important: You no longer pay software charges after the gateway is deleted; however, your existing Amazon EBS snapshots persist and you will continue to be billed for these snapshots. You can choose to remove all remaining Amazon EBS snapshots by canceling your Amazon EC2 subscription.  If you prefer not to cancel your Amazon EC2 subscription, you can delete your snapshots using the Amazon EC2 console. For more information, see the AWS Storage Gateway Detail Page .

Synopsis

Creating a Request

deleteGateway Source #

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

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

data DeleteGateway Source #

A JSON object containing the ID of the gateway to delete.

See: deleteGateway smart constructor.

Instances
Eq DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Data DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Methods

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

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

toConstr :: DeleteGateway -> Constr #

dataTypeOf :: DeleteGateway -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Show DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Generic DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Associated Types

type Rep DeleteGateway :: Type -> Type #

Hashable DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

ToJSON DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

AWSRequest DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Associated Types

type Rs DeleteGateway :: Type #

ToHeaders DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

ToPath DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

ToQuery DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

NFData DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Methods

rnf :: DeleteGateway -> () #

type Rep DeleteGateway Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

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

Defined in Network.AWS.StorageGateway.DeleteGateway

Request Lenses

dgGatewayARN :: Lens' DeleteGateway Text Source #

Undocumented member.

Destructuring the Response

deleteGatewayResponse Source #

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

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

data DeleteGatewayResponse Source #

A JSON object containing the ID of the deleted gateway.

See: deleteGatewayResponse smart constructor.

Instances
Eq DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Data DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Methods

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

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

toConstr :: DeleteGatewayResponse -> Constr #

dataTypeOf :: DeleteGatewayResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Show DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Generic DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Associated Types

type Rep DeleteGatewayResponse :: Type -> Type #

NFData DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

Methods

rnf :: DeleteGatewayResponse -> () #

type Rep DeleteGatewayResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteGateway

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

Response Lenses

dgrsResponseStatus :: Lens' DeleteGatewayResponse Int Source #

  • - | The response status code.