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

Contents

Description

Deletes the specified virtual tape. This operation is only supported in the tape gateway type.

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:

  • delGatewayARN - 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 - The Amazon Resource Name (ARN) of the virtual tape to delete.

data DeleteTape Source #

DeleteTapeInput

See: deleteTape smart constructor.

Instances
Eq DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

Data DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

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

Defined in Network.AWS.StorageGateway.DeleteTape

Show DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

Generic DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

Associated Types

type Rep DeleteTape :: Type -> Type #

Hashable DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

ToJSON DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

AWSRequest DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

Associated Types

type Rs DeleteTape :: Type #

ToHeaders DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

Methods

toHeaders :: DeleteTape -> [Header] #

ToPath DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

ToQuery DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

NFData DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

Methods

rnf :: DeleteTape -> () #

type Rep DeleteTape Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

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

Defined in Network.AWS.StorageGateway.DeleteTape

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

Defined in Network.AWS.StorageGateway.DeleteTape

Data DeleteTapeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

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

Defined in Network.AWS.StorageGateway.DeleteTape

Show DeleteTapeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

Generic DeleteTapeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

Associated Types

type Rep DeleteTapeResponse :: Type -> Type #

NFData DeleteTapeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

Methods

rnf :: DeleteTapeResponse -> () #

type Rep DeleteTapeResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.DeleteTape

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

Response Lenses

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

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

dtrsResponseStatus :: Lens' DeleteTapeResponse Int Source #

  • - | The response status code.