@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
package/README.md CHANGED
@@ -23,16 +23,16 @@ using your favorite package manager:
23
23
 
24
24
  The AWS SDK is modulized by clients and commands.
25
25
  To send a request, you only need to import the `TimestreamInfluxDBClient` and
26
- the commands you need, for example `ListDbInstancesCommand`:
26
+ the commands you need, for example `ListDbClustersCommand`:
27
27
 
28
28
  ```js
29
29
  // ES5 example
30
- const { TimestreamInfluxDBClient, ListDbInstancesCommand } = require("@aws-sdk/client-timestream-influxdb");
30
+ const { TimestreamInfluxDBClient, ListDbClustersCommand } = require("@aws-sdk/client-timestream-influxdb");
31
31
  ```
32
32
 
33
33
  ```ts
34
34
  // ES6+ example
35
- import { TimestreamInfluxDBClient, ListDbInstancesCommand } from "@aws-sdk/client-timestream-influxdb";
35
+ import { TimestreamInfluxDBClient, ListDbClustersCommand } from "@aws-sdk/client-timestream-influxdb";
36
36
  ```
37
37
 
38
38
  ### Usage
@@ -51,7 +51,7 @@ const client = new TimestreamInfluxDBClient({ region: "REGION" });
51
51
  const params = {
52
52
  /** input parameters */
53
53
  };
54
- const command = new ListDbInstancesCommand(params);
54
+ const command = new ListDbClustersCommand(params);
55
55
  ```
56
56
 
57
57
  #### Async/await
@@ -130,7 +130,7 @@ const client = new AWS.TimestreamInfluxDB({ region: "REGION" });
130
130
 
131
131
  // async/await.
132
132
  try {
133
- const data = await client.listDbInstances(params);
133
+ const data = await client.listDbClusters(params);
134
134
  // process data.
135
135
  } catch (error) {
136
136
  // error handling.
@@ -138,7 +138,7 @@ try {
138
138
 
139
139
  // Promises.
140
140
  client
141
- .listDbInstances(params)
141
+ .listDbClusters(params)
142
142
  .then((data) => {
143
143
  // process data.
144
144
  })
@@ -147,7 +147,7 @@ client
147
147
  });
148
148
 
149
149
  // callbacks.
150
- client.listDbInstances(params, (err, data) => {
150
+ client.listDbClusters(params, (err, data) => {
151
151
  // process err and data.
152
152
  });
153
153
  ```
@@ -203,6 +203,14 @@ see LICENSE for more information.
203
203
 
204
204
  ## Client Commands (Operations List)
205
205
 
206
+ <details>
207
+ <summary>
208
+ CreateDbCluster
209
+ </summary>
210
+
211
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/CreateDbClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/CreateDbClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/CreateDbClusterCommandOutput/)
212
+
213
+ </details>
206
214
  <details>
207
215
  <summary>
208
216
  CreateDbInstance
@@ -218,6 +226,14 @@ CreateDbParameterGroup
218
226
 
219
227
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/CreateDbParameterGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/CreateDbParameterGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/CreateDbParameterGroupCommandOutput/)
220
228
 
229
+ </details>
230
+ <details>
231
+ <summary>
232
+ DeleteDbCluster
233
+ </summary>
234
+
235
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/DeleteDbClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/DeleteDbClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/DeleteDbClusterCommandOutput/)
236
+
221
237
  </details>
222
238
  <details>
223
239
  <summary>
@@ -226,6 +242,14 @@ DeleteDbInstance
226
242
 
227
243
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/DeleteDbInstanceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/DeleteDbInstanceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/DeleteDbInstanceCommandOutput/)
228
244
 
245
+ </details>
246
+ <details>
247
+ <summary>
248
+ GetDbCluster
249
+ </summary>
250
+
251
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/GetDbClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/GetDbClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/GetDbClusterCommandOutput/)
252
+
229
253
  </details>
230
254
  <details>
231
255
  <summary>
@@ -242,6 +266,14 @@ GetDbParameterGroup
242
266
 
243
267
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/GetDbParameterGroupCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/GetDbParameterGroupCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/GetDbParameterGroupCommandOutput/)
244
268
 
269
+ </details>
270
+ <details>
271
+ <summary>
272
+ ListDbClusters
273
+ </summary>
274
+
275
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/ListDbClustersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/ListDbClustersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/ListDbClustersCommandOutput/)
276
+
245
277
  </details>
246
278
  <details>
247
279
  <summary>
@@ -250,6 +282,14 @@ ListDbInstances
250
282
 
251
283
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/ListDbInstancesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/ListDbInstancesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/ListDbInstancesCommandOutput/)
252
284
 
285
+ </details>
286
+ <details>
287
+ <summary>
288
+ ListDbInstancesForCluster
289
+ </summary>
290
+
291
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/ListDbInstancesForClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/ListDbInstancesForClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/ListDbInstancesForClusterCommandOutput/)
292
+
253
293
  </details>
254
294
  <details>
255
295
  <summary>
@@ -282,6 +322,14 @@ UntagResource
282
322
 
283
323
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/UntagResourceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/UntagResourceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/UntagResourceCommandOutput/)
284
324
 
325
+ </details>
326
+ <details>
327
+ <summary>
328
+ UpdateDbCluster
329
+ </summary>
330
+
331
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/timestream-influxdb/command/UpdateDbClusterCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/UpdateDbClusterCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-timestream-influxdb/Interface/UpdateDbClusterCommandOutput/)
332
+
285
333
  </details>
286
334
  <details>
287
335
  <summary>
@@ -2,29 +2,41 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TimestreamInfluxDB = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
+ const CreateDbClusterCommand_1 = require("./commands/CreateDbClusterCommand");
5
6
  const CreateDbInstanceCommand_1 = require("./commands/CreateDbInstanceCommand");
6
7
  const CreateDbParameterGroupCommand_1 = require("./commands/CreateDbParameterGroupCommand");
8
+ const DeleteDbClusterCommand_1 = require("./commands/DeleteDbClusterCommand");
7
9
  const DeleteDbInstanceCommand_1 = require("./commands/DeleteDbInstanceCommand");
10
+ const GetDbClusterCommand_1 = require("./commands/GetDbClusterCommand");
8
11
  const GetDbInstanceCommand_1 = require("./commands/GetDbInstanceCommand");
9
12
  const GetDbParameterGroupCommand_1 = require("./commands/GetDbParameterGroupCommand");
13
+ const ListDbClustersCommand_1 = require("./commands/ListDbClustersCommand");
10
14
  const ListDbInstancesCommand_1 = require("./commands/ListDbInstancesCommand");
15
+ const ListDbInstancesForClusterCommand_1 = require("./commands/ListDbInstancesForClusterCommand");
11
16
  const ListDbParameterGroupsCommand_1 = require("./commands/ListDbParameterGroupsCommand");
12
17
  const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
13
18
  const TagResourceCommand_1 = require("./commands/TagResourceCommand");
14
19
  const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
20
+ const UpdateDbClusterCommand_1 = require("./commands/UpdateDbClusterCommand");
15
21
  const UpdateDbInstanceCommand_1 = require("./commands/UpdateDbInstanceCommand");
16
22
  const TimestreamInfluxDBClient_1 = require("./TimestreamInfluxDBClient");
17
23
  const commands = {
24
+ CreateDbClusterCommand: CreateDbClusterCommand_1.CreateDbClusterCommand,
18
25
  CreateDbInstanceCommand: CreateDbInstanceCommand_1.CreateDbInstanceCommand,
19
26
  CreateDbParameterGroupCommand: CreateDbParameterGroupCommand_1.CreateDbParameterGroupCommand,
27
+ DeleteDbClusterCommand: DeleteDbClusterCommand_1.DeleteDbClusterCommand,
20
28
  DeleteDbInstanceCommand: DeleteDbInstanceCommand_1.DeleteDbInstanceCommand,
29
+ GetDbClusterCommand: GetDbClusterCommand_1.GetDbClusterCommand,
21
30
  GetDbInstanceCommand: GetDbInstanceCommand_1.GetDbInstanceCommand,
22
31
  GetDbParameterGroupCommand: GetDbParameterGroupCommand_1.GetDbParameterGroupCommand,
32
+ ListDbClustersCommand: ListDbClustersCommand_1.ListDbClustersCommand,
23
33
  ListDbInstancesCommand: ListDbInstancesCommand_1.ListDbInstancesCommand,
34
+ ListDbInstancesForClusterCommand: ListDbInstancesForClusterCommand_1.ListDbInstancesForClusterCommand,
24
35
  ListDbParameterGroupsCommand: ListDbParameterGroupsCommand_1.ListDbParameterGroupsCommand,
25
36
  ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
26
37
  TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
27
38
  UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
39
+ UpdateDbClusterCommand: UpdateDbClusterCommand_1.UpdateDbClusterCommand,
28
40
  UpdateDbInstanceCommand: UpdateDbInstanceCommand_1.UpdateDbInstanceCommand,
29
41
  };
30
42
  class TimestreamInfluxDB extends TimestreamInfluxDBClient_1.TimestreamInfluxDBClient {
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateDbClusterCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const models_0_1 = require("../models/models_0");
10
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
11
+ class CreateDbClusterCommand extends smithy_client_1.Command
12
+ .classBuilder()
13
+ .ep(EndpointParameters_1.commonParams)
14
+ .m(function (Command, cs, config, o) {
15
+ return [
16
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
17
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
18
+ ];
19
+ })
20
+ .s("AmazonTimestreamInfluxDB", "CreateDbCluster", {})
21
+ .n("TimestreamInfluxDBClient", "CreateDbClusterCommand")
22
+ .f(models_0_1.CreateDbClusterInputFilterSensitiveLog, void 0)
23
+ .ser(Aws_json1_0_1.se_CreateDbClusterCommand)
24
+ .de(Aws_json1_0_1.de_CreateDbClusterCommand)
25
+ .build() {
26
+ }
27
+ exports.CreateDbClusterCommand = CreateDbClusterCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DeleteDbClusterCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class DeleteDbClusterCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonTimestreamInfluxDB", "DeleteDbCluster", {})
20
+ .n("TimestreamInfluxDBClient", "DeleteDbClusterCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_DeleteDbClusterCommand)
23
+ .de(Aws_json1_0_1.de_DeleteDbClusterCommand)
24
+ .build() {
25
+ }
26
+ exports.DeleteDbClusterCommand = DeleteDbClusterCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GetDbClusterCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class GetDbClusterCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonTimestreamInfluxDB", "GetDbCluster", {})
20
+ .n("TimestreamInfluxDBClient", "GetDbClusterCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_GetDbClusterCommand)
23
+ .de(Aws_json1_0_1.de_GetDbClusterCommand)
24
+ .build() {
25
+ }
26
+ exports.GetDbClusterCommand = GetDbClusterCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListDbClustersCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class ListDbClustersCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonTimestreamInfluxDB", "ListDbClusters", {})
20
+ .n("TimestreamInfluxDBClient", "ListDbClustersCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_ListDbClustersCommand)
23
+ .de(Aws_json1_0_1.de_ListDbClustersCommand)
24
+ .build() {
25
+ }
26
+ exports.ListDbClustersCommand = ListDbClustersCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListDbInstancesForClusterCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class ListDbInstancesForClusterCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonTimestreamInfluxDB", "ListDbInstancesForCluster", {})
20
+ .n("TimestreamInfluxDBClient", "ListDbInstancesForClusterCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_ListDbInstancesForClusterCommand)
23
+ .de(Aws_json1_0_1.de_ListDbInstancesForClusterCommand)
24
+ .build() {
25
+ }
26
+ exports.ListDbInstancesForClusterCommand = ListDbInstancesForClusterCommand;
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateDbClusterCommand = exports.$Command = void 0;
4
+ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
5
+ const middleware_serde_1 = require("@smithy/middleware-serde");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
8
+ const EndpointParameters_1 = require("../endpoint/EndpointParameters");
9
+ const Aws_json1_0_1 = require("../protocols/Aws_json1_0");
10
+ class UpdateDbClusterCommand extends smithy_client_1.Command
11
+ .classBuilder()
12
+ .ep(EndpointParameters_1.commonParams)
13
+ .m(function (Command, cs, config, o) {
14
+ return [
15
+ (0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
16
+ (0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
17
+ ];
18
+ })
19
+ .s("AmazonTimestreamInfluxDB", "UpdateDbCluster", {})
20
+ .n("TimestreamInfluxDBClient", "UpdateDbClusterCommand")
21
+ .f(void 0, void 0)
22
+ .ser(Aws_json1_0_1.se_UpdateDbClusterCommand)
23
+ .de(Aws_json1_0_1.de_UpdateDbClusterCommand)
24
+ .build() {
25
+ }
26
+ exports.UpdateDbClusterCommand = UpdateDbClusterCommand;
@@ -1,14 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
+ tslib_1.__exportStar(require("./CreateDbClusterCommand"), exports);
4
5
  tslib_1.__exportStar(require("./CreateDbInstanceCommand"), exports);
5
6
  tslib_1.__exportStar(require("./CreateDbParameterGroupCommand"), exports);
7
+ tslib_1.__exportStar(require("./DeleteDbClusterCommand"), exports);
6
8
  tslib_1.__exportStar(require("./DeleteDbInstanceCommand"), exports);
9
+ tslib_1.__exportStar(require("./GetDbClusterCommand"), exports);
7
10
  tslib_1.__exportStar(require("./GetDbInstanceCommand"), exports);
8
11
  tslib_1.__exportStar(require("./GetDbParameterGroupCommand"), exports);
12
+ tslib_1.__exportStar(require("./ListDbClustersCommand"), exports);
9
13
  tslib_1.__exportStar(require("./ListDbInstancesCommand"), exports);
14
+ tslib_1.__exportStar(require("./ListDbInstancesForClusterCommand"), exports);
10
15
  tslib_1.__exportStar(require("./ListDbParameterGroupsCommand"), exports);
11
16
  tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
12
17
  tslib_1.__exportStar(require("./TagResourceCommand"), exports);
13
18
  tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
19
+ tslib_1.__exportStar(require("./UpdateDbClusterCommand"), exports);
14
20
  tslib_1.__exportStar(require("./UpdateDbInstanceCommand"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateDbInstanceInputFilterSensitiveLog = exports._Parameters = exports.TracingType = exports.LogLevel = exports.DurationType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.Status = exports.NetworkType = exports.DeploymentType = exports.DbStorageType = exports.DbInstanceType = exports.ConflictException = exports.AccessDeniedException = void 0;
3
+ exports.CreateDbInstanceInputFilterSensitiveLog = exports.CreateDbClusterInputFilterSensitiveLog = exports._Parameters = exports.TracingType = exports.LogLevel = exports.DurationType = exports.Status = exports.InstanceMode = exports.DeploymentType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ClusterStatus = exports.NetworkType = exports.FailoverMode = exports.ClusterDeploymentType = exports.DbStorageType = exports.DbInstanceType = exports.ConflictException = exports.AccessDeniedException = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const TimestreamInfluxDBServiceException_1 = require("./TimestreamInfluxDBServiceException");
6
6
  class AccessDeniedException extends TimestreamInfluxDBServiceException_1.TimestreamInfluxDBServiceException {
@@ -48,24 +48,24 @@ exports.DbStorageType = {
48
48
  INFLUX_IO_INCLUDED_T2: "InfluxIOIncludedT2",
49
49
  INFLUX_IO_INCLUDED_T3: "InfluxIOIncludedT3",
50
50
  };
51
- exports.DeploymentType = {
52
- SINGLE_AZ: "SINGLE_AZ",
53
- WITH_MULTIAZ_STANDBY: "WITH_MULTIAZ_STANDBY",
51
+ exports.ClusterDeploymentType = {
52
+ MULTI_NODE_READ_REPLICAS: "MULTI_NODE_READ_REPLICAS",
53
+ };
54
+ exports.FailoverMode = {
55
+ AUTOMATIC: "AUTOMATIC",
56
+ NO_FAILOVER: "NO_FAILOVER",
54
57
  };
55
58
  exports.NetworkType = {
56
59
  DUAL: "DUAL",
57
60
  IPV4: "IPV4",
58
61
  };
59
- exports.Status = {
62
+ exports.ClusterStatus = {
60
63
  AVAILABLE: "AVAILABLE",
61
64
  CREATING: "CREATING",
62
65
  DELETED: "DELETED",
63
66
  DELETING: "DELETING",
64
67
  FAILED: "FAILED",
65
- MODIFYING: "MODIFYING",
66
68
  UPDATING: "UPDATING",
67
- UPDATING_DEPLOYMENT_TYPE: "UPDATING_DEPLOYMENT_TYPE",
68
- UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE",
69
69
  };
70
70
  class InternalServerException extends TimestreamInfluxDBServiceException_1.TimestreamInfluxDBServiceException {
71
71
  name = "InternalServerException";
@@ -146,6 +146,26 @@ class ValidationException extends TimestreamInfluxDBServiceException_1.Timestrea
146
146
  }
147
147
  }
148
148
  exports.ValidationException = ValidationException;
149
+ exports.DeploymentType = {
150
+ SINGLE_AZ: "SINGLE_AZ",
151
+ WITH_MULTIAZ_STANDBY: "WITH_MULTIAZ_STANDBY",
152
+ };
153
+ exports.InstanceMode = {
154
+ PRIMARY: "PRIMARY",
155
+ REPLICA: "REPLICA",
156
+ STANDBY: "STANDBY",
157
+ };
158
+ exports.Status = {
159
+ AVAILABLE: "AVAILABLE",
160
+ CREATING: "CREATING",
161
+ DELETED: "DELETED",
162
+ DELETING: "DELETING",
163
+ FAILED: "FAILED",
164
+ MODIFYING: "MODIFYING",
165
+ UPDATING: "UPDATING",
166
+ UPDATING_DEPLOYMENT_TYPE: "UPDATING_DEPLOYMENT_TYPE",
167
+ UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE",
168
+ };
149
169
  exports.DurationType = {
150
170
  HOURS: "hours",
151
171
  MILLISECONDS: "milliseconds",
@@ -169,6 +189,12 @@ var _Parameters;
169
189
  return visitor._(value.$unknown[0], value.$unknown[1]);
170
190
  };
171
191
  })(_Parameters || (exports._Parameters = _Parameters = {}));
192
+ const CreateDbClusterInputFilterSensitiveLog = (obj) => ({
193
+ ...obj,
194
+ ...(obj.username && { username: smithy_client_1.SENSITIVE_STRING }),
195
+ ...(obj.password && { password: smithy_client_1.SENSITIVE_STRING }),
196
+ });
197
+ exports.CreateDbClusterInputFilterSensitiveLog = CreateDbClusterInputFilterSensitiveLog;
172
198
  const CreateDbInstanceInputFilterSensitiveLog = (obj) => ({
173
199
  ...obj,
174
200
  ...(obj.username && { username: smithy_client_1.SENSITIVE_STRING }),
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListDbClusters = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListDbClustersCommand_1 = require("../commands/ListDbClustersCommand");
6
+ const TimestreamInfluxDBClient_1 = require("../TimestreamInfluxDBClient");
7
+ exports.paginateListDbClusters = (0, core_1.createPaginator)(TimestreamInfluxDBClient_1.TimestreamInfluxDBClient, ListDbClustersCommand_1.ListDbClustersCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.paginateListDbInstancesForCluster = void 0;
4
+ const core_1 = require("@smithy/core");
5
+ const ListDbInstancesForClusterCommand_1 = require("../commands/ListDbInstancesForClusterCommand");
6
+ const TimestreamInfluxDBClient_1 = require("../TimestreamInfluxDBClient");
7
+ exports.paginateListDbInstancesForCluster = (0, core_1.createPaginator)(TimestreamInfluxDBClient_1.TimestreamInfluxDBClient, ListDbInstancesForClusterCommand_1.ListDbInstancesForClusterCommand, "nextToken", "nextToken", "maxResults");
@@ -2,5 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./Interfaces"), exports);
5
+ tslib_1.__exportStar(require("./ListDbClustersPaginator"), exports);
6
+ tslib_1.__exportStar(require("./ListDbInstancesForClusterPaginator"), exports);
5
7
  tslib_1.__exportStar(require("./ListDbInstancesPaginator"), exports);
6
8
  tslib_1.__exportStar(require("./ListDbParameterGroupsPaginator"), exports);