@alicloud/rdsai20250507 3.9.0 → 3.9.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 CHANGED
@@ -769,11 +769,11 @@ export default class Client extends OpenApi {
769
769
  */
770
770
  describeMOUsageDetailExport(request: $_model.DescribeMOUsageDetailExportRequest): Promise<$_model.DescribeMOUsageDetailExportResponse>;
771
771
  /**
772
- * View basic information and usage for the RDS AI Assistant Ultimate Edition.
772
+ * Queries the basic information and usage of RDS AI Assistant Ultimate Edition.
773
773
  *
774
774
  * @remarks
775
- * ### Supported engines
776
- * [RDS AI Assistant Enterprise Edition](https://help.aliyun.com/zh/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
775
+ * ### Applicable engine
776
+ * [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
777
777
  *
778
778
  * @param request - DescribeModelOperatorRequest
779
779
  * @param runtime - runtime options for this request RuntimeOptions
@@ -781,11 +781,11 @@ export default class Client extends OpenApi {
781
781
  */
782
782
  describeModelOperatorWithOptions(request: $_model.DescribeModelOperatorRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeModelOperatorResponse>;
783
783
  /**
784
- * View basic information and usage for the RDS AI Assistant Ultimate Edition.
784
+ * Queries the basic information and usage of RDS AI Assistant Ultimate Edition.
785
785
  *
786
786
  * @remarks
787
- * ### Supported engines
788
- * [RDS AI Assistant Enterprise Edition](https://help.aliyun.com/zh/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
787
+ * ### Applicable engine
788
+ * [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
789
789
  *
790
790
  * @param request - DescribeModelOperatorRequest
791
791
  * @returns DescribeModelOperatorResponse
@@ -1011,10 +1011,11 @@ export default class Client extends OpenApi {
1011
1011
  */
1012
1012
  getMessages(request: $_model.GetMessagesRequest): Promise<$_model.GetMessagesResponse>;
1013
1013
  /**
1014
- * Obtain RDS AI Assistant Ultimate order information
1014
+ * Retrieves order information for the RDS AI Assistant Ultimate Edition.
1015
1015
  *
1016
1016
  * @remarks
1017
- * ### Applicable DPI engine
1017
+ * ### Applicable engine
1018
+ * [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
1018
1019
  *
1019
1020
  * @param request - GetModelOperatorOrderRequest
1020
1021
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1022,10 +1023,11 @@ export default class Client extends OpenApi {
1022
1023
  */
1023
1024
  getModelOperatorOrderWithOptions(request: $_model.GetModelOperatorOrderRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetModelOperatorOrderResponse>;
1024
1025
  /**
1025
- * Obtain RDS AI Assistant Ultimate order information
1026
+ * Retrieves order information for the RDS AI Assistant Ultimate Edition.
1026
1027
  *
1027
1028
  * @remarks
1028
- * ### Applicable DPI engine
1029
+ * ### Applicable engine
1030
+ * [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
1029
1031
  *
1030
1032
  * @param request - GetModelOperatorOrderRequest
1031
1033
  * @returns GetModelOperatorOrderResponse
package/dist/client.js CHANGED
@@ -2151,11 +2151,11 @@ class Client extends openapi_core_1.default {
2151
2151
  return await this.describeMOUsageDetailExportWithOptions(request, runtime);
2152
2152
  }
2153
2153
  /**
2154
- * View basic information and usage for the RDS AI Assistant Ultimate Edition.
2154
+ * Queries the basic information and usage of RDS AI Assistant Ultimate Edition.
2155
2155
  *
2156
2156
  * @remarks
2157
- * ### Supported engines
2158
- * [RDS AI Assistant Enterprise Edition](https://help.aliyun.com/zh/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
2157
+ * ### Applicable engine
2158
+ * [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
2159
2159
  *
2160
2160
  * @param request - DescribeModelOperatorRequest
2161
2161
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2167,6 +2167,9 @@ class Client extends openapi_core_1.default {
2167
2167
  if (!$dara.isNull(request.instanceId)) {
2168
2168
  query["InstanceId"] = request.instanceId;
2169
2169
  }
2170
+ if (!$dara.isNull(request.region)) {
2171
+ query["Region"] = request.region;
2172
+ }
2170
2173
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2171
2174
  query: openapi_core_2.OpenApiUtil.query(query),
2172
2175
  });
@@ -2184,11 +2187,11 @@ class Client extends openapi_core_1.default {
2184
2187
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeModelOperatorResponse({}));
2185
2188
  }
2186
2189
  /**
2187
- * View basic information and usage for the RDS AI Assistant Ultimate Edition.
2190
+ * Queries the basic information and usage of RDS AI Assistant Ultimate Edition.
2188
2191
  *
2189
2192
  * @remarks
2190
- * ### Supported engines
2191
- * [RDS AI Assistant Enterprise Edition](https://help.aliyun.com/zh/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
2193
+ * ### Applicable engine
2194
+ * [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
2192
2195
  *
2193
2196
  * @param request - DescribeModelOperatorRequest
2194
2197
  * @returns DescribeModelOperatorResponse
@@ -2770,10 +2773,11 @@ class Client extends openapi_core_1.default {
2770
2773
  return await this.getMessagesWithOptions(request, runtime);
2771
2774
  }
2772
2775
  /**
2773
- * Obtain RDS AI Assistant Ultimate order information
2776
+ * Retrieves order information for the RDS AI Assistant Ultimate Edition.
2774
2777
  *
2775
2778
  * @remarks
2776
- * ### Applicable DPI engine
2779
+ * ### Applicable engine
2780
+ * [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
2777
2781
  *
2778
2782
  * @param request - GetModelOperatorOrderRequest
2779
2783
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2781,7 +2785,13 @@ class Client extends openapi_core_1.default {
2781
2785
  */
2782
2786
  async getModelOperatorOrderWithOptions(request, runtime) {
2783
2787
  request.validate();
2784
- let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({});
2788
+ let query = {};
2789
+ if (!$dara.isNull(request.region)) {
2790
+ query["Region"] = request.region;
2791
+ }
2792
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2793
+ query: openapi_core_2.OpenApiUtil.query(query),
2794
+ });
2785
2795
  let params = new openapi_core_2.$OpenApiUtil.Params({
2786
2796
  action: "GetModelOperatorOrder",
2787
2797
  version: "2025-05-07",
@@ -2796,10 +2806,11 @@ class Client extends openapi_core_1.default {
2796
2806
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetModelOperatorOrderResponse({}));
2797
2807
  }
2798
2808
  /**
2799
- * Obtain RDS AI Assistant Ultimate order information
2809
+ * Retrieves order information for the RDS AI Assistant Ultimate Edition.
2800
2810
  *
2801
2811
  * @remarks
2802
- * ### Applicable DPI engine
2812
+ * ### Applicable engine
2813
+ * [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
2803
2814
  *
2804
2815
  * @param request - GetModelOperatorOrderRequest
2805
2816
  * @returns GetModelOperatorOrderResponse