@aws-sdk/client-kafka 3.477.0 → 3.481.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/dist-cjs/commands/BatchAssociateScramSecretCommand.js +18 -41
- package/dist-cjs/commands/BatchDisassociateScramSecretCommand.js +18 -41
- package/dist-cjs/commands/CreateClusterCommand.js +18 -41
- package/dist-cjs/commands/CreateClusterV2Command.js +18 -41
- package/dist-cjs/commands/CreateConfigurationCommand.js +18 -41
- package/dist-cjs/commands/CreateReplicatorCommand.js +18 -41
- package/dist-cjs/commands/CreateVpcConnectionCommand.js +18 -41
- package/dist-cjs/commands/DeleteClusterCommand.js +18 -41
- package/dist-cjs/commands/DeleteClusterPolicyCommand.js +18 -41
- package/dist-cjs/commands/DeleteConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DeleteReplicatorCommand.js +18 -41
- package/dist-cjs/commands/DeleteVpcConnectionCommand.js +18 -41
- package/dist-cjs/commands/DescribeClusterCommand.js +18 -41
- package/dist-cjs/commands/DescribeClusterOperationCommand.js +18 -41
- package/dist-cjs/commands/DescribeClusterOperationV2Command.js +18 -41
- package/dist-cjs/commands/DescribeClusterV2Command.js +18 -41
- package/dist-cjs/commands/DescribeConfigurationCommand.js +18 -41
- package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +18 -41
- package/dist-cjs/commands/DescribeReplicatorCommand.js +18 -41
- package/dist-cjs/commands/DescribeVpcConnectionCommand.js +18 -41
- package/dist-cjs/commands/GetBootstrapBrokersCommand.js +18 -41
- package/dist-cjs/commands/GetClusterPolicyCommand.js +18 -41
- package/dist-cjs/commands/GetCompatibleKafkaVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListClientVpcConnectionsCommand.js +18 -41
- package/dist-cjs/commands/ListClusterOperationsCommand.js +18 -41
- package/dist-cjs/commands/ListClusterOperationsV2Command.js +18 -41
- package/dist-cjs/commands/ListClustersCommand.js +18 -41
- package/dist-cjs/commands/ListClustersV2Command.js +18 -41
- package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +18 -41
- package/dist-cjs/commands/ListConfigurationsCommand.js +18 -41
- package/dist-cjs/commands/ListKafkaVersionsCommand.js +18 -41
- package/dist-cjs/commands/ListNodesCommand.js +18 -41
- package/dist-cjs/commands/ListReplicatorsCommand.js +18 -41
- package/dist-cjs/commands/ListScramSecretsCommand.js +18 -41
- package/dist-cjs/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-cjs/commands/ListVpcConnectionsCommand.js +18 -41
- package/dist-cjs/commands/PutClusterPolicyCommand.js +18 -41
- package/dist-cjs/commands/RebootBrokerCommand.js +18 -41
- package/dist-cjs/commands/RejectClientVpcConnectionCommand.js +18 -41
- package/dist-cjs/commands/TagResourceCommand.js +18 -41
- package/dist-cjs/commands/UntagResourceCommand.js +18 -41
- package/dist-cjs/commands/UpdateBrokerCountCommand.js +18 -41
- package/dist-cjs/commands/UpdateBrokerStorageCommand.js +18 -41
- package/dist-cjs/commands/UpdateBrokerTypeCommand.js +18 -41
- package/dist-cjs/commands/UpdateClusterConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateClusterKafkaVersionCommand.js +18 -41
- package/dist-cjs/commands/UpdateConfigurationCommand.js +18 -41
- package/dist-cjs/commands/UpdateConnectivityCommand.js +18 -41
- package/dist-cjs/commands/UpdateMonitoringCommand.js +18 -41
- package/dist-cjs/commands/UpdateReplicationInfoCommand.js +18 -41
- package/dist-cjs/commands/UpdateSecurityCommand.js +18 -41
- package/dist-cjs/commands/UpdateStorageCommand.js +18 -41
- package/dist-cjs/endpoint/EndpointParameters.js +7 -1
- package/dist-cjs/pagination/ListClientVpcConnectionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListClusterOperationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListClusterOperationsV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListClustersPaginator.js +2 -24
- package/dist-cjs/pagination/ListClustersV2Paginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationRevisionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListConfigurationsPaginator.js +2 -24
- package/dist-cjs/pagination/ListKafkaVersionsPaginator.js +2 -24
- package/dist-cjs/pagination/ListNodesPaginator.js +2 -24
- package/dist-cjs/pagination/ListReplicatorsPaginator.js +2 -24
- package/dist-cjs/pagination/ListScramSecretsPaginator.js +2 -24
- package/dist-cjs/pagination/ListVpcConnectionsPaginator.js +2 -24
- package/dist-es/commands/BatchAssociateScramSecretCommand.js +18 -41
- package/dist-es/commands/BatchDisassociateScramSecretCommand.js +18 -41
- package/dist-es/commands/CreateClusterCommand.js +18 -41
- package/dist-es/commands/CreateClusterV2Command.js +18 -41
- package/dist-es/commands/CreateConfigurationCommand.js +18 -41
- package/dist-es/commands/CreateReplicatorCommand.js +18 -41
- package/dist-es/commands/CreateVpcConnectionCommand.js +18 -41
- package/dist-es/commands/DeleteClusterCommand.js +18 -41
- package/dist-es/commands/DeleteClusterPolicyCommand.js +18 -41
- package/dist-es/commands/DeleteConfigurationCommand.js +18 -41
- package/dist-es/commands/DeleteReplicatorCommand.js +18 -41
- package/dist-es/commands/DeleteVpcConnectionCommand.js +18 -41
- package/dist-es/commands/DescribeClusterCommand.js +18 -41
- package/dist-es/commands/DescribeClusterOperationCommand.js +18 -41
- package/dist-es/commands/DescribeClusterOperationV2Command.js +18 -41
- package/dist-es/commands/DescribeClusterV2Command.js +18 -41
- package/dist-es/commands/DescribeConfigurationCommand.js +18 -41
- package/dist-es/commands/DescribeConfigurationRevisionCommand.js +18 -41
- package/dist-es/commands/DescribeReplicatorCommand.js +18 -41
- package/dist-es/commands/DescribeVpcConnectionCommand.js +18 -41
- package/dist-es/commands/GetBootstrapBrokersCommand.js +18 -41
- package/dist-es/commands/GetClusterPolicyCommand.js +18 -41
- package/dist-es/commands/GetCompatibleKafkaVersionsCommand.js +18 -41
- package/dist-es/commands/ListClientVpcConnectionsCommand.js +18 -41
- package/dist-es/commands/ListClusterOperationsCommand.js +18 -41
- package/dist-es/commands/ListClusterOperationsV2Command.js +18 -41
- package/dist-es/commands/ListClustersCommand.js +18 -41
- package/dist-es/commands/ListClustersV2Command.js +18 -41
- package/dist-es/commands/ListConfigurationRevisionsCommand.js +18 -41
- package/dist-es/commands/ListConfigurationsCommand.js +18 -41
- package/dist-es/commands/ListKafkaVersionsCommand.js +18 -41
- package/dist-es/commands/ListNodesCommand.js +18 -41
- package/dist-es/commands/ListReplicatorsCommand.js +18 -41
- package/dist-es/commands/ListScramSecretsCommand.js +18 -41
- package/dist-es/commands/ListTagsForResourceCommand.js +18 -41
- package/dist-es/commands/ListVpcConnectionsCommand.js +18 -41
- package/dist-es/commands/PutClusterPolicyCommand.js +18 -41
- package/dist-es/commands/RebootBrokerCommand.js +18 -41
- package/dist-es/commands/RejectClientVpcConnectionCommand.js +18 -41
- package/dist-es/commands/TagResourceCommand.js +18 -41
- package/dist-es/commands/UntagResourceCommand.js +18 -41
- package/dist-es/commands/UpdateBrokerCountCommand.js +18 -41
- package/dist-es/commands/UpdateBrokerStorageCommand.js +18 -41
- package/dist-es/commands/UpdateBrokerTypeCommand.js +18 -41
- package/dist-es/commands/UpdateClusterConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateClusterKafkaVersionCommand.js +18 -41
- package/dist-es/commands/UpdateConfigurationCommand.js +18 -41
- package/dist-es/commands/UpdateConnectivityCommand.js +18 -41
- package/dist-es/commands/UpdateMonitoringCommand.js +18 -41
- package/dist-es/commands/UpdateReplicationInfoCommand.js +18 -41
- package/dist-es/commands/UpdateSecurityCommand.js +18 -41
- package/dist-es/commands/UpdateStorageCommand.js +18 -41
- package/dist-es/endpoint/EndpointParameters.js +6 -0
- package/dist-es/pagination/ListClientVpcConnectionsPaginator.js +2 -23
- package/dist-es/pagination/ListClusterOperationsPaginator.js +2 -23
- package/dist-es/pagination/ListClusterOperationsV2Paginator.js +2 -23
- package/dist-es/pagination/ListClustersPaginator.js +2 -23
- package/dist-es/pagination/ListClustersV2Paginator.js +2 -23
- package/dist-es/pagination/ListConfigurationRevisionsPaginator.js +2 -23
- package/dist-es/pagination/ListConfigurationsPaginator.js +2 -23
- package/dist-es/pagination/ListKafkaVersionsPaginator.js +2 -23
- package/dist-es/pagination/ListNodesPaginator.js +2 -23
- package/dist-es/pagination/ListReplicatorsPaginator.js +2 -23
- package/dist-es/pagination/ListScramSecretsPaginator.js +2 -23
- package/dist-es/pagination/ListVpcConnectionsPaginator.js +2 -23
- package/dist-types/commands/BatchAssociateScramSecretCommand.d.ts +6 -21
- package/dist-types/commands/BatchDisassociateScramSecretCommand.d.ts +6 -21
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -21
- package/dist-types/commands/CreateClusterV2Command.d.ts +6 -21
- package/dist-types/commands/CreateConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/CreateReplicatorCommand.d.ts +6 -21
- package/dist-types/commands/CreateVpcConnectionCommand.d.ts +6 -21
- package/dist-types/commands/DeleteClusterCommand.d.ts +6 -21
- package/dist-types/commands/DeleteClusterPolicyCommand.d.ts +6 -21
- package/dist-types/commands/DeleteConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DeleteReplicatorCommand.d.ts +6 -21
- package/dist-types/commands/DeleteVpcConnectionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeClusterCommand.d.ts +6 -21
- package/dist-types/commands/DescribeClusterOperationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeClusterOperationV2Command.d.ts +6 -21
- package/dist-types/commands/DescribeClusterV2Command.d.ts +6 -21
- package/dist-types/commands/DescribeConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +6 -21
- package/dist-types/commands/DescribeReplicatorCommand.d.ts +6 -21
- package/dist-types/commands/DescribeVpcConnectionCommand.d.ts +6 -21
- package/dist-types/commands/GetBootstrapBrokersCommand.d.ts +6 -21
- package/dist-types/commands/GetClusterPolicyCommand.d.ts +6 -21
- package/dist-types/commands/GetCompatibleKafkaVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListClientVpcConnectionsCommand.d.ts +6 -21
- package/dist-types/commands/ListClusterOperationsCommand.d.ts +6 -21
- package/dist-types/commands/ListClusterOperationsV2Command.d.ts +6 -21
- package/dist-types/commands/ListClustersCommand.d.ts +6 -21
- package/dist-types/commands/ListClustersV2Command.d.ts +6 -21
- package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +6 -21
- package/dist-types/commands/ListConfigurationsCommand.d.ts +6 -21
- package/dist-types/commands/ListKafkaVersionsCommand.d.ts +6 -21
- package/dist-types/commands/ListNodesCommand.d.ts +6 -21
- package/dist-types/commands/ListReplicatorsCommand.d.ts +6 -21
- package/dist-types/commands/ListScramSecretsCommand.d.ts +6 -21
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -21
- package/dist-types/commands/ListVpcConnectionsCommand.d.ts +6 -21
- package/dist-types/commands/PutClusterPolicyCommand.d.ts +6 -21
- package/dist-types/commands/RebootBrokerCommand.d.ts +6 -21
- package/dist-types/commands/RejectClientVpcConnectionCommand.d.ts +6 -21
- package/dist-types/commands/TagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UntagResourceCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBrokerCountCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBrokerStorageCommand.d.ts +6 -21
- package/dist-types/commands/UpdateBrokerTypeCommand.d.ts +6 -21
- package/dist-types/commands/UpdateClusterConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateClusterKafkaVersionCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +6 -21
- package/dist-types/commands/UpdateConnectivityCommand.d.ts +6 -21
- package/dist-types/commands/UpdateMonitoringCommand.d.ts +6 -21
- package/dist-types/commands/UpdateReplicationInfoCommand.d.ts +6 -21
- package/dist-types/commands/UpdateSecurityCommand.d.ts +6 -21
- package/dist-types/commands/UpdateStorageCommand.d.ts +6 -21
- package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/pagination/ListClientVpcConnectionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClusterOperationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClusterOperationsV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListClustersPaginator.d.ts +1 -1
- package/dist-types/pagination/ListClustersV2Paginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationRevisionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListConfigurationsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListKafkaVersionsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListNodesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListReplicatorsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListScramSecretsPaginator.d.ts +1 -1
- package/dist-types/pagination/ListVpcConnectionsPaginator.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchAssociateScramSecretCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/BatchDisassociateScramSecretCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateClusterV2Command.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateConfigurationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateReplicatorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/CreateVpcConnectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteClusterPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteConfigurationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteReplicatorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DeleteVpcConnectionCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeClusterOperationV2Command.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeClusterV2Command.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeConfigurationRevisionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/DescribeReplicatorCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/DescribeVpcConnectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/GetBootstrapBrokersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetClusterPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/GetCompatibleKafkaVersionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListClientVpcConnectionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListClusterOperationsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListClusterOperationsV2Command.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListClustersV2Command.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListConfigurationRevisionsCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/ListConfigurationsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListKafkaVersionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListNodesCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListReplicatorsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListScramSecretsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/ListVpcConnectionsCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/PutClusterPolicyCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RebootBrokerCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/RejectClientVpcConnectionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBrokerCountCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBrokerStorageCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateBrokerTypeCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateClusterConfigurationCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateClusterKafkaVersionCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateConnectivityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateMonitoringCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateReplicationInfoCommand.d.ts +12 -24
- package/dist-types/ts3.4/commands/UpdateSecurityCommand.d.ts +14 -23
- package/dist-types/ts3.4/commands/UpdateStorageCommand.d.ts +14 -23
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
- package/dist-types/ts3.4/pagination/ListClientVpcConnectionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClusterOperationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClusterOperationsV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListClustersV2Paginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationRevisionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListConfigurationsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListKafkaVersionsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListNodesPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListReplicatorsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListScramSecretsPaginator.d.ts +3 -3
- package/dist-types/ts3.4/pagination/ListVpcConnectionsPaginator.d.ts +3 -3
- package/package.json +11 -11
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateClusterKafkaVersionCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "KafkaClient";
|
|
29
|
-
const commandName = "UpdateClusterKafkaVersionCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kafka",
|
|
38
|
-
operation: "UpdateClusterKafkaVersion",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateClusterKafkaVersionCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateClusterKafkaVersionCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateClusterKafkaVersionCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kafka", "UpdateClusterKafkaVersion", {})
|
|
22
|
+
.n("KafkaClient", "UpdateClusterKafkaVersionCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateClusterKafkaVersionCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateClusterKafkaVersionCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateClusterKafkaVersionCommand = UpdateClusterKafkaVersionCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateConfigurationCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "KafkaClient";
|
|
29
|
-
const commandName = "UpdateConfigurationCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kafka",
|
|
38
|
-
operation: "UpdateConfiguration",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateConfigurationCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateConfigurationCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateConfigurationCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kafka", "UpdateConfiguration", {})
|
|
22
|
+
.n("KafkaClient", "UpdateConfigurationCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateConfigurationCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateConfigurationCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateConfigurationCommand = UpdateConfigurationCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateConnectivityCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "KafkaClient";
|
|
29
|
-
const commandName = "UpdateConnectivityCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kafka",
|
|
38
|
-
operation: "UpdateConnectivity",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateConnectivityCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateConnectivityCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateConnectivityCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kafka", "UpdateConnectivity", {})
|
|
22
|
+
.n("KafkaClient", "UpdateConnectivityCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateConnectivityCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateConnectivityCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateConnectivityCommand = UpdateConnectivityCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateMonitoringCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "KafkaClient";
|
|
29
|
-
const commandName = "UpdateMonitoringCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kafka",
|
|
38
|
-
operation: "UpdateMonitoring",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateMonitoringCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateMonitoringCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateMonitoringCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kafka", "UpdateMonitoring", {})
|
|
22
|
+
.n("KafkaClient", "UpdateMonitoringCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateMonitoringCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateMonitoringCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateMonitoringCommand = UpdateMonitoringCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateReplicationInfoCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "KafkaClient";
|
|
29
|
-
const commandName = "UpdateReplicationInfoCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kafka",
|
|
38
|
-
operation: "UpdateReplicationInfo",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateReplicationInfoCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateReplicationInfoCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateReplicationInfoCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kafka", "UpdateReplicationInfo", {})
|
|
22
|
+
.n("KafkaClient", "UpdateReplicationInfoCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateReplicationInfoCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateReplicationInfoCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateReplicationInfoCommand = UpdateReplicationInfoCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateSecurityCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "KafkaClient";
|
|
29
|
-
const commandName = "UpdateSecurityCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kafka",
|
|
38
|
-
operation: "UpdateSecurity",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateSecurityCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateSecurityCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateSecurityCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kafka", "UpdateSecurity", {})
|
|
22
|
+
.n("KafkaClient", "UpdateSecurityCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateSecurityCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateSecurityCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateSecurityCommand = UpdateSecurityCommand;
|
|
@@ -5,47 +5,24 @@ const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
|
5
5
|
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
-
const
|
|
8
|
+
const EndpointParameters_1 = require("../endpoint/EndpointParameters");
|
|
9
9
|
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
10
|
-
class UpdateStorageCommand extends smithy_client_1.Command
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
const { logger } = configuration;
|
|
28
|
-
const clientName = "KafkaClient";
|
|
29
|
-
const commandName = "UpdateStorageCommand";
|
|
30
|
-
const handlerExecutionContext = {
|
|
31
|
-
logger,
|
|
32
|
-
clientName,
|
|
33
|
-
commandName,
|
|
34
|
-
inputFilterSensitiveLog: (_) => _,
|
|
35
|
-
outputFilterSensitiveLog: (_) => _,
|
|
36
|
-
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
37
|
-
service: "Kafka",
|
|
38
|
-
operation: "UpdateStorage",
|
|
39
|
-
},
|
|
40
|
-
};
|
|
41
|
-
const { requestHandler } = configuration;
|
|
42
|
-
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
43
|
-
}
|
|
44
|
-
serialize(input, context) {
|
|
45
|
-
return (0, Aws_restJson1_1.se_UpdateStorageCommand)(input, context);
|
|
46
|
-
}
|
|
47
|
-
deserialize(output, context) {
|
|
48
|
-
return (0, Aws_restJson1_1.de_UpdateStorageCommand)(output, context);
|
|
49
|
-
}
|
|
10
|
+
class UpdateStorageCommand extends smithy_client_1.Command
|
|
11
|
+
.classBuilder()
|
|
12
|
+
.ep({
|
|
13
|
+
...EndpointParameters_1.commonParams,
|
|
14
|
+
})
|
|
15
|
+
.m(function (Command, cs, config, o) {
|
|
16
|
+
return [
|
|
17
|
+
(0, middleware_serde_1.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
18
|
+
(0, middleware_endpoint_1.getEndpointPlugin)(config, Command.getEndpointParameterInstructions()),
|
|
19
|
+
];
|
|
20
|
+
})
|
|
21
|
+
.s("Kafka", "UpdateStorage", {})
|
|
22
|
+
.n("KafkaClient", "UpdateStorageCommand")
|
|
23
|
+
.f(void 0, void 0)
|
|
24
|
+
.ser(Aws_restJson1_1.se_UpdateStorageCommand)
|
|
25
|
+
.de(Aws_restJson1_1.de_UpdateStorageCommand)
|
|
26
|
+
.build() {
|
|
50
27
|
}
|
|
51
28
|
exports.UpdateStorageCommand = UpdateStorageCommand;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.resolveClientEndpointParameters = void 0;
|
|
3
|
+
exports.commonParams = exports.resolveClientEndpointParameters = void 0;
|
|
4
4
|
const resolveClientEndpointParameters = (options) => {
|
|
5
5
|
return {
|
|
6
6
|
...options,
|
|
@@ -10,3 +10,9 @@ const resolveClientEndpointParameters = (options) => {
|
|
|
10
10
|
};
|
|
11
11
|
};
|
|
12
12
|
exports.resolveClientEndpointParameters = resolveClientEndpointParameters;
|
|
13
|
+
exports.commonParams = {
|
|
14
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
15
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
16
|
+
Region: { type: "builtInParams", name: "region" },
|
|
17
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
18
|
+
};
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListClientVpcConnections = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClientVpcConnectionsCommand_1 = require("../commands/ListClientVpcConnectionsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClientVpcConnectionsCommand_1.ListClientVpcConnectionsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClientVpcConnections(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListClientVpcConnections = paginateListClientVpcConnections;
|
|
7
|
+
exports.paginateListClientVpcConnections = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListClientVpcConnectionsCommand_1.ListClientVpcConnectionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListClusterOperations = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClusterOperationsCommand_1 = require("../commands/ListClusterOperationsCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClusterOperationsCommand_1.ListClusterOperationsCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClusterOperations(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListClusterOperations = paginateListClusterOperations;
|
|
7
|
+
exports.paginateListClusterOperations = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListClusterOperationsCommand_1.ListClusterOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListClusterOperationsV2 = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClusterOperationsV2Command_1 = require("../commands/ListClusterOperationsV2Command");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClusterOperationsV2Command_1.ListClusterOperationsV2Command(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClusterOperationsV2(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListClusterOperationsV2 = paginateListClusterOperationsV2;
|
|
7
|
+
exports.paginateListClusterOperationsV2 = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListClusterOperationsV2Command_1.ListClusterOperationsV2Command, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.paginateListClusters = void 0;
|
|
4
|
+
const core_1 = require("@smithy/core");
|
|
4
5
|
const ListClustersCommand_1 = require("../commands/ListClustersCommand");
|
|
5
6
|
const KafkaClient_1 = require("../KafkaClient");
|
|
6
|
-
|
|
7
|
-
return await client.send(new ListClustersCommand_1.ListClustersCommand(input), ...args);
|
|
8
|
-
};
|
|
9
|
-
async function* paginateListClusters(config, input, ...additionalArguments) {
|
|
10
|
-
let token = config.startingToken || undefined;
|
|
11
|
-
let hasNext = true;
|
|
12
|
-
let page;
|
|
13
|
-
while (hasNext) {
|
|
14
|
-
input.NextToken = token;
|
|
15
|
-
input["MaxResults"] = config.pageSize;
|
|
16
|
-
if (config.client instanceof KafkaClient_1.KafkaClient) {
|
|
17
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error("Invalid client, expected Kafka | KafkaClient");
|
|
21
|
-
}
|
|
22
|
-
yield page;
|
|
23
|
-
const prevToken = token;
|
|
24
|
-
token = page.NextToken;
|
|
25
|
-
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
-
}
|
|
27
|
-
return undefined;
|
|
28
|
-
}
|
|
29
|
-
exports.paginateListClusters = paginateListClusters;
|
|
7
|
+
exports.paginateListClusters = (0, core_1.createPaginator)(KafkaClient_1.KafkaClient, ListClustersCommand_1.ListClustersCommand, "NextToken", "NextToken", "MaxResults");
|