/usr/lib/python2.6/site-packages/boto/vpc
Edit: /usr/lib/python2.6/site-packages/boto/vpc/__init__.pyo (59401B)
P5Tc @ s d Z d d k l Z d d k l Z d d k l Z d d k l Z d d k l
Z
d d k l Z d d k
l Z d d k l Z l Z d d
k l Z d d k l Z d d k l Z d d
k l Z d d k l Z d d k l Z l Z d Z d Z d e f d YZ! d S( s-
Represents a connection to the EC2 service.
i( t
EC2Connection( t ResultSet( t VPC( t CustomerGateway( t
NetworkAcl( t
RouteTable( t InternetGateway( t
VpnGatewayt
Attachment( t DhcpOptions( t Subnet( t
VpnConnection( t VpcPeeringConnection( t
RegionData( t
RegionInfot get_regionsc K s t d d t S( s:
Get all available regions for the EC2 service.
You may pass any of the arguments accepted by the VPCConnection
object's constructor as keyword arguments and they will be
passed along to the VPCConnection object.
:rtype: list
:return: A list of :class:`boto.ec2.regioninfo.RegionInfo`
t ec2t connection_cls( R t
VPCConnection( t kw_params( ( s5 /usr/lib/python2.6/site-packages/boto/vpc/__init__.pyt regions* s
c K s9 x2 t | D]$ } | i | j o | i | Sq
Wd S( s
Given a valid region name, return a
:class:`boto.vpc.VPCConnection`.
Any additional parameters after the region_name are passed on to
the connect method of the region object.
:type: str
:param region_name: The name of the region to connect to.
:rtype: :class:`boto.vpc.VPCConnection` or ``None``
:return: A connection to the given region, or None if an invalid region
name is given
N( R t namet connectt None( t region_nameR t region( ( s5 /usr/lib/python2.6/site-packages/boto/vpc/__init__.pyt connect_to_region7 s
R c B s e Z d7 d7 e d Z d7 e d Z e d Z d7 d7 e d Z d7 d7 e d Z e d Z e d Z
e d Z e d Z e d Z
e d
Z e d Z d7 d7 d7 d7 e d Z d7 d7 d7 d7 e d
Z e d Z d7 d7 d Z d Z d7 d Z d Z d Z d7 d7 d7 d7 d7 d Z d7 d7 d7 d7 d7 d Z d7 d Z d7 d7 e d Z e d Z e d Z e d Z e d Z d7 d7 e d Z e d Z! e d Z" d7 d7 e d Z# d7 e d Z$ e d! Z% e d" Z&