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:
parent
ea319698aa
commit
1aaafc5f07
5 changed files with 427 additions and 19 deletions
12
moto/apigateway/exceptions.py
Normal file
12
moto/apigateway/exceptions.py
Normal 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")
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue