| 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.StopFleetActions
Description
Suspends activity on a fleet. Currently, this operation is used to stop a fleet's auto-scaling activity. It is used to temporarily stop scaling events triggered by the fleet's scaling policies. The policies can be retained and auto-scaling activity can be restarted using StartFleetActions . You can view a fleet's stopped actions using DescribeFleetAttributes .
To stop fleet actions, specify the fleet ID and the type of actions to suspend. When auto-scaling fleet actions are stopped, Amazon GameLift no longer initiates scaling events except to maintain the fleet's desired instances setting (FleetCapacity . Changes to the fleet's capacity must be done manually using UpdateFleetCapacity .
- stopFleetActions :: Text -> NonEmpty FleetAction -> StopFleetActions
- data StopFleetActions
- sFleetId :: Lens' StopFleetActions Text
- sActions :: Lens' StopFleetActions (NonEmpty FleetAction)
- stopFleetActionsResponse :: Int -> StopFleetActionsResponse
- data StopFleetActionsResponse
- sfasrsResponseStatus :: Lens' StopFleetActionsResponse Int
Creating a Request
Arguments
| :: Text | |
| -> NonEmpty FleetAction | |
| -> StopFleetActions |
Creates a value of StopFleetActions with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data StopFleetActions Source #
See: stopFleetActions smart constructor.
Instances
Request Lenses
sActions :: Lens' StopFleetActions (NonEmpty FleetAction) Source #
List of actions to suspend on the fleet.
Destructuring the Response
stopFleetActionsResponse Source #
Arguments
| :: Int | |
| -> StopFleetActionsResponse |
Creates a value of StopFleetActionsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
sfasrsResponseStatus- -- | The response status code.
data StopFleetActionsResponse Source #
See: stopFleetActionsResponse smart constructor.
Response Lenses
sfasrsResponseStatus :: Lens' StopFleetActionsResponse Int Source #
- - | The response status code.