| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@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.
- cancelRetrieval :: Text -> Text -> CancelRetrieval
- data CancelRetrieval
- crGatewayARN :: Lens' CancelRetrieval Text
- crTapeARN :: Lens' CancelRetrieval Text
- cancelRetrievalResponse :: Int -> CancelRetrievalResponse
- data CancelRetrievalResponse
- crrsTapeARN :: Lens' CancelRetrievalResponse (Maybe Text)
- crrsResponseStatus :: 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:
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
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:
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.
Response Lenses
crrsTapeARN :: Lens' CancelRetrievalResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the virtual tape for which retrieval was canceled.
crrsResponseStatus :: Lens' CancelRetrievalResponse Int Source #
- - | The response status code.