    # File lib/fog/aws/requests/elb/create_load_balancer.rb, line 26
            def create_load_balancer(availability_zones, lb_name, listeners, options = {})
              params = Fog::AWS.indexed_param('AvailabilityZones.member', [*availability_zones])
              params.merge!(Fog::AWS.indexed_param('Subnets.member.%d', options[:subnet_ids]))
              params.merge!(Fog::AWS.serialize_keys('Scheme', options[:scheme]))
              params.merge!(Fog::AWS.indexed_param('SecurityGroups.member.%d', options[:security_groups]))

              listener_protocol = []
              listener_lb_port = []
              listener_instance_port = []
              listener_instance_protocol = []
              listener_ssl_certificate_id = []
              listeners.each do |listener|
                listener_protocol.push(listener['Protocol'])
                listener_lb_port.push(listener['LoadBalancerPort'])
                listener_instance_port.push(listener['InstancePort'])
                listener_instance_protocol.push(listener['InstanceProtocol'])
                listener_ssl_certificate_id.push(listener['SSLCertificateId'])
              end

              params.merge!(Fog::AWS.indexed_param('Listeners.member.%d.Protocol', listener_protocol))
              params.merge!(Fog::AWS.indexed_param('Listeners.member.%d.LoadBalancerPort', listener_lb_port))
              params.merge!(Fog::AWS.indexed_param('Listeners.member.%d.InstancePort', listener_instance_port))
              params.merge!(Fog::AWS.indexed_param('Listeners.member.%d.InstanceProtocol', listener_instance_protocol))
              params.merge!(Fog::AWS.indexed_param('Listeners.member.%d.SSLCertificateId', listener_ssl_certificate_id))

              request({
                'Action'           => 'CreateLoadBalancer',
                'LoadBalancerName' => lb_name,
                :parser            => Fog::Parsers::AWS::ELB::CreateLoadBalancer.new
              }.merge!(params))
            end