@alicloud/polardb20170801 9.1.0 → 9.2.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 +78 -40
- package/dist/client.js +138 -40
- package/dist/client.js.map +1 -1
- package/dist/models/AnswerKnowledgeBaseRequest.d.ts +6 -6
- package/dist/models/AnswerKnowledgeBaseResponseBody.d.ts +1 -1
- package/dist/models/ApplyLakebaseMountParameterGroupRequest.d.ts +37 -0
- package/dist/models/ApplyLakebaseMountParameterGroupRequest.js +62 -0
- package/dist/models/ApplyLakebaseMountParameterGroupRequest.js.map +1 -0
- package/dist/models/ApplyLakebaseMountParameterGroupResponse.d.ts +19 -0
- package/dist/models/ApplyLakebaseMountParameterGroupResponse.js +69 -0
- package/dist/models/ApplyLakebaseMountParameterGroupResponse.js.map +1 -0
- package/dist/models/ApplyLakebaseMountParameterGroupResponseBody.d.ts +23 -0
- package/dist/models/ApplyLakebaseMountParameterGroupResponseBody.js +60 -0
- package/dist/models/ApplyLakebaseMountParameterGroupResponseBody.js.map +1 -0
- package/dist/models/BindPolarClawAgentRequest.d.ts +4 -4
- package/dist/models/BindPolarClawAgentResponseBody.d.ts +6 -6
- package/dist/models/CreateActivationCodeRequest.d.ts +3 -3
- package/dist/models/CreateActivationCodeResponseBody.d.ts +6 -6
- package/dist/models/CreateAgenticDbbranchRequest.d.ts +5 -5
- package/dist/models/CreateAgenticDbbranchResponseBody.d.ts +6 -6
- package/dist/models/CreateConsumerRequest.d.ts +5 -5
- package/dist/models/CreateConsumerResponseBody.d.ts +4 -4
- package/dist/models/CreateLakebaseS3accountRequest.d.ts +6 -6
- package/dist/models/CreateModelApiRequest.d.ts +5 -5
- package/dist/models/CreateModelApiResponseBody.d.ts +2 -2
- package/dist/models/DeleteBudgetPolicyRequest.d.ts +2 -2
- package/dist/models/DeleteConsumerGroupRequest.d.ts +2 -2
- package/dist/models/DeleteConsumerGroupResponseBody.d.ts +1 -1
- package/dist/models/DeleteKbsyncLinkRequest.d.ts +2 -2
- package/dist/models/DeleteKnowledgeBaseRequest.d.ts +1 -1
- package/dist/models/DeleteKnowledgeBaseResponseBody.d.ts +1 -1
- package/dist/models/DeletePolarClawAgentRequest.d.ts +2 -2
- package/dist/models/DeletePolarClawAgentResponseBody.d.ts +1 -1
- package/dist/models/DescribeAgenticDbbranchRestoreWindowRequest.d.ts +10 -0
- package/dist/models/DescribeAgenticDbbranchRestoreWindowRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbbranchRestoreWindowResponseBody.d.ts +17 -2
- package/dist/models/DescribeAgenticDbbranchRestoreWindowResponseBody.js.map +1 -1
- package/dist/models/DescribeAgenticDbprojectHistoryRetentionRequest.d.ts +8 -0
- package/dist/models/DescribeAgenticDbprojectHistoryRetentionRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbprojectHistoryRetentionResponseBody.d.ts +14 -2
- package/dist/models/DescribeAgenticDbprojectHistoryRetentionResponseBody.js.map +1 -1
- package/dist/models/DescribeAgenticDbprojectRequest.d.ts +1 -1
- package/dist/models/DescribeAgenticDbprojectResponseBody.d.ts +8 -12
- package/dist/models/DescribeAgenticDbprojectResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupLogDownloadLinksRequest.d.ts +37 -0
- package/dist/models/DescribeBackupLogDownloadLinksRequest.js +62 -0
- package/dist/models/DescribeBackupLogDownloadLinksRequest.js.map +1 -0
- package/dist/models/DescribeBackupLogDownloadLinksResponse.d.ts +19 -0
- package/dist/models/DescribeBackupLogDownloadLinksResponse.js +69 -0
- package/dist/models/DescribeBackupLogDownloadLinksResponse.js.map +1 -0
- package/dist/models/DescribeBackupLogDownloadLinksResponseBody.d.ts +80 -0
- package/dist/models/DescribeBackupLogDownloadLinksResponseBody.js +92 -0
- package/dist/models/DescribeBackupLogDownloadLinksResponseBody.js.map +1 -0
- package/dist/models/DescribeGatewayAttributeRequest.d.ts +2 -2
- package/dist/models/DescribeGatewayAttributeResponseBody.d.ts +41 -29
- package/dist/models/DescribeGatewayAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.d.ts +14 -14
- package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.d.ts +2 -2
- package/dist/models/ModifyAccountDescriptionZonalRequest.d.ts +2 -4
- package/dist/models/ModifyAccountDescriptionZonalRequest.js.map +1 -1
- package/dist/models/ModifyModelServiceRequest.d.ts +12 -16
- package/dist/models/ModifyModelServiceRequest.js.map +1 -1
- package/dist/models/ModifyModelServiceResponseBody.d.ts +3 -3
- package/dist/models/ModifyRateLimitPolicyRequest.d.ts +4 -4
- package/dist/models/ModifyRateLimitPolicyResponseBody.d.ts +1 -1
- package/dist/models/RegisterKnowledgeBaseFileRequest.d.ts +1 -1
- package/dist/models/RegisterKnowledgeBaseFileResponseBody.d.ts +3 -3
- package/dist/models/RemovePolarClawDevicePairRequest.d.ts +1 -1
- package/dist/models/RemovePolarClawDevicePairResponseBody.d.ts +4 -4
- package/dist/models/RetrievalKnowledgeBaseRequest.d.ts +1 -1
- package/dist/models/RetrievalKnowledgeBaseResponseBody.d.ts +5 -5
- package/dist/models/SearchMemoriesRequest.d.ts +4 -4
- package/dist/models/SearchMemoriesResponseBody.d.ts +15 -3
- package/dist/models/SearchMemoriesResponseBody.js.map +1 -1
- package/dist/models/UninstallPolarClawPluginRequest.d.ts +2 -2
- package/dist/models/UninstallPolarClawPluginResponseBody.d.ts +5 -5
- package/dist/models/UpdateKnowledgeBaseRequest.d.ts +5 -6
- package/dist/models/UpdateKnowledgeBaseRequest.js.map +1 -1
- package/dist/models/UpdateKnowledgeBaseResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +51 -37
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +148 -40
- package/src/models/AnswerKnowledgeBaseRequest.ts +6 -6
- package/src/models/AnswerKnowledgeBaseResponseBody.ts +1 -1
- package/src/models/ApplyLakebaseMountParameterGroupRequest.ts +54 -0
- package/src/models/ApplyLakebaseMountParameterGroupResponse.ts +40 -0
- package/src/models/ApplyLakebaseMountParameterGroupResponseBody.ts +38 -0
- package/src/models/BindPolarClawAgentRequest.ts +4 -4
- package/src/models/BindPolarClawAgentResponseBody.ts +6 -6
- package/src/models/CreateActivationCodeRequest.ts +3 -3
- package/src/models/CreateActivationCodeResponseBody.ts +6 -6
- package/src/models/CreateAgenticDbbranchRequest.ts +5 -5
- package/src/models/CreateAgenticDbbranchResponseBody.ts +6 -6
- package/src/models/CreateConsumerRequest.ts +5 -5
- package/src/models/CreateConsumerResponseBody.ts +4 -4
- package/src/models/CreateLakebaseS3accountRequest.ts +6 -6
- package/src/models/CreateModelApiRequest.ts +5 -5
- package/src/models/CreateModelApiResponseBody.ts +2 -2
- package/src/models/DeleteBudgetPolicyRequest.ts +2 -2
- package/src/models/DeleteConsumerGroupRequest.ts +2 -2
- package/src/models/DeleteConsumerGroupResponseBody.ts +1 -1
- package/src/models/DeleteKbsyncLinkRequest.ts +2 -2
- package/src/models/DeleteKnowledgeBaseRequest.ts +1 -1
- package/src/models/DeleteKnowledgeBaseResponseBody.ts +1 -1
- package/src/models/DeletePolarClawAgentRequest.ts +2 -2
- package/src/models/DeletePolarClawAgentResponseBody.ts +1 -1
- package/src/models/DescribeAgenticDbbranchRestoreWindowRequest.ts +10 -0
- package/src/models/DescribeAgenticDbbranchRestoreWindowResponseBody.ts +17 -2
- package/src/models/DescribeAgenticDbprojectHistoryRetentionRequest.ts +8 -0
- package/src/models/DescribeAgenticDbprojectHistoryRetentionResponseBody.ts +14 -2
- package/src/models/DescribeAgenticDbprojectRequest.ts +1 -1
- package/src/models/DescribeAgenticDbprojectResponseBody.ts +8 -12
- package/src/models/DescribeBackupLogDownloadLinksRequest.ts +54 -0
- package/src/models/DescribeBackupLogDownloadLinksResponse.ts +40 -0
- package/src/models/DescribeBackupLogDownloadLinksResponseBody.ts +118 -0
- package/src/models/DescribeGatewayAttributeRequest.ts +2 -2
- package/src/models/DescribeGatewayAttributeResponseBody.ts +41 -29
- package/src/models/DescribeKnowledgeBaseAnswerResponseBody.ts +14 -14
- package/src/models/DescribeKnowledgeBaseFileShardsResponseBody.ts +2 -2
- package/src/models/ModifyAccountDescriptionZonalRequest.ts +2 -4
- package/src/models/ModifyModelServiceRequest.ts +12 -16
- package/src/models/ModifyModelServiceResponseBody.ts +3 -3
- package/src/models/ModifyRateLimitPolicyRequest.ts +4 -4
- package/src/models/ModifyRateLimitPolicyResponseBody.ts +1 -1
- package/src/models/RegisterKnowledgeBaseFileRequest.ts +1 -1
- package/src/models/RegisterKnowledgeBaseFileResponseBody.ts +3 -3
- package/src/models/RemovePolarClawDevicePairRequest.ts +1 -1
- package/src/models/RemovePolarClawDevicePairResponseBody.ts +4 -4
- package/src/models/RetrievalKnowledgeBaseRequest.ts +1 -1
- package/src/models/RetrievalKnowledgeBaseResponseBody.ts +5 -5
- package/src/models/SearchMemoriesRequest.ts +4 -4
- package/src/models/SearchMemoriesResponseBody.ts +15 -3
- package/src/models/UninstallPolarClawPluginRequest.ts +2 -2
- package/src/models/UninstallPolarClawPluginResponseBody.ts +5 -5
- package/src/models/UpdateKnowledgeBaseRequest.ts +5 -6
- package/src/models/UpdateKnowledgeBaseResponseBody.ts +1 -1
- package/src/models/model.ts +7 -0
package/dist/client.js
CHANGED
|
@@ -584,7 +584,7 @@ class Client extends openapi_core_1.default {
|
|
|
584
584
|
return await this.addSQLRateLimitingRulesWithOptions(request, runtime);
|
|
585
585
|
}
|
|
586
586
|
/**
|
|
587
|
-
*
|
|
587
|
+
* Answers a single-turn question based on a knowledge base.
|
|
588
588
|
*
|
|
589
589
|
* @param request - AnswerKnowledgeBaseRequest
|
|
590
590
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -643,7 +643,7 @@ class Client extends openapi_core_1.default {
|
|
|
643
643
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AnswerKnowledgeBaseResponse({}));
|
|
644
644
|
}
|
|
645
645
|
/**
|
|
646
|
-
*
|
|
646
|
+
* Answers a single-turn question based on a knowledge base.
|
|
647
647
|
*
|
|
648
648
|
* @param request - AnswerKnowledgeBaseRequest
|
|
649
649
|
* @returns AnswerKnowledgeBaseResponse
|
|
@@ -713,6 +713,51 @@ class Client extends openapi_core_1.default {
|
|
|
713
713
|
let runtime = new $dara.RuntimeOptions({});
|
|
714
714
|
return await this.applyApplicationPromptsWithOptions(request, runtime);
|
|
715
715
|
}
|
|
716
|
+
/**
|
|
717
|
+
* 应用Lakebase挂载参数模板
|
|
718
|
+
*
|
|
719
|
+
* @param request - ApplyLakebaseMountParameterGroupRequest
|
|
720
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
721
|
+
* @returns ApplyLakebaseMountParameterGroupResponse
|
|
722
|
+
*/
|
|
723
|
+
async applyLakebaseMountParameterGroupWithOptions(request, runtime) {
|
|
724
|
+
request.validate();
|
|
725
|
+
let query = {};
|
|
726
|
+
if (!$dara.isNull(request.parameterGroupId)) {
|
|
727
|
+
query["ParameterGroupId"] = request.parameterGroupId;
|
|
728
|
+
}
|
|
729
|
+
if (!$dara.isNull(request.polarFsInstanceId)) {
|
|
730
|
+
query["PolarFsInstanceId"] = request.polarFsInstanceId;
|
|
731
|
+
}
|
|
732
|
+
if (!$dara.isNull(request.regionId)) {
|
|
733
|
+
query["RegionId"] = request.regionId;
|
|
734
|
+
}
|
|
735
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
736
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
737
|
+
});
|
|
738
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
739
|
+
action: "ApplyLakebaseMountParameterGroup",
|
|
740
|
+
version: "2017-08-01",
|
|
741
|
+
protocol: "HTTPS",
|
|
742
|
+
pathname: "/",
|
|
743
|
+
method: "POST",
|
|
744
|
+
authType: "AK",
|
|
745
|
+
style: "RPC",
|
|
746
|
+
reqBodyType: "formData",
|
|
747
|
+
bodyType: "json",
|
|
748
|
+
});
|
|
749
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ApplyLakebaseMountParameterGroupResponse({}));
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* 应用Lakebase挂载参数模板
|
|
753
|
+
*
|
|
754
|
+
* @param request - ApplyLakebaseMountParameterGroupRequest
|
|
755
|
+
* @returns ApplyLakebaseMountParameterGroupResponse
|
|
756
|
+
*/
|
|
757
|
+
async applyLakebaseMountParameterGroup(request) {
|
|
758
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
759
|
+
return await this.applyLakebaseMountParameterGroupWithOptions(request, runtime);
|
|
760
|
+
}
|
|
716
761
|
/**
|
|
717
762
|
* Approves a PolarClaw device pairing.
|
|
718
763
|
*
|
|
@@ -804,11 +849,11 @@ class Client extends openapi_core_1.default {
|
|
|
804
849
|
return await this.attachApplicationPolarFSWithOptions(request, runtime);
|
|
805
850
|
}
|
|
806
851
|
/**
|
|
807
|
-
*
|
|
852
|
+
* Associates a specified channel with a specific PolarClaw agent.
|
|
808
853
|
*
|
|
809
854
|
* @remarks
|
|
810
|
-
* ## Request
|
|
811
|
-
* This API associates
|
|
855
|
+
* ## Request description
|
|
856
|
+
* This API operation associates a PolarClaw agent (specified by AgentId) of a PolarClaw application (identified by ApplicationId) with a given communication channel (Channel). If necessary, you can also specify the account ID (ChannelAccountId) within the channel.
|
|
812
857
|
*
|
|
813
858
|
* @param request - BindPolarClawAgentRequest
|
|
814
859
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -846,11 +891,11 @@ class Client extends openapi_core_1.default {
|
|
|
846
891
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BindPolarClawAgentResponse({}));
|
|
847
892
|
}
|
|
848
893
|
/**
|
|
849
|
-
*
|
|
894
|
+
* Associates a specified channel with a specific PolarClaw agent.
|
|
850
895
|
*
|
|
851
896
|
* @remarks
|
|
852
|
-
* ## Request
|
|
853
|
-
* This API associates
|
|
897
|
+
* ## Request description
|
|
898
|
+
* This API operation associates a PolarClaw agent (specified by AgentId) of a PolarClaw application (identified by ApplicationId) with a given communication channel (Channel). If necessary, you can also specify the account ID (ChannelAccountId) within the channel.
|
|
854
899
|
*
|
|
855
900
|
* @param request - BindPolarClawAgentRequest
|
|
856
901
|
* @returns BindPolarClawAgentResponse
|
|
@@ -2386,7 +2431,7 @@ class Client extends openapi_core_1.default {
|
|
|
2386
2431
|
return await this.createAccountZonalWithOptions(request, runtime);
|
|
2387
2432
|
}
|
|
2388
2433
|
/**
|
|
2389
|
-
* Generates activation
|
|
2434
|
+
* Generates an activation code for the lightweight edition.
|
|
2390
2435
|
*
|
|
2391
2436
|
* @param request - CreateActivationCodeRequest
|
|
2392
2437
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2439,7 +2484,7 @@ class Client extends openapi_core_1.default {
|
|
|
2439
2484
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateActivationCodeResponse({}));
|
|
2440
2485
|
}
|
|
2441
2486
|
/**
|
|
2442
|
-
* Generates activation
|
|
2487
|
+
* Generates an activation code for the lightweight edition.
|
|
2443
2488
|
*
|
|
2444
2489
|
* @param request - CreateActivationCodeRequest
|
|
2445
2490
|
* @returns CreateActivationCodeResponse
|
|
@@ -6961,7 +7006,7 @@ class Client extends openapi_core_1.default {
|
|
|
6961
7006
|
return await this.deleteBackupWithOptions(request, runtime);
|
|
6962
7007
|
}
|
|
6963
7008
|
/**
|
|
6964
|
-
* Deletes a
|
|
7009
|
+
* Deletes a budget policy.
|
|
6965
7010
|
*
|
|
6966
7011
|
* @param request - DeleteBudgetPolicyRequest
|
|
6967
7012
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -6996,7 +7041,7 @@ class Client extends openapi_core_1.default {
|
|
|
6996
7041
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteBudgetPolicyResponse({}));
|
|
6997
7042
|
}
|
|
6998
7043
|
/**
|
|
6999
|
-
* Deletes a
|
|
7044
|
+
* Deletes a budget policy.
|
|
7000
7045
|
*
|
|
7001
7046
|
* @param request - DeleteBudgetPolicyRequest
|
|
7002
7047
|
* @returns DeleteBudgetPolicyResponse
|
|
@@ -8442,12 +8487,12 @@ class Client extends openapi_core_1.default {
|
|
|
8442
8487
|
return await this.deleteParameterGroupWithOptions(request, runtime);
|
|
8443
8488
|
}
|
|
8444
8489
|
/**
|
|
8445
|
-
*
|
|
8490
|
+
* Removes an agent and its associated bindings from a specified PolarClaw.
|
|
8446
8491
|
*
|
|
8447
8492
|
* @remarks
|
|
8448
|
-
* ##
|
|
8449
|
-
* -
|
|
8450
|
-
* - Ensure you
|
|
8493
|
+
* ## Request description
|
|
8494
|
+
* - After this API is executed, it returns the ID of the successfully removed agent and the number of removed bindings.
|
|
8495
|
+
* - Ensure that you know the target `AgentId` before calling this API. Otherwise, the operation may fail or affect unexpected agents.
|
|
8451
8496
|
*
|
|
8452
8497
|
* @param request - DeletePolarClawAgentRequest
|
|
8453
8498
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8482,12 +8527,12 @@ class Client extends openapi_core_1.default {
|
|
|
8482
8527
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeletePolarClawAgentResponse({}));
|
|
8483
8528
|
}
|
|
8484
8529
|
/**
|
|
8485
|
-
*
|
|
8530
|
+
* Removes an agent and its associated bindings from a specified PolarClaw.
|
|
8486
8531
|
*
|
|
8487
8532
|
* @remarks
|
|
8488
|
-
* ##
|
|
8489
|
-
* -
|
|
8490
|
-
* - Ensure you
|
|
8533
|
+
* ## Request description
|
|
8534
|
+
* - After this API is executed, it returns the ID of the successfully removed agent and the number of removed bindings.
|
|
8535
|
+
* - Ensure that you know the target `AgentId` before calling this API. Otherwise, the operation may fail or affect unexpected agents.
|
|
8491
8536
|
*
|
|
8492
8537
|
* @param request - DeletePolarClawAgentRequest
|
|
8493
8538
|
* @returns DeletePolarClawAgentResponse
|
|
@@ -10152,7 +10197,7 @@ class Client extends openapi_core_1.default {
|
|
|
10152
10197
|
return await this.describeAgenticDBBranchLineageWithOptions(request, runtime);
|
|
10153
10198
|
}
|
|
10154
10199
|
/**
|
|
10155
|
-
*
|
|
10200
|
+
* Queries the earliest restorable time for an AgenticDB branch.
|
|
10156
10201
|
*
|
|
10157
10202
|
* @param request - DescribeAgenticDBBranchRestoreWindowRequest
|
|
10158
10203
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10193,7 +10238,7 @@ class Client extends openapi_core_1.default {
|
|
|
10193
10238
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBBranchRestoreWindowResponse({}));
|
|
10194
10239
|
}
|
|
10195
10240
|
/**
|
|
10196
|
-
*
|
|
10241
|
+
* Queries the earliest restorable time for an AgenticDB branch.
|
|
10197
10242
|
*
|
|
10198
10243
|
* @param request - DescribeAgenticDBBranchRestoreWindowRequest
|
|
10199
10244
|
* @returns DescribeAgenticDBBranchRestoreWindowResponse
|
|
@@ -10444,7 +10489,7 @@ class Client extends openapi_core_1.default {
|
|
|
10444
10489
|
return await this.describeAgenticDBProjectWithOptions(request, runtime);
|
|
10445
10490
|
}
|
|
10446
10491
|
/**
|
|
10447
|
-
*
|
|
10492
|
+
* Queries the actual history retention window of an AgenticDB project.
|
|
10448
10493
|
*
|
|
10449
10494
|
* @param request - DescribeAgenticDBProjectHistoryRetentionRequest
|
|
10450
10495
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10482,7 +10527,7 @@ class Client extends openapi_core_1.default {
|
|
|
10482
10527
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBProjectHistoryRetentionResponse({}));
|
|
10483
10528
|
}
|
|
10484
10529
|
/**
|
|
10485
|
-
*
|
|
10530
|
+
* Queries the actual history retention window of an AgenticDB project.
|
|
10486
10531
|
*
|
|
10487
10532
|
* @param request - DescribeAgenticDBProjectHistoryRetentionRequest
|
|
10488
10533
|
* @returns DescribeAgenticDBProjectHistoryRetentionResponse
|
|
@@ -11344,6 +11389,51 @@ class Client extends openapi_core_1.default {
|
|
|
11344
11389
|
let runtime = new $dara.RuntimeOptions({});
|
|
11345
11390
|
return await this.describeAvailableModelsWithOptions(request, runtime);
|
|
11346
11391
|
}
|
|
11392
|
+
/**
|
|
11393
|
+
* Queries the download links for redo log backups.
|
|
11394
|
+
*
|
|
11395
|
+
* @param request - DescribeBackupLogDownloadLinksRequest
|
|
11396
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11397
|
+
* @returns DescribeBackupLogDownloadLinksResponse
|
|
11398
|
+
*/
|
|
11399
|
+
async describeBackupLogDownloadLinksWithOptions(request, runtime) {
|
|
11400
|
+
request.validate();
|
|
11401
|
+
let query = {};
|
|
11402
|
+
if (!$dara.isNull(request.backupLogIds)) {
|
|
11403
|
+
query["BackupLogIds"] = request.backupLogIds;
|
|
11404
|
+
}
|
|
11405
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
11406
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
11407
|
+
}
|
|
11408
|
+
if (!$dara.isNull(request.expireHours)) {
|
|
11409
|
+
query["ExpireHours"] = request.expireHours;
|
|
11410
|
+
}
|
|
11411
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11412
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11413
|
+
});
|
|
11414
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11415
|
+
action: "DescribeBackupLogDownloadLinks",
|
|
11416
|
+
version: "2017-08-01",
|
|
11417
|
+
protocol: "HTTPS",
|
|
11418
|
+
pathname: "/",
|
|
11419
|
+
method: "POST",
|
|
11420
|
+
authType: "AK",
|
|
11421
|
+
style: "RPC",
|
|
11422
|
+
reqBodyType: "formData",
|
|
11423
|
+
bodyType: "json",
|
|
11424
|
+
});
|
|
11425
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBackupLogDownloadLinksResponse({}));
|
|
11426
|
+
}
|
|
11427
|
+
/**
|
|
11428
|
+
* Queries the download links for redo log backups.
|
|
11429
|
+
*
|
|
11430
|
+
* @param request - DescribeBackupLogDownloadLinksRequest
|
|
11431
|
+
* @returns DescribeBackupLogDownloadLinksResponse
|
|
11432
|
+
*/
|
|
11433
|
+
async describeBackupLogDownloadLinks(request) {
|
|
11434
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11435
|
+
return await this.describeBackupLogDownloadLinksWithOptions(request, runtime);
|
|
11436
|
+
}
|
|
11347
11437
|
/**
|
|
11348
11438
|
* Queries the list of backup logs and retrieves their download URLs.
|
|
11349
11439
|
*
|
|
@@ -14931,7 +15021,7 @@ class Client extends openapi_core_1.default {
|
|
|
14931
15021
|
return await this.describeGatewayApikeyListWithOptions(request, runtime);
|
|
14932
15022
|
}
|
|
14933
15023
|
/**
|
|
14934
|
-
*
|
|
15024
|
+
* Queries the details of a gateway instance.
|
|
14935
15025
|
*
|
|
14936
15026
|
* @param request - DescribeGatewayAttributeRequest
|
|
14937
15027
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14963,7 +15053,7 @@ class Client extends openapi_core_1.default {
|
|
|
14963
15053
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGatewayAttributeResponse({}));
|
|
14964
15054
|
}
|
|
14965
15055
|
/**
|
|
14966
|
-
*
|
|
15056
|
+
* Queries the details of a gateway instance.
|
|
14967
15057
|
*
|
|
14968
15058
|
* @param request - DescribeGatewayAttributeRequest
|
|
14969
15059
|
* @returns DescribeGatewayAttributeResponse
|
|
@@ -21082,7 +21172,7 @@ class Client extends openapi_core_1.default {
|
|
|
21082
21172
|
return await this.modifyAccountDescriptionWithOptions(request, runtime);
|
|
21083
21173
|
}
|
|
21084
21174
|
/**
|
|
21085
|
-
* Modifies the description of
|
|
21175
|
+
* Modifies the description of a PolarDB on ENS account.
|
|
21086
21176
|
*
|
|
21087
21177
|
* @param request - ModifyAccountDescriptionZonalRequest
|
|
21088
21178
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21132,7 +21222,7 @@ class Client extends openapi_core_1.default {
|
|
|
21132
21222
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAccountDescriptionZonalResponse({}));
|
|
21133
21223
|
}
|
|
21134
21224
|
/**
|
|
21135
|
-
* Modifies the description of
|
|
21225
|
+
* Modifies the description of a PolarDB on ENS account.
|
|
21136
21226
|
*
|
|
21137
21227
|
* @param request - ModifyAccountDescriptionZonalRequest
|
|
21138
21228
|
* @returns ModifyAccountDescriptionZonalResponse
|
|
@@ -25385,7 +25475,7 @@ class Client extends openapi_core_1.default {
|
|
|
25385
25475
|
return await this.modifyPolarFsMappingAuthWithOptions(request, runtime);
|
|
25386
25476
|
}
|
|
25387
25477
|
/**
|
|
25388
|
-
* Modifies a
|
|
25478
|
+
* Modifies a throttling policy.
|
|
25389
25479
|
*
|
|
25390
25480
|
* @param request - ModifyRateLimitPolicyRequest
|
|
25391
25481
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -25426,7 +25516,7 @@ class Client extends openapi_core_1.default {
|
|
|
25426
25516
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyRateLimitPolicyResponse({}));
|
|
25427
25517
|
}
|
|
25428
25518
|
/**
|
|
25429
|
-
* Modifies a
|
|
25519
|
+
* Modifies a throttling policy.
|
|
25430
25520
|
*
|
|
25431
25521
|
* @param request - ModifyRateLimitPolicyRequest
|
|
25432
25522
|
* @returns ModifyRateLimitPolicyResponse
|
|
@@ -26040,7 +26130,7 @@ class Client extends openapi_core_1.default {
|
|
|
26040
26130
|
return await this.registerAIDBClusterCustomModelWithOptions(request, runtime);
|
|
26041
26131
|
}
|
|
26042
26132
|
/**
|
|
26043
|
-
* Registers an OSS file
|
|
26133
|
+
* Registers an OSS file for a knowledge base.
|
|
26044
26134
|
*
|
|
26045
26135
|
* @param request - RegisterKnowledgeBaseFileRequest
|
|
26046
26136
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26075,7 +26165,7 @@ class Client extends openapi_core_1.default {
|
|
|
26075
26165
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RegisterKnowledgeBaseFileResponse({}));
|
|
26076
26166
|
}
|
|
26077
26167
|
/**
|
|
26078
|
-
* Registers an OSS file
|
|
26168
|
+
* Registers an OSS file for a knowledge base.
|
|
26079
26169
|
*
|
|
26080
26170
|
* @param request - RegisterKnowledgeBaseFileRequest
|
|
26081
26171
|
* @returns RegisterKnowledgeBaseFileResponse
|
|
@@ -26246,7 +26336,7 @@ class Client extends openapi_core_1.default {
|
|
|
26246
26336
|
return await this.removeDBClusterFromGDNWithOptions(request, runtime);
|
|
26247
26337
|
}
|
|
26248
26338
|
/**
|
|
26249
|
-
*
|
|
26339
|
+
* Removes a paired PolarClaw device.
|
|
26250
26340
|
*
|
|
26251
26341
|
* @param request - RemovePolarClawDevicePairRequest
|
|
26252
26342
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -26278,7 +26368,7 @@ class Client extends openapi_core_1.default {
|
|
|
26278
26368
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemovePolarClawDevicePairResponse({}));
|
|
26279
26369
|
}
|
|
26280
26370
|
/**
|
|
26281
|
-
*
|
|
26371
|
+
* Removes a paired PolarClaw device.
|
|
26282
26372
|
*
|
|
26283
26373
|
* @param request - RemovePolarClawDevicePairRequest
|
|
26284
26374
|
* @returns RemovePolarClawDevicePairResponse
|
|
@@ -27297,10 +27387,10 @@ class Client extends openapi_core_1.default {
|
|
|
27297
27387
|
return await this.runPolarClawCronJobWithOptions(request, runtime);
|
|
27298
27388
|
}
|
|
27299
27389
|
/**
|
|
27300
|
-
* Retrieves memories
|
|
27390
|
+
* Retrieves memories.
|
|
27301
27391
|
*
|
|
27302
27392
|
* @remarks
|
|
27303
|
-
* Retrieves memory data
|
|
27393
|
+
* Retrieves memory data in a specified application.
|
|
27304
27394
|
*
|
|
27305
27395
|
* @param request - SearchMemoriesRequest
|
|
27306
27396
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27353,10 +27443,10 @@ class Client extends openapi_core_1.default {
|
|
|
27353
27443
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.SearchMemoriesResponse({}));
|
|
27354
27444
|
}
|
|
27355
27445
|
/**
|
|
27356
|
-
* Retrieves memories
|
|
27446
|
+
* Retrieves memories.
|
|
27357
27447
|
*
|
|
27358
27448
|
* @remarks
|
|
27359
|
-
* Retrieves memory data
|
|
27449
|
+
* Retrieves memory data in a specified application.
|
|
27360
27450
|
*
|
|
27361
27451
|
* @param request - SearchMemoriesRequest
|
|
27362
27452
|
* @returns SearchMemoriesResponse
|
|
@@ -27800,6 +27890,10 @@ class Client extends openapi_core_1.default {
|
|
|
27800
27890
|
/**
|
|
27801
27891
|
* Unbinds a PolarClaw Agent.
|
|
27802
27892
|
*
|
|
27893
|
+
* @remarks
|
|
27894
|
+
* ## 请求说明
|
|
27895
|
+
* 调用前,先通过 BindPolarClawAgent 为指定应用、Agent 和通道建立绑定。本接口使用同一组 ApplicationId、AgentId 和 Channel 解除绑定。
|
|
27896
|
+
*
|
|
27803
27897
|
* @param request - UnbindPolarClawAgentRequest
|
|
27804
27898
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
27805
27899
|
* @returns UnbindPolarClawAgentResponse
|
|
@@ -27838,6 +27932,10 @@ class Client extends openapi_core_1.default {
|
|
|
27838
27932
|
/**
|
|
27839
27933
|
* Unbinds a PolarClaw Agent.
|
|
27840
27934
|
*
|
|
27935
|
+
* @remarks
|
|
27936
|
+
* ## 请求说明
|
|
27937
|
+
* 调用前,先通过 BindPolarClawAgent 为指定应用、Agent 和通道建立绑定。本接口使用同一组 ApplicationId、AgentId 和 Channel 解除绑定。
|
|
27938
|
+
*
|
|
27841
27939
|
* @param request - UnbindPolarClawAgentRequest
|
|
27842
27940
|
* @returns UnbindPolarClawAgentResponse
|
|
27843
27941
|
*/
|
|
@@ -27911,7 +28009,7 @@ class Client extends openapi_core_1.default {
|
|
|
27911
28009
|
return await this.unbindResourceControlWithOptions(request, runtime);
|
|
27912
28010
|
}
|
|
27913
28011
|
/**
|
|
27914
|
-
* Uninstalls
|
|
28012
|
+
* Uninstalls the PolarClaw plugin.
|
|
27915
28013
|
*
|
|
27916
28014
|
* @param request - UninstallPolarClawPluginRequest
|
|
27917
28015
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -27946,7 +28044,7 @@ class Client extends openapi_core_1.default {
|
|
|
27946
28044
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UninstallPolarClawPluginResponse({}));
|
|
27947
28045
|
}
|
|
27948
28046
|
/**
|
|
27949
|
-
* Uninstalls
|
|
28047
|
+
* Uninstalls the PolarClaw plugin.
|
|
27950
28048
|
*
|
|
27951
28049
|
* @param request - UninstallPolarClawPluginRequest
|
|
27952
28050
|
* @returns UninstallPolarClawPluginResponse
|