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 |
Imports a game configuration.
This operation replaces the current configuration of the game with the
provided input. This is not a reversible operation. If you want to
preserve the previous configuration, use CreateSnapshot
to make a new
snapshot before importing.
Synopsis
- data ImportGameConfiguration = ImportGameConfiguration' {}
- newImportGameConfiguration :: Text -> ImportGameConfigurationSource -> ImportGameConfiguration
- importGameConfiguration_gameName :: Lens' ImportGameConfiguration Text
- importGameConfiguration_importSource :: Lens' ImportGameConfiguration ImportGameConfigurationSource
- data ImportGameConfigurationResponse = ImportGameConfigurationResponse' {}
- newImportGameConfigurationResponse :: Int -> ImportGameConfigurationResponse
- importGameConfigurationResponse_gameConfiguration :: Lens' ImportGameConfigurationResponse (Maybe GameConfigurationDetails)
- importGameConfigurationResponse_httpStatus :: Lens' ImportGameConfigurationResponse Int
Creating a Request
data ImportGameConfiguration Source #
See: newImportGameConfiguration
smart constructor.
ImportGameConfiguration' | |
|
Instances
newImportGameConfiguration Source #
Create a value of ImportGameConfiguration
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:ImportGameConfiguration'
, importGameConfiguration_gameName
- The name of the game.
$sel:importSource:ImportGameConfiguration'
, importGameConfiguration_importSource
- The source used to import configuration sections.
Request Lenses
importGameConfiguration_gameName :: Lens' ImportGameConfiguration Text Source #
The name of the game.
importGameConfiguration_importSource :: Lens' ImportGameConfiguration ImportGameConfigurationSource Source #
The source used to import configuration sections.
Destructuring the Response
data ImportGameConfigurationResponse Source #
See: newImportGameConfigurationResponse
smart constructor.
ImportGameConfigurationResponse' | |
|
Instances
newImportGameConfigurationResponse Source #
Create a value of ImportGameConfigurationResponse
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:ImportGameConfigurationResponse'
, importGameConfigurationResponse_gameConfiguration
- Details about the game configuration.
$sel:httpStatus:ImportGameConfigurationResponse'
, importGameConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
importGameConfigurationResponse_gameConfiguration :: Lens' ImportGameConfigurationResponse (Maybe GameConfigurationDetails) Source #
Details about the game configuration.
importGameConfigurationResponse_httpStatus :: Lens' ImportGameConfigurationResponse Int Source #
The response's http status code.