@aws-sdk/client-timestream-write 3.477.0 → 3.481.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 (93) hide show
  1. package/dist-cjs/commands/CreateBatchLoadTaskCommand.js +19 -42
  2. package/dist-cjs/commands/CreateDatabaseCommand.js +19 -42
  3. package/dist-cjs/commands/CreateTableCommand.js +19 -42
  4. package/dist-cjs/commands/DeleteDatabaseCommand.js +19 -42
  5. package/dist-cjs/commands/DeleteTableCommand.js +19 -42
  6. package/dist-cjs/commands/DescribeBatchLoadTaskCommand.js +19 -42
  7. package/dist-cjs/commands/DescribeDatabaseCommand.js +19 -42
  8. package/dist-cjs/commands/DescribeEndpointsCommand.js +18 -41
  9. package/dist-cjs/commands/DescribeTableCommand.js +19 -42
  10. package/dist-cjs/commands/ListBatchLoadTasksCommand.js +19 -42
  11. package/dist-cjs/commands/ListDatabasesCommand.js +19 -42
  12. package/dist-cjs/commands/ListTablesCommand.js +19 -42
  13. package/dist-cjs/commands/ListTagsForResourceCommand.js +19 -42
  14. package/dist-cjs/commands/ResumeBatchLoadTaskCommand.js +19 -42
  15. package/dist-cjs/commands/TagResourceCommand.js +19 -42
  16. package/dist-cjs/commands/UntagResourceCommand.js +19 -42
  17. package/dist-cjs/commands/UpdateDatabaseCommand.js +19 -42
  18. package/dist-cjs/commands/UpdateTableCommand.js +19 -42
  19. package/dist-cjs/commands/WriteRecordsCommand.js +19 -42
  20. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  21. package/dist-cjs/pagination/ListBatchLoadTasksPaginator.js +2 -24
  22. package/dist-cjs/pagination/ListDatabasesPaginator.js +2 -24
  23. package/dist-cjs/pagination/ListTablesPaginator.js +2 -24
  24. package/dist-es/commands/CreateBatchLoadTaskCommand.js +19 -42
  25. package/dist-es/commands/CreateDatabaseCommand.js +19 -42
  26. package/dist-es/commands/CreateTableCommand.js +19 -42
  27. package/dist-es/commands/DeleteDatabaseCommand.js +19 -42
  28. package/dist-es/commands/DeleteTableCommand.js +19 -42
  29. package/dist-es/commands/DescribeBatchLoadTaskCommand.js +19 -42
  30. package/dist-es/commands/DescribeDatabaseCommand.js +19 -42
  31. package/dist-es/commands/DescribeEndpointsCommand.js +18 -41
  32. package/dist-es/commands/DescribeTableCommand.js +19 -42
  33. package/dist-es/commands/ListBatchLoadTasksCommand.js +19 -42
  34. package/dist-es/commands/ListDatabasesCommand.js +19 -42
  35. package/dist-es/commands/ListTablesCommand.js +19 -42
  36. package/dist-es/commands/ListTagsForResourceCommand.js +19 -42
  37. package/dist-es/commands/ResumeBatchLoadTaskCommand.js +19 -42
  38. package/dist-es/commands/TagResourceCommand.js +19 -42
  39. package/dist-es/commands/UntagResourceCommand.js +19 -42
  40. package/dist-es/commands/UpdateDatabaseCommand.js +19 -42
  41. package/dist-es/commands/UpdateTableCommand.js +19 -42
  42. package/dist-es/commands/WriteRecordsCommand.js +19 -42
  43. package/dist-es/endpoint/EndpointParameters.js +6 -0
  44. package/dist-es/pagination/ListBatchLoadTasksPaginator.js +2 -23
  45. package/dist-es/pagination/ListDatabasesPaginator.js +2 -23
  46. package/dist-es/pagination/ListTablesPaginator.js +2 -23
  47. package/dist-types/commands/CreateBatchLoadTaskCommand.d.ts +6 -21
  48. package/dist-types/commands/CreateDatabaseCommand.d.ts +6 -21
  49. package/dist-types/commands/CreateTableCommand.d.ts +6 -21
  50. package/dist-types/commands/DeleteDatabaseCommand.d.ts +6 -21
  51. package/dist-types/commands/DeleteTableCommand.d.ts +6 -21
  52. package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +6 -21
  53. package/dist-types/commands/DescribeDatabaseCommand.d.ts +6 -21
  54. package/dist-types/commands/DescribeEndpointsCommand.d.ts +6 -21
  55. package/dist-types/commands/DescribeTableCommand.d.ts +6 -21
  56. package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +6 -21
  57. package/dist-types/commands/ListDatabasesCommand.d.ts +6 -21
  58. package/dist-types/commands/ListTablesCommand.d.ts +6 -21
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
  60. package/dist-types/commands/ResumeBatchLoadTaskCommand.d.ts +6 -21
  61. package/dist-types/commands/TagResourceCommand.d.ts +6 -21
  62. package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
  63. package/dist-types/commands/UpdateDatabaseCommand.d.ts +6 -21
  64. package/dist-types/commands/UpdateTableCommand.d.ts +6 -21
  65. package/dist-types/commands/WriteRecordsCommand.d.ts +6 -21
  66. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  67. package/dist-types/pagination/ListBatchLoadTasksPaginator.d.ts +1 -1
  68. package/dist-types/pagination/ListDatabasesPaginator.d.ts +1 -1
  69. package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/CreateBatchLoadTaskCommand.d.ts +14 -23
  71. package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +14 -23
  72. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +14 -23
  73. package/dist-types/ts3.4/commands/DeleteDatabaseCommand.d.ts +14 -23
  74. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +14 -23
  75. package/dist-types/ts3.4/commands/DescribeBatchLoadTaskCommand.d.ts +12 -24
  76. package/dist-types/ts3.4/commands/DescribeDatabaseCommand.d.ts +14 -23
  77. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +14 -23
  78. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +14 -23
  79. package/dist-types/ts3.4/commands/ListBatchLoadTasksCommand.d.ts +14 -23
  80. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +14 -23
  81. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +14 -23
  82. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/ResumeBatchLoadTaskCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
  85. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +14 -23
  89. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  90. package/dist-types/ts3.4/pagination/ListBatchLoadTasksPaginator.d.ts +3 -3
  91. package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +3 -3
  92. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +3 -3
  93. package/package.json +11 -10
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_DescribeDatabaseCommand, se_DescribeDatabaseCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class DescribeDatabaseCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDatabaseCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, isDiscoveredEndpointRequired: true, options }));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "TimestreamWriteClient";
28
- const commandName = "DescribeDatabaseCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Timestream_20181101",
37
- operation: "DescribeDatabase",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_DescribeDatabaseCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_DescribeDatabaseCommand(output, context);
48
- }
8
+ export class DescribeDatabaseCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
18
+ ];
19
+ })
20
+ .s("Timestream_20181101", "DescribeDatabase", {})
21
+ .n("TimestreamWriteClient", "DescribeDatabaseCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_DescribeDatabaseCommand)
24
+ .de(de_DescribeDatabaseCommand)
25
+ .build() {
49
26
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeEndpointsCommand, se_DescribeEndpointsCommand } from "../protocols/Aws_json1_0";
6
6
  export { $Command };
7
- export class DescribeEndpointsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeEndpointsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "TimestreamWriteClient";
26
- const commandName = "DescribeEndpointsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "Timestream_20181101",
35
- operation: "DescribeEndpoints",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeEndpointsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeEndpointsCommand(output, context);
46
- }
7
+ export class DescribeEndpointsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("Timestream_20181101", "DescribeEndpoints", {})
19
+ .n("TimestreamWriteClient", "DescribeEndpointsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeEndpointsCommand)
22
+ .de(de_DescribeEndpointsCommand)
23
+ .build() {
47
24
  }
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_DescribeTableCommand, se_DescribeTableCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class DescribeTableCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeTableCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, isDiscoveredEndpointRequired: true, options }));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "TimestreamWriteClient";
28
- const commandName = "DescribeTableCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Timestream_20181101",
37
- operation: "DescribeTable",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_DescribeTableCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_DescribeTableCommand(output, context);
48
- }
8
+ export class DescribeTableCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
18
+ ];
19
+ })
20
+ .s("Timestream_20181101", "DescribeTable", {})
21
+ .n("TimestreamWriteClient", "DescribeTableCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_DescribeTableCommand)
24
+ .de(de_DescribeTableCommand)
25
+ .build() {
49
26
  }
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_ListBatchLoadTasksCommand, se_ListBatchLoadTasksCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class ListBatchLoadTasksCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListBatchLoadTasksCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, isDiscoveredEndpointRequired: true, options }));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "TimestreamWriteClient";
28
- const commandName = "ListBatchLoadTasksCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Timestream_20181101",
37
- operation: "ListBatchLoadTasks",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_ListBatchLoadTasksCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_ListBatchLoadTasksCommand(output, context);
48
- }
8
+ export class ListBatchLoadTasksCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
18
+ ];
19
+ })
20
+ .s("Timestream_20181101", "ListBatchLoadTasks", {})
21
+ .n("TimestreamWriteClient", "ListBatchLoadTasksCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_ListBatchLoadTasksCommand)
24
+ .de(de_ListBatchLoadTasksCommand)
25
+ .build() {
49
26
  }
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_ListDatabasesCommand, se_ListDatabasesCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class ListDatabasesCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListDatabasesCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, isDiscoveredEndpointRequired: true, options }));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "TimestreamWriteClient";
28
- const commandName = "ListDatabasesCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Timestream_20181101",
37
- operation: "ListDatabases",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_ListDatabasesCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_ListDatabasesCommand(output, context);
48
- }
8
+ export class ListDatabasesCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
18
+ ];
19
+ })
20
+ .s("Timestream_20181101", "ListDatabases", {})
21
+ .n("TimestreamWriteClient", "ListDatabasesCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_ListDatabasesCommand)
24
+ .de(de_ListDatabasesCommand)
25
+ .build() {
49
26
  }
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_ListTablesCommand, se_ListTablesCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class ListTablesCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTablesCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, isDiscoveredEndpointRequired: true, options }));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "TimestreamWriteClient";
28
- const commandName = "ListTablesCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Timestream_20181101",
37
- operation: "ListTables",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_ListTablesCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_ListTablesCommand(output, context);
48
- }
8
+ export class ListTablesCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
18
+ ];
19
+ })
20
+ .s("Timestream_20181101", "ListTables", {})
21
+ .n("TimestreamWriteClient", "ListTablesCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_ListTablesCommand)
24
+ .de(de_ListTablesCommand)
25
+ .build() {
49
26
  }
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class ListTagsForResourceCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, isDiscoveredEndpointRequired: true, options }));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "TimestreamWriteClient";
28
- const commandName = "ListTagsForResourceCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Timestream_20181101",
37
- operation: "ListTagsForResource",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_ListTagsForResourceCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_ListTagsForResourceCommand(output, context);
48
- }
8
+ export class ListTagsForResourceCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
18
+ ];
19
+ })
20
+ .s("Timestream_20181101", "ListTagsForResource", {})
21
+ .n("TimestreamWriteClient", "ListTagsForResourceCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_ListTagsForResourceCommand)
24
+ .de(de_ListTagsForResourceCommand)
25
+ .build() {
49
26
  }
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_ResumeBatchLoadTaskCommand, se_ResumeBatchLoadTaskCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class ResumeBatchLoadTaskCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, ResumeBatchLoadTaskCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, isDiscoveredEndpointRequired: true, options }));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "TimestreamWriteClient";
28
- const commandName = "ResumeBatchLoadTaskCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Timestream_20181101",
37
- operation: "ResumeBatchLoadTask",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_ResumeBatchLoadTaskCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_ResumeBatchLoadTaskCommand(output, context);
48
- }
8
+ export class ResumeBatchLoadTaskCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
18
+ ];
19
+ })
20
+ .s("Timestream_20181101", "ResumeBatchLoadTask", {})
21
+ .n("TimestreamWriteClient", "ResumeBatchLoadTaskCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_ResumeBatchLoadTaskCommand)
24
+ .de(de_ResumeBatchLoadTaskCommand)
25
+ .build() {
49
26
  }
@@ -2,48 +2,25 @@ import { getEndpointDiscoveryPlugin } from "@aws-sdk/middleware-endpoint-discove
2
2
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
3
3
  import { getSerdePlugin } from "@smithy/middleware-serde";
4
4
  import { Command as $Command } from "@smithy/smithy-client";
5
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
5
+ import { commonParams } from "../endpoint/EndpointParameters";
6
6
  import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_0";
7
7
  export { $Command };
8
- export class TagResourceCommand extends $Command {
9
- static getEndpointParameterInstructions() {
10
- return {
11
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
12
- Endpoint: { type: "builtInParams", name: "endpoint" },
13
- Region: { type: "builtInParams", name: "region" },
14
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
15
- };
16
- }
17
- constructor(input) {
18
- super();
19
- this.input = input;
20
- }
21
- resolveMiddleware(clientStack, configuration, options) {
22
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
23
- this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions()));
24
- this.middlewareStack.use(getEndpointDiscoveryPlugin(configuration, { clientStack, isDiscoveredEndpointRequired: true, options }));
25
- const stack = clientStack.concat(this.middlewareStack);
26
- const { logger } = configuration;
27
- const clientName = "TimestreamWriteClient";
28
- const commandName = "TagResourceCommand";
29
- const handlerExecutionContext = {
30
- logger,
31
- clientName,
32
- commandName,
33
- inputFilterSensitiveLog: (_) => _,
34
- outputFilterSensitiveLog: (_) => _,
35
- [SMITHY_CONTEXT_KEY]: {
36
- service: "Timestream_20181101",
37
- operation: "TagResource",
38
- },
39
- };
40
- const { requestHandler } = configuration;
41
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
42
- }
43
- serialize(input, context) {
44
- return se_TagResourceCommand(input, context);
45
- }
46
- deserialize(output, context) {
47
- return de_TagResourceCommand(output, context);
48
- }
8
+ export class TagResourceCommand extends $Command
9
+ .classBuilder()
10
+ .ep({
11
+ ...commonParams,
12
+ })
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ getSerdePlugin(config, this.serialize, this.deserialize),
16
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
17
+ getEndpointDiscoveryPlugin(config, { clientStack: cs, isDiscoveredEndpointRequired: true, options: o }),
18
+ ];
19
+ })
20
+ .s("Timestream_20181101", "TagResource", {})
21
+ .n("TimestreamWriteClient", "TagResourceCommand")
22
+ .f(void 0, void 0)
23
+ .ser(se_TagResourceCommand)
24
+ .de(de_TagResourceCommand)
25
+ .build() {
49
26
  }