| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.NetworkManager.DisassociateCustomerGateway
Description
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.
Constructors
| DisassociateCustomerGateway' | |
Fields
| |
Instances
newDisassociateCustomerGateway Source #
Arguments
| :: 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:
DisassociateCustomerGateway, disassociateCustomerGateway_globalNetworkId - The ID of the global network.
DisassociateCustomerGateway, disassociateCustomerGateway_customerGatewayArn - The Amazon Resource Name (ARN) of the customer gateway.
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.
Destructuring the Response
data DisassociateCustomerGatewayResponse Source #
See: newDisassociateCustomerGatewayResponse smart constructor.
Constructors
| DisassociateCustomerGatewayResponse' | |
Fields
| |
Instances
newDisassociateCustomerGatewayResponse Source #
Arguments
| :: Int | |
| -> DisassociateCustomerGatewayResponse |
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.