@aws-sdk/client-kafka 3.42.0 → 3.46.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +50 -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-cjs/runtimeConfig.js +0 -2
- 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-es/runtimeConfig.js +0 -2
- 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 +36 -43
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -12,10 +12,8 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
|
12
12
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
13
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
14
14
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
15
|
-
import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
|
|
16
15
|
export var getRuntimeConfig = function (config) {
|
|
17
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
|
|
18
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
19
17
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
20
18
|
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
|
|
21
19
|
};
|
package/dist-types/Kafka.d.ts
CHANGED
|
@@ -2,17 +2,20 @@ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
|
2
2
|
import { BatchAssociateScramSecretCommandInput, BatchAssociateScramSecretCommandOutput } from "./commands/BatchAssociateScramSecretCommand";
|
|
3
3
|
import { BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretCommandOutput } from "./commands/BatchDisassociateScramSecretCommand";
|
|
4
4
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
5
|
+
import { CreateClusterV2CommandInput, CreateClusterV2CommandOutput } from "./commands/CreateClusterV2Command";
|
|
5
6
|
import { CreateConfigurationCommandInput, CreateConfigurationCommandOutput } from "./commands/CreateConfigurationCommand";
|
|
6
7
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
7
8
|
import { DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput } from "./commands/DeleteConfigurationCommand";
|
|
8
9
|
import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
|
|
9
10
|
import { DescribeClusterOperationCommandInput, DescribeClusterOperationCommandOutput } from "./commands/DescribeClusterOperationCommand";
|
|
11
|
+
import { DescribeClusterV2CommandInput, DescribeClusterV2CommandOutput } from "./commands/DescribeClusterV2Command";
|
|
10
12
|
import { DescribeConfigurationCommandInput, DescribeConfigurationCommandOutput } from "./commands/DescribeConfigurationCommand";
|
|
11
13
|
import { DescribeConfigurationRevisionCommandInput, DescribeConfigurationRevisionCommandOutput } from "./commands/DescribeConfigurationRevisionCommand";
|
|
12
14
|
import { GetBootstrapBrokersCommandInput, GetBootstrapBrokersCommandOutput } from "./commands/GetBootstrapBrokersCommand";
|
|
13
15
|
import { GetCompatibleKafkaVersionsCommandInput, GetCompatibleKafkaVersionsCommandOutput } from "./commands/GetCompatibleKafkaVersionsCommand";
|
|
14
16
|
import { ListClusterOperationsCommandInput, ListClusterOperationsCommandOutput } from "./commands/ListClusterOperationsCommand";
|
|
15
17
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
18
|
+
import { ListClustersV2CommandInput, ListClustersV2CommandOutput } from "./commands/ListClustersV2Command";
|
|
16
19
|
import { ListConfigurationRevisionsCommandInput, ListConfigurationRevisionsCommandOutput } from "./commands/ListConfigurationRevisionsCommand";
|
|
17
20
|
import { ListConfigurationsCommandInput, ListConfigurationsCommandOutput } from "./commands/ListConfigurationsCommand";
|
|
18
21
|
import { ListKafkaVersionsCommandInput, ListKafkaVersionsCommandOutput } from "./commands/ListKafkaVersionsCommand";
|
|
@@ -28,6 +31,7 @@ import { UpdateBrokerTypeCommandInput, UpdateBrokerTypeCommandOutput } from "./c
|
|
|
28
31
|
import { UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationCommandOutput } from "./commands/UpdateClusterConfigurationCommand";
|
|
29
32
|
import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput } from "./commands/UpdateClusterKafkaVersionCommand";
|
|
30
33
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
34
|
+
import { UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput } from "./commands/UpdateConnectivityCommand";
|
|
31
35
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
|
|
32
36
|
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "./commands/UpdateSecurityCommand";
|
|
33
37
|
import { KafkaClient } from "./KafkaClient";
|
|
@@ -53,6 +57,12 @@ export declare class Kafka extends KafkaClient {
|
|
|
53
57
|
createCluster(args: CreateClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterCommandOutput>;
|
|
54
58
|
createCluster(args: CreateClusterCommandInput, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
55
59
|
createCluster(args: CreateClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterCommandOutput) => void): void;
|
|
60
|
+
/**
|
|
61
|
+
* <p>Creates a new MSK cluster.</p>
|
|
62
|
+
*/
|
|
63
|
+
createClusterV2(args: CreateClusterV2CommandInput, options?: __HttpHandlerOptions): Promise<CreateClusterV2CommandOutput>;
|
|
64
|
+
createClusterV2(args: CreateClusterV2CommandInput, cb: (err: any, data?: CreateClusterV2CommandOutput) => void): void;
|
|
65
|
+
createClusterV2(args: CreateClusterV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateClusterV2CommandOutput) => void): void;
|
|
56
66
|
/**
|
|
57
67
|
* <p>Creates a new MSK configuration.</p>
|
|
58
68
|
*/
|
|
@@ -83,6 +93,12 @@ export declare class Kafka extends KafkaClient {
|
|
|
83
93
|
describeClusterOperation(args: DescribeClusterOperationCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClusterOperationCommandOutput>;
|
|
84
94
|
describeClusterOperation(args: DescribeClusterOperationCommandInput, cb: (err: any, data?: DescribeClusterOperationCommandOutput) => void): void;
|
|
85
95
|
describeClusterOperation(args: DescribeClusterOperationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClusterOperationCommandOutput) => void): void;
|
|
96
|
+
/**
|
|
97
|
+
* <p>Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.</p>
|
|
98
|
+
*/
|
|
99
|
+
describeClusterV2(args: DescribeClusterV2CommandInput, options?: __HttpHandlerOptions): Promise<DescribeClusterV2CommandOutput>;
|
|
100
|
+
describeClusterV2(args: DescribeClusterV2CommandInput, cb: (err: any, data?: DescribeClusterV2CommandOutput) => void): void;
|
|
101
|
+
describeClusterV2(args: DescribeClusterV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClusterV2CommandOutput) => void): void;
|
|
86
102
|
/**
|
|
87
103
|
* <p>Returns a description of this MSK configuration.</p>
|
|
88
104
|
*/
|
|
@@ -119,6 +135,12 @@ export declare class Kafka extends KafkaClient {
|
|
|
119
135
|
listClusters(args: ListClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListClustersCommandOutput>;
|
|
120
136
|
listClusters(args: ListClustersCommandInput, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
121
137
|
listClusters(args: ListClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersCommandOutput) => void): void;
|
|
138
|
+
/**
|
|
139
|
+
* <p>Returns a list of all the MSK clusters in the current Region.</p>
|
|
140
|
+
*/
|
|
141
|
+
listClustersV2(args: ListClustersV2CommandInput, options?: __HttpHandlerOptions): Promise<ListClustersV2CommandOutput>;
|
|
142
|
+
listClustersV2(args: ListClustersV2CommandInput, cb: (err: any, data?: ListClustersV2CommandOutput) => void): void;
|
|
143
|
+
listClustersV2(args: ListClustersV2CommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListClustersV2CommandOutput) => void): void;
|
|
122
144
|
/**
|
|
123
145
|
* <p>Returns a list of all the MSK configurations in this Region.</p>
|
|
124
146
|
*/
|
|
@@ -132,7 +154,7 @@ export declare class Kafka extends KafkaClient {
|
|
|
132
154
|
listConfigurations(args: ListConfigurationsCommandInput, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
|
|
133
155
|
listConfigurations(args: ListConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
|
|
134
156
|
/**
|
|
135
|
-
* <p>Returns a list of Kafka versions.</p>
|
|
157
|
+
* <p>Returns a list of Apache Kafka versions.</p>
|
|
136
158
|
*/
|
|
137
159
|
listKafkaVersions(args: ListKafkaVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListKafkaVersionsCommandOutput>;
|
|
138
160
|
listKafkaVersions(args: ListKafkaVersionsCommandInput, cb: (err: any, data?: ListKafkaVersionsCommandOutput) => void): void;
|
|
@@ -209,6 +231,12 @@ export declare class Kafka extends KafkaClient {
|
|
|
209
231
|
updateConfiguration(args: UpdateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationCommandOutput>;
|
|
210
232
|
updateConfiguration(args: UpdateConfigurationCommandInput, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
|
|
211
233
|
updateConfiguration(args: UpdateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
|
|
234
|
+
/**
|
|
235
|
+
* <p>Updates the cluster's connectivity configuration.</p>
|
|
236
|
+
*/
|
|
237
|
+
updateConnectivity(args: UpdateConnectivityCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectivityCommandOutput>;
|
|
238
|
+
updateConnectivity(args: UpdateConnectivityCommandInput, cb: (err: any, data?: UpdateConnectivityCommandOutput) => void): void;
|
|
239
|
+
updateConnectivity(args: UpdateConnectivityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectivityCommandOutput) => void): void;
|
|
212
240
|
/**
|
|
213
241
|
* <p>Updates the monitoring settings for the cluster. You can use this operation to specify which Apache Kafka metrics you want Amazon MSK to send to Amazon CloudWatch. You can also specify settings for open monitoring with Prometheus.</p>
|
|
214
242
|
*/
|
|
@@ -9,17 +9,20 @@ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encode
|
|
|
9
9
|
import { BatchAssociateScramSecretCommandInput, BatchAssociateScramSecretCommandOutput } from "./commands/BatchAssociateScramSecretCommand";
|
|
10
10
|
import { BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretCommandOutput } from "./commands/BatchDisassociateScramSecretCommand";
|
|
11
11
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
12
|
+
import { CreateClusterV2CommandInput, CreateClusterV2CommandOutput } from "./commands/CreateClusterV2Command";
|
|
12
13
|
import { CreateConfigurationCommandInput, CreateConfigurationCommandOutput } from "./commands/CreateConfigurationCommand";
|
|
13
14
|
import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
|
|
14
15
|
import { DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput } from "./commands/DeleteConfigurationCommand";
|
|
15
16
|
import { DescribeClusterCommandInput, DescribeClusterCommandOutput } from "./commands/DescribeClusterCommand";
|
|
16
17
|
import { DescribeClusterOperationCommandInput, DescribeClusterOperationCommandOutput } from "./commands/DescribeClusterOperationCommand";
|
|
18
|
+
import { DescribeClusterV2CommandInput, DescribeClusterV2CommandOutput } from "./commands/DescribeClusterV2Command";
|
|
17
19
|
import { DescribeConfigurationCommandInput, DescribeConfigurationCommandOutput } from "./commands/DescribeConfigurationCommand";
|
|
18
20
|
import { DescribeConfigurationRevisionCommandInput, DescribeConfigurationRevisionCommandOutput } from "./commands/DescribeConfigurationRevisionCommand";
|
|
19
21
|
import { GetBootstrapBrokersCommandInput, GetBootstrapBrokersCommandOutput } from "./commands/GetBootstrapBrokersCommand";
|
|
20
22
|
import { GetCompatibleKafkaVersionsCommandInput, GetCompatibleKafkaVersionsCommandOutput } from "./commands/GetCompatibleKafkaVersionsCommand";
|
|
21
23
|
import { ListClusterOperationsCommandInput, ListClusterOperationsCommandOutput } from "./commands/ListClusterOperationsCommand";
|
|
22
24
|
import { ListClustersCommandInput, ListClustersCommandOutput } from "./commands/ListClustersCommand";
|
|
25
|
+
import { ListClustersV2CommandInput, ListClustersV2CommandOutput } from "./commands/ListClustersV2Command";
|
|
23
26
|
import { ListConfigurationRevisionsCommandInput, ListConfigurationRevisionsCommandOutput } from "./commands/ListConfigurationRevisionsCommand";
|
|
24
27
|
import { ListConfigurationsCommandInput, ListConfigurationsCommandOutput } from "./commands/ListConfigurationsCommand";
|
|
25
28
|
import { ListKafkaVersionsCommandInput, ListKafkaVersionsCommandOutput } from "./commands/ListKafkaVersionsCommand";
|
|
@@ -35,10 +38,11 @@ import { UpdateBrokerTypeCommandInput, UpdateBrokerTypeCommandOutput } from "./c
|
|
|
35
38
|
import { UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationCommandOutput } from "./commands/UpdateClusterConfigurationCommand";
|
|
36
39
|
import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput } from "./commands/UpdateClusterKafkaVersionCommand";
|
|
37
40
|
import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
|
|
41
|
+
import { UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput } from "./commands/UpdateConnectivityCommand";
|
|
38
42
|
import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
|
|
39
43
|
import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "./commands/UpdateSecurityCommand";
|
|
40
|
-
export declare type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateClusterCommandInput | CreateConfigurationCommandInput | DeleteClusterCommandInput | DeleteConfigurationCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | GetBootstrapBrokersCommandInput | GetCompatibleKafkaVersionsCommandInput | ListClusterOperationsCommandInput | ListClustersCommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | RebootBrokerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateMonitoringCommandInput | UpdateSecurityCommandInput;
|
|
41
|
-
export declare type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateClusterCommandOutput | CreateConfigurationCommandOutput | DeleteClusterCommandOutput | DeleteConfigurationCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | GetBootstrapBrokersCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListClusterOperationsCommandOutput | ListClustersCommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | RebootBrokerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateMonitoringCommandOutput | UpdateSecurityCommandOutput;
|
|
44
|
+
export declare type ServiceInputTypes = BatchAssociateScramSecretCommandInput | BatchDisassociateScramSecretCommandInput | CreateClusterCommandInput | CreateClusterV2CommandInput | CreateConfigurationCommandInput | DeleteClusterCommandInput | DeleteConfigurationCommandInput | DescribeClusterCommandInput | DescribeClusterOperationCommandInput | DescribeClusterV2CommandInput | DescribeConfigurationCommandInput | DescribeConfigurationRevisionCommandInput | GetBootstrapBrokersCommandInput | GetCompatibleKafkaVersionsCommandInput | ListClusterOperationsCommandInput | ListClustersCommandInput | ListClustersV2CommandInput | ListConfigurationRevisionsCommandInput | ListConfigurationsCommandInput | ListKafkaVersionsCommandInput | ListNodesCommandInput | ListScramSecretsCommandInput | ListTagsForResourceCommandInput | RebootBrokerCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateBrokerCountCommandInput | UpdateBrokerStorageCommandInput | UpdateBrokerTypeCommandInput | UpdateClusterConfigurationCommandInput | UpdateClusterKafkaVersionCommandInput | UpdateConfigurationCommandInput | UpdateConnectivityCommandInput | UpdateMonitoringCommandInput | UpdateSecurityCommandInput;
|
|
45
|
+
export declare type ServiceOutputTypes = BatchAssociateScramSecretCommandOutput | BatchDisassociateScramSecretCommandOutput | CreateClusterCommandOutput | CreateClusterV2CommandOutput | CreateConfigurationCommandOutput | DeleteClusterCommandOutput | DeleteConfigurationCommandOutput | DescribeClusterCommandOutput | DescribeClusterOperationCommandOutput | DescribeClusterV2CommandOutput | DescribeConfigurationCommandOutput | DescribeConfigurationRevisionCommandOutput | GetBootstrapBrokersCommandOutput | GetCompatibleKafkaVersionsCommandOutput | ListClusterOperationsCommandOutput | ListClustersCommandOutput | ListClustersV2CommandOutput | ListConfigurationRevisionsCommandOutput | ListConfigurationsCommandOutput | ListKafkaVersionsCommandOutput | ListNodesCommandOutput | ListScramSecretsCommandOutput | ListTagsForResourceCommandOutput | RebootBrokerCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateBrokerCountCommandOutput | UpdateBrokerStorageCommandOutput | UpdateBrokerTypeCommandOutput | UpdateClusterConfigurationCommandOutput | UpdateClusterKafkaVersionCommandOutput | UpdateConfigurationCommandOutput | UpdateConnectivityCommandOutput | UpdateMonitoringCommandOutput | UpdateSecurityCommandOutput;
|
|
42
46
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
43
47
|
/**
|
|
44
48
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
4
|
+
import { CreateClusterV2Request, CreateClusterV2Response } from "../models/models_0";
|
|
5
|
+
export interface CreateClusterV2CommandInput extends CreateClusterV2Request {
|
|
6
|
+
}
|
|
7
|
+
export interface CreateClusterV2CommandOutput extends CreateClusterV2Response, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Creates a new MSK cluster.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { KafkaClient, CreateClusterV2Command } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
15
|
+
* // const { KafkaClient, CreateClusterV2Command } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
16
|
+
* const client = new KafkaClient(config);
|
|
17
|
+
* const command = new CreateClusterV2Command(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link CreateClusterV2CommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link CreateClusterV2CommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class CreateClusterV2Command extends $Command<CreateClusterV2CommandInput, CreateClusterV2CommandOutput, KafkaClientResolvedConfig> {
|
|
27
|
+
readonly input: CreateClusterV2CommandInput;
|
|
28
|
+
constructor(input: CreateClusterV2CommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateClusterV2CommandInput, CreateClusterV2CommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
4
|
+
import { DescribeClusterV2Request, DescribeClusterV2Response } from "../models/models_0";
|
|
5
|
+
export interface DescribeClusterV2CommandInput extends DescribeClusterV2Request {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeClusterV2CommandOutput extends DescribeClusterV2Response, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns a description of the MSK cluster whose Amazon Resource Name (ARN) is specified in the request.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { KafkaClient, DescribeClusterV2Command } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
15
|
+
* // const { KafkaClient, DescribeClusterV2Command } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
16
|
+
* const client = new KafkaClient(config);
|
|
17
|
+
* const command = new DescribeClusterV2Command(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DescribeClusterV2CommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DescribeClusterV2CommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DescribeClusterV2Command extends $Command<DescribeClusterV2CommandInput, DescribeClusterV2CommandOutput, KafkaClientResolvedConfig> {
|
|
27
|
+
readonly input: DescribeClusterV2CommandInput;
|
|
28
|
+
constructor(input: DescribeClusterV2CommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeClusterV2CommandInput, DescribeClusterV2CommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
4
|
+
import { ListClustersV2Request, ListClustersV2Response } from "../models/models_0";
|
|
5
|
+
export interface ListClustersV2CommandInput extends ListClustersV2Request {
|
|
6
|
+
}
|
|
7
|
+
export interface ListClustersV2CommandOutput extends ListClustersV2Response, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Returns a list of all the MSK clusters in the current Region.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { KafkaClient, ListClustersV2Command } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
15
|
+
* // const { KafkaClient, ListClustersV2Command } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
16
|
+
* const client = new KafkaClient(config);
|
|
17
|
+
* const command = new ListClustersV2Command(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link ListClustersV2CommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link ListClustersV2CommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class ListClustersV2Command extends $Command<ListClustersV2CommandInput, ListClustersV2CommandOutput, KafkaClientResolvedConfig> {
|
|
27
|
+
readonly input: ListClustersV2CommandInput;
|
|
28
|
+
constructor(input: ListClustersV2CommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListClustersV2CommandInput, ListClustersV2CommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -7,7 +7,7 @@ export interface ListKafkaVersionsCommandInput extends ListKafkaVersionsRequest
|
|
|
7
7
|
export interface ListKafkaVersionsCommandOutput extends ListKafkaVersionsResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns a list of Kafka versions.</p>
|
|
10
|
+
* <p>Returns a list of Apache Kafka versions.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { KafkaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../KafkaClient";
|
|
4
|
+
import { UpdateConnectivityRequest, UpdateConnectivityResponse } from "../models/models_0";
|
|
5
|
+
export interface UpdateConnectivityCommandInput extends UpdateConnectivityRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateConnectivityCommandOutput extends UpdateConnectivityResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the cluster's connectivity configuration.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { KafkaClient, UpdateConnectivityCommand } from "@aws-sdk/client-kafka"; // ES Modules import
|
|
15
|
+
* // const { KafkaClient, UpdateConnectivityCommand } = require("@aws-sdk/client-kafka"); // CommonJS import
|
|
16
|
+
* const client = new KafkaClient(config);
|
|
17
|
+
* const command = new UpdateConnectivityCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateConnectivityCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateConnectivityCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateConnectivityCommand extends $Command<UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput, KafkaClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateConnectivityCommandInput;
|
|
28
|
+
constructor(input: UpdateConnectivityCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: KafkaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
export * from "./BatchAssociateScramSecretCommand";
|
|
2
2
|
export * from "./BatchDisassociateScramSecretCommand";
|
|
3
3
|
export * from "./CreateClusterCommand";
|
|
4
|
+
export * from "./CreateClusterV2Command";
|
|
4
5
|
export * from "./CreateConfigurationCommand";
|
|
5
6
|
export * from "./DeleteClusterCommand";
|
|
6
7
|
export * from "./DeleteConfigurationCommand";
|
|
7
8
|
export * from "./DescribeClusterCommand";
|
|
8
9
|
export * from "./DescribeClusterOperationCommand";
|
|
10
|
+
export * from "./DescribeClusterV2Command";
|
|
9
11
|
export * from "./DescribeConfigurationCommand";
|
|
10
12
|
export * from "./DescribeConfigurationRevisionCommand";
|
|
11
13
|
export * from "./GetBootstrapBrokersCommand";
|
|
12
14
|
export * from "./GetCompatibleKafkaVersionsCommand";
|
|
13
15
|
export * from "./ListClusterOperationsCommand";
|
|
14
16
|
export * from "./ListClustersCommand";
|
|
17
|
+
export * from "./ListClustersV2Command";
|
|
15
18
|
export * from "./ListConfigurationRevisionsCommand";
|
|
16
19
|
export * from "./ListConfigurationsCommand";
|
|
17
20
|
export * from "./ListKafkaVersionsCommand";
|
|
@@ -27,5 +30,6 @@ export * from "./UpdateBrokerTypeCommand";
|
|
|
27
30
|
export * from "./UpdateClusterConfigurationCommand";
|
|
28
31
|
export * from "./UpdateClusterKafkaVersionCommand";
|
|
29
32
|
export * from "./UpdateConfigurationCommand";
|
|
33
|
+
export * from "./UpdateConnectivityCommand";
|
|
30
34
|
export * from "./UpdateMonitoringCommand";
|
|
31
35
|
export * from "./UpdateSecurityCommand";
|