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 policy.
Deleting either a step scaling policy or a simple scaling policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.
For more information, see Deleting a scaling policy in the Amazon EC2 Auto Scaling User Guide.
Synopsis
Creating a Request
data DeletePolicy Source #
See: newDeletePolicy
smart constructor.
DeletePolicy' | |
|
Instances
Create a value of DeletePolicy
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:autoScalingGroupName:DeletePolicy'
, deletePolicy_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:policyName:DeletePolicy'
, deletePolicy_policyName
- The name or Amazon Resource Name (ARN) of the policy.
Request Lenses
deletePolicy_autoScalingGroupName :: Lens' DeletePolicy (Maybe Text) Source #
The name of the Auto Scaling group.
deletePolicy_policyName :: Lens' DeletePolicy Text Source #
The name or Amazon Resource Name (ARN) of the policy.
Destructuring the Response
data DeletePolicyResponse Source #
See: newDeletePolicyResponse
smart constructor.
Instances
Eq DeletePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.DeletePolicy (==) :: DeletePolicyResponse -> DeletePolicyResponse -> Bool # (/=) :: DeletePolicyResponse -> DeletePolicyResponse -> Bool # | |
Read DeletePolicyResponse Source # | |
Show DeletePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.DeletePolicy showsPrec :: Int -> DeletePolicyResponse -> ShowS # show :: DeletePolicyResponse -> String # showList :: [DeletePolicyResponse] -> ShowS # | |
Generic DeletePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.DeletePolicy type Rep DeletePolicyResponse :: Type -> Type # from :: DeletePolicyResponse -> Rep DeletePolicyResponse x # to :: Rep DeletePolicyResponse x -> DeletePolicyResponse # | |
NFData DeletePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.DeletePolicy rnf :: DeletePolicyResponse -> () # | |
type Rep DeletePolicyResponse Source # | |
newDeletePolicyResponse :: DeletePolicyResponse Source #
Create a value of DeletePolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.