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

Defined in Network.AWS.StorageGateway.CancelRetrieval

Data CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

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

Defined in Network.AWS.StorageGateway.CancelRetrieval

Show CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

Generic CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

Associated Types

type Rep CancelRetrieval :: Type -> Type #

Hashable CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

ToJSON CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

AWSRequest CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

Associated Types

type Rs CancelRetrieval :: Type #

ToHeaders CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

ToPath CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

ToQuery CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

NFData CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

Methods

rnf :: CancelRetrieval -> () #

type Rep CancelRetrieval Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

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

Defined in Network.AWS.StorageGateway.CancelRetrieval

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

Defined in Network.AWS.StorageGateway.CancelRetrieval

Data CancelRetrievalResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

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

Defined in Network.AWS.StorageGateway.CancelRetrieval

Show CancelRetrievalResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

Generic CancelRetrievalResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

Associated Types

type Rep CancelRetrievalResponse :: Type -> Type #

NFData CancelRetrievalResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

Methods

rnf :: CancelRetrievalResponse -> () #

type Rep CancelRetrievalResponse Source # 
Instance details

Defined in Network.AWS.StorageGateway.CancelRetrieval

type Rep CancelRetrievalResponse = D1 (MetaData "CancelRetrievalResponse" "Network.AWS.StorageGateway.CancelRetrieval" "amazonka-storagegateway-1.6.1-8r5RVaLfJcl46lpEVK6Ktc" False) (C1 (MetaCons "CancelRetrievalResponse'" PrefixI True) (S1 (MetaSel (Just "_crrsTapeARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_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.