Beispiel #1
0
 def _raise_invalid_access_key(self, _):
     if self._service == "ec2":
         raise AuthFailureError()
     else:
         raise InvalidClientTokenIdError()
Beispiel #2
0
 def _raise_signature_does_not_match(self):
     if self._service == "ec2":
         raise AuthFailureError()
     else:
         raise SignatureDoesNotMatchError()