@aws-sdk/client-kafka 3.53.0 → 3.55.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 +24 -0
- package/dist-cjs/KafkaClient.js +13 -13
- package/dist-cjs/commands/BatchAssociateScramSecretCommand.js +3 -3
- package/dist-cjs/commands/BatchDisassociateScramSecretCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterCommand.js +3 -3
- package/dist-cjs/commands/CreateClusterV2Command.js +3 -3
- package/dist-cjs/commands/CreateConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DeleteClusterCommand.js +3 -3
- package/dist-cjs/commands/DeleteConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterOperationCommand.js +3 -3
- package/dist-cjs/commands/DescribeClusterV2Command.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationCommand.js +3 -3
- package/dist-cjs/commands/DescribeConfigurationRevisionCommand.js +3 -3
- package/dist-cjs/commands/GetBootstrapBrokersCommand.js +3 -3
- package/dist-cjs/commands/GetCompatibleKafkaVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListClusterOperationsCommand.js +3 -3
- package/dist-cjs/commands/ListClustersCommand.js +3 -3
- package/dist-cjs/commands/ListClustersV2Command.js +3 -3
- package/dist-cjs/commands/ListConfigurationRevisionsCommand.js +3 -3
- package/dist-cjs/commands/ListConfigurationsCommand.js +3 -3
- package/dist-cjs/commands/ListKafkaVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListNodesCommand.js +3 -3
- package/dist-cjs/commands/ListScramSecretsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/RebootBrokerCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateBrokerCountCommand.js +3 -3
- package/dist-cjs/commands/UpdateBrokerStorageCommand.js +3 -3
- package/dist-cjs/commands/UpdateBrokerTypeCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateClusterKafkaVersionCommand.js +3 -3
- package/dist-cjs/commands/UpdateConfigurationCommand.js +3 -3
- package/dist-cjs/commands/UpdateConnectivityCommand.js +3 -3
- package/dist-cjs/commands/UpdateMonitoringCommand.js +3 -3
- package/dist-cjs/commands/UpdateSecurityCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +277 -277
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Kafka.js +35 -35
- package/dist-es/pagination/ListClusterOperationsPaginator.js +4 -4
- package/dist-es/pagination/ListClustersPaginator.js +4 -4
- package/dist-es/pagination/ListClustersV2Paginator.js +4 -4
- package/dist-es/pagination/ListConfigurationRevisionsPaginator.js +4 -4
- package/dist-es/pagination/ListConfigurationsPaginator.js +4 -4
- package/dist-es/pagination/ListKafkaVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListNodesPaginator.js +4 -4
- package/dist-es/pagination/ListScramSecretsPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +35 -35
- package/dist-types/KafkaClient.d.ts +2 -2
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +3 -3
- package/dist-types/ts3.4/KafkaClient.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
- package/package.json +34 -34
|
@@ -10,7 +10,7 @@ var makePagedClientRequest = function (client, input) {
|
|
|
10
10
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
11
11
|
return __generator(this, function (_a) {
|
|
12
12
|
switch (_a.label) {
|
|
13
|
-
case 0: return [4, client.send.apply(client, __spreadArray([new ListScramSecretsCommand(input)], __read(args)))];
|
|
13
|
+
case 0: return [4, client.send.apply(client, __spreadArray([new ListScramSecretsCommand(input)], __read(args), false))];
|
|
14
14
|
case 1: return [2, _a.sent()];
|
|
15
15
|
}
|
|
16
16
|
});
|
|
@@ -24,7 +24,7 @@ var makePagedRequest = function (client, input) {
|
|
|
24
24
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
25
25
|
return __generator(this, function (_a) {
|
|
26
26
|
switch (_a.label) {
|
|
27
|
-
case 0: return [4, client.listScramSecrets.apply(client, __spreadArray([input], __read(args)))];
|
|
27
|
+
case 0: return [4, client.listScramSecrets.apply(client, __spreadArray([input], __read(args), false))];
|
|
28
28
|
case 1: return [2, _a.sent()];
|
|
29
29
|
}
|
|
30
30
|
});
|
|
@@ -48,13 +48,13 @@ export function paginateListScramSecrets(config, input) {
|
|
|
48
48
|
input.NextToken = token;
|
|
49
49
|
input["MaxResults"] = config.pageSize;
|
|
50
50
|
if (!(config.client instanceof Kafka)) return [3, 3];
|
|
51
|
-
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
51
|
+
return [4, __await(makePagedRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
52
52
|
case 2:
|
|
53
53
|
page = _a.sent();
|
|
54
54
|
return [3, 6];
|
|
55
55
|
case 3:
|
|
56
56
|
if (!(config.client instanceof KafkaClient)) return [3, 5];
|
|
57
|
-
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments))))];
|
|
57
|
+
return [4, __await(makePagedClientRequest.apply(void 0, __spreadArray([config.client, input], __read(additionalArguments), false)))];
|
|
58
58
|
case 4:
|
|
59
59
|
page = _a.sent();
|
|
60
60
|
return [3, 6];
|
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1BatchAssociateScramSecretCommand = function (in
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/scram-secrets";
|
|
17
17
|
if (input.ClusterArn !== undefined) {
|
|
18
18
|
labelValue = input.ClusterArn;
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
@@ -50,7 +50,7 @@ export var serializeAws_restJson1BatchDisassociateScramSecretCommand = function
|
|
|
50
50
|
headers = {
|
|
51
51
|
"content-type": "application/json",
|
|
52
52
|
};
|
|
53
|
-
resolvedPath = ""
|
|
53
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/scram-secrets";
|
|
54
54
|
if (input.ClusterArn !== undefined) {
|
|
55
55
|
labelValue = input.ClusterArn;
|
|
56
56
|
if (labelValue.length <= 0) {
|
|
@@ -87,7 +87,7 @@ export var serializeAws_restJson1CreateClusterCommand = function (input, context
|
|
|
87
87
|
headers = {
|
|
88
88
|
"content-type": "application/json",
|
|
89
89
|
};
|
|
90
|
-
resolvedPath = ""
|
|
90
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters";
|
|
91
91
|
body = JSON.stringify(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.BrokerNodeGroupInfo !== undefined &&
|
|
92
92
|
input.BrokerNodeGroupInfo !== null && {
|
|
93
93
|
brokerNodeGroupInfo: serializeAws_restJson1BrokerNodeGroupInfo(input.BrokerNodeGroupInfo, context),
|
|
@@ -130,7 +130,7 @@ export var serializeAws_restJson1CreateClusterV2Command = function (input, conte
|
|
|
130
130
|
headers = {
|
|
131
131
|
"content-type": "application/json",
|
|
132
132
|
};
|
|
133
|
-
resolvedPath = ""
|
|
133
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v2/clusters";
|
|
134
134
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.ClusterName !== undefined && input.ClusterName !== null && { clusterName: input.ClusterName })), (input.Provisioned !== undefined &&
|
|
135
135
|
input.Provisioned !== null && {
|
|
136
136
|
provisioned: serializeAws_restJson1ProvisionedRequest(input.Provisioned, context),
|
|
@@ -159,7 +159,7 @@ export var serializeAws_restJson1CreateConfigurationCommand = function (input, c
|
|
|
159
159
|
headers = {
|
|
160
160
|
"content-type": "application/json",
|
|
161
161
|
};
|
|
162
|
-
resolvedPath = ""
|
|
162
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/configurations";
|
|
163
163
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { description: input.Description })), (input.KafkaVersions !== undefined &&
|
|
164
164
|
input.KafkaVersions !== null && {
|
|
165
165
|
kafkaVersions: serializeAws_restJson1__listOf__string(input.KafkaVersions, context),
|
|
@@ -185,7 +185,7 @@ export var serializeAws_restJson1DeleteClusterCommand = function (input, context
|
|
|
185
185
|
case 1:
|
|
186
186
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
187
187
|
headers = {};
|
|
188
|
-
resolvedPath = ""
|
|
188
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}";
|
|
189
189
|
if (input.ClusterArn !== undefined) {
|
|
190
190
|
labelValue = input.ClusterArn;
|
|
191
191
|
if (labelValue.length <= 0) {
|
|
@@ -218,7 +218,7 @@ export var serializeAws_restJson1DeleteConfigurationCommand = function (input, c
|
|
|
218
218
|
case 1:
|
|
219
219
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
220
220
|
headers = {};
|
|
221
|
-
resolvedPath = ""
|
|
221
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/configurations/{Arn}";
|
|
222
222
|
if (input.Arn !== undefined) {
|
|
223
223
|
labelValue = input.Arn;
|
|
224
224
|
if (labelValue.length <= 0) {
|
|
@@ -249,7 +249,7 @@ export var serializeAws_restJson1DescribeClusterCommand = function (input, conte
|
|
|
249
249
|
case 1:
|
|
250
250
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
251
251
|
headers = {};
|
|
252
|
-
resolvedPath = ""
|
|
252
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}";
|
|
253
253
|
if (input.ClusterArn !== undefined) {
|
|
254
254
|
labelValue = input.ClusterArn;
|
|
255
255
|
if (labelValue.length <= 0) {
|
|
@@ -280,7 +280,7 @@ export var serializeAws_restJson1DescribeClusterOperationCommand = function (inp
|
|
|
280
280
|
case 1:
|
|
281
281
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
282
282
|
headers = {};
|
|
283
|
-
resolvedPath = ""
|
|
283
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/operations/{ClusterOperationArn}";
|
|
284
284
|
if (input.ClusterOperationArn !== undefined) {
|
|
285
285
|
labelValue = input.ClusterOperationArn;
|
|
286
286
|
if (labelValue.length <= 0) {
|
|
@@ -311,7 +311,7 @@ export var serializeAws_restJson1DescribeClusterV2Command = function (input, con
|
|
|
311
311
|
case 1:
|
|
312
312
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
313
313
|
headers = {};
|
|
314
|
-
resolvedPath = ""
|
|
314
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v2/clusters/{ClusterArn}";
|
|
315
315
|
if (input.ClusterArn !== undefined) {
|
|
316
316
|
labelValue = input.ClusterArn;
|
|
317
317
|
if (labelValue.length <= 0) {
|
|
@@ -342,7 +342,7 @@ export var serializeAws_restJson1DescribeConfigurationCommand = function (input,
|
|
|
342
342
|
case 1:
|
|
343
343
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
344
344
|
headers = {};
|
|
345
|
-
resolvedPath = ""
|
|
345
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/configurations/{Arn}";
|
|
346
346
|
if (input.Arn !== undefined) {
|
|
347
347
|
labelValue = input.Arn;
|
|
348
348
|
if (labelValue.length <= 0) {
|
|
@@ -373,7 +373,7 @@ export var serializeAws_restJson1DescribeConfigurationRevisionCommand = function
|
|
|
373
373
|
case 1:
|
|
374
374
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
375
375
|
headers = {};
|
|
376
|
-
resolvedPath = ""
|
|
376
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
377
377
|
"/v1/configurations/{Arn}/revisions/{Revision}";
|
|
378
378
|
if (input.Arn !== undefined) {
|
|
379
379
|
labelValue = input.Arn;
|
|
@@ -415,7 +415,7 @@ export var serializeAws_restJson1GetBootstrapBrokersCommand = function (input, c
|
|
|
415
415
|
case 1:
|
|
416
416
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
417
417
|
headers = {};
|
|
418
|
-
resolvedPath = ""
|
|
418
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
419
419
|
"/v1/clusters/{ClusterArn}/bootstrap-brokers";
|
|
420
420
|
if (input.ClusterArn !== undefined) {
|
|
421
421
|
labelValue = input.ClusterArn;
|
|
@@ -447,7 +447,7 @@ export var serializeAws_restJson1GetCompatibleKafkaVersionsCommand = function (i
|
|
|
447
447
|
case 1:
|
|
448
448
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
449
449
|
headers = {};
|
|
450
|
-
resolvedPath = ""
|
|
450
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/compatible-kafka-versions";
|
|
451
451
|
query = __assign({}, (input.ClusterArn !== undefined && { clusterArn: input.ClusterArn }));
|
|
452
452
|
return [2, new __HttpRequest({
|
|
453
453
|
protocol: protocol,
|
|
@@ -470,7 +470,7 @@ export var serializeAws_restJson1ListClusterOperationsCommand = function (input,
|
|
|
470
470
|
case 1:
|
|
471
471
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
472
472
|
headers = {};
|
|
473
|
-
resolvedPath = ""
|
|
473
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/operations";
|
|
474
474
|
if (input.ClusterArn !== undefined) {
|
|
475
475
|
labelValue = input.ClusterArn;
|
|
476
476
|
if (labelValue.length <= 0) {
|
|
@@ -503,7 +503,7 @@ export var serializeAws_restJson1ListClustersCommand = function (input, context)
|
|
|
503
503
|
case 1:
|
|
504
504
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
505
505
|
headers = {};
|
|
506
|
-
resolvedPath = ""
|
|
506
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters";
|
|
507
507
|
query = __assign(__assign(__assign({}, (input.ClusterNameFilter !== undefined && { clusterNameFilter: input.ClusterNameFilter })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
508
508
|
return [2, new __HttpRequest({
|
|
509
509
|
protocol: protocol,
|
|
@@ -526,7 +526,7 @@ export var serializeAws_restJson1ListClustersV2Command = function (input, contex
|
|
|
526
526
|
case 1:
|
|
527
527
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
528
528
|
headers = {};
|
|
529
|
-
resolvedPath = ""
|
|
529
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/api/v2/clusters";
|
|
530
530
|
query = __assign(__assign(__assign(__assign({}, (input.ClusterNameFilter !== undefined && { clusterNameFilter: input.ClusterNameFilter })), (input.ClusterTypeFilter !== undefined && { clusterTypeFilter: input.ClusterTypeFilter })), (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
531
531
|
return [2, new __HttpRequest({
|
|
532
532
|
protocol: protocol,
|
|
@@ -549,7 +549,7 @@ export var serializeAws_restJson1ListConfigurationRevisionsCommand = function (i
|
|
|
549
549
|
case 1:
|
|
550
550
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
551
551
|
headers = {};
|
|
552
|
-
resolvedPath = ""
|
|
552
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/configurations/{Arn}/revisions";
|
|
553
553
|
if (input.Arn !== undefined) {
|
|
554
554
|
labelValue = input.Arn;
|
|
555
555
|
if (labelValue.length <= 0) {
|
|
@@ -582,7 +582,7 @@ export var serializeAws_restJson1ListConfigurationsCommand = function (input, co
|
|
|
582
582
|
case 1:
|
|
583
583
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
584
584
|
headers = {};
|
|
585
|
-
resolvedPath = ""
|
|
585
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/configurations";
|
|
586
586
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
587
587
|
return [2, new __HttpRequest({
|
|
588
588
|
protocol: protocol,
|
|
@@ -605,7 +605,7 @@ export var serializeAws_restJson1ListKafkaVersionsCommand = function (input, con
|
|
|
605
605
|
case 1:
|
|
606
606
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
607
607
|
headers = {};
|
|
608
|
-
resolvedPath = ""
|
|
608
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/kafka-versions";
|
|
609
609
|
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
610
610
|
return [2, new __HttpRequest({
|
|
611
611
|
protocol: protocol,
|
|
@@ -628,7 +628,7 @@ export var serializeAws_restJson1ListNodesCommand = function (input, context) {
|
|
|
628
628
|
case 1:
|
|
629
629
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
630
630
|
headers = {};
|
|
631
|
-
resolvedPath = ""
|
|
631
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/nodes";
|
|
632
632
|
if (input.ClusterArn !== undefined) {
|
|
633
633
|
labelValue = input.ClusterArn;
|
|
634
634
|
if (labelValue.length <= 0) {
|
|
@@ -661,7 +661,7 @@ export var serializeAws_restJson1ListScramSecretsCommand = function (input, cont
|
|
|
661
661
|
case 1:
|
|
662
662
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
663
663
|
headers = {};
|
|
664
|
-
resolvedPath = ""
|
|
664
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/scram-secrets";
|
|
665
665
|
if (input.ClusterArn !== undefined) {
|
|
666
666
|
labelValue = input.ClusterArn;
|
|
667
667
|
if (labelValue.length <= 0) {
|
|
@@ -694,7 +694,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
694
694
|
case 1:
|
|
695
695
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
696
696
|
headers = {};
|
|
697
|
-
resolvedPath = ""
|
|
697
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tags/{ResourceArn}";
|
|
698
698
|
if (input.ResourceArn !== undefined) {
|
|
699
699
|
labelValue = input.ResourceArn;
|
|
700
700
|
if (labelValue.length <= 0) {
|
|
@@ -727,7 +727,7 @@ export var serializeAws_restJson1RebootBrokerCommand = function (input, context)
|
|
|
727
727
|
headers = {
|
|
728
728
|
"content-type": "application/json",
|
|
729
729
|
};
|
|
730
|
-
resolvedPath = ""
|
|
730
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/reboot-broker";
|
|
731
731
|
if (input.ClusterArn !== undefined) {
|
|
732
732
|
labelValue = input.ClusterArn;
|
|
733
733
|
if (labelValue.length <= 0) {
|
|
@@ -762,7 +762,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
762
762
|
headers = {
|
|
763
763
|
"content-type": "application/json",
|
|
764
764
|
};
|
|
765
|
-
resolvedPath = ""
|
|
765
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tags/{ResourceArn}";
|
|
766
766
|
if (input.ResourceArn !== undefined) {
|
|
767
767
|
labelValue = input.ResourceArn;
|
|
768
768
|
if (labelValue.length <= 0) {
|
|
@@ -795,7 +795,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
795
795
|
case 1:
|
|
796
796
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
797
797
|
headers = {};
|
|
798
|
-
resolvedPath = ""
|
|
798
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tags/{ResourceArn}";
|
|
799
799
|
if (input.ResourceArn !== undefined) {
|
|
800
800
|
labelValue = input.ResourceArn;
|
|
801
801
|
if (labelValue.length <= 0) {
|
|
@@ -830,7 +830,7 @@ export var serializeAws_restJson1UpdateBrokerCountCommand = function (input, con
|
|
|
830
830
|
headers = {
|
|
831
831
|
"content-type": "application/json",
|
|
832
832
|
};
|
|
833
|
-
resolvedPath = ""
|
|
833
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/nodes/count";
|
|
834
834
|
if (input.ClusterArn !== undefined) {
|
|
835
835
|
labelValue = input.ClusterArn;
|
|
836
836
|
if (labelValue.length <= 0) {
|
|
@@ -866,7 +866,7 @@ export var serializeAws_restJson1UpdateBrokerStorageCommand = function (input, c
|
|
|
866
866
|
headers = {
|
|
867
867
|
"content-type": "application/json",
|
|
868
868
|
};
|
|
869
|
-
resolvedPath = ""
|
|
869
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/nodes/storage";
|
|
870
870
|
if (input.ClusterArn !== undefined) {
|
|
871
871
|
labelValue = input.ClusterArn;
|
|
872
872
|
if (labelValue.length <= 0) {
|
|
@@ -904,7 +904,7 @@ export var serializeAws_restJson1UpdateBrokerTypeCommand = function (input, cont
|
|
|
904
904
|
headers = {
|
|
905
905
|
"content-type": "application/json",
|
|
906
906
|
};
|
|
907
|
-
resolvedPath = ""
|
|
907
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/nodes/type";
|
|
908
908
|
if (input.ClusterArn !== undefined) {
|
|
909
909
|
labelValue = input.ClusterArn;
|
|
910
910
|
if (labelValue.length <= 0) {
|
|
@@ -940,7 +940,7 @@ export var serializeAws_restJson1UpdateClusterConfigurationCommand = function (i
|
|
|
940
940
|
headers = {
|
|
941
941
|
"content-type": "application/json",
|
|
942
942
|
};
|
|
943
|
-
resolvedPath = ""
|
|
943
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/configuration";
|
|
944
944
|
if (input.ClusterArn !== undefined) {
|
|
945
945
|
labelValue = input.ClusterArn;
|
|
946
946
|
if (labelValue.length <= 0) {
|
|
@@ -978,7 +978,7 @@ export var serializeAws_restJson1UpdateClusterKafkaVersionCommand = function (in
|
|
|
978
978
|
headers = {
|
|
979
979
|
"content-type": "application/json",
|
|
980
980
|
};
|
|
981
|
-
resolvedPath = ""
|
|
981
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/version";
|
|
982
982
|
if (input.ClusterArn !== undefined) {
|
|
983
983
|
labelValue = input.ClusterArn;
|
|
984
984
|
if (labelValue.length <= 0) {
|
|
@@ -1017,7 +1017,7 @@ export var serializeAws_restJson1UpdateConfigurationCommand = function (input, c
|
|
|
1017
1017
|
headers = {
|
|
1018
1018
|
"content-type": "application/json",
|
|
1019
1019
|
};
|
|
1020
|
-
resolvedPath = ""
|
|
1020
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/configurations/{Arn}";
|
|
1021
1021
|
if (input.Arn !== undefined) {
|
|
1022
1022
|
labelValue = input.Arn;
|
|
1023
1023
|
if (labelValue.length <= 0) {
|
|
@@ -1052,7 +1052,7 @@ export var serializeAws_restJson1UpdateConnectivityCommand = function (input, co
|
|
|
1052
1052
|
headers = {
|
|
1053
1053
|
"content-type": "application/json",
|
|
1054
1054
|
};
|
|
1055
|
-
resolvedPath = ""
|
|
1055
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/connectivity";
|
|
1056
1056
|
if (input.ClusterArn !== undefined) {
|
|
1057
1057
|
labelValue = input.ClusterArn;
|
|
1058
1058
|
if (labelValue.length <= 0) {
|
|
@@ -1090,7 +1090,7 @@ export var serializeAws_restJson1UpdateMonitoringCommand = function (input, cont
|
|
|
1090
1090
|
headers = {
|
|
1091
1091
|
"content-type": "application/json",
|
|
1092
1092
|
};
|
|
1093
|
-
resolvedPath = ""
|
|
1093
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/monitoring";
|
|
1094
1094
|
if (input.ClusterArn !== undefined) {
|
|
1095
1095
|
labelValue = input.ClusterArn;
|
|
1096
1096
|
if (labelValue.length <= 0) {
|
|
@@ -1130,7 +1130,7 @@ export var serializeAws_restJson1UpdateSecurityCommand = function (input, contex
|
|
|
1130
1130
|
headers = {
|
|
1131
1131
|
"content-type": "application/json",
|
|
1132
1132
|
};
|
|
1133
|
-
resolvedPath = ""
|
|
1133
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/security";
|
|
1134
1134
|
if (input.ClusterArn !== undefined) {
|
|
1135
1135
|
labelValue = input.ClusterArn;
|
|
1136
1136
|
if (labelValue.length <= 0) {
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BatchAssociateScramSecretCommandInput, BatchAssociateScramSecretCommandOutput } from "./commands/BatchAssociateScramSecretCommand";
|
|
10
10
|
import { BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretCommandOutput } from "./commands/BatchDisassociateScramSecretCommand";
|
|
11
11
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
@@ -63,7 +63,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
63
63
|
* A function that can calculate the length of a request body.
|
|
64
64
|
* @internal
|
|
65
65
|
*/
|
|
66
|
-
bodyLengthChecker?:
|
|
66
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
67
67
|
/**
|
|
68
68
|
* A function that converts a stream into an array of bytes.
|
|
69
69
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { BatchAssociateScramSecretCommandInput, BatchAssociateScramSecretCommandOutput } from "./commands/BatchAssociateScramSecretCommand";
|
|
10
10
|
import { BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretCommandOutput } from "./commands/BatchDisassociateScramSecretCommand";
|
|
11
11
|
import { CreateClusterCommandInput, CreateClusterCommandOutput } from "./commands/CreateClusterCommand";
|
|
@@ -51,7 +51,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
51
51
|
|
|
52
52
|
urlParser?: __UrlParser;
|
|
53
53
|
|
|
54
|
-
bodyLengthChecker?:
|
|
54
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
55
55
|
|
|
56
56
|
streamCollector?: __StreamCollector;
|
|
57
57
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: KafkaClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kafka",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kafka Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.55.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,47 +18,47 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|