@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,53 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.38.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.37.0...v3.38.0) (2021-10-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **client-documentation-generator:** rename package ([#2916](https://github.com/aws/aws-sdk-js-v3/issues/2916)) ([1a80bfd](https://github.com/aws/aws-sdk-js-v3/commit/1a80bfd2dfc583001ddb4a21b6432eaaad699aa7))
|
|
12
|
+
* **clients:** export folder from index.ts ([#2912](https://github.com/aws/aws-sdk-js-v3/issues/2912)) ([183b46d](https://github.com/aws/aws-sdk-js-v3/commit/183b46dde7f5613128038bf1c076f3c0b693203b))
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# [3.37.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.1...v3.37.0) (2021-10-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **clients:** update clients as of 10/15/2021 ([#2902](https://github.com/aws/aws-sdk-js-v3/issues/2902)) ([2730b54](https://github.com/aws/aws-sdk-js-v3/commit/2730b5424377944a5a2ad5e1ad7d3ca4135dae1c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
## [3.36.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.36.0...v3.36.1) (2021-10-12)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
### Bug Fixes
|
|
33
|
+
|
|
34
|
+
* **clients:** emitDeclarationOnly in tsconfig.types.json ([#2893](https://github.com/aws/aws-sdk-js-v3/issues/2893)) ([6dc3d56](https://github.com/aws/aws-sdk-js-v3/commit/6dc3d56c20809c90cbdc4dd48627eeebc64af99d))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
# [3.36.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.35.0...v3.36.0) (2021-10-08)
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* publish files in dist-* only ([#2873](https://github.com/aws/aws-sdk-js-v3/issues/2873)) ([53b4243](https://github.com/aws/aws-sdk-js-v3/commit/53b4243b066f25ff2412d5f0dea1036054b2df32))
|
|
46
|
+
* **codegen:** ts-ignore packageInfo imports in codegen ([#2875](https://github.com/aws/aws-sdk-js-v3/issues/2875)) ([99d9267](https://github.com/aws/aws-sdk-js-v3/commit/99d926762193e83a354edec6e9de2b0543449704))
|
|
47
|
+
* **tsconfig:** remove sourceMap ([#2867](https://github.com/aws/aws-sdk-js-v3/issues/2867)) ([d25f526](https://github.com/aws/aws-sdk-js-v3/commit/d25f526627a02a2ca28675fecce66c76b6c97966))
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
6
53
|
# [3.35.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.34.0...v3.35.0) (2021-10-04)
|
|
7
54
|
|
|
8
55
|
|
|
@@ -17,9 +17,6 @@ const UpdateDatabaseCommand_1 = require("./commands/UpdateDatabaseCommand");
|
|
|
17
17
|
const UpdateTableCommand_1 = require("./commands/UpdateTableCommand");
|
|
18
18
|
const WriteRecordsCommand_1 = require("./commands/WriteRecordsCommand");
|
|
19
19
|
const TimestreamWriteClient_1 = require("./TimestreamWriteClient");
|
|
20
|
-
/**
|
|
21
|
-
* <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>
|
|
22
|
-
*/
|
|
23
20
|
class TimestreamWrite extends TimestreamWriteClient_1.TimestreamWriteClient {
|
|
24
21
|
createDatabase(args, optionsOrCb, cb) {
|
|
25
22
|
const command = new CreateDatabaseCommand_1.CreateDatabaseCommand(args);
|
|
@@ -233,4 +230,3 @@ class TimestreamWrite extends TimestreamWriteClient_1.TimestreamWriteClient {
|
|
|
233
230
|
}
|
|
234
231
|
}
|
|
235
232
|
exports.TimestreamWrite = TimestreamWrite;
|
|
236
|
-
//# sourceMappingURL=TimestreamWrite.js.map
|
|
@@ -12,9 +12,6 @@ const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
|
12
12
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
13
13
|
const DescribeEndpointsCommand_1 = require("./commands/DescribeEndpointsCommand");
|
|
14
14
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
15
|
-
/**
|
|
16
|
-
* <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>
|
|
17
|
-
*/
|
|
18
15
|
class TimestreamWriteClient extends smithy_client_1.Client {
|
|
19
16
|
constructor(configuration) {
|
|
20
17
|
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
@@ -36,14 +33,8 @@ class TimestreamWriteClient extends smithy_client_1.Client {
|
|
|
36
33
|
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
37
34
|
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
38
35
|
}
|
|
39
|
-
/**
|
|
40
|
-
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
41
|
-
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
42
|
-
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
43
|
-
*/
|
|
44
36
|
destroy() {
|
|
45
37
|
super.destroy();
|
|
46
38
|
}
|
|
47
39
|
}
|
|
48
40
|
exports.TimestreamWriteClient = TimestreamWriteClient;
|
|
49
|
-
//# sourceMappingURL=TimestreamWriteClient.js.map
|
|
@@ -6,38 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
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
|
-
*/
|
|
29
9
|
class CreateDatabaseCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
10
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
11
|
super();
|
|
35
12
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
13
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -63,4 +36,3 @@ class CreateDatabaseCommand extends smithy_client_1.Command {
|
|
|
63
36
|
}
|
|
64
37
|
}
|
|
65
38
|
exports.CreateDatabaseCommand = CreateDatabaseCommand;
|
|
66
|
-
//# sourceMappingURL=CreateDatabaseCommand.js.map
|
|
@@ -6,42 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
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
|
-
*/
|
|
33
9
|
class CreateTableCommand extends smithy_client_1.Command {
|
|
34
|
-
// Start section: command_properties
|
|
35
|
-
// End section: command_properties
|
|
36
10
|
constructor(input) {
|
|
37
|
-
// Start section: command_constructor
|
|
38
11
|
super();
|
|
39
12
|
this.input = input;
|
|
40
|
-
// End section: command_constructor
|
|
41
13
|
}
|
|
42
|
-
/**
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
45
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
46
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
47
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -67,4 +36,3 @@ class CreateTableCommand extends smithy_client_1.Command {
|
|
|
67
36
|
}
|
|
68
37
|
}
|
|
69
38
|
exports.CreateTableCommand = CreateTableCommand;
|
|
70
|
-
//# sourceMappingURL=CreateTableCommand.js.map
|
|
@@ -6,43 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
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
|
-
*/
|
|
34
9
|
class DeleteDatabaseCommand extends smithy_client_1.Command {
|
|
35
|
-
// Start section: command_properties
|
|
36
|
-
// End section: command_properties
|
|
37
10
|
constructor(input) {
|
|
38
|
-
// Start section: command_constructor
|
|
39
11
|
super();
|
|
40
12
|
this.input = input;
|
|
41
|
-
// End section: command_constructor
|
|
42
13
|
}
|
|
43
|
-
/**
|
|
44
|
-
* @internal
|
|
45
|
-
*/
|
|
46
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
47
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
48
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -68,4 +36,3 @@ class DeleteDatabaseCommand extends smithy_client_1.Command {
|
|
|
68
36
|
}
|
|
69
37
|
}
|
|
70
38
|
exports.DeleteDatabaseCommand = DeleteDatabaseCommand;
|
|
71
|
-
//# sourceMappingURL=DeleteDatabaseCommand.js.map
|
|
@@ -6,40 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
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
|
-
*/
|
|
31
9
|
class DeleteTableCommand extends smithy_client_1.Command {
|
|
32
|
-
// Start section: command_properties
|
|
33
|
-
// End section: command_properties
|
|
34
10
|
constructor(input) {
|
|
35
|
-
// Start section: command_constructor
|
|
36
11
|
super();
|
|
37
12
|
this.input = input;
|
|
38
|
-
// End section: command_constructor
|
|
39
13
|
}
|
|
40
|
-
/**
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
44
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
45
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -65,4 +36,3 @@ class DeleteTableCommand extends smithy_client_1.Command {
|
|
|
65
36
|
}
|
|
66
37
|
}
|
|
67
38
|
exports.DeleteTableCommand = DeleteTableCommand;
|
|
68
|
-
//# sourceMappingURL=DeleteTableCommand.js.map
|
|
@@ -6,37 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
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
|
-
*/
|
|
28
9
|
class DescribeDatabaseCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
10
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
11
|
super();
|
|
34
12
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
13
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -62,4 +36,3 @@ class DescribeDatabaseCommand extends smithy_client_1.Command {
|
|
|
62
36
|
}
|
|
63
37
|
}
|
|
64
38
|
exports.DescribeDatabaseCommand = DescribeDatabaseCommand;
|
|
65
|
-
//# sourceMappingURL=DescribeDatabaseCommand.js.map
|
|
@@ -5,48 +5,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
6
|
const models_0_1 = require("../models/models_0");
|
|
7
7
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
8
|
-
/**
|
|
9
|
-
* <p>DescribeEndpoints returns a list of available endpoints to make Timestream API calls against. This API is available through both Write and Query.</p>
|
|
10
|
-
* <p>Because Timestream’s SDKs are designed to transparently work with the service’s architecture,
|
|
11
|
-
* including the management and mapping of the service endpoints,
|
|
12
|
-
* <i>it is not recommended that you use this API unless</i>:</p>
|
|
13
|
-
* <ul>
|
|
14
|
-
* <li>
|
|
15
|
-
* <p>Your application uses a programming language that does not yet have SDK support</p>
|
|
16
|
-
* </li>
|
|
17
|
-
* <li>
|
|
18
|
-
* <p>You require better control over the client-side implementation</p>
|
|
19
|
-
* </li>
|
|
20
|
-
* </ul>
|
|
21
|
-
* <p>For detailed information on how to use DescribeEndpoints,
|
|
22
|
-
* 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>
|
|
23
|
-
* @example
|
|
24
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
-
* ```javascript
|
|
26
|
-
* import { TimestreamWriteClient, DescribeEndpointsCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
27
|
-
* // const { TimestreamWriteClient, DescribeEndpointsCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
28
|
-
* const client = new TimestreamWriteClient(config);
|
|
29
|
-
* const command = new DescribeEndpointsCommand(input);
|
|
30
|
-
* const response = await client.send(command);
|
|
31
|
-
* ```
|
|
32
|
-
*
|
|
33
|
-
* @see {@link DescribeEndpointsCommandInput} for command's `input` shape.
|
|
34
|
-
* @see {@link DescribeEndpointsCommandOutput} for command's `response` shape.
|
|
35
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
36
|
-
*
|
|
37
|
-
*/
|
|
38
8
|
class DescribeEndpointsCommand extends smithy_client_1.Command {
|
|
39
|
-
// Start section: command_properties
|
|
40
|
-
// End section: command_properties
|
|
41
9
|
constructor(input) {
|
|
42
|
-
// Start section: command_constructor
|
|
43
10
|
super();
|
|
44
11
|
this.input = input;
|
|
45
|
-
// End section: command_constructor
|
|
46
12
|
}
|
|
47
|
-
/**
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
50
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
51
14
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
52
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
@@ -71,4 +34,3 @@ class DescribeEndpointsCommand extends smithy_client_1.Command {
|
|
|
71
34
|
}
|
|
72
35
|
}
|
|
73
36
|
exports.DescribeEndpointsCommand = DescribeEndpointsCommand;
|
|
74
|
-
//# sourceMappingURL=DescribeEndpointsCommand.js.map
|
|
@@ -6,38 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
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
|
-
*/
|
|
29
9
|
class DescribeTableCommand extends smithy_client_1.Command {
|
|
30
|
-
// Start section: command_properties
|
|
31
|
-
// End section: command_properties
|
|
32
10
|
constructor(input) {
|
|
33
|
-
// Start section: command_constructor
|
|
34
11
|
super();
|
|
35
12
|
this.input = input;
|
|
36
|
-
// End section: command_constructor
|
|
37
13
|
}
|
|
38
|
-
/**
|
|
39
|
-
* @internal
|
|
40
|
-
*/
|
|
41
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
42
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
43
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -63,4 +36,3 @@ class DescribeTableCommand extends smithy_client_1.Command {
|
|
|
63
36
|
}
|
|
64
37
|
}
|
|
65
38
|
exports.DescribeTableCommand = DescribeTableCommand;
|
|
66
|
-
//# sourceMappingURL=DescribeTableCommand.js.map
|
|
@@ -6,37 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
-
/**
|
|
10
|
-
* <p>Returns a list of your Timestream databases.
|
|
11
|
-
* 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.
|
|
12
|
-
* </p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { TimestreamWriteClient, ListDatabasesCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
17
|
-
* // const { TimestreamWriteClient, ListDatabasesCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
18
|
-
* const client = new TimestreamWriteClient(config);
|
|
19
|
-
* const command = new ListDatabasesCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link ListDatabasesCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link ListDatabasesCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
9
|
class ListDatabasesCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
10
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
11
|
super();
|
|
34
12
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
13
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -62,4 +36,3 @@ class ListDatabasesCommand extends smithy_client_1.Command {
|
|
|
62
36
|
}
|
|
63
37
|
}
|
|
64
38
|
exports.ListDatabasesCommand = ListDatabasesCommand;
|
|
65
|
-
//# sourceMappingURL=ListDatabasesCommand.js.map
|
|
@@ -6,36 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
-
/**
|
|
10
|
-
* <p>A list of tables, along with the name, status and retention properties of each table.
|
|
11
|
-
* </p>
|
|
12
|
-
* @example
|
|
13
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
14
|
-
* ```javascript
|
|
15
|
-
* import { TimestreamWriteClient, ListTablesCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
16
|
-
* // const { TimestreamWriteClient, ListTablesCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
17
|
-
* const client = new TimestreamWriteClient(config);
|
|
18
|
-
* const command = new ListTablesCommand(input);
|
|
19
|
-
* const response = await client.send(command);
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* @see {@link ListTablesCommandInput} for command's `input` shape.
|
|
23
|
-
* @see {@link ListTablesCommandOutput} for command's `response` shape.
|
|
24
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
25
|
-
*
|
|
26
|
-
*/
|
|
27
9
|
class ListTablesCommand extends smithy_client_1.Command {
|
|
28
|
-
// Start section: command_properties
|
|
29
|
-
// End section: command_properties
|
|
30
10
|
constructor(input) {
|
|
31
|
-
// Start section: command_constructor
|
|
32
11
|
super();
|
|
33
12
|
this.input = input;
|
|
34
|
-
// End section: command_constructor
|
|
35
13
|
}
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
40
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
41
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -61,4 +36,3 @@ class ListTablesCommand extends smithy_client_1.Command {
|
|
|
61
36
|
}
|
|
62
37
|
}
|
|
63
38
|
exports.ListTablesCommand = ListTablesCommand;
|
|
64
|
-
//# sourceMappingURL=ListTablesCommand.js.map
|
|
@@ -6,37 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
-
/**
|
|
10
|
-
* <p>
|
|
11
|
-
* List all tags on a Timestream resource.
|
|
12
|
-
* </p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { TimestreamWriteClient, ListTagsForResourceCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
17
|
-
* // const { TimestreamWriteClient, ListTagsForResourceCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
18
|
-
* const client = new TimestreamWriteClient(config);
|
|
19
|
-
* const command = new ListTagsForResourceCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
9
|
class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
10
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
11
|
super();
|
|
34
12
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
13
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -62,4 +36,3 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
62
36
|
}
|
|
63
37
|
}
|
|
64
38
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
65
|
-
//# sourceMappingURL=ListTagsForResourceCommand.js.map
|
|
@@ -6,39 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
-
/**
|
|
10
|
-
* <p>
|
|
11
|
-
* Associate a set of tags with a Timestream resource. You can then activate
|
|
12
|
-
* these user-defined tags so that they appear on the Billing and Cost
|
|
13
|
-
* Management console for cost allocation tracking.
|
|
14
|
-
* </p>
|
|
15
|
-
* @example
|
|
16
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
17
|
-
* ```javascript
|
|
18
|
-
* import { TimestreamWriteClient, TagResourceCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
19
|
-
* // const { TimestreamWriteClient, TagResourceCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
20
|
-
* const client = new TimestreamWriteClient(config);
|
|
21
|
-
* const command = new TagResourceCommand(input);
|
|
22
|
-
* const response = await client.send(command);
|
|
23
|
-
* ```
|
|
24
|
-
*
|
|
25
|
-
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
26
|
-
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
27
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
28
|
-
*
|
|
29
|
-
*/
|
|
30
9
|
class TagResourceCommand extends smithy_client_1.Command {
|
|
31
|
-
// Start section: command_properties
|
|
32
|
-
// End section: command_properties
|
|
33
10
|
constructor(input) {
|
|
34
|
-
// Start section: command_constructor
|
|
35
11
|
super();
|
|
36
12
|
this.input = input;
|
|
37
|
-
// End section: command_constructor
|
|
38
13
|
}
|
|
39
|
-
/**
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
42
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
43
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
44
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -64,4 +36,3 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
64
36
|
}
|
|
65
37
|
}
|
|
66
38
|
exports.TagResourceCommand = TagResourceCommand;
|
|
67
|
-
//# sourceMappingURL=TagResourceCommand.js.map
|
|
@@ -6,37 +6,11 @@ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
|
6
6
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
7
|
const models_0_1 = require("../models/models_0");
|
|
8
8
|
const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
|
|
9
|
-
/**
|
|
10
|
-
* <p>
|
|
11
|
-
* Removes the association of tags from a Timestream resource.
|
|
12
|
-
* </p>
|
|
13
|
-
* @example
|
|
14
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
15
|
-
* ```javascript
|
|
16
|
-
* import { TimestreamWriteClient, UntagResourceCommand } from "@aws-sdk/client-timestream-write"; // ES Modules import
|
|
17
|
-
* // const { TimestreamWriteClient, UntagResourceCommand } = require("@aws-sdk/client-timestream-write"); // CommonJS import
|
|
18
|
-
* const client = new TimestreamWriteClient(config);
|
|
19
|
-
* const command = new UntagResourceCommand(input);
|
|
20
|
-
* const response = await client.send(command);
|
|
21
|
-
* ```
|
|
22
|
-
*
|
|
23
|
-
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
24
|
-
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
25
|
-
* @see {@link TimestreamWriteClientResolvedConfig | config} for command's `input` shape.
|
|
26
|
-
*
|
|
27
|
-
*/
|
|
28
9
|
class UntagResourceCommand extends smithy_client_1.Command {
|
|
29
|
-
// Start section: command_properties
|
|
30
|
-
// End section: command_properties
|
|
31
10
|
constructor(input) {
|
|
32
|
-
// Start section: command_constructor
|
|
33
11
|
super();
|
|
34
12
|
this.input = input;
|
|
35
|
-
// End section: command_constructor
|
|
36
13
|
}
|
|
37
|
-
/**
|
|
38
|
-
* @internal
|
|
39
|
-
*/
|
|
40
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
41
15
|
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
42
16
|
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
@@ -62,4 +36,3 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
62
36
|
}
|
|
63
37
|
}
|
|
64
38
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
65
|
-
//# sourceMappingURL=UntagResourceCommand.js.map
|