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 |
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.
StopGameSessionPlacement' | |
|
Instances
newStopGameSessionPlacement Source #
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.
StopGameSessionPlacementResponse' | |
|
Instances
Generic StopGameSessionPlacementResponse Source # | |
Read StopGameSessionPlacementResponse Source # | |
Show StopGameSessionPlacementResponse Source # | |
NFData StopGameSessionPlacementResponse Source # | |
Defined in Amazonka.GameLift.StopGameSessionPlacement rnf :: StopGameSessionPlacementResponse -> () # | |
Eq StopGameSessionPlacementResponse Source # | |
type Rep StopGameSessionPlacementResponse Source # | |
Defined in Amazonka.GameLift.StopGameSessionPlacement type Rep StopGameSessionPlacementResponse = D1 ('MetaData "StopGameSessionPlacementResponse" "Amazonka.GameLift.StopGameSessionPlacement" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "StopGameSessionPlacementResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "gameSessionPlacement") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe GameSessionPlacement)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.