@aws-sdk/client-kafka 3.42.0 → 3.46.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 (49) hide show
  1. package/CHANGELOG.md +50 -0
  2. package/dist-cjs/Kafka.js +60 -0
  3. package/dist-cjs/commands/CreateClusterV2Command.js +36 -0
  4. package/dist-cjs/commands/DescribeClusterV2Command.js +36 -0
  5. package/dist-cjs/commands/ListClustersV2Command.js +36 -0
  6. package/dist-cjs/commands/UpdateConnectivityCommand.js +36 -0
  7. package/dist-cjs/commands/index.js +4 -0
  8. package/dist-cjs/endpoints.js +1 -0
  9. package/dist-cjs/models/models_0.js +156 -43
  10. package/dist-cjs/pagination/ListClustersV2Paginator.js +35 -0
  11. package/dist-cjs/pagination/index.js +1 -0
  12. package/dist-cjs/protocols/Aws_restJson1.js +769 -52
  13. package/dist-cjs/runtimeConfig.js +0 -2
  14. package/dist-es/Kafka.js +60 -0
  15. package/dist-es/commands/CreateClusterV2Command.js +39 -0
  16. package/dist-es/commands/DescribeClusterV2Command.js +39 -0
  17. package/dist-es/commands/ListClustersV2Command.js +39 -0
  18. package/dist-es/commands/UpdateConnectivityCommand.js +39 -0
  19. package/dist-es/commands/index.js +4 -0
  20. package/dist-es/endpoints.js +1 -0
  21. package/dist-es/models/models_0.js +108 -31
  22. package/dist-es/pagination/ListClustersV2Paginator.js +74 -0
  23. package/dist-es/pagination/index.js +1 -0
  24. package/dist-es/protocols/Aws_restJson1.js +772 -17
  25. package/dist-es/runtimeConfig.js +0 -2
  26. package/dist-types/Kafka.d.ts +29 -1
  27. package/dist-types/KafkaClient.d.ts +6 -2
  28. package/dist-types/commands/CreateClusterV2Command.d.ts +35 -0
  29. package/dist-types/commands/DescribeClusterV2Command.d.ts +35 -0
  30. package/dist-types/commands/ListClustersV2Command.d.ts +35 -0
  31. package/dist-types/commands/ListKafkaVersionsCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateConnectivityCommand.d.ts +35 -0
  33. package/dist-types/commands/index.d.ts +4 -0
  34. package/dist-types/models/models_0.d.ts +538 -87
  35. package/dist-types/pagination/ListClustersV2Paginator.d.ts +4 -0
  36. package/dist-types/pagination/index.d.ts +1 -0
  37. package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
  38. package/dist-types/ts3.4/Kafka.d.ts +20 -0
  39. package/dist-types/ts3.4/KafkaClient.d.ts +6 -2
  40. package/dist-types/ts3.4/commands/CreateClusterV2Command.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DescribeClusterV2Command.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ListClustersV2Command.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/UpdateConnectivityCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +307 -48
  46. package/dist-types/ts3.4/pagination/ListClustersV2Paginator.d.ts +4 -0
  47. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  48. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  49. package/package.json +36 -43
package/CHANGELOG.md CHANGED
@@ -3,6 +3,56 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
12
+
13
+
14
+ ### Features
15
+
16
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
17
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
18
+
19
+
20
+
21
+
22
+
23
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
24
+
25
+
26
+ ### Features
27
+
28
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
29
+
30
+
31
+
32
+
33
+
34
+ # [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
35
+
36
+
37
+ ### Features
38
+
39
+ * **clients:** update clients as of 2021/11/30 ([#3077](https://github.com/aws/aws-sdk-js-v3/issues/3077)) ([2bdba30](https://github.com/aws/aws-sdk-js-v3/commit/2bdba30963e550728ba2903d57daa1e666a29d71))
40
+
41
+
42
+
43
+
44
+
45
+ # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
46
+
47
+
48
+ ### Features
49
+
50
+ * **clients:** update clients as of 11/28/2021 ([#3072](https://github.com/aws/aws-sdk-js-v3/issues/3072)) ([2ad1622](https://github.com/aws/aws-sdk-js-v3/commit/2ad1622ba8586b926fe508055211803bb29e3976))
51
+
52
+
53
+
54
+
55
+
6
56
  # [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
7
57
 
8
58
  **Note:** Version bump only for package @aws-sdk/client-kafka
package/dist-cjs/Kafka.js CHANGED
@@ -4,17 +4,20 @@ exports.Kafka = void 0;
4
4
  const BatchAssociateScramSecretCommand_1 = require("./commands/BatchAssociateScramSecretCommand");
5
5
  const BatchDisassociateScramSecretCommand_1 = require("./commands/BatchDisassociateScramSecretCommand");
6
6
  const CreateClusterCommand_1 = require("./commands/CreateClusterCommand");
7
+ const CreateClusterV2Command_1 = require("./commands/CreateClusterV2Command");
7
8
  const CreateConfigurationCommand_1 = require("./commands/CreateConfigurationCommand");
8
9
  const DeleteClusterCommand_1 = require("./commands/DeleteClusterCommand");
9
10
  const DeleteConfigurationCommand_1 = require("./commands/DeleteConfigurationCommand");
10
11
  const DescribeClusterCommand_1 = require("./commands/DescribeClusterCommand");
11
12
  const DescribeClusterOperationCommand_1 = require("./commands/DescribeClusterOperationCommand");
13
+ const DescribeClusterV2Command_1 = require("./commands/DescribeClusterV2Command");
12
14
  const DescribeConfigurationCommand_1 = require("./commands/DescribeConfigurationCommand");
13
15
  const DescribeConfigurationRevisionCommand_1 = require("./commands/DescribeConfigurationRevisionCommand");
14
16
  const GetBootstrapBrokersCommand_1 = require("./commands/GetBootstrapBrokersCommand");
15
17
  const GetCompatibleKafkaVersionsCommand_1 = require("./commands/GetCompatibleKafkaVersionsCommand");
16
18
  const ListClusterOperationsCommand_1 = require("./commands/ListClusterOperationsCommand");
17
19
  const ListClustersCommand_1 = require("./commands/ListClustersCommand");
20
+ const ListClustersV2Command_1 = require("./commands/ListClustersV2Command");
18
21
  const ListConfigurationRevisionsCommand_1 = require("./commands/ListConfigurationRevisionsCommand");
19
22
  const ListConfigurationsCommand_1 = require("./commands/ListConfigurationsCommand");
20
23
  const ListKafkaVersionsCommand_1 = require("./commands/ListKafkaVersionsCommand");
@@ -30,6 +33,7 @@ const UpdateBrokerTypeCommand_1 = require("./commands/UpdateBrokerTypeCommand");
30
33
  const UpdateClusterConfigurationCommand_1 = require("./commands/UpdateClusterConfigurationCommand");
31
34
  const UpdateClusterKafkaVersionCommand_1 = require("./commands/UpdateClusterKafkaVersionCommand");
32
35
  const UpdateConfigurationCommand_1 = require("./commands/UpdateConfigurationCommand");
36
+ const UpdateConnectivityCommand_1 = require("./commands/UpdateConnectivityCommand");
33
37
  const UpdateMonitoringCommand_1 = require("./commands/UpdateMonitoringCommand");
34
38
  const UpdateSecurityCommand_1 = require("./commands/UpdateSecurityCommand");
35
39
  const KafkaClient_1 = require("./KafkaClient");
@@ -76,6 +80,20 @@ class Kafka extends KafkaClient_1.KafkaClient {
76
80
  return this.send(command, optionsOrCb);
77
81
  }
78
82
  }
83
+ createClusterV2(args, optionsOrCb, cb) {
84
+ const command = new CreateClusterV2Command_1.CreateClusterV2Command(args);
85
+ if (typeof optionsOrCb === "function") {
86
+ this.send(command, optionsOrCb);
87
+ }
88
+ else if (typeof cb === "function") {
89
+ if (typeof optionsOrCb !== "object")
90
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
91
+ this.send(command, optionsOrCb || {}, cb);
92
+ }
93
+ else {
94
+ return this.send(command, optionsOrCb);
95
+ }
96
+ }
79
97
  createConfiguration(args, optionsOrCb, cb) {
80
98
  const command = new CreateConfigurationCommand_1.CreateConfigurationCommand(args);
81
99
  if (typeof optionsOrCb === "function") {
@@ -146,6 +164,20 @@ class Kafka extends KafkaClient_1.KafkaClient {
146
164
  return this.send(command, optionsOrCb);
147
165
  }
148
166
  }
167
+ describeClusterV2(args, optionsOrCb, cb) {
168
+ const command = new DescribeClusterV2Command_1.DescribeClusterV2Command(args);
169
+ if (typeof optionsOrCb === "function") {
170
+ this.send(command, optionsOrCb);
171
+ }
172
+ else if (typeof cb === "function") {
173
+ if (typeof optionsOrCb !== "object")
174
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
175
+ this.send(command, optionsOrCb || {}, cb);
176
+ }
177
+ else {
178
+ return this.send(command, optionsOrCb);
179
+ }
180
+ }
149
181
  describeConfiguration(args, optionsOrCb, cb) {
150
182
  const command = new DescribeConfigurationCommand_1.DescribeConfigurationCommand(args);
151
183
  if (typeof optionsOrCb === "function") {
@@ -230,6 +262,20 @@ class Kafka extends KafkaClient_1.KafkaClient {
230
262
  return this.send(command, optionsOrCb);
231
263
  }
232
264
  }
265
+ listClustersV2(args, optionsOrCb, cb) {
266
+ const command = new ListClustersV2Command_1.ListClustersV2Command(args);
267
+ if (typeof optionsOrCb === "function") {
268
+ this.send(command, optionsOrCb);
269
+ }
270
+ else if (typeof cb === "function") {
271
+ if (typeof optionsOrCb !== "object")
272
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
273
+ this.send(command, optionsOrCb || {}, cb);
274
+ }
275
+ else {
276
+ return this.send(command, optionsOrCb);
277
+ }
278
+ }
233
279
  listConfigurationRevisions(args, optionsOrCb, cb) {
234
280
  const command = new ListConfigurationRevisionsCommand_1.ListConfigurationRevisionsCommand(args);
235
281
  if (typeof optionsOrCb === "function") {
@@ -440,6 +486,20 @@ class Kafka extends KafkaClient_1.KafkaClient {
440
486
  return this.send(command, optionsOrCb);
441
487
  }
442
488
  }
489
+ updateConnectivity(args, optionsOrCb, cb) {
490
+ const command = new UpdateConnectivityCommand_1.UpdateConnectivityCommand(args);
491
+ if (typeof optionsOrCb === "function") {
492
+ this.send(command, optionsOrCb);
493
+ }
494
+ else if (typeof cb === "function") {
495
+ if (typeof optionsOrCb !== "object")
496
+ throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
497
+ this.send(command, optionsOrCb || {}, cb);
498
+ }
499
+ else {
500
+ return this.send(command, optionsOrCb);
501
+ }
502
+ }
443
503
  updateMonitoring(args, optionsOrCb, cb) {
444
504
  const command = new UpdateMonitoringCommand_1.UpdateMonitoringCommand(args);
445
505
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.CreateClusterV2Command = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class CreateClusterV2Command extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "KafkaClient";
18
+ const commandName = "CreateClusterV2Command";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.CreateClusterV2Request.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.CreateClusterV2Response.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1CreateClusterV2Command(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1CreateClusterV2Command(output, context);
34
+ }
35
+ }
36
+ exports.CreateClusterV2Command = CreateClusterV2Command;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DescribeClusterV2Command = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class DescribeClusterV2Command extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "KafkaClient";
18
+ const commandName = "DescribeClusterV2Command";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.DescribeClusterV2Request.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.DescribeClusterV2Response.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1DescribeClusterV2Command(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1DescribeClusterV2Command(output, context);
34
+ }
35
+ }
36
+ exports.DescribeClusterV2Command = DescribeClusterV2Command;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ListClustersV2Command = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class ListClustersV2Command extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "KafkaClient";
18
+ const commandName = "ListClustersV2Command";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.ListClustersV2Request.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.ListClustersV2Response.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1ListClustersV2Command(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1ListClustersV2Command(output, context);
34
+ }
35
+ }
36
+ exports.ListClustersV2Command = ListClustersV2Command;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UpdateConnectivityCommand = void 0;
4
+ const middleware_serde_1 = require("@aws-sdk/middleware-serde");
5
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
6
+ const models_0_1 = require("../models/models_0");
7
+ const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
8
+ class UpdateConnectivityCommand extends smithy_client_1.Command {
9
+ constructor(input) {
10
+ super();
11
+ this.input = input;
12
+ }
13
+ resolveMiddleware(clientStack, configuration, options) {
14
+ this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ const stack = clientStack.concat(this.middlewareStack);
16
+ const { logger } = configuration;
17
+ const clientName = "KafkaClient";
18
+ const commandName = "UpdateConnectivityCommand";
19
+ const handlerExecutionContext = {
20
+ logger,
21
+ clientName,
22
+ commandName,
23
+ inputFilterSensitiveLog: models_0_1.UpdateConnectivityRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: models_0_1.UpdateConnectivityResponse.filterSensitiveLog,
25
+ };
26
+ const { requestHandler } = configuration;
27
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
28
+ }
29
+ serialize(input, context) {
30
+ return Aws_restJson1_1.serializeAws_restJson1UpdateConnectivityCommand(input, context);
31
+ }
32
+ deserialize(output, context) {
33
+ return Aws_restJson1_1.deserializeAws_restJson1UpdateConnectivityCommand(output, context);
34
+ }
35
+ }
36
+ exports.UpdateConnectivityCommand = UpdateConnectivityCommand;
@@ -4,17 +4,20 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./BatchAssociateScramSecretCommand"), exports);
5
5
  tslib_1.__exportStar(require("./BatchDisassociateScramSecretCommand"), exports);
6
6
  tslib_1.__exportStar(require("./CreateClusterCommand"), exports);
7
+ tslib_1.__exportStar(require("./CreateClusterV2Command"), exports);
7
8
  tslib_1.__exportStar(require("./CreateConfigurationCommand"), exports);
8
9
  tslib_1.__exportStar(require("./DeleteClusterCommand"), exports);
9
10
  tslib_1.__exportStar(require("./DeleteConfigurationCommand"), exports);
10
11
  tslib_1.__exportStar(require("./DescribeClusterCommand"), exports);
11
12
  tslib_1.__exportStar(require("./DescribeClusterOperationCommand"), exports);
13
+ tslib_1.__exportStar(require("./DescribeClusterV2Command"), exports);
12
14
  tslib_1.__exportStar(require("./DescribeConfigurationCommand"), exports);
13
15
  tslib_1.__exportStar(require("./DescribeConfigurationRevisionCommand"), exports);
14
16
  tslib_1.__exportStar(require("./GetBootstrapBrokersCommand"), exports);
15
17
  tslib_1.__exportStar(require("./GetCompatibleKafkaVersionsCommand"), exports);
16
18
  tslib_1.__exportStar(require("./ListClusterOperationsCommand"), exports);
17
19
  tslib_1.__exportStar(require("./ListClustersCommand"), exports);
20
+ tslib_1.__exportStar(require("./ListClustersV2Command"), exports);
18
21
  tslib_1.__exportStar(require("./ListConfigurationRevisionsCommand"), exports);
19
22
  tslib_1.__exportStar(require("./ListConfigurationsCommand"), exports);
20
23
  tslib_1.__exportStar(require("./ListKafkaVersionsCommand"), exports);
@@ -30,5 +33,6 @@ tslib_1.__exportStar(require("./UpdateBrokerTypeCommand"), exports);
30
33
  tslib_1.__exportStar(require("./UpdateClusterConfigurationCommand"), exports);
31
34
  tslib_1.__exportStar(require("./UpdateClusterKafkaVersionCommand"), exports);
32
35
  tslib_1.__exportStar(require("./UpdateConfigurationCommand"), exports);
36
+ tslib_1.__exportStar(require("./UpdateConnectivityCommand"), exports);
33
37
  tslib_1.__exportStar(require("./UpdateMonitoringCommand"), exports);
34
38
  tslib_1.__exportStar(require("./UpdateSecurityCommand"), exports);
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",
@@ -1,18 +1,35 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ForbiddenException = exports.BatchAssociateScramSecretResponse = exports.BatchAssociateScramSecretRequest = exports.BadRequestException = exports.UnprocessedScramSecret = exports.NodeInfo = exports.ZookeeperNodeInfo = exports.NodeType = exports.BrokerNodeInfo = exports.KafkaVersion = exports.KafkaVersionStatus = exports.Configuration = exports.ConfigurationState = exports.ConfigurationRevision = exports.CompatibleKafkaVersion = exports.ClusterOperationInfo = exports.MutableClusterInfo = exports.ConfigurationInfo = exports.ClusterOperationStep = exports.ClusterOperationStepInfo = exports.ErrorInfo = exports.ClusterInfo = exports.StateInfo = exports.ClusterState = exports.OpenMonitoring = exports.Prometheus = exports.NodeExporter = exports.JmxExporter = exports.LoggingInfo = exports.BrokerLogs = exports.S3 = exports.Firehose = exports.CloudWatchLogs = exports.EnhancedMonitoring = exports.EncryptionInfo = exports.EncryptionInTransit = exports.ClientBroker = exports.EncryptionAtRest = exports.BrokerSoftwareInfo = exports.ClientAuthentication = exports.Unauthenticated = exports.Tls = exports.Sasl = exports.Scram = exports.Iam = exports.BrokerNodeGroupInfo = exports.StorageInfo = exports.EBSStorageInfo = exports.BrokerAZDistribution = exports.BrokerEBSVolumeInfo = void 0;
4
- exports.RebootBrokerResponse = exports.RebootBrokerRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListScramSecretsResponse = exports.ListScramSecretsRequest = exports.ListNodesResponse = exports.ListNodesRequest = exports.ListKafkaVersionsResponse = exports.ListKafkaVersionsRequest = exports.ListConfigurationsResponse = exports.ListConfigurationsRequest = exports.ListConfigurationRevisionsResponse = exports.ListConfigurationRevisionsRequest = exports.ListClustersResponse = exports.ListClustersRequest = exports.ListClusterOperationsResponse = exports.ListClusterOperationsRequest = exports.GetCompatibleKafkaVersionsResponse = exports.GetCompatibleKafkaVersionsRequest = exports.GetBootstrapBrokersResponse = exports.GetBootstrapBrokersRequest = exports.DescribeConfigurationRevisionResponse = exports.DescribeConfigurationRevisionRequest = exports.DescribeConfigurationResponse = exports.DescribeConfigurationRequest = exports.DescribeClusterOperationResponse = exports.DescribeClusterOperationRequest = exports.DescribeClusterResponse = exports.DescribeClusterRequest = exports.DeleteConfigurationResponse = exports.DeleteConfigurationRequest = exports.DeleteClusterResponse = exports.DeleteClusterRequest = exports.CreateConfigurationResponse = exports.CreateConfigurationRequest = exports.CreateClusterResponse = exports.CreateClusterRequest = exports.OpenMonitoringInfo = exports.PrometheusInfo = exports.NodeExporterInfo = exports.JmxExporterInfo = exports.ConflictException = exports.BatchDisassociateScramSecretResponse = exports.BatchDisassociateScramSecretRequest = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = void 0;
5
- exports.UpdateSecurityResponse = exports.UpdateSecurityRequest = exports.UpdateMonitoringResponse = exports.UpdateMonitoringRequest = exports.UpdateConfigurationResponse = exports.UpdateConfigurationRequest = exports.UpdateClusterKafkaVersionResponse = exports.UpdateClusterKafkaVersionRequest = exports.UpdateClusterConfigurationResponse = exports.UpdateClusterConfigurationRequest = exports.UpdateBrokerTypeResponse = exports.UpdateBrokerTypeRequest = exports.UpdateBrokerStorageResponse = exports.UpdateBrokerStorageRequest = exports.UpdateBrokerCountResponse = exports.UpdateBrokerCountRequest = exports.UntagResourceRequest = exports.TagResourceRequest = void 0;
3
+ exports.ConfigurationRevision = exports.CompatibleKafkaVersion = exports.ClusterOperationInfo = exports.MutableClusterInfo = exports.ConfigurationInfo = exports.ClusterOperationStep = exports.ClusterOperationStepInfo = exports.ErrorInfo = exports.ClusterInfo = exports.OpenMonitoring = exports.Prometheus = exports.NodeExporter = exports.JmxExporter = exports.Cluster = exports.StateInfo = exports.ClusterState = exports.Serverless = exports.VpcConfig = exports.ServerlessClientAuthentication = exports.ServerlessSasl = exports.Provisioned = exports.OpenMonitoringInfo = exports.PrometheusInfo = exports.NodeExporterInfo = exports.JmxExporterInfo = exports.LoggingInfo = exports.BrokerLogs = exports.S3 = exports.Firehose = exports.CloudWatchLogs = exports.EnhancedMonitoring = exports.EncryptionInfo = exports.EncryptionInTransit = exports.ClientBroker = exports.EncryptionAtRest = exports.BrokerSoftwareInfo = exports.ClientAuthentication = exports.Unauthenticated = exports.Tls = exports.Sasl = exports.Scram = exports.Iam = exports.BrokerNodeGroupInfo = exports.StorageInfo = exports.EBSStorageInfo = exports.ConnectivityInfo = exports.PublicAccess = exports.BrokerAZDistribution = exports.ClusterType = exports.BrokerEBSVolumeInfo = void 0;
4
+ exports.ListClustersRequest = exports.ListClusterOperationsResponse = exports.ListClusterOperationsRequest = exports.GetCompatibleKafkaVersionsResponse = exports.GetCompatibleKafkaVersionsRequest = exports.GetBootstrapBrokersResponse = exports.GetBootstrapBrokersRequest = exports.DescribeConfigurationRevisionResponse = exports.DescribeConfigurationRevisionRequest = exports.DescribeConfigurationResponse = exports.DescribeConfigurationRequest = exports.DescribeClusterV2Response = exports.DescribeClusterV2Request = exports.DescribeClusterOperationResponse = exports.DescribeClusterOperationRequest = exports.DescribeClusterResponse = exports.DescribeClusterRequest = exports.DeleteConfigurationResponse = exports.DeleteConfigurationRequest = exports.DeleteClusterResponse = exports.DeleteClusterRequest = exports.CreateConfigurationResponse = exports.CreateConfigurationRequest = exports.CreateClusterV2Response = exports.CreateClusterV2Request = exports.ServerlessRequest = exports.ProvisionedRequest = exports.CreateClusterResponse = exports.CreateClusterRequest = exports.ConflictException = exports.BatchDisassociateScramSecretResponse = exports.BatchDisassociateScramSecretRequest = exports.UnauthorizedException = exports.TooManyRequestsException = exports.ServiceUnavailableException = exports.NotFoundException = exports.InternalServerErrorException = exports.ForbiddenException = exports.BatchAssociateScramSecretResponse = exports.BatchAssociateScramSecretRequest = exports.BadRequestException = exports.UnprocessedScramSecret = exports.NodeInfo = exports.ZookeeperNodeInfo = exports.NodeType = exports.BrokerNodeInfo = exports.KafkaVersion = exports.KafkaVersionStatus = exports.Configuration = exports.ConfigurationState = void 0;
5
+ exports.UpdateSecurityResponse = exports.UpdateSecurityRequest = exports.UpdateMonitoringResponse = exports.UpdateMonitoringRequest = exports.UpdateConnectivityResponse = exports.UpdateConnectivityRequest = exports.UpdateConfigurationResponse = exports.UpdateConfigurationRequest = exports.UpdateClusterKafkaVersionResponse = exports.UpdateClusterKafkaVersionRequest = exports.UpdateClusterConfigurationResponse = exports.UpdateClusterConfigurationRequest = exports.UpdateBrokerTypeResponse = exports.UpdateBrokerTypeRequest = exports.UpdateBrokerStorageResponse = exports.UpdateBrokerStorageRequest = exports.UpdateBrokerCountResponse = exports.UpdateBrokerCountRequest = exports.UntagResourceRequest = exports.TagResourceRequest = exports.RebootBrokerResponse = exports.RebootBrokerRequest = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListScramSecretsResponse = exports.ListScramSecretsRequest = exports.ListNodesResponse = exports.ListNodesRequest = exports.ListKafkaVersionsResponse = exports.ListKafkaVersionsRequest = exports.ListConfigurationsResponse = exports.ListConfigurationsRequest = exports.ListConfigurationRevisionsResponse = exports.ListConfigurationRevisionsRequest = exports.ListClustersV2Response = exports.ListClustersV2Request = exports.ListClustersResponse = void 0;
6
6
  var BrokerEBSVolumeInfo;
7
7
  (function (BrokerEBSVolumeInfo) {
8
8
  BrokerEBSVolumeInfo.filterSensitiveLog = (obj) => ({
9
9
  ...obj,
10
10
  });
11
11
  })(BrokerEBSVolumeInfo = exports.BrokerEBSVolumeInfo || (exports.BrokerEBSVolumeInfo = {}));
12
+ var ClusterType;
13
+ (function (ClusterType) {
14
+ ClusterType["PROVISIONED"] = "PROVISIONED";
15
+ ClusterType["SERVERLESS"] = "SERVERLESS";
16
+ })(ClusterType = exports.ClusterType || (exports.ClusterType = {}));
12
17
  var BrokerAZDistribution;
13
18
  (function (BrokerAZDistribution) {
14
19
  BrokerAZDistribution["DEFAULT"] = "DEFAULT";
15
20
  })(BrokerAZDistribution = exports.BrokerAZDistribution || (exports.BrokerAZDistribution = {}));
21
+ var PublicAccess;
22
+ (function (PublicAccess) {
23
+ PublicAccess.filterSensitiveLog = (obj) => ({
24
+ ...obj,
25
+ });
26
+ })(PublicAccess = exports.PublicAccess || (exports.PublicAccess = {}));
27
+ var ConnectivityInfo;
28
+ (function (ConnectivityInfo) {
29
+ ConnectivityInfo.filterSensitiveLog = (obj) => ({
30
+ ...obj,
31
+ });
32
+ })(ConnectivityInfo = exports.ConnectivityInfo || (exports.ConnectivityInfo = {}));
16
33
  var EBSStorageInfo;
17
34
  (function (EBSStorageInfo) {
18
35
  EBSStorageInfo.filterSensitiveLog = (obj) => ({
@@ -134,30 +151,60 @@ var LoggingInfo;
134
151
  ...obj,
135
152
  });
136
153
  })(LoggingInfo = exports.LoggingInfo || (exports.LoggingInfo = {}));
137
- var JmxExporter;
138
- (function (JmxExporter) {
139
- JmxExporter.filterSensitiveLog = (obj) => ({
154
+ var JmxExporterInfo;
155
+ (function (JmxExporterInfo) {
156
+ JmxExporterInfo.filterSensitiveLog = (obj) => ({
140
157
  ...obj,
141
158
  });
142
- })(JmxExporter = exports.JmxExporter || (exports.JmxExporter = {}));
143
- var NodeExporter;
144
- (function (NodeExporter) {
145
- NodeExporter.filterSensitiveLog = (obj) => ({
159
+ })(JmxExporterInfo = exports.JmxExporterInfo || (exports.JmxExporterInfo = {}));
160
+ var NodeExporterInfo;
161
+ (function (NodeExporterInfo) {
162
+ NodeExporterInfo.filterSensitiveLog = (obj) => ({
146
163
  ...obj,
147
164
  });
148
- })(NodeExporter = exports.NodeExporter || (exports.NodeExporter = {}));
149
- var Prometheus;
150
- (function (Prometheus) {
151
- Prometheus.filterSensitiveLog = (obj) => ({
165
+ })(NodeExporterInfo = exports.NodeExporterInfo || (exports.NodeExporterInfo = {}));
166
+ var PrometheusInfo;
167
+ (function (PrometheusInfo) {
168
+ PrometheusInfo.filterSensitiveLog = (obj) => ({
152
169
  ...obj,
153
170
  });
154
- })(Prometheus = exports.Prometheus || (exports.Prometheus = {}));
155
- var OpenMonitoring;
156
- (function (OpenMonitoring) {
157
- OpenMonitoring.filterSensitiveLog = (obj) => ({
171
+ })(PrometheusInfo = exports.PrometheusInfo || (exports.PrometheusInfo = {}));
172
+ var OpenMonitoringInfo;
173
+ (function (OpenMonitoringInfo) {
174
+ OpenMonitoringInfo.filterSensitiveLog = (obj) => ({
158
175
  ...obj,
159
176
  });
160
- })(OpenMonitoring = exports.OpenMonitoring || (exports.OpenMonitoring = {}));
177
+ })(OpenMonitoringInfo = exports.OpenMonitoringInfo || (exports.OpenMonitoringInfo = {}));
178
+ var Provisioned;
179
+ (function (Provisioned) {
180
+ Provisioned.filterSensitiveLog = (obj) => ({
181
+ ...obj,
182
+ });
183
+ })(Provisioned = exports.Provisioned || (exports.Provisioned = {}));
184
+ var ServerlessSasl;
185
+ (function (ServerlessSasl) {
186
+ ServerlessSasl.filterSensitiveLog = (obj) => ({
187
+ ...obj,
188
+ });
189
+ })(ServerlessSasl = exports.ServerlessSasl || (exports.ServerlessSasl = {}));
190
+ var ServerlessClientAuthentication;
191
+ (function (ServerlessClientAuthentication) {
192
+ ServerlessClientAuthentication.filterSensitiveLog = (obj) => ({
193
+ ...obj,
194
+ });
195
+ })(ServerlessClientAuthentication = exports.ServerlessClientAuthentication || (exports.ServerlessClientAuthentication = {}));
196
+ var VpcConfig;
197
+ (function (VpcConfig) {
198
+ VpcConfig.filterSensitiveLog = (obj) => ({
199
+ ...obj,
200
+ });
201
+ })(VpcConfig = exports.VpcConfig || (exports.VpcConfig = {}));
202
+ var Serverless;
203
+ (function (Serverless) {
204
+ Serverless.filterSensitiveLog = (obj) => ({
205
+ ...obj,
206
+ });
207
+ })(Serverless = exports.Serverless || (exports.Serverless = {}));
161
208
  var ClusterState;
162
209
  (function (ClusterState) {
163
210
  ClusterState["ACTIVE"] = "ACTIVE";
@@ -175,6 +222,36 @@ var StateInfo;
175
222
  ...obj,
176
223
  });
177
224
  })(StateInfo = exports.StateInfo || (exports.StateInfo = {}));
225
+ var Cluster;
226
+ (function (Cluster) {
227
+ Cluster.filterSensitiveLog = (obj) => ({
228
+ ...obj,
229
+ });
230
+ })(Cluster = exports.Cluster || (exports.Cluster = {}));
231
+ var JmxExporter;
232
+ (function (JmxExporter) {
233
+ JmxExporter.filterSensitiveLog = (obj) => ({
234
+ ...obj,
235
+ });
236
+ })(JmxExporter = exports.JmxExporter || (exports.JmxExporter = {}));
237
+ var NodeExporter;
238
+ (function (NodeExporter) {
239
+ NodeExporter.filterSensitiveLog = (obj) => ({
240
+ ...obj,
241
+ });
242
+ })(NodeExporter = exports.NodeExporter || (exports.NodeExporter = {}));
243
+ var Prometheus;
244
+ (function (Prometheus) {
245
+ Prometheus.filterSensitiveLog = (obj) => ({
246
+ ...obj,
247
+ });
248
+ })(Prometheus = exports.Prometheus || (exports.Prometheus = {}));
249
+ var OpenMonitoring;
250
+ (function (OpenMonitoring) {
251
+ OpenMonitoring.filterSensitiveLog = (obj) => ({
252
+ ...obj,
253
+ });
254
+ })(OpenMonitoring = exports.OpenMonitoring || (exports.OpenMonitoring = {}));
178
255
  var ClusterInfo;
179
256
  (function (ClusterInfo) {
180
257
  ClusterInfo.filterSensitiveLog = (obj) => ({
@@ -352,30 +429,6 @@ var ConflictException;
352
429
  ...obj,
353
430
  });
354
431
  })(ConflictException = exports.ConflictException || (exports.ConflictException = {}));
355
- var JmxExporterInfo;
356
- (function (JmxExporterInfo) {
357
- JmxExporterInfo.filterSensitiveLog = (obj) => ({
358
- ...obj,
359
- });
360
- })(JmxExporterInfo = exports.JmxExporterInfo || (exports.JmxExporterInfo = {}));
361
- var NodeExporterInfo;
362
- (function (NodeExporterInfo) {
363
- NodeExporterInfo.filterSensitiveLog = (obj) => ({
364
- ...obj,
365
- });
366
- })(NodeExporterInfo = exports.NodeExporterInfo || (exports.NodeExporterInfo = {}));
367
- var PrometheusInfo;
368
- (function (PrometheusInfo) {
369
- PrometheusInfo.filterSensitiveLog = (obj) => ({
370
- ...obj,
371
- });
372
- })(PrometheusInfo = exports.PrometheusInfo || (exports.PrometheusInfo = {}));
373
- var OpenMonitoringInfo;
374
- (function (OpenMonitoringInfo) {
375
- OpenMonitoringInfo.filterSensitiveLog = (obj) => ({
376
- ...obj,
377
- });
378
- })(OpenMonitoringInfo = exports.OpenMonitoringInfo || (exports.OpenMonitoringInfo = {}));
379
432
  var CreateClusterRequest;
380
433
  (function (CreateClusterRequest) {
381
434
  CreateClusterRequest.filterSensitiveLog = (obj) => ({
@@ -388,6 +441,30 @@ var CreateClusterResponse;
388
441
  ...obj,
389
442
  });
390
443
  })(CreateClusterResponse = exports.CreateClusterResponse || (exports.CreateClusterResponse = {}));
444
+ var ProvisionedRequest;
445
+ (function (ProvisionedRequest) {
446
+ ProvisionedRequest.filterSensitiveLog = (obj) => ({
447
+ ...obj,
448
+ });
449
+ })(ProvisionedRequest = exports.ProvisionedRequest || (exports.ProvisionedRequest = {}));
450
+ var ServerlessRequest;
451
+ (function (ServerlessRequest) {
452
+ ServerlessRequest.filterSensitiveLog = (obj) => ({
453
+ ...obj,
454
+ });
455
+ })(ServerlessRequest = exports.ServerlessRequest || (exports.ServerlessRequest = {}));
456
+ var CreateClusterV2Request;
457
+ (function (CreateClusterV2Request) {
458
+ CreateClusterV2Request.filterSensitiveLog = (obj) => ({
459
+ ...obj,
460
+ });
461
+ })(CreateClusterV2Request = exports.CreateClusterV2Request || (exports.CreateClusterV2Request = {}));
462
+ var CreateClusterV2Response;
463
+ (function (CreateClusterV2Response) {
464
+ CreateClusterV2Response.filterSensitiveLog = (obj) => ({
465
+ ...obj,
466
+ });
467
+ })(CreateClusterV2Response = exports.CreateClusterV2Response || (exports.CreateClusterV2Response = {}));
391
468
  var CreateConfigurationRequest;
392
469
  (function (CreateConfigurationRequest) {
393
470
  CreateConfigurationRequest.filterSensitiveLog = (obj) => ({
@@ -448,6 +525,18 @@ var DescribeClusterOperationResponse;
448
525
  ...obj,
449
526
  });
450
527
  })(DescribeClusterOperationResponse = exports.DescribeClusterOperationResponse || (exports.DescribeClusterOperationResponse = {}));
528
+ var DescribeClusterV2Request;
529
+ (function (DescribeClusterV2Request) {
530
+ DescribeClusterV2Request.filterSensitiveLog = (obj) => ({
531
+ ...obj,
532
+ });
533
+ })(DescribeClusterV2Request = exports.DescribeClusterV2Request || (exports.DescribeClusterV2Request = {}));
534
+ var DescribeClusterV2Response;
535
+ (function (DescribeClusterV2Response) {
536
+ DescribeClusterV2Response.filterSensitiveLog = (obj) => ({
537
+ ...obj,
538
+ });
539
+ })(DescribeClusterV2Response = exports.DescribeClusterV2Response || (exports.DescribeClusterV2Response = {}));
451
540
  var DescribeConfigurationRequest;
452
541
  (function (DescribeConfigurationRequest) {
453
542
  DescribeConfigurationRequest.filterSensitiveLog = (obj) => ({
@@ -520,6 +609,18 @@ var ListClustersResponse;
520
609
  ...obj,
521
610
  });
522
611
  })(ListClustersResponse = exports.ListClustersResponse || (exports.ListClustersResponse = {}));
612
+ var ListClustersV2Request;
613
+ (function (ListClustersV2Request) {
614
+ ListClustersV2Request.filterSensitiveLog = (obj) => ({
615
+ ...obj,
616
+ });
617
+ })(ListClustersV2Request = exports.ListClustersV2Request || (exports.ListClustersV2Request = {}));
618
+ var ListClustersV2Response;
619
+ (function (ListClustersV2Response) {
620
+ ListClustersV2Response.filterSensitiveLog = (obj) => ({
621
+ ...obj,
622
+ });
623
+ })(ListClustersV2Response = exports.ListClustersV2Response || (exports.ListClustersV2Response = {}));
523
624
  var ListConfigurationRevisionsRequest;
524
625
  (function (ListConfigurationRevisionsRequest) {
525
626
  ListConfigurationRevisionsRequest.filterSensitiveLog = (obj) => ({
@@ -688,6 +789,18 @@ var UpdateConfigurationResponse;
688
789
  ...obj,
689
790
  });
690
791
  })(UpdateConfigurationResponse = exports.UpdateConfigurationResponse || (exports.UpdateConfigurationResponse = {}));
792
+ var UpdateConnectivityRequest;
793
+ (function (UpdateConnectivityRequest) {
794
+ UpdateConnectivityRequest.filterSensitiveLog = (obj) => ({
795
+ ...obj,
796
+ });
797
+ })(UpdateConnectivityRequest = exports.UpdateConnectivityRequest || (exports.UpdateConnectivityRequest = {}));
798
+ var UpdateConnectivityResponse;
799
+ (function (UpdateConnectivityResponse) {
800
+ UpdateConnectivityResponse.filterSensitiveLog = (obj) => ({
801
+ ...obj,
802
+ });
803
+ })(UpdateConnectivityResponse = exports.UpdateConnectivityResponse || (exports.UpdateConnectivityResponse = {}));
691
804
  var UpdateMonitoringRequest;
692
805
  (function (UpdateMonitoringRequest) {
693
806
  UpdateMonitoringRequest.filterSensitiveLog = (obj) => ({