| 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.CancelArchival
Description
Cancels archiving of a virtual tape to the virtual tape shelf (VTS) after the archiving process is initiated.
See: AWS API Reference for CancelArchival.
- cancelArchival :: Text -> Text -> CancelArchival
- data CancelArchival
- caGatewayARN :: Lens' CancelArchival Text
- caTapeARN :: Lens' CancelArchival Text
- cancelArchivalResponse :: Int -> CancelArchivalResponse
- data CancelArchivalResponse
- carsTapeARN :: Lens' CancelArchivalResponse (Maybe Text)
- carsStatus :: 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:
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
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:
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.
carsStatus :: Lens' CancelArchivalResponse Int Source
The response status code.