Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi there,
Has anyone published messages to AWS SNS using a connector or executing a powershell command?
If so, how did you do it?
Thanks
For reference for anyone using this in future,
I created a CSV output of errors and scheduled the following PowerShell for AWS script.
Thanks
N.B the csv had two columns named subject and message, please replace the path with the directory from which your error CSV file is stored
////////////
$errorcsv = import-csv 'D:\Test\Qlik App Data\Data Sync\errors.csv'
foreach($row in $errorcsv)
{
$field1 = $row.subject
$field2 = $row.message
Publish-SNSMessage -TopicArn arn:aws:sns:us-west-2:9222EXAMPLE:Error_Notification -Message "Test" -Region us-west-2
Echo "$field1, $field2"
}