Skip to content

Instantly share code, notes, and snippets.

@DrishtiJ
Created February 21, 2023 11:35
AWS-Kinesis
import boto3
kinesis = boto3.client('kinesis')
response = kinesis.create_stream(
StreamName='new-stream',
ShardCount=1
)
putData = kinesis.put_record(
StreamName='new-stream',
Data='Hello world',
PartitionKey='partitionKey'
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment