| Copyright | (c) 2013-2017 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.
Fleet-related operations include:
CreateFleetListFleets- Describe fleets:
DescribeFleetAttributesDescribeFleetPortSettingsDescribeFleetUtilizationDescribeRuntimeConfigurationDescribeFleetEvents- Update fleets:
UpdateFleetAttributesUpdateFleetCapacityUpdateFleetPortSettingsUpdateRuntimeConfiguration- Manage fleet capacity:
DescribeFleetCapacityUpdateFleetCapacityPutScalingPolicy(automatic scaling)DescribeScalingPolicies(automatic scaling)DeleteScalingPolicy(automatic scaling)DescribeEC2InstanceLimitsDeleteFleet
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