summaryrefslogtreecommitdiff
path: root/boto/ec2/connection.py
diff options
context:
space:
mode:
authorDaniel G. Taylor <danielgtaylor@gmail.com>2014-07-01 14:38:40 -0700
committerDaniel G. Taylor <danielgtaylor@gmail.com>2014-07-01 14:38:40 -0700
commit34e0dcfaa778ee469ca08ae487a0bd4021a8e0da (patch)
tree7d541482d51480dcbec2ae7fde076fb46cae8bc2 /boto/ec2/connection.py
parent5a6fab80b2021c588388f8819a3332454b02fe46 (diff)
parent04e68caf661baa7b5db7471065a764f1dfd6d009 (diff)
downloadboto-2.30.0.tar.gz
Merge branch 'release-2.30.0'2.30.0
Diffstat (limited to 'boto/ec2/connection.py')
-rw-r--r--boto/ec2/connection.py13
1 files changed, 12 insertions, 1 deletions
diff --git a/boto/ec2/connection.py b/boto/ec2/connection.py
index 36db8aab..6cb108f9 100644
--- a/boto/ec2/connection.py
+++ b/boto/ec2/connection.py
@@ -798,6 +798,9 @@ class EC2Connection(AWSQueryConnection):
* i2.2xlarge
* i2.4xlarge
* i2.8xlarge
+ * t2.micro
+ * t2.small
+ * t2.medium
:type placement: string
:param placement: The Availability Zone to launch the instance into.
@@ -1493,6 +1496,9 @@ class EC2Connection(AWSQueryConnection):
* i2.2xlarge
* i2.4xlarge
* i2.8xlarge
+ * t2.micro
+ * t2.small
+ * t2.medium
:type placement: string
:param placement: The availability zone in which to launch
@@ -4213,11 +4219,14 @@ class EC2Connection(AWSQueryConnection):
# Network Interface methods
- def get_all_network_interfaces(self, filters=None, dry_run=False):
+ def get_all_network_interfaces(self, network_interface_ids=None, filters=None, dry_run=False):
"""
Retrieve all of the Elastic Network Interfaces (ENI's)
associated with your account.
+ :type network_interface_ids: list
+ :param network_interface_ids: a list of strings representing ENI IDs
+
:type filters: dict
:param filters: Optional filters that can be used to limit
the results returned. Filters are provided
@@ -4235,6 +4244,8 @@ class EC2Connection(AWSQueryConnection):
:return: A list of :class:`boto.ec2.networkinterface.NetworkInterface`
"""
params = {}
+ if network_interface_ids:
+ self.build_list_params(params, network_interface_ids, 'NetworkInterfaceId')
if filters:
self.build_filter_params(params, filters)
if dry_run: