Copyright | (c) 2013-2021 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 |
Deletes the specified scaling plan.
Deleting a scaling plan deletes the underlying ScalingInstruction for all of the scalable resources that are covered by the plan.
If the plan has launched resources or has scaling activities in progress, you must delete those resources separately.
Synopsis
- data DeleteScalingPlan = DeleteScalingPlan' {}
- newDeleteScalingPlan :: Text -> Integer -> DeleteScalingPlan
- deleteScalingPlan_scalingPlanName :: Lens' DeleteScalingPlan Text
- deleteScalingPlan_scalingPlanVersion :: Lens' DeleteScalingPlan Integer
- data DeleteScalingPlanResponse = DeleteScalingPlanResponse' {
- httpStatus :: Int
- newDeleteScalingPlanResponse :: Int -> DeleteScalingPlanResponse
- deleteScalingPlanResponse_httpStatus :: Lens' DeleteScalingPlanResponse Int
Creating a Request
data DeleteScalingPlan Source #
See: newDeleteScalingPlan
smart constructor.
DeleteScalingPlan' | |
|
Instances
:: Text | |
-> Integer | |
-> DeleteScalingPlan |
Create a value of DeleteScalingPlan
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:scalingPlanName:DeleteScalingPlan'
, deleteScalingPlan_scalingPlanName
- The name of the scaling plan.
$sel:scalingPlanVersion:DeleteScalingPlan'
, deleteScalingPlan_scalingPlanVersion
- The version number of the scaling plan. Currently, the only valid value
is 1
.
Request Lenses
deleteScalingPlan_scalingPlanName :: Lens' DeleteScalingPlan Text Source #
The name of the scaling plan.
deleteScalingPlan_scalingPlanVersion :: Lens' DeleteScalingPlan Integer Source #
The version number of the scaling plan. Currently, the only valid value
is 1
.
Destructuring the Response
data DeleteScalingPlanResponse Source #
See: newDeleteScalingPlanResponse
smart constructor.
DeleteScalingPlanResponse' | |
|
Instances
newDeleteScalingPlanResponse Source #
Create a value of DeleteScalingPlanResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:DeleteScalingPlanResponse'
, deleteScalingPlanResponse_httpStatus
- The response's http status code.
Response Lenses
deleteScalingPlanResponse_httpStatus :: Lens' DeleteScalingPlanResponse Int Source #
The response's http status code.