amazonka-storagegateway-1.6.0: 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.CancelRetrieval

Contents

Description

Cancels retrieval of a virtual tape from the virtual tape shelf (VTS) to a gateway after the retrieval process is initiated. The virtual tape is returned to the VTS. This operation is only supported in the tape gateway type.

Synopsis

Creating a Request

cancelRetrieval Source #

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

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

  • crGatewayARN - Undocumented member.
  • crTapeARN - The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for.

data CancelRetrieval Source #

CancelRetrievalInput

See: cancelRetrieval smart constructor.

Instances

Eq CancelRetrieval Source # 
Data CancelRetrieval Source # 

Methods

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

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

toConstr :: CancelRetrieval -> Constr #

dataTypeOf :: CancelRetrieval -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CancelRetrieval Source # 
Show CancelRetrieval Source # 
Generic CancelRetrieval Source # 
Hashable CancelRetrieval Source # 
ToJSON CancelRetrieval Source # 
NFData CancelRetrieval Source # 

Methods

rnf :: CancelRetrieval -> () #

AWSRequest CancelRetrieval Source # 
ToHeaders CancelRetrieval Source # 
ToPath CancelRetrieval Source # 
ToQuery CancelRetrieval Source # 
type Rep CancelRetrieval Source # 
type Rep CancelRetrieval = D1 * (MetaData "CancelRetrieval" "Network.AWS.StorageGateway.CancelRetrieval" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" False) (C1 * (MetaCons "CancelRetrieval'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_crGatewayARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_crTapeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))
type Rs CancelRetrieval Source # 

Request Lenses

crTapeARN :: Lens' CancelRetrieval Text Source #

The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for.

Destructuring the Response

cancelRetrievalResponse Source #

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

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

  • crrsTapeARN - The Amazon Resource Name (ARN) of the virtual tape for which retrieval was canceled.
  • crrsResponseStatus - -- | The response status code.

data CancelRetrievalResponse Source #

CancelRetrievalOutput

See: cancelRetrievalResponse smart constructor.

Instances

Eq CancelRetrievalResponse Source # 
Data CancelRetrievalResponse Source # 

Methods

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

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

toConstr :: CancelRetrievalResponse -> Constr #

dataTypeOf :: CancelRetrievalResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CancelRetrievalResponse Source # 
Show CancelRetrievalResponse Source # 
Generic CancelRetrievalResponse Source # 
NFData CancelRetrievalResponse Source # 

Methods

rnf :: CancelRetrievalResponse -> () #

type Rep CancelRetrievalResponse Source # 
type Rep CancelRetrievalResponse = D1 * (MetaData "CancelRetrievalResponse" "Network.AWS.StorageGateway.CancelRetrieval" "amazonka-storagegateway-1.6.0-4O2jykLIBNRAOy2n0S31Gg" False) (C1 * (MetaCons "CancelRetrievalResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_crrsTapeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_crrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

crrsTapeARN :: Lens' CancelRetrievalResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the virtual tape for which retrieval was canceled.