- DarkLight
Key Points
- DarkLight
Amazon Pinpoint expects you to specify phone numbers in E.164 format. For example, +16095248795.
Two types of Messages—If you plan to send time-sensitive content, specify TRANSACTIONAL. If you plan to send marketing-related content, specify PROMOTIONAL.
Please go-through the following link for SMS limitation in AWS pinpoint https://docs.aws.amazon.com/pinpoint/latest/userguide/channels-sms-limitations.html
We need to add permission of GetRecords, GetShardIterator, DescribeStream, ListStream, ListRecords to Role mapped with lambda script project.
Ensure that the ARN of the Kinesis data stream is also added to the lambda script.
Delivery Statuses
S. No. | Event Status | Description |
---|---|---|
1 | SUCCESSFUL | The message was accepted by the carrier. |
2 | DELIVERED | The message was delivered to the recipient's device. |
3 | PENDING | The message hasn't yet been delivered to the recipient's device. |
4 | INVALID | The Destination phone number is invalid. |
5 | UNREACHABLE | The recipient's device is currently unreachable or unavailable. For example, the device might be powered off, or might be disconnected from the network. You can try to send the message again later. |
6 | UNKNOWN | An error occurred that prevented the delivery of the message. This error is usually transient, and you can attempt to send the message again later. |
7 | BLOCKED | The recipient's device is blocking SMS messages from the origination number. |
8 | CARRIER_UNREACHABLE | An issue with the mobile network of the recipient prevented the message from being delivered. This error is usually transient, and you can attempt to send the message again later. |
8 | SPAM | The recipient's mobile carrier identified the contents of the message as spam and blocked delivery of the message. |
9 | INVALID_MESSAGE | The body of the SMS message is invalid and can't be delivered. |
10 | CARRIER_BLOCKED | The recipient's carrier has blocked delivery of this message. This often occurs when the carrier identifies the contents of the message as unsolicited or malicious. |
11 | TTL_EXPIRED | The SMS message couldn't be delivered within a certain time frame. This error is usually transient, and you can attempt to send the message again later. |