amazonka-gamelift-1.6.1: 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 # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

Data StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

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 # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

Show StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

Generic StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

Associated Types

type Rep StopFleetActions :: Type -> Type #

Hashable StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

ToJSON StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

AWSRequest StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

Associated Types

type Rs StopFleetActions :: Type #

ToHeaders StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

ToPath StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

ToQuery StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

NFData StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

Methods

rnf :: StopFleetActions -> () #

type Rep StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

type Rep StopFleetActions = D1 (MetaData "StopFleetActions" "Network.AWS.GameLift.StopFleetActions" "amazonka-gamelift-1.6.1-GajLKSxsevT2faX837q2Xl" False) (C1 (MetaCons "StopFleetActions'" PrefixI True) (S1 (MetaSel (Just "_sFleetId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_sActions") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (List1 FleetAction))))
type Rs StopFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

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 # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

Data StopFleetActionsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

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 # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

Show StopFleetActionsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

Generic StopFleetActionsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

Associated Types

type Rep StopFleetActionsResponse :: Type -> Type #

NFData StopFleetActionsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

type Rep StopFleetActionsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.StopFleetActions

type Rep StopFleetActionsResponse = D1 (MetaData "StopFleetActionsResponse" "Network.AWS.GameLift.StopFleetActions" "amazonka-gamelift-1.6.1-GajLKSxsevT2faX837q2Xl" True) (C1 (MetaCons "StopFleetActionsResponse'" PrefixI True) (S1 (MetaSel (Just "_sfasrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int)))

Response Lenses