Extended SNS 403 Error Details

This commit is contained in:
Stephen Sennett 2022-12-31 14:03:10 +11:00
parent 3d07004f5e
commit d8692ba300

View File

@ -60,10 +60,9 @@ IS_REGION = re.compile(
# Extend HTTP Error Messages
AWS_HTTP_ERROR_MAP = {
403: 'Unauthorized - Invalid Access/Secret Key Combination.',
403: 'Unauthorized - Invalid Access/Secret Key Combination, or insufficient IAM Permissions [`sns:Publish`,`sns:CreateTopic`]',
}
class NotifySNS(NotifyBase):
"""
A wrapper for AWS SNS (Amazon Simple Notification)