| 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.DeleteTape
Description
Deletes the specified virtual tape. This operation is only supported in the tape gateway architecture.
- 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:
delGatewayARN- The unique Amazon Resource Name (ARN) of the gateway that the virtual tape to delete is associated with. Use theListGatewaysoperation to return a list of gateways for your account and region.delTapeARN- The Amazon Resource Name (ARN) of the virtual tape to delete.
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:
dtrsTapeARN- The Amazon Resource Name (ARN) of the deleted virtual tape.dtrsResponseStatus- -- | The response status code.
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.