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 |
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
- 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
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 Source #
See: startFleetActions
smart constructor.
Instances
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:
sfarsResponseStatus
- -- | The response status code.
data StartFleetActionsResponse Source #
See: startFleetActionsResponse
smart constructor.
Instances
Response Lenses
sfarsResponseStatus :: Lens' StartFleetActionsResponse Int Source #
- - | The response status code.