@alicloud/eventbridge20200401 6.0.0 → 6.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.
Files changed (45) hide show
  1. package/dist/models/CreateEventStreamingRequest.d.ts +16 -0
  2. package/dist/models/CreateEventStreamingRequest.js +44 -0
  3. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  4. package/dist/models/GetEventStreamingResponseBody.d.ts +16 -0
  5. package/dist/models/GetEventStreamingResponseBody.js +44 -0
  6. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  7. package/dist/models/ListEventStreamingsResponseBody.d.ts +13 -0
  8. package/dist/models/ListEventStreamingsResponseBody.js +38 -0
  9. package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
  10. package/dist/models/SinkOssparameters.d.ts +40 -0
  11. package/dist/models/SinkOssparameters.js +106 -0
  12. package/dist/models/SinkOssparameters.js.map +1 -0
  13. package/dist/models/SinkRabbitMqmetaParameters.d.ts +23 -0
  14. package/dist/models/SinkRabbitMqmetaParameters.js +76 -0
  15. package/dist/models/SinkRabbitMqmetaParameters.js.map +1 -0
  16. package/dist/models/SinkRabbitMqmsgSyncParameters.d.ts +104 -0
  17. package/dist/models/SinkRabbitMqmsgSyncParameters.js +218 -0
  18. package/dist/models/SinkRabbitMqmsgSyncParameters.js.map +1 -0
  19. package/dist/models/SourcePostgreSqlparameters.d.ts +26 -0
  20. package/dist/models/SourcePostgreSqlparameters.js +82 -0
  21. package/dist/models/SourcePostgreSqlparameters.js.map +1 -0
  22. package/dist/models/SourceRabbitMqmetaParameters.d.ts +27 -0
  23. package/dist/models/SourceRabbitMqmetaParameters.js +84 -0
  24. package/dist/models/SourceRabbitMqmetaParameters.js.map +1 -0
  25. package/dist/models/SourceRabbitMqmsgSyncParameters.d.ts +26 -0
  26. package/dist/models/SourceRabbitMqmsgSyncParameters.js +82 -0
  27. package/dist/models/SourceRabbitMqmsgSyncParameters.js.map +1 -0
  28. package/dist/models/UpdateEventStreamingRequest.d.ts +16 -0
  29. package/dist/models/UpdateEventStreamingRequest.js +44 -0
  30. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  31. package/dist/models/model.d.ts +12 -0
  32. package/dist/models/model.js +42 -18
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/models/CreateEventStreamingRequest.ts +54 -0
  36. package/src/models/GetEventStreamingResponseBody.ts +54 -0
  37. package/src/models/ListEventStreamingsResponseBody.ts +45 -0
  38. package/src/models/SinkOssparameters.ts +92 -0
  39. package/src/models/SinkRabbitMqmetaParameters.ts +54 -0
  40. package/src/models/SinkRabbitMqmsgSyncParameters.ts +232 -0
  41. package/src/models/SourcePostgreSqlparameters.ts +63 -0
  42. package/src/models/SourceRabbitMqmetaParameters.ts +66 -0
  43. package/src/models/SourceRabbitMqmsgSyncParameters.ts +63 -0
  44. package/src/models/UpdateEventStreamingRequest.ts +54 -0
  45. package/src/models/model.ts +12 -0
@@ -0,0 +1,92 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SinkOSSParametersContentTransform extends $dara.Model {
6
+ form?: string;
7
+ template?: string;
8
+ value?: string;
9
+ static names(): { [key: string]: string } {
10
+ return {
11
+ form: 'Form',
12
+ template: 'Template',
13
+ value: 'Value',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ form: 'string',
20
+ template: 'string',
21
+ value: 'string',
22
+ };
23
+ }
24
+
25
+ validate() {
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
34
+ export class SinkOSSParameters extends $dara.Model {
35
+ bucketName?: string;
36
+ compressionType?: string;
37
+ contentTransform?: SinkOSSParametersContentTransform;
38
+ endpoint?: string;
39
+ pathFormat?: string;
40
+ regionId?: string;
41
+ roleArn?: string;
42
+ rotateIntervalMs?: string;
43
+ rotateSizeBytes?: string;
44
+ SSLEnabled?: boolean;
45
+ taskConcurrency?: string;
46
+ timeZone?: string;
47
+ static names(): { [key: string]: string } {
48
+ return {
49
+ bucketName: 'BucketName',
50
+ compressionType: 'CompressionType',
51
+ contentTransform: 'ContentTransform',
52
+ endpoint: 'Endpoint',
53
+ pathFormat: 'PathFormat',
54
+ regionId: 'RegionId',
55
+ roleArn: 'RoleArn',
56
+ rotateIntervalMs: 'RotateIntervalMs',
57
+ rotateSizeBytes: 'RotateSizeBytes',
58
+ SSLEnabled: 'SSLEnabled',
59
+ taskConcurrency: 'TaskConcurrency',
60
+ timeZone: 'TimeZone',
61
+ };
62
+ }
63
+
64
+ static types(): { [key: string]: any } {
65
+ return {
66
+ bucketName: 'string',
67
+ compressionType: 'string',
68
+ contentTransform: SinkOSSParametersContentTransform,
69
+ endpoint: 'string',
70
+ pathFormat: 'string',
71
+ regionId: 'string',
72
+ roleArn: 'string',
73
+ rotateIntervalMs: 'string',
74
+ rotateSizeBytes: 'string',
75
+ SSLEnabled: 'boolean',
76
+ taskConcurrency: 'string',
77
+ timeZone: 'string',
78
+ };
79
+ }
80
+
81
+ validate() {
82
+ if(this.contentTransform && typeof (this.contentTransform as any).validate === 'function') {
83
+ (this.contentTransform as any).validate();
84
+ }
85
+ super.validate();
86
+ }
87
+
88
+ constructor(map?: { [key: string]: any }) {
89
+ super(map);
90
+ }
91
+ }
92
+
@@ -0,0 +1,54 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SinkRabbitMQMetaParameters extends $dara.Model {
6
+ endpoint?: string;
7
+ instanceId?: string;
8
+ instanceType?: string;
9
+ networkType?: string;
10
+ password?: string;
11
+ securityGroupId?: string;
12
+ username?: string;
13
+ vSwitchIds?: string;
14
+ virtualHostName?: string;
15
+ vpcId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ endpoint: 'Endpoint',
19
+ instanceId: 'InstanceId',
20
+ instanceType: 'InstanceType',
21
+ networkType: 'NetworkType',
22
+ password: 'Password',
23
+ securityGroupId: 'SecurityGroupId',
24
+ username: 'Username',
25
+ vSwitchIds: 'VSwitchIds',
26
+ virtualHostName: 'VirtualHostName',
27
+ vpcId: 'VpcId',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ endpoint: 'string',
34
+ instanceId: 'string',
35
+ instanceType: 'string',
36
+ networkType: 'string',
37
+ password: 'string',
38
+ securityGroupId: 'string',
39
+ username: 'string',
40
+ vSwitchIds: 'string',
41
+ virtualHostName: 'string',
42
+ vpcId: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
@@ -0,0 +1,232 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SinkRabbitMQMsgSyncParametersBody extends $dara.Model {
6
+ form?: string;
7
+ template?: string;
8
+ value?: string;
9
+ static names(): { [key: string]: string } {
10
+ return {
11
+ form: 'Form',
12
+ template: 'Template',
13
+ value: 'Value',
14
+ };
15
+ }
16
+
17
+ static types(): { [key: string]: any } {
18
+ return {
19
+ form: 'string',
20
+ template: 'string',
21
+ value: 'string',
22
+ };
23
+ }
24
+
25
+ validate() {
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
34
+ export class SinkRabbitMQMsgSyncParametersExchange extends $dara.Model {
35
+ form?: string;
36
+ template?: string;
37
+ value?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ form: 'Form',
41
+ template: 'Template',
42
+ value: 'Value',
43
+ };
44
+ }
45
+
46
+ static types(): { [key: string]: any } {
47
+ return {
48
+ form: 'string',
49
+ template: 'string',
50
+ value: 'string',
51
+ };
52
+ }
53
+
54
+ validate() {
55
+ super.validate();
56
+ }
57
+
58
+ constructor(map?: { [key: string]: any }) {
59
+ super(map);
60
+ }
61
+ }
62
+
63
+ export class SinkRabbitMQMsgSyncParametersMessageId extends $dara.Model {
64
+ form?: string;
65
+ template?: string;
66
+ value?: string;
67
+ static names(): { [key: string]: string } {
68
+ return {
69
+ form: 'Form',
70
+ template: 'Template',
71
+ value: 'Value',
72
+ };
73
+ }
74
+
75
+ static types(): { [key: string]: any } {
76
+ return {
77
+ form: 'string',
78
+ template: 'string',
79
+ value: 'string',
80
+ };
81
+ }
82
+
83
+ validate() {
84
+ super.validate();
85
+ }
86
+
87
+ constructor(map?: { [key: string]: any }) {
88
+ super(map);
89
+ }
90
+ }
91
+
92
+ export class SinkRabbitMQMsgSyncParametersProperties extends $dara.Model {
93
+ form?: string;
94
+ template?: string;
95
+ value?: string;
96
+ static names(): { [key: string]: string } {
97
+ return {
98
+ form: 'Form',
99
+ template: 'Template',
100
+ value: 'Value',
101
+ };
102
+ }
103
+
104
+ static types(): { [key: string]: any } {
105
+ return {
106
+ form: 'string',
107
+ template: 'string',
108
+ value: 'string',
109
+ };
110
+ }
111
+
112
+ validate() {
113
+ super.validate();
114
+ }
115
+
116
+ constructor(map?: { [key: string]: any }) {
117
+ super(map);
118
+ }
119
+ }
120
+
121
+ export class SinkRabbitMQMsgSyncParametersRoutingKey extends $dara.Model {
122
+ form?: string;
123
+ template?: string;
124
+ value?: string;
125
+ static names(): { [key: string]: string } {
126
+ return {
127
+ form: 'Form',
128
+ template: 'Template',
129
+ value: 'Value',
130
+ };
131
+ }
132
+
133
+ static types(): { [key: string]: any } {
134
+ return {
135
+ form: 'string',
136
+ template: 'string',
137
+ value: 'string',
138
+ };
139
+ }
140
+
141
+ validate() {
142
+ super.validate();
143
+ }
144
+
145
+ constructor(map?: { [key: string]: any }) {
146
+ super(map);
147
+ }
148
+ }
149
+
150
+ export class SinkRabbitMQMsgSyncParameters extends $dara.Model {
151
+ body?: SinkRabbitMQMsgSyncParametersBody;
152
+ endpoint?: string;
153
+ exchange?: SinkRabbitMQMsgSyncParametersExchange;
154
+ instanceId?: string;
155
+ instanceType?: string;
156
+ maxHops?: string;
157
+ messageId?: SinkRabbitMQMsgSyncParametersMessageId;
158
+ networkType?: string;
159
+ password?: string;
160
+ properties?: SinkRabbitMQMsgSyncParametersProperties;
161
+ routingKey?: SinkRabbitMQMsgSyncParametersRoutingKey;
162
+ securityGroupId?: string;
163
+ username?: string;
164
+ vSwitchIds?: string;
165
+ virtualHostName?: string;
166
+ vpcId?: string;
167
+ static names(): { [key: string]: string } {
168
+ return {
169
+ body: 'Body',
170
+ endpoint: 'Endpoint',
171
+ exchange: 'Exchange',
172
+ instanceId: 'InstanceId',
173
+ instanceType: 'InstanceType',
174
+ maxHops: 'MaxHops',
175
+ messageId: 'MessageId',
176
+ networkType: 'NetworkType',
177
+ password: 'Password',
178
+ properties: 'Properties',
179
+ routingKey: 'RoutingKey',
180
+ securityGroupId: 'SecurityGroupId',
181
+ username: 'Username',
182
+ vSwitchIds: 'VSwitchIds',
183
+ virtualHostName: 'VirtualHostName',
184
+ vpcId: 'VpcId',
185
+ };
186
+ }
187
+
188
+ static types(): { [key: string]: any } {
189
+ return {
190
+ body: SinkRabbitMQMsgSyncParametersBody,
191
+ endpoint: 'string',
192
+ exchange: SinkRabbitMQMsgSyncParametersExchange,
193
+ instanceId: 'string',
194
+ instanceType: 'string',
195
+ maxHops: 'string',
196
+ messageId: SinkRabbitMQMsgSyncParametersMessageId,
197
+ networkType: 'string',
198
+ password: 'string',
199
+ properties: SinkRabbitMQMsgSyncParametersProperties,
200
+ routingKey: SinkRabbitMQMsgSyncParametersRoutingKey,
201
+ securityGroupId: 'string',
202
+ username: 'string',
203
+ vSwitchIds: 'string',
204
+ virtualHostName: 'string',
205
+ vpcId: 'string',
206
+ };
207
+ }
208
+
209
+ validate() {
210
+ if(this.body && typeof (this.body as any).validate === 'function') {
211
+ (this.body as any).validate();
212
+ }
213
+ if(this.exchange && typeof (this.exchange as any).validate === 'function') {
214
+ (this.exchange as any).validate();
215
+ }
216
+ if(this.messageId && typeof (this.messageId as any).validate === 'function') {
217
+ (this.messageId as any).validate();
218
+ }
219
+ if(this.properties && typeof (this.properties as any).validate === 'function') {
220
+ (this.properties as any).validate();
221
+ }
222
+ if(this.routingKey && typeof (this.routingKey as any).validate === 'function') {
223
+ (this.routingKey as any).validate();
224
+ }
225
+ super.validate();
226
+ }
227
+
228
+ constructor(map?: { [key: string]: any }) {
229
+ super(map);
230
+ }
231
+ }
232
+
@@ -0,0 +1,63 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SourcePostgreSQLParameters extends $dara.Model {
6
+ databaseName?: string;
7
+ hostName?: string;
8
+ networkType?: string;
9
+ password?: string;
10
+ port?: number;
11
+ regionId?: string;
12
+ schemaName?: string;
13
+ securityGroupId?: string;
14
+ snapshotMode?: string;
15
+ tableNames?: string;
16
+ user?: string;
17
+ vSwitchIds?: string;
18
+ vpcId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ databaseName: 'DatabaseName',
22
+ hostName: 'HostName',
23
+ networkType: 'NetworkType',
24
+ password: 'Password',
25
+ port: 'Port',
26
+ regionId: 'RegionId',
27
+ schemaName: 'SchemaName',
28
+ securityGroupId: 'SecurityGroupId',
29
+ snapshotMode: 'SnapshotMode',
30
+ tableNames: 'TableNames',
31
+ user: 'User',
32
+ vSwitchIds: 'VSwitchIds',
33
+ vpcId: 'VpcId',
34
+ };
35
+ }
36
+
37
+ static types(): { [key: string]: any } {
38
+ return {
39
+ databaseName: 'string',
40
+ hostName: 'string',
41
+ networkType: 'string',
42
+ password: 'string',
43
+ port: 'number',
44
+ regionId: 'string',
45
+ schemaName: 'string',
46
+ securityGroupId: 'string',
47
+ snapshotMode: 'string',
48
+ tableNames: 'string',
49
+ user: 'string',
50
+ vSwitchIds: 'string',
51
+ vpcId: 'string',
52
+ };
53
+ }
54
+
55
+ validate() {
56
+ super.validate();
57
+ }
58
+
59
+ constructor(map?: { [key: string]: any }) {
60
+ super(map);
61
+ }
62
+ }
63
+
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SourceRabbitMQMetaParameters extends $dara.Model {
6
+ endpoint?: string;
7
+ innerNameSuffix?: string;
8
+ instanceId?: string;
9
+ instanceType?: string;
10
+ maxHops?: string;
11
+ networkType?: string;
12
+ orderConsume?: string;
13
+ password?: string;
14
+ regex?: string;
15
+ securityGroupId?: string;
16
+ username?: string;
17
+ vSwitchIds?: string;
18
+ virtualHostName?: string;
19
+ vpcId?: string;
20
+ static names(): { [key: string]: string } {
21
+ return {
22
+ endpoint: 'Endpoint',
23
+ innerNameSuffix: 'InnerNameSuffix',
24
+ instanceId: 'InstanceId',
25
+ instanceType: 'InstanceType',
26
+ maxHops: 'MaxHops',
27
+ networkType: 'NetworkType',
28
+ orderConsume: 'OrderConsume',
29
+ password: 'Password',
30
+ regex: 'Regex',
31
+ securityGroupId: 'SecurityGroupId',
32
+ username: 'Username',
33
+ vSwitchIds: 'VSwitchIds',
34
+ virtualHostName: 'VirtualHostName',
35
+ vpcId: 'VpcId',
36
+ };
37
+ }
38
+
39
+ static types(): { [key: string]: any } {
40
+ return {
41
+ endpoint: 'string',
42
+ innerNameSuffix: 'string',
43
+ instanceId: 'string',
44
+ instanceType: 'string',
45
+ maxHops: 'string',
46
+ networkType: 'string',
47
+ orderConsume: 'string',
48
+ password: 'string',
49
+ regex: 'string',
50
+ securityGroupId: 'string',
51
+ username: 'string',
52
+ vSwitchIds: 'string',
53
+ virtualHostName: 'string',
54
+ vpcId: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,63 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SourceRabbitMQMsgSyncParameters extends $dara.Model {
6
+ bodyDataType?: string;
7
+ endpoint?: string;
8
+ instanceId?: string;
9
+ instanceType?: string;
10
+ networkType?: string;
11
+ orderConsume?: string;
12
+ password?: string;
13
+ prefetchCount?: string;
14
+ securityGroupId?: string;
15
+ username?: string;
16
+ vSwitchIds?: string;
17
+ virtualHostName?: string;
18
+ vpcId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ bodyDataType: 'BodyDataType',
22
+ endpoint: 'Endpoint',
23
+ instanceId: 'InstanceId',
24
+ instanceType: 'InstanceType',
25
+ networkType: 'NetworkType',
26
+ orderConsume: 'OrderConsume',
27
+ password: 'Password',
28
+ prefetchCount: 'PrefetchCount',
29
+ securityGroupId: 'SecurityGroupId',
30
+ username: 'Username',
31
+ vSwitchIds: 'VSwitchIds',
32
+ virtualHostName: 'VirtualHostName',
33
+ vpcId: 'VpcId',
34
+ };
35
+ }
36
+
37
+ static types(): { [key: string]: any } {
38
+ return {
39
+ bodyDataType: 'string',
40
+ endpoint: 'string',
41
+ instanceId: 'string',
42
+ instanceType: 'string',
43
+ networkType: 'string',
44
+ orderConsume: 'string',
45
+ password: 'string',
46
+ prefetchCount: 'string',
47
+ securityGroupId: 'string',
48
+ username: 'string',
49
+ vSwitchIds: 'string',
50
+ virtualHostName: 'string',
51
+ vpcId: 'string',
52
+ };
53
+ }
54
+
55
+ validate() {
56
+ super.validate();
57
+ }
58
+
59
+ constructor(map?: { [key: string]: any }) {
60
+ super(map);
61
+ }
62
+ }
63
+