Amazon Timestream for LiveAnalytics will no longer be open to new customers starting June 20, 2025. If you would like to use Amazon Timestream for LiveAnalytics, sign up prior to that date. Existing customers can continue to use the service as normal. For more information, see Amazon Timestream for LiveAnalytics availability change.
Sample application
Timestream ships with a fully functional sample application that shows how to create a database and table, populate the table with ~126K rows of sample data, and run sample queries. Follow the steps below to get started with the sample application in any of the supported languages:
- Java
-
-
Clone the GitHub repository Timestream for LiveAnalytics sample applications
following the instructions from GitHub . -
Configure the AWS SDK to connect to Timestream for LiveAnalytics following the instructions described in Getting Started with Java.
-
Run the Java sample application
following the instructions described here
-
- Java v2
-
-
Clone the GitHub repository Timestream for LiveAnalytics sample applications
following the instructions from GitHub . -
Configure the AWS SDK to connect to Amazon Timestream for LiveAnalytics following the instructions described in Getting Started with Java v2.
-
Run the Java 2.0 sample application
following the instructions described here
-
- Go
-
Clone the GitHub repository Timestream for LiveAnalytics sample applications
following the instructions from GitHub . -
Configure the AWS SDK to connect to Amazon Timestream for LiveAnalytics following the instructions described in Getting Started with Go.
-
Run the Go sample application
following the instructions described here
-
- Python
-
-
Clone the GitHub repository Timestream for LiveAnalytics sample applications
following the instructions from GitHub . -
Configure the AWS SDK to connect to Amazon Timestream for LiveAnalytics following the instructions described in Python.
-
Run the Python sample application
following the instructions described here
-
- Node.js
-
-
Clone the GitHub repository Timestream for LiveAnalytics sample applications
following the instructions from GitHub . -
Configure the AWS SDK to connect to Amazon Timestream for LiveAnalytics following the instructions described in Getting Started with Node.js.
-
Run the Node.js sample application
following the instructions described here
-
- .NET
-
-
Clone the GitHub repository Timestream for LiveAnalytics sample applications
following the instructions from GitHub . -
Configure the AWS SDK to connect to Amazon Timestream for LiveAnalytics following the instructions described in Getting Started with .NET.
-
Run the .NET sample application
following the instructions described here
-