| 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.UpdateCoreNetwork
Description
Updates the description of a core network.
Synopsis
- data UpdateCoreNetwork = UpdateCoreNetwork' {}
- newUpdateCoreNetwork :: Text -> UpdateCoreNetwork
- updateCoreNetwork_description :: Lens' UpdateCoreNetwork (Maybe Text)
- updateCoreNetwork_coreNetworkId :: Lens' UpdateCoreNetwork Text
- data UpdateCoreNetworkResponse = UpdateCoreNetworkResponse' {}
- newUpdateCoreNetworkResponse :: Int -> UpdateCoreNetworkResponse
- updateCoreNetworkResponse_coreNetwork :: Lens' UpdateCoreNetworkResponse (Maybe CoreNetwork)
- updateCoreNetworkResponse_httpStatus :: Lens' UpdateCoreNetworkResponse Int
Creating a Request
data UpdateCoreNetwork Source #
See: newUpdateCoreNetwork smart constructor.
Constructors
| UpdateCoreNetwork' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateCoreNetwork |
Create a value of UpdateCoreNetwork 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:
UpdateCoreNetwork, updateCoreNetwork_description - The description of the update.
UpdateCoreNetwork, updateCoreNetwork_coreNetworkId - The ID of a core network.
Request Lenses
updateCoreNetwork_description :: Lens' UpdateCoreNetwork (Maybe Text) Source #
The description of the update.
updateCoreNetwork_coreNetworkId :: Lens' UpdateCoreNetwork Text Source #
The ID of a core network.
Destructuring the Response
data UpdateCoreNetworkResponse Source #
See: newUpdateCoreNetworkResponse smart constructor.
Constructors
| UpdateCoreNetworkResponse' | |
Fields
| |
Instances
newUpdateCoreNetworkResponse Source #
Create a value of UpdateCoreNetworkResponse 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:UpdateCoreNetworkResponse', updateCoreNetworkResponse_coreNetwork - Returns information about a core network update.
$sel:httpStatus:UpdateCoreNetworkResponse', updateCoreNetworkResponse_httpStatus - The response's http status code.
Response Lenses
updateCoreNetworkResponse_coreNetwork :: Lens' UpdateCoreNetworkResponse (Maybe CoreNetwork) Source #
Returns information about a core network update.
updateCoreNetworkResponse_httpStatus :: Lens' UpdateCoreNetworkResponse Int Source #
The response's http status code.