* Added support for EMR Security Configurations and Kerberos Attributes.
* Revised exception-raising test to work with pytest api.
* Added htmlcov to .gitignore; upgrading botocore to 1.18.17, per commit d29475e
.
Co-authored-by: Joseph Weitekamp <jweite@amazon.com>
15 lines
356 B
Python
15 lines
356 B
Python
from __future__ import unicode_literals
|
|
|
|
from moto.core.exceptions import RESTError, JsonRESTError
|
|
|
|
|
|
class EmrError(RESTError):
|
|
code = 400
|
|
|
|
|
|
class InvalidRequestException(JsonRESTError):
|
|
def __init__(self, message, **kwargs):
|
|
super(InvalidRequestException, self).__init__(
|
|
"InvalidRequestException", message, **kwargs
|
|
)
|