@alicloud/eventbridge20200401 6.3.0 → 6.5.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 +120 -18
- package/dist/client.js +330 -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/PutEventsRequest.d.ts +118 -0
- package/dist/models/PutEventsRequest.js +98 -0
- package/dist/models/PutEventsRequest.js.map +1 -0
- package/dist/models/PutEventsResponse.d.ts +19 -0
- package/dist/models/PutEventsResponse.js +69 -0
- package/dist/models/PutEventsResponse.js.map +1 -0
- package/dist/models/PutEventsResponseBody.d.ts +119 -0
- package/dist/models/PutEventsResponseBody.js +118 -0
- package/dist/models/PutEventsResponseBody.js.map +1 -0
- package/dist/models/PutEventsShrinkRequest.d.ts +28 -0
- package/dist/models/PutEventsShrinkRequest.js +60 -0
- package/dist/models/PutEventsShrinkRequest.js.map +1 -0
- 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 +33 -0
- package/dist/models/model.js +84 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +362 -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/PutEventsRequest.ts +162 -0
- package/src/models/PutEventsResponse.ts +40 -0
- package/src/models/PutEventsResponseBody.ts +174 -0
- package/src/models/PutEventsShrinkRequest.ts +43 -0
- 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 +33 -0
|
@@ -0,0 +1,162 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutEventsRequestEventList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The event payload.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {"orderId": "1001", "amount": 99.9}
|
|
12
|
+
*/
|
|
13
|
+
data?: any;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The data format.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* application/json
|
|
20
|
+
*/
|
|
21
|
+
dataContentType?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The data schema address.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* https://example.com/schema/v1
|
|
28
|
+
*/
|
|
29
|
+
dataSchema?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The event ID.
|
|
33
|
+
*
|
|
34
|
+
* This parameter is required.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* 5a2c8f4e-0001
|
|
38
|
+
*/
|
|
39
|
+
id?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The event source.
|
|
43
|
+
*
|
|
44
|
+
* This parameter is required.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* my.custom.source
|
|
48
|
+
*/
|
|
49
|
+
source?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The protocol version.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* 1.0
|
|
56
|
+
*/
|
|
57
|
+
specVersion?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @remarks
|
|
60
|
+
* The event subject.
|
|
61
|
+
*
|
|
62
|
+
* @example
|
|
63
|
+
* order-1001
|
|
64
|
+
*/
|
|
65
|
+
subject?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The event time.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* 2026-08-04T10:00:00Z
|
|
72
|
+
*/
|
|
73
|
+
time?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* The event type.
|
|
77
|
+
*
|
|
78
|
+
* This parameter is required.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* order:created
|
|
82
|
+
*/
|
|
83
|
+
type?: string;
|
|
84
|
+
static names(): { [key: string]: string } {
|
|
85
|
+
return {
|
|
86
|
+
data: 'Data',
|
|
87
|
+
dataContentType: 'DataContentType',
|
|
88
|
+
dataSchema: 'DataSchema',
|
|
89
|
+
id: 'Id',
|
|
90
|
+
source: 'Source',
|
|
91
|
+
specVersion: 'SpecVersion',
|
|
92
|
+
subject: 'Subject',
|
|
93
|
+
time: 'Time',
|
|
94
|
+
type: 'Type',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static types(): { [key: string]: any } {
|
|
99
|
+
return {
|
|
100
|
+
data: 'any',
|
|
101
|
+
dataContentType: 'string',
|
|
102
|
+
dataSchema: 'string',
|
|
103
|
+
id: 'string',
|
|
104
|
+
source: 'string',
|
|
105
|
+
specVersion: 'string',
|
|
106
|
+
subject: 'string',
|
|
107
|
+
time: 'string',
|
|
108
|
+
type: 'string',
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
validate() {
|
|
113
|
+
super.validate();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
constructor(map?: { [key: string]: any }) {
|
|
117
|
+
super(map);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export class PutEventsRequest extends $dara.Model {
|
|
122
|
+
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* The name of the event bus.
|
|
125
|
+
*
|
|
126
|
+
* This parameter is required.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* my-bus
|
|
130
|
+
*/
|
|
131
|
+
eventBusName?: string;
|
|
132
|
+
/**
|
|
133
|
+
* @remarks
|
|
134
|
+
* The list of events.
|
|
135
|
+
*/
|
|
136
|
+
eventList?: PutEventsRequestEventList[];
|
|
137
|
+
static names(): { [key: string]: string } {
|
|
138
|
+
return {
|
|
139
|
+
eventBusName: 'EventBusName',
|
|
140
|
+
eventList: 'EventList',
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
static types(): { [key: string]: any } {
|
|
145
|
+
return {
|
|
146
|
+
eventBusName: 'string',
|
|
147
|
+
eventList: { 'type': 'array', 'itemType': PutEventsRequestEventList },
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
validate() {
|
|
152
|
+
if(Array.isArray(this.eventList)) {
|
|
153
|
+
$dara.Model.validateArray(this.eventList);
|
|
154
|
+
}
|
|
155
|
+
super.validate();
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
constructor(map?: { [key: string]: any }) {
|
|
159
|
+
super(map);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { PutEventsResponseBody } from "./PutEventsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class PutEventsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: PutEventsResponseBody;
|
|
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: PutEventsResponseBody,
|
|
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,174 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutEventsResponseBodyDataEntryList extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The error code.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* Success indicates success. Other values indicate exceptions
|
|
12
|
+
*/
|
|
13
|
+
errorCode?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The detailed error description.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* triggerPicture failed
|
|
20
|
+
*/
|
|
21
|
+
errorMessage?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The event ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 4c8b7500-2aea-4f5a-b7dd-9d9dd986c07d
|
|
28
|
+
*/
|
|
29
|
+
eventId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The trace ID, which is used to query the exact call information.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 4E17C677F5357FB23D1A7FF964CD1999
|
|
36
|
+
*/
|
|
37
|
+
traceId?: string;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
errorCode: 'ErrorCode',
|
|
41
|
+
errorMessage: 'ErrorMessage',
|
|
42
|
+
eventId: 'EventId',
|
|
43
|
+
traceId: 'TraceId',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
errorCode: 'string',
|
|
50
|
+
errorMessage: 'string',
|
|
51
|
+
eventId: 'string',
|
|
52
|
+
traceId: 'string',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class PutEventsResponseBodyData extends $dara.Model {
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The collection of event sending results.
|
|
69
|
+
*/
|
|
70
|
+
entryList?: PutEventsResponseBodyDataEntryList[];
|
|
71
|
+
/**
|
|
72
|
+
* @remarks
|
|
73
|
+
* The number of events that failed to be sent.
|
|
74
|
+
*
|
|
75
|
+
* @example
|
|
76
|
+
* 2
|
|
77
|
+
*/
|
|
78
|
+
failedEntryCount?: number;
|
|
79
|
+
static names(): { [key: string]: string } {
|
|
80
|
+
return {
|
|
81
|
+
entryList: 'EntryList',
|
|
82
|
+
failedEntryCount: 'FailedEntryCount',
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
static types(): { [key: string]: any } {
|
|
87
|
+
return {
|
|
88
|
+
entryList: { 'type': 'array', 'itemType': PutEventsResponseBodyDataEntryList },
|
|
89
|
+
failedEntryCount: 'number',
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
validate() {
|
|
94
|
+
if(Array.isArray(this.entryList)) {
|
|
95
|
+
$dara.Model.validateArray(this.entryList);
|
|
96
|
+
}
|
|
97
|
+
super.validate();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
constructor(map?: { [key: string]: any }) {
|
|
101
|
+
super(map);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export class PutEventsResponseBody extends $dara.Model {
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The status code. A value of 200 indicates success.
|
|
109
|
+
*
|
|
110
|
+
* @example
|
|
111
|
+
* 200
|
|
112
|
+
*/
|
|
113
|
+
code?: string;
|
|
114
|
+
/**
|
|
115
|
+
* @remarks
|
|
116
|
+
* The returned data.
|
|
117
|
+
*/
|
|
118
|
+
data?: PutEventsResponseBodyData;
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* The error message.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* EventBusNotExist
|
|
125
|
+
*/
|
|
126
|
+
message?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The unique identifier that Alibaba Cloud generated for the request.
|
|
130
|
+
*
|
|
131
|
+
* @example
|
|
132
|
+
* 2BC1857D-E633-5E79-B2C2-43EF5F7730D8
|
|
133
|
+
*/
|
|
134
|
+
requestId?: string;
|
|
135
|
+
/**
|
|
136
|
+
* @remarks
|
|
137
|
+
* Indicates whether the operation was successful. Valid values: true: The operation was successful. false: The operation failed.
|
|
138
|
+
*
|
|
139
|
+
* @example
|
|
140
|
+
* true
|
|
141
|
+
*/
|
|
142
|
+
success?: boolean;
|
|
143
|
+
static names(): { [key: string]: string } {
|
|
144
|
+
return {
|
|
145
|
+
code: 'Code',
|
|
146
|
+
data: 'Data',
|
|
147
|
+
message: 'Message',
|
|
148
|
+
requestId: 'RequestId',
|
|
149
|
+
success: 'Success',
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
static types(): { [key: string]: any } {
|
|
154
|
+
return {
|
|
155
|
+
code: 'string',
|
|
156
|
+
data: PutEventsResponseBodyData,
|
|
157
|
+
message: 'string',
|
|
158
|
+
requestId: 'string',
|
|
159
|
+
success: 'boolean',
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
validate() {
|
|
164
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
165
|
+
(this.data as any).validate();
|
|
166
|
+
}
|
|
167
|
+
super.validate();
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
constructor(map?: { [key: string]: any }) {
|
|
171
|
+
super(map);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class PutEventsShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The name of the event bus.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* my-bus
|
|
14
|
+
*/
|
|
15
|
+
eventBusName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The list of events.
|
|
19
|
+
*/
|
|
20
|
+
eventListShrink?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
eventBusName: 'EventBusName',
|
|
24
|
+
eventListShrink: 'EventList',
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
static types(): { [key: string]: any } {
|
|
29
|
+
return {
|
|
30
|
+
eventBusName: 'string',
|
|
31
|
+
eventListShrink: 'string',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
validate() {
|
|
36
|
+
super.validate();
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
constructor(map?: { [key: string]: any }) {
|
|
40
|
+
super(map);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class QueryEventHouseWithTimeRangeRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The start time for querying internal EventHouse data. Specify a UNIX timestamp in seconds. The time range includes this point in time.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* 1787587200
|
|
14
|
+
*/
|
|
15
|
+
beginTime?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The end time for querying internal EventHouse data. Specify a UNIX timestamp in seconds. The time range excludes this point in time. The value must be greater than BeginTime.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* 1787590800
|
|
24
|
+
*/
|
|
25
|
+
endTime?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* The maximum number of result rows that can be returned for this query.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* 100
|
|
32
|
+
*/
|
|
33
|
+
limit?: number;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The single read-only SQL statement to execute. You can query internal EventHouse data or perform federated queries with mounted external data sources.
|
|
37
|
+
*
|
|
38
|
+
* This parameter is required.
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* SELECT * FROM my_catalog.my_namespace.my_table LIMIT 100
|
|
42
|
+
*/
|
|
43
|
+
query?: string;
|
|
44
|
+
static names(): { [key: string]: string } {
|
|
45
|
+
return {
|
|
46
|
+
beginTime: 'BeginTime',
|
|
47
|
+
endTime: 'EndTime',
|
|
48
|
+
limit: 'Limit',
|
|
49
|
+
query: 'Query',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
static types(): { [key: string]: any } {
|
|
54
|
+
return {
|
|
55
|
+
beginTime: 'number',
|
|
56
|
+
endTime: 'number',
|
|
57
|
+
limit: 'number',
|
|
58
|
+
query: 'string',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
validate() {
|
|
63
|
+
super.validate();
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
constructor(map?: { [key: string]: any }) {
|
|
67
|
+
super(map);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { QueryEventHouseWithTimeRangeResponseBody } from "./QueryEventHouseWithTimeRangeResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryEventHouseWithTimeRangeResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: QueryEventHouseWithTimeRangeResponseBody;
|
|
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: QueryEventHouseWithTimeRangeResponseBody,
|
|
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,115 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { Row } from "./Row";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class QueryEventHouseWithTimeRangeResponseBodyData extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The list of result rows returned by the SQL query.
|
|
10
|
+
*/
|
|
11
|
+
rows?: Row[];
|
|
12
|
+
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* The number of result rows actually returned by the query.
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* 1
|
|
18
|
+
*/
|
|
19
|
+
total?: number;
|
|
20
|
+
static names(): { [key: string]: string } {
|
|
21
|
+
return {
|
|
22
|
+
rows: 'Rows',
|
|
23
|
+
total: 'Total',
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
static types(): { [key: string]: any } {
|
|
28
|
+
return {
|
|
29
|
+
rows: { 'type': 'array', 'itemType': Row },
|
|
30
|
+
total: 'number',
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
validate() {
|
|
35
|
+
if(Array.isArray(this.rows)) {
|
|
36
|
+
$dara.Model.validateArray(this.rows);
|
|
37
|
+
}
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class QueryEventHouseWithTimeRangeResponseBody extends $dara.Model {
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* The return code of the operation. Success indicates a successful call. Other values indicate specific error codes.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* Success
|
|
53
|
+
*/
|
|
54
|
+
code?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* The structured result data returned by the SQL query.
|
|
58
|
+
*/
|
|
59
|
+
data?: QueryEventHouseWithTimeRangeResponseBodyData;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* A success message if the call succeeds, or a specific error message if the call fails.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* success
|
|
66
|
+
*/
|
|
67
|
+
message?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The unique ID of the request. You can use this ID for troubleshooting.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* 34AD682D-5B91-5773-8132-AA38C130****
|
|
74
|
+
*/
|
|
75
|
+
requestId?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* Indicates whether the call is successful. A value of true indicates success. A value of false indicates failure.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* true
|
|
82
|
+
*/
|
|
83
|
+
success?: boolean;
|
|
84
|
+
static names(): { [key: string]: string } {
|
|
85
|
+
return {
|
|
86
|
+
code: 'Code',
|
|
87
|
+
data: 'Data',
|
|
88
|
+
message: 'Message',
|
|
89
|
+
requestId: 'RequestId',
|
|
90
|
+
success: 'Success',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
code: 'string',
|
|
97
|
+
data: QueryEventHouseWithTimeRangeResponseBodyData,
|
|
98
|
+
message: 'string',
|
|
99
|
+
requestId: 'string',
|
|
100
|
+
success: 'boolean',
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
validate() {
|
|
105
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
106
|
+
(this.data as any).validate();
|
|
107
|
+
}
|
|
108
|
+
super.validate();
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
constructor(map?: { [key: string]: any }) {
|
|
112
|
+
super(map);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|