Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Deletes an egress-only internet gateway.
Synopsis
- data DeleteEgressOnlyInternetGateway = DeleteEgressOnlyInternetGateway' {}
- newDeleteEgressOnlyInternetGateway :: Text -> DeleteEgressOnlyInternetGateway
- deleteEgressOnlyInternetGateway_dryRun :: Lens' DeleteEgressOnlyInternetGateway (Maybe Bool)
- deleteEgressOnlyInternetGateway_egressOnlyInternetGatewayId :: Lens' DeleteEgressOnlyInternetGateway Text
- data DeleteEgressOnlyInternetGatewayResponse = DeleteEgressOnlyInternetGatewayResponse' {
- returnCode :: Maybe Bool
- httpStatus :: Int
- newDeleteEgressOnlyInternetGatewayResponse :: Int -> DeleteEgressOnlyInternetGatewayResponse
- deleteEgressOnlyInternetGatewayResponse_returnCode :: Lens' DeleteEgressOnlyInternetGatewayResponse (Maybe Bool)
- deleteEgressOnlyInternetGatewayResponse_httpStatus :: Lens' DeleteEgressOnlyInternetGatewayResponse Int
Creating a Request
data DeleteEgressOnlyInternetGateway Source #
See: newDeleteEgressOnlyInternetGateway
smart constructor.
DeleteEgressOnlyInternetGateway' | |
|
Instances
newDeleteEgressOnlyInternetGateway Source #
Create a value of DeleteEgressOnlyInternetGateway
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:dryRun:DeleteEgressOnlyInternetGateway'
, deleteEgressOnlyInternetGateway_dryRun
- 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
.
DeleteEgressOnlyInternetGateway
, deleteEgressOnlyInternetGateway_egressOnlyInternetGatewayId
- The ID of the egress-only internet gateway.
Request Lenses
deleteEgressOnlyInternetGateway_dryRun :: 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
.
deleteEgressOnlyInternetGateway_egressOnlyInternetGatewayId :: Lens' DeleteEgressOnlyInternetGateway Text Source #
The ID of the egress-only internet gateway.
Destructuring the Response
data DeleteEgressOnlyInternetGatewayResponse Source #
See: newDeleteEgressOnlyInternetGatewayResponse
smart constructor.
DeleteEgressOnlyInternetGatewayResponse' | |
|
Instances
newDeleteEgressOnlyInternetGatewayResponse Source #
Create a value of DeleteEgressOnlyInternetGatewayResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:returnCode:DeleteEgressOnlyInternetGatewayResponse'
, deleteEgressOnlyInternetGatewayResponse_returnCode
- Returns true
if the request succeeds; otherwise, it returns an error.
$sel:httpStatus:DeleteEgressOnlyInternetGatewayResponse'
, deleteEgressOnlyInternetGatewayResponse_httpStatus
- The response's http status code.
Response Lenses
deleteEgressOnlyInternetGatewayResponse_returnCode :: Lens' DeleteEgressOnlyInternetGatewayResponse (Maybe Bool) Source #
Returns true
if the request succeeds; otherwise, it returns an error.
deleteEgressOnlyInternetGatewayResponse_httpStatus :: Lens' DeleteEgressOnlyInternetGatewayResponse Int Source #
The response's http status code.