@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.
- package/Errors/package.json +6 -0
- package/KafkaClientInstance/package.json +6 -0
- package/KafkaService/package.json +6 -0
- package/KafkaServiceConfig/package.json +6 -0
- package/LICENSE +19 -0
- package/README.md +58 -0
- package/dist/cjs/Errors.d.ts +15 -0
- package/dist/cjs/Errors.d.ts.map +1 -0
- package/dist/cjs/Errors.js +14 -0
- package/dist/cjs/Errors.js.map +1 -0
- package/dist/cjs/KafkaClientInstance.d.ts +24 -0
- package/dist/cjs/KafkaClientInstance.d.ts.map +1 -0
- package/dist/cjs/KafkaClientInstance.js +50 -0
- package/dist/cjs/KafkaClientInstance.js.map +1 -0
- package/dist/cjs/KafkaService.d.ts +270 -0
- package/dist/cjs/KafkaService.d.ts.map +1 -0
- package/dist/cjs/KafkaService.js +115 -0
- package/dist/cjs/KafkaService.js.map +1 -0
- package/dist/cjs/KafkaServiceConfig.d.ts +25 -0
- package/dist/cjs/KafkaServiceConfig.d.ts.map +1 -0
- package/dist/cjs/KafkaServiceConfig.js +35 -0
- package/dist/cjs/KafkaServiceConfig.js.map +1 -0
- package/dist/cjs/index.d.ts +44 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +56 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/dts/Errors.d.ts +15 -0
- package/dist/dts/Errors.d.ts.map +1 -0
- package/dist/dts/KafkaClientInstance.d.ts +24 -0
- package/dist/dts/KafkaClientInstance.d.ts.map +1 -0
- package/dist/dts/KafkaService.d.ts +270 -0
- package/dist/dts/KafkaService.d.ts.map +1 -0
- package/dist/dts/KafkaServiceConfig.d.ts +25 -0
- package/dist/dts/KafkaServiceConfig.d.ts.map +1 -0
- package/dist/dts/index.d.ts +44 -0
- package/dist/dts/index.d.ts.map +1 -0
- package/dist/esm/Errors.js +11 -0
- package/dist/esm/Errors.js.map +1 -0
- package/dist/esm/KafkaClientInstance.js +23 -0
- package/dist/esm/KafkaClientInstance.js.map +1 -0
- package/dist/esm/KafkaService.js +88 -0
- package/dist/esm/KafkaService.js.map +1 -0
- package/dist/esm/KafkaServiceConfig.js +31 -0
- package/dist/esm/KafkaServiceConfig.js.map +1 -0
- package/dist/esm/index.js +27 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/package.json +4 -0
- package/package.json +71 -0
- package/src/Errors.ts +32 -0
- package/src/KafkaClientInstance.ts +33 -0
- package/src/KafkaService.ts +1234 -0
- package/src/KafkaServiceConfig.ts +52 -0
- package/src/index.ts +50 -0
|
@@ -0,0 +1,1234 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @since 1.0.0
|
|
3
|
+
*/
|
|
4
|
+
import {
|
|
5
|
+
BatchAssociateScramSecretCommand,
|
|
6
|
+
type BatchAssociateScramSecretCommandInput,
|
|
7
|
+
type BatchAssociateScramSecretCommandOutput,
|
|
8
|
+
BatchDisassociateScramSecretCommand,
|
|
9
|
+
type BatchDisassociateScramSecretCommandInput,
|
|
10
|
+
type BatchDisassociateScramSecretCommandOutput,
|
|
11
|
+
CreateClusterCommand,
|
|
12
|
+
type CreateClusterCommandInput,
|
|
13
|
+
type CreateClusterCommandOutput,
|
|
14
|
+
CreateClusterV2Command,
|
|
15
|
+
type CreateClusterV2CommandInput,
|
|
16
|
+
type CreateClusterV2CommandOutput,
|
|
17
|
+
CreateConfigurationCommand,
|
|
18
|
+
type CreateConfigurationCommandInput,
|
|
19
|
+
type CreateConfigurationCommandOutput,
|
|
20
|
+
CreateReplicatorCommand,
|
|
21
|
+
type CreateReplicatorCommandInput,
|
|
22
|
+
type CreateReplicatorCommandOutput,
|
|
23
|
+
CreateVpcConnectionCommand,
|
|
24
|
+
type CreateVpcConnectionCommandInput,
|
|
25
|
+
type CreateVpcConnectionCommandOutput,
|
|
26
|
+
DeleteClusterCommand,
|
|
27
|
+
type DeleteClusterCommandInput,
|
|
28
|
+
type DeleteClusterCommandOutput,
|
|
29
|
+
DeleteClusterPolicyCommand,
|
|
30
|
+
type DeleteClusterPolicyCommandInput,
|
|
31
|
+
type DeleteClusterPolicyCommandOutput,
|
|
32
|
+
DeleteConfigurationCommand,
|
|
33
|
+
type DeleteConfigurationCommandInput,
|
|
34
|
+
type DeleteConfigurationCommandOutput,
|
|
35
|
+
DeleteReplicatorCommand,
|
|
36
|
+
type DeleteReplicatorCommandInput,
|
|
37
|
+
type DeleteReplicatorCommandOutput,
|
|
38
|
+
DeleteVpcConnectionCommand,
|
|
39
|
+
type DeleteVpcConnectionCommandInput,
|
|
40
|
+
type DeleteVpcConnectionCommandOutput,
|
|
41
|
+
DescribeClusterCommand,
|
|
42
|
+
type DescribeClusterCommandInput,
|
|
43
|
+
type DescribeClusterCommandOutput,
|
|
44
|
+
DescribeClusterOperationCommand,
|
|
45
|
+
type DescribeClusterOperationCommandInput,
|
|
46
|
+
type DescribeClusterOperationCommandOutput,
|
|
47
|
+
DescribeClusterOperationV2Command,
|
|
48
|
+
type DescribeClusterOperationV2CommandInput,
|
|
49
|
+
type DescribeClusterOperationV2CommandOutput,
|
|
50
|
+
DescribeClusterV2Command,
|
|
51
|
+
type DescribeClusterV2CommandInput,
|
|
52
|
+
type DescribeClusterV2CommandOutput,
|
|
53
|
+
DescribeConfigurationCommand,
|
|
54
|
+
type DescribeConfigurationCommandInput,
|
|
55
|
+
type DescribeConfigurationCommandOutput,
|
|
56
|
+
DescribeConfigurationRevisionCommand,
|
|
57
|
+
type DescribeConfigurationRevisionCommandInput,
|
|
58
|
+
type DescribeConfigurationRevisionCommandOutput,
|
|
59
|
+
DescribeReplicatorCommand,
|
|
60
|
+
type DescribeReplicatorCommandInput,
|
|
61
|
+
type DescribeReplicatorCommandOutput,
|
|
62
|
+
DescribeTopicCommand,
|
|
63
|
+
type DescribeTopicCommandInput,
|
|
64
|
+
type DescribeTopicCommandOutput,
|
|
65
|
+
DescribeTopicPartitionsCommand,
|
|
66
|
+
type DescribeTopicPartitionsCommandInput,
|
|
67
|
+
type DescribeTopicPartitionsCommandOutput,
|
|
68
|
+
DescribeVpcConnectionCommand,
|
|
69
|
+
type DescribeVpcConnectionCommandInput,
|
|
70
|
+
type DescribeVpcConnectionCommandOutput,
|
|
71
|
+
GetBootstrapBrokersCommand,
|
|
72
|
+
type GetBootstrapBrokersCommandInput,
|
|
73
|
+
type GetBootstrapBrokersCommandOutput,
|
|
74
|
+
GetClusterPolicyCommand,
|
|
75
|
+
type GetClusterPolicyCommandInput,
|
|
76
|
+
type GetClusterPolicyCommandOutput,
|
|
77
|
+
GetCompatibleKafkaVersionsCommand,
|
|
78
|
+
type GetCompatibleKafkaVersionsCommandInput,
|
|
79
|
+
type GetCompatibleKafkaVersionsCommandOutput,
|
|
80
|
+
type KafkaClient,
|
|
81
|
+
type KafkaClientConfig,
|
|
82
|
+
ListClientVpcConnectionsCommand,
|
|
83
|
+
type ListClientVpcConnectionsCommandInput,
|
|
84
|
+
type ListClientVpcConnectionsCommandOutput,
|
|
85
|
+
ListClusterOperationsCommand,
|
|
86
|
+
type ListClusterOperationsCommandInput,
|
|
87
|
+
type ListClusterOperationsCommandOutput,
|
|
88
|
+
ListClusterOperationsV2Command,
|
|
89
|
+
type ListClusterOperationsV2CommandInput,
|
|
90
|
+
type ListClusterOperationsV2CommandOutput,
|
|
91
|
+
ListClustersCommand,
|
|
92
|
+
type ListClustersCommandInput,
|
|
93
|
+
type ListClustersCommandOutput,
|
|
94
|
+
ListClustersV2Command,
|
|
95
|
+
type ListClustersV2CommandInput,
|
|
96
|
+
type ListClustersV2CommandOutput,
|
|
97
|
+
ListConfigurationRevisionsCommand,
|
|
98
|
+
type ListConfigurationRevisionsCommandInput,
|
|
99
|
+
type ListConfigurationRevisionsCommandOutput,
|
|
100
|
+
ListConfigurationsCommand,
|
|
101
|
+
type ListConfigurationsCommandInput,
|
|
102
|
+
type ListConfigurationsCommandOutput,
|
|
103
|
+
ListKafkaVersionsCommand,
|
|
104
|
+
type ListKafkaVersionsCommandInput,
|
|
105
|
+
type ListKafkaVersionsCommandOutput,
|
|
106
|
+
ListNodesCommand,
|
|
107
|
+
type ListNodesCommandInput,
|
|
108
|
+
type ListNodesCommandOutput,
|
|
109
|
+
ListReplicatorsCommand,
|
|
110
|
+
type ListReplicatorsCommandInput,
|
|
111
|
+
type ListReplicatorsCommandOutput,
|
|
112
|
+
ListScramSecretsCommand,
|
|
113
|
+
type ListScramSecretsCommandInput,
|
|
114
|
+
type ListScramSecretsCommandOutput,
|
|
115
|
+
ListTagsForResourceCommand,
|
|
116
|
+
type ListTagsForResourceCommandInput,
|
|
117
|
+
type ListTagsForResourceCommandOutput,
|
|
118
|
+
ListTopicsCommand,
|
|
119
|
+
type ListTopicsCommandInput,
|
|
120
|
+
type ListTopicsCommandOutput,
|
|
121
|
+
ListVpcConnectionsCommand,
|
|
122
|
+
type ListVpcConnectionsCommandInput,
|
|
123
|
+
type ListVpcConnectionsCommandOutput,
|
|
124
|
+
PutClusterPolicyCommand,
|
|
125
|
+
type PutClusterPolicyCommandInput,
|
|
126
|
+
type PutClusterPolicyCommandOutput,
|
|
127
|
+
RebootBrokerCommand,
|
|
128
|
+
type RebootBrokerCommandInput,
|
|
129
|
+
type RebootBrokerCommandOutput,
|
|
130
|
+
RejectClientVpcConnectionCommand,
|
|
131
|
+
type RejectClientVpcConnectionCommandInput,
|
|
132
|
+
type RejectClientVpcConnectionCommandOutput,
|
|
133
|
+
TagResourceCommand,
|
|
134
|
+
type TagResourceCommandInput,
|
|
135
|
+
type TagResourceCommandOutput,
|
|
136
|
+
UntagResourceCommand,
|
|
137
|
+
type UntagResourceCommandInput,
|
|
138
|
+
type UntagResourceCommandOutput,
|
|
139
|
+
UpdateBrokerCountCommand,
|
|
140
|
+
type UpdateBrokerCountCommandInput,
|
|
141
|
+
type UpdateBrokerCountCommandOutput,
|
|
142
|
+
UpdateBrokerStorageCommand,
|
|
143
|
+
type UpdateBrokerStorageCommandInput,
|
|
144
|
+
type UpdateBrokerStorageCommandOutput,
|
|
145
|
+
UpdateBrokerTypeCommand,
|
|
146
|
+
type UpdateBrokerTypeCommandInput,
|
|
147
|
+
type UpdateBrokerTypeCommandOutput,
|
|
148
|
+
UpdateClusterConfigurationCommand,
|
|
149
|
+
type UpdateClusterConfigurationCommandInput,
|
|
150
|
+
type UpdateClusterConfigurationCommandOutput,
|
|
151
|
+
UpdateClusterKafkaVersionCommand,
|
|
152
|
+
type UpdateClusterKafkaVersionCommandInput,
|
|
153
|
+
type UpdateClusterKafkaVersionCommandOutput,
|
|
154
|
+
UpdateConfigurationCommand,
|
|
155
|
+
type UpdateConfigurationCommandInput,
|
|
156
|
+
type UpdateConfigurationCommandOutput,
|
|
157
|
+
UpdateConnectivityCommand,
|
|
158
|
+
type UpdateConnectivityCommandInput,
|
|
159
|
+
type UpdateConnectivityCommandOutput,
|
|
160
|
+
UpdateMonitoringCommand,
|
|
161
|
+
type UpdateMonitoringCommandInput,
|
|
162
|
+
type UpdateMonitoringCommandOutput,
|
|
163
|
+
UpdateRebalancingCommand,
|
|
164
|
+
type UpdateRebalancingCommandInput,
|
|
165
|
+
type UpdateRebalancingCommandOutput,
|
|
166
|
+
UpdateReplicationInfoCommand,
|
|
167
|
+
type UpdateReplicationInfoCommandInput,
|
|
168
|
+
type UpdateReplicationInfoCommandOutput,
|
|
169
|
+
UpdateSecurityCommand,
|
|
170
|
+
type UpdateSecurityCommandInput,
|
|
171
|
+
type UpdateSecurityCommandOutput,
|
|
172
|
+
UpdateStorageCommand,
|
|
173
|
+
type UpdateStorageCommandInput,
|
|
174
|
+
type UpdateStorageCommandOutput,
|
|
175
|
+
} from "@aws-sdk/client-kafka";
|
|
176
|
+
import type { HttpHandlerOptions, ServiceLogger } from "@effect-aws/commons";
|
|
177
|
+
import { Service } from "@effect-aws/commons";
|
|
178
|
+
import type { Cause } from "effect";
|
|
179
|
+
import { Effect, Layer } from "effect";
|
|
180
|
+
import type {
|
|
181
|
+
BadRequestError,
|
|
182
|
+
ConflictError,
|
|
183
|
+
ForbiddenError,
|
|
184
|
+
InternalServerError,
|
|
185
|
+
NotFoundError,
|
|
186
|
+
SdkError,
|
|
187
|
+
ServiceUnavailableError,
|
|
188
|
+
TooManyRequestsError,
|
|
189
|
+
UnauthorizedError,
|
|
190
|
+
} from "./Errors.js";
|
|
191
|
+
import { AllServiceErrors } from "./Errors.js";
|
|
192
|
+
import * as Instance from "./KafkaClientInstance.js";
|
|
193
|
+
import * as KafkaServiceConfig from "./KafkaServiceConfig.js";
|
|
194
|
+
|
|
195
|
+
const commands = {
|
|
196
|
+
BatchAssociateScramSecretCommand,
|
|
197
|
+
BatchDisassociateScramSecretCommand,
|
|
198
|
+
CreateClusterCommand,
|
|
199
|
+
CreateClusterV2Command,
|
|
200
|
+
CreateConfigurationCommand,
|
|
201
|
+
CreateReplicatorCommand,
|
|
202
|
+
CreateVpcConnectionCommand,
|
|
203
|
+
DeleteClusterCommand,
|
|
204
|
+
DeleteClusterPolicyCommand,
|
|
205
|
+
DeleteConfigurationCommand,
|
|
206
|
+
DeleteReplicatorCommand,
|
|
207
|
+
DeleteVpcConnectionCommand,
|
|
208
|
+
DescribeClusterCommand,
|
|
209
|
+
DescribeClusterOperationCommand,
|
|
210
|
+
DescribeClusterOperationV2Command,
|
|
211
|
+
DescribeClusterV2Command,
|
|
212
|
+
DescribeConfigurationCommand,
|
|
213
|
+
DescribeConfigurationRevisionCommand,
|
|
214
|
+
DescribeReplicatorCommand,
|
|
215
|
+
DescribeTopicCommand,
|
|
216
|
+
DescribeTopicPartitionsCommand,
|
|
217
|
+
DescribeVpcConnectionCommand,
|
|
218
|
+
GetBootstrapBrokersCommand,
|
|
219
|
+
GetClusterPolicyCommand,
|
|
220
|
+
GetCompatibleKafkaVersionsCommand,
|
|
221
|
+
ListClientVpcConnectionsCommand,
|
|
222
|
+
ListClusterOperationsCommand,
|
|
223
|
+
ListClusterOperationsV2Command,
|
|
224
|
+
ListClustersCommand,
|
|
225
|
+
ListClustersV2Command,
|
|
226
|
+
ListConfigurationRevisionsCommand,
|
|
227
|
+
ListConfigurationsCommand,
|
|
228
|
+
ListKafkaVersionsCommand,
|
|
229
|
+
ListNodesCommand,
|
|
230
|
+
ListReplicatorsCommand,
|
|
231
|
+
ListScramSecretsCommand,
|
|
232
|
+
ListTagsForResourceCommand,
|
|
233
|
+
ListTopicsCommand,
|
|
234
|
+
ListVpcConnectionsCommand,
|
|
235
|
+
PutClusterPolicyCommand,
|
|
236
|
+
RebootBrokerCommand,
|
|
237
|
+
RejectClientVpcConnectionCommand,
|
|
238
|
+
TagResourceCommand,
|
|
239
|
+
UntagResourceCommand,
|
|
240
|
+
UpdateBrokerCountCommand,
|
|
241
|
+
UpdateBrokerStorageCommand,
|
|
242
|
+
UpdateBrokerTypeCommand,
|
|
243
|
+
UpdateClusterConfigurationCommand,
|
|
244
|
+
UpdateClusterKafkaVersionCommand,
|
|
245
|
+
UpdateConfigurationCommand,
|
|
246
|
+
UpdateConnectivityCommand,
|
|
247
|
+
UpdateMonitoringCommand,
|
|
248
|
+
UpdateRebalancingCommand,
|
|
249
|
+
UpdateReplicationInfoCommand,
|
|
250
|
+
UpdateSecurityCommand,
|
|
251
|
+
UpdateStorageCommand,
|
|
252
|
+
};
|
|
253
|
+
|
|
254
|
+
interface KafkaService$ {
|
|
255
|
+
readonly _: unique symbol;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @see {@link BatchAssociateScramSecretCommand}
|
|
259
|
+
*/
|
|
260
|
+
batchAssociateScramSecret(
|
|
261
|
+
args: BatchAssociateScramSecretCommandInput,
|
|
262
|
+
options?: HttpHandlerOptions,
|
|
263
|
+
): Effect.Effect<
|
|
264
|
+
BatchAssociateScramSecretCommandOutput,
|
|
265
|
+
| Cause.TimeoutException
|
|
266
|
+
| SdkError
|
|
267
|
+
| BadRequestError
|
|
268
|
+
| ForbiddenError
|
|
269
|
+
| InternalServerError
|
|
270
|
+
| NotFoundError
|
|
271
|
+
| ServiceUnavailableError
|
|
272
|
+
| TooManyRequestsError
|
|
273
|
+
| UnauthorizedError
|
|
274
|
+
>;
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* @see {@link BatchDisassociateScramSecretCommand}
|
|
278
|
+
*/
|
|
279
|
+
batchDisassociateScramSecret(
|
|
280
|
+
args: BatchDisassociateScramSecretCommandInput,
|
|
281
|
+
options?: HttpHandlerOptions,
|
|
282
|
+
): Effect.Effect<
|
|
283
|
+
BatchDisassociateScramSecretCommandOutput,
|
|
284
|
+
| Cause.TimeoutException
|
|
285
|
+
| SdkError
|
|
286
|
+
| BadRequestError
|
|
287
|
+
| ForbiddenError
|
|
288
|
+
| InternalServerError
|
|
289
|
+
| NotFoundError
|
|
290
|
+
| ServiceUnavailableError
|
|
291
|
+
| TooManyRequestsError
|
|
292
|
+
| UnauthorizedError
|
|
293
|
+
>;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* @see {@link CreateClusterCommand}
|
|
297
|
+
*/
|
|
298
|
+
createCluster(
|
|
299
|
+
args: CreateClusterCommandInput,
|
|
300
|
+
options?: HttpHandlerOptions,
|
|
301
|
+
): Effect.Effect<
|
|
302
|
+
CreateClusterCommandOutput,
|
|
303
|
+
| Cause.TimeoutException
|
|
304
|
+
| SdkError
|
|
305
|
+
| BadRequestError
|
|
306
|
+
| ConflictError
|
|
307
|
+
| ForbiddenError
|
|
308
|
+
| InternalServerError
|
|
309
|
+
| ServiceUnavailableError
|
|
310
|
+
| TooManyRequestsError
|
|
311
|
+
| UnauthorizedError
|
|
312
|
+
>;
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* @see {@link CreateClusterV2Command}
|
|
316
|
+
*/
|
|
317
|
+
createClusterV2(
|
|
318
|
+
args: CreateClusterV2CommandInput,
|
|
319
|
+
options?: HttpHandlerOptions,
|
|
320
|
+
): Effect.Effect<
|
|
321
|
+
CreateClusterV2CommandOutput,
|
|
322
|
+
| Cause.TimeoutException
|
|
323
|
+
| SdkError
|
|
324
|
+
| BadRequestError
|
|
325
|
+
| ConflictError
|
|
326
|
+
| ForbiddenError
|
|
327
|
+
| InternalServerError
|
|
328
|
+
| ServiceUnavailableError
|
|
329
|
+
| TooManyRequestsError
|
|
330
|
+
| UnauthorizedError
|
|
331
|
+
>;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* @see {@link CreateConfigurationCommand}
|
|
335
|
+
*/
|
|
336
|
+
createConfiguration(
|
|
337
|
+
args: CreateConfigurationCommandInput,
|
|
338
|
+
options?: HttpHandlerOptions,
|
|
339
|
+
): Effect.Effect<
|
|
340
|
+
CreateConfigurationCommandOutput,
|
|
341
|
+
| Cause.TimeoutException
|
|
342
|
+
| SdkError
|
|
343
|
+
| BadRequestError
|
|
344
|
+
| ConflictError
|
|
345
|
+
| ForbiddenError
|
|
346
|
+
| InternalServerError
|
|
347
|
+
| ServiceUnavailableError
|
|
348
|
+
| TooManyRequestsError
|
|
349
|
+
| UnauthorizedError
|
|
350
|
+
>;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* @see {@link CreateReplicatorCommand}
|
|
354
|
+
*/
|
|
355
|
+
createReplicator(
|
|
356
|
+
args: CreateReplicatorCommandInput,
|
|
357
|
+
options?: HttpHandlerOptions,
|
|
358
|
+
): Effect.Effect<
|
|
359
|
+
CreateReplicatorCommandOutput,
|
|
360
|
+
| Cause.TimeoutException
|
|
361
|
+
| SdkError
|
|
362
|
+
| BadRequestError
|
|
363
|
+
| ConflictError
|
|
364
|
+
| ForbiddenError
|
|
365
|
+
| InternalServerError
|
|
366
|
+
| NotFoundError
|
|
367
|
+
| ServiceUnavailableError
|
|
368
|
+
| TooManyRequestsError
|
|
369
|
+
| UnauthorizedError
|
|
370
|
+
>;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* @see {@link CreateVpcConnectionCommand}
|
|
374
|
+
*/
|
|
375
|
+
createVpcConnection(
|
|
376
|
+
args: CreateVpcConnectionCommandInput,
|
|
377
|
+
options?: HttpHandlerOptions,
|
|
378
|
+
): Effect.Effect<
|
|
379
|
+
CreateVpcConnectionCommandOutput,
|
|
380
|
+
| Cause.TimeoutException
|
|
381
|
+
| SdkError
|
|
382
|
+
| BadRequestError
|
|
383
|
+
| ForbiddenError
|
|
384
|
+
| InternalServerError
|
|
385
|
+
| ServiceUnavailableError
|
|
386
|
+
| TooManyRequestsError
|
|
387
|
+
| UnauthorizedError
|
|
388
|
+
>;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @see {@link DeleteClusterCommand}
|
|
392
|
+
*/
|
|
393
|
+
deleteCluster(
|
|
394
|
+
args: DeleteClusterCommandInput,
|
|
395
|
+
options?: HttpHandlerOptions,
|
|
396
|
+
): Effect.Effect<
|
|
397
|
+
DeleteClusterCommandOutput,
|
|
398
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
399
|
+
>;
|
|
400
|
+
|
|
401
|
+
/**
|
|
402
|
+
* @see {@link DeleteClusterPolicyCommand}
|
|
403
|
+
*/
|
|
404
|
+
deleteClusterPolicy(
|
|
405
|
+
args: DeleteClusterPolicyCommandInput,
|
|
406
|
+
options?: HttpHandlerOptions,
|
|
407
|
+
): Effect.Effect<
|
|
408
|
+
DeleteClusterPolicyCommandOutput,
|
|
409
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
410
|
+
>;
|
|
411
|
+
|
|
412
|
+
/**
|
|
413
|
+
* @see {@link DeleteConfigurationCommand}
|
|
414
|
+
*/
|
|
415
|
+
deleteConfiguration(
|
|
416
|
+
args: DeleteConfigurationCommandInput,
|
|
417
|
+
options?: HttpHandlerOptions,
|
|
418
|
+
): Effect.Effect<
|
|
419
|
+
DeleteConfigurationCommandOutput,
|
|
420
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
421
|
+
>;
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* @see {@link DeleteReplicatorCommand}
|
|
425
|
+
*/
|
|
426
|
+
deleteReplicator(
|
|
427
|
+
args: DeleteReplicatorCommandInput,
|
|
428
|
+
options?: HttpHandlerOptions,
|
|
429
|
+
): Effect.Effect<
|
|
430
|
+
DeleteReplicatorCommandOutput,
|
|
431
|
+
| Cause.TimeoutException
|
|
432
|
+
| SdkError
|
|
433
|
+
| BadRequestError
|
|
434
|
+
| ForbiddenError
|
|
435
|
+
| InternalServerError
|
|
436
|
+
| NotFoundError
|
|
437
|
+
| ServiceUnavailableError
|
|
438
|
+
| TooManyRequestsError
|
|
439
|
+
| UnauthorizedError
|
|
440
|
+
>;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* @see {@link DeleteVpcConnectionCommand}
|
|
444
|
+
*/
|
|
445
|
+
deleteVpcConnection(
|
|
446
|
+
args: DeleteVpcConnectionCommandInput,
|
|
447
|
+
options?: HttpHandlerOptions,
|
|
448
|
+
): Effect.Effect<
|
|
449
|
+
DeleteVpcConnectionCommandOutput,
|
|
450
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
451
|
+
>;
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* @see {@link DescribeClusterCommand}
|
|
455
|
+
*/
|
|
456
|
+
describeCluster(
|
|
457
|
+
args: DescribeClusterCommandInput,
|
|
458
|
+
options?: HttpHandlerOptions,
|
|
459
|
+
): Effect.Effect<
|
|
460
|
+
DescribeClusterCommandOutput,
|
|
461
|
+
| Cause.TimeoutException
|
|
462
|
+
| SdkError
|
|
463
|
+
| BadRequestError
|
|
464
|
+
| ForbiddenError
|
|
465
|
+
| InternalServerError
|
|
466
|
+
| NotFoundError
|
|
467
|
+
| UnauthorizedError
|
|
468
|
+
>;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* @see {@link DescribeClusterOperationCommand}
|
|
472
|
+
*/
|
|
473
|
+
describeClusterOperation(
|
|
474
|
+
args: DescribeClusterOperationCommandInput,
|
|
475
|
+
options?: HttpHandlerOptions,
|
|
476
|
+
): Effect.Effect<
|
|
477
|
+
DescribeClusterOperationCommandOutput,
|
|
478
|
+
| Cause.TimeoutException
|
|
479
|
+
| SdkError
|
|
480
|
+
| BadRequestError
|
|
481
|
+
| ForbiddenError
|
|
482
|
+
| InternalServerError
|
|
483
|
+
| NotFoundError
|
|
484
|
+
| UnauthorizedError
|
|
485
|
+
>;
|
|
486
|
+
|
|
487
|
+
/**
|
|
488
|
+
* @see {@link DescribeClusterOperationV2Command}
|
|
489
|
+
*/
|
|
490
|
+
describeClusterOperationV2(
|
|
491
|
+
args: DescribeClusterOperationV2CommandInput,
|
|
492
|
+
options?: HttpHandlerOptions,
|
|
493
|
+
): Effect.Effect<
|
|
494
|
+
DescribeClusterOperationV2CommandOutput,
|
|
495
|
+
| Cause.TimeoutException
|
|
496
|
+
| SdkError
|
|
497
|
+
| BadRequestError
|
|
498
|
+
| ForbiddenError
|
|
499
|
+
| InternalServerError
|
|
500
|
+
| NotFoundError
|
|
501
|
+
| ServiceUnavailableError
|
|
502
|
+
| TooManyRequestsError
|
|
503
|
+
| UnauthorizedError
|
|
504
|
+
>;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* @see {@link DescribeClusterV2Command}
|
|
508
|
+
*/
|
|
509
|
+
describeClusterV2(
|
|
510
|
+
args: DescribeClusterV2CommandInput,
|
|
511
|
+
options?: HttpHandlerOptions,
|
|
512
|
+
): Effect.Effect<
|
|
513
|
+
DescribeClusterV2CommandOutput,
|
|
514
|
+
| Cause.TimeoutException
|
|
515
|
+
| SdkError
|
|
516
|
+
| BadRequestError
|
|
517
|
+
| ForbiddenError
|
|
518
|
+
| InternalServerError
|
|
519
|
+
| NotFoundError
|
|
520
|
+
| UnauthorizedError
|
|
521
|
+
>;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* @see {@link DescribeConfigurationCommand}
|
|
525
|
+
*/
|
|
526
|
+
describeConfiguration(
|
|
527
|
+
args: DescribeConfigurationCommandInput,
|
|
528
|
+
options?: HttpHandlerOptions,
|
|
529
|
+
): Effect.Effect<
|
|
530
|
+
DescribeConfigurationCommandOutput,
|
|
531
|
+
| Cause.TimeoutException
|
|
532
|
+
| SdkError
|
|
533
|
+
| BadRequestError
|
|
534
|
+
| ForbiddenError
|
|
535
|
+
| InternalServerError
|
|
536
|
+
| NotFoundError
|
|
537
|
+
| ServiceUnavailableError
|
|
538
|
+
| UnauthorizedError
|
|
539
|
+
>;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* @see {@link DescribeConfigurationRevisionCommand}
|
|
543
|
+
*/
|
|
544
|
+
describeConfigurationRevision(
|
|
545
|
+
args: DescribeConfigurationRevisionCommandInput,
|
|
546
|
+
options?: HttpHandlerOptions,
|
|
547
|
+
): Effect.Effect<
|
|
548
|
+
DescribeConfigurationRevisionCommandOutput,
|
|
549
|
+
| Cause.TimeoutException
|
|
550
|
+
| SdkError
|
|
551
|
+
| BadRequestError
|
|
552
|
+
| ForbiddenError
|
|
553
|
+
| InternalServerError
|
|
554
|
+
| NotFoundError
|
|
555
|
+
| ServiceUnavailableError
|
|
556
|
+
| UnauthorizedError
|
|
557
|
+
>;
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* @see {@link DescribeReplicatorCommand}
|
|
561
|
+
*/
|
|
562
|
+
describeReplicator(
|
|
563
|
+
args: DescribeReplicatorCommandInput,
|
|
564
|
+
options?: HttpHandlerOptions,
|
|
565
|
+
): Effect.Effect<
|
|
566
|
+
DescribeReplicatorCommandOutput,
|
|
567
|
+
| Cause.TimeoutException
|
|
568
|
+
| SdkError
|
|
569
|
+
| BadRequestError
|
|
570
|
+
| ForbiddenError
|
|
571
|
+
| InternalServerError
|
|
572
|
+
| NotFoundError
|
|
573
|
+
| ServiceUnavailableError
|
|
574
|
+
| TooManyRequestsError
|
|
575
|
+
| UnauthorizedError
|
|
576
|
+
>;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* @see {@link DescribeTopicCommand}
|
|
580
|
+
*/
|
|
581
|
+
describeTopic(
|
|
582
|
+
args: DescribeTopicCommandInput,
|
|
583
|
+
options?: HttpHandlerOptions,
|
|
584
|
+
): Effect.Effect<
|
|
585
|
+
DescribeTopicCommandOutput,
|
|
586
|
+
| Cause.TimeoutException
|
|
587
|
+
| SdkError
|
|
588
|
+
| BadRequestError
|
|
589
|
+
| ForbiddenError
|
|
590
|
+
| InternalServerError
|
|
591
|
+
| NotFoundError
|
|
592
|
+
| UnauthorizedError
|
|
593
|
+
>;
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* @see {@link DescribeTopicPartitionsCommand}
|
|
597
|
+
*/
|
|
598
|
+
describeTopicPartitions(
|
|
599
|
+
args: DescribeTopicPartitionsCommandInput,
|
|
600
|
+
options?: HttpHandlerOptions,
|
|
601
|
+
): Effect.Effect<
|
|
602
|
+
DescribeTopicPartitionsCommandOutput,
|
|
603
|
+
| Cause.TimeoutException
|
|
604
|
+
| SdkError
|
|
605
|
+
| BadRequestError
|
|
606
|
+
| ForbiddenError
|
|
607
|
+
| InternalServerError
|
|
608
|
+
| NotFoundError
|
|
609
|
+
| UnauthorizedError
|
|
610
|
+
>;
|
|
611
|
+
|
|
612
|
+
/**
|
|
613
|
+
* @see {@link DescribeVpcConnectionCommand}
|
|
614
|
+
*/
|
|
615
|
+
describeVpcConnection(
|
|
616
|
+
args: DescribeVpcConnectionCommandInput,
|
|
617
|
+
options?: HttpHandlerOptions,
|
|
618
|
+
): Effect.Effect<
|
|
619
|
+
DescribeVpcConnectionCommandOutput,
|
|
620
|
+
| Cause.TimeoutException
|
|
621
|
+
| SdkError
|
|
622
|
+
| BadRequestError
|
|
623
|
+
| ForbiddenError
|
|
624
|
+
| InternalServerError
|
|
625
|
+
| NotFoundError
|
|
626
|
+
| ServiceUnavailableError
|
|
627
|
+
| UnauthorizedError
|
|
628
|
+
>;
|
|
629
|
+
|
|
630
|
+
/**
|
|
631
|
+
* @see {@link GetBootstrapBrokersCommand}
|
|
632
|
+
*/
|
|
633
|
+
getBootstrapBrokers(
|
|
634
|
+
args: GetBootstrapBrokersCommandInput,
|
|
635
|
+
options?: HttpHandlerOptions,
|
|
636
|
+
): Effect.Effect<
|
|
637
|
+
GetBootstrapBrokersCommandOutput,
|
|
638
|
+
| Cause.TimeoutException
|
|
639
|
+
| SdkError
|
|
640
|
+
| BadRequestError
|
|
641
|
+
| ConflictError
|
|
642
|
+
| ForbiddenError
|
|
643
|
+
| InternalServerError
|
|
644
|
+
| UnauthorizedError
|
|
645
|
+
>;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* @see {@link GetClusterPolicyCommand}
|
|
649
|
+
*/
|
|
650
|
+
getClusterPolicy(
|
|
651
|
+
args: GetClusterPolicyCommandInput,
|
|
652
|
+
options?: HttpHandlerOptions,
|
|
653
|
+
): Effect.Effect<
|
|
654
|
+
GetClusterPolicyCommandOutput,
|
|
655
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
656
|
+
>;
|
|
657
|
+
|
|
658
|
+
/**
|
|
659
|
+
* @see {@link GetCompatibleKafkaVersionsCommand}
|
|
660
|
+
*/
|
|
661
|
+
getCompatibleKafkaVersions(
|
|
662
|
+
args: GetCompatibleKafkaVersionsCommandInput,
|
|
663
|
+
options?: HttpHandlerOptions,
|
|
664
|
+
): Effect.Effect<
|
|
665
|
+
GetCompatibleKafkaVersionsCommandOutput,
|
|
666
|
+
| Cause.TimeoutException
|
|
667
|
+
| SdkError
|
|
668
|
+
| BadRequestError
|
|
669
|
+
| ForbiddenError
|
|
670
|
+
| InternalServerError
|
|
671
|
+
| NotFoundError
|
|
672
|
+
| ServiceUnavailableError
|
|
673
|
+
| TooManyRequestsError
|
|
674
|
+
| UnauthorizedError
|
|
675
|
+
>;
|
|
676
|
+
|
|
677
|
+
/**
|
|
678
|
+
* @see {@link ListClientVpcConnectionsCommand}
|
|
679
|
+
*/
|
|
680
|
+
listClientVpcConnections(
|
|
681
|
+
args: ListClientVpcConnectionsCommandInput,
|
|
682
|
+
options?: HttpHandlerOptions,
|
|
683
|
+
): Effect.Effect<
|
|
684
|
+
ListClientVpcConnectionsCommandOutput,
|
|
685
|
+
| Cause.TimeoutException
|
|
686
|
+
| SdkError
|
|
687
|
+
| BadRequestError
|
|
688
|
+
| ForbiddenError
|
|
689
|
+
| InternalServerError
|
|
690
|
+
| ServiceUnavailableError
|
|
691
|
+
| UnauthorizedError
|
|
692
|
+
>;
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* @see {@link ListClusterOperationsCommand}
|
|
696
|
+
*/
|
|
697
|
+
listClusterOperations(
|
|
698
|
+
args: ListClusterOperationsCommandInput,
|
|
699
|
+
options?: HttpHandlerOptions,
|
|
700
|
+
): Effect.Effect<
|
|
701
|
+
ListClusterOperationsCommandOutput,
|
|
702
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | UnauthorizedError
|
|
703
|
+
>;
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* @see {@link ListClusterOperationsV2Command}
|
|
707
|
+
*/
|
|
708
|
+
listClusterOperationsV2(
|
|
709
|
+
args: ListClusterOperationsV2CommandInput,
|
|
710
|
+
options?: HttpHandlerOptions,
|
|
711
|
+
): Effect.Effect<
|
|
712
|
+
ListClusterOperationsV2CommandOutput,
|
|
713
|
+
| Cause.TimeoutException
|
|
714
|
+
| SdkError
|
|
715
|
+
| BadRequestError
|
|
716
|
+
| ForbiddenError
|
|
717
|
+
| InternalServerError
|
|
718
|
+
| NotFoundError
|
|
719
|
+
| ServiceUnavailableError
|
|
720
|
+
| TooManyRequestsError
|
|
721
|
+
| UnauthorizedError
|
|
722
|
+
>;
|
|
723
|
+
|
|
724
|
+
/**
|
|
725
|
+
* @see {@link ListClustersCommand}
|
|
726
|
+
*/
|
|
727
|
+
listClusters(
|
|
728
|
+
args: ListClustersCommandInput,
|
|
729
|
+
options?: HttpHandlerOptions,
|
|
730
|
+
): Effect.Effect<
|
|
731
|
+
ListClustersCommandOutput,
|
|
732
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | UnauthorizedError
|
|
733
|
+
>;
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* @see {@link ListClustersV2Command}
|
|
737
|
+
*/
|
|
738
|
+
listClustersV2(
|
|
739
|
+
args: ListClustersV2CommandInput,
|
|
740
|
+
options?: HttpHandlerOptions,
|
|
741
|
+
): Effect.Effect<
|
|
742
|
+
ListClustersV2CommandOutput,
|
|
743
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | UnauthorizedError
|
|
744
|
+
>;
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* @see {@link ListConfigurationRevisionsCommand}
|
|
748
|
+
*/
|
|
749
|
+
listConfigurationRevisions(
|
|
750
|
+
args: ListConfigurationRevisionsCommandInput,
|
|
751
|
+
options?: HttpHandlerOptions,
|
|
752
|
+
): Effect.Effect<
|
|
753
|
+
ListConfigurationRevisionsCommandOutput,
|
|
754
|
+
| Cause.TimeoutException
|
|
755
|
+
| SdkError
|
|
756
|
+
| BadRequestError
|
|
757
|
+
| ForbiddenError
|
|
758
|
+
| InternalServerError
|
|
759
|
+
| NotFoundError
|
|
760
|
+
| ServiceUnavailableError
|
|
761
|
+
| UnauthorizedError
|
|
762
|
+
>;
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* @see {@link ListConfigurationsCommand}
|
|
766
|
+
*/
|
|
767
|
+
listConfigurations(
|
|
768
|
+
args: ListConfigurationsCommandInput,
|
|
769
|
+
options?: HttpHandlerOptions,
|
|
770
|
+
): Effect.Effect<
|
|
771
|
+
ListConfigurationsCommandOutput,
|
|
772
|
+
| Cause.TimeoutException
|
|
773
|
+
| SdkError
|
|
774
|
+
| BadRequestError
|
|
775
|
+
| ForbiddenError
|
|
776
|
+
| InternalServerError
|
|
777
|
+
| ServiceUnavailableError
|
|
778
|
+
| UnauthorizedError
|
|
779
|
+
>;
|
|
780
|
+
|
|
781
|
+
/**
|
|
782
|
+
* @see {@link ListKafkaVersionsCommand}
|
|
783
|
+
*/
|
|
784
|
+
listKafkaVersions(
|
|
785
|
+
args: ListKafkaVersionsCommandInput,
|
|
786
|
+
options?: HttpHandlerOptions,
|
|
787
|
+
): Effect.Effect<
|
|
788
|
+
ListKafkaVersionsCommandOutput,
|
|
789
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | UnauthorizedError
|
|
790
|
+
>;
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* @see {@link ListNodesCommand}
|
|
794
|
+
*/
|
|
795
|
+
listNodes(
|
|
796
|
+
args: ListNodesCommandInput,
|
|
797
|
+
options?: HttpHandlerOptions,
|
|
798
|
+
): Effect.Effect<
|
|
799
|
+
ListNodesCommandOutput,
|
|
800
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError | NotFoundError
|
|
801
|
+
>;
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* @see {@link ListReplicatorsCommand}
|
|
805
|
+
*/
|
|
806
|
+
listReplicators(
|
|
807
|
+
args: ListReplicatorsCommandInput,
|
|
808
|
+
options?: HttpHandlerOptions,
|
|
809
|
+
): Effect.Effect<
|
|
810
|
+
ListReplicatorsCommandOutput,
|
|
811
|
+
| Cause.TimeoutException
|
|
812
|
+
| SdkError
|
|
813
|
+
| BadRequestError
|
|
814
|
+
| ForbiddenError
|
|
815
|
+
| InternalServerError
|
|
816
|
+
| NotFoundError
|
|
817
|
+
| ServiceUnavailableError
|
|
818
|
+
| TooManyRequestsError
|
|
819
|
+
| UnauthorizedError
|
|
820
|
+
>;
|
|
821
|
+
|
|
822
|
+
/**
|
|
823
|
+
* @see {@link ListScramSecretsCommand}
|
|
824
|
+
*/
|
|
825
|
+
listScramSecrets(
|
|
826
|
+
args: ListScramSecretsCommandInput,
|
|
827
|
+
options?: HttpHandlerOptions,
|
|
828
|
+
): Effect.Effect<
|
|
829
|
+
ListScramSecretsCommandOutput,
|
|
830
|
+
| Cause.TimeoutException
|
|
831
|
+
| SdkError
|
|
832
|
+
| BadRequestError
|
|
833
|
+
| ForbiddenError
|
|
834
|
+
| InternalServerError
|
|
835
|
+
| NotFoundError
|
|
836
|
+
| ServiceUnavailableError
|
|
837
|
+
| TooManyRequestsError
|
|
838
|
+
| UnauthorizedError
|
|
839
|
+
>;
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* @see {@link ListTagsForResourceCommand}
|
|
843
|
+
*/
|
|
844
|
+
listTagsForResource(
|
|
845
|
+
args: ListTagsForResourceCommandInput,
|
|
846
|
+
options?: HttpHandlerOptions,
|
|
847
|
+
): Effect.Effect<
|
|
848
|
+
ListTagsForResourceCommandOutput,
|
|
849
|
+
Cause.TimeoutException | SdkError | BadRequestError | InternalServerError | NotFoundError
|
|
850
|
+
>;
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* @see {@link ListTopicsCommand}
|
|
854
|
+
*/
|
|
855
|
+
listTopics(
|
|
856
|
+
args: ListTopicsCommandInput,
|
|
857
|
+
options?: HttpHandlerOptions,
|
|
858
|
+
): Effect.Effect<
|
|
859
|
+
ListTopicsCommandOutput,
|
|
860
|
+
| Cause.TimeoutException
|
|
861
|
+
| SdkError
|
|
862
|
+
| BadRequestError
|
|
863
|
+
| ForbiddenError
|
|
864
|
+
| InternalServerError
|
|
865
|
+
| ServiceUnavailableError
|
|
866
|
+
| UnauthorizedError
|
|
867
|
+
>;
|
|
868
|
+
|
|
869
|
+
/**
|
|
870
|
+
* @see {@link ListVpcConnectionsCommand}
|
|
871
|
+
*/
|
|
872
|
+
listVpcConnections(
|
|
873
|
+
args: ListVpcConnectionsCommandInput,
|
|
874
|
+
options?: HttpHandlerOptions,
|
|
875
|
+
): Effect.Effect<
|
|
876
|
+
ListVpcConnectionsCommandOutput,
|
|
877
|
+
| Cause.TimeoutException
|
|
878
|
+
| SdkError
|
|
879
|
+
| BadRequestError
|
|
880
|
+
| ForbiddenError
|
|
881
|
+
| InternalServerError
|
|
882
|
+
| ServiceUnavailableError
|
|
883
|
+
| UnauthorizedError
|
|
884
|
+
>;
|
|
885
|
+
|
|
886
|
+
/**
|
|
887
|
+
* @see {@link PutClusterPolicyCommand}
|
|
888
|
+
*/
|
|
889
|
+
putClusterPolicy(
|
|
890
|
+
args: PutClusterPolicyCommandInput,
|
|
891
|
+
options?: HttpHandlerOptions,
|
|
892
|
+
): Effect.Effect<
|
|
893
|
+
PutClusterPolicyCommandOutput,
|
|
894
|
+
Cause.TimeoutException | SdkError | BadRequestError | ForbiddenError | InternalServerError
|
|
895
|
+
>;
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* @see {@link RebootBrokerCommand}
|
|
899
|
+
*/
|
|
900
|
+
rebootBroker(
|
|
901
|
+
args: RebootBrokerCommandInput,
|
|
902
|
+
options?: HttpHandlerOptions,
|
|
903
|
+
): Effect.Effect<
|
|
904
|
+
RebootBrokerCommandOutput,
|
|
905
|
+
| Cause.TimeoutException
|
|
906
|
+
| SdkError
|
|
907
|
+
| BadRequestError
|
|
908
|
+
| ForbiddenError
|
|
909
|
+
| InternalServerError
|
|
910
|
+
| NotFoundError
|
|
911
|
+
| ServiceUnavailableError
|
|
912
|
+
| TooManyRequestsError
|
|
913
|
+
| UnauthorizedError
|
|
914
|
+
>;
|
|
915
|
+
|
|
916
|
+
/**
|
|
917
|
+
* @see {@link RejectClientVpcConnectionCommand}
|
|
918
|
+
*/
|
|
919
|
+
rejectClientVpcConnection(
|
|
920
|
+
args: RejectClientVpcConnectionCommandInput,
|
|
921
|
+
options?: HttpHandlerOptions,
|
|
922
|
+
): Effect.Effect<
|
|
923
|
+
RejectClientVpcConnectionCommandOutput,
|
|
924
|
+
| Cause.TimeoutException
|
|
925
|
+
| SdkError
|
|
926
|
+
| BadRequestError
|
|
927
|
+
| ForbiddenError
|
|
928
|
+
| InternalServerError
|
|
929
|
+
| ServiceUnavailableError
|
|
930
|
+
| UnauthorizedError
|
|
931
|
+
>;
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* @see {@link TagResourceCommand}
|
|
935
|
+
*/
|
|
936
|
+
tagResource(
|
|
937
|
+
args: TagResourceCommandInput,
|
|
938
|
+
options?: HttpHandlerOptions,
|
|
939
|
+
): Effect.Effect<
|
|
940
|
+
TagResourceCommandOutput,
|
|
941
|
+
Cause.TimeoutException | SdkError | BadRequestError | InternalServerError | NotFoundError
|
|
942
|
+
>;
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* @see {@link UntagResourceCommand}
|
|
946
|
+
*/
|
|
947
|
+
untagResource(
|
|
948
|
+
args: UntagResourceCommandInput,
|
|
949
|
+
options?: HttpHandlerOptions,
|
|
950
|
+
): Effect.Effect<
|
|
951
|
+
UntagResourceCommandOutput,
|
|
952
|
+
Cause.TimeoutException | SdkError | BadRequestError | InternalServerError | NotFoundError
|
|
953
|
+
>;
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* @see {@link UpdateBrokerCountCommand}
|
|
957
|
+
*/
|
|
958
|
+
updateBrokerCount(
|
|
959
|
+
args: UpdateBrokerCountCommandInput,
|
|
960
|
+
options?: HttpHandlerOptions,
|
|
961
|
+
): Effect.Effect<
|
|
962
|
+
UpdateBrokerCountCommandOutput,
|
|
963
|
+
| Cause.TimeoutException
|
|
964
|
+
| SdkError
|
|
965
|
+
| BadRequestError
|
|
966
|
+
| ForbiddenError
|
|
967
|
+
| InternalServerError
|
|
968
|
+
| ServiceUnavailableError
|
|
969
|
+
| UnauthorizedError
|
|
970
|
+
>;
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* @see {@link UpdateBrokerStorageCommand}
|
|
974
|
+
*/
|
|
975
|
+
updateBrokerStorage(
|
|
976
|
+
args: UpdateBrokerStorageCommandInput,
|
|
977
|
+
options?: HttpHandlerOptions,
|
|
978
|
+
): Effect.Effect<
|
|
979
|
+
UpdateBrokerStorageCommandOutput,
|
|
980
|
+
| Cause.TimeoutException
|
|
981
|
+
| SdkError
|
|
982
|
+
| BadRequestError
|
|
983
|
+
| ForbiddenError
|
|
984
|
+
| InternalServerError
|
|
985
|
+
| ServiceUnavailableError
|
|
986
|
+
| UnauthorizedError
|
|
987
|
+
>;
|
|
988
|
+
|
|
989
|
+
/**
|
|
990
|
+
* @see {@link UpdateBrokerTypeCommand}
|
|
991
|
+
*/
|
|
992
|
+
updateBrokerType(
|
|
993
|
+
args: UpdateBrokerTypeCommandInput,
|
|
994
|
+
options?: HttpHandlerOptions,
|
|
995
|
+
): Effect.Effect<
|
|
996
|
+
UpdateBrokerTypeCommandOutput,
|
|
997
|
+
| Cause.TimeoutException
|
|
998
|
+
| SdkError
|
|
999
|
+
| BadRequestError
|
|
1000
|
+
| ForbiddenError
|
|
1001
|
+
| InternalServerError
|
|
1002
|
+
| NotFoundError
|
|
1003
|
+
| ServiceUnavailableError
|
|
1004
|
+
| TooManyRequestsError
|
|
1005
|
+
| UnauthorizedError
|
|
1006
|
+
>;
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* @see {@link UpdateClusterConfigurationCommand}
|
|
1010
|
+
*/
|
|
1011
|
+
updateClusterConfiguration(
|
|
1012
|
+
args: UpdateClusterConfigurationCommandInput,
|
|
1013
|
+
options?: HttpHandlerOptions,
|
|
1014
|
+
): Effect.Effect<
|
|
1015
|
+
UpdateClusterConfigurationCommandOutput,
|
|
1016
|
+
| Cause.TimeoutException
|
|
1017
|
+
| SdkError
|
|
1018
|
+
| BadRequestError
|
|
1019
|
+
| ForbiddenError
|
|
1020
|
+
| InternalServerError
|
|
1021
|
+
| NotFoundError
|
|
1022
|
+
| ServiceUnavailableError
|
|
1023
|
+
| UnauthorizedError
|
|
1024
|
+
>;
|
|
1025
|
+
|
|
1026
|
+
/**
|
|
1027
|
+
* @see {@link UpdateClusterKafkaVersionCommand}
|
|
1028
|
+
*/
|
|
1029
|
+
updateClusterKafkaVersion(
|
|
1030
|
+
args: UpdateClusterKafkaVersionCommandInput,
|
|
1031
|
+
options?: HttpHandlerOptions,
|
|
1032
|
+
): Effect.Effect<
|
|
1033
|
+
UpdateClusterKafkaVersionCommandOutput,
|
|
1034
|
+
| Cause.TimeoutException
|
|
1035
|
+
| SdkError
|
|
1036
|
+
| BadRequestError
|
|
1037
|
+
| ForbiddenError
|
|
1038
|
+
| InternalServerError
|
|
1039
|
+
| NotFoundError
|
|
1040
|
+
| ServiceUnavailableError
|
|
1041
|
+
| TooManyRequestsError
|
|
1042
|
+
| UnauthorizedError
|
|
1043
|
+
>;
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* @see {@link UpdateConfigurationCommand}
|
|
1047
|
+
*/
|
|
1048
|
+
updateConfiguration(
|
|
1049
|
+
args: UpdateConfigurationCommandInput,
|
|
1050
|
+
options?: HttpHandlerOptions,
|
|
1051
|
+
): Effect.Effect<
|
|
1052
|
+
UpdateConfigurationCommandOutput,
|
|
1053
|
+
| Cause.TimeoutException
|
|
1054
|
+
| SdkError
|
|
1055
|
+
| BadRequestError
|
|
1056
|
+
| ForbiddenError
|
|
1057
|
+
| InternalServerError
|
|
1058
|
+
| NotFoundError
|
|
1059
|
+
| ServiceUnavailableError
|
|
1060
|
+
| UnauthorizedError
|
|
1061
|
+
>;
|
|
1062
|
+
|
|
1063
|
+
/**
|
|
1064
|
+
* @see {@link UpdateConnectivityCommand}
|
|
1065
|
+
*/
|
|
1066
|
+
updateConnectivity(
|
|
1067
|
+
args: UpdateConnectivityCommandInput,
|
|
1068
|
+
options?: HttpHandlerOptions,
|
|
1069
|
+
): Effect.Effect<
|
|
1070
|
+
UpdateConnectivityCommandOutput,
|
|
1071
|
+
| Cause.TimeoutException
|
|
1072
|
+
| SdkError
|
|
1073
|
+
| BadRequestError
|
|
1074
|
+
| ForbiddenError
|
|
1075
|
+
| InternalServerError
|
|
1076
|
+
| NotFoundError
|
|
1077
|
+
| ServiceUnavailableError
|
|
1078
|
+
| UnauthorizedError
|
|
1079
|
+
>;
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* @see {@link UpdateMonitoringCommand}
|
|
1083
|
+
*/
|
|
1084
|
+
updateMonitoring(
|
|
1085
|
+
args: UpdateMonitoringCommandInput,
|
|
1086
|
+
options?: HttpHandlerOptions,
|
|
1087
|
+
): Effect.Effect<
|
|
1088
|
+
UpdateMonitoringCommandOutput,
|
|
1089
|
+
| Cause.TimeoutException
|
|
1090
|
+
| SdkError
|
|
1091
|
+
| BadRequestError
|
|
1092
|
+
| ForbiddenError
|
|
1093
|
+
| InternalServerError
|
|
1094
|
+
| ServiceUnavailableError
|
|
1095
|
+
| UnauthorizedError
|
|
1096
|
+
>;
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* @see {@link UpdateRebalancingCommand}
|
|
1100
|
+
*/
|
|
1101
|
+
updateRebalancing(
|
|
1102
|
+
args: UpdateRebalancingCommandInput,
|
|
1103
|
+
options?: HttpHandlerOptions,
|
|
1104
|
+
): Effect.Effect<
|
|
1105
|
+
UpdateRebalancingCommandOutput,
|
|
1106
|
+
| Cause.TimeoutException
|
|
1107
|
+
| SdkError
|
|
1108
|
+
| BadRequestError
|
|
1109
|
+
| ForbiddenError
|
|
1110
|
+
| InternalServerError
|
|
1111
|
+
| NotFoundError
|
|
1112
|
+
| ServiceUnavailableError
|
|
1113
|
+
| TooManyRequestsError
|
|
1114
|
+
| UnauthorizedError
|
|
1115
|
+
>;
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* @see {@link UpdateReplicationInfoCommand}
|
|
1119
|
+
*/
|
|
1120
|
+
updateReplicationInfo(
|
|
1121
|
+
args: UpdateReplicationInfoCommandInput,
|
|
1122
|
+
options?: HttpHandlerOptions,
|
|
1123
|
+
): Effect.Effect<
|
|
1124
|
+
UpdateReplicationInfoCommandOutput,
|
|
1125
|
+
| Cause.TimeoutException
|
|
1126
|
+
| SdkError
|
|
1127
|
+
| BadRequestError
|
|
1128
|
+
| ForbiddenError
|
|
1129
|
+
| InternalServerError
|
|
1130
|
+
| NotFoundError
|
|
1131
|
+
| ServiceUnavailableError
|
|
1132
|
+
| TooManyRequestsError
|
|
1133
|
+
| UnauthorizedError
|
|
1134
|
+
>;
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* @see {@link UpdateSecurityCommand}
|
|
1138
|
+
*/
|
|
1139
|
+
updateSecurity(
|
|
1140
|
+
args: UpdateSecurityCommandInput,
|
|
1141
|
+
options?: HttpHandlerOptions,
|
|
1142
|
+
): Effect.Effect<
|
|
1143
|
+
UpdateSecurityCommandOutput,
|
|
1144
|
+
| Cause.TimeoutException
|
|
1145
|
+
| SdkError
|
|
1146
|
+
| BadRequestError
|
|
1147
|
+
| ForbiddenError
|
|
1148
|
+
| InternalServerError
|
|
1149
|
+
| NotFoundError
|
|
1150
|
+
| ServiceUnavailableError
|
|
1151
|
+
| TooManyRequestsError
|
|
1152
|
+
| UnauthorizedError
|
|
1153
|
+
>;
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* @see {@link UpdateStorageCommand}
|
|
1157
|
+
*/
|
|
1158
|
+
updateStorage(
|
|
1159
|
+
args: UpdateStorageCommandInput,
|
|
1160
|
+
options?: HttpHandlerOptions,
|
|
1161
|
+
): Effect.Effect<
|
|
1162
|
+
UpdateStorageCommandOutput,
|
|
1163
|
+
| Cause.TimeoutException
|
|
1164
|
+
| SdkError
|
|
1165
|
+
| BadRequestError
|
|
1166
|
+
| ForbiddenError
|
|
1167
|
+
| InternalServerError
|
|
1168
|
+
| NotFoundError
|
|
1169
|
+
| ServiceUnavailableError
|
|
1170
|
+
| TooManyRequestsError
|
|
1171
|
+
| UnauthorizedError
|
|
1172
|
+
>;
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* @since 1.0.0
|
|
1177
|
+
* @category constructors
|
|
1178
|
+
*/
|
|
1179
|
+
export const makeKafkaService = Effect.gen(function*() {
|
|
1180
|
+
const client = yield* Instance.KafkaClientInstance;
|
|
1181
|
+
|
|
1182
|
+
return yield* Service.fromClientAndCommands<KafkaService$>(
|
|
1183
|
+
client,
|
|
1184
|
+
commands,
|
|
1185
|
+
{
|
|
1186
|
+
errorTags: AllServiceErrors,
|
|
1187
|
+
resolveClientConfig: KafkaServiceConfig.toKafkaClientConfig,
|
|
1188
|
+
},
|
|
1189
|
+
);
|
|
1190
|
+
});
|
|
1191
|
+
|
|
1192
|
+
/**
|
|
1193
|
+
* @since 1.0.0
|
|
1194
|
+
* @category models
|
|
1195
|
+
*/
|
|
1196
|
+
export class KafkaService extends Effect.Tag("@effect-aws/client-kafka/KafkaService")<
|
|
1197
|
+
KafkaService,
|
|
1198
|
+
KafkaService$
|
|
1199
|
+
>() {
|
|
1200
|
+
static readonly defaultLayer = Layer.effect(this, makeKafkaService).pipe(Layer.provide(Instance.layer));
|
|
1201
|
+
static readonly layer = (config: KafkaService.Config) =>
|
|
1202
|
+
Layer.effect(this, makeKafkaService).pipe(
|
|
1203
|
+
Layer.provide(Instance.layer),
|
|
1204
|
+
Layer.provide(KafkaServiceConfig.setKafkaServiceConfig(config)),
|
|
1205
|
+
);
|
|
1206
|
+
static readonly baseLayer = (
|
|
1207
|
+
evaluate: (defaultConfig: KafkaClientConfig) => KafkaClient,
|
|
1208
|
+
) =>
|
|
1209
|
+
Layer.effect(this, makeKafkaService).pipe(
|
|
1210
|
+
Layer.provide(
|
|
1211
|
+
Layer.effect(
|
|
1212
|
+
Instance.KafkaClientInstance,
|
|
1213
|
+
Effect.map(KafkaServiceConfig.toKafkaClientConfig, evaluate),
|
|
1214
|
+
),
|
|
1215
|
+
),
|
|
1216
|
+
);
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
/**
|
|
1220
|
+
* @since 1.0.0
|
|
1221
|
+
*/
|
|
1222
|
+
export declare namespace KafkaService {
|
|
1223
|
+
/**
|
|
1224
|
+
* @since 1.0.0
|
|
1225
|
+
*/
|
|
1226
|
+
export interface Config extends Omit<KafkaClientConfig, "logger"> {
|
|
1227
|
+
readonly logger?: ServiceLogger.ServiceLoggerConstructorProps | true;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* @since 1.0.0
|
|
1232
|
+
*/
|
|
1233
|
+
export type Type = KafkaService$;
|
|
1234
|
+
}
|