@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.
Files changed (37) hide show
  1. package/dist/client.d.ts +15 -0
  2. package/dist/client.js +48 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateEventStreamingRequest.d.ts +158 -0
  5. package/dist/models/CreateEventStreamingRequest.js +283 -3
  6. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  7. package/dist/models/GetEventStreamingResponseBody.d.ts +158 -0
  8. package/dist/models/GetEventStreamingResponseBody.js +283 -3
  9. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  10. package/dist/models/ListEventStreamingsResponseBody.d.ts +142 -0
  11. package/dist/models/ListEventStreamingsResponseBody.js +255 -3
  12. package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
  13. package/dist/models/UpdateEventStreamingBusinessOptionRequest.d.ts +36 -0
  14. package/dist/models/UpdateEventStreamingBusinessOptionRequest.js +64 -0
  15. package/dist/models/UpdateEventStreamingBusinessOptionRequest.js.map +1 -0
  16. package/dist/models/UpdateEventStreamingBusinessOptionResponse.d.ts +19 -0
  17. package/dist/models/UpdateEventStreamingBusinessOptionResponse.js +69 -0
  18. package/dist/models/UpdateEventStreamingBusinessOptionResponse.js.map +1 -0
  19. package/dist/models/UpdateEventStreamingBusinessOptionResponseBody.d.ts +38 -0
  20. package/dist/models/UpdateEventStreamingBusinessOptionResponseBody.js +66 -0
  21. package/dist/models/UpdateEventStreamingBusinessOptionResponseBody.js.map +1 -0
  22. package/dist/models/UpdateEventStreamingRequest.d.ts +158 -0
  23. package/dist/models/UpdateEventStreamingRequest.js +283 -3
  24. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  25. package/dist/models/model.d.ts +38 -0
  26. package/dist/models/model.js +605 -528
  27. package/dist/models/model.js.map +1 -1
  28. package/package.json +1 -1
  29. package/src/client.ts +54 -0
  30. package/src/models/CreateEventStreamingRequest.ts +357 -0
  31. package/src/models/GetEventStreamingResponseBody.ts +357 -0
  32. package/src/models/ListEventStreamingsResponseBody.ts +322 -0
  33. package/src/models/UpdateEventStreamingBusinessOptionRequest.ts +55 -0
  34. package/src/models/UpdateEventStreamingBusinessOptionResponse.ts +40 -0
  35. package/src/models/UpdateEventStreamingBusinessOptionResponseBody.ts +59 -0
  36. package/src/models/UpdateEventStreamingRequest.ts +357 -0
  37. package/src/models/model.ts +38 -0
@@ -314,6 +314,292 @@ export class GetEventStreamingResponseBodyDataRunOptions extends $dara.Model {
314
314
  }
315
315
  }
316
316
 
317
+ export class GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersHeaders extends $dara.Model {
318
+ form?: string;
319
+ template?: string;
320
+ value?: string;
321
+ static names(): { [key: string]: string } {
322
+ return {
323
+ form: 'Form',
324
+ template: 'Template',
325
+ value: 'Value',
326
+ };
327
+ }
328
+
329
+ static types(): { [key: string]: any } {
330
+ return {
331
+ form: 'string',
332
+ template: 'string',
333
+ value: 'string',
334
+ };
335
+ }
336
+
337
+ validate() {
338
+ super.validate();
339
+ }
340
+
341
+ constructor(map?: { [key: string]: any }) {
342
+ super(map);
343
+ }
344
+ }
345
+
346
+ export class GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersKey extends $dara.Model {
347
+ form?: string;
348
+ template?: string;
349
+ value?: string;
350
+ static names(): { [key: string]: string } {
351
+ return {
352
+ form: 'Form',
353
+ template: 'Template',
354
+ value: 'Value',
355
+ };
356
+ }
357
+
358
+ static types(): { [key: string]: any } {
359
+ return {
360
+ form: 'string',
361
+ template: 'string',
362
+ value: 'string',
363
+ };
364
+ }
365
+
366
+ validate() {
367
+ super.validate();
368
+ }
369
+
370
+ constructor(map?: { [key: string]: any }) {
371
+ super(map);
372
+ }
373
+ }
374
+
375
+ export class GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersNetworkType extends $dara.Model {
376
+ form?: string;
377
+ template?: string;
378
+ value?: string;
379
+ static names(): { [key: string]: string } {
380
+ return {
381
+ form: 'Form',
382
+ template: 'Template',
383
+ value: 'Value',
384
+ };
385
+ }
386
+
387
+ static types(): { [key: string]: any } {
388
+ return {
389
+ form: 'string',
390
+ template: 'string',
391
+ value: 'string',
392
+ };
393
+ }
394
+
395
+ validate() {
396
+ super.validate();
397
+ }
398
+
399
+ constructor(map?: { [key: string]: any }) {
400
+ super(map);
401
+ }
402
+ }
403
+
404
+ export class GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersSecurityGroupId extends $dara.Model {
405
+ form?: string;
406
+ template?: string;
407
+ value?: string;
408
+ static names(): { [key: string]: string } {
409
+ return {
410
+ form: 'Form',
411
+ template: 'Template',
412
+ value: 'Value',
413
+ };
414
+ }
415
+
416
+ static types(): { [key: string]: any } {
417
+ return {
418
+ form: 'string',
419
+ template: 'string',
420
+ value: 'string',
421
+ };
422
+ }
423
+
424
+ validate() {
425
+ super.validate();
426
+ }
427
+
428
+ constructor(map?: { [key: string]: any }) {
429
+ super(map);
430
+ }
431
+ }
432
+
433
+ export class GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersVSwitchIds extends $dara.Model {
434
+ form?: string;
435
+ template?: string;
436
+ value?: string;
437
+ static names(): { [key: string]: string } {
438
+ return {
439
+ form: 'Form',
440
+ template: 'Template',
441
+ value: 'Value',
442
+ };
443
+ }
444
+
445
+ static types(): { [key: string]: any } {
446
+ return {
447
+ form: 'string',
448
+ template: 'string',
449
+ value: 'string',
450
+ };
451
+ }
452
+
453
+ validate() {
454
+ super.validate();
455
+ }
456
+
457
+ constructor(map?: { [key: string]: any }) {
458
+ super(map);
459
+ }
460
+ }
461
+
462
+ export class GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersValue extends $dara.Model {
463
+ form?: string;
464
+ template?: string;
465
+ value?: string;
466
+ static names(): { [key: string]: string } {
467
+ return {
468
+ form: 'Form',
469
+ template: 'Template',
470
+ value: 'Value',
471
+ };
472
+ }
473
+
474
+ static types(): { [key: string]: any } {
475
+ return {
476
+ form: 'string',
477
+ template: 'string',
478
+ value: 'string',
479
+ };
480
+ }
481
+
482
+ validate() {
483
+ super.validate();
484
+ }
485
+
486
+ constructor(map?: { [key: string]: any }) {
487
+ super(map);
488
+ }
489
+ }
490
+
491
+ export class GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersVpcId extends $dara.Model {
492
+ form?: string;
493
+ template?: string;
494
+ value?: string;
495
+ static names(): { [key: string]: string } {
496
+ return {
497
+ form: 'Form',
498
+ template: 'Template',
499
+ value: 'Value',
500
+ };
501
+ }
502
+
503
+ static types(): { [key: string]: any } {
504
+ return {
505
+ form: 'string',
506
+ template: 'string',
507
+ value: 'string',
508
+ };
509
+ }
510
+
511
+ validate() {
512
+ super.validate();
513
+ }
514
+
515
+ constructor(map?: { [key: string]: any }) {
516
+ super(map);
517
+ }
518
+ }
519
+
520
+ export class GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParameters extends $dara.Model {
521
+ acks?: string;
522
+ bootstraps?: string;
523
+ headers?: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersHeaders;
524
+ key?: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersKey;
525
+ networkType?: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersNetworkType;
526
+ saslMechanism?: string;
527
+ saslPassword?: string;
528
+ saslUser?: string;
529
+ securityGroupId?: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersSecurityGroupId;
530
+ securityProtocol?: string;
531
+ topic?: string;
532
+ vSwitchIds?: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersVSwitchIds;
533
+ value?: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersValue;
534
+ vpcId?: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersVpcId;
535
+ static names(): { [key: string]: string } {
536
+ return {
537
+ acks: 'Acks',
538
+ bootstraps: 'Bootstraps',
539
+ headers: 'Headers',
540
+ key: 'Key',
541
+ networkType: 'NetworkType',
542
+ saslMechanism: 'SaslMechanism',
543
+ saslPassword: 'SaslPassword',
544
+ saslUser: 'SaslUser',
545
+ securityGroupId: 'SecurityGroupId',
546
+ securityProtocol: 'SecurityProtocol',
547
+ topic: 'Topic',
548
+ vSwitchIds: 'VSwitchIds',
549
+ value: 'Value',
550
+ vpcId: 'VpcId',
551
+ };
552
+ }
553
+
554
+ static types(): { [key: string]: any } {
555
+ return {
556
+ acks: 'string',
557
+ bootstraps: 'string',
558
+ headers: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersHeaders,
559
+ key: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersKey,
560
+ networkType: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersNetworkType,
561
+ saslMechanism: 'string',
562
+ saslPassword: 'string',
563
+ saslUser: 'string',
564
+ securityGroupId: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersSecurityGroupId,
565
+ securityProtocol: 'string',
566
+ topic: 'string',
567
+ vSwitchIds: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersVSwitchIds,
568
+ value: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersValue,
569
+ vpcId: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParametersVpcId,
570
+ };
571
+ }
572
+
573
+ validate() {
574
+ if(this.headers && typeof (this.headers as any).validate === 'function') {
575
+ (this.headers as any).validate();
576
+ }
577
+ if(this.key && typeof (this.key as any).validate === 'function') {
578
+ (this.key as any).validate();
579
+ }
580
+ if(this.networkType && typeof (this.networkType as any).validate === 'function') {
581
+ (this.networkType as any).validate();
582
+ }
583
+ if(this.securityGroupId && typeof (this.securityGroupId as any).validate === 'function') {
584
+ (this.securityGroupId as any).validate();
585
+ }
586
+ if(this.vSwitchIds && typeof (this.vSwitchIds as any).validate === 'function') {
587
+ (this.vSwitchIds as any).validate();
588
+ }
589
+ if(this.value && typeof (this.value as any).validate === 'function') {
590
+ (this.value as any).validate();
591
+ }
592
+ if(this.vpcId && typeof (this.vpcId as any).validate === 'function') {
593
+ (this.vpcId as any).validate();
594
+ }
595
+ super.validate();
596
+ }
597
+
598
+ constructor(map?: { [key: string]: any }) {
599
+ super(map);
600
+ }
601
+ }
602
+
317
603
  export class GetEventStreamingResponseBodyDataSinkSinkApacheRocketMQCheckpointParametersConsumeTimestamp extends $dara.Model {
318
604
  /**
319
605
  * @example
@@ -5090,6 +5376,7 @@ export class GetEventStreamingResponseBodyDataSinkSinkSLSParameters extends $dar
5090
5376
  }
5091
5377
 
5092
5378
  export class GetEventStreamingResponseBodyDataSink extends $dara.Model {
5379
+ sinkApacheKafkaParameters?: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParameters;
5093
5380
  /**
5094
5381
  * @remarks
5095
5382
  * Sink Apache RocketMQ Checkpoint Parameters
@@ -5152,6 +5439,7 @@ export class GetEventStreamingResponseBodyDataSink extends $dara.Model {
5152
5439
  sinkSLSParameters?: GetEventStreamingResponseBodyDataSinkSinkSLSParameters;
5153
5440
  static names(): { [key: string]: string } {
5154
5441
  return {
5442
+ sinkApacheKafkaParameters: 'SinkApacheKafkaParameters',
5155
5443
  sinkApacheRocketMQCheckpointParameters: 'SinkApacheRocketMQCheckpointParameters',
5156
5444
  sinkBaiLianParameters: 'SinkBaiLianParameters',
5157
5445
  sinkCustomizedKafkaConnectorParameters: 'SinkCustomizedKafkaConnectorParameters',
@@ -5173,6 +5461,7 @@ export class GetEventStreamingResponseBodyDataSink extends $dara.Model {
5173
5461
 
5174
5462
  static types(): { [key: string]: any } {
5175
5463
  return {
5464
+ sinkApacheKafkaParameters: GetEventStreamingResponseBodyDataSinkSinkApacheKafkaParameters,
5176
5465
  sinkApacheRocketMQCheckpointParameters: GetEventStreamingResponseBodyDataSinkSinkApacheRocketMQCheckpointParameters,
5177
5466
  sinkBaiLianParameters: SinkBaiLianParameters,
5178
5467
  sinkCustomizedKafkaConnectorParameters: GetEventStreamingResponseBodyDataSinkSinkCustomizedKafkaConnectorParameters,
@@ -5193,6 +5482,9 @@ export class GetEventStreamingResponseBodyDataSink extends $dara.Model {
5193
5482
  }
5194
5483
 
5195
5484
  validate() {
5485
+ if(this.sinkApacheKafkaParameters && typeof (this.sinkApacheKafkaParameters as any).validate === 'function') {
5486
+ (this.sinkApacheKafkaParameters as any).validate();
5487
+ }
5196
5488
  if(this.sinkApacheRocketMQCheckpointParameters && typeof (this.sinkApacheRocketMQCheckpointParameters as any).validate === 'function') {
5197
5489
  (this.sinkApacheRocketMQCheckpointParameters as any).validate();
5198
5490
  }
@@ -5249,6 +5541,65 @@ export class GetEventStreamingResponseBodyDataSink extends $dara.Model {
5249
5541
  }
5250
5542
  }
5251
5543
 
5544
+ export class GetEventStreamingResponseBodyDataSourceSourceApacheKafkaParameters extends $dara.Model {
5545
+ bootstraps?: string;
5546
+ consumerGroup?: string;
5547
+ networkType?: string;
5548
+ offsetReset?: string;
5549
+ saslMechanism?: string;
5550
+ saslPassword?: string;
5551
+ saslUser?: string;
5552
+ securityGroupId?: string;
5553
+ securityProtocol?: string;
5554
+ topic?: string;
5555
+ vSwitchIds?: string;
5556
+ valueDataType?: string;
5557
+ vpcId?: string;
5558
+ static names(): { [key: string]: string } {
5559
+ return {
5560
+ bootstraps: 'Bootstraps',
5561
+ consumerGroup: 'ConsumerGroup',
5562
+ networkType: 'NetworkType',
5563
+ offsetReset: 'OffsetReset',
5564
+ saslMechanism: 'SaslMechanism',
5565
+ saslPassword: 'SaslPassword',
5566
+ saslUser: 'SaslUser',
5567
+ securityGroupId: 'SecurityGroupId',
5568
+ securityProtocol: 'SecurityProtocol',
5569
+ topic: 'Topic',
5570
+ vSwitchIds: 'VSwitchIds',
5571
+ valueDataType: 'ValueDataType',
5572
+ vpcId: 'VpcId',
5573
+ };
5574
+ }
5575
+
5576
+ static types(): { [key: string]: any } {
5577
+ return {
5578
+ bootstraps: 'string',
5579
+ consumerGroup: 'string',
5580
+ networkType: 'string',
5581
+ offsetReset: 'string',
5582
+ saslMechanism: 'string',
5583
+ saslPassword: 'string',
5584
+ saslUser: 'string',
5585
+ securityGroupId: 'string',
5586
+ securityProtocol: 'string',
5587
+ topic: 'string',
5588
+ vSwitchIds: 'string',
5589
+ valueDataType: 'string',
5590
+ vpcId: 'string',
5591
+ };
5592
+ }
5593
+
5594
+ validate() {
5595
+ super.validate();
5596
+ }
5597
+
5598
+ constructor(map?: { [key: string]: any }) {
5599
+ super(map);
5600
+ }
5601
+ }
5602
+
5252
5603
  export class GetEventStreamingResponseBodyDataSourceSourceApacheRocketMQCheckpointParameters extends $dara.Model {
5253
5604
  /**
5254
5605
  * @example
@@ -6408,6 +6759,7 @@ export class GetEventStreamingResponseBodyDataSourceSourceSLSParameters extends
6408
6759
  }
6409
6760
 
6410
6761
  export class GetEventStreamingResponseBodyDataSource extends $dara.Model {
6762
+ sourceApacheKafkaParameters?: GetEventStreamingResponseBodyDataSourceSourceApacheKafkaParameters;
6411
6763
  /**
6412
6764
  * @remarks
6413
6765
  * The parameters that are returned if Apache RocketMQ (Offset Data) is specified as the event source.
@@ -6458,6 +6810,7 @@ export class GetEventStreamingResponseBodyDataSource extends $dara.Model {
6458
6810
  sourceSLSParameters?: GetEventStreamingResponseBodyDataSourceSourceSLSParameters;
6459
6811
  static names(): { [key: string]: string } {
6460
6812
  return {
6813
+ sourceApacheKafkaParameters: 'SourceApacheKafkaParameters',
6461
6814
  sourceApacheRocketMQCheckpointParameters: 'SourceApacheRocketMQCheckpointParameters',
6462
6815
  sourceCustomizedKafkaConnectorParameters: 'SourceCustomizedKafkaConnectorParameters',
6463
6816
  sourceCustomizedKafkaParameters: 'SourceCustomizedKafkaParameters',
@@ -6479,6 +6832,7 @@ export class GetEventStreamingResponseBodyDataSource extends $dara.Model {
6479
6832
 
6480
6833
  static types(): { [key: string]: any } {
6481
6834
  return {
6835
+ sourceApacheKafkaParameters: GetEventStreamingResponseBodyDataSourceSourceApacheKafkaParameters,
6482
6836
  sourceApacheRocketMQCheckpointParameters: GetEventStreamingResponseBodyDataSourceSourceApacheRocketMQCheckpointParameters,
6483
6837
  sourceCustomizedKafkaConnectorParameters: GetEventStreamingResponseBodyDataSourceSourceCustomizedKafkaConnectorParameters,
6484
6838
  sourceCustomizedKafkaParameters: GetEventStreamingResponseBodyDataSourceSourceCustomizedKafkaParameters,
@@ -6499,6 +6853,9 @@ export class GetEventStreamingResponseBodyDataSource extends $dara.Model {
6499
6853
  }
6500
6854
 
6501
6855
  validate() {
6856
+ if(this.sourceApacheKafkaParameters && typeof (this.sourceApacheKafkaParameters as any).validate === 'function') {
6857
+ (this.sourceApacheKafkaParameters as any).validate();
6858
+ }
6502
6859
  if(this.sourceApacheRocketMQCheckpointParameters && typeof (this.sourceApacheRocketMQCheckpointParameters as any).validate === 'function') {
6503
6860
  (this.sourceApacheRocketMQCheckpointParameters as any).validate();
6504
6861
  }