@aws-sdk/client-kafka 3.39.0 → 3.43.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.
Files changed (67) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/dist-cjs/Kafka.js +15 -0
  3. package/dist-cjs/commands/UpdateConnectivityCommand.js +36 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/endpoints.js +74 -5
  6. package/dist-cjs/models/models_0.js +27 -3
  7. package/dist-cjs/protocols/Aws_restJson1.js +175 -2
  8. package/dist-cjs/runtimeConfig.browser.js +6 -3
  9. package/dist-cjs/runtimeConfig.js +5 -3
  10. package/dist-es/Kafka.js +15 -0
  11. package/dist-es/commands/UpdateConnectivityCommand.js +39 -0
  12. package/dist-es/commands/index.js +1 -0
  13. package/dist-es/endpoints.js +74 -5
  14. package/dist-es/models/models_0.js +16 -0
  15. package/dist-es/protocols/Aws_restJson1.js +185 -1
  16. package/dist-es/runtimeConfig.browser.js +3 -2
  17. package/dist-es/runtimeConfig.js +3 -3
  18. package/dist-types/Kafka.d.ts +8 -1
  19. package/dist-types/KafkaClient.d.ts +11 -2
  20. package/dist-types/commands/BatchAssociateScramSecretCommand.d.ts +1 -1
  21. package/dist-types/commands/BatchDisassociateScramSecretCommand.d.ts +1 -1
  22. package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
  23. package/dist-types/commands/CreateConfigurationCommand.d.ts +1 -1
  24. package/dist-types/commands/DeleteClusterCommand.d.ts +1 -1
  25. package/dist-types/commands/DeleteConfigurationCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeClusterOperationCommand.d.ts +1 -1
  28. package/dist-types/commands/DescribeConfigurationCommand.d.ts +1 -1
  29. package/dist-types/commands/DescribeConfigurationRevisionCommand.d.ts +1 -1
  30. package/dist-types/commands/GetBootstrapBrokersCommand.d.ts +1 -1
  31. package/dist-types/commands/GetCompatibleKafkaVersionsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListClusterOperationsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListClustersCommand.d.ts +1 -1
  34. package/dist-types/commands/ListConfigurationRevisionsCommand.d.ts +1 -1
  35. package/dist-types/commands/ListConfigurationsCommand.d.ts +1 -1
  36. package/dist-types/commands/ListKafkaVersionsCommand.d.ts +2 -2
  37. package/dist-types/commands/ListNodesCommand.d.ts +1 -1
  38. package/dist-types/commands/ListScramSecretsCommand.d.ts +1 -1
  39. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  40. package/dist-types/commands/RebootBrokerCommand.d.ts +1 -1
  41. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  42. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateBrokerCountCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateBrokerStorageCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateBrokerTypeCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateClusterConfigurationCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateClusterKafkaVersionCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateConnectivityCommand.d.ts +35 -0
  50. package/dist-types/commands/UpdateMonitoringCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateSecurityCommand.d.ts +1 -1
  52. package/dist-types/commands/index.d.ts +1 -0
  53. package/dist-types/models/models_0.d.ts +112 -23
  54. package/dist-types/protocols/Aws_restJson1.d.ts +3 -0
  55. package/dist-types/runtimeConfig.browser.d.ts +2 -0
  56. package/dist-types/runtimeConfig.d.ts +2 -0
  57. package/dist-types/runtimeConfig.native.d.ts +2 -0
  58. package/dist-types/ts3.4/Kafka.d.ts +5 -0
  59. package/dist-types/ts3.4/KafkaClient.d.ts +7 -2
  60. package/dist-types/ts3.4/commands/UpdateConnectivityCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  62. package/dist-types/ts3.4/models/models_0.d.ts +51 -0
  63. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +3 -0
  64. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
  65. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
  66. package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
  67. package/package.json +23 -23
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateConnectivityRequest, UpdateConnectivityResponse } from "../models/models_0";
5
+ import { deserializeAws_restJson1UpdateConnectivityCommand, serializeAws_restJson1UpdateConnectivityCommand, } from "../protocols/Aws_restJson1";
6
+ var UpdateConnectivityCommand = (function (_super) {
7
+ __extends(UpdateConnectivityCommand, _super);
8
+ function UpdateConnectivityCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
12
+ }
13
+ UpdateConnectivityCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "KafkaClient";
18
+ var commandName = "UpdateConnectivityCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateConnectivityRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateConnectivityResponse.filterSensitiveLog,
25
+ };
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ UpdateConnectivityCommand.prototype.serialize = function (input, context) {
32
+ return serializeAws_restJson1UpdateConnectivityCommand(input, context);
33
+ };
34
+ UpdateConnectivityCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_restJson1UpdateConnectivityCommand(output, context);
36
+ };
37
+ return UpdateConnectivityCommand;
38
+ }($Command));
39
+ export { UpdateConnectivityCommand };
@@ -27,5 +27,6 @@ export * from "./UpdateBrokerTypeCommand";
27
27
  export * from "./UpdateClusterConfigurationCommand";
28
28
  export * from "./UpdateClusterKafkaVersionCommand";
29
29
  export * from "./UpdateConfigurationCommand";
30
+ export * from "./UpdateConnectivityCommand";
30
31
  export * from "./UpdateMonitoringCommand";
31
32
  export * from "./UpdateSecurityCommand";
@@ -27,27 +27,96 @@ var partitionHash = {
27
27
  "us-west-2",
28
28
  ],
29
29
  regionRegex: "^(us|eu|ap|sa|ca|me|af)\\-\\w+\\-\\d+$",
30
- hostname: "kafka.{region}.amazonaws.com",
30
+ variants: [
31
+ {
32
+ hostname: "kafka.{region}.amazonaws.com",
33
+ tags: [],
34
+ },
35
+ {
36
+ hostname: "kafka-fips.{region}.amazonaws.com",
37
+ tags: ["fips"],
38
+ },
39
+ {
40
+ hostname: "kafka-fips.{region}.api.aws",
41
+ tags: ["dualstack", "fips"],
42
+ },
43
+ {
44
+ hostname: "kafka.{region}.api.aws",
45
+ tags: ["dualstack"],
46
+ },
47
+ ],
31
48
  },
32
49
  "aws-cn": {
33
50
  regions: ["cn-north-1", "cn-northwest-1"],
34
51
  regionRegex: "^cn\\-\\w+\\-\\d+$",
35
- hostname: "kafka.{region}.amazonaws.com.cn",
52
+ variants: [
53
+ {
54
+ hostname: "kafka.{region}.amazonaws.com.cn",
55
+ tags: [],
56
+ },
57
+ {
58
+ hostname: "kafka-fips.{region}.amazonaws.com.cn",
59
+ tags: ["fips"],
60
+ },
61
+ {
62
+ hostname: "kafka-fips.{region}.api.amazonwebservices.com.cn",
63
+ tags: ["dualstack", "fips"],
64
+ },
65
+ {
66
+ hostname: "kafka.{region}.api.amazonwebservices.com.cn",
67
+ tags: ["dualstack"],
68
+ },
69
+ ],
36
70
  },
37
71
  "aws-iso": {
38
72
  regions: ["us-iso-east-1", "us-iso-west-1"],
39
73
  regionRegex: "^us\\-iso\\-\\w+\\-\\d+$",
40
- hostname: "kafka.{region}.c2s.ic.gov",
74
+ variants: [
75
+ {
76
+ hostname: "kafka.{region}.c2s.ic.gov",
77
+ tags: [],
78
+ },
79
+ {
80
+ hostname: "kafka-fips.{region}.c2s.ic.gov",
81
+ tags: ["fips"],
82
+ },
83
+ ],
41
84
  },
42
85
  "aws-iso-b": {
43
86
  regions: ["us-isob-east-1"],
44
87
  regionRegex: "^us\\-isob\\-\\w+\\-\\d+$",
45
- hostname: "kafka.{region}.sc2s.sgov.gov",
88
+ variants: [
89
+ {
90
+ hostname: "kafka.{region}.sc2s.sgov.gov",
91
+ tags: [],
92
+ },
93
+ {
94
+ hostname: "kafka-fips.{region}.sc2s.sgov.gov",
95
+ tags: ["fips"],
96
+ },
97
+ ],
46
98
  },
47
99
  "aws-us-gov": {
48
100
  regions: ["us-gov-east-1", "us-gov-west-1"],
49
101
  regionRegex: "^us\\-gov\\-\\w+\\-\\d+$",
50
- hostname: "kafka.{region}.amazonaws.com",
102
+ variants: [
103
+ {
104
+ hostname: "kafka.{region}.amazonaws.com",
105
+ tags: [],
106
+ },
107
+ {
108
+ hostname: "kafka-fips.{region}.amazonaws.com",
109
+ tags: ["fips"],
110
+ },
111
+ {
112
+ hostname: "kafka-fips.{region}.api.aws",
113
+ tags: ["dualstack", "fips"],
114
+ },
115
+ {
116
+ hostname: "kafka.{region}.api.aws",
117
+ tags: ["dualstack"],
118
+ },
119
+ ],
51
120
  },
52
121
  };
53
122
  export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
@@ -7,6 +7,14 @@ export var BrokerAZDistribution;
7
7
  (function (BrokerAZDistribution) {
8
8
  BrokerAZDistribution["DEFAULT"] = "DEFAULT";
9
9
  })(BrokerAZDistribution || (BrokerAZDistribution = {}));
10
+ export var PublicAccess;
11
+ (function (PublicAccess) {
12
+ PublicAccess.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
+ })(PublicAccess || (PublicAccess = {}));
14
+ export var ConnectivityInfo;
15
+ (function (ConnectivityInfo) {
16
+ ConnectivityInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
+ })(ConnectivityInfo || (ConnectivityInfo = {}));
10
18
  export var EBSStorageInfo;
11
19
  (function (EBSStorageInfo) {
12
20
  EBSStorageInfo.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -470,6 +478,14 @@ export var UpdateConfigurationResponse;
470
478
  (function (UpdateConfigurationResponse) {
471
479
  UpdateConfigurationResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
472
480
  })(UpdateConfigurationResponse || (UpdateConfigurationResponse = {}));
481
+ export var UpdateConnectivityRequest;
482
+ (function (UpdateConnectivityRequest) {
483
+ UpdateConnectivityRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
484
+ })(UpdateConnectivityRequest || (UpdateConnectivityRequest = {}));
485
+ export var UpdateConnectivityResponse;
486
+ (function (UpdateConnectivityResponse) {
487
+ UpdateConnectivityResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
488
+ })(UpdateConnectivityResponse || (UpdateConnectivityResponse = {}));
473
489
  export var UpdateMonitoringRequest;
474
490
  (function (UpdateMonitoringRequest) {
475
491
  UpdateMonitoringRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -957,6 +957,44 @@ export var serializeAws_restJson1UpdateConfigurationCommand = function (input, c
957
957
  }
958
958
  });
959
959
  }); };
960
+ export var serializeAws_restJson1UpdateConnectivityCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
961
+ var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
962
+ return __generator(this, function (_c) {
963
+ switch (_c.label) {
964
+ case 0: return [4, context.endpoint()];
965
+ case 1:
966
+ _a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
967
+ headers = {
968
+ "content-type": "application/json",
969
+ };
970
+ resolvedPath = "" + ((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/clusters/{ClusterArn}/connectivity";
971
+ if (input.ClusterArn !== undefined) {
972
+ labelValue = input.ClusterArn;
973
+ if (labelValue.length <= 0) {
974
+ throw new Error("Empty value provided for input HTTP label: ClusterArn.");
975
+ }
976
+ resolvedPath = resolvedPath.replace("{ClusterArn}", __extendedEncodeURIComponent(labelValue));
977
+ }
978
+ else {
979
+ throw new Error("No value provided for input HTTP label: ClusterArn.");
980
+ }
981
+ body = JSON.stringify(__assign(__assign({}, (input.ConnectivityInfo !== undefined &&
982
+ input.ConnectivityInfo !== null && {
983
+ connectivityInfo: serializeAws_restJson1ConnectivityInfo(input.ConnectivityInfo, context),
984
+ })), (input.CurrentVersion !== undefined &&
985
+ input.CurrentVersion !== null && { currentVersion: input.CurrentVersion })));
986
+ return [2, new __HttpRequest({
987
+ protocol: protocol,
988
+ hostname: hostname,
989
+ port: port,
990
+ method: "PUT",
991
+ headers: headers,
992
+ path: resolvedPath,
993
+ body: body,
994
+ })];
995
+ }
996
+ });
997
+ }); };
960
998
  export var serializeAws_restJson1UpdateMonitoringCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
961
999
  var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
962
1000
  return __generator(this, function (_c) {
@@ -2133,6 +2171,9 @@ export var deserializeAws_restJson1GetBootstrapBrokersCommand = function (output
2133
2171
  contents = {
2134
2172
  $metadata: deserializeMetadata(output),
2135
2173
  BootstrapBrokerString: undefined,
2174
+ BootstrapBrokerStringPublicSaslIam: undefined,
2175
+ BootstrapBrokerStringPublicSaslScram: undefined,
2176
+ BootstrapBrokerStringPublicTls: undefined,
2136
2177
  BootstrapBrokerStringSaslIam: undefined,
2137
2178
  BootstrapBrokerStringSaslScram: undefined,
2138
2179
  BootstrapBrokerStringTls: undefined,
@@ -2145,6 +2186,15 @@ export var deserializeAws_restJson1GetBootstrapBrokersCommand = function (output
2145
2186
  if (data.bootstrapBrokerString !== undefined && data.bootstrapBrokerString !== null) {
2146
2187
  contents.BootstrapBrokerString = __expectString(data.bootstrapBrokerString);
2147
2188
  }
2189
+ if (data.bootstrapBrokerStringPublicSaslIam !== undefined && data.bootstrapBrokerStringPublicSaslIam !== null) {
2190
+ contents.BootstrapBrokerStringPublicSaslIam = __expectString(data.bootstrapBrokerStringPublicSaslIam);
2191
+ }
2192
+ if (data.bootstrapBrokerStringPublicSaslScram !== undefined && data.bootstrapBrokerStringPublicSaslScram !== null) {
2193
+ contents.BootstrapBrokerStringPublicSaslScram = __expectString(data.bootstrapBrokerStringPublicSaslScram);
2194
+ }
2195
+ if (data.bootstrapBrokerStringPublicTls !== undefined && data.bootstrapBrokerStringPublicTls !== null) {
2196
+ contents.BootstrapBrokerStringPublicTls = __expectString(data.bootstrapBrokerStringPublicTls);
2197
+ }
2148
2198
  if (data.bootstrapBrokerStringSaslIam !== undefined && data.bootstrapBrokerStringSaslIam !== null) {
2149
2199
  contents.BootstrapBrokerStringSaslIam = __expectString(data.bootstrapBrokerStringSaslIam);
2150
2200
  }
@@ -3988,6 +4038,112 @@ var deserializeAws_restJson1UpdateConfigurationCommandError = function (output,
3988
4038
  }
3989
4039
  });
3990
4040
  }); };
4041
+ export var deserializeAws_restJson1UpdateConnectivityCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4042
+ var contents, data, _a, _b;
4043
+ return __generator(this, function (_c) {
4044
+ switch (_c.label) {
4045
+ case 0:
4046
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
4047
+ return [2, deserializeAws_restJson1UpdateConnectivityCommandError(output, context)];
4048
+ }
4049
+ contents = {
4050
+ $metadata: deserializeMetadata(output),
4051
+ ClusterArn: undefined,
4052
+ ClusterOperationArn: undefined,
4053
+ };
4054
+ _a = __expectNonNull;
4055
+ _b = __expectObject;
4056
+ return [4, parseBody(output.body, context)];
4057
+ case 1:
4058
+ data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
4059
+ if (data.clusterArn !== undefined && data.clusterArn !== null) {
4060
+ contents.ClusterArn = __expectString(data.clusterArn);
4061
+ }
4062
+ if (data.clusterOperationArn !== undefined && data.clusterOperationArn !== null) {
4063
+ contents.ClusterOperationArn = __expectString(data.clusterOperationArn);
4064
+ }
4065
+ return [2, Promise.resolve(contents)];
4066
+ }
4067
+ });
4068
+ }); };
4069
+ var deserializeAws_restJson1UpdateConnectivityCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
4070
+ var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, _h, parsedBody, message;
4071
+ var _j;
4072
+ return __generator(this, function (_k) {
4073
+ switch (_k.label) {
4074
+ case 0:
4075
+ _a = [__assign({}, output)];
4076
+ _j = {};
4077
+ return [4, parseBody(output.body, context)];
4078
+ case 1:
4079
+ parsedOutput = __assign.apply(void 0, _a.concat([(_j.body = _k.sent(), _j)]));
4080
+ errorCode = "UnknownError";
4081
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4082
+ _b = errorCode;
4083
+ switch (_b) {
4084
+ case "BadRequestException": return [3, 2];
4085
+ case "com.amazonaws.kafka#BadRequestException": return [3, 2];
4086
+ case "ForbiddenException": return [3, 4];
4087
+ case "com.amazonaws.kafka#ForbiddenException": return [3, 4];
4088
+ case "InternalServerErrorException": return [3, 6];
4089
+ case "com.amazonaws.kafka#InternalServerErrorException": return [3, 6];
4090
+ case "NotFoundException": return [3, 8];
4091
+ case "com.amazonaws.kafka#NotFoundException": return [3, 8];
4092
+ case "ServiceUnavailableException": return [3, 10];
4093
+ case "com.amazonaws.kafka#ServiceUnavailableException": return [3, 10];
4094
+ case "UnauthorizedException": return [3, 12];
4095
+ case "com.amazonaws.kafka#UnauthorizedException": return [3, 12];
4096
+ }
4097
+ return [3, 14];
4098
+ case 2:
4099
+ _c = [{}];
4100
+ return [4, deserializeAws_restJson1BadRequestExceptionResponse(parsedOutput, context)];
4101
+ case 3:
4102
+ response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4103
+ return [3, 15];
4104
+ case 4:
4105
+ _d = [{}];
4106
+ return [4, deserializeAws_restJson1ForbiddenExceptionResponse(parsedOutput, context)];
4107
+ case 5:
4108
+ response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4109
+ return [3, 15];
4110
+ case 6:
4111
+ _e = [{}];
4112
+ return [4, deserializeAws_restJson1InternalServerErrorExceptionResponse(parsedOutput, context)];
4113
+ case 7:
4114
+ response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4115
+ return [3, 15];
4116
+ case 8:
4117
+ _f = [{}];
4118
+ return [4, deserializeAws_restJson1NotFoundExceptionResponse(parsedOutput, context)];
4119
+ case 9:
4120
+ response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4121
+ return [3, 15];
4122
+ case 10:
4123
+ _g = [{}];
4124
+ return [4, deserializeAws_restJson1ServiceUnavailableExceptionResponse(parsedOutput, context)];
4125
+ case 11:
4126
+ response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4127
+ return [3, 15];
4128
+ case 12:
4129
+ _h = [{}];
4130
+ return [4, deserializeAws_restJson1UnauthorizedExceptionResponse(parsedOutput, context)];
4131
+ case 13:
4132
+ response = __assign.apply(void 0, [__assign.apply(void 0, _h.concat([(_k.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
4133
+ return [3, 15];
4134
+ case 14:
4135
+ parsedBody = parsedOutput.body;
4136
+ errorCode = parsedBody.code || parsedBody.Code || errorCode;
4137
+ response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
4138
+ _k.label = 15;
4139
+ case 15:
4140
+ message = response.message || response.Message || errorCode;
4141
+ response.message = message;
4142
+ delete response.Message;
4143
+ return [2, Promise.reject(Object.assign(new Error(message), response))];
4144
+ }
4145
+ });
4146
+ }); };
3991
4147
  export var deserializeAws_restJson1UpdateMonitoringCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
3992
4148
  var contents, data, _a, _b;
3993
4149
  return __generator(this, function (_c) {
@@ -4402,10 +4558,13 @@ var serializeAws_restJson1BrokerLogs = function (input, context) {
4402
4558
  input.Firehose !== null && { firehose: serializeAws_restJson1Firehose(input.Firehose, context) })), (input.S3 !== undefined && input.S3 !== null && { s3: serializeAws_restJson1S3(input.S3, context) }));
4403
4559
  };
4404
4560
  var serializeAws_restJson1BrokerNodeGroupInfo = function (input, context) {
4405
- return __assign(__assign(__assign(__assign(__assign({}, (input.BrokerAZDistribution !== undefined &&
4561
+ return __assign(__assign(__assign(__assign(__assign(__assign({}, (input.BrokerAZDistribution !== undefined &&
4406
4562
  input.BrokerAZDistribution !== null && { brokerAZDistribution: input.BrokerAZDistribution })), (input.ClientSubnets !== undefined &&
4407
4563
  input.ClientSubnets !== null && {
4408
4564
  clientSubnets: serializeAws_restJson1__listOf__string(input.ClientSubnets, context),
4565
+ })), (input.ConnectivityInfo !== undefined &&
4566
+ input.ConnectivityInfo !== null && {
4567
+ connectivityInfo: serializeAws_restJson1ConnectivityInfo(input.ConnectivityInfo, context),
4409
4568
  })), (input.InstanceType !== undefined && input.InstanceType !== null && { instanceType: input.InstanceType })), (input.SecurityGroups !== undefined &&
4410
4569
  input.SecurityGroups !== null && {
4411
4570
  securityGroups: serializeAws_restJson1__listOf__string(input.SecurityGroups, context),
@@ -4424,6 +4583,10 @@ var serializeAws_restJson1CloudWatchLogs = function (input, context) {
4424
4583
  var serializeAws_restJson1ConfigurationInfo = function (input, context) {
4425
4584
  return __assign(__assign({}, (input.Arn !== undefined && input.Arn !== null && { arn: input.Arn })), (input.Revision !== undefined && input.Revision !== null && { revision: input.Revision }));
4426
4585
  };
4586
+ var serializeAws_restJson1ConnectivityInfo = function (input, context) {
4587
+ return __assign({}, (input.PublicAccess !== undefined &&
4588
+ input.PublicAccess !== null && { publicAccess: serializeAws_restJson1PublicAccess(input.PublicAccess, context) }));
4589
+ };
4427
4590
  var serializeAws_restJson1EBSStorageInfo = function (input, context) {
4428
4591
  return __assign({}, (input.VolumeSize !== undefined && input.VolumeSize !== null && { volumeSize: input.VolumeSize }));
4429
4592
  };
@@ -4473,6 +4636,9 @@ var serializeAws_restJson1PrometheusInfo = function (input, context) {
4473
4636
  nodeExporter: serializeAws_restJson1NodeExporterInfo(input.NodeExporter, context),
4474
4637
  }));
4475
4638
  };
4639
+ var serializeAws_restJson1PublicAccess = function (input, context) {
4640
+ return __assign({}, (input.Type !== undefined && input.Type !== null && { type: input.Type }));
4641
+ };
4476
4642
  var serializeAws_restJson1S3 = function (input, context) {
4477
4643
  return __assign(__assign(__assign({}, (input.Bucket !== undefined && input.Bucket !== null && { bucket: input.Bucket })), (input.Enabled !== undefined && input.Enabled !== null && { enabled: input.Enabled })), (input.Prefix !== undefined && input.Prefix !== null && { prefix: input.Prefix }));
4478
4644
  };
@@ -4641,6 +4807,9 @@ var deserializeAws_restJson1BrokerNodeGroupInfo = function (output, context) {
4641
4807
  ClientSubnets: output.clientSubnets !== undefined && output.clientSubnets !== null
4642
4808
  ? deserializeAws_restJson1__listOf__string(output.clientSubnets, context)
4643
4809
  : undefined,
4810
+ ConnectivityInfo: output.connectivityInfo !== undefined && output.connectivityInfo !== null
4811
+ ? deserializeAws_restJson1ConnectivityInfo(output.connectivityInfo, context)
4812
+ : undefined,
4644
4813
  InstanceType: __expectString(output.instanceType),
4645
4814
  SecurityGroups: output.securityGroups !== undefined && output.securityGroups !== null
4646
4815
  ? deserializeAws_restJson1__listOf__string(output.securityGroups, context)
@@ -4808,6 +4977,13 @@ var deserializeAws_restJson1ConfigurationRevision = function (output, context) {
4808
4977
  Revision: __expectLong(output.revision),
4809
4978
  };
4810
4979
  };
4980
+ var deserializeAws_restJson1ConnectivityInfo = function (output, context) {
4981
+ return {
4982
+ PublicAccess: output.publicAccess !== undefined && output.publicAccess !== null
4983
+ ? deserializeAws_restJson1PublicAccess(output.publicAccess, context)
4984
+ : undefined,
4985
+ };
4986
+ };
4811
4987
  var deserializeAws_restJson1EBSStorageInfo = function (output, context) {
4812
4988
  return {
4813
4989
  VolumeSize: __expectInt32(output.volumeSize),
@@ -4880,6 +5056,9 @@ var deserializeAws_restJson1MutableClusterInfo = function (output, context) {
4880
5056
  ConfigurationInfo: output.configurationInfo !== undefined && output.configurationInfo !== null
4881
5057
  ? deserializeAws_restJson1ConfigurationInfo(output.configurationInfo, context)
4882
5058
  : undefined,
5059
+ ConnectivityInfo: output.connectivityInfo !== undefined && output.connectivityInfo !== null
5060
+ ? deserializeAws_restJson1ConnectivityInfo(output.connectivityInfo, context)
5061
+ : undefined,
4883
5062
  EncryptionInfo: output.encryptionInfo !== undefined && output.encryptionInfo !== null
4884
5063
  ? deserializeAws_restJson1EncryptionInfo(output.encryptionInfo, context)
4885
5064
  : undefined,
@@ -4931,6 +5110,11 @@ var deserializeAws_restJson1Prometheus = function (output, context) {
4931
5110
  : undefined,
4932
5111
  };
4933
5112
  };
5113
+ var deserializeAws_restJson1PublicAccess = function (output, context) {
5114
+ return {
5115
+ Type: __expectString(output.type),
5116
+ };
5117
+ };
4934
5118
  var deserializeAws_restJson1S3 = function (output, context) {
4935
5119
  return {
4936
5120
  Bucket: __expectString(output.bucket),
@@ -1,6 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
+ import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
4
5
  import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
6
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
@@ -10,7 +11,7 @@ import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
10
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
11
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
12
13
  export var getRuntimeConfig = function (config) {
13
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
14
15
  var clientSharedValues = getSharedRuntimeConfig(config);
15
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", 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 : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), 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 : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
16
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", 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 : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), 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 : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : 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 : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), 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 });
16
17
  };
@@ -1,7 +1,7 @@
1
1
  import { __assign } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
- import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS } from "@aws-sdk/config-resolver";
4
+ import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
@@ -14,8 +14,8 @@ import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
15
  import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
16
16
  export var getRuntimeConfig = function (config) {
17
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
17
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
18
  emitWarningIfUnsupportedVersion(process.version);
19
19
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- 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, utf8Decoder: (_m = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _m !== void 0 ? _m : fromUtf8, utf8Encoder: (_o = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _o !== void 0 ? _o : toUtf8 });
20
+ 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
21
  };
@@ -28,6 +28,7 @@ import { UpdateBrokerTypeCommandInput, UpdateBrokerTypeCommandOutput } from "./c
28
28
  import { UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationCommandOutput } from "./commands/UpdateClusterConfigurationCommand";
29
29
  import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput } from "./commands/UpdateClusterKafkaVersionCommand";
30
30
  import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
31
+ import { UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput } from "./commands/UpdateConnectivityCommand";
31
32
  import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
32
33
  import { UpdateSecurityCommandInput, UpdateSecurityCommandOutput } from "./commands/UpdateSecurityCommand";
33
34
  import { KafkaClient } from "./KafkaClient";
@@ -132,7 +133,7 @@ export declare class Kafka extends KafkaClient {
132
133
  listConfigurations(args: ListConfigurationsCommandInput, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
133
134
  listConfigurations(args: ListConfigurationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListConfigurationsCommandOutput) => void): void;
134
135
  /**
135
- * <p>Returns a list of Kafka versions.</p>
136
+ * <p>Returns a list of Apache Kafka versions.</p>
136
137
  */
137
138
  listKafkaVersions(args: ListKafkaVersionsCommandInput, options?: __HttpHandlerOptions): Promise<ListKafkaVersionsCommandOutput>;
138
139
  listKafkaVersions(args: ListKafkaVersionsCommandInput, cb: (err: any, data?: ListKafkaVersionsCommandOutput) => void): void;
@@ -209,6 +210,12 @@ export declare class Kafka extends KafkaClient {
209
210
  updateConfiguration(args: UpdateConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConfigurationCommandOutput>;
210
211
  updateConfiguration(args: UpdateConfigurationCommandInput, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
211
212
  updateConfiguration(args: UpdateConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConfigurationCommandOutput) => void): void;
213
+ /**
214
+ * <p>Updates the cluster's connectivity configuration.</p>
215
+ */
216
+ updateConnectivity(args: UpdateConnectivityCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectivityCommandOutput>;
217
+ updateConnectivity(args: UpdateConnectivityCommandInput, cb: (err: any, data?: UpdateConnectivityCommandOutput) => void): void;
218
+ updateConnectivity(args: UpdateConnectivityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectivityCommandOutput) => void): void;
212
219
  /**
213
220
  * <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
221
  */
@@ -35,10 +35,11 @@ import { UpdateBrokerTypeCommandInput, UpdateBrokerTypeCommandOutput } from "./c
35
35
  import { UpdateClusterConfigurationCommandInput, UpdateClusterConfigurationCommandOutput } from "./commands/UpdateClusterConfigurationCommand";
36
36
  import { UpdateClusterKafkaVersionCommandInput, UpdateClusterKafkaVersionCommandOutput } from "./commands/UpdateClusterKafkaVersionCommand";
37
37
  import { UpdateConfigurationCommandInput, UpdateConfigurationCommandOutput } from "./commands/UpdateConfigurationCommand";
38
+ import { UpdateConnectivityCommandInput, UpdateConnectivityCommandOutput } from "./commands/UpdateConnectivityCommand";
38
39
  import { UpdateMonitoringCommandInput, UpdateMonitoringCommandOutput } from "./commands/UpdateMonitoringCommand";
39
40
  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;
41
+ 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 | UpdateConnectivityCommandInput | UpdateMonitoringCommandInput | UpdateSecurityCommandInput;
42
+ 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 | UpdateConnectivityCommandOutput | UpdateMonitoringCommandOutput | UpdateSecurityCommandOutput;
42
43
  export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
43
44
  /**
44
45
  * The HTTP handler to use. Fetch in browser and Https in Nodejs.
@@ -107,6 +108,14 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
107
108
  * Optional logger for logging debug/info/warn/error.
108
109
  */
109
110
  logger?: __Logger;
111
+ /**
112
+ * Enables IPv6/IPv4 dualstack endpoint.
113
+ */
114
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
115
+ /**
116
+ * Enables FIPS compatible endpoints.
117
+ */
118
+ useFipsEndpoint?: boolean | __Provider<boolean>;
110
119
  /**
111
120
  * Unique service identifier.
112
121
  * @internal
@@ -20,7 +20,7 @@ export interface BatchAssociateScramSecretCommandOutput extends BatchAssociateSc
20
20
  *
21
21
  * @see {@link BatchAssociateScramSecretCommandInput} for command's `input` shape.
22
22
  * @see {@link BatchAssociateScramSecretCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class BatchAssociateScramSecretCommand extends $Command<BatchAssociateScramSecretCommandInput, BatchAssociateScramSecretCommandOutput, KafkaClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface BatchDisassociateScramSecretCommandOutput extends BatchDisassoc
20
20
  *
21
21
  * @see {@link BatchDisassociateScramSecretCommandInput} for command's `input` shape.
22
22
  * @see {@link BatchDisassociateScramSecretCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class BatchDisassociateScramSecretCommand extends $Command<BatchDisassociateScramSecretCommandInput, BatchDisassociateScramSecretCommandOutput, KafkaClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CreateClusterCommandOutput extends CreateClusterResponse, __Met
20
20
  *
21
21
  * @see {@link CreateClusterCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateClusterCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateClusterCommand extends $Command<CreateClusterCommandInput, CreateClusterCommandOutput, KafkaClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface CreateConfigurationCommandOutput extends CreateConfigurationRes
20
20
  *
21
21
  * @see {@link CreateConfigurationCommandInput} for command's `input` shape.
22
22
  * @see {@link CreateConfigurationCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class CreateConfigurationCommand extends $Command<CreateConfigurationCommandInput, CreateConfigurationCommandOutput, KafkaClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteClusterCommandOutput extends DeleteClusterResponse, __Met
20
20
  *
21
21
  * @see {@link DeleteClusterCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteClusterCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteClusterCommand extends $Command<DeleteClusterCommandInput, DeleteClusterCommandOutput, KafkaClientResolvedConfig> {
@@ -20,7 +20,7 @@ export interface DeleteConfigurationCommandOutput extends DeleteConfigurationRes
20
20
  *
21
21
  * @see {@link DeleteConfigurationCommandInput} for command's `input` shape.
22
22
  * @see {@link DeleteConfigurationCommandOutput} for command's `response` shape.
23
- * @see {@link KafkaClientResolvedConfig | config} for command's `input` shape.
23
+ * @see {@link KafkaClientResolvedConfig | config} for KafkaClient's `config` shape.
24
24
  *
25
25
  */
26
26
  export declare class DeleteConfigurationCommand extends $Command<DeleteConfigurationCommandInput, DeleteConfigurationCommandOutput, KafkaClientResolvedConfig> {