@aws-sdk/client-kafka 3.41.0 → 3.45.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.
- package/CHANGELOG.md +41 -0
- package/dist-cjs/Kafka.js +60 -0
- package/dist-cjs/commands/CreateClusterV2Command.js +36 -0
- package/dist-cjs/commands/DescribeClusterV2Command.js +36 -0
- package/dist-cjs/commands/ListClustersV2Command.js +36 -0
- package/dist-cjs/commands/UpdateConnectivityCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/endpoints.js +1 -0
- package/dist-cjs/models/models_0.js +156 -43
- package/dist-cjs/pagination/ListClustersV2Paginator.js +35 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_restJson1.js +769 -52
- package/dist-es/Kafka.js +60 -0
- package/dist-es/commands/CreateClusterV2Command.js +39 -0
- package/dist-es/commands/DescribeClusterV2Command.js +39 -0
- package/dist-es/commands/ListClustersV2Command.js +39 -0
- package/dist-es/commands/UpdateConnectivityCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/endpoints.js +1 -0
- package/dist-es/models/models_0.js +108 -31
- package/dist-es/pagination/ListClustersV2Paginator.js +74 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +772 -17
- package/dist-types/Kafka.d.ts +29 -1
- package/dist-types/KafkaClient.d.ts +6 -2
- package/dist-types/commands/CreateClusterV2Command.d.ts +35 -0
- package/dist-types/commands/DescribeClusterV2Command.d.ts +35 -0
- package/dist-types/commands/ListClustersV2Command.d.ts +35 -0
- package/dist-types/commands/ListKafkaVersionsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectivityCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +538 -87
- package/dist-types/pagination/ListClustersV2Paginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +12 -0
- package/dist-types/ts3.4/Kafka.d.ts +20 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/CreateClusterV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeClusterV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListClustersV2Command.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateConnectivityCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +307 -48
- package/dist-types/ts3.4/pagination/ListClustersV2Paginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,47 @@
|
|
|
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.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **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))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.44.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.43.0...v3.44.0) (2021-12-02)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **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))
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Features
|
|
32
|
+
|
|
33
|
+
* **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))
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
40
|
+
|
|
41
|
+
**Note:** Version bump only for package @aws-sdk/client-kafka
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
6
47
|
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
7
48
|
|
|
8
49
|
|
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);
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -1,18 +1,35 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
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
|
|
138
|
-
(function (
|
|
139
|
-
|
|
154
|
+
var JmxExporterInfo;
|
|
155
|
+
(function (JmxExporterInfo) {
|
|
156
|
+
JmxExporterInfo.filterSensitiveLog = (obj) => ({
|
|
140
157
|
...obj,
|
|
141
158
|
});
|
|
142
|
-
})(
|
|
143
|
-
var
|
|
144
|
-
(function (
|
|
145
|
-
|
|
159
|
+
})(JmxExporterInfo = exports.JmxExporterInfo || (exports.JmxExporterInfo = {}));
|
|
160
|
+
var NodeExporterInfo;
|
|
161
|
+
(function (NodeExporterInfo) {
|
|
162
|
+
NodeExporterInfo.filterSensitiveLog = (obj) => ({
|
|
146
163
|
...obj,
|
|
147
164
|
});
|
|
148
|
-
})(
|
|
149
|
-
var
|
|
150
|
-
(function (
|
|
151
|
-
|
|
165
|
+
})(NodeExporterInfo = exports.NodeExporterInfo || (exports.NodeExporterInfo = {}));
|
|
166
|
+
var PrometheusInfo;
|
|
167
|
+
(function (PrometheusInfo) {
|
|
168
|
+
PrometheusInfo.filterSensitiveLog = (obj) => ({
|
|
152
169
|
...obj,
|
|
153
170
|
});
|
|
154
|
-
})(
|
|
155
|
-
var
|
|
156
|
-
(function (
|
|
157
|
-
|
|
171
|
+
})(PrometheusInfo = exports.PrometheusInfo || (exports.PrometheusInfo = {}));
|
|
172
|
+
var OpenMonitoringInfo;
|
|
173
|
+
(function (OpenMonitoringInfo) {
|
|
174
|
+
OpenMonitoringInfo.filterSensitiveLog = (obj) => ({
|
|
158
175
|
...obj,
|
|
159
176
|
});
|
|
160
|
-
})(
|
|
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) => ({
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListClustersV2 = void 0;
|
|
4
|
+
const ListClustersV2Command_1 = require("../commands/ListClustersV2Command");
|
|
5
|
+
const Kafka_1 = require("../Kafka");
|
|
6
|
+
const KafkaClient_1 = require("../KafkaClient");
|
|
7
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
8
|
+
return await client.send(new ListClustersV2Command_1.ListClustersV2Command(input), ...args);
|
|
9
|
+
};
|
|
10
|
+
const makePagedRequest = async (client, input, ...args) => {
|
|
11
|
+
return await client.listClustersV2(input, ...args);
|
|
12
|
+
};
|
|
13
|
+
async function* paginateListClustersV2(config, input, ...additionalArguments) {
|
|
14
|
+
let token = config.startingToken || undefined;
|
|
15
|
+
let hasNext = true;
|
|
16
|
+
let page;
|
|
17
|
+
while (hasNext) {
|
|
18
|
+
input.NextToken = token;
|
|
19
|
+
input["MaxResults"] = config.pageSize;
|
|
20
|
+
if (config.client instanceof Kafka_1.Kafka) {
|
|
21
|
+
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
22
|
+
}
|
|
23
|
+
else if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
24
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
25
|
+
}
|
|
26
|
+
else {
|
|
27
|
+
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
28
|
+
}
|
|
29
|
+
yield page;
|
|
30
|
+
token = page.NextToken;
|
|
31
|
+
hasNext = !!token;
|
|
32
|
+
}
|
|
33
|
+
return undefined;
|
|
34
|
+
}
|
|
35
|
+
exports.paginateListClustersV2 = paginateListClustersV2;
|