| Copyright | (c) 2013-2015 Brendan Hay | 
|---|---|
| License | Mozilla Public License, v. 2.0. | 
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> | 
| Stability | auto-generated | 
| Portability | non-portable (GHC extensions) | 
| Safe Haskell | None | 
| Language | Haskell2010 | 
Network.AWS.StorageGateway.CancelRetrieval
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.
- cancelRetrieval :: Text -> Text -> CancelRetrieval
- data CancelRetrieval
- crGatewayARN :: Lens' CancelRetrieval Text
- crTapeARN :: Lens' CancelRetrieval Text
- cancelRetrievalResponse :: Int -> CancelRetrievalResponse
- data CancelRetrievalResponse
- crrsTapeARN :: Lens' CancelRetrievalResponse (Maybe Text)
- crrsStatus :: Lens' CancelRetrievalResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> CancelRetrieval | 
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:
data CancelRetrieval Source
CancelRetrievalInput
See: cancelRetrieval smart constructor.
Instances
Request Lenses
crGatewayARN :: Lens' CancelRetrieval Text Source
Undocumented member.
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
Arguments
| :: Int | |
| -> CancelRetrievalResponse | 
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:
data CancelRetrievalResponse Source
CancelRetrievalOutput
See: cancelRetrievalResponse smart constructor.
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.