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 an egress-only Internet gateway.
- deleteEgressOnlyInternetGateway :: Text -> DeleteEgressOnlyInternetGateway
- data DeleteEgressOnlyInternetGateway
- deoigeDryRun :: Lens' DeleteEgressOnlyInternetGateway (Maybe Bool)
- deoigeEgressOnlyInternetGatewayId :: Lens' DeleteEgressOnlyInternetGateway Text
- deleteEgressOnlyInternetGatewayResponse :: Int -> DeleteEgressOnlyInternetGatewayResponse
- data DeleteEgressOnlyInternetGatewayResponse
- delrsReturnCode :: Lens' DeleteEgressOnlyInternetGatewayResponse (Maybe Bool)
- delrsResponseStatus :: 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.
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:
delrsReturnCode
- Returnstrue
if the request succeeds; otherwise, it returns an error.delrsResponseStatus
- -- | The response status code.
data DeleteEgressOnlyInternetGatewayResponse Source #
See: deleteEgressOnlyInternetGatewayResponse
smart constructor.
Response Lenses
delrsReturnCode :: Lens' DeleteEgressOnlyInternetGatewayResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
delrsResponseStatus :: Lens' DeleteEgressOnlyInternetGatewayResponse Int Source #
- - | The response status code.