amazonka-autoscaling-1.2.0: Amazon Auto Scaling SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.AutoScaling.DeletePolicy

Contents

Description

Deletes the specified Auto Scaling policy.

See: AWS API Reference for DeletePolicy.

Synopsis

Creating a Request

deletePolicy Source

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:

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.