Removed unused exception.
This commit is contained in:
parent
1df4e8da2f
commit
947e26ce1b
@ -10,7 +10,7 @@ from six import string_types
|
||||
|
||||
from moto.iam.models import ACCOUNT_ID, Policy
|
||||
from moto.iam import iam_backend
|
||||
from moto.core.exceptions import SignatureDoesNotMatchError, AccessDeniedError, InvalidClientTokenIdError, InvalidAccessKeyIdError, AuthFailureError
|
||||
from moto.core.exceptions import SignatureDoesNotMatchError, AccessDeniedError, InvalidClientTokenIdError, AuthFailureError
|
||||
from moto.s3.exceptions import BucketAccessDeniedError, S3AccessDeniedError, BucketInvalidTokenError, S3InvalidTokenError, S3InvalidAccessKeyIdError, BucketInvalidAccessKeyIdError
|
||||
from moto.sts import sts_backend
|
||||
|
||||
|
@ -97,15 +97,6 @@ class AccessDeniedError(RESTError):
|
||||
))
|
||||
|
||||
|
||||
class InvalidAccessKeyIdError(RESTError):
|
||||
code = 400
|
||||
|
||||
def __init__(self):
|
||||
super(InvalidAccessKeyIdError, self).__init__(
|
||||
'InvalidAccessKeyId',
|
||||
"The AWS Access Key Id you provided does not exist in our records.")
|
||||
|
||||
|
||||
class AuthFailureError(RESTError):
|
||||
code = 400
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user