@alicloud/eventbridge20200401 6.5.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 +321 -6
- package/dist/client.js +1073 -206
- 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/AgentBridgeRuntime.d.ts +77 -0
- package/dist/models/AgentBridgeRuntime.js +72 -0
- package/dist/models/AgentBridgeRuntime.js.map +1 -0
- 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 +304 -123
- package/dist/models/CreateEventStreamingRequest.js +71 -0
- package/dist/models/CreateEventStreamingRequest.js.map +1 -1
- package/dist/models/CreateEventStreamingResponseBody.d.ts +4 -2
- package/dist/models/CreateEventStreamingResponseBody.js.map +1 -1
- package/dist/models/CreateEventStreamingShrinkRequest.d.ts +5 -5
- package/dist/models/DeleteNamespaceRequest.d.ts +3 -3
- package/dist/models/DeleteNamespaceResponseBody.d.ts +4 -4
- package/dist/models/ExecutionResult.d.ts +9 -6
- package/dist/models/ExecutionResult.js.map +1 -1
- package/dist/models/GetEventStreamingRequest.d.ts +1 -1
- package/dist/models/GetEventStreamingResponseBody.d.ts +333 -148
- package/dist/models/GetEventStreamingResponseBody.js +66 -0
- package/dist/models/GetEventStreamingResponseBody.js.map +1 -1
- package/dist/models/GetLumaCatalogRequest.d.ts +33 -0
- package/dist/models/GetLumaCatalogRequest.js +60 -0
- package/dist/models/GetLumaCatalogRequest.js.map +1 -0
- package/dist/models/GetLumaCatalogResponse.d.ts +19 -0
- package/dist/models/GetLumaCatalogResponse.js +69 -0
- package/dist/models/GetLumaCatalogResponse.js.map +1 -0
- package/dist/models/GetLumaCatalogResponseBody.d.ts +51 -0
- package/dist/models/GetLumaCatalogResponseBody.js +70 -0
- package/dist/models/GetLumaCatalogResponseBody.js.map +1 -0
- package/dist/models/GetLumaChunkRequest.d.ts +73 -0
- package/dist/models/GetLumaChunkRequest.js +68 -0
- package/dist/models/GetLumaChunkRequest.js.map +1 -0
- package/dist/models/GetLumaChunkResponse.d.ts +19 -0
- package/dist/models/GetLumaChunkResponse.js +69 -0
- package/dist/models/GetLumaChunkResponse.js.map +1 -0
- package/dist/models/GetLumaChunkResponseBody.d.ts +51 -0
- package/dist/models/GetLumaChunkResponseBody.js +70 -0
- package/dist/models/GetLumaChunkResponseBody.js.map +1 -0
- package/dist/models/GetLumaDocumentDownloadUrlRequest.d.ts +75 -0
- package/dist/models/GetLumaDocumentDownloadUrlRequest.js +68 -0
- package/dist/models/GetLumaDocumentDownloadUrlRequest.js.map +1 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponse.d.ts +19 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponse.js +69 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponse.js.map +1 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponseBody.d.ts +78 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponseBody.js +90 -0
- package/dist/models/GetLumaDocumentDownloadUrlResponseBody.js.map +1 -0
- package/dist/models/GetLumaDocumentRequest.d.ts +63 -0
- package/dist/models/GetLumaDocumentRequest.js +66 -0
- package/dist/models/GetLumaDocumentRequest.js.map +1 -0
- package/dist/models/GetLumaDocumentResponse.d.ts +19 -0
- package/dist/models/GetLumaDocumentResponse.js +69 -0
- package/dist/models/GetLumaDocumentResponse.js.map +1 -0
- package/dist/models/GetLumaDocumentResponseBody.d.ts +51 -0
- package/dist/models/GetLumaDocumentResponseBody.js +70 -0
- package/dist/models/GetLumaDocumentResponseBody.js.map +1 -0
- package/dist/models/GetLumaKnowledgeBaseRequest.d.ts +53 -0
- package/dist/models/GetLumaKnowledgeBaseRequest.js +64 -0
- package/dist/models/GetLumaKnowledgeBaseRequest.js.map +1 -0
- package/dist/models/GetLumaKnowledgeBaseResponse.d.ts +19 -0
- package/dist/models/GetLumaKnowledgeBaseResponse.js +69 -0
- package/dist/models/GetLumaKnowledgeBaseResponse.js.map +1 -0
- package/dist/models/GetLumaKnowledgeBaseResponseBody.d.ts +51 -0
- package/dist/models/GetLumaKnowledgeBaseResponseBody.js +70 -0
- package/dist/models/GetLumaKnowledgeBaseResponseBody.js.map +1 -0
- package/dist/models/GetLumaNamespaceRequest.d.ts +43 -0
- package/dist/models/GetLumaNamespaceRequest.js +62 -0
- package/dist/models/GetLumaNamespaceRequest.js.map +1 -0
- package/dist/models/GetLumaNamespaceResponse.d.ts +19 -0
- package/dist/models/GetLumaNamespaceResponse.js +69 -0
- package/dist/models/GetLumaNamespaceResponse.js.map +1 -0
- package/dist/models/GetLumaNamespaceResponseBody.d.ts +51 -0
- package/dist/models/GetLumaNamespaceResponseBody.js +70 -0
- package/dist/models/GetLumaNamespaceResponseBody.js.map +1 -0
- package/dist/models/GetLumaTableRequest.d.ts +53 -0
- package/dist/models/GetLumaTableRequest.js +64 -0
- package/dist/models/GetLumaTableRequest.js.map +1 -0
- package/dist/models/GetLumaTableResponse.d.ts +19 -0
- package/dist/models/GetLumaTableResponse.js +69 -0
- package/dist/models/GetLumaTableResponse.js.map +1 -0
- package/dist/models/GetLumaTableResponseBody.d.ts +51 -0
- package/dist/models/GetLumaTableResponseBody.js +70 -0
- package/dist/models/GetLumaTableResponseBody.js.map +1 -0
- package/dist/models/KnowledgeBase.d.ts +281 -0
- package/dist/models/KnowledgeBase.js +176 -0
- package/dist/models/KnowledgeBase.js.map +1 -0
- package/dist/models/KnowledgeBaseChunk.d.ts +93 -0
- package/dist/models/KnowledgeBaseChunk.js +76 -0
- package/dist/models/KnowledgeBaseChunk.js.map +1 -0
- package/dist/models/KnowledgeBaseDocument.d.ts +249 -0
- package/dist/models/KnowledgeBaseDocument.js +164 -0
- package/dist/models/KnowledgeBaseDocument.js.map +1 -0
- package/dist/models/KnowledgeBaseSearchChunk.d.ts +118 -0
- package/dist/models/KnowledgeBaseSearchChunk.js +100 -0
- package/dist/models/KnowledgeBaseSearchChunk.js.map +1 -0
- 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 +4 -4
- package/dist/models/ListEventStreamingsResponseBody.d.ts +230 -165
- package/dist/models/ListEventStreamingsResponseBody.js +66 -0
- package/dist/models/ListEventStreamingsResponseBody.js.map +1 -1
- package/dist/models/ListLumaCatalogsRequest.d.ts +39 -0
- package/dist/models/ListLumaCatalogsRequest.js +62 -0
- package/dist/models/ListLumaCatalogsRequest.js.map +1 -0
- package/dist/models/ListLumaCatalogsResponse.d.ts +19 -0
- package/dist/models/ListLumaCatalogsResponse.js +69 -0
- package/dist/models/ListLumaCatalogsResponse.js.map +1 -0
- package/dist/models/ListLumaCatalogsResponseBody.d.ts +95 -0
- package/dist/models/ListLumaCatalogsResponseBody.js +98 -0
- package/dist/models/ListLumaCatalogsResponseBody.js.map +1 -0
- package/dist/models/ListLumaChunksRequest.d.ts +93 -0
- package/dist/models/ListLumaChunksRequest.js +74 -0
- package/dist/models/ListLumaChunksRequest.js.map +1 -0
- package/dist/models/ListLumaChunksResponse.d.ts +19 -0
- package/dist/models/ListLumaChunksResponse.js +69 -0
- package/dist/models/ListLumaChunksResponse.js.map +1 -0
- package/dist/models/ListLumaChunksResponseBody.d.ts +87 -0
- package/dist/models/ListLumaChunksResponseBody.js +96 -0
- package/dist/models/ListLumaChunksResponseBody.js.map +1 -0
- package/dist/models/ListLumaDocumentsRequest.d.ts +85 -0
- package/dist/models/ListLumaDocumentsRequest.js +72 -0
- package/dist/models/ListLumaDocumentsRequest.js.map +1 -0
- package/dist/models/ListLumaDocumentsResponse.d.ts +19 -0
- package/dist/models/ListLumaDocumentsResponse.js +69 -0
- package/dist/models/ListLumaDocumentsResponse.js.map +1 -0
- package/dist/models/ListLumaDocumentsResponseBody.d.ts +87 -0
- package/dist/models/ListLumaDocumentsResponseBody.js +96 -0
- package/dist/models/ListLumaDocumentsResponseBody.js.map +1 -0
- package/dist/models/ListLumaKnowledgeBasesRequest.d.ts +59 -0
- package/dist/models/ListLumaKnowledgeBasesRequest.js +66 -0
- package/dist/models/ListLumaKnowledgeBasesRequest.js.map +1 -0
- package/dist/models/ListLumaKnowledgeBasesResponse.d.ts +19 -0
- package/dist/models/ListLumaKnowledgeBasesResponse.js +69 -0
- package/dist/models/ListLumaKnowledgeBasesResponse.js.map +1 -0
- package/dist/models/ListLumaKnowledgeBasesResponseBody.d.ts +95 -0
- package/dist/models/ListLumaKnowledgeBasesResponseBody.js +98 -0
- package/dist/models/ListLumaKnowledgeBasesResponseBody.js.map +1 -0
- package/dist/models/ListLumaNamespacesRequest.d.ts +49 -0
- package/dist/models/ListLumaNamespacesRequest.js +64 -0
- package/dist/models/ListLumaNamespacesRequest.js.map +1 -0
- package/dist/models/ListLumaNamespacesResponse.d.ts +19 -0
- package/dist/models/ListLumaNamespacesResponse.js +69 -0
- package/dist/models/ListLumaNamespacesResponse.js.map +1 -0
- package/dist/models/ListLumaNamespacesResponseBody.d.ts +95 -0
- package/dist/models/ListLumaNamespacesResponseBody.js +98 -0
- package/dist/models/ListLumaNamespacesResponseBody.js.map +1 -0
- package/dist/models/ListLumaTablesRequest.d.ts +59 -0
- package/dist/models/ListLumaTablesRequest.js +66 -0
- package/dist/models/ListLumaTablesRequest.js.map +1 -0
- package/dist/models/ListLumaTablesResponse.d.ts +19 -0
- package/dist/models/ListLumaTablesResponse.js +69 -0
- package/dist/models/ListLumaTablesResponse.js.map +1 -0
- package/dist/models/ListLumaTablesResponseBody.d.ts +95 -0
- package/dist/models/ListLumaTablesResponseBody.js +98 -0
- package/dist/models/ListLumaTablesResponseBody.js.map +1 -0
- package/dist/models/LumaTable.d.ts +138 -0
- package/dist/models/LumaTable.js +122 -0
- package/dist/models/LumaTable.js.map +1 -0
- package/dist/models/MetadataSchemaField.d.ts +49 -0
- package/dist/models/MetadataSchemaField.js +64 -0
- package/dist/models/MetadataSchemaField.js.map +1 -0
- package/dist/models/PollAskResultResponseBody.d.ts +4 -4
- package/dist/models/QueryAskLumaLogRequest.d.ts +2 -2
- package/dist/models/QueryLumaWithSqlrequest.d.ts +41 -0
- package/dist/models/QueryLumaWithSqlrequest.js +62 -0
- package/dist/models/QueryLumaWithSqlrequest.js.map +1 -0
- package/dist/models/QueryLumaWithSqlresponse.d.ts +19 -0
- package/dist/models/QueryLumaWithSqlresponse.js +69 -0
- package/dist/models/QueryLumaWithSqlresponse.js.map +1 -0
- package/dist/models/QueryLumaWithSqlresponseBody.d.ts +51 -0
- package/dist/models/QueryLumaWithSqlresponseBody.js +70 -0
- package/dist/models/QueryLumaWithSqlresponseBody.js.map +1 -0
- package/dist/models/SchemaColumn.d.ts +2 -2
- package/dist/models/SearchLumaKnowledgeBaseRequest.d.ts +95 -0
- package/dist/models/SearchLumaKnowledgeBaseRequest.js +74 -0
- package/dist/models/SearchLumaKnowledgeBaseRequest.js.map +1 -0
- package/dist/models/SearchLumaKnowledgeBaseResponse.d.ts +19 -0
- package/dist/models/SearchLumaKnowledgeBaseResponse.js +69 -0
- package/dist/models/SearchLumaKnowledgeBaseResponse.js.map +1 -0
- package/dist/models/SearchLumaKnowledgeBaseResponseBody.d.ts +79 -0
- package/dist/models/SearchLumaKnowledgeBaseResponseBody.js +94 -0
- package/dist/models/SearchLumaKnowledgeBaseResponseBody.js.map +1 -0
- package/dist/models/SinkKnowledgeBaseParameters.d.ts +37 -0
- package/dist/models/SinkKnowledgeBaseParameters.js +62 -0
- package/dist/models/SinkKnowledgeBaseParameters.js.map +1 -0
- package/dist/models/SourceFeiShuDocsParameters.d.ts +28 -0
- package/dist/models/SourceFeiShuDocsParameters.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 +363 -161
- package/dist/models/UpdateEventStreamingRequest.js +71 -0
- package/dist/models/UpdateEventStreamingRequest.js.map +1 -1
- package/dist/models/UpdateEventStreamingResponseBody.d.ts +2 -4
- package/dist/models/UpdateEventStreamingResponseBody.js.map +1 -1
- package/dist/models/UpdateEventStreamingShrinkRequest.d.ts +6 -6
- package/dist/models/model.d.ts +81 -0
- package/dist/models/model.js +186 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1192 -216
- package/src/models/Agent.ts +14 -0
- package/src/models/AgentBridgeRuntime.ts +104 -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 +364 -123
- package/src/models/CreateEventStreamingResponseBody.ts +4 -2
- package/src/models/CreateEventStreamingShrinkRequest.ts +5 -5
- package/src/models/DeleteNamespaceRequest.ts +3 -3
- package/src/models/DeleteNamespaceResponseBody.ts +4 -4
- package/src/models/ExecutionResult.ts +9 -6
- package/src/models/GetEventStreamingRequest.ts +1 -1
- package/src/models/GetEventStreamingResponseBody.ts +388 -148
- package/src/models/GetLumaCatalogRequest.ts +48 -0
- package/src/models/GetLumaCatalogResponse.ts +40 -0
- package/src/models/GetLumaCatalogResponseBody.ts +75 -0
- package/src/models/GetLumaChunkRequest.ts +96 -0
- package/src/models/GetLumaChunkResponse.ts +40 -0
- package/src/models/GetLumaChunkResponseBody.ts +75 -0
- package/src/models/GetLumaDocumentDownloadUrlRequest.ts +98 -0
- package/src/models/GetLumaDocumentDownloadUrlResponse.ts +40 -0
- package/src/models/GetLumaDocumentDownloadUrlResponseBody.ts +114 -0
- package/src/models/GetLumaDocumentRequest.ts +84 -0
- package/src/models/GetLumaDocumentResponse.ts +40 -0
- package/src/models/GetLumaDocumentResponseBody.ts +75 -0
- package/src/models/GetLumaKnowledgeBaseRequest.ts +72 -0
- package/src/models/GetLumaKnowledgeBaseResponse.ts +40 -0
- package/src/models/GetLumaKnowledgeBaseResponseBody.ts +75 -0
- package/src/models/GetLumaNamespaceRequest.ts +60 -0
- package/src/models/GetLumaNamespaceResponse.ts +40 -0
- package/src/models/GetLumaNamespaceResponseBody.ts +75 -0
- package/src/models/GetLumaTableRequest.ts +72 -0
- package/src/models/GetLumaTableResponse.ts +40 -0
- package/src/models/GetLumaTableResponseBody.ts +75 -0
- package/src/models/KnowledgeBase.ts +384 -0
- package/src/models/KnowledgeBaseChunk.ts +124 -0
- package/src/models/KnowledgeBaseDocument.ts +341 -0
- package/src/models/KnowledgeBaseSearchChunk.ts +164 -0
- package/src/models/ListConnectionsRequest.ts +10 -0
- package/src/models/ListEventStreamingsRequest.ts +4 -4
- package/src/models/ListEventStreamingsResponseBody.ts +286 -166
- package/src/models/ListLumaCatalogsRequest.ts +56 -0
- package/src/models/ListLumaCatalogsResponse.ts +40 -0
- package/src/models/ListLumaCatalogsResponseBody.ts +138 -0
- package/src/models/ListLumaChunksRequest.ts +122 -0
- package/src/models/ListLumaChunksResponse.ts +40 -0
- package/src/models/ListLumaChunksResponseBody.ts +128 -0
- package/src/models/ListLumaDocumentsRequest.ts +112 -0
- package/src/models/ListLumaDocumentsResponse.ts +40 -0
- package/src/models/ListLumaDocumentsResponseBody.ts +128 -0
- package/src/models/ListLumaKnowledgeBasesRequest.ts +80 -0
- package/src/models/ListLumaKnowledgeBasesResponse.ts +40 -0
- package/src/models/ListLumaKnowledgeBasesResponseBody.ts +138 -0
- package/src/models/ListLumaNamespacesRequest.ts +68 -0
- package/src/models/ListLumaNamespacesResponse.ts +40 -0
- package/src/models/ListLumaNamespacesResponseBody.ts +138 -0
- package/src/models/ListLumaTablesRequest.ts +80 -0
- package/src/models/ListLumaTablesResponse.ts +40 -0
- package/src/models/ListLumaTablesResponseBody.ts +138 -0
- package/src/models/LumaTable.ts +197 -0
- package/src/models/MetadataSchemaField.ts +68 -0
- package/src/models/PollAskResultResponseBody.ts +4 -4
- package/src/models/QueryAskLumaLogRequest.ts +2 -2
- package/src/models/QueryLumaWithSqlrequest.ts +58 -0
- package/src/models/QueryLumaWithSqlresponse.ts +40 -0
- package/src/models/QueryLumaWithSqlresponseBody.ts +75 -0
- package/src/models/SchemaColumn.ts +2 -2
- package/src/models/SearchLumaKnowledgeBaseRequest.ts +124 -0
- package/src/models/SearchLumaKnowledgeBaseResponse.ts +40 -0
- package/src/models/SearchLumaKnowledgeBaseResponseBody.ts +118 -0
- package/src/models/SinkKnowledgeBaseParameters.ts +54 -0
- package/src/models/SourceFeiShuDocsParameters.ts +28 -0
- package/src/models/UpdateAgentRequest.ts +14 -0
- package/src/models/UpdateAgentShrinkRequest.ts +14 -0
- package/src/models/UpdateEventStreamingRequest.ts +423 -161
- package/src/models/UpdateEventStreamingResponseBody.ts +2 -4
- package/src/models/UpdateEventStreamingShrinkRequest.ts +6 -6
- package/src/models/model.ts +81 -0
package/dist/client.js
CHANGED
|
@@ -90,7 +90,7 @@ class Client extends openapi_core_1.default {
|
|
|
90
90
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
91
91
|
}
|
|
92
92
|
/**
|
|
93
|
-
* Queries data
|
|
93
|
+
* Queries data using natural language.
|
|
94
94
|
*
|
|
95
95
|
* @param request - AskLumaRequest
|
|
96
96
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -128,7 +128,7 @@ class Client extends openapi_core_1.default {
|
|
|
128
128
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AskLumaResponse({}));
|
|
129
129
|
}
|
|
130
130
|
/**
|
|
131
|
-
* Queries data
|
|
131
|
+
* Queries data using natural language.
|
|
132
132
|
*
|
|
133
133
|
* @param request - AskLumaRequest
|
|
134
134
|
* @returns AskLumaResponse
|
|
@@ -1194,7 +1194,7 @@ class Client extends openapi_core_1.default {
|
|
|
1194
1194
|
return await this.deleteEventStreamingWithOptions(request, runtime);
|
|
1195
1195
|
}
|
|
1196
1196
|
/**
|
|
1197
|
-
*
|
|
1197
|
+
* Deletes a namespace.
|
|
1198
1198
|
*
|
|
1199
1199
|
* @param request - DeleteNamespaceRequest
|
|
1200
1200
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1231,7 +1231,7 @@ class Client extends openapi_core_1.default {
|
|
|
1231
1231
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteNamespaceResponse({}));
|
|
1232
1232
|
}
|
|
1233
1233
|
/**
|
|
1234
|
-
*
|
|
1234
|
+
* Deletes a namespace.
|
|
1235
1235
|
*
|
|
1236
1236
|
* @param request - DeleteNamespaceRequest
|
|
1237
1237
|
* @returns DeleteNamespaceResponse
|
|
@@ -2015,31 +2015,89 @@ class Client extends openapi_core_1.default {
|
|
|
2015
2015
|
return await this.getGenerateAgentDataSemanticsProgressWithOptions(request, runtime);
|
|
2016
2016
|
}
|
|
2017
2017
|
/**
|
|
2018
|
-
*
|
|
2018
|
+
* Retrieves the details of a specified data catalog bound to a Luma Agent. You can only query data catalogs that are already bound to the Agent. A ResourceNotFound error is returned for unbound catalogs.
|
|
2019
2019
|
*
|
|
2020
|
-
* @
|
|
2020
|
+
* @remarks
|
|
2021
|
+
* Retrieves the details of a specified data catalog bound to a Luma Agent. You can only query data catalogs that are already bound to the Agent. A ResourceNotFound error is returned for unbound catalogs.
|
|
2022
|
+
*
|
|
2023
|
+
* @param request - GetLumaCatalogRequest
|
|
2021
2024
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2022
|
-
* @returns
|
|
2025
|
+
* @returns GetLumaCatalogResponse
|
|
2023
2026
|
*/
|
|
2024
|
-
async
|
|
2027
|
+
async getLumaCatalogWithOptions(request, runtime) {
|
|
2025
2028
|
request.validate();
|
|
2026
|
-
let
|
|
2027
|
-
if (!$dara.isNull(request.
|
|
2028
|
-
|
|
2029
|
+
let body = {};
|
|
2030
|
+
if (!$dara.isNull(request.agentName)) {
|
|
2031
|
+
body["AgentName"] = request.agentName;
|
|
2029
2032
|
}
|
|
2030
2033
|
if (!$dara.isNull(request.name)) {
|
|
2031
|
-
|
|
2034
|
+
body["Name"] = request.name;
|
|
2032
2035
|
}
|
|
2036
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2037
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2038
|
+
});
|
|
2039
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2040
|
+
action: "GetLumaCatalog",
|
|
2041
|
+
version: "2020-04-01",
|
|
2042
|
+
protocol: "HTTPS",
|
|
2043
|
+
pathname: "/",
|
|
2044
|
+
method: "POST",
|
|
2045
|
+
authType: "AK",
|
|
2046
|
+
style: "RPC",
|
|
2047
|
+
reqBodyType: "formData",
|
|
2048
|
+
bodyType: "json",
|
|
2049
|
+
});
|
|
2050
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaCatalogResponse({}));
|
|
2051
|
+
}
|
|
2052
|
+
/**
|
|
2053
|
+
* Retrieves the details of a specified data catalog bound to a Luma Agent. You can only query data catalogs that are already bound to the Agent. A ResourceNotFound error is returned for unbound catalogs.
|
|
2054
|
+
*
|
|
2055
|
+
* @remarks
|
|
2056
|
+
* Retrieves the details of a specified data catalog bound to a Luma Agent. You can only query data catalogs that are already bound to the Agent. A ResourceNotFound error is returned for unbound catalogs.
|
|
2057
|
+
*
|
|
2058
|
+
* @param request - GetLumaCatalogRequest
|
|
2059
|
+
* @returns GetLumaCatalogResponse
|
|
2060
|
+
*/
|
|
2061
|
+
async getLumaCatalog(request) {
|
|
2062
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2063
|
+
return await this.getLumaCatalogWithOptions(request, runtime);
|
|
2064
|
+
}
|
|
2065
|
+
/**
|
|
2066
|
+
* Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
|
|
2067
|
+
*
|
|
2068
|
+
* @remarks
|
|
2069
|
+
* Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
|
|
2070
|
+
*
|
|
2071
|
+
* @param request - GetLumaChunkRequest
|
|
2072
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2073
|
+
* @returns GetLumaChunkResponse
|
|
2074
|
+
*/
|
|
2075
|
+
async getLumaChunkWithOptions(request, runtime) {
|
|
2076
|
+
request.validate();
|
|
2033
2077
|
let body = {};
|
|
2034
|
-
if (!$dara.isNull(request.
|
|
2035
|
-
body["
|
|
2078
|
+
if (!$dara.isNull(request.agentName)) {
|
|
2079
|
+
body["AgentName"] = request.agentName;
|
|
2080
|
+
}
|
|
2081
|
+
if (!$dara.isNull(request.catalog)) {
|
|
2082
|
+
body["Catalog"] = request.catalog;
|
|
2083
|
+
}
|
|
2084
|
+
if (!$dara.isNull(request.chunkSeq)) {
|
|
2085
|
+
body["ChunkSeq"] = request.chunkSeq;
|
|
2086
|
+
}
|
|
2087
|
+
if (!$dara.isNull(request.documentId)) {
|
|
2088
|
+
body["DocumentId"] = request.documentId;
|
|
2089
|
+
}
|
|
2090
|
+
if (!$dara.isNull(request.knowledgeBaseName)) {
|
|
2091
|
+
body["KnowledgeBaseName"] = request.knowledgeBaseName;
|
|
2092
|
+
}
|
|
2093
|
+
if (!$dara.isNull(request.namespace)) {
|
|
2094
|
+
body["Namespace"] = request.namespace;
|
|
2036
2095
|
}
|
|
2037
2096
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2038
|
-
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2039
2097
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2040
2098
|
});
|
|
2041
2099
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2042
|
-
action: "
|
|
2100
|
+
action: "GetLumaChunk",
|
|
2043
2101
|
version: "2020-04-01",
|
|
2044
2102
|
protocol: "HTTPS",
|
|
2045
2103
|
pathname: "/",
|
|
@@ -2049,42 +2107,54 @@ class Client extends openapi_core_1.default {
|
|
|
2049
2107
|
reqBodyType: "formData",
|
|
2050
2108
|
bodyType: "json",
|
|
2051
2109
|
});
|
|
2052
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
2110
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaChunkResponse({}));
|
|
2053
2111
|
}
|
|
2054
2112
|
/**
|
|
2055
|
-
*
|
|
2113
|
+
* Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
|
|
2056
2114
|
*
|
|
2057
|
-
* @
|
|
2058
|
-
*
|
|
2115
|
+
* @remarks
|
|
2116
|
+
* Retrieves the full content of a specified text chunk from a knowledge base bound to a Luma Agent.
|
|
2117
|
+
*
|
|
2118
|
+
* @param request - GetLumaChunkRequest
|
|
2119
|
+
* @returns GetLumaChunkResponse
|
|
2059
2120
|
*/
|
|
2060
|
-
async
|
|
2121
|
+
async getLumaChunk(request) {
|
|
2061
2122
|
let runtime = new $dara.RuntimeOptions({});
|
|
2062
|
-
return await this.
|
|
2123
|
+
return await this.getLumaChunkWithOptions(request, runtime);
|
|
2063
2124
|
}
|
|
2064
2125
|
/**
|
|
2065
|
-
* Retrieves the details of
|
|
2126
|
+
* Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
|
|
2066
2127
|
*
|
|
2067
2128
|
* @remarks
|
|
2068
|
-
*
|
|
2129
|
+
* Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
|
|
2069
2130
|
*
|
|
2070
|
-
* @param request -
|
|
2131
|
+
* @param request - GetLumaDocumentRequest
|
|
2071
2132
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2072
|
-
* @returns
|
|
2133
|
+
* @returns GetLumaDocumentResponse
|
|
2073
2134
|
*/
|
|
2074
|
-
async
|
|
2135
|
+
async getLumaDocumentWithOptions(request, runtime) {
|
|
2075
2136
|
request.validate();
|
|
2076
|
-
let
|
|
2077
|
-
if (!$dara.isNull(request.
|
|
2078
|
-
|
|
2137
|
+
let body = {};
|
|
2138
|
+
if (!$dara.isNull(request.agentName)) {
|
|
2139
|
+
body["AgentName"] = request.agentName;
|
|
2079
2140
|
}
|
|
2080
|
-
if (!$dara.isNull(request.
|
|
2081
|
-
|
|
2141
|
+
if (!$dara.isNull(request.catalog)) {
|
|
2142
|
+
body["Catalog"] = request.catalog;
|
|
2143
|
+
}
|
|
2144
|
+
if (!$dara.isNull(request.documentId)) {
|
|
2145
|
+
body["DocumentId"] = request.documentId;
|
|
2146
|
+
}
|
|
2147
|
+
if (!$dara.isNull(request.knowledgeBaseName)) {
|
|
2148
|
+
body["KnowledgeBaseName"] = request.knowledgeBaseName;
|
|
2149
|
+
}
|
|
2150
|
+
if (!$dara.isNull(request.namespace)) {
|
|
2151
|
+
body["Namespace"] = request.namespace;
|
|
2082
2152
|
}
|
|
2083
2153
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2084
|
-
|
|
2154
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2085
2155
|
});
|
|
2086
2156
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2087
|
-
action: "
|
|
2157
|
+
action: "GetLumaDocument",
|
|
2088
2158
|
version: "2020-04-01",
|
|
2089
2159
|
protocol: "HTTPS",
|
|
2090
2160
|
pathname: "/",
|
|
@@ -2094,50 +2164,57 @@ class Client extends openapi_core_1.default {
|
|
|
2094
2164
|
reqBodyType: "formData",
|
|
2095
2165
|
bodyType: "json",
|
|
2096
2166
|
});
|
|
2097
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
2167
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaDocumentResponse({}));
|
|
2098
2168
|
}
|
|
2099
2169
|
/**
|
|
2100
|
-
* Retrieves the details of
|
|
2170
|
+
* Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
|
|
2101
2171
|
*
|
|
2102
2172
|
* @remarks
|
|
2103
|
-
*
|
|
2173
|
+
* Retrieves the details of a specified document in the knowledge base bound to a Luma Agent.
|
|
2104
2174
|
*
|
|
2105
|
-
* @param request -
|
|
2106
|
-
* @returns
|
|
2175
|
+
* @param request - GetLumaDocumentRequest
|
|
2176
|
+
* @returns GetLumaDocumentResponse
|
|
2107
2177
|
*/
|
|
2108
|
-
async
|
|
2178
|
+
async getLumaDocument(request) {
|
|
2109
2179
|
let runtime = new $dara.RuntimeOptions({});
|
|
2110
|
-
return await this.
|
|
2180
|
+
return await this.getLumaDocumentWithOptions(request, runtime);
|
|
2111
2181
|
}
|
|
2112
2182
|
/**
|
|
2113
|
-
*
|
|
2183
|
+
* Retrieves a temporary download URL for a specified document in the knowledge base bound to a Luma Agent. The URL is valid for one hour by default.
|
|
2114
2184
|
*
|
|
2115
|
-
* @
|
|
2185
|
+
* @remarks
|
|
2186
|
+
* Retrieves a temporary download URL for a specified document in the knowledge base bound to a Luma Agent. The URL is valid for one hour by default.
|
|
2187
|
+
*
|
|
2188
|
+
* @param request - GetLumaDocumentDownloadUrlRequest
|
|
2116
2189
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2117
|
-
* @returns
|
|
2190
|
+
* @returns GetLumaDocumentDownloadUrlResponse
|
|
2118
2191
|
*/
|
|
2119
|
-
async
|
|
2192
|
+
async getLumaDocumentDownloadUrlWithOptions(request, runtime) {
|
|
2120
2193
|
request.validate();
|
|
2121
|
-
let
|
|
2194
|
+
let body = {};
|
|
2195
|
+
if (!$dara.isNull(request.agentName)) {
|
|
2196
|
+
body["AgentName"] = request.agentName;
|
|
2197
|
+
}
|
|
2122
2198
|
if (!$dara.isNull(request.catalog)) {
|
|
2123
|
-
|
|
2199
|
+
body["Catalog"] = request.catalog;
|
|
2124
2200
|
}
|
|
2125
|
-
if (!$dara.isNull(request.
|
|
2126
|
-
|
|
2201
|
+
if (!$dara.isNull(request.documentId)) {
|
|
2202
|
+
body["DocumentId"] = request.documentId;
|
|
2203
|
+
}
|
|
2204
|
+
if (!$dara.isNull(request.knowledgeBaseName)) {
|
|
2205
|
+
body["KnowledgeBaseName"] = request.knowledgeBaseName;
|
|
2127
2206
|
}
|
|
2128
2207
|
if (!$dara.isNull(request.namespace)) {
|
|
2129
|
-
|
|
2208
|
+
body["Namespace"] = request.namespace;
|
|
2130
2209
|
}
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
body["ClientToken"] = request.clientToken;
|
|
2210
|
+
if (!$dara.isNull(request.networkType)) {
|
|
2211
|
+
body["NetworkType"] = request.networkType;
|
|
2134
2212
|
}
|
|
2135
2213
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2136
|
-
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2137
2214
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2138
2215
|
});
|
|
2139
2216
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2140
|
-
action: "
|
|
2217
|
+
action: "GetLumaDocumentDownloadUrl",
|
|
2141
2218
|
version: "2020-04-01",
|
|
2142
2219
|
protocol: "HTTPS",
|
|
2143
2220
|
pathname: "/",
|
|
@@ -2147,42 +2224,51 @@ class Client extends openapi_core_1.default {
|
|
|
2147
2224
|
reqBodyType: "formData",
|
|
2148
2225
|
bodyType: "json",
|
|
2149
2226
|
});
|
|
2150
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
2227
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaDocumentDownloadUrlResponse({}));
|
|
2151
2228
|
}
|
|
2152
2229
|
/**
|
|
2153
|
-
*
|
|
2230
|
+
* Retrieves a temporary download URL for a specified document in the knowledge base bound to a Luma Agent. The URL is valid for one hour by default.
|
|
2154
2231
|
*
|
|
2155
|
-
* @
|
|
2156
|
-
*
|
|
2232
|
+
* @remarks
|
|
2233
|
+
* Retrieves a temporary download URL for a specified document in the knowledge base bound to a Luma Agent. The URL is valid for one hour by default.
|
|
2234
|
+
*
|
|
2235
|
+
* @param request - GetLumaDocumentDownloadUrlRequest
|
|
2236
|
+
* @returns GetLumaDocumentDownloadUrlResponse
|
|
2157
2237
|
*/
|
|
2158
|
-
async
|
|
2238
|
+
async getLumaDocumentDownloadUrl(request) {
|
|
2159
2239
|
let runtime = new $dara.RuntimeOptions({});
|
|
2160
|
-
return await this.
|
|
2240
|
+
return await this.getLumaDocumentDownloadUrlWithOptions(request, runtime);
|
|
2161
2241
|
}
|
|
2162
2242
|
/**
|
|
2163
|
-
* Retrieves
|
|
2243
|
+
* Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
|
|
2164
2244
|
*
|
|
2165
|
-
* @
|
|
2245
|
+
* @remarks
|
|
2246
|
+
* Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
|
|
2247
|
+
*
|
|
2248
|
+
* @param request - GetLumaKnowledgeBaseRequest
|
|
2166
2249
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2167
|
-
* @returns
|
|
2250
|
+
* @returns GetLumaKnowledgeBaseResponse
|
|
2168
2251
|
*/
|
|
2169
|
-
async
|
|
2252
|
+
async getLumaKnowledgeBaseWithOptions(request, runtime) {
|
|
2170
2253
|
request.validate();
|
|
2171
2254
|
let body = {};
|
|
2172
|
-
if (!$dara.isNull(request.
|
|
2173
|
-
body["
|
|
2255
|
+
if (!$dara.isNull(request.agentName)) {
|
|
2256
|
+
body["AgentName"] = request.agentName;
|
|
2174
2257
|
}
|
|
2175
|
-
if (!$dara.isNull(request.
|
|
2176
|
-
body["
|
|
2258
|
+
if (!$dara.isNull(request.catalog)) {
|
|
2259
|
+
body["Catalog"] = request.catalog;
|
|
2177
2260
|
}
|
|
2178
|
-
if (!$dara.isNull(request.
|
|
2179
|
-
body["
|
|
2261
|
+
if (!$dara.isNull(request.knowledgeBaseName)) {
|
|
2262
|
+
body["KnowledgeBaseName"] = request.knowledgeBaseName;
|
|
2263
|
+
}
|
|
2264
|
+
if (!$dara.isNull(request.namespace)) {
|
|
2265
|
+
body["Namespace"] = request.namespace;
|
|
2180
2266
|
}
|
|
2181
2267
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2182
2268
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2183
2269
|
});
|
|
2184
2270
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2185
|
-
action: "
|
|
2271
|
+
action: "GetLumaKnowledgeBase",
|
|
2186
2272
|
version: "2020-04-01",
|
|
2187
2273
|
protocol: "HTTPS",
|
|
2188
2274
|
pathname: "/",
|
|
@@ -2192,31 +2278,48 @@ class Client extends openapi_core_1.default {
|
|
|
2192
2278
|
reqBodyType: "formData",
|
|
2193
2279
|
bodyType: "json",
|
|
2194
2280
|
});
|
|
2195
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
2281
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaKnowledgeBaseResponse({}));
|
|
2196
2282
|
}
|
|
2197
2283
|
/**
|
|
2198
|
-
* Retrieves
|
|
2284
|
+
* Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
|
|
2199
2285
|
*
|
|
2200
|
-
* @
|
|
2201
|
-
*
|
|
2286
|
+
* @remarks
|
|
2287
|
+
* Retrieves the details of a specified knowledge base bound to a Luma Agent, including the vector model, chunking configuration, and retrieval configuration.
|
|
2288
|
+
*
|
|
2289
|
+
* @param request - GetLumaKnowledgeBaseRequest
|
|
2290
|
+
* @returns GetLumaKnowledgeBaseResponse
|
|
2202
2291
|
*/
|
|
2203
|
-
async
|
|
2292
|
+
async getLumaKnowledgeBase(request) {
|
|
2204
2293
|
let runtime = new $dara.RuntimeOptions({});
|
|
2205
|
-
return await this.
|
|
2294
|
+
return await this.getLumaKnowledgeBaseWithOptions(request, runtime);
|
|
2206
2295
|
}
|
|
2207
2296
|
/**
|
|
2208
|
-
*
|
|
2297
|
+
* Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
|
|
2209
2298
|
*
|
|
2210
2299
|
* @remarks
|
|
2211
|
-
*
|
|
2300
|
+
* Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
|
|
2212
2301
|
*
|
|
2302
|
+
* @param request - GetLumaNamespaceRequest
|
|
2213
2303
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2214
|
-
* @returns
|
|
2304
|
+
* @returns GetLumaNamespaceResponse
|
|
2215
2305
|
*/
|
|
2216
|
-
async
|
|
2217
|
-
|
|
2306
|
+
async getLumaNamespaceWithOptions(request, runtime) {
|
|
2307
|
+
request.validate();
|
|
2308
|
+
let body = {};
|
|
2309
|
+
if (!$dara.isNull(request.agentName)) {
|
|
2310
|
+
body["AgentName"] = request.agentName;
|
|
2311
|
+
}
|
|
2312
|
+
if (!$dara.isNull(request.catalog)) {
|
|
2313
|
+
body["Catalog"] = request.catalog;
|
|
2314
|
+
}
|
|
2315
|
+
if (!$dara.isNull(request.name)) {
|
|
2316
|
+
body["Name"] = request.name;
|
|
2317
|
+
}
|
|
2318
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2319
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2320
|
+
});
|
|
2218
2321
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2219
|
-
action: "
|
|
2322
|
+
action: "GetLumaNamespace",
|
|
2220
2323
|
version: "2020-04-01",
|
|
2221
2324
|
protocol: "HTTPS",
|
|
2222
2325
|
pathname: "/",
|
|
@@ -2226,49 +2329,633 @@ class Client extends openapi_core_1.default {
|
|
|
2226
2329
|
reqBodyType: "formData",
|
|
2227
2330
|
bodyType: "json",
|
|
2228
2331
|
});
|
|
2229
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
2332
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaNamespaceResponse({}));
|
|
2230
2333
|
}
|
|
2231
2334
|
/**
|
|
2232
|
-
*
|
|
2335
|
+
* Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
|
|
2233
2336
|
*
|
|
2234
2337
|
* @remarks
|
|
2235
|
-
*
|
|
2236
|
-
*
|
|
2338
|
+
* Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
|
|
2339
|
+
*
|
|
2340
|
+
* @param request - GetLumaNamespaceRequest
|
|
2341
|
+
* @returns GetLumaNamespaceResponse
|
|
2237
2342
|
*/
|
|
2238
|
-
async
|
|
2343
|
+
async getLumaNamespace(request) {
|
|
2239
2344
|
let runtime = new $dara.RuntimeOptions({});
|
|
2240
|
-
return await this.
|
|
2345
|
+
return await this.getLumaNamespaceWithOptions(request, runtime);
|
|
2241
2346
|
}
|
|
2242
2347
|
/**
|
|
2243
|
-
*
|
|
2348
|
+
* Retrieves the details of a specified event table bound to a Luma Agent, including column definitions and the data retention policy. Only event tables that are already bound to the Agent can be queried.
|
|
2244
2349
|
*
|
|
2245
2350
|
* @remarks
|
|
2246
|
-
*
|
|
2351
|
+
* Retrieves the details of a specified event table bound to a Luma Agent, including column definitions and the data retention policy. Only event tables that are already bound to the Agent can be queried.
|
|
2247
2352
|
*
|
|
2248
|
-
* @param request -
|
|
2353
|
+
* @param request - GetLumaTableRequest
|
|
2249
2354
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2250
|
-
* @returns
|
|
2355
|
+
* @returns GetLumaTableResponse
|
|
2251
2356
|
*/
|
|
2252
|
-
async
|
|
2357
|
+
async getLumaTableWithOptions(request, runtime) {
|
|
2358
|
+
request.validate();
|
|
2359
|
+
let body = {};
|
|
2360
|
+
if (!$dara.isNull(request.agentName)) {
|
|
2361
|
+
body["AgentName"] = request.agentName;
|
|
2362
|
+
}
|
|
2363
|
+
if (!$dara.isNull(request.catalog)) {
|
|
2364
|
+
body["Catalog"] = request.catalog;
|
|
2365
|
+
}
|
|
2366
|
+
if (!$dara.isNull(request.name)) {
|
|
2367
|
+
body["Name"] = request.name;
|
|
2368
|
+
}
|
|
2369
|
+
if (!$dara.isNull(request.namespace)) {
|
|
2370
|
+
body["Namespace"] = request.namespace;
|
|
2371
|
+
}
|
|
2372
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2373
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2374
|
+
});
|
|
2375
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2376
|
+
action: "GetLumaTable",
|
|
2377
|
+
version: "2020-04-01",
|
|
2378
|
+
protocol: "HTTPS",
|
|
2379
|
+
pathname: "/",
|
|
2380
|
+
method: "POST",
|
|
2381
|
+
authType: "AK",
|
|
2382
|
+
style: "RPC",
|
|
2383
|
+
reqBodyType: "formData",
|
|
2384
|
+
bodyType: "json",
|
|
2385
|
+
});
|
|
2386
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetLumaTableResponse({}));
|
|
2387
|
+
}
|
|
2388
|
+
/**
|
|
2389
|
+
* Retrieves the details of a specified event table bound to a Luma Agent, including column definitions and the data retention policy. Only event tables that are already bound to the Agent can be queried.
|
|
2390
|
+
*
|
|
2391
|
+
* @remarks
|
|
2392
|
+
* Retrieves the details of a specified event table bound to a Luma Agent, including column definitions and the data retention policy. Only event tables that are already bound to the Agent can be queried.
|
|
2393
|
+
*
|
|
2394
|
+
* @param request - GetLumaTableRequest
|
|
2395
|
+
* @returns GetLumaTableResponse
|
|
2396
|
+
*/
|
|
2397
|
+
async getLumaTable(request) {
|
|
2398
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2399
|
+
return await this.getLumaTableWithOptions(request, runtime);
|
|
2400
|
+
}
|
|
2401
|
+
/**
|
|
2402
|
+
* Get namespace
|
|
2403
|
+
*
|
|
2404
|
+
* @param request - GetNamespaceRequest
|
|
2405
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2406
|
+
* @returns GetNamespaceResponse
|
|
2407
|
+
*/
|
|
2408
|
+
async getNamespaceWithOptions(request, runtime) {
|
|
2253
2409
|
request.validate();
|
|
2254
2410
|
let query = {};
|
|
2255
|
-
if (!$dara.isNull(request.
|
|
2256
|
-
query["
|
|
2411
|
+
if (!$dara.isNull(request.catalog)) {
|
|
2412
|
+
query["Catalog"] = request.catalog;
|
|
2257
2413
|
}
|
|
2258
|
-
if (!$dara.isNull(request.
|
|
2259
|
-
query["
|
|
2414
|
+
if (!$dara.isNull(request.name)) {
|
|
2415
|
+
query["Name"] = request.name;
|
|
2416
|
+
}
|
|
2417
|
+
let body = {};
|
|
2418
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
2419
|
+
body["ClientToken"] = request.clientToken;
|
|
2420
|
+
}
|
|
2421
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2422
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2423
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2424
|
+
});
|
|
2425
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2426
|
+
action: "GetNamespace",
|
|
2427
|
+
version: "2020-04-01",
|
|
2428
|
+
protocol: "HTTPS",
|
|
2429
|
+
pathname: "/",
|
|
2430
|
+
method: "POST",
|
|
2431
|
+
authType: "AK",
|
|
2432
|
+
style: "RPC",
|
|
2433
|
+
reqBodyType: "formData",
|
|
2434
|
+
bodyType: "json",
|
|
2435
|
+
});
|
|
2436
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetNamespaceResponse({}));
|
|
2437
|
+
}
|
|
2438
|
+
/**
|
|
2439
|
+
* Get namespace
|
|
2440
|
+
*
|
|
2441
|
+
* @param request - GetNamespaceRequest
|
|
2442
|
+
* @returns GetNamespaceResponse
|
|
2443
|
+
*/
|
|
2444
|
+
async getNamespace(request) {
|
|
2445
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2446
|
+
return await this.getNamespaceWithOptions(request, runtime);
|
|
2447
|
+
}
|
|
2448
|
+
/**
|
|
2449
|
+
* Retrieves the details of an event rule.
|
|
2450
|
+
*
|
|
2451
|
+
* @remarks
|
|
2452
|
+
* Gets the details of an event rule.
|
|
2453
|
+
*
|
|
2454
|
+
* @param request - GetRuleRequest
|
|
2455
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2456
|
+
* @returns GetRuleResponse
|
|
2457
|
+
*/
|
|
2458
|
+
async getRuleWithOptions(request, runtime) {
|
|
2459
|
+
request.validate();
|
|
2460
|
+
let query = {};
|
|
2461
|
+
if (!$dara.isNull(request.eventBusName)) {
|
|
2462
|
+
query["EventBusName"] = request.eventBusName;
|
|
2463
|
+
}
|
|
2464
|
+
if (!$dara.isNull(request.ruleName)) {
|
|
2465
|
+
query["RuleName"] = request.ruleName;
|
|
2466
|
+
}
|
|
2467
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2468
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2469
|
+
});
|
|
2470
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2471
|
+
action: "GetRule",
|
|
2472
|
+
version: "2020-04-01",
|
|
2473
|
+
protocol: "HTTPS",
|
|
2474
|
+
pathname: "/",
|
|
2475
|
+
method: "POST",
|
|
2476
|
+
authType: "AK",
|
|
2477
|
+
style: "RPC",
|
|
2478
|
+
reqBodyType: "formData",
|
|
2479
|
+
bodyType: "json",
|
|
2480
|
+
});
|
|
2481
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetRuleResponse({}));
|
|
2482
|
+
}
|
|
2483
|
+
/**
|
|
2484
|
+
* Retrieves the details of an event rule.
|
|
2485
|
+
*
|
|
2486
|
+
* @remarks
|
|
2487
|
+
* Gets the details of an event rule.
|
|
2488
|
+
*
|
|
2489
|
+
* @param request - GetRuleRequest
|
|
2490
|
+
* @returns GetRuleResponse
|
|
2491
|
+
*/
|
|
2492
|
+
async getRule(request) {
|
|
2493
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2494
|
+
return await this.getRuleWithOptions(request, runtime);
|
|
2495
|
+
}
|
|
2496
|
+
/**
|
|
2497
|
+
* Get Table
|
|
2498
|
+
*
|
|
2499
|
+
* @param request - GetTableRequest
|
|
2500
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2501
|
+
* @returns GetTableResponse
|
|
2502
|
+
*/
|
|
2503
|
+
async getTableWithOptions(request, runtime) {
|
|
2504
|
+
request.validate();
|
|
2505
|
+
let query = {};
|
|
2506
|
+
if (!$dara.isNull(request.catalog)) {
|
|
2507
|
+
query["Catalog"] = request.catalog;
|
|
2508
|
+
}
|
|
2509
|
+
if (!$dara.isNull(request.name)) {
|
|
2510
|
+
query["Name"] = request.name;
|
|
2511
|
+
}
|
|
2512
|
+
if (!$dara.isNull(request.namespace)) {
|
|
2513
|
+
query["Namespace"] = request.namespace;
|
|
2514
|
+
}
|
|
2515
|
+
let body = {};
|
|
2516
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
2517
|
+
body["ClientToken"] = request.clientToken;
|
|
2518
|
+
}
|
|
2519
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2520
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2521
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2522
|
+
});
|
|
2523
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2524
|
+
action: "GetTable",
|
|
2525
|
+
version: "2020-04-01",
|
|
2526
|
+
protocol: "HTTPS",
|
|
2527
|
+
pathname: "/",
|
|
2528
|
+
method: "POST",
|
|
2529
|
+
authType: "AK",
|
|
2530
|
+
style: "RPC",
|
|
2531
|
+
reqBodyType: "formData",
|
|
2532
|
+
bodyType: "json",
|
|
2533
|
+
});
|
|
2534
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTableResponse({}));
|
|
2535
|
+
}
|
|
2536
|
+
/**
|
|
2537
|
+
* Get Table
|
|
2538
|
+
*
|
|
2539
|
+
* @param request - GetTableRequest
|
|
2540
|
+
* @returns GetTableResponse
|
|
2541
|
+
*/
|
|
2542
|
+
async getTable(request) {
|
|
2543
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2544
|
+
return await this.getTableWithOptions(request, runtime);
|
|
2545
|
+
}
|
|
2546
|
+
/**
|
|
2547
|
+
* Retrieves a list of custom agents.
|
|
2548
|
+
*
|
|
2549
|
+
* @param request - ListAgentsRequest
|
|
2550
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2551
|
+
* @returns ListAgentsResponse
|
|
2552
|
+
*/
|
|
2553
|
+
async listAgentsWithOptions(request, runtime) {
|
|
2554
|
+
request.validate();
|
|
2555
|
+
let body = {};
|
|
2556
|
+
if (!$dara.isNull(request.after)) {
|
|
2557
|
+
body["After"] = request.after;
|
|
2558
|
+
}
|
|
2559
|
+
if (!$dara.isNull(request.limit)) {
|
|
2560
|
+
body["Limit"] = request.limit;
|
|
2561
|
+
}
|
|
2562
|
+
if (!$dara.isNull(request.order)) {
|
|
2563
|
+
body["Order"] = request.order;
|
|
2564
|
+
}
|
|
2565
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2566
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2567
|
+
});
|
|
2568
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2569
|
+
action: "ListAgents",
|
|
2570
|
+
version: "2020-04-01",
|
|
2571
|
+
protocol: "HTTPS",
|
|
2572
|
+
pathname: "/",
|
|
2573
|
+
method: "POST",
|
|
2574
|
+
authType: "AK",
|
|
2575
|
+
style: "RPC",
|
|
2576
|
+
reqBodyType: "formData",
|
|
2577
|
+
bodyType: "json",
|
|
2578
|
+
});
|
|
2579
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAgentsResponse({}));
|
|
2580
|
+
}
|
|
2581
|
+
/**
|
|
2582
|
+
* Retrieves a list of custom agents.
|
|
2583
|
+
*
|
|
2584
|
+
* @param request - ListAgentsRequest
|
|
2585
|
+
* @returns ListAgentsResponse
|
|
2586
|
+
*/
|
|
2587
|
+
async listAgents(request) {
|
|
2588
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2589
|
+
return await this.listAgentsWithOptions(request, runtime);
|
|
2590
|
+
}
|
|
2591
|
+
/**
|
|
2592
|
+
* Queries all Alibaba Cloud service event sources.
|
|
2593
|
+
*
|
|
2594
|
+
* @remarks
|
|
2595
|
+
* You can call this API operation to query all Alibaba Cloud service event sources.
|
|
2596
|
+
*
|
|
2597
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2598
|
+
* @returns ListAliyunOfficialEventSourcesResponse
|
|
2599
|
+
*/
|
|
2600
|
+
async listAliyunOfficialEventSourcesWithOptions(runtime) {
|
|
2601
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({});
|
|
2602
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2603
|
+
action: "ListAliyunOfficialEventSources",
|
|
2604
|
+
version: "2020-04-01",
|
|
2605
|
+
protocol: "HTTPS",
|
|
2606
|
+
pathname: "/",
|
|
2607
|
+
method: "POST",
|
|
2608
|
+
authType: "AK",
|
|
2609
|
+
style: "RPC",
|
|
2610
|
+
reqBodyType: "formData",
|
|
2611
|
+
bodyType: "json",
|
|
2612
|
+
});
|
|
2613
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAliyunOfficialEventSourcesResponse({}));
|
|
2614
|
+
}
|
|
2615
|
+
/**
|
|
2616
|
+
* Queries all Alibaba Cloud service event sources.
|
|
2617
|
+
*
|
|
2618
|
+
* @remarks
|
|
2619
|
+
* You can call this API operation to query all Alibaba Cloud service event sources.
|
|
2620
|
+
* @returns ListAliyunOfficialEventSourcesResponse
|
|
2621
|
+
*/
|
|
2622
|
+
async listAliyunOfficialEventSources() {
|
|
2623
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2624
|
+
return await this.listAliyunOfficialEventSourcesWithOptions(runtime);
|
|
2625
|
+
}
|
|
2626
|
+
/**
|
|
2627
|
+
* Queries a list of API destinations.
|
|
2628
|
+
*
|
|
2629
|
+
* @remarks
|
|
2630
|
+
* You can use this API operation to query a list of API destinations.
|
|
2631
|
+
*
|
|
2632
|
+
* @param request - ListApiDestinationsRequest
|
|
2633
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2634
|
+
* @returns ListApiDestinationsResponse
|
|
2635
|
+
*/
|
|
2636
|
+
async listApiDestinationsWithOptions(request, runtime) {
|
|
2637
|
+
request.validate();
|
|
2638
|
+
let query = {};
|
|
2639
|
+
if (!$dara.isNull(request.apiDestinationNamePrefix)) {
|
|
2640
|
+
query["ApiDestinationNamePrefix"] = request.apiDestinationNamePrefix;
|
|
2641
|
+
}
|
|
2642
|
+
if (!$dara.isNull(request.connectionName)) {
|
|
2643
|
+
query["ConnectionName"] = request.connectionName;
|
|
2644
|
+
}
|
|
2645
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
2646
|
+
query["MaxResults"] = request.maxResults;
|
|
2647
|
+
}
|
|
2648
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2649
|
+
query["NextToken"] = request.nextToken;
|
|
2650
|
+
}
|
|
2651
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2652
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2653
|
+
});
|
|
2654
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2655
|
+
action: "ListApiDestinations",
|
|
2656
|
+
version: "2020-04-01",
|
|
2657
|
+
protocol: "HTTPS",
|
|
2658
|
+
pathname: "/",
|
|
2659
|
+
method: "POST",
|
|
2660
|
+
authType: "AK",
|
|
2661
|
+
style: "RPC",
|
|
2662
|
+
reqBodyType: "formData",
|
|
2663
|
+
bodyType: "json",
|
|
2664
|
+
});
|
|
2665
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListApiDestinationsResponse({}));
|
|
2666
|
+
}
|
|
2667
|
+
/**
|
|
2668
|
+
* Queries a list of API destinations.
|
|
2669
|
+
*
|
|
2670
|
+
* @remarks
|
|
2671
|
+
* You can use this API operation to query a list of API destinations.
|
|
2672
|
+
*
|
|
2673
|
+
* @param request - ListApiDestinationsRequest
|
|
2674
|
+
* @returns ListApiDestinationsResponse
|
|
2675
|
+
*/
|
|
2676
|
+
async listApiDestinations(request) {
|
|
2677
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2678
|
+
return await this.listApiDestinationsWithOptions(request, runtime);
|
|
2679
|
+
}
|
|
2680
|
+
/**
|
|
2681
|
+
* Queries the list of data catalogs.
|
|
2682
|
+
*
|
|
2683
|
+
* @param request - ListCatalogsRequest
|
|
2684
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2685
|
+
* @returns ListCatalogsResponse
|
|
2686
|
+
*/
|
|
2687
|
+
async listCatalogsWithOptions(request, runtime) {
|
|
2688
|
+
request.validate();
|
|
2689
|
+
let query = {};
|
|
2690
|
+
if (!$dara.isNull(request.limit)) {
|
|
2691
|
+
query["Limit"] = request.limit;
|
|
2692
|
+
}
|
|
2693
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2694
|
+
query["NextToken"] = request.nextToken;
|
|
2695
|
+
}
|
|
2696
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2697
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2698
|
+
});
|
|
2699
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2700
|
+
action: "ListCatalogs",
|
|
2701
|
+
version: "2020-04-01",
|
|
2702
|
+
protocol: "HTTPS",
|
|
2703
|
+
pathname: "/",
|
|
2704
|
+
method: "POST",
|
|
2705
|
+
authType: "AK",
|
|
2706
|
+
style: "RPC",
|
|
2707
|
+
reqBodyType: "formData",
|
|
2708
|
+
bodyType: "json",
|
|
2709
|
+
});
|
|
2710
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCatalogsResponse({}));
|
|
2711
|
+
}
|
|
2712
|
+
/**
|
|
2713
|
+
* Queries the list of data catalogs.
|
|
2714
|
+
*
|
|
2715
|
+
* @param request - ListCatalogsRequest
|
|
2716
|
+
* @returns ListCatalogsResponse
|
|
2717
|
+
*/
|
|
2718
|
+
async listCatalogs(request) {
|
|
2719
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2720
|
+
return await this.listCatalogsWithOptions(request, runtime);
|
|
2721
|
+
}
|
|
2722
|
+
/**
|
|
2723
|
+
* Retrieves a list of connection configurations.
|
|
2724
|
+
*
|
|
2725
|
+
* @remarks
|
|
2726
|
+
* Retrieves a list of connection configurations.
|
|
2727
|
+
*
|
|
2728
|
+
* @param request - ListConnectionsRequest
|
|
2729
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2730
|
+
* @returns ListConnectionsResponse
|
|
2731
|
+
*/
|
|
2732
|
+
async listConnectionsWithOptions(request, runtime) {
|
|
2733
|
+
request.validate();
|
|
2734
|
+
let body = {};
|
|
2735
|
+
if (!$dara.isNull(request.connectionNamePrefix)) {
|
|
2736
|
+
body["ConnectionNamePrefix"] = request.connectionNamePrefix;
|
|
2737
|
+
}
|
|
2738
|
+
if (!$dara.isNull(request.excludeType)) {
|
|
2739
|
+
body["ExcludeType"] = request.excludeType;
|
|
2740
|
+
}
|
|
2741
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
2742
|
+
body["MaxResults"] = request.maxResults;
|
|
2743
|
+
}
|
|
2744
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2745
|
+
body["NextToken"] = request.nextToken;
|
|
2746
|
+
}
|
|
2747
|
+
if (!$dara.isNull(request.type)) {
|
|
2748
|
+
body["Type"] = request.type;
|
|
2749
|
+
}
|
|
2750
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2751
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2752
|
+
});
|
|
2753
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2754
|
+
action: "ListConnections",
|
|
2755
|
+
version: "2020-04-01",
|
|
2756
|
+
protocol: "HTTPS",
|
|
2757
|
+
pathname: "/",
|
|
2758
|
+
method: "POST",
|
|
2759
|
+
authType: "AK",
|
|
2760
|
+
style: "RPC",
|
|
2761
|
+
reqBodyType: "formData",
|
|
2762
|
+
bodyType: "json",
|
|
2763
|
+
});
|
|
2764
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConnectionsResponse({}));
|
|
2765
|
+
}
|
|
2766
|
+
/**
|
|
2767
|
+
* Retrieves a list of connection configurations.
|
|
2768
|
+
*
|
|
2769
|
+
* @remarks
|
|
2770
|
+
* Retrieves a list of connection configurations.
|
|
2771
|
+
*
|
|
2772
|
+
* @param request - ListConnectionsRequest
|
|
2773
|
+
* @returns ListConnectionsResponse
|
|
2774
|
+
*/
|
|
2775
|
+
async listConnections(request) {
|
|
2776
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2777
|
+
return await this.listConnectionsWithOptions(request, runtime);
|
|
2778
|
+
}
|
|
2779
|
+
/**
|
|
2780
|
+
* Queries all event buses.
|
|
2781
|
+
*
|
|
2782
|
+
* @remarks
|
|
2783
|
+
* You can call this API operation to query all event buses.
|
|
2784
|
+
*
|
|
2785
|
+
* @param request - ListEventBusesRequest
|
|
2786
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2787
|
+
* @returns ListEventBusesResponse
|
|
2788
|
+
*/
|
|
2789
|
+
async listEventBusesWithOptions(request, runtime) {
|
|
2790
|
+
request.validate();
|
|
2791
|
+
let query = {};
|
|
2792
|
+
if (!$dara.isNull(request.limit)) {
|
|
2793
|
+
query["Limit"] = request.limit;
|
|
2794
|
+
}
|
|
2795
|
+
if (!$dara.isNull(request.namePrefix)) {
|
|
2796
|
+
query["NamePrefix"] = request.namePrefix;
|
|
2797
|
+
}
|
|
2798
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2799
|
+
query["NextToken"] = request.nextToken;
|
|
2800
|
+
}
|
|
2801
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2802
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2803
|
+
});
|
|
2804
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2805
|
+
action: "ListEventBuses",
|
|
2806
|
+
version: "2020-04-01",
|
|
2807
|
+
protocol: "HTTPS",
|
|
2808
|
+
pathname: "/",
|
|
2809
|
+
method: "POST",
|
|
2810
|
+
authType: "AK",
|
|
2811
|
+
style: "RPC",
|
|
2812
|
+
reqBodyType: "formData",
|
|
2813
|
+
bodyType: "json",
|
|
2814
|
+
});
|
|
2815
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEventBusesResponse({}));
|
|
2816
|
+
}
|
|
2817
|
+
/**
|
|
2818
|
+
* Queries all event buses.
|
|
2819
|
+
*
|
|
2820
|
+
* @remarks
|
|
2821
|
+
* You can call this API operation to query all event buses.
|
|
2822
|
+
*
|
|
2823
|
+
* @param request - ListEventBusesRequest
|
|
2824
|
+
* @returns ListEventBusesResponse
|
|
2825
|
+
*/
|
|
2826
|
+
async listEventBuses(request) {
|
|
2827
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2828
|
+
return await this.listEventBusesWithOptions(request, runtime);
|
|
2829
|
+
}
|
|
2830
|
+
/**
|
|
2831
|
+
* Queries the list of EventHouse runtimes.
|
|
2832
|
+
*
|
|
2833
|
+
* @param request - ListEventHouseRuntimesRequest
|
|
2834
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2835
|
+
* @returns ListEventHouseRuntimesResponse
|
|
2836
|
+
*/
|
|
2837
|
+
async listEventHouseRuntimesWithOptions(request, runtime) {
|
|
2838
|
+
request.validate();
|
|
2839
|
+
let query = {};
|
|
2840
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
2841
|
+
query["MaxResults"] = request.maxResults;
|
|
2842
|
+
}
|
|
2843
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2844
|
+
query["NextToken"] = request.nextToken;
|
|
2845
|
+
}
|
|
2846
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2847
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2848
|
+
});
|
|
2849
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2850
|
+
action: "ListEventHouseRuntimes",
|
|
2851
|
+
version: "2020-04-01",
|
|
2852
|
+
protocol: "HTTPS",
|
|
2853
|
+
pathname: "/",
|
|
2854
|
+
method: "POST",
|
|
2855
|
+
authType: "AK",
|
|
2856
|
+
style: "RPC",
|
|
2857
|
+
reqBodyType: "formData",
|
|
2858
|
+
bodyType: "json",
|
|
2859
|
+
});
|
|
2860
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEventHouseRuntimesResponse({}));
|
|
2861
|
+
}
|
|
2862
|
+
/**
|
|
2863
|
+
* Queries the list of EventHouse runtimes.
|
|
2864
|
+
*
|
|
2865
|
+
* @param request - ListEventHouseRuntimesRequest
|
|
2866
|
+
* @returns ListEventHouseRuntimesResponse
|
|
2867
|
+
*/
|
|
2868
|
+
async listEventHouseRuntimes(request) {
|
|
2869
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2870
|
+
return await this.listEventHouseRuntimesWithOptions(request, runtime);
|
|
2871
|
+
}
|
|
2872
|
+
/**
|
|
2873
|
+
* Queries event streams.
|
|
2874
|
+
*
|
|
2875
|
+
* @remarks
|
|
2876
|
+
* Queries event streams.
|
|
2877
|
+
*
|
|
2878
|
+
* @param request - ListEventStreamingsRequest
|
|
2879
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2880
|
+
* @returns ListEventStreamingsResponse
|
|
2881
|
+
*/
|
|
2882
|
+
async listEventStreamingsWithOptions(request, runtime) {
|
|
2883
|
+
request.validate();
|
|
2884
|
+
let body = {};
|
|
2885
|
+
if (!$dara.isNull(request.limit)) {
|
|
2886
|
+
body["Limit"] = request.limit;
|
|
2887
|
+
}
|
|
2888
|
+
if (!$dara.isNull(request.namePrefix)) {
|
|
2889
|
+
body["NamePrefix"] = request.namePrefix;
|
|
2890
|
+
}
|
|
2891
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
2892
|
+
body["NextToken"] = request.nextToken;
|
|
2893
|
+
}
|
|
2894
|
+
if (!$dara.isNull(request.sinkArn)) {
|
|
2895
|
+
body["SinkArn"] = request.sinkArn;
|
|
2896
|
+
}
|
|
2897
|
+
if (!$dara.isNull(request.sourceArn)) {
|
|
2898
|
+
body["SourceArn"] = request.sourceArn;
|
|
2899
|
+
}
|
|
2900
|
+
if (!$dara.isNull(request.tags)) {
|
|
2901
|
+
body["Tags"] = request.tags;
|
|
2902
|
+
}
|
|
2903
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2904
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2905
|
+
});
|
|
2906
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2907
|
+
action: "ListEventStreamings",
|
|
2908
|
+
version: "2020-04-01",
|
|
2909
|
+
protocol: "HTTPS",
|
|
2910
|
+
pathname: "/",
|
|
2911
|
+
method: "POST",
|
|
2912
|
+
authType: "AK",
|
|
2913
|
+
style: "RPC",
|
|
2914
|
+
reqBodyType: "formData",
|
|
2915
|
+
bodyType: "json",
|
|
2916
|
+
});
|
|
2917
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEventStreamingsResponse({}));
|
|
2918
|
+
}
|
|
2919
|
+
/**
|
|
2920
|
+
* Queries event streams.
|
|
2921
|
+
*
|
|
2922
|
+
* @remarks
|
|
2923
|
+
* Queries event streams.
|
|
2924
|
+
*
|
|
2925
|
+
* @param request - ListEventStreamingsRequest
|
|
2926
|
+
* @returns ListEventStreamingsResponse
|
|
2927
|
+
*/
|
|
2928
|
+
async listEventStreamings(request) {
|
|
2929
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2930
|
+
return await this.listEventStreamingsWithOptions(request, runtime);
|
|
2931
|
+
}
|
|
2932
|
+
/**
|
|
2933
|
+
* Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
|
|
2934
|
+
*
|
|
2935
|
+
* @remarks
|
|
2936
|
+
* Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
|
|
2937
|
+
*
|
|
2938
|
+
* @param request - ListLumaCatalogsRequest
|
|
2939
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2940
|
+
* @returns ListLumaCatalogsResponse
|
|
2941
|
+
*/
|
|
2942
|
+
async listLumaCatalogsWithOptions(request, runtime) {
|
|
2943
|
+
request.validate();
|
|
2944
|
+
let body = {};
|
|
2945
|
+
if (!$dara.isNull(request.agentName)) {
|
|
2946
|
+
body["AgentName"] = request.agentName;
|
|
2260
2947
|
}
|
|
2261
|
-
if (!$dara.isNull(request.
|
|
2262
|
-
|
|
2948
|
+
if (!$dara.isNull(request.limit)) {
|
|
2949
|
+
body["Limit"] = request.limit;
|
|
2263
2950
|
}
|
|
2264
2951
|
if (!$dara.isNull(request.nextToken)) {
|
|
2265
|
-
|
|
2952
|
+
body["NextToken"] = request.nextToken;
|
|
2266
2953
|
}
|
|
2267
2954
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2268
|
-
|
|
2955
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2269
2956
|
});
|
|
2270
2957
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2271
|
-
action: "
|
|
2958
|
+
action: "ListLumaCatalogs",
|
|
2272
2959
|
version: "2020-04-01",
|
|
2273
2960
|
protocol: "HTTPS",
|
|
2274
2961
|
pathname: "/",
|
|
@@ -2278,42 +2965,66 @@ class Client extends openapi_core_1.default {
|
|
|
2278
2965
|
reqBodyType: "formData",
|
|
2279
2966
|
bodyType: "json",
|
|
2280
2967
|
});
|
|
2281
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
2968
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaCatalogsResponse({}));
|
|
2282
2969
|
}
|
|
2283
2970
|
/**
|
|
2284
|
-
*
|
|
2971
|
+
* Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
|
|
2285
2972
|
*
|
|
2286
2973
|
* @remarks
|
|
2287
|
-
*
|
|
2974
|
+
* Lists all data catalogs bound to a Luma Agent. Returns the complete set of bindings without pagination.
|
|
2288
2975
|
*
|
|
2289
|
-
* @param request -
|
|
2290
|
-
* @returns
|
|
2976
|
+
* @param request - ListLumaCatalogsRequest
|
|
2977
|
+
* @returns ListLumaCatalogsResponse
|
|
2291
2978
|
*/
|
|
2292
|
-
async
|
|
2979
|
+
async listLumaCatalogs(request) {
|
|
2293
2980
|
let runtime = new $dara.RuntimeOptions({});
|
|
2294
|
-
return await this.
|
|
2981
|
+
return await this.listLumaCatalogsWithOptions(request, runtime);
|
|
2295
2982
|
}
|
|
2296
2983
|
/**
|
|
2297
|
-
*
|
|
2984
|
+
* Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
|
|
2298
2985
|
*
|
|
2299
|
-
* @
|
|
2986
|
+
* @remarks
|
|
2987
|
+
* Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
|
|
2988
|
+
*
|
|
2989
|
+
* @param request - ListLumaChunksRequest
|
|
2300
2990
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2301
|
-
* @returns
|
|
2991
|
+
* @returns ListLumaChunksResponse
|
|
2302
2992
|
*/
|
|
2303
|
-
async
|
|
2993
|
+
async listLumaChunksWithOptions(request, runtime) {
|
|
2304
2994
|
request.validate();
|
|
2305
|
-
let
|
|
2306
|
-
if (!$dara.isNull(request.
|
|
2307
|
-
|
|
2995
|
+
let body = {};
|
|
2996
|
+
if (!$dara.isNull(request.agentName)) {
|
|
2997
|
+
body["AgentName"] = request.agentName;
|
|
2998
|
+
}
|
|
2999
|
+
if (!$dara.isNull(request.catalog)) {
|
|
3000
|
+
body["Catalog"] = request.catalog;
|
|
3001
|
+
}
|
|
3002
|
+
if (!$dara.isNull(request.documentId)) {
|
|
3003
|
+
body["DocumentId"] = request.documentId;
|
|
3004
|
+
}
|
|
3005
|
+
if (!$dara.isNull(request.enabled)) {
|
|
3006
|
+
body["Enabled"] = request.enabled;
|
|
3007
|
+
}
|
|
3008
|
+
if (!$dara.isNull(request.keyword)) {
|
|
3009
|
+
body["Keyword"] = request.keyword;
|
|
3010
|
+
}
|
|
3011
|
+
if (!$dara.isNull(request.knowledgeBaseName)) {
|
|
3012
|
+
body["KnowledgeBaseName"] = request.knowledgeBaseName;
|
|
3013
|
+
}
|
|
3014
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3015
|
+
body["MaxResults"] = request.maxResults;
|
|
3016
|
+
}
|
|
3017
|
+
if (!$dara.isNull(request.namespace)) {
|
|
3018
|
+
body["Namespace"] = request.namespace;
|
|
2308
3019
|
}
|
|
2309
3020
|
if (!$dara.isNull(request.nextToken)) {
|
|
2310
|
-
|
|
3021
|
+
body["NextToken"] = request.nextToken;
|
|
2311
3022
|
}
|
|
2312
3023
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2313
|
-
|
|
3024
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2314
3025
|
});
|
|
2315
3026
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2316
|
-
action: "
|
|
3027
|
+
action: "ListLumaChunks",
|
|
2317
3028
|
version: "2020-04-01",
|
|
2318
3029
|
protocol: "HTTPS",
|
|
2319
3030
|
pathname: "/",
|
|
@@ -2323,48 +3034,63 @@ class Client extends openapi_core_1.default {
|
|
|
2323
3034
|
reqBodyType: "formData",
|
|
2324
3035
|
bodyType: "json",
|
|
2325
3036
|
});
|
|
2326
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3037
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaChunksResponse({}));
|
|
2327
3038
|
}
|
|
2328
3039
|
/**
|
|
2329
|
-
*
|
|
3040
|
+
* Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
|
|
2330
3041
|
*
|
|
2331
|
-
* @
|
|
2332
|
-
*
|
|
3042
|
+
* @remarks
|
|
3043
|
+
* Lists text chunks in a knowledge base bound to a Luma Agent, with support for filtering by document, keyword, and enabled status.
|
|
3044
|
+
*
|
|
3045
|
+
* @param request - ListLumaChunksRequest
|
|
3046
|
+
* @returns ListLumaChunksResponse
|
|
2333
3047
|
*/
|
|
2334
|
-
async
|
|
3048
|
+
async listLumaChunks(request) {
|
|
2335
3049
|
let runtime = new $dara.RuntimeOptions({});
|
|
2336
|
-
return await this.
|
|
3050
|
+
return await this.listLumaChunksWithOptions(request, runtime);
|
|
2337
3051
|
}
|
|
2338
3052
|
/**
|
|
2339
|
-
*
|
|
3053
|
+
* Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
|
|
2340
3054
|
*
|
|
2341
3055
|
* @remarks
|
|
2342
|
-
*
|
|
3056
|
+
* Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
|
|
2343
3057
|
*
|
|
2344
|
-
* @param request -
|
|
3058
|
+
* @param request - ListLumaDocumentsRequest
|
|
2345
3059
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2346
|
-
* @returns
|
|
3060
|
+
* @returns ListLumaDocumentsResponse
|
|
2347
3061
|
*/
|
|
2348
|
-
async
|
|
3062
|
+
async listLumaDocumentsWithOptions(request, runtime) {
|
|
2349
3063
|
request.validate();
|
|
2350
3064
|
let body = {};
|
|
2351
|
-
if (!$dara.isNull(request.
|
|
2352
|
-
body["
|
|
3065
|
+
if (!$dara.isNull(request.agentName)) {
|
|
3066
|
+
body["AgentName"] = request.agentName;
|
|
3067
|
+
}
|
|
3068
|
+
if (!$dara.isNull(request.catalog)) {
|
|
3069
|
+
body["Catalog"] = request.catalog;
|
|
3070
|
+
}
|
|
3071
|
+
if (!$dara.isNull(request.fileNamePrefix)) {
|
|
3072
|
+
body["FileNamePrefix"] = request.fileNamePrefix;
|
|
3073
|
+
}
|
|
3074
|
+
if (!$dara.isNull(request.knowledgeBaseName)) {
|
|
3075
|
+
body["KnowledgeBaseName"] = request.knowledgeBaseName;
|
|
2353
3076
|
}
|
|
2354
3077
|
if (!$dara.isNull(request.maxResults)) {
|
|
2355
3078
|
body["MaxResults"] = request.maxResults;
|
|
2356
3079
|
}
|
|
3080
|
+
if (!$dara.isNull(request.namespace)) {
|
|
3081
|
+
body["Namespace"] = request.namespace;
|
|
3082
|
+
}
|
|
2357
3083
|
if (!$dara.isNull(request.nextToken)) {
|
|
2358
3084
|
body["NextToken"] = request.nextToken;
|
|
2359
3085
|
}
|
|
2360
|
-
if (!$dara.isNull(request.
|
|
2361
|
-
body["
|
|
3086
|
+
if (!$dara.isNull(request.status)) {
|
|
3087
|
+
body["Status"] = request.status;
|
|
2362
3088
|
}
|
|
2363
3089
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2364
3090
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2365
3091
|
});
|
|
2366
3092
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2367
|
-
action: "
|
|
3093
|
+
action: "ListLumaDocuments",
|
|
2368
3094
|
version: "2020-04-01",
|
|
2369
3095
|
protocol: "HTTPS",
|
|
2370
3096
|
pathname: "/",
|
|
@@ -2374,48 +3100,54 @@ class Client extends openapi_core_1.default {
|
|
|
2374
3100
|
reqBodyType: "formData",
|
|
2375
3101
|
bodyType: "json",
|
|
2376
3102
|
});
|
|
2377
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3103
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaDocumentsResponse({}));
|
|
2378
3104
|
}
|
|
2379
3105
|
/**
|
|
2380
|
-
*
|
|
3106
|
+
* Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
|
|
2381
3107
|
*
|
|
2382
3108
|
* @remarks
|
|
2383
|
-
*
|
|
3109
|
+
* Lists documents in a knowledge base bound to a Luma Agent, with support for filtering by file name prefix and processing status.
|
|
2384
3110
|
*
|
|
2385
|
-
* @param request -
|
|
2386
|
-
* @returns
|
|
3111
|
+
* @param request - ListLumaDocumentsRequest
|
|
3112
|
+
* @returns ListLumaDocumentsResponse
|
|
2387
3113
|
*/
|
|
2388
|
-
async
|
|
3114
|
+
async listLumaDocuments(request) {
|
|
2389
3115
|
let runtime = new $dara.RuntimeOptions({});
|
|
2390
|
-
return await this.
|
|
3116
|
+
return await this.listLumaDocumentsWithOptions(request, runtime);
|
|
2391
3117
|
}
|
|
2392
3118
|
/**
|
|
2393
|
-
*
|
|
3119
|
+
* Lists all knowledge bases bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
|
|
2394
3120
|
*
|
|
2395
3121
|
* @remarks
|
|
2396
|
-
*
|
|
3122
|
+
* Lists the knowledge bases bound to a Luma Agent in a specified namespace. Results are returned in pages. To retrieve the next page, pass the NextToken value from the previous response. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than MaxResults. Do not determine whether the last page is reached based on an insufficient number of entries on the current page.
|
|
2397
3123
|
*
|
|
2398
|
-
* @param request -
|
|
3124
|
+
* @param request - ListLumaKnowledgeBasesRequest
|
|
2399
3125
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2400
|
-
* @returns
|
|
3126
|
+
* @returns ListLumaKnowledgeBasesResponse
|
|
2401
3127
|
*/
|
|
2402
|
-
async
|
|
3128
|
+
async listLumaKnowledgeBasesWithOptions(request, runtime) {
|
|
2403
3129
|
request.validate();
|
|
2404
|
-
let
|
|
2405
|
-
if (!$dara.isNull(request.
|
|
2406
|
-
|
|
3130
|
+
let body = {};
|
|
3131
|
+
if (!$dara.isNull(request.agentName)) {
|
|
3132
|
+
body["AgentName"] = request.agentName;
|
|
2407
3133
|
}
|
|
2408
|
-
if (!$dara.isNull(request.
|
|
2409
|
-
|
|
3134
|
+
if (!$dara.isNull(request.catalog)) {
|
|
3135
|
+
body["Catalog"] = request.catalog;
|
|
3136
|
+
}
|
|
3137
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3138
|
+
body["MaxResults"] = request.maxResults;
|
|
3139
|
+
}
|
|
3140
|
+
if (!$dara.isNull(request.namespace)) {
|
|
3141
|
+
body["Namespace"] = request.namespace;
|
|
2410
3142
|
}
|
|
2411
3143
|
if (!$dara.isNull(request.nextToken)) {
|
|
2412
|
-
|
|
3144
|
+
body["NextToken"] = request.nextToken;
|
|
2413
3145
|
}
|
|
2414
3146
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2415
|
-
|
|
3147
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2416
3148
|
});
|
|
2417
3149
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2418
|
-
action: "
|
|
3150
|
+
action: "ListLumaKnowledgeBases",
|
|
2419
3151
|
version: "2020-04-01",
|
|
2420
3152
|
protocol: "HTTPS",
|
|
2421
3153
|
pathname: "/",
|
|
@@ -2425,42 +3157,51 @@ class Client extends openapi_core_1.default {
|
|
|
2425
3157
|
reqBodyType: "formData",
|
|
2426
3158
|
bodyType: "json",
|
|
2427
3159
|
});
|
|
2428
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3160
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaKnowledgeBasesResponse({}));
|
|
2429
3161
|
}
|
|
2430
3162
|
/**
|
|
2431
|
-
*
|
|
3163
|
+
* Lists all knowledge bases bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
|
|
2432
3164
|
*
|
|
2433
3165
|
* @remarks
|
|
2434
|
-
*
|
|
3166
|
+
* Lists the knowledge bases bound to a Luma Agent in a specified namespace. Results are returned in pages. To retrieve the next page, pass the NextToken value from the previous response. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than MaxResults. Do not determine whether the last page is reached based on an insufficient number of entries on the current page.
|
|
2435
3167
|
*
|
|
2436
|
-
* @param request -
|
|
2437
|
-
* @returns
|
|
3168
|
+
* @param request - ListLumaKnowledgeBasesRequest
|
|
3169
|
+
* @returns ListLumaKnowledgeBasesResponse
|
|
2438
3170
|
*/
|
|
2439
|
-
async
|
|
3171
|
+
async listLumaKnowledgeBases(request) {
|
|
2440
3172
|
let runtime = new $dara.RuntimeOptions({});
|
|
2441
|
-
return await this.
|
|
3173
|
+
return await this.listLumaKnowledgeBasesWithOptions(request, runtime);
|
|
2442
3174
|
}
|
|
2443
3175
|
/**
|
|
2444
|
-
*
|
|
3176
|
+
* Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
|
|
2445
3177
|
*
|
|
2446
|
-
* @
|
|
3178
|
+
* @remarks
|
|
3179
|
+
* Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
|
|
3180
|
+
*
|
|
3181
|
+
* @param request - ListLumaNamespacesRequest
|
|
2447
3182
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2448
|
-
* @returns
|
|
3183
|
+
* @returns ListLumaNamespacesResponse
|
|
2449
3184
|
*/
|
|
2450
|
-
async
|
|
3185
|
+
async listLumaNamespacesWithOptions(request, runtime) {
|
|
2451
3186
|
request.validate();
|
|
2452
|
-
let
|
|
2453
|
-
if (!$dara.isNull(request.
|
|
2454
|
-
|
|
3187
|
+
let body = {};
|
|
3188
|
+
if (!$dara.isNull(request.agentName)) {
|
|
3189
|
+
body["AgentName"] = request.agentName;
|
|
3190
|
+
}
|
|
3191
|
+
if (!$dara.isNull(request.catalog)) {
|
|
3192
|
+
body["Catalog"] = request.catalog;
|
|
3193
|
+
}
|
|
3194
|
+
if (!$dara.isNull(request.limit)) {
|
|
3195
|
+
body["Limit"] = request.limit;
|
|
2455
3196
|
}
|
|
2456
3197
|
if (!$dara.isNull(request.nextToken)) {
|
|
2457
|
-
|
|
3198
|
+
body["NextToken"] = request.nextToken;
|
|
2458
3199
|
}
|
|
2459
3200
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2460
|
-
|
|
3201
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2461
3202
|
});
|
|
2462
3203
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2463
|
-
action: "
|
|
3204
|
+
action: "ListLumaNamespaces",
|
|
2464
3205
|
version: "2020-04-01",
|
|
2465
3206
|
protocol: "HTTPS",
|
|
2466
3207
|
pathname: "/",
|
|
@@ -2470,54 +3211,54 @@ class Client extends openapi_core_1.default {
|
|
|
2470
3211
|
reqBodyType: "formData",
|
|
2471
3212
|
bodyType: "json",
|
|
2472
3213
|
});
|
|
2473
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3214
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaNamespacesResponse({}));
|
|
2474
3215
|
}
|
|
2475
3216
|
/**
|
|
2476
|
-
*
|
|
3217
|
+
* Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
|
|
2477
3218
|
*
|
|
2478
|
-
* @
|
|
2479
|
-
*
|
|
3219
|
+
* @remarks
|
|
3220
|
+
* Lists all namespaces bound to a Luma Agent under a specified data catalog. Returns the complete set of bindings without pagination.
|
|
3221
|
+
*
|
|
3222
|
+
* @param request - ListLumaNamespacesRequest
|
|
3223
|
+
* @returns ListLumaNamespacesResponse
|
|
2480
3224
|
*/
|
|
2481
|
-
async
|
|
3225
|
+
async listLumaNamespaces(request) {
|
|
2482
3226
|
let runtime = new $dara.RuntimeOptions({});
|
|
2483
|
-
return await this.
|
|
3227
|
+
return await this.listLumaNamespacesWithOptions(request, runtime);
|
|
2484
3228
|
}
|
|
2485
3229
|
/**
|
|
2486
|
-
*
|
|
3230
|
+
* Lists all event tables bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
|
|
2487
3231
|
*
|
|
2488
3232
|
* @remarks
|
|
2489
|
-
*
|
|
3233
|
+
* Lists the event tables bound to a Luma Agent in a specified namespace. Results are returned in pages. Pass the NextToken from the previous response to retrieve the next page. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than the Limit value. Do not use an insufficient number of entries on the current page to determine that the last page has been reached.
|
|
2490
3234
|
*
|
|
2491
|
-
* @param request -
|
|
3235
|
+
* @param request - ListLumaTablesRequest
|
|
2492
3236
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2493
|
-
* @returns
|
|
3237
|
+
* @returns ListLumaTablesResponse
|
|
2494
3238
|
*/
|
|
2495
|
-
async
|
|
3239
|
+
async listLumaTablesWithOptions(request, runtime) {
|
|
2496
3240
|
request.validate();
|
|
2497
3241
|
let body = {};
|
|
3242
|
+
if (!$dara.isNull(request.agentName)) {
|
|
3243
|
+
body["AgentName"] = request.agentName;
|
|
3244
|
+
}
|
|
3245
|
+
if (!$dara.isNull(request.catalog)) {
|
|
3246
|
+
body["Catalog"] = request.catalog;
|
|
3247
|
+
}
|
|
2498
3248
|
if (!$dara.isNull(request.limit)) {
|
|
2499
3249
|
body["Limit"] = request.limit;
|
|
2500
3250
|
}
|
|
2501
|
-
if (!$dara.isNull(request.
|
|
2502
|
-
body["
|
|
3251
|
+
if (!$dara.isNull(request.namespace)) {
|
|
3252
|
+
body["Namespace"] = request.namespace;
|
|
2503
3253
|
}
|
|
2504
3254
|
if (!$dara.isNull(request.nextToken)) {
|
|
2505
3255
|
body["NextToken"] = request.nextToken;
|
|
2506
3256
|
}
|
|
2507
|
-
if (!$dara.isNull(request.sinkArn)) {
|
|
2508
|
-
body["SinkArn"] = request.sinkArn;
|
|
2509
|
-
}
|
|
2510
|
-
if (!$dara.isNull(request.sourceArn)) {
|
|
2511
|
-
body["SourceArn"] = request.sourceArn;
|
|
2512
|
-
}
|
|
2513
|
-
if (!$dara.isNull(request.tags)) {
|
|
2514
|
-
body["Tags"] = request.tags;
|
|
2515
|
-
}
|
|
2516
3257
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2517
3258
|
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2518
3259
|
});
|
|
2519
3260
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2520
|
-
action: "
|
|
3261
|
+
action: "ListLumaTables",
|
|
2521
3262
|
version: "2020-04-01",
|
|
2522
3263
|
protocol: "HTTPS",
|
|
2523
3264
|
pathname: "/",
|
|
@@ -2527,20 +3268,20 @@ class Client extends openapi_core_1.default {
|
|
|
2527
3268
|
reqBodyType: "formData",
|
|
2528
3269
|
bodyType: "json",
|
|
2529
3270
|
});
|
|
2530
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3271
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListLumaTablesResponse({}));
|
|
2531
3272
|
}
|
|
2532
3273
|
/**
|
|
2533
|
-
*
|
|
3274
|
+
* Lists all event tables bound to a Luma Agent in a specified namespace. Returns the complete set of bindings without pagination.
|
|
2534
3275
|
*
|
|
2535
3276
|
* @remarks
|
|
2536
|
-
*
|
|
3277
|
+
* Lists the event tables bound to a Luma Agent in a specified namespace. Results are returned in pages. Pass the NextToken from the previous response to retrieve the next page. An empty NextToken indicates that no more data is available. Expired bindings are skipped, so the number of entries on a single page may be less than the Limit value. Do not use an insufficient number of entries on the current page to determine that the last page has been reached.
|
|
2537
3278
|
*
|
|
2538
|
-
* @param request -
|
|
2539
|
-
* @returns
|
|
3279
|
+
* @param request - ListLumaTablesRequest
|
|
3280
|
+
* @returns ListLumaTablesResponse
|
|
2540
3281
|
*/
|
|
2541
|
-
async
|
|
3282
|
+
async listLumaTables(request) {
|
|
2542
3283
|
let runtime = new $dara.RuntimeOptions({});
|
|
2543
|
-
return await this.
|
|
3284
|
+
return await this.listLumaTablesWithOptions(request, runtime);
|
|
2544
3285
|
}
|
|
2545
3286
|
/**
|
|
2546
3287
|
* Query namespace list
|
|
@@ -2840,7 +3581,7 @@ class Client extends openapi_core_1.default {
|
|
|
2840
3581
|
return await this.pauseEventStreamingWithOptions(request, runtime);
|
|
2841
3582
|
}
|
|
2842
3583
|
/**
|
|
2843
|
-
* Polls for natural language query
|
|
3584
|
+
* Polls for the result of a natural language query.
|
|
2844
3585
|
*
|
|
2845
3586
|
* @param request - PollAskResultRequest
|
|
2846
3587
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2872,7 +3613,7 @@ class Client extends openapi_core_1.default {
|
|
|
2872
3613
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.PollAskResultResponse({}));
|
|
2873
3614
|
}
|
|
2874
3615
|
/**
|
|
2875
|
-
* Polls for natural language query
|
|
3616
|
+
* Polls for the result of a natural language query.
|
|
2876
3617
|
*
|
|
2877
3618
|
* @param request - PollAskResultRequest
|
|
2878
3619
|
* @returns PollAskResultResponse
|
|
@@ -3230,6 +3971,57 @@ class Client extends openapi_core_1.default {
|
|
|
3230
3971
|
let runtime = new $dara.RuntimeOptions({});
|
|
3231
3972
|
return await this.queryEventTracesWithOptions(request, runtime);
|
|
3232
3973
|
}
|
|
3974
|
+
/**
|
|
3975
|
+
* Executes an SQL query directly on the EventHouse associated with a Luma Agent and returns structured results. Unlike AskLuma, this operation executes the SQL provided by the caller without natural language rewriting.
|
|
3976
|
+
*
|
|
3977
|
+
* @remarks
|
|
3978
|
+
* Executes an SQL query directly on the EventHouse associated with a Luma Agent and returns structured results. Unlike AskLuma, this operation executes the SQL provided by the caller without natural language rewriting.
|
|
3979
|
+
*
|
|
3980
|
+
* @param request - QueryLumaWithSQLRequest
|
|
3981
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3982
|
+
* @returns QueryLumaWithSQLResponse
|
|
3983
|
+
*/
|
|
3984
|
+
async queryLumaWithSQLWithOptions(request, runtime) {
|
|
3985
|
+
request.validate();
|
|
3986
|
+
let body = {};
|
|
3987
|
+
if (!$dara.isNull(request.agentName)) {
|
|
3988
|
+
body["AgentName"] = request.agentName;
|
|
3989
|
+
}
|
|
3990
|
+
if (!$dara.isNull(request.maxRows)) {
|
|
3991
|
+
body["MaxRows"] = request.maxRows;
|
|
3992
|
+
}
|
|
3993
|
+
if (!$dara.isNull(request.sql)) {
|
|
3994
|
+
body["Sql"] = request.sql;
|
|
3995
|
+
}
|
|
3996
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3997
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
3998
|
+
});
|
|
3999
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4000
|
+
action: "QueryLumaWithSQL",
|
|
4001
|
+
version: "2020-04-01",
|
|
4002
|
+
protocol: "HTTPS",
|
|
4003
|
+
pathname: "/",
|
|
4004
|
+
method: "POST",
|
|
4005
|
+
authType: "AK",
|
|
4006
|
+
style: "RPC",
|
|
4007
|
+
reqBodyType: "formData",
|
|
4008
|
+
bodyType: "json",
|
|
4009
|
+
});
|
|
4010
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryLumaWithSQLResponse({}));
|
|
4011
|
+
}
|
|
4012
|
+
/**
|
|
4013
|
+
* Executes an SQL query directly on the EventHouse associated with a Luma Agent and returns structured results. Unlike AskLuma, this operation executes the SQL provided by the caller without natural language rewriting.
|
|
4014
|
+
*
|
|
4015
|
+
* @remarks
|
|
4016
|
+
* Executes an SQL query directly on the EventHouse associated with a Luma Agent and returns structured results. Unlike AskLuma, this operation executes the SQL provided by the caller without natural language rewriting.
|
|
4017
|
+
*
|
|
4018
|
+
* @param request - QueryLumaWithSQLRequest
|
|
4019
|
+
* @returns QueryLumaWithSQLResponse
|
|
4020
|
+
*/
|
|
4021
|
+
async queryLumaWithSQL(request) {
|
|
4022
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4023
|
+
return await this.queryLumaWithSQLWithOptions(request, runtime);
|
|
4024
|
+
}
|
|
3233
4025
|
/**
|
|
3234
4026
|
* Queries event traces by event ID.
|
|
3235
4027
|
*
|
|
@@ -3415,6 +4207,75 @@ class Client extends openapi_core_1.default {
|
|
|
3415
4207
|
let runtime = new $dara.RuntimeOptions({});
|
|
3416
4208
|
return await this.saveAgentDataSemanticsWithOptions(request, runtime);
|
|
3417
4209
|
}
|
|
4210
|
+
/**
|
|
4211
|
+
* Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
|
|
4212
|
+
*
|
|
4213
|
+
* @remarks
|
|
4214
|
+
* Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
|
|
4215
|
+
*
|
|
4216
|
+
* @param request - SearchLumaKnowledgeBaseRequest
|
|
4217
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4218
|
+
* @returns SearchLumaKnowledgeBaseResponse
|
|
4219
|
+
*/
|
|
4220
|
+
async searchLumaKnowledgeBaseWithOptions(request, runtime) {
|
|
4221
|
+
request.validate();
|
|
4222
|
+
let body = {};
|
|
4223
|
+
if (!$dara.isNull(request.agentName)) {
|
|
4224
|
+
body["AgentName"] = request.agentName;
|
|
4225
|
+
}
|
|
4226
|
+
if (!$dara.isNull(request.catalog)) {
|
|
4227
|
+
body["Catalog"] = request.catalog;
|
|
4228
|
+
}
|
|
4229
|
+
if (!$dara.isNull(request.knowledgeBaseName)) {
|
|
4230
|
+
body["KnowledgeBaseName"] = request.knowledgeBaseName;
|
|
4231
|
+
}
|
|
4232
|
+
if (!$dara.isNull(request.metadataFilter)) {
|
|
4233
|
+
body["MetadataFilter"] = request.metadataFilter;
|
|
4234
|
+
}
|
|
4235
|
+
if (!$dara.isNull(request.mode)) {
|
|
4236
|
+
body["Mode"] = request.mode;
|
|
4237
|
+
}
|
|
4238
|
+
if (!$dara.isNull(request.namespace)) {
|
|
4239
|
+
body["Namespace"] = request.namespace;
|
|
4240
|
+
}
|
|
4241
|
+
if (!$dara.isNull(request.query)) {
|
|
4242
|
+
body["Query"] = request.query;
|
|
4243
|
+
}
|
|
4244
|
+
if (!$dara.isNull(request.rerank)) {
|
|
4245
|
+
body["Rerank"] = request.rerank;
|
|
4246
|
+
}
|
|
4247
|
+
if (!$dara.isNull(request.topK)) {
|
|
4248
|
+
body["TopK"] = request.topK;
|
|
4249
|
+
}
|
|
4250
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4251
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
4252
|
+
});
|
|
4253
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4254
|
+
action: "SearchLumaKnowledgeBase",
|
|
4255
|
+
version: "2020-04-01",
|
|
4256
|
+
protocol: "HTTPS",
|
|
4257
|
+
pathname: "/",
|
|
4258
|
+
method: "POST",
|
|
4259
|
+
authType: "AK",
|
|
4260
|
+
style: "RPC",
|
|
4261
|
+
reqBodyType: "formData",
|
|
4262
|
+
bodyType: "json",
|
|
4263
|
+
});
|
|
4264
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchLumaKnowledgeBaseResponse({}));
|
|
4265
|
+
}
|
|
4266
|
+
/**
|
|
4267
|
+
* Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
|
|
4268
|
+
*
|
|
4269
|
+
* @remarks
|
|
4270
|
+
* Retrieves content from a knowledge base bound to a Luma Agent and returns relevant text chunks along with their relevance scores.
|
|
4271
|
+
*
|
|
4272
|
+
* @param request - SearchLumaKnowledgeBaseRequest
|
|
4273
|
+
* @returns SearchLumaKnowledgeBaseResponse
|
|
4274
|
+
*/
|
|
4275
|
+
async searchLumaKnowledgeBase(request) {
|
|
4276
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4277
|
+
return await this.searchLumaKnowledgeBaseWithOptions(request, runtime);
|
|
4278
|
+
}
|
|
3418
4279
|
/**
|
|
3419
4280
|
* Enables a created or disabled event stream.
|
|
3420
4281
|
*
|
|
@@ -3579,6 +4440,12 @@ class Client extends openapi_core_1.default {
|
|
|
3579
4440
|
if (!$dara.isNull(request.description)) {
|
|
3580
4441
|
body["Description"] = request.description;
|
|
3581
4442
|
}
|
|
4443
|
+
if (!$dara.isNull(request.mcpServerId)) {
|
|
4444
|
+
body["McpServerId"] = request.mcpServerId;
|
|
4445
|
+
}
|
|
4446
|
+
if (!$dara.isNull(request.mcpServerName)) {
|
|
4447
|
+
body["McpServerName"] = request.mcpServerName;
|
|
4448
|
+
}
|
|
3582
4449
|
if (!$dara.isNull(request.metadataShrink)) {
|
|
3583
4450
|
body["Metadata"] = request.metadataShrink;
|
|
3584
4451
|
}
|