// 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
// (https://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-manage-subnets.html)
// in the Classic Load Balancers Guide.
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.
// 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 // ( https : // docs . aws . amazon . com / elasticloadbalancing / latest / classic / elb - manage - subnets . html ) // in the Classic Load Balancers Guide .
func (c *Client) AttachLoadBalancerToSubnets(ctx context.Context, params *AttachLoadBalancerToSubnetsInput, optFns ...func(*Options)) (*AttachLoadBalancerToSubnetsOutput, error) {
	if params == nil {
		params = &AttachLoadBalancerToSubnetsInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "AttachLoadBalancerToSubnets", params, optFns, addOperationAttachLoadBalancerToSubnetsMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*AttachLoadBalancerToSubnetsOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) AttachLoadBalancerToSubnets ( ctx context . Context , params * AttachLoadBalancerToSubnetsInput , optFns ... func ( * Options ) ) ( * AttachLoadBalancerToSubnetsOutput , error ) { if params == nil { params = & AttachLoadBalancerToSubnetsInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationAttachLoadBalancerToSubnetsMiddlewares ) if err != nil { return nil , err } out := result . ( * AttachLoadBalancerToSubnetsOutput ) out . ResultMetadata = metadata return out , nil }
Adds one or more subnets to the set of configured subnets for the specified load
balancer.
Adds one or more subnets to the set of configured subnets for the specified load balancer .