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 |
Deletes a direct connect gateway. You must first delete all virtual interfaces that are attached to the direct connect gateway and disassociate all virtual private gateways that are associated with the direct connect gateway.
- deleteDirectConnectGateway :: Text -> DeleteDirectConnectGateway
- data DeleteDirectConnectGateway
- ddcgdDirectConnectGatewayId :: Lens' DeleteDirectConnectGateway Text
- deleteDirectConnectGatewayResponse :: Int -> DeleteDirectConnectGatewayResponse
- data DeleteDirectConnectGatewayResponse
- ddcgdrsDirectConnectGateway :: Lens' DeleteDirectConnectGatewayResponse (Maybe DirectConnectGateway)
- ddcgdrsResponseStatus :: Lens' DeleteDirectConnectGatewayResponse Int
Creating a Request
deleteDirectConnectGateway Source #
Creates a value of DeleteDirectConnectGateway
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddcgdDirectConnectGatewayId
- The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: None
data DeleteDirectConnectGateway Source #
Container for the parameters to the DeleteDirectConnectGateway operation.
See: deleteDirectConnectGateway
smart constructor.
Request Lenses
ddcgdDirectConnectGatewayId :: Lens' DeleteDirectConnectGateway Text Source #
The ID of the direct connect gateway. Example: "abcd1234-dcba-5678-be23-cdef9876ab45" Default: None
Destructuring the Response
deleteDirectConnectGatewayResponse Source #
Creates a value of DeleteDirectConnectGatewayResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ddcgdrsDirectConnectGateway
- The direct connect gateway to be deleted.ddcgdrsResponseStatus
- -- | The response status code.
data DeleteDirectConnectGatewayResponse Source #
Container for the response from the DeleteDirectConnectGateway API call
See: deleteDirectConnectGatewayResponse
smart constructor.
Response Lenses
ddcgdrsDirectConnectGateway :: Lens' DeleteDirectConnectGatewayResponse (Maybe DirectConnectGateway) Source #
The direct connect gateway to be deleted.
ddcgdrsResponseStatus :: Lens' DeleteDirectConnectGatewayResponse Int Source #
- - | The response status code.