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 the specified customer gateway. You must delete the VPN connection before you can delete the customer gateway.
Synopsis
- data DeleteCustomerGateway = DeleteCustomerGateway' {
- dryRun :: Maybe Bool
- customerGatewayId :: Text
- newDeleteCustomerGateway :: Text -> DeleteCustomerGateway
- deleteCustomerGateway_dryRun :: Lens' DeleteCustomerGateway (Maybe Bool)
- deleteCustomerGateway_customerGatewayId :: Lens' DeleteCustomerGateway Text
- data DeleteCustomerGatewayResponse = DeleteCustomerGatewayResponse' {
- newDeleteCustomerGatewayResponse :: DeleteCustomerGatewayResponse
Creating a Request
data DeleteCustomerGateway Source #
Contains the parameters for DeleteCustomerGateway.
See: newDeleteCustomerGateway
smart constructor.
DeleteCustomerGateway' | |
|
Instances
newDeleteCustomerGateway Source #
Create a value of DeleteCustomerGateway
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:DeleteCustomerGateway'
, deleteCustomerGateway_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
.
DeleteCustomerGateway
, deleteCustomerGateway_customerGatewayId
- The ID of the customer gateway.
Request Lenses
deleteCustomerGateway_dryRun :: Lens' DeleteCustomerGateway (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
.
deleteCustomerGateway_customerGatewayId :: Lens' DeleteCustomerGateway Text Source #
The ID of the customer gateway.
Destructuring the Response
data DeleteCustomerGatewayResponse Source #
See: newDeleteCustomerGatewayResponse
smart constructor.
Instances
newDeleteCustomerGatewayResponse :: DeleteCustomerGatewayResponse Source #
Create a value of DeleteCustomerGatewayResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.