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 an existing device from a link. You must first disassociate any customer gateways that are associated with the link.
Synopsis
- data DisassociateLink = DisassociateLink' {}
- newDisassociateLink :: Text -> Text -> Text -> DisassociateLink
- disassociateLink_globalNetworkId :: Lens' DisassociateLink Text
- disassociateLink_deviceId :: Lens' DisassociateLink Text
- disassociateLink_linkId :: Lens' DisassociateLink Text
- data DisassociateLinkResponse = DisassociateLinkResponse' {}
- newDisassociateLinkResponse :: Int -> DisassociateLinkResponse
- disassociateLinkResponse_linkAssociation :: Lens' DisassociateLinkResponse (Maybe LinkAssociation)
- disassociateLinkResponse_httpStatus :: Lens' DisassociateLinkResponse Int
Creating a Request
data DisassociateLink Source #
See: newDisassociateLink
smart constructor.
Instances
:: Text | |
-> Text | |
-> Text | |
-> DisassociateLink |
Create a value of DisassociateLink
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:DisassociateLink'
, disassociateLink_globalNetworkId
- The ID of the global network.
$sel:deviceId:DisassociateLink'
, disassociateLink_deviceId
- The ID of the device.
$sel:linkId:DisassociateLink'
, disassociateLink_linkId
- The ID of the link.
Request Lenses
disassociateLink_globalNetworkId :: Lens' DisassociateLink Text Source #
The ID of the global network.
disassociateLink_deviceId :: Lens' DisassociateLink Text Source #
The ID of the device.
disassociateLink_linkId :: Lens' DisassociateLink Text Source #
The ID of the link.
Destructuring the Response
data DisassociateLinkResponse Source #
See: newDisassociateLinkResponse
smart constructor.
DisassociateLinkResponse' | |
|
Instances
newDisassociateLinkResponse Source #
Create a value of DisassociateLinkResponse
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:linkAssociation:DisassociateLinkResponse'
, disassociateLinkResponse_linkAssociation
- Information about the link association.
$sel:httpStatus:DisassociateLinkResponse'
, disassociateLinkResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateLinkResponse_linkAssociation :: Lens' DisassociateLinkResponse (Maybe LinkAssociation) Source #
Information about the link association.
disassociateLinkResponse_httpStatus :: Lens' DisassociateLinkResponse Int Source #
The response's http status code.