Copyright | (c) 2013-2021 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 |
Deletes the specified Direct Connect gateway. You must first delete all virtual interfaces that are attached to the Direct Connect gateway and disassociate all virtual private gateways associated with the Direct Connect gateway.
Synopsis
- data DeleteDirectConnectGateway = DeleteDirectConnectGateway' {}
- newDeleteDirectConnectGateway :: Text -> DeleteDirectConnectGateway
- deleteDirectConnectGateway_directConnectGatewayId :: Lens' DeleteDirectConnectGateway Text
- data DeleteDirectConnectGatewayResponse = DeleteDirectConnectGatewayResponse' {}
- newDeleteDirectConnectGatewayResponse :: Int -> DeleteDirectConnectGatewayResponse
- deleteDirectConnectGatewayResponse_directConnectGateway :: Lens' DeleteDirectConnectGatewayResponse (Maybe DirectConnectGateway)
- deleteDirectConnectGatewayResponse_httpStatus :: Lens' DeleteDirectConnectGatewayResponse Int
Creating a Request
data DeleteDirectConnectGateway Source #
See: newDeleteDirectConnectGateway
smart constructor.
DeleteDirectConnectGateway' | |
|
Instances
newDeleteDirectConnectGateway Source #
Create a value of DeleteDirectConnectGateway
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:directConnectGatewayId:DeleteDirectConnectGateway'
, deleteDirectConnectGateway_directConnectGatewayId
- The ID of the Direct Connect gateway.
Request Lenses
deleteDirectConnectGateway_directConnectGatewayId :: Lens' DeleteDirectConnectGateway Text Source #
The ID of the Direct Connect gateway.
Destructuring the Response
data DeleteDirectConnectGatewayResponse Source #
See: newDeleteDirectConnectGatewayResponse
smart constructor.
DeleteDirectConnectGatewayResponse' | |
|
Instances
newDeleteDirectConnectGatewayResponse Source #
Create a value of DeleteDirectConnectGatewayResponse
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:directConnectGateway:DeleteDirectConnectGatewayResponse'
, deleteDirectConnectGatewayResponse_directConnectGateway
- The Direct Connect gateway.
$sel:httpStatus:DeleteDirectConnectGatewayResponse'
, deleteDirectConnectGatewayResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDirectConnectGatewayResponse_directConnectGateway :: Lens' DeleteDirectConnectGatewayResponse (Maybe DirectConnectGateway) Source #
The Direct Connect gateway.
deleteDirectConnectGatewayResponse_httpStatus :: Lens' DeleteDirectConnectGatewayResponse Int Source #
The response's http status code.