Monitoring SMS, MMS, and voice with EventBridge - AWS End User Messaging SMS

Monitoring SMS, MMS, and voice with EventBridge

AWS End User Messaging SMS sends events to EventBridge for SMS, MMS, and voice events. You can use EventBridge to write rules that take actions, such as notifying you, when specific event types are received. For more information, see What is Amazon EventBridge?

The detail section resembles the Example event data.

Event for a delivered SMS message

{ "version": "0", "id": "15226fe5-c283-a862-e5e5-0a29ad450fd9", "detail-type": "Text Message Delivery Status Updated", "source": "aws.sms-voice", "account": "123456789123", "time": "2024-10-16T17:21:40Z", "region": "eu-west-2", "resources": [], "detail": { "eventType": "TEXT_DELIVERED", "eventVersion": "1.0", "eventTimestamp": 1729099299998, "isFinal": true, "originationPhoneNumber": "+18445550123", "isoCountryCode": "US", "mcc": "310", "mnc": "800", "carrierName": "T-mobile USA Inc.", "messageId": "9539975a-e71f-45f3-b496-8d98dc098a77", "messageRequestTimestamp": 1729099297243, "messageEncoding": "GSM", "messageType": "PROMOTIONAL", "messageStatus": "DELIVERED", "messageStatusDescription": "Message has been accepted by phone", "totalMessageParts": 1, "totalMessagePrice": 0.00581, "totalCarrierFee": 0.003 } }

Event for a sent SMS message

{ "version": "0", "id": "4111946b-816c-e73a-9ea0-a8367b9d57e4", "detail-type": "Text Message Delivery Status Updated", "source": "aws.sms-voice", "account": "123456789123", "time": "2024-10-16T17:20:24Z", "region": "eu-west-2", "resources": [], "detail": { "eventType": "TEXT_SUCCESSFUL", "eventVersion": "1.0", "eventTimestamp": 1729099224788, "isFinal": true, "originationPhoneNumber": "+18445550123", "isoCountryCode": "US", "messageId": "9539975a-e71f-45f3-b496-8d98dc098a77", "messageRequestTimestamp": 1729099224438, "messageEncoding": "GSM", "messageType": "PROMOTIONAL", "messageStatus": "SUCCESSFUL", "messageStatusDescription": "Message has been accepted by phone carrier", "totalMessageParts": 1, "totalMessagePrice": 0.00581, "totalCarrierFee": 0.00302 } }

Event for a sent voice message

{ "version": "0", "id": "3bd18839-b5b4-79c5-1b18-bd6545f40566", "detail-type": "Voice Message Delivery Status Updated", "source": "aws.sms-voice", "account": "123456789123", "time": "2024-10-16T17:18:50Z", "region": "eu-west-2", "resources": [], "detail": { "eventType": "VOICE_INITIATED", "eventVersion": "1.0", "eventTimestamp": 1729099130226, "isFinal": false, "originationPhoneNumber": "+18445550123", "isoCountryCode": "US", "messageId": "1d2295bd-ac9b-4517-821f-7c6d95d789a1", "messageRequestTimestamp": 1729099129845, "messageStatus": "INITIATED" } }