@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -2651,10 +2651,12 @@ export class PutTargetsResponse extends $tea.Model {
|
|
|
2651
2651
|
export class QueryEventRequest extends $tea.Model {
|
|
2652
2652
|
eventBusName?: string;
|
|
2653
2653
|
eventId?: string;
|
|
2654
|
+
eventSource?: string;
|
|
2654
2655
|
static names(): { [key: string]: string } {
|
|
2655
2656
|
return {
|
|
2656
2657
|
eventBusName: 'EventBusName',
|
|
2657
2658
|
eventId: 'EventId',
|
|
2659
|
+
eventSource: 'EventSource',
|
|
2658
2660
|
};
|
|
2659
2661
|
}
|
|
2660
2662
|
|
|
@@ -2662,6 +2664,7 @@ export class QueryEventRequest extends $tea.Model {
|
|
|
2662
2664
|
return {
|
|
2663
2665
|
eventBusName: 'string',
|
|
2664
2666
|
eventId: 'string',
|
|
2667
|
+
eventSource: 'string',
|
|
2665
2668
|
};
|
|
2666
2669
|
}
|
|
2667
2670
|
|
|
@@ -4331,7 +4334,7 @@ export class CreateEventSourceRequestSourceSLSParameters extends $tea.Model {
|
|
|
4331
4334
|
export class CreateEventSourceRequestSourceScheduledEventParameters extends $tea.Model {
|
|
4332
4335
|
schedule?: string;
|
|
4333
4336
|
timeZone?: string;
|
|
4334
|
-
userData?:
|
|
4337
|
+
userData?: string;
|
|
4335
4338
|
static names(): { [key: string]: string } {
|
|
4336
4339
|
return {
|
|
4337
4340
|
schedule: 'Schedule',
|
|
@@ -4344,7 +4347,7 @@ export class CreateEventSourceRequestSourceScheduledEventParameters extends $tea
|
|
|
4344
4347
|
return {
|
|
4345
4348
|
schedule: 'string',
|
|
4346
4349
|
timeZone: 'string',
|
|
4347
|
-
userData:
|
|
4350
|
+
userData: 'string',
|
|
4348
4351
|
};
|
|
4349
4352
|
}
|
|
4350
4353
|
|
|
@@ -8420,8 +8423,17 @@ export class GetEventStreamingResponseBodyDataSourceSourceRabbitMQParameters ext
|
|
|
8420
8423
|
}
|
|
8421
8424
|
|
|
8422
8425
|
export class GetEventStreamingResponseBodyDataSourceSourceRocketMQParameters extends $tea.Model {
|
|
8426
|
+
authType?: string;
|
|
8423
8427
|
groupID?: string;
|
|
8428
|
+
instanceEndpoint?: string;
|
|
8424
8429
|
instanceId?: string;
|
|
8430
|
+
instanceNetwork?: string;
|
|
8431
|
+
instancePassword?: string;
|
|
8432
|
+
instanceSecurityGroupId?: string;
|
|
8433
|
+
instanceType?: string;
|
|
8434
|
+
instanceUsername?: string;
|
|
8435
|
+
instanceVSwitchIds?: string;
|
|
8436
|
+
instanceVpcId?: string;
|
|
8425
8437
|
offset?: string;
|
|
8426
8438
|
regionId?: string;
|
|
8427
8439
|
tag?: string;
|
|
@@ -8429,8 +8441,17 @@ export class GetEventStreamingResponseBodyDataSourceSourceRocketMQParameters ext
|
|
|
8429
8441
|
topic?: string;
|
|
8430
8442
|
static names(): { [key: string]: string } {
|
|
8431
8443
|
return {
|
|
8444
|
+
authType: 'AuthType',
|
|
8432
8445
|
groupID: 'GroupID',
|
|
8446
|
+
instanceEndpoint: 'InstanceEndpoint',
|
|
8433
8447
|
instanceId: 'InstanceId',
|
|
8448
|
+
instanceNetwork: 'InstanceNetwork',
|
|
8449
|
+
instancePassword: 'InstancePassword',
|
|
8450
|
+
instanceSecurityGroupId: 'InstanceSecurityGroupId',
|
|
8451
|
+
instanceType: 'InstanceType',
|
|
8452
|
+
instanceUsername: 'InstanceUsername',
|
|
8453
|
+
instanceVSwitchIds: 'InstanceVSwitchIds',
|
|
8454
|
+
instanceVpcId: 'InstanceVpcId',
|
|
8434
8455
|
offset: 'Offset',
|
|
8435
8456
|
regionId: 'RegionId',
|
|
8436
8457
|
tag: 'Tag',
|
|
@@ -8441,8 +8462,17 @@ export class GetEventStreamingResponseBodyDataSourceSourceRocketMQParameters ext
|
|
|
8441
8462
|
|
|
8442
8463
|
static types(): { [key: string]: any } {
|
|
8443
8464
|
return {
|
|
8465
|
+
authType: 'string',
|
|
8444
8466
|
groupID: 'string',
|
|
8467
|
+
instanceEndpoint: 'string',
|
|
8445
8468
|
instanceId: 'string',
|
|
8469
|
+
instanceNetwork: 'string',
|
|
8470
|
+
instancePassword: 'string',
|
|
8471
|
+
instanceSecurityGroupId: 'string',
|
|
8472
|
+
instanceType: 'string',
|
|
8473
|
+
instanceUsername: 'string',
|
|
8474
|
+
instanceVSwitchIds: 'string',
|
|
8475
|
+
instanceVpcId: 'string',
|
|
8446
8476
|
offset: 'string',
|
|
8447
8477
|
regionId: 'string',
|
|
8448
8478
|
tag: 'string',
|
|
@@ -10696,8 +10726,17 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceRabbi
|
|
|
10696
10726
|
}
|
|
10697
10727
|
|
|
10698
10728
|
export class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceRocketMQParameters extends $tea.Model {
|
|
10729
|
+
authType?: string;
|
|
10699
10730
|
groupID?: string;
|
|
10731
|
+
instanceEndpoint?: string;
|
|
10700
10732
|
instanceId?: string;
|
|
10733
|
+
instanceNetwork?: string;
|
|
10734
|
+
instancePassword?: string;
|
|
10735
|
+
instanceSecurityGroupId?: string;
|
|
10736
|
+
instanceType?: string;
|
|
10737
|
+
instanceUsername?: string;
|
|
10738
|
+
instanceVSwitchIds?: string;
|
|
10739
|
+
instanceVpcId?: string;
|
|
10701
10740
|
offset?: string;
|
|
10702
10741
|
regionId?: string;
|
|
10703
10742
|
tag?: string;
|
|
@@ -10705,8 +10744,17 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceRocke
|
|
|
10705
10744
|
topic?: string;
|
|
10706
10745
|
static names(): { [key: string]: string } {
|
|
10707
10746
|
return {
|
|
10747
|
+
authType: 'AuthType',
|
|
10708
10748
|
groupID: 'GroupID',
|
|
10749
|
+
instanceEndpoint: 'InstanceEndpoint',
|
|
10709
10750
|
instanceId: 'InstanceId',
|
|
10751
|
+
instanceNetwork: 'InstanceNetwork',
|
|
10752
|
+
instancePassword: 'InstancePassword',
|
|
10753
|
+
instanceSecurityGroupId: 'InstanceSecurityGroupId',
|
|
10754
|
+
instanceType: 'InstanceType',
|
|
10755
|
+
instanceUsername: 'InstanceUsername',
|
|
10756
|
+
instanceVSwitchIds: 'InstanceVSwitchIds',
|
|
10757
|
+
instanceVpcId: 'InstanceVpcId',
|
|
10710
10758
|
offset: 'Offset',
|
|
10711
10759
|
regionId: 'RegionId',
|
|
10712
10760
|
tag: 'Tag',
|
|
@@ -10717,8 +10765,17 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceRocke
|
|
|
10717
10765
|
|
|
10718
10766
|
static types(): { [key: string]: any } {
|
|
10719
10767
|
return {
|
|
10768
|
+
authType: 'string',
|
|
10720
10769
|
groupID: 'string',
|
|
10770
|
+
instanceEndpoint: 'string',
|
|
10721
10771
|
instanceId: 'string',
|
|
10772
|
+
instanceNetwork: 'string',
|
|
10773
|
+
instancePassword: 'string',
|
|
10774
|
+
instanceSecurityGroupId: 'string',
|
|
10775
|
+
instanceType: 'string',
|
|
10776
|
+
instanceUsername: 'string',
|
|
10777
|
+
instanceVSwitchIds: 'string',
|
|
10778
|
+
instanceVpcId: 'string',
|
|
10722
10779
|
offset: 'string',
|
|
10723
10780
|
regionId: 'string',
|
|
10724
10781
|
tag: 'string',
|
|
@@ -11282,10 +11339,12 @@ export class ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceSLS
|
|
|
11282
11339
|
export class ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceScheduledEventParameters extends $tea.Model {
|
|
11283
11340
|
schedule?: string;
|
|
11284
11341
|
timeZone?: string;
|
|
11342
|
+
userData?: string;
|
|
11285
11343
|
static names(): { [key: string]: string } {
|
|
11286
11344
|
return {
|
|
11287
11345
|
schedule: 'Schedule',
|
|
11288
11346
|
timeZone: 'TimeZone',
|
|
11347
|
+
userData: 'UserData',
|
|
11289
11348
|
};
|
|
11290
11349
|
}
|
|
11291
11350
|
|
|
@@ -11293,6 +11352,7 @@ export class ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceSch
|
|
|
11293
11352
|
return {
|
|
11294
11353
|
schedule: 'string',
|
|
11295
11354
|
timeZone: 'string',
|
|
11355
|
+
userData: 'string',
|
|
11296
11356
|
};
|
|
11297
11357
|
}
|
|
11298
11358
|
|
|
@@ -12189,10 +12249,12 @@ export class UpdateEventSourceRequestSourceSLSParameters extends $tea.Model {
|
|
|
12189
12249
|
export class UpdateEventSourceRequestSourceScheduledEventParameters extends $tea.Model {
|
|
12190
12250
|
schedule?: string;
|
|
12191
12251
|
timeZone?: string;
|
|
12252
|
+
userData?: string;
|
|
12192
12253
|
static names(): { [key: string]: string } {
|
|
12193
12254
|
return {
|
|
12194
12255
|
schedule: 'Schedule',
|
|
12195
12256
|
timeZone: 'TimeZone',
|
|
12257
|
+
userData: 'UserData',
|
|
12196
12258
|
};
|
|
12197
12259
|
}
|
|
12198
12260
|
|
|
@@ -12200,6 +12262,7 @@ export class UpdateEventSourceRequestSourceScheduledEventParameters extends $tea
|
|
|
12200
12262
|
return {
|
|
12201
12263
|
schedule: 'string',
|
|
12202
12264
|
timeZone: 'string',
|
|
12265
|
+
userData: 'string',
|
|
12203
12266
|
};
|
|
12204
12267
|
}
|
|
12205
12268
|
|
|
@@ -13677,8 +13740,17 @@ export class UpdateEventStreamingRequestSourceSourceRabbitMQParameters extends $
|
|
|
13677
13740
|
}
|
|
13678
13741
|
|
|
13679
13742
|
export class UpdateEventStreamingRequestSourceSourceRocketMQParameters extends $tea.Model {
|
|
13743
|
+
authType?: string;
|
|
13680
13744
|
groupID?: string;
|
|
13745
|
+
instanceEndpoint?: string;
|
|
13681
13746
|
instanceId?: string;
|
|
13747
|
+
instanceNetwork?: string;
|
|
13748
|
+
instancePassword?: string;
|
|
13749
|
+
instanceSecurityGroupId?: string;
|
|
13750
|
+
instanceType?: string;
|
|
13751
|
+
instanceUsername?: string;
|
|
13752
|
+
instanceVSwitchIds?: string;
|
|
13753
|
+
instanceVpcId?: string;
|
|
13682
13754
|
offset?: string;
|
|
13683
13755
|
regionId?: string;
|
|
13684
13756
|
tag?: string;
|
|
@@ -13686,8 +13758,17 @@ export class UpdateEventStreamingRequestSourceSourceRocketMQParameters extends $
|
|
|
13686
13758
|
topic?: string;
|
|
13687
13759
|
static names(): { [key: string]: string } {
|
|
13688
13760
|
return {
|
|
13761
|
+
authType: 'AuthType',
|
|
13689
13762
|
groupID: 'GroupID',
|
|
13763
|
+
instanceEndpoint: 'InstanceEndpoint',
|
|
13690
13764
|
instanceId: 'InstanceId',
|
|
13765
|
+
instanceNetwork: 'InstanceNetwork',
|
|
13766
|
+
instancePassword: 'InstancePassword',
|
|
13767
|
+
instanceSecurityGroupId: 'InstanceSecurityGroupId',
|
|
13768
|
+
instanceType: 'InstanceType',
|
|
13769
|
+
instanceUsername: 'InstanceUsername',
|
|
13770
|
+
instanceVSwitchIds: 'InstanceVSwitchIds',
|
|
13771
|
+
instanceVpcId: 'InstanceVpcId',
|
|
13691
13772
|
offset: 'Offset',
|
|
13692
13773
|
regionId: 'RegionId',
|
|
13693
13774
|
tag: 'Tag',
|
|
@@ -13698,8 +13779,17 @@ export class UpdateEventStreamingRequestSourceSourceRocketMQParameters extends $
|
|
|
13698
13779
|
|
|
13699
13780
|
static types(): { [key: string]: any } {
|
|
13700
13781
|
return {
|
|
13782
|
+
authType: 'string',
|
|
13701
13783
|
groupID: 'string',
|
|
13784
|
+
instanceEndpoint: 'string',
|
|
13702
13785
|
instanceId: 'string',
|
|
13786
|
+
instanceNetwork: 'string',
|
|
13787
|
+
instancePassword: 'string',
|
|
13788
|
+
instanceSecurityGroupId: 'string',
|
|
13789
|
+
instanceType: 'string',
|
|
13790
|
+
instanceUsername: 'string',
|
|
13791
|
+
instanceVSwitchIds: 'string',
|
|
13792
|
+
instanceVpcId: 'string',
|
|
13703
13793
|
offset: 'string',
|
|
13704
13794
|
regionId: 'string',
|
|
13705
13795
|
tag: 'string',
|
|
@@ -15388,6 +15478,10 @@ export default class Client extends OpenApi {
|
|
|
15388
15478
|
query["EventId"] = request.eventId;
|
|
15389
15479
|
}
|
|
15390
15480
|
|
|
15481
|
+
if (!Util.isUnset(request.eventSource)) {
|
|
15482
|
+
query["EventSource"] = request.eventSource;
|
|
15483
|
+
}
|
|
15484
|
+
|
|
15391
15485
|
let req = new $OpenApi.OpenApiRequest({
|
|
15392
15486
|
query: OpenApiUtil.query(query),
|
|
15393
15487
|
});
|