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 |
Deletes a gateway. To specify which gateway to delete, use the Amazon Resource Name (ARN) of the gateway in your request. The operation deletes the gateway; however, it does not delete the gateway virtual machine (VM) from your host computer.
After you delete a gateway, you cannot reactivate it. Completed snapshots of the gateway volumes are not deleted upon deleting the gateway, however, pending snapshots will not complete. After you delete a gateway, your next step is to remove it from your environment.
Important: You no longer pay software charges after the gateway is deleted; however, your existing Amazon EBS snapshots persist and you will continue to be billed for these snapshots. You can choose to remove all remaining Amazon EBS snapshots by canceling your Amazon EC2 subscription. If you prefer not to cancel your Amazon EC2 subscription, you can delete your snapshots using the Amazon EC2 console. For more information, see the AWS Storage Gateway Detail Page .
Creating a Request
Creates a value of DeleteGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dgGatewayARN
- Undocumented member.
data DeleteGateway Source #
A JSON object containing the id of the gateway to delete.
See: deleteGateway
smart constructor.
Request Lenses
dgGatewayARN :: Lens' DeleteGateway Text Source #
Undocumented member.
Destructuring the Response
deleteGatewayResponse Source #
Creates a value of DeleteGatewayResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dgrsGatewayARN
- Undocumented member.dgrsResponseStatus
- -- | The response status code.
data DeleteGatewayResponse Source #
A JSON object containing the id of the deleted gateway.
See: deleteGatewayResponse
smart constructor.
Response Lenses
dgrsGatewayARN :: Lens' DeleteGatewayResponse (Maybe Text) Source #
Undocumented member.
dgrsResponseStatus :: Lens' DeleteGatewayResponse Int Source #
- - | The response status code.