@alicloud/config20200907 3.0.7 → 3.0.8
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 +794 -35
- package/dist/client.js +91 -17
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +865 -32
package/dist/client.js
CHANGED
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -78,12 +88,14 @@ class ActiveAggregateConfigRulesRequest extends $tea.Model {
|
|
|
78
88
|
static names() {
|
|
79
89
|
return {
|
|
80
90
|
aggregatorId: 'AggregatorId',
|
|
91
|
+
compliancePackId: 'CompliancePackId',
|
|
81
92
|
configRuleIds: 'ConfigRuleIds',
|
|
82
93
|
};
|
|
83
94
|
}
|
|
84
95
|
static types() {
|
|
85
96
|
return {
|
|
86
97
|
aggregatorId: 'string',
|
|
98
|
+
compliancePackId: 'string',
|
|
87
99
|
configRuleIds: 'string',
|
|
88
100
|
};
|
|
89
101
|
}
|
|
@@ -133,11 +145,13 @@ exports.ActiveAggregateConfigRulesResponse = ActiveAggregateConfigRulesResponse;
|
|
|
133
145
|
class ActiveConfigRulesRequest extends $tea.Model {
|
|
134
146
|
static names() {
|
|
135
147
|
return {
|
|
148
|
+
compliancePackId: 'CompliancePackId',
|
|
136
149
|
configRuleIds: 'ConfigRuleIds',
|
|
137
150
|
};
|
|
138
151
|
}
|
|
139
152
|
static types() {
|
|
140
153
|
return {
|
|
154
|
+
compliancePackId: 'string',
|
|
141
155
|
configRuleIds: 'string',
|
|
142
156
|
};
|
|
143
157
|
}
|
|
@@ -755,6 +769,7 @@ class CreateAggregateConfigRuleRequest extends $tea.Model {
|
|
|
755
769
|
excludeResourceGroupIdsScope: 'ExcludeResourceGroupIdsScope',
|
|
756
770
|
excludeResourceIdsScope: 'ExcludeResourceIdsScope',
|
|
757
771
|
excludeTagsScope: 'ExcludeTagsScope',
|
|
772
|
+
extendContent: 'ExtendContent',
|
|
758
773
|
folderIdsScope: 'FolderIdsScope',
|
|
759
774
|
inputParameters: 'InputParameters',
|
|
760
775
|
maximumExecutionFrequency: 'MaximumExecutionFrequency',
|
|
@@ -785,6 +800,7 @@ class CreateAggregateConfigRuleRequest extends $tea.Model {
|
|
|
785
800
|
excludeResourceGroupIdsScope: 'string',
|
|
786
801
|
excludeResourceIdsScope: 'string',
|
|
787
802
|
excludeTagsScope: { 'type': 'array', 'itemType': CreateAggregateConfigRuleRequestExcludeTagsScope },
|
|
803
|
+
extendContent: 'string',
|
|
788
804
|
folderIdsScope: 'string',
|
|
789
805
|
inputParameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
790
806
|
maximumExecutionFrequency: 'string',
|
|
@@ -821,6 +837,7 @@ class CreateAggregateConfigRuleShrinkRequest extends $tea.Model {
|
|
|
821
837
|
excludeResourceGroupIdsScope: 'ExcludeResourceGroupIdsScope',
|
|
822
838
|
excludeResourceIdsScope: 'ExcludeResourceIdsScope',
|
|
823
839
|
excludeTagsScope: 'ExcludeTagsScope',
|
|
840
|
+
extendContent: 'ExtendContent',
|
|
824
841
|
folderIdsScope: 'FolderIdsScope',
|
|
825
842
|
inputParametersShrink: 'InputParameters',
|
|
826
843
|
maximumExecutionFrequency: 'MaximumExecutionFrequency',
|
|
@@ -851,6 +868,7 @@ class CreateAggregateConfigRuleShrinkRequest extends $tea.Model {
|
|
|
851
868
|
excludeResourceGroupIdsScope: 'string',
|
|
852
869
|
excludeResourceIdsScope: 'string',
|
|
853
870
|
excludeTagsScope: { 'type': 'array', 'itemType': CreateAggregateConfigRuleShrinkRequestExcludeTagsScope },
|
|
871
|
+
extendContent: 'string',
|
|
854
872
|
folderIdsScope: 'string',
|
|
855
873
|
inputParametersShrink: 'string',
|
|
856
874
|
maximumExecutionFrequency: 'string',
|
|
@@ -1293,6 +1311,7 @@ class CreateConfigRuleRequest extends $tea.Model {
|
|
|
1293
1311
|
excludeResourceGroupIdsScope: 'ExcludeResourceGroupIdsScope',
|
|
1294
1312
|
excludeResourceIdsScope: 'ExcludeResourceIdsScope',
|
|
1295
1313
|
excludeTagsScope: 'ExcludeTagsScope',
|
|
1314
|
+
extendContent: 'ExtendContent',
|
|
1296
1315
|
inputParameters: 'InputParameters',
|
|
1297
1316
|
maximumExecutionFrequency: 'MaximumExecutionFrequency',
|
|
1298
1317
|
regionIdsScope: 'RegionIdsScope',
|
|
@@ -1318,6 +1337,7 @@ class CreateConfigRuleRequest extends $tea.Model {
|
|
|
1318
1337
|
excludeResourceGroupIdsScope: 'string',
|
|
1319
1338
|
excludeResourceIdsScope: 'string',
|
|
1320
1339
|
excludeTagsScope: { 'type': 'array', 'itemType': CreateConfigRuleRequestExcludeTagsScope },
|
|
1340
|
+
extendContent: 'string',
|
|
1321
1341
|
inputParameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
1322
1342
|
maximumExecutionFrequency: 'string',
|
|
1323
1343
|
regionIdsScope: 'string',
|
|
@@ -1349,6 +1369,7 @@ class CreateConfigRuleShrinkRequest extends $tea.Model {
|
|
|
1349
1369
|
excludeResourceGroupIdsScope: 'ExcludeResourceGroupIdsScope',
|
|
1350
1370
|
excludeResourceIdsScope: 'ExcludeResourceIdsScope',
|
|
1351
1371
|
excludeTagsScope: 'ExcludeTagsScope',
|
|
1372
|
+
extendContent: 'ExtendContent',
|
|
1352
1373
|
inputParametersShrink: 'InputParameters',
|
|
1353
1374
|
maximumExecutionFrequency: 'MaximumExecutionFrequency',
|
|
1354
1375
|
regionIdsScope: 'RegionIdsScope',
|
|
@@ -1374,6 +1395,7 @@ class CreateConfigRuleShrinkRequest extends $tea.Model {
|
|
|
1374
1395
|
excludeResourceGroupIdsScope: 'string',
|
|
1375
1396
|
excludeResourceIdsScope: 'string',
|
|
1376
1397
|
excludeTagsScope: { 'type': 'array', 'itemType': CreateConfigRuleShrinkRequestExcludeTagsScope },
|
|
1398
|
+
extendContent: 'string',
|
|
1377
1399
|
inputParametersShrink: 'string',
|
|
1378
1400
|
maximumExecutionFrequency: 'string',
|
|
1379
1401
|
regionIdsScope: 'string',
|
|
@@ -1576,12 +1598,14 @@ class DeactiveAggregateConfigRulesRequest extends $tea.Model {
|
|
|
1576
1598
|
static names() {
|
|
1577
1599
|
return {
|
|
1578
1600
|
aggregatorId: 'AggregatorId',
|
|
1601
|
+
compliancePackId: 'CompliancePackId',
|
|
1579
1602
|
configRuleIds: 'ConfigRuleIds',
|
|
1580
1603
|
};
|
|
1581
1604
|
}
|
|
1582
1605
|
static types() {
|
|
1583
1606
|
return {
|
|
1584
1607
|
aggregatorId: 'string',
|
|
1608
|
+
compliancePackId: 'string',
|
|
1585
1609
|
configRuleIds: 'string',
|
|
1586
1610
|
};
|
|
1587
1611
|
}
|
|
@@ -1631,11 +1655,13 @@ exports.DeactiveAggregateConfigRulesResponse = DeactiveAggregateConfigRulesRespo
|
|
|
1631
1655
|
class DeactiveConfigRulesRequest extends $tea.Model {
|
|
1632
1656
|
static names() {
|
|
1633
1657
|
return {
|
|
1658
|
+
compliancePackId: 'CompliancePackId',
|
|
1634
1659
|
configRuleIds: 'ConfigRuleIds',
|
|
1635
1660
|
};
|
|
1636
1661
|
}
|
|
1637
1662
|
static types() {
|
|
1638
1663
|
return {
|
|
1664
|
+
compliancePackId: 'string',
|
|
1639
1665
|
configRuleIds: 'string',
|
|
1640
1666
|
};
|
|
1641
1667
|
}
|
|
@@ -4665,6 +4691,7 @@ exports.GetIntegratedServiceStatusRequest = GetIntegratedServiceStatusRequest;
|
|
|
4665
4691
|
class GetIntegratedServiceStatusResponseBody extends $tea.Model {
|
|
4666
4692
|
static names() {
|
|
4667
4693
|
return {
|
|
4694
|
+
aggregatorDeliveryDataType: 'AggregatorDeliveryDataType',
|
|
4668
4695
|
data: 'Data',
|
|
4669
4696
|
integratedTypes: 'IntegratedTypes',
|
|
4670
4697
|
requestId: 'RequestId',
|
|
@@ -4672,6 +4699,7 @@ class GetIntegratedServiceStatusResponseBody extends $tea.Model {
|
|
|
4672
4699
|
}
|
|
4673
4700
|
static types() {
|
|
4674
4701
|
return {
|
|
4702
|
+
aggregatorDeliveryDataType: 'string',
|
|
4675
4703
|
data: 'boolean',
|
|
4676
4704
|
integratedTypes: 'string',
|
|
4677
4705
|
requestId: 'string',
|
|
@@ -5664,6 +5692,7 @@ class ListAggregateConfigRulesRequest extends $tea.Model {
|
|
|
5664
5692
|
static names() {
|
|
5665
5693
|
return {
|
|
5666
5694
|
aggregatorId: 'AggregatorId',
|
|
5695
|
+
compliancePackId: 'CompliancePackId',
|
|
5667
5696
|
complianceType: 'ComplianceType',
|
|
5668
5697
|
configRuleName: 'ConfigRuleName',
|
|
5669
5698
|
configRuleState: 'ConfigRuleState',
|
|
@@ -5677,6 +5706,7 @@ class ListAggregateConfigRulesRequest extends $tea.Model {
|
|
|
5677
5706
|
static types() {
|
|
5678
5707
|
return {
|
|
5679
5708
|
aggregatorId: 'string',
|
|
5709
|
+
compliancePackId: 'string',
|
|
5680
5710
|
complianceType: 'string',
|
|
5681
5711
|
configRuleName: 'string',
|
|
5682
5712
|
configRuleState: 'string',
|
|
@@ -6457,6 +6487,7 @@ exports.ListConfigRuleEvaluationStatisticsResponse = ListConfigRuleEvaluationSta
|
|
|
6457
6487
|
class ListConfigRulesRequest extends $tea.Model {
|
|
6458
6488
|
static names() {
|
|
6459
6489
|
return {
|
|
6490
|
+
compliancePackId: 'CompliancePackId',
|
|
6460
6491
|
complianceType: 'ComplianceType',
|
|
6461
6492
|
configRuleName: 'ConfigRuleName',
|
|
6462
6493
|
configRuleState: 'ConfigRuleState',
|
|
@@ -6469,6 +6500,7 @@ class ListConfigRulesRequest extends $tea.Model {
|
|
|
6469
6500
|
}
|
|
6470
6501
|
static types() {
|
|
6471
6502
|
return {
|
|
6503
|
+
compliancePackId: 'string',
|
|
6472
6504
|
complianceType: 'string',
|
|
6473
6505
|
configRuleName: 'string',
|
|
6474
6506
|
configRuleState: 'string',
|
|
@@ -8702,6 +8734,7 @@ class UpdateConfigRuleRequest extends $tea.Model {
|
|
|
8702
8734
|
excludeResourceGroupIdsScope: 'ExcludeResourceGroupIdsScope',
|
|
8703
8735
|
excludeResourceIdsScope: 'ExcludeResourceIdsScope',
|
|
8704
8736
|
excludeTagsScope: 'ExcludeTagsScope',
|
|
8737
|
+
extendContent: 'ExtendContent',
|
|
8705
8738
|
inputParameters: 'InputParameters',
|
|
8706
8739
|
maximumExecutionFrequency: 'MaximumExecutionFrequency',
|
|
8707
8740
|
regionIdsScope: 'RegionIdsScope',
|
|
@@ -8726,6 +8759,7 @@ class UpdateConfigRuleRequest extends $tea.Model {
|
|
|
8726
8759
|
excludeResourceGroupIdsScope: 'string',
|
|
8727
8760
|
excludeResourceIdsScope: 'string',
|
|
8728
8761
|
excludeTagsScope: { 'type': 'array', 'itemType': UpdateConfigRuleRequestExcludeTagsScope },
|
|
8762
|
+
extendContent: 'string',
|
|
8729
8763
|
inputParameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
8730
8764
|
maximumExecutionFrequency: 'string',
|
|
8731
8765
|
regionIdsScope: 'string',
|
|
@@ -8756,6 +8790,7 @@ class UpdateConfigRuleShrinkRequest extends $tea.Model {
|
|
|
8756
8790
|
excludeResourceGroupIdsScope: 'ExcludeResourceGroupIdsScope',
|
|
8757
8791
|
excludeResourceIdsScope: 'ExcludeResourceIdsScope',
|
|
8758
8792
|
excludeTagsScope: 'ExcludeTagsScope',
|
|
8793
|
+
extendContent: 'ExtendContent',
|
|
8759
8794
|
inputParametersShrink: 'InputParameters',
|
|
8760
8795
|
maximumExecutionFrequency: 'MaximumExecutionFrequency',
|
|
8761
8796
|
regionIdsScope: 'RegionIdsScope',
|
|
@@ -8780,6 +8815,7 @@ class UpdateConfigRuleShrinkRequest extends $tea.Model {
|
|
|
8780
8815
|
excludeResourceGroupIdsScope: 'string',
|
|
8781
8816
|
excludeResourceIdsScope: 'string',
|
|
8782
8817
|
excludeTagsScope: { 'type': 'array', 'itemType': UpdateConfigRuleShrinkRequestExcludeTagsScope },
|
|
8818
|
+
extendContent: 'string',
|
|
8783
8819
|
inputParametersShrink: 'string',
|
|
8784
8820
|
maximumExecutionFrequency: 'string',
|
|
8785
8821
|
regionIdsScope: 'string',
|
|
@@ -8969,6 +9005,7 @@ exports.UpdateDeliveryChannelResponse = UpdateDeliveryChannelResponse;
|
|
|
8969
9005
|
class UpdateIntegratedServiceStatusRequest extends $tea.Model {
|
|
8970
9006
|
static names() {
|
|
8971
9007
|
return {
|
|
9008
|
+
aggregatorDeliveryDataType: 'AggregatorDeliveryDataType',
|
|
8972
9009
|
integratedTypes: 'IntegratedTypes',
|
|
8973
9010
|
serviceCode: 'ServiceCode',
|
|
8974
9011
|
status: 'Status',
|
|
@@ -8976,6 +9013,7 @@ class UpdateIntegratedServiceStatusRequest extends $tea.Model {
|
|
|
8976
9013
|
}
|
|
8977
9014
|
static types() {
|
|
8978
9015
|
return {
|
|
9016
|
+
aggregatorDeliveryDataType: 'string',
|
|
8979
9017
|
integratedTypes: 'string',
|
|
8980
9018
|
serviceCode: 'string',
|
|
8981
9019
|
status: 'boolean',
|
|
@@ -10701,6 +10739,7 @@ class GetAggregateConfigRuleResponseBodyConfigRule extends $tea.Model {
|
|
|
10701
10739
|
excludeResourceGroupIdsScope: 'ExcludeResourceGroupIdsScope',
|
|
10702
10740
|
excludeResourceIdsScope: 'ExcludeResourceIdsScope',
|
|
10703
10741
|
excludeTagsScope: 'ExcludeTagsScope',
|
|
10742
|
+
extendContent: 'ExtendContent',
|
|
10704
10743
|
folderIdsScope: 'FolderIdsScope',
|
|
10705
10744
|
inputParameters: 'InputParameters',
|
|
10706
10745
|
managedRule: 'ManagedRule',
|
|
@@ -10738,6 +10777,7 @@ class GetAggregateConfigRuleResponseBodyConfigRule extends $tea.Model {
|
|
|
10738
10777
|
excludeResourceGroupIdsScope: 'string',
|
|
10739
10778
|
excludeResourceIdsScope: 'string',
|
|
10740
10779
|
excludeTagsScope: { 'type': 'array', 'itemType': GetAggregateConfigRuleResponseBodyConfigRuleExcludeTagsScope },
|
|
10780
|
+
extendContent: 'string',
|
|
10741
10781
|
folderIdsScope: 'string',
|
|
10742
10782
|
inputParameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
10743
10783
|
managedRule: GetAggregateConfigRuleResponseBodyConfigRuleManagedRule,
|
|
@@ -11788,6 +11828,7 @@ class GetConfigRuleResponseBodyConfigRule extends $tea.Model {
|
|
|
11788
11828
|
excludeResourceGroupIdsScope: 'ExcludeResourceGroupIdsScope',
|
|
11789
11829
|
excludeResourceIdsScope: 'ExcludeResourceIdsScope',
|
|
11790
11830
|
excludeTagsScope: 'ExcludeTagsScope',
|
|
11831
|
+
extendContent: 'ExtendContent',
|
|
11791
11832
|
inputParameters: 'InputParameters',
|
|
11792
11833
|
managedRule: 'ManagedRule',
|
|
11793
11834
|
maximumExecutionFrequency: 'MaximumExecutionFrequency',
|
|
@@ -11822,6 +11863,7 @@ class GetConfigRuleResponseBodyConfigRule extends $tea.Model {
|
|
|
11822
11863
|
excludeResourceGroupIdsScope: 'string',
|
|
11823
11864
|
excludeResourceIdsScope: 'string',
|
|
11824
11865
|
excludeTagsScope: { 'type': 'array', 'itemType': GetConfigRuleResponseBodyConfigRuleExcludeTagsScope },
|
|
11866
|
+
extendContent: 'string',
|
|
11825
11867
|
inputParameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
11826
11868
|
managedRule: GetConfigRuleResponseBodyConfigRuleManagedRule,
|
|
11827
11869
|
maximumExecutionFrequency: 'string',
|
|
@@ -13717,6 +13759,7 @@ exports.ListDiscoveredResourcesResponseBodyDiscoveredResourceProfiles = ListDisc
|
|
|
13717
13759
|
class ListIntegratedServiceResponseBodyData extends $tea.Model {
|
|
13718
13760
|
static names() {
|
|
13719
13761
|
return {
|
|
13762
|
+
aggregatorDeliveryDataType: 'AggregatorDeliveryDataType',
|
|
13720
13763
|
integratedTypes: 'IntegratedTypes',
|
|
13721
13764
|
serviceCode: 'ServiceCode',
|
|
13722
13765
|
serviceName: 'ServiceName',
|
|
@@ -13725,6 +13768,7 @@ class ListIntegratedServiceResponseBodyData extends $tea.Model {
|
|
|
13725
13768
|
}
|
|
13726
13769
|
static types() {
|
|
13727
13770
|
return {
|
|
13771
|
+
aggregatorDeliveryDataType: 'string',
|
|
13728
13772
|
integratedTypes: 'string',
|
|
13729
13773
|
serviceCode: 'string',
|
|
13730
13774
|
serviceName: 'string',
|
|
@@ -14753,6 +14797,9 @@ class Client extends openapi_client_1.default {
|
|
|
14753
14797
|
if (!tea_util_1.default.isUnset(request.aggregatorId)) {
|
|
14754
14798
|
query["AggregatorId"] = request.aggregatorId;
|
|
14755
14799
|
}
|
|
14800
|
+
if (!tea_util_1.default.isUnset(request.compliancePackId)) {
|
|
14801
|
+
query["CompliancePackId"] = request.compliancePackId;
|
|
14802
|
+
}
|
|
14756
14803
|
if (!tea_util_1.default.isUnset(request.configRuleIds)) {
|
|
14757
14804
|
query["ConfigRuleIds"] = request.configRuleIds;
|
|
14758
14805
|
}
|
|
@@ -14802,6 +14849,9 @@ class Client extends openapi_client_1.default {
|
|
|
14802
14849
|
async activeConfigRulesWithOptions(request, runtime) {
|
|
14803
14850
|
tea_util_1.default.validateModel(request);
|
|
14804
14851
|
let query = {};
|
|
14852
|
+
if (!tea_util_1.default.isUnset(request.compliancePackId)) {
|
|
14853
|
+
query["CompliancePackId"] = request.compliancePackId;
|
|
14854
|
+
}
|
|
14805
14855
|
if (!tea_util_1.default.isUnset(request.configRuleIds)) {
|
|
14806
14856
|
query["ConfigRuleIds"] = request.configRuleIds;
|
|
14807
14857
|
}
|
|
@@ -15359,6 +15409,9 @@ class Client extends openapi_client_1.default {
|
|
|
15359
15409
|
if (!tea_util_1.default.isUnset(request.excludeTagsScope)) {
|
|
15360
15410
|
bodyFlat["ExcludeTagsScope"] = request.excludeTagsScope;
|
|
15361
15411
|
}
|
|
15412
|
+
if (!tea_util_1.default.isUnset(request.extendContent)) {
|
|
15413
|
+
body["ExtendContent"] = request.extendContent;
|
|
15414
|
+
}
|
|
15362
15415
|
if (!tea_util_1.default.isUnset(request.folderIdsScope)) {
|
|
15363
15416
|
body["FolderIdsScope"] = request.folderIdsScope;
|
|
15364
15417
|
}
|
|
@@ -15807,6 +15860,9 @@ class Client extends openapi_client_1.default {
|
|
|
15807
15860
|
if (!tea_util_1.default.isUnset(request.excludeTagsScope)) {
|
|
15808
15861
|
bodyFlat["ExcludeTagsScope"] = request.excludeTagsScope;
|
|
15809
15862
|
}
|
|
15863
|
+
if (!tea_util_1.default.isUnset(request.extendContent)) {
|
|
15864
|
+
body["ExtendContent"] = request.extendContent;
|
|
15865
|
+
}
|
|
15810
15866
|
if (!tea_util_1.default.isUnset(request.inputParametersShrink)) {
|
|
15811
15867
|
body["InputParameters"] = request.inputParametersShrink;
|
|
15812
15868
|
}
|
|
@@ -16040,6 +16096,9 @@ class Client extends openapi_client_1.default {
|
|
|
16040
16096
|
if (!tea_util_1.default.isUnset(request.aggregatorId)) {
|
|
16041
16097
|
query["AggregatorId"] = request.aggregatorId;
|
|
16042
16098
|
}
|
|
16099
|
+
if (!tea_util_1.default.isUnset(request.compliancePackId)) {
|
|
16100
|
+
query["CompliancePackId"] = request.compliancePackId;
|
|
16101
|
+
}
|
|
16043
16102
|
if (!tea_util_1.default.isUnset(request.configRuleIds)) {
|
|
16044
16103
|
query["ConfigRuleIds"] = request.configRuleIds;
|
|
16045
16104
|
}
|
|
@@ -16091,6 +16150,9 @@ class Client extends openapi_client_1.default {
|
|
|
16091
16150
|
async deactiveConfigRulesWithOptions(request, runtime) {
|
|
16092
16151
|
tea_util_1.default.validateModel(request);
|
|
16093
16152
|
let query = {};
|
|
16153
|
+
if (!tea_util_1.default.isUnset(request.compliancePackId)) {
|
|
16154
|
+
query["CompliancePackId"] = request.compliancePackId;
|
|
16155
|
+
}
|
|
16094
16156
|
if (!tea_util_1.default.isUnset(request.configRuleIds)) {
|
|
16095
16157
|
query["ConfigRuleIds"] = request.configRuleIds;
|
|
16096
16158
|
}
|
|
@@ -19429,6 +19491,9 @@ class Client extends openapi_client_1.default {
|
|
|
19429
19491
|
if (!tea_util_1.default.isUnset(request.aggregatorId)) {
|
|
19430
19492
|
query["AggregatorId"] = request.aggregatorId;
|
|
19431
19493
|
}
|
|
19494
|
+
if (!tea_util_1.default.isUnset(request.compliancePackId)) {
|
|
19495
|
+
query["CompliancePackId"] = request.compliancePackId;
|
|
19496
|
+
}
|
|
19432
19497
|
if (!tea_util_1.default.isUnset(request.complianceType)) {
|
|
19433
19498
|
query["ComplianceType"] = request.complianceType;
|
|
19434
19499
|
}
|
|
@@ -19807,7 +19872,7 @@ class Client extends openapi_client_1.default {
|
|
|
19807
19872
|
* Obtains resources in a specific account group based on the fields in the resource properties by using a SELECT statement.
|
|
19808
19873
|
*
|
|
19809
19874
|
* @remarks
|
|
19810
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see
|
|
19875
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see[ Alibaba Cloud Config Resource Schema](https://github.com/aliyun/alibabacloud-config-resource-schema)
|
|
19811
19876
|
* >
|
|
19812
19877
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
19813
19878
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
@@ -19846,7 +19911,7 @@ class Client extends openapi_client_1.default {
|
|
|
19846
19911
|
* Obtains resources in a specific account group based on the fields in the resource properties by using a SELECT statement.
|
|
19847
19912
|
*
|
|
19848
19913
|
* @remarks
|
|
19849
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see
|
|
19914
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see[ Alibaba Cloud Config Resource Schema](https://github.com/aliyun/alibabacloud-config-resource-schema)
|
|
19850
19915
|
* >
|
|
19851
19916
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
19852
19917
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
@@ -19860,7 +19925,7 @@ class Client extends openapi_client_1.default {
|
|
|
19860
19925
|
return await this.listAggregateResourcesByAdvancedSearchWithOptions(request, runtime);
|
|
19861
19926
|
}
|
|
19862
19927
|
/**
|
|
19863
|
-
* Queries
|
|
19928
|
+
* Queries all account groups within the current management account or delegated administrator account.
|
|
19864
19929
|
*
|
|
19865
19930
|
* @remarks
|
|
19866
19931
|
* The sample request in this topic shows you how to query account groups. A maximum of 10 entries can be returned for the request. As shown in the responses, the account group returned is named as `Test_Group`, its description is `Test account group`, and it is of the `CUSTOM` type, which indicates a custom account group. The account group contains two member accounts.
|
|
@@ -19895,7 +19960,7 @@ class Client extends openapi_client_1.default {
|
|
|
19895
19960
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAggregatorsResponse({}));
|
|
19896
19961
|
}
|
|
19897
19962
|
/**
|
|
19898
|
-
* Queries
|
|
19963
|
+
* Queries all account groups within the current management account or delegated administrator account.
|
|
19899
19964
|
*
|
|
19900
19965
|
* @remarks
|
|
19901
19966
|
* The sample request in this topic shows you how to query account groups. A maximum of 10 entries can be returned for the request. As shown in the responses, the account group returned is named as `Test_Group`, its description is `Test account group`, and it is of the `CUSTOM` type, which indicates a custom account group. The account group contains two member accounts.
|
|
@@ -19911,7 +19976,7 @@ class Client extends openapi_client_1.default {
|
|
|
19911
19976
|
* Queries all compliance package templates provided by Cloud Config and the details of the compliance package templates.
|
|
19912
19977
|
*
|
|
19913
19978
|
* @remarks
|
|
19914
|
-
*
|
|
19979
|
+
* A compliance package template is a collection of rules that Cloud Config can create based on compliance scenarios.
|
|
19915
19980
|
*
|
|
19916
19981
|
* @param request - ListCompliancePackTemplatesRequest
|
|
19917
19982
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19952,7 +20017,7 @@ class Client extends openapi_client_1.default {
|
|
|
19952
20017
|
* Queries all compliance package templates provided by Cloud Config and the details of the compliance package templates.
|
|
19953
20018
|
*
|
|
19954
20019
|
* @remarks
|
|
19955
|
-
*
|
|
20020
|
+
* A compliance package template is a collection of rules that Cloud Config can create based on compliance scenarios.
|
|
19956
20021
|
*
|
|
19957
20022
|
* @param request - ListCompliancePackTemplatesRequest
|
|
19958
20023
|
* @returns ListCompliancePackTemplatesResponse
|
|
@@ -20136,6 +20201,9 @@ class Client extends openapi_client_1.default {
|
|
|
20136
20201
|
async listConfigRulesWithOptions(request, runtime) {
|
|
20137
20202
|
tea_util_1.default.validateModel(request);
|
|
20138
20203
|
let query = {};
|
|
20204
|
+
if (!tea_util_1.default.isUnset(request.compliancePackId)) {
|
|
20205
|
+
query["CompliancePackId"] = request.compliancePackId;
|
|
20206
|
+
}
|
|
20139
20207
|
if (!tea_util_1.default.isUnset(request.complianceType)) {
|
|
20140
20208
|
query["ComplianceType"] = request.complianceType;
|
|
20141
20209
|
}
|
|
@@ -20704,7 +20772,7 @@ class Client extends openapi_client_1.default {
|
|
|
20704
20772
|
* Obtains resources based on the fields in the resource properties by using a SELECT statement.
|
|
20705
20773
|
*
|
|
20706
20774
|
* @remarks
|
|
20707
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema].
|
|
20775
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema](https://github.com/aliyun/alibabacloud-config-resource-schema).
|
|
20708
20776
|
* >
|
|
20709
20777
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
20710
20778
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
@@ -20740,7 +20808,7 @@ class Client extends openapi_client_1.default {
|
|
|
20740
20808
|
* Obtains resources based on the fields in the resource properties by using a SELECT statement.
|
|
20741
20809
|
*
|
|
20742
20810
|
* @remarks
|
|
20743
|
-
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema].
|
|
20811
|
+
* When you write a `SELECT` statement, you must obtain the fields and the data types of the fields from the property file of the resource type. For more information about property files, see [Alibaba Cloud Config Resource Schema](https://github.com/aliyun/alibabacloud-config-resource-schema).
|
|
20744
20812
|
* >
|
|
20745
20813
|
* * Each resource type supported by Cloud Config has a property file. Property files are named based on the related resource types. For example, the property file of the `ACS::ECS::Instance` resource type is named `ACS_ECS_Instance.properties.json`. Property files of different resource types are placed under the `config/properties/resource-types` path.
|
|
20746
20814
|
* * For more information about the examples and limits on SQL query statements, see [Examples of SQL query statements](https://help.aliyun.com/document_detail/398718.html) and [Limits on SQL query statements](https://help.aliyun.com/document_detail/398750.html).
|
|
@@ -21942,7 +22010,7 @@ class Client extends openapi_client_1.default {
|
|
|
21942
22010
|
return await this.updateCompliancePackWithOptions(request, runtime);
|
|
21943
22011
|
}
|
|
21944
22012
|
/**
|
|
21945
|
-
* Modifies a delivery channel.
|
|
22013
|
+
* Modifies a delivery channel by using the current account.
|
|
21946
22014
|
*
|
|
21947
22015
|
* @remarks
|
|
21948
22016
|
* In this example, a delivery channel is disabled. The ID of the delivery channel is `cdc-8e45ff4e06a3a8****```. The Status parameter is set to 0. After the delivery channel is disabled, Cloud Config retains the most recent delivery configuration and stops the delivery of resource data.
|
|
@@ -22010,7 +22078,7 @@ class Client extends openapi_client_1.default {
|
|
|
22010
22078
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateConfigDeliveryChannelResponse({}));
|
|
22011
22079
|
}
|
|
22012
22080
|
/**
|
|
22013
|
-
* Modifies a delivery channel.
|
|
22081
|
+
* Modifies a delivery channel by using the current account.
|
|
22014
22082
|
*
|
|
22015
22083
|
* @remarks
|
|
22016
22084
|
* In this example, a delivery channel is disabled. The ID of the delivery channel is `cdc-8e45ff4e06a3a8****```. The Status parameter is set to 0. After the delivery channel is disabled, Cloud Config retains the most recent delivery configuration and stops the delivery of resource data.
|
|
@@ -22071,6 +22139,9 @@ class Client extends openapi_client_1.default {
|
|
|
22071
22139
|
if (!tea_util_1.default.isUnset(request.excludeTagsScope)) {
|
|
22072
22140
|
bodyFlat["ExcludeTagsScope"] = request.excludeTagsScope;
|
|
22073
22141
|
}
|
|
22142
|
+
if (!tea_util_1.default.isUnset(request.extendContent)) {
|
|
22143
|
+
body["ExtendContent"] = request.extendContent;
|
|
22144
|
+
}
|
|
22074
22145
|
if (!tea_util_1.default.isUnset(request.inputParametersShrink)) {
|
|
22075
22146
|
body["InputParameters"] = request.inputParametersShrink;
|
|
22076
22147
|
}
|
|
@@ -22273,6 +22344,9 @@ class Client extends openapi_client_1.default {
|
|
|
22273
22344
|
async updateIntegratedServiceStatusWithOptions(request, runtime) {
|
|
22274
22345
|
tea_util_1.default.validateModel(request);
|
|
22275
22346
|
let body = {};
|
|
22347
|
+
if (!tea_util_1.default.isUnset(request.aggregatorDeliveryDataType)) {
|
|
22348
|
+
body["AggregatorDeliveryDataType"] = request.aggregatorDeliveryDataType;
|
|
22349
|
+
}
|
|
22276
22350
|
if (!tea_util_1.default.isUnset(request.integratedTypes)) {
|
|
22277
22351
|
body["IntegratedTypes"] = request.integratedTypes;
|
|
22278
22352
|
}
|