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 customer gateway from a device and a link.
Synopsis
- data DisassociateCustomerGateway = DisassociateCustomerGateway' {}
- newDisassociateCustomerGateway :: Text -> Text -> DisassociateCustomerGateway
- disassociateCustomerGateway_globalNetworkId :: Lens' DisassociateCustomerGateway Text
- disassociateCustomerGateway_customerGatewayArn :: Lens' DisassociateCustomerGateway Text
- data DisassociateCustomerGatewayResponse = DisassociateCustomerGatewayResponse' {}
- newDisassociateCustomerGatewayResponse :: Int -> DisassociateCustomerGatewayResponse
- disassociateCustomerGatewayResponse_customerGatewayAssociation :: Lens' DisassociateCustomerGatewayResponse (Maybe CustomerGatewayAssociation)
- disassociateCustomerGatewayResponse_httpStatus :: Lens' DisassociateCustomerGatewayResponse Int
Creating a Request
data DisassociateCustomerGateway Source #
See: newDisassociateCustomerGateway
smart constructor.
DisassociateCustomerGateway' | |
|
Instances
newDisassociateCustomerGateway Source #
:: Text | |
-> Text | |
-> DisassociateCustomerGateway |
Create a value of DisassociateCustomerGateway
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:DisassociateCustomerGateway'
, disassociateCustomerGateway_globalNetworkId
- The ID of the global network.
$sel:customerGatewayArn:DisassociateCustomerGateway'
, disassociateCustomerGateway_customerGatewayArn
- The Amazon Resource Name (ARN) of the customer gateway. For more
information, see
Resources Defined by Amazon EC2.
Request Lenses
disassociateCustomerGateway_globalNetworkId :: Lens' DisassociateCustomerGateway Text Source #
The ID of the global network.
disassociateCustomerGateway_customerGatewayArn :: Lens' DisassociateCustomerGateway Text Source #
The Amazon Resource Name (ARN) of the customer gateway. For more information, see Resources Defined by Amazon EC2.
Destructuring the Response
data DisassociateCustomerGatewayResponse Source #
See: newDisassociateCustomerGatewayResponse
smart constructor.
DisassociateCustomerGatewayResponse' | |
|
Instances
newDisassociateCustomerGatewayResponse Source #
Create a value of DisassociateCustomerGatewayResponse
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:customerGatewayAssociation:DisassociateCustomerGatewayResponse'
, disassociateCustomerGatewayResponse_customerGatewayAssociation
- Information about the customer gateway association.
$sel:httpStatus:DisassociateCustomerGatewayResponse'
, disassociateCustomerGatewayResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateCustomerGatewayResponse_customerGatewayAssociation :: Lens' DisassociateCustomerGatewayResponse (Maybe CustomerGatewayAssociation) Source #
Information about the customer gateway association.
disassociateCustomerGatewayResponse_httpStatus :: Lens' DisassociateCustomerGatewayResponse Int Source #
The response's http status code.