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.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
Eq AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Read AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Show 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 #

NFData AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

Hashable AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

AWSRequest AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

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

type Rep AttachLoadBalancerToSubnets Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

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

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

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:

$sel:loadBalancerName:AttachLoadBalancerToSubnets', attachLoadBalancerToSubnets_loadBalancerName - The name of the load balancer.

$sel:subnets: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
Eq 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

Generic AttachLoadBalancerToSubnetsResponse Source # 
Instance details

Defined in Amazonka.ELB.AttachLoadBalancerToSubnets

NFData 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" "libZSservicesZSamazonka-elbZSamazonka-elb" '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:

$sel:subnets: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.