Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.GameLift.StartFleetActions
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
- startFleetActions :: Text -> NonEmpty FleetAction -> StartFleetActions
- data StartFleetActions
- sfaFleetId :: Lens' StartFleetActions Text
- sfaActions :: Lens' StartFleetActions (NonEmpty FleetAction)
- startFleetActionsResponse :: Int -> StartFleetActionsResponse
- data StartFleetActionsResponse
- sfarsResponseStatus :: Lens' StartFleetActionsResponse Int
Creating a Request
Arguments
:: Text | |
-> NonEmpty FleetAction | |
-> 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:
sfaFleetId
- Unique identifier for a fleetsfaActions
- List of actions to restart on the fleet.
data StartFleetActions #
See: startFleetActions
smart constructor.
Instances
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
Arguments
:: Int | |
-> 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:
sfarsResponseStatus
- -- | The response status code.
data StartFleetActionsResponse #
See: startFleetActionsResponse
smart constructor.
Response Lenses
sfarsResponseStatus :: Lens' StartFleetActionsResponse Int #
- - | The response status code.