@aws-sdk/client-kafka 3.183.0 → 3.185.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 +11 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2 -2
- package/dist-es/Kafka.js +149 -142
- package/dist-es/KafkaClient.js +28 -22
- package/dist-es/commands/BatchAssociateScramSecretCommand.js +28 -21
- package/dist-es/commands/BatchDisassociateScramSecretCommand.js +28 -21
- package/dist-es/commands/CreateClusterCommand.js +28 -21
- package/dist-es/commands/CreateClusterV2Command.js +28 -21
- package/dist-es/commands/CreateConfigurationCommand.js +28 -21
- package/dist-es/commands/DeleteClusterCommand.js +28 -21
- package/dist-es/commands/DeleteConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeClusterCommand.js +28 -21
- package/dist-es/commands/DescribeClusterOperationCommand.js +28 -21
- package/dist-es/commands/DescribeClusterV2Command.js +28 -21
- package/dist-es/commands/DescribeConfigurationCommand.js +28 -21
- package/dist-es/commands/DescribeConfigurationRevisionCommand.js +28 -21
- package/dist-es/commands/GetBootstrapBrokersCommand.js +28 -21
- package/dist-es/commands/GetCompatibleKafkaVersionsCommand.js +28 -21
- package/dist-es/commands/ListClusterOperationsCommand.js +28 -21
- package/dist-es/commands/ListClustersCommand.js +28 -21
- package/dist-es/commands/ListClustersV2Command.js +28 -21
- package/dist-es/commands/ListConfigurationRevisionsCommand.js +28 -21
- package/dist-es/commands/ListConfigurationsCommand.js +28 -21
- package/dist-es/commands/ListKafkaVersionsCommand.js +28 -21
- package/dist-es/commands/ListNodesCommand.js +28 -21
- package/dist-es/commands/ListScramSecretsCommand.js +28 -21
- package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
- package/dist-es/commands/RebootBrokerCommand.js +28 -21
- package/dist-es/commands/TagResourceCommand.js +29 -22
- package/dist-es/commands/UntagResourceCommand.js +29 -22
- package/dist-es/commands/UpdateBrokerCountCommand.js +28 -21
- package/dist-es/commands/UpdateBrokerStorageCommand.js +28 -21
- package/dist-es/commands/UpdateBrokerTypeCommand.js +28 -21
- package/dist-es/commands/UpdateClusterConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateClusterKafkaVersionCommand.js +28 -21
- package/dist-es/commands/UpdateConfigurationCommand.js +28 -21
- package/dist-es/commands/UpdateConnectivityCommand.js +28 -21
- package/dist-es/commands/UpdateMonitoringCommand.js +28 -21
- package/dist-es/commands/UpdateSecurityCommand.js +28 -21
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/KafkaServiceException.js +10 -5
- package/dist-es/models/models_0.js +227 -470
- package/dist-es/pagination/ListClusterOperationsPaginator.js +68 -25
- package/dist-es/pagination/ListClustersPaginator.js +68 -25
- package/dist-es/pagination/ListClustersV2Paginator.js +68 -25
- package/dist-es/pagination/ListConfigurationRevisionsPaginator.js +68 -25
- package/dist-es/pagination/ListConfigurationsPaginator.js +68 -25
- package/dist-es/pagination/ListKafkaVersionsPaginator.js +68 -25
- package/dist-es/pagination/ListNodesPaginator.js +68 -25
- package/dist-es/pagination/ListScramSecretsPaginator.js +68 -25
- package/dist-es/protocols/Aws_restJson1.js +3995 -2968
- package/dist-es/runtimeConfig.browser.js +12 -26
- package/dist-es/runtimeConfig.js +12 -30
- package/dist-es/runtimeConfig.native.js +5 -8
- package/dist-es/runtimeConfig.shared.js +11 -8
- package/package.json +5 -5
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeClusterV2RequestFilterSensitiveLog, DescribeClusterV2ResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DescribeClusterV2Command, serializeAws_restJson1DescribeClusterV2Command, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeClusterV2Command = (function (_super) {
|
|
7
|
+
__extends(DescribeClusterV2Command, _super);
|
|
8
|
+
function DescribeClusterV2Command(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeClusterV2Command.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "DescribeClusterV2Command";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeClusterV2RequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeClusterV2ResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeClusterV2Command.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DescribeClusterV2Command(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeClusterV2Command.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DescribeClusterV2Command(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeClusterV2Command;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeClusterV2Command };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeConfigurationRequestFilterSensitiveLog, DescribeConfigurationResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DescribeConfigurationCommand, serializeAws_restJson1DescribeConfigurationCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeConfigurationCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeConfigurationCommand, _super);
|
|
8
|
+
function DescribeConfigurationCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "DescribeConfigurationCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeConfigurationRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeConfigurationResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeConfigurationCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DescribeConfigurationCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeConfigurationCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DescribeConfigurationCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeConfigurationCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeConfigurationCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { DescribeConfigurationRevisionRequestFilterSensitiveLog, DescribeConfigurationRevisionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1DescribeConfigurationRevisionCommand, serializeAws_restJson1DescribeConfigurationRevisionCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var DescribeConfigurationRevisionCommand = (function (_super) {
|
|
7
|
+
__extends(DescribeConfigurationRevisionCommand, _super);
|
|
8
|
+
function DescribeConfigurationRevisionCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
DescribeConfigurationRevisionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "DescribeConfigurationRevisionCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: DescribeConfigurationRevisionRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: DescribeConfigurationRevisionResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
DescribeConfigurationRevisionCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1DescribeConfigurationRevisionCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
DescribeConfigurationRevisionCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1DescribeConfigurationRevisionCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return DescribeConfigurationRevisionCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { DescribeConfigurationRevisionCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetBootstrapBrokersRequestFilterSensitiveLog, GetBootstrapBrokersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetBootstrapBrokersCommand, serializeAws_restJson1GetBootstrapBrokersCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetBootstrapBrokersCommand = (function (_super) {
|
|
7
|
+
__extends(GetBootstrapBrokersCommand, _super);
|
|
8
|
+
function GetBootstrapBrokersCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetBootstrapBrokersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "GetBootstrapBrokersCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetBootstrapBrokersRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetBootstrapBrokersResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetBootstrapBrokersCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetBootstrapBrokersCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetBootstrapBrokersCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetBootstrapBrokersCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetBootstrapBrokersCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetBootstrapBrokersCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { GetCompatibleKafkaVersionsRequestFilterSensitiveLog, GetCompatibleKafkaVersionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1GetCompatibleKafkaVersionsCommand, serializeAws_restJson1GetCompatibleKafkaVersionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var GetCompatibleKafkaVersionsCommand = (function (_super) {
|
|
7
|
+
__extends(GetCompatibleKafkaVersionsCommand, _super);
|
|
8
|
+
function GetCompatibleKafkaVersionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
GetCompatibleKafkaVersionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "GetCompatibleKafkaVersionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: GetCompatibleKafkaVersionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: GetCompatibleKafkaVersionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
GetCompatibleKafkaVersionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1GetCompatibleKafkaVersionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
GetCompatibleKafkaVersionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1GetCompatibleKafkaVersionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return GetCompatibleKafkaVersionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { GetCompatibleKafkaVersionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListClusterOperationsRequestFilterSensitiveLog, ListClusterOperationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListClusterOperationsCommand, serializeAws_restJson1ListClusterOperationsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListClusterOperationsCommand = (function (_super) {
|
|
7
|
+
__extends(ListClusterOperationsCommand, _super);
|
|
8
|
+
function ListClusterOperationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListClusterOperationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "ListClusterOperationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListClusterOperationsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListClusterOperationsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListClusterOperationsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListClusterOperationsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListClusterOperationsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListClusterOperationsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListClusterOperationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListClusterOperationsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListClustersRequestFilterSensitiveLog, ListClustersResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListClustersCommand, serializeAws_restJson1ListClustersCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListClustersCommand = (function (_super) {
|
|
7
|
+
__extends(ListClustersCommand, _super);
|
|
8
|
+
function ListClustersCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListClustersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "ListClustersCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListClustersRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListClustersResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListClustersCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListClustersCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListClustersCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListClustersCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListClustersCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListClustersCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListClustersV2RequestFilterSensitiveLog, ListClustersV2ResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListClustersV2Command, serializeAws_restJson1ListClustersV2Command, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListClustersV2Command = (function (_super) {
|
|
7
|
+
__extends(ListClustersV2Command, _super);
|
|
8
|
+
function ListClustersV2Command(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListClustersV2Command.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "ListClustersV2Command";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListClustersV2RequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListClustersV2ResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListClustersV2Command.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListClustersV2Command(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListClustersV2Command.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListClustersV2Command(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListClustersV2Command;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListClustersV2Command };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListConfigurationRevisionsRequestFilterSensitiveLog, ListConfigurationRevisionsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListConfigurationRevisionsCommand, serializeAws_restJson1ListConfigurationRevisionsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListConfigurationRevisionsCommand = (function (_super) {
|
|
7
|
+
__extends(ListConfigurationRevisionsCommand, _super);
|
|
8
|
+
function ListConfigurationRevisionsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListConfigurationRevisionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "ListConfigurationRevisionsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListConfigurationRevisionsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListConfigurationRevisionsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListConfigurationRevisionsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListConfigurationRevisionsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListConfigurationRevisionsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListConfigurationRevisionsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListConfigurationRevisionsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListConfigurationRevisionsCommand };
|
|
@@ -1,32 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
1
2
|
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
3
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
4
|
import { ListConfigurationsRequestFilterSensitiveLog, ListConfigurationsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
4
5
|
import { deserializeAws_restJson1ListConfigurationsCommand, serializeAws_restJson1ListConfigurationsCommand, } from "../protocols/Aws_restJson1";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
var ListConfigurationsCommand = (function (_super) {
|
|
7
|
+
__extends(ListConfigurationsCommand, _super);
|
|
8
|
+
function ListConfigurationsCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
9
12
|
}
|
|
10
|
-
resolveMiddleware(clientStack, configuration, options) {
|
|
13
|
+
ListConfigurationsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
11
14
|
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
logger,
|
|
18
|
-
clientName,
|
|
19
|
-
commandName,
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "KafkaClient";
|
|
18
|
+
var commandName = "ListConfigurationsCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
20
23
|
inputFilterSensitiveLog: ListConfigurationsRequestFilterSensitiveLog,
|
|
21
24
|
outputFilterSensitiveLog: ListConfigurationsResponseFilterSensitiveLog,
|
|
22
25
|
};
|
|
23
|
-
|
|
24
|
-
return stack.resolve((request)
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
ListConfigurationsCommand.prototype.serialize = function (input, context) {
|
|
27
32
|
return serializeAws_restJson1ListConfigurationsCommand(input, context);
|
|
28
|
-
}
|
|
29
|
-
deserialize(output, context) {
|
|
33
|
+
};
|
|
34
|
+
ListConfigurationsCommand.prototype.deserialize = function (output, context) {
|
|
30
35
|
return deserializeAws_restJson1ListConfigurationsCommand(output, context);
|
|
31
|
-
}
|
|
32
|
-
|
|
36
|
+
};
|
|
37
|
+
return ListConfigurationsCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { ListConfigurationsCommand };
|