Copyright | (c) 2013-2021 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 |
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
- data CancelRetrieval = CancelRetrieval' {
- gatewayARN :: Text
- tapeARN :: Text
- newCancelRetrieval :: Text -> Text -> CancelRetrieval
- cancelRetrieval_gatewayARN :: Lens' CancelRetrieval Text
- cancelRetrieval_tapeARN :: Lens' CancelRetrieval Text
- data CancelRetrievalResponse = CancelRetrievalResponse' {
- tapeARN :: Maybe Text
- httpStatus :: Int
- newCancelRetrievalResponse :: Int -> CancelRetrievalResponse
- cancelRetrievalResponse_tapeARN :: Lens' CancelRetrievalResponse (Maybe Text)
- cancelRetrievalResponse_httpStatus :: Lens' CancelRetrievalResponse Int
Creating a Request
data CancelRetrieval Source #
CancelRetrievalInput
See: newCancelRetrieval
smart constructor.
CancelRetrieval' | |
|
Instances
Create a value of CancelRetrieval
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:gatewayARN:CancelRetrieval'
, cancelRetrieval_gatewayARN
- Undocumented member.
$sel:tapeARN:CancelRetrieval'
, cancelRetrieval_tapeARN
- The Amazon Resource Name (ARN) of the virtual tape you want to cancel
retrieval for.
Request Lenses
cancelRetrieval_gatewayARN :: Lens' CancelRetrieval Text Source #
Undocumented member.
cancelRetrieval_tapeARN :: Lens' CancelRetrieval Text Source #
The Amazon Resource Name (ARN) of the virtual tape you want to cancel retrieval for.
Destructuring the Response
data CancelRetrievalResponse Source #
CancelRetrievalOutput
See: newCancelRetrievalResponse
smart constructor.
CancelRetrievalResponse' | |
|
Instances
newCancelRetrievalResponse Source #
Create a value of CancelRetrievalResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tapeARN:CancelRetrieval'
, cancelRetrievalResponse_tapeARN
- The Amazon Resource Name (ARN) of the virtual tape for which retrieval
was canceled.
$sel:httpStatus:CancelRetrievalResponse'
, cancelRetrievalResponse_httpStatus
- The response's http status code.
Response Lenses
cancelRetrievalResponse_tapeARN :: Lens' CancelRetrievalResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the virtual tape for which retrieval was canceled.
cancelRetrievalResponse_httpStatus :: Lens' CancelRetrievalResponse Int Source #
The response's http status code.