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.GameLift.StopGameSessionPlacement
Description
Cancels a game session placement that is in PENDING
status. To stop a
placement, provide the placement ID values. If successful, the placement
is moved to CANCELLED
status.
Synopsis
- data StopGameSessionPlacement = StopGameSessionPlacement' {
- placementId :: Text
- newStopGameSessionPlacement :: Text -> StopGameSessionPlacement
- stopGameSessionPlacement_placementId :: Lens' StopGameSessionPlacement Text
- data StopGameSessionPlacementResponse = StopGameSessionPlacementResponse' {}
- newStopGameSessionPlacementResponse :: Int -> StopGameSessionPlacementResponse
- stopGameSessionPlacementResponse_gameSessionPlacement :: Lens' StopGameSessionPlacementResponse (Maybe GameSessionPlacement)
- stopGameSessionPlacementResponse_httpStatus :: Lens' StopGameSessionPlacementResponse Int
Creating a Request
data StopGameSessionPlacement Source #
See: newStopGameSessionPlacement
smart constructor.
Constructors
StopGameSessionPlacement' | |
Fields
|
Instances
newStopGameSessionPlacement Source #
Arguments
:: Text | |
-> StopGameSessionPlacement |
Create a value of StopGameSessionPlacement
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:
StopGameSessionPlacement
, stopGameSessionPlacement_placementId
- A unique identifier for a game session placement to stop.
Request Lenses
stopGameSessionPlacement_placementId :: Lens' StopGameSessionPlacement Text Source #
A unique identifier for a game session placement to stop.
Destructuring the Response
data StopGameSessionPlacementResponse Source #
See: newStopGameSessionPlacementResponse
smart constructor.
Constructors
StopGameSessionPlacementResponse' | |
Fields
|
Instances
newStopGameSessionPlacementResponse Source #
Create a value of StopGameSessionPlacementResponse
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:gameSessionPlacement:StopGameSessionPlacementResponse'
, stopGameSessionPlacementResponse_gameSessionPlacement
- Object that describes the canceled game session placement, with
CANCELLED
status and an end time stamp.
$sel:httpStatus:StopGameSessionPlacementResponse'
, stopGameSessionPlacementResponse_httpStatus
- The response's http status code.
Response Lenses
stopGameSessionPlacementResponse_gameSessionPlacement :: Lens' StopGameSessionPlacementResponse (Maybe GameSessionPlacement) Source #
Object that describes the canceled game session placement, with
CANCELLED
status and an end time stamp.
stopGameSessionPlacementResponse_httpStatus :: Lens' StopGameSessionPlacementResponse Int Source #
The response's http status code.