@aws-sdk/client-kafka 3.928.0 → 3.930.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/index.js +6421 -3170
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/KafkaClient.js +2 -0
- package/dist-es/commands/BatchAssociateScramSecretCommand.js +3 -9
- package/dist-es/commands/BatchDisassociateScramSecretCommand.js +3 -9
- package/dist-es/commands/CreateClusterCommand.js +3 -9
- package/dist-es/commands/CreateClusterV2Command.js +3 -9
- package/dist-es/commands/CreateConfigurationCommand.js +3 -9
- package/dist-es/commands/CreateReplicatorCommand.js +3 -9
- package/dist-es/commands/CreateVpcConnectionCommand.js +3 -9
- package/dist-es/commands/DeleteClusterCommand.js +3 -9
- package/dist-es/commands/DeleteClusterPolicyCommand.js +3 -9
- package/dist-es/commands/DeleteConfigurationCommand.js +3 -9
- package/dist-es/commands/DeleteReplicatorCommand.js +3 -9
- package/dist-es/commands/DeleteVpcConnectionCommand.js +3 -9
- package/dist-es/commands/DescribeClusterCommand.js +3 -9
- package/dist-es/commands/DescribeClusterOperationCommand.js +3 -9
- package/dist-es/commands/DescribeClusterOperationV2Command.js +3 -9
- package/dist-es/commands/DescribeClusterV2Command.js +3 -9
- package/dist-es/commands/DescribeConfigurationCommand.js +3 -9
- package/dist-es/commands/DescribeConfigurationRevisionCommand.js +3 -9
- package/dist-es/commands/DescribeReplicatorCommand.js +3 -9
- package/dist-es/commands/DescribeVpcConnectionCommand.js +3 -9
- package/dist-es/commands/GetBootstrapBrokersCommand.js +3 -9
- package/dist-es/commands/GetClusterPolicyCommand.js +3 -9
- package/dist-es/commands/GetCompatibleKafkaVersionsCommand.js +3 -9
- package/dist-es/commands/ListClientVpcConnectionsCommand.js +3 -9
- package/dist-es/commands/ListClusterOperationsCommand.js +3 -9
- package/dist-es/commands/ListClusterOperationsV2Command.js +3 -9
- package/dist-es/commands/ListClustersCommand.js +3 -9
- package/dist-es/commands/ListClustersV2Command.js +3 -9
- package/dist-es/commands/ListConfigurationRevisionsCommand.js +3 -9
- package/dist-es/commands/ListConfigurationsCommand.js +3 -9
- package/dist-es/commands/ListKafkaVersionsCommand.js +3 -9
- package/dist-es/commands/ListNodesCommand.js +3 -9
- package/dist-es/commands/ListReplicatorsCommand.js +3 -9
- package/dist-es/commands/ListScramSecretsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/ListVpcConnectionsCommand.js +3 -9
- package/dist-es/commands/PutClusterPolicyCommand.js +3 -9
- package/dist-es/commands/RebootBrokerCommand.js +3 -9
- package/dist-es/commands/RejectClientVpcConnectionCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateBrokerCountCommand.js +3 -9
- package/dist-es/commands/UpdateBrokerStorageCommand.js +3 -9
- package/dist-es/commands/UpdateBrokerTypeCommand.js +3 -9
- package/dist-es/commands/UpdateClusterConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateClusterKafkaVersionCommand.js +3 -9
- package/dist-es/commands/UpdateConfigurationCommand.js +3 -9
- package/dist-es/commands/UpdateConnectivityCommand.js +3 -9
- package/dist-es/commands/UpdateMonitoringCommand.js +3 -9
- package/dist-es/commands/UpdateRebalancingCommand.js +3 -9
- package/dist-es/commands/UpdateReplicationInfoCommand.js +3 -9
- package/dist-es/commands/UpdateSecurityCommand.js +3 -9
- package/dist-es/commands/UpdateStorageCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +6310 -0
- package/dist-types/KafkaClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +283 -0
- package/dist-types/ts3.4/KafkaClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +288 -0
- package/package.json +33 -33
- package/dist-es/protocols/Aws_restJson1.js +0 -2792
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -479
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -641
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateConfiguration } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateConfigurationCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Kafka", "UpdateConfiguration", {})
|
|
17
13
|
.n("KafkaClient", "UpdateConfigurationCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateConfigurationCommand)
|
|
20
|
-
.de(de_UpdateConfigurationCommand)
|
|
14
|
+
.sc(UpdateConfiguration)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateConnectivity } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateConnectivityCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Kafka", "UpdateConnectivity", {})
|
|
17
13
|
.n("KafkaClient", "UpdateConnectivityCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateConnectivityCommand)
|
|
20
|
-
.de(de_UpdateConnectivityCommand)
|
|
14
|
+
.sc(UpdateConnectivity)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateMonitoring } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateMonitoringCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Kafka", "UpdateMonitoring", {})
|
|
17
13
|
.n("KafkaClient", "UpdateMonitoringCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateMonitoringCommand)
|
|
20
|
-
.de(de_UpdateMonitoringCommand)
|
|
14
|
+
.sc(UpdateMonitoring)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateRebalancing } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateRebalancingCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Kafka", "UpdateRebalancing", {})
|
|
17
13
|
.n("KafkaClient", "UpdateRebalancingCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateRebalancingCommand)
|
|
20
|
-
.de(de_UpdateRebalancingCommand)
|
|
14
|
+
.sc(UpdateRebalancing)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateReplicationInfo } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateReplicationInfoCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Kafka", "UpdateReplicationInfo", {})
|
|
17
13
|
.n("KafkaClient", "UpdateReplicationInfoCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateReplicationInfoCommand)
|
|
20
|
-
.de(de_UpdateReplicationInfoCommand)
|
|
14
|
+
.sc(UpdateReplicationInfo)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateSecurity } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateSecurityCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Kafka", "UpdateSecurity", {})
|
|
17
13
|
.n("KafkaClient", "UpdateSecurityCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateSecurityCommand)
|
|
20
|
-
.de(de_UpdateSecurityCommand)
|
|
14
|
+
.sc(UpdateSecurity)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { UpdateStorage } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class UpdateStorageCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("Kafka", "UpdateStorage", {})
|
|
17
13
|
.n("KafkaClient", "UpdateStorageCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_UpdateStorageCommand)
|
|
20
|
-
.de(de_UpdateStorageCommand)
|
|
14
|
+
.sc(UpdateStorage)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsRestJsonProtocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ?? new AwsRestJsonProtocol({ defaultNamespace: "com.amazonaws.kafka" }),
|
|
25
27
|
serviceId: config?.serviceId ?? "Kafka",
|
|
26
28
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
29
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|