@alicloud/rdsai20250507 3.8.0 → 3.8.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 +18 -26
- package/dist/client.js +38 -34
- package/dist/client.js.map +1 -1
- package/dist/models/ChatMessagesRequest.d.ts +26 -2
- package/dist/models/ChatMessagesRequest.js.map +1 -1
- package/dist/models/ChatMessagesResponseBody.d.ts +2 -2
- package/dist/models/ChatMessagesShrinkRequest.d.ts +4 -1
- package/dist/models/ChatMessagesShrinkRequest.js.map +1 -1
- package/dist/models/CreateApiKeyRequest.d.ts +9 -3
- package/dist/models/CreateApiKeyRequest.js +4 -0
- package/dist/models/CreateApiKeyRequest.js.map +1 -1
- package/dist/models/CreateApiKeyResponseBody.d.ts +13 -8
- package/dist/models/CreateApiKeyResponseBody.js +2 -0
- package/dist/models/CreateApiKeyResponseBody.js.map +1 -1
- package/dist/models/CreateInspectionTaskRequest.d.ts +2 -2
- package/dist/models/CreateScheduledTaskRequest.d.ts +12 -12
- package/dist/models/DeleteApiKeyRequest.d.ts +1 -1
- package/dist/models/DeleteApiKeyResponseBody.d.ts +2 -2
- package/dist/models/DeleteScheduledTaskResponseBody.d.ts +2 -2
- package/dist/models/GetInspectionReportRequest.d.ts +1 -1
- package/dist/models/GetInspectionReportResponseBody.d.ts +2 -2
- package/dist/models/GetScheduledInstancesRequest.d.ts +2 -2
- package/dist/models/GetScheduledInstancesResponseBody.d.ts +9 -9
- package/dist/models/GetStandAloneReportsRequest.d.ts +2 -2
- package/dist/models/GetStandAloneReportsResponseBody.d.ts +2 -2
- package/dist/models/ListApiKeysResponseBody.d.ts +17 -9
- package/dist/models/ListApiKeysResponseBody.js +2 -0
- package/dist/models/ListApiKeysResponseBody.js.map +1 -1
- package/dist/models/ListScheduledTasksResponseBody.d.ts +1 -1
- package/dist/models/ModifyScheduledTaskRequest.d.ts +3 -1
- package/dist/models/ModifyScheduledTaskRequest.js.map +1 -1
- package/dist/models/RenameApiKeyRequest.d.ts +5 -3
- package/dist/models/RenameApiKeyRequest.js +4 -0
- package/dist/models/RenameApiKeyRequest.js.map +1 -1
- package/dist/models/RenameApiKeyResponseBody.d.ts +2 -2
- package/package.json +1 -1
- package/src/client.ts +42 -34
- package/src/models/ChatMessagesRequest.ts +26 -2
- package/src/models/ChatMessagesResponseBody.ts +2 -2
- package/src/models/ChatMessagesShrinkRequest.ts +4 -1
- package/src/models/CreateApiKeyRequest.ts +13 -3
- package/src/models/CreateApiKeyResponseBody.ts +15 -8
- package/src/models/CreateInspectionTaskRequest.ts +2 -2
- package/src/models/CreateScheduledTaskRequest.ts +12 -12
- package/src/models/DeleteApiKeyRequest.ts +1 -1
- package/src/models/DeleteApiKeyResponseBody.ts +2 -2
- package/src/models/DeleteScheduledTaskResponseBody.ts +2 -2
- package/src/models/GetInspectionReportRequest.ts +1 -1
- package/src/models/GetInspectionReportResponseBody.ts +2 -2
- package/src/models/GetScheduledInstancesRequest.ts +2 -2
- package/src/models/GetScheduledInstancesResponseBody.ts +9 -9
- package/src/models/GetStandAloneReportsRequest.ts +2 -2
- package/src/models/GetStandAloneReportsResponseBody.ts +2 -2
- package/src/models/ListApiKeysResponseBody.ts +19 -9
- package/src/models/ListScheduledTasksResponseBody.ts +1 -1
- package/src/models/ModifyScheduledTaskRequest.ts +3 -1
- package/src/models/RenameApiKeyRequest.ts +9 -3
- package/src/models/RenameApiKeyResponseBody.ts +2 -2
package/dist/client.d.ts
CHANGED
|
@@ -245,8 +245,8 @@ export default class Client extends OpenApi {
|
|
|
245
245
|
* @remarks
|
|
246
246
|
* ### Applicable engine
|
|
247
247
|
* RDS PostgreSQL
|
|
248
|
-
* ### Related
|
|
249
|
-
* >Warning: This API operation incurs fees. Read the related
|
|
248
|
+
* ### Related documentation
|
|
249
|
+
* >Warning: This API operation incurs fees. Read the related documentation carefully before you perform this operation.
|
|
250
250
|
* [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html)
|
|
251
251
|
*
|
|
252
252
|
* @param request - CreateScheduledTaskRequest
|
|
@@ -260,8 +260,8 @@ export default class Client extends OpenApi {
|
|
|
260
260
|
* @remarks
|
|
261
261
|
* ### Applicable engine
|
|
262
262
|
* RDS PostgreSQL
|
|
263
|
-
* ### Related
|
|
264
|
-
* >Warning: This API operation incurs fees. Read the related
|
|
263
|
+
* ### Related documentation
|
|
264
|
+
* >Warning: This API operation incurs fees. Read the related documentation carefully before you perform this operation.
|
|
265
265
|
* [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html)
|
|
266
266
|
*
|
|
267
267
|
* @param request - CreateScheduledTaskRequest
|
|
@@ -288,7 +288,7 @@ export default class Client extends OpenApi {
|
|
|
288
288
|
*
|
|
289
289
|
* @remarks
|
|
290
290
|
* ### Applicable engine
|
|
291
|
-
* [RDS AI Assistant
|
|
291
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
292
292
|
*
|
|
293
293
|
* @param request - DeleteApiKeyRequest
|
|
294
294
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -300,7 +300,7 @@ export default class Client extends OpenApi {
|
|
|
300
300
|
*
|
|
301
301
|
* @remarks
|
|
302
302
|
* ### Applicable engine
|
|
303
|
-
* [RDS AI Assistant
|
|
303
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
304
304
|
*
|
|
305
305
|
* @param request - DeleteApiKeyRequest
|
|
306
306
|
* @returns DeleteApiKeyResponse
|
|
@@ -1017,7 +1017,7 @@ export default class Client extends OpenApi {
|
|
|
1017
1017
|
*/
|
|
1018
1018
|
getModelOperatorOrder(request: $_model.GetModelOperatorOrderRequest): Promise<$_model.GetModelOperatorOrderResponse>;
|
|
1019
1019
|
/**
|
|
1020
|
-
* Queries the
|
|
1020
|
+
* Queries the list of all instance IDs included in a specified scheduled inspection configuration.
|
|
1021
1021
|
*
|
|
1022
1022
|
* @param request - GetScheduledInstancesRequest
|
|
1023
1023
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1025,14 +1025,14 @@ export default class Client extends OpenApi {
|
|
|
1025
1025
|
*/
|
|
1026
1026
|
getScheduledInstancesWithOptions(request: $_model.GetScheduledInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetScheduledInstancesResponse>;
|
|
1027
1027
|
/**
|
|
1028
|
-
* Queries the
|
|
1028
|
+
* Queries the list of all instance IDs included in a specified scheduled inspection configuration.
|
|
1029
1029
|
*
|
|
1030
1030
|
* @param request - GetScheduledInstancesRequest
|
|
1031
1031
|
* @returns GetScheduledInstancesResponse
|
|
1032
1032
|
*/
|
|
1033
1033
|
getScheduledInstances(request: $_model.GetScheduledInstancesRequest): Promise<$_model.GetScheduledInstancesResponse>;
|
|
1034
1034
|
/**
|
|
1035
|
-
* Queries all inspection reports under a specified scheduled task, with support for time range
|
|
1035
|
+
* Queries all inspection reports under a specified scheduled task, with support for filtering by time range and pagination.
|
|
1036
1036
|
*
|
|
1037
1037
|
* @param request - GetScheduledReportsRequest
|
|
1038
1038
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1040,7 +1040,7 @@ export default class Client extends OpenApi {
|
|
|
1040
1040
|
*/
|
|
1041
1041
|
getScheduledReportsWithOptions(request: $_model.GetScheduledReportsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetScheduledReportsResponse>;
|
|
1042
1042
|
/**
|
|
1043
|
-
* Queries all inspection reports under a specified scheduled task, with support for time range
|
|
1043
|
+
* Queries all inspection reports under a specified scheduled task, with support for filtering by time range and pagination.
|
|
1044
1044
|
*
|
|
1045
1045
|
* @param request - GetScheduledReportsRequest
|
|
1046
1046
|
* @returns GetScheduledReportsResponse
|
|
@@ -1145,11 +1145,7 @@ export default class Client extends OpenApi {
|
|
|
1145
1145
|
* 根据workspaceId和状态过滤调用方账号下的工作区列表。
|
|
1146
1146
|
*
|
|
1147
1147
|
* @remarks
|
|
1148
|
-
*
|
|
1149
|
-
* - 该API用于获取指定条件下的工作区列表。
|
|
1150
|
-
* - `workspaceId` 和 `status` 参数均为可选,可以根据需要进行过滤。
|
|
1151
|
-
* - 如果不提供任何过滤参数,则返回调用方账号下的所有工作区。
|
|
1152
|
-
* - 注意:确保在请求中包含必要的认证信息(如callerUid、requestId等),否则将导致请求失败。
|
|
1148
|
+
* 列出上下文数据库工作空间
|
|
1153
1149
|
*
|
|
1154
1150
|
* @param request - ListContextDatabaseWorkspacesRequest
|
|
1155
1151
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1160,11 +1156,7 @@ export default class Client extends OpenApi {
|
|
|
1160
1156
|
* 根据workspaceId和状态过滤调用方账号下的工作区列表。
|
|
1161
1157
|
*
|
|
1162
1158
|
* @remarks
|
|
1163
|
-
*
|
|
1164
|
-
* - 该API用于获取指定条件下的工作区列表。
|
|
1165
|
-
* - `workspaceId` 和 `status` 参数均为可选,可以根据需要进行过滤。
|
|
1166
|
-
* - 如果不提供任何过滤参数,则返回调用方账号下的所有工作区。
|
|
1167
|
-
* - 注意:确保在请求中包含必要的认证信息(如callerUid、requestId等),否则将导致请求失败。
|
|
1159
|
+
* 列出上下文数据库工作空间
|
|
1168
1160
|
*
|
|
1169
1161
|
* @param request - ListContextDatabaseWorkspacesRequest
|
|
1170
1162
|
* @returns ListContextDatabaseWorkspacesResponse
|
|
@@ -1525,11 +1517,11 @@ export default class Client extends OpenApi {
|
|
|
1525
1517
|
*/
|
|
1526
1518
|
modifyWhitelistIps(request: $_model.ModifyWhitelistIpsRequest): Promise<$_model.ModifyWhitelistIpsResponse>;
|
|
1527
1519
|
/**
|
|
1528
|
-
* Renames
|
|
1520
|
+
* Renames a custom API key.
|
|
1529
1521
|
*
|
|
1530
1522
|
* @remarks
|
|
1531
|
-
* ### Applicable
|
|
1532
|
-
* [RDS AI Assistant
|
|
1523
|
+
* ### Applicable engine
|
|
1524
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
1533
1525
|
*
|
|
1534
1526
|
* @param request - RenameApiKeyRequest
|
|
1535
1527
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1537,11 +1529,11 @@ export default class Client extends OpenApi {
|
|
|
1537
1529
|
*/
|
|
1538
1530
|
renameApiKeyWithOptions(request: $_model.RenameApiKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RenameApiKeyResponse>;
|
|
1539
1531
|
/**
|
|
1540
|
-
* Renames
|
|
1532
|
+
* Renames a custom API key.
|
|
1541
1533
|
*
|
|
1542
1534
|
* @remarks
|
|
1543
|
-
* ### Applicable
|
|
1544
|
-
* [RDS AI Assistant
|
|
1535
|
+
* ### Applicable engine
|
|
1536
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
1545
1537
|
*
|
|
1546
1538
|
* @param request - RenameApiKeyRequest
|
|
1547
1539
|
* @returns RenameApiKeyResponse
|
package/dist/client.js
CHANGED
|
@@ -72,18 +72,18 @@ class Client extends openapi_core_1.default {
|
|
|
72
72
|
this._endpointMap = {
|
|
73
73
|
'cn-wulanchabu': "rdsai.aliyuncs.com",
|
|
74
74
|
'cn-shenzhen': "rdsai.aliyuncs.com",
|
|
75
|
+
'cn-beijing': "rdsai.aliyuncs.com",
|
|
76
|
+
'ap-northeast-1': "rdsai.ap-northeast-1.aliyuncs.com",
|
|
77
|
+
'cn-chengdu': "rdsai.cn-chengdu.aliyuncs.com",
|
|
75
78
|
'cn-shanghai': "rdsai.aliyuncs.com",
|
|
76
|
-
'cn-hongkong': "rdsai.cn-hongkong.aliyuncs.com",
|
|
77
|
-
'cn-hangzhou': "rdsai.aliyuncs.com",
|
|
78
79
|
'cn-guangzhou': "rdsai.aliyuncs.com",
|
|
79
|
-
'cn-
|
|
80
|
-
'cn-beijing': "rdsai.aliyuncs.com",
|
|
81
|
-
'ap-southeast-5': "rdsai.ap-southeast-5.aliyuncs.com",
|
|
82
|
-
'ap-southeast-3': "rdsai.ap-southeast-3.aliyuncs.com",
|
|
80
|
+
'cn-hongkong': "rdsai.cn-hongkong.aliyuncs.com",
|
|
83
81
|
'ap-southeast-1': "rdsai.ap-southeast-1.aliyuncs.com",
|
|
84
|
-
'ap-
|
|
85
|
-
'
|
|
82
|
+
'ap-southeast-3': "rdsai.ap-southeast-3.aliyuncs.com",
|
|
83
|
+
'ap-southeast-5': "rdsai.ap-southeast-5.aliyuncs.com",
|
|
84
|
+
'cn-hangzhou': "rdsai.aliyuncs.com",
|
|
86
85
|
'us-west-1': "rdsai.us-west-1.aliyuncs.com",
|
|
86
|
+
'eu-central-1': "rdsai.eu-central-1.aliyuncs.com",
|
|
87
87
|
};
|
|
88
88
|
this.checkConfig(config);
|
|
89
89
|
this._endpoint = this.getEndpoint("rdsai", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -309,6 +309,12 @@ class Client extends openapi_core_1.default {
|
|
|
309
309
|
if (!$dara.isNull(request.quantity)) {
|
|
310
310
|
query["Quantity"] = request.quantity;
|
|
311
311
|
}
|
|
312
|
+
if (!$dara.isNull(request.roleArn)) {
|
|
313
|
+
query["RoleArn"] = request.roleArn;
|
|
314
|
+
}
|
|
315
|
+
if (!$dara.isNull(request.roleName)) {
|
|
316
|
+
query["RoleName"] = request.roleName;
|
|
317
|
+
}
|
|
312
318
|
if (!$dara.isNull(request.tokenQuota)) {
|
|
313
319
|
query["TokenQuota"] = request.tokenQuota;
|
|
314
320
|
}
|
|
@@ -864,8 +870,8 @@ class Client extends openapi_core_1.default {
|
|
|
864
870
|
* @remarks
|
|
865
871
|
* ### Applicable engine
|
|
866
872
|
* RDS PostgreSQL
|
|
867
|
-
* ### Related
|
|
868
|
-
* >Warning: This API operation incurs fees. Read the related
|
|
873
|
+
* ### Related documentation
|
|
874
|
+
* >Warning: This API operation incurs fees. Read the related documentation carefully before you perform this operation.
|
|
869
875
|
* [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html)
|
|
870
876
|
*
|
|
871
877
|
* @param request - CreateScheduledTaskRequest
|
|
@@ -933,8 +939,8 @@ class Client extends openapi_core_1.default {
|
|
|
933
939
|
* @remarks
|
|
934
940
|
* ### Applicable engine
|
|
935
941
|
* RDS PostgreSQL
|
|
936
|
-
* ### Related
|
|
937
|
-
* >Warning: This API operation incurs fees. Read the related
|
|
942
|
+
* ### Related documentation
|
|
943
|
+
* >Warning: This API operation incurs fees. Read the related documentation carefully before you perform this operation.
|
|
938
944
|
* [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html)
|
|
939
945
|
*
|
|
940
946
|
* @param request - CreateScheduledTaskRequest
|
|
@@ -1005,7 +1011,7 @@ class Client extends openapi_core_1.default {
|
|
|
1005
1011
|
*
|
|
1006
1012
|
* @remarks
|
|
1007
1013
|
* ### Applicable engine
|
|
1008
|
-
* [RDS AI Assistant
|
|
1014
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
1009
1015
|
*
|
|
1010
1016
|
* @param request - DeleteApiKeyRequest
|
|
1011
1017
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1041,7 +1047,7 @@ class Client extends openapi_core_1.default {
|
|
|
1041
1047
|
*
|
|
1042
1048
|
* @remarks
|
|
1043
1049
|
* ### Applicable engine
|
|
1044
|
-
* [RDS AI Assistant
|
|
1050
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
1045
1051
|
*
|
|
1046
1052
|
* @param request - DeleteApiKeyRequest
|
|
1047
1053
|
* @returns DeleteApiKeyResponse
|
|
@@ -2759,7 +2765,7 @@ class Client extends openapi_core_1.default {
|
|
|
2759
2765
|
return await this.getModelOperatorOrderWithOptions(request, runtime);
|
|
2760
2766
|
}
|
|
2761
2767
|
/**
|
|
2762
|
-
* Queries the
|
|
2768
|
+
* Queries the list of all instance IDs included in a specified scheduled inspection configuration.
|
|
2763
2769
|
*
|
|
2764
2770
|
* @param request - GetScheduledInstancesRequest
|
|
2765
2771
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2794,7 +2800,7 @@ class Client extends openapi_core_1.default {
|
|
|
2794
2800
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetScheduledInstancesResponse({}));
|
|
2795
2801
|
}
|
|
2796
2802
|
/**
|
|
2797
|
-
* Queries the
|
|
2803
|
+
* Queries the list of all instance IDs included in a specified scheduled inspection configuration.
|
|
2798
2804
|
*
|
|
2799
2805
|
* @param request - GetScheduledInstancesRequest
|
|
2800
2806
|
* @returns GetScheduledInstancesResponse
|
|
@@ -2804,7 +2810,7 @@ class Client extends openapi_core_1.default {
|
|
|
2804
2810
|
return await this.getScheduledInstancesWithOptions(request, runtime);
|
|
2805
2811
|
}
|
|
2806
2812
|
/**
|
|
2807
|
-
* Queries all inspection reports under a specified scheduled task, with support for time range
|
|
2813
|
+
* Queries all inspection reports under a specified scheduled task, with support for filtering by time range and pagination.
|
|
2808
2814
|
*
|
|
2809
2815
|
* @param request - GetScheduledReportsRequest
|
|
2810
2816
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2845,7 +2851,7 @@ class Client extends openapi_core_1.default {
|
|
|
2845
2851
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetScheduledReportsResponse({}));
|
|
2846
2852
|
}
|
|
2847
2853
|
/**
|
|
2848
|
-
* Queries all inspection reports under a specified scheduled task, with support for time range
|
|
2854
|
+
* Queries all inspection reports under a specified scheduled task, with support for filtering by time range and pagination.
|
|
2849
2855
|
*
|
|
2850
2856
|
* @param request - GetScheduledReportsRequest
|
|
2851
2857
|
* @returns GetScheduledReportsResponse
|
|
@@ -3109,11 +3115,7 @@ class Client extends openapi_core_1.default {
|
|
|
3109
3115
|
* 根据workspaceId和状态过滤调用方账号下的工作区列表。
|
|
3110
3116
|
*
|
|
3111
3117
|
* @remarks
|
|
3112
|
-
*
|
|
3113
|
-
* - 该API用于获取指定条件下的工作区列表。
|
|
3114
|
-
* - `workspaceId` 和 `status` 参数均为可选,可以根据需要进行过滤。
|
|
3115
|
-
* - 如果不提供任何过滤参数,则返回调用方账号下的所有工作区。
|
|
3116
|
-
* - 注意:确保在请求中包含必要的认证信息(如callerUid、requestId等),否则将导致请求失败。
|
|
3118
|
+
* 列出上下文数据库工作空间
|
|
3117
3119
|
*
|
|
3118
3120
|
* @param request - ListContextDatabaseWorkspacesRequest
|
|
3119
3121
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3154,11 +3156,7 @@ class Client extends openapi_core_1.default {
|
|
|
3154
3156
|
* 根据workspaceId和状态过滤调用方账号下的工作区列表。
|
|
3155
3157
|
*
|
|
3156
3158
|
* @remarks
|
|
3157
|
-
*
|
|
3158
|
-
* - 该API用于获取指定条件下的工作区列表。
|
|
3159
|
-
* - `workspaceId` 和 `status` 参数均为可选,可以根据需要进行过滤。
|
|
3160
|
-
* - 如果不提供任何过滤参数,则返回调用方账号下的所有工作区。
|
|
3161
|
-
* - 注意:确保在请求中包含必要的认证信息(如callerUid、requestId等),否则将导致请求失败。
|
|
3159
|
+
* 列出上下文数据库工作空间
|
|
3162
3160
|
*
|
|
3163
3161
|
* @param request - ListContextDatabaseWorkspacesRequest
|
|
3164
3162
|
* @returns ListContextDatabaseWorkspacesResponse
|
|
@@ -4146,11 +4144,11 @@ class Client extends openapi_core_1.default {
|
|
|
4146
4144
|
return await this.modifyWhitelistIpsWithOptions(request, runtime);
|
|
4147
4145
|
}
|
|
4148
4146
|
/**
|
|
4149
|
-
* Renames
|
|
4147
|
+
* Renames a custom API key.
|
|
4150
4148
|
*
|
|
4151
4149
|
* @remarks
|
|
4152
|
-
* ### Applicable
|
|
4153
|
-
* [RDS AI Assistant
|
|
4150
|
+
* ### Applicable engine
|
|
4151
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
4154
4152
|
*
|
|
4155
4153
|
* @param request - RenameApiKeyRequest
|
|
4156
4154
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4168,6 +4166,12 @@ class Client extends openapi_core_1.default {
|
|
|
4168
4166
|
if (!$dara.isNull(request.keyName)) {
|
|
4169
4167
|
query["KeyName"] = request.keyName;
|
|
4170
4168
|
}
|
|
4169
|
+
if (!$dara.isNull(request.roleArn)) {
|
|
4170
|
+
query["RoleArn"] = request.roleArn;
|
|
4171
|
+
}
|
|
4172
|
+
if (!$dara.isNull(request.roleName)) {
|
|
4173
|
+
query["RoleName"] = request.roleName;
|
|
4174
|
+
}
|
|
4171
4175
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4172
4176
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4173
4177
|
});
|
|
@@ -4185,11 +4189,11 @@ class Client extends openapi_core_1.default {
|
|
|
4185
4189
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RenameApiKeyResponse({}));
|
|
4186
4190
|
}
|
|
4187
4191
|
/**
|
|
4188
|
-
* Renames
|
|
4192
|
+
* Renames a custom API key.
|
|
4189
4193
|
*
|
|
4190
4194
|
* @remarks
|
|
4191
|
-
* ### Applicable
|
|
4192
|
-
* [RDS AI Assistant
|
|
4195
|
+
* ### Applicable engine
|
|
4196
|
+
* [RDS AI Assistant Ultimate Edition](https://www.alibabacloud.com/help/en/rds/apsaradb-rds-for-mysql/rds-copilot-ultra)
|
|
4193
4197
|
*
|
|
4194
4198
|
* @param request - RenameApiKeyRequest
|
|
4195
4199
|
* @returns RenameApiKeyResponse
|