| 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.DeleteGlobalNetwork
Description
Deletes an existing global network. You must first delete all global network objects (devices, links, and sites), deregister all transit gateways, and delete any core networks.
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.
Constructors
| DeleteGlobalNetwork' | |
Fields
| |
Instances
newDeleteGlobalNetwork Source #
Arguments
| :: Text | |
| -> DeleteGlobalNetwork |
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:
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.
Constructors
| DeleteGlobalNetworkResponse' | |
Fields
| |
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.