How do I resolve HTTP 400 “AccessDeniedException” errors from Amazon SNS?
"When my Amazon Simple Notification Service (Amazon SNS) topic tries to publish messages to another AWS resource, I get an HTTP 400 "AccessDeniedException" error. How do I resolve the error?"
"When my Amazon Simple Notification Service (Amazon SNS) topic tries to publish messages to another AWS resource, I get an HTTP 400 "AccessDeniedException" error. How do I resolve the error?Resolution1.    Update your resource's AWS Identity and Access Management (IAM) resource-based policy to allow Amazon SNS access to the resource. For more information, see Editing IAM policies in the AWS IAM user guide.2.    Verify that your resource's IAM resource-based policy doesn’t include any Deny statements that explicitly deny your Amazon SNS topic access to the resource.Note: AWS Lambda function IAM resource-based policies don't include the option to add an explicit deny statement.Related informationAccess management for AWS resourcesAmazon SNS event destinationsFollow"