<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Send Publish to AWS SNS via Script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Send-Publish-to-AWS-SNS-via-Script/m-p/92555#M6149</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone published messages to AWS SNS using a connector or executing a powershell command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, how did you do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Oct 2018 17:33:14 GMT</pubDate>
    <dc:creator>cmorri1988</dc:creator>
    <dc:date>2018-10-30T17:33:14Z</dc:date>
    <item>
      <title>Send Publish to AWS SNS via Script</title>
      <link>https://community.qlik.com/t5/App-Development/Send-Publish-to-AWS-SNS-via-Script/m-p/92555#M6149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone published messages to AWS SNS using a connector or executing a powershell command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If so, how did you do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Oct 2018 17:33:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Send-Publish-to-AWS-SNS-via-Script/m-p/92555#M6149</guid>
      <dc:creator>cmorri1988</dc:creator>
      <dc:date>2018-10-30T17:33:14Z</dc:date>
    </item>
    <item>
      <title>Re: Send Publish to AWS SNS via Script</title>
      <link>https://community.qlik.com/t5/App-Development/Send-Publish-to-AWS-SNS-via-Script/m-p/92556#M6150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For reference for anyone using this in future,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a CSV output of errors and scheduled the following PowerShell for AWS script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&lt;/P&gt;&lt;P&gt;////////////&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$errorcsv = import-csv 'D:\Test\Qlik App Data\Data Sync\errors.csv'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;foreach($row in $errorcsv)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; {&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $field1 = $row.subject&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $field2 = $row.message&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Publish-SNSMessage -TopicArn arn:aws:sns:us-west-2:9222EXAMPLE:Error_Notification -Message "Test" -Region us-west-2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Echo "$field1, $field2"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 10:14:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Send-Publish-to-AWS-SNS-via-Script/m-p/92556#M6150</guid>
      <dc:creator>cmorri1988</dc:creator>
      <dc:date>2018-11-06T10:14:15Z</dc:date>
    </item>
  </channel>
</rss>

