I subscribed to daily SMS usage reports from Amazon Simple Notification Service (Amazon SNS). However, the reports didn't appear in the Amazon Simple Storage Service (Amazon S3) bucket that I created to receive the reports.
Resolution
Important: It takes 24 hours for an SMS usage report to be available in the Amazon S3 bucket that you created to receive the reports. If more than 24 hours have passed and the report still didn't appear in your Amazon S3 bucket, then follow these troubleshooting steps.
Verify that your S3 bucket policy has the required permissions
Review your S3 bucket policy to confirm that it allows Amazon SNS to perform the following actions:
Follow the instructions in the To create or edit a bucket policy section of Adding a bucket policy using the Amazon S3 console. For an example bucket policy that includes the required permissions, see Example bucket policy.
Verify that you subscribed to the correct S3 bucket to receive daily SMS usage reports
Follow the instructions in the To subscribe to daily usage reports section of Subscribing to daily usage reports. Confirm that the S3 bucket that you subscribed to is the same bucket that you verified has the required permissions to receive the reports.
Test the setup
Use Amazon SNS to send a test SMS message. Amazon SNS puts a CSV file with usage data in the following location after 24 hours if you configure your S3 bucket correctly:
your-s3-bucket/your-SMS-usage-report/your-AWS-region/YYYY/MM/DD/00.csv.gz
Note: Each file can contain up to 50,000 records. If the records for a day exceed this quota, then Amazon SNS adds multiple files. For an example daily usage report, see Example daily usage report.