libZSservicesZSamazonka-elbZSamazonka-elb
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.ELB.DetachLoadBalancerFromSubnets

Description

Removes the specified subnets from the set of configured subnets for the load balancer.

After a subnet is removed, all EC2 instances registered with the load balancer in the removed subnet go into the OutOfService state. Then, the load balancer balances the traffic among the remaining routable subnets.

Synopsis

Creating a Request

data DetachLoadBalancerFromSubnets Source #

Contains the parameters for DetachLoadBalancerFromSubnets.

See: newDetachLoadBalancerFromSubnets smart constructor.

Constructors

DetachLoadBalancerFromSubnets' 

Fields

Instances

Instances details
Eq DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

Read DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

Show DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

Generic DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

Associated Types

type Rep DetachLoadBalancerFromSubnets :: Type -> Type #

NFData DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

Hashable DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

AWSRequest DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

ToHeaders DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

ToPath DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

ToQuery DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

type Rep DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

type Rep DetachLoadBalancerFromSubnets = D1 ('MetaData "DetachLoadBalancerFromSubnets" "Amazonka.ELB.DetachLoadBalancerFromSubnets" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "DetachLoadBalancerFromSubnets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))
type AWSResponse DetachLoadBalancerFromSubnets Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

newDetachLoadBalancerFromSubnets Source #

Create a value of DetachLoadBalancerFromSubnets 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:loadBalancerName:DetachLoadBalancerFromSubnets', detachLoadBalancerFromSubnets_loadBalancerName - The name of the load balancer.

$sel:subnets:DetachLoadBalancerFromSubnets', detachLoadBalancerFromSubnets_subnets - The IDs of the subnets.

Request Lenses

Destructuring the Response

data DetachLoadBalancerFromSubnetsResponse Source #

Contains the output of DetachLoadBalancerFromSubnets.

See: newDetachLoadBalancerFromSubnetsResponse smart constructor.

Constructors

DetachLoadBalancerFromSubnetsResponse' 

Fields

Instances

Instances details
Eq DetachLoadBalancerFromSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

Read DetachLoadBalancerFromSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

Show DetachLoadBalancerFromSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

Generic DetachLoadBalancerFromSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

NFData DetachLoadBalancerFromSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

type Rep DetachLoadBalancerFromSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.DetachLoadBalancerFromSubnets

type Rep DetachLoadBalancerFromSubnetsResponse = D1 ('MetaData "DetachLoadBalancerFromSubnetsResponse" "Amazonka.ELB.DetachLoadBalancerFromSubnets" "libZSservicesZSamazonka-elbZSamazonka-elb" 'False) (C1 ('MetaCons "DetachLoadBalancerFromSubnetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDetachLoadBalancerFromSubnetsResponse Source #

Create a value of DetachLoadBalancerFromSubnetsResponse 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:subnets:DetachLoadBalancerFromSubnets', detachLoadBalancerFromSubnetsResponse_subnets - The IDs of the remaining subnets for the load balancer.

$sel:httpStatus:DetachLoadBalancerFromSubnetsResponse', detachLoadBalancerFromSubnetsResponse_httpStatus - The response's http status code.

Response Lenses