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 |
Gets details about a job that is generating code for a snapshot.
Synopsis
- data GetGeneratedCodeJob = GetGeneratedCodeJob' {}
- newGetGeneratedCodeJob :: Text -> Text -> Text -> GetGeneratedCodeJob
- getGeneratedCodeJob_gameName :: Lens' GetGeneratedCodeJob Text
- getGeneratedCodeJob_jobId :: Lens' GetGeneratedCodeJob Text
- getGeneratedCodeJob_snapshotId :: Lens' GetGeneratedCodeJob Text
- data GetGeneratedCodeJobResponse = GetGeneratedCodeJobResponse' {}
- newGetGeneratedCodeJobResponse :: Int -> GetGeneratedCodeJobResponse
- getGeneratedCodeJobResponse_generatedCodeJob :: Lens' GetGeneratedCodeJobResponse (Maybe GeneratedCodeJobDetails)
- getGeneratedCodeJobResponse_httpStatus :: Lens' GetGeneratedCodeJobResponse Int
Creating a Request
data GetGeneratedCodeJob Source #
See: newGetGeneratedCodeJob
smart constructor.
Instances
newGetGeneratedCodeJob Source #
:: Text | |
-> Text | |
-> Text | |
-> GetGeneratedCodeJob |
Create a value of GetGeneratedCodeJob
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:GetGeneratedCodeJob'
, getGeneratedCodeJob_gameName
- The name of the game.
$sel:jobId:GetGeneratedCodeJob'
, getGeneratedCodeJob_jobId
- The identifier of the code generation job.
GetGeneratedCodeJob
, getGeneratedCodeJob_snapshotId
- The identifier of the snapshot for the code generation job.
Request Lenses
getGeneratedCodeJob_gameName :: Lens' GetGeneratedCodeJob Text Source #
The name of the game.
getGeneratedCodeJob_jobId :: Lens' GetGeneratedCodeJob Text Source #
The identifier of the code generation job.
getGeneratedCodeJob_snapshotId :: Lens' GetGeneratedCodeJob Text Source #
The identifier of the snapshot for the code generation job.
Destructuring the Response
data GetGeneratedCodeJobResponse Source #
See: newGetGeneratedCodeJobResponse
smart constructor.
GetGeneratedCodeJobResponse' | |
|
Instances
newGetGeneratedCodeJobResponse Source #
Create a value of GetGeneratedCodeJobResponse
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:generatedCodeJob:GetGeneratedCodeJobResponse'
, getGeneratedCodeJobResponse_generatedCodeJob
- Details about the generated code job.
$sel:httpStatus:GetGeneratedCodeJobResponse'
, getGeneratedCodeJobResponse_httpStatus
- The response's http status code.
Response Lenses
getGeneratedCodeJobResponse_generatedCodeJob :: Lens' GetGeneratedCodeJobResponse (Maybe GeneratedCodeJobDetails) Source #
Details about the generated code job.
getGeneratedCodeJobResponse_httpStatus :: Lens' GetGeneratedCodeJobResponse Int Source #
The response's http status code.