@aws-sdk/client-timestream-write 3.279.0 → 3.281.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 +174 -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 +51 -0
- package/dist-types/commands/CreateDatabaseCommand.d.ts +9 -6
- package/dist-types/commands/CreateTableCommand.d.ts +12 -9
- package/dist-types/commands/DeleteDatabaseCommand.d.ts +15 -11
- package/dist-types/commands/DeleteTableCommand.d.ts +13 -8
- package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +46 -0
- package/dist-types/commands/DescribeDatabaseCommand.d.ts +10 -4
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +16 -8
- package/dist-types/commands/DescribeTableCommand.d.ts +10 -5
- package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +45 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +9 -4
- package/dist-types/commands/ListTablesCommand.d.ts +9 -4
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +7 -3
- package/dist-types/commands/ResumeBatchLoadTaskCommand.d.ts +44 -0
- package/dist-types/commands/TagResourceCommand.d.ts +9 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +7 -3
- package/dist-types/commands/UpdateDatabaseCommand.d.ts +11 -7
- package/dist-types/commands/UpdateTableCommand.d.ts +12 -8
- package/dist-types/commands/WriteRecordsCommand.d.ts +42 -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 +6 -4
|
@@ -3,20 +3,23 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { CreateTableRequest, CreateTableResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link CreateTableCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface CreateTableCommandInput extends CreateTableRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link CreateTableCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface CreateTableCommandOutput extends CreateTableResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
* See
|
|
18
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-table.html">code sample</a> for details.
|
|
19
|
-
* </p>
|
|
17
|
+
* <p>Adds a new table to an existing database in your account. In an Amazon Web Services account, table names must be at least unique within each Region if they are in the same
|
|
18
|
+
* database. You might have identical table names in the same Region if the tables are in
|
|
19
|
+
* separate databases. While creating the table, you must specify the table name, database
|
|
20
|
+
* name, and the retention properties. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. See
|
|
21
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-table.html">code
|
|
22
|
+
* sample</a> for details. </p>
|
|
20
23
|
* @example
|
|
21
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
22
25
|
* ```javascript
|
|
@@ -3,25 +3,29 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { DeleteDatabaseRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link DeleteDatabaseCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface DeleteDatabaseCommandInput extends DeleteDatabaseRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link DeleteDatabaseCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface DeleteDatabaseCommandOutput extends __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
|
-
* <p>Deletes a given Timestream database. <i>This is an irreversible
|
|
12
|
-
*
|
|
17
|
+
* <p>Deletes a given Timestream database. <i>This is an irreversible
|
|
18
|
+
* operation. After a database is deleted, the time-series data from its tables cannot be
|
|
19
|
+
* recovered.</i>
|
|
13
20
|
* </p>
|
|
14
|
-
*
|
|
15
21
|
* <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>
|
|
22
|
+
* <p>All tables in the database must be deleted first, or a ValidationException error will
|
|
23
|
+
* be thrown. </p>
|
|
24
|
+
* <p>Due to the nature of distributed retries, the operation can return either success or
|
|
25
|
+
* a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
21
26
|
* </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>
|
|
27
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.delete-db.html">code sample</a>
|
|
28
|
+
* for details.</p>
|
|
25
29
|
* @example
|
|
26
30
|
* Use a bare-bones client and the command you need to make an API call.
|
|
27
31
|
* ```javascript
|
|
@@ -3,21 +3,26 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { DeleteTableRequest } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link DeleteTableCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface DeleteTableCommandInput extends DeleteTableRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link DeleteTableCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface DeleteTableCommandOutput extends __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
|
-
* <p>Deletes a given Timestream table. This is an irreversible operation.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* </p>
|
|
17
|
+
* <p>Deletes a given Timestream table. This is an irreversible operation. After a
|
|
18
|
+
* Timestream database table is deleted, the time-series data stored in the table
|
|
19
|
+
* cannot be recovered. </p>
|
|
15
20
|
* <note>
|
|
16
|
-
* <p>Due to the nature of distributed retries,
|
|
17
|
-
*
|
|
21
|
+
* <p>Due to the nature of distributed retries, the operation can return either success or
|
|
22
|
+
* a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
18
23
|
* </note>
|
|
19
|
-
* <p>See
|
|
20
|
-
*
|
|
24
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.delete-table.html">code
|
|
25
|
+
* sample</a> for details.</p>
|
|
21
26
|
* @example
|
|
22
27
|
* Use a bare-bones client and the command you need to make an API call.
|
|
23
28
|
* ```javascript
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* The input for {@link DescribeBatchLoadTaskCommand}.
|
|
8
|
+
*/
|
|
9
|
+
export interface DescribeBatchLoadTaskCommandInput extends DescribeBatchLoadTaskRequest {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link DescribeBatchLoadTaskCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface DescribeBatchLoadTaskCommandOutput extends DescribeBatchLoadTaskResponse, __MetadataBearer {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Returns information about the batch load task, including configurations, mappings,
|
|
18
|
+
* progress, and other details. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. See
|
|
19
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.describe-batch-load.html">code
|
|
20
|
+
* sample</a> for details.</p>
|
|
21
|
+
* @example
|
|
22
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
23
|
+
* ```javascript
|
|
24
|
+
* import { TimestreamWriteClient, DescribeBatchLoadTaskCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
25
|
+
* // const { TimestreamWriteClient, DescribeBatchLoadTaskCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
26
|
+
* const client = new TimestreamWriteClient(config);
|
|
27
|
+
* const command = new DescribeBatchLoadTaskCommand(input);
|
|
28
|
+
* const response = await client.send(command);
|
|
29
|
+
* ```
|
|
30
|
+
*
|
|
31
|
+
* @see {@link DescribeBatchLoadTaskCommandInput} for command's `input` shape.
|
|
32
|
+
* @see {@link DescribeBatchLoadTaskCommandOutput} for command's `response` shape.
|
|
33
|
+
* @see {@link TimestreamWriteClientResolvedConfig | config} for TimestreamWriteClient's `config` shape.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
export declare class DescribeBatchLoadTaskCommand extends $Command<DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
37
|
+
readonly input: DescribeBatchLoadTaskCommandInput;
|
|
38
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
39
|
+
constructor(input: DescribeBatchLoadTaskCommandInput);
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput>;
|
|
44
|
+
private serialize;
|
|
45
|
+
private deserialize;
|
|
46
|
+
}
|
|
@@ -3,15 +3,21 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { DescribeDatabaseRequest, DescribeDatabaseResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link DescribeDatabaseCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface DescribeDatabaseCommandInput extends DescribeDatabaseRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link DescribeDatabaseCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface DescribeDatabaseCommandOutput extends DescribeDatabaseResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
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
|
-
*
|
|
17
|
+
* <p>Returns information about the database, including the database name, time that the
|
|
18
|
+
* 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
|
|
19
|
+
* quotas apply</a>. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.describe-db.html">code sample</a>
|
|
20
|
+
* for details.</p>
|
|
15
21
|
* @example
|
|
16
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
23
|
* ```javascript
|
|
@@ -3,30 +3,38 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link DescribeEndpointsCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface DescribeEndpointsCommandInput extends DescribeEndpointsRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link DescribeEndpointsCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface DescribeEndpointsCommandOutput extends DescribeEndpointsResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
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
|
-
*
|
|
17
|
+
* <p>Returns a list of available endpoints to make Timestream API calls against.
|
|
18
|
+
* This API operation is available through both the Write and Query APIs.</p>
|
|
19
|
+
* <p>Because the Timestream SDKs are designed to transparently work with the
|
|
20
|
+
* service’s architecture, including the management and mapping of the service endpoints,
|
|
21
|
+
* <i>we don't recommend that you use this API operation unless</i>:</p>
|
|
16
22
|
* <ul>
|
|
17
23
|
* <li>
|
|
18
24
|
* <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
25
|
* </p>
|
|
20
26
|
* </li>
|
|
21
27
|
* <li>
|
|
22
|
-
* <p>Your application uses a programming language that does not yet have SDK
|
|
28
|
+
* <p>Your application uses a programming language that does not yet have SDK
|
|
29
|
+
* support</p>
|
|
23
30
|
* </li>
|
|
24
31
|
* <li>
|
|
25
32
|
* <p>You require better control over the client-side implementation</p>
|
|
26
33
|
* </li>
|
|
27
34
|
* </ul>
|
|
28
|
-
* <p>For detailed information on how and when to use and implement DescribeEndpoints,
|
|
29
|
-
*
|
|
35
|
+
* <p>For detailed information on how and when to use and implement DescribeEndpoints, see
|
|
36
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/Using.API.html#Using-API.endpoint-discovery">The
|
|
37
|
+
* Endpoint Discovery Pattern</a>.</p>
|
|
30
38
|
* @example
|
|
31
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
32
40
|
* ```javascript
|
|
@@ -3,16 +3,21 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link DescribeTableCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface DescribeTableCommandInput extends DescribeTableRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link DescribeTableCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
|
-
* <p>Returns information about the table, including the table name, database name,
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* </p>
|
|
17
|
+
* <p>Returns information about the table, including the table name, database name, retention
|
|
18
|
+
* 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
|
|
19
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.describe-table.html">code
|
|
20
|
+
* sample</a> for details. </p>
|
|
16
21
|
* @example
|
|
17
22
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
23
|
* ```javascript
|
|
@@ -0,0 +1,45 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* The input for {@link ListBatchLoadTasksCommand}.
|
|
8
|
+
*/
|
|
9
|
+
export interface ListBatchLoadTasksCommandInput extends ListBatchLoadTasksRequest {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListBatchLoadTasksCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ListBatchLoadTasksCommandOutput extends ListBatchLoadTasksResponse, __MetadataBearer {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>Provides a list of batch load tasks, along with the name, status, when the task is
|
|
18
|
+
* resumable until, and other details. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.list-batch-load-tasks.html">code
|
|
19
|
+
* sample</a> for details.</p>
|
|
20
|
+
* @example
|
|
21
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
+
* ```javascript
|
|
23
|
+
* import { TimestreamWriteClient, ListBatchLoadTasksCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
24
|
+
* // const { TimestreamWriteClient, ListBatchLoadTasksCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
25
|
+
* const client = new TimestreamWriteClient(config);
|
|
26
|
+
* const command = new ListBatchLoadTasksCommand(input);
|
|
27
|
+
* const response = await client.send(command);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @see {@link ListBatchLoadTasksCommandInput} for command's `input` shape.
|
|
31
|
+
* @see {@link ListBatchLoadTasksCommandOutput} for command's `response` shape.
|
|
32
|
+
* @see {@link TimestreamWriteClientResolvedConfig | config} for TimestreamWriteClient's `config` shape.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare class ListBatchLoadTasksCommand extends $Command<ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
36
|
+
readonly input: ListBatchLoadTasksCommandInput;
|
|
37
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
38
|
+
constructor(input: ListBatchLoadTasksCommandInput);
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput>;
|
|
43
|
+
private serialize;
|
|
44
|
+
private deserialize;
|
|
45
|
+
}
|
|
@@ -3,15 +3,20 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link ListDatabasesCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface ListDatabasesCommandInput extends ListDatabasesRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListDatabasesCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
|
-
* <p>Returns a list of your Timestream databases.
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* </p>
|
|
17
|
+
* <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
|
|
18
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.list-db.html">code sample</a> for
|
|
19
|
+
* details. </p>
|
|
15
20
|
* @example
|
|
16
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
22
|
* ```javascript
|
|
@@ -3,15 +3,20 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link ListTablesCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface ListTablesCommandInput extends ListTablesRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListTablesCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
* See
|
|
13
|
-
*
|
|
14
|
-
* </p>
|
|
17
|
+
* <p>Provides a list of tables, along with the name, status, and retention properties of each
|
|
18
|
+
* table. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.list-table.html">code sample</a>
|
|
19
|
+
* for details. </p>
|
|
15
20
|
* @example
|
|
16
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
17
22
|
* ```javascript
|
|
@@ -3,14 +3,18 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link ListTagsForResourceCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
* List all tags on a Timestream resource.
|
|
13
|
-
* </p>
|
|
17
|
+
* <p> Lists all tags on a Timestream resource. </p>
|
|
14
18
|
* @example
|
|
15
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
20
|
* ```javascript
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
/**
|
|
7
|
+
* The input for {@link ResumeBatchLoadTaskCommand}.
|
|
8
|
+
*/
|
|
9
|
+
export interface ResumeBatchLoadTaskCommandInput extends ResumeBatchLoadTaskRequest {
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link ResumeBatchLoadTaskCommand}.
|
|
13
|
+
*/
|
|
14
|
+
export interface ResumeBatchLoadTaskCommandOutput extends ResumeBatchLoadTaskResponse, __MetadataBearer {
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* <p>
|
|
18
|
+
* </p>
|
|
19
|
+
* @example
|
|
20
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
+
* ```javascript
|
|
22
|
+
* import { TimestreamWriteClient, ResumeBatchLoadTaskCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
23
|
+
* // const { TimestreamWriteClient, ResumeBatchLoadTaskCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
24
|
+
* const client = new TimestreamWriteClient(config);
|
|
25
|
+
* const command = new ResumeBatchLoadTaskCommand(input);
|
|
26
|
+
* const response = await client.send(command);
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @see {@link ResumeBatchLoadTaskCommandInput} for command's `input` shape.
|
|
30
|
+
* @see {@link ResumeBatchLoadTaskCommandOutput} for command's `response` shape.
|
|
31
|
+
* @see {@link TimestreamWriteClientResolvedConfig | config} for TimestreamWriteClient's `config` shape.
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
export declare class ResumeBatchLoadTaskCommand extends $Command<ResumeBatchLoadTaskCommandInput, ResumeBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
35
|
+
readonly input: ResumeBatchLoadTaskCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
37
|
+
constructor(input: ResumeBatchLoadTaskCommandInput);
|
|
38
|
+
/**
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ResumeBatchLoadTaskCommandInput, ResumeBatchLoadTaskCommandOutput>;
|
|
42
|
+
private serialize;
|
|
43
|
+
private deserialize;
|
|
44
|
+
}
|
|
@@ -3,16 +3,20 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link TagResourceCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link TagResourceCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* Management console for cost allocation tracking.
|
|
15
|
-
* </p>
|
|
17
|
+
* <p> Associates a set of tags with a Timestream resource. You can then activate
|
|
18
|
+
* these user-defined tags so that they appear on the Billing and Cost Management console for
|
|
19
|
+
* cost allocation tracking. </p>
|
|
16
20
|
* @example
|
|
17
21
|
* Use a bare-bones client and the command you need to make an API call.
|
|
18
22
|
* ```javascript
|
|
@@ -3,14 +3,18 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UntagResourceCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UntagResourceCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
11
|
-
* <p>
|
|
12
|
-
* Removes the association of tags from a Timestream resource.
|
|
13
|
-
* </p>
|
|
17
|
+
* <p> Removes the association of tags from a Timestream resource. </p>
|
|
14
18
|
* @example
|
|
15
19
|
* Use a bare-bones client and the command you need to make an API call.
|
|
16
20
|
* ```javascript
|
|
@@ -3,18 +3,22 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { UpdateDatabaseRequest, UpdateDatabaseResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateDatabaseCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateDatabaseCommandInput extends UpdateDatabaseRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateDatabaseCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateDatabaseCommandOutput extends UpdateDatabaseResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
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>
|
|
17
|
+
* <p> Modifies the KMS key for an existing database. While updating the
|
|
18
|
+
* 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
|
|
19
|
+
* <code>UpdateDatabase</code> requests, first writer wins. </p>
|
|
20
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-db.html">code sample</a>
|
|
21
|
+
* for details.</p>
|
|
18
22
|
* @example
|
|
19
23
|
* Use a bare-bones client and the command you need to make an API call.
|
|
20
24
|
* ```javascript
|
|
@@ -3,19 +3,23 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
4
|
import { UpdateTableRequest, UpdateTableResponse } from "../models/models_0";
|
|
5
5
|
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
/**
|
|
7
|
+
* The input for {@link UpdateTableCommand}.
|
|
8
|
+
*/
|
|
6
9
|
export interface UpdateTableCommandInput extends UpdateTableRequest {
|
|
7
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* The output of {@link UpdateTableCommand}.
|
|
13
|
+
*/
|
|
8
14
|
export interface UpdateTableCommandOutput extends UpdateTableResponse, __MetadataBearer {
|
|
9
15
|
}
|
|
10
16
|
/**
|
|
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>
|
|
17
|
+
* <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.
|
|
18
|
+
* For example, if the retention period of the memory store was initially set to 2 hours and
|
|
19
|
+
* then changed to 24 hours, the memory store will be capable of holding 24 hours of data, but
|
|
20
|
+
* 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>
|
|
21
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-table.html">code
|
|
22
|
+
* sample</a> for details.</p>
|
|
19
23
|
* @example
|
|
20
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
21
25
|
* ```javascript
|