@alicloud/eventbridge20200401 5.0.0 → 5.1.1
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/dist/client.d.ts +15 -0
- package/dist/client.js +48 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEventStreamingRequest.d.ts +158 -0
- package/dist/models/CreateEventStreamingRequest.js +283 -3
- package/dist/models/CreateEventStreamingRequest.js.map +1 -1
- package/dist/models/GetEventStreamingResponseBody.d.ts +158 -0
- package/dist/models/GetEventStreamingResponseBody.js +283 -3
- package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
- package/dist/models/ListEventStreamingsResponseBody.d.ts +142 -0
- package/dist/models/ListEventStreamingsResponseBody.js +255 -3
- package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
- package/dist/models/UpdateEventStreamingBusinessOptionRequest.d.ts +36 -0
- package/dist/models/UpdateEventStreamingBusinessOptionRequest.js +64 -0
- package/dist/models/UpdateEventStreamingBusinessOptionRequest.js.map +1 -0
- package/dist/models/UpdateEventStreamingBusinessOptionResponse.d.ts +19 -0
- package/dist/models/UpdateEventStreamingBusinessOptionResponse.js +69 -0
- package/dist/models/UpdateEventStreamingBusinessOptionResponse.js.map +1 -0
- package/dist/models/UpdateEventStreamingBusinessOptionResponseBody.d.ts +38 -0
- package/dist/models/UpdateEventStreamingBusinessOptionResponseBody.js +66 -0
- package/dist/models/UpdateEventStreamingBusinessOptionResponseBody.js.map +1 -0
- package/dist/models/UpdateEventStreamingRequest.d.ts +158 -0
- package/dist/models/UpdateEventStreamingRequest.js +283 -3
- package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
- package/dist/models/model.d.ts +38 -0
- package/dist/models/model.js +605 -528
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +54 -0
- package/src/models/CreateEventStreamingRequest.ts +357 -0
- package/src/models/GetEventStreamingResponseBody.ts +357 -0
- package/src/models/ListEventStreamingsResponseBody.ts +322 -0
- package/src/models/UpdateEventStreamingBusinessOptionRequest.ts +55 -0
- package/src/models/UpdateEventStreamingBusinessOptionResponse.ts +40 -0
- package/src/models/UpdateEventStreamingBusinessOptionResponseBody.ts +59 -0
- package/src/models/UpdateEventStreamingRequest.ts +357 -0
- package/src/models/model.ts +38 -0
|
@@ -240,6 +240,257 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsRunOptions extend
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersKey extends $dara.Model {
|
|
244
|
+
form?: string;
|
|
245
|
+
template?: string;
|
|
246
|
+
value?: string;
|
|
247
|
+
static names(): { [key: string]: string } {
|
|
248
|
+
return {
|
|
249
|
+
form: 'Form',
|
|
250
|
+
template: 'Template',
|
|
251
|
+
value: 'Value',
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
static types(): { [key: string]: any } {
|
|
256
|
+
return {
|
|
257
|
+
form: 'string',
|
|
258
|
+
template: 'string',
|
|
259
|
+
value: 'string',
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
validate() {
|
|
264
|
+
super.validate();
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
constructor(map?: { [key: string]: any }) {
|
|
268
|
+
super(map);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersNetworkType extends $dara.Model {
|
|
273
|
+
form?: string;
|
|
274
|
+
template?: string;
|
|
275
|
+
value?: string;
|
|
276
|
+
static names(): { [key: string]: string } {
|
|
277
|
+
return {
|
|
278
|
+
form: 'Form',
|
|
279
|
+
template: 'Template',
|
|
280
|
+
value: 'Value',
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
static types(): { [key: string]: any } {
|
|
285
|
+
return {
|
|
286
|
+
form: 'string',
|
|
287
|
+
template: 'string',
|
|
288
|
+
value: 'string',
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
validate() {
|
|
293
|
+
super.validate();
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
constructor(map?: { [key: string]: any }) {
|
|
297
|
+
super(map);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersSecurityGroupId extends $dara.Model {
|
|
302
|
+
form?: string;
|
|
303
|
+
template?: string;
|
|
304
|
+
value?: string;
|
|
305
|
+
static names(): { [key: string]: string } {
|
|
306
|
+
return {
|
|
307
|
+
form: 'Form',
|
|
308
|
+
template: 'Template',
|
|
309
|
+
value: 'Value',
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
static types(): { [key: string]: any } {
|
|
314
|
+
return {
|
|
315
|
+
form: 'string',
|
|
316
|
+
template: 'string',
|
|
317
|
+
value: 'string',
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
validate() {
|
|
322
|
+
super.validate();
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
constructor(map?: { [key: string]: any }) {
|
|
326
|
+
super(map);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVSwitchIds extends $dara.Model {
|
|
331
|
+
form?: string;
|
|
332
|
+
template?: string;
|
|
333
|
+
value?: string;
|
|
334
|
+
static names(): { [key: string]: string } {
|
|
335
|
+
return {
|
|
336
|
+
form: 'Form',
|
|
337
|
+
template: 'Template',
|
|
338
|
+
value: 'Value',
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
static types(): { [key: string]: any } {
|
|
343
|
+
return {
|
|
344
|
+
form: 'string',
|
|
345
|
+
template: 'string',
|
|
346
|
+
value: 'string',
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
validate() {
|
|
351
|
+
super.validate();
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
constructor(map?: { [key: string]: any }) {
|
|
355
|
+
super(map);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersValue extends $dara.Model {
|
|
360
|
+
form?: string;
|
|
361
|
+
template?: string;
|
|
362
|
+
value?: string;
|
|
363
|
+
static names(): { [key: string]: string } {
|
|
364
|
+
return {
|
|
365
|
+
form: 'Form',
|
|
366
|
+
template: 'Template',
|
|
367
|
+
value: 'Value',
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
static types(): { [key: string]: any } {
|
|
372
|
+
return {
|
|
373
|
+
form: 'string',
|
|
374
|
+
template: 'string',
|
|
375
|
+
value: 'string',
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
validate() {
|
|
380
|
+
super.validate();
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
constructor(map?: { [key: string]: any }) {
|
|
384
|
+
super(map);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVpcId extends $dara.Model {
|
|
389
|
+
form?: string;
|
|
390
|
+
template?: string;
|
|
391
|
+
value?: string;
|
|
392
|
+
static names(): { [key: string]: string } {
|
|
393
|
+
return {
|
|
394
|
+
form: 'Form',
|
|
395
|
+
template: 'Template',
|
|
396
|
+
value: 'Value',
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
static types(): { [key: string]: any } {
|
|
401
|
+
return {
|
|
402
|
+
form: 'string',
|
|
403
|
+
template: 'string',
|
|
404
|
+
value: 'string',
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
validate() {
|
|
409
|
+
super.validate();
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
constructor(map?: { [key: string]: any }) {
|
|
413
|
+
super(map);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParameters extends $dara.Model {
|
|
418
|
+
acks?: string;
|
|
419
|
+
bootstraps?: string;
|
|
420
|
+
key?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersKey;
|
|
421
|
+
networkType?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersNetworkType;
|
|
422
|
+
saslMechanism?: string;
|
|
423
|
+
saslPassword?: string;
|
|
424
|
+
saslUser?: string;
|
|
425
|
+
securityGroupId?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersSecurityGroupId;
|
|
426
|
+
securityProtocol?: string;
|
|
427
|
+
topic?: string;
|
|
428
|
+
vSwitchIds?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVSwitchIds;
|
|
429
|
+
value?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersValue;
|
|
430
|
+
vpcId?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVpcId;
|
|
431
|
+
static names(): { [key: string]: string } {
|
|
432
|
+
return {
|
|
433
|
+
acks: 'Acks',
|
|
434
|
+
bootstraps: 'Bootstraps',
|
|
435
|
+
key: 'Key',
|
|
436
|
+
networkType: 'NetworkType',
|
|
437
|
+
saslMechanism: 'SaslMechanism',
|
|
438
|
+
saslPassword: 'SaslPassword',
|
|
439
|
+
saslUser: 'SaslUser',
|
|
440
|
+
securityGroupId: 'SecurityGroupId',
|
|
441
|
+
securityProtocol: 'SecurityProtocol',
|
|
442
|
+
topic: 'Topic',
|
|
443
|
+
vSwitchIds: 'VSwitchIds',
|
|
444
|
+
value: 'Value',
|
|
445
|
+
vpcId: 'VpcId',
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
static types(): { [key: string]: any } {
|
|
450
|
+
return {
|
|
451
|
+
acks: 'string',
|
|
452
|
+
bootstraps: 'string',
|
|
453
|
+
key: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersKey,
|
|
454
|
+
networkType: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersNetworkType,
|
|
455
|
+
saslMechanism: 'string',
|
|
456
|
+
saslPassword: 'string',
|
|
457
|
+
saslUser: 'string',
|
|
458
|
+
securityGroupId: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersSecurityGroupId,
|
|
459
|
+
securityProtocol: 'string',
|
|
460
|
+
topic: 'string',
|
|
461
|
+
vSwitchIds: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVSwitchIds,
|
|
462
|
+
value: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersValue,
|
|
463
|
+
vpcId: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVpcId,
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
validate() {
|
|
468
|
+
if(this.key && typeof (this.key as any).validate === 'function') {
|
|
469
|
+
(this.key as any).validate();
|
|
470
|
+
}
|
|
471
|
+
if(this.networkType && typeof (this.networkType as any).validate === 'function') {
|
|
472
|
+
(this.networkType as any).validate();
|
|
473
|
+
}
|
|
474
|
+
if(this.securityGroupId && typeof (this.securityGroupId as any).validate === 'function') {
|
|
475
|
+
(this.securityGroupId as any).validate();
|
|
476
|
+
}
|
|
477
|
+
if(this.vSwitchIds && typeof (this.vSwitchIds as any).validate === 'function') {
|
|
478
|
+
(this.vSwitchIds as any).validate();
|
|
479
|
+
}
|
|
480
|
+
if(this.value && typeof (this.value as any).validate === 'function') {
|
|
481
|
+
(this.value as any).validate();
|
|
482
|
+
}
|
|
483
|
+
if(this.vpcId && typeof (this.vpcId as any).validate === 'function') {
|
|
484
|
+
(this.vpcId as any).validate();
|
|
485
|
+
}
|
|
486
|
+
super.validate();
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
constructor(map?: { [key: string]: any }) {
|
|
490
|
+
super(map);
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
243
494
|
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheRocketMQCheckpointParametersConsumeTimestamp extends $dara.Model {
|
|
244
495
|
/**
|
|
245
496
|
* @example
|
|
@@ -4939,6 +5190,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkSLSParame
|
|
|
4939
5190
|
}
|
|
4940
5191
|
|
|
4941
5192
|
export class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dara.Model {
|
|
5193
|
+
sinkApacheKafkaParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParameters;
|
|
4942
5194
|
sinkApacheRocketMQCheckpointParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheRocketMQCheckpointParameters;
|
|
4943
5195
|
sinkBaiLianParameters?: SinkBaiLianParameters;
|
|
4944
5196
|
sinkCustomizedKafkaConnectorParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkCustomizedKafkaConnectorParameters;
|
|
@@ -4985,6 +5237,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dar
|
|
|
4985
5237
|
sinkSLSParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkSLSParameters;
|
|
4986
5238
|
static names(): { [key: string]: string } {
|
|
4987
5239
|
return {
|
|
5240
|
+
sinkApacheKafkaParameters: 'SinkApacheKafkaParameters',
|
|
4988
5241
|
sinkApacheRocketMQCheckpointParameters: 'SinkApacheRocketMQCheckpointParameters',
|
|
4989
5242
|
sinkBaiLianParameters: 'SinkBaiLianParameters',
|
|
4990
5243
|
sinkCustomizedKafkaConnectorParameters: 'SinkCustomizedKafkaConnectorParameters',
|
|
@@ -5006,6 +5259,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dar
|
|
|
5006
5259
|
|
|
5007
5260
|
static types(): { [key: string]: any } {
|
|
5008
5261
|
return {
|
|
5262
|
+
sinkApacheKafkaParameters: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParameters,
|
|
5009
5263
|
sinkApacheRocketMQCheckpointParameters: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheRocketMQCheckpointParameters,
|
|
5010
5264
|
sinkBaiLianParameters: SinkBaiLianParameters,
|
|
5011
5265
|
sinkCustomizedKafkaConnectorParameters: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkCustomizedKafkaConnectorParameters,
|
|
@@ -5026,6 +5280,9 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dar
|
|
|
5026
5280
|
}
|
|
5027
5281
|
|
|
5028
5282
|
validate() {
|
|
5283
|
+
if(this.sinkApacheKafkaParameters && typeof (this.sinkApacheKafkaParameters as any).validate === 'function') {
|
|
5284
|
+
(this.sinkApacheKafkaParameters as any).validate();
|
|
5285
|
+
}
|
|
5029
5286
|
if(this.sinkApacheRocketMQCheckpointParameters && typeof (this.sinkApacheRocketMQCheckpointParameters as any).validate === 'function') {
|
|
5030
5287
|
(this.sinkApacheRocketMQCheckpointParameters as any).validate();
|
|
5031
5288
|
}
|
|
@@ -5082,6 +5339,65 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dar
|
|
|
5082
5339
|
}
|
|
5083
5340
|
}
|
|
5084
5341
|
|
|
5342
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheKafkaParameters extends $dara.Model {
|
|
5343
|
+
bootstraps?: string;
|
|
5344
|
+
consumerGroup?: string;
|
|
5345
|
+
networkType?: string;
|
|
5346
|
+
offsetReset?: string;
|
|
5347
|
+
saslMechanism?: string;
|
|
5348
|
+
saslPassword?: string;
|
|
5349
|
+
saslUser?: string;
|
|
5350
|
+
securityGroupId?: string;
|
|
5351
|
+
securityProtocol?: string;
|
|
5352
|
+
topic?: string;
|
|
5353
|
+
vSwitchIds?: string;
|
|
5354
|
+
valueDataType?: string;
|
|
5355
|
+
vpcId?: string;
|
|
5356
|
+
static names(): { [key: string]: string } {
|
|
5357
|
+
return {
|
|
5358
|
+
bootstraps: 'Bootstraps',
|
|
5359
|
+
consumerGroup: 'ConsumerGroup',
|
|
5360
|
+
networkType: 'NetworkType',
|
|
5361
|
+
offsetReset: 'OffsetReset',
|
|
5362
|
+
saslMechanism: 'SaslMechanism',
|
|
5363
|
+
saslPassword: 'SaslPassword',
|
|
5364
|
+
saslUser: 'SaslUser',
|
|
5365
|
+
securityGroupId: 'SecurityGroupId',
|
|
5366
|
+
securityProtocol: 'SecurityProtocol',
|
|
5367
|
+
topic: 'Topic',
|
|
5368
|
+
vSwitchIds: 'VSwitchIds',
|
|
5369
|
+
valueDataType: 'ValueDataType',
|
|
5370
|
+
vpcId: 'VpcId',
|
|
5371
|
+
};
|
|
5372
|
+
}
|
|
5373
|
+
|
|
5374
|
+
static types(): { [key: string]: any } {
|
|
5375
|
+
return {
|
|
5376
|
+
bootstraps: 'string',
|
|
5377
|
+
consumerGroup: 'string',
|
|
5378
|
+
networkType: 'string',
|
|
5379
|
+
offsetReset: 'string',
|
|
5380
|
+
saslMechanism: 'string',
|
|
5381
|
+
saslPassword: 'string',
|
|
5382
|
+
saslUser: 'string',
|
|
5383
|
+
securityGroupId: 'string',
|
|
5384
|
+
securityProtocol: 'string',
|
|
5385
|
+
topic: 'string',
|
|
5386
|
+
vSwitchIds: 'string',
|
|
5387
|
+
valueDataType: 'string',
|
|
5388
|
+
vpcId: 'string',
|
|
5389
|
+
};
|
|
5390
|
+
}
|
|
5391
|
+
|
|
5392
|
+
validate() {
|
|
5393
|
+
super.validate();
|
|
5394
|
+
}
|
|
5395
|
+
|
|
5396
|
+
constructor(map?: { [key: string]: any }) {
|
|
5397
|
+
super(map);
|
|
5398
|
+
}
|
|
5399
|
+
}
|
|
5400
|
+
|
|
5085
5401
|
export class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheRocketMQCheckpointParameters extends $dara.Model {
|
|
5086
5402
|
/**
|
|
5087
5403
|
* @example
|
|
@@ -6264,6 +6580,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceSLSPa
|
|
|
6264
6580
|
}
|
|
6265
6581
|
|
|
6266
6582
|
export class ListEventStreamingsResponseBodyDataEventStreamingsSource extends $dara.Model {
|
|
6583
|
+
sourceApacheKafkaParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheKafkaParameters;
|
|
6267
6584
|
sourceApacheRocketMQCheckpointParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheRocketMQCheckpointParameters;
|
|
6268
6585
|
sourceCustomizedKafkaConnectorParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceCustomizedKafkaConnectorParameters;
|
|
6269
6586
|
sourceCustomizedKafkaParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceCustomizedKafkaParameters;
|
|
@@ -6310,6 +6627,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSource extends $d
|
|
|
6310
6627
|
sourceSLSParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceSLSParameters;
|
|
6311
6628
|
static names(): { [key: string]: string } {
|
|
6312
6629
|
return {
|
|
6630
|
+
sourceApacheKafkaParameters: 'SourceApacheKafkaParameters',
|
|
6313
6631
|
sourceApacheRocketMQCheckpointParameters: 'SourceApacheRocketMQCheckpointParameters',
|
|
6314
6632
|
sourceCustomizedKafkaConnectorParameters: 'SourceCustomizedKafkaConnectorParameters',
|
|
6315
6633
|
sourceCustomizedKafkaParameters: 'SourceCustomizedKafkaParameters',
|
|
@@ -6331,6 +6649,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSource extends $d
|
|
|
6331
6649
|
|
|
6332
6650
|
static types(): { [key: string]: any } {
|
|
6333
6651
|
return {
|
|
6652
|
+
sourceApacheKafkaParameters: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheKafkaParameters,
|
|
6334
6653
|
sourceApacheRocketMQCheckpointParameters: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheRocketMQCheckpointParameters,
|
|
6335
6654
|
sourceCustomizedKafkaConnectorParameters: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceCustomizedKafkaConnectorParameters,
|
|
6336
6655
|
sourceCustomizedKafkaParameters: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceCustomizedKafkaParameters,
|
|
@@ -6351,6 +6670,9 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSource extends $d
|
|
|
6351
6670
|
}
|
|
6352
6671
|
|
|
6353
6672
|
validate() {
|
|
6673
|
+
if(this.sourceApacheKafkaParameters && typeof (this.sourceApacheKafkaParameters as any).validate === 'function') {
|
|
6674
|
+
(this.sourceApacheKafkaParameters as any).validate();
|
|
6675
|
+
}
|
|
6354
6676
|
if(this.sourceApacheRocketMQCheckpointParameters && typeof (this.sourceApacheRocketMQCheckpointParameters as any).validate === 'function') {
|
|
6355
6677
|
(this.sourceApacheRocketMQCheckpointParameters as any).validate();
|
|
6356
6678
|
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateEventStreamingBusinessOptionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* This parameter is required.
|
|
9
|
+
*/
|
|
10
|
+
businessMode?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* rocketmq-sync
|
|
17
|
+
*/
|
|
18
|
+
eventStreamingName?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* 2
|
|
22
|
+
*/
|
|
23
|
+
maxCapacityUnitCount?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @example
|
|
26
|
+
* 1
|
|
27
|
+
*/
|
|
28
|
+
minCapacityUnitCount?: number;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
businessMode: 'BusinessMode',
|
|
32
|
+
eventStreamingName: 'EventStreamingName',
|
|
33
|
+
maxCapacityUnitCount: 'MaxCapacityUnitCount',
|
|
34
|
+
minCapacityUnitCount: 'MinCapacityUnitCount',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
businessMode: 'string',
|
|
41
|
+
eventStreamingName: 'string',
|
|
42
|
+
maxCapacityUnitCount: 'number',
|
|
43
|
+
minCapacityUnitCount: 'number',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
validate() {
|
|
48
|
+
super.validate();
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
constructor(map?: { [key: string]: any }) {
|
|
52
|
+
super(map);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateEventStreamingBusinessOptionResponseBody } from "./UpdateEventStreamingBusinessOptionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateEventStreamingBusinessOptionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateEventStreamingBusinessOptionResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: UpdateEventStreamingBusinessOptionResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateEventStreamingBusinessOptionResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* Success
|
|
9
|
+
*/
|
|
10
|
+
code?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* true
|
|
14
|
+
*/
|
|
15
|
+
data?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* Success
|
|
19
|
+
*/
|
|
20
|
+
message?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 34AD682D-5B91-5773-8132-AA38C130****
|
|
24
|
+
*/
|
|
25
|
+
requestId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* true
|
|
29
|
+
*/
|
|
30
|
+
success?: boolean;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
code: 'Code',
|
|
34
|
+
data: 'Data',
|
|
35
|
+
message: 'Message',
|
|
36
|
+
requestId: 'RequestId',
|
|
37
|
+
success: 'Success',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
code: 'string',
|
|
44
|
+
data: 'boolean',
|
|
45
|
+
message: 'string',
|
|
46
|
+
requestId: 'string',
|
|
47
|
+
success: 'boolean',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|