| 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.CancelArchival
Description
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 architecture.
- cancelArchival :: Text -> Text -> CancelArchival
- data CancelArchival
- caGatewayARN :: Lens' CancelArchival Text
- caTapeARN :: Lens' CancelArchival Text
- cancelArchivalResponse :: Int -> CancelArchivalResponse
- data CancelArchivalResponse
- carsTapeARN :: Lens' CancelArchivalResponse (Maybe Text)
- carsResponseStatus :: Lens' CancelArchivalResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> CancelArchival |
Creates a value of CancelArchival with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
caGatewayARN- Undocumented member.caTapeARN- The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving for.
data CancelArchival Source #
CancelArchivalInput
See: cancelArchival smart constructor.
Instances
Request Lenses
caGatewayARN :: Lens' CancelArchival Text Source #
Undocumented member.
caTapeARN :: Lens' CancelArchival Text Source #
The Amazon Resource Name (ARN) of the virtual tape you want to cancel archiving for.
Destructuring the Response
cancelArchivalResponse Source #
Arguments
| :: Int | |
| -> CancelArchivalResponse |
Creates a value of CancelArchivalResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
carsTapeARN- The Amazon Resource Name (ARN) of the virtual tape for which archiving was canceled.carsResponseStatus- -- | The response status code.
data CancelArchivalResponse Source #
CancelArchivalOutput
See: cancelArchivalResponse smart constructor.
Response Lenses
carsTapeARN :: Lens' CancelArchivalResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the virtual tape for which archiving was canceled.
carsResponseStatus :: Lens' CancelArchivalResponse Int Source #
- - | The response status code.