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 archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated. This operation is only supported in the tape gateway type.
Synopsis
- data CancelArchival = CancelArchival' {
- gatewayARN :: Text
- tapeARN :: Text
- newCancelArchival :: Text -> Text -> CancelArchival
- cancelArchival_gatewayARN :: Lens' CancelArchival Text
- cancelArchival_tapeARN :: Lens' CancelArchival Text
- data CancelArchivalResponse = CancelArchivalResponse' {
- tapeARN :: Maybe Text
- httpStatus :: Int
- newCancelArchivalResponse :: Int -> CancelArchivalResponse
- cancelArchivalResponse_tapeARN :: Lens' CancelArchivalResponse (Maybe Text)
- cancelArchivalResponse_httpStatus :: Lens' CancelArchivalResponse Int
Creating a Request
data CancelArchival Source #
CancelArchivalInput
See: newCancelArchival
smart constructor.
CancelArchival' | |
|
Instances
Create a value of CancelArchival
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:CancelArchival'
, cancelArchival_gatewayARN
- Undocumented member.
$sel:tapeARN:CancelArchival'
, cancelArchival_tapeARN
- The Amazon Resource Name (ARN) of the virtual tape you want to cancel
archiving for.
Request Lenses
cancelArchival_gatewayARN :: Lens' CancelArchival Text Source #
Undocumented member.
cancelArchival_tapeARN :: Lens' CancelArchival Text Source #
The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving for.
Destructuring the Response
data CancelArchivalResponse Source #
CancelArchivalOutput
See: newCancelArchivalResponse
smart constructor.
CancelArchivalResponse' | |
|
Instances
newCancelArchivalResponse Source #
Create a value of CancelArchivalResponse
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:CancelArchival'
, cancelArchivalResponse_tapeARN
- The Amazon Resource Name (ARN) of the virtual tape for which archiving
was canceled.
$sel:httpStatus:CancelArchivalResponse'
, cancelArchivalResponse_httpStatus
- The response's http status code.
Response Lenses
cancelArchivalResponse_tapeARN :: Lens' CancelArchivalResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the virtual tape for which archiving was canceled.
cancelArchivalResponse_httpStatus :: Lens' CancelArchivalResponse Int Source #
The response's http status code.