![]() ![]() To see the delivery status of your SMS message, expand the log event and check providerResponse. ![]() On the Log streams tab, choose a particular log stream to view the SMS delivery logs.Ħ. Choose the SNS log group that you want to view.ĥ. "providerResponse": "Unknown error attempting to reach phone",Ĥ. The sns/your-AWS-region/your-AWS-account-ID/DirectPublishToPhoneNumber/Failure log group contains the failure delivery logs: sns/us-east-1/1111111111/DirectPublishToPhoneNumber/Failure "providerResponse": "Message has been accepted by phone carrier", The sns/your-AWS-region/your-AWS-account-ID/DirectPublishToPhoneNumber log group contains the successful delivery logs: sns/us-east-1/1111111111/DirectPublishToPhoneNumber Note: Depending on the destination phone number's carrier, it can take up to 72 hours for delivery logs to appear in the Amazon SNS console. In the Filter search box, enter DirectPublishToPhoneNumber to find only SMS log groups for Amazon SNS. On the navigation pane, expand Logs, and then choose Log groups.ģ. Now, an IAM role is created for successful and failed deliveries with the following policy and trust relationships for Amazon SNS. After returning to the Amazon SNS console, choose Save changes. On the IAM console permission request page, choose Allow.Ĩ. Note: If you already have an IAM role with the right permissions, then you can use that service role by selecting Use existing service role instead.ħ. The AWS Identity and Access Management (IAM) console opens. In the IAM roles section, for Service role, select Create new service role, and then choose Create new roles. Note: Success rate is the percentage of successful message deliveries to the log.Ħ. For Success sample rate, in the % text box, enter 100. Expand Delivery status logging - optional.ĥ. In the Text messaging preferences section, choose Edit.Ĥ. On the navigation pane, expand Mobile, and then choose Text messaging (SMS).ģ. Note: As an alternative to the following console steps, you can configure message delivery status using AWS SDKs or the AWS CLI.Ģ. Resolution Configure SMS delivery status attributes for Amazon CloudWatch Logs Note: If you receive errors when running AWS Command Line Interface (AWS CLI) commands, make sure that you’re using the most recent AWS CLI version. Amazon Simple Queue Service (Amazon SQS).Before you complete the following steps, confirm that you're using SNS endpoints with support for log delivery status of notification messages: ![]()
0 Comments
Leave a Reply. |