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 |
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
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:
data DeletePolicy Source
See: deletePolicy
smart constructor.
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.