aws-sns-verify-0.0.0.2: Parse and verify AWS SNS messages
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