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 |
Updates the metadata of a stage.
Synopsis
- data UpdateStage = UpdateStage' {}
- newUpdateStage :: Text -> Text -> UpdateStage
- updateStage_description :: Lens' UpdateStage (Maybe Text)
- updateStage_role :: Lens' UpdateStage (Maybe Text)
- updateStage_gameName :: Lens' UpdateStage Text
- updateStage_stageName :: Lens' UpdateStage Text
- data UpdateStageResponse = UpdateStageResponse' {
- stage :: Maybe StageDetails
- httpStatus :: Int
- newUpdateStageResponse :: Int -> UpdateStageResponse
- updateStageResponse_stage :: Lens' UpdateStageResponse (Maybe StageDetails)
- updateStageResponse_httpStatus :: Lens' UpdateStageResponse Int
Creating a Request
data UpdateStage Source #
See: newUpdateStage
smart constructor.
Instances
Create a value of UpdateStage
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:
UpdateStage
, updateStage_description
- The description of the stage.
UpdateStage
, updateStage_role
- The Amazon Resource Name (ARN) of the role to use for the game snapshots
deployed to this stage.
$sel:gameName:UpdateStage'
, updateStage_gameName
- The name of the game.
$sel:stageName:UpdateStage'
, updateStage_stageName
- The name of the stage.
Request Lenses
updateStage_description :: Lens' UpdateStage (Maybe Text) Source #
The description of the stage.
updateStage_role :: Lens' UpdateStage (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role to use for the game snapshots deployed to this stage.
updateStage_gameName :: Lens' UpdateStage Text Source #
The name of the game.
updateStage_stageName :: Lens' UpdateStage Text Source #
The name of the stage.
Destructuring the Response
data UpdateStageResponse Source #
See: newUpdateStageResponse
smart constructor.
UpdateStageResponse' | |
|
Instances
newUpdateStageResponse Source #
Create a value of UpdateStageResponse
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:UpdateStageResponse'
, updateStageResponse_stage
- Properties that provide details of the updated stage.
$sel:httpStatus:UpdateStageResponse'
, updateStageResponse_httpStatus
- The response's http status code.
Response Lenses
updateStageResponse_stage :: Lens' UpdateStageResponse (Maybe StageDetails) Source #
Properties that provide details of the updated stage.
updateStageResponse_httpStatus :: Lens' UpdateStageResponse Int Source #
The response's http status code.