opsworks: implement create_stack
This commit is contained in:
parent
100ec4e7c8
commit
165bab0f97
9 changed files with 299 additions and 0 deletions
14
moto/opsworks/exceptions.py
Normal file
14
moto/opsworks/exceptions.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
import json
|
||||
from werkzeug.exceptions import BadRequest
|
||||
|
||||
|
||||
class ResourceNotFoundException(BadRequest):
|
||||
def __init__(self, message):
|
||||
super(ResourceNotFoundError, self).__init__()
|
||||
self.description = json.dumps({
|
||||
"message": message,
|
||||
'__type': 'ResourceNotFoundException',
|
||||
})
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue