Class: AWS.TimestreamWrite
- Inherits:
-
AWS.Service
- Object
- AWS.Service
- AWS.TimestreamWrite
- Identifier:
- timestreamwrite
- API Version:
- 2018-11-01
- Defined in:
- (unknown)
Overview
Constructs a service interface object. Each API operation is exposed as a function on service.
Service Description
Amazon Timestream is a fast, scalable, fully managed time-series database service that makes it easy to store and analyze trillions of time-series data points per day. With Timestream, you can easily store and analyze IoT sensor data to derive insights from your IoT applications. You can analyze industrial telemetry to streamline equipment management and maintenance. You can also store and analyze log data and metrics to improve the performance and availability of your applications.
Timestream is built from the ground up to effectively ingest, process, and store time-series data. It organizes data to optimize query processing. It automatically scales based on the volume of data ingested and on the query volume to ensure you receive optimal performance while inserting and querying data. As your data grows over time, Timestream’s adaptive query processing engine spans across storage tiers to provide fast analysis while reducing costs.
Sending a Request Using TimestreamWrite
var timestreamwrite = new AWS.TimestreamWrite();
timestreamwrite.createBatchLoadTask(params, function (err, data) {
if (err) console.log(err, err.stack); // an error occurred
else console.log(data); // successful response
});
Locking the API Version
In order to ensure that the TimestreamWrite object uses this specific API, you can
construct the object by passing the apiVersion option to the constructor:
var timestreamwrite = new AWS.TimestreamWrite({apiVersion: '2018-11-01'});
You can also set the API version globally in AWS.config.apiVersions using
the timestreamwrite service identifier:
AWS.config.apiVersions = {
timestreamwrite: '2018-11-01',
// other service API versions
};
var timestreamwrite = new AWS.TimestreamWrite();
Constructor Summary collapse
-
new AWS.TimestreamWrite(options = {}) ⇒ Object
constructor
Constructs a service object.
Property Summary collapse
-
endpoint ⇒ AWS.Endpoint
readwrite
An Endpoint object representing the endpoint URL for service requests.
Properties inherited from AWS.Service
Method Summary collapse
-
createBatchLoadTask(params = {}, callback) ⇒ AWS.Request
Creates a new Timestream batch load task.
-
createDatabase(params = {}, callback) ⇒ AWS.Request
Creates a new Timestream database.
-
createTable(params = {}, callback) ⇒ AWS.Request
Adds a new table to an existing database in your account.
-
deleteDatabase(params = {}, callback) ⇒ AWS.Request
Deletes a given Timestream database.
-
deleteTable(params = {}, callback) ⇒ AWS.Request
Deletes a given Timestream table.
-
describeBatchLoadTask(params = {}, callback) ⇒ AWS.Request
Returns information about the batch load task, including configurations, mappings, progress, and other details.
-
describeDatabase(params = {}, callback) ⇒ AWS.Request
Returns information about the database, including the database name, time that the database was created, and the total number of tables found within the database.
-
describeEndpoints(params = {}, callback) ⇒ AWS.Request
Returns a list of available endpoints to make Timestream API calls against.
-
describeTable(params = {}, callback) ⇒ AWS.Request
Returns information about the table, including the table name, database name, retention duration of the memory store and the magnetic store.
-
listBatchLoadTasks(params = {}, callback) ⇒ AWS.Request
Provides a list of batch load tasks, along with the name, status, when the task is resumable until, and other details.
-
listDatabases(params = {}, callback) ⇒ AWS.Request
Returns a list of your Timestream databases.
-
listTables(params = {}, callback) ⇒ AWS.Request
Provides a list of tables, along with the name, status, and retention properties of each table.
-
listTagsForResource(params = {}, callback) ⇒ AWS.Request
Lists all tags on a Timestream resource.
-
resumeBatchLoadTask(params = {}, callback) ⇒ AWS.Request
.
-
tagResource(params = {}, callback) ⇒ AWS.Request
Associates a set of tags with a Timestream resource.
-
untagResource(params = {}, callback) ⇒ AWS.Request
Removes the association of tags from a Timestream resource.
-
updateDatabase(params = {}, callback) ⇒ AWS.Request
Modifies the KMS key for an existing database.
-
updateTable(params = {}, callback) ⇒ AWS.Request
Modifies the retention duration of the memory store and magnetic store for your Timestream table.
-
writeRecords(params = {}, callback) ⇒ AWS.Request
Enables you to write your time-series data into Timestream.
Methods inherited from AWS.Service
makeRequest, makeUnauthenticatedRequest, waitFor, setupRequestListeners, defineService
Constructor Details
new AWS.TimestreamWrite(options = {}) ⇒ Object
Constructs a service object. This object has one method for each API operation.