Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(238)

Side by Side Diff: boto/ec2/elb/__init__.py

Issue 8669001: Pull in upstream boto from github at bcb719937de9ac2851e632d62b777352029a6d55 (Closed) Base URL: svn://svn.chromium.org/boto
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « boto/ec2/connection.py ('k') | boto/ec2/elb/loadbalancer.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2006-2011 Mitch Garnaat http://garnaat.org/ 1 # Copyright (c) 2006-2011 Mitch Garnaat http://garnaat.org/
2 # 2 #
3 # Permission is hereby granted, free of charge, to any person obtaining a 3 # Permission is hereby granted, free of charge, to any person obtaining a
4 # copy of this software and associated documentation files (the 4 # copy of this software and associated documentation files (the
5 # "Software"), to deal in the Software without restriction, including 5 # "Software"), to deal in the Software without restriction, including
6 # without limitation the rights to use, copy, modify, merge, publish, dis- 6 # without limitation the rights to use, copy, modify, merge, publish, dis-
7 # tribute, sublicense, and/or sell copies of the Software, and to permit 7 # tribute, sublicense, and/or sell copies of the Software, and to permit
8 # persons to whom the Software is furnished to do so, subject to the fol- 8 # persons to whom the Software is furnished to do so, subject to the fol-
9 # lowing conditions: 9 # lowing conditions:
10 # 10 #
(...skipping 16 matching lines...) Expand all
27 from boto.ec2.instanceinfo import InstanceInfo 27 from boto.ec2.instanceinfo import InstanceInfo
28 from boto.ec2.elb.loadbalancer import LoadBalancer 28 from boto.ec2.elb.loadbalancer import LoadBalancer
29 from boto.ec2.elb.instancestate import InstanceState 29 from boto.ec2.elb.instancestate import InstanceState
30 from boto.ec2.elb.healthcheck import HealthCheck 30 from boto.ec2.elb.healthcheck import HealthCheck
31 from boto.regioninfo import RegionInfo 31 from boto.regioninfo import RegionInfo
32 import boto 32 import boto
33 33
34 RegionData = { 34 RegionData = {
35 'us-east-1' : 'elasticloadbalancing.us-east-1.amazonaws.com', 35 'us-east-1' : 'elasticloadbalancing.us-east-1.amazonaws.com',
36 'us-west-1' : 'elasticloadbalancing.us-west-1.amazonaws.com', 36 'us-west-1' : 'elasticloadbalancing.us-west-1.amazonaws.com',
37 'us-west-2' : 'elasticloadbalancing.us-west-2.amazonaws.com',
37 'eu-west-1' : 'elasticloadbalancing.eu-west-1.amazonaws.com', 38 'eu-west-1' : 'elasticloadbalancing.eu-west-1.amazonaws.com',
38 'ap-northeast-1' : 'elasticloadbalancing.ap-northeast-1.amazonaws.com', 39 'ap-northeast-1' : 'elasticloadbalancing.ap-northeast-1.amazonaws.com',
39 'ap-southeast-1' : 'elasticloadbalancing.ap-southeast-1.amazonaws.com'} 40 'ap-southeast-1' : 'elasticloadbalancing.ap-southeast-1.amazonaws.com'}
40 41
41 def regions(): 42 def regions():
42 """ 43 """
43 Get all available regions for the SDB service. 44 Get all available regions for the SDB service.
44 45
45 :rtype: list 46 :rtype: list
46 :return: A list of :class:`boto.RegionInfo` instances 47 :return: A list of :class:`boto.RegionInfo` instances
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
433 with a listener. 434 with a listener.
434 """ 435 """
435 params = { 436 params = {
436 'LoadBalancerName' : lb_name, 437 'LoadBalancerName' : lb_name,
437 'LoadBalancerPort' : lb_port, 438 'LoadBalancerPort' : lb_port,
438 } 439 }
439 self.build_list_params(params, policies, 'PolicyNames.member.%d') 440 self.build_list_params(params, policies, 'PolicyNames.member.%d')
440 return self.get_status('SetLoadBalancerPoliciesOfListener', params) 441 return self.get_status('SetLoadBalancerPoliciesOfListener', params)
441 442
442 443
OLDNEW
« no previous file with comments | « boto/ec2/connection.py ('k') | boto/ec2/elb/loadbalancer.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698