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 |
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:
CreateFleet
ListFleets
- Describe fleets:
DescribeFleetAttributes
DescribeFleetPortSettings
DescribeFleetUtilization
DescribeRuntimeConfiguration
DescribeFleetEvents
- Update fleets:
UpdateFleetAttributes
UpdateFleetCapacity
UpdateFleetPortSettings
UpdateRuntimeConfiguration
- Manage fleet capacity:
DescribeFleetCapacity
UpdateFleetCapacity
PutScalingPolicy
(automatic scaling)DescribeScalingPolicies
(automatic scaling)DeleteScalingPolicy
(automatic scaling)DescribeEC2InstanceLimits
DeleteFleet
Creating a Request
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.
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.