| 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.UpdateGlobalNetwork
Description
Updates an existing global network. To remove information for any of the parameters, specify an empty string.
Synopsis
- data UpdateGlobalNetwork = UpdateGlobalNetwork' {}
- newUpdateGlobalNetwork :: Text -> UpdateGlobalNetwork
- updateGlobalNetwork_description :: Lens' UpdateGlobalNetwork (Maybe Text)
- updateGlobalNetwork_globalNetworkId :: Lens' UpdateGlobalNetwork Text
- data UpdateGlobalNetworkResponse = UpdateGlobalNetworkResponse' {}
- newUpdateGlobalNetworkResponse :: Int -> UpdateGlobalNetworkResponse
- updateGlobalNetworkResponse_globalNetwork :: Lens' UpdateGlobalNetworkResponse (Maybe GlobalNetwork)
- updateGlobalNetworkResponse_httpStatus :: Lens' UpdateGlobalNetworkResponse Int
Creating a Request
data UpdateGlobalNetwork Source #
See: newUpdateGlobalNetwork smart constructor.
Constructors
| UpdateGlobalNetwork' | |
Fields
| |
Instances
newUpdateGlobalNetwork Source #
Arguments
| :: Text | |
| -> UpdateGlobalNetwork |
Create a value of UpdateGlobalNetwork 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:
UpdateGlobalNetwork, updateGlobalNetwork_description - A description of the global network.
Constraints: Maximum length of 256 characters.
UpdateGlobalNetwork, updateGlobalNetwork_globalNetworkId - The ID of your global network.
Request Lenses
updateGlobalNetwork_description :: Lens' UpdateGlobalNetwork (Maybe Text) Source #
A description of the global network.
Constraints: Maximum length of 256 characters.
updateGlobalNetwork_globalNetworkId :: Lens' UpdateGlobalNetwork Text Source #
The ID of your global network.
Destructuring the Response
data UpdateGlobalNetworkResponse Source #
See: newUpdateGlobalNetworkResponse smart constructor.
Constructors
| UpdateGlobalNetworkResponse' | |
Fields
| |
Instances
newUpdateGlobalNetworkResponse Source #
Create a value of UpdateGlobalNetworkResponse 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:UpdateGlobalNetworkResponse', updateGlobalNetworkResponse_globalNetwork - Information about the global network object.
$sel:httpStatus:UpdateGlobalNetworkResponse', updateGlobalNetworkResponse_httpStatus - The response's http status code.
Response Lenses
updateGlobalNetworkResponse_globalNetwork :: Lens' UpdateGlobalNetworkResponse (Maybe GlobalNetwork) Source #
Information about the global network object.
updateGlobalNetworkResponse_httpStatus :: Lens' UpdateGlobalNetworkResponse Int Source #
The response's http status code.