Created
September 27, 2018 20:27
-
-
Save fndiaz/7b192da19becd9404327835ff329c43b to your computer and use it in GitHub Desktop.
Connector Firehose Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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