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