amazonka-elb-1.3.1: Amazon Elastic Load Balancing SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.ELB.AttachLoadBalancerToSubnets

Contents

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 Elastic Load Balancing Developer Guide.

See: AWS API Reference for AttachLoadBalancerToSubnets.

Synopsis

Creating a Request

attachLoadBalancerToSubnets Source

Creates a value of AttachLoadBalancerToSubnets with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

albtsSubnets :: Lens' AttachLoadBalancerToSubnets [Text] Source

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

Destructuring the Response

attachLoadBalancerToSubnetsResponse Source

Creates a value of AttachLoadBalancerToSubnetsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

albtsrsSubnets :: Lens' AttachLoadBalancerToSubnetsResponse [Text] Source

The IDs of the subnets attached to the load balancer.