I'm working on a code that sends text messages from an ATM when they go over £200, however, when i run the code i get the error
botocore.exceptions.ParamValidationError: Parameter validation failed: Unknown parameter in input: "PhoneNumber", must be one of: TopicArn, TargetArn, Message, Subject, MessageStructure, MessageAttributes
my code is:
import boto3
client = boto3.client('sns','eu-west-1')
client.publish(PhoneNumber='+44XXXXXXXXXX', Message= 'Hello')
Where the X's reference a phone number