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 |
Updates the configuration of the specified server.
Synopsis
- data UpdateServerConfig = UpdateServerConfig' {}
- newUpdateServerConfig :: Text -> UpdateServerConfig
- updateServerConfig_strategyOption :: Lens' UpdateServerConfig (Maybe StrategyOption)
- updateServerConfig_serverId :: Lens' UpdateServerConfig Text
- data UpdateServerConfigResponse = UpdateServerConfigResponse' {
- httpStatus :: Int
- newUpdateServerConfigResponse :: Int -> UpdateServerConfigResponse
- updateServerConfigResponse_httpStatus :: Lens' UpdateServerConfigResponse Int
Creating a Request
data UpdateServerConfig Source #
See: newUpdateServerConfig
smart constructor.
UpdateServerConfig' | |
|
Instances
newUpdateServerConfig Source #
Create a value of UpdateServerConfig
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:strategyOption:UpdateServerConfig'
, updateServerConfig_strategyOption
- The preferred strategy options for the application component. See the
response from GetServerStrategies.
$sel:serverId:UpdateServerConfig'
, updateServerConfig_serverId
- The ID of the server.
Request Lenses
updateServerConfig_strategyOption :: Lens' UpdateServerConfig (Maybe StrategyOption) Source #
The preferred strategy options for the application component. See the response from GetServerStrategies.
updateServerConfig_serverId :: Lens' UpdateServerConfig Text Source #
The ID of the server.
Destructuring the Response
data UpdateServerConfigResponse Source #
See: newUpdateServerConfigResponse
smart constructor.
UpdateServerConfigResponse' | |
|
Instances
newUpdateServerConfigResponse Source #
Create a value of UpdateServerConfigResponse
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:UpdateServerConfigResponse'
, updateServerConfigResponse_httpStatus
- The response's http status code.
Response Lenses
updateServerConfigResponse_httpStatus :: Lens' UpdateServerConfigResponse Int Source #
The response's http status code.