Add scaffolding for Glue service, including create_database and get_database for the Glue Data Catalog

This commit is contained in:
TheDooner64 2018-07-10 13:50:47 -04:00
commit 77f0a61c9f
10 changed files with 111 additions and 4 deletions

9
moto/glue/exceptions.py Normal file
View file

@ -0,0 +1,9 @@
from __future__ import unicode_literals
from moto.core.exceptions import RESTError
class GlueClientError(RESTError):
def __init__(self, *args, **kwargs):
kwargs.setdefault('template', 'single_error')
super(GlueClientError, self).__init__(*args, **kwargs)