amazonka-elb-2.0: Amazon Elastic Load Balancing 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.ELB.AttachLoadBalancerToSubnets

Description

Adds one or more subnets to the set of configured subnets for the specified load balancer.

The load balancer evenly distributes requests across all registered subnets. For more information, see Add or Remove Subnets for Your Load Balancer in a VPC in the Classic Load Balancers Guide.

Synopsis

Creating a Request

data AttachLoadBalancerToSubnets Source #

Contains the parameters for AttachLoaBalancerToSubnets.

See: newAttachLoadBalancerToSubnets smart constructor.

Constructors

AttachLoadBalancerToSubnets' 

Fields

Instances

Instances details
ToHeaders AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

ToPath AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

ToQuery AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

AWSRequest AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Generic AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Associated Types

type Rep AttachLoadBalancerToSubnets :: Type -> Type #

Read AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Show AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

NFData AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Eq AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Hashable AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

type AWSResponse AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnets = D1 ('MetaData "AttachLoadBalancerToSubnets" "Amazonka.ELB.AttachLoadBalancerToSubnets" "amazonka-elb-2.0-9cSN5cNCwnD5ZanKSOxHTf" 'False) (C1 ('MetaCons "AttachLoadBalancerToSubnets'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text])))

newAttachLoadBalancerToSubnets Source #

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

AttachLoadBalancerToSubnets, attachLoadBalancerToSubnets_loadBalancerName - The name of the load balancer.

AttachLoadBalancerToSubnets, attachLoadBalancerToSubnets_subnets - The IDs of the subnets to add. You can add only one subnet per Availability Zone.

Request Lenses

attachLoadBalancerToSubnets_subnets :: Lens' AttachLoadBalancerToSubnets [Text] Source #

The IDs of the subnets to add. You can add only one subnet per Availability Zone.

Destructuring the Response

data AttachLoadBalancerToSubnetsResponse Source #

Contains the output of AttachLoadBalancerToSubnets.

See: newAttachLoadBalancerToSubnetsResponse smart constructor.

Constructors

AttachLoadBalancerToSubnetsResponse' 

Fields

Instances

Instances details
Generic AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Read AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Show AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

NFData AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Eq AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

type Rep AttachLoadBalancerToSubnetsResponse = D1 ('MetaData "AttachLoadBalancerToSubnetsResponse" "Amazonka.ELB.AttachLoadBalancerToSubnets" "amazonka-elb-2.0-9cSN5cNCwnD5ZanKSOxHTf" 'False) (C1 ('MetaCons "AttachLoadBalancerToSubnetsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "subnets") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAttachLoadBalancerToSubnetsResponse Source #

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

AttachLoadBalancerToSubnets, attachLoadBalancerToSubnetsResponse_subnets - The IDs of the subnets attached to the load balancer.

$sel:httpStatus:AttachLoadBalancerToSubnetsResponse', attachLoadBalancerToSubnetsResponse_httpStatus - The response's http status code.

Response Lenses

attachLoadBalancerToSubnetsResponse_subnets :: Lens' AttachLoadBalancerToSubnetsResponse (Maybe [Text]) Source #

The IDs of the subnets attached to the load balancer.