opsworks: impl create_layers; describe_layers
This commit is contained in:
parent
165bab0f97
commit
2fe5b77861
5 changed files with 266 additions and 18 deletions
|
|
@ -6,9 +6,17 @@ from werkzeug.exceptions import BadRequest
|
|||
|
||||
class ResourceNotFoundException(BadRequest):
|
||||
def __init__(self, message):
|
||||
super(ResourceNotFoundError, self).__init__()
|
||||
super(ResourceNotFoundException, self).__init__()
|
||||
self.description = json.dumps({
|
||||
"message": message,
|
||||
'__type': 'ResourceNotFoundException',
|
||||
})
|
||||
|
||||
|
||||
class ValidationException(BadRequest):
|
||||
def __init__(self, message):
|
||||
super(ValidationException, self).__init__()
|
||||
self.description = json.dumps({
|
||||
"message": message,
|
||||
'__type': 'ResourceNotFoundException',
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue