amazonka-gamelift-1.5.0: Amazon GameLift SDK.

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.GameLift.StopGameSessionPlacement

Contents

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.

Game-session-related operations include:

  • CreateGameSession
  • DescribeGameSessions
  • DescribeGameSessionDetails
  • SearchGameSessions
  • UpdateGameSession
  • GetGameSessionLogUrl
  • Game session placements
  • StartGameSessionPlacement
  • DescribeGameSessionPlacement
  • StopGameSessionPlacement

Synopsis

Creating a Request

stopGameSessionPlacement Source #

Creates a value of StopGameSessionPlacement with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • sPlacementId - Unique identifier for a game session placement to cancel.

data StopGameSessionPlacement Source #

Represents the input for a request action.

See: stopGameSessionPlacement smart constructor.

Instances

Eq StopGameSessionPlacement Source # 
Data StopGameSessionPlacement Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StopGameSessionPlacement -> c StopGameSessionPlacement #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StopGameSessionPlacement #

toConstr :: StopGameSessionPlacement -> Constr #

dataTypeOf :: StopGameSessionPlacement -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StopGameSessionPlacement) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StopGameSessionPlacement) #

gmapT :: (forall b. Data b => b -> b) -> StopGameSessionPlacement -> StopGameSessionPlacement #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StopGameSessionPlacement -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StopGameSessionPlacement -> r #

gmapQ :: (forall d. Data d => d -> u) -> StopGameSessionPlacement -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StopGameSessionPlacement -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StopGameSessionPlacement -> m StopGameSessionPlacement #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StopGameSessionPlacement -> m StopGameSessionPlacement #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StopGameSessionPlacement -> m StopGameSessionPlacement #

Read StopGameSessionPlacement Source # 
Show StopGameSessionPlacement Source # 
Generic StopGameSessionPlacement Source # 
Hashable StopGameSessionPlacement Source # 
ToJSON StopGameSessionPlacement Source # 
NFData StopGameSessionPlacement Source # 
AWSRequest StopGameSessionPlacement Source # 
ToQuery StopGameSessionPlacement Source # 
ToPath StopGameSessionPlacement Source # 
ToHeaders StopGameSessionPlacement Source # 
type Rep StopGameSessionPlacement Source # 
type Rep StopGameSessionPlacement = D1 (MetaData "StopGameSessionPlacement" "Network.AWS.GameLift.StopGameSessionPlacement" "amazonka-gamelift-1.5.0-LWFsf2alHztGD91U7ab8u0" True) (C1 (MetaCons "StopGameSessionPlacement'" PrefixI True) (S1 (MetaSel (Just Symbol "_sPlacementId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs StopGameSessionPlacement Source # 

Request Lenses

sPlacementId :: Lens' StopGameSessionPlacement Text Source #

Unique identifier for a game session placement to cancel.

Destructuring the Response

stopGameSessionPlacementResponse Source #

Creates a value of StopGameSessionPlacementResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data StopGameSessionPlacementResponse Source #

Represents the returned data in response to a request action.

See: stopGameSessionPlacementResponse smart constructor.

Instances

Eq StopGameSessionPlacementResponse Source # 
Data StopGameSessionPlacementResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> StopGameSessionPlacementResponse -> c StopGameSessionPlacementResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c StopGameSessionPlacementResponse #

toConstr :: StopGameSessionPlacementResponse -> Constr #

dataTypeOf :: StopGameSessionPlacementResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c StopGameSessionPlacementResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c StopGameSessionPlacementResponse) #

gmapT :: (forall b. Data b => b -> b) -> StopGameSessionPlacementResponse -> StopGameSessionPlacementResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> StopGameSessionPlacementResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> StopGameSessionPlacementResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> StopGameSessionPlacementResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> StopGameSessionPlacementResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> StopGameSessionPlacementResponse -> m StopGameSessionPlacementResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> StopGameSessionPlacementResponse -> m StopGameSessionPlacementResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> StopGameSessionPlacementResponse -> m StopGameSessionPlacementResponse #

Read StopGameSessionPlacementResponse Source # 
Show StopGameSessionPlacementResponse Source # 
Generic StopGameSessionPlacementResponse Source # 
NFData StopGameSessionPlacementResponse Source # 
type Rep StopGameSessionPlacementResponse Source # 
type Rep StopGameSessionPlacementResponse = D1 (MetaData "StopGameSessionPlacementResponse" "Network.AWS.GameLift.StopGameSessionPlacement" "amazonka-gamelift-1.5.0-LWFsf2alHztGD91U7ab8u0" False) (C1 (MetaCons "StopGameSessionPlacementResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_storsGameSessionPlacement") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe GameSessionPlacement))) (S1 (MetaSel (Just Symbol "_storsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

storsGameSessionPlacement :: Lens' StopGameSessionPlacementResponse (Maybe GameSessionPlacement) Source #

Object that describes the canceled game session placement, with CANCELLED status and an end time stamp.