@effect-aws/client-kafka 1.10.6

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 (53) hide show
  1. package/Errors/package.json +6 -0
  2. package/KafkaClientInstance/package.json +6 -0
  3. package/KafkaService/package.json +6 -0
  4. package/KafkaServiceConfig/package.json +6 -0
  5. package/LICENSE +19 -0
  6. package/README.md +58 -0
  7. package/dist/cjs/Errors.d.ts +15 -0
  8. package/dist/cjs/Errors.d.ts.map +1 -0
  9. package/dist/cjs/Errors.js +14 -0
  10. package/dist/cjs/Errors.js.map +1 -0
  11. package/dist/cjs/KafkaClientInstance.d.ts +24 -0
  12. package/dist/cjs/KafkaClientInstance.d.ts.map +1 -0
  13. package/dist/cjs/KafkaClientInstance.js +50 -0
  14. package/dist/cjs/KafkaClientInstance.js.map +1 -0
  15. package/dist/cjs/KafkaService.d.ts +270 -0
  16. package/dist/cjs/KafkaService.d.ts.map +1 -0
  17. package/dist/cjs/KafkaService.js +115 -0
  18. package/dist/cjs/KafkaService.js.map +1 -0
  19. package/dist/cjs/KafkaServiceConfig.d.ts +25 -0
  20. package/dist/cjs/KafkaServiceConfig.d.ts.map +1 -0
  21. package/dist/cjs/KafkaServiceConfig.js +35 -0
  22. package/dist/cjs/KafkaServiceConfig.js.map +1 -0
  23. package/dist/cjs/index.d.ts +44 -0
  24. package/dist/cjs/index.d.ts.map +1 -0
  25. package/dist/cjs/index.js +56 -0
  26. package/dist/cjs/index.js.map +1 -0
  27. package/dist/dts/Errors.d.ts +15 -0
  28. package/dist/dts/Errors.d.ts.map +1 -0
  29. package/dist/dts/KafkaClientInstance.d.ts +24 -0
  30. package/dist/dts/KafkaClientInstance.d.ts.map +1 -0
  31. package/dist/dts/KafkaService.d.ts +270 -0
  32. package/dist/dts/KafkaService.d.ts.map +1 -0
  33. package/dist/dts/KafkaServiceConfig.d.ts +25 -0
  34. package/dist/dts/KafkaServiceConfig.d.ts.map +1 -0
  35. package/dist/dts/index.d.ts +44 -0
  36. package/dist/dts/index.d.ts.map +1 -0
  37. package/dist/esm/Errors.js +11 -0
  38. package/dist/esm/Errors.js.map +1 -0
  39. package/dist/esm/KafkaClientInstance.js +23 -0
  40. package/dist/esm/KafkaClientInstance.js.map +1 -0
  41. package/dist/esm/KafkaService.js +88 -0
  42. package/dist/esm/KafkaService.js.map +1 -0
  43. package/dist/esm/KafkaServiceConfig.js +31 -0
  44. package/dist/esm/KafkaServiceConfig.js.map +1 -0
  45. package/dist/esm/index.js +27 -0
  46. package/dist/esm/index.js.map +1 -0
  47. package/dist/esm/package.json +4 -0
  48. package/package.json +71 -0
  49. package/src/Errors.ts +32 -0
  50. package/src/KafkaClientInstance.ts +33 -0
  51. package/src/KafkaService.ts +1234 -0
  52. package/src/KafkaServiceConfig.ts +52 -0
  53. package/src/index.ts +50 -0
@@ -0,0 +1,115 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.KafkaService = exports.makeKafkaService = void 0;
27
+ /**
28
+ * @since 1.0.0
29
+ */
30
+ const client_kafka_1 = require("@aws-sdk/client-kafka");
31
+ const commons_1 = require("@effect-aws/commons");
32
+ const effect_1 = require("effect");
33
+ const Errors_js_1 = require("./Errors.js");
34
+ const Instance = __importStar(require("./KafkaClientInstance.js"));
35
+ const KafkaServiceConfig = __importStar(require("./KafkaServiceConfig.js"));
36
+ const commands = {
37
+ BatchAssociateScramSecretCommand: client_kafka_1.BatchAssociateScramSecretCommand,
38
+ BatchDisassociateScramSecretCommand: client_kafka_1.BatchDisassociateScramSecretCommand,
39
+ CreateClusterCommand: client_kafka_1.CreateClusterCommand,
40
+ CreateClusterV2Command: client_kafka_1.CreateClusterV2Command,
41
+ CreateConfigurationCommand: client_kafka_1.CreateConfigurationCommand,
42
+ CreateReplicatorCommand: client_kafka_1.CreateReplicatorCommand,
43
+ CreateVpcConnectionCommand: client_kafka_1.CreateVpcConnectionCommand,
44
+ DeleteClusterCommand: client_kafka_1.DeleteClusterCommand,
45
+ DeleteClusterPolicyCommand: client_kafka_1.DeleteClusterPolicyCommand,
46
+ DeleteConfigurationCommand: client_kafka_1.DeleteConfigurationCommand,
47
+ DeleteReplicatorCommand: client_kafka_1.DeleteReplicatorCommand,
48
+ DeleteVpcConnectionCommand: client_kafka_1.DeleteVpcConnectionCommand,
49
+ DescribeClusterCommand: client_kafka_1.DescribeClusterCommand,
50
+ DescribeClusterOperationCommand: client_kafka_1.DescribeClusterOperationCommand,
51
+ DescribeClusterOperationV2Command: client_kafka_1.DescribeClusterOperationV2Command,
52
+ DescribeClusterV2Command: client_kafka_1.DescribeClusterV2Command,
53
+ DescribeConfigurationCommand: client_kafka_1.DescribeConfigurationCommand,
54
+ DescribeConfigurationRevisionCommand: client_kafka_1.DescribeConfigurationRevisionCommand,
55
+ DescribeReplicatorCommand: client_kafka_1.DescribeReplicatorCommand,
56
+ DescribeTopicCommand: client_kafka_1.DescribeTopicCommand,
57
+ DescribeTopicPartitionsCommand: client_kafka_1.DescribeTopicPartitionsCommand,
58
+ DescribeVpcConnectionCommand: client_kafka_1.DescribeVpcConnectionCommand,
59
+ GetBootstrapBrokersCommand: client_kafka_1.GetBootstrapBrokersCommand,
60
+ GetClusterPolicyCommand: client_kafka_1.GetClusterPolicyCommand,
61
+ GetCompatibleKafkaVersionsCommand: client_kafka_1.GetCompatibleKafkaVersionsCommand,
62
+ ListClientVpcConnectionsCommand: client_kafka_1.ListClientVpcConnectionsCommand,
63
+ ListClusterOperationsCommand: client_kafka_1.ListClusterOperationsCommand,
64
+ ListClusterOperationsV2Command: client_kafka_1.ListClusterOperationsV2Command,
65
+ ListClustersCommand: client_kafka_1.ListClustersCommand,
66
+ ListClustersV2Command: client_kafka_1.ListClustersV2Command,
67
+ ListConfigurationRevisionsCommand: client_kafka_1.ListConfigurationRevisionsCommand,
68
+ ListConfigurationsCommand: client_kafka_1.ListConfigurationsCommand,
69
+ ListKafkaVersionsCommand: client_kafka_1.ListKafkaVersionsCommand,
70
+ ListNodesCommand: client_kafka_1.ListNodesCommand,
71
+ ListReplicatorsCommand: client_kafka_1.ListReplicatorsCommand,
72
+ ListScramSecretsCommand: client_kafka_1.ListScramSecretsCommand,
73
+ ListTagsForResourceCommand: client_kafka_1.ListTagsForResourceCommand,
74
+ ListTopicsCommand: client_kafka_1.ListTopicsCommand,
75
+ ListVpcConnectionsCommand: client_kafka_1.ListVpcConnectionsCommand,
76
+ PutClusterPolicyCommand: client_kafka_1.PutClusterPolicyCommand,
77
+ RebootBrokerCommand: client_kafka_1.RebootBrokerCommand,
78
+ RejectClientVpcConnectionCommand: client_kafka_1.RejectClientVpcConnectionCommand,
79
+ TagResourceCommand: client_kafka_1.TagResourceCommand,
80
+ UntagResourceCommand: client_kafka_1.UntagResourceCommand,
81
+ UpdateBrokerCountCommand: client_kafka_1.UpdateBrokerCountCommand,
82
+ UpdateBrokerStorageCommand: client_kafka_1.UpdateBrokerStorageCommand,
83
+ UpdateBrokerTypeCommand: client_kafka_1.UpdateBrokerTypeCommand,
84
+ UpdateClusterConfigurationCommand: client_kafka_1.UpdateClusterConfigurationCommand,
85
+ UpdateClusterKafkaVersionCommand: client_kafka_1.UpdateClusterKafkaVersionCommand,
86
+ UpdateConfigurationCommand: client_kafka_1.UpdateConfigurationCommand,
87
+ UpdateConnectivityCommand: client_kafka_1.UpdateConnectivityCommand,
88
+ UpdateMonitoringCommand: client_kafka_1.UpdateMonitoringCommand,
89
+ UpdateRebalancingCommand: client_kafka_1.UpdateRebalancingCommand,
90
+ UpdateReplicationInfoCommand: client_kafka_1.UpdateReplicationInfoCommand,
91
+ UpdateSecurityCommand: client_kafka_1.UpdateSecurityCommand,
92
+ UpdateStorageCommand: client_kafka_1.UpdateStorageCommand,
93
+ };
94
+ /**
95
+ * @since 1.0.0
96
+ * @category constructors
97
+ */
98
+ exports.makeKafkaService = effect_1.Effect.gen(function* () {
99
+ const client = yield* Instance.KafkaClientInstance;
100
+ return yield* commons_1.Service.fromClientAndCommands(client, commands, {
101
+ errorTags: Errors_js_1.AllServiceErrors,
102
+ resolveClientConfig: KafkaServiceConfig.toKafkaClientConfig,
103
+ });
104
+ });
105
+ /**
106
+ * @since 1.0.0
107
+ * @category models
108
+ */
109
+ class KafkaService extends effect_1.Effect.Tag("@effect-aws/client-kafka/KafkaService")() {
110
+ static defaultLayer = effect_1.Layer.effect(this, exports.makeKafkaService).pipe(effect_1.Layer.provide(Instance.layer));
111
+ static layer = (config) => effect_1.Layer.effect(this, exports.makeKafkaService).pipe(effect_1.Layer.provide(Instance.layer), effect_1.Layer.provide(KafkaServiceConfig.setKafkaServiceConfig(config)));
112
+ static baseLayer = (evaluate) => effect_1.Layer.effect(this, exports.makeKafkaService).pipe(effect_1.Layer.provide(effect_1.Layer.effect(Instance.KafkaClientInstance, effect_1.Effect.map(KafkaServiceConfig.toKafkaClientConfig, evaluate))));
113
+ }
114
+ exports.KafkaService = KafkaService;
115
+ //# sourceMappingURL=KafkaService.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KafkaService.js","sourceRoot":"","sources":["../../src/KafkaService.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import type { KafkaClientConfig } from "@aws-sdk/client-kafka";
5
+ import { Effect, Layer } from "effect";
6
+ import type { KafkaService } from "./KafkaService.js";
7
+ /**
8
+ * @since 1.0.0
9
+ * @category kafka service config
10
+ */
11
+ export declare const withKafkaServiceConfig: {
12
+ (config: KafkaService.Config): <A, E, R>(effect: Effect.Effect<A, E, R>) => Effect.Effect<A, E, R>;
13
+ <A, E, R>(effect: Effect.Effect<A, E, R>, config: KafkaService.Config): Effect.Effect<A, E, R>;
14
+ };
15
+ /**
16
+ * @since 1.0.0
17
+ * @category kafka service config
18
+ */
19
+ export declare const setKafkaServiceConfig: (config: KafkaService.Config) => Layer.Layer<never, never, never>;
20
+ /**
21
+ * @since 1.0.0
22
+ * @category adapters
23
+ */
24
+ export declare const toKafkaClientConfig: Effect.Effect<KafkaClientConfig>;
25
+ //# sourceMappingURL=KafkaServiceConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KafkaServiceConfig.d.ts","sourceRoot":"","sources":["../../src/KafkaServiceConfig.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE/D,OAAO,EAAE,MAAM,EAAY,KAAK,EAAE,MAAM,QAAQ,CAAC;AAGjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAWtD;;;GAGG;AACH,eAAO,MAAM,sBAAsB,EAAE;IACnC,CAAC,MAAM,EAAE,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACnG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,MAAM,EAAE,YAAY,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;CAKhG,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,qBAAqB,WAAY,aAAa,MAAM,qCACT,CAAC;AAEzD;;;GAGG;AACH,eAAO,MAAM,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAQ/D,CAAC"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.toKafkaClientConfig = exports.setKafkaServiceConfig = exports.withKafkaServiceConfig = void 0;
4
+ const commons_1 = require("@effect-aws/commons");
5
+ const effect_1 = require("effect");
6
+ const Function_1 = require("effect/Function");
7
+ const GlobalValue_1 = require("effect/GlobalValue");
8
+ /**
9
+ * @since 1.0.0
10
+ * @category kafka service config
11
+ */
12
+ const currentKafkaServiceConfig = (0, GlobalValue_1.globalValue)("@effect-aws/client-kafka/currentKafkaServiceConfig", () => effect_1.FiberRef.unsafeMake({}));
13
+ /**
14
+ * @since 1.0.0
15
+ * @category kafka service config
16
+ */
17
+ exports.withKafkaServiceConfig = (0, Function_1.dual)(2, (effect, config) => effect_1.Effect.locally(effect, currentKafkaServiceConfig, config));
18
+ /**
19
+ * @since 1.0.0
20
+ * @category kafka service config
21
+ */
22
+ const setKafkaServiceConfig = (config) => effect_1.Layer.locallyScoped(currentKafkaServiceConfig, config);
23
+ exports.setKafkaServiceConfig = setKafkaServiceConfig;
24
+ /**
25
+ * @since 1.0.0
26
+ * @category adapters
27
+ */
28
+ exports.toKafkaClientConfig = effect_1.Effect.gen(function* () {
29
+ const { logger: serviceLogger, ...config } = yield* effect_1.FiberRef.get(currentKafkaServiceConfig);
30
+ const logger = serviceLogger === true
31
+ ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.defaultServiceLogger)
32
+ : (serviceLogger ? yield* commons_1.ServiceLogger.toClientLogger(commons_1.ServiceLogger.make(serviceLogger)) : undefined);
33
+ return { logger, ...config };
34
+ });
35
+ //# sourceMappingURL=KafkaServiceConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KafkaServiceConfig.js","sourceRoot":"","sources":["../../src/KafkaServiceConfig.ts"],"names":[],"mappings":";;;AAIA,iDAAoD;AACpD,mCAAiD;AACjD,8CAAuC;AACvC,oDAAiD;AAGjD;;;GAGG;AACH,MAAM,yBAAyB,GAAG,IAAA,yBAAW,EAC3C,oDAAoD,EACpD,GAAG,EAAE,CAAC,iBAAQ,CAAC,UAAU,CAAsB,EAAE,CAAC,CACnD,CAAC;AAEF;;;GAGG;AACU,QAAA,sBAAsB,GAG/B,IAAA,eAAI,EACN,CAAC,EACD,CAAU,MAA8B,EAAE,MAA2B,EAA0B,EAAE,CAC/F,eAAM,CAAC,OAAO,CAAC,MAAM,EAAE,yBAAyB,EAAE,MAAM,CAAC,CAC5D,CAAC;AAEF;;;GAGG;AACI,MAAM,qBAAqB,GAAG,CAAC,MAA2B,EAAE,EAAE,CACnE,cAAK,CAAC,aAAa,CAAC,yBAAyB,EAAE,MAAM,CAAC,CAAC;AAD5C,QAAA,qBAAqB,yBACuB;AAEzD;;;GAGG;AACU,QAAA,mBAAmB,GAAqC,eAAM,CAAC,GAAG,CAAC,QAAQ,CAAC;IACvF,MAAM,EAAE,MAAM,EAAE,aAAa,EAAE,GAAG,MAAM,EAAE,GAAG,KAAK,CAAC,CAAC,iBAAQ,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;IAE5F,MAAM,MAAM,GAAG,aAAa,KAAK,IAAI;QACnC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,oBAAoB,CAAC;QACzE,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,uBAAa,CAAC,cAAc,CAAC,uBAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC;IAEzG,OAAO,EAAE,MAAM,EAAE,GAAG,MAAM,EAAE,CAAC;AAC/B,CAAC,CAAC,CAAC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { KafkaService } from "./KafkaService.js";
5
+ /**
6
+ * @since 1.0.0
7
+ */
8
+ export * from "./Errors.js";
9
+ /**
10
+ * @since 1.0.0
11
+ */
12
+ export * as KafkaClientInstance from "./KafkaClientInstance.js";
13
+ /**
14
+ * @since 1.0.0
15
+ */
16
+ export * as KafkaServiceConfig from "./KafkaServiceConfig.js";
17
+ /**
18
+ * @since 1.0.0
19
+ */
20
+ export * from "./KafkaService.js";
21
+ /**
22
+ * @since 1.0.0
23
+ * @category exports
24
+ * @alias KafkaService
25
+ */
26
+ export declare namespace Kafka {
27
+ /**
28
+ * @since 1.0.0
29
+ * @alias KafkaService.Config
30
+ */
31
+ type Config = KafkaService.Config;
32
+ /**
33
+ * @since 1.0.0
34
+ * @alias KafkaService.Type
35
+ */
36
+ type Type = KafkaService.Type;
37
+ }
38
+ /**
39
+ * @since 1.0.0
40
+ * @category exports
41
+ * @alias KafkaService
42
+ */
43
+ export declare const Kafka: typeof KafkaService;
44
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEjD;;GAEG;AACH,cAAc,aAAa,CAAC;AAE5B;;GAEG;AACH,OAAO,KAAK,mBAAmB,MAAM,0BAA0B,CAAC;AAEhE;;GAEG;AACH,OAAO,KAAK,kBAAkB,MAAM,yBAAyB,CAAC;AAE9D;;GAEG;AACH,cAAc,mBAAmB,CAAC;AAElC;;;;GAIG;AACH,MAAM,CAAC,OAAO,WAAW,KAAK,CAAC;IAC7B;;;OAGG;IACH,KAAY,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC;IAEzC;;;OAGG;IACH,KAAY,IAAI,GAAG,YAAY,CAAC,IAAI,CAAC;CACtC;AAED;;;;GAIG;AACH,eAAO,MAAM,KAAK,qBAAe,CAAC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
+ };
21
+ var __importStar = (this && this.__importStar) || function (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.Kafka = exports.KafkaServiceConfig = exports.KafkaClientInstance = void 0;
30
+ /**
31
+ * @since 1.0.0
32
+ */
33
+ const KafkaService_js_1 = require("./KafkaService.js");
34
+ /**
35
+ * @since 1.0.0
36
+ */
37
+ __exportStar(require("./Errors.js"), exports);
38
+ /**
39
+ * @since 1.0.0
40
+ */
41
+ exports.KafkaClientInstance = __importStar(require("./KafkaClientInstance.js"));
42
+ /**
43
+ * @since 1.0.0
44
+ */
45
+ exports.KafkaServiceConfig = __importStar(require("./KafkaServiceConfig.js"));
46
+ /**
47
+ * @since 1.0.0
48
+ */
49
+ __exportStar(require("./KafkaService.js"), exports);
50
+ /**
51
+ * @since 1.0.0
52
+ * @category exports
53
+ * @alias KafkaService
54
+ */
55
+ exports.Kafka = KafkaService_js_1.KafkaService;
56
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;GAEG;AACH,uDAAiD;AAEjD;;GAEG;AACH,8CAA4B;AAE5B;;GAEG;AACH,gFAAgE;AAEhE;;GAEG;AACH,8EAA8D;AAE9D;;GAEG;AACH,oDAAkC;AAqBlC;;;;GAIG;AACU,QAAA,KAAK,GAAG,8BAAY,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { BadRequestException, ConflictException, ForbiddenException, InternalServerErrorException, NotFoundException, ServiceUnavailableException, TooManyRequestsException, UnauthorizedException } from "@aws-sdk/client-kafka";
2
+ import type { TaggedException } from "@effect-aws/commons";
3
+ export declare const AllServiceErrors: readonly ["BadRequestException", "ConflictException", "ForbiddenException", "InternalServerErrorException", "NotFoundException", "ServiceUnavailableException", "TooManyRequestsException", "UnauthorizedException"];
4
+ export type BadRequestError = TaggedException<BadRequestException>;
5
+ export type ConflictError = TaggedException<ConflictException>;
6
+ export type ForbiddenError = TaggedException<ForbiddenException>;
7
+ export type InternalServerError = TaggedException<InternalServerErrorException>;
8
+ export type NotFoundError = TaggedException<NotFoundException>;
9
+ export type ServiceUnavailableError = TaggedException<ServiceUnavailableException>;
10
+ export type TooManyRequestsError = TaggedException<TooManyRequestsException>;
11
+ export type UnauthorizedError = TaggedException<UnauthorizedException>;
12
+ export type SdkError = TaggedException<Error & {
13
+ name: "SdkError";
14
+ }>;
15
+ //# sourceMappingURL=Errors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Errors.d.ts","sourceRoot":"","sources":["../../src/Errors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,kBAAkB,EAClB,4BAA4B,EAC5B,iBAAiB,EACjB,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,EACtB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D,eAAO,MAAM,gBAAgB,sNASnB,CAAC;AAEX,MAAM,MAAM,eAAe,GAAG,eAAe,CAAC,mBAAmB,CAAC,CAAC;AACnE,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,cAAc,GAAG,eAAe,CAAC,kBAAkB,CAAC,CAAC;AACjE,MAAM,MAAM,mBAAmB,GAAG,eAAe,CAAC,4BAA4B,CAAC,CAAC;AAChF,MAAM,MAAM,aAAa,GAAG,eAAe,CAAC,iBAAiB,CAAC,CAAC;AAC/D,MAAM,MAAM,uBAAuB,GAAG,eAAe,CAAC,2BAA2B,CAAC,CAAC;AACnF,MAAM,MAAM,oBAAoB,GAAG,eAAe,CAAC,wBAAwB,CAAC,CAAC;AAC7E,MAAM,MAAM,iBAAiB,GAAG,eAAe,CAAC,qBAAqB,CAAC,CAAC;AACvE,MAAM,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,GAAG;IAAE,IAAI,EAAE,UAAU,CAAA;CAAE,CAAC,CAAC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { KafkaClient } from "@aws-sdk/client-kafka";
5
+ import { Context, Effect, Layer } from "effect";
6
+ declare const KafkaClientInstance_base: Context.TagClass<KafkaClientInstance, "@effect-aws/client-kafka/KafkaClientInstance", KafkaClient>;
7
+ /**
8
+ * @since 1.0.0
9
+ * @category tags
10
+ */
11
+ export declare class KafkaClientInstance extends KafkaClientInstance_base {
12
+ }
13
+ /**
14
+ * @since 1.0.0
15
+ * @category constructors
16
+ */
17
+ export declare const make: Effect.Effect<KafkaClient, never, import("effect/Scope").Scope>;
18
+ /**
19
+ * @since 1.0.0
20
+ * @category layers
21
+ */
22
+ export declare const layer: Layer.Layer<KafkaClientInstance, never, never>;
23
+ export {};
24
+ //# sourceMappingURL=KafkaClientInstance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KafkaClientInstance.d.ts","sourceRoot":"","sources":["../../src/KafkaClientInstance.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAAQ,CAAC;;AAGhD;;;GAGG;AACH,qBAAa,mBAAoB,SAAQ,wBAEJ;CAAG;AAExC;;;GAGG;AACH,eAAO,MAAM,IAAI,iEAOhB,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,KAAK,gDAA0C,CAAC"}
@@ -0,0 +1,270 @@
1
+ /**
2
+ * @since 1.0.0
3
+ */
4
+ import { type BatchAssociateScramSecretCommandInput, type BatchAssociateScramSecretCommandOutput, type BatchDisassociateScramSecretCommandInput, type BatchDisassociateScramSecretCommandOutput, type CreateClusterCommandInput, type CreateClusterCommandOutput, type CreateClusterV2CommandInput, type CreateClusterV2CommandOutput, type CreateConfigurationCommandInput, type CreateConfigurationCommandOutput, type CreateReplicatorCommandInput, type CreateReplicatorCommandOutput, type CreateVpcConnectionCommandInput, type CreateVpcConnectionCommandOutput, type DeleteClusterCommandInput, type DeleteClusterCommandOutput, type DeleteClusterPolicyCommandInput, type DeleteClusterPolicyCommandOutput, type DeleteConfigurationCommandInput, type DeleteConfigurationCommandOutput, type DeleteReplicatorCommandInput, type DeleteReplicatorCommandOutput, type DeleteVpcConnectionCommandInput, type DeleteVpcConnectionCommandOutput, type DescribeClusterCommandInput, type DescribeClusterCommandOutput, type DescribeClusterOperationCommandInput, type DescribeClusterOperationCommandOutput, type DescribeClusterOperationV2CommandInput, type DescribeClusterOperationV2CommandOutput, type DescribeClusterV2CommandInput, type DescribeClusterV2CommandOutput, type DescribeConfigurationCommandInput, type DescribeConfigurationCommandOutput, type DescribeConfigurationRevisionCommandInput, type DescribeConfigurationRevisionCommandOutput, type DescribeReplicatorCommandInput, type DescribeReplicatorCommandOutput, type DescribeTopicCommandInput, type DescribeTopicCommandOutput, type DescribeTopicPartitionsCommandInput, type DescribeTopicPartitionsCommandOutput, type DescribeVpcConnectionCommandInput, type DescribeVpcConnectionCommandOutput, type GetBootstrapBrokersCommandInput, type GetBootstrapBrokersCommandOutput, type GetClusterPolicyCommandInput, type GetClusterPolicyCommandOutput, type GetCompatibleKafkaVersionsCommandInput, type GetCompatibleKafkaVersionsCommandOutput, type KafkaClient, type KafkaClientConfig, type ListClientVpcConnectionsCommandInput, type ListClientVpcConnectionsCommandOutput, type ListClusterOperationsCommandInput, type ListClusterOperationsCommandOutput, type ListClusterOperationsV2CommandInput, type ListClusterOperationsV2CommandOutput, type ListClustersCommandInput, type ListClustersCommandOutput, type ListClustersV2CommandInput, type ListClustersV2CommandOutput, type ListConfigurationRevisionsCommandInput, type ListConfigurationRevisionsCommandOutput, type ListConfigurationsCommandInput, type ListConfigurationsCommandOutput, type ListKafkaVersionsCommandInput, type ListKafkaVersionsCommandOutput, type ListNodesCommandInput, type ListNodesCommandOutput, type ListReplicatorsCommandInput, type ListReplicatorsCommandOutput, type ListScramSecretsCommandInput, type ListScramSecretsCommandOutput, type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput, type ListTopicsCommandInput, type ListTopicsCommandOutput, type ListVpcConnectionsCommandInput, type ListVpcConnectionsCommandOutput, type PutClusterPolicyCommandInput, type PutClusterPolicyCommandOutput, type RebootBrokerCommandInput, type RebootBrokerCommandOutput, type RejectClientVpcConnectionCommandInput, type RejectClientVpcConnectionCommandOutput, type TagResourceCommandInput, type TagResourceCommandOutput, type UntagResourceCommandInput, type UntagResourceCommandOutput, type UpdateBrokerCountCommandInput, type UpdateBrokerCountCommandOutput, type UpdateBrokerStorageCommandInput, type UpdateBrokerStorageCommandOutput, type UpdateBrokerTypeCommandInput, type UpdateBrokerTypeCommandOutput, type UpdateClusterConfigurationCommandInput, type UpdateClusterConfigurationCommandOutput, type UpdateClusterKafkaVersionCommandInput, type UpdateClusterKafkaVersionCommandOutput, type UpdateConfigurationCommandInput, type UpdateConfigurationCommandOutput, type UpdateConnectivityCommandInput, type UpdateConnectivityCommandOutput, type UpdateMonitoringCommandInput, type UpdateMonitoringCommandOutput, type UpdateRebalancingCommandInput, type UpdateRebalancingCommandOutput, type UpdateReplicationInfoCommandInput, type UpdateReplicationInfoCommandOutput, type UpdateSecurityCommandInput, type UpdateSecurityCommandOutput, type UpdateStorageCommandInput, type UpdateStorageCommandOutput } from "@aws-sdk/client-kafka";
5
+ import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
6
+ import type { Cause } from "effect";
7
+ import { Effect, Layer } from "effect";
8
+ import type { BadRequestError, ConflictError, ForbiddenError, InternalServerError, NotFoundError, SdkError, ServiceUnavailableError, TooManyRequestsError, UnauthorizedError } from "./Errors.js";
9
+ import * as Instance from "./KafkaClientInstance.js";
10
+ interface KafkaService$ {
11
+ readonly _: unique symbol;
12
+ /**
13
+ * @see {@link BatchAssociateScramSecretCommand}
14
+ */
15
+ batchAssociateScramSecret(args: BatchAssociateScramSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchAssociateScramSecretCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
16
+ /**
17
+ * @see {@link BatchDisassociateScramSecretCommand}
18
+ */
19
+ batchDisassociateScramSecret(args: BatchDisassociateScramSecretCommandInput, options?: HttpHandlerOptions): Effect.Effect<BatchDisassociateScramSecretCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
20
+ /**
21
+ * @see {@link CreateClusterCommand}
22
+ */
23
+ createCluster(args: CreateClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateClusterCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
24
+ /**
25
+ * @see {@link CreateClusterV2Command}
26
+ */
27
+ createClusterV2(args: CreateClusterV2CommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateClusterV2CommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
28
+ /**
29
+ * @see {@link CreateConfigurationCommand}
30
+ */
31
+ createConfiguration(args: CreateConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
32
+ /**
33
+ * @see {@link CreateReplicatorCommand}
34
+ */
35
+ createReplicator(args: CreateReplicatorCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateReplicatorCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
36
+ /**
37
+ * @see {@link CreateVpcConnectionCommand}
38
+ */
39
+ createVpcConnection(args: CreateVpcConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<CreateVpcConnectionCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
40
+ /**
41
+ * @see {@link DeleteClusterCommand}
42
+ */
43
+ deleteCluster(args: DeleteClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteClusterCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
44
+ /**
45
+ * @see {@link DeleteClusterPolicyCommand}
46
+ */
47
+ deleteClusterPolicy(args: DeleteClusterPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteClusterPolicyCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
48
+ /**
49
+ * @see {@link DeleteConfigurationCommand}
50
+ */
51
+ deleteConfiguration(args: DeleteConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
52
+ /**
53
+ * @see {@link DeleteReplicatorCommand}
54
+ */
55
+ deleteReplicator(args: DeleteReplicatorCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteReplicatorCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
56
+ /**
57
+ * @see {@link DeleteVpcConnectionCommand}
58
+ */
59
+ deleteVpcConnection(args: DeleteVpcConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DeleteVpcConnectionCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
60
+ /**
61
+ * @see {@link DescribeClusterCommand}
62
+ */
63
+ describeCluster(args: DescribeClusterCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeClusterCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | UnauthorizedError>;
64
+ /**
65
+ * @see {@link DescribeClusterOperationCommand}
66
+ */
67
+ describeClusterOperation(args: DescribeClusterOperationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeClusterOperationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | UnauthorizedError>;
68
+ /**
69
+ * @see {@link DescribeClusterOperationV2Command}
70
+ */
71
+ describeClusterOperationV2(args: DescribeClusterOperationV2CommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeClusterOperationV2CommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
72
+ /**
73
+ * @see {@link DescribeClusterV2Command}
74
+ */
75
+ describeClusterV2(args: DescribeClusterV2CommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeClusterV2CommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | UnauthorizedError>;
76
+ /**
77
+ * @see {@link DescribeConfigurationCommand}
78
+ */
79
+ describeConfiguration(args: DescribeConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | UnauthorizedError>;
80
+ /**
81
+ * @see {@link DescribeConfigurationRevisionCommand}
82
+ */
83
+ describeConfigurationRevision(args: DescribeConfigurationRevisionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeConfigurationRevisionCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | UnauthorizedError>;
84
+ /**
85
+ * @see {@link DescribeReplicatorCommand}
86
+ */
87
+ describeReplicator(args: DescribeReplicatorCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeReplicatorCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
88
+ /**
89
+ * @see {@link DescribeTopicCommand}
90
+ */
91
+ describeTopic(args: DescribeTopicCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeTopicCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | UnauthorizedError>;
92
+ /**
93
+ * @see {@link DescribeTopicPartitionsCommand}
94
+ */
95
+ describeTopicPartitions(args: DescribeTopicPartitionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeTopicPartitionsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | UnauthorizedError>;
96
+ /**
97
+ * @see {@link DescribeVpcConnectionCommand}
98
+ */
99
+ describeVpcConnection(args: DescribeVpcConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<DescribeVpcConnectionCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | UnauthorizedError>;
100
+ /**
101
+ * @see {@link GetBootstrapBrokersCommand}
102
+ */
103
+ getBootstrapBrokers(args: GetBootstrapBrokersCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetBootstrapBrokersCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ConflictError | ForbiddenError | InternalServerError | UnauthorizedError>;
104
+ /**
105
+ * @see {@link GetClusterPolicyCommand}
106
+ */
107
+ getClusterPolicy(args: GetClusterPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetClusterPolicyCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
108
+ /**
109
+ * @see {@link GetCompatibleKafkaVersionsCommand}
110
+ */
111
+ getCompatibleKafkaVersions(args: GetCompatibleKafkaVersionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<GetCompatibleKafkaVersionsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
112
+ /**
113
+ * @see {@link ListClientVpcConnectionsCommand}
114
+ */
115
+ listClientVpcConnections(args: ListClientVpcConnectionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListClientVpcConnectionsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | ServiceUnavailableError | UnauthorizedError>;
116
+ /**
117
+ * @see {@link ListClusterOperationsCommand}
118
+ */
119
+ listClusterOperations(args: ListClusterOperationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListClusterOperationsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | UnauthorizedError>;
120
+ /**
121
+ * @see {@link ListClusterOperationsV2Command}
122
+ */
123
+ listClusterOperationsV2(args: ListClusterOperationsV2CommandInput, options?: HttpHandlerOptions): Effect.Effect<ListClusterOperationsV2CommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
124
+ /**
125
+ * @see {@link ListClustersCommand}
126
+ */
127
+ listClusters(args: ListClustersCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListClustersCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | UnauthorizedError>;
128
+ /**
129
+ * @see {@link ListClustersV2Command}
130
+ */
131
+ listClustersV2(args: ListClustersV2CommandInput, options?: HttpHandlerOptions): Effect.Effect<ListClustersV2CommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | UnauthorizedError>;
132
+ /**
133
+ * @see {@link ListConfigurationRevisionsCommand}
134
+ */
135
+ listConfigurationRevisions(args: ListConfigurationRevisionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListConfigurationRevisionsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | UnauthorizedError>;
136
+ /**
137
+ * @see {@link ListConfigurationsCommand}
138
+ */
139
+ listConfigurations(args: ListConfigurationsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListConfigurationsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | ServiceUnavailableError | UnauthorizedError>;
140
+ /**
141
+ * @see {@link ListKafkaVersionsCommand}
142
+ */
143
+ listKafkaVersions(args: ListKafkaVersionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListKafkaVersionsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | UnauthorizedError>;
144
+ /**
145
+ * @see {@link ListNodesCommand}
146
+ */
147
+ listNodes(args: ListNodesCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListNodesCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError>;
148
+ /**
149
+ * @see {@link ListReplicatorsCommand}
150
+ */
151
+ listReplicators(args: ListReplicatorsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListReplicatorsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
152
+ /**
153
+ * @see {@link ListScramSecretsCommand}
154
+ */
155
+ listScramSecrets(args: ListScramSecretsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListScramSecretsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
156
+ /**
157
+ * @see {@link ListTagsForResourceCommand}
158
+ */
159
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTagsForResourceCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | InternalServerError | NotFoundError>;
160
+ /**
161
+ * @see {@link ListTopicsCommand}
162
+ */
163
+ listTopics(args: ListTopicsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListTopicsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | ServiceUnavailableError | UnauthorizedError>;
164
+ /**
165
+ * @see {@link ListVpcConnectionsCommand}
166
+ */
167
+ listVpcConnections(args: ListVpcConnectionsCommandInput, options?: HttpHandlerOptions): Effect.Effect<ListVpcConnectionsCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | ServiceUnavailableError | UnauthorizedError>;
168
+ /**
169
+ * @see {@link PutClusterPolicyCommand}
170
+ */
171
+ putClusterPolicy(args: PutClusterPolicyCommandInput, options?: HttpHandlerOptions): Effect.Effect<PutClusterPolicyCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError>;
172
+ /**
173
+ * @see {@link RebootBrokerCommand}
174
+ */
175
+ rebootBroker(args: RebootBrokerCommandInput, options?: HttpHandlerOptions): Effect.Effect<RebootBrokerCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
176
+ /**
177
+ * @see {@link RejectClientVpcConnectionCommand}
178
+ */
179
+ rejectClientVpcConnection(args: RejectClientVpcConnectionCommandInput, options?: HttpHandlerOptions): Effect.Effect<RejectClientVpcConnectionCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | ServiceUnavailableError | UnauthorizedError>;
180
+ /**
181
+ * @see {@link TagResourceCommand}
182
+ */
183
+ tagResource(args: TagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<TagResourceCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | InternalServerError | NotFoundError>;
184
+ /**
185
+ * @see {@link UntagResourceCommand}
186
+ */
187
+ untagResource(args: UntagResourceCommandInput, options?: HttpHandlerOptions): Effect.Effect<UntagResourceCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | InternalServerError | NotFoundError>;
188
+ /**
189
+ * @see {@link UpdateBrokerCountCommand}
190
+ */
191
+ updateBrokerCount(args: UpdateBrokerCountCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateBrokerCountCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | ServiceUnavailableError | UnauthorizedError>;
192
+ /**
193
+ * @see {@link UpdateBrokerStorageCommand}
194
+ */
195
+ updateBrokerStorage(args: UpdateBrokerStorageCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateBrokerStorageCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | ServiceUnavailableError | UnauthorizedError>;
196
+ /**
197
+ * @see {@link UpdateBrokerTypeCommand}
198
+ */
199
+ updateBrokerType(args: UpdateBrokerTypeCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateBrokerTypeCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
200
+ /**
201
+ * @see {@link UpdateClusterConfigurationCommand}
202
+ */
203
+ updateClusterConfiguration(args: UpdateClusterConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateClusterConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | UnauthorizedError>;
204
+ /**
205
+ * @see {@link UpdateClusterKafkaVersionCommand}
206
+ */
207
+ updateClusterKafkaVersion(args: UpdateClusterKafkaVersionCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateClusterKafkaVersionCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
208
+ /**
209
+ * @see {@link UpdateConfigurationCommand}
210
+ */
211
+ updateConfiguration(args: UpdateConfigurationCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateConfigurationCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | UnauthorizedError>;
212
+ /**
213
+ * @see {@link UpdateConnectivityCommand}
214
+ */
215
+ updateConnectivity(args: UpdateConnectivityCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateConnectivityCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | UnauthorizedError>;
216
+ /**
217
+ * @see {@link UpdateMonitoringCommand}
218
+ */
219
+ updateMonitoring(args: UpdateMonitoringCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateMonitoringCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | ServiceUnavailableError | UnauthorizedError>;
220
+ /**
221
+ * @see {@link UpdateRebalancingCommand}
222
+ */
223
+ updateRebalancing(args: UpdateRebalancingCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateRebalancingCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
224
+ /**
225
+ * @see {@link UpdateReplicationInfoCommand}
226
+ */
227
+ updateReplicationInfo(args: UpdateReplicationInfoCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateReplicationInfoCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
228
+ /**
229
+ * @see {@link UpdateSecurityCommand}
230
+ */
231
+ updateSecurity(args: UpdateSecurityCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateSecurityCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
232
+ /**
233
+ * @see {@link UpdateStorageCommand}
234
+ */
235
+ updateStorage(args: UpdateStorageCommandInput, options?: HttpHandlerOptions): Effect.Effect<UpdateStorageCommandOutput, Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError | ServiceUnavailableError | TooManyRequestsError | UnauthorizedError>;
236
+ }
237
+ /**
238
+ * @since 1.0.0
239
+ * @category constructors
240
+ */
241
+ export declare const makeKafkaService: Effect.Effect<KafkaService$, never, Instance.KafkaClientInstance>;
242
+ declare const KafkaService_base: import("effect/Context").TagClass<KafkaService, "@effect-aws/client-kafka/KafkaService", KafkaService$> & Effect.Tag.Proxy<KafkaService, KafkaService$> & {
243
+ use: <X>(body: (_: KafkaService$) => X) => [X] extends [Effect.Effect<infer A, infer E, infer R>] ? Effect.Effect<A, E, KafkaService | R> : [X] extends [PromiseLike<infer A_1>] ? Effect.Effect<A_1, Cause.UnknownException, KafkaService> : Effect.Effect<X, never, KafkaService>;
244
+ };
245
+ /**
246
+ * @since 1.0.0
247
+ * @category models
248
+ */
249
+ export declare class KafkaService extends KafkaService_base {
250
+ static readonly defaultLayer: Layer.Layer<KafkaService, never, never>;
251
+ static readonly layer: (config: KafkaService.Config) => Layer.Layer<KafkaService, never, never>;
252
+ static readonly baseLayer: (evaluate: (defaultConfig: KafkaClientConfig) => KafkaClient) => Layer.Layer<KafkaService, never, never>;
253
+ }
254
+ /**
255
+ * @since 1.0.0
256
+ */
257
+ export declare namespace KafkaService {
258
+ /**
259
+ * @since 1.0.0
260
+ */
261
+ interface Config extends Omit<KafkaClientConfig, "logger"> {
262
+ readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
263
+ }
264
+ /**
265
+ * @since 1.0.0
266
+ */
267
+ type Type = KafkaService$;
268
+ }
269
+ export {};
270
+ //# sourceMappingURL=KafkaService.d.ts.map