Skip to content

Instantly share code, notes, and snippets.

@badmetacoder
Last active August 17, 2017 14:11
Show Gist options
  • Save badmetacoder/4369098 to your computer and use it in GitHub Desktop.
Save badmetacoder/4369098 to your computer and use it in GitHub Desktop.
curl -X POST 'https://api.datasift.com/push/create' \
-d 'name=connectorawssqs' \
-d 'hash=SourceStreamHash' \
-d 'output_type=sqs' \
-d 'output_params.format=json_new_line' \
-d 'output_params.queue=DataSift' \
-d 'output_params.auth.access_key=YourAmazonAWSAccessKey' \
-d 'output_params.auth.secret_key=YourAmazonAWSSecretKey' \
-d 'output_params.delivery_frequency=60' \
-d 'output_params.max_size=102400' \
-H 'Authorization: datasift-user:your-datasift-api-key'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment