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

Description

Detaches one or more Classic Load Balancers from the specified Auto Scaling group.

This operation detaches only Classic Load Balancers. If you have Application Load Balancers, Network Load Balancers, or Gateway Load Balancers, use the DetachLoadBalancerTargetGroups API instead.

When you detach a load balancer, it enters the Removing state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the load balancer using the DescribeLoadBalancers API call. The instances remain running.

Synopsis

Creating a Request

data DetachLoadBalancers Source #

See: newDetachLoadBalancers smart constructor.

Constructors

DetachLoadBalancers' 

Fields

Instances

Instances details
Eq DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

Read DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

Show DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

Generic DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

Associated Types

type Rep DetachLoadBalancers :: Type -> Type #

NFData DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

Methods

rnf :: DetachLoadBalancers -> () #

Hashable DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

AWSRequest DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

Associated Types

type AWSResponse DetachLoadBalancers #

ToHeaders DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

ToPath DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

ToQuery DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

type Rep DetachLoadBalancers Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

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

Defined in Amazonka.AutoScaling.DetachLoadBalancers

newDetachLoadBalancers Source #

Create a value of DetachLoadBalancers 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:DetachLoadBalancers', detachLoadBalancers_autoScalingGroupName - The name of the Auto Scaling group.

$sel:loadBalancerNames:DetachLoadBalancers', detachLoadBalancers_loadBalancerNames - The names of the load balancers. You can specify up to 10 load balancers.

Request Lenses

detachLoadBalancers_loadBalancerNames :: Lens' DetachLoadBalancers [Text] Source #

The names of the load balancers. You can specify up to 10 load balancers.

Destructuring the Response

data DetachLoadBalancersResponse Source #

See: newDetachLoadBalancersResponse smart constructor.

Constructors

DetachLoadBalancersResponse' 

Fields

Instances

Instances details
Eq DetachLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

Read DetachLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

Show DetachLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

Generic DetachLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

Associated Types

type Rep DetachLoadBalancersResponse :: Type -> Type #

NFData DetachLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

type Rep DetachLoadBalancersResponse Source # 
Instance details

Defined in Amazonka.AutoScaling.DetachLoadBalancers

type Rep DetachLoadBalancersResponse = D1 ('MetaData "DetachLoadBalancersResponse" "Amazonka.AutoScaling.DetachLoadBalancers" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DetachLoadBalancersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDetachLoadBalancersResponse Source #

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

Response Lenses