@alicloud/dms20250414 1.20.0 → 1.20.2
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 +6 -6
- package/dist/client.js +12 -6
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigDataAgentMemoryRequest.d.ts +17 -0
- package/dist/models/ConfigDataAgentMemoryRequest.js.map +1 -1
- package/dist/models/ConfigDataAgentMemoryResponseBody.d.ts +33 -0
- package/dist/models/ConfigDataAgentMemoryResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +28 -27
- package/dist/models/CreateCustomAgentRequest.js +2 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +13 -12
- package/dist/models/CreateCustomAgentResponseBody.js +2 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +27 -27
- package/dist/models/DescribeCustomAgentResponseBody.d.ts +10 -9
- package/dist/models/DescribeCustomAgentResponseBody.js +2 -0
- package/dist/models/DescribeCustomAgentResponseBody.js.map +1 -1
- package/dist/models/Dlcatalog.d.ts +0 -9
- package/dist/models/Dlcatalog.js.map +1 -1
- package/dist/models/Dlcolumn.d.ts +1 -1
- package/dist/models/Dldatabase.d.ts +1 -1
- package/dist/models/Dlorder.d.ts +1 -1
- package/dist/models/DlresourceUri.d.ts +1 -4
- package/dist/models/DlresourceUri.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +1 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.js +2 -0
- package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +1 -1
- package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +3 -2
- package/dist/models/GetDataAgentTaskModelUsageRequest.js +2 -0
- package/dist/models/GetDataAgentTaskModelUsageRequest.js.map +1 -1
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +9 -5
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js +8 -0
- package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
- package/dist/models/GetSqlConsoleOperationLogRequest.d.ts +1 -1
- package/dist/models/ListCustomAgentResponseBody.d.ts +1 -0
- package/dist/models/ListCustomAgentResponseBody.js +2 -0
- package/dist/models/ListCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentRequest.d.ts +12 -14
- package/dist/models/ModifyCustomAgentRequest.js +2 -0
- package/dist/models/ModifyCustomAgentRequest.js.map +1 -1
- package/dist/models/ModifyCustomAgentResponseBody.d.ts +7 -6
- package/dist/models/ModifyCustomAgentResponseBody.js +2 -0
- package/dist/models/ModifyCustomAgentResponseBody.js.map +1 -1
- package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +10 -13
- package/dist/models/ModifyCustomAgentShrinkRequest.js.map +1 -1
- package/dist/models/PartitionError.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -6
- package/src/models/ConfigDataAgentMemoryRequest.ts +17 -0
- package/src/models/ConfigDataAgentMemoryResponseBody.ts +33 -0
- package/src/models/CreateCustomAgentRequest.ts +30 -27
- package/src/models/CreateCustomAgentResponseBody.ts +15 -12
- package/src/models/CreateCustomAgentShrinkRequest.ts +27 -27
- package/src/models/DescribeCustomAgentResponseBody.ts +12 -9
- package/src/models/Dlcatalog.ts +0 -9
- package/src/models/Dlcolumn.ts +1 -1
- package/src/models/Dldatabase.ts +1 -1
- package/src/models/Dlorder.ts +1 -1
- package/src/models/DlresourceUri.ts +1 -4
- package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +3 -0
- package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +1 -1
- package/src/models/GetDataAgentTaskModelUsageRequest.ts +5 -2
- package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +17 -5
- package/src/models/GetSqlConsoleOperationLogRequest.ts +1 -1
- package/src/models/ListCustomAgentResponseBody.ts +3 -0
- package/src/models/ModifyCustomAgentRequest.ts +14 -14
- package/src/models/ModifyCustomAgentResponseBody.ts +9 -6
- package/src/models/ModifyCustomAgentShrinkRequest.ts +10 -13
- package/src/models/PartitionError.ts +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -105,7 +105,7 @@ export default class Client extends OpenApi {
|
|
|
105
105
|
*/
|
|
106
106
|
configAirflow(request: $_model.ConfigAirflowRequest): Promise<$_model.ConfigAirflowResponse>;
|
|
107
107
|
/**
|
|
108
|
-
*
|
|
108
|
+
* Configures memory generation and usage for a DataAgent.
|
|
109
109
|
*
|
|
110
110
|
* @param request - ConfigDataAgentMemoryRequest
|
|
111
111
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -113,7 +113,7 @@ export default class Client extends OpenApi {
|
|
|
113
113
|
*/
|
|
114
114
|
configDataAgentMemoryWithOptions(request: $_model.ConfigDataAgentMemoryRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ConfigDataAgentMemoryResponse>;
|
|
115
115
|
/**
|
|
116
|
-
*
|
|
116
|
+
* Configures memory generation and usage for a DataAgent.
|
|
117
117
|
*
|
|
118
118
|
* @param request - ConfigDataAgentMemoryRequest
|
|
119
119
|
* @returns ConfigDataAgentMemoryResponse
|
|
@@ -543,7 +543,7 @@ export default class Client extends OpenApi {
|
|
|
543
543
|
*/
|
|
544
544
|
deleteWorkspaceCode(request: $_model.DeleteWorkspaceCodeRequest): Promise<$_model.DeleteWorkspaceCodeResponse>;
|
|
545
545
|
/**
|
|
546
|
-
* Retrieves the details of a custom agent by
|
|
546
|
+
* Retrieves the details of a custom agent by custom agent ID.
|
|
547
547
|
*
|
|
548
548
|
* @param request - DescribeCustomAgentRequest
|
|
549
549
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -551,7 +551,7 @@ export default class Client extends OpenApi {
|
|
|
551
551
|
*/
|
|
552
552
|
describeCustomAgentWithOptions(request: $_model.DescribeCustomAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCustomAgentResponse>;
|
|
553
553
|
/**
|
|
554
|
-
* Retrieves the details of a custom agent by
|
|
554
|
+
* Retrieves the details of a custom agent by custom agent ID.
|
|
555
555
|
*
|
|
556
556
|
* @param request - DescribeCustomAgentRequest
|
|
557
557
|
* @returns DescribeCustomAgentResponse
|
|
@@ -764,7 +764,7 @@ export default class Client extends OpenApi {
|
|
|
764
764
|
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total call count, total tokens consumed, and peak TPM.
|
|
765
765
|
*
|
|
766
766
|
* @remarks
|
|
767
|
-
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor
|
|
767
|
+
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor model resource consumption of DataAgent analysis tasks.
|
|
768
768
|
*
|
|
769
769
|
* @param request - GetDataAgentTaskModelUsageRequest
|
|
770
770
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -775,7 +775,7 @@ export default class Client extends OpenApi {
|
|
|
775
775
|
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total call count, total tokens consumed, and peak TPM.
|
|
776
776
|
*
|
|
777
777
|
* @remarks
|
|
778
|
-
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor
|
|
778
|
+
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor model resource consumption of DataAgent analysis tasks.
|
|
779
779
|
*
|
|
780
780
|
* @param request - GetDataAgentTaskModelUsageRequest
|
|
781
781
|
* @returns GetDataAgentTaskModelUsageResponse
|
package/dist/client.js
CHANGED
|
@@ -420,7 +420,7 @@ class Client extends openapi_core_1.default {
|
|
|
420
420
|
return await this.configAirflowWithOptions(request, runtime);
|
|
421
421
|
}
|
|
422
422
|
/**
|
|
423
|
-
*
|
|
423
|
+
* Configures memory generation and usage for a DataAgent.
|
|
424
424
|
*
|
|
425
425
|
* @param request - ConfigDataAgentMemoryRequest
|
|
426
426
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -455,7 +455,7 @@ class Client extends openapi_core_1.default {
|
|
|
455
455
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ConfigDataAgentMemoryResponse({}));
|
|
456
456
|
}
|
|
457
457
|
/**
|
|
458
|
-
*
|
|
458
|
+
* Configures memory generation and usage for a DataAgent.
|
|
459
459
|
*
|
|
460
460
|
* @param request - ConfigDataAgentMemoryRequest
|
|
461
461
|
* @returns ConfigDataAgentMemoryResponse
|
|
@@ -1949,7 +1949,7 @@ class Client extends openapi_core_1.default {
|
|
|
1949
1949
|
return await this.deleteWorkspaceCodeWithOptions(request, runtime);
|
|
1950
1950
|
}
|
|
1951
1951
|
/**
|
|
1952
|
-
* Retrieves the details of a custom agent by
|
|
1952
|
+
* Retrieves the details of a custom agent by custom agent ID.
|
|
1953
1953
|
*
|
|
1954
1954
|
* @param request - DescribeCustomAgentRequest
|
|
1955
1955
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1981,7 +1981,7 @@ class Client extends openapi_core_1.default {
|
|
|
1981
1981
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCustomAgentResponse({}));
|
|
1982
1982
|
}
|
|
1983
1983
|
/**
|
|
1984
|
-
* Retrieves the details of a custom agent by
|
|
1984
|
+
* Retrieves the details of a custom agent by custom agent ID.
|
|
1985
1985
|
*
|
|
1986
1986
|
* @param request - DescribeCustomAgentRequest
|
|
1987
1987
|
* @returns DescribeCustomAgentResponse
|
|
@@ -2602,7 +2602,7 @@ class Client extends openapi_core_1.default {
|
|
|
2602
2602
|
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total call count, total tokens consumed, and peak TPM.
|
|
2603
2603
|
*
|
|
2604
2604
|
* @remarks
|
|
2605
|
-
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor
|
|
2605
|
+
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor model resource consumption of DataAgent analysis tasks.
|
|
2606
2606
|
*
|
|
2607
2607
|
* @param request - GetDataAgentTaskModelUsageRequest
|
|
2608
2608
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2620,6 +2620,9 @@ class Client extends openapi_core_1.default {
|
|
|
2620
2620
|
if (!$dara.isNull(request.endTime)) {
|
|
2621
2621
|
query["EndTime"] = request.endTime;
|
|
2622
2622
|
}
|
|
2623
|
+
if (!$dara.isNull(request.payLevel)) {
|
|
2624
|
+
query["PayLevel"] = request.payLevel;
|
|
2625
|
+
}
|
|
2623
2626
|
if (!$dara.isNull(request.regionId)) {
|
|
2624
2627
|
query["RegionId"] = request.regionId;
|
|
2625
2628
|
}
|
|
@@ -2643,7 +2646,7 @@ class Client extends openapi_core_1.default {
|
|
|
2643
2646
|
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total call count, total tokens consumed, and peak TPM.
|
|
2644
2647
|
*
|
|
2645
2648
|
* @remarks
|
|
2646
|
-
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor
|
|
2649
|
+
* Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total model call count, total tokens consumed, and peak TPM. This operation is used to analyze and monitor model resource consumption of DataAgent analysis tasks.
|
|
2647
2650
|
*
|
|
2648
2651
|
* @param request - GetDataAgentTaskModelUsageRequest
|
|
2649
2652
|
* @returns GetDataAgentTaskModelUsageResponse
|
|
@@ -2674,6 +2677,9 @@ class Client extends openapi_core_1.default {
|
|
|
2674
2677
|
if (!$dara.isNull(request.endTime)) {
|
|
2675
2678
|
query["EndTime"] = request.endTime;
|
|
2676
2679
|
}
|
|
2680
|
+
if (!$dara.isNull(request.payLevel)) {
|
|
2681
|
+
query["PayLevel"] = request.payLevel;
|
|
2682
|
+
}
|
|
2677
2683
|
if (!$dara.isNull(request.regionId)) {
|
|
2678
2684
|
query["RegionId"] = request.regionId;
|
|
2679
2685
|
}
|