@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.
- package/dist/client.d.ts +99 -18
- package/dist/client.js +277 -38
- package/dist/client.js.map +1 -1
- package/dist/models/AgentDataSemanticsExample.d.ts +47 -0
- package/dist/models/AgentDataSemanticsExample.js +68 -0
- package/dist/models/AgentDataSemanticsExample.js.map +1 -0
- package/dist/models/AgentDataSemanticsExampleParameter.d.ts +51 -0
- package/dist/models/AgentDataSemanticsExampleParameter.js +64 -0
- package/dist/models/AgentDataSemanticsExampleParameter.js.map +1 -0
- package/dist/models/AgentDataSemanticsJoin.d.ts +57 -0
- package/dist/models/AgentDataSemanticsJoin.js +70 -0
- package/dist/models/AgentDataSemanticsJoin.js.map +1 -0
- package/dist/models/AgentDataSemanticsJoinCondition.d.ts +47 -0
- package/dist/models/AgentDataSemanticsJoinCondition.js +64 -0
- package/dist/models/AgentDataSemanticsJoinCondition.js.map +1 -0
- package/dist/models/AgentDataSemanticsMetric.d.ts +59 -0
- package/dist/models/AgentDataSemanticsMetric.js +69 -0
- package/dist/models/AgentDataSemanticsMetric.js.map +1 -0
- package/dist/models/AgentDataSemanticsStageProgress.d.ts +33 -0
- package/dist/models/AgentDataSemanticsStageProgress.js +60 -0
- package/dist/models/AgentDataSemanticsStageProgress.js.map +1 -0
- package/dist/models/AgentDataSemanticsText.d.ts +23 -0
- package/dist/models/AgentDataSemanticsText.js +58 -0
- package/dist/models/AgentDataSemanticsText.js.map +1 -0
- package/dist/models/AskLumaRequest.d.ts +1 -1
- package/dist/models/AskLumaResponseBody.d.ts +1 -1
- package/dist/models/AskLumaResult.d.ts +20 -12
- package/dist/models/AskLumaResult.js +2 -0
- package/dist/models/AskLumaResult.js.map +1 -1
- package/dist/models/Catalog.d.ts +7 -7
- package/dist/models/CreateConnectionRequest.d.ts +21 -21
- package/dist/models/CreateConnectionResponseBody.d.ts +1 -1
- package/dist/models/CreateConnectionShrinkRequest.d.ts +4 -4
- package/dist/models/CreateEventStreamingRequest.d.ts +121 -212
- package/dist/models/CreateEventStreamingRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingResponseBody.d.ts +2 -4
- package/dist/models/CreateEventStreamingResponseBody.js.map +1 -1
- package/dist/models/CreateEventStreamingShrinkRequest.d.ts +8 -4
- package/dist/models/CreateEventStreamingShrinkRequest.js.map +1 -1
- package/dist/models/DeleteEventStreamingRequest.d.ts +5 -0
- package/dist/models/DeleteEventStreamingRequest.js +2 -0
- package/dist/models/DeleteEventStreamingRequest.js.map +1 -1
- package/dist/models/DeleteEventStreamingResponseBody.d.ts +4 -4
- package/dist/models/GenerateAgentDataSemanticsRequest.d.ts +23 -0
- package/dist/models/GenerateAgentDataSemanticsRequest.js +58 -0
- package/dist/models/GenerateAgentDataSemanticsRequest.js.map +1 -0
- package/dist/models/GenerateAgentDataSemanticsResponse.d.ts +19 -0
- package/dist/models/GenerateAgentDataSemanticsResponse.js +69 -0
- package/dist/models/GenerateAgentDataSemanticsResponse.js.map +1 -0
- package/dist/models/GenerateAgentDataSemanticsResponseBody.d.ts +55 -0
- package/dist/models/GenerateAgentDataSemanticsResponseBody.js +69 -0
- package/dist/models/GenerateAgentDataSemanticsResponseBody.js.map +1 -0
- package/dist/models/GetAgentDataSemanticsRequest.d.ts +23 -0
- package/dist/models/GetAgentDataSemanticsRequest.js +58 -0
- package/dist/models/GetAgentDataSemanticsRequest.js.map +1 -0
- package/dist/models/GetAgentDataSemanticsResponse.d.ts +19 -0
- package/dist/models/GetAgentDataSemanticsResponse.js +69 -0
- package/dist/models/GetAgentDataSemanticsResponse.js.map +1 -0
- package/dist/models/GetAgentDataSemanticsResponseBody.d.ts +94 -0
- package/dist/models/GetAgentDataSemanticsResponseBody.js +112 -0
- package/dist/models/GetAgentDataSemanticsResponseBody.js.map +1 -0
- package/dist/models/GetCatalogRequest.d.ts +2 -2
- package/dist/models/GetCatalogResponseBody.d.ts +5 -5
- package/dist/models/GetConnectionRequest.d.ts +1 -1
- package/dist/models/GetConnectionResponseBody.d.ts +32 -30
- package/dist/models/GetConnectionResponseBody.js.map +1 -1
- package/dist/models/GetEventStreamingRequest.d.ts +1 -1
- package/dist/models/GetEventStreamingResponseBody.d.ts +212 -329
- package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
- package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.d.ts +23 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.js +58 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressRequest.js.map +1 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.d.ts +19 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.js +69 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponse.js.map +1 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.d.ts +116 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.js +122 -0
- package/dist/models/GetGenerateAgentDataSemanticsProgressResponseBody.js.map +1 -0
- package/dist/models/ListCatalogsRequest.d.ts +2 -2
- package/dist/models/ListCatalogsResponseBody.d.ts +8 -8
- package/dist/models/ListConnectionsRequest.d.ts +6 -6
- package/dist/models/ListConnectionsResponseBody.d.ts +24 -24
- package/dist/models/PollAskResultResponseBody.d.ts +1 -1
- package/dist/models/QueryAskLumaLogRequest.d.ts +1 -1
- package/dist/models/QueryAskLumaLogResponseBody.d.ts +3 -3
- package/dist/models/QueryAttachment.d.ts +10 -2
- package/dist/models/QueryAttachment.js +2 -0
- package/dist/models/QueryAttachment.js.map +1 -1
- package/dist/models/QueryEventHouseWithTimeRangeRequest.d.ts +51 -0
- package/dist/models/QueryEventHouseWithTimeRangeRequest.js +64 -0
- package/dist/models/QueryEventHouseWithTimeRangeRequest.js.map +1 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponse.d.ts +19 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponse.js +69 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponse.js.map +1 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponseBody.d.ts +76 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponseBody.js +94 -0
- package/dist/models/QueryEventHouseWithTimeRangeResponseBody.js.map +1 -0
- package/dist/models/SaveAgentDataSemanticsRequest.d.ts +47 -0
- package/dist/models/SaveAgentDataSemanticsRequest.js +82 -0
- package/dist/models/SaveAgentDataSemanticsRequest.js.map +1 -0
- package/dist/models/SaveAgentDataSemanticsResponse.d.ts +19 -0
- package/dist/models/SaveAgentDataSemanticsResponse.js +69 -0
- package/dist/models/SaveAgentDataSemanticsResponse.js.map +1 -0
- package/dist/models/SaveAgentDataSemanticsResponseBody.d.ts +55 -0
- package/dist/models/SaveAgentDataSemanticsResponseBody.js +69 -0
- package/dist/models/SaveAgentDataSemanticsResponseBody.js.map +1 -0
- package/dist/models/SaveAgentDataSemanticsShrinkRequest.d.ts +43 -0
- package/dist/models/SaveAgentDataSemanticsShrinkRequest.js +66 -0
- package/dist/models/SaveAgentDataSemanticsShrinkRequest.js.map +1 -0
- package/dist/models/SourceJdbcparameters.d.ts +60 -0
- package/dist/models/SourceJdbcparameters.js.map +1 -1
- package/dist/models/Table.d.ts +1 -1
- package/dist/models/UpdateConnectionRequest.d.ts +28 -28
- package/dist/models/UpdateConnectionResponseBody.d.ts +2 -2
- package/dist/models/UpdateConnectionShrinkRequest.d.ts +5 -5
- package/dist/models/UpdateEventStreamingRequest.d.ts +156 -281
- package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
- package/dist/models/UpdateEventStreamingResponseBody.d.ts +4 -2
- package/dist/models/UpdateEventStreamingResponseBody.js.map +1 -1
- package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +8 -4
- package/dist/models/UpdateEventStreamingShrinkRequest.js.map +1 -1
- package/dist/models/model.d.ts +26 -0
- package/dist/models/model.js +70 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +304 -38
- package/src/models/AgentDataSemanticsExample.ts +69 -0
- package/src/models/AgentDataSemanticsExampleParameter.ts +70 -0
- package/src/models/AgentDataSemanticsJoin.ts +81 -0
- package/src/models/AgentDataSemanticsJoinCondition.ts +66 -0
- package/src/models/AgentDataSemanticsMetric.ts +83 -0
- package/src/models/AgentDataSemanticsStageProgress.ts +48 -0
- package/src/models/AgentDataSemanticsText.ts +36 -0
- package/src/models/AskLumaRequest.ts +1 -1
- package/src/models/AskLumaResponseBody.ts +1 -1
- package/src/models/AskLumaResult.ts +22 -12
- package/src/models/Catalog.ts +7 -7
- package/src/models/CreateConnectionRequest.ts +21 -21
- package/src/models/CreateConnectionResponseBody.ts +1 -1
- package/src/models/CreateConnectionShrinkRequest.ts +4 -4
- package/src/models/CreateEventStreamingRequest.ts +121 -212
- package/src/models/CreateEventStreamingResponseBody.ts +2 -4
- package/src/models/CreateEventStreamingShrinkRequest.ts +8 -4
- package/src/models/DeleteEventStreamingRequest.ts +7 -0
- package/src/models/DeleteEventStreamingResponseBody.ts +4 -4
- package/src/models/GenerateAgentDataSemanticsRequest.ts +36 -0
- package/src/models/GenerateAgentDataSemanticsResponse.ts +40 -0
- package/src/models/GenerateAgentDataSemanticsResponseBody.ts +77 -0
- package/src/models/GetAgentDataSemanticsRequest.ts +36 -0
- package/src/models/GetAgentDataSemanticsResponse.ts +40 -0
- package/src/models/GetAgentDataSemanticsResponseBody.ts +148 -0
- package/src/models/GetCatalogRequest.ts +2 -2
- package/src/models/GetCatalogResponseBody.ts +5 -5
- package/src/models/GetConnectionRequest.ts +1 -1
- package/src/models/GetConnectionResponseBody.ts +32 -30
- package/src/models/GetEventStreamingRequest.ts +1 -1
- package/src/models/GetEventStreamingResponseBody.ts +212 -329
- package/src/models/GetGenerateAgentDataSemanticsProgressRequest.ts +36 -0
- package/src/models/GetGenerateAgentDataSemanticsProgressResponse.ts +40 -0
- package/src/models/GetGenerateAgentDataSemanticsProgressResponseBody.ts +179 -0
- package/src/models/ListCatalogsRequest.ts +2 -2
- package/src/models/ListCatalogsResponseBody.ts +8 -8
- package/src/models/ListConnectionsRequest.ts +6 -6
- package/src/models/ListConnectionsResponseBody.ts +24 -24
- package/src/models/PollAskResultResponseBody.ts +1 -1
- package/src/models/QueryAskLumaLogRequest.ts +1 -1
- package/src/models/QueryAskLumaLogResponseBody.ts +3 -3
- package/src/models/QueryAttachment.ts +12 -2
- package/src/models/QueryEventHouseWithTimeRangeRequest.ts +70 -0
- package/src/models/QueryEventHouseWithTimeRangeResponse.ts +40 -0
- package/src/models/QueryEventHouseWithTimeRangeResponseBody.ts +115 -0
- package/src/models/SaveAgentDataSemanticsRequest.ts +80 -0
- package/src/models/SaveAgentDataSemanticsResponse.ts +40 -0
- package/src/models/SaveAgentDataSemanticsResponseBody.ts +77 -0
- package/src/models/SaveAgentDataSemanticsShrinkRequest.ts +64 -0
- package/src/models/SourceJdbcparameters.ts +60 -0
- package/src/models/Table.ts +1 -1
- package/src/models/UpdateConnectionRequest.ts +28 -28
- package/src/models/UpdateConnectionResponseBody.ts +2 -2
- package/src/models/UpdateConnectionShrinkRequest.ts +5 -5
- package/src/models/UpdateEventStreamingRequest.ts +156 -281
- package/src/models/UpdateEventStreamingResponseBody.ts +4 -2
- package/src/models/UpdateEventStreamingShrinkRequest.ts +8 -4
- package/src/models/model.ts +26 -0
|
@@ -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 GetGenerateAgentDataSemanticsProgressRequest 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 { GetGenerateAgentDataSemanticsProgressResponseBody } from "./GetGenerateAgentDataSemanticsProgressResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetGenerateAgentDataSemanticsProgressResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetGenerateAgentDataSemanticsProgressResponseBody;
|
|
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: GetGenerateAgentDataSemanticsProgressResponseBody,
|
|
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,179 @@
|
|
|
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 { AgentDataSemanticsStageProgress } from "./AgentDataSemanticsStageProgress";
|
|
7
|
+
import { AgentDataSemanticsText } from "./AgentDataSemanticsText";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
export class GetGenerateAgentDataSemanticsProgressResponseBodyData extends $dara.Model {
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The error code returned when the generation task fails.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* DataSemanticsGenerateFailed
|
|
17
|
+
*/
|
|
18
|
+
errorCode?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The error message returned when the generation task fails.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* Failed to generate data semantics. Please retry later.
|
|
25
|
+
*/
|
|
26
|
+
errorMessage?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* The SQL example knowledge returned when the generation is complete. A maximum of 50 items can be returned.
|
|
30
|
+
*/
|
|
31
|
+
examples?: AgentDataSemanticsExample[];
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The data association knowledge returned when the generation is complete. A maximum of 100 items can be returned.
|
|
35
|
+
*/
|
|
36
|
+
joins?: AgentDataSemanticsJoin[];
|
|
37
|
+
/**
|
|
38
|
+
* @remarks
|
|
39
|
+
* The SQL expression knowledge returned when the generation is complete. A maximum of 100 items can be returned.
|
|
40
|
+
*/
|
|
41
|
+
metrics?: AgentDataSemanticsMetric[];
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The four-phase stage progress. This parameter may not be returned when the overall generation is complete.
|
|
45
|
+
*/
|
|
46
|
+
progress?: AgentDataSemanticsStageProgress[];
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The current overall stage.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* GENERATE
|
|
53
|
+
*/
|
|
54
|
+
stage?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The Markdown text knowledge returned when the generation is complete.
|
|
58
|
+
*/
|
|
59
|
+
text?: AgentDataSemanticsText;
|
|
60
|
+
static names(): { [key: string]: string } {
|
|
61
|
+
return {
|
|
62
|
+
errorCode: 'ErrorCode',
|
|
63
|
+
errorMessage: 'ErrorMessage',
|
|
64
|
+
examples: 'Examples',
|
|
65
|
+
joins: 'Joins',
|
|
66
|
+
metrics: 'Metrics',
|
|
67
|
+
progress: 'Progress',
|
|
68
|
+
stage: 'Stage',
|
|
69
|
+
text: 'Text',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
static types(): { [key: string]: any } {
|
|
74
|
+
return {
|
|
75
|
+
errorCode: 'string',
|
|
76
|
+
errorMessage: 'string',
|
|
77
|
+
examples: { 'type': 'array', 'itemType': AgentDataSemanticsExample },
|
|
78
|
+
joins: { 'type': 'array', 'itemType': AgentDataSemanticsJoin },
|
|
79
|
+
metrics: { 'type': 'array', 'itemType': AgentDataSemanticsMetric },
|
|
80
|
+
progress: { 'type': 'array', 'itemType': AgentDataSemanticsStageProgress },
|
|
81
|
+
stage: 'string',
|
|
82
|
+
text: AgentDataSemanticsText,
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
validate() {
|
|
87
|
+
if(Array.isArray(this.examples)) {
|
|
88
|
+
$dara.Model.validateArray(this.examples);
|
|
89
|
+
}
|
|
90
|
+
if(Array.isArray(this.joins)) {
|
|
91
|
+
$dara.Model.validateArray(this.joins);
|
|
92
|
+
}
|
|
93
|
+
if(Array.isArray(this.metrics)) {
|
|
94
|
+
$dara.Model.validateArray(this.metrics);
|
|
95
|
+
}
|
|
96
|
+
if(Array.isArray(this.progress)) {
|
|
97
|
+
$dara.Model.validateArray(this.progress);
|
|
98
|
+
}
|
|
99
|
+
if(this.text && typeof (this.text as any).validate === 'function') {
|
|
100
|
+
(this.text as any).validate();
|
|
101
|
+
}
|
|
102
|
+
super.validate();
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
constructor(map?: { [key: string]: any }) {
|
|
106
|
+
super(map);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
export class GetGenerateAgentDataSemanticsProgressResponseBody extends $dara.Model {
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The response code of the operation.
|
|
114
|
+
*
|
|
115
|
+
* @example
|
|
116
|
+
* Success
|
|
117
|
+
*/
|
|
118
|
+
code?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The generation progress details. When the initial generation is complete, a full snapshot of the current generation round is returned. When regeneration is complete, the current Metrics, Joins, Examples, and new Text are returned. To discard a regeneration, first call Get to retrieve the current official version, and then call Save with the four types of content unchanged to idempotently clean up temporary results.
|
|
122
|
+
*/
|
|
123
|
+
data?: GetGenerateAgentDataSemanticsProgressResponseBodyData;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The response message. If the request fails, an error message is returned.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* Data semantics generation task not found.
|
|
130
|
+
*/
|
|
131
|
+
message?: string;
|
|
132
|
+
/**
|
|
133
|
+
* @remarks
|
|
134
|
+
* The unique identifier that Alibaba Cloud generates for the request.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* 5DAF96FB-A4DF-548C-B8A1-F2A8D2F4****
|
|
138
|
+
*/
|
|
139
|
+
requestId?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Indicates whether the call was successful.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* true
|
|
146
|
+
*/
|
|
147
|
+
success?: boolean;
|
|
148
|
+
static names(): { [key: string]: string } {
|
|
149
|
+
return {
|
|
150
|
+
code: 'Code',
|
|
151
|
+
data: 'Data',
|
|
152
|
+
message: 'Message',
|
|
153
|
+
requestId: 'RequestId',
|
|
154
|
+
success: 'Success',
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
static types(): { [key: string]: any } {
|
|
159
|
+
return {
|
|
160
|
+
code: 'string',
|
|
161
|
+
data: GetGenerateAgentDataSemanticsProgressResponseBodyData,
|
|
162
|
+
message: 'string',
|
|
163
|
+
requestId: 'string',
|
|
164
|
+
success: 'boolean',
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
validate() {
|
|
169
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
170
|
+
(this.data as any).validate();
|
|
171
|
+
}
|
|
172
|
+
super.validate();
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
constructor(map?: { [key: string]: any }) {
|
|
176
|
+
super(map);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListCatalogsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* The number of entries per page.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 10
|
|
@@ -13,7 +13,7 @@ export class ListCatalogsRequest extends $dara.Model {
|
|
|
13
13
|
limit?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* The pagination token.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 0
|
|
@@ -6,12 +6,12 @@ import { Catalog } from "./Catalog";
|
|
|
6
6
|
export class ListCatalogsResponseBodyData extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
*
|
|
9
|
+
* The list of catalogs.
|
|
10
10
|
*/
|
|
11
11
|
catalogs?: Catalog[];
|
|
12
12
|
/**
|
|
13
13
|
* @remarks
|
|
14
|
-
*
|
|
14
|
+
* The token for the next page.
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* 10
|
|
@@ -19,7 +19,7 @@ export class ListCatalogsResponseBodyData extends $dara.Model {
|
|
|
19
19
|
nextToken?: string;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
*
|
|
22
|
+
* The total number of entries.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* 1
|
|
@@ -56,7 +56,7 @@ export class ListCatalogsResponseBodyData extends $dara.Model {
|
|
|
56
56
|
export class ListCatalogsResponseBody extends $dara.Model {
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
*
|
|
59
|
+
* The response code. A value of 200 indicates success.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* 200
|
|
@@ -64,12 +64,12 @@ export class ListCatalogsResponseBody extends $dara.Model {
|
|
|
64
64
|
code?: string;
|
|
65
65
|
/**
|
|
66
66
|
* @remarks
|
|
67
|
-
*
|
|
67
|
+
* The response data.
|
|
68
68
|
*/
|
|
69
69
|
data?: ListCatalogsResponseBodyData;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
*
|
|
72
|
+
* The response message.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* Operation success
|
|
@@ -77,7 +77,7 @@ export class ListCatalogsResponseBody extends $dara.Model {
|
|
|
77
77
|
message?: string;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
*
|
|
80
|
+
* The request ID.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* 34AD682D-5B91-5773-8132-AA38C130****
|
|
@@ -85,7 +85,7 @@ export class ListCatalogsResponseBody extends $dara.Model {
|
|
|
85
85
|
requestId?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
*
|
|
88
|
+
* Indicates whether the operation was successful.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* true
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListConnectionsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The prefix of the connection configuration name. Supports fuzzy match by prefix.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* connection-name
|
|
@@ -13,9 +13,9 @@ export class ListConnectionsRequest extends $dara.Model {
|
|
|
13
13
|
connectionNamePrefix?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The maximum number of entries to return
|
|
16
|
+
* The maximum number of entries to return per request. You can use this parameter together with NextToken to implement paging.
|
|
17
17
|
*
|
|
18
|
-
* - Default value: 10
|
|
18
|
+
* - Default value: 10.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 10
|
|
@@ -23,9 +23,9 @@ export class ListConnectionsRequest extends $dara.Model {
|
|
|
23
23
|
maxResults?: number;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* The pagination token. If the number of results exceeds the value of MaxResults, a NextToken value is returned.
|
|
27
27
|
*
|
|
28
|
-
* - NextToken starts from 0
|
|
28
|
+
* - The NextToken value starts from 0. Default value: 0.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* 0
|
|
@@ -33,7 +33,7 @@ export class ListConnectionsRequest extends $dara.Model {
|
|
|
33
33
|
nextToken?: string;
|
|
34
34
|
/**
|
|
35
35
|
* @remarks
|
|
36
|
-
* Filters query results by connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch. If
|
|
36
|
+
* Filters query results by connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, and lakehouse. If this parameter is not specified, all types are returned.
|
|
37
37
|
*
|
|
38
38
|
* @example
|
|
39
39
|
* Http
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListConnectionsResponseBodyDataConnectionsAuthParametersApiKeyAuthParameters extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The key of the API key.
|
|
8
|
+
* The key name of the API key.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* Token
|
|
@@ -45,7 +45,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersApiKeyAuthP
|
|
|
45
45
|
export class ListConnectionsResponseBodyDataConnectionsAuthParametersBasicAuthParameters extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The password
|
|
48
|
+
* The password for basic authentication.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* admin
|
|
@@ -53,7 +53,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersBasicAuthPa
|
|
|
53
53
|
password?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The username
|
|
56
|
+
* The username for basic authentication.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* admin
|
|
@@ -125,7 +125,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
|
|
|
125
125
|
export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersBodyParameters extends $dara.Model {
|
|
126
126
|
/**
|
|
127
127
|
* @remarks
|
|
128
|
-
*
|
|
128
|
+
* Indicates whether the value is a secret.
|
|
129
129
|
*
|
|
130
130
|
* @example
|
|
131
131
|
* false
|
|
@@ -175,7 +175,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
|
|
|
175
175
|
export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersHeaderParameters extends $dara.Model {
|
|
176
176
|
/**
|
|
177
177
|
* @remarks
|
|
178
|
-
*
|
|
178
|
+
* Indicates whether the value is a secret.
|
|
179
179
|
*
|
|
180
180
|
* @example
|
|
181
181
|
* false
|
|
@@ -225,7 +225,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
|
|
|
225
225
|
export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersQueryStringParameters extends $dara.Model {
|
|
226
226
|
/**
|
|
227
227
|
* @remarks
|
|
228
|
-
*
|
|
228
|
+
* Indicates whether the value is a secret.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
231
|
* false
|
|
@@ -233,7 +233,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
|
|
|
233
233
|
isValueSecret?: string;
|
|
234
234
|
/**
|
|
235
235
|
* @remarks
|
|
236
|
-
* The key of the
|
|
236
|
+
* The key of the URI of the request path parameter.
|
|
237
237
|
*
|
|
238
238
|
* @example
|
|
239
239
|
* name
|
|
@@ -241,7 +241,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
|
|
|
241
241
|
key?: string;
|
|
242
242
|
/**
|
|
243
243
|
* @remarks
|
|
244
|
-
* The value of the
|
|
244
|
+
* The value of the URI of the request path parameter.
|
|
245
245
|
*
|
|
246
246
|
* @example
|
|
247
247
|
* demo
|
|
@@ -275,17 +275,17 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
|
|
|
275
275
|
export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParameters extends $dara.Model {
|
|
276
276
|
/**
|
|
277
277
|
* @remarks
|
|
278
|
-
* The list of request parameter data structures.
|
|
278
|
+
* The list of body request parameter data structures.
|
|
279
279
|
*/
|
|
280
280
|
bodyParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersBodyParameters[];
|
|
281
281
|
/**
|
|
282
282
|
* @remarks
|
|
283
|
-
* The list of header
|
|
283
|
+
* The list of header parameter data structures.
|
|
284
284
|
*/
|
|
285
285
|
headerParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersHeaderParameters[];
|
|
286
286
|
/**
|
|
287
287
|
* @remarks
|
|
288
|
-
* The data structure of
|
|
288
|
+
* The data structure of the URI of the request path parameters.
|
|
289
289
|
*/
|
|
290
290
|
queryStringParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParametersQueryStringParameters[];
|
|
291
291
|
static names(): { [key: string]: string } {
|
|
@@ -338,7 +338,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
|
|
|
338
338
|
clientParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersClientParameters;
|
|
339
339
|
/**
|
|
340
340
|
* @remarks
|
|
341
|
-
* The HTTP method
|
|
341
|
+
* The HTTP method for the probe request. Valid values:
|
|
342
342
|
*
|
|
343
343
|
* - GET
|
|
344
344
|
* - POST
|
|
@@ -350,7 +350,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
|
|
|
350
350
|
httpMethod?: string;
|
|
351
351
|
/**
|
|
352
352
|
* @remarks
|
|
353
|
-
* The request parameters
|
|
353
|
+
* The HTTP request parameters for OAuth authentication.
|
|
354
354
|
*/
|
|
355
355
|
OAuthHttpParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParametersOAuthHttpParameters;
|
|
356
356
|
static names(): { [key: string]: string } {
|
|
@@ -389,12 +389,12 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParametersOAuthParame
|
|
|
389
389
|
export class ListConnectionsResponseBodyDataConnectionsAuthParameters extends $dara.Model {
|
|
390
390
|
/**
|
|
391
391
|
* @remarks
|
|
392
|
-
* The data structure of API key
|
|
392
|
+
* The data structure of the API key.
|
|
393
393
|
*/
|
|
394
394
|
apiKeyAuthParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersApiKeyAuthParameters;
|
|
395
395
|
/**
|
|
396
396
|
* @remarks
|
|
397
|
-
* The
|
|
397
|
+
* The authorization type:
|
|
398
398
|
*
|
|
399
399
|
* - BASIC: BASIC_AUTH
|
|
400
400
|
*
|
|
@@ -408,7 +408,7 @@ export class ListConnectionsResponseBodyDataConnectionsAuthParameters extends $d
|
|
|
408
408
|
authorizationType?: string;
|
|
409
409
|
/**
|
|
410
410
|
* @remarks
|
|
411
|
-
* The data structure of basic authentication
|
|
411
|
+
* The data structure of basic authentication.
|
|
412
412
|
*/
|
|
413
413
|
basicAuthParameters?: ListConnectionsResponseBodyDataConnectionsAuthParametersBasicAuthParameters;
|
|
414
414
|
/**
|
|
@@ -517,7 +517,7 @@ export class ListConnectionsResponseBodyDataConnectionsNetworkParameters extends
|
|
|
517
517
|
export class ListConnectionsResponseBodyDataConnections extends $dara.Model {
|
|
518
518
|
/**
|
|
519
519
|
* @remarks
|
|
520
|
-
* The data structure
|
|
520
|
+
* The authentication data structure.
|
|
521
521
|
*/
|
|
522
522
|
authParameters?: ListConnectionsResponseBodyDataConnectionsAuthParameters;
|
|
523
523
|
/**
|
|
@@ -538,7 +538,7 @@ export class ListConnectionsResponseBodyDataConnections extends $dara.Model {
|
|
|
538
538
|
description?: string;
|
|
539
539
|
/**
|
|
540
540
|
* @remarks
|
|
541
|
-
* The timestamp when the
|
|
541
|
+
* The timestamp when the datasource was created.
|
|
542
542
|
*
|
|
543
543
|
* @example
|
|
544
544
|
* 1592838994234
|
|
@@ -559,7 +559,7 @@ export class ListConnectionsResponseBodyDataConnections extends $dara.Model {
|
|
|
559
559
|
networkParameters?: ListConnectionsResponseBodyDataConnectionsNetworkParameters;
|
|
560
560
|
/**
|
|
561
561
|
* @remarks
|
|
562
|
-
* The
|
|
562
|
+
* The datasource connection parameters (JSON object). This field is returned only for datasource-type connections and is empty for Http type. For field definitions, refer to the ParamsSchema returned by GetConnectionType.
|
|
563
563
|
*
|
|
564
564
|
* @example
|
|
565
565
|
* {"HostName":"xxx.mysql.rds.aliyuncs.com","Port":"3306","User":"root","Password":"xxx","DatabaseName":"demo_db"}
|
|
@@ -567,7 +567,7 @@ export class ListConnectionsResponseBodyDataConnections extends $dara.Model {
|
|
|
567
567
|
parameters?: any;
|
|
568
568
|
/**
|
|
569
569
|
* @remarks
|
|
570
|
-
* The connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch.
|
|
570
|
+
* The connection type. Valid values: Http, MySQL, PostgreSQL, Elasticsearch, OSS_TABLES, SLS, OTS, MaxCompute, MongoDB, Redis, SQLServer, ClickHouse, Oracle, Hive, Iceberg, and lakehouse.
|
|
571
571
|
*
|
|
572
572
|
* @example
|
|
573
573
|
* Http
|
|
@@ -617,7 +617,7 @@ export class ListConnectionsResponseBodyDataConnections extends $dara.Model {
|
|
|
617
617
|
export class ListConnectionsResponseBodyData extends $dara.Model {
|
|
618
618
|
/**
|
|
619
619
|
* @remarks
|
|
620
|
-
* The list of
|
|
620
|
+
* The list of connection configurations.
|
|
621
621
|
*/
|
|
622
622
|
connections?: ListConnectionsResponseBodyDataConnections[];
|
|
623
623
|
/**
|
|
@@ -630,7 +630,7 @@ export class ListConnectionsResponseBodyData extends $dara.Model {
|
|
|
630
630
|
maxResults?: number;
|
|
631
631
|
/**
|
|
632
632
|
* @remarks
|
|
633
|
-
*
|
|
633
|
+
* The pagination token returned when additional results are available.
|
|
634
634
|
*
|
|
635
635
|
* @example
|
|
636
636
|
* 0
|
|
@@ -685,7 +685,7 @@ export class ListConnectionsResponseBody extends $dara.Model {
|
|
|
685
685
|
code?: string;
|
|
686
686
|
/**
|
|
687
687
|
* @remarks
|
|
688
|
-
* The list of
|
|
688
|
+
* The list of connection configurations.
|
|
689
689
|
*/
|
|
690
690
|
data?: ListConnectionsResponseBodyData;
|
|
691
691
|
/**
|
|
@@ -698,7 +698,7 @@ export class ListConnectionsResponseBody extends $dara.Model {
|
|
|
698
698
|
message?: string;
|
|
699
699
|
/**
|
|
700
700
|
* @remarks
|
|
701
|
-
*
|
|
701
|
+
* The common parameter. The ID of the request. Each request has a unique ID, which is active for troubleshooting.
|
|
702
702
|
*
|
|
703
703
|
* @example
|
|
704
704
|
* E3619976-8714-5D88-BBA2-6983D798A8BB
|
|
@@ -6,7 +6,7 @@ import { AskLumaResult } from "./AskLumaResult";
|
|
|
6
6
|
export class PollAskResultResponseBody extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The
|
|
9
|
+
* The API return code. Valid values:
|
|
10
10
|
* - Success: The operation was successful.
|
|
11
11
|
* - Other values: An error code was returned. For more information, see error codes.
|
|
12
12
|
*
|
|
@@ -13,7 +13,7 @@ export class QueryAskLumaLogRequest extends $dara.Model {
|
|
|
13
13
|
after?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The agent name. If this parameter is
|
|
16
|
+
* The agent name. If this parameter is left empty, all agents are queried.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* demo-luma-agent
|
|
@@ -8,9 +8,9 @@ export class QueryAskLumaLogResponseBody extends $dara.Model {
|
|
|
8
8
|
* @remarks
|
|
9
9
|
* The response code. Valid values:
|
|
10
10
|
*
|
|
11
|
-
* 200:
|
|
11
|
+
* 200: The request was successful.
|
|
12
12
|
*
|
|
13
|
-
* Other values: error
|
|
13
|
+
* Other values: An error occurred. For more information, see error codes.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* Success
|
|
@@ -34,7 +34,7 @@ export class QueryAskLumaLogResponseBody extends $dara.Model {
|
|
|
34
34
|
message?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The unique
|
|
37
|
+
* The unique identifier that Alibaba Cloud generates for the request.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* 6FB52207-7621-5292-BDF2-A17E2E984160
|
|
@@ -6,7 +6,7 @@ import { ExecutionResult } from "./ExecutionResult";
|
|
|
6
6
|
export class QueryAttachment extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
*
|
|
9
|
+
* The query statement.
|
|
10
10
|
*
|
|
11
11
|
* @example
|
|
12
12
|
* "SELECT city, COUNT(*) AS cnt FROM events GROUP BY city"
|
|
@@ -14,12 +14,21 @@ export class QueryAttachment extends $dara.Model {
|
|
|
14
14
|
query?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
*
|
|
17
|
+
* The stable identifier for the actual SQL tool execution, used for result tracking and interpretation.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* sqlx-0-a1b2c3d4
|
|
21
|
+
*/
|
|
22
|
+
queryId?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The query execution result.
|
|
18
26
|
*/
|
|
19
27
|
result?: ExecutionResult;
|
|
20
28
|
static names(): { [key: string]: string } {
|
|
21
29
|
return {
|
|
22
30
|
query: 'Query',
|
|
31
|
+
queryId: 'QueryId',
|
|
23
32
|
result: 'Result',
|
|
24
33
|
};
|
|
25
34
|
}
|
|
@@ -27,6 +36,7 @@ export class QueryAttachment extends $dara.Model {
|
|
|
27
36
|
static types(): { [key: string]: any } {
|
|
28
37
|
return {
|
|
29
38
|
query: 'string',
|
|
39
|
+
queryId: 'string',
|
|
30
40
|
result: ExecutionResult,
|
|
31
41
|
};
|
|
32
42
|
}
|