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.DeleteCoreNetwork
Description
Deletes a core network along with all core network policies. This can only be done if there are no attachments on a core network.
Synopsis
- data DeleteCoreNetwork = DeleteCoreNetwork' {}
- newDeleteCoreNetwork :: Text -> DeleteCoreNetwork
- deleteCoreNetwork_coreNetworkId :: Lens' DeleteCoreNetwork Text
- data DeleteCoreNetworkResponse = DeleteCoreNetworkResponse' {}
- newDeleteCoreNetworkResponse :: Int -> DeleteCoreNetworkResponse
- deleteCoreNetworkResponse_coreNetwork :: Lens' DeleteCoreNetworkResponse (Maybe CoreNetwork)
- deleteCoreNetworkResponse_httpStatus :: Lens' DeleteCoreNetworkResponse Int
Creating a Request
data DeleteCoreNetwork Source #
See: newDeleteCoreNetwork
smart constructor.
Constructors
DeleteCoreNetwork' | |
Fields
|
Instances
Arguments
:: Text | |
-> DeleteCoreNetwork |
Create a value of DeleteCoreNetwork
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:
DeleteCoreNetwork
, deleteCoreNetwork_coreNetworkId
- The network ID of the deleted core network.
Request Lenses
deleteCoreNetwork_coreNetworkId :: Lens' DeleteCoreNetwork Text Source #
The network ID of the deleted core network.
Destructuring the Response
data DeleteCoreNetworkResponse Source #
See: newDeleteCoreNetworkResponse
smart constructor.
Constructors
DeleteCoreNetworkResponse' | |
Fields
|
Instances
newDeleteCoreNetworkResponse Source #
Create a value of DeleteCoreNetworkResponse
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:coreNetwork:DeleteCoreNetworkResponse'
, deleteCoreNetworkResponse_coreNetwork
- Information about the deleted core network.
$sel:httpStatus:DeleteCoreNetworkResponse'
, deleteCoreNetworkResponse_httpStatus
- The response's http status code.
Response Lenses
deleteCoreNetworkResponse_coreNetwork :: Lens' DeleteCoreNetworkResponse (Maybe CoreNetwork) Source #
Information about the deleted core network.
deleteCoreNetworkResponse_httpStatus :: Lens' DeleteCoreNetworkResponse Int Source #
The response's http status code.