amazonka-storagegateway-1.2.0.1: Amazon Storage Gateway SDK.

Copyright(c) 2013-2015 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.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.

See: AWS API Reference for CancelRetrieval.

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:

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:

Response Lenses

crrsTapeARN :: Lens' CancelRetrievalResponse (Maybe Text) Source

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

crrsStatus :: Lens' CancelRetrievalResponse Int Source

The response status code.