| 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.EC2.DeleteNatGateway
Description
Deletes the specified NAT gateway. Deleting a NAT gateway disassociates its Elastic IP address, but does not release the address from your account. Deleting a NAT gateway does not delete any NAT gateway routes in your route tables.
See: AWS API Reference for DeleteNatGateway.
- deleteNatGateway :: Text -> DeleteNatGateway
- data DeleteNatGateway
- dngNatGatewayId :: Lens' DeleteNatGateway Text
- deleteNatGatewayResponse :: Int -> DeleteNatGatewayResponse
- data DeleteNatGatewayResponse
- delrsNatGatewayId :: Lens' DeleteNatGatewayResponse (Maybe Text)
- delrsResponseStatus :: Lens' DeleteNatGatewayResponse Int
Creating a Request
Arguments
| :: Text | |
| -> DeleteNatGateway |
Creates a value of DeleteNatGateway with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteNatGateway Source
See: deleteNatGateway smart constructor.
Instances
Request Lenses
dngNatGatewayId :: Lens' DeleteNatGateway Text Source
The ID of the NAT gateway.
Destructuring the Response
deleteNatGatewayResponse Source
Arguments
| :: Int | |
| -> DeleteNatGatewayResponse |
Creates a value of DeleteNatGatewayResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteNatGatewayResponse Source
See: deleteNatGatewayResponse smart constructor.
Response Lenses
delrsNatGatewayId :: Lens' DeleteNatGatewayResponse (Maybe Text) Source
The ID of the NAT gateway.
delrsResponseStatus :: Lens' DeleteNatGatewayResponse Int Source
The response status code.