@alicloud/eventbridge20200401 6.3.0 → 6.4.0

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 (184) hide show
  1. package/dist/client.d.ts +99 -18
  2. package/dist/client.js +277 -38
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AgentDataSemanticsExample.d.ts +47 -0
  5. package/dist/models/AgentDataSemanticsExample.js +68 -0
  6. package/dist/models/AgentDataSemanticsExample.js.map +1 -0
  7. package/dist/models/AgentDataSemanticsExampleParameter.d.ts +51 -0
  8. package/dist/models/AgentDataSemanticsExampleParameter.js +64 -0
  9. package/dist/models/AgentDataSemanticsExampleParameter.js.map +1 -0
  10. package/dist/models/AgentDataSemanticsJoin.d.ts +57 -0
  11. package/dist/models/AgentDataSemanticsJoin.js +70 -0
  12. package/dist/models/AgentDataSemanticsJoin.js.map +1 -0
  13. package/dist/models/AgentDataSemanticsJoinCondition.d.ts +47 -0
  14. package/dist/models/AgentDataSemanticsJoinCondition.js +64 -0
  15. package/dist/models/AgentDataSemanticsJoinCondition.js.map +1 -0
  16. package/dist/models/AgentDataSemanticsMetric.d.ts +59 -0
  17. package/dist/models/AgentDataSemanticsMetric.js +69 -0
  18. package/dist/models/AgentDataSemanticsMetric.js.map +1 -0
  19. package/dist/models/AgentDataSemanticsStageProgress.d.ts +33 -0
  20. package/dist/models/AgentDataSemanticsStageProgress.js +60 -0
  21. package/dist/models/AgentDataSemanticsStageProgress.js.map +1 -0
  22. package/dist/models/AgentDataSemanticsText.d.ts +23 -0
  23. package/dist/models/AgentDataSemanticsText.js +58 -0
  24. package/dist/models/AgentDataSemanticsText.js.map +1 -0
  25. package/dist/models/AskLumaRequest.d.ts +1 -1
  26. package/dist/models/AskLumaResponseBody.d.ts +1 -1
  27. package/dist/models/AskLumaResult.d.ts +20 -12
  28. package/dist/models/AskLumaResult.js +2 -0
  29. package/dist/models/AskLumaResult.js.map +1 -1
  30. package/dist/models/Catalog.d.ts +7 -7
  31. package/dist/models/CreateConnectionRequest.d.ts +21 -21
  32. package/dist/models/CreateConnectionResponseBody.d.ts +1 -1
  33. package/dist/models/CreateConnectionShrinkRequest.d.ts +4 -4
  34. package/dist/models/CreateEventStreamingRequest.d.ts +121 -212
  35. package/dist/models/CreateEventStreamingRequest.js.map +1 -1
  36. package/dist/models/CreateEventStreamingResponseBody.d.ts +2 -4
  37. package/dist/models/CreateEventStreamingResponseBody.js.map +1 -1
  38. package/dist/models/CreateEventStreamingShrinkRequest.d.ts +8 -4
  39. package/dist/models/CreateEventStreamingShrinkRequest.js.map +1 -1
  40. package/dist/models/DeleteEventStreamingRequest.d.ts +5 -0
  41. package/dist/models/DeleteEventStreamingRequest.js +2 -0
  42. package/dist/models/DeleteEventStreamingRequest.js.map +1 -1
  43. package/dist/models/DeleteEventStreamingResponseBody.d.ts +4 -4
  44. package/dist/models/GenerateAgentDataSemanticsRequest.d.ts +23 -0
  45. package/dist/models/GenerateAgentDataSemanticsRequest.js +58 -0
  46. package/dist/models/GenerateAgentDataSemanticsRequest.js.map +1 -0
  47. package/dist/models/GenerateAgentDataSemanticsResponse.d.ts +19 -0
  48. package/dist/models/GenerateAgentDataSemanticsResponse.js +69 -0
  49. package/dist/models/GenerateAgentDataSemanticsResponse.js.map +1 -0
  50. package/dist/models/GenerateAgentDataSemanticsResponseBody.d.ts +55 -0
  51. package/dist/models/GenerateAgentDataSemanticsResponseBody.js +69 -0
  52. package/dist/models/GenerateAgentDataSemanticsResponseBody.js.map +1 -0
  53. package/dist/models/GetAgentDataSemanticsRequest.d.ts +23 -0
  54. package/dist/models/GetAgentDataSemanticsRequest.js +58 -0
  55. package/dist/models/GetAgentDataSemanticsRequest.js.map +1 -0
  56. package/dist/models/GetAgentDataSemanticsResponse.d.ts +19 -0
  57. package/dist/models/GetAgentDataSemanticsResponse.js +69 -0
  58. package/dist/models/GetAgentDataSemanticsResponse.js.map +1 -0
  59. package/dist/models/GetAgentDataSemanticsResponseBody.d.ts +94 -0
  60. package/dist/models/GetAgentDataSemanticsResponseBody.js +112 -0
  61. package/dist/models/GetAgentDataSemanticsResponseBody.js.map +1 -0
  62. package/dist/models/GetCatalogRequest.d.ts +2 -2
  63. package/dist/models/GetCatalogResponseBody.d.ts +5 -5
  64. package/dist/models/GetConnectionRequest.d.ts +1 -1
  65. package/dist/models/GetConnectionResponseBody.d.ts +32 -30
  66. package/dist/models/GetConnectionResponseBody.js.map +1 -1
  67. package/dist/models/GetEventStreamingRequest.d.ts +1 -1
  68. package/dist/models/GetEventStreamingResponseBody.d.ts +212 -329
  69. package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
  70. package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.d.ts +23 -0
  71. package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.js +58 -0
  72. package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.js.map +1 -0
  73. package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.d.ts +19 -0
  74. package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.js +69 -0
  75. package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.js.map +1 -0
  76. package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.d.ts +116 -0
  77. package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.js +122 -0
  78. package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.js.map +1 -0
  79. package/dist/models/ListCatalogsRequest.d.ts +2 -2
  80. package/dist/models/ListCatalogsResponseBody.d.ts +8 -8
  81. package/dist/models/ListConnectionsRequest.d.ts +6 -6
  82. package/dist/models/ListConnectionsResponseBody.d.ts +24 -24
  83. package/dist/models/PollAskResultResponseBody.d.ts +1 -1
  84. package/dist/models/QueryAskLumaLogRequest.d.ts +1 -1
  85. package/dist/models/QueryAskLumaLogResponseBody.d.ts +3 -3
  86. package/dist/models/QueryAttachment.d.ts +10 -2
  87. package/dist/models/QueryAttachment.js +2 -0
  88. package/dist/models/QueryAttachment.js.map +1 -1
  89. package/dist/models/QueryEventHouseWithTimeRangeRequest.d.ts +51 -0
  90. package/dist/models/QueryEventHouseWithTimeRangeRequest.js +64 -0
  91. package/dist/models/QueryEventHouseWithTimeRangeRequest.js.map +1 -0
  92. package/dist/models/QueryEventHouseWithTimeRangeResponse.d.ts +19 -0
  93. package/dist/models/QueryEventHouseWithTimeRangeResponse.js +69 -0
  94. package/dist/models/QueryEventHouseWithTimeRangeResponse.js.map +1 -0
  95. package/dist/models/QueryEventHouseWithTimeRangeResponseBody.d.ts +76 -0
  96. package/dist/models/QueryEventHouseWithTimeRangeResponseBody.js +94 -0
  97. package/dist/models/QueryEventHouseWithTimeRangeResponseBody.js.map +1 -0
  98. package/dist/models/SaveAgentDataSemanticsRequest.d.ts +47 -0
  99. package/dist/models/SaveAgentDataSemanticsRequest.js +82 -0
  100. package/dist/models/SaveAgentDataSemanticsRequest.js.map +1 -0
  101. package/dist/models/SaveAgentDataSemanticsResponse.d.ts +19 -0
  102. package/dist/models/SaveAgentDataSemanticsResponse.js +69 -0
  103. package/dist/models/SaveAgentDataSemanticsResponse.js.map +1 -0
  104. package/dist/models/SaveAgentDataSemanticsResponseBody.d.ts +55 -0
  105. package/dist/models/SaveAgentDataSemanticsResponseBody.js +69 -0
  106. package/dist/models/SaveAgentDataSemanticsResponseBody.js.map +1 -0
  107. package/dist/models/SaveAgentDataSemanticsShrinkRequest.d.ts +43 -0
  108. package/dist/models/SaveAgentDataSemanticsShrinkRequest.js +66 -0
  109. package/dist/models/SaveAgentDataSemanticsShrinkRequest.js.map +1 -0
  110. package/dist/models/SourceJdbcparameters.d.ts +60 -0
  111. package/dist/models/SourceJdbcparameters.js.map +1 -1
  112. package/dist/models/Table.d.ts +1 -1
  113. package/dist/models/UpdateConnectionRequest.d.ts +28 -28
  114. package/dist/models/UpdateConnectionResponseBody.d.ts +2 -2
  115. package/dist/models/UpdateConnectionShrinkRequest.d.ts +5 -5
  116. package/dist/models/UpdateEventStreamingRequest.d.ts +156 -281
  117. package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
  118. package/dist/models/UpdateEventStreamingResponseBody.d.ts +4 -2
  119. package/dist/models/UpdateEventStreamingResponseBody.js.map +1 -1
  120. package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +8 -4
  121. package/dist/models/UpdateEventStreamingShrinkRequest.js.map +1 -1
  122. package/dist/models/model.d.ts +26 -0
  123. package/dist/models/model.js +70 -18
  124. package/dist/models/model.js.map +1 -1
  125. package/package.json +1 -1
  126. package/src/client.ts +304 -38
  127. package/src/models/AgentDataSemanticsExample.ts +69 -0
  128. package/src/models/AgentDataSemanticsExampleParameter.ts +70 -0
  129. package/src/models/AgentDataSemanticsJoin.ts +81 -0
  130. package/src/models/AgentDataSemanticsJoinCondition.ts +66 -0
  131. package/src/models/AgentDataSemanticsMetric.ts +83 -0
  132. package/src/models/AgentDataSemanticsStageProgress.ts +48 -0
  133. package/src/models/AgentDataSemanticsText.ts +36 -0
  134. package/src/models/AskLumaRequest.ts +1 -1
  135. package/src/models/AskLumaResponseBody.ts +1 -1
  136. package/src/models/AskLumaResult.ts +22 -12
  137. package/src/models/Catalog.ts +7 -7
  138. package/src/models/CreateConnectionRequest.ts +21 -21
  139. package/src/models/CreateConnectionResponseBody.ts +1 -1
  140. package/src/models/CreateConnectionShrinkRequest.ts +4 -4
  141. package/src/models/CreateEventStreamingRequest.ts +121 -212
  142. package/src/models/CreateEventStreamingResponseBody.ts +2 -4
  143. package/src/models/CreateEventStreamingShrinkRequest.ts +8 -4
  144. package/src/models/DeleteEventStreamingRequest.ts +7 -0
  145. package/src/models/DeleteEventStreamingResponseBody.ts +4 -4
  146. package/src/models/GenerateAgentDataSemanticsRequest.ts +36 -0
  147. package/src/models/GenerateAgentDataSemanticsResponse.ts +40 -0
  148. package/src/models/GenerateAgentDataSemanticsResponseBody.ts +77 -0
  149. package/src/models/GetAgentDataSemanticsRequest.ts +36 -0
  150. package/src/models/GetAgentDataSemanticsResponse.ts +40 -0
  151. package/src/models/GetAgentDataSemanticsResponseBody.ts +148 -0
  152. package/src/models/GetCatalogRequest.ts +2 -2
  153. package/src/models/GetCatalogResponseBody.ts +5 -5
  154. package/src/models/GetConnectionRequest.ts +1 -1
  155. package/src/models/GetConnectionResponseBody.ts +32 -30
  156. package/src/models/GetEventStreamingRequest.ts +1 -1
  157. package/src/models/GetEventStreamingResponseBody.ts +212 -329
  158. package/src/models/GetGenerateAgentDataSemanticsProgressRequest.ts +36 -0
  159. package/src/models/GetGenerateAgentDataSemanticsProgressResponse.ts +40 -0
  160. package/src/models/GetGenerateAgentDataSemanticsProgressResponseBody.ts +179 -0
  161. package/src/models/ListCatalogsRequest.ts +2 -2
  162. package/src/models/ListCatalogsResponseBody.ts +8 -8
  163. package/src/models/ListConnectionsRequest.ts +6 -6
  164. package/src/models/ListConnectionsResponseBody.ts +24 -24
  165. package/src/models/PollAskResultResponseBody.ts +1 -1
  166. package/src/models/QueryAskLumaLogRequest.ts +1 -1
  167. package/src/models/QueryAskLumaLogResponseBody.ts +3 -3
  168. package/src/models/QueryAttachment.ts +12 -2
  169. package/src/models/QueryEventHouseWithTimeRangeRequest.ts +70 -0
  170. package/src/models/QueryEventHouseWithTimeRangeResponse.ts +40 -0
  171. package/src/models/QueryEventHouseWithTimeRangeResponseBody.ts +115 -0
  172. package/src/models/SaveAgentDataSemanticsRequest.ts +80 -0
  173. package/src/models/SaveAgentDataSemanticsResponse.ts +40 -0
  174. package/src/models/SaveAgentDataSemanticsResponseBody.ts +77 -0
  175. package/src/models/SaveAgentDataSemanticsShrinkRequest.ts +64 -0
  176. package/src/models/SourceJdbcparameters.ts +60 -0
  177. package/src/models/Table.ts +1 -1
  178. package/src/models/UpdateConnectionRequest.ts +28 -28
  179. package/src/models/UpdateConnectionResponseBody.ts +2 -2
  180. package/src/models/UpdateConnectionShrinkRequest.ts +5 -5
  181. package/src/models/UpdateEventStreamingRequest.ts +156 -281
  182. package/src/models/UpdateEventStreamingResponseBody.ts +4 -2
  183. package/src/models/UpdateEventStreamingShrinkRequest.ts +8 -4
  184. package/src/models/model.ts +26 -0
@@ -35,9 +35,7 @@ export class CreateEventStreamingResponseBodyData extends $dara.Model {
35
35
  export class CreateEventStreamingResponseBody extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The returned 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:
41
39
  *
42
40
  * @example
43
41
  * Success
@@ -66,7 +64,7 @@ export class CreateEventStreamingResponseBody extends $dara.Model {
66
64
  requestId?: string;
67
65
  /**
68
66
  * @remarks
69
- * Indicates whether the operation was successful. The value true is returned if the operation was successful.
67
+ * Returns true if the operation is successful.
70
68
  *
71
69
  * @example
72
70
  * true
@@ -57,7 +57,7 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
57
57
  eventStreamingName?: string;
58
58
  /**
59
59
  * @remarks
60
- * The event filtering rule. If not specified, all events are matched.
60
+ * The event filtering rule. If you do not specify this parameter, all events are matched.
61
61
  *
62
62
  * @example
63
63
  * {
@@ -79,6 +79,10 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
79
79
  * }
80
80
  */
81
81
  filterPattern?: string;
82
+ /**
83
+ * @remarks
84
+ * The generic JSON Configurations for the event source. This parameter is mutually exclusive with Source.
85
+ */
82
86
  metadata?: string;
83
87
  /**
84
88
  * @remarks
@@ -87,17 +91,17 @@ export class CreateEventStreamingShrinkRequest extends $dara.Model {
87
91
  runOptionsShrink?: string;
88
92
  /**
89
93
  * @remarks
90
- * The event target. You must select exactly one Sink type.
94
+ * The event target. You must select one Sink type, and you can select only one Sink type.
91
95
  */
92
96
  sinkShrink?: string;
93
97
  /**
94
98
  * @remarks
95
- * The event provider. You must select exactly one Source type.
99
+ * The event provider. You must specify one source type, and you can specify only one source type.
96
100
  */
97
101
  sourceShrink?: string;
98
102
  /**
99
103
  * @remarks
100
- * The tag list. A maximum of 20 items are supported.
104
+ * The tag list, containing up to 20 items.
101
105
  */
102
106
  tags?: CreateEventStreamingShrinkRequestTags[];
103
107
  /**
@@ -13,15 +13,22 @@ export class DeleteEventStreamingRequest extends $dara.Model {
13
13
  * rocketmq-sync
14
14
  */
15
15
  eventStreamingName?: string;
16
+ /**
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.
19
+ */
20
+ force?: boolean;
16
21
  static names(): { [key: string]: string } {
17
22
  return {
18
23
  eventStreamingName: 'EventStreamingName',
24
+ force: 'Force',
19
25
  };
20
26
  }
21
27
 
22
28
  static types(): { [key: string]: any } {
23
29
  return {
24
30
  eventStreamingName: 'string',
31
+ force: 'boolean',
25
32
  };
26
33
  }
27
34
 
@@ -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 return code. \\`Success\\` is returned if the request is successful. Otherwise, an error code is returned. For more information about error codes, see Error codes.
8
+ * The response code. Valid values:
9
9
  *
10
- * Success: The request is successful.
10
+ * Success: The request was successful.
11
11
  *
12
- * Other codes indicate that the request failed. For more information about error codes, see Error codes.
12
+ * Other values: An error occurred. 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 is successful.
36
+ * Returns true if the operation was successful.
37
37
  *
38
38
  * @example
39
39
  * true
@@ -0,0 +1,36 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GenerateAgentDataSemanticsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The agent name. If no current official version exists or all four knowledge categories are empty, a first-time generation is performed. If at least one knowledge category is non-empty, only Text is regenerated while existing Metrics, Joins, and Examples are retained. The caller cannot specify the generation mode.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * bakehouse_agent
14
+ */
15
+ agentName?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ agentName: 'AgentName',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ agentName: 'string',
25
+ };
26
+ }
27
+
28
+ validate() {
29
+ super.validate();
30
+ }
31
+
32
+ constructor(map?: { [key: string]: any }) {
33
+ super(map);
34
+ }
35
+ }
36
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GenerateAgentDataSemanticsResponseBody } from "./GenerateAgentDataSemanticsResponseBody";
4
+
5
+
6
+ export class GenerateAgentDataSemanticsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GenerateAgentDataSemanticsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GenerateAgentDataSemanticsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,77 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GenerateAgentDataSemanticsResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The response code returned by the operation.
9
+ *
10
+ * @example
11
+ * Success
12
+ */
13
+ code?: string;
14
+ /**
15
+ * @remarks
16
+ * The task creation result. If the task is created successfully, an empty object is returned with no additional business fields.
17
+ *
18
+ * @example
19
+ * {}
20
+ */
21
+ data?: { [key: string]: any };
22
+ /**
23
+ * @remarks
24
+ * The response message. If the call fails, this parameter contains the error message.
25
+ *
26
+ * @example
27
+ * Data semantics generation task is already running.
28
+ */
29
+ message?: string;
30
+ /**
31
+ * @remarks
32
+ * The unique request ID generated by Alibaba Cloud for this request.
33
+ *
34
+ * @example
35
+ * 5DAF96FB-A4DF-548C-B8A1-F2A8D2F4****
36
+ */
37
+ requestId?: string;
38
+ /**
39
+ * @remarks
40
+ * Indicates whether the call was successful.
41
+ *
42
+ * @example
43
+ * true
44
+ */
45
+ success?: boolean;
46
+ static names(): { [key: string]: string } {
47
+ return {
48
+ code: 'Code',
49
+ data: 'Data',
50
+ message: 'Message',
51
+ requestId: 'RequestId',
52
+ success: 'Success',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ code: 'string',
59
+ data: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
60
+ message: 'string',
61
+ requestId: 'string',
62
+ success: 'boolean',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ if(this.data) {
68
+ $dara.Model.validateMap(this.data);
69
+ }
70
+ super.validate();
71
+ }
72
+
73
+ constructor(map?: { [key: string]: any }) {
74
+ super(map);
75
+ }
76
+ }
77
+
@@ -0,0 +1,36 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetAgentDataSemanticsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the agent.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * bakehouse_agent
14
+ */
15
+ agentName?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ agentName: 'AgentName',
19
+ };
20
+ }
21
+
22
+ static types(): { [key: string]: any } {
23
+ return {
24
+ agentName: 'string',
25
+ };
26
+ }
27
+
28
+ validate() {
29
+ super.validate();
30
+ }
31
+
32
+ constructor(map?: { [key: string]: any }) {
33
+ super(map);
34
+ }
35
+ }
36
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetAgentDataSemanticsResponseBody } from "./GetAgentDataSemanticsResponseBody";
4
+
5
+
6
+ export class GetAgentDataSemanticsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetAgentDataSemanticsResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetAgentDataSemanticsResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,148 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { AgentDataSemanticsExample } from "./AgentDataSemanticsExample";
4
+ import { AgentDataSemanticsJoin } from "./AgentDataSemanticsJoin";
5
+ import { AgentDataSemanticsMetric } from "./AgentDataSemanticsMetric";
6
+ import { AgentDataSemanticsText } from "./AgentDataSemanticsText";
7
+
8
+
9
+ export class GetAgentDataSemanticsResponseBodyData extends $dara.Model {
10
+ /**
11
+ * @remarks
12
+ * The SQL example knowledge entries. A maximum of 50 entries are supported.
13
+ */
14
+ examples?: AgentDataSemanticsExample[];
15
+ /**
16
+ * @remarks
17
+ * The data association knowledge entries. A maximum of 100 entries are supported.
18
+ */
19
+ joins?: AgentDataSemanticsJoin[];
20
+ /**
21
+ * @remarks
22
+ * The SQL expression knowledge entries. A maximum of 100 entries are supported.
23
+ */
24
+ metrics?: AgentDataSemanticsMetric[];
25
+ /**
26
+ * @remarks
27
+ * The text knowledge in Markdown format.
28
+ */
29
+ text?: AgentDataSemanticsText;
30
+ /**
31
+ * @remarks
32
+ * The currently effective version number.
33
+ *
34
+ * @example
35
+ * 3
36
+ */
37
+ versionNo?: number;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ examples: 'Examples',
41
+ joins: 'Joins',
42
+ metrics: 'Metrics',
43
+ text: 'Text',
44
+ versionNo: 'VersionNo',
45
+ };
46
+ }
47
+
48
+ static types(): { [key: string]: any } {
49
+ return {
50
+ examples: { 'type': 'array', 'itemType': AgentDataSemanticsExample },
51
+ joins: { 'type': 'array', 'itemType': AgentDataSemanticsJoin },
52
+ metrics: { 'type': 'array', 'itemType': AgentDataSemanticsMetric },
53
+ text: AgentDataSemanticsText,
54
+ versionNo: 'number',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ if(Array.isArray(this.examples)) {
60
+ $dara.Model.validateArray(this.examples);
61
+ }
62
+ if(Array.isArray(this.joins)) {
63
+ $dara.Model.validateArray(this.joins);
64
+ }
65
+ if(Array.isArray(this.metrics)) {
66
+ $dara.Model.validateArray(this.metrics);
67
+ }
68
+ if(this.text && typeof (this.text as any).validate === 'function') {
69
+ (this.text as any).validate();
70
+ }
71
+ super.validate();
72
+ }
73
+
74
+ constructor(map?: { [key: string]: any }) {
75
+ super(map);
76
+ }
77
+ }
78
+
79
+ export class GetAgentDataSemanticsResponseBody extends $dara.Model {
80
+ /**
81
+ * @remarks
82
+ * The response code.
83
+ *
84
+ * @example
85
+ * Success
86
+ */
87
+ code?: string;
88
+ /**
89
+ * @remarks
90
+ * The details of the currently effective data semantics version. If generation is running, has failed, or has completed but has not been saved, only the official version is returned. No temporary snapshot is returned.
91
+ */
92
+ data?: GetAgentDataSemanticsResponseBodyData;
93
+ /**
94
+ * @remarks
95
+ * The response message. An error message is returned if the request fails.
96
+ *
97
+ * @example
98
+ * Data semantics not found.
99
+ */
100
+ message?: string;
101
+ /**
102
+ * @remarks
103
+ * The unique request ID generated by Alibaba Cloud.
104
+ *
105
+ * @example
106
+ * 5DAF96FB-A4DF-548C-B8A1-F2A8D2F4****
107
+ */
108
+ requestId?: string;
109
+ /**
110
+ * @remarks
111
+ * Indicates whether the call was successful.
112
+ *
113
+ * @example
114
+ * true
115
+ */
116
+ success?: boolean;
117
+ static names(): { [key: string]: string } {
118
+ return {
119
+ code: 'Code',
120
+ data: 'Data',
121
+ message: 'Message',
122
+ requestId: 'RequestId',
123
+ success: 'Success',
124
+ };
125
+ }
126
+
127
+ static types(): { [key: string]: any } {
128
+ return {
129
+ code: 'string',
130
+ data: GetAgentDataSemanticsResponseBodyData,
131
+ message: 'string',
132
+ requestId: 'string',
133
+ success: 'boolean',
134
+ };
135
+ }
136
+
137
+ validate() {
138
+ if(this.data && typeof (this.data as any).validate === 'function') {
139
+ (this.data as any).validate();
140
+ }
141
+ super.validate();
142
+ }
143
+
144
+ constructor(map?: { [key: string]: any }) {
145
+ super(map);
146
+ }
147
+ }
148
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetCatalogRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Idempotency token
8
+ * The idempotency token.
9
9
  *
10
10
  * @example
11
11
  * 1e9b8f60-3a2c-4d7e-9f1b-8c3d5e7a2b4f
@@ -13,7 +13,7 @@ export class GetCatalogRequest extends $dara.Model {
13
13
  clientToken?: string;
14
14
  /**
15
15
  * @remarks
16
- * Data catalog name
16
+ * The name of the data catalog.
17
17
  *
18
18
  * This parameter is required.
19
19
  *
@@ -6,7 +6,7 @@ import { Catalog } from "./Catalog";
6
6
  export class GetCatalogResponseBody extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * Response code. 200 indicates success.
9
+ * The response code. A value of 200 indicates success.
10
10
  *
11
11
  * @example
12
12
  * 200
@@ -14,12 +14,12 @@ export class GetCatalogResponseBody extends $dara.Model {
14
14
  code?: string;
15
15
  /**
16
16
  * @remarks
17
- * Catalog details
17
+ * The catalog details.
18
18
  */
19
19
  data?: Catalog;
20
20
  /**
21
21
  * @remarks
22
- * Response message
22
+ * The response message.
23
23
  *
24
24
  * @example
25
25
  * Operation success
@@ -27,7 +27,7 @@ export class GetCatalogResponseBody extends $dara.Model {
27
27
  message?: string;
28
28
  /**
29
29
  * @remarks
30
- * Request ID
30
+ * The request ID.
31
31
  *
32
32
  * @example
33
33
  * 34AD682D-5B91-5773-8132-AA38C130****
@@ -35,7 +35,7 @@ export class GetCatalogResponseBody extends $dara.Model {
35
35
  requestId?: string;
36
36
  /**
37
37
  * @remarks
38
- * Indicates whether the operation was successful
38
+ * Indicates whether the operation was successful.
39
39
  *
40
40
  * @example
41
41
  * true
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetConnectionRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The name of the connection.
8
+ * The connection name.
9
9
  *
10
10
  * This parameter is required.
11
11
  *