@alicloud/polardb20170801 9.2.2 → 9.2.3
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 +16 -16
- package/dist/client.js +34 -16
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAgenticDbtenantApiKeyRequest.d.ts +9 -3
- package/dist/models/CreateAgenticDbtenantApiKeyRequest.js +2 -0
- package/dist/models/CreateAgenticDbtenantApiKeyRequest.js.map +1 -1
- package/dist/models/CreateAgenticDbtenantApiKeyResponseBody.d.ts +2 -2
- package/dist/models/CreateBatchTaskRequest.d.ts +10 -3
- package/dist/models/CreateBatchTaskRequest.js +2 -0
- package/dist/models/CreateBatchTaskRequest.js.map +1 -1
- package/dist/models/CreateBatchTaskShrinkRequest.d.ts +10 -3
- package/dist/models/CreateBatchTaskShrinkRequest.js +2 -0
- package/dist/models/CreateBatchTaskShrinkRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbprojectsRequest.d.ts +4 -4
- package/dist/models/DescribeAgenticDbprojectsResponseBody.d.ts +14 -7
- package/dist/models/DescribeAgenticDbprojectsResponseBody.js +2 -0
- package/dist/models/DescribeAgenticDbprojectsResponseBody.js.map +1 -1
- package/dist/models/DescribeBatchTasksRequest.d.ts +7 -7
- package/dist/models/DescribeBatchTasksResponseBody.d.ts +8 -8
- package/dist/models/DescribeBatchTasksShrinkRequest.d.ts +7 -7
- package/dist/models/DescribeVswitchListRequest.d.ts +10 -12
- package/dist/models/DescribeVswitchListRequest.js.map +1 -1
- package/dist/models/DescribeVswitchListResponseBody.d.ts +8 -12
- package/dist/models/DescribeVswitchListResponseBody.js.map +1 -1
- package/dist/models/DisableDbclusterOrcaRequest.d.ts +3 -3
- package/dist/models/EnableDbclusterOrcaRequest.d.ts +1 -2
- package/dist/models/EnableDbclusterOrcaRequest.js.map +1 -1
- package/dist/models/EnableDbclusterOrcaResponseBody.d.ts +1 -1
- package/dist/models/InstallPolarClawSkillRequest.d.ts +19 -3
- package/dist/models/InstallPolarClawSkillRequest.js +4 -0
- package/dist/models/InstallPolarClawSkillRequest.js.map +1 -1
- package/dist/models/InstallPolarClawSkillResponseBody.d.ts +30 -6
- package/dist/models/InstallPolarClawSkillResponseBody.js +6 -0
- package/dist/models/InstallPolarClawSkillResponseBody.js.map +1 -1
- package/dist/models/ModifyResourceControlRequest.d.ts +3 -3
- package/dist/models/ModifyResourceControlResponseBody.d.ts +1 -1
- package/dist/models/SearchPolarClawSkillsRequest.d.ts +17 -1
- package/dist/models/SearchPolarClawSkillsRequest.js +4 -0
- package/dist/models/SearchPolarClawSkillsRequest.js.map +1 -1
- package/dist/models/SearchPolarClawSkillsResponseBody.d.ts +3 -3
- package/dist/models/UpdatePolarClawAgentSkillsRequest.d.ts +1 -1
- package/dist/models/UpdatePolarClawAgentSkillsResponseBody.d.ts +3 -3
- package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.d.ts +1 -1
- package/dist/models/UpdatePolarClawSkillRequest.d.ts +1 -1
- package/dist/models/UpdatePolarClawSkillResponseBody.d.ts +2 -2
- package/dist/models/UpdatePolarClawSkillShrinkRequest.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +40 -16
- package/src/models/CreateAgenticDbtenantApiKeyRequest.ts +11 -3
- package/src/models/CreateAgenticDbtenantApiKeyResponseBody.ts +2 -2
- package/src/models/CreateBatchTaskRequest.ts +12 -3
- package/src/models/CreateBatchTaskShrinkRequest.ts +12 -3
- package/src/models/DescribeAgenticDbprojectsRequest.ts +4 -4
- package/src/models/DescribeAgenticDbprojectsResponseBody.ts +16 -7
- package/src/models/DescribeBatchTasksRequest.ts +7 -7
- package/src/models/DescribeBatchTasksResponseBody.ts +8 -8
- package/src/models/DescribeBatchTasksShrinkRequest.ts +7 -7
- package/src/models/DescribeVswitchListRequest.ts +10 -12
- package/src/models/DescribeVswitchListResponseBody.ts +8 -12
- package/src/models/DisableDbclusterOrcaRequest.ts +3 -3
- package/src/models/EnableDbclusterOrcaRequest.ts +1 -2
- package/src/models/EnableDbclusterOrcaResponseBody.ts +1 -1
- package/src/models/InstallPolarClawSkillRequest.ts +23 -3
- package/src/models/InstallPolarClawSkillResponseBody.ts +36 -6
- package/src/models/ModifyResourceControlRequest.ts +3 -3
- package/src/models/ModifyResourceControlResponseBody.ts +1 -1
- package/src/models/SearchPolarClawSkillsRequest.ts +21 -1
- package/src/models/SearchPolarClawSkillsResponseBody.ts +3 -3
- package/src/models/UpdatePolarClawAgentSkillsRequest.ts +1 -1
- package/src/models/UpdatePolarClawAgentSkillsResponseBody.ts +3 -3
- package/src/models/UpdatePolarClawAgentSkillsShrinkRequest.ts +1 -1
- package/src/models/UpdatePolarClawSkillRequest.ts +1 -1
- package/src/models/UpdatePolarClawSkillResponseBody.ts +2 -2
- package/src/models/UpdatePolarClawSkillShrinkRequest.ts +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -2978,7 +2978,7 @@ export default class Client extends OpenApi {
|
|
|
2978
2978
|
*/
|
|
2979
2979
|
describeAgenticDBProjectHistoryRetention(request: $_model.DescribeAgenticDBProjectHistoryRetentionRequest): Promise<$_model.DescribeAgenticDBProjectHistoryRetentionResponse>;
|
|
2980
2980
|
/**
|
|
2981
|
-
* Queries
|
|
2981
|
+
* Queries the list of AgenticDB projects.
|
|
2982
2982
|
*
|
|
2983
2983
|
* @param request - DescribeAgenticDBProjectsRequest
|
|
2984
2984
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2986,7 +2986,7 @@ export default class Client extends OpenApi {
|
|
|
2986
2986
|
*/
|
|
2987
2987
|
describeAgenticDBProjectsWithOptions(request: $_model.DescribeAgenticDBProjectsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAgenticDBProjectsResponse>;
|
|
2988
2988
|
/**
|
|
2989
|
-
* Queries
|
|
2989
|
+
* Queries the list of AgenticDB projects.
|
|
2990
2990
|
*
|
|
2991
2991
|
* @param request - DescribeAgenticDBProjectsRequest
|
|
2992
2992
|
* @returns DescribeAgenticDBProjectsResponse
|
|
@@ -5338,7 +5338,7 @@ export default class Client extends OpenApi {
|
|
|
5338
5338
|
*/
|
|
5339
5339
|
describeUserEncryptionKeyList(request: $_model.DescribeUserEncryptionKeyListRequest): Promise<$_model.DescribeUserEncryptionKeyListResponse>;
|
|
5340
5340
|
/**
|
|
5341
|
-
*
|
|
5341
|
+
* Queries vSwitch information.
|
|
5342
5342
|
*
|
|
5343
5343
|
* @param request - DescribeVSwitchListRequest
|
|
5344
5344
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5346,7 +5346,7 @@ export default class Client extends OpenApi {
|
|
|
5346
5346
|
*/
|
|
5347
5347
|
describeVSwitchListWithOptions(request: $_model.DescribeVSwitchListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVSwitchListResponse>;
|
|
5348
5348
|
/**
|
|
5349
|
-
*
|
|
5349
|
+
* Queries vSwitch information.
|
|
5350
5350
|
*
|
|
5351
5351
|
* @param request - DescribeVSwitchListRequest
|
|
5352
5352
|
* @returns DescribeVSwitchListResponse
|
|
@@ -5413,7 +5413,7 @@ export default class Client extends OpenApi {
|
|
|
5413
5413
|
*/
|
|
5414
5414
|
disableDBClusterDynamoDB(request: $_model.DisableDBClusterDynamoDBRequest): Promise<$_model.DisableDBClusterDynamoDBResponse>;
|
|
5415
5415
|
/**
|
|
5416
|
-
*
|
|
5416
|
+
* Closes the cluster relationship.
|
|
5417
5417
|
*
|
|
5418
5418
|
* @param request - DisableDBClusterOrcaRequest
|
|
5419
5419
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5421,7 +5421,7 @@ export default class Client extends OpenApi {
|
|
|
5421
5421
|
*/
|
|
5422
5422
|
disableDBClusterOrcaWithOptions(request: $_model.DisableDBClusterOrcaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DisableDBClusterOrcaResponse>;
|
|
5423
5423
|
/**
|
|
5424
|
-
*
|
|
5424
|
+
* Closes the cluster relationship.
|
|
5425
5425
|
*
|
|
5426
5426
|
* @param request - DisableDBClusterOrcaRequest
|
|
5427
5427
|
* @returns DisableDBClusterOrcaResponse
|
|
@@ -5511,7 +5511,7 @@ export default class Client extends OpenApi {
|
|
|
5511
5511
|
*/
|
|
5512
5512
|
enableDBClusterDynamoDB(request: $_model.EnableDBClusterDynamoDBRequest): Promise<$_model.EnableDBClusterDynamoDBResponse>;
|
|
5513
5513
|
/**
|
|
5514
|
-
* Enables the
|
|
5514
|
+
* Enables the relational feature for a cluster.
|
|
5515
5515
|
*
|
|
5516
5516
|
* @param request - EnableDBClusterOrcaRequest
|
|
5517
5517
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5519,7 +5519,7 @@ export default class Client extends OpenApi {
|
|
|
5519
5519
|
*/
|
|
5520
5520
|
enableDBClusterOrcaWithOptions(request: $_model.EnableDBClusterOrcaRequest, runtime: $dara.RuntimeOptions): Promise<$_model.EnableDBClusterOrcaResponse>;
|
|
5521
5521
|
/**
|
|
5522
|
-
* Enables the
|
|
5522
|
+
* Enables the relational feature for a cluster.
|
|
5523
5523
|
*
|
|
5524
5524
|
* @param request - EnableDBClusterOrcaRequest
|
|
5525
5525
|
* @returns EnableDBClusterOrcaResponse
|
|
@@ -5819,7 +5819,7 @@ export default class Client extends OpenApi {
|
|
|
5819
5819
|
*/
|
|
5820
5820
|
installPolarClawPlugin(request: $_model.InstallPolarClawPluginRequest): Promise<$_model.InstallPolarClawPluginResponse>;
|
|
5821
5821
|
/**
|
|
5822
|
-
* Installs a PolarClaw
|
|
5822
|
+
* Installs a PolarClaw skill.
|
|
5823
5823
|
*
|
|
5824
5824
|
* @param request - InstallPolarClawSkillRequest
|
|
5825
5825
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5827,7 +5827,7 @@ export default class Client extends OpenApi {
|
|
|
5827
5827
|
*/
|
|
5828
5828
|
installPolarClawSkillWithOptions(request: $_model.InstallPolarClawSkillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.InstallPolarClawSkillResponse>;
|
|
5829
5829
|
/**
|
|
5830
|
-
* Installs a PolarClaw
|
|
5830
|
+
* Installs a PolarClaw skill.
|
|
5831
5831
|
*
|
|
5832
5832
|
* @param request - InstallPolarClawSkillRequest
|
|
5833
5833
|
* @returns InstallPolarClawSkillResponse
|
|
@@ -7084,7 +7084,7 @@ export default class Client extends OpenApi {
|
|
|
7084
7084
|
*/
|
|
7085
7085
|
modifyRateLimitPolicy(request: $_model.ModifyRateLimitPolicyRequest): Promise<$_model.ModifyRateLimitPolicyResponse>;
|
|
7086
7086
|
/**
|
|
7087
|
-
* Modifies the CPU quota of an existing resource control rule in a specified PolarDB for MySQL cluster. You can modify the current quota value or switch between the maximum CPU quota percentage mode and the maximum CPU core count mode. When modifying the rule, you must specify
|
|
7087
|
+
* Modifies the CPU quota of an existing resource control rule in a specified PolarDB for MySQL cluster. You can modify the current quota value or switch between the maximum CPU quota percentage mode and the maximum CPU core count mode. When modifying the rule, you must specify either MaxCpu or CpuCount, but not both.
|
|
7088
7088
|
*
|
|
7089
7089
|
* @remarks
|
|
7090
7090
|
* Resource Control is used to limit the CPU resources available to specified users, databases, queries, or connections in a PolarDB for MySQL cluster. This release supports creating, modifying, deleting, binding, and unbinding resource control rules, but does not support querying Resource Control CPU utilization.
|
|
@@ -7101,7 +7101,7 @@ export default class Client extends OpenApi {
|
|
|
7101
7101
|
*/
|
|
7102
7102
|
modifyResourceControlWithOptions(request: $_model.ModifyResourceControlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyResourceControlResponse>;
|
|
7103
7103
|
/**
|
|
7104
|
-
* Modifies the CPU quota of an existing resource control rule in a specified PolarDB for MySQL cluster. You can modify the current quota value or switch between the maximum CPU quota percentage mode and the maximum CPU core count mode. When modifying the rule, you must specify
|
|
7104
|
+
* Modifies the CPU quota of an existing resource control rule in a specified PolarDB for MySQL cluster. You can modify the current quota value or switch between the maximum CPU quota percentage mode and the maximum CPU core count mode. When modifying the rule, you must specify either MaxCpu or CpuCount, but not both.
|
|
7105
7105
|
*
|
|
7106
7106
|
* @remarks
|
|
7107
7107
|
* Resource Control is used to limit the CPU resources available to specified users, databases, queries, or connections in a PolarDB for MySQL cluster. This release supports creating, modifying, deleting, binding, and unbinding resource control rules, but does not support querying Resource Control CPU utilization.
|
|
@@ -7664,7 +7664,7 @@ export default class Client extends OpenApi {
|
|
|
7664
7664
|
*/
|
|
7665
7665
|
searchMemories(request: $_model.SearchMemoriesRequest): Promise<$_model.SearchMemoriesResponse>;
|
|
7666
7666
|
/**
|
|
7667
|
-
* Searches for PolarClaw
|
|
7667
|
+
* Searches for PolarClaw skills.
|
|
7668
7668
|
*
|
|
7669
7669
|
* @param request - SearchPolarClawSkillsRequest
|
|
7670
7670
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7672,7 +7672,7 @@ export default class Client extends OpenApi {
|
|
|
7672
7672
|
*/
|
|
7673
7673
|
searchPolarClawSkillsWithOptions(request: $_model.SearchPolarClawSkillsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchPolarClawSkillsResponse>;
|
|
7674
7674
|
/**
|
|
7675
|
-
* Searches for PolarClaw
|
|
7675
|
+
* Searches for PolarClaw skills.
|
|
7676
7676
|
*
|
|
7677
7677
|
* @param request - SearchPolarClawSkillsRequest
|
|
7678
7678
|
* @returns SearchPolarClawSkillsResponse
|
|
@@ -7980,7 +7980,7 @@ export default class Client extends OpenApi {
|
|
|
7980
7980
|
*/
|
|
7981
7981
|
updatePolarClawAgent(request: $_model.UpdatePolarClawAgentRequest): Promise<$_model.UpdatePolarClawAgentResponse>;
|
|
7982
7982
|
/**
|
|
7983
|
-
* Updates the skills of a PolarClaw
|
|
7983
|
+
* Updates the skills of a PolarClaw agent.
|
|
7984
7984
|
*
|
|
7985
7985
|
* @param tmpReq - UpdatePolarClawAgentSkillsRequest
|
|
7986
7986
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7988,7 +7988,7 @@ export default class Client extends OpenApi {
|
|
|
7988
7988
|
*/
|
|
7989
7989
|
updatePolarClawAgentSkillsWithOptions(tmpReq: $_model.UpdatePolarClawAgentSkillsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdatePolarClawAgentSkillsResponse>;
|
|
7990
7990
|
/**
|
|
7991
|
-
* Updates the skills of a PolarClaw
|
|
7991
|
+
* Updates the skills of a PolarClaw agent.
|
|
7992
7992
|
*
|
|
7993
7993
|
* @param request - UpdatePolarClawAgentSkillsRequest
|
|
7994
7994
|
* @returns UpdatePolarClawAgentSkillsResponse
|
package/dist/client.js
CHANGED
|
@@ -2686,6 +2686,9 @@ class Client extends openapi_core_1.default {
|
|
|
2686
2686
|
if (!$dara.isNull(request.regionId)) {
|
|
2687
2687
|
query["RegionId"] = request.regionId;
|
|
2688
2688
|
}
|
|
2689
|
+
if (!$dara.isNull(request.tenantId)) {
|
|
2690
|
+
query["TenantId"] = request.tenantId;
|
|
2691
|
+
}
|
|
2689
2692
|
if (!$dara.isNull(request.tenantName)) {
|
|
2690
2693
|
query["TenantName"] = request.tenantName;
|
|
2691
2694
|
}
|
|
@@ -3205,6 +3208,9 @@ class Client extends openapi_core_1.default {
|
|
|
3205
3208
|
if (!$dara.isNull(request.instanceIdsShrink)) {
|
|
3206
3209
|
query["InstanceIds"] = request.instanceIdsShrink;
|
|
3207
3210
|
}
|
|
3211
|
+
if (!$dara.isNull(request.instanceParams)) {
|
|
3212
|
+
query["InstanceParams"] = request.instanceParams;
|
|
3213
|
+
}
|
|
3208
3214
|
if (!$dara.isNull(request.param)) {
|
|
3209
3215
|
query["Param"] = request.param;
|
|
3210
3216
|
}
|
|
@@ -10540,7 +10546,7 @@ class Client extends openapi_core_1.default {
|
|
|
10540
10546
|
return await this.describeAgenticDBProjectHistoryRetentionWithOptions(request, runtime);
|
|
10541
10547
|
}
|
|
10542
10548
|
/**
|
|
10543
|
-
* Queries
|
|
10549
|
+
* Queries the list of AgenticDB projects.
|
|
10544
10550
|
*
|
|
10545
10551
|
* @param request - DescribeAgenticDBProjectsRequest
|
|
10546
10552
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10587,7 +10593,7 @@ class Client extends openapi_core_1.default {
|
|
|
10587
10593
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBProjectsResponse({}));
|
|
10588
10594
|
}
|
|
10589
10595
|
/**
|
|
10590
|
-
* Queries
|
|
10596
|
+
* Queries the list of AgenticDB projects.
|
|
10591
10597
|
*
|
|
10592
10598
|
* @param request - DescribeAgenticDBProjectsRequest
|
|
10593
10599
|
* @returns DescribeAgenticDBProjectsResponse
|
|
@@ -18850,7 +18856,7 @@ class Client extends openapi_core_1.default {
|
|
|
18850
18856
|
return await this.describeUserEncryptionKeyListWithOptions(request, runtime);
|
|
18851
18857
|
}
|
|
18852
18858
|
/**
|
|
18853
|
-
*
|
|
18859
|
+
* Queries vSwitch information.
|
|
18854
18860
|
*
|
|
18855
18861
|
* @param request - DescribeVSwitchListRequest
|
|
18856
18862
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18909,7 +18915,7 @@ class Client extends openapi_core_1.default {
|
|
|
18909
18915
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVSwitchListResponse({}));
|
|
18910
18916
|
}
|
|
18911
18917
|
/**
|
|
18912
|
-
*
|
|
18918
|
+
* Queries vSwitch information.
|
|
18913
18919
|
*
|
|
18914
18920
|
* @param request - DescribeVSwitchListRequest
|
|
18915
18921
|
* @returns DescribeVSwitchListResponse
|
|
@@ -19147,7 +19153,7 @@ class Client extends openapi_core_1.default {
|
|
|
19147
19153
|
return await this.disableDBClusterDynamoDBWithOptions(request, runtime);
|
|
19148
19154
|
}
|
|
19149
19155
|
/**
|
|
19150
|
-
*
|
|
19156
|
+
* Closes the cluster relationship.
|
|
19151
19157
|
*
|
|
19152
19158
|
* @param request - DisableDBClusterOrcaRequest
|
|
19153
19159
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19191,7 +19197,7 @@ class Client extends openapi_core_1.default {
|
|
|
19191
19197
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableDBClusterOrcaResponse({}));
|
|
19192
19198
|
}
|
|
19193
19199
|
/**
|
|
19194
|
-
*
|
|
19200
|
+
* Closes the cluster relationship.
|
|
19195
19201
|
*
|
|
19196
19202
|
* @param request - DisableDBClusterOrcaRequest
|
|
19197
19203
|
* @returns DisableDBClusterOrcaResponse
|
|
@@ -19443,7 +19449,7 @@ class Client extends openapi_core_1.default {
|
|
|
19443
19449
|
return await this.enableDBClusterDynamoDBWithOptions(request, runtime);
|
|
19444
19450
|
}
|
|
19445
19451
|
/**
|
|
19446
|
-
* Enables the
|
|
19452
|
+
* Enables the relational feature for a cluster.
|
|
19447
19453
|
*
|
|
19448
19454
|
* @param request - EnableDBClusterOrcaRequest
|
|
19449
19455
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19484,7 +19490,7 @@ class Client extends openapi_core_1.default {
|
|
|
19484
19490
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableDBClusterOrcaResponse({}));
|
|
19485
19491
|
}
|
|
19486
19492
|
/**
|
|
19487
|
-
* Enables the
|
|
19493
|
+
* Enables the relational feature for a cluster.
|
|
19488
19494
|
*
|
|
19489
19495
|
* @param request - EnableDBClusterOrcaRequest
|
|
19490
19496
|
* @returns EnableDBClusterOrcaResponse
|
|
@@ -20540,7 +20546,7 @@ class Client extends openapi_core_1.default {
|
|
|
20540
20546
|
return await this.installPolarClawPluginWithOptions(request, runtime);
|
|
20541
20547
|
}
|
|
20542
20548
|
/**
|
|
20543
|
-
* Installs a PolarClaw
|
|
20549
|
+
* Installs a PolarClaw skill.
|
|
20544
20550
|
*
|
|
20545
20551
|
* @param request - InstallPolarClawSkillRequest
|
|
20546
20552
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20549,12 +20555,18 @@ class Client extends openapi_core_1.default {
|
|
|
20549
20555
|
async installPolarClawSkillWithOptions(request, runtime) {
|
|
20550
20556
|
request.validate();
|
|
20551
20557
|
let query = {};
|
|
20558
|
+
if (!$dara.isNull(request.agentId)) {
|
|
20559
|
+
query["AgentId"] = request.agentId;
|
|
20560
|
+
}
|
|
20552
20561
|
if (!$dara.isNull(request.applicationId)) {
|
|
20553
20562
|
query["ApplicationId"] = request.applicationId;
|
|
20554
20563
|
}
|
|
20555
20564
|
if (!$dara.isNull(request.force)) {
|
|
20556
20565
|
query["Force"] = request.force;
|
|
20557
20566
|
}
|
|
20567
|
+
if (!$dara.isNull(request.scope)) {
|
|
20568
|
+
query["Scope"] = request.scope;
|
|
20569
|
+
}
|
|
20558
20570
|
if (!$dara.isNull(request.skillVersion)) {
|
|
20559
20571
|
query["SkillVersion"] = request.skillVersion;
|
|
20560
20572
|
}
|
|
@@ -20584,7 +20596,7 @@ class Client extends openapi_core_1.default {
|
|
|
20584
20596
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallPolarClawSkillResponse({}));
|
|
20585
20597
|
}
|
|
20586
20598
|
/**
|
|
20587
|
-
* Installs a PolarClaw
|
|
20599
|
+
* Installs a PolarClaw skill.
|
|
20588
20600
|
*
|
|
20589
20601
|
* @param request - InstallPolarClawSkillRequest
|
|
20590
20602
|
* @returns InstallPolarClawSkillResponse
|
|
@@ -25532,7 +25544,7 @@ class Client extends openapi_core_1.default {
|
|
|
25532
25544
|
return await this.modifyRateLimitPolicyWithOptions(request, runtime);
|
|
25533
25545
|
}
|
|
25534
25546
|
/**
|
|
25535
|
-
* Modifies the CPU quota of an existing resource control rule in a specified PolarDB for MySQL cluster. You can modify the current quota value or switch between the maximum CPU quota percentage mode and the maximum CPU core count mode. When modifying the rule, you must specify
|
|
25547
|
+
* Modifies the CPU quota of an existing resource control rule in a specified PolarDB for MySQL cluster. You can modify the current quota value or switch between the maximum CPU quota percentage mode and the maximum CPU core count mode. When modifying the rule, you must specify either MaxCpu or CpuCount, but not both.
|
|
25536
25548
|
*
|
|
25537
25549
|
* @remarks
|
|
25538
25550
|
* Resource Control is used to limit the CPU resources available to specified users, databases, queries, or connections in a PolarDB for MySQL cluster. This release supports creating, modifying, deleting, binding, and unbinding resource control rules, but does not support querying Resource Control CPU utilization.
|
|
@@ -25582,7 +25594,7 @@ class Client extends openapi_core_1.default {
|
|
|
25582
25594
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyResourceControlResponse({}));
|
|
25583
25595
|
}
|
|
25584
25596
|
/**
|
|
25585
|
-
* Modifies the CPU quota of an existing resource control rule in a specified PolarDB for MySQL cluster. You can modify the current quota value or switch between the maximum CPU quota percentage mode and the maximum CPU core count mode. When modifying the rule, you must specify
|
|
25597
|
+
* Modifies the CPU quota of an existing resource control rule in a specified PolarDB for MySQL cluster. You can modify the current quota value or switch between the maximum CPU quota percentage mode and the maximum CPU core count mode. When modifying the rule, you must specify either MaxCpu or CpuCount, but not both.
|
|
25586
25598
|
*
|
|
25587
25599
|
* @remarks
|
|
25588
25600
|
* Resource Control is used to limit the CPU resources available to specified users, databases, queries, or connections in a PolarDB for MySQL cluster. This release supports creating, modifying, deleting, binding, and unbinding resource control rules, but does not support querying Resource Control CPU utilization.
|
|
@@ -27462,7 +27474,7 @@ class Client extends openapi_core_1.default {
|
|
|
27462
27474
|
return await this.searchMemoriesWithOptions(request, runtime);
|
|
27463
27475
|
}
|
|
27464
27476
|
/**
|
|
27465
|
-
* Searches for PolarClaw
|
|
27477
|
+
* Searches for PolarClaw skills.
|
|
27466
27478
|
*
|
|
27467
27479
|
* @param request - SearchPolarClawSkillsRequest
|
|
27468
27480
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27474,12 +27486,18 @@ class Client extends openapi_core_1.default {
|
|
|
27474
27486
|
if (!$dara.isNull(request.applicationId)) {
|
|
27475
27487
|
query["ApplicationId"] = request.applicationId;
|
|
27476
27488
|
}
|
|
27489
|
+
if (!$dara.isNull(request.exact)) {
|
|
27490
|
+
query["Exact"] = request.exact;
|
|
27491
|
+
}
|
|
27477
27492
|
if (!$dara.isNull(request.limit)) {
|
|
27478
27493
|
query["Limit"] = request.limit;
|
|
27479
27494
|
}
|
|
27480
27495
|
if (!$dara.isNull(request.query)) {
|
|
27481
27496
|
query["Query"] = request.query;
|
|
27482
27497
|
}
|
|
27498
|
+
if (!$dara.isNull(request.source)) {
|
|
27499
|
+
query["Source"] = request.source;
|
|
27500
|
+
}
|
|
27483
27501
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
27484
27502
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
27485
27503
|
});
|
|
@@ -27497,7 +27515,7 @@ class Client extends openapi_core_1.default {
|
|
|
27497
27515
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchPolarClawSkillsResponse({}));
|
|
27498
27516
|
}
|
|
27499
27517
|
/**
|
|
27500
|
-
* Searches for PolarClaw
|
|
27518
|
+
* Searches for PolarClaw skills.
|
|
27501
27519
|
*
|
|
27502
27520
|
* @param request - SearchPolarClawSkillsRequest
|
|
27503
27521
|
* @returns SearchPolarClawSkillsResponse
|
|
@@ -28560,7 +28578,7 @@ class Client extends openapi_core_1.default {
|
|
|
28560
28578
|
return await this.updatePolarClawAgentWithOptions(request, runtime);
|
|
28561
28579
|
}
|
|
28562
28580
|
/**
|
|
28563
|
-
* Updates the skills of a PolarClaw
|
|
28581
|
+
* Updates the skills of a PolarClaw agent.
|
|
28564
28582
|
*
|
|
28565
28583
|
* @param tmpReq - UpdatePolarClawAgentSkillsRequest
|
|
28566
28584
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28600,7 +28618,7 @@ class Client extends openapi_core_1.default {
|
|
|
28600
28618
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawAgentSkillsResponse({}));
|
|
28601
28619
|
}
|
|
28602
28620
|
/**
|
|
28603
|
-
* Updates the skills of a PolarClaw
|
|
28621
|
+
* Updates the skills of a PolarClaw agent.
|
|
28604
28622
|
*
|
|
28605
28623
|
* @param request - UpdatePolarClawAgentSkillsRequest
|
|
28606
28624
|
* @returns UpdatePolarClawAgentSkillsResponse
|