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.DeleteInternetGateway
Description
Deletes the specified Internet gateway. You must detach the Internet gateway from the VPC before you can delete it.
Creating a Request
Arguments
:: Text | |
-> DeleteInternetGateway |
Creates a value of DeleteInternetGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteInternetGateway Source
See: deleteInternetGateway
smart constructor.
Instances
Request Lenses
digiDryRun :: Lens' DeleteInternetGateway (Maybe Bool) Source
Checks whether you have the required permissions for the action, without
actually making the request, and provides an error response. If you have
the required permissions, the error response is DryRunOperation
.
Otherwise, it is UnauthorizedOperation
.
digiInternetGatewayId :: Lens' DeleteInternetGateway Text Source
The ID of the Internet gateway.
Destructuring the Response
deleteInternetGatewayResponse :: DeleteInternetGatewayResponse Source
Creates a value of DeleteInternetGatewayResponse
with the minimum fields required to make a request.
data DeleteInternetGatewayResponse Source
See: deleteInternetGatewayResponse
smart constructor.