Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UpdateGlobalNetwork' | |
|
Instances
newUpdateGlobalNetwork Source #
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:
$sel:description:UpdateGlobalNetwork'
, updateGlobalNetwork_description
- A description of the global network.
Length Constraints: Maximum length of 256 characters.
$sel:globalNetworkId:UpdateGlobalNetwork'
, updateGlobalNetwork_globalNetworkId
- The ID of your global network.
Request Lenses
updateGlobalNetwork_description :: Lens' UpdateGlobalNetwork (Maybe Text) Source #
A description of the global network.
Length 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.
UpdateGlobalNetworkResponse' | |
|
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.