amazonka-storagegateway-1.4.1: 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.DeleteTape

Contents

Description

Deletes the specified virtual tape.

Synopsis

Creating a Request

deleteTape Source #

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

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

data DeleteTape Source #

DeleteTapeInput

See: deleteTape smart constructor.

Instances

Eq DeleteTape Source # 
Data DeleteTape Source # 

Methods

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

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

toConstr :: DeleteTape -> Constr #

dataTypeOf :: DeleteTape -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteTape Source # 
Show DeleteTape Source # 
Generic DeleteTape Source # 

Associated Types

type Rep DeleteTape :: * -> * #

Hashable DeleteTape Source # 
ToJSON DeleteTape Source # 
NFData DeleteTape Source # 

Methods

rnf :: DeleteTape -> () #

AWSRequest DeleteTape Source # 
ToQuery DeleteTape Source # 
ToPath DeleteTape Source # 
ToHeaders DeleteTape Source # 

Methods

toHeaders :: DeleteTape -> [Header] #

type Rep DeleteTape Source # 
type Rep DeleteTape = D1 (MetaData "DeleteTape" "Network.AWS.StorageGateway.DeleteTape" "amazonka-storagegateway-1.4.1-L8VGb4RzUam2oDN29DqQAk" False) (C1 (MetaCons "DeleteTape'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_delGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_delTapeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DeleteTape Source # 

Request Lenses

delGatewayARN :: Lens' DeleteTape Text Source #

The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and region.

delTapeARN :: Lens' DeleteTape Text Source #

The Amazon Resource Name (ARN) of the virtual tape to delete.

Destructuring the Response

deleteTapeResponse Source #

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

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

data DeleteTapeResponse Source #

DeleteTapeOutput

See: deleteTapeResponse smart constructor.

Instances

Eq DeleteTapeResponse Source # 
Data DeleteTapeResponse Source # 

Methods

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

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

toConstr :: DeleteTapeResponse -> Constr #

dataTypeOf :: DeleteTapeResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteTapeResponse Source # 
Show DeleteTapeResponse Source # 
Generic DeleteTapeResponse Source # 
NFData DeleteTapeResponse Source # 

Methods

rnf :: DeleteTapeResponse -> () #

type Rep DeleteTapeResponse Source # 
type Rep DeleteTapeResponse = D1 (MetaData "DeleteTapeResponse" "Network.AWS.StorageGateway.DeleteTape" "amazonka-storagegateway-1.4.1-L8VGb4RzUam2oDN29DqQAk" False) (C1 (MetaCons "DeleteTapeResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtrsTapeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dtrsTapeARN :: Lens' DeleteTapeResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the deleted virtual tape.