@aws-sdk/client-timestream-write 3.35.0 → 3.38.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/CHANGELOG.md +47 -0
- package/dist-cjs/TimestreamWrite.js +0 -4
- package/dist-cjs/TimestreamWriteClient.js +0 -9
- package/dist-cjs/commands/CreateDatabaseCommand.js +0 -28
- package/dist-cjs/commands/CreateTableCommand.js +0 -32
- package/dist-cjs/commands/DeleteDatabaseCommand.js +0 -33
- package/dist-cjs/commands/DeleteTableCommand.js +0 -30
- package/dist-cjs/commands/DescribeDatabaseCommand.js +0 -27
- package/dist-cjs/commands/DescribeEndpointsCommand.js +0 -38
- package/dist-cjs/commands/DescribeTableCommand.js +0 -28
- package/dist-cjs/commands/ListDatabasesCommand.js +0 -27
- package/dist-cjs/commands/ListTablesCommand.js +0 -26
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -27
- package/dist-cjs/commands/TagResourceCommand.js +0 -29
- package/dist-cjs/commands/UntagResourceCommand.js +0 -27
- package/dist-cjs/commands/UpdateDatabaseCommand.js +0 -29
- package/dist-cjs/commands/UpdateTableCommand.js +0 -31
- package/dist-cjs/commands/WriteRecordsCommand.js +0 -38
- package/dist-cjs/commands/index.js +18 -0
- package/dist-cjs/endpoints.js +1 -2
- package/dist-cjs/index.js +4 -21
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -133
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListDatabasesPaginator.js +0 -11
- package/dist-cjs/pagination/ListTablesPaginator.js +0 -11
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_json1_0.js +0 -6
- package/dist-cjs/runtimeConfig.browser.js +1 -6
- package/dist-cjs/runtimeConfig.js +2 -7
- package/dist-cjs/runtimeConfig.native.js +0 -4
- package/dist-cjs/runtimeConfig.shared.js +0 -4
- package/dist-es/TimestreamWrite.js +0 -1
- package/dist-es/TimestreamWriteClient.js +0 -1
- package/dist-es/commands/CreateDatabaseCommand.js +0 -1
- package/dist-es/commands/CreateTableCommand.js +0 -1
- package/dist-es/commands/DeleteDatabaseCommand.js +0 -1
- package/dist-es/commands/DeleteTableCommand.js +0 -1
- package/dist-es/commands/DescribeDatabaseCommand.js +0 -1
- package/dist-es/commands/DescribeEndpointsCommand.js +0 -1
- package/dist-es/commands/DescribeTableCommand.js +0 -1
- package/dist-es/commands/ListDatabasesCommand.js +0 -1
- package/dist-es/commands/ListTablesCommand.js +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateDatabaseCommand.js +0 -1
- package/dist-es/commands/UpdateTableCommand.js +0 -1
- package/dist-es/commands/WriteRecordsCommand.js +0 -1
- package/dist-es/commands/index.js +15 -0
- package/dist-es/endpoints.js +1 -2
- package/dist-es/index.js +4 -21
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListDatabasesPaginator.js +0 -1
- package/dist-es/pagination/ListTablesPaginator.js +0 -1
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_json1_0.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-types/commands/index.d.ts +15 -0
- package/dist-types/index.d.ts +4 -20
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/TimestreamWrite.d.ts +16 -123
- package/dist-types/ts3.4/TimestreamWriteClient.d.ts +25 -94
- package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +2 -27
- package/dist-types/ts3.4/commands/DeleteDatabaseCommand.d.ts +2 -28
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +2 -25
- package/dist-types/ts3.4/commands/DescribeDatabaseCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -23
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -21
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -22
- package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +2 -24
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +2 -26
- package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +2 -33
- package/dist-types/ts3.4/commands/index.d.ts +15 -0
- package/dist-types/ts3.4/index.d.ts +4 -20
- package/dist-types/ts3.4/models/models_0.d.ts +137 -581
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -3
- package/package.json +34 -31
- package/dist-cjs/TimestreamWrite.js.map +0 -1
- package/dist-cjs/TimestreamWriteClient.js.map +0 -1
- package/dist-cjs/commands/CreateDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/CreateTableCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteTableCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeEndpointsCommand.js.map +0 -1
- package/dist-cjs/commands/DescribeTableCommand.js.map +0 -1
- package/dist-cjs/commands/ListDatabasesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTablesCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateDatabaseCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateTableCommand.js.map +0 -1
- package/dist-cjs/commands/WriteRecordsCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListDatabasesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListTablesPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_json1_0.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-es/TimestreamWrite.js.map +0 -1
- package/dist-es/TimestreamWriteClient.js.map +0 -1
- package/dist-es/commands/CreateDatabaseCommand.js.map +0 -1
- package/dist-es/commands/CreateTableCommand.js.map +0 -1
- package/dist-es/commands/DeleteDatabaseCommand.js.map +0 -1
- package/dist-es/commands/DeleteTableCommand.js.map +0 -1
- package/dist-es/commands/DescribeDatabaseCommand.js.map +0 -1
- package/dist-es/commands/DescribeEndpointsCommand.js.map +0 -1
- package/dist-es/commands/DescribeTableCommand.js.map +0 -1
- package/dist-es/commands/ListDatabasesCommand.js.map +0 -1
- package/dist-es/commands/ListTablesCommand.js.map +0 -1
- package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateDatabaseCommand.js.map +0 -1
- package/dist-es/commands/UpdateTableCommand.js.map +0 -1
- package/dist-es/commands/WriteRecordsCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListDatabasesPaginator.js.map +0 -1
- package/dist-es/pagination/ListTablesPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_json1_0.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/TimestreamWrite.ts +0 -585
- package/src/TimestreamWriteClient.ts +0 -305
- package/src/commands/CreateDatabaseCommand.ts +0 -102
- package/src/commands/CreateTableCommand.ts +0 -106
- package/src/commands/DeleteDatabaseCommand.ts +0 -107
- package/src/commands/DeleteTableCommand.ts +0 -104
- package/src/commands/DescribeDatabaseCommand.ts +0 -101
- package/src/commands/DescribeEndpointsCommand.ts +0 -108
- package/src/commands/DescribeTableCommand.ts +0 -102
- package/src/commands/ListDatabasesCommand.ts +0 -101
- package/src/commands/ListTablesCommand.ts +0 -100
- package/src/commands/ListTagsForResourceCommand.ts +0 -101
- package/src/commands/TagResourceCommand.ts +0 -103
- package/src/commands/UntagResourceCommand.ts +0 -101
- package/src/commands/UpdateDatabaseCommand.ts +0 -103
- package/src/commands/UpdateTableCommand.ts +0 -105
- package/src/commands/WriteRecordsCommand.ts +0 -112
- package/src/endpoints.ts +0 -57
- package/src/index.ts +0 -21
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -1146
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListDatabasesPaginator.ts +0 -59
- package/src/pagination/ListTablesPaginator.ts +0 -55
- package/src/protocols/Aws_json1_0.ts +0 -2388
- package/src/runtimeConfig.browser.ts +0 -42
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -49
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -15,172 +15,65 @@ import { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./comma
|
|
|
15
15
|
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
16
16
|
import { WriteRecordsCommandInput, WriteRecordsCommandOutput } from "./commands/WriteRecordsCommand";
|
|
17
17
|
import { TimestreamWriteClient } from "./TimestreamWriteClient";
|
|
18
|
-
|
|
19
|
-
* <p>Amazon Timestream is a fast, scalable, fully managed time series database service that makes it easy to store and analyze trillions of time series data points per day. With Timestream, you can easily store and analyze IoT sensor data to derive insights from your IoT applications. You can analyze industrial telemetry to streamline equipment management and maintenance. You can also store and analyze log data and metrics to improve the performance and availability of your applications. Timestream is built from the ground up to effectively ingest, process, and store time series data. It organizes data to optimize query processing. It automatically scales based on the volume of data ingested and on the query volume to ensure you receive optimal performance while inserting and querying data. As your data grows over time, Timestream’s adaptive query processing engine spans across storage tiers to provide fast analysis while reducing costs.</p>
|
|
20
|
-
*/
|
|
18
|
+
|
|
21
19
|
export declare class TimestreamWrite extends TimestreamWriteClient {
|
|
22
|
-
|
|
23
|
-
* <p>Creates a new Timestream database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account.
|
|
24
|
-
* Refer to <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">AWS managed KMS keys</a> for more info.
|
|
25
|
-
* Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.
|
|
26
|
-
* </p>
|
|
27
|
-
*/
|
|
20
|
+
|
|
28
21
|
createDatabase(args: CreateDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatabaseCommandOutput>;
|
|
29
22
|
createDatabase(args: CreateDatabaseCommandInput, cb: (err: any, data?: CreateDatabaseCommandOutput) => void): void;
|
|
30
23
|
createDatabase(args: CreateDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatabaseCommandOutput) => void): void;
|
|
31
|
-
|
|
32
|
-
* <p>The CreateTable operation adds a new table to an existing database in your account. In an AWS account,
|
|
33
|
-
* table names must be at least unique within each Region if they are in the same database.
|
|
34
|
-
* You may have identical table names in the same Region if the tables are in seperate databases.
|
|
35
|
-
* While creating the table, you must specify the table name, database name,
|
|
36
|
-
* and the retention properties.
|
|
37
|
-
* Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a>
|
|
38
|
-
* in the Timestream Developer Guide.
|
|
39
|
-
* </p>
|
|
40
|
-
*/
|
|
24
|
+
|
|
41
25
|
createTable(args: CreateTableCommandInput, options?: __HttpHandlerOptions): Promise<CreateTableCommandOutput>;
|
|
42
26
|
createTable(args: CreateTableCommandInput, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
|
|
43
27
|
createTable(args: CreateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
|
|
44
|
-
|
|
45
|
-
* <p>Deletes a given Timestream database. <i>This is an irreversible operation.
|
|
46
|
-
* After a database is deleted, the time series data from its tables cannot be recovered.</i>
|
|
47
|
-
* </p>
|
|
48
|
-
*
|
|
49
|
-
* <p>All tables in the database must be deleted first, or a ValidationException error will be thrown.
|
|
50
|
-
* </p>
|
|
51
|
-
*
|
|
52
|
-
* <p>Due to the nature of distributed retries,
|
|
53
|
-
* the operation can return either success or a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
54
|
-
*/
|
|
28
|
+
|
|
55
29
|
deleteDatabase(args: DeleteDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatabaseCommandOutput>;
|
|
56
30
|
deleteDatabase(args: DeleteDatabaseCommandInput, cb: (err: any, data?: DeleteDatabaseCommandOutput) => void): void;
|
|
57
31
|
deleteDatabase(args: DeleteDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatabaseCommandOutput) => void): void;
|
|
58
|
-
|
|
59
|
-
* <p>Deletes a given Timestream table. This is an irreversible operation.
|
|
60
|
-
* After a Timestream database table is deleted, the time series data stored in
|
|
61
|
-
* the table cannot be recovered.
|
|
62
|
-
* </p>
|
|
63
|
-
* <p>Due to the nature of distributed retries,
|
|
64
|
-
* the operation can return either success or a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
65
|
-
*/
|
|
32
|
+
|
|
66
33
|
deleteTable(args: DeleteTableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableCommandOutput>;
|
|
67
34
|
deleteTable(args: DeleteTableCommandInput, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
|
|
68
35
|
deleteTable(args: DeleteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
|
|
69
|
-
|
|
70
|
-
* <p>Returns information about the database, including the database name, time that the database was created,
|
|
71
|
-
* and the total number of tables found within the database.
|
|
72
|
-
* Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.</p>
|
|
73
|
-
*/
|
|
36
|
+
|
|
74
37
|
describeDatabase(args: DescribeDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDatabaseCommandOutput>;
|
|
75
38
|
describeDatabase(args: DescribeDatabaseCommandInput, cb: (err: any, data?: DescribeDatabaseCommandOutput) => void): void;
|
|
76
39
|
describeDatabase(args: DescribeDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDatabaseCommandOutput) => void): void;
|
|
77
|
-
|
|
78
|
-
* <p>DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query.</p>
|
|
79
|
-
* <p>Because Timestream’s SDKs are designed to transparently work with the service’s architecture,
|
|
80
|
-
* including the management and mapping of the service endpoints,
|
|
81
|
-
* <i>it is not recommended that you use this API unless</i>:</p>
|
|
82
|
-
* <ul>
|
|
83
|
-
* <li>
|
|
84
|
-
* <p>Your application uses a programming language that does not yet have SDK support</p>
|
|
85
|
-
* </li>
|
|
86
|
-
* <li>
|
|
87
|
-
* <p>You require better control over the client-side implementation</p>
|
|
88
|
-
* </li>
|
|
89
|
-
* </ul>
|
|
90
|
-
* <p>For detailed information on how to use DescribeEndpoints,
|
|
91
|
-
* see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/Using-API.endpoint-discovery.html">The Endpoint Discovery Pattern and REST APIs</a>.</p>
|
|
92
|
-
*/
|
|
40
|
+
|
|
93
41
|
describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointsCommandOutput>;
|
|
94
42
|
describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
|
|
95
43
|
describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
|
|
96
|
-
|
|
97
|
-
* <p>Returns information about the table, including the table name, database name,
|
|
98
|
-
* retention duration of the memory store and the magnetic store.
|
|
99
|
-
* Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.
|
|
100
|
-
* </p>
|
|
101
|
-
*/
|
|
44
|
+
|
|
102
45
|
describeTable(args: DescribeTableCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTableCommandOutput>;
|
|
103
46
|
describeTable(args: DescribeTableCommandInput, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
|
|
104
47
|
describeTable(args: DescribeTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
|
|
105
|
-
|
|
106
|
-
* <p>Returns a list of your Timestream databases.
|
|
107
|
-
* Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.
|
|
108
|
-
* </p>
|
|
109
|
-
*/
|
|
48
|
+
|
|
110
49
|
listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
|
|
111
50
|
listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
|
|
112
51
|
listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
|
|
113
|
-
|
|
114
|
-
* <p>A list of tables, along with the name, status and retention properties of each table.
|
|
115
|
-
* </p>
|
|
116
|
-
*/
|
|
52
|
+
|
|
117
53
|
listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
|
|
118
54
|
listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
119
55
|
listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
|
|
120
|
-
|
|
121
|
-
* <p>
|
|
122
|
-
* List all tags on a Timestream resource.
|
|
123
|
-
* </p>
|
|
124
|
-
*/
|
|
56
|
+
|
|
125
57
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
126
58
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
127
59
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
128
|
-
|
|
129
|
-
* <p>
|
|
130
|
-
* Associate a set of tags with a Timestream resource. You can then activate
|
|
131
|
-
* these user-defined tags so that they appear on the Billing and Cost
|
|
132
|
-
* Management console for cost allocation tracking.
|
|
133
|
-
* </p>
|
|
134
|
-
*/
|
|
60
|
+
|
|
135
61
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
136
62
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
137
63
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
138
|
-
|
|
139
|
-
* <p>
|
|
140
|
-
* Removes the association of tags from a Timestream resource.
|
|
141
|
-
* </p>
|
|
142
|
-
*/
|
|
64
|
+
|
|
143
65
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
144
66
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
145
67
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
146
|
-
|
|
147
|
-
* <p>
|
|
148
|
-
* Modifies the KMS key for an existing database. While updating the database,
|
|
149
|
-
* you must specify the database name and the identifier of the new KMS key to be used (<code>KmsKeyId</code>).
|
|
150
|
-
* If there are any concurrent <code>UpdateDatabase</code> requests, first writer wins.
|
|
151
|
-
* </p>
|
|
152
|
-
*/
|
|
68
|
+
|
|
153
69
|
updateDatabase(args: UpdateDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatabaseCommandOutput>;
|
|
154
70
|
updateDatabase(args: UpdateDatabaseCommandInput, cb: (err: any, data?: UpdateDatabaseCommandOutput) => void): void;
|
|
155
71
|
updateDatabase(args: UpdateDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatabaseCommandOutput) => void): void;
|
|
156
|
-
|
|
157
|
-
* <p>Modifies the retention duration of the memory store and magnetic store for your Timestream table.
|
|
158
|
-
* Note that the change in retention duration takes effect immediately.
|
|
159
|
-
* For example, if the retention period of the memory store was initially set to 2 hours and then changed to 24 hours,
|
|
160
|
-
* the memory store will be capable of holding 24 hours of data, but will
|
|
161
|
-
* be populated with 24 hours of data 22 hours after this change was made.
|
|
162
|
-
* Timestream does not retrieve data from the magnetic store to populate the memory store. </p>
|
|
163
|
-
* <p>Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.</p>
|
|
164
|
-
*/
|
|
72
|
+
|
|
165
73
|
updateTable(args: UpdateTableCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTableCommandOutput>;
|
|
166
74
|
updateTable(args: UpdateTableCommandInput, cb: (err: any, data?: UpdateTableCommandOutput) => void): void;
|
|
167
75
|
updateTable(args: UpdateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTableCommandOutput) => void): void;
|
|
168
|
-
|
|
169
|
-
* <p>The WriteRecords operation enables you to write your time series
|
|
170
|
-
* data into Timestream. You can specify a single data point or a batch
|
|
171
|
-
* of data points to be inserted into the system. Timestream offers you
|
|
172
|
-
* with a flexible schema that auto detects the column names and data types
|
|
173
|
-
* for your Timestream tables based on the dimension names and data types of
|
|
174
|
-
* the data points you specify when invoking writes into the database.
|
|
175
|
-
* Timestream support eventual consistency read semantics. This means that
|
|
176
|
-
* when you query data immediately after writing a batch of data into Timestream,
|
|
177
|
-
* the query results might not reflect the results of a recently completed write
|
|
178
|
-
* operation. The results may also include some stale data. If you repeat the
|
|
179
|
-
* query request after a short time, the results should return the latest data.
|
|
180
|
-
* Service quotas apply. For more information,
|
|
181
|
-
* see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.
|
|
182
|
-
* </p>
|
|
183
|
-
*/
|
|
76
|
+
|
|
184
77
|
writeRecords(args: WriteRecordsCommandInput, options?: __HttpHandlerOptions): Promise<WriteRecordsCommandOutput>;
|
|
185
78
|
writeRecords(args: WriteRecordsCommandInput, cb: (err: any, data?: WriteRecordsCommandOutput) => void): void;
|
|
186
79
|
writeRecords(args: WriteRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: WriteRecordsCommandOutput) => void): void;
|
|
@@ -25,130 +25,61 @@ import { WriteRecordsCommandInput, WriteRecordsCommandOutput } from "./commands/
|
|
|
25
25
|
export declare type ServiceInputTypes = CreateDatabaseCommandInput | CreateTableCommandInput | DeleteDatabaseCommandInput | DeleteTableCommandInput | DescribeDatabaseCommandInput | DescribeEndpointsCommandInput | DescribeTableCommandInput | ListDatabasesCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatabaseCommandInput | UpdateTableCommandInput | WriteRecordsCommandInput;
|
|
26
26
|
export declare type ServiceOutputTypes = CreateDatabaseCommandOutput | CreateTableCommandOutput | DeleteDatabaseCommandOutput | DeleteTableCommandOutput | DescribeDatabaseCommandOutput | DescribeEndpointsCommandOutput | DescribeTableCommandOutput | ListDatabasesCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatabaseCommandOutput | UpdateTableCommandOutput | WriteRecordsCommandOutput;
|
|
27
27
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
28
|
-
|
|
29
|
-
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
30
|
-
*/
|
|
28
|
+
|
|
31
29
|
requestHandler?: __HttpHandler;
|
|
32
|
-
|
|
33
|
-
* A constructor for a class implementing the {@link __Hash} interface
|
|
34
|
-
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
30
|
+
|
|
37
31
|
sha256?: __HashConstructor;
|
|
38
|
-
|
|
39
|
-
* The function that will be used to convert strings into HTTP endpoints.
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
32
|
+
|
|
42
33
|
urlParser?: __UrlParser;
|
|
43
|
-
|
|
44
|
-
* A function that can calculate the length of a request body.
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
34
|
+
|
|
47
35
|
bodyLengthChecker?: (body: any) => number | undefined;
|
|
48
|
-
|
|
49
|
-
* A function that converts a stream into an array of bytes.
|
|
50
|
-
* @internal
|
|
51
|
-
*/
|
|
36
|
+
|
|
52
37
|
streamCollector?: __StreamCollector;
|
|
53
|
-
|
|
54
|
-
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
38
|
+
|
|
57
39
|
base64Decoder?: __Decoder;
|
|
58
|
-
|
|
59
|
-
* The function that will be used to convert binary data to a base64-encoded string.
|
|
60
|
-
* @internal
|
|
61
|
-
*/
|
|
40
|
+
|
|
62
41
|
base64Encoder?: __Encoder;
|
|
63
|
-
|
|
64
|
-
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
65
|
-
* @internal
|
|
66
|
-
*/
|
|
42
|
+
|
|
67
43
|
utf8Decoder?: __Decoder;
|
|
68
|
-
|
|
69
|
-
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
44
|
+
|
|
72
45
|
utf8Encoder?: __Encoder;
|
|
73
|
-
|
|
74
|
-
* The runtime environment.
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
46
|
+
|
|
77
47
|
runtime?: string;
|
|
78
|
-
|
|
79
|
-
* Disable dyanamically changing the endpoint of the client based on the hostPrefix
|
|
80
|
-
* trait of an operation.
|
|
81
|
-
*/
|
|
48
|
+
|
|
82
49
|
disableHostPrefix?: boolean;
|
|
83
|
-
|
|
84
|
-
* Value for how many times a request will be made at most in case of retry.
|
|
85
|
-
*/
|
|
50
|
+
|
|
86
51
|
maxAttempts?: number | __Provider<number>;
|
|
87
|
-
|
|
88
|
-
* Specifies which retry algorithm to use.
|
|
89
|
-
*/
|
|
52
|
+
|
|
90
53
|
retryMode?: string | __Provider<string>;
|
|
91
|
-
|
|
92
|
-
* Optional logger for logging debug/info/warn/error.
|
|
93
|
-
*/
|
|
54
|
+
|
|
94
55
|
logger?: __Logger;
|
|
95
|
-
|
|
96
|
-
* Unique service identifier.
|
|
97
|
-
* @internal
|
|
98
|
-
*/
|
|
56
|
+
|
|
99
57
|
serviceId?: string;
|
|
100
|
-
|
|
101
|
-
* The AWS region to which this client will send requests
|
|
102
|
-
*/
|
|
58
|
+
|
|
103
59
|
region?: string | __Provider<string>;
|
|
104
|
-
|
|
105
|
-
* Default credentials provider; Not available in browser runtime.
|
|
106
|
-
* @internal
|
|
107
|
-
*/
|
|
60
|
+
|
|
108
61
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
109
|
-
|
|
110
|
-
* Fetch related hostname, signing name or signing region with given region.
|
|
111
|
-
* @internal
|
|
112
|
-
*/
|
|
62
|
+
|
|
113
63
|
regionInfoProvider?: RegionInfoProvider;
|
|
114
|
-
|
|
115
|
-
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
116
|
-
* @internal
|
|
117
|
-
*/
|
|
64
|
+
|
|
118
65
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
119
|
-
|
|
120
|
-
* The provider which populates default for endpointDiscoveryEnabled configuration, if it's
|
|
121
|
-
* not passed during client creation.
|
|
122
|
-
* @internal
|
|
123
|
-
*/
|
|
66
|
+
|
|
124
67
|
endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
|
|
125
68
|
}
|
|
126
69
|
declare type TimestreamWriteClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EndpointDiscoveryInputConfig;
|
|
127
|
-
|
|
128
|
-
* The configuration interface of TimestreamWriteClient class constructor that set the region, credentials and other options.
|
|
129
|
-
*/
|
|
70
|
+
|
|
130
71
|
export interface TimestreamWriteClientConfig extends TimestreamWriteClientConfigType {
|
|
131
72
|
}
|
|
132
73
|
declare type TimestreamWriteClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & EndpointDiscoveryResolvedConfig;
|
|
133
|
-
|
|
134
|
-
* The resolved configuration interface of TimestreamWriteClient class. This is resolved and normalized from the {@link TimestreamWriteClientConfig | constructor configuration interface}.
|
|
135
|
-
*/
|
|
74
|
+
|
|
136
75
|
export interface TimestreamWriteClientResolvedConfig extends TimestreamWriteClientResolvedConfigType {
|
|
137
76
|
}
|
|
138
|
-
|
|
139
|
-
* <p>Amazon Timestream is a fast, scalable, fully managed time series database service that makes it easy to store and analyze trillions of time series data points per day. With Timestream, you can easily store and analyze IoT sensor data to derive insights from your IoT applications. You can analyze industrial telemetry to streamline equipment management and maintenance. You can also store and analyze log data and metrics to improve the performance and availability of your applications. Timestream is built from the ground up to effectively ingest, process, and store time series data. It organizes data to optimize query processing. It automatically scales based on the volume of data ingested and on the query volume to ensure you receive optimal performance while inserting and querying data. As your data grows over time, Timestream’s adaptive query processing engine spans across storage tiers to provide fast analysis while reducing costs.</p>
|
|
140
|
-
*/
|
|
77
|
+
|
|
141
78
|
export declare class TimestreamWriteClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig> {
|
|
142
|
-
|
|
143
|
-
* The resolved configuration of TimestreamWriteClient class. This is resolved and normalized from the {@link TimestreamWriteClientConfig | constructor configuration interface}.
|
|
144
|
-
*/
|
|
79
|
+
|
|
145
80
|
readonly config: TimestreamWriteClientResolvedConfig;
|
|
146
81
|
constructor(configuration: TimestreamWriteClientConfig);
|
|
147
|
-
|
|
148
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
149
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
150
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
151
|
-
*/
|
|
82
|
+
|
|
152
83
|
destroy(): void;
|
|
153
84
|
}
|
|
154
85
|
export {};
|
|
@@ -6,32 +6,11 @@ export interface CreateDatabaseCommandInput extends CreateDatabaseRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateDatabaseCommandOutput extends CreateDatabaseResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Creates a new Timestream database. If the KMS key is not specified, the database will be encrypted with a Timestream managed KMS key located in your account.
|
|
11
|
-
* Refer to <a href="https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk">AWS managed KMS keys</a> for more info.
|
|
12
|
-
* Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.
|
|
13
|
-
* </p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { TimestreamWriteClient, CreateDatabaseCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
18
|
-
* // const { TimestreamWriteClient, CreateDatabaseCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
19
|
-
* const client = new TimestreamWriteClient(config);
|
|
20
|
-
* const command = new CreateDatabaseCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link CreateDatabaseCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link CreateDatabaseCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
9
|
+
|
|
29
10
|
export declare class CreateDatabaseCommand extends $Command<CreateDatabaseCommandInput, CreateDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
30
11
|
readonly input: CreateDatabaseCommandInput;
|
|
31
12
|
constructor(input: CreateDatabaseCommandInput);
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
13
|
+
|
|
35
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDatabaseCommandInput, CreateDatabaseCommandOutput>;
|
|
36
15
|
private serialize;
|
|
37
16
|
private deserialize;
|
|
@@ -6,36 +6,11 @@ export interface CreateTableCommandInput extends CreateTableRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface CreateTableCommandOutput extends CreateTableResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>The CreateTable operation adds a new table to an existing database in your account. In an AWS account,
|
|
11
|
-
* table names must be at least unique within each Region if they are in the same database.
|
|
12
|
-
* You may have identical table names in the same Region if the tables are in seperate databases.
|
|
13
|
-
* While creating the table, you must specify the table name, database name,
|
|
14
|
-
* and the retention properties.
|
|
15
|
-
* Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a>
|
|
16
|
-
* in the Timestream Developer Guide.
|
|
17
|
-
* </p>
|
|
18
|
-
* @example
|
|
19
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
20
|
-
* ```javascript
|
|
21
|
-
* import { TimestreamWriteClient, CreateTableCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
22
|
-
* // const { TimestreamWriteClient, CreateTableCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
23
|
-
* const client = new TimestreamWriteClient(config);
|
|
24
|
-
* const command = new CreateTableCommand(input);
|
|
25
|
-
* const response = await client.send(command);
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* @see {@link CreateTableCommandInput} for command's `input` shape.
|
|
29
|
-
* @see {@link CreateTableCommandOutput} for command's `response` shape.
|
|
30
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
31
|
-
*
|
|
32
|
-
*/
|
|
9
|
+
|
|
33
10
|
export declare class CreateTableCommand extends $Command<CreateTableCommandInput, CreateTableCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
34
11
|
readonly input: CreateTableCommandInput;
|
|
35
12
|
constructor(input: CreateTableCommandInput);
|
|
36
|
-
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
13
|
+
|
|
39
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTableCommandInput, CreateTableCommandOutput>;
|
|
40
15
|
private serialize;
|
|
41
16
|
private deserialize;
|
|
@@ -6,37 +6,11 @@ export interface DeleteDatabaseCommandInput extends DeleteDatabaseRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteDatabaseCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes a given Timestream database. <i>This is an irreversible operation.
|
|
11
|
-
* After a database is deleted, the time series data from its tables cannot be recovered.</i>
|
|
12
|
-
* </p>
|
|
13
|
-
*
|
|
14
|
-
* <p>All tables in the database must be deleted first, or a ValidationException error will be thrown.
|
|
15
|
-
* </p>
|
|
16
|
-
*
|
|
17
|
-
* <p>Due to the nature of distributed retries,
|
|
18
|
-
* the operation can return either success or a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
19
|
-
* @example
|
|
20
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
21
|
-
* ```javascript
|
|
22
|
-
* import { TimestreamWriteClient, DeleteDatabaseCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
23
|
-
* // const { TimestreamWriteClient, DeleteDatabaseCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
24
|
-
* const client = new TimestreamWriteClient(config);
|
|
25
|
-
* const command = new DeleteDatabaseCommand(input);
|
|
26
|
-
* const response = await client.send(command);
|
|
27
|
-
* ```
|
|
28
|
-
*
|
|
29
|
-
* @see {@link DeleteDatabaseCommandInput} for command's `input` shape.
|
|
30
|
-
* @see {@link DeleteDatabaseCommandOutput} for command's `response` shape.
|
|
31
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
9
|
+
|
|
34
10
|
export declare class DeleteDatabaseCommand extends $Command<DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
35
11
|
readonly input: DeleteDatabaseCommandInput;
|
|
36
12
|
constructor(input: DeleteDatabaseCommandInput);
|
|
37
|
-
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
13
|
+
|
|
40
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput>;
|
|
41
15
|
private serialize;
|
|
42
16
|
private deserialize;
|
|
@@ -6,34 +6,11 @@ export interface DeleteTableCommandInput extends DeleteTableRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DeleteTableCommandOutput extends __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Deletes a given Timestream table. This is an irreversible operation.
|
|
11
|
-
* After a Timestream database table is deleted, the time series data stored in
|
|
12
|
-
* the table cannot be recovered.
|
|
13
|
-
* </p>
|
|
14
|
-
* <p>Due to the nature of distributed retries,
|
|
15
|
-
* the operation can return either success or a ResourceNotFoundException. Clients should consider them equivalent.</p>
|
|
16
|
-
* @example
|
|
17
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
18
|
-
* ```javascript
|
|
19
|
-
* import { TimestreamWriteClient, DeleteTableCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
20
|
-
* // const { TimestreamWriteClient, DeleteTableCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
21
|
-
* const client = new TimestreamWriteClient(config);
|
|
22
|
-
* const command = new DeleteTableCommand(input);
|
|
23
|
-
* const response = await client.send(command);
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* @see {@link DeleteTableCommandInput} for command's `input` shape.
|
|
27
|
-
* @see {@link DeleteTableCommandOutput} for command's `response` shape.
|
|
28
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
29
|
-
*
|
|
30
|
-
*/
|
|
9
|
+
|
|
31
10
|
export declare class DeleteTableCommand extends $Command<DeleteTableCommandInput, DeleteTableCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
32
11
|
readonly input: DeleteTableCommandInput;
|
|
33
12
|
constructor(input: DeleteTableCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
13
|
+
|
|
37
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTableCommandInput, DeleteTableCommandOutput>;
|
|
38
15
|
private serialize;
|
|
39
16
|
private deserialize;
|
|
@@ -6,31 +6,11 @@ export interface DescribeDatabaseCommandInput extends DescribeDatabaseRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeDatabaseCommandOutput extends DescribeDatabaseResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns information about the database, including the database name, time that the database was created,
|
|
11
|
-
* and the total number of tables found within the database.
|
|
12
|
-
* Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.</p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { TimestreamWriteClient, DescribeDatabaseCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
17
|
-
* // const { TimestreamWriteClient, DescribeDatabaseCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
18
|
-
* const client = new TimestreamWriteClient(config);
|
|
19
|
-
* const command = new DescribeDatabaseCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link DescribeDatabaseCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link DescribeDatabaseCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
9
|
+
|
|
28
10
|
export declare class DescribeDatabaseCommand extends $Command<DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
29
11
|
readonly input: DescribeDatabaseCommandInput;
|
|
30
12
|
constructor(input: DescribeDatabaseCommandInput);
|
|
31
|
-
|
|
32
|
-
* @internal
|
|
33
|
-
*/
|
|
13
|
+
|
|
34
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput>;
|
|
35
15
|
private serialize;
|
|
36
16
|
private deserialize;
|
|
@@ -6,42 +6,11 @@ export interface DescribeEndpointsCommandInput extends DescribeEndpointsRequest
|
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeEndpointsCommandOutput extends DescribeEndpointsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query.</p>
|
|
11
|
-
* <p>Because Timestream’s SDKs are designed to transparently work with the service’s architecture,
|
|
12
|
-
* including the management and mapping of the service endpoints,
|
|
13
|
-
* <i>it is not recommended that you use this API unless</i>:</p>
|
|
14
|
-
* <ul>
|
|
15
|
-
* <li>
|
|
16
|
-
* <p>Your application uses a programming language that does not yet have SDK support</p>
|
|
17
|
-
* </li>
|
|
18
|
-
* <li>
|
|
19
|
-
* <p>You require better control over the client-side implementation</p>
|
|
20
|
-
* </li>
|
|
21
|
-
* </ul>
|
|
22
|
-
* <p>For detailed information on how to use DescribeEndpoints,
|
|
23
|
-
* see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/Using-API.endpoint-discovery.html">The Endpoint Discovery Pattern and REST APIs</a>.</p>
|
|
24
|
-
* @example
|
|
25
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
26
|
-
* ```javascript
|
|
27
|
-
* import { TimestreamWriteClient, DescribeEndpointsCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
28
|
-
* // const { TimestreamWriteClient, DescribeEndpointsCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
29
|
-
* const client = new TimestreamWriteClient(config);
|
|
30
|
-
* const command = new DescribeEndpointsCommand(input);
|
|
31
|
-
* const response = await client.send(command);
|
|
32
|
-
* ```
|
|
33
|
-
*
|
|
34
|
-
* @see {@link DescribeEndpointsCommandInput} for command's `input` shape.
|
|
35
|
-
* @see {@link DescribeEndpointsCommandOutput} for command's `response` shape.
|
|
36
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
37
|
-
*
|
|
38
|
-
*/
|
|
9
|
+
|
|
39
10
|
export declare class DescribeEndpointsCommand extends $Command<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
40
11
|
readonly input: DescribeEndpointsCommandInput;
|
|
41
12
|
constructor(input: DescribeEndpointsCommandInput);
|
|
42
|
-
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
13
|
+
|
|
45
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput>;
|
|
46
15
|
private serialize;
|
|
47
16
|
private deserialize;
|
|
@@ -6,32 +6,11 @@ export interface DescribeTableCommandInput extends DescribeTableRequest {
|
|
|
6
6
|
}
|
|
7
7
|
export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
* <p>Returns information about the table, including the table name, database name,
|
|
11
|
-
* retention duration of the memory store and the magnetic store.
|
|
12
|
-
* Service quotas apply. For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Access Management</a> in the Timestream Developer Guide.
|
|
13
|
-
* </p>
|
|
14
|
-
* @example
|
|
15
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
16
|
-
* ```javascript
|
|
17
|
-
* import { TimestreamWriteClient, DescribeTableCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
18
|
-
* // const { TimestreamWriteClient, DescribeTableCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
19
|
-
* const client = new TimestreamWriteClient(config);
|
|
20
|
-
* const command = new DescribeTableCommand(input);
|
|
21
|
-
* const response = await client.send(command);
|
|
22
|
-
* ```
|
|
23
|
-
*
|
|
24
|
-
* @see {@link DescribeTableCommandInput} for command's `input` shape.
|
|
25
|
-
* @see {@link DescribeTableCommandOutput} for command's `response` shape.
|
|
26
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
27
|
-
*
|
|
28
|
-
*/
|
|
9
|
+
|
|
29
10
|
export declare class DescribeTableCommand extends $Command<DescribeTableCommandInput, DescribeTableCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
30
11
|
readonly input: DescribeTableCommandInput;
|
|
31
12
|
constructor(input: DescribeTableCommandInput);
|
|
32
|
-
|
|
33
|
-
* @internal
|
|
34
|
-
*/
|
|
13
|
+
|
|
35
14
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTableCommandInput, DescribeTableCommandOutput>;
|
|
36
15
|
private serialize;
|
|
37
16
|
private deserialize;
|