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 one or more sections of the game configuration.
Synopsis
- data UpdateGameConfiguration = UpdateGameConfiguration' {}
- newUpdateGameConfiguration :: Text -> NonEmpty SectionModification -> UpdateGameConfiguration
- updateGameConfiguration_gameName :: Lens' UpdateGameConfiguration Text
- updateGameConfiguration_modifications :: Lens' UpdateGameConfiguration (NonEmpty SectionModification)
- data UpdateGameConfigurationResponse = UpdateGameConfigurationResponse' {}
- newUpdateGameConfigurationResponse :: Int -> UpdateGameConfigurationResponse
- updateGameConfigurationResponse_gameConfiguration :: Lens' UpdateGameConfigurationResponse (Maybe GameConfigurationDetails)
- updateGameConfigurationResponse_httpStatus :: Lens' UpdateGameConfigurationResponse Int
Creating a Request
data UpdateGameConfiguration Source #
See: newUpdateGameConfiguration
smart constructor.
UpdateGameConfiguration' | |
|
Instances
newUpdateGameConfiguration Source #
Create a value of UpdateGameConfiguration
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:gameName:UpdateGameConfiguration'
, updateGameConfiguration_gameName
- The name of the game.
$sel:modifications:UpdateGameConfiguration'
, updateGameConfiguration_modifications
- The list of modifications to make.
Request Lenses
updateGameConfiguration_gameName :: Lens' UpdateGameConfiguration Text Source #
The name of the game.
updateGameConfiguration_modifications :: Lens' UpdateGameConfiguration (NonEmpty SectionModification) Source #
The list of modifications to make.
Destructuring the Response
data UpdateGameConfigurationResponse Source #
See: newUpdateGameConfigurationResponse
smart constructor.
UpdateGameConfigurationResponse' | |
|
Instances
newUpdateGameConfigurationResponse Source #
Create a value of UpdateGameConfigurationResponse
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:gameConfiguration:UpdateGameConfigurationResponse'
, updateGameConfigurationResponse_gameConfiguration
- Details about the game configuration.
$sel:httpStatus:UpdateGameConfigurationResponse'
, updateGameConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
updateGameConfigurationResponse_gameConfiguration :: Lens' UpdateGameConfigurationResponse (Maybe GameConfigurationDetails) Source #
Details about the game configuration.
updateGameConfigurationResponse_httpStatus :: Lens' UpdateGameConfigurationResponse Int Source #
The response's http status code.