@alicloud/dms20250414 4.6.0 → 5.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 (153) hide show
  1. package/dist/client.d.ts +18 -33
  2. package/dist/client.js +36 -85
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddUserToDataAgentWorkspaceRequest.d.ts +1 -1
  5. package/dist/models/AddUserToDataAgentWorkspaceResponseBody.d.ts +1 -1
  6. package/dist/models/CreateAirflowRequest.d.ts +31 -10
  7. package/dist/models/CreateAirflowRequest.js +6 -0
  8. package/dist/models/CreateAirflowRequest.js.map +1 -1
  9. package/dist/models/CreateAirflowResponseBody.d.ts +36 -15
  10. package/dist/models/CreateAirflowResponseBody.js +6 -0
  11. package/dist/models/CreateAirflowResponseBody.js.map +1 -1
  12. package/dist/models/CreateAirflowShrinkRequest.d.ts +31 -10
  13. package/dist/models/CreateAirflowShrinkRequest.js +6 -0
  14. package/dist/models/CreateAirflowShrinkRequest.js.map +1 -1
  15. package/dist/models/CreateCustomAgentRequest.d.ts +38 -38
  16. package/dist/models/CreateCustomAgentResponseBody.d.ts +18 -18
  17. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +30 -30
  18. package/dist/models/CreateDataAgentAccuracyTestRequest.d.ts +6 -6
  19. package/dist/models/CreateDataAgentAccuracyTestResponseBody.d.ts +5 -5
  20. package/dist/models/CreateDataAgentWorkspaceResponseBody.d.ts +1 -1
  21. package/dist/models/DataAgentApplication.d.ts +124 -2
  22. package/dist/models/DataAgentApplication.js +45 -1
  23. package/dist/models/DataAgentApplication.js.map +1 -1
  24. package/dist/models/DataAgentApplicationAgreement.d.ts +53 -0
  25. package/dist/models/{BatchCreateDataLakePartitionsShrinkRequest.js → DataAgentApplicationAgreement.js} +13 -19
  26. package/dist/models/DataAgentApplicationAgreement.js.map +1 -0
  27. package/dist/models/DeleteAgenticVpcEndpointResponseBody.d.ts +2 -2
  28. package/dist/models/DescribeCustomAgentResponseBody.d.ts +32 -32
  29. package/dist/models/DescribeDataAgentSessionResponseBody.d.ts +38 -37
  30. package/dist/models/DescribeDataAgentSessionResponseBody.js.map +1 -1
  31. package/dist/models/FileUploadCallbackRequest.d.ts +2 -2
  32. package/dist/models/GetAirflowRequest.d.ts +2 -2
  33. package/dist/models/GetAirflowResponseBody.d.ts +37 -17
  34. package/dist/models/GetAirflowResponseBody.js +6 -0
  35. package/dist/models/GetAirflowResponseBody.js.map +1 -1
  36. package/dist/models/GetDataAgentTaskModelUsageMetricsRequest.d.ts +3 -3
  37. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.d.ts +10 -2
  38. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js +2 -0
  39. package/dist/models/GetDataAgentTaskModelUsageMetricsResponseBody.js.map +1 -1
  40. package/dist/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.d.ts +3 -3
  41. package/dist/models/GetDataAgentTaskModelUsageRequest.d.ts +2 -2
  42. package/dist/models/GetDataAgentTaskModelUsageResponseBody.d.ts +21 -5
  43. package/dist/models/GetDataAgentTaskModelUsageResponseBody.js +4 -0
  44. package/dist/models/GetDataAgentTaskModelUsageResponseBody.js.map +1 -1
  45. package/dist/models/GetDataAgentTaskModelUsageShrinkRequest.d.ts +2 -2
  46. package/dist/models/GetDataAgentThemeUploadSignatureResponseBody.d.ts +1 -1
  47. package/dist/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.d.ts +1 -1
  48. package/dist/models/GetNotebookAndSubmitTaskRequest.d.ts +2 -2
  49. package/dist/models/ListAirflowsRequest.d.ts +5 -5
  50. package/dist/models/ListAirflowsResponseBody.d.ts +43 -23
  51. package/dist/models/ListAirflowsResponseBody.js +6 -0
  52. package/dist/models/ListAirflowsResponseBody.js.map +1 -1
  53. package/dist/models/ListCustomAgentRequest.d.ts +2 -2
  54. package/dist/models/ListCustomAgentResponseBody.d.ts +37 -37
  55. package/dist/models/ListDataAgentAccuracyTestResultsResponseBody.d.ts +3 -3
  56. package/dist/models/ListDataAgentAccuracyTestTasksResponseBody.d.ts +1 -1
  57. package/dist/models/ListDataAgentWorkspaceMemberResponseBody.d.ts +3 -3
  58. package/dist/models/ListDataAgentWorkspaceResponseBody.d.ts +1 -1
  59. package/dist/models/ListDataCenterDatabaseResponseBody.d.ts +2 -2
  60. package/dist/models/ModifyCustomAgentRequest.d.ts +40 -40
  61. package/dist/models/ModifyCustomAgentResponseBody.d.ts +17 -17
  62. package/dist/models/ModifyCustomAgentShrinkRequest.d.ts +33 -33
  63. package/dist/models/RedeployAirflowResponseBody.d.ts +1 -1
  64. package/dist/models/ResetAgenticApiKeyResponseBody.d.ts +1 -1
  65. package/dist/models/RetrieveKnowledgeBaseRequest.d.ts +2 -2
  66. package/dist/models/SendChatMessageRequest.d.ts +2 -2
  67. package/dist/models/SetWorkspaceQuotaRequest.d.ts +5 -5
  68. package/dist/models/SetWorkspaceQuotaResponseBody.d.ts +9 -9
  69. package/dist/models/UpdateAirflowRequest.d.ts +26 -5
  70. package/dist/models/UpdateAirflowRequest.js +6 -0
  71. package/dist/models/UpdateAirflowRequest.js.map +1 -1
  72. package/dist/models/UpdateAirflowResponseBody.d.ts +28 -7
  73. package/dist/models/UpdateAirflowResponseBody.js +6 -0
  74. package/dist/models/UpdateAirflowResponseBody.js.map +1 -1
  75. package/dist/models/UpdateAirflowShrinkRequest.d.ts +26 -5
  76. package/dist/models/UpdateAirflowShrinkRequest.js +6 -0
  77. package/dist/models/UpdateAirflowShrinkRequest.js.map +1 -1
  78. package/dist/models/UpdateDataAgentAccuracyTestRequest.d.ts +4 -4
  79. package/dist/models/UpdateDataAgentAccuracyTestResponseBody.d.ts +4 -4
  80. package/dist/models/UpdateOneMetaSqlTemplateRequest.d.ts +1 -1
  81. package/dist/models/model.d.ts +2 -4
  82. package/dist/models/model.js +20 -24
  83. package/dist/models/model.js.map +1 -1
  84. package/package.json +1 -1
  85. package/src/client.ts +42 -96
  86. package/src/models/AddUserToDataAgentWorkspaceRequest.ts +1 -1
  87. package/src/models/AddUserToDataAgentWorkspaceResponseBody.ts +1 -1
  88. package/src/models/CreateAirflowRequest.ts +37 -10
  89. package/src/models/CreateAirflowResponseBody.ts +42 -15
  90. package/src/models/CreateAirflowShrinkRequest.ts +37 -10
  91. package/src/models/CreateCustomAgentRequest.ts +38 -38
  92. package/src/models/CreateCustomAgentResponseBody.ts +18 -18
  93. package/src/models/CreateCustomAgentShrinkRequest.ts +30 -30
  94. package/src/models/CreateDataAgentAccuracyTestRequest.ts +6 -6
  95. package/src/models/CreateDataAgentAccuracyTestResponseBody.ts +5 -5
  96. package/src/models/CreateDataAgentWorkspaceResponseBody.ts +1 -1
  97. package/src/models/DataAgentApplication.ts +159 -2
  98. package/src/models/DataAgentApplicationAgreement.ts +74 -0
  99. package/src/models/DeleteAgenticVpcEndpointResponseBody.ts +2 -2
  100. package/src/models/DescribeCustomAgentResponseBody.ts +32 -32
  101. package/src/models/DescribeDataAgentSessionResponseBody.ts +38 -37
  102. package/src/models/FileUploadCallbackRequest.ts +2 -2
  103. package/src/models/GetAirflowRequest.ts +2 -2
  104. package/src/models/GetAirflowResponseBody.ts +43 -17
  105. package/src/models/GetDataAgentTaskModelUsageMetricsRequest.ts +3 -3
  106. package/src/models/GetDataAgentTaskModelUsageMetricsResponseBody.ts +12 -2
  107. package/src/models/GetDataAgentTaskModelUsageMetricsShrinkRequest.ts +3 -3
  108. package/src/models/GetDataAgentTaskModelUsageRequest.ts +2 -2
  109. package/src/models/GetDataAgentTaskModelUsageResponseBody.ts +25 -5
  110. package/src/models/GetDataAgentTaskModelUsageShrinkRequest.ts +2 -2
  111. package/src/models/GetDataAgentThemeUploadSignatureResponseBody.ts +1 -1
  112. package/src/models/GetMyAgenticNotificationChannelAuthorizeUrlResponseBody.ts +1 -1
  113. package/src/models/GetNotebookAndSubmitTaskRequest.ts +2 -2
  114. package/src/models/ListAirflowsRequest.ts +5 -5
  115. package/src/models/ListAirflowsResponseBody.ts +49 -23
  116. package/src/models/ListCustomAgentRequest.ts +2 -2
  117. package/src/models/ListCustomAgentResponseBody.ts +37 -37
  118. package/src/models/ListDataAgentAccuracyTestResultsResponseBody.ts +3 -3
  119. package/src/models/ListDataAgentAccuracyTestTasksResponseBody.ts +1 -1
  120. package/src/models/ListDataAgentWorkspaceMemberResponseBody.ts +3 -3
  121. package/src/models/ListDataAgentWorkspaceResponseBody.ts +1 -1
  122. package/src/models/ListDataCenterDatabaseResponseBody.ts +2 -2
  123. package/src/models/ModifyCustomAgentRequest.ts +40 -40
  124. package/src/models/ModifyCustomAgentResponseBody.ts +17 -17
  125. package/src/models/ModifyCustomAgentShrinkRequest.ts +33 -33
  126. package/src/models/RedeployAirflowResponseBody.ts +1 -1
  127. package/src/models/ResetAgenticApiKeyResponseBody.ts +1 -1
  128. package/src/models/RetrieveKnowledgeBaseRequest.ts +2 -2
  129. package/src/models/SendChatMessageRequest.ts +2 -2
  130. package/src/models/SetWorkspaceQuotaRequest.ts +5 -5
  131. package/src/models/SetWorkspaceQuotaResponseBody.ts +9 -9
  132. package/src/models/UpdateAirflowRequest.ts +32 -5
  133. package/src/models/UpdateAirflowResponseBody.ts +34 -7
  134. package/src/models/UpdateAirflowShrinkRequest.ts +32 -5
  135. package/src/models/UpdateDataAgentAccuracyTestRequest.ts +4 -4
  136. package/src/models/UpdateDataAgentAccuracyTestResponseBody.ts +4 -4
  137. package/src/models/UpdateOneMetaSqlTemplateRequest.ts +1 -1
  138. package/src/models/model.ts +2 -4
  139. package/dist/models/BatchCreateDataLakePartitionsRequest.d.ts +0 -88
  140. package/dist/models/BatchCreateDataLakePartitionsRequest.js +0 -76
  141. package/dist/models/BatchCreateDataLakePartitionsRequest.js.map +0 -1
  142. package/dist/models/BatchCreateDataLakePartitionsResponse.d.ts +0 -19
  143. package/dist/models/BatchCreateDataLakePartitionsResponse.js +0 -69
  144. package/dist/models/BatchCreateDataLakePartitionsResponse.js.map +0 -1
  145. package/dist/models/BatchCreateDataLakePartitionsResponseBody.d.ts +0 -54
  146. package/dist/models/BatchCreateDataLakePartitionsResponseBody.js +0 -70
  147. package/dist/models/BatchCreateDataLakePartitionsResponseBody.js.map +0 -1
  148. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.d.ts +0 -87
  149. package/dist/models/BatchCreateDataLakePartitionsShrinkRequest.js.map +0 -1
  150. package/src/models/BatchCreateDataLakePartitionsRequest.ts +0 -118
  151. package/src/models/BatchCreateDataLakePartitionsResponse.ts +0 -40
  152. package/src/models/BatchCreateDataLakePartitionsResponseBody.ts +0 -78
  153. package/src/models/BatchCreateDataLakePartitionsShrinkRequest.ts +0 -114
package/src/client.ts CHANGED
@@ -289,84 +289,6 @@ export default class Client extends OpenApi {
289
289
  return await this.addUserToDataAgentWorkspaceWithOptions(request, runtime);
290
290
  }
291
291
 
292
- /**
293
- * Creates multiple partitions for a data lakehouse table.
294
- *
295
- * @param tmpReq - BatchCreateDataLakePartitionsRequest
296
- * @param runtime - runtime options for this request RuntimeOptions
297
- * @returns BatchCreateDataLakePartitionsResponse
298
- */
299
- async batchCreateDataLakePartitionsWithOptions(tmpReq: $_model.BatchCreateDataLakePartitionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchCreateDataLakePartitionsResponse> {
300
- tmpReq.validate();
301
- let request = new $_model.BatchCreateDataLakePartitionsShrinkRequest({ });
302
- OpenApiUtil.convert(tmpReq, request);
303
- if (!$dara.isNull(tmpReq.partitionInputs)) {
304
- request.partitionInputsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.partitionInputs, "PartitionInputs", "json");
305
- }
306
-
307
- let query = { };
308
- if (!$dara.isNull(request.catalogName)) {
309
- query["CatalogName"] = request.catalogName;
310
- }
311
-
312
- if (!$dara.isNull(request.dbName)) {
313
- query["DbName"] = request.dbName;
314
- }
315
-
316
- if (!$dara.isNull(request.ifNotExists)) {
317
- query["IfNotExists"] = request.ifNotExists;
318
- }
319
-
320
- if (!$dara.isNull(request.needResult)) {
321
- query["NeedResult"] = request.needResult;
322
- }
323
-
324
- if (!$dara.isNull(request.tableName)) {
325
- query["TableName"] = request.tableName;
326
- }
327
-
328
- if (!$dara.isNull(request.tid)) {
329
- query["Tid"] = request.tid;
330
- }
331
-
332
- if (!$dara.isNull(request.workspaceId)) {
333
- query["WorkspaceId"] = request.workspaceId;
334
- }
335
-
336
- let body : {[key: string ]: any} = { };
337
- if (!$dara.isNull(request.partitionInputsShrink)) {
338
- body["PartitionInputs"] = request.partitionInputsShrink;
339
- }
340
-
341
- let req = new $OpenApiUtil.OpenApiRequest({
342
- query: OpenApiUtil.query(query),
343
- body: OpenApiUtil.parseToMap(body),
344
- });
345
- let params = new $OpenApiUtil.Params({
346
- action: "BatchCreateDataLakePartitions",
347
- version: "2025-04-14",
348
- protocol: "HTTPS",
349
- pathname: "/",
350
- method: "POST",
351
- authType: "AK",
352
- style: "RPC",
353
- reqBodyType: "formData",
354
- bodyType: "json",
355
- });
356
- return $dara.cast<$_model.BatchCreateDataLakePartitionsResponse>(await this.callApi(params, req, runtime), new $_model.BatchCreateDataLakePartitionsResponse({}));
357
- }
358
-
359
- /**
360
- * Creates multiple partitions for a data lakehouse table.
361
- *
362
- * @param request - BatchCreateDataLakePartitionsRequest
363
- * @returns BatchCreateDataLakePartitionsResponse
364
- */
365
- async batchCreateDataLakePartitions(request: $_model.BatchCreateDataLakePartitionsRequest): Promise<$_model.BatchCreateDataLakePartitionsResponse> {
366
- let runtime = new $dara.RuntimeOptions({ });
367
- return await this.batchCreateDataLakePartitionsWithOptions(request, runtime);
368
- }
369
-
370
292
  /**
371
293
  * CheckDataAgentMemoryConfig - Queries the memory generation and usage configuration of a DataAgent.
372
294
  *
@@ -688,6 +610,10 @@ export default class Client extends OpenApi {
688
610
  query["Description"] = request.description;
689
611
  }
690
612
 
613
+ if (!$dara.isNull(request.enableLineage)) {
614
+ query["EnableLineage"] = request.enableLineage;
615
+ }
616
+
691
617
  if (!$dara.isNull(request.enableServerless)) {
692
618
  query["EnableServerless"] = request.enableServerless;
693
619
  }
@@ -696,6 +622,14 @@ export default class Client extends OpenApi {
696
622
  query["GracefulShutdownTimeout"] = request.gracefulShutdownTimeout;
697
623
  }
698
624
 
625
+ if (!$dara.isNull(request.lineageReplicas)) {
626
+ query["LineageReplicas"] = request.lineageReplicas;
627
+ }
628
+
629
+ if (!$dara.isNull(request.lineageSpec)) {
630
+ query["LineageSpec"] = request.lineageSpec;
631
+ }
632
+
699
633
  if (!$dara.isNull(request.ossBucketName)) {
700
634
  query["OssBucketName"] = request.ossBucketName;
701
635
  }
@@ -1551,7 +1485,7 @@ export default class Client extends OpenApi {
1551
1485
  * Submits an asynchronous deletion request for a VPC endpoint and returns the acceptance result.
1552
1486
  *
1553
1487
  * @remarks
1554
- * After the reverse endpoint is deleted, the data source can no longer establish connections and cannot be restored by calling the enable API.
1488
+ * After deletion, no new connections can be established for this data source, and it cannot be recovered by calling the enable operation.
1555
1489
  *
1556
1490
  * @param request - DeleteAgenticVpcEndpointRequest
1557
1491
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1585,7 +1519,7 @@ export default class Client extends OpenApi {
1585
1519
  * Submits an asynchronous deletion request for a VPC endpoint and returns the acceptance result.
1586
1520
  *
1587
1521
  * @remarks
1588
- * After the reverse endpoint is deleted, the data source can no longer establish connections and cannot be restored by calling the enable API.
1522
+ * After deletion, no new connections can be established for this data source, and it cannot be recovered by calling the enable operation.
1589
1523
  *
1590
1524
  * @param request - DeleteAgenticVpcEndpointRequest
1591
1525
  * @returns DeleteAgenticVpcEndpointResponse
@@ -2330,7 +2264,7 @@ export default class Client extends OpenApi {
2330
2264
  }
2331
2265
 
2332
2266
  /**
2333
- * Retrieves the detailed description of a custom agent based on the custom agent ID.
2267
+ * Queries the details of a custom agent by custom agent ID.
2334
2268
  *
2335
2269
  * @param request - DescribeCustomAgentRequest
2336
2270
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2365,7 +2299,7 @@ export default class Client extends OpenApi {
2365
2299
  }
2366
2300
 
2367
2301
  /**
2368
- * Retrieves the detailed description of a custom agent based on the custom agent ID.
2302
+ * Queries the details of a custom agent by custom agent ID.
2369
2303
  *
2370
2304
  * @param request - DescribeCustomAgentRequest
2371
2305
  * @returns DescribeCustomAgentResponse
@@ -3190,7 +3124,7 @@ export default class Client extends OpenApi {
3190
3124
  }
3191
3125
 
3192
3126
  /**
3193
- * Queries the configuration and status of an Airflow instance.
3127
+ * Queries the details of an Airflow instance.
3194
3128
  *
3195
3129
  * @param request - GetAirflowRequest
3196
3130
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3225,7 +3159,7 @@ export default class Client extends OpenApi {
3225
3159
  }
3226
3160
 
3227
3161
  /**
3228
- * Queries the configuration and status of an Airflow instance.
3162
+ * Queries the details of an Airflow instance.
3229
3163
  *
3230
3164
  * @param request - GetAirflowRequest
3231
3165
  * @returns GetAirflowResponse
@@ -3457,7 +3391,7 @@ export default class Client extends OpenApi {
3457
3391
  * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of calls, total tokens consumed, and peak TPM.
3458
3392
  *
3459
3393
  * @remarks
3460
- * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of model calls, total tokens consumed, and peak TPM. This data is used to analyze and monitor the model resource consumption of DataAgent analysis tasks.
3394
+ * Queries the model usage summary data of DataAgent analysis tasks within a specified time range, including the number of models used, total number of model calls, total tokens consumed, and peak TPM. This data is used to analyze and monitor the model resource consumption of DataAgent analysis tasks.
3461
3395
  *
3462
3396
  * @param tmpReq - GetDataAgentTaskModelUsageRequest
3463
3397
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3517,7 +3451,7 @@ export default class Client extends OpenApi {
3517
3451
  * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of calls, total tokens consumed, and peak TPM.
3518
3452
  *
3519
3453
  * @remarks
3520
- * Queries the model usage summary of DataAgent analysis tasks within a specified time range, including the number of models used, total number of model calls, total tokens consumed, and peak TPM. This data is used to analyze and monitor the model resource consumption of DataAgent analysis tasks.
3454
+ * Queries the model usage summary data of DataAgent analysis tasks within a specified time range, including the number of models used, total number of model calls, total tokens consumed, and peak TPM. This data is used to analyze and monitor the model resource consumption of DataAgent analysis tasks.
3521
3455
  *
3522
3456
  * @param request - GetDataAgentTaskModelUsageRequest
3523
3457
  * @returns GetDataAgentTaskModelUsageResponse
@@ -3528,10 +3462,10 @@ export default class Client extends OpenApi {
3528
3462
  }
3529
3463
 
3530
3464
  /**
3531
- * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range, returning token consumption at each time point at a minute-level granularity.
3465
+ * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analytical task model usage within a specified time range, and returns the token consumption at each time point at a minute-level granularity.
3532
3466
  *
3533
3467
  * @remarks
3534
- * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range. It returns the number of tokens consumed in each statistical interval at a minute-level granularity to help you analyze the trend of model usage over time.
3468
+ * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analytical task model usage within a specified time range, and returns the number of tokens consumed in each statistical interval at a minute-level granularity to analyze the trend of model usage over time.
3535
3469
  *
3536
3470
  * @param tmpReq - GetDataAgentTaskModelUsageMetricsRequest
3537
3471
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3588,10 +3522,10 @@ export default class Client extends OpenApi {
3588
3522
  }
3589
3523
 
3590
3524
  /**
3591
- * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range, returning token consumption at each time point at a minute-level granularity.
3525
+ * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analytical task model usage within a specified time range, and returns the token consumption at each time point at a minute-level granularity.
3592
3526
  *
3593
3527
  * @remarks
3594
- * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analysis task model usage within a specified time range. It returns the number of tokens consumed in each statistical interval at a minute-level granularity to help you analyze the trend of model usage over time.
3528
+ * Queries the time-series metrics of tokens per minute (TPM) for DataAgent analytical task model usage within a specified time range, and returns the number of tokens consumed in each statistical interval at a minute-level granularity to analyze the trend of model usage over time.
3595
3529
  *
3596
3530
  * @param request - GetDataAgentTaskModelUsageMetricsRequest
3597
3531
  * @returns GetDataAgentTaskModelUsageMetricsResponse
@@ -7444,10 +7378,10 @@ export default class Client extends OpenApi {
7444
7378
  }
7445
7379
 
7446
7380
  /**
7447
- * Sets the quota for a workspace.
7381
+ * Sets the workspace quota.
7448
7382
  *
7449
7383
  * @remarks
7450
- * Sets the quota for a specific workspace.
7384
+ * Sets the workspace quota.
7451
7385
  *
7452
7386
  * @param request - SetWorkspaceQuotaRequest
7453
7387
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7494,10 +7428,10 @@ export default class Client extends OpenApi {
7494
7428
  }
7495
7429
 
7496
7430
  /**
7497
- * Sets the quota for a workspace.
7431
+ * Sets the workspace quota.
7498
7432
  *
7499
7433
  * @remarks
7500
- * Sets the quota for a specific workspace.
7434
+ * Sets the workspace quota.
7501
7435
  *
7502
7436
  * @param request - SetWorkspaceQuotaRequest
7503
7437
  * @returns SetWorkspaceQuotaResponse
@@ -8000,6 +7934,10 @@ export default class Client extends OpenApi {
8000
7934
  query["Description"] = request.description;
8001
7935
  }
8002
7936
 
7937
+ if (!$dara.isNull(request.enableLineage)) {
7938
+ query["EnableLineage"] = request.enableLineage;
7939
+ }
7940
+
8003
7941
  if (!$dara.isNull(request.enableServerless)) {
8004
7942
  query["EnableServerless"] = request.enableServerless;
8005
7943
  }
@@ -8008,6 +7946,14 @@ export default class Client extends OpenApi {
8008
7946
  query["GracefulShutdownTimeout"] = request.gracefulShutdownTimeout;
8009
7947
  }
8010
7948
 
7949
+ if (!$dara.isNull(request.lineageReplicas)) {
7950
+ query["LineageReplicas"] = request.lineageReplicas;
7951
+ }
7952
+
7953
+ if (!$dara.isNull(request.lineageSpec)) {
7954
+ query["LineageSpec"] = request.lineageSpec;
7955
+ }
7956
+
8011
7957
  if (!$dara.isNull(request.pluginsDir)) {
8012
7958
  query["PluginsDir"] = request.pluginsDir;
8013
7959
  }
@@ -8063,7 +8009,7 @@ export default class Client extends OpenApi {
8063
8009
  * Updates the content of an accuracy test item.
8064
8010
  *
8065
8011
  * @remarks
8066
- * Updates the accuracy test item.
8012
+ * Updates an accuracy test item.
8067
8013
  *
8068
8014
  * @param request - UpdateDataAgentAccuracyTestRequest
8069
8015
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8149,7 +8095,7 @@ export default class Client extends OpenApi {
8149
8095
  * Updates the content of an accuracy test item.
8150
8096
  *
8151
8097
  * @remarks
8152
- * Updates the accuracy test item.
8098
+ * Updates an accuracy test item.
8153
8099
  *
8154
8100
  * @param request - UpdateDataAgentAccuracyTestRequest
8155
8101
  * @returns UpdateDataAgentAccuracyTestResponse
@@ -21,7 +21,7 @@ export class AddUserToDataAgentWorkspaceRequest extends $dara.Model {
21
21
  memberId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The name of the user\\"s role in the workspace.
24
+ * The name of the user\"s role in the workspace.
25
25
  *
26
26
  * @example
27
27
  * admin
@@ -21,7 +21,7 @@ export class AddUserToDataAgentWorkspaceResponseBodyData extends $dara.Model {
21
21
  memberId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The name of the user\\"s role in the workspace.
24
+ * The name of the user\"s role in the workspace.
25
25
  *
26
26
  * @example
27
27
  * admin
@@ -42,7 +42,7 @@ export class CreateAirflowRequest extends $dara.Model {
42
42
  clientToken?: string;
43
43
  /**
44
44
  * @remarks
45
- * The DAG directory scanned by Airflow.
45
+ * The directory scanned by Airflow for DAGs.
46
46
  *
47
47
  * @example
48
48
  * default/dags
@@ -63,17 +63,38 @@ export class CreateAirflowRequest extends $dara.Model {
63
63
  description?: string;
64
64
  /**
65
65
  * @remarks
66
- * Specifies whether to enable Worker elasticity.
66
+ * Specifies whether to enable data lineage. For Airflow 2.x, this feature is always disabled, and the lineage specification and number of replicas are ignored.
67
+ */
68
+ enableLineage?: boolean;
69
+ /**
70
+ * @remarks
71
+ * Specifies whether to enable elasticity for workers.
67
72
  */
68
73
  enableServerless?: boolean;
69
74
  /**
70
75
  * @remarks
71
- * The timeout period for the Worker to gracefully shut down.
76
+ * The timeout period for a worker to gracefully shut down.
72
77
  *
73
78
  * @example
74
79
  * 60
75
80
  */
76
81
  gracefulShutdownTimeout?: number;
82
+ /**
83
+ * @remarks
84
+ * The number of replicas for the lineage service. The default value is 1 when enabled. If omitted during an update, the original value is retained.
85
+ *
86
+ * @example
87
+ * 1
88
+ */
89
+ lineageReplicas?: number;
90
+ /**
91
+ * @remarks
92
+ * The specification of the lineage service. It uses the same tier as the Airflow instance specification.
93
+ *
94
+ * @example
95
+ * SMALL
96
+ */
97
+ lineageSpec?: string;
77
98
  /**
78
99
  * @remarks
79
100
  * The name of the OSS bucket.
@@ -96,7 +117,7 @@ export class CreateAirflowRequest extends $dara.Model {
96
117
  ossPath?: string;
97
118
  /**
98
119
  * @remarks
99
- * The plugin directory scanned by the Airflow instance.
120
+ * The directory scanned by the Airflow instance for plugins.
100
121
  *
101
122
  * @example
102
123
  * default/plugins
@@ -104,7 +125,7 @@ export class CreateAirflowRequest extends $dara.Model {
104
125
  pluginsDir?: string;
105
126
  /**
106
127
  * @remarks
107
- * The path of the package installation file.
128
+ * The path to the installation package.
108
129
  *
109
130
  * @example
110
131
  * default/requirements.txt
@@ -122,7 +143,7 @@ export class CreateAirflowRequest extends $dara.Model {
122
143
  securityGroupId?: string;
123
144
  /**
124
145
  * @remarks
125
- * The startup script of the Airflow container.
146
+ * The startup script for the Airflow container.
126
147
  *
127
148
  * @example
128
149
  * default/startup.sh
@@ -140,7 +161,7 @@ export class CreateAirflowRequest extends $dara.Model {
140
161
  vSwitchId?: string;
141
162
  /**
142
163
  * @remarks
143
- * VPC ID。
164
+ * The VPC ID.
144
165
  *
145
166
  * This parameter is required.
146
167
  *
@@ -150,7 +171,7 @@ export class CreateAirflowRequest extends $dara.Model {
150
171
  vpcId?: string;
151
172
  /**
152
173
  * @remarks
153
- * The number of extended Worker node replicas.
174
+ * The number of worker node extensions.
154
175
  *
155
176
  * This parameter is required.
156
177
  *
@@ -160,7 +181,7 @@ export class CreateAirflowRequest extends $dara.Model {
160
181
  workerServerlessReplicas?: number;
161
182
  /**
162
183
  * @remarks
163
- * The ID of the Data Management workspace.
184
+ * The DMS workspace ID.
164
185
  *
165
186
  * This parameter is required.
166
187
  *
@@ -170,7 +191,7 @@ export class CreateAirflowRequest extends $dara.Model {
170
191
  workspaceId?: string;
171
192
  /**
172
193
  * @remarks
173
- * The zone ID within the region.
194
+ * The zone ID in the region.
174
195
  *
175
196
  * @example
176
197
  * cn-hangzhou-h
@@ -185,8 +206,11 @@ export class CreateAirflowRequest extends $dara.Model {
185
206
  dagsDir: 'DagsDir',
186
207
  dataMountInfoList: 'DataMountInfoList',
187
208
  description: 'Description',
209
+ enableLineage: 'EnableLineage',
188
210
  enableServerless: 'EnableServerless',
189
211
  gracefulShutdownTimeout: 'GracefulShutdownTimeout',
212
+ lineageReplicas: 'LineageReplicas',
213
+ lineageSpec: 'LineageSpec',
190
214
  ossBucketName: 'OssBucketName',
191
215
  ossPath: 'OssPath',
192
216
  pluginsDir: 'PluginsDir',
@@ -210,8 +234,11 @@ export class CreateAirflowRequest extends $dara.Model {
210
234
  dagsDir: 'string',
211
235
  dataMountInfoList: { 'type': 'array', 'itemType': DataMountInfo },
212
236
  description: 'string',
237
+ enableLineage: 'boolean',
213
238
  enableServerless: 'boolean',
214
239
  gracefulShutdownTimeout: 'number',
240
+ lineageReplicas: 'number',
241
+ lineageSpec: 'string',
215
242
  ossBucketName: 'string',
216
243
  ossPath: 'string',
217
244
  pluginsDir: 'string',
@@ -6,7 +6,7 @@ import { DataMountInfo } from "./DataMountInfo";
6
6
  export class CreateAirflowResponseBodyRoot extends $dara.Model {
7
7
  /**
8
8
  * @remarks
9
- * The instance ID of the Airflow instance.
9
+ * The instance ID.
10
10
  *
11
11
  * @example
12
12
  * af-****
@@ -46,7 +46,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
46
46
  appType?: string;
47
47
  /**
48
48
  * @remarks
49
- * The custom Airflow configuration.
49
+ * The custom Airflow configurations.
50
50
  */
51
51
  customAirflowCfg?: string[];
52
52
  /**
@@ -64,7 +64,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
64
64
  dataMountInfoList?: DataMountInfo[];
65
65
  /**
66
66
  * @remarks
67
- * The error log information.
67
+ * The error log message.
68
68
  *
69
69
  * @example
70
70
  * vpc not found
@@ -72,7 +72,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
72
72
  deployErrorMsg?: string;
73
73
  /**
74
74
  * @remarks
75
- * The description of the Airflow instance.
75
+ * The description of Airflow.
76
76
  *
77
77
  * @example
78
78
  * order scheduler
@@ -80,7 +80,12 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
80
80
  description?: string;
81
81
  /**
82
82
  * @remarks
83
- * Specifies whether to enable Worker elasticity.
83
+ * Specifies whether data lineage is enabled.
84
+ */
85
+ enableLineage?: boolean;
86
+ /**
87
+ * @remarks
88
+ * Specifies whether to enable elasticity for workers.
84
89
  */
85
90
  enableServerless?: boolean;
86
91
  /**
@@ -93,12 +98,28 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
93
98
  gmtCreated?: string;
94
99
  /**
95
100
  * @remarks
96
- * The timeout period for the Worker to gracefully shut down.
101
+ * The timeout period for a worker to gracefully shut down.
97
102
  *
98
103
  * @example
99
104
  * 60
100
105
  */
101
106
  gracefulShutdownTimeout?: number;
107
+ /**
108
+ * @remarks
109
+ * The number of replicas for the lineage service. The default value is 1 when enabled. If omitted during an update, the original value is retained.
110
+ *
111
+ * @example
112
+ * 1
113
+ */
114
+ lineageReplicas?: number;
115
+ /**
116
+ * @remarks
117
+ * The specification of the lineage service. It uses the same tier as the Airflow instance specification.
118
+ *
119
+ * @example
120
+ * SMALL
121
+ */
122
+ lineageSpec?: string;
102
123
  /**
103
124
  * @remarks
104
125
  * The name of the OSS bucket.
@@ -125,7 +146,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
125
146
  pluginsDir?: string;
126
147
  /**
127
148
  * @remarks
128
- * The path of the installable package.
149
+ * The path of the installable packages.
129
150
  *
130
151
  * @example
131
152
  * default/requirements.txt
@@ -141,7 +162,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
141
162
  securityGroupId?: string;
142
163
  /**
143
164
  * @remarks
144
- * The file loaded when the Airflow instance starts. You can use this file to set environment variables and other configurations.
165
+ * The file loaded when the Airflow instance starts, which can be used to set environment variables.
145
166
  *
146
167
  * @example
147
168
  * default/startup.sh
@@ -149,7 +170,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
149
170
  startupFile?: string;
150
171
  /**
151
172
  * @remarks
152
- * The instance status of the Airflow instance.
173
+ * The instance status.
153
174
  *
154
175
  * @example
155
176
  * DEPLOYING
@@ -165,7 +186,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
165
186
  vSwitchId?: string;
166
187
  /**
167
188
  * @remarks
168
- * VPC ID。
189
+ * The VPC ID.
169
190
  *
170
191
  * @example
171
192
  * vpc-uf63r6coyiw9o5gf****
@@ -207,9 +228,12 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
207
228
  dataMountInfoList: 'DataMountInfoList',
208
229
  deployErrorMsg: 'DeployErrorMsg',
209
230
  description: 'Description',
231
+ enableLineage: 'EnableLineage',
210
232
  enableServerless: 'EnableServerless',
211
233
  gmtCreated: 'GmtCreated',
212
234
  gracefulShutdownTimeout: 'GracefulShutdownTimeout',
235
+ lineageReplicas: 'LineageReplicas',
236
+ lineageSpec: 'LineageSpec',
213
237
  ossBucketName: 'OssBucketName',
214
238
  ossPath: 'OssPath',
215
239
  pluginsDir: 'PluginsDir',
@@ -237,9 +261,12 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
237
261
  dataMountInfoList: { 'type': 'array', 'itemType': DataMountInfo },
238
262
  deployErrorMsg: 'string',
239
263
  description: 'string',
264
+ enableLineage: 'boolean',
240
265
  enableServerless: 'boolean',
241
266
  gmtCreated: 'string',
242
267
  gracefulShutdownTimeout: 'number',
268
+ lineageReplicas: 'number',
269
+ lineageSpec: 'string',
243
270
  ossBucketName: 'string',
244
271
  ossPath: 'string',
245
272
  pluginsDir: 'string',
@@ -273,7 +300,7 @@ export class CreateAirflowResponseBodyRoot extends $dara.Model {
273
300
  export class CreateAirflowResponseBody extends $dara.Model {
274
301
  /**
275
302
  * @remarks
276
- * The details of the access denial.
303
+ * The access denial details.
277
304
  *
278
305
  * @example
279
306
  * NOT_FOUND
@@ -297,7 +324,7 @@ export class CreateAirflowResponseBody extends $dara.Model {
297
324
  httpStatusCode?: number;
298
325
  /**
299
326
  * @remarks
300
- * The log information.
327
+ * The log message.
301
328
  *
302
329
  * @example
303
330
  * Successful
@@ -318,10 +345,10 @@ export class CreateAirflowResponseBody extends $dara.Model {
318
345
  root?: CreateAirflowResponseBodyRoot;
319
346
  /**
320
347
  * @remarks
321
- * Indicates whether the request was successful. Valid values:
348
+ * Indicates whether the request is successful. Valid values:
322
349
  *
323
- * - **true**: The request was successful.
324
- * - **false**: The request failed.
350
+ * - **true**: The request is successful.
351
+ * - **false**: The request fails.
325
352
  *
326
353
  * @example
327
354
  * true