| 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.DeleteEgressOnlyInternetGateway
Description
Deletes an egress-only Internet gateway.
- deleteEgressOnlyInternetGateway :: Text -> DeleteEgressOnlyInternetGateway
- data DeleteEgressOnlyInternetGateway
- deoigeDryRun :: Lens' DeleteEgressOnlyInternetGateway (Maybe Bool)
- deoigeEgressOnlyInternetGatewayId :: Lens' DeleteEgressOnlyInternetGateway Text
- deleteEgressOnlyInternetGatewayResponse :: Int -> DeleteEgressOnlyInternetGatewayResponse
- data DeleteEgressOnlyInternetGatewayResponse
- deoigersReturnCode :: Lens' DeleteEgressOnlyInternetGatewayResponse (Maybe Bool)
- deoigersResponseStatus :: Lens' DeleteEgressOnlyInternetGatewayResponse Int
Creating a Request
deleteEgressOnlyInternetGateway Source #
Creates a value of DeleteEgressOnlyInternetGateway with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
deoigeDryRun- 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 isDryRunOperation. Otherwise, it isUnauthorizedOperation.deoigeEgressOnlyInternetGatewayId- The ID of the egress-only Internet gateway.
data DeleteEgressOnlyInternetGateway Source #
See: deleteEgressOnlyInternetGateway smart constructor.
Instances
Request Lenses
deoigeDryRun :: Lens' DeleteEgressOnlyInternetGateway (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 .
deoigeEgressOnlyInternetGatewayId :: Lens' DeleteEgressOnlyInternetGateway Text Source #
The ID of the egress-only Internet gateway.
Destructuring the Response
deleteEgressOnlyInternetGatewayResponse Source #
Creates a value of DeleteEgressOnlyInternetGatewayResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
deoigersReturnCode- Returnstrueif the request succeeds; otherwise, it returns an error.deoigersResponseStatus- -- | The response status code.
data DeleteEgressOnlyInternetGatewayResponse Source #
See: deleteEgressOnlyInternetGatewayResponse smart constructor.
Instances
Response Lenses
deoigersReturnCode :: Lens' DeleteEgressOnlyInternetGatewayResponse (Maybe Bool) Source #
Returns true if the request succeeds; otherwise, it returns an error.
deoigersResponseStatus :: Lens' DeleteEgressOnlyInternetGatewayResponse Int Source #
- - | The response status code.