Skip to content

Instantly share code, notes, and snippets.

@anna-geller
Created November 8, 2021 23:30
Show Gist options
  • Save anna-geller/fda460524b49b7dff71b53a6123eba12 to your computer and use it in GitHub Desktop.
Save anna-geller/fda460524b49b7dff71b53a6123eba12 to your computer and use it in GitHub Desktop.
import boto3
write_client = boto3.client("timestream-write")
rejected_records = write_client.write_records(
DatabaseName="demo", TableName="data", Records=records, CommonAttributes={}
)
print(rejected_records)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment