@alicloud/polardb20170801 9.6.0 → 9.6.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
@@ -1425,7 +1425,7 @@ export default class Client extends OpenApi {
1425
1425
  * Creates a knowledge space.
1426
1426
  *
1427
1427
  * @remarks
1428
- * Prerequisites: Before you call this operation, you must activate the PrivateLink service in your current account. If the service is not activated, the API returns the PrivateLinkService.NotOpen (400) error. You can check the activation status of the service in the PrivateLink console. Before creating a knowledge space, you must also prepare the VpcId, VSwitchId, SecurityGroupId, and OSSBucket parameters. You can query VPCs and vSwitches by calling the DescribeVpcs and DescribeVSwitches operations of VPC, query security groups by calling the DescribeSecurityGroups operation of ECS, and query buckets by calling the ListBuckets operation of OSS. If the resources do not exist, create them in the corresponding services first.
1428
+ * Prerequisites: You must activate the PrivateLink service in your current account before calling this operation. If the service is not activated, the operation returns the PrivateLinkService.NotOpen (400) error. You can check the service activation status in the PrivateLink console. Before creating a knowledge space, you must also prepare a VpcId, VSwitchId, SecurityGroupId, and OSSBucket. You can query VPCs and vSwitches by calling the VPC DescribeVpcs and DescribeVSwitches operations, query security groups by calling the ECS DescribeSecurityGroups operation, and query buckets by calling the OSS ListBuckets operation. If the resources do not exist, create them in the corresponding services first.
1429
1429
  *
1430
1430
  * @param request - CreateKnowledgeSpaceRequest
1431
1431
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1436,7 +1436,7 @@ export default class Client extends OpenApi {
1436
1436
  * Creates a knowledge space.
1437
1437
  *
1438
1438
  * @remarks
1439
- * Prerequisites: Before you call this operation, you must activate the PrivateLink service in your current account. If the service is not activated, the API returns the PrivateLinkService.NotOpen (400) error. You can check the activation status of the service in the PrivateLink console. Before creating a knowledge space, you must also prepare the VpcId, VSwitchId, SecurityGroupId, and OSSBucket parameters. You can query VPCs and vSwitches by calling the DescribeVpcs and DescribeVSwitches operations of VPC, query security groups by calling the DescribeSecurityGroups operation of ECS, and query buckets by calling the ListBuckets operation of OSS. If the resources do not exist, create them in the corresponding services first.
1439
+ * Prerequisites: You must activate the PrivateLink service in your current account before calling this operation. If the service is not activated, the operation returns the PrivateLinkService.NotOpen (400) error. You can check the service activation status in the PrivateLink console. Before creating a knowledge space, you must also prepare a VpcId, VSwitchId, SecurityGroupId, and OSSBucket. You can query VPCs and vSwitches by calling the VPC DescribeVpcs and DescribeVSwitches operations, query security groups by calling the ECS DescribeSecurityGroups operation, and query buckets by calling the OSS ListBuckets operation. If the resources do not exist, create them in the corresponding services first.
1440
1440
  *
1441
1441
  * @param request - CreateKnowledgeSpaceRequest
1442
1442
  * @returns CreateKnowledgeSpaceResponse
package/dist/client.js CHANGED
@@ -5397,7 +5397,7 @@ class Client extends openapi_core_1.default {
5397
5397
  * Creates a knowledge space.
5398
5398
  *
5399
5399
  * @remarks
5400
- * Prerequisites: Before you call this operation, you must activate the PrivateLink service in your current account. If the service is not activated, the API returns the PrivateLinkService.NotOpen (400) error. You can check the activation status of the service in the PrivateLink console. Before creating a knowledge space, you must also prepare the VpcId, VSwitchId, SecurityGroupId, and OSSBucket parameters. You can query VPCs and vSwitches by calling the DescribeVpcs and DescribeVSwitches operations of VPC, query security groups by calling the DescribeSecurityGroups operation of ECS, and query buckets by calling the ListBuckets operation of OSS. If the resources do not exist, create them in the corresponding services first.
5400
+ * Prerequisites: You must activate the PrivateLink service in your current account before calling this operation. If the service is not activated, the operation returns the PrivateLinkService.NotOpen (400) error. You can check the service activation status in the PrivateLink console. Before creating a knowledge space, you must also prepare a VpcId, VSwitchId, SecurityGroupId, and OSSBucket. You can query VPCs and vSwitches by calling the VPC DescribeVpcs and DescribeVSwitches operations, query security groups by calling the ECS DescribeSecurityGroups operation, and query buckets by calling the OSS ListBuckets operation. If the resources do not exist, create them in the corresponding services first.
5401
5401
  *
5402
5402
  * @param request - CreateKnowledgeSpaceRequest
5403
5403
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5406,12 +5406,18 @@ class Client extends openapi_core_1.default {
5406
5406
  async createKnowledgeSpaceWithOptions(request, runtime) {
5407
5407
  request.validate();
5408
5408
  let query = {};
5409
+ if (!$dara.isNull(request.autoCreateMcpInstance)) {
5410
+ query["AutoCreateMcpInstance"] = request.autoCreateMcpInstance;
5411
+ }
5409
5412
  if (!$dara.isNull(request.DBType)) {
5410
5413
  query["DBType"] = request.DBType;
5411
5414
  }
5412
5415
  if (!$dara.isNull(request.description)) {
5413
5416
  query["Description"] = request.description;
5414
5417
  }
5418
+ if (!$dara.isNull(request.dryRun)) {
5419
+ query["DryRun"] = request.dryRun;
5420
+ }
5415
5421
  if (!$dara.isNull(request.embeddingDimension)) {
5416
5422
  query["EmbeddingDimension"] = request.embeddingDimension;
5417
5423
  }
@@ -5480,7 +5486,7 @@ class Client extends openapi_core_1.default {
5480
5486
  * Creates a knowledge space.
5481
5487
  *
5482
5488
  * @remarks
5483
- * Prerequisites: Before you call this operation, you must activate the PrivateLink service in your current account. If the service is not activated, the API returns the PrivateLinkService.NotOpen (400) error. You can check the activation status of the service in the PrivateLink console. Before creating a knowledge space, you must also prepare the VpcId, VSwitchId, SecurityGroupId, and OSSBucket parameters. You can query VPCs and vSwitches by calling the DescribeVpcs and DescribeVSwitches operations of VPC, query security groups by calling the DescribeSecurityGroups operation of ECS, and query buckets by calling the ListBuckets operation of OSS. If the resources do not exist, create them in the corresponding services first.
5489
+ * Prerequisites: You must activate the PrivateLink service in your current account before calling this operation. If the service is not activated, the operation returns the PrivateLinkService.NotOpen (400) error. You can check the service activation status in the PrivateLink console. Before creating a knowledge space, you must also prepare a VpcId, VSwitchId, SecurityGroupId, and OSSBucket. You can query VPCs and vSwitches by calling the VPC DescribeVpcs and DescribeVSwitches operations, query security groups by calling the ECS DescribeSecurityGroups operation, and query buckets by calling the OSS ListBuckets operation. If the resources do not exist, create them in the corresponding services first.
5484
5490
  *
5485
5491
  * @param request - CreateKnowledgeSpaceRequest
5486
5492
  * @returns CreateKnowledgeSpaceResponse