| 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.GetGameConfiguration
Description
Gets the configuration of the game.
Synopsis
- data GetGameConfiguration = GetGameConfiguration' {}
- newGetGameConfiguration :: Text -> GetGameConfiguration
- getGameConfiguration_sections :: Lens' GetGameConfiguration (Maybe (NonEmpty Text))
- getGameConfiguration_gameName :: Lens' GetGameConfiguration Text
- data GetGameConfigurationResponse = GetGameConfigurationResponse' {}
- newGetGameConfigurationResponse :: Int -> GetGameConfigurationResponse
- getGameConfigurationResponse_gameConfiguration :: Lens' GetGameConfigurationResponse (Maybe GameConfigurationDetails)
- getGameConfigurationResponse_httpStatus :: Lens' GetGameConfigurationResponse Int
Creating a Request
data GetGameConfiguration Source #
See: newGetGameConfiguration smart constructor.
Constructors
| GetGameConfiguration' | |
Instances
newGetGameConfiguration Source #
Arguments
| :: Text | |
| -> GetGameConfiguration |
Create a value of GetGameConfiguration 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:
GetGameConfiguration, getGameConfiguration_sections - The list of sections to return.
$sel:gameName:GetGameConfiguration', getGameConfiguration_gameName - The name of the game.
Request Lenses
getGameConfiguration_sections :: Lens' GetGameConfiguration (Maybe (NonEmpty Text)) Source #
The list of sections to return.
getGameConfiguration_gameName :: Lens' GetGameConfiguration Text Source #
The name of the game.
Destructuring the Response
data GetGameConfigurationResponse Source #
See: newGetGameConfigurationResponse smart constructor.
Constructors
| GetGameConfigurationResponse' | |
Fields
| |
Instances
newGetGameConfigurationResponse Source #
Create a value of GetGameConfigurationResponse 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:GetGameConfigurationResponse', getGameConfigurationResponse_gameConfiguration - Details about the game configuration.
$sel:httpStatus:GetGameConfigurationResponse', getGameConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
getGameConfigurationResponse_gameConfiguration :: Lens' GetGameConfigurationResponse (Maybe GameConfigurationDetails) Source #
Details about the game configuration.
getGameConfigurationResponse_httpStatus :: Lens' GetGameConfigurationResponse Int Source #
The response's http status code.