| 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.
- deleteTape :: Text -> Text -> DeleteTape
- data DeleteTape
- delGatewayARN :: Lens' DeleteTape Text
- delTapeARN :: Lens' DeleteTape Text
- deleteTapeResponse :: Int -> DeleteTapeResponse
- data DeleteTapeResponse
- dtrsTapeARN :: Lens' DeleteTapeResponse (Maybe Text)
- dtrsResponseStatus :: Lens' DeleteTapeResponse Int
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.
Instances
Request Lenses
delGatewayARN :: 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.
delTapeARN :: 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.
dtrsResponseStatus :: Lens' DeleteTapeResponse Int Source
The response status code.