@alicloud/eventbridge20200401 6.6.0 → 6.6.1
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 +8 -8
- package/dist/client.js +41 -8
- package/dist/client.js.map +1 -1
- package/dist/models/Agent.d.ts +10 -0
- package/dist/models/Agent.js +4 -0
- package/dist/models/Agent.js.map +1 -1
- package/dist/models/AiChunkTransformParameters.d.ts +59 -0
- package/dist/models/AiChunkTransformParameters.js +72 -0
- package/dist/models/AiChunkTransformParameters.js.map +1 -0
- package/dist/models/AiClassifyTransformParameters.d.ts +51 -0
- package/dist/models/AiClassifyTransformParameters.js +73 -0
- package/dist/models/AiClassifyTransformParameters.js.map +1 -0
- package/dist/models/AiEmbedTransformParameters.d.ts +43 -0
- package/dist/models/AiEmbedTransformParameters.js +68 -0
- package/dist/models/AiEmbedTransformParameters.js.map +1 -0
- package/dist/models/AiExtractTransformParameters.d.ts +35 -0
- package/dist/models/AiExtractTransformParameters.js +66 -0
- package/dist/models/AiExtractTransformParameters.js.map +1 -0
- package/dist/models/AiFilterTransformParameters.d.ts +43 -0
- package/dist/models/AiFilterTransformParameters.js +68 -0
- package/dist/models/AiFilterTransformParameters.js.map +1 -0
- package/dist/models/AiPrepSearchTransformParameters.d.ts +35 -0
- package/dist/models/AiPrepSearchTransformParameters.js +66 -0
- package/dist/models/AiPrepSearchTransformParameters.js.map +1 -0
- package/dist/models/AiRedactTransformParameters.d.ts +51 -0
- package/dist/models/AiRedactTransformParameters.js +73 -0
- package/dist/models/AiRedactTransformParameters.js.map +1 -0
- package/dist/models/AiSentimentAnalysisTransformParameters.d.ts +35 -0
- package/dist/models/AiSentimentAnalysisTransformParameters.js +69 -0
- package/dist/models/AiSentimentAnalysisTransformParameters.js.map +1 -0
- package/dist/models/AiSummarizeTransformParameters.d.ts +35 -0
- package/dist/models/AiSummarizeTransformParameters.js +66 -0
- package/dist/models/AiSummarizeTransformParameters.js.map +1 -0
- package/dist/models/AiTransformField.d.ts +29 -0
- package/dist/models/AiTransformField.js +60 -0
- package/dist/models/AiTransformField.js.map +1 -0
- package/dist/models/AiTranslateTransformParameters.d.ts +30 -0
- package/dist/models/AiTranslateTransformParameters.js +68 -0
- package/dist/models/AiTranslateTransformParameters.js.map +1 -0
- package/dist/models/CreateEventStreamingRequest.d.ts +136 -76
- package/dist/models/CreateEventStreamingRequest.js +60 -0
- package/dist/models/CreateEventStreamingRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingResponseBody.d.ts +2 -2
- package/dist/models/CreateEventStreamingShrinkRequest.d.ts +3 -3
- package/dist/models/GetEventStreamingResponseBody.d.ts +174 -112
- package/dist/models/GetEventStreamingResponseBody.js +60 -0
- package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
- package/dist/models/ListConnectionsRequest.d.ts +8 -0
- package/dist/models/ListConnectionsRequest.js +2 -0
- package/dist/models/ListConnectionsRequest.js.map +1 -1
- package/dist/models/ListEventStreamingsRequest.d.ts +1 -1
- package/dist/models/ListEventStreamingsResponseBody.d.ts +126 -66
- package/dist/models/ListEventStreamingsResponseBody.js +60 -0
- package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
- package/dist/models/ListLumaCatalogsRequest.d.ts +16 -0
- package/dist/models/ListLumaCatalogsRequest.js +4 -0
- package/dist/models/ListLumaCatalogsRequest.js.map +1 -1
- package/dist/models/ListLumaCatalogsResponseBody.d.ts +24 -0
- package/dist/models/ListLumaCatalogsResponseBody.js +6 -0
- package/dist/models/ListLumaCatalogsResponseBody.js.map +1 -1
- package/dist/models/ListLumaKnowledgeBasesRequest.d.ts +19 -3
- package/dist/models/ListLumaKnowledgeBasesRequest.js +4 -0
- package/dist/models/ListLumaKnowledgeBasesRequest.js.map +1 -1
- package/dist/models/ListLumaKnowledgeBasesResponseBody.d.ts +29 -5
- package/dist/models/ListLumaKnowledgeBasesResponseBody.js +6 -0
- package/dist/models/ListLumaKnowledgeBasesResponseBody.js.map +1 -1
- package/dist/models/ListLumaNamespacesRequest.d.ts +16 -0
- package/dist/models/ListLumaNamespacesRequest.js +4 -0
- package/dist/models/ListLumaNamespacesRequest.js.map +1 -1
- package/dist/models/ListLumaNamespacesResponseBody.d.ts +24 -0
- package/dist/models/ListLumaNamespacesResponseBody.js +6 -0
- package/dist/models/ListLumaNamespacesResponseBody.js.map +1 -1
- package/dist/models/ListLumaTablesRequest.d.ts +19 -3
- package/dist/models/ListLumaTablesRequest.js +4 -0
- package/dist/models/ListLumaTablesRequest.js.map +1 -1
- package/dist/models/ListLumaTablesResponseBody.d.ts +30 -6
- package/dist/models/ListLumaTablesResponseBody.js +6 -0
- package/dist/models/ListLumaTablesResponseBody.js.map +1 -1
- package/dist/models/UpdateAgentRequest.d.ts +10 -0
- package/dist/models/UpdateAgentRequest.js +4 -0
- package/dist/models/UpdateAgentRequest.js.map +1 -1
- package/dist/models/UpdateAgentShrinkRequest.d.ts +10 -0
- package/dist/models/UpdateAgentShrinkRequest.js +4 -0
- package/dist/models/UpdateAgentShrinkRequest.js.map +1 -1
- package/dist/models/UpdateEventStreamingRequest.d.ts +134 -73
- package/dist/models/UpdateEventStreamingRequest.js +60 -0
- package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
- package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -2
- package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +2 -2
- package/dist/models/model.d.ts +11 -0
- package/dist/models/model.js +30 -8
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +52 -8
- package/src/models/Agent.ts +14 -0
- package/src/models/AiChunkTransformParameters.ts +85 -0
- package/src/models/AiClassifyTransformParameters.ts +78 -0
- package/src/models/AiEmbedTransformParameters.ts +65 -0
- package/src/models/AiExtractTransformParameters.ts +55 -0
- package/src/models/AiFilterTransformParameters.ts +65 -0
- package/src/models/AiPrepSearchTransformParameters.ts +55 -0
- package/src/models/AiRedactTransformParameters.ts +78 -0
- package/src/models/AiSentimentAnalysisTransformParameters.ts +58 -0
- package/src/models/AiSummarizeTransformParameters.ts +55 -0
- package/src/models/AiTransformField.ts +44 -0
- package/src/models/AiTranslateTransformParameters.ts +52 -0
- package/src/models/CreateEventStreamingRequest.ts +186 -76
- package/src/models/CreateEventStreamingResponseBody.ts +2 -2
- package/src/models/CreateEventStreamingShrinkRequest.ts +3 -3
- package/src/models/GetEventStreamingResponseBody.ts +224 -112
- package/src/models/ListConnectionsRequest.ts +10 -0
- package/src/models/ListEventStreamingsRequest.ts +1 -1
- package/src/models/ListEventStreamingsResponseBody.ts +176 -66
- package/src/models/ListLumaCatalogsRequest.ts +20 -0
- package/src/models/ListLumaCatalogsResponseBody.ts +30 -0
- package/src/models/ListLumaKnowledgeBasesRequest.ts +23 -3
- package/src/models/ListLumaKnowledgeBasesResponseBody.ts +35 -5
- package/src/models/ListLumaNamespacesRequest.ts +20 -0
- package/src/models/ListLumaNamespacesResponseBody.ts +30 -0
- package/src/models/ListLumaTablesRequest.ts +23 -3
- package/src/models/ListLumaTablesResponseBody.ts +36 -6
- package/src/models/UpdateAgentRequest.ts +14 -0
- package/src/models/UpdateAgentShrinkRequest.ts +14 -0
- package/src/models/UpdateEventStreamingRequest.ts +184 -73
- package/src/models/UpdateEventStreamingResponseBody.ts +2 -2
- package/src/models/UpdateEventStreamingShrinkRequest.ts +2 -2
- package/src/models/model.ts +11 -0
|
@@ -13,15 +13,35 @@ export class ListLumaCatalogsRequest extends $dara.Model {
|
|
|
13
13
|
* my_agent
|
|
14
14
|
*/
|
|
15
15
|
agentName?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* 每页返回的最大数据条数。取值范围 1~100,不传时默认 100。每条记录都需回源查询一次元数据,因此该值同时限制单次调用的回源次数
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* 10
|
|
22
|
+
*/
|
|
23
|
+
limit?: number;
|
|
24
|
+
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* 分页查询的起始Token。首次查询不传或传 "0";后续翻页使用上一次响应中返回的 NextToken 值
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 0
|
|
30
|
+
*/
|
|
31
|
+
nextToken?: string;
|
|
16
32
|
static names(): { [key: string]: string } {
|
|
17
33
|
return {
|
|
18
34
|
agentName: 'AgentName',
|
|
35
|
+
limit: 'Limit',
|
|
36
|
+
nextToken: 'NextToken',
|
|
19
37
|
};
|
|
20
38
|
}
|
|
21
39
|
|
|
22
40
|
static types(): { [key: string]: any } {
|
|
23
41
|
return {
|
|
24
42
|
agentName: 'string',
|
|
43
|
+
limit: 'number',
|
|
44
|
+
nextToken: 'string',
|
|
25
45
|
};
|
|
26
46
|
}
|
|
27
47
|
|
|
@@ -12,15 +12,45 @@ export class ListLumaCatalogsResponseBodyData extends $dara.Model {
|
|
|
12
12
|
* [{"Name":"my_catalog"}]
|
|
13
13
|
*/
|
|
14
14
|
catalogs?: Catalog[];
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* 本次请求实际生效的每页数量。未传 Limit 时为服务端默认值,超出上限时为收敛后的值
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* 10
|
|
21
|
+
*/
|
|
22
|
+
limit?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* 下一页起始Token,传入下次请求的 NextToken 可获取下一页;为空表示已无更多数据
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* 10
|
|
29
|
+
*/
|
|
30
|
+
nextToken?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* Agent 绑定的数据目录总数,与本页返回条数无关
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 10
|
|
37
|
+
*/
|
|
38
|
+
totalCount?: number;
|
|
15
39
|
static names(): { [key: string]: string } {
|
|
16
40
|
return {
|
|
17
41
|
catalogs: 'Catalogs',
|
|
42
|
+
limit: 'Limit',
|
|
43
|
+
nextToken: 'NextToken',
|
|
44
|
+
totalCount: 'TotalCount',
|
|
18
45
|
};
|
|
19
46
|
}
|
|
20
47
|
|
|
21
48
|
static types(): { [key: string]: any } {
|
|
22
49
|
return {
|
|
23
50
|
catalogs: { 'type': 'array', 'itemType': Catalog },
|
|
51
|
+
limit: 'number',
|
|
52
|
+
nextToken: 'string',
|
|
53
|
+
totalCount: 'number',
|
|
24
54
|
};
|
|
25
55
|
}
|
|
26
56
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListLumaKnowledgeBasesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The agent
|
|
8
|
+
* The name of the agent.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class ListLumaKnowledgeBasesRequest extends $dara.Model {
|
|
|
15
15
|
agentName?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The name of the data catalog bound to the agent. You can call ListLumaCatalogs to obtain
|
|
18
|
+
* The name of the data catalog bound to the agent. You can call ListLumaCatalogs to obtain the catalog name.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -25,7 +25,15 @@ export class ListLumaKnowledgeBasesRequest extends $dara.Model {
|
|
|
25
25
|
catalog?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The
|
|
28
|
+
* The maximum number of entries to return. Valid values: 1 to 100. If you do not specify this parameter, the server uses the default value of 100. Each entry requires a back-to-origin metadata query, so this value also limits the number of back-to-origin requests per call.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* 20
|
|
32
|
+
*/
|
|
33
|
+
maxResults?: number;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The name of the namespace bound to the agent. You can call ListLumaNamespaces to obtain the namespace name.
|
|
29
37
|
*
|
|
30
38
|
* This parameter is required.
|
|
31
39
|
*
|
|
@@ -33,11 +41,21 @@ export class ListLumaKnowledgeBasesRequest extends $dara.Model {
|
|
|
33
41
|
* my_namespace
|
|
34
42
|
*/
|
|
35
43
|
namespace?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The pagination token. Do not specify this parameter for the first request. For subsequent requests, set this parameter to the NextToken value returned in the previous response. This value is an opaque string. Do not parse it.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* ca1eb85f5d99c7d6a97e6****
|
|
50
|
+
*/
|
|
51
|
+
nextToken?: string;
|
|
36
52
|
static names(): { [key: string]: string } {
|
|
37
53
|
return {
|
|
38
54
|
agentName: 'AgentName',
|
|
39
55
|
catalog: 'Catalog',
|
|
56
|
+
maxResults: 'MaxResults',
|
|
40
57
|
namespace: 'Namespace',
|
|
58
|
+
nextToken: 'NextToken',
|
|
41
59
|
};
|
|
42
60
|
}
|
|
43
61
|
|
|
@@ -45,7 +63,9 @@ export class ListLumaKnowledgeBasesRequest extends $dara.Model {
|
|
|
45
63
|
return {
|
|
46
64
|
agentName: 'string',
|
|
47
65
|
catalog: 'string',
|
|
66
|
+
maxResults: 'number',
|
|
48
67
|
namespace: 'string',
|
|
68
|
+
nextToken: 'string',
|
|
49
69
|
};
|
|
50
70
|
}
|
|
51
71
|
|
|
@@ -12,15 +12,45 @@ export class ListLumaKnowledgeBasesResponseBodyData extends $dara.Model {
|
|
|
12
12
|
* [{"KnowledgeBaseName":"my-knowledge-base"}]
|
|
13
13
|
*/
|
|
14
14
|
knowledgeBases?: KnowledgeBase[];
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The maximum number of results per page that takes effect for this request. If MaxResults is not specified, this value is the server default. If the specified value exceeds the upper limit, this value is the adjusted value.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* 20
|
|
21
|
+
*/
|
|
22
|
+
maxResults?: number;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The pagination token for the next page (an opaque string). Pass this value as the NextToken parameter in the next request to retrieve the next page. An empty value indicates that no more data is available.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ca1eb85f5d99c7d6a97e6****
|
|
29
|
+
*/
|
|
30
|
+
nextToken?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The total number of knowledge bases bound to the agent, regardless of the number of entries returned on the current page.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 10
|
|
37
|
+
*/
|
|
38
|
+
totalCount?: number;
|
|
15
39
|
static names(): { [key: string]: string } {
|
|
16
40
|
return {
|
|
17
41
|
knowledgeBases: 'KnowledgeBases',
|
|
42
|
+
maxResults: 'MaxResults',
|
|
43
|
+
nextToken: 'NextToken',
|
|
44
|
+
totalCount: 'TotalCount',
|
|
18
45
|
};
|
|
19
46
|
}
|
|
20
47
|
|
|
21
48
|
static types(): { [key: string]: any } {
|
|
22
49
|
return {
|
|
23
50
|
knowledgeBases: { 'type': 'array', 'itemType': KnowledgeBase },
|
|
51
|
+
maxResults: 'number',
|
|
52
|
+
nextToken: 'string',
|
|
53
|
+
totalCount: 'number',
|
|
24
54
|
};
|
|
25
55
|
}
|
|
26
56
|
|
|
@@ -39,7 +69,7 @@ export class ListLumaKnowledgeBasesResponseBodyData extends $dara.Model {
|
|
|
39
69
|
export class ListLumaKnowledgeBasesResponseBody extends $dara.Model {
|
|
40
70
|
/**
|
|
41
71
|
* @remarks
|
|
42
|
-
* The response code. A value of Success indicates
|
|
72
|
+
* The response code. A value of Success indicates that the call was successful. If the call fails, a specific error code is returned.
|
|
43
73
|
*
|
|
44
74
|
* @example
|
|
45
75
|
* Success
|
|
@@ -47,12 +77,12 @@ export class ListLumaKnowledgeBasesResponseBody extends $dara.Model {
|
|
|
47
77
|
code?: string;
|
|
48
78
|
/**
|
|
49
79
|
* @remarks
|
|
50
|
-
* The list of knowledge bases bound to the agent
|
|
80
|
+
* The list of knowledge bases bound to the agent, including entries and pagination information.
|
|
51
81
|
*/
|
|
52
82
|
data?: ListLumaKnowledgeBasesResponseBodyData;
|
|
53
83
|
/**
|
|
54
84
|
* @remarks
|
|
55
|
-
* The message returned by the operation. The value
|
|
85
|
+
* The message returned by the operation. The value Operation success is returned if the call was successful. A specific error description is returned if the call fails.
|
|
56
86
|
*
|
|
57
87
|
* @example
|
|
58
88
|
* Operation success
|
|
@@ -60,7 +90,7 @@ export class ListLumaKnowledgeBasesResponseBody extends $dara.Model {
|
|
|
60
90
|
message?: string;
|
|
61
91
|
/**
|
|
62
92
|
* @remarks
|
|
63
|
-
* The unique
|
|
93
|
+
* The unique ID of the request. Use this ID for troubleshooting and when you submit a ticket.
|
|
64
94
|
*
|
|
65
95
|
* @example
|
|
66
96
|
* 34AD682D-5B91-5773-8132-AA38C130****
|
|
@@ -68,7 +98,7 @@ export class ListLumaKnowledgeBasesResponseBody extends $dara.Model {
|
|
|
68
98
|
requestId?: string;
|
|
69
99
|
/**
|
|
70
100
|
* @remarks
|
|
71
|
-
* Indicates whether the call was successful. A value of true indicates
|
|
101
|
+
* Indicates whether the call was successful. A value of true indicates that the call was successful.
|
|
72
102
|
*
|
|
73
103
|
* @example
|
|
74
104
|
* true
|
|
@@ -23,10 +23,28 @@ export class ListLumaNamespacesRequest extends $dara.Model {
|
|
|
23
23
|
* my_catalog
|
|
24
24
|
*/
|
|
25
25
|
catalog?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* 每页返回的最大数据条数。取值范围 1~100,不传时默认 100。每条记录都需回源查询一次元数据,因此该值同时限制单次调用的回源次数
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* 10
|
|
32
|
+
*/
|
|
33
|
+
limit?: number;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* 分页查询的起始Token。首次查询不传或传 "0";后续翻页使用上一次响应中返回的 NextToken 值
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* 0
|
|
40
|
+
*/
|
|
41
|
+
nextToken?: string;
|
|
26
42
|
static names(): { [key: string]: string } {
|
|
27
43
|
return {
|
|
28
44
|
agentName: 'AgentName',
|
|
29
45
|
catalog: 'Catalog',
|
|
46
|
+
limit: 'Limit',
|
|
47
|
+
nextToken: 'NextToken',
|
|
30
48
|
};
|
|
31
49
|
}
|
|
32
50
|
|
|
@@ -34,6 +52,8 @@ export class ListLumaNamespacesRequest extends $dara.Model {
|
|
|
34
52
|
return {
|
|
35
53
|
agentName: 'string',
|
|
36
54
|
catalog: 'string',
|
|
55
|
+
limit: 'number',
|
|
56
|
+
nextToken: 'string',
|
|
37
57
|
};
|
|
38
58
|
}
|
|
39
59
|
|
|
@@ -4,6 +4,14 @@ import { Namespace } from "./Namespace";
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
export class ListLumaNamespacesResponseBodyData extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* 本次请求实际生效的每页数量。未传 Limit 时为服务端默认值,超出上限时为收敛后的值
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 10
|
|
13
|
+
*/
|
|
14
|
+
limit?: number;
|
|
7
15
|
/**
|
|
8
16
|
* @remarks
|
|
9
17
|
* The list of namespaces bound to the Agent.
|
|
@@ -12,15 +20,37 @@ export class ListLumaNamespacesResponseBodyData extends $dara.Model {
|
|
|
12
20
|
* [{"Name":"my_namespace"}]
|
|
13
21
|
*/
|
|
14
22
|
namespaces?: Namespace[];
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* 下一页起始Token,传入下次请求的 NextToken 可获取下一页;为空表示已无更多数据
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* 10
|
|
29
|
+
*/
|
|
30
|
+
nextToken?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* Agent 绑定的命名空间总数,与本页返回条数无关
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 10
|
|
37
|
+
*/
|
|
38
|
+
totalCount?: number;
|
|
15
39
|
static names(): { [key: string]: string } {
|
|
16
40
|
return {
|
|
41
|
+
limit: 'Limit',
|
|
17
42
|
namespaces: 'Namespaces',
|
|
43
|
+
nextToken: 'NextToken',
|
|
44
|
+
totalCount: 'TotalCount',
|
|
18
45
|
};
|
|
19
46
|
}
|
|
20
47
|
|
|
21
48
|
static types(): { [key: string]: any } {
|
|
22
49
|
return {
|
|
50
|
+
limit: 'number',
|
|
23
51
|
namespaces: { 'type': 'array', 'itemType': Namespace },
|
|
52
|
+
nextToken: 'string',
|
|
53
|
+
totalCount: 'number',
|
|
24
54
|
};
|
|
25
55
|
}
|
|
26
56
|
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListLumaTablesRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The name of the
|
|
8
|
+
* The name of the agent.
|
|
9
9
|
*
|
|
10
10
|
* This parameter is required.
|
|
11
11
|
*
|
|
@@ -15,7 +15,7 @@ export class ListLumaTablesRequest extends $dara.Model {
|
|
|
15
15
|
agentName?: string;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The name of the data catalog bound to the
|
|
18
|
+
* The name of the data catalog bound to the agent. You can call ListLumaCatalogs to obtain the catalog name.
|
|
19
19
|
*
|
|
20
20
|
* This parameter is required.
|
|
21
21
|
*
|
|
@@ -25,7 +25,15 @@ export class ListLumaTablesRequest extends $dara.Model {
|
|
|
25
25
|
catalog?: string;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The
|
|
28
|
+
* The maximum number of entries to return per page. Valid values: 1 to 100. Default value: 100. Each entry requires a back-to-origin metadata query, so this value also limits the number of back-to-origin queries per call.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* 10
|
|
32
|
+
*/
|
|
33
|
+
limit?: number;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The name of the namespace bound to the agent. You can call ListLumaNamespaces to obtain the namespace name.
|
|
29
37
|
*
|
|
30
38
|
* This parameter is required.
|
|
31
39
|
*
|
|
@@ -33,11 +41,21 @@ export class ListLumaTablesRequest extends $dara.Model {
|
|
|
33
41
|
* my_namespace
|
|
34
42
|
*/
|
|
35
43
|
namespace?: string;
|
|
44
|
+
/**
|
|
45
|
+
* @remarks
|
|
46
|
+
* The starting token for a paging query. Leave this parameter empty or set it to "0" for the first query. For subsequent pages, use the NextToken value returned in the previous response.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* 0
|
|
50
|
+
*/
|
|
51
|
+
nextToken?: string;
|
|
36
52
|
static names(): { [key: string]: string } {
|
|
37
53
|
return {
|
|
38
54
|
agentName: 'AgentName',
|
|
39
55
|
catalog: 'Catalog',
|
|
56
|
+
limit: 'Limit',
|
|
40
57
|
namespace: 'Namespace',
|
|
58
|
+
nextToken: 'NextToken',
|
|
41
59
|
};
|
|
42
60
|
}
|
|
43
61
|
|
|
@@ -45,7 +63,9 @@ export class ListLumaTablesRequest extends $dara.Model {
|
|
|
45
63
|
return {
|
|
46
64
|
agentName: 'string',
|
|
47
65
|
catalog: 'string',
|
|
66
|
+
limit: 'number',
|
|
48
67
|
namespace: 'string',
|
|
68
|
+
nextToken: 'string',
|
|
49
69
|
};
|
|
50
70
|
}
|
|
51
71
|
|
|
@@ -6,21 +6,51 @@ import { LumaTable } from "./LumaTable";
|
|
|
6
6
|
export class ListLumaTablesResponseBodyData extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The
|
|
9
|
+
* The effective page size for this request. If the Limit parameter is not specified, the server default value is used. If the specified value exceeds the upper limit, the value is adjusted to the maximum allowed value.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* 10
|
|
13
|
+
*/
|
|
14
|
+
limit?: number;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The token for the next page. Pass this value as the NextToken parameter in the next request to retrieve the next page. An empty value indicates that no more data is available.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* 10
|
|
21
|
+
*/
|
|
22
|
+
nextToken?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The list of event tables bound to the agent.
|
|
10
26
|
*
|
|
11
27
|
* @example
|
|
12
28
|
* [{"Name":"my_table","Namespace":"my_namespace"}]
|
|
13
29
|
*/
|
|
14
30
|
tables?: LumaTable[];
|
|
31
|
+
/**
|
|
32
|
+
* @remarks
|
|
33
|
+
* The total number of event tables bound to the agent, regardless of the number of entries returned on the current page.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* 10
|
|
37
|
+
*/
|
|
38
|
+
totalCount?: number;
|
|
15
39
|
static names(): { [key: string]: string } {
|
|
16
40
|
return {
|
|
41
|
+
limit: 'Limit',
|
|
42
|
+
nextToken: 'NextToken',
|
|
17
43
|
tables: 'Tables',
|
|
44
|
+
totalCount: 'TotalCount',
|
|
18
45
|
};
|
|
19
46
|
}
|
|
20
47
|
|
|
21
48
|
static types(): { [key: string]: any } {
|
|
22
49
|
return {
|
|
50
|
+
limit: 'number',
|
|
51
|
+
nextToken: 'string',
|
|
23
52
|
tables: { 'type': 'array', 'itemType': LumaTable },
|
|
53
|
+
totalCount: 'number',
|
|
24
54
|
};
|
|
25
55
|
}
|
|
26
56
|
|
|
@@ -39,7 +69,7 @@ export class ListLumaTablesResponseBodyData extends $dara.Model {
|
|
|
39
69
|
export class ListLumaTablesResponseBody extends $dara.Model {
|
|
40
70
|
/**
|
|
41
71
|
* @remarks
|
|
42
|
-
* The response code
|
|
72
|
+
* The response code. A value of Success indicates a successful call. If the call fails, a specific error code is returned.
|
|
43
73
|
*
|
|
44
74
|
* @example
|
|
45
75
|
* Success
|
|
@@ -47,12 +77,12 @@ export class ListLumaTablesResponseBody extends $dara.Model {
|
|
|
47
77
|
code?: string;
|
|
48
78
|
/**
|
|
49
79
|
* @remarks
|
|
50
|
-
* The list of event tables bound to the
|
|
80
|
+
* The list of event tables bound to the agent, including entries and pagination information.
|
|
51
81
|
*/
|
|
52
82
|
data?: ListLumaTablesResponseBodyData;
|
|
53
83
|
/**
|
|
54
84
|
* @remarks
|
|
55
|
-
* The message returned by the operation. The value
|
|
85
|
+
* The message returned by the operation. The value Operation success is returned if the call succeeds. A specific error description is returned if the call fails.
|
|
56
86
|
*
|
|
57
87
|
* @example
|
|
58
88
|
* Operation success
|
|
@@ -60,7 +90,7 @@ export class ListLumaTablesResponseBody extends $dara.Model {
|
|
|
60
90
|
message?: string;
|
|
61
91
|
/**
|
|
62
92
|
* @remarks
|
|
63
|
-
* The unique identifier of
|
|
93
|
+
* The unique identifier of this request, which is used for troubleshooting and ticket submission.
|
|
64
94
|
*
|
|
65
95
|
* @example
|
|
66
96
|
* 34AD682D-5B91-5773-8132-AA38C130****
|
|
@@ -68,7 +98,7 @@ export class ListLumaTablesResponseBody extends $dara.Model {
|
|
|
68
98
|
requestId?: string;
|
|
69
99
|
/**
|
|
70
100
|
* @remarks
|
|
71
|
-
* Indicates whether the call was successful. A value of true indicates
|
|
101
|
+
* Indicates whether the call was successful. A value of true indicates a successful call.
|
|
72
102
|
*
|
|
73
103
|
* @example
|
|
74
104
|
* true
|
|
@@ -89,6 +89,16 @@ export class UpdateAgentRequest extends $dara.Model {
|
|
|
89
89
|
* MNS的过滤规则
|
|
90
90
|
*/
|
|
91
91
|
description?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @example
|
|
94
|
+
* bGXX51ULuGl10xrr
|
|
95
|
+
*/
|
|
96
|
+
mcpServerId?: string;
|
|
97
|
+
/**
|
|
98
|
+
* @example
|
|
99
|
+
* eventhouse-agentbridge
|
|
100
|
+
*/
|
|
101
|
+
mcpServerName?: string;
|
|
92
102
|
/**
|
|
93
103
|
* @remarks
|
|
94
104
|
* The associated metadata.
|
|
@@ -116,6 +126,8 @@ export class UpdateAgentRequest extends $dara.Model {
|
|
|
116
126
|
return {
|
|
117
127
|
clientToken: 'ClientToken',
|
|
118
128
|
description: 'Description',
|
|
129
|
+
mcpServerId: 'McpServerId',
|
|
130
|
+
mcpServerName: 'McpServerName',
|
|
119
131
|
metadata: 'Metadata',
|
|
120
132
|
name: 'Name',
|
|
121
133
|
prompt: 'Prompt',
|
|
@@ -126,6 +138,8 @@ export class UpdateAgentRequest extends $dara.Model {
|
|
|
126
138
|
return {
|
|
127
139
|
clientToken: 'string',
|
|
128
140
|
description: 'string',
|
|
141
|
+
mcpServerId: 'string',
|
|
142
|
+
mcpServerName: 'string',
|
|
129
143
|
metadata: UpdateAgentRequestMetadata,
|
|
130
144
|
name: 'string',
|
|
131
145
|
prompt: 'string',
|
|
@@ -19,6 +19,16 @@ export class UpdateAgentShrinkRequest extends $dara.Model {
|
|
|
19
19
|
* MNS的过滤规则
|
|
20
20
|
*/
|
|
21
21
|
description?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* bGXX51ULuGl10xrr
|
|
25
|
+
*/
|
|
26
|
+
mcpServerId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* eventhouse-agentbridge
|
|
30
|
+
*/
|
|
31
|
+
mcpServerName?: string;
|
|
22
32
|
/**
|
|
23
33
|
* @remarks
|
|
24
34
|
* The associated metadata.
|
|
@@ -46,6 +56,8 @@ export class UpdateAgentShrinkRequest extends $dara.Model {
|
|
|
46
56
|
return {
|
|
47
57
|
clientToken: 'ClientToken',
|
|
48
58
|
description: 'Description',
|
|
59
|
+
mcpServerId: 'McpServerId',
|
|
60
|
+
mcpServerName: 'McpServerName',
|
|
49
61
|
metadataShrink: 'Metadata',
|
|
50
62
|
name: 'Name',
|
|
51
63
|
prompt: 'Prompt',
|
|
@@ -56,6 +68,8 @@ export class UpdateAgentShrinkRequest extends $dara.Model {
|
|
|
56
68
|
return {
|
|
57
69
|
clientToken: 'string',
|
|
58
70
|
description: 'string',
|
|
71
|
+
mcpServerId: 'string',
|
|
72
|
+
mcpServerName: 'string',
|
|
59
73
|
metadataShrink: 'string',
|
|
60
74
|
name: 'string',
|
|
61
75
|
prompt: 'string',
|