@aws-sdk/client-timestream-write 3.183.0 → 3.185.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.
Files changed (30) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_json1_0.js +2 -2
  3. package/dist-es/TimestreamWrite.js +69 -62
  4. package/dist-es/TimestreamWriteClient.js +29 -23
  5. package/dist-es/commands/CreateDatabaseCommand.js +29 -22
  6. package/dist-es/commands/CreateTableCommand.js +29 -22
  7. package/dist-es/commands/DeleteDatabaseCommand.js +30 -23
  8. package/dist-es/commands/DeleteTableCommand.js +30 -23
  9. package/dist-es/commands/DescribeDatabaseCommand.js +29 -22
  10. package/dist-es/commands/DescribeEndpointsCommand.js +28 -21
  11. package/dist-es/commands/DescribeTableCommand.js +29 -22
  12. package/dist-es/commands/ListDatabasesCommand.js +29 -22
  13. package/dist-es/commands/ListTablesCommand.js +29 -22
  14. package/dist-es/commands/ListTagsForResourceCommand.js +29 -22
  15. package/dist-es/commands/TagResourceCommand.js +29 -22
  16. package/dist-es/commands/UntagResourceCommand.js +29 -22
  17. package/dist-es/commands/UpdateDatabaseCommand.js +29 -22
  18. package/dist-es/commands/UpdateTableCommand.js +29 -22
  19. package/dist-es/commands/WriteRecordsCommand.js +29 -22
  20. package/dist-es/endpoints.js +8 -8
  21. package/dist-es/models/TimestreamWriteServiceException.js +10 -5
  22. package/dist-es/models/models_0.js +151 -232
  23. package/dist-es/pagination/ListDatabasesPaginator.js +68 -25
  24. package/dist-es/pagination/ListTablesPaginator.js +68 -25
  25. package/dist-es/protocols/Aws_json1_0.js +1496 -1175
  26. package/dist-es/runtimeConfig.browser.js +12 -27
  27. package/dist-es/runtimeConfig.js +12 -31
  28. package/dist-es/runtimeConfig.native.js +5 -8
  29. package/dist-es/runtimeConfig.shared.js +11 -8
  30. package/package.json +5 -5
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DeleteTableRequestFilterSensitiveLog } from "../models/models_0";
5
6
  import { deserializeAws_json1_0DeleteTableCommand, serializeAws_json1_0DeleteTableCommand, } from "../protocols/Aws_json1_0";
6
- export class DeleteTableCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DeleteTableCommand = (function (_super) {
8
+ __extends(DeleteTableCommand, _super);
9
+ function DeleteTableCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DeleteTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamWriteClient";
17
- const commandName = "DeleteTableCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamWriteClient";
20
+ var commandName = "DeleteTableCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DeleteTableRequestFilterSensitiveLog,
23
- outputFilterSensitiveLog: (output) => output,
26
+ outputFilterSensitiveLog: function (output) { return output; },
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DeleteTableCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0DeleteTableCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DeleteTableCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0DeleteTableCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DeleteTableCommand;
40
+ }($Command));
41
+ export { DeleteTableCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DescribeDatabaseRequestFilterSensitiveLog, DescribeDatabaseResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0DescribeDatabaseCommand, serializeAws_json1_0DescribeDatabaseCommand, } from "../protocols/Aws_json1_0";
6
- export class DescribeDatabaseCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DescribeDatabaseCommand = (function (_super) {
8
+ __extends(DescribeDatabaseCommand, _super);
9
+ function DescribeDatabaseCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DescribeDatabaseCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamWriteClient";
17
- const commandName = "DescribeDatabaseCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamWriteClient";
20
+ var commandName = "DescribeDatabaseCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DescribeDatabaseRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: DescribeDatabaseResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DescribeDatabaseCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0DescribeDatabaseCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DescribeDatabaseCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0DescribeDatabaseCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DescribeDatabaseCommand;
40
+ }($Command));
41
+ export { DescribeDatabaseCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DescribeEndpointsRequestFilterSensitiveLog, DescribeEndpointsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_0DescribeEndpointsCommand, serializeAws_json1_0DescribeEndpointsCommand, } from "../protocols/Aws_json1_0";
5
- export class DescribeEndpointsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeEndpointsCommand = (function (_super) {
7
+ __extends(DescribeEndpointsCommand, _super);
8
+ function DescribeEndpointsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeEndpointsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "TimestreamWriteClient";
15
- const commandName = "DescribeEndpointsCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "TimestreamWriteClient";
18
+ var commandName = "DescribeEndpointsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeEndpointsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeEndpointsResponseFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DescribeEndpointsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_0DescribeEndpointsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeEndpointsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_0DescribeEndpointsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeEndpointsCommand;
38
+ }($Command));
39
+ export { DescribeEndpointsCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { DescribeTableRequestFilterSensitiveLog, DescribeTableResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0DescribeTableCommand, serializeAws_json1_0DescribeTableCommand, } from "../protocols/Aws_json1_0";
6
- export class DescribeTableCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var DescribeTableCommand = (function (_super) {
8
+ __extends(DescribeTableCommand, _super);
9
+ function DescribeTableCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ DescribeTableCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamWriteClient";
17
- const commandName = "DescribeTableCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamWriteClient";
20
+ var commandName = "DescribeTableCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: DescribeTableRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: DescribeTableResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ DescribeTableCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0DescribeTableCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ DescribeTableCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0DescribeTableCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return DescribeTableCommand;
40
+ }($Command));
41
+ export { DescribeTableCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { ListDatabasesRequestFilterSensitiveLog, ListDatabasesResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0ListDatabasesCommand, serializeAws_json1_0ListDatabasesCommand, } from "../protocols/Aws_json1_0";
6
- export class ListDatabasesCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListDatabasesCommand = (function (_super) {
8
+ __extends(ListDatabasesCommand, _super);
9
+ function ListDatabasesCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListDatabasesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamWriteClient";
17
- const commandName = "ListDatabasesCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamWriteClient";
20
+ var commandName = "ListDatabasesCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ListDatabasesRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: ListDatabasesResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ListDatabasesCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0ListDatabasesCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ListDatabasesCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0ListDatabasesCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ListDatabasesCommand;
40
+ }($Command));
41
+ export { ListDatabasesCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { ListTablesRequestFilterSensitiveLog, ListTablesResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0ListTablesCommand, serializeAws_json1_0ListTablesCommand, } from "../protocols/Aws_json1_0";
6
- export class ListTablesCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListTablesCommand = (function (_super) {
8
+ __extends(ListTablesCommand, _super);
9
+ function ListTablesCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListTablesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamWriteClient";
17
- const commandName = "ListTablesCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamWriteClient";
20
+ var commandName = "ListTablesCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ListTablesRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: ListTablesResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ListTablesCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0ListTablesCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ListTablesCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0ListTablesCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ListTablesCommand;
40
+ }($Command));
41
+ export { ListTablesCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { ListTagsForResourceRequestFilterSensitiveLog, ListTagsForResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0ListTagsForResourceCommand, serializeAws_json1_0ListTagsForResourceCommand, } from "../protocols/Aws_json1_0";
6
- export class ListTagsForResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var ListTagsForResourceCommand = (function (_super) {
8
+ __extends(ListTagsForResourceCommand, _super);
9
+ function ListTagsForResourceCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ ListTagsForResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamWriteClient";
17
- const commandName = "ListTagsForResourceCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamWriteClient";
20
+ var commandName = "ListTagsForResourceCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: ListTagsForResourceRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: ListTagsForResourceResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ ListTagsForResourceCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0ListTagsForResourceCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ ListTagsForResourceCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0ListTagsForResourceCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return ListTagsForResourceCommand;
40
+ }($Command));
41
+ export { ListTagsForResourceCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { TagResourceRequestFilterSensitiveLog, TagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0TagResourceCommand, serializeAws_json1_0TagResourceCommand, } from "../protocols/Aws_json1_0";
6
- export class TagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var TagResourceCommand = (function (_super) {
8
+ __extends(TagResourceCommand, _super);
9
+ function TagResourceCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ TagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamWriteClient";
17
- const commandName = "TagResourceCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamWriteClient";
20
+ var commandName = "TagResourceCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: TagResourceRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: TagResourceResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ TagResourceCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0TagResourceCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ TagResourceCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0TagResourceCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return TagResourceCommand;
40
+ }($Command));
41
+ export { TagResourceCommand };
@@ -1,34 +1,41 @@
1
+ import { __extends } from "tslib";
1
2
  import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discovery";
2
3
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
4
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
5
  import { UntagResourceRequestFilterSensitiveLog, UntagResourceResponseFilterSensitiveLog, } from "../models/models_0";
5
6
  import { deserializeAws_json1_0UntagResourceCommand, serializeAws_json1_0UntagResourceCommand, } from "../protocols/Aws_json1_0";
6
- export class UntagResourceCommand extends $Command {
7
- constructor(input) {
8
- super();
9
- this.input = input;
7
+ var UntagResourceCommand = (function (_super) {
8
+ __extends(UntagResourceCommand, _super);
9
+ function UntagResourceCommand(input) {
10
+ var _this = _super.call(this) || this;
11
+ _this.input = input;
12
+ return _this;
10
13
  }
11
- resolveMiddleware(clientStack, configuration, options) {
14
+ UntagResourceCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
12
15
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
13
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, options, isDiscoveredEndpointRequired: true }));
14
- const stack = clientStack.concat(this.middlewareStack);
15
- const { logger } = configuration;
16
- const clientName = "TimestreamWriteClient";
17
- const commandName = "UntagResourceCommand";
18
- const handlerExecutionContext = {
19
- logger,
20
- clientName,
21
- commandName,
16
+ this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack: clientStack, options: options, isDiscoveredEndpointRequired: true }));
17
+ var stack = clientStack.concat(this.middlewareStack);
18
+ var logger = configuration.logger;
19
+ var clientName = "TimestreamWriteClient";
20
+ var commandName = "UntagResourceCommand";
21
+ var handlerExecutionContext = {
22
+ logger: logger,
23
+ clientName: clientName,
24
+ commandName: commandName,
22
25
  inputFilterSensitiveLog: UntagResourceRequestFilterSensitiveLog,
23
26
  outputFilterSensitiveLog: UntagResourceResponseFilterSensitiveLog,
24
27
  };
25
- const { requestHandler } = configuration;
26
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
27
- }
28
- serialize(input, context) {
28
+ var requestHandler = configuration.requestHandler;
29
+ return stack.resolve(function (request) {
30
+ return requestHandler.handle(request.request, options || {});
31
+ }, handlerExecutionContext);
32
+ };
33
+ UntagResourceCommand.prototype.serialize = function (input, context) {
29
34
  return serializeAws_json1_0UntagResourceCommand(input, context);
30
- }
31
- deserialize(output, context) {
35
+ };
36
+ UntagResourceCommand.prototype.deserialize = function (output, context) {
32
37
  return deserializeAws_json1_0UntagResourceCommand(output, context);
33
- }
34
- }
38
+ };
39
+ return UntagResourceCommand;
40
+ }($Command));
41
+ export { UntagResourceCommand };