@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
@@ -35,8 +35,8 @@ export class CreateEventStreamingResponseBodyData extends $dara.Model {
35
35
  export class CreateEventStreamingResponseBody extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The API return code. Valid values:
39
- * - Success: The operation is successful.
38
+ * The response code. Valid values:
39
+ * - Success: The request is successful.
40
40
  * - Other values: An error code. For more information, see Error codes.
41
41
  *
42
42
  * @example
@@ -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. A value of true indicates that the operation is successful.
69
+ * Indicates whether the operation is successful.
70
70
  *
71
71
  * @example
72
72
  * true
@@ -58,12 +58,12 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
58
58
  * This parameter is required.
59
59
  *
60
60
  * @example
61
- * myeventstreaming
61
+ * my_streaming
62
62
  */
63
63
  eventStreamingName?: string;
64
64
  /**
65
65
  * @remarks
66
- * The event filtering rule. If this parameter is not specified, all events are matched.
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 the Source parameter.
90
+ * The common JSON Configurations for event providers. 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 ID of the resource group. 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.
@@ -110,7 +118,7 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
110
118
  sourceShrink?: string;
111
119
  /**
112
120
  * @remarks
113
- * The list of tags. You can specify up to 20 tags.
121
+ * The list of tags. Up to 20 tags are supported.
114
122
  */
115
123
  tags?: CreateEventStreamingShrinkRequestTags[];
116
124
  /**
@@ -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',
@@ -35,7 +35,7 @@ export class CreateRuleRequestEventTargetsConcurrentConfig extends $dara.Model {
35
35
  export class CreateRuleRequestEventTargetsDeadLetterQueue extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The ARN of the dead-letter queue. Unprocessed events or events that exceed the retry count are written to the dead-letter queue. Simple Message Queue (formerly MNS) and ApsaraMQ for RocketMQ are supported.
38
+ * The ARN of the dead-letter queue. Unprocessed events or events that exceed the retry limit are written to the dead-letter queue. Simple Message Queue (formerly MNS) and ApsaraMQ for RocketMQ are supported.
39
39
  *
40
40
  * @example
41
41
  * acs:mns:cn-hangzhou:123456789098****:/queues/deadletterqueue
@@ -121,7 +121,7 @@ export class CreateRuleRequestEventTargetsParamList extends $dara.Model {
121
121
  resourceKey?: string;
122
122
  /**
123
123
  * @remarks
124
- * The parameter template style of the event target.
124
+ * The style of the event target parameter template.
125
125
  *
126
126
  * @example
127
127
  * The value of ${key} is ${value}!
@@ -170,7 +170,7 @@ export class CreateRuleRequestEventTargets extends $dara.Model {
170
170
  concurrentConfig?: CreateRuleRequestEventTargetsConcurrentConfig;
171
171
  /**
172
172
  * @remarks
173
- * The dead-letter queue. Unprocessed events or events that exceed the retry count are written to the dead-letter queue. Supported queue types include ApsaraMQ for RocketMQ, Simple Message Queue (formerly MNS), ApsaraMQ for Kafka, and EventBridge event buses.
173
+ * The dead-letter queue. Unprocessed events or events that exceed the retry limit are written to the dead-letter queue. Supported queue types include ApsaraMQ for RocketMQ, Simple Message Queue (formerly MNS), ApsaraMQ for Kafka, and EventBridge event buses.
174
174
  */
175
175
  deadLetterQueue?: CreateRuleRequestEventTargetsDeadLetterQueue;
176
176
  /**
@@ -184,8 +184,8 @@ export class CreateRuleRequestEventTargets extends $dara.Model {
184
184
  /**
185
185
  * @remarks
186
186
  * The fault tolerance strategy. Valid values:
187
- * - ALL: allows fault tolerance. Exceptions do not block execution. If the retry strategy is exhausted, messages are delivered to the dead-letter queue or discarded based on the configuration.
188
- * - NONE: disables fault tolerance. Exceptions block execution when the retry strategy is exhausted.
187
+ * ALL: Fault tolerance is allowed. Exceptions are tolerated and do not block execution. If the retry strategy is exhausted, messages are delivered to the dead-letter queue or discarded based on the configuration.
188
+ * NONE: Fault tolerance is disabled. Exceptions are not tolerated. If an exception occurs and the retry strategy is exhausted, execution is blocked.
189
189
  *
190
190
  * @example
191
191
  * ALL
@@ -208,9 +208,9 @@ export class CreateRuleRequestEventTargets extends $dara.Model {
208
208
  paramList?: CreateRuleRequestEventTargetsParamList[];
209
209
  /**
210
210
  * @remarks
211
- * The retry policy for pushing events. Valid values:
212
- * - BACKOFF_RETRY: backoff retry policy. The system retries 3 times, with a random interval of 10 to 20 seconds between each retry.
213
- * - EXPONENTIAL_DECAY_RETRY: exponential decay retry. The system retries 176 times, with the interval exponentially incrementing to 512 seconds. The total retry time is 1 day. The specific intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, and then 512 seconds for the remaining 167 retries.
211
+ * The push retry policy. Valid values:
212
+ * BACKOFF_RETRY: The backoff retry policy. The system retries 3 times. The interval between two consecutive retries is a random value between 10 and 20 seconds.
213
+ * EXPONENTIAL_DECAY_RETRY: The exponential decay retry. The system retries 176 times. The intervals between consecutive retries exponentially increment up to 512 seconds. The total retry time is 1 day. The specific intervals are 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 512...512 seconds (167 intervals of 512 seconds in total).
214
214
  *
215
215
  * @example
216
216
  * BACKOFF_RETRY
@@ -296,10 +296,10 @@ export class CreateRuleRequest extends $dara.Model {
296
296
  eventTargets?: CreateRuleRequestEventTargets[];
297
297
  /**
298
298
  * @remarks
299
- * The event pattern in JSON format. The following patterns are supported:
300
- * - stringEqual pattern
301
- * - stringExpression pattern
302
- * Each field supports up to five expressions in a map structure.
299
+ * The event pattern in JSON format. Valid values:
300
+ * stringEqual mode.
301
+ * stringExpression mode.
302
+ * Up to 5 expressions are supported for each field (map structure).
303
303
  *
304
304
  * This parameter is required.
305
305
  *
@@ -337,8 +337,8 @@ export class CreateRuleRequest extends $dara.Model {
337
337
  /**
338
338
  * @remarks
339
339
  * The status of the rule. Valid values:
340
- * - ENABLE: The rule is enabled. This is the default status.
341
- * - DISABLE: The rule is disabled.
340
+ * ENABLE: The rule is enabled. This is the default status.
341
+ * DISABLE: The rule is disabled.
342
342
  *
343
343
  * @example
344
344
  * ENABLE
@@ -28,10 +28,10 @@ export class CreateRuleShrinkRequest extends $dara.Model {
28
28
  eventTargetsShrink?: string;
29
29
  /**
30
30
  * @remarks
31
- * The event pattern in JSON format. The following patterns are supported:
32
- * - stringEqual pattern
33
- * - stringExpression pattern
34
- * Each field supports up to five expressions in a map structure.
31
+ * The event pattern in JSON format. Valid values:
32
+ * stringEqual mode.
33
+ * stringExpression mode.
34
+ * Up to 5 expressions are supported for each field (map structure).
35
35
  *
36
36
  * This parameter is required.
37
37
  *
@@ -69,8 +69,8 @@ export class CreateRuleShrinkRequest extends $dara.Model {
69
69
  /**
70
70
  * @remarks
71
71
  * The status of the rule. Valid values:
72
- * - ENABLE: The rule is enabled. This is the default status.
73
- * - DISABLE: The rule is disabled.
72
+ * ENABLE: The rule is enabled. This is the default status.
73
+ * DISABLE: The rule is disabled.
74
74
  *
75
75
  * @example
76
76
  * ENABLE
@@ -5,23 +5,24 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateServiceLinkedRoleForProductRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The name of the Alibaba Cloud service or the name of the service-linked role associated with the service. Valid values:
8
+ * The name of the cloud service or the name of the service-linked role associated with the cloud service.
9
+ *
9
10
  * - AliyunServiceRoleForEventBridgeSendToFC: Performs event delivery to Function Compute.
10
- * - AliyunServiceRoleForEventBridgeSendToSMS: Performs event delivery as text messages to Short Message Service.
11
- * - AliyunServiceRoleForEventBridgeSendToDirectMail: Performs event delivery as emails to Direct Mail.
12
- * - AliyunServiceRoleForEventBridgeSourceRocketMQ: Integrates consumed messages from MSMQ RocketMQ instances into EventBridge.
13
- * - AliyunServiceRoleForEventBridgeSourceMNS: Integrates Simple Message Queue (formerly MNS) into EventBridge.
11
+ * - AliyunServiceRoleForEventBridgeSendToSMS: Performs event delivery as text messages to Alibaba Cloud Short Message Service.
12
+ * - AliyunServiceRoleForEventBridgeSendToDirectMail: Performs event delivery as emails to Alibaba Cloud Direct Mail.
13
+ * - AliyunServiceRoleForEventBridgeSourceRocketMQ: Integrates consumed messages from Message Queue for RocketMQ instances into EventBridge.
14
+ * - AliyunServiceRoleForEventBridgeSourceMNS: Integrates Alibaba Cloud Message Service (MNS) into EventBridge.
14
15
  * - AliyunServiceRoleForEventBridgeConnectVPC: Allows EventBridge to access your VPC.
15
16
  * - AliyunServiceRoleForEventBridgeSourceActionTrail: Retrieves operation records from ActionTrail as event sources.
16
- * - AliyunServiceRoleForEventBridgeSourceRabbitMQ: Integrates MSMQ RabbitMQ instances into EventBridge.
17
- * - AliyunServiceRoleForEventBridgeSendToRabbitMQ: Performs event delivery of EventBridge events to MSMQ RabbitMQ instances.
18
- * - AliyunServiceRoleForEventBridgeSendToRocketMQ: Performs event delivery of EventBridge events to MSMQ RocketMQ instances.
17
+ * - AliyunServiceRoleForEventBridgeSourceRabbitMQ: Integrates Message Queue for RabbitMQ instances into EventBridge.
18
+ * - AliyunServiceRoleForEventBridgeSendToRabbitMQ: Performs event delivery of EventBridge events to Message Queue for RabbitMQ instances.
19
+ * - AliyunServiceRoleForEventBridgeSendToRocketMQ: Performs event delivery of EventBridge events to Message Queue for RocketMQ instances.
19
20
  * - AliyunServiceRoleForEventBridgeSourceCMS: Integrates Alibaba Cloud monitoring (CMS) into EventBridge.
20
21
  * - AliyunServiceRoleForEventBridgeSendToKafka: Performs event delivery of EventBridge events to Message Queue for Apache Kafka clusters.
21
22
  * - AliyunServiceRoleForEventBridgeSourceKafka: Integrates Message Queue for Apache Kafka into EventBridge.
22
23
  * - AliyunServiceRoleForEventBridgeSendToRDS: Performs event delivery of EventBridge events to Relational Database Service (RDS) instances.
23
24
  * - AliyunServiceRoleForEventBridgeSendToSAE: Performs event delivery of EventBridge events to Serverless App DPI engine (SAE) applications.
24
- * - AliyunServiceRoleForEventBridgeSourceMqtt: Integrates MSMQ MQTT into EventBridge.
25
+ * - AliyunServiceRoleForEventBridgeSourceMqtt: Integrates Micro MSMQ for MQTT into EventBridge.
25
26
  * - AliyunServiceRoleForEventBridgeSourceSLS: Integrates Simple Log Service into EventBridge.
26
27
  *
27
28
  * This parameter is required.
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateServiceLinkedRoleForProductResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The return code of the API operation. A value of Success indicates that the request is successful. Other values indicate error codes. For more information, see Error codes.
8
+ * The response code. A value of Success indicates success. Other values indicate error codes. For more information, see Error codes.
9
9
  *
10
10
  * @example
11
11
  * Success
@@ -28,7 +28,7 @@ export class CreateServiceLinkedRoleForProductResponseBody extends $dara.Model {
28
28
  httpCode?: number;
29
29
  /**
30
30
  * @remarks
31
- * The response message. If the request is successful, the value is success.
31
+ * The response message. The value is success if the request succeeds.
32
32
  *
33
33
  * @example
34
34
  * success
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteApiDestinationResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The API operation status or POP error code. Valid values: Success: The operation is successful.
8
+ * The API status or POP error code. Valid values: Success: Successful.
9
9
  *
10
10
  * @example
11
11
  * Success
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteConnectionResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The API operation status or POP error code. Valid values: Success: The operation is successful.
8
+ * The API operation status code or POP error code. Valid values: Success: The operation is successful.
9
9
  *
10
10
  * @example
11
11
  * Success
@@ -13,7 +13,7 @@ export class DeleteConnectionResponseBody extends $dara.Model {
13
13
  code?: string;
14
14
  /**
15
15
  * @remarks
16
- * The additional information. If the request is successful, success is returned. If the request fails, a specific error code is returned.
16
+ * The additional information. If the request is successful, success is returned. If an exception occurs, a specific error code is returned.
17
17
  *
18
18
  * @example
19
19
  * success
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteEventBusResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The return code. A value of `200` indicates success. Other values indicate an error. For more information, see the list of error codes.
8
+ * The return code of the API operation. A value of 200 indicates success. Other values indicate error codes. For more information, see Error codes.
9
9
  *
10
10
  * @example
11
11
  * 200
@@ -13,7 +13,7 @@ export class DeleteEventBusResponseBody extends $dara.Model {
13
13
  code?: string;
14
14
  /**
15
15
  * @remarks
16
- * Indicates whether the event bus was found and deleted. A value of `false` is returned if the event bus did not exist.
16
+ * Indicates whether the operation was successful.
17
17
  */
18
18
  data?: boolean;
19
19
  /**
@@ -26,7 +26,7 @@ export class DeleteEventBusResponseBody extends $dara.Model {
26
26
  message?: string;
27
27
  /**
28
28
  * @remarks
29
- * The unique ID for the request, generated by Alibaba Cloud.
29
+ * The unique identifier generated by Alibaba Cloud for the request.
30
30
  *
31
31
  * @example
32
32
  * C229E140-1A5C-5D55-8904-CFC5BA4CAA98
@@ -34,7 +34,7 @@ export class DeleteEventBusResponseBody extends $dara.Model {
34
34
  requestId?: string;
35
35
  /**
36
36
  * @remarks
37
- * Indicates whether the request was processed successfully. This is `true` even if the specified event bus does not exist.
37
+ * Indicates whether the operation was successful. A value of true indicates success.
38
38
  *
39
39
  * @example
40
40
  * true
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteEventSourceRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The event bus to which the event source is attached.
8
+ * The bound event bus.
9
9
  *
10
10
  * @example
11
11
  * eEXaMPLEBUSNameAaAaAa
@@ -5,7 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteEventSourceResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The status code. A value of `Success` indicates that the call is successful. For more information about other values, see Error codes.
8
+ * The return code of the API operation. Valid values:
9
+ * - Success: The request is successful.
10
+ * - Other values: An error code. For more information, see Error codes.
9
11
  *
10
12
  * @example
11
13
  * Success
@@ -21,7 +23,7 @@ export class DeleteEventSourceResponseBody extends $dara.Model {
21
23
  message?: string;
22
24
  /**
23
25
  * @remarks
24
- * The unique request ID that is generated by Alibaba Cloud.
26
+ * The unique identifier generated by Alibaba Cloud for the request.
25
27
  *
26
28
  * @example
27
29
  * 5f80e9b3-98d5-4f51-8412-c758818a03e4
@@ -29,7 +31,7 @@ export class DeleteEventSourceResponseBody extends $dara.Model {
29
31
  requestId?: string;
30
32
  /**
31
33
  * @remarks
32
- * Indicates whether the call is successful. A value of `true` is returned on success.
34
+ * Indicates whether the operation is successful. A value of true indicates that the operation is successful.
33
35
  *
34
36
  * @example
35
37
  * true
@@ -15,7 +15,7 @@ export class DeleteEventStreamingRequest extends $dara.Model {
15
15
  eventStreamingName?: string;
16
16
  /**
17
17
  * @remarks
18
- * Specifies whether to force delete the event stream. If set to true, system label-based deletion protection is bypassed. Default value: false.
18
+ * Specifies whether to force delete the event stream. If Settings is true, deletion interception based on system label is ignored. Default value: false.
19
19
  */
20
20
  force?: boolean;
21
21
  static names(): { [key: string]: string } {
@@ -5,11 +5,11 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteEventStreamingResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The response code. Valid values:
8
+ * The return code of the API operation:
9
9
  *
10
- * Success: The request was successful.
10
+ * Success: indicates success.
11
11
  *
12
- * Other values: An error occurred. For more information about error codes, see error codes.
12
+ * Other values: indicate error codes. For more information about error codes, see Error codes.
13
13
  *
14
14
  * @example
15
15
  * Success
@@ -33,7 +33,7 @@ export class DeleteEventStreamingResponseBody extends $dara.Model {
33
33
  requestId?: string;
34
34
  /**
35
35
  * @remarks
36
- * Returns true if the operation was successful.
36
+ * Indicates whether the operation is successful. A value of true indicates success.
37
37
  *
38
38
  * @example
39
39
  * true
@@ -15,7 +15,7 @@ export class DeleteRuleRequest extends $dara.Model {
15
15
  eventBusName?: string;
16
16
  /**
17
17
  * @remarks
18
- * The name of the event rule that you want to delete.
18
+ * The name of the rule to delete.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteRuleResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The returned response code. The value Success indicates that the request is successful.
8
+ * The status code. A value of Success indicates that the call is successful.
9
9
  *
10
10
  * @example
11
11
  * Success
@@ -13,7 +13,7 @@ export class DeleteRuleResponseBody extends $dara.Model {
13
13
  code?: string;
14
14
  /**
15
15
  * @remarks
16
- * The returned error message.
16
+ * The error message.
17
17
  *
18
18
  * @example
19
19
  * The event rule not existed!
@@ -21,7 +21,7 @@ export class DeleteRuleResponseBody extends $dara.Model {
21
21
  message?: string;
22
22
  /**
23
23
  * @remarks
24
- * The request ID.
24
+ * The unique identifier generated by Alibaba Cloud for the request.
25
25
  *
26
26
  * @example
27
27
  * FF942675-F937-549C-A942-EB94FFE28DD3
@@ -29,7 +29,9 @@ export class DeleteRuleResponseBody extends $dara.Model {
29
29
  requestId?: string;
30
30
  /**
31
31
  * @remarks
32
- * Indicates whether the request is successful. Valid values: true and false.
32
+ * Indicates whether the call is successful. Valid values:
33
+ * - true: The call is successful.
34
+ * - false: The call fails.
33
35
  *
34
36
  * @example
35
37
  * true
@@ -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 that indicates when the event bus was created.
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. The value Success indicates that the request was successful. Other values indicate that the request failed. For more information about error codes, see Error codes.
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 data returned.
136
+ * The returned result.
77
137
  */
78
138
  data?: GetEventBusResponseBodyData;
79
139
  /**
80
140
  * @remarks
81
- * The error message that is returned if the request failed.
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 was successful. If the operation was successful, the value true is returned.
157
+ * Indicates whether the operation is successful.
98
158
  *
99
159
  * @example
100
160
  * true