@aws-sdk/client-timestream-write 3.278.0 → 3.280.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -13
- package/dist-cjs/TimestreamWrite.js +60 -0
- package/dist-cjs/commands/CreateBatchLoadTaskCommand.js +48 -0
- package/dist-cjs/commands/DescribeBatchLoadTaskCommand.js +48 -0
- package/dist-cjs/commands/ListBatchLoadTasksCommand.js +48 -0
- package/dist-cjs/commands/ResumeBatchLoadTaskCommand.js +48 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/models/models_0.js +153 -37
- package/dist-cjs/pagination/ListBatchLoadTasksPaginator.js +36 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_0.js +626 -1
- package/dist-es/TimestreamWrite.js +60 -0
- package/dist-es/commands/CreateBatchLoadTaskCommand.js +44 -0
- package/dist-es/commands/DescribeBatchLoadTaskCommand.js +44 -0
- package/dist-es/commands/ListBatchLoadTasksCommand.js +44 -0
- package/dist-es/commands/ResumeBatchLoadTaskCommand.js +44 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/models/models_0.js +127 -34
- package/dist-es/pagination/ListBatchLoadTasksPaginator.js +32 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_0.js +617 -0
- package/dist-types/TimestreamWrite.d.ts +154 -131
- package/dist-types/TimestreamWriteClient.d.ts +18 -8
- package/dist-types/commands/CreateBatchLoadTaskCommand.d.ts +45 -0
- package/dist-types/commands/CreateDatabaseCommand.d.ts +3 -6
- package/dist-types/commands/CreateTableCommand.d.ts +6 -9
- package/dist-types/commands/DeleteDatabaseCommand.d.ts +9 -11
- package/dist-types/commands/DeleteTableCommand.d.ts +7 -8
- package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +40 -0
- package/dist-types/commands/DescribeDatabaseCommand.d.ts +4 -4
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +10 -8
- package/dist-types/commands/DescribeTableCommand.d.ts +4 -5
- package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +39 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +3 -4
- package/dist-types/commands/ListTablesCommand.d.ts +3 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -3
- package/dist-types/commands/ResumeBatchLoadTaskCommand.d.ts +38 -0
- package/dist-types/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -3
- package/dist-types/commands/UpdateDatabaseCommand.d.ts +5 -7
- package/dist-types/commands/UpdateTableCommand.d.ts +6 -8
- package/dist-types/commands/WriteRecordsCommand.d.ts +36 -41
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +786 -274
- package/dist-types/pagination/ListBatchLoadTasksPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +12 -0
- package/dist-types/ts3.4/TimestreamWrite.d.ts +68 -0
- package/dist-types/ts3.4/TimestreamWriteClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateBatchLoadTaskCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeBatchLoadTaskCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListBatchLoadTasksCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ResumeBatchLoadTaskCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +253 -43
- package/dist-types/ts3.4/pagination/ListBatchLoadTasksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +48 -0
- package/package.json +9 -7
|
@@ -8,20 +8,18 @@ export interface DeleteDatabaseCommandInput extends DeleteDatabaseRequest {
|
|
|
8
8
|
export interface DeleteDatabaseCommandOutput extends __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Deletes a given Timestream database. <i>This is an irreversible
|
|
12
|
-
*
|
|
11
|
+
* <p>Deletes a given Timestream database. <i>This is an irreversible
|
|
12
|
+
* operation. After a database is deleted, the time-series data from its tables cannot be
|
|
13
|
+
* recovered.</i>
|
|
13
14
|
* </p>
|
|
14
|
-
*
|
|
15
15
|
* <note>
|
|
16
|
-
* <p>All tables in the database must be deleted first, or a ValidationException error will
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* the operation can return either success or a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
16
|
+
* <p>All tables in the database must be deleted first, or a ValidationException error will
|
|
17
|
+
* be thrown. </p>
|
|
18
|
+
* <p>Due to the nature of distributed retries, the operation can return either success or
|
|
19
|
+
* a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
21
20
|
* </note>
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.delete-db.html">code sample</a> for details.</p>
|
|
21
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.delete-db.html">code sample</a>
|
|
22
|
+
* for details.</p>
|
|
25
23
|
* @example
|
|
26
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
25
|
* ```javascript
|
|
@@ -8,16 +8,15 @@ export interface DeleteTableCommandInput extends DeleteTableRequest {
|
|
|
8
8
|
export interface DeleteTableCommandOutput extends __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Deletes a given Timestream table. This is an irreversible operation.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* </p>
|
|
11
|
+
* <p>Deletes a given Timestream table. This is an irreversible operation. After a
|
|
12
|
+
* Timestream database table is deleted, the time-series data stored in the table
|
|
13
|
+
* cannot be recovered. </p>
|
|
15
14
|
* <note>
|
|
16
|
-
* <p>Due to the nature of distributed retries,
|
|
17
|
-
*
|
|
15
|
+
* <p>Due to the nature of distributed retries, the operation can return either success or
|
|
16
|
+
* a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
18
17
|
* </note>
|
|
19
|
-
* <p>See
|
|
20
|
-
*
|
|
18
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.delete-table.html">code
|
|
19
|
+
* sample</a> for details.</p>
|
|
21
20
|
* @example
|
|
22
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
22
|
* ```javascript
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { DescribeBatchLoadTaskRequest, DescribeBatchLoadTaskResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
export interface DescribeBatchLoadTaskCommandInput extends DescribeBatchLoadTaskRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface DescribeBatchLoadTaskCommandOutput extends DescribeBatchLoadTaskResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Returns information about the batch load task, including configurations, mappings,
|
|
12
|
+
* progress, and other details. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. See
|
|
13
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.describe-batch-load.html">code
|
|
14
|
+
* sample</a> for details.</p>
|
|
15
|
+
* @example
|
|
16
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
+
* ```javascript
|
|
18
|
+
* import { TimestreamWriteClient, DescribeBatchLoadTaskCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
19
|
+
* // const { TimestreamWriteClient, DescribeBatchLoadTaskCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
20
|
+
* const client = new TimestreamWriteClient(config);
|
|
21
|
+
* const command = new DescribeBatchLoadTaskCommand(input);
|
|
22
|
+
* const response = await client.send(command);
|
|
23
|
+
* ```
|
|
24
|
+
*
|
|
25
|
+
* @see {@link DescribeBatchLoadTaskCommandInput} for command's `input` shape.
|
|
26
|
+
* @see {@link DescribeBatchLoadTaskCommandOutput} for command's `response` shape.
|
|
27
|
+
* @see {@link TimestreamWriteClientResolvedConfig | config} for TimestreamWriteClient's `config` shape.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
export declare class DescribeBatchLoadTaskCommand extends $Command<DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
31
|
+
readonly input: DescribeBatchLoadTaskCommandInput;
|
|
32
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
33
|
+
constructor(input: DescribeBatchLoadTaskCommandInput);
|
|
34
|
+
/**
|
|
35
|
+
* @internal
|
|
36
|
+
*/
|
|
37
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput>;
|
|
38
|
+
private serialize;
|
|
39
|
+
private deserialize;
|
|
40
|
+
}
|
|
@@ -8,10 +8,10 @@ export interface DescribeDatabaseCommandInput extends DescribeDatabaseRequest {
|
|
|
8
8
|
export interface DescribeDatabaseCommandOutput extends DescribeDatabaseResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Returns information about the database, including the database name, time that the
|
|
12
|
-
* and the total number of tables found within the database.
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* <p>Returns information about the database, including the database name, time that the
|
|
12
|
+
* database was created, and the total number of tables found within the database. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service
|
|
13
|
+
* quotas apply</a>. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.describe-db.html">code sample</a>
|
|
14
|
+
* for details.</p>
|
|
15
15
|
* @example
|
|
16
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
17
|
* ```javascript
|
|
@@ -8,25 +8,27 @@ export interface DescribeEndpointsCommandInput extends DescribeEndpointsRequest
|
|
|
8
8
|
export interface DescribeEndpointsCommandOutput extends DescribeEndpointsResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
* This API is available through both Write and Query.</p>
|
|
13
|
-
* <p>Because the Timestream SDKs are designed to transparently work with the
|
|
14
|
-
* including the management and mapping of the service endpoints,
|
|
15
|
-
*
|
|
11
|
+
* <p>Returns a list of available endpoints to make Timestream API calls against.
|
|
12
|
+
* This API operation is available through both the Write and Query APIs.</p>
|
|
13
|
+
* <p>Because the Timestream SDKs are designed to transparently work with the
|
|
14
|
+
* service’s architecture, including the management and mapping of the service endpoints,
|
|
15
|
+
* <i>we don't recommend that you use this API operation unless</i>:</p>
|
|
16
16
|
* <ul>
|
|
17
17
|
* <li>
|
|
18
18
|
* <p>You are using <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/VPCEndpoints">VPC endpoints (Amazon Web Services PrivateLink) with Timestream</a>
|
|
19
19
|
* </p>
|
|
20
20
|
* </li>
|
|
21
21
|
* <li>
|
|
22
|
-
* <p>Your application uses a programming language that does not yet have SDK
|
|
22
|
+
* <p>Your application uses a programming language that does not yet have SDK
|
|
23
|
+
* support</p>
|
|
23
24
|
* </li>
|
|
24
25
|
* <li>
|
|
25
26
|
* <p>You require better control over the client-side implementation</p>
|
|
26
27
|
* </li>
|
|
27
28
|
* </ul>
|
|
28
|
-
* <p>For detailed information on how and when to use and implement DescribeEndpoints,
|
|
29
|
-
*
|
|
29
|
+
* <p>For detailed information on how and when to use and implement DescribeEndpoints, see
|
|
30
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/Using.API.html#Using-API.endpoint-discovery">The
|
|
31
|
+
* Endpoint Discovery Pattern</a>.</p>
|
|
30
32
|
* @example
|
|
31
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
34
|
* ```javascript
|
|
@@ -8,11 +8,10 @@ export interface DescribeTableCommandInput extends DescribeTableRequest {
|
|
|
8
8
|
export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Returns information about the table, including the table name, database name,
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* </p>
|
|
11
|
+
* <p>Returns information about the table, including the table name, database name, retention
|
|
12
|
+
* duration of the memory store and the magnetic store. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. See
|
|
13
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.describe-table.html">code
|
|
14
|
+
* sample</a> for details. </p>
|
|
16
15
|
* @example
|
|
17
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
17
|
* ```javascript
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ListBatchLoadTasksRequest, ListBatchLoadTasksResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
export interface ListBatchLoadTasksCommandInput extends ListBatchLoadTasksRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ListBatchLoadTasksCommandOutput extends ListBatchLoadTasksResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Provides a list of batch load tasks, along with the name, status, when the task is
|
|
12
|
+
* resumable until, and other details. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.list-batch-load-tasks.html">code
|
|
13
|
+
* sample</a> for details.</p>
|
|
14
|
+
* @example
|
|
15
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
+
* ```javascript
|
|
17
|
+
* import { TimestreamWriteClient, ListBatchLoadTasksCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
18
|
+
* // const { TimestreamWriteClient, ListBatchLoadTasksCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
19
|
+
* const client = new TimestreamWriteClient(config);
|
|
20
|
+
* const command = new ListBatchLoadTasksCommand(input);
|
|
21
|
+
* const response = await client.send(command);
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @see {@link ListBatchLoadTasksCommandInput} for command's `input` shape.
|
|
25
|
+
* @see {@link ListBatchLoadTasksCommandOutput} for command's `response` shape.
|
|
26
|
+
* @see {@link TimestreamWriteClientResolvedConfig | config} for TimestreamWriteClient's `config` shape.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
export declare class ListBatchLoadTasksCommand extends $Command<ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
30
|
+
readonly input: ListBatchLoadTasksCommandInput;
|
|
31
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
32
|
+
constructor(input: ListBatchLoadTasksCommandInput);
|
|
33
|
+
/**
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput>;
|
|
37
|
+
private serialize;
|
|
38
|
+
private deserialize;
|
|
39
|
+
}
|
|
@@ -8,10 +8,9 @@ export interface ListDatabasesCommandInput extends ListDatabasesRequest {
|
|
|
8
8
|
export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Returns a list of your Timestream databases.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* </p>
|
|
11
|
+
* <p>Returns a list of your Timestream databases. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. See
|
|
12
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.list-db.html">code sample</a> for
|
|
13
|
+
* details. </p>
|
|
15
14
|
* @example
|
|
16
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
16
|
* ```javascript
|
|
@@ -8,10 +8,9 @@ export interface ListTablesCommandInput extends ListTablesRequest {
|
|
|
8
8
|
export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
* See
|
|
13
|
-
*
|
|
14
|
-
* </p>
|
|
11
|
+
* <p>Provides a list of tables, along with the name, status, and retention properties of each
|
|
12
|
+
* table. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.list-table.html">code sample</a>
|
|
13
|
+
* for details. </p>
|
|
15
14
|
* @example
|
|
16
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
16
|
* ```javascript
|
|
@@ -8,9 +8,7 @@ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequ
|
|
|
8
8
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
* List all tags on a Timestream resource.
|
|
13
|
-
* </p>
|
|
11
|
+
* <p> Lists all tags on a Timestream resource. </p>
|
|
14
12
|
* @example
|
|
15
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
14
|
* ```javascript
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { ResumeBatchLoadTaskRequest, ResumeBatchLoadTaskResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
export interface ResumeBatchLoadTaskCommandInput extends ResumeBatchLoadTaskRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface ResumeBatchLoadTaskCommandOutput extends ResumeBatchLoadTaskResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>
|
|
12
|
+
* </p>
|
|
13
|
+
* @example
|
|
14
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
+
* ```javascript
|
|
16
|
+
* import { TimestreamWriteClient, ResumeBatchLoadTaskCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
17
|
+
* // const { TimestreamWriteClient, ResumeBatchLoadTaskCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
18
|
+
* const client = new TimestreamWriteClient(config);
|
|
19
|
+
* const command = new ResumeBatchLoadTaskCommand(input);
|
|
20
|
+
* const response = await client.send(command);
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* @see {@link ResumeBatchLoadTaskCommandInput} for command's `input` shape.
|
|
24
|
+
* @see {@link ResumeBatchLoadTaskCommandOutput} for command's `response` shape.
|
|
25
|
+
* @see {@link TimestreamWriteClientResolvedConfig | config} for TimestreamWriteClient's `config` shape.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export declare class ResumeBatchLoadTaskCommand extends $Command<ResumeBatchLoadTaskCommandInput, ResumeBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
29
|
+
readonly input: ResumeBatchLoadTaskCommandInput;
|
|
30
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
31
|
+
constructor(input: ResumeBatchLoadTaskCommandInput);
|
|
32
|
+
/**
|
|
33
|
+
* @internal
|
|
34
|
+
*/
|
|
35
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ResumeBatchLoadTaskCommandInput, ResumeBatchLoadTaskCommandOutput>;
|
|
36
|
+
private serialize;
|
|
37
|
+
private deserialize;
|
|
38
|
+
}
|
|
@@ -8,11 +8,9 @@ export interface TagResourceCommandInput extends TagResourceRequest {
|
|
|
8
8
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* Management console for cost allocation tracking.
|
|
15
|
-
* </p>
|
|
11
|
+
* <p> Associates a set of tags with a Timestream resource. You can then activate
|
|
12
|
+
* these user-defined tags so that they appear on the Billing and Cost Management console for
|
|
13
|
+
* cost allocation tracking. </p>
|
|
16
14
|
* @example
|
|
17
15
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
16
|
* ```javascript
|
|
@@ -8,9 +8,7 @@ export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
|
8
8
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
* Removes the association of tags from a Timestream resource.
|
|
13
|
-
* </p>
|
|
11
|
+
* <p> Removes the association of tags from a Timestream resource. </p>
|
|
14
12
|
* @example
|
|
15
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
14
|
* ```javascript
|
|
@@ -8,13 +8,11 @@ export interface UpdateDatabaseCommandInput extends UpdateDatabaseRequest {
|
|
|
8
8
|
export interface UpdateDatabaseCommandOutput extends UpdateDatabaseResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
* <p>See
|
|
17
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-db.html">code sample</a> for details.</p>
|
|
11
|
+
* <p> Modifies the KMS key for an existing database. While updating the
|
|
12
|
+
* database, you must specify the database name and the identifier of the new KMS key to be used (<code>KmsKeyId</code>). If there are any concurrent
|
|
13
|
+
* <code>UpdateDatabase</code> requests, first writer wins. </p>
|
|
14
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-db.html">code sample</a>
|
|
15
|
+
* for details.</p>
|
|
18
16
|
* @example
|
|
19
17
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
18
|
* ```javascript
|
|
@@ -8,14 +8,12 @@ export interface UpdateTableCommandInput extends UpdateTableRequest {
|
|
|
8
8
|
export interface UpdateTableCommandOutput extends UpdateTableResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Modifies the retention duration of the memory store and magnetic store for your Timestream table.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* <p>See
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-table.html">code sample</a> for details.</p>
|
|
11
|
+
* <p>Modifies the retention duration of the memory store and magnetic store for your Timestream table. Note that the change in retention duration takes effect immediately.
|
|
12
|
+
* For example, if the retention period of the memory store was initially set to 2 hours and
|
|
13
|
+
* then changed to 24 hours, the memory store will be capable of holding 24 hours of data, but
|
|
14
|
+
* will be populated with 24 hours of data 22 hours after this change was made. Timestream does not retrieve data from the magnetic store to populate the memory store. </p>
|
|
15
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-table.html">code
|
|
16
|
+
* sample</a> for details.</p>
|
|
19
17
|
* @example
|
|
20
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
21
19
|
* ```javascript
|
|
@@ -8,50 +8,45 @@ export interface WriteRecordsCommandInput extends WriteRecordsRequest {
|
|
|
8
8
|
export interface WriteRecordsCommandOutput extends WriteRecordsResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
22
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>.
|
|
23
|
-
* </p>
|
|
24
|
-
*
|
|
25
|
-
* <p>See
|
|
26
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.write.html">code sample</a> for details.</p>
|
|
27
|
-
*
|
|
11
|
+
* <p>Enables you to write your time-series data into Timestream. You can specify a
|
|
12
|
+
* single data point or a batch of data points to be inserted into the system. Timestream offers you a flexible schema that auto detects the column names and data
|
|
13
|
+
* types for your Timestream tables based on the dimension names and data types of
|
|
14
|
+
* the data points you specify when invoking writes into the database. </p>
|
|
15
|
+
* <p>Timestream supports eventual consistency read semantics. This means that when
|
|
16
|
+
* you query data immediately after writing a batch of data into Timestream, the
|
|
17
|
+
* query results might not reflect the results of a recently completed write operation. The
|
|
18
|
+
* results may also include some stale data. If you repeat the query request after a short
|
|
19
|
+
* time, the results should return the latest data. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. </p>
|
|
20
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.write.html">code sample</a> for
|
|
21
|
+
* details.</p>
|
|
28
22
|
* <p>
|
|
29
23
|
* <b>Upserts</b>
|
|
30
24
|
* </p>
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* Timestream
|
|
35
|
-
* <code>Version</code>
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
* <p>
|
|
41
|
-
* For example, suppose you write a new record without indicating <code>Version</code> in
|
|
42
|
-
* Timestream
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
25
|
+
* <p>You can use the <code>Version</code> parameter in a <code>WriteRecords</code> request to
|
|
26
|
+
* update data points. Timestream tracks a version number with each record.
|
|
27
|
+
* <code>Version</code> defaults to <code>1</code> when it's not specified for the record
|
|
28
|
+
* in the request. Timestream updates an existing record’s measure value along with
|
|
29
|
+
* its <code>Version</code> when it receives a write request with a higher
|
|
30
|
+
* <code>Version</code> number for that record. When it receives an update request where
|
|
31
|
+
* the measure value is the same as that of the existing record, Timestream still
|
|
32
|
+
* updates <code>Version</code>, if it is greater than the existing value of
|
|
33
|
+
* <code>Version</code>. You can update a data point as many times as desired, as long as
|
|
34
|
+
* the value of <code>Version</code> continuously increases. </p>
|
|
35
|
+
* <p> For example, suppose you write a new record without indicating <code>Version</code> in
|
|
36
|
+
* the request. Timestream stores this record, and set <code>Version</code> to
|
|
37
|
+
* <code>1</code>. Now, suppose you try to update this record with a
|
|
38
|
+
* <code>WriteRecords</code> request of the same record with a different measure value but,
|
|
39
|
+
* like before, do not provide <code>Version</code>. In this case, Timestream will
|
|
40
|
+
* reject this update with a <code>RejectedRecordsException</code> since the updated record’s
|
|
41
|
+
* version is not greater than the existing value of Version. </p>
|
|
42
|
+
* <p>However, if you were to resend the update request with <code>Version</code> set to
|
|
43
|
+
* <code>2</code>, Timestream would then succeed in updating the record’s value,
|
|
44
|
+
* and the <code>Version</code> would be set to <code>2</code>. Next, suppose you sent a
|
|
45
|
+
* <code>WriteRecords</code> request with this same record and an identical measure value,
|
|
46
|
+
* but with <code>Version</code> set to <code>3</code>. In this case, Timestream
|
|
47
|
+
* would only update <code>Version</code> to <code>3</code>. Any further updates would need to
|
|
48
|
+
* send a version number greater than <code>3</code>, or the update requests would receive a
|
|
49
|
+
* <code>RejectedRecordsException</code>. </p>
|
|
55
50
|
* @example
|
|
56
51
|
* Use a bare-bones client and the command you need to make an API call.
|
|
57
52
|
* ```javascript
|
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
export * from "./CreateBatchLoadTaskCommand";
|
|
1
2
|
export * from "./CreateDatabaseCommand";
|
|
2
3
|
export * from "./CreateTableCommand";
|
|
3
4
|
export * from "./DeleteDatabaseCommand";
|
|
4
5
|
export * from "./DeleteTableCommand";
|
|
6
|
+
export * from "./DescribeBatchLoadTaskCommand";
|
|
5
7
|
export * from "./DescribeDatabaseCommand";
|
|
6
8
|
export * from "./DescribeEndpointsCommand";
|
|
7
9
|
export * from "./DescribeTableCommand";
|
|
10
|
+
export * from "./ListBatchLoadTasksCommand";
|
|
8
11
|
export * from "./ListDatabasesCommand";
|
|
9
12
|
export * from "./ListTablesCommand";
|
|
10
13
|
export * from "./ListTagsForResourceCommand";
|
|
14
|
+
export * from "./ResumeBatchLoadTaskCommand";
|
|
11
15
|
export * from "./TagResourceCommand";
|
|
12
16
|
export * from "./UntagResourceCommand";
|
|
13
17
|
export * from "./UpdateDatabaseCommand";
|