@aws-sdk/client-timestream-write 3.54.0 → 3.56.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 +24 -0
- package/dist-cjs/TimestreamWriteClient.js +14 -14
- package/dist-cjs/commands/CreateDatabaseCommand.js +4 -4
- package/dist-cjs/commands/CreateTableCommand.js +4 -4
- package/dist-cjs/commands/DeleteDatabaseCommand.js +4 -4
- package/dist-cjs/commands/DeleteTableCommand.js +4 -4
- package/dist-cjs/commands/DescribeDatabaseCommand.js +4 -4
- package/dist-cjs/commands/DescribeEndpointsCommand.js +3 -3
- package/dist-cjs/commands/DescribeTableCommand.js +4 -4
- package/dist-cjs/commands/ListDatabasesCommand.js +4 -4
- package/dist-cjs/commands/ListTablesCommand.js +4 -4
- package/dist-cjs/commands/ListTagsForResourceCommand.js +4 -4
- package/dist-cjs/commands/TagResourceCommand.js +4 -4
- package/dist-cjs/commands/UntagResourceCommand.js +4 -4
- package/dist-cjs/commands/UpdateDatabaseCommand.js +4 -4
- package/dist-cjs/commands/UpdateTableCommand.js +4 -4
- package/dist-cjs/commands/WriteRecordsCommand.js +4 -4
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_json1_0.js +64 -64
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +10 -10
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/TimestreamWrite.js +15 -15
- package/dist-es/pagination/ListDatabasesPaginator.js +4 -4
- package/dist-es/pagination/ListTablesPaginator.js +4 -4
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +35 -35
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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.56.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.55.0...v3.56.0) (2022-03-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-timestream-write
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.55.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.1...v3.55.0) (2022-03-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-timestream-write
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.54.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.54.0...v3.54.1) (2022-03-15)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-timestream-write
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
# [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @aws-sdk/client-timestream-write
|
|
@@ -14,24 +14,24 @@ const DescribeEndpointsCommand_1 = require("./commands/DescribeEndpointsCommand"
|
|
|
14
14
|
const runtimeConfig_1 = require("./runtimeConfig");
|
|
15
15
|
class TimestreamWriteClient extends smithy_client_1.Client {
|
|
16
16
|
constructor(configuration) {
|
|
17
|
-
const _config_0 = runtimeConfig_1.getRuntimeConfig(configuration);
|
|
18
|
-
const _config_1 = config_resolver_1.resolveRegionConfig(_config_0);
|
|
19
|
-
const _config_2 = config_resolver_1.resolveEndpointsConfig(_config_1);
|
|
20
|
-
const _config_3 = middleware_retry_1.resolveRetryConfig(_config_2);
|
|
21
|
-
const _config_4 = middleware_host_header_1.resolveHostHeaderConfig(_config_3);
|
|
22
|
-
const _config_5 = middleware_signing_1.resolveAwsAuthConfig(_config_4);
|
|
23
|
-
const _config_6 = middleware_user_agent_1.resolveUserAgentConfig(_config_5);
|
|
24
|
-
const _config_7 = middleware_endpoint_discovery_1.resolveEndpointDiscoveryConfig(_config_6, {
|
|
17
|
+
const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration);
|
|
18
|
+
const _config_1 = (0, config_resolver_1.resolveRegionConfig)(_config_0);
|
|
19
|
+
const _config_2 = (0, config_resolver_1.resolveEndpointsConfig)(_config_1);
|
|
20
|
+
const _config_3 = (0, middleware_retry_1.resolveRetryConfig)(_config_2);
|
|
21
|
+
const _config_4 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_3);
|
|
22
|
+
const _config_5 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_4);
|
|
23
|
+
const _config_6 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_5);
|
|
24
|
+
const _config_7 = (0, middleware_endpoint_discovery_1.resolveEndpointDiscoveryConfig)(_config_6, {
|
|
25
25
|
endpointDiscoveryCommandCtor: DescribeEndpointsCommand_1.DescribeEndpointsCommand,
|
|
26
26
|
});
|
|
27
27
|
super(_config_7);
|
|
28
28
|
this.config = _config_7;
|
|
29
|
-
this.middlewareStack.use(middleware_retry_1.getRetryPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(middleware_content_length_1.getContentLengthPlugin(this.config));
|
|
31
|
-
this.middlewareStack.use(middleware_host_header_1.getHostHeaderPlugin(this.config));
|
|
32
|
-
this.middlewareStack.use(middleware_logger_1.getLoggerPlugin(this.config));
|
|
33
|
-
this.middlewareStack.use(middleware_signing_1.getAwsAuthPlugin(this.config));
|
|
34
|
-
this.middlewareStack.use(middleware_user_agent_1.getUserAgentPlugin(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config));
|
|
30
|
+
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
31
|
+
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
32
|
+
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
33
|
+
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
34
|
+
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
35
35
|
}
|
|
36
36
|
destroy() {
|
|
37
37
|
super.destroy();
|
|
@@ -12,8 +12,8 @@ class CreateDatabaseCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class CreateDatabaseCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0CreateDatabaseCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0CreateDatabaseCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0CreateDatabaseCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0CreateDatabaseCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.CreateDatabaseCommand = CreateDatabaseCommand;
|
|
@@ -12,8 +12,8 @@ class CreateTableCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class CreateTableCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0CreateTableCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0CreateTableCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0CreateTableCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0CreateTableCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.CreateTableCommand = CreateTableCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteDatabaseCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class DeleteDatabaseCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0DeleteDatabaseCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0DeleteDatabaseCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0DeleteDatabaseCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0DeleteDatabaseCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteDatabaseCommand = DeleteDatabaseCommand;
|
|
@@ -12,8 +12,8 @@ class DeleteTableCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class DeleteTableCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0DeleteTableCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0DeleteTableCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0DeleteTableCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0DeleteTableCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DeleteTableCommand = DeleteTableCommand;
|
|
@@ -12,8 +12,8 @@ class DescribeDatabaseCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class DescribeDatabaseCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0DescribeDatabaseCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0DescribeDatabaseCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0DescribeDatabaseCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0DescribeDatabaseCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DescribeDatabaseCommand = DescribeDatabaseCommand;
|
|
@@ -11,7 +11,7 @@ class DescribeEndpointsCommand extends smithy_client_1.Command {
|
|
|
11
11
|
this.input = input;
|
|
12
12
|
}
|
|
13
13
|
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
14
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
15
15
|
const stack = clientStack.concat(this.middlewareStack);
|
|
16
16
|
const { logger } = configuration;
|
|
17
17
|
const clientName = "TimestreamWriteClient";
|
|
@@ -27,10 +27,10 @@ class DescribeEndpointsCommand extends smithy_client_1.Command {
|
|
|
27
27
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
28
|
}
|
|
29
29
|
serialize(input, context) {
|
|
30
|
-
return Aws_json1_0_1.serializeAws_json1_0DescribeEndpointsCommand(input, context);
|
|
30
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0DescribeEndpointsCommand)(input, context);
|
|
31
31
|
}
|
|
32
32
|
deserialize(output, context) {
|
|
33
|
-
return Aws_json1_0_1.deserializeAws_json1_0DescribeEndpointsCommand(output, context);
|
|
33
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0DescribeEndpointsCommand)(output, context);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
exports.DescribeEndpointsCommand = DescribeEndpointsCommand;
|
|
@@ -12,8 +12,8 @@ class DescribeTableCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class DescribeTableCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0DescribeTableCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0DescribeTableCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0DescribeTableCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0DescribeTableCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.DescribeTableCommand = DescribeTableCommand;
|
|
@@ -12,8 +12,8 @@ class ListDatabasesCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class ListDatabasesCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0ListDatabasesCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0ListDatabasesCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0ListDatabasesCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0ListDatabasesCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListDatabasesCommand = ListDatabasesCommand;
|
|
@@ -12,8 +12,8 @@ class ListTablesCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class ListTablesCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0ListTablesCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0ListTablesCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0ListTablesCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0ListTablesCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListTablesCommand = ListTablesCommand;
|
|
@@ -12,8 +12,8 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class ListTagsForResourceCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0ListTagsForResourceCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0ListTagsForResourceCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0ListTagsForResourceCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0ListTagsForResourceCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
@@ -12,8 +12,8 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class TagResourceCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0TagResourceCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0TagResourceCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0TagResourceCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0TagResourceCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.TagResourceCommand = TagResourceCommand;
|
|
@@ -12,8 +12,8 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class UntagResourceCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0UntagResourceCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0UntagResourceCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0UntagResourceCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0UntagResourceCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
@@ -12,8 +12,8 @@ class UpdateDatabaseCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class UpdateDatabaseCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0UpdateDatabaseCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0UpdateDatabaseCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0UpdateDatabaseCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0UpdateDatabaseCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.UpdateDatabaseCommand = UpdateDatabaseCommand;
|
|
@@ -12,8 +12,8 @@ class UpdateTableCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class UpdateTableCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0UpdateTableCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0UpdateTableCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0UpdateTableCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0UpdateTableCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.UpdateTableCommand = UpdateTableCommand;
|
|
@@ -12,8 +12,8 @@ class WriteRecordsCommand extends smithy_client_1.Command {
|
|
|
12
12
|
this.input = input;
|
|
13
13
|
}
|
|
14
14
|
resolveMiddleware(clientStack, configuration, options) {
|
|
15
|
-
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
16
|
-
this.middlewareStack.use(middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
15
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
16
|
+
this.middlewareStack.use((0, middleware_endpoint_discovery_1.getEndpointDiscoveryPlugin)(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
|
|
17
17
|
const stack = clientStack.concat(this.middlewareStack);
|
|
18
18
|
const { logger } = configuration;
|
|
19
19
|
const clientName = "TimestreamWriteClient";
|
|
@@ -29,10 +29,10 @@ class WriteRecordsCommand extends smithy_client_1.Command {
|
|
|
29
29
|
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
30
30
|
}
|
|
31
31
|
serialize(input, context) {
|
|
32
|
-
return Aws_json1_0_1.serializeAws_json1_0WriteRecordsCommand(input, context);
|
|
32
|
+
return (0, Aws_json1_0_1.serializeAws_json1_0WriteRecordsCommand)(input, context);
|
|
33
33
|
}
|
|
34
34
|
deserialize(output, context) {
|
|
35
|
-
return Aws_json1_0_1.deserializeAws_json1_0WriteRecordsCommand(output, context);
|
|
35
|
+
return (0, Aws_json1_0_1.deserializeAws_json1_0WriteRecordsCommand)(output, context);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
exports.WriteRecordsCommand = WriteRecordsCommand;
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -122,7 +122,7 @@ const partitionHash = {
|
|
|
122
122
|
],
|
|
123
123
|
},
|
|
124
124
|
};
|
|
125
|
-
const defaultRegionInfoProvider = async (region, options) => config_resolver_1.getRegionInfo(region, {
|
|
125
|
+
const defaultRegionInfoProvider = async (region, options) => (0, config_resolver_1.getRegionInfo)(region, {
|
|
126
126
|
...options,
|
|
127
127
|
signingService: "timestream",
|
|
128
128
|
regionHash,
|