@alicloud/eventbridge20200401 6.7.1 → 6.7.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 +10 -10
- package/dist/client.js +38 -13
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEventBusRequest.d.ts +41 -0
- package/dist/models/CreateEventBusRequest.js +29 -1
- package/dist/models/CreateEventBusRequest.js.map +1 -1
- package/dist/models/CreateEventBusResponseBody.d.ts +2 -1
- package/dist/models/CreateEventBusResponseBody.js.map +1 -1
- package/dist/models/CreateEventStreamingRequest.d.ts +361 -341
- package/dist/models/CreateEventStreamingRequest.js +2 -0
- package/dist/models/CreateEventStreamingRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingResponseBody.d.ts +2 -2
- package/dist/models/CreateEventStreamingShrinkRequest.d.ts +13 -5
- package/dist/models/CreateEventStreamingShrinkRequest.js +2 -0
- package/dist/models/CreateEventStreamingShrinkRequest.js.map +1 -1
- package/dist/models/GetEventBusResponseBody.d.ts +46 -5
- package/dist/models/GetEventBusResponseBody.js +29 -1
- package/dist/models/GetEventBusResponseBody.js.map +1 -1
- package/dist/models/GetEventStreamingResponseBody.d.ts +452 -449
- package/dist/models/GetEventStreamingResponseBody.js +2 -0
- package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
- package/dist/models/ListEventBusesRequest.d.ts +12 -4
- package/dist/models/ListEventBusesRequest.js +2 -0
- package/dist/models/ListEventBusesRequest.js.map +1 -1
- package/dist/models/ListEventBusesResponseBody.d.ts +51 -11
- package/dist/models/ListEventBusesResponseBody.js +29 -1
- package/dist/models/ListEventBusesResponseBody.js.map +1 -1
- package/dist/models/ListEventStreamingsResponseBody.d.ts +8 -0
- package/dist/models/ListEventStreamingsResponseBody.js +2 -0
- package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
- package/dist/models/SinkBaiLianParameters.d.ts +23 -23
- package/dist/models/SourceMySqlparameters.d.ts +7 -7
- package/dist/models/UpdateAgentRequest.d.ts +8 -8
- package/dist/models/UpdateAgentResponseBody.d.ts +5 -5
- package/dist/models/UpdateAgentShrinkRequest.d.ts +7 -7
- package/dist/models/UpdateEventBusRequest.d.ts +33 -0
- package/dist/models/UpdateEventBusRequest.js +27 -1
- package/dist/models/UpdateEventBusRequest.js.map +1 -1
- package/dist/models/UpdateEventBusResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +43 -35
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -1
- package/src/client.ts +44 -14
- package/src/models/CreateEventBusRequest.ts +60 -0
- package/src/models/CreateEventBusResponseBody.ts +2 -1
- package/src/models/CreateEventStreamingRequest.ts +363 -341
- package/src/models/CreateEventStreamingResponseBody.ts +2 -2
- package/src/models/CreateEventStreamingShrinkRequest.ts +15 -5
- package/src/models/GetEventBusResponseBody.ts +65 -5
- package/src/models/GetEventStreamingResponseBody.ts +454 -449
- package/src/models/ListEventBusesRequest.ts +14 -4
- package/src/models/ListEventBusesResponseBody.ts +70 -11
- package/src/models/ListEventStreamingsResponseBody.ts +10 -0
- package/src/models/SinkBaiLianParameters.ts +23 -23
- package/src/models/SourceMySqlparameters.ts +7 -7
- package/src/models/UpdateAgentRequest.ts +8 -8
- package/src/models/UpdateAgentResponseBody.ts +5 -5
- package/src/models/UpdateAgentShrinkRequest.ts +7 -7
- package/src/models/UpdateEventBusRequest.ts +50 -0
- package/src/models/UpdateEventBusResponseBody.ts +3 -3
- package/src/models/model.ts +4 -0
|
@@ -35,7 +35,7 @@ export class CreateEventStreamingResponseBodyData extends $dara.Model {
|
|
|
35
35
|
export class CreateEventStreamingResponseBody extends $dara.Model {
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The
|
|
38
|
+
* The return code of the API operation. Valid values:
|
|
39
39
|
* - Success: The operation is successful.
|
|
40
40
|
* - Other values: An error code. For more information, see Error codes.
|
|
41
41
|
*
|
|
@@ -66,7 +66,7 @@ export class CreateEventStreamingResponseBody extends $dara.Model {
|
|
|
66
66
|
requestId?: string;
|
|
67
67
|
/**
|
|
68
68
|
* @remarks
|
|
69
|
-
* Indicates whether the operation is successful.
|
|
69
|
+
* Indicates whether the operation is successful.
|
|
70
70
|
*
|
|
71
71
|
* @example
|
|
72
72
|
* true
|
|
@@ -63,7 +63,7 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
|
|
|
63
63
|
eventStreamingName?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* The event filtering rule. If
|
|
66
|
+
* The event filtering rule. If you do not specify this parameter, all events are matched.
|
|
67
67
|
*
|
|
68
68
|
* @example
|
|
69
69
|
* {
|
|
@@ -87,12 +87,20 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
|
|
|
87
87
|
filterPattern?: string;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The common JSON configurations for the event provider. This parameter is mutually exclusive with
|
|
90
|
+
* The common JSON configurations for the event provider. This parameter is mutually exclusive with Source.
|
|
91
91
|
*
|
|
92
92
|
* @example
|
|
93
93
|
* {"key":"value"}
|
|
94
94
|
*/
|
|
95
95
|
metadata?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The resource group ID. If you do not specify this parameter, the created event stream belongs to the default resource group of the account.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* rg-acfmxazb4ph6aiy****
|
|
102
|
+
*/
|
|
103
|
+
resourceGroupId?: string;
|
|
96
104
|
/**
|
|
97
105
|
* @remarks
|
|
98
106
|
* The runtime environment parameters.
|
|
@@ -100,12 +108,12 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
|
|
|
100
108
|
runOptionsShrink?: string;
|
|
101
109
|
/**
|
|
102
110
|
* @remarks
|
|
103
|
-
* The event target. You must select one
|
|
111
|
+
* The event target. You must select exactly one type of sink to configure.
|
|
104
112
|
*/
|
|
105
113
|
sinkShrink?: string;
|
|
106
114
|
/**
|
|
107
115
|
* @remarks
|
|
108
|
-
* The event provider. You must
|
|
116
|
+
* The event provider. You must select exactly one source type and configure its parameters.
|
|
109
117
|
*/
|
|
110
118
|
sourceShrink?: string;
|
|
111
119
|
/**
|
|
@@ -115,7 +123,7 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
|
|
|
115
123
|
tags?: CreateEventStreamingShrinkRequestTags[];
|
|
116
124
|
/**
|
|
117
125
|
* @remarks
|
|
118
|
-
* The
|
|
126
|
+
* The configuration for transforms.
|
|
119
127
|
*/
|
|
120
128
|
transformsShrink?: string;
|
|
121
129
|
static names(): { [key: string]: string } {
|
|
@@ -124,6 +132,7 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
|
|
|
124
132
|
eventStreamingName: 'EventStreamingName',
|
|
125
133
|
filterPattern: 'FilterPattern',
|
|
126
134
|
metadata: 'Metadata',
|
|
135
|
+
resourceGroupId: 'ResourceGroupId',
|
|
127
136
|
runOptionsShrink: 'RunOptions',
|
|
128
137
|
sinkShrink: 'Sink',
|
|
129
138
|
sourceShrink: 'Source',
|
|
@@ -138,6 +147,7 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
|
|
|
138
147
|
eventStreamingName: 'string',
|
|
139
148
|
filterPattern: 'string',
|
|
140
149
|
metadata: 'string',
|
|
150
|
+
resourceGroupId: 'string',
|
|
141
151
|
runOptionsShrink: 'string',
|
|
142
152
|
sinkShrink: 'string',
|
|
143
153
|
sourceShrink: 'string',
|
|
@@ -2,10 +2,50 @@
|
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
3
|
|
|
4
4
|
|
|
5
|
+
export class GetEventBusResponseBodyDataTags extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The key of the first tag.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* department
|
|
12
|
+
*/
|
|
13
|
+
key?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The value of the first tag.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* R&D
|
|
20
|
+
*/
|
|
21
|
+
value?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
key: 'Key',
|
|
25
|
+
value: 'Value',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
key: 'string',
|
|
32
|
+
value: 'string',
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
validate() {
|
|
37
|
+
super.validate();
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
constructor(map?: { [key: string]: any }) {
|
|
41
|
+
super(map);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
5
45
|
export class GetEventBusResponseBodyData extends $dara.Model {
|
|
6
46
|
/**
|
|
7
47
|
* @remarks
|
|
8
|
-
* The timestamp
|
|
48
|
+
* The creation timestamp.
|
|
9
49
|
*
|
|
10
50
|
* @example
|
|
11
51
|
* 1641781825000
|
|
@@ -35,12 +75,27 @@ export class GetEventBusResponseBodyData extends $dara.Model {
|
|
|
35
75
|
* MyEventBus
|
|
36
76
|
*/
|
|
37
77
|
eventBusName?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The ID of the resource group to which the event bus belongs.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* rg-acfmxazb4ph6aiy****
|
|
84
|
+
*/
|
|
85
|
+
resourceGroupId?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The tag information.
|
|
89
|
+
*/
|
|
90
|
+
tags?: GetEventBusResponseBodyDataTags[];
|
|
38
91
|
static names(): { [key: string]: string } {
|
|
39
92
|
return {
|
|
40
93
|
createTimestamp: 'CreateTimestamp',
|
|
41
94
|
description: 'Description',
|
|
42
95
|
eventBusARN: 'EventBusARN',
|
|
43
96
|
eventBusName: 'EventBusName',
|
|
97
|
+
resourceGroupId: 'ResourceGroupId',
|
|
98
|
+
tags: 'Tags',
|
|
44
99
|
};
|
|
45
100
|
}
|
|
46
101
|
|
|
@@ -50,10 +105,15 @@ export class GetEventBusResponseBodyData extends $dara.Model {
|
|
|
50
105
|
description: 'string',
|
|
51
106
|
eventBusARN: 'string',
|
|
52
107
|
eventBusName: 'string',
|
|
108
|
+
resourceGroupId: 'string',
|
|
109
|
+
tags: { 'type': 'array', 'itemType': GetEventBusResponseBodyDataTags },
|
|
53
110
|
};
|
|
54
111
|
}
|
|
55
112
|
|
|
56
113
|
validate() {
|
|
114
|
+
if(Array.isArray(this.tags)) {
|
|
115
|
+
$dara.Model.validateArray(this.tags);
|
|
116
|
+
}
|
|
57
117
|
super.validate();
|
|
58
118
|
}
|
|
59
119
|
|
|
@@ -65,7 +125,7 @@ export class GetEventBusResponseBodyData extends $dara.Model {
|
|
|
65
125
|
export class GetEventBusResponseBody extends $dara.Model {
|
|
66
126
|
/**
|
|
67
127
|
* @remarks
|
|
68
|
-
* The response code.
|
|
128
|
+
* The response code. A value of Success indicates that the request is successful. Other values indicate error codes. For more information, see Error codes.
|
|
69
129
|
*
|
|
70
130
|
* @example
|
|
71
131
|
* Success
|
|
@@ -73,12 +133,12 @@ export class GetEventBusResponseBody extends $dara.Model {
|
|
|
73
133
|
code?: string;
|
|
74
134
|
/**
|
|
75
135
|
* @remarks
|
|
76
|
-
* The
|
|
136
|
+
* The returned result.
|
|
77
137
|
*/
|
|
78
138
|
data?: GetEventBusResponseBodyData;
|
|
79
139
|
/**
|
|
80
140
|
* @remarks
|
|
81
|
-
* The error message
|
|
141
|
+
* The error message.
|
|
82
142
|
*
|
|
83
143
|
* @example
|
|
84
144
|
* EventBusNotExist
|
|
@@ -94,7 +154,7 @@ export class GetEventBusResponseBody extends $dara.Model {
|
|
|
94
154
|
requestId?: string;
|
|
95
155
|
/**
|
|
96
156
|
* @remarks
|
|
97
|
-
* Indicates whether the operation
|
|
157
|
+
* Indicates whether the operation is successful.
|
|
98
158
|
*
|
|
99
159
|
* @example
|
|
100
160
|
* true
|