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 |
Starts an asynchronous process that generates client code for system-defined and custom messages. The resulting code is collected as a .zip file and uploaded to a pre-signed Amazon S3 URL.
Synopsis
- data StartGeneratedCodeJob = StartGeneratedCodeJob' {}
- newStartGeneratedCodeJob :: Text -> Generator -> Text -> StartGeneratedCodeJob
- startGeneratedCodeJob_gameName :: Lens' StartGeneratedCodeJob Text
- startGeneratedCodeJob_generator :: Lens' StartGeneratedCodeJob Generator
- startGeneratedCodeJob_snapshotId :: Lens' StartGeneratedCodeJob Text
- data StartGeneratedCodeJobResponse = StartGeneratedCodeJobResponse' {}
- newStartGeneratedCodeJobResponse :: Int -> StartGeneratedCodeJobResponse
- startGeneratedCodeJobResponse_generatedCodeJobId :: Lens' StartGeneratedCodeJobResponse (Maybe Text)
- startGeneratedCodeJobResponse_httpStatus :: Lens' StartGeneratedCodeJobResponse Int
Creating a Request
data StartGeneratedCodeJob Source #
See: newStartGeneratedCodeJob
smart constructor.
Instances
newStartGeneratedCodeJob Source #
:: Text | |
-> Generator | |
-> Text | |
-> StartGeneratedCodeJob |
Create a value of StartGeneratedCodeJob
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:StartGeneratedCodeJob'
, startGeneratedCodeJob_gameName
- The name of the game.
$sel:generator:StartGeneratedCodeJob'
, startGeneratedCodeJob_generator
- Properties of the generator to use for the job.
StartGeneratedCodeJob
, startGeneratedCodeJob_snapshotId
- The identifier of the snapshot for which to generate code.
Request Lenses
startGeneratedCodeJob_gameName :: Lens' StartGeneratedCodeJob Text Source #
The name of the game.
startGeneratedCodeJob_generator :: Lens' StartGeneratedCodeJob Generator Source #
Properties of the generator to use for the job.
startGeneratedCodeJob_snapshotId :: Lens' StartGeneratedCodeJob Text Source #
The identifier of the snapshot for which to generate code.
Destructuring the Response
data StartGeneratedCodeJobResponse Source #
See: newStartGeneratedCodeJobResponse
smart constructor.
StartGeneratedCodeJobResponse' | |
|
Instances
newStartGeneratedCodeJobResponse Source #
Create a value of StartGeneratedCodeJobResponse
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:
StartGeneratedCodeJobResponse
, startGeneratedCodeJobResponse_generatedCodeJobId
- The identifier of the code generation job. You can use this identifier
in the GetGeneratedCodeJob
operation.
$sel:httpStatus:StartGeneratedCodeJobResponse'
, startGeneratedCodeJobResponse_httpStatus
- The response's http status code.
Response Lenses
startGeneratedCodeJobResponse_generatedCodeJobId :: Lens' StartGeneratedCodeJobResponse (Maybe Text) Source #
The identifier of the code generation job. You can use this identifier
in the GetGeneratedCodeJob
operation.
startGeneratedCodeJobResponse_httpStatus :: Lens' StartGeneratedCodeJobResponse Int Source #
The response's http status code.