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 |
Deletes the specified network. You must delete network sites before you delete the network. For more information, see DeleteNetworkSite in the API Reference for Amazon Web Services Private 5G.
Synopsis
- data DeleteNetwork = DeleteNetwork' {
- clientToken :: Maybe Text
- networkArn :: Text
- newDeleteNetwork :: Text -> DeleteNetwork
- deleteNetwork_clientToken :: Lens' DeleteNetwork (Maybe Text)
- deleteNetwork_networkArn :: Lens' DeleteNetwork Text
- data DeleteNetworkResponse = DeleteNetworkResponse' {
- httpStatus :: Int
- network :: Network
- newDeleteNetworkResponse :: Int -> Network -> DeleteNetworkResponse
- deleteNetworkResponse_httpStatus :: Lens' DeleteNetworkResponse Int
- deleteNetworkResponse_network :: Lens' DeleteNetworkResponse Network
Creating a Request
data DeleteNetwork Source #
See: newDeleteNetwork
smart constructor.
DeleteNetwork' | |
|
Instances
Create a value of DeleteNetwork
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:clientToken:DeleteNetwork'
, deleteNetwork_clientToken
- Unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. For more information, see
How to ensure idempotency.
DeleteNetwork
, deleteNetwork_networkArn
- The Amazon Resource Name (ARN) of the network.
Request Lenses
deleteNetwork_clientToken :: Lens' DeleteNetwork (Maybe Text) Source #
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. For more information, see How to ensure idempotency.
deleteNetwork_networkArn :: Lens' DeleteNetwork Text Source #
The Amazon Resource Name (ARN) of the network.
Destructuring the Response
data DeleteNetworkResponse Source #
See: newDeleteNetworkResponse
smart constructor.
DeleteNetworkResponse' | |
|
Instances
newDeleteNetworkResponse Source #
:: Int | |
-> Network | |
-> DeleteNetworkResponse |
Create a value of DeleteNetworkResponse
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:httpStatus:DeleteNetworkResponse'
, deleteNetworkResponse_httpStatus
- The response's http status code.
$sel:network:DeleteNetworkResponse'
, deleteNetworkResponse_network
- Information about the network.
Response Lenses
deleteNetworkResponse_httpStatus :: Lens' DeleteNetworkResponse Int Source #
The response's http status code.
deleteNetworkResponse_network :: Lens' DeleteNetworkResponse Network Source #
Information about the network.