botocore.exceptions.ParamValidationError:参数验证失败:输入中的未知参数:“ PhoneNumber”,必须为以下之一:TopicArn,TargetArn,消息,主题,MessageStructure,MessageAttributes
我的代码是:
import boto3
client = boto3.client('sns','eu-west-1')
client.publish(PhoneNumber='+44XXXXXXXXXX', Message= 'Hello')
X在哪里引用电话号码