@alicloud/sddp20190103 1.6.3 → 1.6.5

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
@@ -304,7 +304,7 @@ export default class Client extends OpenApi {
304
304
  */
305
305
  describeDataLimitDetail(request: $_model.DescribeDataLimitDetailRequest): Promise<$_model.DescribeDataLimitDetailResponse>;
306
306
  /**
307
- * Queries data assets, such as instances, databases, and Object Storage Service (OSS) buckets, that you authorize Data Security Center (DSC) to scan in a service.
307
+ * Queries assets that Data Security Center (DSC) is authorized to scan, or the regions that DSC supports.
308
308
  *
309
309
  * @remarks
310
310
  * You can call this operation to query the data assets that are authorized to be scanned. This facilitates resource search and aggregation.
@@ -317,7 +317,7 @@ export default class Client extends OpenApi {
317
317
  */
318
318
  describeDataLimitSetWithOptions(request: $_model.DescribeDataLimitSetRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDataLimitSetResponse>;
319
319
  /**
320
- * Queries data assets, such as instances, databases, and Object Storage Service (OSS) buckets, that you authorize Data Security Center (DSC) to scan in a service.
320
+ * Queries assets that Data Security Center (DSC) is authorized to scan, or the regions that DSC supports.
321
321
  *
322
322
  * @remarks
323
323
  * You can call this operation to query the data assets that are authorized to be scanned. This facilitates resource search and aggregation.
@@ -733,7 +733,7 @@ export default class Client extends OpenApi {
733
733
  */
734
734
  describeRules(request: $_model.DescribeRulesRequest): Promise<$_model.DescribeRulesResponse>;
735
735
  /**
736
- * Queries tables in data assets, such as MaxCompute projects and ApsaraDB RDS instances, that you authorize Data Security Center (DSC) to access.
736
+ * Queries tables in data assets such as MaxCompute projects and ApsaraDB RDS instances that Data Security Center (DSC) is authorized to access.
737
737
  *
738
738
  * @remarks
739
739
  * When you call the DescribeTables operation to query tables, you can specify parameters such as Name and RiskLevelId to filter tables.
@@ -746,7 +746,7 @@ export default class Client extends OpenApi {
746
746
  */
747
747
  describeTablesWithOptions(request: $_model.DescribeTablesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeTablesResponse>;
748
748
  /**
749
- * Queries tables in data assets, such as MaxCompute projects and ApsaraDB RDS instances, that you authorize Data Security Center (DSC) to access.
749
+ * Queries tables in data assets such as MaxCompute projects and ApsaraDB RDS instances that Data Security Center (DSC) is authorized to access.
750
750
  *
751
751
  * @remarks
752
752
  * When you call the DescribeTables operation to query tables, you can specify parameters such as Name and RiskLevelId to filter tables.
package/dist/client.js CHANGED
@@ -651,6 +651,9 @@ class Client extends openapi_core_1.default {
651
651
  if (!$dara.isNull(request.ruleID)) {
652
652
  query["RuleID"] = request.ruleID;
653
653
  }
654
+ if (!$dara.isNull(request.ruleId)) {
655
+ query["RuleId"] = request.ruleId;
656
+ }
654
657
  if (!$dara.isNull(request.ruleName)) {
655
658
  query["RuleName"] = request.ruleName;
656
659
  }
@@ -863,6 +866,9 @@ class Client extends openapi_core_1.default {
863
866
  if (!$dara.isNull(request.sensLevelName)) {
864
867
  query["SensLevelName"] = request.sensLevelName;
865
868
  }
869
+ if (!$dara.isNull(request.serviceRegionId)) {
870
+ query["ServiceRegionId"] = request.serviceRegionId;
871
+ }
866
872
  if (!$dara.isNull(request.tableId)) {
867
873
  query["TableId"] = request.tableId;
868
874
  }
@@ -1131,7 +1137,7 @@ class Client extends openapi_core_1.default {
1131
1137
  return await this.describeDataLimitDetailWithOptions(request, runtime);
1132
1138
  }
1133
1139
  /**
1134
- * Queries data assets, such as instances, databases, and Object Storage Service (OSS) buckets, that you authorize Data Security Center (DSC) to scan in a service.
1140
+ * Queries assets that Data Security Center (DSC) is authorized to scan, or the regions that DSC supports.
1135
1141
  *
1136
1142
  * @remarks
1137
1143
  * You can call this operation to query the data assets that are authorized to be scanned. This facilitates resource search and aggregation.
@@ -1177,7 +1183,7 @@ class Client extends openapi_core_1.default {
1177
1183
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDataLimitSetResponse({}));
1178
1184
  }
1179
1185
  /**
1180
- * Queries data assets, such as instances, databases, and Object Storage Service (OSS) buckets, that you authorize Data Security Center (DSC) to scan in a service.
1186
+ * Queries assets that Data Security Center (DSC) is authorized to scan, or the regions that DSC supports.
1181
1187
  *
1182
1188
  * @remarks
1183
1189
  * You can call this operation to query the data assets that are authorized to be scanned. This facilitates resource search and aggregation.
@@ -1550,9 +1556,18 @@ class Client extends openapi_core_1.default {
1550
1556
  async describeDataObjectsWithOptions(request, runtime) {
1551
1557
  request.validate();
1552
1558
  let query = {};
1559
+ if (!$dara.isNull(request.APIVersion)) {
1560
+ query["APIVersion"] = request.APIVersion;
1561
+ }
1562
+ if (!$dara.isNull(request.bucket)) {
1563
+ query["Bucket"] = request.bucket;
1564
+ }
1553
1565
  if (!$dara.isNull(request.currentPage)) {
1554
1566
  query["CurrentPage"] = request.currentPage;
1555
1567
  }
1568
+ if (!$dara.isNull(request.dbName)) {
1569
+ query["DbName"] = request.dbName;
1570
+ }
1556
1571
  if (!$dara.isNull(request.domainId)) {
1557
1572
  query["DomainId"] = request.domainId;
1558
1573
  }
@@ -1571,6 +1586,12 @@ class Client extends openapi_core_1.default {
1571
1586
  if (!$dara.isNull(request.lang)) {
1572
1587
  query["Lang"] = request.lang;
1573
1588
  }
1589
+ if (!$dara.isNull(request.logStore)) {
1590
+ query["LogStore"] = request.logStore;
1591
+ }
1592
+ if (!$dara.isNull(request.logStoreFlag)) {
1593
+ query["LogStoreFlag"] = request.logStoreFlag;
1594
+ }
1574
1595
  if (!$dara.isNull(request.memberAccount)) {
1575
1596
  query["MemberAccount"] = request.memberAccount;
1576
1597
  }
@@ -1586,18 +1607,42 @@ class Client extends openapi_core_1.default {
1586
1607
  if (!$dara.isNull(request.parentCategoryIds)) {
1587
1608
  query["ParentCategoryIds"] = request.parentCategoryIds;
1588
1609
  }
1610
+ if (!$dara.isNull(request.path)) {
1611
+ query["Path"] = request.path;
1612
+ }
1613
+ if (!$dara.isNull(request.productId)) {
1614
+ query["ProductId"] = request.productId;
1615
+ }
1589
1616
  if (!$dara.isNull(request.productIds)) {
1590
1617
  query["ProductIds"] = request.productIds;
1591
1618
  }
1619
+ if (!$dara.isNull(request.project)) {
1620
+ query["Project"] = request.project;
1621
+ }
1592
1622
  if (!$dara.isNull(request.queryName)) {
1593
1623
  query["QueryName"] = request.queryName;
1594
1624
  }
1625
+ if (!$dara.isNull(request.regionId)) {
1626
+ query["RegionId"] = request.regionId;
1627
+ }
1628
+ if (!$dara.isNull(request.riskLevelIdList)) {
1629
+ query["RiskLevelIdList"] = request.riskLevelIdList;
1630
+ }
1595
1631
  if (!$dara.isNull(request.riskLevels)) {
1596
1632
  query["RiskLevels"] = request.riskLevels;
1597
1633
  }
1634
+ if (!$dara.isNull(request.ruleIds)) {
1635
+ query["RuleIds"] = request.ruleIds;
1636
+ }
1598
1637
  if (!$dara.isNull(request.serviceRegionId)) {
1599
1638
  query["ServiceRegionId"] = request.serviceRegionId;
1600
1639
  }
1640
+ if (!$dara.isNull(request.tableName)) {
1641
+ query["TableName"] = request.tableName;
1642
+ }
1643
+ if (!$dara.isNull(request.taskId)) {
1644
+ query["TaskId"] = request.taskId;
1645
+ }
1601
1646
  if (!$dara.isNull(request.templateId)) {
1602
1647
  query["TemplateId"] = request.templateId;
1603
1648
  }
@@ -2541,7 +2586,7 @@ class Client extends openapi_core_1.default {
2541
2586
  return await this.describeRulesWithOptions(request, runtime);
2542
2587
  }
2543
2588
  /**
2544
- * Queries tables in data assets, such as MaxCompute projects and ApsaraDB RDS instances, that you authorize Data Security Center (DSC) to access.
2589
+ * Queries tables in data assets such as MaxCompute projects and ApsaraDB RDS instances that Data Security Center (DSC) is authorized to access.
2545
2590
  *
2546
2591
  * @remarks
2547
2592
  * When you call the DescribeTables operation to query tables, you can specify parameters such as Name and RiskLevelId to filter tables.
@@ -2608,7 +2653,7 @@ class Client extends openapi_core_1.default {
2608
2653
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeTablesResponse({}));
2609
2654
  }
2610
2655
  /**
2611
- * Queries tables in data assets, such as MaxCompute projects and ApsaraDB RDS instances, that you authorize Data Security Center (DSC) to access.
2656
+ * Queries tables in data assets such as MaxCompute projects and ApsaraDB RDS instances that Data Security Center (DSC) is authorized to access.
2612
2657
  *
2613
2658
  * @remarks
2614
2659
  * When you call the DescribeTables operation to query tables, you can specify parameters such as Name and RiskLevelId to filter tables.