Timestream Write

Implementation details for API timestream-write

Coverage Overview

Timestream Write is supported by LocalStack only in the pro image.

AvailabilityTesting*
OperationImplementedImageInternal Test SuiteExternal Test SuiteTerraform ValidatedAWS ValidatedSnapshot TestedDetails
CreateBatchLoadTask
CreateDatabase✔️pro✔️✔️✔️✔️Show Tests
CreateTable✔️pro✔️✔️✔️✔️Show Tests
DeleteDatabase✔️pro✔️✔️✔️✔️Show Tests
DeleteTable✔️pro✔️✔️✔️✔️Show Tests
DescribeBatchLoadTask
DescribeDatabase✔️pro✔️✔️✔️Show Tests
DescribeEndpoints✔️pro
DescribeTable✔️pro
ListBatchLoadTasks
ListDatabases✔️pro✔️✔️✔️Show Tests
ListTables✔️pro✔️✔️✔️Show Tests
ListTagsForResource✔️pro
ResumeBatchLoadTask
TagResource✔️pro
UntagResource✔️pro
UpdateDatabase
UpdateTable
WriteRecords✔️pro✔️✔️✔️Show Tests

Terminology

  • Internal Test Suite: tested by LocalStack's internal integration test suite
  • External Test Suite: covered by an external integration test suite, that runs against LocalStack
  • Terraform Validated: operation tested with Terraform
  • AWS Validated: the integration test that includes this operation call was validated against AWS
  • Snapshot Tested: the operation is part of a snapshot parity test, which verifies the responses by LocalStack and AWS are the same

Testing Details

This section gives an overview about the internal integration test suite and the specific test cases that recorded the API call.

How to read the test details?

For each operation we put up a list of the related integration test cases.
Those operation calls have been recorded during the exeuction of the outlined test cases. Some calls might be internal, i.e., they are not explicitly called in the test, but are triggered implicitly by the LocalStack framework.

  • Parameters: The tests are ordered by the parameters used, which are highlighted in bold.
  • Test Details: LocalStack Community or LocalStack Pro indicates where the test originates. For each test you see:
    • test name
    • status code returned (which is the expected one for the test case)
    • information about validation:
      • AWS validated the test is validated against AWS, meaning it run successfully against real AWS as well
      • Snapshot Tested this is a snapshot parity test, meaning the responses are validated against AWS


CreateDatabase

Parameters: DatabaseName
  • LocalStack Pro
    • test_create_db_tables LocalStack Pro: tests/aws/services/cloudformation/resources/test_timestream.py::test_create_db_tables HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[DB_TEST-MY_TABLE_NAME] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[DB_TEST-MY_TABLE_NAME] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[db-{short_uid}-table{short_uid}] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[db-{short_uid}-table{short_uid}] HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: DatabaseName, Tags
  • LocalStack Pro
    • test_describe_endpoints LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_describe_endpoints HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_tags_for_resource LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_list_tags_for_resource HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_insert_different_data_types LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_insert_different_data_types HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_interpolation_function[False] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_interpolation_function[False] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_interpolation_function[True] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_interpolation_function[True] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multi_records LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_multi_records HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_query_pagination LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_query_pagination HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sum_by_reference LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_sum_by_reference HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_unnest_function LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_unnest_function HTTP Status Code: 200 AWS validated Snapshot Tested

CreateTable

Parameters: DatabaseName, TableName
  • LocalStack Pro
    • test_create_db_tables LocalStack Pro: tests/aws/services/cloudformation/resources/test_timestream.py::test_create_db_tables HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[DB_TEST-MY_TABLE_NAME] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[DB_TEST-MY_TABLE_NAME] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[db-{short_uid}-table{short_uid}] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[db-{short_uid}-table{short_uid}] HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: DatabaseName, TableName, Tags
  • LocalStack Pro
    • test_describe_endpoints LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_describe_endpoints HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_tags_for_resource LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_list_tags_for_resource HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_insert_different_data_types LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_insert_different_data_types HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_interpolation_function[False] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_interpolation_function[False] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_interpolation_function[True] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_interpolation_function[True] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multi_records LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_multi_records HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_query_pagination LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_query_pagination HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sum_by_reference LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_sum_by_reference HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_unnest_function LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_unnest_function HTTP Status Code: 200 AWS validated Snapshot Tested

DeleteDatabase

Parameters: DatabaseName
  • LocalStack Pro
    • test_create_db_tables LocalStack Pro: tests/aws/services/cloudformation/resources/test_timestream.py::test_create_db_tables HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_describe_endpoints LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_describe_endpoints HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_tags_for_resource LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_list_tags_for_resource HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_insert_different_data_types LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_insert_different_data_types HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_interpolation_function[False] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_interpolation_function[False] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_interpolation_function[True] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_interpolation_function[True] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multi_records LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_multi_records HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_query_pagination LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_query_pagination HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sum_by_reference LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_sum_by_reference HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[DB_TEST-MY_TABLE_NAME] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[DB_TEST-MY_TABLE_NAME] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[db-{short_uid}-table{short_uid}] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[db-{short_uid}-table{short_uid}] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_unnest_function LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_unnest_function HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_describe_endpoints LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_describe_endpoints HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

DeleteTable

Parameters: DatabaseName, TableName
  • LocalStack Pro
    • test_describe_endpoints LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_describe_endpoints HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_tags_for_resource LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_list_tags_for_resource HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_insert_different_data_types LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_insert_different_data_types HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_interpolation_function[False] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_interpolation_function[False] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_interpolation_function[True] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_interpolation_function[True] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_multi_records LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_multi_records HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_query_pagination LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_query_pagination HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sum_by_reference LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_sum_by_reference HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_unnest_function LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_unnest_function HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_create_db_tables LocalStack Pro: tests/aws/services/cloudformation/resources/test_timestream.py::test_create_db_tables HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested
    • test_describe_endpoints LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_describe_endpoints HTTP Status Code: 400 (ResourceNotFoundException) AWS validated Snapshot Tested

DescribeDatabase

Parameters: DatabaseName
  • LocalStack Pro
    • test_create_db_tables LocalStack Pro: tests/aws/services/cloudformation/resources/test_timestream.py::test_create_db_tables HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_list_tags_for_resource LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_list_tags_for_resource HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[DB_TEST-MY_TABLE_NAME] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[DB_TEST-MY_TABLE_NAME] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[db-{short_uid}-table{short_uid}] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[db-{short_uid}-table{short_uid}] HTTP Status Code: 200 AWS validated Snapshot Tested

ListDatabases

Parameters: - (without any parameters)
  • LocalStack Pro
    • test_timestream_query[DB_TEST-MY_TABLE_NAME] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[DB_TEST-MY_TABLE_NAME] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[db-{short_uid}-table{short_uid}] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[db-{short_uid}-table{short_uid}] HTTP Status Code: 200 AWS validated Snapshot Tested

ListTables

Parameters: DatabaseName
  • LocalStack Pro
    • test_create_db_tables LocalStack Pro: tests/aws/services/cloudformation/resources/test_timestream.py::test_create_db_tables HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[DB_TEST-MY_TABLE_NAME] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[DB_TEST-MY_TABLE_NAME] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[db-{short_uid}-table{short_uid}] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[db-{short_uid}-table{short_uid}] HTTP Status Code: 200 AWS validated Snapshot Tested

WriteRecords

Parameters: CommonAttributes, DatabaseName, Records, TableName
  • LocalStack Pro
    • test_describe_endpoints LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamBasic::test_describe_endpoints HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_insert_different_data_types LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_insert_different_data_types HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_interpolation_function[False] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_interpolation_function[False] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_interpolation_function[True] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_interpolation_function[True] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_query_pagination LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_query_pagination HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[DB_TEST-MY_TABLE_NAME] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[DB_TEST-MY_TABLE_NAME] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_timestream_query[db-{short_uid}-table{short_uid}] LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_timestream_query[db-{short_uid}-table{short_uid}] HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_unnest_function LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_unnest_function HTTP Status Code: 200 AWS validated Snapshot Tested
Parameters: DatabaseName, Records, TableName
  • LocalStack Pro
    • test_multi_records LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_multi_records HTTP Status Code: 200 AWS validated Snapshot Tested
    • test_sum_by_reference LocalStack Pro: tests/aws/services/timestream/test_timestream.py::TestTimestreamQueries::test_sum_by_reference HTTP Status Code: 200 AWS validated Snapshot Tested


Last modified March 20, 2023: improve Coverage Docs (#505) (46f2fb0c0)