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.CancelInstanceRefresh

Description

Cancels an instance refresh operation in progress. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.

This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes.

Synopsis

Creating a Request

data CancelInstanceRefresh Source #

See: newCancelInstanceRefresh smart constructor.

Constructors

CancelInstanceRefresh' 

Fields

Instances

Instances details
ToHeaders CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

ToPath CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

ToQuery CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

AWSRequest CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

Associated Types

type AWSResponse CancelInstanceRefresh #

Generic CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

Associated Types

type Rep CancelInstanceRefresh :: Type -> Type #

Read CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

Show CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

NFData CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

Methods

rnf :: CancelInstanceRefresh -> () #

Eq CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

Hashable CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

type AWSResponse CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

type Rep CancelInstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

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

newCancelInstanceRefresh Source #

Create a value of CancelInstanceRefresh 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:

CancelInstanceRefresh, cancelInstanceRefresh_autoScalingGroupName - The name of the Auto Scaling group.

Request Lenses

Destructuring the Response

data CancelInstanceRefreshResponse Source #

See: newCancelInstanceRefreshResponse smart constructor.

Constructors

CancelInstanceRefreshResponse' 

Fields

Instances

Instances details
Generic CancelInstanceRefreshResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

Associated Types

type Rep CancelInstanceRefreshResponse :: Type -> Type #

Read CancelInstanceRefreshResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

Show CancelInstanceRefreshResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

NFData CancelInstanceRefreshResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

Eq CancelInstanceRefreshResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

type Rep CancelInstanceRefreshResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.CancelInstanceRefresh

type Rep CancelInstanceRefreshResponse = D1 ('MetaData "CancelInstanceRefreshResponse" "Amazonka.AutoScaling.CancelInstanceRefresh" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "CancelInstanceRefreshResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instanceRefreshId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCancelInstanceRefreshResponse Source #

Create a value of CancelInstanceRefreshResponse 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:

CancelInstanceRefreshResponse, cancelInstanceRefreshResponse_instanceRefreshId - The instance refresh ID.

$sel:httpStatus:CancelInstanceRefreshResponse', cancelInstanceRefreshResponse_httpStatus - The response's http status code.

Response Lenses