Copyright | (c) 2013-2016 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 |
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.
- 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
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 #
Contains the parameters for DeleteNatGateway.
See: deleteNatGateway
smart constructor.
Request Lenses
dngNatGatewayId :: Lens' DeleteNatGateway Text Source #
The ID of the NAT gateway.
Destructuring the Response
deleteNatGatewayResponse Source #
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 #
Contains the output of DeleteNatGateway.
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.