| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.AutoScaling.DeletePolicy
Description
Deletes the specified Auto Scaling policy.
Deleting a policy deletes the underlying alarm action, but does not delete the alarm, even if it no longer has an associated action.
Creating a Request
Arguments
| :: Text | |
| -> DeletePolicy |
Creates a value of DeletePolicy with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dpAutoScalingGroupName- The name of the Auto Scaling group.dpPolicyName- The name or Amazon Resource Name (ARN) of the policy.
data DeletePolicy Source #
Contains the parameters for DeletePolicy.
See: deletePolicy smart constructor.
Instances
Request Lenses
dpAutoScalingGroupName :: Lens' DeletePolicy (Maybe Text) Source #
The name of the Auto Scaling group.
dpPolicyName :: Lens' DeletePolicy Text Source #
The name or Amazon Resource Name (ARN) of the policy.
Destructuring the Response
deletePolicyResponse :: DeletePolicyResponse Source #
Creates a value of DeletePolicyResponse with the minimum fields required to make a request.
data DeletePolicyResponse Source #
See: deletePolicyResponse smart constructor.