Did I find the right examples for you? yes no

All Samples(16)  |  Call(16)  |  Derive(0)  |  Import(0)
:type aws_access_key_id: string
:param aws_access_key_id: Your AWS Access Key ID

:type aws_secret_access_key: string
:param aws_secret_access_key: Your AWS Secret Access Key

:rtype: :class:`boto.ec2.elb.ELBConnection`
:return: A connection to Amazon's Load Balancing Service

        def connect_elb(aws_access_key_id=None, aws_secret_access_key=None, **kwargs):
    """
    :type aws_access_key_id: string
    :param aws_access_key_id: Your AWS Access Key ID

    :type aws_secret_access_key: string
    :param aws_secret_access_key: Your AWS Secret Access Key

    :rtype: :class:`boto.ec2.elb.ELBConnection`
    :return: A connection to Amazon's Load Balancing Service
    """
    from boto.ec2.elb import ELBConnection
    return ELBConnection(aws_access_key_id, aws_secret_access_key, **kwargs)
        


src/c/o/configuration-HEAD/util/vpc-tools/vpc_dns.py   configuration(Download)
    # Connect to ec2 using the provided credentials on the commandline
    ec2_con = boto.connect_ec2(args.aws_id, args.aws_secret)
    elb_con = boto.connect_elb(args.aws_id, args.aws_secret)
    rds_con = boto.connect_rds(args.aws_id, args.aws_secret)
 

src/s/a/salt-contrib-HEAD/modules/aws_elb.py   salt-contrib(Download)
  if not credentials:
    return None
  conn = boto.connect_elb (credentials["access_key"], credentials["secret_key"])
  for lb in conn.get_all_load_balancers ():
    if lb.name == name:

src/f/a/fabix-0.0.3/fabix/aws/ec2.py   fabix(Download)
def get_autoscaling_instances(elb_name):
    """Get public DNS from autoscaling instances registered with ELB `elb_name`."""
    elb_conn = boto.connect_elb()
    loadbalancers = elb_conn.get_all_load_balancers([elb_name])
 

src/f/a/fabix-HEAD/fabix/aws/ec2.py   fabix(Download)
def get_autoscaling_instances(elb_name):
    """Get public DNS from autoscaling instances registered with ELB `elb_name`."""
    elb_conn = boto.connect_elb()
    loadbalancers = elb_conn.get_all_load_balancers([elb_name])
 

src/a/n/ansible-HEAD/test/integration/cleanup_ec2.py   ansible(Download)
            aws_secret_access_key=opts.ec2_secret_key)
 
    elb = boto.connect_elb(aws_access_key_id=opts.ec2_access_key,
            aws_secret_access_key=opts.ec2_secret_key)
 

src/c/o/configuration-HEAD/playbooks/util/elb_reg.py   configuration(Download)
    args = parse_args()
 
    elb = boto.connect_elb()
    elbs = elb.get_all_load_balancers()
    active_lbs = sorted(

src/m/o/moto-HEAD/tests/test_elb/test_elb.py   moto(Download)
def test_create_load_balancer():
    conn = boto.connect_elb()
 
    zones = ['us-east-1a', 'us-east-1b']
    ports = [(80, 8080, 'http'), (443, 8443, 'tcp')]
def test_get_load_balancers_by_name():
    conn = boto.connect_elb()
 
    zones = ['us-east-1a', 'us-east-1b']
    ports = [(80, 8080, 'http'), (443, 8443, 'tcp')]
def test_delete_load_balancer():
    conn = boto.connect_elb()
 
    zones = ['us-east-1a']
    ports = [(80, 8080, 'http'), (443, 8443, 'tcp')]
def test_create_health_check():
    conn = boto.connect_elb()
 
    hc = HealthCheck(
        interval=20,
    instance_id2 = reservation.instances[1].id
 
    conn = boto.connect_elb()
    ports = [(80, 8080, 'http'), (443, 8443, 'tcp')]
    lb = conn.create_load_balancer('my-lb', [], ports)

src/m/o/moto-HEAD/tests/test_cloudformation/test_cloudformation_stack_integration.py   moto(Download)
    )
 
    elb_conn = boto.connect_elb()
    load_balancer = elb_conn.get_all_load_balancers()[0]
 
 
    # Confirm the ELB was actually created
    elb_conn = boto.connect_elb()
    elb_conn.get_all_load_balancers().should.have.length_of(1)
 

src/e/u/eutester-HEAD/eucaops/elbops.py   eutester(Download)
            self.debug(
                "Attempting to create load balancer connection to " + elb_region.endpoint + ':' + str(port) + path)
            self.elb = boto.connect_elb(**elb_connection_args)
        except Exception, e:
            self.critical("Was unable to create elb connection because of exception: " + str(e))

src/e/u/eutester-0.0.9/eucaops/elbops.py   eutester(Download)
            self.debug(
                "Attempting to create load balancer connection to " + elb_region.endpoint + ':' + str(port) + path)
            self.elb = boto.connect_elb(**elb_connection_args)
        except Exception, e:
            self.critical("Was unable to create elb connection because of exception: " + str(e))