| 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.GamesParks.UpdateGame
Description
Updates details of the game.
Synopsis
- data UpdateGame = UpdateGame' {
- description :: Maybe Text
- gameName :: Text
- newUpdateGame :: Text -> UpdateGame
- updateGame_description :: Lens' UpdateGame (Maybe Text)
- updateGame_gameName :: Lens' UpdateGame Text
- data UpdateGameResponse = UpdateGameResponse' {
- game :: Maybe GameDetails
- httpStatus :: Int
- newUpdateGameResponse :: Int -> UpdateGameResponse
- updateGameResponse_game :: Lens' UpdateGameResponse (Maybe GameDetails)
- updateGameResponse_httpStatus :: Lens' UpdateGameResponse Int
Creating a Request
data UpdateGame Source #
See: newUpdateGame smart constructor.
Constructors
| UpdateGame' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateGame |
Create a value of UpdateGame 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:
UpdateGame, updateGame_description - The description of the game.
$sel:gameName:UpdateGame', updateGame_gameName - The name of the game.
Request Lenses
updateGame_description :: Lens' UpdateGame (Maybe Text) Source #
The description of the game.
updateGame_gameName :: Lens' UpdateGame Text Source #
The name of the game.
Destructuring the Response
data UpdateGameResponse Source #
See: newUpdateGameResponse smart constructor.
Constructors
| UpdateGameResponse' | |
Fields
| |
Instances
newUpdateGameResponse Source #
Arguments
| :: Int | |
| -> UpdateGameResponse |
Create a value of UpdateGameResponse 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:game:UpdateGameResponse', updateGameResponse_game - The details of the game.
$sel:httpStatus:UpdateGameResponse', updateGameResponse_httpStatus - The response's http status code.
Response Lenses
updateGameResponse_game :: Lens' UpdateGameResponse (Maybe GameDetails) Source #
The details of the game.
updateGameResponse_httpStatus :: Lens' UpdateGameResponse Int Source #
The response's http status code.