@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.
Files changed (62) hide show
  1. package/dist/client.d.ts +10 -10
  2. package/dist/client.js +38 -13
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateEventBusRequest.d.ts +41 -0
  5. package/dist/models/CreateEventBusRequest.js +29 -1
  6. package/dist/models/CreateEventBusRequest.js.map +1 -1
  7. package/dist/models/CreateEventBusResponseBody.d.ts +2 -1
  8. package/dist/models/CreateEventBusResponseBody.js.map +1 -1
  9. package/dist/models/CreateEventStreamingRequest.d.ts +361 -341
  10. package/dist/models/CreateEventStreamingRequest.js +2 -0
  11. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  12. package/dist/models/CreateEventStreamingResponseBody.d.ts +2 -2
  13. package/dist/models/CreateEventStreamingShrinkRequest.d.ts +13 -5
  14. package/dist/models/CreateEventStreamingShrinkRequest.js +2 -0
  15. package/dist/models/CreateEventStreamingShrinkRequest.js.map +1 -1
  16. package/dist/models/GetEventBusResponseBody.d.ts +46 -5
  17. package/dist/models/GetEventBusResponseBody.js +29 -1
  18. package/dist/models/GetEventBusResponseBody.js.map +1 -1
  19. package/dist/models/GetEventStreamingResponseBody.d.ts +452 -449
  20. package/dist/models/GetEventStreamingResponseBody.js +2 -0
  21. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  22. package/dist/models/ListEventBusesRequest.d.ts +12 -4
  23. package/dist/models/ListEventBusesRequest.js +2 -0
  24. package/dist/models/ListEventBusesRequest.js.map +1 -1
  25. package/dist/models/ListEventBusesResponseBody.d.ts +51 -11
  26. package/dist/models/ListEventBusesResponseBody.js +29 -1
  27. package/dist/models/ListEventBusesResponseBody.js.map +1 -1
  28. package/dist/models/ListEventStreamingsResponseBody.d.ts +8 -0
  29. package/dist/models/ListEventStreamingsResponseBody.js +2 -0
  30. package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
  31. package/dist/models/SinkBaiLianParameters.d.ts +23 -23
  32. package/dist/models/SourceMySqlparameters.d.ts +7 -7
  33. package/dist/models/UpdateAgentRequest.d.ts +8 -8
  34. package/dist/models/UpdateAgentResponseBody.d.ts +5 -5
  35. package/dist/models/UpdateAgentShrinkRequest.d.ts +7 -7
  36. package/dist/models/UpdateEventBusRequest.d.ts +33 -0
  37. package/dist/models/UpdateEventBusRequest.js +27 -1
  38. package/dist/models/UpdateEventBusRequest.js.map +1 -1
  39. package/dist/models/UpdateEventBusResponseBody.d.ts +3 -3
  40. package/dist/models/model.d.ts +4 -0
  41. package/dist/models/model.js +43 -35
  42. package/dist/models/model.js.map +1 -1
  43. package/package.json +2 -1
  44. package/src/client.ts +44 -14
  45. package/src/models/CreateEventBusRequest.ts +60 -0
  46. package/src/models/CreateEventBusResponseBody.ts +2 -1
  47. package/src/models/CreateEventStreamingRequest.ts +363 -341
  48. package/src/models/CreateEventStreamingResponseBody.ts +2 -2
  49. package/src/models/CreateEventStreamingShrinkRequest.ts +15 -5
  50. package/src/models/GetEventBusResponseBody.ts +65 -5
  51. package/src/models/GetEventStreamingResponseBody.ts +454 -449
  52. package/src/models/ListEventBusesRequest.ts +14 -4
  53. package/src/models/ListEventBusesResponseBody.ts +70 -11
  54. package/src/models/ListEventStreamingsResponseBody.ts +10 -0
  55. package/src/models/SinkBaiLianParameters.ts +23 -23
  56. package/src/models/SourceMySqlparameters.ts +7 -7
  57. package/src/models/UpdateAgentRequest.ts +8 -8
  58. package/src/models/UpdateAgentResponseBody.ts +5 -5
  59. package/src/models/UpdateAgentShrinkRequest.ts +7 -7
  60. package/src/models/UpdateEventBusRequest.ts +50 -0
  61. package/src/models/UpdateEventBusResponseBody.ts +3 -3
  62. package/src/models/model.ts +4 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class SinkBaiLianParametersAfter extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The method for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.
5
+ * The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).
6
6
  *
7
7
  * @example
8
8
  * CONSTANT
@@ -10,7 +10,7 @@ export declare class SinkBaiLianParametersAfter extends $dara.Model {
10
10
  form?: string;
11
11
  /**
12
12
  * @remarks
13
- * The template string for formatting the value. This parameter is used only when `Form` is set to `TEMPLATE`.
13
+ * The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.
14
14
  *
15
15
  * @example
16
16
  * The value of ${key} is ${value}!
@@ -18,7 +18,7 @@ export declare class SinkBaiLianParametersAfter extends $dara.Model {
18
18
  template?: string;
19
19
  /**
20
20
  * @remarks
21
- * 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.
21
+ * The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.
22
22
  *
23
23
  * @example
24
24
  * example
@@ -38,7 +38,7 @@ export declare class SinkBaiLianParametersAfter extends $dara.Model {
38
38
  export declare class SinkBaiLianParametersBefore extends $dara.Model {
39
39
  /**
40
40
  * @remarks
41
- * The method for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.
41
+ * The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).
42
42
  *
43
43
  * @example
44
44
  * CONSTANT
@@ -46,7 +46,7 @@ export declare class SinkBaiLianParametersBefore extends $dara.Model {
46
46
  form?: string;
47
47
  /**
48
48
  * @remarks
49
- * The template string for formatting the value. This parameter is used only when `Form` is set to `TEMPLATE`.
49
+ * The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.
50
50
  *
51
51
  * @example
52
52
  * The value of ${key} is ${value}!
@@ -54,7 +54,7 @@ export declare class SinkBaiLianParametersBefore extends $dara.Model {
54
54
  template?: string;
55
55
  /**
56
56
  * @remarks
57
- * 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.
57
+ * The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.
58
58
  *
59
59
  * @example
60
60
  * example
@@ -74,7 +74,7 @@ export declare class SinkBaiLianParametersBefore extends $dara.Model {
74
74
  export declare class SinkBaiLianParametersOffset extends $dara.Model {
75
75
  /**
76
76
  * @remarks
77
- * The method for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.
77
+ * The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).
78
78
  *
79
79
  * @example
80
80
  * CONSTANT
@@ -82,7 +82,7 @@ export declare class SinkBaiLianParametersOffset extends $dara.Model {
82
82
  form?: string;
83
83
  /**
84
84
  * @remarks
85
- * The template string for formatting the value. This parameter is used only when `Form` is set to `TEMPLATE`.
85
+ * The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.
86
86
  *
87
87
  * @example
88
88
  * The value of ${key} is ${value}!
@@ -90,7 +90,7 @@ export declare class SinkBaiLianParametersOffset extends $dara.Model {
90
90
  template?: string;
91
91
  /**
92
92
  * @remarks
93
- * 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.
93
+ * The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.
94
94
  *
95
95
  * @example
96
96
  * example
@@ -110,7 +110,7 @@ export declare class SinkBaiLianParametersOffset extends $dara.Model {
110
110
  export declare class SinkBaiLianParametersOp extends $dara.Model {
111
111
  /**
112
112
  * @remarks
113
- * The method for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.
113
+ * The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).
114
114
  *
115
115
  * @example
116
116
  * CONSTANT
@@ -118,7 +118,7 @@ export declare class SinkBaiLianParametersOp extends $dara.Model {
118
118
  form?: string;
119
119
  /**
120
120
  * @remarks
121
- * The template string for formatting the value. This parameter is used only when `Form` is set to `TEMPLATE`.
121
+ * The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.
122
122
  *
123
123
  * @example
124
124
  * The value of ${key} is ${value}!
@@ -126,7 +126,7 @@ export declare class SinkBaiLianParametersOp extends $dara.Model {
126
126
  template?: string;
127
127
  /**
128
128
  * @remarks
129
- * 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.
129
+ * The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.
130
130
  *
131
131
  * @example
132
132
  * example
@@ -146,7 +146,7 @@ export declare class SinkBaiLianParametersOp extends $dara.Model {
146
146
  export declare class SinkBaiLianParametersPartition extends $dara.Model {
147
147
  /**
148
148
  * @remarks
149
- * The method for generating the value. The `JSONPATH` option extracts data from the event payload. Valid values: `CONSTANT`, `JSONPATH`, and `TEMPLATE`.
149
+ * The method used to generate the parameter value. Valid values: CONSTANT (constant), JSONPATH (extracted from the event content), and TEMPLATE (template).
150
150
  *
151
151
  * @example
152
152
  * CONSTANT
@@ -154,7 +154,7 @@ export declare class SinkBaiLianParametersPartition extends $dara.Model {
154
154
  form?: string;
155
155
  /**
156
156
  * @remarks
157
- * The template string for formatting the value. This parameter is used only when `Form` is set to `TEMPLATE`.
157
+ * The template string used to format the parameter value. It is used only when Form is set to TEMPLATE.
158
158
  *
159
159
  * @example
160
160
  * ${partition}
@@ -162,7 +162,7 @@ export declare class SinkBaiLianParametersPartition extends $dara.Model {
162
162
  template?: string;
163
163
  /**
164
164
  * @remarks
165
- * 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.
165
+ * The source content of the parameter value specified by Form. When Form is set to JSONPATH, this value must be a JSONPath expression.
166
166
  *
167
167
  * @example
168
168
  * example
@@ -182,12 +182,12 @@ export declare class SinkBaiLianParametersPartition extends $dara.Model {
182
182
  export declare class SinkBaiLianParameters extends $dara.Model {
183
183
  /**
184
184
  * @remarks
185
- * The post-processing logic that runs after the main operation completes.
185
+ * The post-processing logic executed after the main operation is completed.
186
186
  */
187
187
  after?: SinkBaiLianParametersAfter;
188
188
  /**
189
189
  * @remarks
190
- * The type of the Model Studio application to invoke.
190
+ * The type of the Model Studio application to be invoked.
191
191
  *
192
192
  * @example
193
193
  * KnowledgeBase
@@ -195,12 +195,12 @@ export declare class SinkBaiLianParameters extends $dara.Model {
195
195
  applicationType?: string;
196
196
  /**
197
197
  * @remarks
198
- * The pre-processing logic to apply to an event before it is sent to the target.
198
+ * The pre-processing logic executed before the event is sent to the target.
199
199
  */
200
200
  before?: SinkBaiLianParametersBefore;
201
201
  /**
202
202
  * @remarks
203
- * Context information for the application. The value must be a JSON object.
203
+ * The context information of the application, which must be a JSON object.
204
204
  *
205
205
  * @example
206
206
  * {"k1":"v1"}
@@ -208,7 +208,7 @@ export declare class SinkBaiLianParameters extends $dara.Model {
208
208
  context?: any;
209
209
  /**
210
210
  * @remarks
211
- * Additional key-value pairs to pass to the target. The value must be a valid JSON object.
211
+ * The additional key-value pairs passed to the event target, which must be a valid JSON object.
212
212
  *
213
213
  * @example
214
214
  * {"k1":"v1"}
@@ -216,17 +216,17 @@ export declare class SinkBaiLianParameters extends $dara.Model {
216
216
  extend?: any;
217
217
  /**
218
218
  * @remarks
219
- * The offset for reading events from a stream or queue, used for stateful processing.
219
+ * The offset for reading the event from a stream or queue, which is used for stateful processing.
220
220
  */
221
221
  offset?: SinkBaiLianParametersOffset;
222
222
  /**
223
223
  * @remarks
224
- * The operation that the Model Studio application will perform.
224
+ * The operation to be performed by the Model Studio application.
225
225
  */
226
226
  op?: SinkBaiLianParametersOp;
227
227
  /**
228
228
  * @remarks
229
- * The partition key for the event. This key routes events to a specific partition in the target service, ensuring ordered processing.
229
+ * 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.
230
230
  */
231
231
  partition?: SinkBaiLianParametersPartition;
232
232
  /**
@@ -18,7 +18,7 @@ export declare class SourceMySQLParameters extends $dara.Model {
18
18
  hostName?: string;
19
19
  /**
20
20
  * @remarks
21
- * Indicates whether to include schema changes.
21
+ * Specifies whether database structure schema evolution is included.
22
22
  *
23
23
  * @example
24
24
  * false
@@ -34,7 +34,7 @@ export declare class SourceMySQLParameters extends $dara.Model {
34
34
  networkType?: string;
35
35
  /**
36
36
  * @remarks
37
- * The password for the user.
37
+ * The password of the database user.
38
38
  *
39
39
  * @example
40
40
  * admin
@@ -42,7 +42,7 @@ export declare class SourceMySQLParameters extends $dara.Model {
42
42
  password?: string;
43
43
  /**
44
44
  * @remarks
45
- * The database server port.
45
+ * The port of the database server.
46
46
  *
47
47
  * @example
48
48
  * 80
@@ -50,7 +50,7 @@ export declare class SourceMySQLParameters extends $dara.Model {
50
50
  port?: number;
51
51
  /**
52
52
  * @remarks
53
- * The ID of the region that contains the data source.
53
+ * The ID of the region where the data source is located.
54
54
  *
55
55
  * @example
56
56
  * cn-hangzhou
@@ -74,7 +74,7 @@ export declare class SourceMySQLParameters extends $dara.Model {
74
74
  snapshotMode?: string;
75
75
  /**
76
76
  * @remarks
77
- * The names of tables to synchronize. Separate multiple table names with a comma.
77
+ * The names of the tables to synchronize. Separate multiple table names with commas.
78
78
  *
79
79
  * @example
80
80
  * database1.table1
@@ -90,7 +90,7 @@ export declare class SourceMySQLParameters extends $dara.Model {
90
90
  user?: string;
91
91
  /**
92
92
  * @remarks
93
- * The VSwitch IDs. Separate multiple IDs with a comma.
93
+ * The vSwitch IDs. Separate multiple IDs with commas.
94
94
  *
95
95
  * @example
96
96
  * [vsw-a1b2c3d4e5f6g7h8i9j0k]
@@ -98,7 +98,7 @@ export declare class SourceMySQLParameters extends $dara.Model {
98
98
  vSwitchIds?: string;
99
99
  /**
100
100
  * @remarks
101
- * The ID of the VPC.
101
+ * The ID of the virtual private cloud (VPC).
102
102
  *
103
103
  * @example
104
104
  * vpc-a1b2c3d4e5f6g7h8i9j0k
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpdateAgentRequestMetadataAttachments extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The Alibaba Cloud Resource Name (ARN) of the bound metadata object.
5
+ * The ARN of the bound metadata object.
6
6
  *
7
7
  * @example
8
8
  * acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order
@@ -47,7 +47,7 @@ export declare class UpdateAgentRequestMetadata extends $dara.Model {
47
47
  export declare class UpdateAgentRequest extends $dara.Model {
48
48
  /**
49
49
  * @remarks
50
- * 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.
50
+ * 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.
51
51
  *
52
52
  * @example
53
53
  * TF-CreateRule-1652253755-aa33f762-7e99-4aee-bd27-d3370afa5625
@@ -55,15 +55,15 @@ export declare class UpdateAgentRequest extends $dara.Model {
55
55
  clientToken?: string;
56
56
  /**
57
57
  * @remarks
58
- * The description of the event source.
58
+ * The detailed description of the event source.
59
59
  *
60
60
  * @example
61
- * Filtering rule for MNS
61
+ * Filtering rules for MNS
62
62
  */
63
63
  description?: string;
64
64
  /**
65
65
  * @remarks
66
- * The ID of the MCP server bound to the agent.
66
+ * The ID of the MCP access point bound to the agent.
67
67
  *
68
68
  * @example
69
69
  * bGXX51ULuGl10xrr
@@ -71,7 +71,7 @@ export declare class UpdateAgentRequest extends $dara.Model {
71
71
  mcpServerId?: string;
72
72
  /**
73
73
  * @remarks
74
- * The name of the MCP server bound to the agent.
74
+ * The name of the MCP access point bound to the agent.
75
75
  *
76
76
  * @example
77
77
  * eventhouse-agentbridge
@@ -94,10 +94,10 @@ export declare class UpdateAgentRequest extends $dara.Model {
94
94
  name?: string;
95
95
  /**
96
96
  * @remarks
97
- * The prompt for the agent, such as "You are an IoT data analytics assistant..."
97
+ * The prompt content, such as \\"You are an IoT data analytics assistant...\\".
98
98
  *
99
99
  * @example
100
- * 瑞士冻结马杜罗在瑞资产
100
+ * Switzerland freezes Maduro\\"s assets in Switzerland
101
101
  */
102
102
  prompt?: string;
103
103
  static names(): {
@@ -22,9 +22,9 @@ export declare class UpdateAgentResponseBodyData extends $dara.Model {
22
22
  export declare class UpdateAgentResponseBody extends $dara.Model {
23
23
  /**
24
24
  * @remarks
25
- * The response code. Valid values:
26
- * - Success: The request was successful.
27
- * - Other values: An error occurred. For more information, see Error codes.
25
+ * The response code returned by the API operation:
26
+ * - Success: The request is successful.
27
+ * - Other values: An error code. For more information, see Error codes.
28
28
  *
29
29
  * @example
30
30
  * Success
@@ -32,7 +32,7 @@ export declare class UpdateAgentResponseBody extends $dara.Model {
32
32
  code?: string;
33
33
  /**
34
34
  * @remarks
35
- * Indicates whether the operation was successful.
35
+ * Indicates whether the request is successful.
36
36
  */
37
37
  data?: UpdateAgentResponseBodyData;
38
38
  /**
@@ -53,7 +53,7 @@ export declare class UpdateAgentResponseBody extends $dara.Model {
53
53
  requestId?: string;
54
54
  /**
55
55
  * @remarks
56
- * Returns true if the operation was successful.
56
+ * Indicates whether the operation is successful. A value of true indicates that the operation is successful.
57
57
  *
58
58
  * @example
59
59
  * true
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpdateAgentShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * 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.
5
+ * 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.
6
6
  *
7
7
  * @example
8
8
  * TF-CreateRule-1652253755-aa33f762-7e99-4aee-bd27-d3370afa5625
@@ -10,15 +10,15 @@ export declare class UpdateAgentShrinkRequest extends $dara.Model {
10
10
  clientToken?: string;
11
11
  /**
12
12
  * @remarks
13
- * The description of the event source.
13
+ * The detailed description of the event source.
14
14
  *
15
15
  * @example
16
- * Filtering rule for MNS
16
+ * Filtering rules for MNS
17
17
  */
18
18
  description?: string;
19
19
  /**
20
20
  * @remarks
21
- * The ID of the MCP server bound to the agent.
21
+ * The ID of the MCP access point bound to the agent.
22
22
  *
23
23
  * @example
24
24
  * bGXX51ULuGl10xrr
@@ -26,7 +26,7 @@ export declare class UpdateAgentShrinkRequest extends $dara.Model {
26
26
  mcpServerId?: string;
27
27
  /**
28
28
  * @remarks
29
- * The name of the MCP server bound to the agent.
29
+ * The name of the MCP access point bound to the agent.
30
30
  *
31
31
  * @example
32
32
  * eventhouse-agentbridge
@@ -49,10 +49,10 @@ export declare class UpdateAgentShrinkRequest extends $dara.Model {
49
49
  name?: string;
50
50
  /**
51
51
  * @remarks
52
- * The prompt for the agent, such as "You are an IoT data analytics assistant..."
52
+ * The prompt content, such as \\"You are an IoT data analytics assistant...\\".
53
53
  *
54
54
  * @example
55
- * 瑞士冻结马杜罗在瑞资产
55
+ * Switzerland freezes Maduro\\"s assets in Switzerland
56
56
  */
57
57
  prompt?: string;
58
58
  static names(): {
@@ -1,4 +1,32 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
+ export declare class UpdateEventBusRequestTags extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The tag key.
6
+ *
7
+ * @example
8
+ * department
9
+ */
10
+ key?: string;
11
+ /**
12
+ * @remarks
13
+ * The tag value.
14
+ *
15
+ * @example
16
+ * R&D
17
+ */
18
+ value?: string;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
2
30
  export declare class UpdateEventBusRequest extends $dara.Model {
3
31
  /**
4
32
  * @remarks
@@ -18,6 +46,11 @@ export declare class UpdateEventBusRequest extends $dara.Model {
18
46
  * eventTest
19
47
  */
20
48
  eventBusName?: string;
49
+ /**
50
+ * @remarks
51
+ * The list of tags.
52
+ */
53
+ tags?: UpdateEventBusRequestTags[];
21
54
  static names(): {
22
55
  [key: string]: string;
23
56
  };
@@ -33,23 +33,49 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.UpdateEventBusRequest = void 0;
36
+ exports.UpdateEventBusRequest = exports.UpdateEventBusRequestTags = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UpdateEventBusRequestTags extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ key: 'Key',
43
+ value: 'Value',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ key: 'string',
49
+ value: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.UpdateEventBusRequestTags = UpdateEventBusRequestTags;
39
60
  class UpdateEventBusRequest extends $dara.Model {
40
61
  static names() {
41
62
  return {
42
63
  description: 'Description',
43
64
  eventBusName: 'EventBusName',
65
+ tags: 'Tags',
44
66
  };
45
67
  }
46
68
  static types() {
47
69
  return {
48
70
  description: 'string',
49
71
  eventBusName: 'string',
72
+ tags: { 'type': 'array', 'itemType': UpdateEventBusRequestTags },
50
73
  };
51
74
  }
52
75
  validate() {
76
+ if (Array.isArray(this.tags)) {
77
+ $dara.Model.validateArray(this.tags);
78
+ }
53
79
  super.validate();
54
80
  }
55
81
  constructor(map) {
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateEventBusRequest.js","sourceRoot":"","sources":["../../src/models/UpdateEventBusRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IAmBpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAxCD,sDAwCC"}
1
+ {"version":3,"file":"UpdateEventBusRequest.js","sourceRoot":"","sources":["../../src/models/UpdateEventBusRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAiBxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,8DAsCC;AAED,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IAwBpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,YAAY,EAAE,cAAc;YAC5B,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,YAAY,EAAE,QAAQ;YACtB,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,yBAAyB,EAAE;SACjE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlDD,sDAkDC"}
@@ -3,8 +3,8 @@ export declare class UpdateEventBusResponseBody extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
5
  * The return code of the API operation. Valid values:
6
- * - Success: Indicates success.
7
- * - Other: Indicates an error code. For more information, see Error codes.
6
+ * - Success: indicates success.
7
+ * - Other values: indicates an error code. For more information, see Error codes.
8
8
  *
9
9
  * @example
10
10
  * Success
@@ -28,7 +28,7 @@ export declare class UpdateEventBusResponseBody extends $dara.Model {
28
28
  requestId?: string;
29
29
  /**
30
30
  * @remarks
31
- * Returns true if the operation is successful.
31
+ * Indicates whether the operation is successful.
32
32
  *
33
33
  * @example
34
34
  * true
@@ -54,6 +54,7 @@ export { CreateConnectionRequestAuthParametersOAuthParameters } from './CreateCo
54
54
  export { CreateConnectionRequestAuthParameters } from './CreateConnectionRequest';
55
55
  export { CreateConnectionRequestNetworkParameters } from './CreateConnectionRequest';
56
56
  export { CreateConnectionResponseBodyData } from './CreateConnectionResponseBody';
57
+ export { CreateEventBusRequestTags } from './CreateEventBusRequest';
57
58
  export { CreateEventBusResponseBodyData } from './CreateEventBusResponseBody';
58
59
  export { CreateEventSourceRequestSourceHttpEventParameters } from './CreateEventSourceRequest';
59
60
  export { CreateEventSourceRequestSourceKafkaParameters } from './CreateEventSourceRequest';
@@ -274,6 +275,7 @@ export { GetConnectionResponseBodyDataConnectionsNetworkParameters } from './Get
274
275
  export { GetConnectionResponseBodyDataConnections } from './GetConnectionResponseBody';
275
276
  export { GetConnectionResponseBodyData } from './GetConnectionResponseBody';
276
277
  export { GetDocumentDownloadUrlResponseBodyData } from './GetDocumentDownloadUrlResponseBody';
278
+ export { GetEventBusResponseBodyDataTags } from './GetEventBusResponseBody';
277
279
  export { GetEventBusResponseBodyData } from './GetEventBusResponseBody';
278
280
  export { GetEventStreamingResponseBodyDataDetailedStatus } from './GetEventStreamingResponseBody';
279
281
  export { GetEventStreamingResponseBodyDataRunOptionsBatchWindow } from './GetEventStreamingResponseBody';
@@ -446,6 +448,7 @@ export { ListConnectionsResponseBodyDataConnectionsNetworkParameters } from './L
446
448
  export { ListConnectionsResponseBodyDataConnections } from './ListConnectionsResponseBody';
447
449
  export { ListConnectionsResponseBodyData } from './ListConnectionsResponseBody';
448
450
  export { ListDocumentsResponseBodyData } from './ListDocumentsResponseBody';
451
+ export { ListEventBusesResponseBodyDataEventBusesTags } from './ListEventBusesResponseBody';
449
452
  export { ListEventBusesResponseBodyDataEventBuses } from './ListEventBusesResponseBody';
450
453
  export { ListEventBusesResponseBodyData } from './ListEventBusesResponseBody';
451
454
  export { ListEventHouseRuntimesResponseBodyData } from './ListEventHouseRuntimesResponseBody';
@@ -644,6 +647,7 @@ export { UpdateConnectionRequestAuthParametersOAuthParametersOAuthHttpParameters
644
647
  export { UpdateConnectionRequestAuthParametersOAuthParameters } from './UpdateConnectionRequest';
645
648
  export { UpdateConnectionRequestAuthParameters } from './UpdateConnectionRequest';
646
649
  export { UpdateConnectionRequestNetworkParameters } from './UpdateConnectionRequest';
650
+ export { UpdateEventBusRequestTags } from './UpdateEventBusRequest';
647
651
  export { UpdateEventSourceRequestSourceHttpEventParameters } from './UpdateEventSourceRequest';
648
652
  export { UpdateEventSourceRequestSourceKafkaParameters } from './UpdateEventSourceRequest';
649
653
  export { UpdateEventSourceRequestSourceMNSParameters } from './UpdateEventSourceRequest';