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 |
Disassociates a transit gateway Connect peer from a device and link.
Synopsis
- data DisassociateTransitGatewayConnectPeer = DisassociateTransitGatewayConnectPeer' {}
- newDisassociateTransitGatewayConnectPeer :: Text -> Text -> DisassociateTransitGatewayConnectPeer
- disassociateTransitGatewayConnectPeer_globalNetworkId :: Lens' DisassociateTransitGatewayConnectPeer Text
- disassociateTransitGatewayConnectPeer_transitGatewayConnectPeerArn :: Lens' DisassociateTransitGatewayConnectPeer Text
- data DisassociateTransitGatewayConnectPeerResponse = DisassociateTransitGatewayConnectPeerResponse' {}
- newDisassociateTransitGatewayConnectPeerResponse :: Int -> DisassociateTransitGatewayConnectPeerResponse
- disassociateTransitGatewayConnectPeerResponse_transitGatewayConnectPeerAssociation :: Lens' DisassociateTransitGatewayConnectPeerResponse (Maybe TransitGatewayConnectPeerAssociation)
- disassociateTransitGatewayConnectPeerResponse_httpStatus :: Lens' DisassociateTransitGatewayConnectPeerResponse Int
Creating a Request
data DisassociateTransitGatewayConnectPeer Source #
See: newDisassociateTransitGatewayConnectPeer
smart constructor.
DisassociateTransitGatewayConnectPeer' | |
|
Instances
newDisassociateTransitGatewayConnectPeer Source #
:: Text | |
-> Text |
|
-> DisassociateTransitGatewayConnectPeer |
Create a value of DisassociateTransitGatewayConnectPeer
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:globalNetworkId:DisassociateTransitGatewayConnectPeer'
, disassociateTransitGatewayConnectPeer_globalNetworkId
- The ID of the global network.
$sel:transitGatewayConnectPeerArn:DisassociateTransitGatewayConnectPeer'
, disassociateTransitGatewayConnectPeer_transitGatewayConnectPeerArn
- The Amazon Resource Name (ARN) of the transit gateway Connect peer.
Request Lenses
disassociateTransitGatewayConnectPeer_globalNetworkId :: Lens' DisassociateTransitGatewayConnectPeer Text Source #
The ID of the global network.
disassociateTransitGatewayConnectPeer_transitGatewayConnectPeerArn :: Lens' DisassociateTransitGatewayConnectPeer Text Source #
The Amazon Resource Name (ARN) of the transit gateway Connect peer.
Destructuring the Response
data DisassociateTransitGatewayConnectPeerResponse Source #
See: newDisassociateTransitGatewayConnectPeerResponse
smart constructor.
DisassociateTransitGatewayConnectPeerResponse' | |
|
Instances
newDisassociateTransitGatewayConnectPeerResponse Source #
:: Int |
|
-> DisassociateTransitGatewayConnectPeerResponse |
Create a value of DisassociateTransitGatewayConnectPeerResponse
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:transitGatewayConnectPeerAssociation:DisassociateTransitGatewayConnectPeerResponse'
, disassociateTransitGatewayConnectPeerResponse_transitGatewayConnectPeerAssociation
- The transit gateway Connect peer association.
$sel:httpStatus:DisassociateTransitGatewayConnectPeerResponse'
, disassociateTransitGatewayConnectPeerResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateTransitGatewayConnectPeerResponse_transitGatewayConnectPeerAssociation :: Lens' DisassociateTransitGatewayConnectPeerResponse (Maybe TransitGatewayConnectPeerAssociation) Source #
The transit gateway Connect peer association.
disassociateTransitGatewayConnectPeerResponse_httpStatus :: Lens' DisassociateTransitGatewayConnectPeerResponse Int Source #
The response's http status code.