@alicloud/eventbridge20200401 1.0.1 → 1.0.2
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 +31 -3
- package/dist/client.js +64 -1
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +96 -2
package/dist/client.d.ts
CHANGED
|
@@ -1510,6 +1510,7 @@ export declare class PutTargetsResponse extends $tea.Model {
|
|
|
1510
1510
|
export declare class QueryEventRequest extends $tea.Model {
|
|
1511
1511
|
eventBusName?: string;
|
|
1512
1512
|
eventId?: string;
|
|
1513
|
+
eventSource?: string;
|
|
1513
1514
|
static names(): {
|
|
1514
1515
|
[key: string]: string;
|
|
1515
1516
|
};
|
|
@@ -2436,9 +2437,7 @@ export declare class CreateEventSourceRequestSourceSLSParameters extends $tea.Mo
|
|
|
2436
2437
|
export declare class CreateEventSourceRequestSourceScheduledEventParameters extends $tea.Model {
|
|
2437
2438
|
schedule?: string;
|
|
2438
2439
|
timeZone?: string;
|
|
2439
|
-
userData?:
|
|
2440
|
-
[key: string]: any;
|
|
2441
|
-
};
|
|
2440
|
+
userData?: string;
|
|
2442
2441
|
static names(): {
|
|
2443
2442
|
[key: string]: string;
|
|
2444
2443
|
};
|
|
@@ -4661,8 +4660,17 @@ export declare class GetEventStreamingResponseBodyDataSourceSourceRabbitMQParame
|
|
|
4661
4660
|
});
|
|
4662
4661
|
}
|
|
4663
4662
|
export declare class GetEventStreamingResponseBodyDataSourceSourceRocketMQParameters extends $tea.Model {
|
|
4663
|
+
authType?: string;
|
|
4664
4664
|
groupID?: string;
|
|
4665
|
+
instanceEndpoint?: string;
|
|
4665
4666
|
instanceId?: string;
|
|
4667
|
+
instanceNetwork?: string;
|
|
4668
|
+
instancePassword?: string;
|
|
4669
|
+
instanceSecurityGroupId?: string;
|
|
4670
|
+
instanceType?: string;
|
|
4671
|
+
instanceUsername?: string;
|
|
4672
|
+
instanceVSwitchIds?: string;
|
|
4673
|
+
instanceVpcId?: string;
|
|
4666
4674
|
offset?: string;
|
|
4667
4675
|
regionId?: string;
|
|
4668
4676
|
tag?: string;
|
|
@@ -5892,8 +5900,17 @@ export declare class ListEventStreamingsResponseBodyDataEventStreamingsSourceSou
|
|
|
5892
5900
|
});
|
|
5893
5901
|
}
|
|
5894
5902
|
export declare class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceRocketMQParameters extends $tea.Model {
|
|
5903
|
+
authType?: string;
|
|
5895
5904
|
groupID?: string;
|
|
5905
|
+
instanceEndpoint?: string;
|
|
5896
5906
|
instanceId?: string;
|
|
5907
|
+
instanceNetwork?: string;
|
|
5908
|
+
instancePassword?: string;
|
|
5909
|
+
instanceSecurityGroupId?: string;
|
|
5910
|
+
instanceType?: string;
|
|
5911
|
+
instanceUsername?: string;
|
|
5912
|
+
instanceVSwitchIds?: string;
|
|
5913
|
+
instanceVpcId?: string;
|
|
5897
5914
|
offset?: string;
|
|
5898
5915
|
regionId?: string;
|
|
5899
5916
|
tag?: string;
|
|
@@ -6187,6 +6204,7 @@ export declare class ListUserDefinedEventSourcesResponseBodyDataEventSourceListS
|
|
|
6187
6204
|
export declare class ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceScheduledEventParameters extends $tea.Model {
|
|
6188
6205
|
schedule?: string;
|
|
6189
6206
|
timeZone?: string;
|
|
6207
|
+
userData?: string;
|
|
6190
6208
|
static names(): {
|
|
6191
6209
|
[key: string]: string;
|
|
6192
6210
|
};
|
|
@@ -6665,6 +6683,7 @@ export declare class UpdateEventSourceRequestSourceSLSParameters extends $tea.Mo
|
|
|
6665
6683
|
export declare class UpdateEventSourceRequestSourceScheduledEventParameters extends $tea.Model {
|
|
6666
6684
|
schedule?: string;
|
|
6667
6685
|
timeZone?: string;
|
|
6686
|
+
userData?: string;
|
|
6668
6687
|
static names(): {
|
|
6669
6688
|
[key: string]: string;
|
|
6670
6689
|
};
|
|
@@ -7477,8 +7496,17 @@ export declare class UpdateEventStreamingRequestSourceSourceRabbitMQParameters e
|
|
|
7477
7496
|
});
|
|
7478
7497
|
}
|
|
7479
7498
|
export declare class UpdateEventStreamingRequestSourceSourceRocketMQParameters extends $tea.Model {
|
|
7499
|
+
authType?: string;
|
|
7480
7500
|
groupID?: string;
|
|
7501
|
+
instanceEndpoint?: string;
|
|
7481
7502
|
instanceId?: string;
|
|
7503
|
+
instanceNetwork?: string;
|
|
7504
|
+
instancePassword?: string;
|
|
7505
|
+
instanceSecurityGroupId?: string;
|
|
7506
|
+
instanceType?: string;
|
|
7507
|
+
instanceUsername?: string;
|
|
7508
|
+
instanceVSwitchIds?: string;
|
|
7509
|
+
instanceVpcId?: string;
|
|
7482
7510
|
offset?: string;
|
|
7483
7511
|
regionId?: string;
|
|
7484
7512
|
tag?: string;
|
package/dist/client.js
CHANGED
|
@@ -2117,12 +2117,14 @@ class QueryEventRequest extends $tea.Model {
|
|
|
2117
2117
|
return {
|
|
2118
2118
|
eventBusName: 'EventBusName',
|
|
2119
2119
|
eventId: 'EventId',
|
|
2120
|
+
eventSource: 'EventSource',
|
|
2120
2121
|
};
|
|
2121
2122
|
}
|
|
2122
2123
|
static types() {
|
|
2123
2124
|
return {
|
|
2124
2125
|
eventBusName: 'string',
|
|
2125
2126
|
eventId: 'string',
|
|
2127
|
+
eventSource: 'string',
|
|
2126
2128
|
};
|
|
2127
2129
|
}
|
|
2128
2130
|
}
|
|
@@ -3444,7 +3446,7 @@ class CreateEventSourceRequestSourceScheduledEventParameters extends $tea.Model
|
|
|
3444
3446
|
return {
|
|
3445
3447
|
schedule: 'string',
|
|
3446
3448
|
timeZone: 'string',
|
|
3447
|
-
userData:
|
|
3449
|
+
userData: 'string',
|
|
3448
3450
|
};
|
|
3449
3451
|
}
|
|
3450
3452
|
}
|
|
@@ -6669,8 +6671,17 @@ class GetEventStreamingResponseBodyDataSourceSourceRocketMQParameters extends $t
|
|
|
6669
6671
|
}
|
|
6670
6672
|
static names() {
|
|
6671
6673
|
return {
|
|
6674
|
+
authType: 'AuthType',
|
|
6672
6675
|
groupID: 'GroupID',
|
|
6676
|
+
instanceEndpoint: 'InstanceEndpoint',
|
|
6673
6677
|
instanceId: 'InstanceId',
|
|
6678
|
+
instanceNetwork: 'InstanceNetwork',
|
|
6679
|
+
instancePassword: 'InstancePassword',
|
|
6680
|
+
instanceSecurityGroupId: 'InstanceSecurityGroupId',
|
|
6681
|
+
instanceType: 'InstanceType',
|
|
6682
|
+
instanceUsername: 'InstanceUsername',
|
|
6683
|
+
instanceVSwitchIds: 'InstanceVSwitchIds',
|
|
6684
|
+
instanceVpcId: 'InstanceVpcId',
|
|
6674
6685
|
offset: 'Offset',
|
|
6675
6686
|
regionId: 'RegionId',
|
|
6676
6687
|
tag: 'Tag',
|
|
@@ -6680,8 +6691,17 @@ class GetEventStreamingResponseBodyDataSourceSourceRocketMQParameters extends $t
|
|
|
6680
6691
|
}
|
|
6681
6692
|
static types() {
|
|
6682
6693
|
return {
|
|
6694
|
+
authType: 'string',
|
|
6683
6695
|
groupID: 'string',
|
|
6696
|
+
instanceEndpoint: 'string',
|
|
6684
6697
|
instanceId: 'string',
|
|
6698
|
+
instanceNetwork: 'string',
|
|
6699
|
+
instancePassword: 'string',
|
|
6700
|
+
instanceSecurityGroupId: 'string',
|
|
6701
|
+
instanceType: 'string',
|
|
6702
|
+
instanceUsername: 'string',
|
|
6703
|
+
instanceVSwitchIds: 'string',
|
|
6704
|
+
instanceVpcId: 'string',
|
|
6685
6705
|
offset: 'string',
|
|
6686
6706
|
regionId: 'string',
|
|
6687
6707
|
tag: 'string',
|
|
@@ -8463,8 +8483,17 @@ class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceRocketMQPara
|
|
|
8463
8483
|
}
|
|
8464
8484
|
static names() {
|
|
8465
8485
|
return {
|
|
8486
|
+
authType: 'AuthType',
|
|
8466
8487
|
groupID: 'GroupID',
|
|
8488
|
+
instanceEndpoint: 'InstanceEndpoint',
|
|
8467
8489
|
instanceId: 'InstanceId',
|
|
8490
|
+
instanceNetwork: 'InstanceNetwork',
|
|
8491
|
+
instancePassword: 'InstancePassword',
|
|
8492
|
+
instanceSecurityGroupId: 'InstanceSecurityGroupId',
|
|
8493
|
+
instanceType: 'InstanceType',
|
|
8494
|
+
instanceUsername: 'InstanceUsername',
|
|
8495
|
+
instanceVSwitchIds: 'InstanceVSwitchIds',
|
|
8496
|
+
instanceVpcId: 'InstanceVpcId',
|
|
8468
8497
|
offset: 'Offset',
|
|
8469
8498
|
regionId: 'RegionId',
|
|
8470
8499
|
tag: 'Tag',
|
|
@@ -8474,8 +8503,17 @@ class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceRocketMQPara
|
|
|
8474
8503
|
}
|
|
8475
8504
|
static types() {
|
|
8476
8505
|
return {
|
|
8506
|
+
authType: 'string',
|
|
8477
8507
|
groupID: 'string',
|
|
8508
|
+
instanceEndpoint: 'string',
|
|
8478
8509
|
instanceId: 'string',
|
|
8510
|
+
instanceNetwork: 'string',
|
|
8511
|
+
instancePassword: 'string',
|
|
8512
|
+
instanceSecurityGroupId: 'string',
|
|
8513
|
+
instanceType: 'string',
|
|
8514
|
+
instanceUsername: 'string',
|
|
8515
|
+
instanceVSwitchIds: 'string',
|
|
8516
|
+
instanceVpcId: 'string',
|
|
8479
8517
|
offset: 'string',
|
|
8480
8518
|
regionId: 'string',
|
|
8481
8519
|
tag: 'string',
|
|
@@ -8911,12 +8949,14 @@ class ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceScheduledE
|
|
|
8911
8949
|
return {
|
|
8912
8950
|
schedule: 'Schedule',
|
|
8913
8951
|
timeZone: 'TimeZone',
|
|
8952
|
+
userData: 'UserData',
|
|
8914
8953
|
};
|
|
8915
8954
|
}
|
|
8916
8955
|
static types() {
|
|
8917
8956
|
return {
|
|
8918
8957
|
schedule: 'string',
|
|
8919
8958
|
timeZone: 'string',
|
|
8959
|
+
userData: 'string',
|
|
8920
8960
|
};
|
|
8921
8961
|
}
|
|
8922
8962
|
}
|
|
@@ -9619,12 +9659,14 @@ class UpdateEventSourceRequestSourceScheduledEventParameters extends $tea.Model
|
|
|
9619
9659
|
return {
|
|
9620
9660
|
schedule: 'Schedule',
|
|
9621
9661
|
timeZone: 'TimeZone',
|
|
9662
|
+
userData: 'UserData',
|
|
9622
9663
|
};
|
|
9623
9664
|
}
|
|
9624
9665
|
static types() {
|
|
9625
9666
|
return {
|
|
9626
9667
|
schedule: 'string',
|
|
9627
9668
|
timeZone: 'string',
|
|
9669
|
+
userData: 'string',
|
|
9628
9670
|
};
|
|
9629
9671
|
}
|
|
9630
9672
|
}
|
|
@@ -10797,8 +10839,17 @@ class UpdateEventStreamingRequestSourceSourceRocketMQParameters extends $tea.Mod
|
|
|
10797
10839
|
}
|
|
10798
10840
|
static names() {
|
|
10799
10841
|
return {
|
|
10842
|
+
authType: 'AuthType',
|
|
10800
10843
|
groupID: 'GroupID',
|
|
10844
|
+
instanceEndpoint: 'InstanceEndpoint',
|
|
10801
10845
|
instanceId: 'InstanceId',
|
|
10846
|
+
instanceNetwork: 'InstanceNetwork',
|
|
10847
|
+
instancePassword: 'InstancePassword',
|
|
10848
|
+
instanceSecurityGroupId: 'InstanceSecurityGroupId',
|
|
10849
|
+
instanceType: 'InstanceType',
|
|
10850
|
+
instanceUsername: 'InstanceUsername',
|
|
10851
|
+
instanceVSwitchIds: 'InstanceVSwitchIds',
|
|
10852
|
+
instanceVpcId: 'InstanceVpcId',
|
|
10802
10853
|
offset: 'Offset',
|
|
10803
10854
|
regionId: 'RegionId',
|
|
10804
10855
|
tag: 'Tag',
|
|
@@ -10808,8 +10859,17 @@ class UpdateEventStreamingRequestSourceSourceRocketMQParameters extends $tea.Mod
|
|
|
10808
10859
|
}
|
|
10809
10860
|
static types() {
|
|
10810
10861
|
return {
|
|
10862
|
+
authType: 'string',
|
|
10811
10863
|
groupID: 'string',
|
|
10864
|
+
instanceEndpoint: 'string',
|
|
10812
10865
|
instanceId: 'string',
|
|
10866
|
+
instanceNetwork: 'string',
|
|
10867
|
+
instancePassword: 'string',
|
|
10868
|
+
instanceSecurityGroupId: 'string',
|
|
10869
|
+
instanceType: 'string',
|
|
10870
|
+
instanceUsername: 'string',
|
|
10871
|
+
instanceVSwitchIds: 'string',
|
|
10872
|
+
instanceVpcId: 'string',
|
|
10813
10873
|
offset: 'string',
|
|
10814
10874
|
regionId: 'string',
|
|
10815
10875
|
tag: 'string',
|
|
@@ -12310,6 +12370,9 @@ class Client extends openapi_client_1.default {
|
|
|
12310
12370
|
if (!tea_util_1.default.isUnset(request.eventId)) {
|
|
12311
12371
|
query["EventId"] = request.eventId;
|
|
12312
12372
|
}
|
|
12373
|
+
if (!tea_util_1.default.isUnset(request.eventSource)) {
|
|
12374
|
+
query["EventSource"] = request.eventSource;
|
|
12375
|
+
}
|
|
12313
12376
|
let req = new $OpenApi.OpenApiRequest({
|
|
12314
12377
|
query: openapi_util_1.default.query(query),
|
|
12315
12378
|
});
|