【发布时间】:2019-10-22 16:57:29
【问题描述】:
我创建了一个应用程序,我在其中将用户从 aws lambda 函数添加到 Cognito,并将用户映射到一个组。
在 aws cognito 上创建用户时,我没有收到任何错误。 我已将 aws cognito 配置为在创建新用户时发送短信。
有些号码没有收到短信,但检查了它标记为已送达的日志。
请查看以下日志,确认消息已被用户接收但并未真正送达。
认知区域:美国西部(俄勒冈)
{
"notification": {
"messageId": "8e7158eb-64dd-53f6-82aa-xxxxxxxxxxxx", // I have replaced original id characters by x
"timestamp": "2019-06-04 16:18:29.681"
},
"delivery": {
"phoneCarrier": "AT&T",
"mnc": 180,
"destination": "+1310600xxxx", // I have replaced last 4 digit with x here to show code.
"priceInUSD": 0.00645,
"smsType": "Transactional",
"mcc": 311,
"providerResponse": "Message has been accepted by phone",
"dwellTimeMs": 381,
"dwellTimeMsUntilDeviceAck": 890698
},
"status": "SUCCESS"
}
AWS cognito MFA 和验证:
AWS cognito 消息自定义:
【问题讨论】:
标签: amazon-web-services aws-lambda amazon-cognito amazon-sns