@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
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
2
|
+
import { CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput } from "./commands/CreateBatchLoadTaskCommand";
|
|
2
3
|
import { CreateDatabaseCommandInput, CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
|
|
3
4
|
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
4
5
|
import { DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput } from "./commands/DeleteDatabaseCommand";
|
|
5
6
|
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
7
|
+
import { DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput } from "./commands/DescribeBatchLoadTaskCommand";
|
|
6
8
|
import { DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput } from "./commands/DescribeDatabaseCommand";
|
|
7
9
|
import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
|
|
8
10
|
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
|
|
11
|
+
import { ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput } from "./commands/ListBatchLoadTasksCommand";
|
|
9
12
|
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
10
13
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
11
14
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
15
|
+
import { ResumeBatchLoadTaskCommandInput, ResumeBatchLoadTaskCommandOutput } from "./commands/ResumeBatchLoadTaskCommand";
|
|
12
16
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
13
17
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
14
18
|
import { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./commands/UpdateDatabaseCommand";
|
|
@@ -17,231 +21,250 @@ import { WriteRecordsCommandInput, WriteRecordsCommandOutput } from "./commands/
|
|
|
17
21
|
import { TimestreamWriteClient } from "./TimestreamWriteClient";
|
|
18
22
|
/**
|
|
19
23
|
* <fullname>Amazon Timestream Write</fullname>
|
|
20
|
-
* <p>Amazon Timestream is a fast, scalable, fully managed time
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
*
|
|
24
|
+
* <p>Amazon Timestream is a fast, scalable, fully managed time-series database service
|
|
25
|
+
* that makes it easy to store and analyze trillions of time-series data points per day. With
|
|
26
|
+
* Timestream, you can easily store and analyze IoT sensor data to derive insights
|
|
27
|
+
* from your IoT applications. You can analyze industrial telemetry to streamline equipment
|
|
28
|
+
* management and maintenance. You can also store and analyze log data and metrics to improve
|
|
29
|
+
* the performance and availability of your applications. </p>
|
|
30
|
+
* <p>Timestream is built from the ground up to effectively ingest, process, and
|
|
31
|
+
* store time-series data. It organizes data to optimize query processing. It automatically
|
|
32
|
+
* scales based on the volume of data ingested and on the query volume to ensure you receive
|
|
33
|
+
* optimal performance while inserting and querying data. As your data grows over time,
|
|
34
|
+
* Timestream’s adaptive query processing engine spans across storage tiers to
|
|
35
|
+
* provide fast analysis while reducing costs.</p>
|
|
26
36
|
*/
|
|
27
37
|
export declare class TimestreamWrite extends TimestreamWriteClient {
|
|
28
38
|
/**
|
|
29
|
-
* <p>Creates a new Timestream
|
|
30
|
-
*
|
|
31
|
-
*
|
|
32
|
-
*
|
|
33
|
-
*
|
|
34
|
-
* <a href="https://docs.aws.amazon.com/
|
|
39
|
+
* <p>Creates a new Timestream batch load task. A batch load task processes data from
|
|
40
|
+
* a CSV source in an S3 location and writes to a Timestream table. A mapping from
|
|
41
|
+
* source to target is defined in a batch load task. Errors and events are written to a report
|
|
42
|
+
* at an S3 location. For the report, if the KMS key is not specified, the
|
|
43
|
+
* batch load task will be encrypted with a Timestream managed KMS key
|
|
44
|
+
* located in your account. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed
|
|
45
|
+
* keys</a>. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. For
|
|
46
|
+
* details, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-batch-load.html">code
|
|
47
|
+
* sample</a>.</p>
|
|
48
|
+
*/
|
|
49
|
+
createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateBatchLoadTaskCommandOutput>;
|
|
50
|
+
createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, cb: (err: any, data?: CreateBatchLoadTaskCommandOutput) => void): void;
|
|
51
|
+
createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBatchLoadTaskCommandOutput) => void): void;
|
|
52
|
+
/**
|
|
53
|
+
* <p>Creates a new Timestream database. If the KMS key is not
|
|
54
|
+
* specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed keys</a>. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. For
|
|
55
|
+
* details, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-db.html">code sample</a>.
|
|
35
56
|
* </p>
|
|
36
57
|
*/
|
|
37
58
|
createDatabase(args: CreateDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatabaseCommandOutput>;
|
|
38
59
|
createDatabase(args: CreateDatabaseCommandInput, cb: (err: any, data?: CreateDatabaseCommandOutput) => void): void;
|
|
39
60
|
createDatabase(args: CreateDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatabaseCommandOutput) => void): void;
|
|
40
61
|
/**
|
|
41
|
-
* <p>
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
*
|
|
46
|
-
*
|
|
47
|
-
* See
|
|
48
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-table.html">code sample</a> for details.
|
|
49
|
-
* </p>
|
|
62
|
+
* <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
|
|
63
|
+
* database. You might have identical table names in the same Region if the tables are in
|
|
64
|
+
* separate databases. While creating the table, you must specify the table name, database
|
|
65
|
+
* name, and the retention properties. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. See
|
|
66
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-table.html">code
|
|
67
|
+
* sample</a> for details. </p>
|
|
50
68
|
*/
|
|
51
69
|
createTable(args: CreateTableCommandInput, options?: __HttpHandlerOptions): Promise<CreateTableCommandOutput>;
|
|
52
70
|
createTable(args: CreateTableCommandInput, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
|
|
53
71
|
createTable(args: CreateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
|
|
54
72
|
/**
|
|
55
|
-
* <p>Deletes a given Timestream database. <i>This is an irreversible
|
|
56
|
-
*
|
|
73
|
+
* <p>Deletes a given Timestream database. <i>This is an irreversible
|
|
74
|
+
* operation. After a database is deleted, the time-series data from its tables cannot be
|
|
75
|
+
* recovered.</i>
|
|
57
76
|
* </p>
|
|
58
|
-
*
|
|
59
77
|
* <note>
|
|
60
|
-
* <p>All tables in the database must be deleted first, or a ValidationException error will
|
|
61
|
-
*
|
|
62
|
-
*
|
|
63
|
-
*
|
|
64
|
-
* the operation can return either success or a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
78
|
+
* <p>All tables in the database must be deleted first, or a ValidationException error will
|
|
79
|
+
* be thrown. </p>
|
|
80
|
+
* <p>Due to the nature of distributed retries, the operation can return either success or
|
|
81
|
+
* a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
65
82
|
* </note>
|
|
66
|
-
*
|
|
67
|
-
*
|
|
68
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.delete-db.html">code sample</a> for details.</p>
|
|
83
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.delete-db.html">code sample</a>
|
|
84
|
+
* for details.</p>
|
|
69
85
|
*/
|
|
70
86
|
deleteDatabase(args: DeleteDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatabaseCommandOutput>;
|
|
71
87
|
deleteDatabase(args: DeleteDatabaseCommandInput, cb: (err: any, data?: DeleteDatabaseCommandOutput) => void): void;
|
|
72
88
|
deleteDatabase(args: DeleteDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatabaseCommandOutput) => void): void;
|
|
73
89
|
/**
|
|
74
|
-
* <p>Deletes a given Timestream table. This is an irreversible operation.
|
|
75
|
-
*
|
|
76
|
-
*
|
|
77
|
-
* </p>
|
|
90
|
+
* <p>Deletes a given Timestream table. This is an irreversible operation. After a
|
|
91
|
+
* Timestream database table is deleted, the time-series data stored in the table
|
|
92
|
+
* cannot be recovered. </p>
|
|
78
93
|
* <note>
|
|
79
|
-
* <p>Due to the nature of distributed retries,
|
|
80
|
-
*
|
|
94
|
+
* <p>Due to the nature of distributed retries, the operation can return either success or
|
|
95
|
+
* a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
81
96
|
* </note>
|
|
82
|
-
* <p>See
|
|
83
|
-
*
|
|
97
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.delete-table.html">code
|
|
98
|
+
* sample</a> for details.</p>
|
|
84
99
|
*/
|
|
85
100
|
deleteTable(args: DeleteTableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableCommandOutput>;
|
|
86
101
|
deleteTable(args: DeleteTableCommandInput, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
|
|
87
102
|
deleteTable(args: DeleteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
|
|
88
103
|
/**
|
|
89
|
-
* <p>Returns information about the
|
|
90
|
-
* and
|
|
91
|
-
*
|
|
92
|
-
*
|
|
104
|
+
* <p>Returns information about the batch load task, including configurations, mappings,
|
|
105
|
+
* progress, and other details. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. See
|
|
106
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.describe-batch-load.html">code
|
|
107
|
+
* sample</a> for details.</p>
|
|
108
|
+
*/
|
|
109
|
+
describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBatchLoadTaskCommandOutput>;
|
|
110
|
+
describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, cb: (err: any, data?: DescribeBatchLoadTaskCommandOutput) => void): void;
|
|
111
|
+
describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBatchLoadTaskCommandOutput) => void): void;
|
|
112
|
+
/**
|
|
113
|
+
* <p>Returns information about the database, including the database name, time that the
|
|
114
|
+
* 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
|
|
115
|
+
* quotas apply</a>. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.describe-db.html">code sample</a>
|
|
116
|
+
* for details.</p>
|
|
93
117
|
*/
|
|
94
118
|
describeDatabase(args: DescribeDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDatabaseCommandOutput>;
|
|
95
119
|
describeDatabase(args: DescribeDatabaseCommandInput, cb: (err: any, data?: DescribeDatabaseCommandOutput) => void): void;
|
|
96
120
|
describeDatabase(args: DescribeDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDatabaseCommandOutput) => void): void;
|
|
97
121
|
/**
|
|
98
|
-
* <p>
|
|
99
|
-
* This API is available through both Write and Query.</p>
|
|
100
|
-
* <p>Because the Timestream SDKs are designed to transparently work with the
|
|
101
|
-
* including the management and mapping of the service endpoints,
|
|
102
|
-
*
|
|
122
|
+
* <p>Returns a list of available endpoints to make Timestream API calls against.
|
|
123
|
+
* This API operation is available through both the Write and Query APIs.</p>
|
|
124
|
+
* <p>Because the Timestream SDKs are designed to transparently work with the
|
|
125
|
+
* service’s architecture, including the management and mapping of the service endpoints,
|
|
126
|
+
* <i>we don't recommend that you use this API operation unless</i>:</p>
|
|
103
127
|
* <ul>
|
|
104
128
|
* <li>
|
|
105
129
|
* <p>You are using <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/VPCEndpoints">VPC endpoints (Amazon Web Services PrivateLink) with Timestream</a>
|
|
106
130
|
* </p>
|
|
107
131
|
* </li>
|
|
108
132
|
* <li>
|
|
109
|
-
* <p>Your application uses a programming language that does not yet have SDK
|
|
133
|
+
* <p>Your application uses a programming language that does not yet have SDK
|
|
134
|
+
* support</p>
|
|
110
135
|
* </li>
|
|
111
136
|
* <li>
|
|
112
137
|
* <p>You require better control over the client-side implementation</p>
|
|
113
138
|
* </li>
|
|
114
139
|
* </ul>
|
|
115
|
-
* <p>For detailed information on how and when to use and implement DescribeEndpoints,
|
|
116
|
-
*
|
|
140
|
+
* <p>For detailed information on how and when to use and implement DescribeEndpoints, see
|
|
141
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/Using.API.html#Using-API.endpoint-discovery">The
|
|
142
|
+
* Endpoint Discovery Pattern</a>.</p>
|
|
117
143
|
*/
|
|
118
144
|
describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointsCommandOutput>;
|
|
119
145
|
describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
|
|
120
146
|
describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
|
|
121
147
|
/**
|
|
122
|
-
* <p>Returns information about the table, including the table name, database name,
|
|
123
|
-
*
|
|
124
|
-
*
|
|
125
|
-
*
|
|
126
|
-
* </p>
|
|
148
|
+
* <p>Returns information about the table, including the table name, database name, retention
|
|
149
|
+
* 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
|
|
150
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.describe-table.html">code
|
|
151
|
+
* sample</a> for details. </p>
|
|
127
152
|
*/
|
|
128
153
|
describeTable(args: DescribeTableCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTableCommandOutput>;
|
|
129
154
|
describeTable(args: DescribeTableCommandInput, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
|
|
130
155
|
describeTable(args: DescribeTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
|
|
131
156
|
/**
|
|
132
|
-
* <p>
|
|
133
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/
|
|
134
|
-
*
|
|
135
|
-
|
|
157
|
+
* <p>Provides a list of batch load tasks, along with the name, status, when the task is
|
|
158
|
+
* resumable until, and other details. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.list-batch-load-tasks.html">code
|
|
159
|
+
* sample</a> for details.</p>
|
|
160
|
+
*/
|
|
161
|
+
listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListBatchLoadTasksCommandOutput>;
|
|
162
|
+
listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, cb: (err: any, data?: ListBatchLoadTasksCommandOutput) => void): void;
|
|
163
|
+
listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBatchLoadTasksCommandOutput) => void): void;
|
|
164
|
+
/**
|
|
165
|
+
* <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
|
|
166
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.list-db.html">code sample</a> for
|
|
167
|
+
* details. </p>
|
|
136
168
|
*/
|
|
137
169
|
listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
|
|
138
170
|
listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
|
|
139
171
|
listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
|
|
140
172
|
/**
|
|
141
|
-
* <p>
|
|
142
|
-
* See
|
|
143
|
-
*
|
|
144
|
-
* </p>
|
|
173
|
+
* <p>Provides a list of tables, along with the name, status, and retention properties of each
|
|
174
|
+
* table. See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.list-table.html">code sample</a>
|
|
175
|
+
* for details. </p>
|
|
145
176
|
*/
|
|
146
177
|
listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
|
|
147
178
|
listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
148
179
|
listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
149
180
|
/**
|
|
150
|
-
* <p>
|
|
151
|
-
* List all tags on a Timestream resource.
|
|
152
|
-
* </p>
|
|
181
|
+
* <p> Lists all tags on a Timestream resource. </p>
|
|
153
182
|
*/
|
|
154
183
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
155
184
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
156
185
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
157
186
|
/**
|
|
158
187
|
* <p>
|
|
159
|
-
*
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
188
|
+
* </p>
|
|
189
|
+
*/
|
|
190
|
+
resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, options?: __HttpHandlerOptions): Promise<ResumeBatchLoadTaskCommandOutput>;
|
|
191
|
+
resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, cb: (err: any, data?: ResumeBatchLoadTaskCommandOutput) => void): void;
|
|
192
|
+
resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResumeBatchLoadTaskCommandOutput) => void): void;
|
|
193
|
+
/**
|
|
194
|
+
* <p> Associates a set of tags with a Timestream resource. You can then activate
|
|
195
|
+
* these user-defined tags so that they appear on the Billing and Cost Management console for
|
|
196
|
+
* cost allocation tracking. </p>
|
|
163
197
|
*/
|
|
164
198
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
165
199
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
166
200
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
167
201
|
/**
|
|
168
|
-
* <p>
|
|
169
|
-
* Removes the association of tags from a Timestream resource.
|
|
170
|
-
* </p>
|
|
202
|
+
* <p> Removes the association of tags from a Timestream resource. </p>
|
|
171
203
|
*/
|
|
172
204
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
173
205
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
174
206
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
175
207
|
/**
|
|
176
|
-
* <p>
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
* <p>See
|
|
182
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-db.html">code sample</a> for details.</p>
|
|
208
|
+
* <p> Modifies the KMS key for an existing database. While updating the
|
|
209
|
+
* 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
|
|
210
|
+
* <code>UpdateDatabase</code> requests, first writer wins. </p>
|
|
211
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-db.html">code sample</a>
|
|
212
|
+
* for details.</p>
|
|
183
213
|
*/
|
|
184
214
|
updateDatabase(args: UpdateDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatabaseCommandOutput>;
|
|
185
215
|
updateDatabase(args: UpdateDatabaseCommandInput, cb: (err: any, data?: UpdateDatabaseCommandOutput) => void): void;
|
|
186
216
|
updateDatabase(args: UpdateDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatabaseCommandOutput) => void): void;
|
|
187
217
|
/**
|
|
188
|
-
* <p>Modifies the retention duration of the memory store and magnetic store for your Timestream table.
|
|
189
|
-
*
|
|
190
|
-
*
|
|
191
|
-
*
|
|
192
|
-
*
|
|
193
|
-
*
|
|
194
|
-
* <p>See
|
|
195
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-table.html">code sample</a> for details.</p>
|
|
218
|
+
* <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.
|
|
219
|
+
* For example, if the retention period of the memory store was initially set to 2 hours and
|
|
220
|
+
* then changed to 24 hours, the memory store will be capable of holding 24 hours of data, but
|
|
221
|
+
* 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>
|
|
222
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.update-table.html">code
|
|
223
|
+
* sample</a> for details.</p>
|
|
196
224
|
*/
|
|
197
225
|
updateTable(args: UpdateTableCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTableCommandOutput>;
|
|
198
226
|
updateTable(args: UpdateTableCommandInput, cb: (err: any, data?: UpdateTableCommandOutput) => void): void;
|
|
199
227
|
updateTable(args: UpdateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTableCommandOutput) => void): void;
|
|
200
228
|
/**
|
|
201
|
-
* <p>
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
*
|
|
205
|
-
*
|
|
206
|
-
*
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>.
|
|
213
|
-
* </p>
|
|
214
|
-
*
|
|
215
|
-
* <p>See
|
|
216
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.write.html">code sample</a> for details.</p>
|
|
217
|
-
*
|
|
229
|
+
* <p>Enables you to write your time-series data into Timestream. You can specify a
|
|
230
|
+
* 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
|
|
231
|
+
* types for your Timestream tables based on the dimension names and data types of
|
|
232
|
+
* the data points you specify when invoking writes into the database. </p>
|
|
233
|
+
* <p>Timestream supports eventual consistency read semantics. This means that when
|
|
234
|
+
* you query data immediately after writing a batch of data into Timestream, the
|
|
235
|
+
* query results might not reflect the results of a recently completed write operation. The
|
|
236
|
+
* results may also include some stale data. If you repeat the query request after a short
|
|
237
|
+
* 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>
|
|
238
|
+
* <p>See <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.write.html">code sample</a> for
|
|
239
|
+
* details.</p>
|
|
218
240
|
* <p>
|
|
219
241
|
* <b>Upserts</b>
|
|
220
242
|
* </p>
|
|
221
|
-
*
|
|
222
|
-
*
|
|
223
|
-
*
|
|
224
|
-
* Timestream
|
|
225
|
-
* <code>Version</code>
|
|
226
|
-
*
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
* <p>
|
|
231
|
-
* For example, suppose you write a new record without indicating <code>Version</code> in
|
|
232
|
-
* Timestream
|
|
233
|
-
*
|
|
234
|
-
*
|
|
235
|
-
*
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
*
|
|
244
|
-
*
|
|
243
|
+
* <p>You can use the <code>Version</code> parameter in a <code>WriteRecords</code> request to
|
|
244
|
+
* update data points. Timestream tracks a version number with each record.
|
|
245
|
+
* <code>Version</code> defaults to <code>1</code> when it's not specified for the record
|
|
246
|
+
* in the request. Timestream updates an existing record’s measure value along with
|
|
247
|
+
* its <code>Version</code> when it receives a write request with a higher
|
|
248
|
+
* <code>Version</code> number for that record. When it receives an update request where
|
|
249
|
+
* the measure value is the same as that of the existing record, Timestream still
|
|
250
|
+
* updates <code>Version</code>, if it is greater than the existing value of
|
|
251
|
+
* <code>Version</code>. You can update a data point as many times as desired, as long as
|
|
252
|
+
* the value of <code>Version</code> continuously increases. </p>
|
|
253
|
+
* <p> For example, suppose you write a new record without indicating <code>Version</code> in
|
|
254
|
+
* the request. Timestream stores this record, and set <code>Version</code> to
|
|
255
|
+
* <code>1</code>. Now, suppose you try to update this record with a
|
|
256
|
+
* <code>WriteRecords</code> request of the same record with a different measure value but,
|
|
257
|
+
* like before, do not provide <code>Version</code>. In this case, Timestream will
|
|
258
|
+
* reject this update with a <code>RejectedRecordsException</code> since the updated record’s
|
|
259
|
+
* version is not greater than the existing value of Version. </p>
|
|
260
|
+
* <p>However, if you were to resend the update request with <code>Version</code> set to
|
|
261
|
+
* <code>2</code>, Timestream would then succeed in updating the record’s value,
|
|
262
|
+
* and the <code>Version</code> would be set to <code>2</code>. Next, suppose you sent a
|
|
263
|
+
* <code>WriteRecords</code> request with this same record and an identical measure value,
|
|
264
|
+
* but with <code>Version</code> set to <code>3</code>. In this case, Timestream
|
|
265
|
+
* would only update <code>Version</code> to <code>3</code>. Any further updates would need to
|
|
266
|
+
* send a version number greater than <code>3</code>, or the update requests would receive a
|
|
267
|
+
* <code>RejectedRecordsException</code>. </p>
|
|
245
268
|
*/
|
|
246
269
|
writeRecords(args: WriteRecordsCommandInput, options?: __HttpHandlerOptions): Promise<WriteRecordsCommandOutput>;
|
|
247
270
|
writeRecords(args: WriteRecordsCommandInput, cb: (err: any, data?: WriteRecordsCommandOutput) => void): void;
|
|
@@ -8,24 +8,28 @@ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middlewa
|
|
|
8
8
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
9
9
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
10
10
|
import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as __ChecksumConstructor, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
11
|
+
import { CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput } from "./commands/CreateBatchLoadTaskCommand";
|
|
11
12
|
import { CreateDatabaseCommandInput, CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
|
|
12
13
|
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
13
14
|
import { DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput } from "./commands/DeleteDatabaseCommand";
|
|
14
15
|
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
16
|
+
import { DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput } from "./commands/DescribeBatchLoadTaskCommand";
|
|
15
17
|
import { DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput } from "./commands/DescribeDatabaseCommand";
|
|
16
18
|
import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
|
|
17
19
|
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
|
|
20
|
+
import { ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput } from "./commands/ListBatchLoadTasksCommand";
|
|
18
21
|
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
19
22
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
20
23
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
24
|
+
import { ResumeBatchLoadTaskCommandInput, ResumeBatchLoadTaskCommandOutput } from "./commands/ResumeBatchLoadTaskCommand";
|
|
21
25
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
22
26
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
23
27
|
import { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./commands/UpdateDatabaseCommand";
|
|
24
28
|
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
25
29
|
import { WriteRecordsCommandInput, WriteRecordsCommandOutput } from "./commands/WriteRecordsCommand";
|
|
26
30
|
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
27
|
-
export declare type ServiceInputTypes = CreateDatabaseCommandInput | CreateTableCommandInput | DeleteDatabaseCommandInput | DeleteTableCommandInput | DescribeDatabaseCommandInput | DescribeEndpointsCommandInput | DescribeTableCommandInput | ListDatabasesCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatabaseCommandInput | UpdateTableCommandInput | WriteRecordsCommandInput;
|
|
28
|
-
export declare type ServiceOutputTypes = CreateDatabaseCommandOutput | CreateTableCommandOutput | DeleteDatabaseCommandOutput | DeleteTableCommandOutput | DescribeDatabaseCommandOutput | DescribeEndpointsCommandOutput | DescribeTableCommandOutput | ListDatabasesCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatabaseCommandOutput | UpdateTableCommandOutput | WriteRecordsCommandOutput;
|
|
31
|
+
export declare type ServiceInputTypes = CreateBatchLoadTaskCommandInput | CreateDatabaseCommandInput | CreateTableCommandInput | DeleteDatabaseCommandInput | DeleteTableCommandInput | DescribeBatchLoadTaskCommandInput | DescribeDatabaseCommandInput | DescribeEndpointsCommandInput | DescribeTableCommandInput | ListBatchLoadTasksCommandInput | ListDatabasesCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | ResumeBatchLoadTaskCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatabaseCommandInput | UpdateTableCommandInput | WriteRecordsCommandInput;
|
|
32
|
+
export declare type ServiceOutputTypes = CreateBatchLoadTaskCommandOutput | CreateDatabaseCommandOutput | CreateTableCommandOutput | DeleteDatabaseCommandOutput | DeleteTableCommandOutput | DescribeBatchLoadTaskCommandOutput | DescribeDatabaseCommandOutput | DescribeEndpointsCommandOutput | DescribeTableCommandOutput | ListBatchLoadTasksCommandOutput | ListDatabasesCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | ResumeBatchLoadTaskCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatabaseCommandOutput | UpdateTableCommandOutput | WriteRecordsCommandOutput;
|
|
29
33
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
30
34
|
/**
|
|
31
35
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -146,12 +150,18 @@ export interface TimestreamWriteClientResolvedConfig extends TimestreamWriteClie
|
|
|
146
150
|
}
|
|
147
151
|
/**
|
|
148
152
|
* <fullname>Amazon Timestream Write</fullname>
|
|
149
|
-
* <p>Amazon Timestream is a fast, scalable, fully managed time
|
|
150
|
-
*
|
|
151
|
-
*
|
|
152
|
-
*
|
|
153
|
-
*
|
|
154
|
-
*
|
|
153
|
+
* <p>Amazon Timestream is a fast, scalable, fully managed time-series database service
|
|
154
|
+
* that makes it easy to store and analyze trillions of time-series data points per day. With
|
|
155
|
+
* Timestream, you can easily store and analyze IoT sensor data to derive insights
|
|
156
|
+
* from your IoT applications. You can analyze industrial telemetry to streamline equipment
|
|
157
|
+
* management and maintenance. You can also store and analyze log data and metrics to improve
|
|
158
|
+
* the performance and availability of your applications. </p>
|
|
159
|
+
* <p>Timestream is built from the ground up to effectively ingest, process, and
|
|
160
|
+
* store time-series data. It organizes data to optimize query processing. It automatically
|
|
161
|
+
* scales based on the volume of data ingested and on the query volume to ensure you receive
|
|
162
|
+
* optimal performance while inserting and querying data. As your data grows over time,
|
|
163
|
+
* Timestream’s adaptive query processing engine spans across storage tiers to
|
|
164
|
+
* provide fast analysis while reducing costs.</p>
|
|
155
165
|
*/
|
|
156
166
|
export declare class TimestreamWriteClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig> {
|
|
157
167
|
/**
|
|
@@ -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 { CreateBatchLoadTaskRequest, CreateBatchLoadTaskResponse } from "../models/models_0";
|
|
5
|
+
import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
6
|
+
export interface CreateBatchLoadTaskCommandInput extends CreateBatchLoadTaskRequest {
|
|
7
|
+
}
|
|
8
|
+
export interface CreateBatchLoadTaskCommandOutput extends CreateBatchLoadTaskResponse, __MetadataBearer {
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* <p>Creates a new Timestream batch load task. A batch load task processes data from
|
|
12
|
+
* a CSV source in an S3 location and writes to a Timestream table. A mapping from
|
|
13
|
+
* source to target is defined in a batch load task. Errors and events are written to a report
|
|
14
|
+
* at an S3 location. For the report, if the KMS key is not specified, the
|
|
15
|
+
* batch load task will be encrypted with a Timestream managed KMS key
|
|
16
|
+
* located in your account. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed
|
|
17
|
+
* keys</a>. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. For
|
|
18
|
+
* details, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-batch-load.html">code
|
|
19
|
+
* sample</a>.</p>
|
|
20
|
+
* @example
|
|
21
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
22
|
+
* ```javascript
|
|
23
|
+
* import { TimestreamWriteClient, CreateBatchLoadTaskCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
24
|
+
* // const { TimestreamWriteClient, CreateBatchLoadTaskCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
25
|
+
* const client = new TimestreamWriteClient(config);
|
|
26
|
+
* const command = new CreateBatchLoadTaskCommand(input);
|
|
27
|
+
* const response = await client.send(command);
|
|
28
|
+
* ```
|
|
29
|
+
*
|
|
30
|
+
* @see {@link CreateBatchLoadTaskCommandInput} for command's `input` shape.
|
|
31
|
+
* @see {@link CreateBatchLoadTaskCommandOutput} for command's `response` shape.
|
|
32
|
+
* @see {@link TimestreamWriteClientResolvedConfig | config} for TimestreamWriteClient's `config` shape.
|
|
33
|
+
*
|
|
34
|
+
*/
|
|
35
|
+
export declare class CreateBatchLoadTaskCommand extends $Command<CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
36
|
+
readonly input: CreateBatchLoadTaskCommandInput;
|
|
37
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
38
|
+
constructor(input: CreateBatchLoadTaskCommandInput);
|
|
39
|
+
/**
|
|
40
|
+
* @internal
|
|
41
|
+
*/
|
|
42
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput>;
|
|
43
|
+
private serialize;
|
|
44
|
+
private deserialize;
|
|
45
|
+
}
|
|
@@ -8,12 +8,9 @@ export interface CreateDatabaseCommandInput extends CreateDatabaseRequest {
|
|
|
8
8
|
export interface CreateDatabaseCommandOutput extends CreateDatabaseResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
11
|
-
* <p>Creates a new Timestream database. If the KMS key is not
|
|
12
|
-
* key located in your account.
|
|
13
|
-
*
|
|
14
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>.
|
|
15
|
-
* See
|
|
16
|
-
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-db.html">code sample</a> for details.
|
|
11
|
+
* <p>Creates a new Timestream database. If the KMS key is not
|
|
12
|
+
* specified, the database will be encrypted with a Timestream managed KMS key located in your account. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">Amazon Web Services managed keys</a>. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. For
|
|
13
|
+
* details, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-db.html">code sample</a>.
|
|
17
14
|
* </p>
|
|
18
15
|
* @example
|
|
19
16
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -8,15 +8,12 @@ export interface CreateTableCommandInput extends CreateTableRequest {
|
|
|
8
8
|
export interface CreateTableCommandOutput extends CreateTableResponse, __MetadataBearer {
|
|
9
9
|
}
|
|
10
10
|
/**
|
|
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>
|
|
11
|
+
* <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
|
|
12
|
+
* database. You might have identical table names in the same Region if the tables are in
|
|
13
|
+
* separate databases. While creating the table, you must specify the table name, database
|
|
14
|
+
* name, and the retention properties. <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Service quotas apply</a>. See
|
|
15
|
+
* <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/code-samples.create-table.html">code
|
|
16
|
+
* sample</a> for details. </p>
|
|
20
17
|
* @example
|
|
21
18
|
* Use a bare-bones client and the command you need to make an API call.
|
|
22
19
|
* ```javascript
|