@alicloud/eventbridge20200401 1.0.2 → 1.0.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/eventbridge20200401",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -459,6 +459,7 @@ export class CreateEventStreamingRequest extends $tea.Model {
459
459
  runOptions?: CreateEventStreamingRequestRunOptions;
460
460
  sink?: CreateEventStreamingRequestSink;
461
461
  source?: CreateEventStreamingRequestSource;
462
+ transforms?: CreateEventStreamingRequestTransforms[];
462
463
  static names(): { [key: string]: string } {
463
464
  return {
464
465
  description: 'Description',
@@ -467,6 +468,7 @@ export class CreateEventStreamingRequest extends $tea.Model {
467
468
  runOptions: 'RunOptions',
468
469
  sink: 'Sink',
469
470
  source: 'Source',
471
+ transforms: 'Transforms',
470
472
  };
471
473
  }
472
474
 
@@ -478,6 +480,7 @@ export class CreateEventStreamingRequest extends $tea.Model {
478
480
  runOptions: CreateEventStreamingRequestRunOptions,
479
481
  sink: CreateEventStreamingRequestSink,
480
482
  source: CreateEventStreamingRequestSource,
483
+ transforms: { 'type': 'array', 'itemType': CreateEventStreamingRequestTransforms },
481
484
  };
482
485
  }
483
486
 
@@ -493,6 +496,7 @@ export class CreateEventStreamingShrinkRequest extends $tea.Model {
493
496
  runOptionsShrink?: string;
494
497
  sinkShrink?: string;
495
498
  sourceShrink?: string;
499
+ transformsShrink?: string;
496
500
  static names(): { [key: string]: string } {
497
501
  return {
498
502
  description: 'Description',
@@ -501,6 +505,7 @@ export class CreateEventStreamingShrinkRequest extends $tea.Model {
501
505
  runOptionsShrink: 'RunOptions',
502
506
  sinkShrink: 'Sink',
503
507
  sourceShrink: 'Source',
508
+ transformsShrink: 'Transforms',
504
509
  };
505
510
  }
506
511
 
@@ -512,6 +517,7 @@ export class CreateEventStreamingShrinkRequest extends $tea.Model {
512
517
  runOptionsShrink: 'string',
513
518
  sinkShrink: 'string',
514
519
  sourceShrink: 'string',
520
+ transformsShrink: 'string',
515
521
  };
516
522
  }
517
523
 
@@ -3579,6 +3585,7 @@ export class UpdateEventStreamingRequest extends $tea.Model {
3579
3585
  runOptions?: UpdateEventStreamingRequestRunOptions;
3580
3586
  sink?: UpdateEventStreamingRequestSink;
3581
3587
  source?: UpdateEventStreamingRequestSource;
3588
+ transforms?: UpdateEventStreamingRequestTransforms[];
3582
3589
  static names(): { [key: string]: string } {
3583
3590
  return {
3584
3591
  description: 'Description',
@@ -3587,6 +3594,7 @@ export class UpdateEventStreamingRequest extends $tea.Model {
3587
3594
  runOptions: 'RunOptions',
3588
3595
  sink: 'Sink',
3589
3596
  source: 'Source',
3597
+ transforms: 'Transforms',
3590
3598
  };
3591
3599
  }
3592
3600
 
@@ -3598,6 +3606,7 @@ export class UpdateEventStreamingRequest extends $tea.Model {
3598
3606
  runOptions: UpdateEventStreamingRequestRunOptions,
3599
3607
  sink: UpdateEventStreamingRequestSink,
3600
3608
  source: UpdateEventStreamingRequestSource,
3609
+ transforms: { 'type': 'array', 'itemType': UpdateEventStreamingRequestTransforms },
3601
3610
  };
3602
3611
  }
3603
3612
 
@@ -3613,6 +3622,7 @@ export class UpdateEventStreamingShrinkRequest extends $tea.Model {
3613
3622
  runOptionsShrink?: string;
3614
3623
  sinkShrink?: string;
3615
3624
  sourceShrink?: string;
3625
+ transformsShrink?: string;
3616
3626
  static names(): { [key: string]: string } {
3617
3627
  return {
3618
3628
  description: 'Description',
@@ -3621,6 +3631,7 @@ export class UpdateEventStreamingShrinkRequest extends $tea.Model {
3621
3631
  runOptionsShrink: 'RunOptions',
3622
3632
  sinkShrink: 'Sink',
3623
3633
  sourceShrink: 'Source',
3634
+ transformsShrink: 'Transforms',
3624
3635
  };
3625
3636
  }
3626
3637
 
@@ -3632,6 +3643,7 @@ export class UpdateEventStreamingShrinkRequest extends $tea.Model {
3632
3643
  runOptionsShrink: 'string',
3633
3644
  sinkShrink: 'string',
3634
3645
  sourceShrink: 'string',
3646
+ transformsShrink: 'string',
3635
3647
  };
3636
3648
  }
3637
3649
 
@@ -6401,6 +6413,25 @@ export class CreateEventStreamingRequestSource extends $tea.Model {
6401
6413
  }
6402
6414
  }
6403
6415
 
6416
+ export class CreateEventStreamingRequestTransforms extends $tea.Model {
6417
+ arn?: string;
6418
+ static names(): { [key: string]: string } {
6419
+ return {
6420
+ arn: 'Arn',
6421
+ };
6422
+ }
6423
+
6424
+ static types(): { [key: string]: any } {
6425
+ return {
6426
+ arn: 'string',
6427
+ };
6428
+ }
6429
+
6430
+ constructor(map?: { [key: string]: any }) {
6431
+ super(map);
6432
+ }
6433
+ }
6434
+
6404
6435
  export class CreateEventStreamingResponseBodyData extends $tea.Model {
6405
6436
  eventStreamingARN?: string;
6406
6437
  static names(): { [key: string]: string } {
@@ -8554,6 +8585,25 @@ export class GetEventStreamingResponseBodyDataSource extends $tea.Model {
8554
8585
  }
8555
8586
  }
8556
8587
 
8588
+ export class GetEventStreamingResponseBodyDataTransforms extends $tea.Model {
8589
+ arn?: string;
8590
+ static names(): { [key: string]: string } {
8591
+ return {
8592
+ arn: 'Arn',
8593
+ };
8594
+ }
8595
+
8596
+ static types(): { [key: string]: any } {
8597
+ return {
8598
+ arn: 'string',
8599
+ };
8600
+ }
8601
+
8602
+ constructor(map?: { [key: string]: any }) {
8603
+ super(map);
8604
+ }
8605
+ }
8606
+
8557
8607
  export class GetEventStreamingResponseBodyData extends $tea.Model {
8558
8608
  description?: string;
8559
8609
  eventStreamingName?: string;
@@ -8562,6 +8612,7 @@ export class GetEventStreamingResponseBodyData extends $tea.Model {
8562
8612
  sink?: GetEventStreamingResponseBodyDataSink;
8563
8613
  source?: GetEventStreamingResponseBodyDataSource;
8564
8614
  status?: string;
8615
+ transforms?: GetEventStreamingResponseBodyDataTransforms[];
8565
8616
  static names(): { [key: string]: string } {
8566
8617
  return {
8567
8618
  description: 'Description',
@@ -8571,6 +8622,7 @@ export class GetEventStreamingResponseBodyData extends $tea.Model {
8571
8622
  sink: 'Sink',
8572
8623
  source: 'Source',
8573
8624
  status: 'Status',
8625
+ transforms: 'Transforms',
8574
8626
  };
8575
8627
  }
8576
8628
 
@@ -8583,6 +8635,7 @@ export class GetEventStreamingResponseBodyData extends $tea.Model {
8583
8635
  sink: GetEventStreamingResponseBodyDataSink,
8584
8636
  source: GetEventStreamingResponseBodyDataSource,
8585
8637
  status: 'string',
8638
+ transforms: { 'type': 'array', 'itemType': GetEventStreamingResponseBodyDataTransforms },
8586
8639
  };
8587
8640
  }
8588
8641
 
@@ -10857,6 +10910,25 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSource extends $t
10857
10910
  }
10858
10911
  }
10859
10912
 
10913
+ export class ListEventStreamingsResponseBodyDataEventStreamingsTransforms extends $tea.Model {
10914
+ arn?: string;
10915
+ static names(): { [key: string]: string } {
10916
+ return {
10917
+ arn: 'Arn',
10918
+ };
10919
+ }
10920
+
10921
+ static types(): { [key: string]: any } {
10922
+ return {
10923
+ arn: 'string',
10924
+ };
10925
+ }
10926
+
10927
+ constructor(map?: { [key: string]: any }) {
10928
+ super(map);
10929
+ }
10930
+ }
10931
+
10860
10932
  export class ListEventStreamingsResponseBodyDataEventStreamings extends $tea.Model {
10861
10933
  description?: string;
10862
10934
  eventStreamingName?: string;
@@ -10865,6 +10937,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamings extends $tea.Mod
10865
10937
  sink?: ListEventStreamingsResponseBodyDataEventStreamingsSink;
10866
10938
  source?: ListEventStreamingsResponseBodyDataEventStreamingsSource;
10867
10939
  status?: string;
10940
+ transforms?: ListEventStreamingsResponseBodyDataEventStreamingsTransforms[];
10868
10941
  static names(): { [key: string]: string } {
10869
10942
  return {
10870
10943
  description: 'Description',
@@ -10874,6 +10947,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamings extends $tea.Mod
10874
10947
  sink: 'Sink',
10875
10948
  source: 'Source',
10876
10949
  status: 'Status',
10950
+ transforms: 'Transforms',
10877
10951
  };
10878
10952
  }
10879
10953
 
@@ -10886,6 +10960,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamings extends $tea.Mod
10886
10960
  sink: ListEventStreamingsResponseBodyDataEventStreamingsSink,
10887
10961
  source: ListEventStreamingsResponseBodyDataEventStreamingsSource,
10888
10962
  status: 'string',
10963
+ transforms: { 'type': 'array', 'itemType': ListEventStreamingsResponseBodyDataEventStreamingsTransforms },
10889
10964
  };
10890
10965
  }
10891
10966
 
@@ -13859,6 +13934,25 @@ export class UpdateEventStreamingRequestSource extends $tea.Model {
13859
13934
  }
13860
13935
  }
13861
13936
 
13937
+ export class UpdateEventStreamingRequestTransforms extends $tea.Model {
13938
+ arn?: string;
13939
+ static names(): { [key: string]: string } {
13940
+ return {
13941
+ arn: 'Arn',
13942
+ };
13943
+ }
13944
+
13945
+ static types(): { [key: string]: any } {
13946
+ return {
13947
+ arn: 'string',
13948
+ };
13949
+ }
13950
+
13951
+ constructor(map?: { [key: string]: any }) {
13952
+ super(map);
13953
+ }
13954
+ }
13955
+
13862
13956
 
13863
13957
  export default class Client extends OpenApi {
13864
13958
 
@@ -14183,6 +14277,10 @@ export default class Client extends OpenApi {
14183
14277
  request.sourceShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.source, "Source", "json");
14184
14278
  }
14185
14279
 
14280
+ if (!Util.isUnset(tmpReq.transforms)) {
14281
+ request.transformsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.transforms, "Transforms", "json");
14282
+ }
14283
+
14186
14284
  let body : {[key: string ]: any} = { };
14187
14285
  if (!Util.isUnset(request.description)) {
14188
14286
  body["Description"] = request.description;
@@ -14208,6 +14306,10 @@ export default class Client extends OpenApi {
14208
14306
  body["Source"] = request.sourceShrink;
14209
14307
  }
14210
14308
 
14309
+ if (!Util.isUnset(request.transformsShrink)) {
14310
+ body["Transforms"] = request.transformsShrink;
14311
+ }
14312
+
14211
14313
  let req = new $OpenApi.OpenApiRequest({
14212
14314
  body: OpenApiUtil.parseToMap(body),
14213
14315
  });
@@ -16065,6 +16167,10 @@ export default class Client extends OpenApi {
16065
16167
  request.sourceShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.source, "Source", "json");
16066
16168
  }
16067
16169
 
16170
+ if (!Util.isUnset(tmpReq.transforms)) {
16171
+ request.transformsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.transforms, "Transforms", "json");
16172
+ }
16173
+
16068
16174
  let body : {[key: string ]: any} = { };
16069
16175
  if (!Util.isUnset(request.description)) {
16070
16176
  body["Description"] = request.description;
@@ -16090,6 +16196,10 @@ export default class Client extends OpenApi {
16090
16196
  body["Source"] = request.sourceShrink;
16091
16197
  }
16092
16198
 
16199
+ if (!Util.isUnset(request.transformsShrink)) {
16200
+ body["Transforms"] = request.transformsShrink;
16201
+ }
16202
+
16093
16203
  let req = new $OpenApi.OpenApiRequest({
16094
16204
  body: OpenApiUtil.parseToMap(body),
16095
16205
  });