added more api gateway coverage

added: get_stages, stage not found exception, update stage configuration, descriptions on deployments, setting stage variables on deployments and stage creating
This commit is contained in:
dominictootell 2016-09-13 12:44:17 +01:00
commit 1aaafc5f07
5 changed files with 427 additions and 19 deletions

View file

@ -0,0 +1,12 @@
from __future__ import unicode_literals
from moto.core.exceptions import RESTError
class StageNonFoundException(RESTError):
code = 404
def __init__(self):
super(StageNonFoundException, self).__init__(
"NonFoundException", "Invalid stage identifier specified")