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 association between the specified Direct Connect gateway and virtual private gateway.
We recommend that you specify the associationID
to delete the
association. Alternatively, if you own virtual gateway and a Direct
Connect gateway association, you can specify the virtualGatewayId
and
directConnectGatewayId
to delete an association.
Synopsis
- data DeleteDirectConnectGatewayAssociation = DeleteDirectConnectGatewayAssociation' {}
- newDeleteDirectConnectGatewayAssociation :: DeleteDirectConnectGatewayAssociation
- deleteDirectConnectGatewayAssociation_virtualGatewayId :: Lens' DeleteDirectConnectGatewayAssociation (Maybe Text)
- deleteDirectConnectGatewayAssociation_associationId :: Lens' DeleteDirectConnectGatewayAssociation (Maybe Text)
- deleteDirectConnectGatewayAssociation_directConnectGatewayId :: Lens' DeleteDirectConnectGatewayAssociation (Maybe Text)
- data DeleteDirectConnectGatewayAssociationResponse = DeleteDirectConnectGatewayAssociationResponse' {}
- newDeleteDirectConnectGatewayAssociationResponse :: Int -> DeleteDirectConnectGatewayAssociationResponse
- deleteDirectConnectGatewayAssociationResponse_directConnectGatewayAssociation :: Lens' DeleteDirectConnectGatewayAssociationResponse (Maybe DirectConnectGatewayAssociation)
- deleteDirectConnectGatewayAssociationResponse_httpStatus :: Lens' DeleteDirectConnectGatewayAssociationResponse Int
Creating a Request
data DeleteDirectConnectGatewayAssociation Source #
See: newDeleteDirectConnectGatewayAssociation
smart constructor.
DeleteDirectConnectGatewayAssociation' | |
|
Instances
newDeleteDirectConnectGatewayAssociation :: DeleteDirectConnectGatewayAssociation Source #
Create a value of DeleteDirectConnectGatewayAssociation
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:virtualGatewayId:DeleteDirectConnectGatewayAssociation'
, deleteDirectConnectGatewayAssociation_virtualGatewayId
- The ID of the virtual private gateway.
$sel:associationId:DeleteDirectConnectGatewayAssociation'
, deleteDirectConnectGatewayAssociation_associationId
- The ID of the Direct Connect gateway association.
$sel:directConnectGatewayId:DeleteDirectConnectGatewayAssociation'
, deleteDirectConnectGatewayAssociation_directConnectGatewayId
- The ID of the Direct Connect gateway.
Request Lenses
deleteDirectConnectGatewayAssociation_virtualGatewayId :: Lens' DeleteDirectConnectGatewayAssociation (Maybe Text) Source #
The ID of the virtual private gateway.
deleteDirectConnectGatewayAssociation_associationId :: Lens' DeleteDirectConnectGatewayAssociation (Maybe Text) Source #
The ID of the Direct Connect gateway association.
deleteDirectConnectGatewayAssociation_directConnectGatewayId :: Lens' DeleteDirectConnectGatewayAssociation (Maybe Text) Source #
The ID of the Direct Connect gateway.
Destructuring the Response
data DeleteDirectConnectGatewayAssociationResponse Source #
See: newDeleteDirectConnectGatewayAssociationResponse
smart constructor.
DeleteDirectConnectGatewayAssociationResponse' | |
|
Instances
newDeleteDirectConnectGatewayAssociationResponse Source #
:: Int |
|
-> DeleteDirectConnectGatewayAssociationResponse |
Create a value of DeleteDirectConnectGatewayAssociationResponse
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:directConnectGatewayAssociation:DeleteDirectConnectGatewayAssociationResponse'
, deleteDirectConnectGatewayAssociationResponse_directConnectGatewayAssociation
- Information about the deleted association.
$sel:httpStatus:DeleteDirectConnectGatewayAssociationResponse'
, deleteDirectConnectGatewayAssociationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteDirectConnectGatewayAssociationResponse_directConnectGatewayAssociation :: Lens' DeleteDirectConnectGatewayAssociationResponse (Maybe DirectConnectGatewayAssociation) Source #
Information about the deleted association.
deleteDirectConnectGatewayAssociationResponse_httpStatus :: Lens' DeleteDirectConnectGatewayAssociationResponse Int Source #
The response's http status code.