@alicloud/dms20250414 1.25.0 → 2.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.
package/dist/client.d.ts CHANGED
@@ -201,7 +201,7 @@ export default class Client extends OpenApi {
201
201
  */
202
202
  createDataAgentAccuracyTest(request: $_model.CreateDataAgentAccuracyTestRequest): Promise<$_model.CreateDataAgentAccuracyTestResponse>;
203
203
  /**
204
- * Data Agent点赞点踩功能
204
+ * Creates feedback for a DataAgent.
205
205
  *
206
206
  * @param request - CreateDataAgentFeedbackRequest
207
207
  * @param runtime - runtime options for this request RuntimeOptions
@@ -209,7 +209,7 @@ export default class Client extends OpenApi {
209
209
  */
210
210
  createDataAgentFeedbackWithOptions(request: $_model.CreateDataAgentFeedbackRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDataAgentFeedbackResponse>;
211
211
  /**
212
- * Data Agent点赞点踩功能
212
+ * Creates feedback for a DataAgent.
213
213
  *
214
214
  * @param request - CreateDataAgentFeedbackRequest
215
215
  * @returns CreateDataAgentFeedbackResponse
@@ -1122,6 +1122,9 @@ export default class Client extends OpenApi {
1122
1122
  /**
1123
1123
  * Queries the operation logs of the SQL window.
1124
1124
  *
1125
+ * @remarks
1126
+ * When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
1127
+ *
1125
1128
  * @param request - GetSqlConsoleOperationLogRequest
1126
1129
  * @param runtime - runtime options for this request RuntimeOptions
1127
1130
  * @returns GetSqlConsoleOperationLogResponse
@@ -1130,6 +1133,9 @@ export default class Client extends OpenApi {
1130
1133
  /**
1131
1134
  * Queries the operation logs of the SQL window.
1132
1135
  *
1136
+ * @remarks
1137
+ * When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
1138
+ *
1133
1139
  * @param request - GetSqlConsoleOperationLogRequest
1134
1140
  * @returns GetSqlConsoleOperationLogResponse
1135
1141
  */
@@ -1285,7 +1291,7 @@ export default class Client extends OpenApi {
1285
1291
  */
1286
1292
  listAirflows(request: $_model.ListAirflowsRequest): Promise<$_model.ListAirflowsResponse>;
1287
1293
  /**
1288
- * ListCustomAgent returns a list of all custom agents from the personal space and workspaces.
1294
+ * Lists all custom agents in a personal space or workspace.
1289
1295
  *
1290
1296
  * @param request - ListCustomAgentRequest
1291
1297
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1293,7 +1299,7 @@ export default class Client extends OpenApi {
1293
1299
  */
1294
1300
  listCustomAgentWithOptions(request: $_model.ListCustomAgentRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListCustomAgentResponse>;
1295
1301
  /**
1296
- * ListCustomAgent returns a list of all custom agents from the personal space and workspaces.
1302
+ * Lists all custom agents in a personal space or workspace.
1297
1303
  *
1298
1304
  * @param request - ListCustomAgentRequest
1299
1305
  * @returns ListCustomAgentResponse
@@ -1901,7 +1907,7 @@ export default class Client extends OpenApi {
1901
1907
  *
1902
1908
  * @remarks
1903
1909
  * ## Request description
1904
- * - `message_type` defaults to `primary`. Set it to `additional` or `cancel` when you need to append information or cancel a session.
1910
+ * - `message_type` defaults to `primary`. To append information or cancel a session, set it to `additional` or `cancel`.
1905
1911
  * - The `reply_to` field indicates which Agent message this message is a response to. The default value is `0`.
1906
1912
  * - When `message_type` is `additional`, the `question` field is required.
1907
1913
  * - `quoted_message` can be used to quote the content of a previous user message.
@@ -1916,7 +1922,7 @@ export default class Client extends OpenApi {
1916
1922
  *
1917
1923
  * @remarks
1918
1924
  * ## Request description
1919
- * - `message_type` defaults to `primary`. Set it to `additional` or `cancel` when you need to append information or cancel a session.
1925
+ * - `message_type` defaults to `primary`. To append information or cancel a session, set it to `additional` or `cancel`.
1920
1926
  * - The `reply_to` field indicates which Agent message this message is a response to. The default value is `0`.
1921
1927
  * - When `message_type` is `additional`, the `question` field is required.
1922
1928
  * - `quoted_message` can be used to quote the content of a previous user message.
package/dist/client.js CHANGED
@@ -69,16 +69,6 @@ class Client extends openapi_core_1.default {
69
69
  constructor(config) {
70
70
  super(config);
71
71
  this._endpointRule = "regional";
72
- this._endpointMap = {
73
- 'cn-shenzhen': "dms.cn-shenzhen.aliyuncs.com",
74
- 'cn-beijing': "dms.cn-beijing.aliyuncs.com",
75
- 'cn-shanghai': "dms.cn-shanghai.aliyuncs.com",
76
- 'cn-hongkong': "dms.cn-hongkong.aliyuncs.com",
77
- 'ap-southeast-1': "dms.ap-southeast-1.aliyuncs.com",
78
- 'cn-hangzhou': "dms.cn-hangzhou.aliyuncs.com",
79
- 'us-west-1': "dms.us-west-1.aliyuncs.com",
80
- 'us-east-1': "dms.us-east-1.aliyuncs.com",
81
- };
82
72
  this.checkConfig(config);
83
73
  this._endpoint = this.getEndpoint("dms", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
84
74
  }
@@ -850,7 +840,7 @@ class Client extends openapi_core_1.default {
850
840
  return await this.createDataAgentAccuracyTestWithOptions(request, runtime);
851
841
  }
852
842
  /**
853
- * Data Agent点赞点踩功能
843
+ * Creates feedback for a DataAgent.
854
844
  *
855
845
  * @param request - CreateDataAgentFeedbackRequest
856
846
  * @param runtime - runtime options for this request RuntimeOptions
@@ -900,7 +890,7 @@ class Client extends openapi_core_1.default {
900
890
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDataAgentFeedbackResponse({}));
901
891
  }
902
892
  /**
903
- * Data Agent点赞点踩功能
893
+ * Creates feedback for a DataAgent.
904
894
  *
905
895
  * @param request - CreateDataAgentFeedbackRequest
906
896
  * @returns CreateDataAgentFeedbackResponse
@@ -3733,6 +3723,9 @@ class Client extends openapi_core_1.default {
3733
3723
  /**
3734
3724
  * Queries the operation logs of the SQL window.
3735
3725
  *
3726
+ * @remarks
3727
+ * When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
3728
+ *
3736
3729
  * @param request - GetSqlConsoleOperationLogRequest
3737
3730
  * @param runtime - runtime options for this request RuntimeOptions
3738
3731
  * @returns GetSqlConsoleOperationLogResponse
@@ -3783,6 +3776,9 @@ class Client extends openapi_core_1.default {
3783
3776
  /**
3784
3777
  * Queries the operation logs of the SQL window.
3785
3778
  *
3779
+ * @remarks
3780
+ * When you call this operation, the service endpoint must match the region where the instance resides. Otherwise, the complete SQL window operation logs cannot be retrieved.
3781
+ *
3786
3782
  * @param request - GetSqlConsoleOperationLogRequest
3787
3783
  * @returns GetSqlConsoleOperationLogResponse
3788
3784
  */
@@ -4202,7 +4198,7 @@ class Client extends openapi_core_1.default {
4202
4198
  return await this.listAirflowsWithOptions(request, runtime);
4203
4199
  }
4204
4200
  /**
4205
- * ListCustomAgent returns a list of all custom agents from the personal space and workspaces.
4201
+ * Lists all custom agents in a personal space or workspace.
4206
4202
  *
4207
4203
  * @param request - ListCustomAgentRequest
4208
4204
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4246,7 +4242,7 @@ class Client extends openapi_core_1.default {
4246
4242
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCustomAgentResponse({}));
4247
4243
  }
4248
4244
  /**
4249
- * ListCustomAgent returns a list of all custom agents from the personal space and workspaces.
4245
+ * Lists all custom agents in a personal space or workspace.
4250
4246
  *
4251
4247
  * @param request - ListCustomAgentRequest
4252
4248
  * @returns ListCustomAgentResponse
@@ -6490,7 +6486,7 @@ class Client extends openapi_core_1.default {
6490
6486
  *
6491
6487
  * @remarks
6492
6488
  * ## Request description
6493
- * - `message_type` defaults to `primary`. Set it to `additional` or `cancel` when you need to append information or cancel a session.
6489
+ * - `message_type` defaults to `primary`. To append information or cancel a session, set it to `additional` or `cancel`.
6494
6490
  * - The `reply_to` field indicates which Agent message this message is a response to. The default value is `0`.
6495
6491
  * - When `message_type` is `additional`, the `question` field is required.
6496
6492
  * - `quoted_message` can be used to quote the content of a previous user message.
@@ -6582,7 +6578,7 @@ class Client extends openapi_core_1.default {
6582
6578
  *
6583
6579
  * @remarks
6584
6580
  * ## Request description
6585
- * - `message_type` defaults to `primary`. Set it to `additional` or `cancel` when you need to append information or cancel a session.
6581
+ * - `message_type` defaults to `primary`. To append information or cancel a session, set it to `additional` or `cancel`.
6586
6582
  * - The `reply_to` field indicates which Agent message this message is a response to. The default value is `0`.
6587
6583
  * - When `message_type` is `additional`, the `question` field is required.
6588
6584
  * - `quoted_message` can be used to quote the content of a previous user message.