amazonka-autoscaling-2.0: Amazon Auto Scaling SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AutoScaling.DeleteWarmPool

Description

Deletes the warm pool for the specified Auto Scaling group.

For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Synopsis

Creating a Request

data DeleteWarmPool Source #

See: newDeleteWarmPool smart constructor.

Constructors

DeleteWarmPool' 

Fields

  • forceDelete :: Maybe Bool

    Specifies that the warm pool is to be deleted along with all of its associated instances, without waiting for all instances to be terminated. This parameter also deletes any outstanding lifecycle actions associated with the warm pool instances.

  • autoScalingGroupName :: Text

    The name of the Auto Scaling group.

Instances

Instances details
ToHeaders DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

ToPath DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

ToQuery DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

AWSRequest DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

Associated Types

type AWSResponse DeleteWarmPool #

Generic DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

Associated Types

type Rep DeleteWarmPool :: Type -> Type #

Read DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

Show DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

NFData DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

Methods

rnf :: DeleteWarmPool -> () #

Eq DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

Hashable DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

type AWSResponse DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

type Rep DeleteWarmPool Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

type Rep DeleteWarmPool = D1 ('MetaData "DeleteWarmPool" "Amazonka.AutoScaling.DeleteWarmPool" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "DeleteWarmPool'" 'PrefixI 'True) (S1 ('MetaSel ('Just "forceDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDeleteWarmPool Source #

Create a value of DeleteWarmPool 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:forceDelete:DeleteWarmPool', deleteWarmPool_forceDelete - Specifies that the warm pool is to be deleted along with all of its associated instances, without waiting for all instances to be terminated. This parameter also deletes any outstanding lifecycle actions associated with the warm pool instances.

DeleteWarmPool, deleteWarmPool_autoScalingGroupName - The name of the Auto Scaling group.

Request Lenses

deleteWarmPool_forceDelete :: Lens' DeleteWarmPool (Maybe Bool) Source #

Specifies that the warm pool is to be deleted along with all of its associated instances, without waiting for all instances to be terminated. This parameter also deletes any outstanding lifecycle actions associated with the warm pool instances.

Destructuring the Response

data DeleteWarmPoolResponse Source #

See: newDeleteWarmPoolResponse smart constructor.

Constructors

DeleteWarmPoolResponse' 

Fields

Instances

Instances details
Generic DeleteWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

Associated Types

type Rep DeleteWarmPoolResponse :: Type -> Type #

Read DeleteWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

Show DeleteWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

NFData DeleteWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

Methods

rnf :: DeleteWarmPoolResponse -> () #

Eq DeleteWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

type Rep DeleteWarmPoolResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DeleteWarmPool

type Rep DeleteWarmPoolResponse = D1 ('MetaData "DeleteWarmPoolResponse" "Amazonka.AutoScaling.DeleteWarmPool" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "DeleteWarmPoolResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteWarmPoolResponse Source #

Create a value of DeleteWarmPoolResponse 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:httpStatus:DeleteWarmPoolResponse', deleteWarmPoolResponse_httpStatus - The response's http status code.

Response Lenses