@alicloud/eventbridge20200401 6.7.1 → 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.
Files changed (140) hide show
  1. package/dist/client.d.ts +20 -20
  2. package/dist/client.js +48 -23
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CheckServiceLinkedRoleForProductRequest.d.ts +1 -1
  5. package/dist/models/CheckServiceLinkedRoleForProductResponseBody.d.ts +1 -1
  6. package/dist/models/Content.d.ts +3 -3
  7. package/dist/models/CreateApiDestinationRequest.d.ts +2 -3
  8. package/dist/models/CreateApiDestinationRequest.js.map +1 -1
  9. package/dist/models/CreateApiDestinationResponseBody.d.ts +2 -2
  10. package/dist/models/CreateApiDestinationShrinkRequest.d.ts +2 -3
  11. package/dist/models/CreateApiDestinationShrinkRequest.js.map +1 -1
  12. package/dist/models/CreateConnectionRequest.d.ts +27 -32
  13. package/dist/models/CreateConnectionRequest.js.map +1 -1
  14. package/dist/models/CreateConnectionResponseBody.d.ts +5 -5
  15. package/dist/models/CreateConnectionShrinkRequest.d.ts +4 -4
  16. package/dist/models/CreateEventBusRequest.d.ts +41 -0
  17. package/dist/models/CreateEventBusRequest.js +29 -1
  18. package/dist/models/CreateEventBusRequest.js.map +1 -1
  19. package/dist/models/CreateEventSourceRequest.d.ts +21 -19
  20. package/dist/models/CreateEventSourceRequest.js.map +1 -1
  21. package/dist/models/CreateEventSourceResponseBody.d.ts +4 -4
  22. package/dist/models/CreateEventSourceShrinkRequest.d.ts +4 -1
  23. package/dist/models/CreateEventSourceShrinkRequest.js.map +1 -1
  24. package/dist/models/CreateEventStreamingRequest.d.ts +363 -335
  25. package/dist/models/CreateEventStreamingRequest.js +8 -0
  26. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  27. package/dist/models/CreateEventStreamingResponseBody.d.ts +3 -3
  28. package/dist/models/CreateEventStreamingShrinkRequest.d.ts +12 -4
  29. package/dist/models/CreateEventStreamingShrinkRequest.js +2 -0
  30. package/dist/models/CreateEventStreamingShrinkRequest.js.map +1 -1
  31. package/dist/models/CreateRuleRequest.d.ts +14 -14
  32. package/dist/models/CreateRuleShrinkRequest.d.ts +6 -6
  33. package/dist/models/CreateServiceLinkedRoleForProductRequest.d.ts +10 -9
  34. package/dist/models/CreateServiceLinkedRoleForProductRequest.js.map +1 -1
  35. package/dist/models/CreateServiceLinkedRoleForProductResponseBody.d.ts +2 -2
  36. package/dist/models/DeleteApiDestinationResponseBody.d.ts +1 -1
  37. package/dist/models/DeleteConnectionResponseBody.d.ts +2 -2
  38. package/dist/models/DeleteEventBusResponseBody.d.ts +4 -4
  39. package/dist/models/DeleteEventSourceRequest.d.ts +1 -1
  40. package/dist/models/DeleteEventSourceResponseBody.d.ts +5 -3
  41. package/dist/models/DeleteEventSourceResponseBody.js.map +1 -1
  42. package/dist/models/DeleteEventStreamingRequest.d.ts +1 -1
  43. package/dist/models/DeleteEventStreamingResponseBody.d.ts +4 -4
  44. package/dist/models/DeleteRuleRequest.d.ts +1 -1
  45. package/dist/models/DeleteRuleResponseBody.d.ts +6 -4
  46. package/dist/models/DeleteRuleResponseBody.js.map +1 -1
  47. package/dist/models/GetEventBusResponseBody.d.ts +46 -5
  48. package/dist/models/GetEventBusResponseBody.js +29 -1
  49. package/dist/models/GetEventBusResponseBody.js.map +1 -1
  50. package/dist/models/GetEventStreamingResponseBody.d.ts +306 -302
  51. package/dist/models/GetEventStreamingResponseBody.js +13 -0
  52. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  53. package/dist/models/ListEventBusesRequest.d.ts +12 -4
  54. package/dist/models/ListEventBusesRequest.js +2 -0
  55. package/dist/models/ListEventBusesRequest.js.map +1 -1
  56. package/dist/models/ListEventBusesResponseBody.d.ts +51 -11
  57. package/dist/models/ListEventBusesResponseBody.js +29 -1
  58. package/dist/models/ListEventBusesResponseBody.js.map +1 -1
  59. package/dist/models/ListEventStreamingsRequest.d.ts +2 -2
  60. package/dist/models/ListEventStreamingsResponseBody.d.ts +305 -290
  61. package/dist/models/ListEventStreamingsResponseBody.js +13 -0
  62. package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
  63. package/dist/models/SinkAgentCoreKnowledgeBaseParameters.d.ts +43 -0
  64. package/dist/models/SinkAgentCoreKnowledgeBaseParameters.js +62 -0
  65. package/dist/models/SinkAgentCoreKnowledgeBaseParameters.js.map +1 -0
  66. package/dist/models/SinkBaiLianParameters.d.ts +0 -77
  67. package/dist/models/SinkBaiLianParameters.js.map +1 -1
  68. package/dist/models/SourceMySqlparameters.d.ts +0 -39
  69. package/dist/models/SourceMySqlparameters.js.map +1 -1
  70. package/dist/models/UpdateAgentRequest.d.ts +8 -8
  71. package/dist/models/UpdateAgentResponseBody.d.ts +5 -5
  72. package/dist/models/UpdateAgentShrinkRequest.d.ts +7 -7
  73. package/dist/models/UpdateEventBusRequest.d.ts +33 -0
  74. package/dist/models/UpdateEventBusRequest.js +27 -1
  75. package/dist/models/UpdateEventBusRequest.js.map +1 -1
  76. package/dist/models/UpdateEventBusResponseBody.d.ts +3 -3
  77. package/dist/models/UpdateEventSourceRequest.d.ts +43 -22
  78. package/dist/models/UpdateEventSourceRequest.js.map +1 -1
  79. package/dist/models/UpdateEventSourceResponseBody.d.ts +3 -3
  80. package/dist/models/UpdateEventSourceShrinkRequest.d.ts +10 -10
  81. package/dist/models/UpdateEventStreamingRequest.d.ts +446 -462
  82. package/dist/models/UpdateEventStreamingRequest.js +6 -0
  83. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  84. package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -2
  85. package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +4 -4
  86. package/dist/models/model.d.ts +5 -0
  87. package/dist/models/model.js +45 -35
  88. package/dist/models/model.js.map +1 -1
  89. package/package.json +2 -1
  90. package/src/client.ts +54 -24
  91. package/src/models/CheckServiceLinkedRoleForProductRequest.ts +1 -1
  92. package/src/models/CheckServiceLinkedRoleForProductResponseBody.ts +1 -1
  93. package/src/models/Content.ts +3 -3
  94. package/src/models/CreateApiDestinationRequest.ts +2 -3
  95. package/src/models/CreateApiDestinationResponseBody.ts +2 -2
  96. package/src/models/CreateApiDestinationShrinkRequest.ts +2 -3
  97. package/src/models/CreateConnectionRequest.ts +27 -32
  98. package/src/models/CreateConnectionResponseBody.ts +5 -5
  99. package/src/models/CreateConnectionShrinkRequest.ts +4 -4
  100. package/src/models/CreateEventBusRequest.ts +60 -0
  101. package/src/models/CreateEventSourceRequest.ts +21 -19
  102. package/src/models/CreateEventSourceResponseBody.ts +4 -4
  103. package/src/models/CreateEventSourceShrinkRequest.ts +4 -1
  104. package/src/models/CreateEventStreamingRequest.ts +370 -335
  105. package/src/models/CreateEventStreamingResponseBody.ts +3 -3
  106. package/src/models/CreateEventStreamingShrinkRequest.ts +14 -4
  107. package/src/models/CreateRuleRequest.ts +14 -14
  108. package/src/models/CreateRuleShrinkRequest.ts +6 -6
  109. package/src/models/CreateServiceLinkedRoleForProductRequest.ts +10 -9
  110. package/src/models/CreateServiceLinkedRoleForProductResponseBody.ts +2 -2
  111. package/src/models/DeleteApiDestinationResponseBody.ts +1 -1
  112. package/src/models/DeleteConnectionResponseBody.ts +2 -2
  113. package/src/models/DeleteEventBusResponseBody.ts +4 -4
  114. package/src/models/DeleteEventSourceRequest.ts +1 -1
  115. package/src/models/DeleteEventSourceResponseBody.ts +5 -3
  116. package/src/models/DeleteEventStreamingRequest.ts +1 -1
  117. package/src/models/DeleteEventStreamingResponseBody.ts +4 -4
  118. package/src/models/DeleteRuleRequest.ts +1 -1
  119. package/src/models/DeleteRuleResponseBody.ts +6 -4
  120. package/src/models/GetEventBusResponseBody.ts +65 -5
  121. package/src/models/GetEventStreamingResponseBody.ts +318 -302
  122. package/src/models/ListEventBusesRequest.ts +14 -4
  123. package/src/models/ListEventBusesResponseBody.ts +70 -11
  124. package/src/models/ListEventStreamingsRequest.ts +2 -2
  125. package/src/models/ListEventStreamingsResponseBody.ts +317 -290
  126. package/src/models/SinkAgentCoreKnowledgeBaseParameters.ts +60 -0
  127. package/src/models/SinkBaiLianParameters.ts +0 -77
  128. package/src/models/SourceMySqlparameters.ts +0 -39
  129. package/src/models/UpdateAgentRequest.ts +8 -8
  130. package/src/models/UpdateAgentResponseBody.ts +5 -5
  131. package/src/models/UpdateAgentShrinkRequest.ts +7 -7
  132. package/src/models/UpdateEventBusRequest.ts +50 -0
  133. package/src/models/UpdateEventBusResponseBody.ts +3 -3
  134. package/src/models/UpdateEventSourceRequest.ts +43 -22
  135. package/src/models/UpdateEventSourceResponseBody.ts +3 -3
  136. package/src/models/UpdateEventSourceShrinkRequest.ts +10 -10
  137. package/src/models/UpdateEventStreamingRequest.ts +451 -462
  138. package/src/models/UpdateEventStreamingResponseBody.ts +2 -2
  139. package/src/models/UpdateEventStreamingShrinkRequest.ts +4 -4
  140. package/src/models/model.ts +5 -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 for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.
9
- *
10
7
  * @example
11
8
  * CONSTANT
12
9
  */
13
10
  form?: string;
14
11
  /**
15
- * @remarks
16
- * The template string for formatting the value. This parameter 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 for the value, as specified by the `Form` parameter. For example, if `Form` is `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 for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.
59
- *
60
48
  * @example
61
49
  * CONSTANT
62
50
  */
63
51
  form?: string;
64
52
  /**
65
- * @remarks
66
- * The template string for formatting the value. This parameter 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 for the value, as specified by the `Form` parameter. For example, if `Form` is `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 for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.
109
- *
110
89
  * @example
111
90
  * CONSTANT
112
91
  */
113
92
  form?: string;
114
93
  /**
115
- * @remarks
116
- * The template string for formatting the value. This parameter 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 for the value, as specified by the `Form` parameter. For example, if `Form` is `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 for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.
159
- *
160
130
  * @example
161
131
  * CONSTANT
162
132
  */
163
133
  form?: string;
164
134
  /**
165
- * @remarks
166
- * The template string for formatting the value. This parameter 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 for the value, as specified by the `Form` parameter. For example, if `Form` is `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 for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.
209
- *
210
171
  * @example
211
172
  * CONSTANT
212
173
  */
213
174
  form?: string;
214
175
  /**
215
- * @remarks
216
- * The template string for formatting the value. This parameter 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 for the value, as specified by the `Form` parameter. For example, if `Form` is `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 that runs after the main operation completes.
259
- */
260
211
  after?: SinkBaiLianParametersAfter;
261
212
  /**
262
- * @remarks
263
- * The type of the Model Studio application to invoke.
264
- *
265
213
  * @example
266
214
  * KnowledgeBase
267
215
  */
268
216
  applicationType?: string;
269
- /**
270
- * @remarks
271
- * The pre-processing logic to apply to an event before it is sent to the target.
272
- */
273
217
  before?: SinkBaiLianParametersBefore;
274
218
  /**
275
- * @remarks
276
- * Context information for the application. The value must be a JSON object.
277
- *
278
219
  * @example
279
220
  * {"k1":"v1"}
280
221
  */
281
222
  context?: any;
282
223
  /**
283
- * @remarks
284
- * Additional key-value pairs to pass to the target. The value 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 events from a stream or queue, used for stateful processing.
293
- */
294
228
  offset?: SinkBaiLianParametersOffset;
295
- /**
296
- * @remarks
297
- * The operation that the Model Studio application will perform.
298
- */
299
229
  op?: SinkBaiLianParametersOp;
300
- /**
301
- * @remarks
302
- * The partition key for the event. This key routes events to a specific partition in the target service, ensuring 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
- * Indicates whether to include schema changes.
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 for the user.
41
- *
42
27
  * @example
43
28
  * admin
44
29
  */
45
30
  password?: string;
46
31
  /**
47
- * @remarks
48
- * The database server port.
49
- *
50
32
  * @example
51
33
  * 80
52
34
  */
53
35
  port?: number;
54
36
  /**
55
- * @remarks
56
- * The ID of the region that contains the data source.
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 tables to synchronize. Separate multiple table names with a comma.
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 a comma.
97
- *
98
62
  * @example
99
63
  * [vsw-a1b2c3d4e5f6g7h8i9j0k]
100
64
  */
101
65
  vSwitchIds?: string;
102
66
  /**
103
- * @remarks
104
- * The ID of the VPC.
105
- *
106
67
  * @example
107
68
  * vpc-a1b2c3d4e5f6g7h8i9j0k
108
69
  */
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateAgentRequestMetadataAttachments extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The Alibaba Cloud Resource Name (ARN) of the bound metadata object.
8
+ * The ARN of the bound metadata object.
9
9
  *
10
10
  * @example
11
11
  * acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order
@@ -75,7 +75,7 @@ export class UpdateAgentRequestMetadata extends $dara.Model {
75
75
  export class UpdateAgentRequest extends $dara.Model {
76
76
  /**
77
77
  * @remarks
78
- * The client-generated request token. This parameter is used to ensure the idempotence of the request. The token must be unique across different requests and can contain up to 64 ASCII characters.
78
+ * The client-generated request token used to ensure the idempotence of the request. Note: The parameter value is generated by the client and must be unique across different requests. The maximum length is 64 ASCII characters.
79
79
  *
80
80
  * @example
81
81
  * TF-CreateRule-1652253755-aa33f762-7e99-4aee-bd27-d3370afa5625
@@ -83,15 +83,15 @@ export class UpdateAgentRequest extends $dara.Model {
83
83
  clientToken?: string;
84
84
  /**
85
85
  * @remarks
86
- * The description of the event source.
86
+ * The detailed description of the event source.
87
87
  *
88
88
  * @example
89
- * Filtering rule for MNS
89
+ * Filtering rules for MNS
90
90
  */
91
91
  description?: string;
92
92
  /**
93
93
  * @remarks
94
- * The ID of the MCP server bound to the agent.
94
+ * The ID of the MCP access point bound to the agent.
95
95
  *
96
96
  * @example
97
97
  * bGXX51ULuGl10xrr
@@ -99,7 +99,7 @@ export class UpdateAgentRequest extends $dara.Model {
99
99
  mcpServerId?: string;
100
100
  /**
101
101
  * @remarks
102
- * The name of the MCP server bound to the agent.
102
+ * The name of the MCP access point bound to the agent.
103
103
  *
104
104
  * @example
105
105
  * eventhouse-agentbridge
@@ -122,10 +122,10 @@ export class UpdateAgentRequest extends $dara.Model {
122
122
  name?: string;
123
123
  /**
124
124
  * @remarks
125
- * The prompt for the agent, such as "You are an IoT data analytics assistant..."
125
+ * The prompt content, such as \\"You are an IoT data analytics assistant...\\".
126
126
  *
127
127
  * @example
128
- * 瑞士冻结马杜罗在瑞资产
128
+ * Switzerland freezes Maduro\\"s assets in Switzerland
129
129
  */
130
130
  prompt?: string;
131
131
  static names(): { [key: string]: string } {
@@ -35,9 +35,9 @@ export class UpdateAgentResponseBodyData extends $dara.Model {
35
35
  export class UpdateAgentResponseBody extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The response code. Valid values:
39
- * - Success: The request was successful.
40
- * - Other values: An error occurred. For more information, see Error codes.
38
+ * The response code returned by the API operation:
39
+ * - Success: The request is successful.
40
+ * - Other values: An error code. For more information, see Error codes.
41
41
  *
42
42
  * @example
43
43
  * Success
@@ -45,7 +45,7 @@ export class UpdateAgentResponseBody extends $dara.Model {
45
45
  code?: string;
46
46
  /**
47
47
  * @remarks
48
- * Indicates whether the operation was successful.
48
+ * Indicates whether the request is successful.
49
49
  */
50
50
  data?: UpdateAgentResponseBodyData;
51
51
  /**
@@ -66,7 +66,7 @@ export class UpdateAgentResponseBody extends $dara.Model {
66
66
  requestId?: string;
67
67
  /**
68
68
  * @remarks
69
- * Returns true if the operation was successful.
69
+ * Indicates whether the operation is successful. A value of true indicates that the operation is successful.
70
70
  *
71
71
  * @example
72
72
  * true
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateAgentShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The client-generated request token. This parameter is used to ensure the idempotence of the request. The token must be unique across different requests and can contain up to 64 ASCII characters.
8
+ * The client-generated request token used to ensure the idempotence of the request. Note: The parameter value is generated by the client and must be unique across different requests. The maximum length is 64 ASCII characters.
9
9
  *
10
10
  * @example
11
11
  * TF-CreateRule-1652253755-aa33f762-7e99-4aee-bd27-d3370afa5625
@@ -13,15 +13,15 @@ export class UpdateAgentShrinkRequest extends $dara.Model {
13
13
  clientToken?: string;
14
14
  /**
15
15
  * @remarks
16
- * The description of the event source.
16
+ * The detailed description of the event source.
17
17
  *
18
18
  * @example
19
- * Filtering rule for MNS
19
+ * Filtering rules for MNS
20
20
  */
21
21
  description?: string;
22
22
  /**
23
23
  * @remarks
24
- * The ID of the MCP server bound to the agent.
24
+ * The ID of the MCP access point bound to the agent.
25
25
  *
26
26
  * @example
27
27
  * bGXX51ULuGl10xrr
@@ -29,7 +29,7 @@ export class UpdateAgentShrinkRequest extends $dara.Model {
29
29
  mcpServerId?: string;
30
30
  /**
31
31
  * @remarks
32
- * The name of the MCP server bound to the agent.
32
+ * The name of the MCP access point bound to the agent.
33
33
  *
34
34
  * @example
35
35
  * eventhouse-agentbridge
@@ -52,10 +52,10 @@ export class UpdateAgentShrinkRequest extends $dara.Model {
52
52
  name?: string;
53
53
  /**
54
54
  * @remarks
55
- * The prompt for the agent, such as "You are an IoT data analytics assistant..."
55
+ * The prompt content, such as \\"You are an IoT data analytics assistant...\\".
56
56
  *
57
57
  * @example
58
- * 瑞士冻结马杜罗在瑞资产
58
+ * Switzerland freezes Maduro\\"s assets in Switzerland
59
59
  */
60
60
  prompt?: string;
61
61
  static names(): { [key: string]: string } {
@@ -2,6 +2,46 @@
2
2
  import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
+ export class UpdateEventBusRequestTags extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The tag key.
9
+ *
10
+ * @example
11
+ * department
12
+ */
13
+ key?: string;
14
+ /**
15
+ * @remarks
16
+ * The tag value.
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 UpdateEventBusRequest extends $dara.Model {
6
46
  /**
7
47
  * @remarks
@@ -21,10 +61,16 @@ export class UpdateEventBusRequest extends $dara.Model {
21
61
  * eventTest
22
62
  */
23
63
  eventBusName?: string;
64
+ /**
65
+ * @remarks
66
+ * The list of tags.
67
+ */
68
+ tags?: UpdateEventBusRequestTags[];
24
69
  static names(): { [key: string]: string } {
25
70
  return {
26
71
  description: 'Description',
27
72
  eventBusName: 'EventBusName',
73
+ tags: 'Tags',
28
74
  };
29
75
  }
30
76
 
@@ -32,10 +78,14 @@ export class UpdateEventBusRequest extends $dara.Model {
32
78
  return {
33
79
  description: 'string',
34
80
  eventBusName: 'string',
81
+ tags: { 'type': 'array', 'itemType': UpdateEventBusRequestTags },
35
82
  };
36
83
  }
37
84
 
38
85
  validate() {
86
+ if(Array.isArray(this.tags)) {
87
+ $dara.Model.validateArray(this.tags);
88
+ }
39
89
  super.validate();
40
90
  }
41
91
 
@@ -6,8 +6,8 @@ export class UpdateEventBusResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The return code of the API operation. Valid values:
9
- * - Success: Indicates success.
10
- * - Other: Indicates an error code. For more information, see Error codes.
9
+ * - Success: indicates success.
10
+ * - Other values: indicates an error code. For more information, see Error codes.
11
11
  *
12
12
  * @example
13
13
  * Success
@@ -31,7 +31,7 @@ export class UpdateEventBusResponseBody extends $dara.Model {
31
31
  requestId?: string;
32
32
  /**
33
33
  * @remarks
34
- * Returns true if the operation is successful.
34
+ * Indicates whether the operation is successful.
35
35
  *
36
36
  * @example
37
37
  * true