@alicloud/eventbridge20200401 5.1.0 → 5.1.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.js +12 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEventSourceRequest.d.ts +32 -0
- package/dist/models/CreateEventSourceRequest.js +60 -1
- package/dist/models/CreateEventSourceRequest.js.map +1 -1
- package/dist/models/CreateEventSourceShrinkRequest.d.ts +1 -0
- package/dist/models/CreateEventSourceShrinkRequest.js +2 -0
- package/dist/models/CreateEventSourceShrinkRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingRequest.d.ts +158 -0
- package/dist/models/CreateEventStreamingRequest.js +283 -3
- package/dist/models/CreateEventStreamingRequest.js.map +1 -1
- package/dist/models/GetEventStreamingResponseBody.d.ts +158 -0
- package/dist/models/GetEventStreamingResponseBody.js +283 -3
- package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
- package/dist/models/ListEventStreamingsResponseBody.d.ts +142 -0
- package/dist/models/ListEventStreamingsResponseBody.js +255 -3
- package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
- package/dist/models/ListUserDefinedEventSourcesResponseBody.d.ts +16 -0
- package/dist/models/ListUserDefinedEventSourcesResponseBody.js +32 -1
- package/dist/models/ListUserDefinedEventSourcesResponseBody.js.map +1 -1
- package/dist/models/UpdateEventSourceRequest.d.ts +32 -0
- package/dist/models/UpdateEventSourceRequest.js +60 -1
- package/dist/models/UpdateEventSourceRequest.js.map +1 -1
- package/dist/models/UpdateEventSourceShrinkRequest.d.ts +1 -0
- package/dist/models/UpdateEventSourceShrinkRequest.js +2 -0
- package/dist/models/UpdateEventSourceShrinkRequest.js.map +1 -1
- package/dist/models/UpdateEventStreamingRequest.d.ts +158 -0
- package/dist/models/UpdateEventStreamingRequest.js +283 -3
- package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
- package/dist/models/model.d.ts +40 -0
- package/dist/models/model.js +629 -548
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +16 -0
- package/src/models/CreateEventSourceRequest.ts +73 -0
- package/src/models/CreateEventSourceShrinkRequest.ts +3 -0
- package/src/models/CreateEventStreamingRequest.ts +357 -0
- package/src/models/GetEventStreamingResponseBody.ts +357 -0
- package/src/models/ListEventStreamingsResponseBody.ts +322 -0
- package/src/models/ListUserDefinedEventSourcesResponseBody.ts +38 -0
- package/src/models/UpdateEventSourceRequest.ts +73 -0
- package/src/models/UpdateEventSourceShrinkRequest.ts +3 -0
- package/src/models/UpdateEventStreamingRequest.ts +357 -0
- package/src/models/model.ts +40 -0
|
@@ -240,6 +240,257 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsRunOptions extend
|
|
|
240
240
|
}
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersKey extends $dara.Model {
|
|
244
|
+
form?: string;
|
|
245
|
+
template?: string;
|
|
246
|
+
value?: string;
|
|
247
|
+
static names(): { [key: string]: string } {
|
|
248
|
+
return {
|
|
249
|
+
form: 'Form',
|
|
250
|
+
template: 'Template',
|
|
251
|
+
value: 'Value',
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
static types(): { [key: string]: any } {
|
|
256
|
+
return {
|
|
257
|
+
form: 'string',
|
|
258
|
+
template: 'string',
|
|
259
|
+
value: 'string',
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
validate() {
|
|
264
|
+
super.validate();
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
constructor(map?: { [key: string]: any }) {
|
|
268
|
+
super(map);
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersNetworkType extends $dara.Model {
|
|
273
|
+
form?: string;
|
|
274
|
+
template?: string;
|
|
275
|
+
value?: string;
|
|
276
|
+
static names(): { [key: string]: string } {
|
|
277
|
+
return {
|
|
278
|
+
form: 'Form',
|
|
279
|
+
template: 'Template',
|
|
280
|
+
value: 'Value',
|
|
281
|
+
};
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
static types(): { [key: string]: any } {
|
|
285
|
+
return {
|
|
286
|
+
form: 'string',
|
|
287
|
+
template: 'string',
|
|
288
|
+
value: 'string',
|
|
289
|
+
};
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
validate() {
|
|
293
|
+
super.validate();
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
constructor(map?: { [key: string]: any }) {
|
|
297
|
+
super(map);
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersSecurityGroupId extends $dara.Model {
|
|
302
|
+
form?: string;
|
|
303
|
+
template?: string;
|
|
304
|
+
value?: string;
|
|
305
|
+
static names(): { [key: string]: string } {
|
|
306
|
+
return {
|
|
307
|
+
form: 'Form',
|
|
308
|
+
template: 'Template',
|
|
309
|
+
value: 'Value',
|
|
310
|
+
};
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
static types(): { [key: string]: any } {
|
|
314
|
+
return {
|
|
315
|
+
form: 'string',
|
|
316
|
+
template: 'string',
|
|
317
|
+
value: 'string',
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
validate() {
|
|
322
|
+
super.validate();
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
constructor(map?: { [key: string]: any }) {
|
|
326
|
+
super(map);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVSwitchIds extends $dara.Model {
|
|
331
|
+
form?: string;
|
|
332
|
+
template?: string;
|
|
333
|
+
value?: string;
|
|
334
|
+
static names(): { [key: string]: string } {
|
|
335
|
+
return {
|
|
336
|
+
form: 'Form',
|
|
337
|
+
template: 'Template',
|
|
338
|
+
value: 'Value',
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
static types(): { [key: string]: any } {
|
|
343
|
+
return {
|
|
344
|
+
form: 'string',
|
|
345
|
+
template: 'string',
|
|
346
|
+
value: 'string',
|
|
347
|
+
};
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
validate() {
|
|
351
|
+
super.validate();
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
constructor(map?: { [key: string]: any }) {
|
|
355
|
+
super(map);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersValue extends $dara.Model {
|
|
360
|
+
form?: string;
|
|
361
|
+
template?: string;
|
|
362
|
+
value?: string;
|
|
363
|
+
static names(): { [key: string]: string } {
|
|
364
|
+
return {
|
|
365
|
+
form: 'Form',
|
|
366
|
+
template: 'Template',
|
|
367
|
+
value: 'Value',
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
static types(): { [key: string]: any } {
|
|
372
|
+
return {
|
|
373
|
+
form: 'string',
|
|
374
|
+
template: 'string',
|
|
375
|
+
value: 'string',
|
|
376
|
+
};
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
validate() {
|
|
380
|
+
super.validate();
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
constructor(map?: { [key: string]: any }) {
|
|
384
|
+
super(map);
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVpcId extends $dara.Model {
|
|
389
|
+
form?: string;
|
|
390
|
+
template?: string;
|
|
391
|
+
value?: string;
|
|
392
|
+
static names(): { [key: string]: string } {
|
|
393
|
+
return {
|
|
394
|
+
form: 'Form',
|
|
395
|
+
template: 'Template',
|
|
396
|
+
value: 'Value',
|
|
397
|
+
};
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
static types(): { [key: string]: any } {
|
|
401
|
+
return {
|
|
402
|
+
form: 'string',
|
|
403
|
+
template: 'string',
|
|
404
|
+
value: 'string',
|
|
405
|
+
};
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
validate() {
|
|
409
|
+
super.validate();
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
constructor(map?: { [key: string]: any }) {
|
|
413
|
+
super(map);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParameters extends $dara.Model {
|
|
418
|
+
acks?: string;
|
|
419
|
+
bootstraps?: string;
|
|
420
|
+
key?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersKey;
|
|
421
|
+
networkType?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersNetworkType;
|
|
422
|
+
saslMechanism?: string;
|
|
423
|
+
saslPassword?: string;
|
|
424
|
+
saslUser?: string;
|
|
425
|
+
securityGroupId?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersSecurityGroupId;
|
|
426
|
+
securityProtocol?: string;
|
|
427
|
+
topic?: string;
|
|
428
|
+
vSwitchIds?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVSwitchIds;
|
|
429
|
+
value?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersValue;
|
|
430
|
+
vpcId?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVpcId;
|
|
431
|
+
static names(): { [key: string]: string } {
|
|
432
|
+
return {
|
|
433
|
+
acks: 'Acks',
|
|
434
|
+
bootstraps: 'Bootstraps',
|
|
435
|
+
key: 'Key',
|
|
436
|
+
networkType: 'NetworkType',
|
|
437
|
+
saslMechanism: 'SaslMechanism',
|
|
438
|
+
saslPassword: 'SaslPassword',
|
|
439
|
+
saslUser: 'SaslUser',
|
|
440
|
+
securityGroupId: 'SecurityGroupId',
|
|
441
|
+
securityProtocol: 'SecurityProtocol',
|
|
442
|
+
topic: 'Topic',
|
|
443
|
+
vSwitchIds: 'VSwitchIds',
|
|
444
|
+
value: 'Value',
|
|
445
|
+
vpcId: 'VpcId',
|
|
446
|
+
};
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
static types(): { [key: string]: any } {
|
|
450
|
+
return {
|
|
451
|
+
acks: 'string',
|
|
452
|
+
bootstraps: 'string',
|
|
453
|
+
key: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersKey,
|
|
454
|
+
networkType: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersNetworkType,
|
|
455
|
+
saslMechanism: 'string',
|
|
456
|
+
saslPassword: 'string',
|
|
457
|
+
saslUser: 'string',
|
|
458
|
+
securityGroupId: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersSecurityGroupId,
|
|
459
|
+
securityProtocol: 'string',
|
|
460
|
+
topic: 'string',
|
|
461
|
+
vSwitchIds: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVSwitchIds,
|
|
462
|
+
value: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersValue,
|
|
463
|
+
vpcId: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParametersVpcId,
|
|
464
|
+
};
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
validate() {
|
|
468
|
+
if(this.key && typeof (this.key as any).validate === 'function') {
|
|
469
|
+
(this.key as any).validate();
|
|
470
|
+
}
|
|
471
|
+
if(this.networkType && typeof (this.networkType as any).validate === 'function') {
|
|
472
|
+
(this.networkType as any).validate();
|
|
473
|
+
}
|
|
474
|
+
if(this.securityGroupId && typeof (this.securityGroupId as any).validate === 'function') {
|
|
475
|
+
(this.securityGroupId as any).validate();
|
|
476
|
+
}
|
|
477
|
+
if(this.vSwitchIds && typeof (this.vSwitchIds as any).validate === 'function') {
|
|
478
|
+
(this.vSwitchIds as any).validate();
|
|
479
|
+
}
|
|
480
|
+
if(this.value && typeof (this.value as any).validate === 'function') {
|
|
481
|
+
(this.value as any).validate();
|
|
482
|
+
}
|
|
483
|
+
if(this.vpcId && typeof (this.vpcId as any).validate === 'function') {
|
|
484
|
+
(this.vpcId as any).validate();
|
|
485
|
+
}
|
|
486
|
+
super.validate();
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
constructor(map?: { [key: string]: any }) {
|
|
490
|
+
super(map);
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
|
|
243
494
|
export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheRocketMQCheckpointParametersConsumeTimestamp extends $dara.Model {
|
|
244
495
|
/**
|
|
245
496
|
* @example
|
|
@@ -4939,6 +5190,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkSLSParame
|
|
|
4939
5190
|
}
|
|
4940
5191
|
|
|
4941
5192
|
export class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dara.Model {
|
|
5193
|
+
sinkApacheKafkaParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParameters;
|
|
4942
5194
|
sinkApacheRocketMQCheckpointParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheRocketMQCheckpointParameters;
|
|
4943
5195
|
sinkBaiLianParameters?: SinkBaiLianParameters;
|
|
4944
5196
|
sinkCustomizedKafkaConnectorParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkCustomizedKafkaConnectorParameters;
|
|
@@ -4985,6 +5237,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dar
|
|
|
4985
5237
|
sinkSLSParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkSLSParameters;
|
|
4986
5238
|
static names(): { [key: string]: string } {
|
|
4987
5239
|
return {
|
|
5240
|
+
sinkApacheKafkaParameters: 'SinkApacheKafkaParameters',
|
|
4988
5241
|
sinkApacheRocketMQCheckpointParameters: 'SinkApacheRocketMQCheckpointParameters',
|
|
4989
5242
|
sinkBaiLianParameters: 'SinkBaiLianParameters',
|
|
4990
5243
|
sinkCustomizedKafkaConnectorParameters: 'SinkCustomizedKafkaConnectorParameters',
|
|
@@ -5006,6 +5259,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dar
|
|
|
5006
5259
|
|
|
5007
5260
|
static types(): { [key: string]: any } {
|
|
5008
5261
|
return {
|
|
5262
|
+
sinkApacheKafkaParameters: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheKafkaParameters,
|
|
5009
5263
|
sinkApacheRocketMQCheckpointParameters: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheRocketMQCheckpointParameters,
|
|
5010
5264
|
sinkBaiLianParameters: SinkBaiLianParameters,
|
|
5011
5265
|
sinkCustomizedKafkaConnectorParameters: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkCustomizedKafkaConnectorParameters,
|
|
@@ -5026,6 +5280,9 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dar
|
|
|
5026
5280
|
}
|
|
5027
5281
|
|
|
5028
5282
|
validate() {
|
|
5283
|
+
if(this.sinkApacheKafkaParameters && typeof (this.sinkApacheKafkaParameters as any).validate === 'function') {
|
|
5284
|
+
(this.sinkApacheKafkaParameters as any).validate();
|
|
5285
|
+
}
|
|
5029
5286
|
if(this.sinkApacheRocketMQCheckpointParameters && typeof (this.sinkApacheRocketMQCheckpointParameters as any).validate === 'function') {
|
|
5030
5287
|
(this.sinkApacheRocketMQCheckpointParameters as any).validate();
|
|
5031
5288
|
}
|
|
@@ -5082,6 +5339,65 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dar
|
|
|
5082
5339
|
}
|
|
5083
5340
|
}
|
|
5084
5341
|
|
|
5342
|
+
export class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheKafkaParameters extends $dara.Model {
|
|
5343
|
+
bootstraps?: string;
|
|
5344
|
+
consumerGroup?: string;
|
|
5345
|
+
networkType?: string;
|
|
5346
|
+
offsetReset?: string;
|
|
5347
|
+
saslMechanism?: string;
|
|
5348
|
+
saslPassword?: string;
|
|
5349
|
+
saslUser?: string;
|
|
5350
|
+
securityGroupId?: string;
|
|
5351
|
+
securityProtocol?: string;
|
|
5352
|
+
topic?: string;
|
|
5353
|
+
vSwitchIds?: string;
|
|
5354
|
+
valueDataType?: string;
|
|
5355
|
+
vpcId?: string;
|
|
5356
|
+
static names(): { [key: string]: string } {
|
|
5357
|
+
return {
|
|
5358
|
+
bootstraps: 'Bootstraps',
|
|
5359
|
+
consumerGroup: 'ConsumerGroup',
|
|
5360
|
+
networkType: 'NetworkType',
|
|
5361
|
+
offsetReset: 'OffsetReset',
|
|
5362
|
+
saslMechanism: 'SaslMechanism',
|
|
5363
|
+
saslPassword: 'SaslPassword',
|
|
5364
|
+
saslUser: 'SaslUser',
|
|
5365
|
+
securityGroupId: 'SecurityGroupId',
|
|
5366
|
+
securityProtocol: 'SecurityProtocol',
|
|
5367
|
+
topic: 'Topic',
|
|
5368
|
+
vSwitchIds: 'VSwitchIds',
|
|
5369
|
+
valueDataType: 'ValueDataType',
|
|
5370
|
+
vpcId: 'VpcId',
|
|
5371
|
+
};
|
|
5372
|
+
}
|
|
5373
|
+
|
|
5374
|
+
static types(): { [key: string]: any } {
|
|
5375
|
+
return {
|
|
5376
|
+
bootstraps: 'string',
|
|
5377
|
+
consumerGroup: 'string',
|
|
5378
|
+
networkType: 'string',
|
|
5379
|
+
offsetReset: 'string',
|
|
5380
|
+
saslMechanism: 'string',
|
|
5381
|
+
saslPassword: 'string',
|
|
5382
|
+
saslUser: 'string',
|
|
5383
|
+
securityGroupId: 'string',
|
|
5384
|
+
securityProtocol: 'string',
|
|
5385
|
+
topic: 'string',
|
|
5386
|
+
vSwitchIds: 'string',
|
|
5387
|
+
valueDataType: 'string',
|
|
5388
|
+
vpcId: 'string',
|
|
5389
|
+
};
|
|
5390
|
+
}
|
|
5391
|
+
|
|
5392
|
+
validate() {
|
|
5393
|
+
super.validate();
|
|
5394
|
+
}
|
|
5395
|
+
|
|
5396
|
+
constructor(map?: { [key: string]: any }) {
|
|
5397
|
+
super(map);
|
|
5398
|
+
}
|
|
5399
|
+
}
|
|
5400
|
+
|
|
5085
5401
|
export class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheRocketMQCheckpointParameters extends $dara.Model {
|
|
5086
5402
|
/**
|
|
5087
5403
|
* @example
|
|
@@ -6264,6 +6580,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceSLSPa
|
|
|
6264
6580
|
}
|
|
6265
6581
|
|
|
6266
6582
|
export class ListEventStreamingsResponseBodyDataEventStreamingsSource extends $dara.Model {
|
|
6583
|
+
sourceApacheKafkaParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheKafkaParameters;
|
|
6267
6584
|
sourceApacheRocketMQCheckpointParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheRocketMQCheckpointParameters;
|
|
6268
6585
|
sourceCustomizedKafkaConnectorParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceCustomizedKafkaConnectorParameters;
|
|
6269
6586
|
sourceCustomizedKafkaParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceCustomizedKafkaParameters;
|
|
@@ -6310,6 +6627,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSource extends $d
|
|
|
6310
6627
|
sourceSLSParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceSLSParameters;
|
|
6311
6628
|
static names(): { [key: string]: string } {
|
|
6312
6629
|
return {
|
|
6630
|
+
sourceApacheKafkaParameters: 'SourceApacheKafkaParameters',
|
|
6313
6631
|
sourceApacheRocketMQCheckpointParameters: 'SourceApacheRocketMQCheckpointParameters',
|
|
6314
6632
|
sourceCustomizedKafkaConnectorParameters: 'SourceCustomizedKafkaConnectorParameters',
|
|
6315
6633
|
sourceCustomizedKafkaParameters: 'SourceCustomizedKafkaParameters',
|
|
@@ -6331,6 +6649,7 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSource extends $d
|
|
|
6331
6649
|
|
|
6332
6650
|
static types(): { [key: string]: any } {
|
|
6333
6651
|
return {
|
|
6652
|
+
sourceApacheKafkaParameters: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheKafkaParameters,
|
|
6334
6653
|
sourceApacheRocketMQCheckpointParameters: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceApacheRocketMQCheckpointParameters,
|
|
6335
6654
|
sourceCustomizedKafkaConnectorParameters: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceCustomizedKafkaConnectorParameters,
|
|
6336
6655
|
sourceCustomizedKafkaParameters: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceCustomizedKafkaParameters,
|
|
@@ -6351,6 +6670,9 @@ export class ListEventStreamingsResponseBodyDataEventStreamingsSource extends $d
|
|
|
6351
6670
|
}
|
|
6352
6671
|
|
|
6353
6672
|
validate() {
|
|
6673
|
+
if(this.sourceApacheKafkaParameters && typeof (this.sourceApacheKafkaParameters as any).validate === 'function') {
|
|
6674
|
+
(this.sourceApacheKafkaParameters as any).validate();
|
|
6675
|
+
}
|
|
6354
6676
|
if(this.sourceApacheRocketMQCheckpointParameters && typeof (this.sourceApacheRocketMQCheckpointParameters as any).validate === 'function') {
|
|
6355
6677
|
(this.sourceApacheRocketMQCheckpointParameters as any).validate();
|
|
6356
6678
|
}
|
|
@@ -280,6 +280,38 @@ export class ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceMNS
|
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
282
|
|
|
283
|
+
export class ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceOSSEventParameters extends $dara.Model {
|
|
284
|
+
eventTypes?: string[];
|
|
285
|
+
matchRules?: any;
|
|
286
|
+
stsRoleArn?: string;
|
|
287
|
+
static names(): { [key: string]: string } {
|
|
288
|
+
return {
|
|
289
|
+
eventTypes: 'EventTypes',
|
|
290
|
+
matchRules: 'MatchRules',
|
|
291
|
+
stsRoleArn: 'StsRoleArn',
|
|
292
|
+
};
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
static types(): { [key: string]: any } {
|
|
296
|
+
return {
|
|
297
|
+
eventTypes: { 'type': 'array', 'itemType': 'string' },
|
|
298
|
+
matchRules: 'any',
|
|
299
|
+
stsRoleArn: 'string',
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
validate() {
|
|
304
|
+
if(Array.isArray(this.eventTypes)) {
|
|
305
|
+
$dara.Model.validateArray(this.eventTypes);
|
|
306
|
+
}
|
|
307
|
+
super.validate();
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
constructor(map?: { [key: string]: any }) {
|
|
311
|
+
super(map);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
283
315
|
export class ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceRabbitMQParameters extends $dara.Model {
|
|
284
316
|
/**
|
|
285
317
|
* @remarks
|
|
@@ -692,6 +724,7 @@ export class ListUserDefinedEventSourcesResponseBodyDataEventSourceList extends
|
|
|
692
724
|
* The parameters that are returned if Simple Message Queue (formerly MNS) (SMQ) is specified as the event source.
|
|
693
725
|
*/
|
|
694
726
|
sourceMNSParameters?: ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceMNSParameters;
|
|
727
|
+
sourceOSSEventParameters?: ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceOSSEventParameters;
|
|
695
728
|
/**
|
|
696
729
|
* @remarks
|
|
697
730
|
* The parameters that are returned if Message Queue for RabbitMQ is specified as the event source.
|
|
@@ -738,6 +771,7 @@ export class ListUserDefinedEventSourcesResponseBodyDataEventSourceList extends
|
|
|
738
771
|
sourceHttpEventParameters: 'SourceHttpEventParameters',
|
|
739
772
|
sourceKafkaParameters: 'SourceKafkaParameters',
|
|
740
773
|
sourceMNSParameters: 'SourceMNSParameters',
|
|
774
|
+
sourceOSSEventParameters: 'SourceOSSEventParameters',
|
|
741
775
|
sourceRabbitMQParameters: 'SourceRabbitMQParameters',
|
|
742
776
|
sourceRocketMQParameters: 'SourceRocketMQParameters',
|
|
743
777
|
sourceSLSParameters: 'SourceSLSParameters',
|
|
@@ -757,6 +791,7 @@ export class ListUserDefinedEventSourcesResponseBodyDataEventSourceList extends
|
|
|
757
791
|
sourceHttpEventParameters: ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceHttpEventParameters,
|
|
758
792
|
sourceKafkaParameters: ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceKafkaParameters,
|
|
759
793
|
sourceMNSParameters: ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceMNSParameters,
|
|
794
|
+
sourceOSSEventParameters: ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceOSSEventParameters,
|
|
760
795
|
sourceRabbitMQParameters: ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceRabbitMQParameters,
|
|
761
796
|
sourceRocketMQParameters: ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceRocketMQParameters,
|
|
762
797
|
sourceSLSParameters: ListUserDefinedEventSourcesResponseBodyDataEventSourceListSourceSLSParameters,
|
|
@@ -776,6 +811,9 @@ export class ListUserDefinedEventSourcesResponseBodyDataEventSourceList extends
|
|
|
776
811
|
if(this.sourceMNSParameters && typeof (this.sourceMNSParameters as any).validate === 'function') {
|
|
777
812
|
(this.sourceMNSParameters as any).validate();
|
|
778
813
|
}
|
|
814
|
+
if(this.sourceOSSEventParameters && typeof (this.sourceOSSEventParameters as any).validate === 'function') {
|
|
815
|
+
(this.sourceOSSEventParameters as any).validate();
|
|
816
|
+
}
|
|
779
817
|
if(this.sourceRabbitMQParameters && typeof (this.sourceRabbitMQParameters as any).validate === 'function') {
|
|
780
818
|
(this.sourceRabbitMQParameters as any).validate();
|
|
781
819
|
}
|
|
@@ -260,6 +260,73 @@ export class UpdateEventSourceRequestSourceMNSParameters extends $dara.Model {
|
|
|
260
260
|
}
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
+
export class UpdateEventSourceRequestSourceOSSEventParametersMatchRules extends $dara.Model {
|
|
264
|
+
suffix?: string;
|
|
265
|
+
matchState?: boolean;
|
|
266
|
+
prefix?: string;
|
|
267
|
+
name?: string;
|
|
268
|
+
static names(): { [key: string]: string } {
|
|
269
|
+
return {
|
|
270
|
+
suffix: 'Suffix',
|
|
271
|
+
matchState: 'MatchState',
|
|
272
|
+
prefix: 'Prefix',
|
|
273
|
+
name: 'Name',
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
static types(): { [key: string]: any } {
|
|
278
|
+
return {
|
|
279
|
+
suffix: 'string',
|
|
280
|
+
matchState: 'boolean',
|
|
281
|
+
prefix: 'string',
|
|
282
|
+
name: 'string',
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
validate() {
|
|
287
|
+
super.validate();
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
constructor(map?: { [key: string]: any }) {
|
|
291
|
+
super(map);
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
export class UpdateEventSourceRequestSourceOSSEventParameters extends $dara.Model {
|
|
296
|
+
eventTypes?: string[];
|
|
297
|
+
matchRules?: UpdateEventSourceRequestSourceOSSEventParametersMatchRules[][];
|
|
298
|
+
stsRoleArn?: string;
|
|
299
|
+
static names(): { [key: string]: string } {
|
|
300
|
+
return {
|
|
301
|
+
eventTypes: 'EventTypes',
|
|
302
|
+
matchRules: 'MatchRules',
|
|
303
|
+
stsRoleArn: 'StsRoleArn',
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
static types(): { [key: string]: any } {
|
|
308
|
+
return {
|
|
309
|
+
eventTypes: { 'type': 'array', 'itemType': 'string' },
|
|
310
|
+
matchRules: { 'type': 'array', 'itemType': { 'type': 'array', 'itemType': UpdateEventSourceRequestSourceOSSEventParametersMatchRules } },
|
|
311
|
+
stsRoleArn: 'string',
|
|
312
|
+
};
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
validate() {
|
|
316
|
+
if(Array.isArray(this.eventTypes)) {
|
|
317
|
+
$dara.Model.validateArray(this.eventTypes);
|
|
318
|
+
}
|
|
319
|
+
if(Array.isArray(this.matchRules)) {
|
|
320
|
+
$dara.Model.validateArray(this.matchRules);
|
|
321
|
+
}
|
|
322
|
+
super.validate();
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
constructor(map?: { [key: string]: any }) {
|
|
326
|
+
super(map);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
|
|
263
330
|
export class UpdateEventSourceRequestSourceRabbitMQParameters extends $dara.Model {
|
|
264
331
|
/**
|
|
265
332
|
* @remarks
|
|
@@ -684,6 +751,7 @@ export class UpdateEventSourceRequest extends $dara.Model {
|
|
|
684
751
|
* The parameters that are configured if the event source is Message Service (MNS).
|
|
685
752
|
*/
|
|
686
753
|
sourceMNSParameters?: UpdateEventSourceRequestSourceMNSParameters;
|
|
754
|
+
sourceOSSEventParameters?: UpdateEventSourceRequestSourceOSSEventParameters;
|
|
687
755
|
/**
|
|
688
756
|
* @remarks
|
|
689
757
|
* The parameters that are configured if the event source is Message Queue for RabbitMQ.
|
|
@@ -715,6 +783,7 @@ export class UpdateEventSourceRequest extends $dara.Model {
|
|
|
715
783
|
sourceHttpEventParameters: 'SourceHttpEventParameters',
|
|
716
784
|
sourceKafkaParameters: 'SourceKafkaParameters',
|
|
717
785
|
sourceMNSParameters: 'SourceMNSParameters',
|
|
786
|
+
sourceOSSEventParameters: 'SourceOSSEventParameters',
|
|
718
787
|
sourceRabbitMQParameters: 'SourceRabbitMQParameters',
|
|
719
788
|
sourceRocketMQParameters: 'SourceRocketMQParameters',
|
|
720
789
|
sourceSLSParameters: 'SourceSLSParameters',
|
|
@@ -733,6 +802,7 @@ export class UpdateEventSourceRequest extends $dara.Model {
|
|
|
733
802
|
sourceHttpEventParameters: UpdateEventSourceRequestSourceHttpEventParameters,
|
|
734
803
|
sourceKafkaParameters: UpdateEventSourceRequestSourceKafkaParameters,
|
|
735
804
|
sourceMNSParameters: UpdateEventSourceRequestSourceMNSParameters,
|
|
805
|
+
sourceOSSEventParameters: UpdateEventSourceRequestSourceOSSEventParameters,
|
|
736
806
|
sourceRabbitMQParameters: UpdateEventSourceRequestSourceRabbitMQParameters,
|
|
737
807
|
sourceRocketMQParameters: UpdateEventSourceRequestSourceRocketMQParameters,
|
|
738
808
|
sourceSLSParameters: UpdateEventSourceRequestSourceSLSParameters,
|
|
@@ -753,6 +823,9 @@ export class UpdateEventSourceRequest extends $dara.Model {
|
|
|
753
823
|
if(this.sourceMNSParameters && typeof (this.sourceMNSParameters as any).validate === 'function') {
|
|
754
824
|
(this.sourceMNSParameters as any).validate();
|
|
755
825
|
}
|
|
826
|
+
if(this.sourceOSSEventParameters && typeof (this.sourceOSSEventParameters as any).validate === 'function') {
|
|
827
|
+
(this.sourceOSSEventParameters as any).validate();
|
|
828
|
+
}
|
|
756
829
|
if(this.sourceRabbitMQParameters && typeof (this.sourceRabbitMQParameters as any).validate === 'function') {
|
|
757
830
|
(this.sourceRabbitMQParameters as any).validate();
|
|
758
831
|
}
|
|
@@ -67,6 +67,7 @@ export class UpdateEventSourceShrinkRequest extends $dara.Model {
|
|
|
67
67
|
* The parameters that are configured if the event source is Message Service (MNS).
|
|
68
68
|
*/
|
|
69
69
|
sourceMNSParametersShrink?: string;
|
|
70
|
+
sourceOSSEventParametersShrink?: string;
|
|
70
71
|
/**
|
|
71
72
|
* @remarks
|
|
72
73
|
* The parameters that are configured if the event source is Message Queue for RabbitMQ.
|
|
@@ -98,6 +99,7 @@ export class UpdateEventSourceShrinkRequest extends $dara.Model {
|
|
|
98
99
|
sourceHttpEventParametersShrink: 'SourceHttpEventParameters',
|
|
99
100
|
sourceKafkaParametersShrink: 'SourceKafkaParameters',
|
|
100
101
|
sourceMNSParametersShrink: 'SourceMNSParameters',
|
|
102
|
+
sourceOSSEventParametersShrink: 'SourceOSSEventParameters',
|
|
101
103
|
sourceRabbitMQParametersShrink: 'SourceRabbitMQParameters',
|
|
102
104
|
sourceRocketMQParametersShrink: 'SourceRocketMQParameters',
|
|
103
105
|
sourceSLSParametersShrink: 'SourceSLSParameters',
|
|
@@ -116,6 +118,7 @@ export class UpdateEventSourceShrinkRequest extends $dara.Model {
|
|
|
116
118
|
sourceHttpEventParametersShrink: 'string',
|
|
117
119
|
sourceKafkaParametersShrink: 'string',
|
|
118
120
|
sourceMNSParametersShrink: 'string',
|
|
121
|
+
sourceOSSEventParametersShrink: 'string',
|
|
119
122
|
sourceRabbitMQParametersShrink: 'string',
|
|
120
123
|
sourceRocketMQParametersShrink: 'string',
|
|
121
124
|
sourceSLSParametersShrink: 'string',
|