Skip to content

Instantly share code, notes, and snippets.

@fndiaz
Created September 27, 2018 20:27
Show Gist options
  • Save fndiaz/7b192da19becd9404327835ff329c43b to your computer and use it in GitHub Desktop.
Save fndiaz/7b192da19becd9404327835ff329c43b to your computer and use it in GitHub Desktop.
Connector Firehose Python
import boto3
client = boto3.client('firehose', region_name='us-east-1')
response = client.put_record(
DeliveryStreamName='FIREHOSE_NAME',
Record={
'Data': '{"datetime": "2018-09-09T18:51:27", "msg": "testepython", "status": "OK"}'
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment