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 information about a stage.
Synopsis
- data GetStage = GetStage' {}
- newGetStage :: Text -> Text -> GetStage
- getStage_gameName :: Lens' GetStage Text
- getStage_stageName :: Lens' GetStage Text
- data GetStageResponse = GetStageResponse' {
- stage :: Maybe StageDetails
- httpStatus :: Int
- newGetStageResponse :: Int -> GetStageResponse
- getStageResponse_stage :: Lens' GetStageResponse (Maybe StageDetails)
- getStageResponse_httpStatus :: Lens' GetStageResponse Int
Creating a Request
See: newGetStage
smart constructor.
Instances
Create a value of GetStage
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:GetStage'
, getStage_gameName
- The name of the game.
$sel:stageName:GetStage'
, getStage_stageName
- The name of the stage.
Request Lenses
Destructuring the Response
data GetStageResponse Source #
See: newGetStageResponse
smart constructor.
GetStageResponse' | |
|
Instances
Create a value of GetStageResponse
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:stage:GetStageResponse'
, getStageResponse_stage
- Properties that provide details of the stage.
$sel:httpStatus:GetStageResponse'
, getStageResponse_httpStatus
- The response's http status code.
Response Lenses
getStageResponse_stage :: Lens' GetStageResponse (Maybe StageDetails) Source #
Properties that provide details of the stage.
getStageResponse_httpStatus :: Lens' GetStageResponse Int Source #
The response's http status code.