| 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 |
Amazonka.GamesParks.DeleteStage
Description
Deletes a stage from a game, along with the associated game runtime.
Synopsis
- data DeleteStage = DeleteStage' {}
- newDeleteStage :: Text -> Text -> DeleteStage
- deleteStage_gameName :: Lens' DeleteStage Text
- deleteStage_stageName :: Lens' DeleteStage Text
- data DeleteStageResponse = DeleteStageResponse' {
- httpStatus :: Int
- newDeleteStageResponse :: Int -> DeleteStageResponse
- deleteStageResponse_httpStatus :: Lens' DeleteStageResponse Int
Creating a Request
data DeleteStage Source #
See: newDeleteStage smart constructor.
Constructors
| DeleteStage' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> DeleteStage |
Create a value of DeleteStage 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:DeleteStage', deleteStage_gameName - The name of the game.
$sel:stageName:DeleteStage', deleteStage_stageName - The name of the stage to delete.
Request Lenses
deleteStage_gameName :: Lens' DeleteStage Text Source #
The name of the game.
deleteStage_stageName :: Lens' DeleteStage Text Source #
The name of the stage to delete.
Destructuring the Response
data DeleteStageResponse Source #
See: newDeleteStageResponse smart constructor.
Constructors
| DeleteStageResponse' | |
Fields
| |
Instances
newDeleteStageResponse Source #
Arguments
| :: Int | |
| -> DeleteStageResponse |
Create a value of DeleteStageResponse 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:httpStatus:DeleteStageResponse', deleteStageResponse_httpStatus - The response's http status code.
Response Lenses
deleteStageResponse_httpStatus :: Lens' DeleteStageResponse Int Source #
The response's http status code.