Add ec2 filtering by instance state

This commit is contained in:
Steve Pulec 2013-07-08 21:18:05 -04:00
commit 257ca9f771
5 changed files with 98 additions and 4 deletions

4
moto/ec2/exceptions.py Normal file
View file

@ -0,0 +1,4 @@
class InvalidIdError(RuntimeError):
def __init__(self, instance_id):
super(InvalidIdError, self).__init__()
self.instance_id = instance_id