@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/dist/client.d.ts +54 -0
- package/dist/client.js +88 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +110 -0
package/dist/client.d.ts
CHANGED
|
@@ -252,6 +252,7 @@ export declare class CreateEventStreamingRequest extends $tea.Model {
|
|
|
252
252
|
runOptions?: CreateEventStreamingRequestRunOptions;
|
|
253
253
|
sink?: CreateEventStreamingRequestSink;
|
|
254
254
|
source?: CreateEventStreamingRequestSource;
|
|
255
|
+
transforms?: CreateEventStreamingRequestTransforms[];
|
|
255
256
|
static names(): {
|
|
256
257
|
[key: string]: string;
|
|
257
258
|
};
|
|
@@ -269,6 +270,7 @@ export declare class CreateEventStreamingShrinkRequest extends $tea.Model {
|
|
|
269
270
|
runOptionsShrink?: string;
|
|
270
271
|
sinkShrink?: string;
|
|
271
272
|
sourceShrink?: string;
|
|
273
|
+
transformsShrink?: string;
|
|
272
274
|
static names(): {
|
|
273
275
|
[key: string]: string;
|
|
274
276
|
};
|
|
@@ -2031,6 +2033,7 @@ export declare class UpdateEventStreamingRequest extends $tea.Model {
|
|
|
2031
2033
|
runOptions?: UpdateEventStreamingRequestRunOptions;
|
|
2032
2034
|
sink?: UpdateEventStreamingRequestSink;
|
|
2033
2035
|
source?: UpdateEventStreamingRequestSource;
|
|
2036
|
+
transforms?: UpdateEventStreamingRequestTransforms[];
|
|
2034
2037
|
static names(): {
|
|
2035
2038
|
[key: string]: string;
|
|
2036
2039
|
};
|
|
@@ -2048,6 +2051,7 @@ export declare class UpdateEventStreamingShrinkRequest extends $tea.Model {
|
|
|
2048
2051
|
runOptionsShrink?: string;
|
|
2049
2052
|
sinkShrink?: string;
|
|
2050
2053
|
sourceShrink?: string;
|
|
2054
|
+
transformsShrink?: string;
|
|
2051
2055
|
static names(): {
|
|
2052
2056
|
[key: string]: string;
|
|
2053
2057
|
};
|
|
@@ -3549,6 +3553,18 @@ export declare class CreateEventStreamingRequestSource extends $tea.Model {
|
|
|
3549
3553
|
[key: string]: any;
|
|
3550
3554
|
});
|
|
3551
3555
|
}
|
|
3556
|
+
export declare class CreateEventStreamingRequestTransforms extends $tea.Model {
|
|
3557
|
+
arn?: string;
|
|
3558
|
+
static names(): {
|
|
3559
|
+
[key: string]: string;
|
|
3560
|
+
};
|
|
3561
|
+
static types(): {
|
|
3562
|
+
[key: string]: any;
|
|
3563
|
+
};
|
|
3564
|
+
constructor(map?: {
|
|
3565
|
+
[key: string]: any;
|
|
3566
|
+
});
|
|
3567
|
+
}
|
|
3552
3568
|
export declare class CreateEventStreamingResponseBodyData extends $tea.Model {
|
|
3553
3569
|
eventStreamingARN?: string;
|
|
3554
3570
|
static names(): {
|
|
@@ -4720,6 +4736,18 @@ export declare class GetEventStreamingResponseBodyDataSource extends $tea.Model
|
|
|
4720
4736
|
[key: string]: any;
|
|
4721
4737
|
});
|
|
4722
4738
|
}
|
|
4739
|
+
export declare class GetEventStreamingResponseBodyDataTransforms extends $tea.Model {
|
|
4740
|
+
arn?: string;
|
|
4741
|
+
static names(): {
|
|
4742
|
+
[key: string]: string;
|
|
4743
|
+
};
|
|
4744
|
+
static types(): {
|
|
4745
|
+
[key: string]: any;
|
|
4746
|
+
};
|
|
4747
|
+
constructor(map?: {
|
|
4748
|
+
[key: string]: any;
|
|
4749
|
+
});
|
|
4750
|
+
}
|
|
4723
4751
|
export declare class GetEventStreamingResponseBodyData extends $tea.Model {
|
|
4724
4752
|
description?: string;
|
|
4725
4753
|
eventStreamingName?: string;
|
|
@@ -4728,6 +4756,7 @@ export declare class GetEventStreamingResponseBodyData extends $tea.Model {
|
|
|
4728
4756
|
sink?: GetEventStreamingResponseBodyDataSink;
|
|
4729
4757
|
source?: GetEventStreamingResponseBodyDataSource;
|
|
4730
4758
|
status?: string;
|
|
4759
|
+
transforms?: GetEventStreamingResponseBodyDataTransforms[];
|
|
4731
4760
|
static names(): {
|
|
4732
4761
|
[key: string]: string;
|
|
4733
4762
|
};
|
|
@@ -5960,6 +5989,18 @@ export declare class ListEventStreamingsResponseBodyDataEventStreamingsSource ex
|
|
|
5960
5989
|
[key: string]: any;
|
|
5961
5990
|
});
|
|
5962
5991
|
}
|
|
5992
|
+
export declare class ListEventStreamingsResponseBodyDataEventStreamingsTransforms extends $tea.Model {
|
|
5993
|
+
arn?: string;
|
|
5994
|
+
static names(): {
|
|
5995
|
+
[key: string]: string;
|
|
5996
|
+
};
|
|
5997
|
+
static types(): {
|
|
5998
|
+
[key: string]: any;
|
|
5999
|
+
};
|
|
6000
|
+
constructor(map?: {
|
|
6001
|
+
[key: string]: any;
|
|
6002
|
+
});
|
|
6003
|
+
}
|
|
5963
6004
|
export declare class ListEventStreamingsResponseBodyDataEventStreamings extends $tea.Model {
|
|
5964
6005
|
description?: string;
|
|
5965
6006
|
eventStreamingName?: string;
|
|
@@ -5968,6 +6009,7 @@ export declare class ListEventStreamingsResponseBodyDataEventStreamings extends
|
|
|
5968
6009
|
sink?: ListEventStreamingsResponseBodyDataEventStreamingsSink;
|
|
5969
6010
|
source?: ListEventStreamingsResponseBodyDataEventStreamingsSource;
|
|
5970
6011
|
status?: string;
|
|
6012
|
+
transforms?: ListEventStreamingsResponseBodyDataEventStreamingsTransforms[];
|
|
5971
6013
|
static names(): {
|
|
5972
6014
|
[key: string]: string;
|
|
5973
6015
|
};
|
|
@@ -7552,6 +7594,18 @@ export declare class UpdateEventStreamingRequestSource extends $tea.Model {
|
|
|
7552
7594
|
[key: string]: any;
|
|
7553
7595
|
});
|
|
7554
7596
|
}
|
|
7597
|
+
export declare class UpdateEventStreamingRequestTransforms extends $tea.Model {
|
|
7598
|
+
arn?: string;
|
|
7599
|
+
static names(): {
|
|
7600
|
+
[key: string]: string;
|
|
7601
|
+
};
|
|
7602
|
+
static types(): {
|
|
7603
|
+
[key: string]: any;
|
|
7604
|
+
};
|
|
7605
|
+
constructor(map?: {
|
|
7606
|
+
[key: string]: any;
|
|
7607
|
+
});
|
|
7608
|
+
}
|
|
7555
7609
|
export default class Client extends OpenApi {
|
|
7556
7610
|
constructor(config: $OpenApi.Config);
|
|
7557
7611
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
package/dist/client.js
CHANGED
|
@@ -377,6 +377,7 @@ class CreateEventStreamingRequest extends $tea.Model {
|
|
|
377
377
|
runOptions: 'RunOptions',
|
|
378
378
|
sink: 'Sink',
|
|
379
379
|
source: 'Source',
|
|
380
|
+
transforms: 'Transforms',
|
|
380
381
|
};
|
|
381
382
|
}
|
|
382
383
|
static types() {
|
|
@@ -387,6 +388,7 @@ class CreateEventStreamingRequest extends $tea.Model {
|
|
|
387
388
|
runOptions: CreateEventStreamingRequestRunOptions,
|
|
388
389
|
sink: CreateEventStreamingRequestSink,
|
|
389
390
|
source: CreateEventStreamingRequestSource,
|
|
391
|
+
transforms: { 'type': 'array', 'itemType': CreateEventStreamingRequestTransforms },
|
|
390
392
|
};
|
|
391
393
|
}
|
|
392
394
|
}
|
|
@@ -403,6 +405,7 @@ class CreateEventStreamingShrinkRequest extends $tea.Model {
|
|
|
403
405
|
runOptionsShrink: 'RunOptions',
|
|
404
406
|
sinkShrink: 'Sink',
|
|
405
407
|
sourceShrink: 'Source',
|
|
408
|
+
transformsShrink: 'Transforms',
|
|
406
409
|
};
|
|
407
410
|
}
|
|
408
411
|
static types() {
|
|
@@ -413,6 +416,7 @@ class CreateEventStreamingShrinkRequest extends $tea.Model {
|
|
|
413
416
|
runOptionsShrink: 'string',
|
|
414
417
|
sinkShrink: 'string',
|
|
415
418
|
sourceShrink: 'string',
|
|
419
|
+
transformsShrink: 'string',
|
|
416
420
|
};
|
|
417
421
|
}
|
|
418
422
|
}
|
|
@@ -2847,6 +2851,7 @@ class UpdateEventStreamingRequest extends $tea.Model {
|
|
|
2847
2851
|
runOptions: 'RunOptions',
|
|
2848
2852
|
sink: 'Sink',
|
|
2849
2853
|
source: 'Source',
|
|
2854
|
+
transforms: 'Transforms',
|
|
2850
2855
|
};
|
|
2851
2856
|
}
|
|
2852
2857
|
static types() {
|
|
@@ -2857,6 +2862,7 @@ class UpdateEventStreamingRequest extends $tea.Model {
|
|
|
2857
2862
|
runOptions: UpdateEventStreamingRequestRunOptions,
|
|
2858
2863
|
sink: UpdateEventStreamingRequestSink,
|
|
2859
2864
|
source: UpdateEventStreamingRequestSource,
|
|
2865
|
+
transforms: { 'type': 'array', 'itemType': UpdateEventStreamingRequestTransforms },
|
|
2860
2866
|
};
|
|
2861
2867
|
}
|
|
2862
2868
|
}
|
|
@@ -2873,6 +2879,7 @@ class UpdateEventStreamingShrinkRequest extends $tea.Model {
|
|
|
2873
2879
|
runOptionsShrink: 'RunOptions',
|
|
2874
2880
|
sinkShrink: 'Sink',
|
|
2875
2881
|
sourceShrink: 'Source',
|
|
2882
|
+
transformsShrink: 'Transforms',
|
|
2876
2883
|
};
|
|
2877
2884
|
}
|
|
2878
2885
|
static types() {
|
|
@@ -2883,6 +2890,7 @@ class UpdateEventStreamingShrinkRequest extends $tea.Model {
|
|
|
2883
2890
|
runOptionsShrink: 'string',
|
|
2884
2891
|
sinkShrink: 'string',
|
|
2885
2892
|
sourceShrink: 'string',
|
|
2893
|
+
transformsShrink: 'string',
|
|
2886
2894
|
};
|
|
2887
2895
|
}
|
|
2888
2896
|
}
|
|
@@ -5061,6 +5069,22 @@ class CreateEventStreamingRequestSource extends $tea.Model {
|
|
|
5061
5069
|
}
|
|
5062
5070
|
}
|
|
5063
5071
|
exports.CreateEventStreamingRequestSource = CreateEventStreamingRequestSource;
|
|
5072
|
+
class CreateEventStreamingRequestTransforms extends $tea.Model {
|
|
5073
|
+
constructor(map) {
|
|
5074
|
+
super(map);
|
|
5075
|
+
}
|
|
5076
|
+
static names() {
|
|
5077
|
+
return {
|
|
5078
|
+
arn: 'Arn',
|
|
5079
|
+
};
|
|
5080
|
+
}
|
|
5081
|
+
static types() {
|
|
5082
|
+
return {
|
|
5083
|
+
arn: 'string',
|
|
5084
|
+
};
|
|
5085
|
+
}
|
|
5086
|
+
}
|
|
5087
|
+
exports.CreateEventStreamingRequestTransforms = CreateEventStreamingRequestTransforms;
|
|
5064
5088
|
class CreateEventStreamingResponseBodyData extends $tea.Model {
|
|
5065
5089
|
constructor(map) {
|
|
5066
5090
|
super(map);
|
|
@@ -6763,6 +6787,22 @@ class GetEventStreamingResponseBodyDataSource extends $tea.Model {
|
|
|
6763
6787
|
}
|
|
6764
6788
|
}
|
|
6765
6789
|
exports.GetEventStreamingResponseBodyDataSource = GetEventStreamingResponseBodyDataSource;
|
|
6790
|
+
class GetEventStreamingResponseBodyDataTransforms extends $tea.Model {
|
|
6791
|
+
constructor(map) {
|
|
6792
|
+
super(map);
|
|
6793
|
+
}
|
|
6794
|
+
static names() {
|
|
6795
|
+
return {
|
|
6796
|
+
arn: 'Arn',
|
|
6797
|
+
};
|
|
6798
|
+
}
|
|
6799
|
+
static types() {
|
|
6800
|
+
return {
|
|
6801
|
+
arn: 'string',
|
|
6802
|
+
};
|
|
6803
|
+
}
|
|
6804
|
+
}
|
|
6805
|
+
exports.GetEventStreamingResponseBodyDataTransforms = GetEventStreamingResponseBodyDataTransforms;
|
|
6766
6806
|
class GetEventStreamingResponseBodyData extends $tea.Model {
|
|
6767
6807
|
constructor(map) {
|
|
6768
6808
|
super(map);
|
|
@@ -6776,6 +6816,7 @@ class GetEventStreamingResponseBodyData extends $tea.Model {
|
|
|
6776
6816
|
sink: 'Sink',
|
|
6777
6817
|
source: 'Source',
|
|
6778
6818
|
status: 'Status',
|
|
6819
|
+
transforms: 'Transforms',
|
|
6779
6820
|
};
|
|
6780
6821
|
}
|
|
6781
6822
|
static types() {
|
|
@@ -6787,6 +6828,7 @@ class GetEventStreamingResponseBodyData extends $tea.Model {
|
|
|
6787
6828
|
sink: GetEventStreamingResponseBodyDataSink,
|
|
6788
6829
|
source: GetEventStreamingResponseBodyDataSource,
|
|
6789
6830
|
status: 'string',
|
|
6831
|
+
transforms: { 'type': 'array', 'itemType': GetEventStreamingResponseBodyDataTransforms },
|
|
6790
6832
|
};
|
|
6791
6833
|
}
|
|
6792
6834
|
}
|
|
@@ -8575,6 +8617,22 @@ class ListEventStreamingsResponseBodyDataEventStreamingsSource extends $tea.Mode
|
|
|
8575
8617
|
}
|
|
8576
8618
|
}
|
|
8577
8619
|
exports.ListEventStreamingsResponseBodyDataEventStreamingsSource = ListEventStreamingsResponseBodyDataEventStreamingsSource;
|
|
8620
|
+
class ListEventStreamingsResponseBodyDataEventStreamingsTransforms extends $tea.Model {
|
|
8621
|
+
constructor(map) {
|
|
8622
|
+
super(map);
|
|
8623
|
+
}
|
|
8624
|
+
static names() {
|
|
8625
|
+
return {
|
|
8626
|
+
arn: 'Arn',
|
|
8627
|
+
};
|
|
8628
|
+
}
|
|
8629
|
+
static types() {
|
|
8630
|
+
return {
|
|
8631
|
+
arn: 'string',
|
|
8632
|
+
};
|
|
8633
|
+
}
|
|
8634
|
+
}
|
|
8635
|
+
exports.ListEventStreamingsResponseBodyDataEventStreamingsTransforms = ListEventStreamingsResponseBodyDataEventStreamingsTransforms;
|
|
8578
8636
|
class ListEventStreamingsResponseBodyDataEventStreamings extends $tea.Model {
|
|
8579
8637
|
constructor(map) {
|
|
8580
8638
|
super(map);
|
|
@@ -8588,6 +8646,7 @@ class ListEventStreamingsResponseBodyDataEventStreamings extends $tea.Model {
|
|
|
8588
8646
|
sink: 'Sink',
|
|
8589
8647
|
source: 'Source',
|
|
8590
8648
|
status: 'Status',
|
|
8649
|
+
transforms: 'Transforms',
|
|
8591
8650
|
};
|
|
8592
8651
|
}
|
|
8593
8652
|
static types() {
|
|
@@ -8599,6 +8658,7 @@ class ListEventStreamingsResponseBodyDataEventStreamings extends $tea.Model {
|
|
|
8599
8658
|
sink: ListEventStreamingsResponseBodyDataEventStreamingsSink,
|
|
8600
8659
|
source: ListEventStreamingsResponseBodyDataEventStreamingsSource,
|
|
8601
8660
|
status: 'string',
|
|
8661
|
+
transforms: { 'type': 'array', 'itemType': ListEventStreamingsResponseBodyDataEventStreamingsTransforms },
|
|
8602
8662
|
};
|
|
8603
8663
|
}
|
|
8604
8664
|
}
|
|
@@ -10923,6 +10983,22 @@ class UpdateEventStreamingRequestSource extends $tea.Model {
|
|
|
10923
10983
|
}
|
|
10924
10984
|
}
|
|
10925
10985
|
exports.UpdateEventStreamingRequestSource = UpdateEventStreamingRequestSource;
|
|
10986
|
+
class UpdateEventStreamingRequestTransforms extends $tea.Model {
|
|
10987
|
+
constructor(map) {
|
|
10988
|
+
super(map);
|
|
10989
|
+
}
|
|
10990
|
+
static names() {
|
|
10991
|
+
return {
|
|
10992
|
+
arn: 'Arn',
|
|
10993
|
+
};
|
|
10994
|
+
}
|
|
10995
|
+
static types() {
|
|
10996
|
+
return {
|
|
10997
|
+
arn: 'string',
|
|
10998
|
+
};
|
|
10999
|
+
}
|
|
11000
|
+
}
|
|
11001
|
+
exports.UpdateEventStreamingRequestTransforms = UpdateEventStreamingRequestTransforms;
|
|
10926
11002
|
class Client extends openapi_client_1.default {
|
|
10927
11003
|
constructor(config) {
|
|
10928
11004
|
super(config);
|
|
@@ -11199,6 +11275,9 @@ class Client extends openapi_client_1.default {
|
|
|
11199
11275
|
if (!tea_util_1.default.isUnset(tmpReq.source)) {
|
|
11200
11276
|
request.sourceShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.source, "Source", "json");
|
|
11201
11277
|
}
|
|
11278
|
+
if (!tea_util_1.default.isUnset(tmpReq.transforms)) {
|
|
11279
|
+
request.transformsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.transforms, "Transforms", "json");
|
|
11280
|
+
}
|
|
11202
11281
|
let body = {};
|
|
11203
11282
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
11204
11283
|
body["Description"] = request.description;
|
|
@@ -11218,6 +11297,9 @@ class Client extends openapi_client_1.default {
|
|
|
11218
11297
|
if (!tea_util_1.default.isUnset(request.sourceShrink)) {
|
|
11219
11298
|
body["Source"] = request.sourceShrink;
|
|
11220
11299
|
}
|
|
11300
|
+
if (!tea_util_1.default.isUnset(request.transformsShrink)) {
|
|
11301
|
+
body["Transforms"] = request.transformsShrink;
|
|
11302
|
+
}
|
|
11221
11303
|
let req = new $OpenApi.OpenApiRequest({
|
|
11222
11304
|
body: openapi_util_1.default.parseToMap(body),
|
|
11223
11305
|
});
|
|
@@ -12887,6 +12969,9 @@ class Client extends openapi_client_1.default {
|
|
|
12887
12969
|
if (!tea_util_1.default.isUnset(tmpReq.source)) {
|
|
12888
12970
|
request.sourceShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.source, "Source", "json");
|
|
12889
12971
|
}
|
|
12972
|
+
if (!tea_util_1.default.isUnset(tmpReq.transforms)) {
|
|
12973
|
+
request.transformsShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.transforms, "Transforms", "json");
|
|
12974
|
+
}
|
|
12890
12975
|
let body = {};
|
|
12891
12976
|
if (!tea_util_1.default.isUnset(request.description)) {
|
|
12892
12977
|
body["Description"] = request.description;
|
|
@@ -12906,6 +12991,9 @@ class Client extends openapi_client_1.default {
|
|
|
12906
12991
|
if (!tea_util_1.default.isUnset(request.sourceShrink)) {
|
|
12907
12992
|
body["Source"] = request.sourceShrink;
|
|
12908
12993
|
}
|
|
12994
|
+
if (!tea_util_1.default.isUnset(request.transformsShrink)) {
|
|
12995
|
+
body["Transforms"] = request.transformsShrink;
|
|
12996
|
+
}
|
|
12909
12997
|
let req = new $OpenApi.OpenApiRequest({
|
|
12910
12998
|
body: openapi_util_1.default.parseToMap(body),
|
|
12911
12999
|
});
|