| 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.DeleteTape
Description
Deletes the specified virtual tape.
See: AWS API Reference for DeleteTape.
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DeleteTape | 
Creates a value of DeleteTape with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteTape Source
DeleteTapeInput
See: deleteTape smart constructor.
Request Lenses
dttGatewayARN :: Lens' DeleteTape Text Source
The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use the ListGateways operation to return a list of gateways for your account and region.
dttTapeARN :: Lens' DeleteTape Text Source
The Amazon Resource Name (ARN) of the virtual tape to delete.
Destructuring the Response
Arguments
| :: Int | |
| -> DeleteTapeResponse | 
Creates a value of DeleteTapeResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteTapeResponse Source
DeleteTapeOutput
See: deleteTapeResponse smart constructor.
Response Lenses
dtrsTapeARN :: Lens' DeleteTapeResponse (Maybe Text) Source
The Amazon Resource Name (ARN) of the deleted virtual tape.
dtrsStatus :: Lens' DeleteTapeResponse Int Source
The response status code.