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 an existing global network. You must first delete all global network objects (devices, links, and sites) and deregister all transit gateways.
Synopsis
- data DeleteGlobalNetwork = DeleteGlobalNetwork' {}
- newDeleteGlobalNetwork :: Text -> DeleteGlobalNetwork
- deleteGlobalNetwork_globalNetworkId :: Lens' DeleteGlobalNetwork Text
- data DeleteGlobalNetworkResponse = DeleteGlobalNetworkResponse' {}
- newDeleteGlobalNetworkResponse :: Int -> DeleteGlobalNetworkResponse
- deleteGlobalNetworkResponse_globalNetwork :: Lens' DeleteGlobalNetworkResponse (Maybe GlobalNetwork)
- deleteGlobalNetworkResponse_httpStatus :: Lens' DeleteGlobalNetworkResponse Int
Creating a Request
data DeleteGlobalNetwork Source #
See: newDeleteGlobalNetwork
smart constructor.
DeleteGlobalNetwork' | |
|
Instances
newDeleteGlobalNetwork Source #
Create a value of DeleteGlobalNetwork
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:DeleteGlobalNetwork'
, deleteGlobalNetwork_globalNetworkId
- The ID of the global network.
Request Lenses
deleteGlobalNetwork_globalNetworkId :: Lens' DeleteGlobalNetwork Text Source #
The ID of the global network.
Destructuring the Response
data DeleteGlobalNetworkResponse Source #
See: newDeleteGlobalNetworkResponse
smart constructor.
DeleteGlobalNetworkResponse' | |
|
Instances
newDeleteGlobalNetworkResponse Source #
Create a value of DeleteGlobalNetworkResponse
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:globalNetwork:DeleteGlobalNetworkResponse'
, deleteGlobalNetworkResponse_globalNetwork
- Information about the global network.
$sel:httpStatus:DeleteGlobalNetworkResponse'
, deleteGlobalNetworkResponse_httpStatus
- The response's http status code.
Response Lenses
deleteGlobalNetworkResponse_globalNetwork :: Lens' DeleteGlobalNetworkResponse (Maybe GlobalNetwork) Source #
Information about the global network.
deleteGlobalNetworkResponse_httpStatus :: Lens' DeleteGlobalNetworkResponse Int Source #
The response's http status code.