@alicloud/eventbridge20200401 5.1.3 → 6.0.1

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 (57) hide show
  1. package/dist/models/BaiLianAgentTransformParameters.d.ts +35 -0
  2. package/dist/models/BaiLianAgentTransformParameters.js +94 -0
  3. package/dist/models/BaiLianAgentTransformParameters.js.map +1 -0
  4. package/dist/models/CreateEventStreamingRequest.d.ts +88 -19
  5. package/dist/models/CreateEventStreamingRequest.js +127 -7
  6. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  7. package/dist/models/DashScopeTransformParameters.d.ts +35 -0
  8. package/dist/models/DashScopeTransformParameters.js +96 -0
  9. package/dist/models/DashScopeTransformParameters.js.map +1 -0
  10. package/dist/models/EmbeddingTransformParameters.d.ts +31 -0
  11. package/dist/models/EmbeddingTransformParameters.js +88 -0
  12. package/dist/models/EmbeddingTransformParameters.js.map +1 -0
  13. package/dist/models/GetEventStreamingResponseBody.d.ts +59 -28
  14. package/dist/models/GetEventStreamingResponseBody.js +121 -7
  15. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  16. package/dist/models/ListEventStreamingsResponseBody.d.ts +59 -172
  17. package/dist/models/ListEventStreamingsResponseBody.js +121 -265
  18. package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
  19. package/dist/models/SinkApiDestinationParameters.d.ts +62 -0
  20. package/dist/models/SinkApiDestinationParameters.js +142 -0
  21. package/dist/models/SinkApiDestinationParameters.js.map +1 -0
  22. package/dist/models/SinkBaiLianParameters.d.ts +0 -2
  23. package/dist/models/SinkBaiLianParameters.js +0 -2
  24. package/dist/models/SinkBaiLianParameters.js.map +1 -1
  25. package/dist/models/SinkHttpsParameters.d.ts +51 -0
  26. package/dist/models/SinkHttpsParameters.js +124 -0
  27. package/dist/models/SinkHttpsParameters.js.map +1 -0
  28. package/dist/models/SinkOssparameters.d.ts +40 -0
  29. package/dist/models/SinkOssparameters.js +106 -0
  30. package/dist/models/SinkOssparameters.js.map +1 -0
  31. package/dist/models/SourcePostgreSqlparameters.d.ts +26 -0
  32. package/dist/models/SourcePostgreSqlparameters.js +82 -0
  33. package/dist/models/SourcePostgreSqlparameters.js.map +1 -0
  34. package/dist/models/TestEventSourceConfigRequest.d.ts +1 -0
  35. package/dist/models/TestEventSourceConfigRequest.js +2 -0
  36. package/dist/models/TestEventSourceConfigRequest.js.map +1 -1
  37. package/dist/models/UpdateEventStreamingRequest.d.ts +59 -45
  38. package/dist/models/UpdateEventStreamingRequest.js +121 -7
  39. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  40. package/dist/models/model.d.ts +28 -8
  41. package/dist/models/model.js +564 -524
  42. package/dist/models/model.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/models/BaiLianAgentTransformParameters.ts +73 -0
  45. package/src/models/CreateEventStreamingRequest.ts +177 -22
  46. package/src/models/DashScopeTransformParameters.ts +77 -0
  47. package/src/models/EmbeddingTransformParameters.ts +65 -0
  48. package/src/models/GetEventStreamingResponseBody.ts +143 -31
  49. package/src/models/ListEventStreamingsResponseBody.ts +143 -360
  50. package/src/models/SinkApiDestinationParameters.ts +132 -0
  51. package/src/models/SinkBaiLianParameters.ts +0 -2
  52. package/src/models/SinkHttpsParameters.ts +112 -0
  53. package/src/models/SinkOssparameters.ts +92 -0
  54. package/src/models/SourcePostgreSqlparameters.ts +63 -0
  55. package/src/models/TestEventSourceConfigRequest.ts +3 -0
  56. package/src/models/UpdateEventStreamingRequest.ts +143 -48
  57. package/src/models/model.ts +28 -8
@@ -0,0 +1,132 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SinkApiDestinationParametersBodyParameters 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 SinkApiDestinationParametersHeaderParameters 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 SinkApiDestinationParametersQueryStringParameters 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 SinkApiDestinationParameters extends $dara.Model {
93
+ bodyParameters?: SinkApiDestinationParametersBodyParameters;
94
+ headerParameters?: SinkApiDestinationParametersHeaderParameters;
95
+ name?: string;
96
+ queryStringParameters?: SinkApiDestinationParametersQueryStringParameters;
97
+ static names(): { [key: string]: string } {
98
+ return {
99
+ bodyParameters: 'BodyParameters',
100
+ headerParameters: 'HeaderParameters',
101
+ name: 'Name',
102
+ queryStringParameters: 'QueryStringParameters',
103
+ };
104
+ }
105
+
106
+ static types(): { [key: string]: any } {
107
+ return {
108
+ bodyParameters: SinkApiDestinationParametersBodyParameters,
109
+ headerParameters: SinkApiDestinationParametersHeaderParameters,
110
+ name: 'string',
111
+ queryStringParameters: SinkApiDestinationParametersQueryStringParameters,
112
+ };
113
+ }
114
+
115
+ validate() {
116
+ if(this.bodyParameters && typeof (this.bodyParameters as any).validate === 'function') {
117
+ (this.bodyParameters as any).validate();
118
+ }
119
+ if(this.headerParameters && typeof (this.headerParameters as any).validate === 'function') {
120
+ (this.headerParameters as any).validate();
121
+ }
122
+ if(this.queryStringParameters && typeof (this.queryStringParameters as any).validate === 'function') {
123
+ (this.queryStringParameters as any).validate();
124
+ }
125
+ super.validate();
126
+ }
127
+
128
+ constructor(map?: { [key: string]: any }) {
129
+ super(map);
130
+ }
131
+ }
132
+
@@ -2,8 +2,6 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
- /**
6
- */
7
5
  export class SinkBaiLianParametersAfter extends $dara.Model {
8
6
  form?: string;
9
7
  template?: string;
@@ -0,0 +1,112 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SinkHttpsParametersBody 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 SinkHttpsParametersURL 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 SinkHttpsParameters extends $dara.Model {
64
+ body?: SinkHttpsParametersBody;
65
+ method?: string;
66
+ networkType?: string;
67
+ securityGroupId?: string;
68
+ token?: string;
69
+ URL?: SinkHttpsParametersURL;
70
+ vSwitchIds?: string;
71
+ vpcId?: string;
72
+ static names(): { [key: string]: string } {
73
+ return {
74
+ body: 'Body',
75
+ method: 'Method',
76
+ networkType: 'NetworkType',
77
+ securityGroupId: 'SecurityGroupId',
78
+ token: 'Token',
79
+ URL: 'URL',
80
+ vSwitchIds: 'VSwitchIds',
81
+ vpcId: 'VpcId',
82
+ };
83
+ }
84
+
85
+ static types(): { [key: string]: any } {
86
+ return {
87
+ body: SinkHttpsParametersBody,
88
+ method: 'string',
89
+ networkType: 'string',
90
+ securityGroupId: 'string',
91
+ token: 'string',
92
+ URL: SinkHttpsParametersURL,
93
+ vSwitchIds: 'string',
94
+ vpcId: 'string',
95
+ };
96
+ }
97
+
98
+ validate() {
99
+ if(this.body && typeof (this.body as any).validate === 'function') {
100
+ (this.body as any).validate();
101
+ }
102
+ if(this.URL && typeof (this.URL as any).validate === 'function') {
103
+ (this.URL as any).validate();
104
+ }
105
+ super.validate();
106
+ }
107
+
108
+ constructor(map?: { [key: string]: any }) {
109
+ super(map);
110
+ }
111
+ }
112
+
@@ -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,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
+
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class TestEventSourceConfigRequestSourceMySQLParameters extends $dara.Model {
6
+ allowedCIDRs?: string;
6
7
  /**
7
8
  * @remarks
8
9
  * The database name.
@@ -98,6 +99,7 @@ export class TestEventSourceConfigRequestSourceMySQLParameters extends $dara.Mod
98
99
  vpcId?: string;
99
100
  static names(): { [key: string]: string } {
100
101
  return {
102
+ allowedCIDRs: 'AllowedCIDRs',
101
103
  databaseName: 'DatabaseName',
102
104
  hostName: 'HostName',
103
105
  networkType: 'NetworkType',
@@ -114,6 +116,7 @@ export class TestEventSourceConfigRequestSourceMySQLParameters extends $dara.Mod
114
116
 
115
117
  static types(): { [key: string]: any } {
116
118
  return {
119
+ allowedCIDRs: 'string',
117
120
  databaseName: 'string',
118
121
  hostName: 'string',
119
122
  networkType: 'string',