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 #

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 #

See: startFleetActions smart constructor.

Instances
Eq StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

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

Defined in Network.AWS.GameLift.StartFleetActions

Show StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Generic StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Associated Types

type Rep StartFleetActions :: * -> * #

Hashable StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

ToJSON StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

AWSRequest StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Associated Types

type Rs StartFleetActions :: * #

ToHeaders StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

ToPath StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

ToQuery StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

NFData StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Methods

rnf :: StartFleetActions -> () #

type Rep StartFleetActions # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

type Rep StartFleetActions = D1 (MetaData "StartFleetActions" "Network.AWS.GameLift.StartFleetActions" "amazonka-gamelift-1.6.0-7WgXOZKdxV3Gu4LRJZfX7W" 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 # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Request Lenses

sfaFleetId :: Lens' StartFleetActions Text #

Unique identifier for a fleet

sfaActions :: Lens' StartFleetActions (NonEmpty FleetAction) #

List of actions to restart on the fleet.

Destructuring the Response

startFleetActionsResponse #

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 #

See: startFleetActionsResponse smart constructor.

Instances
Eq StartFleetActionsResponse # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

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

Defined in Network.AWS.GameLift.StartFleetActions

Show StartFleetActionsResponse # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Generic StartFleetActionsResponse # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

Associated Types

type Rep StartFleetActionsResponse :: * -> * #

NFData StartFleetActionsResponse # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

type Rep StartFleetActionsResponse # 
Instance details

Defined in Network.AWS.GameLift.StartFleetActions

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

Response Lenses

sfarsResponseStatus :: Lens' StartFleetActionsResponse Int #

  • - | The response status code.