amazonka-gamelift-1.6.0: Amazon GameLift SDK.

Copyright(c) 2013-2018 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.StopFleetActions

Contents

Description

Suspends activity on a fleet. Currently, this operation is used to stop a fleet's auto-scaling activity. It is used to temporarily stop scaling events triggered by the fleet's scaling policies. The policies can be retained and auto-scaling activity can be restarted using StartFleetActions . You can view a fleet's stopped actions using DescribeFleetAttributes .

To stop fleet actions, specify the fleet ID and the type of actions to suspend. When auto-scaling fleet actions are stopped, Amazon GameLift no longer initiates scaling events except to maintain the fleet's desired instances setting (FleetCapacity . Changes to the fleet's capacity must be done manually using UpdateFleetCapacity .

Synopsis

Creating a Request

stopFleetActions Source #

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

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

  • sFleetId - Unique identifier for a fleet
  • sActions - List of actions to suspend on the fleet.

data StopFleetActions Source #

See: stopFleetActions smart constructor.

Instances

Eq StopFleetActions Source # 
Data StopFleetActions Source # 

Methods

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

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

toConstr :: StopFleetActions -> Constr #

dataTypeOf :: StopFleetActions -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopFleetActions Source # 
Show StopFleetActions Source # 
Generic StopFleetActions Source # 
Hashable StopFleetActions Source # 
ToJSON StopFleetActions Source # 
NFData StopFleetActions Source # 

Methods

rnf :: StopFleetActions -> () #

AWSRequest StopFleetActions Source # 
ToHeaders StopFleetActions Source # 
ToPath StopFleetActions Source # 
ToQuery StopFleetActions Source # 
type Rep StopFleetActions Source # 
type Rep StopFleetActions = D1 * (MetaData "StopFleetActions" "Network.AWS.GameLift.StopFleetActions" "amazonka-gamelift-1.6.0-DeAosbEJJf8D8cv8ebS5Uv" False) (C1 * (MetaCons "StopFleetActions'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_sFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_sActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (List1 FleetAction)))))
type Rs StopFleetActions Source # 

Request Lenses

sFleetId :: Lens' StopFleetActions Text Source #

Unique identifier for a fleet

sActions :: Lens' StopFleetActions (NonEmpty FleetAction) Source #

List of actions to suspend on the fleet.

Destructuring the Response

stopFleetActionsResponse Source #

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

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

data StopFleetActionsResponse Source #

See: stopFleetActionsResponse smart constructor.

Instances

Eq StopFleetActionsResponse Source # 
Data StopFleetActionsResponse Source # 

Methods

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

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

toConstr :: StopFleetActionsResponse -> Constr #

dataTypeOf :: StopFleetActionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read StopFleetActionsResponse Source # 
Show StopFleetActionsResponse Source # 
Generic StopFleetActionsResponse Source # 
NFData StopFleetActionsResponse Source # 
type Rep StopFleetActionsResponse Source # 
type Rep StopFleetActionsResponse = D1 * (MetaData "StopFleetActionsResponse" "Network.AWS.GameLift.StopFleetActions" "amazonka-gamelift-1.6.0-DeAosbEJJf8D8cv8ebS5Uv" True) (C1 * (MetaCons "StopFleetActionsResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_sfasrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses