aws-sns-verify
Safe HaskellNone
LanguageHaskell2010

Amazon.SNS.Verify.Validate

Synopsis

Documentation

validateSnsMessage :: MonadIO m => SNSPayload -> m (Either SNSNotificationValidationError ValidSNSMessage) Source #

Validate SNS notification

SNS messages are validated through their signature. The algorithm is detailed in the documentation below.

https://docs.aws.amazon.com/sns/latest/dg/sns-verify-signature-of-message.html