| 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.DeleteScalingPolicy
Description
Deletes a fleet scaling policy. This action means that the policy is no longer in force and removes all record of it. To delete a scaling policy, specify both the scaling policy name and the fleet ID it is associated with.
To temporarily suspend scaling policies, call StopFleetActions . This operation suspends all policies for the fleet.
Operations related to fleet capacity scaling include:
DescribeFleetCapacityUpdateFleetCapacityDescribeEC2InstanceLimits- Manage scaling policies:
PutScalingPolicy(auto-scaling)DescribeScalingPolicies(auto-scaling)DeleteScalingPolicy(auto-scaling)- Manage fleet actions:
StartFleetActionsStopFleetActions
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> DeleteScalingPolicy |
Creates a value of DeleteScalingPolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dspName- Descriptive label that is associated with a scaling policy. Policy names do not need to be unique.dspFleetId- Unique identifier for a fleet to be deleted.
data DeleteScalingPolicy Source #
Represents the input for a request action.
See: deleteScalingPolicy smart constructor.
Instances
Request Lenses
dspName :: Lens' DeleteScalingPolicy Text Source #
Descriptive label that is associated with a scaling policy. Policy names do not need to be unique.
dspFleetId :: Lens' DeleteScalingPolicy Text Source #
Unique identifier for a fleet to be deleted.
Destructuring the Response
deleteScalingPolicyResponse :: DeleteScalingPolicyResponse Source #
Creates a value of DeleteScalingPolicyResponse with the minimum fields required to make a request.
data DeleteScalingPolicyResponse Source #
See: deleteScalingPolicyResponse smart constructor.
Instances