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.StartFleetActions

Contents

Description

Resumes activity on a fleet that was suspended with StopFleetActions . Currently, this operation is used to restart a fleet's auto-scaling activity.

To start fleet actions, specify the fleet ID and the type of actions to restart. When auto-scaling fleet actions are restarted, Amazon GameLift once again initiates scaling events as triggered by the fleet's scaling policies. If actions on the fleet were never stopped, this operation will have no effect. You can view a fleet's stopped actions using DescribeFleetAttributes .

Operations related to fleet capacity scaling include:

  • DescribeFleetCapacity
  • UpdateFleetCapacity
  • DescribeEC2InstanceLimits
  • Manage scaling policies:
  • PutScalingPolicy (auto-scaling)
  • DescribeScalingPolicies (auto-scaling)
  • DeleteScalingPolicy (auto-scaling)
  • Manage fleet actions:
  • StartFleetActions
  • StopFleetActions

Synopsis

Creating a Request

startFleetActions Source #

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

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

data StartFleetActions Source #

See: startFleetActions smart constructor.

Instances

Eq StartFleetActions Source # 
Data StartFleetActions Source # 

Methods

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

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

toConstr :: StartFleetActions -> Constr #

dataTypeOf :: StartFleetActions -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: StartFleetActions -> () #

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

Request Lenses

sfaFleetId :: Lens' StartFleetActions Text Source #

Unique identifier for a fleet

sfaActions :: Lens' StartFleetActions (NonEmpty FleetAction) Source #

List of actions to restart on the fleet.

Destructuring the Response

startFleetActionsResponse Source #

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

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

data StartFleetActionsResponse Source #

See: startFleetActionsResponse smart constructor.

Instances

Eq StartFleetActionsResponse Source # 
Data StartFleetActionsResponse Source # 

Methods

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

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

toConstr :: StartFleetActionsResponse -> Constr #

dataTypeOf :: StartFleetActionsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses