@Override
    public AttachElasticLoadBalancerResult attachElasticLoadBalancer(AttachElasticLoadBalancerRequest request) {
        request = beforeClientExecution(request);
        return executeAttachElasticLoadBalancer(request);
    }
@ Override public AttachElasticLoadBalancerResult attachElasticLoadBalancer ( AttachElasticLoadBalancerRequest request ) { request = beforeClientExecution ( request ) ; return executeAttachElasticLoadBalancer ( request ) ; }
<p>
Attaches an Elastic Load Balancing load balancer to a specified layer. AWS OpsWorks Stacks does not support
Application Load Balancer. You can only use Classic Load Balancer with AWS OpsWorks Stacks. For more information,
see <a href="http://docs.aws.amazon.com/opsworks/latest/userguide/layers-elb.html">Elastic Load Balancing</a>.
</p>
<note>
<p>
You must create the Elastic Load Balancing instance separately, by using the Elastic Load Balancing console, API,
or CLI. For more information, see <a
href="http://docs.aws.amazon.com/ElasticLoadBalancing/latest/DeveloperGuide/Welcome.html"> Elastic Load Balancing
Developer Guide</a>.
</p>
</note>
<p>
<b>Required Permissions</b>: To use this action, an IAM user must have a Manage permissions level for the stack,
or an attached policy that explicitly grants permissions. For more information on user permissions, see <a
href="http://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
Permissions</a>.
</p>

@param attachElasticLoadBalancerRequest
@return Result of the AttachElasticLoadBalancer operation returned by the service.
@throws ValidationException
Indicates that a request was not valid.
@throws ResourceNotFoundException
Indicates that a resource was not found.
@sample AWSOpsWorks.AttachElasticLoadBalancer
@see <a href="http://docs.aws.amazon.com/goto/WebAPI/opsworks-2013-02-18/AttachElasticLoadBalancer"
target="_top">AWS API Documentation</a>