| Copyright | (c) 2013-2018 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.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.
Synopsis
- deleteNatGateway :: Text -> DeleteNatGateway
- data DeleteNatGateway
- dngNatGatewayId :: Lens' DeleteNatGateway Text
- deleteNatGatewayResponse :: Int -> DeleteNatGatewayResponse
- data DeleteNatGatewayResponse
- dngnrsNatGatewayId :: Lens' DeleteNatGatewayResponse (Maybe Text)
- dngnrsResponseStatus :: 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:
dngNatGatewayId- The ID of the NAT gateway.
data DeleteNatGateway Source #
Contains the parameters for DeleteNatGateway.
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:
dngnrsNatGatewayId- The ID of the NAT gateway.dngnrsResponseStatus- -- | The response status code.
data DeleteNatGatewayResponse Source #
Contains the output of DeleteNatGateway.
See: deleteNatGatewayResponse smart constructor.
Instances
Response Lenses
dngnrsNatGatewayId :: Lens' DeleteNatGatewayResponse (Maybe Text) Source #
The ID of the NAT gateway.
dngnrsResponseStatus :: Lens' DeleteNatGatewayResponse Int Source #
- - | The response status code.