@alicloud/dms20250414 3.1.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/dist/client.d.ts +0 -30
  2. package/dist/client.js +0 -111
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/model.d.ts +0 -10
  5. package/dist/models/model.js +12 -32
  6. package/dist/models/model.js.map +1 -1
  7. package/package.json +1 -1
  8. package/src/client.ts +0 -128
  9. package/src/models/model.ts +0 -10
  10. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.d.ts +0 -69
  11. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.js +0 -68
  12. package/dist/models/DescribeCustomAgentMonitorMetricsRequest.js.map +0 -1
  13. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.d.ts +0 -19
  14. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.js +0 -69
  15. package/dist/models/DescribeCustomAgentMonitorMetricsResponse.js.map +0 -1
  16. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.d.ts +0 -194
  17. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.js +0 -136
  18. package/dist/models/DescribeCustomAgentMonitorMetricsResponseBody.js.map +0 -1
  19. package/dist/models/ListCustomAgentMonitorSessionsRequest.d.ts +0 -75
  20. package/dist/models/ListCustomAgentMonitorSessionsRequest.js +0 -70
  21. package/dist/models/ListCustomAgentMonitorSessionsRequest.js.map +0 -1
  22. package/dist/models/ListCustomAgentMonitorSessionsResponse.d.ts +0 -19
  23. package/dist/models/ListCustomAgentMonitorSessionsResponse.js +0 -69
  24. package/dist/models/ListCustomAgentMonitorSessionsResponse.js.map +0 -1
  25. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.d.ts +0 -208
  26. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.js +0 -138
  27. package/dist/models/ListCustomAgentMonitorSessionsResponseBody.js.map +0 -1
  28. package/src/models/DescribeCustomAgentMonitorMetricsRequest.ts +0 -92
  29. package/src/models/DescribeCustomAgentMonitorMetricsResponse.ts +0 -40
  30. package/src/models/DescribeCustomAgentMonitorMetricsResponseBody.ts +0 -267
  31. package/src/models/ListCustomAgentMonitorSessionsRequest.ts +0 -100
  32. package/src/models/ListCustomAgentMonitorSessionsResponse.ts +0 -40
  33. package/src/models/ListCustomAgentMonitorSessionsResponseBody.ts +0 -283
package/dist/client.d.ts CHANGED
@@ -527,21 +527,6 @@ export default class Client extends OpenApi {
527
527
  * @returns DescribeCustomAgentResponse
528
528
  */
529
529
  describeCustomAgent(request: $_model.DescribeCustomAgentRequest): Promise<$_model.DescribeCustomAgentResponse>;
530
- /**
531
- * DescribeCustomAgentMonitorMetrics - Retrieves monitoring metrics data for custom agents, including trend data.
532
- *
533
- * @param request - DescribeCustomAgentMonitorMetricsRequest
534
- * @param runtime - runtime options for this request RuntimeOptions
535
- * @returns DescribeCustomAgentMonitorMetricsResponse
536
- */
537
- describeCustomAgentMonitorMetricsWithOptions(request: $_model.DescribeCustomAgentMonitorMetricsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeCustomAgentMonitorMetricsResponse>;
538
- /**
539
- * DescribeCustomAgentMonitorMetrics - Retrieves monitoring metrics data for custom agents, including trend data.
540
- *
541
- * @param request - DescribeCustomAgentMonitorMetricsRequest
542
- * @returns DescribeCustomAgentMonitorMetricsResponse
543
- */
544
- describeCustomAgentMonitorMetrics(request: $_model.DescribeCustomAgentMonitorMetricsRequest): Promise<$_model.DescribeCustomAgentMonitorMetricsResponse>;
545
530
  /**
546
531
  * Queries DataAgent metrics.
547
532
  *
@@ -1095,21 +1080,6 @@ export default class Client extends OpenApi {
1095
1080
  * @returns ListCustomAgentResponse
1096
1081
  */
1097
1082
  listCustomAgent(request: $_model.ListCustomAgentRequest): Promise<$_model.ListCustomAgentResponse>;
1098
- /**
1099
- * ListCustomAgentMonitorSessions - Retrieves the list of monitoring sessions for custom agents.
1100
- *
1101
- * @param request - ListCustomAgentMonitorSessionsRequest
1102
- * @param runtime - runtime options for this request RuntimeOptions
1103
- * @returns ListCustomAgentMonitorSessionsResponse
1104
- */
1105
- listCustomAgentMonitorSessionsWithOptions(request: $_model.ListCustomAgentMonitorSessionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomAgentMonitorSessionsResponse>;
1106
- /**
1107
- * ListCustomAgentMonitorSessions - Retrieves the list of monitoring sessions for custom agents.
1108
- *
1109
- * @param request - ListCustomAgentMonitorSessionsRequest
1110
- * @returns ListCustomAgentMonitorSessionsResponse
1111
- */
1112
- listCustomAgentMonitorSessions(request: $_model.ListCustomAgentMonitorSessionsRequest): Promise<$_model.ListCustomAgentMonitorSessionsResponse>;
1113
1083
  /**
1114
1084
  * Lists accuracy test configuration items that meet the specified conditions.
1115
1085
  *
package/dist/client.js CHANGED
@@ -1791,60 +1791,6 @@ class Client extends openapi_core_1.default {
1791
1791
  let runtime = new $dara.RuntimeOptions({});
1792
1792
  return await this.describeCustomAgentWithOptions(request, runtime);
1793
1793
  }
1794
- /**
1795
- * DescribeCustomAgentMonitorMetrics - Retrieves monitoring metrics data for custom agents, including trend data.
1796
- *
1797
- * @param request - DescribeCustomAgentMonitorMetricsRequest
1798
- * @param runtime - runtime options for this request RuntimeOptions
1799
- * @returns DescribeCustomAgentMonitorMetricsResponse
1800
- */
1801
- async describeCustomAgentMonitorMetricsWithOptions(request, runtime) {
1802
- request.validate();
1803
- let query = {};
1804
- if (!$dara.isNull(request.customAgentId)) {
1805
- query["CustomAgentId"] = request.customAgentId;
1806
- }
1807
- if (!$dara.isNull(request.endTime)) {
1808
- query["EndTime"] = request.endTime;
1809
- }
1810
- if (!$dara.isNull(request.granularity)) {
1811
- query["Granularity"] = request.granularity;
1812
- }
1813
- if (!$dara.isNull(request.queryType)) {
1814
- query["QueryType"] = request.queryType;
1815
- }
1816
- if (!$dara.isNull(request.startTime)) {
1817
- query["StartTime"] = request.startTime;
1818
- }
1819
- if (!$dara.isNull(request.workspaceId)) {
1820
- query["WorkspaceId"] = request.workspaceId;
1821
- }
1822
- let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
1823
- query: openapi_core_2.OpenApiUtil.query(query),
1824
- });
1825
- let params = new openapi_core_2.$OpenApiUtil.Params({
1826
- action: "DescribeCustomAgentMonitorMetrics",
1827
- version: "2025-04-14",
1828
- protocol: "HTTPS",
1829
- pathname: "/",
1830
- method: "POST",
1831
- authType: "AK",
1832
- style: "RPC",
1833
- reqBodyType: "formData",
1834
- bodyType: "json",
1835
- });
1836
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeCustomAgentMonitorMetricsResponse({}));
1837
- }
1838
- /**
1839
- * DescribeCustomAgentMonitorMetrics - Retrieves monitoring metrics data for custom agents, including trend data.
1840
- *
1841
- * @param request - DescribeCustomAgentMonitorMetricsRequest
1842
- * @returns DescribeCustomAgentMonitorMetricsResponse
1843
- */
1844
- async describeCustomAgentMonitorMetrics(request) {
1845
- let runtime = new $dara.RuntimeOptions({});
1846
- return await this.describeCustomAgentMonitorMetricsWithOptions(request, runtime);
1847
- }
1848
1794
  /**
1849
1795
  * Queries DataAgent metrics.
1850
1796
  *
@@ -3460,63 +3406,6 @@ class Client extends openapi_core_1.default {
3460
3406
  let runtime = new $dara.RuntimeOptions({});
3461
3407
  return await this.listCustomAgentWithOptions(request, runtime);
3462
3408
  }
3463
- /**
3464
- * ListCustomAgentMonitorSessions - Retrieves the list of monitoring sessions for custom agents.
3465
- *
3466
- * @param request - ListCustomAgentMonitorSessionsRequest
3467
- * @param runtime - runtime options for this request RuntimeOptions
3468
- * @returns ListCustomAgentMonitorSessionsResponse
3469
- */
3470
- async listCustomAgentMonitorSessionsWithOptions(request, runtime) {
3471
- request.validate();
3472
- let query = {};
3473
- if (!$dara.isNull(request.customAgentId)) {
3474
- query["CustomAgentId"] = request.customAgentId;
3475
- }
3476
- if (!$dara.isNull(request.endTime)) {
3477
- query["EndTime"] = request.endTime;
3478
- }
3479
- if (!$dara.isNull(request.pageNumber)) {
3480
- query["PageNumber"] = request.pageNumber;
3481
- }
3482
- if (!$dara.isNull(request.pageSize)) {
3483
- query["PageSize"] = request.pageSize;
3484
- }
3485
- if (!$dara.isNull(request.queryType)) {
3486
- query["QueryType"] = request.queryType;
3487
- }
3488
- if (!$dara.isNull(request.startTime)) {
3489
- query["StartTime"] = request.startTime;
3490
- }
3491
- if (!$dara.isNull(request.workspaceId)) {
3492
- query["WorkspaceId"] = request.workspaceId;
3493
- }
3494
- let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3495
- query: openapi_core_2.OpenApiUtil.query(query),
3496
- });
3497
- let params = new openapi_core_2.$OpenApiUtil.Params({
3498
- action: "ListCustomAgentMonitorSessions",
3499
- version: "2025-04-14",
3500
- protocol: "HTTPS",
3501
- pathname: "/",
3502
- method: "POST",
3503
- authType: "AK",
3504
- style: "RPC",
3505
- reqBodyType: "formData",
3506
- bodyType: "json",
3507
- });
3508
- return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAgentMonitorSessionsResponse({}));
3509
- }
3510
- /**
3511
- * ListCustomAgentMonitorSessions - Retrieves the list of monitoring sessions for custom agents.
3512
- *
3513
- * @param request - ListCustomAgentMonitorSessionsRequest
3514
- * @returns ListCustomAgentMonitorSessionsResponse
3515
- */
3516
- async listCustomAgentMonitorSessions(request) {
3517
- let runtime = new $dara.RuntimeOptions({});
3518
- return await this.listCustomAgentMonitorSessionsWithOptions(request, runtime);
3519
- }
3520
3409
  /**
3521
3410
  * Lists accuracy test configuration items that meet the specified conditions.
3522
3411
  *