@alicloud/eventbridge20200401 4.0.0 → 4.1.0

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 CHANGED
@@ -3,6 +3,103 @@
3
3
  import OpenApi from '@alicloud/openapi-core';
4
4
  import { $OpenApiUtil } from '@alicloud/openapi-core';
5
5
  import * as $dara from '@darabonba/typescript';
6
+ export declare class SinkBaiLianParametersAfter extends $dara.Model {
7
+ form?: string;
8
+ template?: string;
9
+ value?: string;
10
+ static names(): {
11
+ [key: string]: string;
12
+ };
13
+ static types(): {
14
+ [key: string]: any;
15
+ };
16
+ validate(): void;
17
+ constructor(map?: {
18
+ [key: string]: any;
19
+ });
20
+ }
21
+ export declare class SinkBaiLianParametersBefore extends $dara.Model {
22
+ form?: string;
23
+ template?: string;
24
+ value?: string;
25
+ static names(): {
26
+ [key: string]: string;
27
+ };
28
+ static types(): {
29
+ [key: string]: any;
30
+ };
31
+ validate(): void;
32
+ constructor(map?: {
33
+ [key: string]: any;
34
+ });
35
+ }
36
+ export declare class SinkBaiLianParametersOffset extends $dara.Model {
37
+ form?: string;
38
+ template?: string;
39
+ value?: string;
40
+ static names(): {
41
+ [key: string]: string;
42
+ };
43
+ static types(): {
44
+ [key: string]: any;
45
+ };
46
+ validate(): void;
47
+ constructor(map?: {
48
+ [key: string]: any;
49
+ });
50
+ }
51
+ export declare class SinkBaiLianParametersOp extends $dara.Model {
52
+ form?: string;
53
+ template?: string;
54
+ value?: string;
55
+ static names(): {
56
+ [key: string]: string;
57
+ };
58
+ static types(): {
59
+ [key: string]: any;
60
+ };
61
+ validate(): void;
62
+ constructor(map?: {
63
+ [key: string]: any;
64
+ });
65
+ }
66
+ export declare class SinkBaiLianParametersPartition extends $dara.Model {
67
+ form?: string;
68
+ template?: string;
69
+ value?: string;
70
+ static names(): {
71
+ [key: string]: string;
72
+ };
73
+ static types(): {
74
+ [key: string]: any;
75
+ };
76
+ validate(): void;
77
+ constructor(map?: {
78
+ [key: string]: any;
79
+ });
80
+ }
81
+ export declare class CheckServiceLinkedRoleForProductResponseBodyData extends $dara.Model {
82
+ /**
83
+ * @example
84
+ * true
85
+ */
86
+ checkPass?: boolean;
87
+ /**
88
+ * @example
89
+ * AliyunServiceRoleForEventBridgeConnectVPC
90
+ */
91
+ stsRoleName?: string;
92
+ static names(): {
93
+ [key: string]: string;
94
+ };
95
+ static types(): {
96
+ [key: string]: any;
97
+ };
98
+ validate(): void;
99
+ constructor(map?: {
100
+ [key: string]: any;
101
+ });
102
+ }
6
103
  export declare class CreateApiDestinationRequestHttpApiParameters extends $dara.Model {
7
104
  /**
8
105
  * @remarks
@@ -4080,6 +4177,7 @@ export declare class CreateEventStreamingRequestSinkSinkSLSParameters extends $d
4080
4177
  }
4081
4178
  export declare class CreateEventStreamingRequestSink extends $dara.Model {
4082
4179
  sinkApacheRocketMQCheckpointParameters?: CreateEventStreamingRequestSinkSinkApacheRocketMQCheckpointParameters;
4180
+ sinkBaiLianParameters?: SinkBaiLianParameters;
4083
4181
  sinkCustomizedKafkaConnectorParameters?: CreateEventStreamingRequestSinkSinkCustomizedKafkaConnectorParameters;
4084
4182
  sinkCustomizedKafkaParameters?: CreateEventStreamingRequestSinkSinkCustomizedKafkaParameters;
4085
4183
  sinkDashVectorParameters?: CreateEventStreamingRequestSinkSinkDashVectorParameters;
@@ -4852,6 +4950,7 @@ export declare class CreateEventStreamingRequestSource extends $dara.Model {
4852
4950
  * The parameters that are configured if you specify ApsaraMQ for MQTT as the event source.
4853
4951
  */
4854
4952
  sourceMQTTParameters?: CreateEventStreamingRequestSourceSourceMQTTParameters;
4953
+ sourceMySQLParameters?: SourceMySQLParameters;
4855
4954
  sourceOSSParameters?: CreateEventStreamingRequestSourceSourceOSSParameters;
4856
4955
  sourceOpenSourceRabbitMQParameters?: CreateEventStreamingRequestSourceSourceOpenSourceRabbitMQParameters;
4857
4956
  /**
@@ -8473,6 +8572,7 @@ export declare class GetEventStreamingResponseBodyDataSinkSinkSLSParameters exte
8473
8572
  }
8474
8573
  export declare class GetEventStreamingResponseBodyDataSink extends $dara.Model {
8475
8574
  sinkApacheRocketMQCheckpointParameters?: GetEventStreamingResponseBodyDataSinkSinkApacheRocketMQCheckpointParameters;
8575
+ sinkBaiLianParameters?: SinkBaiLianParameters;
8476
8576
  sinkCustomizedKafkaConnectorParameters?: GetEventStreamingResponseBodyDataSinkSinkCustomizedKafkaConnectorParameters;
8477
8577
  sinkCustomizedKafkaParameters?: GetEventStreamingResponseBodyDataSinkSinkCustomizedKafkaParameters;
8478
8578
  sinkDashVectorParameters?: GetEventStreamingResponseBodyDataSinkSinkDashVectorParameters;
@@ -9162,6 +9262,7 @@ export declare class GetEventStreamingResponseBodyDataSource extends $dara.Model
9162
9262
  * The parameters that are returned if ApsaraMQ for MQTT is specified as the event source.
9163
9263
  */
9164
9264
  sourceMQTTParameters?: GetEventStreamingResponseBodyDataSourceSourceMQTTParameters;
9265
+ sourceMySQLParameters?: SourceMySQLParameters;
9165
9266
  sourceOSSParameters?: GetEventStreamingResponseBodyDataSourceSourceOSSParameters;
9166
9267
  sourceOpenSourceRabbitMQParameters?: GetEventStreamingResponseBodyDataSourceSourceOpenSourceRabbitMQParameters;
9167
9268
  sourcePrometheusParameters?: GetEventStreamingResponseBodyDataSourceSourcePrometheusParameters;
@@ -12704,6 +12805,7 @@ export declare class ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkS
12704
12805
  }
12705
12806
  export declare class ListEventStreamingsResponseBodyDataEventStreamingsSink extends $dara.Model {
12706
12807
  sinkApacheRocketMQCheckpointParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkApacheRocketMQCheckpointParameters;
12808
+ sinkBaiLianParameters?: SinkBaiLianParameters;
12707
12809
  sinkCustomizedKafkaConnectorParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkCustomizedKafkaConnectorParameters;
12708
12810
  sinkCustomizedKafkaParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkCustomizedKafkaParameters;
12709
12811
  sinkDashVectorParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSinkSinkDashVectorParameters;
@@ -13406,6 +13508,7 @@ export declare class ListEventStreamingsResponseBodyDataEventStreamingsSource ex
13406
13508
  * The parameters that are returned if ApsaraMQ for MQTT is specified as the event source.
13407
13509
  */
13408
13510
  sourceMQTTParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceMQTTParameters;
13511
+ sourceMySQLParameters?: SourceMySQLParameters;
13409
13512
  sourceOSSParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceOSSParameters;
13410
13513
  sourceOpenSourceRabbitMQParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourceOpenSourceRabbitMQParameters;
13411
13514
  sourcePrometheusParameters?: ListEventStreamingsResponseBodyDataEventStreamingsSourceSourcePrometheusParameters;
@@ -18646,6 +18749,7 @@ export declare class UpdateEventStreamingRequestSinkSinkSLSParameters extends $d
18646
18749
  }
18647
18750
  export declare class UpdateEventStreamingRequestSink extends $dara.Model {
18648
18751
  sinkApacheRocketMQCheckpointParameters?: UpdateEventStreamingRequestSinkSinkApacheRocketMQCheckpointParameters;
18752
+ sinkBaiLianParameters?: SinkBaiLianParameters;
18649
18753
  sinkCustomizedKafkaConnectorParameters?: UpdateEventStreamingRequestSinkSinkCustomizedKafkaConnectorParameters;
18650
18754
  sinkCustomizedKafkaParameters?: UpdateEventStreamingRequestSinkSinkCustomizedKafkaParameters;
18651
18755
  sinkDashVectorParameters?: UpdateEventStreamingRequestSinkSinkDashVectorParameters;
@@ -19354,6 +19458,7 @@ export declare class UpdateEventStreamingRequestSource extends $dara.Model {
19354
19458
  * The parameters that are configured if you specify ApsaraMQ for MQTT as the event source.
19355
19459
  */
19356
19460
  sourceMQTTParameters?: UpdateEventStreamingRequestSourceSourceMQTTParameters;
19461
+ sourceMySQLParameters?: SourceMySQLParameters;
19357
19462
  sourceOSSParameters?: UpdateEventStreamingRequestSourceSourceOSSParameters;
19358
19463
  sourceOpenSourceRabbitMQParameters?: UpdateEventStreamingRequestSourceSourceOpenSourceRabbitMQParameters;
19359
19464
  /**
@@ -19405,6 +19510,119 @@ export declare class UpdateEventStreamingRequestTransforms extends $dara.Model {
19405
19510
  [key: string]: any;
19406
19511
  });
19407
19512
  }
19513
+ export declare class SinkBaiLianParameters extends $dara.Model {
19514
+ after?: SinkBaiLianParametersAfter;
19515
+ applicationType?: string;
19516
+ before?: SinkBaiLianParametersBefore;
19517
+ context?: any;
19518
+ extend?: any;
19519
+ offset?: SinkBaiLianParametersOffset;
19520
+ op?: SinkBaiLianParametersOp;
19521
+ partition?: SinkBaiLianParametersPartition;
19522
+ workspaceId?: string;
19523
+ static names(): {
19524
+ [key: string]: string;
19525
+ };
19526
+ static types(): {
19527
+ [key: string]: any;
19528
+ };
19529
+ validate(): void;
19530
+ constructor(map?: {
19531
+ [key: string]: any;
19532
+ });
19533
+ }
19534
+ export declare class SourceMySQLParameters extends $dara.Model {
19535
+ databaseName?: string;
19536
+ hostName?: string;
19537
+ includeSchemaChanges?: string;
19538
+ networkType?: string;
19539
+ password?: string;
19540
+ port?: number;
19541
+ regionId?: string;
19542
+ securityGroupId?: string;
19543
+ snapshotMode?: string;
19544
+ tableNames?: string;
19545
+ user?: string;
19546
+ vSwitchIds?: string;
19547
+ vpcId?: string;
19548
+ static names(): {
19549
+ [key: string]: string;
19550
+ };
19551
+ static types(): {
19552
+ [key: string]: any;
19553
+ };
19554
+ validate(): void;
19555
+ constructor(map?: {
19556
+ [key: string]: any;
19557
+ });
19558
+ }
19559
+ export declare class CheckServiceLinkedRoleForProductRequest extends $dara.Model {
19560
+ /**
19561
+ * @example
19562
+ * AliyunServiceRoleForEventBridgeConnectVPC
19563
+ */
19564
+ productName?: string;
19565
+ static names(): {
19566
+ [key: string]: string;
19567
+ };
19568
+ static types(): {
19569
+ [key: string]: any;
19570
+ };
19571
+ validate(): void;
19572
+ constructor(map?: {
19573
+ [key: string]: any;
19574
+ });
19575
+ }
19576
+ export declare class CheckServiceLinkedRoleForProductResponseBody extends $dara.Model {
19577
+ /**
19578
+ * @example
19579
+ * Success
19580
+ */
19581
+ code?: string;
19582
+ data?: CheckServiceLinkedRoleForProductResponseBodyData;
19583
+ /**
19584
+ * @example
19585
+ * Success
19586
+ */
19587
+ message?: string;
19588
+ /**
19589
+ * @example
19590
+ * 34AD682D-5B91-5773-8132-AA38C130****
19591
+ */
19592
+ requestId?: string;
19593
+ /**
19594
+ * @example
19595
+ * true
19596
+ */
19597
+ success?: boolean;
19598
+ static names(): {
19599
+ [key: string]: string;
19600
+ };
19601
+ static types(): {
19602
+ [key: string]: any;
19603
+ };
19604
+ validate(): void;
19605
+ constructor(map?: {
19606
+ [key: string]: any;
19607
+ });
19608
+ }
19609
+ export declare class CheckServiceLinkedRoleForProductResponse extends $dara.Model {
19610
+ headers?: {
19611
+ [key: string]: string;
19612
+ };
19613
+ statusCode?: number;
19614
+ body?: CheckServiceLinkedRoleForProductResponseBody;
19615
+ static names(): {
19616
+ [key: string]: string;
19617
+ };
19618
+ static types(): {
19619
+ [key: string]: any;
19620
+ };
19621
+ validate(): void;
19622
+ constructor(map?: {
19623
+ [key: string]: any;
19624
+ });
19625
+ }
19408
19626
  export declare class CreateApiDestinationRequest extends $dara.Model {
19409
19627
  /**
19410
19628
  * @remarks
@@ -24586,6 +24804,21 @@ export default class Client extends OpenApi {
24586
24804
  getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
24587
24805
  [key: string]: string;
24588
24806
  }, endpoint: string): string;
24807
+ /**
24808
+ * 检查账号是否存在ServiceLinkedRole授权
24809
+ *
24810
+ * @param request - CheckServiceLinkedRoleForProductRequest
24811
+ * @param runtime - runtime options for this request RuntimeOptions
24812
+ * @returns CheckServiceLinkedRoleForProductResponse
24813
+ */
24814
+ checkServiceLinkedRoleForProductWithOptions(request: CheckServiceLinkedRoleForProductRequest, runtime: $dara.RuntimeOptions): Promise<CheckServiceLinkedRoleForProductResponse>;
24815
+ /**
24816
+ * 检查账号是否存在ServiceLinkedRole授权
24817
+ *
24818
+ * @param request - CheckServiceLinkedRoleForProductRequest
24819
+ * @returns CheckServiceLinkedRoleForProductResponse
24820
+ */
24821
+ checkServiceLinkedRoleForProduct(request: CheckServiceLinkedRoleForProductRequest): Promise<CheckServiceLinkedRoleForProductResponse>;
24589
24822
  /**
24590
24823
  * Creates an API destination.
24591
24824
  *