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

Amazonka.AutoScaling.DeletePolicy

Description

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.

Constructors

DeletePolicy' 

Fields

Instances

Instances details
Eq DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Read DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Show DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Generic DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Associated Types

type Rep DeletePolicy :: Type -> Type #

NFData DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Methods

rnf :: DeletePolicy -> () #

Hashable DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

AWSRequest DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Associated Types

type AWSResponse DeletePolicy #

ToHeaders DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

ToPath DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

ToQuery DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

type Rep DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

type Rep DeletePolicy = D1 ('MetaData "DeletePolicy" "Amazonka.AutoScaling.DeletePolicy" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DeletePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeletePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

newDeletePolicy Source #

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.

Constructors

DeletePolicyResponse' 

Instances

Instances details
Eq DeletePolicyResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Read DeletePolicyResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Show DeletePolicyResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Generic DeletePolicyResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Associated Types

type Rep DeletePolicyResponse :: Type -> Type #

NFData DeletePolicyResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

Methods

rnf :: DeletePolicyResponse -> () #

type Rep DeletePolicyResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeletePolicy

type Rep DeletePolicyResponse = D1 ('MetaData "DeletePolicyResponse" "Amazonka.AutoScaling.DeletePolicy" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DeletePolicyResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newDeletePolicyResponse :: DeletePolicyResponse Source #

Create a value of DeletePolicyResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.