@aws-sdk/client-timestream-influxdb 3.749.0 → 3.750.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 (60) hide show
  1. package/README.md +55 -7
  2. package/dist-cjs/TimestreamInfluxDB.js +12 -0
  3. package/dist-cjs/commands/CreateDbClusterCommand.js +27 -0
  4. package/dist-cjs/commands/DeleteDbClusterCommand.js +26 -0
  5. package/dist-cjs/commands/GetDbClusterCommand.js +26 -0
  6. package/dist-cjs/commands/ListDbClustersCommand.js +26 -0
  7. package/dist-cjs/commands/ListDbInstancesForClusterCommand.js +26 -0
  8. package/dist-cjs/commands/UpdateDbClusterCommand.js +26 -0
  9. package/dist-cjs/commands/index.js +6 -0
  10. package/dist-cjs/models/models_0.js +34 -8
  11. package/dist-cjs/pagination/ListDbClustersPaginator.js +7 -0
  12. package/dist-cjs/pagination/ListDbInstancesForClusterPaginator.js +7 -0
  13. package/dist-cjs/pagination/index.js +2 -0
  14. package/dist-cjs/protocols/Aws_json1_0.js +127 -1
  15. package/dist-es/TimestreamInfluxDB.js +12 -0
  16. package/dist-es/commands/CreateDbClusterCommand.js +23 -0
  17. package/dist-es/commands/DeleteDbClusterCommand.js +22 -0
  18. package/dist-es/commands/GetDbClusterCommand.js +22 -0
  19. package/dist-es/commands/ListDbClustersCommand.js +22 -0
  20. package/dist-es/commands/ListDbInstancesForClusterCommand.js +22 -0
  21. package/dist-es/commands/UpdateDbClusterCommand.js +22 -0
  22. package/dist-es/commands/index.js +6 -0
  23. package/dist-es/models/models_0.js +32 -7
  24. package/dist-es/pagination/ListDbClustersPaginator.js +4 -0
  25. package/dist-es/pagination/ListDbInstancesForClusterPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +2 -0
  27. package/dist-es/protocols/Aws_json1_0.js +114 -0
  28. package/dist-types/TimestreamInfluxDB.d.ts +43 -0
  29. package/dist-types/TimestreamInfluxDBClient.d.ts +8 -2
  30. package/dist-types/commands/CreateDbClusterCommand.d.ts +121 -0
  31. package/dist-types/commands/CreateDbInstanceCommand.d.ts +2 -0
  32. package/dist-types/commands/DeleteDbClusterCommand.d.ts +89 -0
  33. package/dist-types/commands/DeleteDbInstanceCommand.d.ts +2 -0
  34. package/dist-types/commands/GetDbClusterCommand.d.ts +113 -0
  35. package/dist-types/commands/GetDbInstanceCommand.d.ts +2 -0
  36. package/dist-types/commands/ListDbClustersCommand.d.ts +103 -0
  37. package/dist-types/commands/ListDbInstancesForClusterCommand.d.ts +104 -0
  38. package/dist-types/commands/UpdateDbClusterCommand.d.ts +99 -0
  39. package/dist-types/commands/UpdateDbInstanceCommand.d.ts +2 -0
  40. package/dist-types/commands/index.d.ts +6 -0
  41. package/dist-types/models/models_0.d.ts +718 -123
  42. package/dist-types/pagination/ListDbClustersPaginator.d.ts +7 -0
  43. package/dist-types/pagination/ListDbInstancesForClusterPaginator.d.ts +7 -0
  44. package/dist-types/pagination/index.d.ts +2 -0
  45. package/dist-types/protocols/Aws_json1_0.d.ts +54 -0
  46. package/dist-types/ts3.4/TimestreamInfluxDB.d.ts +103 -0
  47. package/dist-types/ts3.4/TimestreamInfluxDBClient.d.ts +36 -0
  48. package/dist-types/ts3.4/commands/CreateDbClusterCommand.d.ts +50 -0
  49. package/dist-types/ts3.4/commands/DeleteDbClusterCommand.d.ts +50 -0
  50. package/dist-types/ts3.4/commands/GetDbClusterCommand.d.ts +47 -0
  51. package/dist-types/ts3.4/commands/ListDbClustersCommand.d.ts +47 -0
  52. package/dist-types/ts3.4/commands/ListDbInstancesForClusterCommand.d.ts +51 -0
  53. package/dist-types/ts3.4/commands/UpdateDbClusterCommand.d.ts +50 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +184 -38
  56. package/dist-types/ts3.4/pagination/ListDbClustersPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/ListDbInstancesForClusterPaginator.d.ts +11 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  59. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +72 -0
  60. package/package.json +11 -11
@@ -1,11 +1,18 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.de_UpdateDbInstanceCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListDbParameterGroupsCommand = exports.de_ListDbInstancesCommand = exports.de_GetDbParameterGroupCommand = exports.de_GetDbInstanceCommand = exports.de_DeleteDbInstanceCommand = exports.de_CreateDbParameterGroupCommand = exports.de_CreateDbInstanceCommand = exports.se_UpdateDbInstanceCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListDbParameterGroupsCommand = exports.se_ListDbInstancesCommand = exports.se_GetDbParameterGroupCommand = exports.se_GetDbInstanceCommand = exports.se_DeleteDbInstanceCommand = exports.se_CreateDbParameterGroupCommand = exports.se_CreateDbInstanceCommand = void 0;
3
+ exports.de_UpdateDbInstanceCommand = exports.de_UpdateDbClusterCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_ListTagsForResourceCommand = exports.de_ListDbParameterGroupsCommand = exports.de_ListDbInstancesForClusterCommand = exports.de_ListDbInstancesCommand = exports.de_ListDbClustersCommand = exports.de_GetDbParameterGroupCommand = exports.de_GetDbInstanceCommand = exports.de_GetDbClusterCommand = exports.de_DeleteDbInstanceCommand = exports.de_DeleteDbClusterCommand = exports.de_CreateDbParameterGroupCommand = exports.de_CreateDbInstanceCommand = exports.de_CreateDbClusterCommand = exports.se_UpdateDbInstanceCommand = exports.se_UpdateDbClusterCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_ListTagsForResourceCommand = exports.se_ListDbParameterGroupsCommand = exports.se_ListDbInstancesForClusterCommand = exports.se_ListDbInstancesCommand = exports.se_ListDbClustersCommand = exports.se_GetDbParameterGroupCommand = exports.se_GetDbInstanceCommand = exports.se_GetDbClusterCommand = exports.se_DeleteDbInstanceCommand = exports.se_DeleteDbClusterCommand = exports.se_CreateDbParameterGroupCommand = exports.se_CreateDbInstanceCommand = exports.se_CreateDbClusterCommand = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
5
  const protocol_http_1 = require("@smithy/protocol-http");
6
6
  const smithy_client_1 = require("@smithy/smithy-client");
7
7
  const models_0_1 = require("../models/models_0");
8
8
  const TimestreamInfluxDBServiceException_1 = require("../models/TimestreamInfluxDBServiceException");
9
+ const se_CreateDbClusterCommand = async (input, context) => {
10
+ const headers = sharedHeaders("CreateDbCluster");
11
+ let body;
12
+ body = JSON.stringify((0, smithy_client_1._json)(input));
13
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
14
+ };
15
+ exports.se_CreateDbClusterCommand = se_CreateDbClusterCommand;
9
16
  const se_CreateDbInstanceCommand = async (input, context) => {
10
17
  const headers = sharedHeaders("CreateDbInstance");
11
18
  let body;
@@ -20,6 +27,13 @@ const se_CreateDbParameterGroupCommand = async (input, context) => {
20
27
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
21
28
  };
22
29
  exports.se_CreateDbParameterGroupCommand = se_CreateDbParameterGroupCommand;
30
+ const se_DeleteDbClusterCommand = async (input, context) => {
31
+ const headers = sharedHeaders("DeleteDbCluster");
32
+ let body;
33
+ body = JSON.stringify((0, smithy_client_1._json)(input));
34
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
35
+ };
36
+ exports.se_DeleteDbClusterCommand = se_DeleteDbClusterCommand;
23
37
  const se_DeleteDbInstanceCommand = async (input, context) => {
24
38
  const headers = sharedHeaders("DeleteDbInstance");
25
39
  let body;
@@ -27,6 +41,13 @@ const se_DeleteDbInstanceCommand = async (input, context) => {
27
41
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
28
42
  };
29
43
  exports.se_DeleteDbInstanceCommand = se_DeleteDbInstanceCommand;
44
+ const se_GetDbClusterCommand = async (input, context) => {
45
+ const headers = sharedHeaders("GetDbCluster");
46
+ let body;
47
+ body = JSON.stringify((0, smithy_client_1._json)(input));
48
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
49
+ };
50
+ exports.se_GetDbClusterCommand = se_GetDbClusterCommand;
30
51
  const se_GetDbInstanceCommand = async (input, context) => {
31
52
  const headers = sharedHeaders("GetDbInstance");
32
53
  let body;
@@ -41,6 +62,13 @@ const se_GetDbParameterGroupCommand = async (input, context) => {
41
62
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
42
63
  };
43
64
  exports.se_GetDbParameterGroupCommand = se_GetDbParameterGroupCommand;
65
+ const se_ListDbClustersCommand = async (input, context) => {
66
+ const headers = sharedHeaders("ListDbClusters");
67
+ let body;
68
+ body = JSON.stringify((0, smithy_client_1._json)(input));
69
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
70
+ };
71
+ exports.se_ListDbClustersCommand = se_ListDbClustersCommand;
44
72
  const se_ListDbInstancesCommand = async (input, context) => {
45
73
  const headers = sharedHeaders("ListDbInstances");
46
74
  let body;
@@ -48,6 +76,13 @@ const se_ListDbInstancesCommand = async (input, context) => {
48
76
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
49
77
  };
50
78
  exports.se_ListDbInstancesCommand = se_ListDbInstancesCommand;
79
+ const se_ListDbInstancesForClusterCommand = async (input, context) => {
80
+ const headers = sharedHeaders("ListDbInstancesForCluster");
81
+ let body;
82
+ body = JSON.stringify((0, smithy_client_1._json)(input));
83
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
84
+ };
85
+ exports.se_ListDbInstancesForClusterCommand = se_ListDbInstancesForClusterCommand;
51
86
  const se_ListDbParameterGroupsCommand = async (input, context) => {
52
87
  const headers = sharedHeaders("ListDbParameterGroups");
53
88
  let body;
@@ -76,6 +111,13 @@ const se_UntagResourceCommand = async (input, context) => {
76
111
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
77
112
  };
78
113
  exports.se_UntagResourceCommand = se_UntagResourceCommand;
114
+ const se_UpdateDbClusterCommand = async (input, context) => {
115
+ const headers = sharedHeaders("UpdateDbCluster");
116
+ let body;
117
+ body = JSON.stringify((0, smithy_client_1._json)(input));
118
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
119
+ };
120
+ exports.se_UpdateDbClusterCommand = se_UpdateDbClusterCommand;
79
121
  const se_UpdateDbInstanceCommand = async (input, context) => {
80
122
  const headers = sharedHeaders("UpdateDbInstance");
81
123
  let body;
@@ -83,6 +125,20 @@ const se_UpdateDbInstanceCommand = async (input, context) => {
83
125
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
84
126
  };
85
127
  exports.se_UpdateDbInstanceCommand = se_UpdateDbInstanceCommand;
128
+ const de_CreateDbClusterCommand = async (output, context) => {
129
+ if (output.statusCode >= 300) {
130
+ return de_CommandError(output, context);
131
+ }
132
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
133
+ let contents = {};
134
+ contents = (0, smithy_client_1._json)(data);
135
+ const response = {
136
+ $metadata: deserializeMetadata(output),
137
+ ...contents,
138
+ };
139
+ return response;
140
+ };
141
+ exports.de_CreateDbClusterCommand = de_CreateDbClusterCommand;
86
142
  const de_CreateDbInstanceCommand = async (output, context) => {
87
143
  if (output.statusCode >= 300) {
88
144
  return de_CommandError(output, context);
@@ -111,6 +167,20 @@ const de_CreateDbParameterGroupCommand = async (output, context) => {
111
167
  return response;
112
168
  };
113
169
  exports.de_CreateDbParameterGroupCommand = de_CreateDbParameterGroupCommand;
170
+ const de_DeleteDbClusterCommand = async (output, context) => {
171
+ if (output.statusCode >= 300) {
172
+ return de_CommandError(output, context);
173
+ }
174
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
175
+ let contents = {};
176
+ contents = (0, smithy_client_1._json)(data);
177
+ const response = {
178
+ $metadata: deserializeMetadata(output),
179
+ ...contents,
180
+ };
181
+ return response;
182
+ };
183
+ exports.de_DeleteDbClusterCommand = de_DeleteDbClusterCommand;
114
184
  const de_DeleteDbInstanceCommand = async (output, context) => {
115
185
  if (output.statusCode >= 300) {
116
186
  return de_CommandError(output, context);
@@ -125,6 +195,20 @@ const de_DeleteDbInstanceCommand = async (output, context) => {
125
195
  return response;
126
196
  };
127
197
  exports.de_DeleteDbInstanceCommand = de_DeleteDbInstanceCommand;
198
+ const de_GetDbClusterCommand = async (output, context) => {
199
+ if (output.statusCode >= 300) {
200
+ return de_CommandError(output, context);
201
+ }
202
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
203
+ let contents = {};
204
+ contents = (0, smithy_client_1._json)(data);
205
+ const response = {
206
+ $metadata: deserializeMetadata(output),
207
+ ...contents,
208
+ };
209
+ return response;
210
+ };
211
+ exports.de_GetDbClusterCommand = de_GetDbClusterCommand;
128
212
  const de_GetDbInstanceCommand = async (output, context) => {
129
213
  if (output.statusCode >= 300) {
130
214
  return de_CommandError(output, context);
@@ -153,6 +237,20 @@ const de_GetDbParameterGroupCommand = async (output, context) => {
153
237
  return response;
154
238
  };
155
239
  exports.de_GetDbParameterGroupCommand = de_GetDbParameterGroupCommand;
240
+ const de_ListDbClustersCommand = async (output, context) => {
241
+ if (output.statusCode >= 300) {
242
+ return de_CommandError(output, context);
243
+ }
244
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
245
+ let contents = {};
246
+ contents = (0, smithy_client_1._json)(data);
247
+ const response = {
248
+ $metadata: deserializeMetadata(output),
249
+ ...contents,
250
+ };
251
+ return response;
252
+ };
253
+ exports.de_ListDbClustersCommand = de_ListDbClustersCommand;
156
254
  const de_ListDbInstancesCommand = async (output, context) => {
157
255
  if (output.statusCode >= 300) {
158
256
  return de_CommandError(output, context);
@@ -167,6 +265,20 @@ const de_ListDbInstancesCommand = async (output, context) => {
167
265
  return response;
168
266
  };
169
267
  exports.de_ListDbInstancesCommand = de_ListDbInstancesCommand;
268
+ const de_ListDbInstancesForClusterCommand = async (output, context) => {
269
+ if (output.statusCode >= 300) {
270
+ return de_CommandError(output, context);
271
+ }
272
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
273
+ let contents = {};
274
+ contents = (0, smithy_client_1._json)(data);
275
+ const response = {
276
+ $metadata: deserializeMetadata(output),
277
+ ...contents,
278
+ };
279
+ return response;
280
+ };
281
+ exports.de_ListDbInstancesForClusterCommand = de_ListDbInstancesForClusterCommand;
170
282
  const de_ListDbParameterGroupsCommand = async (output, context) => {
171
283
  if (output.statusCode >= 300) {
172
284
  return de_CommandError(output, context);
@@ -217,6 +329,20 @@ const de_UntagResourceCommand = async (output, context) => {
217
329
  return response;
218
330
  };
219
331
  exports.de_UntagResourceCommand = de_UntagResourceCommand;
332
+ const de_UpdateDbClusterCommand = async (output, context) => {
333
+ if (output.statusCode >= 300) {
334
+ return de_CommandError(output, context);
335
+ }
336
+ const data = await (0, core_1.parseJsonBody)(output.body, context);
337
+ let contents = {};
338
+ contents = (0, smithy_client_1._json)(data);
339
+ const response = {
340
+ $metadata: deserializeMetadata(output),
341
+ ...contents,
342
+ };
343
+ return response;
344
+ };
345
+ exports.de_UpdateDbClusterCommand = de_UpdateDbClusterCommand;
220
346
  const de_UpdateDbInstanceCommand = async (output, context) => {
221
347
  if (output.statusCode >= 300) {
222
348
  return de_CommandError(output, context);
@@ -1,27 +1,39 @@
1
1
  import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { CreateDbClusterCommand, } from "./commands/CreateDbClusterCommand";
2
3
  import { CreateDbInstanceCommand, } from "./commands/CreateDbInstanceCommand";
3
4
  import { CreateDbParameterGroupCommand, } from "./commands/CreateDbParameterGroupCommand";
5
+ import { DeleteDbClusterCommand, } from "./commands/DeleteDbClusterCommand";
4
6
  import { DeleteDbInstanceCommand, } from "./commands/DeleteDbInstanceCommand";
7
+ import { GetDbClusterCommand, } from "./commands/GetDbClusterCommand";
5
8
  import { GetDbInstanceCommand, } from "./commands/GetDbInstanceCommand";
6
9
  import { GetDbParameterGroupCommand, } from "./commands/GetDbParameterGroupCommand";
10
+ import { ListDbClustersCommand, } from "./commands/ListDbClustersCommand";
7
11
  import { ListDbInstancesCommand, } from "./commands/ListDbInstancesCommand";
12
+ import { ListDbInstancesForClusterCommand, } from "./commands/ListDbInstancesForClusterCommand";
8
13
  import { ListDbParameterGroupsCommand, } from "./commands/ListDbParameterGroupsCommand";
9
14
  import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
10
15
  import { TagResourceCommand } from "./commands/TagResourceCommand";
11
16
  import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
17
+ import { UpdateDbClusterCommand, } from "./commands/UpdateDbClusterCommand";
12
18
  import { UpdateDbInstanceCommand, } from "./commands/UpdateDbInstanceCommand";
13
19
  import { TimestreamInfluxDBClient } from "./TimestreamInfluxDBClient";
14
20
  const commands = {
21
+ CreateDbClusterCommand,
15
22
  CreateDbInstanceCommand,
16
23
  CreateDbParameterGroupCommand,
24
+ DeleteDbClusterCommand,
17
25
  DeleteDbInstanceCommand,
26
+ GetDbClusterCommand,
18
27
  GetDbInstanceCommand,
19
28
  GetDbParameterGroupCommand,
29
+ ListDbClustersCommand,
20
30
  ListDbInstancesCommand,
31
+ ListDbInstancesForClusterCommand,
21
32
  ListDbParameterGroupsCommand,
22
33
  ListTagsForResourceCommand,
23
34
  TagResourceCommand,
24
35
  UntagResourceCommand,
36
+ UpdateDbClusterCommand,
25
37
  UpdateDbInstanceCommand,
26
38
  };
27
39
  export class TimestreamInfluxDB extends TimestreamInfluxDBClient {
@@ -0,0 +1,23 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { CreateDbClusterInputFilterSensitiveLog, } from "../models/models_0";
6
+ import { de_CreateDbClusterCommand, se_CreateDbClusterCommand } from "../protocols/Aws_json1_0";
7
+ export { $Command };
8
+ export class CreateDbClusterCommand extends $Command
9
+ .classBuilder()
10
+ .ep(commonParams)
11
+ .m(function (Command, cs, config, o) {
12
+ return [
13
+ getSerdePlugin(config, this.serialize, this.deserialize),
14
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
+ ];
16
+ })
17
+ .s("AmazonTimestreamInfluxDB", "CreateDbCluster", {})
18
+ .n("TimestreamInfluxDBClient", "CreateDbClusterCommand")
19
+ .f(CreateDbClusterInputFilterSensitiveLog, void 0)
20
+ .ser(se_CreateDbClusterCommand)
21
+ .de(de_CreateDbClusterCommand)
22
+ .build() {
23
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteDbClusterCommand, se_DeleteDbClusterCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class DeleteDbClusterCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonTimestreamInfluxDB", "DeleteDbCluster", {})
17
+ .n("TimestreamInfluxDBClient", "DeleteDbClusterCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DeleteDbClusterCommand)
20
+ .de(de_DeleteDbClusterCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetDbClusterCommand, se_GetDbClusterCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetDbClusterCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonTimestreamInfluxDB", "GetDbCluster", {})
17
+ .n("TimestreamInfluxDBClient", "GetDbClusterCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_GetDbClusterCommand)
20
+ .de(de_GetDbClusterCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListDbClustersCommand, se_ListDbClustersCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListDbClustersCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonTimestreamInfluxDB", "ListDbClusters", {})
17
+ .n("TimestreamInfluxDBClient", "ListDbClustersCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListDbClustersCommand)
20
+ .de(de_ListDbClustersCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListDbInstancesForClusterCommand, se_ListDbInstancesForClusterCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class ListDbInstancesForClusterCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonTimestreamInfluxDB", "ListDbInstancesForCluster", {})
17
+ .n("TimestreamInfluxDBClient", "ListDbInstancesForClusterCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListDbInstancesForClusterCommand)
20
+ .de(de_ListDbInstancesForClusterCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_UpdateDbClusterCommand, se_UpdateDbClusterCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class UpdateDbClusterCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("AmazonTimestreamInfluxDB", "UpdateDbCluster", {})
17
+ .n("TimestreamInfluxDBClient", "UpdateDbClusterCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_UpdateDbClusterCommand)
20
+ .de(de_UpdateDbClusterCommand)
21
+ .build() {
22
+ }
@@ -1,11 +1,17 @@
1
+ export * from "./CreateDbClusterCommand";
1
2
  export * from "./CreateDbInstanceCommand";
2
3
  export * from "./CreateDbParameterGroupCommand";
4
+ export * from "./DeleteDbClusterCommand";
3
5
  export * from "./DeleteDbInstanceCommand";
6
+ export * from "./GetDbClusterCommand";
4
7
  export * from "./GetDbInstanceCommand";
5
8
  export * from "./GetDbParameterGroupCommand";
9
+ export * from "./ListDbClustersCommand";
6
10
  export * from "./ListDbInstancesCommand";
11
+ export * from "./ListDbInstancesForClusterCommand";
7
12
  export * from "./ListDbParameterGroupsCommand";
8
13
  export * from "./ListTagsForResourceCommand";
9
14
  export * from "./TagResourceCommand";
10
15
  export * from "./UntagResourceCommand";
16
+ export * from "./UpdateDbClusterCommand";
11
17
  export * from "./UpdateDbInstanceCommand";
@@ -43,24 +43,24 @@ export const DbStorageType = {
43
43
  INFLUX_IO_INCLUDED_T2: "InfluxIOIncludedT2",
44
44
  INFLUX_IO_INCLUDED_T3: "InfluxIOIncludedT3",
45
45
  };
46
- export const DeploymentType = {
47
- SINGLE_AZ: "SINGLE_AZ",
48
- WITH_MULTIAZ_STANDBY: "WITH_MULTIAZ_STANDBY",
46
+ export const ClusterDeploymentType = {
47
+ MULTI_NODE_READ_REPLICAS: "MULTI_NODE_READ_REPLICAS",
48
+ };
49
+ export const FailoverMode = {
50
+ AUTOMATIC: "AUTOMATIC",
51
+ NO_FAILOVER: "NO_FAILOVER",
49
52
  };
50
53
  export const NetworkType = {
51
54
  DUAL: "DUAL",
52
55
  IPV4: "IPV4",
53
56
  };
54
- export const Status = {
57
+ export const ClusterStatus = {
55
58
  AVAILABLE: "AVAILABLE",
56
59
  CREATING: "CREATING",
57
60
  DELETED: "DELETED",
58
61
  DELETING: "DELETING",
59
62
  FAILED: "FAILED",
60
- MODIFYING: "MODIFYING",
61
63
  UPDATING: "UPDATING",
62
- UPDATING_DEPLOYMENT_TYPE: "UPDATING_DEPLOYMENT_TYPE",
63
- UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE",
64
64
  };
65
65
  export class InternalServerException extends __BaseException {
66
66
  name = "InternalServerException";
@@ -136,6 +136,26 @@ export class ValidationException extends __BaseException {
136
136
  this.reason = opts.reason;
137
137
  }
138
138
  }
139
+ export const DeploymentType = {
140
+ SINGLE_AZ: "SINGLE_AZ",
141
+ WITH_MULTIAZ_STANDBY: "WITH_MULTIAZ_STANDBY",
142
+ };
143
+ export const InstanceMode = {
144
+ PRIMARY: "PRIMARY",
145
+ REPLICA: "REPLICA",
146
+ STANDBY: "STANDBY",
147
+ };
148
+ export const Status = {
149
+ AVAILABLE: "AVAILABLE",
150
+ CREATING: "CREATING",
151
+ DELETED: "DELETED",
152
+ DELETING: "DELETING",
153
+ FAILED: "FAILED",
154
+ MODIFYING: "MODIFYING",
155
+ UPDATING: "UPDATING",
156
+ UPDATING_DEPLOYMENT_TYPE: "UPDATING_DEPLOYMENT_TYPE",
157
+ UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE",
158
+ };
139
159
  export const DurationType = {
140
160
  HOURS: "hours",
141
161
  MILLISECONDS: "milliseconds",
@@ -159,6 +179,11 @@ export var _Parameters;
159
179
  return visitor._(value.$unknown[0], value.$unknown[1]);
160
180
  };
161
181
  })(_Parameters || (_Parameters = {}));
182
+ export const CreateDbClusterInputFilterSensitiveLog = (obj) => ({
183
+ ...obj,
184
+ ...(obj.username && { username: SENSITIVE_STRING }),
185
+ ...(obj.password && { password: SENSITIVE_STRING }),
186
+ });
162
187
  export const CreateDbInstanceInputFilterSensitiveLog = (obj) => ({
163
188
  ...obj,
164
189
  ...(obj.username && { username: SENSITIVE_STRING }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListDbClustersCommand, } from "../commands/ListDbClustersCommand";
3
+ import { TimestreamInfluxDBClient } from "../TimestreamInfluxDBClient";
4
+ export const paginateListDbClusters = createPaginator(TimestreamInfluxDBClient, ListDbClustersCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListDbInstancesForClusterCommand, } from "../commands/ListDbInstancesForClusterCommand";
3
+ import { TimestreamInfluxDBClient } from "../TimestreamInfluxDBClient";
4
+ export const paginateListDbInstancesForCluster = createPaginator(TimestreamInfluxDBClient, ListDbInstancesForClusterCommand, "nextToken", "nextToken", "maxResults");
@@ -1,3 +1,5 @@
1
1
  export * from "./Interfaces";
2
+ export * from "./ListDbClustersPaginator";
3
+ export * from "./ListDbInstancesForClusterPaginator";
2
4
  export * from "./ListDbInstancesPaginator";
3
5
  export * from "./ListDbParameterGroupsPaginator";