@alicloud/eventbridge20200401 6.7.2 → 6.7.3
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 +10 -10
- package/dist/models/CheckServiceLinkedRoleForProductRequest.d.ts +1 -1
- package/dist/models/CheckServiceLinkedRoleForProductResponseBody.d.ts +1 -1
- package/dist/models/Content.d.ts +3 -3
- package/dist/models/CreateApiDestinationRequest.d.ts +2 -3
- package/dist/models/CreateApiDestinationRequest.js.map +1 -1
- package/dist/models/CreateApiDestinationResponseBody.d.ts +2 -2
- package/dist/models/CreateApiDestinationShrinkRequest.d.ts +2 -3
- package/dist/models/CreateApiDestinationShrinkRequest.js.map +1 -1
- package/dist/models/CreateConnectionRequest.d.ts +27 -32
- package/dist/models/CreateConnectionRequest.js.map +1 -1
- package/dist/models/CreateConnectionResponseBody.d.ts +5 -5
- package/dist/models/CreateConnectionShrinkRequest.d.ts +4 -4
- package/dist/models/CreateEventBusRequest.d.ts +3 -3
- package/dist/models/CreateEventBusResponseBody.d.ts +1 -2
- package/dist/models/CreateEventBusResponseBody.js.map +1 -1
- package/dist/models/CreateEventSourceRequest.d.ts +21 -19
- package/dist/models/CreateEventSourceRequest.js.map +1 -1
- package/dist/models/CreateEventSourceResponseBody.d.ts +4 -4
- package/dist/models/CreateEventSourceShrinkRequest.d.ts +4 -1
- package/dist/models/CreateEventSourceShrinkRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingRequest.d.ts +232 -224
- package/dist/models/CreateEventStreamingRequest.js +6 -0
- package/dist/models/CreateEventStreamingRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingResponseBody.d.ts +2 -2
- package/dist/models/CreateEventStreamingShrinkRequest.d.ts +7 -7
- package/dist/models/CreateRuleRequest.d.ts +14 -14
- package/dist/models/CreateRuleShrinkRequest.d.ts +6 -6
- package/dist/models/CreateServiceLinkedRoleForProductRequest.d.ts +10 -9
- package/dist/models/CreateServiceLinkedRoleForProductRequest.js.map +1 -1
- package/dist/models/CreateServiceLinkedRoleForProductResponseBody.d.ts +2 -2
- package/dist/models/DeleteApiDestinationResponseBody.d.ts +1 -1
- package/dist/models/DeleteConnectionResponseBody.d.ts +2 -2
- package/dist/models/DeleteEventBusResponseBody.d.ts +4 -4
- package/dist/models/DeleteEventSourceRequest.d.ts +1 -1
- package/dist/models/DeleteEventSourceResponseBody.d.ts +5 -3
- package/dist/models/DeleteEventSourceResponseBody.js.map +1 -1
- package/dist/models/DeleteEventStreamingRequest.d.ts +1 -1
- package/dist/models/DeleteEventStreamingResponseBody.d.ts +4 -4
- package/dist/models/DeleteRuleRequest.d.ts +1 -1
- package/dist/models/DeleteRuleResponseBody.d.ts +6 -4
- package/dist/models/DeleteRuleResponseBody.js.map +1 -1
- package/dist/models/GetEventStreamingResponseBody.d.ts +355 -354
- package/dist/models/GetEventStreamingResponseBody.js +11 -0
- package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
- package/dist/models/ListEventStreamingsRequest.d.ts +2 -2
- package/dist/models/ListEventStreamingsResponseBody.d.ts +298 -291
- package/dist/models/ListEventStreamingsResponseBody.js +11 -0
- package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
- package/dist/models/SinkAgentCoreKnowledgeBaseParameters.d.ts +43 -0
- package/dist/models/SinkAgentCoreKnowledgeBaseParameters.js +62 -0
- package/dist/models/SinkAgentCoreKnowledgeBaseParameters.js.map +1 -0
- package/dist/models/SinkBaiLianParameters.d.ts +0 -77
- package/dist/models/SinkBaiLianParameters.js.map +1 -1
- package/dist/models/SourceMySqlparameters.d.ts +0 -39
- package/dist/models/SourceMySqlparameters.js.map +1 -1
- package/dist/models/UpdateEventSourceRequest.d.ts +43 -22
- package/dist/models/UpdateEventSourceRequest.js.map +1 -1
- package/dist/models/UpdateEventSourceResponseBody.d.ts +3 -3
- package/dist/models/UpdateEventSourceShrinkRequest.d.ts +10 -10
- package/dist/models/UpdateEventStreamingRequest.d.ts +446 -462
- package/dist/models/UpdateEventStreamingRequest.js +6 -0
- package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
- package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -2
- package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +4 -4
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +10 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +10 -10
- package/src/models/CheckServiceLinkedRoleForProductRequest.ts +1 -1
- package/src/models/CheckServiceLinkedRoleForProductResponseBody.ts +1 -1
- package/src/models/Content.ts +3 -3
- package/src/models/CreateApiDestinationRequest.ts +2 -3
- package/src/models/CreateApiDestinationResponseBody.ts +2 -2
- package/src/models/CreateApiDestinationShrinkRequest.ts +2 -3
- package/src/models/CreateConnectionRequest.ts +27 -32
- package/src/models/CreateConnectionResponseBody.ts +5 -5
- package/src/models/CreateConnectionShrinkRequest.ts +4 -4
- package/src/models/CreateEventBusRequest.ts +3 -3
- package/src/models/CreateEventBusResponseBody.ts +1 -2
- package/src/models/CreateEventSourceRequest.ts +21 -19
- package/src/models/CreateEventSourceResponseBody.ts +4 -4
- package/src/models/CreateEventSourceShrinkRequest.ts +4 -1
- package/src/models/CreateEventStreamingRequest.ts +237 -224
- package/src/models/CreateEventStreamingResponseBody.ts +2 -2
- package/src/models/CreateEventStreamingShrinkRequest.ts +7 -7
- package/src/models/CreateRuleRequest.ts +14 -14
- package/src/models/CreateRuleShrinkRequest.ts +6 -6
- package/src/models/CreateServiceLinkedRoleForProductRequest.ts +10 -9
- package/src/models/CreateServiceLinkedRoleForProductResponseBody.ts +2 -2
- package/src/models/DeleteApiDestinationResponseBody.ts +1 -1
- package/src/models/DeleteConnectionResponseBody.ts +2 -2
- package/src/models/DeleteEventBusResponseBody.ts +4 -4
- package/src/models/DeleteEventSourceRequest.ts +1 -1
- package/src/models/DeleteEventSourceResponseBody.ts +5 -3
- package/src/models/DeleteEventStreamingRequest.ts +1 -1
- package/src/models/DeleteEventStreamingResponseBody.ts +4 -4
- package/src/models/DeleteRuleRequest.ts +1 -1
- package/src/models/DeleteRuleResponseBody.ts +6 -4
- package/src/models/GetEventStreamingResponseBody.ts +369 -358
- package/src/models/ListEventStreamingsRequest.ts +2 -2
- package/src/models/ListEventStreamingsResponseBody.ts +308 -291
- package/src/models/SinkAgentCoreKnowledgeBaseParameters.ts +60 -0
- package/src/models/SinkBaiLianParameters.ts +0 -77
- package/src/models/SourceMySqlparameters.ts +0 -39
- package/src/models/UpdateEventSourceRequest.ts +43 -22
- package/src/models/UpdateEventSourceResponseBody.ts +3 -3
- package/src/models/UpdateEventSourceShrinkRequest.ts +10 -10
- package/src/models/UpdateEventStreamingRequest.ts +451 -462
- package/src/models/UpdateEventStreamingResponseBody.ts +2 -2
- package/src/models/UpdateEventStreamingShrinkRequest.ts +4 -4
- package/src/models/model.ts +1 -0
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SinkAgentCoreKnowledgeBaseParameters extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The AgentCore knowledge base ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* kb-123
|
|
14
|
+
*/
|
|
15
|
+
knowledgeBaseId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The AgentCore knowledge base role name.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* kbRole
|
|
24
|
+
*/
|
|
25
|
+
roleName?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The AgentCore workspace ID.
|
|
29
|
+
*
|
|
30
|
+
* This parameter is required.
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* kws-123
|
|
34
|
+
*/
|
|
35
|
+
workspaceId?: string;
|
|
36
|
+
static names(): { [key: string]: string } {
|
|
37
|
+
return {
|
|
38
|
+
knowledgeBaseId: 'KnowledgeBaseId',
|
|
39
|
+
roleName: 'RoleName',
|
|
40
|
+
workspaceId: 'WorkspaceId',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
static types(): { [key: string]: any } {
|
|
45
|
+
return {
|
|
46
|
+
knowledgeBaseId: 'string',
|
|
47
|
+
roleName: 'string',
|
|
48
|
+
workspaceId: 'string',
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
constructor(map?: { [key: string]: any }) {
|
|
57
|
+
super(map);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -4,25 +4,16 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class SinkBaiLianParametersAfter extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).
|
|
9
|
-
*
|
|
10
7
|
* @example
|
|
11
8
|
* CONSTANT
|
|
12
9
|
*/
|
|
13
10
|
form?: string;
|
|
14
11
|
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.
|
|
17
|
-
*
|
|
18
12
|
* @example
|
|
19
13
|
* The value of ${key} is ${value}!
|
|
20
14
|
*/
|
|
21
15
|
template?: string;
|
|
22
16
|
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.
|
|
25
|
-
*
|
|
26
17
|
* @example
|
|
27
18
|
* example
|
|
28
19
|
*/
|
|
@@ -54,25 +45,16 @@ export class SinkBaiLianParametersAfter extends $dara.Model {
|
|
|
54
45
|
|
|
55
46
|
export class SinkBaiLianParametersBefore extends $dara.Model {
|
|
56
47
|
/**
|
|
57
|
-
* @remarks
|
|
58
|
-
* The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).
|
|
59
|
-
*
|
|
60
48
|
* @example
|
|
61
49
|
* CONSTANT
|
|
62
50
|
*/
|
|
63
51
|
form?: string;
|
|
64
52
|
/**
|
|
65
|
-
* @remarks
|
|
66
|
-
* The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.
|
|
67
|
-
*
|
|
68
53
|
* @example
|
|
69
54
|
* The value of ${key} is ${value}!
|
|
70
55
|
*/
|
|
71
56
|
template?: string;
|
|
72
57
|
/**
|
|
73
|
-
* @remarks
|
|
74
|
-
* The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.
|
|
75
|
-
*
|
|
76
58
|
* @example
|
|
77
59
|
* example
|
|
78
60
|
*/
|
|
@@ -104,25 +86,16 @@ export class SinkBaiLianParametersBefore extends $dara.Model {
|
|
|
104
86
|
|
|
105
87
|
export class SinkBaiLianParametersOffset extends $dara.Model {
|
|
106
88
|
/**
|
|
107
|
-
* @remarks
|
|
108
|
-
* The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).
|
|
109
|
-
*
|
|
110
89
|
* @example
|
|
111
90
|
* CONSTANT
|
|
112
91
|
*/
|
|
113
92
|
form?: string;
|
|
114
93
|
/**
|
|
115
|
-
* @remarks
|
|
116
|
-
* The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.
|
|
117
|
-
*
|
|
118
94
|
* @example
|
|
119
95
|
* The value of ${key} is ${value}!
|
|
120
96
|
*/
|
|
121
97
|
template?: string;
|
|
122
98
|
/**
|
|
123
|
-
* @remarks
|
|
124
|
-
* The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.
|
|
125
|
-
*
|
|
126
99
|
* @example
|
|
127
100
|
* example
|
|
128
101
|
*/
|
|
@@ -154,25 +127,16 @@ export class SinkBaiLianParametersOffset extends $dara.Model {
|
|
|
154
127
|
|
|
155
128
|
export class SinkBaiLianParametersOp extends $dara.Model {
|
|
156
129
|
/**
|
|
157
|
-
* @remarks
|
|
158
|
-
* The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).
|
|
159
|
-
*
|
|
160
130
|
* @example
|
|
161
131
|
* CONSTANT
|
|
162
132
|
*/
|
|
163
133
|
form?: string;
|
|
164
134
|
/**
|
|
165
|
-
* @remarks
|
|
166
|
-
* The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.
|
|
167
|
-
*
|
|
168
135
|
* @example
|
|
169
136
|
* The value of ${key} is ${value}!
|
|
170
137
|
*/
|
|
171
138
|
template?: string;
|
|
172
139
|
/**
|
|
173
|
-
* @remarks
|
|
174
|
-
* The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.
|
|
175
|
-
*
|
|
176
140
|
* @example
|
|
177
141
|
* example
|
|
178
142
|
*/
|
|
@@ -204,25 +168,16 @@ export class SinkBaiLianParametersOp extends $dara.Model {
|
|
|
204
168
|
|
|
205
169
|
export class SinkBaiLianParametersPartition extends $dara.Model {
|
|
206
170
|
/**
|
|
207
|
-
* @remarks
|
|
208
|
-
* The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).
|
|
209
|
-
*
|
|
210
171
|
* @example
|
|
211
172
|
* CONSTANT
|
|
212
173
|
*/
|
|
213
174
|
form?: string;
|
|
214
175
|
/**
|
|
215
|
-
* @remarks
|
|
216
|
-
* The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.
|
|
217
|
-
*
|
|
218
176
|
* @example
|
|
219
177
|
* ${partition}
|
|
220
178
|
*/
|
|
221
179
|
template?: string;
|
|
222
180
|
/**
|
|
223
|
-
* @remarks
|
|
224
|
-
* The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.
|
|
225
|
-
*
|
|
226
181
|
* @example
|
|
227
182
|
* example
|
|
228
183
|
*/
|
|
@@ -253,59 +208,27 @@ export class SinkBaiLianParametersPartition extends $dara.Model {
|
|
|
253
208
|
}
|
|
254
209
|
|
|
255
210
|
export class SinkBaiLianParameters extends $dara.Model {
|
|
256
|
-
/**
|
|
257
|
-
* @remarks
|
|
258
|
-
* The post-processing logic executed after the main operation is completed.
|
|
259
|
-
*/
|
|
260
211
|
after?: SinkBaiLianParametersAfter;
|
|
261
212
|
/**
|
|
262
|
-
* @remarks
|
|
263
|
-
* The type of the Model Studio application to be invoked.
|
|
264
|
-
*
|
|
265
213
|
* @example
|
|
266
214
|
* KnowledgeBase
|
|
267
215
|
*/
|
|
268
216
|
applicationType?: string;
|
|
269
|
-
/**
|
|
270
|
-
* @remarks
|
|
271
|
-
* The pre-processing logic executed before the event is sent to the target.
|
|
272
|
-
*/
|
|
273
217
|
before?: SinkBaiLianParametersBefore;
|
|
274
218
|
/**
|
|
275
|
-
* @remarks
|
|
276
|
-
* The context information of the application, which must be a JSON object.
|
|
277
|
-
*
|
|
278
219
|
* @example
|
|
279
220
|
* {"k1":"v1"}
|
|
280
221
|
*/
|
|
281
222
|
context?: any;
|
|
282
223
|
/**
|
|
283
|
-
* @remarks
|
|
284
|
-
* The additional key-value pairs passed to the event target, which must be a valid JSON object.
|
|
285
|
-
*
|
|
286
224
|
* @example
|
|
287
225
|
* {"k1":"v1"}
|
|
288
226
|
*/
|
|
289
227
|
extend?: any;
|
|
290
|
-
/**
|
|
291
|
-
* @remarks
|
|
292
|
-
* The offset for reading the event from a stream or queue, which is used for stateful processing.
|
|
293
|
-
*/
|
|
294
228
|
offset?: SinkBaiLianParametersOffset;
|
|
295
|
-
/**
|
|
296
|
-
* @remarks
|
|
297
|
-
* The operation to be performed by the Model Studio application.
|
|
298
|
-
*/
|
|
299
229
|
op?: SinkBaiLianParametersOp;
|
|
300
|
-
/**
|
|
301
|
-
* @remarks
|
|
302
|
-
* The partition key of the event, which is used to route the event to a specific partition of the target service to ensure ordered processing.
|
|
303
|
-
*/
|
|
304
230
|
partition?: SinkBaiLianParametersPartition;
|
|
305
231
|
/**
|
|
306
|
-
* @remarks
|
|
307
|
-
* The unique ID of the Model Studio workspace.
|
|
308
|
-
*
|
|
309
232
|
* @example
|
|
310
233
|
* llm-a1b2c3d4e5f6g7h8
|
|
311
234
|
*/
|
|
@@ -4,105 +4,66 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class SourceMySQLParameters extends $dara.Model {
|
|
6
6
|
/**
|
|
7
|
-
* @remarks
|
|
8
|
-
* The name of the database.
|
|
9
|
-
*
|
|
10
7
|
* @example
|
|
11
8
|
* database1
|
|
12
9
|
*/
|
|
13
10
|
databaseName?: string;
|
|
14
11
|
/**
|
|
15
|
-
* @remarks
|
|
16
|
-
* The hostname or IP address of the database server.
|
|
17
|
-
*
|
|
18
12
|
* @example
|
|
19
13
|
* rm-bp1vxxx.mysql.rds.aliyuncs.com
|
|
20
14
|
*/
|
|
21
15
|
hostName?: string;
|
|
22
16
|
/**
|
|
23
|
-
* @remarks
|
|
24
|
-
* Specifies whether database structure schema evolution is included.
|
|
25
|
-
*
|
|
26
17
|
* @example
|
|
27
18
|
* false
|
|
28
19
|
*/
|
|
29
20
|
includeSchemaChanges?: string;
|
|
30
21
|
/**
|
|
31
|
-
* @remarks
|
|
32
|
-
* The network type.
|
|
33
|
-
*
|
|
34
22
|
* @example
|
|
35
23
|
* PrivateNetwork
|
|
36
24
|
*/
|
|
37
25
|
networkType?: string;
|
|
38
26
|
/**
|
|
39
|
-
* @remarks
|
|
40
|
-
* The password of the database user.
|
|
41
|
-
*
|
|
42
27
|
* @example
|
|
43
28
|
* admin
|
|
44
29
|
*/
|
|
45
30
|
password?: string;
|
|
46
31
|
/**
|
|
47
|
-
* @remarks
|
|
48
|
-
* The port of the database server.
|
|
49
|
-
*
|
|
50
32
|
* @example
|
|
51
33
|
* 80
|
|
52
34
|
*/
|
|
53
35
|
port?: number;
|
|
54
36
|
/**
|
|
55
|
-
* @remarks
|
|
56
|
-
* The ID of the region where the data source is located.
|
|
57
|
-
*
|
|
58
37
|
* @example
|
|
59
38
|
* cn-hangzhou
|
|
60
39
|
*/
|
|
61
40
|
regionId?: string;
|
|
62
41
|
/**
|
|
63
|
-
* @remarks
|
|
64
|
-
* The ID of the security group.
|
|
65
|
-
*
|
|
66
42
|
* @example
|
|
67
43
|
* sg-a1b2c3d4e5f6g7h8i9j0
|
|
68
44
|
*/
|
|
69
45
|
securityGroupId?: string;
|
|
70
46
|
/**
|
|
71
|
-
* @remarks
|
|
72
|
-
* The snapshot mode.
|
|
73
|
-
*
|
|
74
47
|
* @example
|
|
75
48
|
* when_needed
|
|
76
49
|
*/
|
|
77
50
|
snapshotMode?: string;
|
|
78
51
|
/**
|
|
79
|
-
* @remarks
|
|
80
|
-
* The names of the tables to synchronize. Separate multiple table names with commas.
|
|
81
|
-
*
|
|
82
52
|
* @example
|
|
83
53
|
* database1.table1
|
|
84
54
|
*/
|
|
85
55
|
tableNames?: string;
|
|
86
56
|
/**
|
|
87
|
-
* @remarks
|
|
88
|
-
* The database username.
|
|
89
|
-
*
|
|
90
57
|
* @example
|
|
91
58
|
* example_user
|
|
92
59
|
*/
|
|
93
60
|
user?: string;
|
|
94
61
|
/**
|
|
95
|
-
* @remarks
|
|
96
|
-
* The vSwitch IDs. Separate multiple IDs with commas.
|
|
97
|
-
*
|
|
98
62
|
* @example
|
|
99
63
|
* [vsw-a1b2c3d4e5f6g7h8i9j0k]
|
|
100
64
|
*/
|
|
101
65
|
vSwitchIds?: string;
|
|
102
66
|
/**
|
|
103
|
-
* @remarks
|
|
104
|
-
* The ID of the virtual private cloud (VPC).
|
|
105
|
-
*
|
|
106
67
|
* @example
|
|
107
68
|
* vpc-a1b2c3d4e5f6g7h8i9j0k
|
|
108
69
|
*/
|
|
@@ -5,34 +5,46 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateEventSourceRequestSourceHttpEventParameters extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The CIDR block for security configuration. This parameter is required only when the SecurityConfig parameter is set to ip. You can enter a CIDR block or an IP address.
|
|
8
|
+
* The CIDR block for the security configuration. This parameter is required only when the SecurityConfig parameter is set to ip. You can enter a CIDR block or an IP address.
|
|
9
9
|
*/
|
|
10
10
|
ip?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
13
|
* The HTTP request methods supported by the generated webhook. You can select multiple values. Valid values:
|
|
14
|
+
*
|
|
14
15
|
* - GET
|
|
16
|
+
*
|
|
15
17
|
* - POST
|
|
18
|
+
*
|
|
16
19
|
* - PUT
|
|
20
|
+
*
|
|
17
21
|
* - PATCH
|
|
22
|
+
*
|
|
18
23
|
* - DELETE
|
|
24
|
+
*
|
|
19
25
|
* - HEAD
|
|
26
|
+
*
|
|
20
27
|
* - OPTIONS
|
|
28
|
+
*
|
|
21
29
|
* - TRACE
|
|
30
|
+
*
|
|
22
31
|
* - CONNECT
|
|
23
32
|
*/
|
|
24
33
|
method?: string[];
|
|
25
34
|
/**
|
|
26
35
|
* @remarks
|
|
27
|
-
* The secure domain name for security configuration. This parameter is required only when the SecurityConfig parameter is set to referer. You can enter a domain name.
|
|
36
|
+
* The secure domain name for the security configuration. This parameter is required only when the SecurityConfig parameter is set to referer. You can enter a domain name.
|
|
28
37
|
*/
|
|
29
38
|
referer?: string[];
|
|
30
39
|
/**
|
|
31
40
|
* @remarks
|
|
32
41
|
* The type of the security configuration. Valid values:
|
|
42
|
+
*
|
|
33
43
|
* - none: No configuration is required.
|
|
34
|
-
*
|
|
35
|
-
* -
|
|
44
|
+
*
|
|
45
|
+
* - ip: CIDR block
|
|
46
|
+
*
|
|
47
|
+
* - referer: Secure domain name
|
|
36
48
|
*
|
|
37
49
|
* @example
|
|
38
50
|
* none
|
|
@@ -41,8 +53,11 @@ export class UpdateEventSourceRequestSourceHttpEventParameters extends $dara.Mod
|
|
|
41
53
|
/**
|
|
42
54
|
* @remarks
|
|
43
55
|
* The protocol type supported by the generated webhook. Valid values:
|
|
56
|
+
*
|
|
44
57
|
* - HTTP
|
|
58
|
+
*
|
|
45
59
|
* - HTTPS
|
|
60
|
+
*
|
|
46
61
|
* - HTTP&HTTPS
|
|
47
62
|
*
|
|
48
63
|
* @example
|
|
@@ -106,7 +121,7 @@ export class UpdateEventSourceRequestSourceKafkaParameters extends $dara.Model {
|
|
|
106
121
|
instanceId?: string;
|
|
107
122
|
/**
|
|
108
123
|
* @remarks
|
|
109
|
-
* The concurrency quota, which
|
|
124
|
+
* The concurrency quota, which indicates the number of consumers.
|
|
110
125
|
*
|
|
111
126
|
* @example
|
|
112
127
|
* 1
|
|
@@ -210,7 +225,7 @@ export class UpdateEventSourceRequestSourceKafkaParameters extends $dara.Model {
|
|
|
210
225
|
export class UpdateEventSourceRequestSourceMNSParameters extends $dara.Model {
|
|
211
226
|
/**
|
|
212
227
|
* @remarks
|
|
213
|
-
* Specifies whether to enable Base64 decoding.
|
|
228
|
+
* Specifies whether to enable Base64 decoding. By default, this option is selected, which indicates that Base64 decoding is enabled.
|
|
214
229
|
*
|
|
215
230
|
* @example
|
|
216
231
|
* true
|
|
@@ -435,7 +450,7 @@ export class UpdateEventSourceRequestSourceRocketMQParameters extends $dara.Mode
|
|
|
435
450
|
authType?: string;
|
|
436
451
|
/**
|
|
437
452
|
* @remarks
|
|
438
|
-
* The group ID of
|
|
453
|
+
* The group ID of ApsaraMQ for RocketMQ.
|
|
439
454
|
*
|
|
440
455
|
* @example
|
|
441
456
|
* GID-test
|
|
@@ -484,8 +499,10 @@ export class UpdateEventSourceRequestSourceRocketMQParameters extends $dara.Mode
|
|
|
484
499
|
/**
|
|
485
500
|
* @remarks
|
|
486
501
|
* The instance type. Valid values:
|
|
487
|
-
*
|
|
488
|
-
* -
|
|
502
|
+
*
|
|
503
|
+
* - Cloud_4: ApsaraMQ for RocketMQ 4.0 instance.
|
|
504
|
+
*
|
|
505
|
+
* - Cloud_5: ApsaraMQ for RocketMQ 5.0 instance.
|
|
489
506
|
*
|
|
490
507
|
* @example
|
|
491
508
|
* Cloud_4
|
|
@@ -518,9 +535,13 @@ export class UpdateEventSourceRequestSourceRocketMQParameters extends $dara.Mode
|
|
|
518
535
|
/**
|
|
519
536
|
* @remarks
|
|
520
537
|
* The consumption offset of the message. Valid values:
|
|
538
|
+
*
|
|
521
539
|
* - CONSUME_FROM_LAST_OFFSET: Consumes messages from the latest offset.
|
|
540
|
+
*
|
|
522
541
|
* - CONSUME_FROM_FIRST_OFFSET: Consumes messages from the earliest offset.
|
|
523
|
-
*
|
|
542
|
+
*
|
|
543
|
+
* - CONSUME_FROM_TIMESTAMP: Consumes messages from the offset at a specified timestamp.
|
|
544
|
+
*
|
|
524
545
|
* Default value: CONSUME_FROM_LAST_OFFSET.
|
|
525
546
|
*
|
|
526
547
|
* @example
|
|
@@ -613,7 +634,7 @@ export class UpdateEventSourceRequestSourceRocketMQParameters extends $dara.Mode
|
|
|
613
634
|
export class UpdateEventSourceRequestSourceSLSParameters extends $dara.Model {
|
|
614
635
|
/**
|
|
615
636
|
* @remarks
|
|
616
|
-
* The start consumption offset. You can set this parameter to begin to consume from the earliest offset, end to consume from the latest offset, or a specific timestamp in seconds to consume from
|
|
637
|
+
* The start consumption offset. You can set this parameter to begin to consume from the earliest offset, end to consume from the latest offset, or a specific timestamp in seconds to consume from the specified time.
|
|
617
638
|
*
|
|
618
639
|
* @example
|
|
619
640
|
* end
|
|
@@ -637,7 +658,7 @@ export class UpdateEventSourceRequestSourceSLSParameters extends $dara.Model {
|
|
|
637
658
|
project?: string;
|
|
638
659
|
/**
|
|
639
660
|
* @remarks
|
|
640
|
-
* When authorizing EventBridge to use this role to read Simple Log Service
|
|
661
|
+
* When authorizing EventBridge to use this role to read Simple Log Service logs, the following conditions must be met: When creating the role in the Resource Access Management (RAM) console, you must select Alibaba Cloud Service and select EventBridge as the trusted service. For the permission policy of this role, refer to the custom event source Simple Log Service.
|
|
641
662
|
*
|
|
642
663
|
* @example
|
|
643
664
|
* testRole
|
|
@@ -751,10 +772,10 @@ export class UpdateEventSourceRequest extends $dara.Model {
|
|
|
751
772
|
eventSourceName?: string;
|
|
752
773
|
/**
|
|
753
774
|
* @remarks
|
|
754
|
-
* The external
|
|
775
|
+
* The external datasource config.
|
|
755
776
|
*
|
|
756
777
|
* @example
|
|
757
|
-
* {
|
|
778
|
+
* {"IsBase64Decode":true,"QueueName":"queue-1"}
|
|
758
779
|
*/
|
|
759
780
|
externalSourceConfig?: { [key: string]: any };
|
|
760
781
|
/**
|
|
@@ -775,42 +796,42 @@ export class UpdateEventSourceRequest extends $dara.Model {
|
|
|
775
796
|
linkedExternalSource?: boolean;
|
|
776
797
|
/**
|
|
777
798
|
* @remarks
|
|
778
|
-
* The
|
|
799
|
+
* The request parameter SourceHttpEventParameters.
|
|
779
800
|
*/
|
|
780
801
|
sourceHttpEventParameters?: UpdateEventSourceRequestSourceHttpEventParameters;
|
|
781
802
|
/**
|
|
782
803
|
* @remarks
|
|
783
|
-
* The
|
|
804
|
+
* The request parameter SourceKafkaParameters.
|
|
784
805
|
*/
|
|
785
806
|
sourceKafkaParameters?: UpdateEventSourceRequestSourceKafkaParameters;
|
|
786
807
|
/**
|
|
787
808
|
* @remarks
|
|
788
|
-
* The parameters for
|
|
809
|
+
* The parameters for the Simple Message Queue (formerly MNS) event source.
|
|
789
810
|
*/
|
|
790
811
|
sourceMNSParameters?: UpdateEventSourceRequestSourceMNSParameters;
|
|
791
812
|
/**
|
|
792
813
|
* @remarks
|
|
793
|
-
* The parameters for
|
|
814
|
+
* The parameters for the OSS event source.
|
|
794
815
|
*/
|
|
795
816
|
sourceOSSEventParameters?: UpdateEventSourceRequestSourceOSSEventParameters;
|
|
796
817
|
/**
|
|
797
818
|
* @remarks
|
|
798
|
-
* The
|
|
819
|
+
* The request parameter SourceRabbitMQParameters.
|
|
799
820
|
*/
|
|
800
821
|
sourceRabbitMQParameters?: UpdateEventSourceRequestSourceRabbitMQParameters;
|
|
801
822
|
/**
|
|
802
823
|
* @remarks
|
|
803
|
-
* The
|
|
824
|
+
* The request parameter SourceRocketMQParameters.
|
|
804
825
|
*/
|
|
805
826
|
sourceRocketMQParameters?: UpdateEventSourceRequestSourceRocketMQParameters;
|
|
806
827
|
/**
|
|
807
828
|
* @remarks
|
|
808
|
-
* The parameters for
|
|
829
|
+
* The parameters for the Simple Log Service event source.
|
|
809
830
|
*/
|
|
810
831
|
sourceSLSParameters?: UpdateEventSourceRequestSourceSLSParameters;
|
|
811
832
|
/**
|
|
812
833
|
* @remarks
|
|
813
|
-
* The
|
|
834
|
+
* The request parameter SourceScheduledEventParameters.
|
|
814
835
|
*/
|
|
815
836
|
sourceScheduledEventParameters?: UpdateEventSourceRequestSourceScheduledEventParameters;
|
|
816
837
|
static names(): { [key: string]: string } {
|
|
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class UpdateEventSourceResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The API
|
|
8
|
+
* The API return code:
|
|
9
9
|
*
|
|
10
10
|
* - Success: indicates success.
|
|
11
11
|
*
|
|
12
|
-
* - Other values: indicate error
|
|
12
|
+
* - Other values: indicate an error code. For more information, see Error codes.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* Success
|
|
@@ -41,7 +41,7 @@ export class UpdateEventSourceResponseBody extends $dara.Model {
|
|
|
41
41
|
requestId?: string;
|
|
42
42
|
/**
|
|
43
43
|
* @remarks
|
|
44
|
-
* Indicates whether the operation
|
|
44
|
+
* Indicates whether the operation was successful.
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* true
|
|
@@ -33,10 +33,10 @@ export class UpdateEventSourceShrinkRequest extends $dara.Model {
|
|
|
33
33
|
eventSourceName?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* The external
|
|
36
|
+
* The external datasource config.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
|
-
* {
|
|
39
|
+
* {"IsBase64Decode":true,"QueueName":"queue-1"}
|
|
40
40
|
*/
|
|
41
41
|
externalSourceConfigShrink?: string;
|
|
42
42
|
/**
|
|
@@ -57,42 +57,42 @@ export class UpdateEventSourceShrinkRequest extends $dara.Model {
|
|
|
57
57
|
linkedExternalSource?: boolean;
|
|
58
58
|
/**
|
|
59
59
|
* @remarks
|
|
60
|
-
* The
|
|
60
|
+
* The request parameter SourceHttpEventParameters.
|
|
61
61
|
*/
|
|
62
62
|
sourceHttpEventParametersShrink?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The
|
|
65
|
+
* The request parameter SourceKafkaParameters.
|
|
66
66
|
*/
|
|
67
67
|
sourceKafkaParametersShrink?: string;
|
|
68
68
|
/**
|
|
69
69
|
* @remarks
|
|
70
|
-
* The parameters for
|
|
70
|
+
* The parameters for the Simple Message Queue (formerly MNS) event source.
|
|
71
71
|
*/
|
|
72
72
|
sourceMNSParametersShrink?: string;
|
|
73
73
|
/**
|
|
74
74
|
* @remarks
|
|
75
|
-
* The parameters for
|
|
75
|
+
* The parameters for the OSS event source.
|
|
76
76
|
*/
|
|
77
77
|
sourceOSSEventParametersShrink?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
* The
|
|
80
|
+
* The request parameter SourceRabbitMQParameters.
|
|
81
81
|
*/
|
|
82
82
|
sourceRabbitMQParametersShrink?: string;
|
|
83
83
|
/**
|
|
84
84
|
* @remarks
|
|
85
|
-
* The
|
|
85
|
+
* The request parameter SourceRocketMQParameters.
|
|
86
86
|
*/
|
|
87
87
|
sourceRocketMQParametersShrink?: string;
|
|
88
88
|
/**
|
|
89
89
|
* @remarks
|
|
90
|
-
* The parameters for
|
|
90
|
+
* The parameters for the Simple Log Service event source.
|
|
91
91
|
*/
|
|
92
92
|
sourceSLSParametersShrink?: string;
|
|
93
93
|
/**
|
|
94
94
|
* @remarks
|
|
95
|
-
* The
|
|
95
|
+
* The request parameter SourceScheduledEventParameters.
|
|
96
96
|
*/
|
|
97
97
|
sourceScheduledEventParametersShrink?: string;
|
|
98
98
|
static names(): { [key: string]: string } {
|