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

Defined in Network.AWS.GameLift.StartFleetActions

Data StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

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

Defined in Network.AWS.GameLift.StartFleetActions

Show StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Generic StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Associated Types

type Rep StartFleetActions :: Type -> Type #

Hashable StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

ToJSON StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

AWSRequest StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Associated Types

type Rs StartFleetActions :: Type #

ToHeaders StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

ToPath StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

ToQuery StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

NFData StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Methods

rnf :: StartFleetActions -> () #

type Rep StartFleetActions Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

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

Defined in Network.AWS.GameLift.StartFleetActions

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

Defined in Network.AWS.GameLift.StartFleetActions

Data StartFleetActionsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

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

Defined in Network.AWS.GameLift.StartFleetActions

Show StartFleetActionsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Generic StartFleetActionsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Associated Types

type Rep StartFleetActionsResponse :: Type -> Type #

NFData StartFleetActionsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

type Rep StartFleetActionsResponse Source # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

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

Response Lenses