amazon-timestream-tools icon indicating copy to clipboard operation
amazon-timestream-tools copied to clipboard

Add Sample Timestream Rust Application

Open forestmvey opened this issue 7 months ago • 0 comments

Add the AWS SDK for Rust sample applications

  • The sample_apps/rust directory has been created with sample applications demonstrating common uses of the AWS SDK for Rust.

  • The following sample applications have been added:

    • The ingestion_csv_sample application allows users to ingest sample CSV data into Timestream for LiveAnalytics.
    • The query_sample application allows users to execute queries, varying from basic to complex.
    • The cleanup_sample application allows users to delete Timestream for LiveAnalytics resources.
  • A README has been added to guide users through using the sample applications.

How to test: Execute the following under the amazon-timestream-tools/sample_apps/rust directory.

  • cargo run --example ingestion_csv_sample
    • Note - This will create a database and table in us-east-1, and ingest ~63K records.
    • To use a different region - cargo run --example ingestion_csv_sample -- --region=us-west-2
  • cargo run --example query_sample
    • Note - This will query the newly created table and records
  • cargo run --example cleanup_sample
    • Note - This will delete the database and table

forestmvey avatar Jul 25 '24 17:07 forestmvey