@alicloud/config20200907 2.2.8 → 2.2.9
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 +1003 -130
- package/dist/client.js +1665 -154
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +2007 -186
package/dist/client.js
CHANGED
|
@@ -101,6 +101,60 @@ class ActiveAggregateConfigRulesResponse extends $tea.Model {
|
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
103
|
exports.ActiveAggregateConfigRulesResponse = ActiveAggregateConfigRulesResponse;
|
|
104
|
+
class ActiveConfigRulesRequest extends $tea.Model {
|
|
105
|
+
constructor(map) {
|
|
106
|
+
super(map);
|
|
107
|
+
}
|
|
108
|
+
static names() {
|
|
109
|
+
return {
|
|
110
|
+
configRuleIds: 'ConfigRuleIds',
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
static types() {
|
|
114
|
+
return {
|
|
115
|
+
configRuleIds: 'string',
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.ActiveConfigRulesRequest = ActiveConfigRulesRequest;
|
|
120
|
+
class ActiveConfigRulesResponseBody extends $tea.Model {
|
|
121
|
+
constructor(map) {
|
|
122
|
+
super(map);
|
|
123
|
+
}
|
|
124
|
+
static names() {
|
|
125
|
+
return {
|
|
126
|
+
operateRuleResult: 'OperateRuleResult',
|
|
127
|
+
requestId: 'RequestId',
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
static types() {
|
|
131
|
+
return {
|
|
132
|
+
operateRuleResult: ActiveConfigRulesResponseBodyOperateRuleResult,
|
|
133
|
+
requestId: 'string',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
exports.ActiveConfigRulesResponseBody = ActiveConfigRulesResponseBody;
|
|
138
|
+
class ActiveConfigRulesResponse extends $tea.Model {
|
|
139
|
+
constructor(map) {
|
|
140
|
+
super(map);
|
|
141
|
+
}
|
|
142
|
+
static names() {
|
|
143
|
+
return {
|
|
144
|
+
headers: 'headers',
|
|
145
|
+
statusCode: 'statusCode',
|
|
146
|
+
body: 'body',
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
static types() {
|
|
150
|
+
return {
|
|
151
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
152
|
+
statusCode: 'number',
|
|
153
|
+
body: ActiveConfigRulesResponseBody,
|
|
154
|
+
};
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
exports.ActiveConfigRulesResponse = ActiveConfigRulesResponse;
|
|
104
158
|
class AttachAggregateConfigRuleToCompliancePackRequest extends $tea.Model {
|
|
105
159
|
constructor(map) {
|
|
106
160
|
super(map);
|
|
@@ -1789,6 +1843,60 @@ class DeleteConfigDeliveryChannelResponse extends $tea.Model {
|
|
|
1789
1843
|
}
|
|
1790
1844
|
}
|
|
1791
1845
|
exports.DeleteConfigDeliveryChannelResponse = DeleteConfigDeliveryChannelResponse;
|
|
1846
|
+
class DeleteConfigRulesRequest extends $tea.Model {
|
|
1847
|
+
constructor(map) {
|
|
1848
|
+
super(map);
|
|
1849
|
+
}
|
|
1850
|
+
static names() {
|
|
1851
|
+
return {
|
|
1852
|
+
configRuleIds: 'ConfigRuleIds',
|
|
1853
|
+
};
|
|
1854
|
+
}
|
|
1855
|
+
static types() {
|
|
1856
|
+
return {
|
|
1857
|
+
configRuleIds: 'string',
|
|
1858
|
+
};
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
exports.DeleteConfigRulesRequest = DeleteConfigRulesRequest;
|
|
1862
|
+
class DeleteConfigRulesResponseBody extends $tea.Model {
|
|
1863
|
+
constructor(map) {
|
|
1864
|
+
super(map);
|
|
1865
|
+
}
|
|
1866
|
+
static names() {
|
|
1867
|
+
return {
|
|
1868
|
+
operateRuleResult: 'OperateRuleResult',
|
|
1869
|
+
requestId: 'RequestId',
|
|
1870
|
+
};
|
|
1871
|
+
}
|
|
1872
|
+
static types() {
|
|
1873
|
+
return {
|
|
1874
|
+
operateRuleResult: DeleteConfigRulesResponseBodyOperateRuleResult,
|
|
1875
|
+
requestId: 'string',
|
|
1876
|
+
};
|
|
1877
|
+
}
|
|
1878
|
+
}
|
|
1879
|
+
exports.DeleteConfigRulesResponseBody = DeleteConfigRulesResponseBody;
|
|
1880
|
+
class DeleteConfigRulesResponse extends $tea.Model {
|
|
1881
|
+
constructor(map) {
|
|
1882
|
+
super(map);
|
|
1883
|
+
}
|
|
1884
|
+
static names() {
|
|
1885
|
+
return {
|
|
1886
|
+
headers: 'headers',
|
|
1887
|
+
statusCode: 'statusCode',
|
|
1888
|
+
body: 'body',
|
|
1889
|
+
};
|
|
1890
|
+
}
|
|
1891
|
+
static types() {
|
|
1892
|
+
return {
|
|
1893
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1894
|
+
statusCode: 'number',
|
|
1895
|
+
body: DeleteConfigRulesResponseBody,
|
|
1896
|
+
};
|
|
1897
|
+
}
|
|
1898
|
+
}
|
|
1899
|
+
exports.DeleteConfigRulesResponse = DeleteConfigRulesResponse;
|
|
1792
1900
|
class DeleteRemediationsRequest extends $tea.Model {
|
|
1793
1901
|
constructor(map) {
|
|
1794
1902
|
super(map);
|
|
@@ -2149,6 +2257,64 @@ class GenerateAggregateConfigRulesReportResponse extends $tea.Model {
|
|
|
2149
2257
|
}
|
|
2150
2258
|
}
|
|
2151
2259
|
exports.GenerateAggregateConfigRulesReportResponse = GenerateAggregateConfigRulesReportResponse;
|
|
2260
|
+
class GenerateAggregateResourceInventoryRequest extends $tea.Model {
|
|
2261
|
+
constructor(map) {
|
|
2262
|
+
super(map);
|
|
2263
|
+
}
|
|
2264
|
+
static names() {
|
|
2265
|
+
return {
|
|
2266
|
+
accountIds: 'AccountIds',
|
|
2267
|
+
aggregatorId: 'AggregatorId',
|
|
2268
|
+
regions: 'Regions',
|
|
2269
|
+
resourceTypes: 'ResourceTypes',
|
|
2270
|
+
};
|
|
2271
|
+
}
|
|
2272
|
+
static types() {
|
|
2273
|
+
return {
|
|
2274
|
+
accountIds: 'string',
|
|
2275
|
+
aggregatorId: 'string',
|
|
2276
|
+
regions: 'string',
|
|
2277
|
+
resourceTypes: 'string',
|
|
2278
|
+
};
|
|
2279
|
+
}
|
|
2280
|
+
}
|
|
2281
|
+
exports.GenerateAggregateResourceInventoryRequest = GenerateAggregateResourceInventoryRequest;
|
|
2282
|
+
class GenerateAggregateResourceInventoryResponseBody extends $tea.Model {
|
|
2283
|
+
constructor(map) {
|
|
2284
|
+
super(map);
|
|
2285
|
+
}
|
|
2286
|
+
static names() {
|
|
2287
|
+
return {
|
|
2288
|
+
requestId: 'RequestId',
|
|
2289
|
+
};
|
|
2290
|
+
}
|
|
2291
|
+
static types() {
|
|
2292
|
+
return {
|
|
2293
|
+
requestId: 'string',
|
|
2294
|
+
};
|
|
2295
|
+
}
|
|
2296
|
+
}
|
|
2297
|
+
exports.GenerateAggregateResourceInventoryResponseBody = GenerateAggregateResourceInventoryResponseBody;
|
|
2298
|
+
class GenerateAggregateResourceInventoryResponse extends $tea.Model {
|
|
2299
|
+
constructor(map) {
|
|
2300
|
+
super(map);
|
|
2301
|
+
}
|
|
2302
|
+
static names() {
|
|
2303
|
+
return {
|
|
2304
|
+
headers: 'headers',
|
|
2305
|
+
statusCode: 'statusCode',
|
|
2306
|
+
body: 'body',
|
|
2307
|
+
};
|
|
2308
|
+
}
|
|
2309
|
+
static types() {
|
|
2310
|
+
return {
|
|
2311
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2312
|
+
statusCode: 'number',
|
|
2313
|
+
body: GenerateAggregateResourceInventoryResponseBody,
|
|
2314
|
+
};
|
|
2315
|
+
}
|
|
2316
|
+
}
|
|
2317
|
+
exports.GenerateAggregateResourceInventoryResponse = GenerateAggregateResourceInventoryResponse;
|
|
2152
2318
|
class GenerateCompliancePackReportRequest extends $tea.Model {
|
|
2153
2319
|
constructor(map) {
|
|
2154
2320
|
super(map);
|
|
@@ -2261,6 +2427,60 @@ class GenerateConfigRulesReportResponse extends $tea.Model {
|
|
|
2261
2427
|
}
|
|
2262
2428
|
}
|
|
2263
2429
|
exports.GenerateConfigRulesReportResponse = GenerateConfigRulesReportResponse;
|
|
2430
|
+
class GenerateResourceInventoryRequest extends $tea.Model {
|
|
2431
|
+
constructor(map) {
|
|
2432
|
+
super(map);
|
|
2433
|
+
}
|
|
2434
|
+
static names() {
|
|
2435
|
+
return {
|
|
2436
|
+
regions: 'Regions',
|
|
2437
|
+
resourceTypes: 'ResourceTypes',
|
|
2438
|
+
};
|
|
2439
|
+
}
|
|
2440
|
+
static types() {
|
|
2441
|
+
return {
|
|
2442
|
+
regions: 'string',
|
|
2443
|
+
resourceTypes: 'string',
|
|
2444
|
+
};
|
|
2445
|
+
}
|
|
2446
|
+
}
|
|
2447
|
+
exports.GenerateResourceInventoryRequest = GenerateResourceInventoryRequest;
|
|
2448
|
+
class GenerateResourceInventoryResponseBody extends $tea.Model {
|
|
2449
|
+
constructor(map) {
|
|
2450
|
+
super(map);
|
|
2451
|
+
}
|
|
2452
|
+
static names() {
|
|
2453
|
+
return {
|
|
2454
|
+
requestId: 'RequestId',
|
|
2455
|
+
};
|
|
2456
|
+
}
|
|
2457
|
+
static types() {
|
|
2458
|
+
return {
|
|
2459
|
+
requestId: 'string',
|
|
2460
|
+
};
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
exports.GenerateResourceInventoryResponseBody = GenerateResourceInventoryResponseBody;
|
|
2464
|
+
class GenerateResourceInventoryResponse extends $tea.Model {
|
|
2465
|
+
constructor(map) {
|
|
2466
|
+
super(map);
|
|
2467
|
+
}
|
|
2468
|
+
static names() {
|
|
2469
|
+
return {
|
|
2470
|
+
headers: 'headers',
|
|
2471
|
+
statusCode: 'statusCode',
|
|
2472
|
+
body: 'body',
|
|
2473
|
+
};
|
|
2474
|
+
}
|
|
2475
|
+
static types() {
|
|
2476
|
+
return {
|
|
2477
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2478
|
+
statusCode: 'number',
|
|
2479
|
+
body: GenerateResourceInventoryResponseBody,
|
|
2480
|
+
};
|
|
2481
|
+
}
|
|
2482
|
+
}
|
|
2483
|
+
exports.GenerateResourceInventoryResponse = GenerateResourceInventoryResponse;
|
|
2264
2484
|
class GetAggregateAccountComplianceByPackRequest extends $tea.Model {
|
|
2265
2485
|
constructor(map) {
|
|
2266
2486
|
super(map);
|
|
@@ -2429,6 +2649,60 @@ class GetAggregateCompliancePackReportResponse extends $tea.Model {
|
|
|
2429
2649
|
}
|
|
2430
2650
|
}
|
|
2431
2651
|
exports.GetAggregateCompliancePackReportResponse = GetAggregateCompliancePackReportResponse;
|
|
2652
|
+
class GetAggregateComplianceSummaryRequest extends $tea.Model {
|
|
2653
|
+
constructor(map) {
|
|
2654
|
+
super(map);
|
|
2655
|
+
}
|
|
2656
|
+
static names() {
|
|
2657
|
+
return {
|
|
2658
|
+
aggregatorId: 'AggregatorId',
|
|
2659
|
+
};
|
|
2660
|
+
}
|
|
2661
|
+
static types() {
|
|
2662
|
+
return {
|
|
2663
|
+
aggregatorId: 'string',
|
|
2664
|
+
};
|
|
2665
|
+
}
|
|
2666
|
+
}
|
|
2667
|
+
exports.GetAggregateComplianceSummaryRequest = GetAggregateComplianceSummaryRequest;
|
|
2668
|
+
class GetAggregateComplianceSummaryResponseBody extends $tea.Model {
|
|
2669
|
+
constructor(map) {
|
|
2670
|
+
super(map);
|
|
2671
|
+
}
|
|
2672
|
+
static names() {
|
|
2673
|
+
return {
|
|
2674
|
+
complianceSummary: 'ComplianceSummary',
|
|
2675
|
+
requestId: 'RequestId',
|
|
2676
|
+
};
|
|
2677
|
+
}
|
|
2678
|
+
static types() {
|
|
2679
|
+
return {
|
|
2680
|
+
complianceSummary: GetAggregateComplianceSummaryResponseBodyComplianceSummary,
|
|
2681
|
+
requestId: 'string',
|
|
2682
|
+
};
|
|
2683
|
+
}
|
|
2684
|
+
}
|
|
2685
|
+
exports.GetAggregateComplianceSummaryResponseBody = GetAggregateComplianceSummaryResponseBody;
|
|
2686
|
+
class GetAggregateComplianceSummaryResponse extends $tea.Model {
|
|
2687
|
+
constructor(map) {
|
|
2688
|
+
super(map);
|
|
2689
|
+
}
|
|
2690
|
+
static names() {
|
|
2691
|
+
return {
|
|
2692
|
+
headers: 'headers',
|
|
2693
|
+
statusCode: 'statusCode',
|
|
2694
|
+
body: 'body',
|
|
2695
|
+
};
|
|
2696
|
+
}
|
|
2697
|
+
static types() {
|
|
2698
|
+
return {
|
|
2699
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2700
|
+
statusCode: 'number',
|
|
2701
|
+
body: GetAggregateComplianceSummaryResponseBody,
|
|
2702
|
+
};
|
|
2703
|
+
}
|
|
2704
|
+
}
|
|
2705
|
+
exports.GetAggregateComplianceSummaryResponse = GetAggregateComplianceSummaryResponse;
|
|
2432
2706
|
class GetAggregateConfigDeliveryChannelRequest extends $tea.Model {
|
|
2433
2707
|
constructor(map) {
|
|
2434
2708
|
super(map);
|
|
@@ -3431,49 +3705,87 @@ class GetCompliancePackReportResponse extends $tea.Model {
|
|
|
3431
3705
|
}
|
|
3432
3706
|
}
|
|
3433
3707
|
exports.GetCompliancePackReportResponse = GetCompliancePackReportResponse;
|
|
3434
|
-
class
|
|
3708
|
+
class GetComplianceSummaryResponseBody extends $tea.Model {
|
|
3435
3709
|
constructor(map) {
|
|
3436
3710
|
super(map);
|
|
3437
3711
|
}
|
|
3438
3712
|
static names() {
|
|
3439
3713
|
return {
|
|
3440
|
-
|
|
3714
|
+
complianceSummary: 'ComplianceSummary',
|
|
3715
|
+
requestId: 'RequestId',
|
|
3441
3716
|
};
|
|
3442
3717
|
}
|
|
3443
3718
|
static types() {
|
|
3444
3719
|
return {
|
|
3445
|
-
|
|
3720
|
+
complianceSummary: GetComplianceSummaryResponseBodyComplianceSummary,
|
|
3721
|
+
requestId: 'string',
|
|
3446
3722
|
};
|
|
3447
3723
|
}
|
|
3448
3724
|
}
|
|
3449
|
-
exports.
|
|
3450
|
-
class
|
|
3725
|
+
exports.GetComplianceSummaryResponseBody = GetComplianceSummaryResponseBody;
|
|
3726
|
+
class GetComplianceSummaryResponse extends $tea.Model {
|
|
3451
3727
|
constructor(map) {
|
|
3452
3728
|
super(map);
|
|
3453
3729
|
}
|
|
3454
3730
|
static names() {
|
|
3455
3731
|
return {
|
|
3456
|
-
|
|
3457
|
-
|
|
3732
|
+
headers: 'headers',
|
|
3733
|
+
statusCode: 'statusCode',
|
|
3734
|
+
body: 'body',
|
|
3458
3735
|
};
|
|
3459
3736
|
}
|
|
3460
3737
|
static types() {
|
|
3461
3738
|
return {
|
|
3462
|
-
|
|
3463
|
-
|
|
3739
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3740
|
+
statusCode: 'number',
|
|
3741
|
+
body: GetComplianceSummaryResponseBody,
|
|
3464
3742
|
};
|
|
3465
3743
|
}
|
|
3466
3744
|
}
|
|
3467
|
-
exports.
|
|
3468
|
-
class
|
|
3745
|
+
exports.GetComplianceSummaryResponse = GetComplianceSummaryResponse;
|
|
3746
|
+
class GetConfigDeliveryChannelRequest extends $tea.Model {
|
|
3469
3747
|
constructor(map) {
|
|
3470
3748
|
super(map);
|
|
3471
3749
|
}
|
|
3472
3750
|
static names() {
|
|
3473
3751
|
return {
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3752
|
+
deliveryChannelId: 'DeliveryChannelId',
|
|
3753
|
+
};
|
|
3754
|
+
}
|
|
3755
|
+
static types() {
|
|
3756
|
+
return {
|
|
3757
|
+
deliveryChannelId: 'string',
|
|
3758
|
+
};
|
|
3759
|
+
}
|
|
3760
|
+
}
|
|
3761
|
+
exports.GetConfigDeliveryChannelRequest = GetConfigDeliveryChannelRequest;
|
|
3762
|
+
class GetConfigDeliveryChannelResponseBody extends $tea.Model {
|
|
3763
|
+
constructor(map) {
|
|
3764
|
+
super(map);
|
|
3765
|
+
}
|
|
3766
|
+
static names() {
|
|
3767
|
+
return {
|
|
3768
|
+
deliveryChannel: 'DeliveryChannel',
|
|
3769
|
+
requestId: 'RequestId',
|
|
3770
|
+
};
|
|
3771
|
+
}
|
|
3772
|
+
static types() {
|
|
3773
|
+
return {
|
|
3774
|
+
deliveryChannel: GetConfigDeliveryChannelResponseBodyDeliveryChannel,
|
|
3775
|
+
requestId: 'string',
|
|
3776
|
+
};
|
|
3777
|
+
}
|
|
3778
|
+
}
|
|
3779
|
+
exports.GetConfigDeliveryChannelResponseBody = GetConfigDeliveryChannelResponseBody;
|
|
3780
|
+
class GetConfigDeliveryChannelResponse extends $tea.Model {
|
|
3781
|
+
constructor(map) {
|
|
3782
|
+
super(map);
|
|
3783
|
+
}
|
|
3784
|
+
static names() {
|
|
3785
|
+
return {
|
|
3786
|
+
headers: 'headers',
|
|
3787
|
+
statusCode: 'statusCode',
|
|
3788
|
+
body: 'body',
|
|
3477
3789
|
};
|
|
3478
3790
|
}
|
|
3479
3791
|
static types() {
|
|
@@ -3685,6 +3997,44 @@ class GetConfigRulesReportResponse extends $tea.Model {
|
|
|
3685
3997
|
}
|
|
3686
3998
|
}
|
|
3687
3999
|
exports.GetConfigRulesReportResponse = GetConfigRulesReportResponse;
|
|
4000
|
+
class GetConfigurationRecorderResponseBody extends $tea.Model {
|
|
4001
|
+
constructor(map) {
|
|
4002
|
+
super(map);
|
|
4003
|
+
}
|
|
4004
|
+
static names() {
|
|
4005
|
+
return {
|
|
4006
|
+
configurationRecorder: 'ConfigurationRecorder',
|
|
4007
|
+
requestId: 'RequestId',
|
|
4008
|
+
};
|
|
4009
|
+
}
|
|
4010
|
+
static types() {
|
|
4011
|
+
return {
|
|
4012
|
+
configurationRecorder: GetConfigurationRecorderResponseBodyConfigurationRecorder,
|
|
4013
|
+
requestId: 'string',
|
|
4014
|
+
};
|
|
4015
|
+
}
|
|
4016
|
+
}
|
|
4017
|
+
exports.GetConfigurationRecorderResponseBody = GetConfigurationRecorderResponseBody;
|
|
4018
|
+
class GetConfigurationRecorderResponse extends $tea.Model {
|
|
4019
|
+
constructor(map) {
|
|
4020
|
+
super(map);
|
|
4021
|
+
}
|
|
4022
|
+
static names() {
|
|
4023
|
+
return {
|
|
4024
|
+
headers: 'headers',
|
|
4025
|
+
statusCode: 'statusCode',
|
|
4026
|
+
body: 'body',
|
|
4027
|
+
};
|
|
4028
|
+
}
|
|
4029
|
+
static types() {
|
|
4030
|
+
return {
|
|
4031
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4032
|
+
statusCode: 'number',
|
|
4033
|
+
body: GetConfigurationRecorderResponseBody,
|
|
4034
|
+
};
|
|
4035
|
+
}
|
|
4036
|
+
}
|
|
4037
|
+
exports.GetConfigurationRecorderResponse = GetConfigurationRecorderResponse;
|
|
3688
4038
|
class GetDiscoveredResourceRequest extends $tea.Model {
|
|
3689
4039
|
constructor(map) {
|
|
3690
4040
|
super(map);
|
|
@@ -3959,6 +4309,60 @@ class GetManagedRuleResponse extends $tea.Model {
|
|
|
3959
4309
|
}
|
|
3960
4310
|
}
|
|
3961
4311
|
exports.GetManagedRuleResponse = GetManagedRuleResponse;
|
|
4312
|
+
class GetRemediationTemplateRequest extends $tea.Model {
|
|
4313
|
+
constructor(map) {
|
|
4314
|
+
super(map);
|
|
4315
|
+
}
|
|
4316
|
+
static names() {
|
|
4317
|
+
return {
|
|
4318
|
+
templateIdentifier: 'TemplateIdentifier',
|
|
4319
|
+
};
|
|
4320
|
+
}
|
|
4321
|
+
static types() {
|
|
4322
|
+
return {
|
|
4323
|
+
templateIdentifier: 'string',
|
|
4324
|
+
};
|
|
4325
|
+
}
|
|
4326
|
+
}
|
|
4327
|
+
exports.GetRemediationTemplateRequest = GetRemediationTemplateRequest;
|
|
4328
|
+
class GetRemediationTemplateResponseBody extends $tea.Model {
|
|
4329
|
+
constructor(map) {
|
|
4330
|
+
super(map);
|
|
4331
|
+
}
|
|
4332
|
+
static names() {
|
|
4333
|
+
return {
|
|
4334
|
+
remediationTemplates: 'RemediationTemplates',
|
|
4335
|
+
requestId: 'RequestId',
|
|
4336
|
+
};
|
|
4337
|
+
}
|
|
4338
|
+
static types() {
|
|
4339
|
+
return {
|
|
4340
|
+
remediationTemplates: { 'type': 'array', 'itemType': GetRemediationTemplateResponseBodyRemediationTemplates },
|
|
4341
|
+
requestId: 'string',
|
|
4342
|
+
};
|
|
4343
|
+
}
|
|
4344
|
+
}
|
|
4345
|
+
exports.GetRemediationTemplateResponseBody = GetRemediationTemplateResponseBody;
|
|
4346
|
+
class GetRemediationTemplateResponse extends $tea.Model {
|
|
4347
|
+
constructor(map) {
|
|
4348
|
+
super(map);
|
|
4349
|
+
}
|
|
4350
|
+
static names() {
|
|
4351
|
+
return {
|
|
4352
|
+
headers: 'headers',
|
|
4353
|
+
statusCode: 'statusCode',
|
|
4354
|
+
body: 'body',
|
|
4355
|
+
};
|
|
4356
|
+
}
|
|
4357
|
+
static types() {
|
|
4358
|
+
return {
|
|
4359
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4360
|
+
statusCode: 'number',
|
|
4361
|
+
body: GetRemediationTemplateResponseBody,
|
|
4362
|
+
};
|
|
4363
|
+
}
|
|
4364
|
+
}
|
|
4365
|
+
exports.GetRemediationTemplateResponse = GetRemediationTemplateResponse;
|
|
3962
4366
|
class GetResourceComplianceByConfigRuleRequest extends $tea.Model {
|
|
3963
4367
|
constructor(map) {
|
|
3964
4368
|
super(map);
|
|
@@ -4309,6 +4713,60 @@ class GetResourceConfigurationTimelineResponse extends $tea.Model {
|
|
|
4309
4713
|
}
|
|
4310
4714
|
}
|
|
4311
4715
|
exports.GetResourceConfigurationTimelineResponse = GetResourceConfigurationTimelineResponse;
|
|
4716
|
+
class GetSupportedResourceRelationConfigRequest extends $tea.Model {
|
|
4717
|
+
constructor(map) {
|
|
4718
|
+
super(map);
|
|
4719
|
+
}
|
|
4720
|
+
static names() {
|
|
4721
|
+
return {
|
|
4722
|
+
resourceType: 'ResourceType',
|
|
4723
|
+
};
|
|
4724
|
+
}
|
|
4725
|
+
static types() {
|
|
4726
|
+
return {
|
|
4727
|
+
resourceType: 'string',
|
|
4728
|
+
};
|
|
4729
|
+
}
|
|
4730
|
+
}
|
|
4731
|
+
exports.GetSupportedResourceRelationConfigRequest = GetSupportedResourceRelationConfigRequest;
|
|
4732
|
+
class GetSupportedResourceRelationConfigResponseBody extends $tea.Model {
|
|
4733
|
+
constructor(map) {
|
|
4734
|
+
super(map);
|
|
4735
|
+
}
|
|
4736
|
+
static names() {
|
|
4737
|
+
return {
|
|
4738
|
+
requestId: 'RequestId',
|
|
4739
|
+
resourceRelationConfigList: 'ResourceRelationConfigList',
|
|
4740
|
+
};
|
|
4741
|
+
}
|
|
4742
|
+
static types() {
|
|
4743
|
+
return {
|
|
4744
|
+
requestId: 'string',
|
|
4745
|
+
resourceRelationConfigList: { 'type': 'array', 'itemType': GetSupportedResourceRelationConfigResponseBodyResourceRelationConfigList },
|
|
4746
|
+
};
|
|
4747
|
+
}
|
|
4748
|
+
}
|
|
4749
|
+
exports.GetSupportedResourceRelationConfigResponseBody = GetSupportedResourceRelationConfigResponseBody;
|
|
4750
|
+
class GetSupportedResourceRelationConfigResponse extends $tea.Model {
|
|
4751
|
+
constructor(map) {
|
|
4752
|
+
super(map);
|
|
4753
|
+
}
|
|
4754
|
+
static names() {
|
|
4755
|
+
return {
|
|
4756
|
+
headers: 'headers',
|
|
4757
|
+
statusCode: 'statusCode',
|
|
4758
|
+
body: 'body',
|
|
4759
|
+
};
|
|
4760
|
+
}
|
|
4761
|
+
static types() {
|
|
4762
|
+
return {
|
|
4763
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4764
|
+
statusCode: 'number',
|
|
4765
|
+
body: GetSupportedResourceRelationConfigResponseBody,
|
|
4766
|
+
};
|
|
4767
|
+
}
|
|
4768
|
+
}
|
|
4769
|
+
exports.GetSupportedResourceRelationConfigResponse = GetSupportedResourceRelationConfigResponse;
|
|
4312
4770
|
class IgnoreAggregateEvaluationResultsRequest extends $tea.Model {
|
|
4313
4771
|
constructor(map) {
|
|
4314
4772
|
super(map);
|
|
@@ -5569,6 +6027,66 @@ class ListPreManagedRulesResponse extends $tea.Model {
|
|
|
5569
6027
|
}
|
|
5570
6028
|
}
|
|
5571
6029
|
exports.ListPreManagedRulesResponse = ListPreManagedRulesResponse;
|
|
6030
|
+
class ListRemediationExecutionsRequest extends $tea.Model {
|
|
6031
|
+
constructor(map) {
|
|
6032
|
+
super(map);
|
|
6033
|
+
}
|
|
6034
|
+
static names() {
|
|
6035
|
+
return {
|
|
6036
|
+
configRuleId: 'ConfigRuleId',
|
|
6037
|
+
executionStatus: 'ExecutionStatus',
|
|
6038
|
+
maxResults: 'MaxResults',
|
|
6039
|
+
nextToken: 'NextToken',
|
|
6040
|
+
};
|
|
6041
|
+
}
|
|
6042
|
+
static types() {
|
|
6043
|
+
return {
|
|
6044
|
+
configRuleId: 'string',
|
|
6045
|
+
executionStatus: 'string',
|
|
6046
|
+
maxResults: 'number',
|
|
6047
|
+
nextToken: 'string',
|
|
6048
|
+
};
|
|
6049
|
+
}
|
|
6050
|
+
}
|
|
6051
|
+
exports.ListRemediationExecutionsRequest = ListRemediationExecutionsRequest;
|
|
6052
|
+
class ListRemediationExecutionsResponseBody extends $tea.Model {
|
|
6053
|
+
constructor(map) {
|
|
6054
|
+
super(map);
|
|
6055
|
+
}
|
|
6056
|
+
static names() {
|
|
6057
|
+
return {
|
|
6058
|
+
remediationExecutionData: 'RemediationExecutionData',
|
|
6059
|
+
requestId: 'RequestId',
|
|
6060
|
+
};
|
|
6061
|
+
}
|
|
6062
|
+
static types() {
|
|
6063
|
+
return {
|
|
6064
|
+
remediationExecutionData: ListRemediationExecutionsResponseBodyRemediationExecutionData,
|
|
6065
|
+
requestId: 'string',
|
|
6066
|
+
};
|
|
6067
|
+
}
|
|
6068
|
+
}
|
|
6069
|
+
exports.ListRemediationExecutionsResponseBody = ListRemediationExecutionsResponseBody;
|
|
6070
|
+
class ListRemediationExecutionsResponse extends $tea.Model {
|
|
6071
|
+
constructor(map) {
|
|
6072
|
+
super(map);
|
|
6073
|
+
}
|
|
6074
|
+
static names() {
|
|
6075
|
+
return {
|
|
6076
|
+
headers: 'headers',
|
|
6077
|
+
statusCode: 'statusCode',
|
|
6078
|
+
body: 'body',
|
|
6079
|
+
};
|
|
6080
|
+
}
|
|
6081
|
+
static types() {
|
|
6082
|
+
return {
|
|
6083
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6084
|
+
statusCode: 'number',
|
|
6085
|
+
body: ListRemediationExecutionsResponseBody,
|
|
6086
|
+
};
|
|
6087
|
+
}
|
|
6088
|
+
}
|
|
6089
|
+
exports.ListRemediationExecutionsResponse = ListRemediationExecutionsResponse;
|
|
5572
6090
|
class ListRemediationTemplatesRequest extends $tea.Model {
|
|
5573
6091
|
constructor(map) {
|
|
5574
6092
|
super(map);
|
|
@@ -5919,6 +6437,64 @@ class ListTagResourcesResponse extends $tea.Model {
|
|
|
5919
6437
|
}
|
|
5920
6438
|
}
|
|
5921
6439
|
exports.ListTagResourcesResponse = ListTagResourcesResponse;
|
|
6440
|
+
class PutEvaluationsRequest extends $tea.Model {
|
|
6441
|
+
constructor(map) {
|
|
6442
|
+
super(map);
|
|
6443
|
+
}
|
|
6444
|
+
static names() {
|
|
6445
|
+
return {
|
|
6446
|
+
deleteMode: 'DeleteMode',
|
|
6447
|
+
evaluations: 'Evaluations',
|
|
6448
|
+
resultToken: 'ResultToken',
|
|
6449
|
+
};
|
|
6450
|
+
}
|
|
6451
|
+
static types() {
|
|
6452
|
+
return {
|
|
6453
|
+
deleteMode: 'boolean',
|
|
6454
|
+
evaluations: 'string',
|
|
6455
|
+
resultToken: 'string',
|
|
6456
|
+
};
|
|
6457
|
+
}
|
|
6458
|
+
}
|
|
6459
|
+
exports.PutEvaluationsRequest = PutEvaluationsRequest;
|
|
6460
|
+
class PutEvaluationsResponseBody extends $tea.Model {
|
|
6461
|
+
constructor(map) {
|
|
6462
|
+
super(map);
|
|
6463
|
+
}
|
|
6464
|
+
static names() {
|
|
6465
|
+
return {
|
|
6466
|
+
requestId: 'RequestId',
|
|
6467
|
+
result: 'Result',
|
|
6468
|
+
};
|
|
6469
|
+
}
|
|
6470
|
+
static types() {
|
|
6471
|
+
return {
|
|
6472
|
+
requestId: 'string',
|
|
6473
|
+
result: 'boolean',
|
|
6474
|
+
};
|
|
6475
|
+
}
|
|
6476
|
+
}
|
|
6477
|
+
exports.PutEvaluationsResponseBody = PutEvaluationsResponseBody;
|
|
6478
|
+
class PutEvaluationsResponse extends $tea.Model {
|
|
6479
|
+
constructor(map) {
|
|
6480
|
+
super(map);
|
|
6481
|
+
}
|
|
6482
|
+
static names() {
|
|
6483
|
+
return {
|
|
6484
|
+
headers: 'headers',
|
|
6485
|
+
statusCode: 'statusCode',
|
|
6486
|
+
body: 'body',
|
|
6487
|
+
};
|
|
6488
|
+
}
|
|
6489
|
+
static types() {
|
|
6490
|
+
return {
|
|
6491
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6492
|
+
statusCode: 'number',
|
|
6493
|
+
body: PutEvaluationsResponseBody,
|
|
6494
|
+
};
|
|
6495
|
+
}
|
|
6496
|
+
}
|
|
6497
|
+
exports.PutEvaluationsResponse = PutEvaluationsResponse;
|
|
5922
6498
|
class RevertAggregateEvaluationResultsRequest extends $tea.Model {
|
|
5923
6499
|
constructor(map) {
|
|
5924
6500
|
super(map);
|
|
@@ -6135,12 +6711,14 @@ class StartAggregateRemediationRequest extends $tea.Model {
|
|
|
6135
6711
|
return {
|
|
6136
6712
|
aggregatorId: 'AggregatorId',
|
|
6137
6713
|
configRuleId: 'ConfigRuleId',
|
|
6714
|
+
resourceAccountId: 'ResourceAccountId',
|
|
6138
6715
|
};
|
|
6139
6716
|
}
|
|
6140
6717
|
static types() {
|
|
6141
6718
|
return {
|
|
6142
6719
|
aggregatorId: 'string',
|
|
6143
6720
|
configRuleId: 'string',
|
|
6721
|
+
resourceAccountId: 'number',
|
|
6144
6722
|
};
|
|
6145
6723
|
}
|
|
6146
6724
|
}
|
|
@@ -6183,6 +6761,102 @@ class StartAggregateRemediationResponse extends $tea.Model {
|
|
|
6183
6761
|
}
|
|
6184
6762
|
}
|
|
6185
6763
|
exports.StartAggregateRemediationResponse = StartAggregateRemediationResponse;
|
|
6764
|
+
class StartConfigRuleEvaluationRequest extends $tea.Model {
|
|
6765
|
+
constructor(map) {
|
|
6766
|
+
super(map);
|
|
6767
|
+
}
|
|
6768
|
+
static names() {
|
|
6769
|
+
return {
|
|
6770
|
+
compliancePackId: 'CompliancePackId',
|
|
6771
|
+
configRuleId: 'ConfigRuleId',
|
|
6772
|
+
revertEvaluation: 'RevertEvaluation',
|
|
6773
|
+
};
|
|
6774
|
+
}
|
|
6775
|
+
static types() {
|
|
6776
|
+
return {
|
|
6777
|
+
compliancePackId: 'string',
|
|
6778
|
+
configRuleId: 'string',
|
|
6779
|
+
revertEvaluation: 'boolean',
|
|
6780
|
+
};
|
|
6781
|
+
}
|
|
6782
|
+
}
|
|
6783
|
+
exports.StartConfigRuleEvaluationRequest = StartConfigRuleEvaluationRequest;
|
|
6784
|
+
class StartConfigRuleEvaluationResponseBody extends $tea.Model {
|
|
6785
|
+
constructor(map) {
|
|
6786
|
+
super(map);
|
|
6787
|
+
}
|
|
6788
|
+
static names() {
|
|
6789
|
+
return {
|
|
6790
|
+
requestId: 'RequestId',
|
|
6791
|
+
result: 'Result',
|
|
6792
|
+
};
|
|
6793
|
+
}
|
|
6794
|
+
static types() {
|
|
6795
|
+
return {
|
|
6796
|
+
requestId: 'string',
|
|
6797
|
+
result: 'boolean',
|
|
6798
|
+
};
|
|
6799
|
+
}
|
|
6800
|
+
}
|
|
6801
|
+
exports.StartConfigRuleEvaluationResponseBody = StartConfigRuleEvaluationResponseBody;
|
|
6802
|
+
class StartConfigRuleEvaluationResponse extends $tea.Model {
|
|
6803
|
+
constructor(map) {
|
|
6804
|
+
super(map);
|
|
6805
|
+
}
|
|
6806
|
+
static names() {
|
|
6807
|
+
return {
|
|
6808
|
+
headers: 'headers',
|
|
6809
|
+
statusCode: 'statusCode',
|
|
6810
|
+
body: 'body',
|
|
6811
|
+
};
|
|
6812
|
+
}
|
|
6813
|
+
static types() {
|
|
6814
|
+
return {
|
|
6815
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6816
|
+
statusCode: 'number',
|
|
6817
|
+
body: StartConfigRuleEvaluationResponseBody,
|
|
6818
|
+
};
|
|
6819
|
+
}
|
|
6820
|
+
}
|
|
6821
|
+
exports.StartConfigRuleEvaluationResponse = StartConfigRuleEvaluationResponse;
|
|
6822
|
+
class StartConfigurationRecorderResponseBody extends $tea.Model {
|
|
6823
|
+
constructor(map) {
|
|
6824
|
+
super(map);
|
|
6825
|
+
}
|
|
6826
|
+
static names() {
|
|
6827
|
+
return {
|
|
6828
|
+
configurationRecorder: 'ConfigurationRecorder',
|
|
6829
|
+
requestId: 'RequestId',
|
|
6830
|
+
};
|
|
6831
|
+
}
|
|
6832
|
+
static types() {
|
|
6833
|
+
return {
|
|
6834
|
+
configurationRecorder: StartConfigurationRecorderResponseBodyConfigurationRecorder,
|
|
6835
|
+
requestId: 'string',
|
|
6836
|
+
};
|
|
6837
|
+
}
|
|
6838
|
+
}
|
|
6839
|
+
exports.StartConfigurationRecorderResponseBody = StartConfigurationRecorderResponseBody;
|
|
6840
|
+
class StartConfigurationRecorderResponse extends $tea.Model {
|
|
6841
|
+
constructor(map) {
|
|
6842
|
+
super(map);
|
|
6843
|
+
}
|
|
6844
|
+
static names() {
|
|
6845
|
+
return {
|
|
6846
|
+
headers: 'headers',
|
|
6847
|
+
statusCode: 'statusCode',
|
|
6848
|
+
body: 'body',
|
|
6849
|
+
};
|
|
6850
|
+
}
|
|
6851
|
+
static types() {
|
|
6852
|
+
return {
|
|
6853
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6854
|
+
statusCode: 'number',
|
|
6855
|
+
body: StartConfigurationRecorderResponseBody,
|
|
6856
|
+
};
|
|
6857
|
+
}
|
|
6858
|
+
}
|
|
6859
|
+
exports.StartConfigurationRecorderResponse = StartConfigurationRecorderResponse;
|
|
6186
6860
|
class StartRemediationRequest extends $tea.Model {
|
|
6187
6861
|
constructor(map) {
|
|
6188
6862
|
super(map);
|
|
@@ -7213,6 +7887,60 @@ class UpdateConfigRuleResponse extends $tea.Model {
|
|
|
7213
7887
|
}
|
|
7214
7888
|
}
|
|
7215
7889
|
exports.UpdateConfigRuleResponse = UpdateConfigRuleResponse;
|
|
7890
|
+
class UpdateConfigurationRecorderRequest extends $tea.Model {
|
|
7891
|
+
constructor(map) {
|
|
7892
|
+
super(map);
|
|
7893
|
+
}
|
|
7894
|
+
static names() {
|
|
7895
|
+
return {
|
|
7896
|
+
resourceTypes: 'ResourceTypes',
|
|
7897
|
+
};
|
|
7898
|
+
}
|
|
7899
|
+
static types() {
|
|
7900
|
+
return {
|
|
7901
|
+
resourceTypes: 'string',
|
|
7902
|
+
};
|
|
7903
|
+
}
|
|
7904
|
+
}
|
|
7905
|
+
exports.UpdateConfigurationRecorderRequest = UpdateConfigurationRecorderRequest;
|
|
7906
|
+
class UpdateConfigurationRecorderResponseBody extends $tea.Model {
|
|
7907
|
+
constructor(map) {
|
|
7908
|
+
super(map);
|
|
7909
|
+
}
|
|
7910
|
+
static names() {
|
|
7911
|
+
return {
|
|
7912
|
+
configurationRecorder: 'ConfigurationRecorder',
|
|
7913
|
+
requestId: 'RequestId',
|
|
7914
|
+
};
|
|
7915
|
+
}
|
|
7916
|
+
static types() {
|
|
7917
|
+
return {
|
|
7918
|
+
configurationRecorder: UpdateConfigurationRecorderResponseBodyConfigurationRecorder,
|
|
7919
|
+
requestId: 'string',
|
|
7920
|
+
};
|
|
7921
|
+
}
|
|
7922
|
+
}
|
|
7923
|
+
exports.UpdateConfigurationRecorderResponseBody = UpdateConfigurationRecorderResponseBody;
|
|
7924
|
+
class UpdateConfigurationRecorderResponse extends $tea.Model {
|
|
7925
|
+
constructor(map) {
|
|
7926
|
+
super(map);
|
|
7927
|
+
}
|
|
7928
|
+
static names() {
|
|
7929
|
+
return {
|
|
7930
|
+
headers: 'headers',
|
|
7931
|
+
statusCode: 'statusCode',
|
|
7932
|
+
body: 'body',
|
|
7933
|
+
};
|
|
7934
|
+
}
|
|
7935
|
+
static types() {
|
|
7936
|
+
return {
|
|
7937
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7938
|
+
statusCode: 'number',
|
|
7939
|
+
body: UpdateConfigurationRecorderResponseBody,
|
|
7940
|
+
};
|
|
7941
|
+
}
|
|
7942
|
+
}
|
|
7943
|
+
exports.UpdateConfigurationRecorderResponse = UpdateConfigurationRecorderResponse;
|
|
7216
7944
|
class UpdateDeliveryChannelRequest extends $tea.Model {
|
|
7217
7945
|
constructor(map) {
|
|
7218
7946
|
super(map);
|
|
@@ -7445,6 +8173,42 @@ class ActiveAggregateConfigRulesResponseBodyOperateRuleResult extends $tea.Model
|
|
|
7445
8173
|
}
|
|
7446
8174
|
}
|
|
7447
8175
|
exports.ActiveAggregateConfigRulesResponseBodyOperateRuleResult = ActiveAggregateConfigRulesResponseBodyOperateRuleResult;
|
|
8176
|
+
class ActiveConfigRulesResponseBodyOperateRuleResultOperateRuleItemList extends $tea.Model {
|
|
8177
|
+
constructor(map) {
|
|
8178
|
+
super(map);
|
|
8179
|
+
}
|
|
8180
|
+
static names() {
|
|
8181
|
+
return {
|
|
8182
|
+
configRuleId: 'ConfigRuleId',
|
|
8183
|
+
errorCode: 'ErrorCode',
|
|
8184
|
+
success: 'Success',
|
|
8185
|
+
};
|
|
8186
|
+
}
|
|
8187
|
+
static types() {
|
|
8188
|
+
return {
|
|
8189
|
+
configRuleId: 'string',
|
|
8190
|
+
errorCode: 'string',
|
|
8191
|
+
success: 'boolean',
|
|
8192
|
+
};
|
|
8193
|
+
}
|
|
8194
|
+
}
|
|
8195
|
+
exports.ActiveConfigRulesResponseBodyOperateRuleResultOperateRuleItemList = ActiveConfigRulesResponseBodyOperateRuleResultOperateRuleItemList;
|
|
8196
|
+
class ActiveConfigRulesResponseBodyOperateRuleResult extends $tea.Model {
|
|
8197
|
+
constructor(map) {
|
|
8198
|
+
super(map);
|
|
8199
|
+
}
|
|
8200
|
+
static names() {
|
|
8201
|
+
return {
|
|
8202
|
+
operateRuleItemList: 'OperateRuleItemList',
|
|
8203
|
+
};
|
|
8204
|
+
}
|
|
8205
|
+
static types() {
|
|
8206
|
+
return {
|
|
8207
|
+
operateRuleItemList: { 'type': 'array', 'itemType': ActiveConfigRulesResponseBodyOperateRuleResultOperateRuleItemList },
|
|
8208
|
+
};
|
|
8209
|
+
}
|
|
8210
|
+
}
|
|
8211
|
+
exports.ActiveConfigRulesResponseBodyOperateRuleResult = ActiveConfigRulesResponseBodyOperateRuleResult;
|
|
7448
8212
|
class AttachAggregateConfigRuleToCompliancePackResponseBodyOperateRuleResultOperateRuleItemList extends $tea.Model {
|
|
7449
8213
|
constructor(map) {
|
|
7450
8214
|
super(map);
|
|
@@ -7861,6 +8625,42 @@ class DeleteCompliancePacksResponseBodyOperateCompliancePacksResult extends $tea
|
|
|
7861
8625
|
}
|
|
7862
8626
|
}
|
|
7863
8627
|
exports.DeleteCompliancePacksResponseBodyOperateCompliancePacksResult = DeleteCompliancePacksResponseBodyOperateCompliancePacksResult;
|
|
8628
|
+
class DeleteConfigRulesResponseBodyOperateRuleResultOperateRuleItemList extends $tea.Model {
|
|
8629
|
+
constructor(map) {
|
|
8630
|
+
super(map);
|
|
8631
|
+
}
|
|
8632
|
+
static names() {
|
|
8633
|
+
return {
|
|
8634
|
+
configRuleId: 'ConfigRuleId',
|
|
8635
|
+
errorCode: 'ErrorCode',
|
|
8636
|
+
success: 'Success',
|
|
8637
|
+
};
|
|
8638
|
+
}
|
|
8639
|
+
static types() {
|
|
8640
|
+
return {
|
|
8641
|
+
configRuleId: 'string',
|
|
8642
|
+
errorCode: 'string',
|
|
8643
|
+
success: 'boolean',
|
|
8644
|
+
};
|
|
8645
|
+
}
|
|
8646
|
+
}
|
|
8647
|
+
exports.DeleteConfigRulesResponseBodyOperateRuleResultOperateRuleItemList = DeleteConfigRulesResponseBodyOperateRuleResultOperateRuleItemList;
|
|
8648
|
+
class DeleteConfigRulesResponseBodyOperateRuleResult extends $tea.Model {
|
|
8649
|
+
constructor(map) {
|
|
8650
|
+
super(map);
|
|
8651
|
+
}
|
|
8652
|
+
static names() {
|
|
8653
|
+
return {
|
|
8654
|
+
operateRuleItemList: 'OperateRuleItemList',
|
|
8655
|
+
};
|
|
8656
|
+
}
|
|
8657
|
+
static types() {
|
|
8658
|
+
return {
|
|
8659
|
+
operateRuleItemList: { 'type': 'array', 'itemType': DeleteConfigRulesResponseBodyOperateRuleResultOperateRuleItemList },
|
|
8660
|
+
};
|
|
8661
|
+
}
|
|
8662
|
+
}
|
|
8663
|
+
exports.DeleteConfigRulesResponseBodyOperateRuleResult = DeleteConfigRulesResponseBodyOperateRuleResult;
|
|
7864
8664
|
class DeleteRemediationsResponseBodyRemediationDeleteResults extends $tea.Model {
|
|
7865
8665
|
constructor(map) {
|
|
7866
8666
|
super(map);
|
|
@@ -8108,6 +8908,7 @@ class GetAggregateCompliancePackResponseBodyCompliancePackConfigRules extends $t
|
|
|
8108
8908
|
configRuleParameters: 'ConfigRuleParameters',
|
|
8109
8909
|
description: 'Description',
|
|
8110
8910
|
managedRuleIdentifier: 'ManagedRuleIdentifier',
|
|
8911
|
+
resourceTypesScope: 'ResourceTypesScope',
|
|
8111
8912
|
riskLevel: 'RiskLevel',
|
|
8112
8913
|
};
|
|
8113
8914
|
}
|
|
@@ -8118,6 +8919,7 @@ class GetAggregateCompliancePackResponseBodyCompliancePackConfigRules extends $t
|
|
|
8118
8919
|
configRuleParameters: { 'type': 'array', 'itemType': GetAggregateCompliancePackResponseBodyCompliancePackConfigRulesConfigRuleParameters },
|
|
8119
8920
|
description: 'string',
|
|
8120
8921
|
managedRuleIdentifier: 'string',
|
|
8922
|
+
resourceTypesScope: 'string',
|
|
8121
8923
|
riskLevel: 'number',
|
|
8122
8924
|
};
|
|
8123
8925
|
}
|
|
@@ -8182,31 +8984,93 @@ class GetAggregateCompliancePackResponseBodyCompliancePack extends $tea.Model {
|
|
|
8182
8984
|
};
|
|
8183
8985
|
}
|
|
8184
8986
|
}
|
|
8185
|
-
exports.GetAggregateCompliancePackResponseBodyCompliancePack = GetAggregateCompliancePackResponseBodyCompliancePack;
|
|
8186
|
-
class GetAggregateCompliancePackReportResponseBodyCompliancePackReport extends $tea.Model {
|
|
8987
|
+
exports.GetAggregateCompliancePackResponseBodyCompliancePack = GetAggregateCompliancePackResponseBodyCompliancePack;
|
|
8988
|
+
class GetAggregateCompliancePackReportResponseBodyCompliancePackReport extends $tea.Model {
|
|
8989
|
+
constructor(map) {
|
|
8990
|
+
super(map);
|
|
8991
|
+
}
|
|
8992
|
+
static names() {
|
|
8993
|
+
return {
|
|
8994
|
+
accountId: 'AccountId',
|
|
8995
|
+
compliancePackId: 'CompliancePackId',
|
|
8996
|
+
reportCreateTimestamp: 'ReportCreateTimestamp',
|
|
8997
|
+
reportStatus: 'ReportStatus',
|
|
8998
|
+
reportUrl: 'ReportUrl',
|
|
8999
|
+
};
|
|
9000
|
+
}
|
|
9001
|
+
static types() {
|
|
9002
|
+
return {
|
|
9003
|
+
accountId: 'number',
|
|
9004
|
+
compliancePackId: 'string',
|
|
9005
|
+
reportCreateTimestamp: 'number',
|
|
9006
|
+
reportStatus: 'string',
|
|
9007
|
+
reportUrl: 'string',
|
|
9008
|
+
};
|
|
9009
|
+
}
|
|
9010
|
+
}
|
|
9011
|
+
exports.GetAggregateCompliancePackReportResponseBodyCompliancePackReport = GetAggregateCompliancePackReportResponseBodyCompliancePackReport;
|
|
9012
|
+
class GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule extends $tea.Model {
|
|
9013
|
+
constructor(map) {
|
|
9014
|
+
super(map);
|
|
9015
|
+
}
|
|
9016
|
+
static names() {
|
|
9017
|
+
return {
|
|
9018
|
+
complianceSummaryTimestamp: 'ComplianceSummaryTimestamp',
|
|
9019
|
+
compliantCount: 'CompliantCount',
|
|
9020
|
+
nonCompliantCount: 'NonCompliantCount',
|
|
9021
|
+
totalCount: 'TotalCount',
|
|
9022
|
+
};
|
|
9023
|
+
}
|
|
9024
|
+
static types() {
|
|
9025
|
+
return {
|
|
9026
|
+
complianceSummaryTimestamp: 'number',
|
|
9027
|
+
compliantCount: 'number',
|
|
9028
|
+
nonCompliantCount: 'number',
|
|
9029
|
+
totalCount: 'number',
|
|
9030
|
+
};
|
|
9031
|
+
}
|
|
9032
|
+
}
|
|
9033
|
+
exports.GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule = GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule;
|
|
9034
|
+
class GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource extends $tea.Model {
|
|
9035
|
+
constructor(map) {
|
|
9036
|
+
super(map);
|
|
9037
|
+
}
|
|
9038
|
+
static names() {
|
|
9039
|
+
return {
|
|
9040
|
+
complianceSummaryTimestamp: 'ComplianceSummaryTimestamp',
|
|
9041
|
+
compliantCount: 'CompliantCount',
|
|
9042
|
+
nonCompliantCount: 'NonCompliantCount',
|
|
9043
|
+
totalCount: 'TotalCount',
|
|
9044
|
+
};
|
|
9045
|
+
}
|
|
9046
|
+
static types() {
|
|
9047
|
+
return {
|
|
9048
|
+
complianceSummaryTimestamp: 'number',
|
|
9049
|
+
compliantCount: 'number',
|
|
9050
|
+
nonCompliantCount: 'number',
|
|
9051
|
+
totalCount: 'number',
|
|
9052
|
+
};
|
|
9053
|
+
}
|
|
9054
|
+
}
|
|
9055
|
+
exports.GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource = GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource;
|
|
9056
|
+
class GetAggregateComplianceSummaryResponseBodyComplianceSummary extends $tea.Model {
|
|
8187
9057
|
constructor(map) {
|
|
8188
9058
|
super(map);
|
|
8189
9059
|
}
|
|
8190
9060
|
static names() {
|
|
8191
9061
|
return {
|
|
8192
|
-
|
|
8193
|
-
|
|
8194
|
-
reportCreateTimestamp: 'ReportCreateTimestamp',
|
|
8195
|
-
reportStatus: 'ReportStatus',
|
|
8196
|
-
reportUrl: 'ReportUrl',
|
|
9062
|
+
complianceSummaryByConfigRule: 'ComplianceSummaryByConfigRule',
|
|
9063
|
+
complianceSummaryByResource: 'ComplianceSummaryByResource',
|
|
8197
9064
|
};
|
|
8198
9065
|
}
|
|
8199
9066
|
static types() {
|
|
8200
9067
|
return {
|
|
8201
|
-
|
|
8202
|
-
|
|
8203
|
-
reportCreateTimestamp: 'number',
|
|
8204
|
-
reportStatus: 'string',
|
|
8205
|
-
reportUrl: 'string',
|
|
9068
|
+
complianceSummaryByConfigRule: GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule,
|
|
9069
|
+
complianceSummaryByResource: GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource,
|
|
8206
9070
|
};
|
|
8207
9071
|
}
|
|
8208
9072
|
}
|
|
8209
|
-
exports.
|
|
9073
|
+
exports.GetAggregateComplianceSummaryResponseBodyComplianceSummary = GetAggregateComplianceSummaryResponseBodyComplianceSummary;
|
|
8210
9074
|
class GetAggregateConfigDeliveryChannelResponseBodyDeliveryChannel extends $tea.Model {
|
|
8211
9075
|
constructor(map) {
|
|
8212
9076
|
super(map);
|
|
@@ -9006,6 +9870,7 @@ class GetCompliancePackResponseBodyCompliancePackConfigRules extends $tea.Model
|
|
|
9006
9870
|
configRuleParameters: 'ConfigRuleParameters',
|
|
9007
9871
|
description: 'Description',
|
|
9008
9872
|
managedRuleIdentifier: 'ManagedRuleIdentifier',
|
|
9873
|
+
resourceTypesScope: 'ResourceTypesScope',
|
|
9009
9874
|
riskLevel: 'RiskLevel',
|
|
9010
9875
|
};
|
|
9011
9876
|
}
|
|
@@ -9016,6 +9881,7 @@ class GetCompliancePackResponseBodyCompliancePackConfigRules extends $tea.Model
|
|
|
9016
9881
|
configRuleParameters: { 'type': 'array', 'itemType': GetCompliancePackResponseBodyCompliancePackConfigRulesConfigRuleParameters },
|
|
9017
9882
|
description: 'string',
|
|
9018
9883
|
managedRuleIdentifier: 'string',
|
|
9884
|
+
resourceTypesScope: 'string',
|
|
9019
9885
|
riskLevel: 'number',
|
|
9020
9886
|
};
|
|
9021
9887
|
}
|
|
@@ -9103,6 +9969,68 @@ class GetCompliancePackReportResponseBodyCompliancePackReport extends $tea.Model
|
|
|
9103
9969
|
}
|
|
9104
9970
|
}
|
|
9105
9971
|
exports.GetCompliancePackReportResponseBodyCompliancePackReport = GetCompliancePackReportResponseBodyCompliancePackReport;
|
|
9972
|
+
class GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule extends $tea.Model {
|
|
9973
|
+
constructor(map) {
|
|
9974
|
+
super(map);
|
|
9975
|
+
}
|
|
9976
|
+
static names() {
|
|
9977
|
+
return {
|
|
9978
|
+
complianceSummaryTimestamp: 'ComplianceSummaryTimestamp',
|
|
9979
|
+
compliantCount: 'CompliantCount',
|
|
9980
|
+
nonCompliantCount: 'NonCompliantCount',
|
|
9981
|
+
totalCount: 'TotalCount',
|
|
9982
|
+
};
|
|
9983
|
+
}
|
|
9984
|
+
static types() {
|
|
9985
|
+
return {
|
|
9986
|
+
complianceSummaryTimestamp: 'number',
|
|
9987
|
+
compliantCount: 'number',
|
|
9988
|
+
nonCompliantCount: 'number',
|
|
9989
|
+
totalCount: 'number',
|
|
9990
|
+
};
|
|
9991
|
+
}
|
|
9992
|
+
}
|
|
9993
|
+
exports.GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule = GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule;
|
|
9994
|
+
class GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource extends $tea.Model {
|
|
9995
|
+
constructor(map) {
|
|
9996
|
+
super(map);
|
|
9997
|
+
}
|
|
9998
|
+
static names() {
|
|
9999
|
+
return {
|
|
10000
|
+
complianceSummaryTimestamp: 'ComplianceSummaryTimestamp',
|
|
10001
|
+
compliantCount: 'CompliantCount',
|
|
10002
|
+
nonCompliantCount: 'NonCompliantCount',
|
|
10003
|
+
totalCount: 'TotalCount',
|
|
10004
|
+
};
|
|
10005
|
+
}
|
|
10006
|
+
static types() {
|
|
10007
|
+
return {
|
|
10008
|
+
complianceSummaryTimestamp: 'number',
|
|
10009
|
+
compliantCount: 'number',
|
|
10010
|
+
nonCompliantCount: 'number',
|
|
10011
|
+
totalCount: 'number',
|
|
10012
|
+
};
|
|
10013
|
+
}
|
|
10014
|
+
}
|
|
10015
|
+
exports.GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource = GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource;
|
|
10016
|
+
class GetComplianceSummaryResponseBodyComplianceSummary extends $tea.Model {
|
|
10017
|
+
constructor(map) {
|
|
10018
|
+
super(map);
|
|
10019
|
+
}
|
|
10020
|
+
static names() {
|
|
10021
|
+
return {
|
|
10022
|
+
complianceSummaryByConfigRule: 'ComplianceSummaryByConfigRule',
|
|
10023
|
+
complianceSummaryByResource: 'ComplianceSummaryByResource',
|
|
10024
|
+
};
|
|
10025
|
+
}
|
|
10026
|
+
static types() {
|
|
10027
|
+
return {
|
|
10028
|
+
complianceSummaryByConfigRule: GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule,
|
|
10029
|
+
complianceSummaryByResource: GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource,
|
|
10030
|
+
};
|
|
10031
|
+
}
|
|
10032
|
+
}
|
|
10033
|
+
exports.GetComplianceSummaryResponseBodyComplianceSummary = GetComplianceSummaryResponseBodyComplianceSummary;
|
|
9106
10034
|
class GetConfigDeliveryChannelResponseBodyDeliveryChannel extends $tea.Model {
|
|
9107
10035
|
constructor(map) {
|
|
9108
10036
|
super(map);
|
|
@@ -9469,6 +10397,24 @@ class GetConfigRulesReportResponseBodyConfigRulesReport extends $tea.Model {
|
|
|
9469
10397
|
}
|
|
9470
10398
|
}
|
|
9471
10399
|
exports.GetConfigRulesReportResponseBodyConfigRulesReport = GetConfigRulesReportResponseBodyConfigRulesReport;
|
|
10400
|
+
class GetConfigurationRecorderResponseBodyConfigurationRecorder extends $tea.Model {
|
|
10401
|
+
constructor(map) {
|
|
10402
|
+
super(map);
|
|
10403
|
+
}
|
|
10404
|
+
static names() {
|
|
10405
|
+
return {
|
|
10406
|
+
configurationRecorderStatus: 'ConfigurationRecorderStatus',
|
|
10407
|
+
resourceTypes: 'ResourceTypes',
|
|
10408
|
+
};
|
|
10409
|
+
}
|
|
10410
|
+
static types() {
|
|
10411
|
+
return {
|
|
10412
|
+
configurationRecorderStatus: 'string',
|
|
10413
|
+
resourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
10414
|
+
};
|
|
10415
|
+
}
|
|
10416
|
+
}
|
|
10417
|
+
exports.GetConfigurationRecorderResponseBodyConfigurationRecorder = GetConfigurationRecorderResponseBodyConfigurationRecorder;
|
|
9472
10418
|
class GetDiscoveredResourceResponseBodyDiscoveredResourceDetail extends $tea.Model {
|
|
9473
10419
|
constructor(map) {
|
|
9474
10420
|
super(map);
|
|
@@ -9613,6 +10559,32 @@ class GetManagedRuleResponseBodyManagedRule extends $tea.Model {
|
|
|
9613
10559
|
}
|
|
9614
10560
|
}
|
|
9615
10561
|
exports.GetManagedRuleResponseBodyManagedRule = GetManagedRuleResponseBodyManagedRule;
|
|
10562
|
+
class GetRemediationTemplateResponseBodyRemediationTemplates extends $tea.Model {
|
|
10563
|
+
constructor(map) {
|
|
10564
|
+
super(map);
|
|
10565
|
+
}
|
|
10566
|
+
static names() {
|
|
10567
|
+
return {
|
|
10568
|
+
managedRuleIdentifier: 'ManagedRuleIdentifier',
|
|
10569
|
+
remediationType: 'RemediationType',
|
|
10570
|
+
templateDefinition: 'TemplateDefinition',
|
|
10571
|
+
templateDescription: 'TemplateDescription',
|
|
10572
|
+
templateIdentifier: 'TemplateIdentifier',
|
|
10573
|
+
templateName: 'TemplateName',
|
|
10574
|
+
};
|
|
10575
|
+
}
|
|
10576
|
+
static types() {
|
|
10577
|
+
return {
|
|
10578
|
+
managedRuleIdentifier: 'string',
|
|
10579
|
+
remediationType: 'string',
|
|
10580
|
+
templateDefinition: 'string',
|
|
10581
|
+
templateDescription: 'string',
|
|
10582
|
+
templateIdentifier: 'string',
|
|
10583
|
+
templateName: 'string',
|
|
10584
|
+
};
|
|
10585
|
+
}
|
|
10586
|
+
}
|
|
10587
|
+
exports.GetRemediationTemplateResponseBodyRemediationTemplates = GetRemediationTemplateResponseBodyRemediationTemplates;
|
|
9616
10588
|
class GetResourceComplianceByConfigRuleResponseBodyComplianceResultCompliances extends $tea.Model {
|
|
9617
10589
|
constructor(map) {
|
|
9618
10590
|
super(map);
|
|
@@ -9891,6 +10863,24 @@ class GetResourceConfigurationTimelineResponseBodyResourceConfigurationTimeline
|
|
|
9891
10863
|
}
|
|
9892
10864
|
}
|
|
9893
10865
|
exports.GetResourceConfigurationTimelineResponseBodyResourceConfigurationTimeline = GetResourceConfigurationTimelineResponseBodyResourceConfigurationTimeline;
|
|
10866
|
+
class GetSupportedResourceRelationConfigResponseBodyResourceRelationConfigList extends $tea.Model {
|
|
10867
|
+
constructor(map) {
|
|
10868
|
+
super(map);
|
|
10869
|
+
}
|
|
10870
|
+
static names() {
|
|
10871
|
+
return {
|
|
10872
|
+
relationType: 'RelationType',
|
|
10873
|
+
targetResourceType: 'TargetResourceType',
|
|
10874
|
+
};
|
|
10875
|
+
}
|
|
10876
|
+
static types() {
|
|
10877
|
+
return {
|
|
10878
|
+
relationType: 'string',
|
|
10879
|
+
targetResourceType: 'string',
|
|
10880
|
+
};
|
|
10881
|
+
}
|
|
10882
|
+
}
|
|
10883
|
+
exports.GetSupportedResourceRelationConfigResponseBodyResourceRelationConfigList = GetSupportedResourceRelationConfigResponseBodyResourceRelationConfigList;
|
|
9894
10884
|
class IgnoreAggregateEvaluationResultsRequestResources extends $tea.Model {
|
|
9895
10885
|
constructor(map) {
|
|
9896
10886
|
super(map);
|
|
@@ -10214,6 +11204,7 @@ class ListAggregateConfigRulesResponseBodyConfigRulesConfigRuleList extends $tea
|
|
|
10214
11204
|
configRuleState: 'ConfigRuleState',
|
|
10215
11205
|
createBy: 'CreateBy',
|
|
10216
11206
|
description: 'Description',
|
|
11207
|
+
resourceTypesScope: 'ResourceTypesScope',
|
|
10217
11208
|
riskLevel: 'RiskLevel',
|
|
10218
11209
|
sourceIdentifier: 'SourceIdentifier',
|
|
10219
11210
|
sourceOwner: 'SourceOwner',
|
|
@@ -10231,6 +11222,7 @@ class ListAggregateConfigRulesResponseBodyConfigRulesConfigRuleList extends $tea
|
|
|
10231
11222
|
configRuleState: 'string',
|
|
10232
11223
|
createBy: ListAggregateConfigRulesResponseBodyConfigRulesConfigRuleListCreateBy,
|
|
10233
11224
|
description: 'string',
|
|
11225
|
+
resourceTypesScope: 'string',
|
|
10234
11226
|
riskLevel: 'number',
|
|
10235
11227
|
sourceIdentifier: 'string',
|
|
10236
11228
|
sourceOwner: 'string',
|
|
@@ -10586,6 +11578,7 @@ class ListCompliancePackTemplatesResponseBodyCompliancePackTemplatesResultCompli
|
|
|
10586
11578
|
description: 'Description',
|
|
10587
11579
|
managedRuleIdentifier: 'ManagedRuleIdentifier',
|
|
10588
11580
|
managedRuleName: 'ManagedRuleName',
|
|
11581
|
+
resourceTypesScope: 'ResourceTypesScope',
|
|
10589
11582
|
riskLevel: 'RiskLevel',
|
|
10590
11583
|
};
|
|
10591
11584
|
}
|
|
@@ -10598,6 +11591,7 @@ class ListCompliancePackTemplatesResponseBodyCompliancePackTemplatesResultCompli
|
|
|
10598
11591
|
description: 'string',
|
|
10599
11592
|
managedRuleIdentifier: 'string',
|
|
10600
11593
|
managedRuleName: 'string',
|
|
11594
|
+
resourceTypesScope: 'string',
|
|
10601
11595
|
riskLevel: 'number',
|
|
10602
11596
|
};
|
|
10603
11597
|
}
|
|
@@ -10918,6 +11912,7 @@ class ListConfigRulesResponseBodyConfigRulesConfigRuleList extends $tea.Model {
|
|
|
10918
11912
|
configRuleState: 'ConfigRuleState',
|
|
10919
11913
|
createBy: 'CreateBy',
|
|
10920
11914
|
description: 'Description',
|
|
11915
|
+
resourceTypesScope: 'ResourceTypesScope',
|
|
10921
11916
|
riskLevel: 'RiskLevel',
|
|
10922
11917
|
sourceIdentifier: 'SourceIdentifier',
|
|
10923
11918
|
sourceOwner: 'SourceOwner',
|
|
@@ -10935,6 +11930,7 @@ class ListConfigRulesResponseBodyConfigRulesConfigRuleList extends $tea.Model {
|
|
|
10935
11930
|
configRuleState: 'string',
|
|
10936
11931
|
createBy: ListConfigRulesResponseBodyConfigRulesConfigRuleListCreateBy,
|
|
10937
11932
|
description: 'string',
|
|
11933
|
+
resourceTypesScope: 'string',
|
|
10938
11934
|
riskLevel: 'number',
|
|
10939
11935
|
sourceIdentifier: 'string',
|
|
10940
11936
|
sourceOwner: 'string',
|
|
@@ -11123,6 +12119,52 @@ class ListPreManagedRulesResponseBodyManagedRules extends $tea.Model {
|
|
|
11123
12119
|
}
|
|
11124
12120
|
}
|
|
11125
12121
|
exports.ListPreManagedRulesResponseBodyManagedRules = ListPreManagedRulesResponseBodyManagedRules;
|
|
12122
|
+
class ListRemediationExecutionsResponseBodyRemediationExecutionDataRemediationExecutions extends $tea.Model {
|
|
12123
|
+
constructor(map) {
|
|
12124
|
+
super(map);
|
|
12125
|
+
}
|
|
12126
|
+
static names() {
|
|
12127
|
+
return {
|
|
12128
|
+
executionCreateDate: 'ExecutionCreateDate',
|
|
12129
|
+
executionInvocationId: 'ExecutionInvocationId',
|
|
12130
|
+
executionResourceIds: 'ExecutionResourceIds',
|
|
12131
|
+
executionResourceType: 'ExecutionResourceType',
|
|
12132
|
+
executionStatus: 'ExecutionStatus',
|
|
12133
|
+
executionStatusMessage: 'ExecutionStatusMessage',
|
|
12134
|
+
};
|
|
12135
|
+
}
|
|
12136
|
+
static types() {
|
|
12137
|
+
return {
|
|
12138
|
+
executionCreateDate: 'string',
|
|
12139
|
+
executionInvocationId: 'string',
|
|
12140
|
+
executionResourceIds: 'string',
|
|
12141
|
+
executionResourceType: 'string',
|
|
12142
|
+
executionStatus: 'string',
|
|
12143
|
+
executionStatusMessage: 'string',
|
|
12144
|
+
};
|
|
12145
|
+
}
|
|
12146
|
+
}
|
|
12147
|
+
exports.ListRemediationExecutionsResponseBodyRemediationExecutionDataRemediationExecutions = ListRemediationExecutionsResponseBodyRemediationExecutionDataRemediationExecutions;
|
|
12148
|
+
class ListRemediationExecutionsResponseBodyRemediationExecutionData extends $tea.Model {
|
|
12149
|
+
constructor(map) {
|
|
12150
|
+
super(map);
|
|
12151
|
+
}
|
|
12152
|
+
static names() {
|
|
12153
|
+
return {
|
|
12154
|
+
maxResults: 'MaxResults',
|
|
12155
|
+
nextToken: 'NextToken',
|
|
12156
|
+
remediationExecutions: 'RemediationExecutions',
|
|
12157
|
+
};
|
|
12158
|
+
}
|
|
12159
|
+
static types() {
|
|
12160
|
+
return {
|
|
12161
|
+
maxResults: 'number',
|
|
12162
|
+
nextToken: 'string',
|
|
12163
|
+
remediationExecutions: { 'type': 'array', 'itemType': ListRemediationExecutionsResponseBodyRemediationExecutionDataRemediationExecutions },
|
|
12164
|
+
};
|
|
12165
|
+
}
|
|
12166
|
+
}
|
|
12167
|
+
exports.ListRemediationExecutionsResponseBodyRemediationExecutionData = ListRemediationExecutionsResponseBodyRemediationExecutionData;
|
|
11126
12168
|
class ListRemediationTemplatesResponseBodyRemediationTemplates extends $tea.Model {
|
|
11127
12169
|
constructor(map) {
|
|
11128
12170
|
super(map);
|
|
@@ -11429,6 +12471,24 @@ class RevertEvaluationResultsRequestResources extends $tea.Model {
|
|
|
11429
12471
|
}
|
|
11430
12472
|
}
|
|
11431
12473
|
exports.RevertEvaluationResultsRequestResources = RevertEvaluationResultsRequestResources;
|
|
12474
|
+
class StartConfigurationRecorderResponseBodyConfigurationRecorder extends $tea.Model {
|
|
12475
|
+
constructor(map) {
|
|
12476
|
+
super(map);
|
|
12477
|
+
}
|
|
12478
|
+
static names() {
|
|
12479
|
+
return {
|
|
12480
|
+
configurationRecorderStatus: 'ConfigurationRecorderStatus',
|
|
12481
|
+
resourceTypes: 'ResourceTypes',
|
|
12482
|
+
};
|
|
12483
|
+
}
|
|
12484
|
+
static types() {
|
|
12485
|
+
return {
|
|
12486
|
+
configurationRecorderStatus: 'string',
|
|
12487
|
+
resourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
12488
|
+
};
|
|
12489
|
+
}
|
|
12490
|
+
}
|
|
12491
|
+
exports.StartConfigurationRecorderResponseBodyConfigurationRecorder = StartConfigurationRecorderResponseBodyConfigurationRecorder;
|
|
11432
12492
|
class TagResourcesRequestTag extends $tea.Model {
|
|
11433
12493
|
constructor(map) {
|
|
11434
12494
|
super(map);
|
|
@@ -11555,6 +12615,24 @@ class UpdateCompliancePackRequestConfigRules extends $tea.Model {
|
|
|
11555
12615
|
}
|
|
11556
12616
|
}
|
|
11557
12617
|
exports.UpdateCompliancePackRequestConfigRules = UpdateCompliancePackRequestConfigRules;
|
|
12618
|
+
class UpdateConfigurationRecorderResponseBodyConfigurationRecorder extends $tea.Model {
|
|
12619
|
+
constructor(map) {
|
|
12620
|
+
super(map);
|
|
12621
|
+
}
|
|
12622
|
+
static names() {
|
|
12623
|
+
return {
|
|
12624
|
+
configurationRecorderStatus: 'ConfigurationRecorderStatus',
|
|
12625
|
+
resourceTypes: 'ResourceTypes',
|
|
12626
|
+
};
|
|
12627
|
+
}
|
|
12628
|
+
static types() {
|
|
12629
|
+
return {
|
|
12630
|
+
configurationRecorderStatus: 'string',
|
|
12631
|
+
resourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
12632
|
+
};
|
|
12633
|
+
}
|
|
12634
|
+
}
|
|
12635
|
+
exports.UpdateConfigurationRecorderResponseBodyConfigurationRecorder = UpdateConfigurationRecorderResponseBodyConfigurationRecorder;
|
|
11558
12636
|
class Client extends openapi_client_1.default {
|
|
11559
12637
|
constructor(config) {
|
|
11560
12638
|
super(config);
|
|
@@ -11576,8 +12654,7 @@ class Client extends openapi_client_1.default {
|
|
|
11576
12654
|
return endpoint_util_1.default.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
11577
12655
|
}
|
|
11578
12656
|
/**
|
|
11579
|
-
*
|
|
11580
|
-
* For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).
|
|
12657
|
+
* This topic provides an example on how to enable the `cr-5772ba41209e007b****` rule in the `ca-a4e5626622af0079****` account group.
|
|
11581
12658
|
*
|
|
11582
12659
|
* @param request ActiveAggregateConfigRulesRequest
|
|
11583
12660
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -11609,8 +12686,7 @@ class Client extends openapi_client_1.default {
|
|
|
11609
12686
|
return $tea.cast(await this.callApi(params, req, runtime), new ActiveAggregateConfigRulesResponse({}));
|
|
11610
12687
|
}
|
|
11611
12688
|
/**
|
|
11612
|
-
*
|
|
11613
|
-
* For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).
|
|
12689
|
+
* This topic provides an example on how to enable the `cr-5772ba41209e007b****` rule in the `ca-a4e5626622af0079****` account group.
|
|
11614
12690
|
*
|
|
11615
12691
|
* @param request ActiveAggregateConfigRulesRequest
|
|
11616
12692
|
* @return ActiveAggregateConfigRulesResponse
|
|
@@ -11619,6 +12695,32 @@ class Client extends openapi_client_1.default {
|
|
|
11619
12695
|
let runtime = new $Util.RuntimeOptions({});
|
|
11620
12696
|
return await this.activeAggregateConfigRulesWithOptions(request, runtime);
|
|
11621
12697
|
}
|
|
12698
|
+
async activeConfigRulesWithOptions(request, runtime) {
|
|
12699
|
+
tea_util_1.default.validateModel(request);
|
|
12700
|
+
let query = {};
|
|
12701
|
+
if (!tea_util_1.default.isUnset(request.configRuleIds)) {
|
|
12702
|
+
query["ConfigRuleIds"] = request.configRuleIds;
|
|
12703
|
+
}
|
|
12704
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12705
|
+
query: openapi_util_1.default.query(query),
|
|
12706
|
+
});
|
|
12707
|
+
let params = new $OpenApi.Params({
|
|
12708
|
+
action: "ActiveConfigRules",
|
|
12709
|
+
version: "2020-09-07",
|
|
12710
|
+
protocol: "HTTPS",
|
|
12711
|
+
pathname: "/",
|
|
12712
|
+
method: "POST",
|
|
12713
|
+
authType: "AK",
|
|
12714
|
+
style: "RPC",
|
|
12715
|
+
reqBodyType: "formData",
|
|
12716
|
+
bodyType: "json",
|
|
12717
|
+
});
|
|
12718
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ActiveConfigRulesResponse({}));
|
|
12719
|
+
}
|
|
12720
|
+
async activeConfigRules(request) {
|
|
12721
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
12722
|
+
return await this.activeConfigRulesWithOptions(request, runtime);
|
|
12723
|
+
}
|
|
11622
12724
|
/**
|
|
11623
12725
|
* The sample request in this topic shows you how to add the `cr-6cc4626622af00e7****` rule in the `ca-75b4626622af00c3****` account group to the `cp-5bb1626622af00bd****` compliance package.
|
|
11624
12726
|
*
|
|
@@ -11665,7 +12767,7 @@ class Client extends openapi_client_1.default {
|
|
|
11665
12767
|
return await this.attachAggregateConfigRuleToCompliancePackWithOptions(request, runtime);
|
|
11666
12768
|
}
|
|
11667
12769
|
/**
|
|
11668
|
-
*
|
|
12770
|
+
* This topic provides an example on how to add the `cr-6cc4626622af00e7****` rule to the `cp-5bb1626622af00bd****` compliance package.
|
|
11669
12771
|
*
|
|
11670
12772
|
* @param request AttachConfigRuleToCompliancePackRequest
|
|
11671
12773
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -11697,7 +12799,7 @@ class Client extends openapi_client_1.default {
|
|
|
11697
12799
|
return $tea.cast(await this.callApi(params, req, runtime), new AttachConfigRuleToCompliancePackResponse({}));
|
|
11698
12800
|
}
|
|
11699
12801
|
/**
|
|
11700
|
-
*
|
|
12802
|
+
* This topic provides an example on how to add the `cr-6cc4626622af00e7****` rule to the `cp-5bb1626622af00bd****` compliance package.
|
|
11701
12803
|
*
|
|
11702
12804
|
* @param request AttachConfigRuleToCompliancePackRequest
|
|
11703
12805
|
* @return AttachConfigRuleToCompliancePackResponse
|
|
@@ -11925,7 +13027,10 @@ class Client extends openapi_client_1.default {
|
|
|
11925
13027
|
return await this.createAggregateConfigDeliveryChannelWithOptions(request, runtime);
|
|
11926
13028
|
}
|
|
11927
13029
|
/**
|
|
11928
|
-
*
|
|
13030
|
+
* ### Limits
|
|
13031
|
+
* You can create up to 200 rules for each management account.
|
|
13032
|
+
* ### Usage notes
|
|
13033
|
+
* This topic provides an example on how to create a rule based on the required-tags managed rule in the `ca-a4e5626622af0079****` account group. The returned result shows that the rule is created and its ID is `cr-4e3d626622af0080****`.
|
|
11929
13034
|
*
|
|
11930
13035
|
* @param tmpReq CreateAggregateConfigRuleRequest
|
|
11931
13036
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12019,7 +13124,10 @@ class Client extends openapi_client_1.default {
|
|
|
12019
13124
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAggregateConfigRuleResponse({}));
|
|
12020
13125
|
}
|
|
12021
13126
|
/**
|
|
12022
|
-
*
|
|
13127
|
+
* ### Limits
|
|
13128
|
+
* You can create up to 200 rules for each management account.
|
|
13129
|
+
* ### Usage notes
|
|
13130
|
+
* This topic provides an example on how to create a rule based on the required-tags managed rule in the `ca-a4e5626622af0079****` account group. The returned result shows that the rule is created and its ID is `cr-4e3d626622af0080****`.
|
|
12023
13131
|
*
|
|
12024
13132
|
* @param request CreateAggregateConfigRuleRequest
|
|
12025
13133
|
* @return CreateAggregateConfigRuleResponse
|
|
@@ -12029,7 +13137,7 @@ class Client extends openapi_client_1.default {
|
|
|
12029
13137
|
return await this.createAggregateConfigRuleWithOptions(request, runtime);
|
|
12030
13138
|
}
|
|
12031
13139
|
/**
|
|
12032
|
-
*
|
|
13140
|
+
* This topic provides an example on how to create a remediation template for the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that a remediation template is created and the ID of the remediation template is `crr-909ba2d4716700eb****`.
|
|
12033
13141
|
*
|
|
12034
13142
|
* @param request CreateAggregateRemediationRequest
|
|
12035
13143
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12079,7 +13187,7 @@ class Client extends openapi_client_1.default {
|
|
|
12079
13187
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateAggregateRemediationResponse({}));
|
|
12080
13188
|
}
|
|
12081
13189
|
/**
|
|
12082
|
-
*
|
|
13190
|
+
* This topic provides an example on how to create a remediation template for the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that a remediation template is created and the ID of the remediation template is `crr-909ba2d4716700eb****`.
|
|
12083
13191
|
*
|
|
12084
13192
|
* @param request CreateAggregateRemediationRequest
|
|
12085
13193
|
* @return CreateAggregateRemediationResponse
|
|
@@ -12093,7 +13201,7 @@ class Client extends openapi_client_1.default {
|
|
|
12093
13201
|
* Cloud Config supports the following types of account groups:
|
|
12094
13202
|
* * Global account group: The global account group contains all the member accounts that are added to the resource directory. A management account can create only one global account group.
|
|
12095
13203
|
* * Custom account group: If you create a custom account group, you must manually add all or specific member accounts from the resource directory to the custom account group.
|
|
12096
|
-
*
|
|
13204
|
+
* This topic provides an example on how to create an account group of the `CUSTOM` type. The custom account group is named `Test_Group`, and its description is `Test account group`. The custom account group contains the following two member accounts:
|
|
12097
13205
|
* * Member account ID: `171322098523****`. Member account name: `Alice`.
|
|
12098
13206
|
* * Member account ID: `100532098349****`. Member account name: `Tom`.
|
|
12099
13207
|
*
|
|
@@ -12145,7 +13253,7 @@ class Client extends openapi_client_1.default {
|
|
|
12145
13253
|
* Cloud Config supports the following types of account groups:
|
|
12146
13254
|
* * Global account group: The global account group contains all the member accounts that are added to the resource directory. A management account can create only one global account group.
|
|
12147
13255
|
* * Custom account group: If you create a custom account group, you must manually add all or specific member accounts from the resource directory to the custom account group.
|
|
12148
|
-
*
|
|
13256
|
+
* This topic provides an example on how to create an account group of the `CUSTOM` type. The custom account group is named `Test_Group`, and its description is `Test account group`. The custom account group contains the following two member accounts:
|
|
12149
13257
|
* * Member account ID: `171322098523****`. Member account name: `Alice`.
|
|
12150
13258
|
* * Member account ID: `100532098349****`. Member account name: `Tom`.
|
|
12151
13259
|
*
|
|
@@ -12402,7 +13510,7 @@ class Client extends openapi_client_1.default {
|
|
|
12402
13510
|
}
|
|
12403
13511
|
/**
|
|
12404
13512
|
* @deprecated : CreateDeliveryChannel is deprecated, please use Config::2020-09-07::CreateConfigDeliveryChannel,Config::2020-09-07::CreateAggregateConfigDeliveryChannel instead.
|
|
12405
|
-
* In this example, a delivery channel is created. The type of the delivery
|
|
13513
|
+
* In this example, a delivery channel is created. The type of the delivery channel is `OSS`, the Alibaba Cloud Resource Name (ARN) of the delivery destination is `acs:oss:cn-shanghai:100931896542****:new-bucket`, and the ARN of the role that is assigned to the delivery channel is `acs:ram::100931896542****:role/aliyunserviceroleforconfig`. The returned result shows that the delivery channel is created, and the ID of the delivery channel is `cdc-8e45ff4e06a3a8****`.
|
|
12406
13514
|
*
|
|
12407
13515
|
* @param request CreateDeliveryChannelRequest
|
|
12408
13516
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12463,7 +13571,7 @@ class Client extends openapi_client_1.default {
|
|
|
12463
13571
|
}
|
|
12464
13572
|
/**
|
|
12465
13573
|
* @deprecated : CreateDeliveryChannel is deprecated, please use Config::2020-09-07::CreateConfigDeliveryChannel,Config::2020-09-07::CreateAggregateConfigDeliveryChannel instead.
|
|
12466
|
-
* In this example, a delivery channel is created. The type of the delivery
|
|
13574
|
+
* In this example, a delivery channel is created. The type of the delivery channel is `OSS`, the Alibaba Cloud Resource Name (ARN) of the delivery destination is `acs:oss:cn-shanghai:100931896542****:new-bucket`, and the ARN of the role that is assigned to the delivery channel is `acs:ram::100931896542****:role/aliyunserviceroleforconfig`. The returned result shows that the delivery channel is created, and the ID of the delivery channel is `cdc-8e45ff4e06a3a8****`.
|
|
12467
13575
|
*
|
|
12468
13576
|
* @param request CreateDeliveryChannelRequest
|
|
12469
13577
|
* @return CreateDeliveryChannelResponse
|
|
@@ -12474,7 +13582,7 @@ class Client extends openapi_client_1.default {
|
|
|
12474
13582
|
return await this.createDeliveryChannelWithOptions(request, runtime);
|
|
12475
13583
|
}
|
|
12476
13584
|
/**
|
|
12477
|
-
*
|
|
13585
|
+
* This topic provides an example on how to create a remediation template for the rule `cr-8a973ac2e2be00a2****`. The returned result shows that a remediation template is created and the ID of the remediation template is `crr-909ba2d4716700eb****`.
|
|
12478
13586
|
*
|
|
12479
13587
|
* @param request CreateRemediationRequest
|
|
12480
13588
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12521,7 +13629,7 @@ class Client extends openapi_client_1.default {
|
|
|
12521
13629
|
return $tea.cast(await this.callApi(params, req, runtime), new CreateRemediationResponse({}));
|
|
12522
13630
|
}
|
|
12523
13631
|
/**
|
|
12524
|
-
*
|
|
13632
|
+
* This topic provides an example on how to create a remediation template for the rule `cr-8a973ac2e2be00a2****`. The returned result shows that a remediation template is created and the ID of the remediation template is `crr-909ba2d4716700eb****`.
|
|
12525
13633
|
*
|
|
12526
13634
|
* @param request CreateRemediationRequest
|
|
12527
13635
|
* @return CreateRemediationResponse
|
|
@@ -12531,8 +13639,7 @@ class Client extends openapi_client_1.default {
|
|
|
12531
13639
|
return await this.createRemediationWithOptions(request, runtime);
|
|
12532
13640
|
}
|
|
12533
13641
|
/**
|
|
12534
|
-
*
|
|
12535
|
-
* For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).
|
|
13642
|
+
* This topic provides an example on how to disable the `cr-5772ba41209e007b****` rule in the `ca-04b3fd170e340007****` account group.
|
|
12536
13643
|
*
|
|
12537
13644
|
* @param request DeactiveAggregateConfigRulesRequest
|
|
12538
13645
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12564,8 +13671,7 @@ class Client extends openapi_client_1.default {
|
|
|
12564
13671
|
return $tea.cast(await this.callApi(params, req, runtime), new DeactiveAggregateConfigRulesResponse({}));
|
|
12565
13672
|
}
|
|
12566
13673
|
/**
|
|
12567
|
-
*
|
|
12568
|
-
* For more information about how to obtain the ID of a rule, see [ListAggregateConfigRules](~~264148~~).
|
|
13674
|
+
* This topic provides an example on how to disable the `cr-5772ba41209e007b****` rule in the `ca-04b3fd170e340007****` account group.
|
|
12569
13675
|
*
|
|
12570
13676
|
* @param request DeactiveAggregateConfigRulesRequest
|
|
12571
13677
|
* @return DeactiveAggregateConfigRulesResponse
|
|
@@ -12614,7 +13720,7 @@ class Client extends openapi_client_1.default {
|
|
|
12614
13720
|
return await this.deactiveConfigRulesWithOptions(request, runtime);
|
|
12615
13721
|
}
|
|
12616
13722
|
/**
|
|
12617
|
-
*
|
|
13723
|
+
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package from the `ca-04b3fd170e340007****` account group.
|
|
12618
13724
|
*
|
|
12619
13725
|
* @param request DeleteAggregateCompliancePacksRequest
|
|
12620
13726
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12652,7 +13758,7 @@ class Client extends openapi_client_1.default {
|
|
|
12652
13758
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAggregateCompliancePacksResponse({}));
|
|
12653
13759
|
}
|
|
12654
13760
|
/**
|
|
12655
|
-
*
|
|
13761
|
+
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package from the `ca-04b3fd170e340007****` account group.
|
|
12656
13762
|
*
|
|
12657
13763
|
* @param request DeleteAggregateCompliancePacksRequest
|
|
12658
13764
|
* @return DeleteAggregateCompliancePacksResponse
|
|
@@ -12662,7 +13768,7 @@ class Client extends openapi_client_1.default {
|
|
|
12662
13768
|
return await this.deleteAggregateCompliancePacksWithOptions(request, runtime);
|
|
12663
13769
|
}
|
|
12664
13770
|
/**
|
|
12665
|
-
* This example
|
|
13771
|
+
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel from the `ca-23c6626622af0041****` account group. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
12666
13772
|
*
|
|
12667
13773
|
* @param request DeleteAggregateConfigDeliveryChannelRequest
|
|
12668
13774
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12694,7 +13800,7 @@ class Client extends openapi_client_1.default {
|
|
|
12694
13800
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAggregateConfigDeliveryChannelResponse({}));
|
|
12695
13801
|
}
|
|
12696
13802
|
/**
|
|
12697
|
-
* This example
|
|
13803
|
+
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel from the `ca-23c6626622af0041****` account group. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
12698
13804
|
*
|
|
12699
13805
|
* @param request DeleteAggregateConfigDeliveryChannelRequest
|
|
12700
13806
|
* @return DeleteAggregateConfigDeliveryChannelResponse
|
|
@@ -12704,9 +13810,10 @@ class Client extends openapi_client_1.default {
|
|
|
12704
13810
|
return await this.deleteAggregateConfigDeliveryChannelWithOptions(request, runtime);
|
|
12705
13811
|
}
|
|
12706
13812
|
/**
|
|
12707
|
-
*
|
|
12708
|
-
* ## Background information
|
|
13813
|
+
* ### Background information
|
|
12709
13814
|
* You can delete a rule in the Cloud Config console. After you delete the rule, the configurations of the rule are deleted.
|
|
13815
|
+
* ### Usage notes
|
|
13816
|
+
* This topic provides an example on how to delete the `cr-4e3d626622af0080****` rule from the `ca-a4e5626622af0079****` account group.
|
|
12710
13817
|
*
|
|
12711
13818
|
* @param request DeleteAggregateConfigRulesRequest
|
|
12712
13819
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12738,9 +13845,10 @@ class Client extends openapi_client_1.default {
|
|
|
12738
13845
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAggregateConfigRulesResponse({}));
|
|
12739
13846
|
}
|
|
12740
13847
|
/**
|
|
12741
|
-
*
|
|
12742
|
-
* ## Background information
|
|
13848
|
+
* ### Background information
|
|
12743
13849
|
* You can delete a rule in the Cloud Config console. After you delete the rule, the configurations of the rule are deleted.
|
|
13850
|
+
* ### Usage notes
|
|
13851
|
+
* This topic provides an example on how to delete the `cr-4e3d626622af0080****` rule from the `ca-a4e5626622af0079****` account group.
|
|
12744
13852
|
*
|
|
12745
13853
|
* @param request DeleteAggregateConfigRulesRequest
|
|
12746
13854
|
* @return DeleteAggregateConfigRulesResponse
|
|
@@ -12750,7 +13858,7 @@ class Client extends openapi_client_1.default {
|
|
|
12750
13858
|
return await this.deleteAggregateConfigRulesWithOptions(request, runtime);
|
|
12751
13859
|
}
|
|
12752
13860
|
/**
|
|
12753
|
-
*
|
|
13861
|
+
* This topic provides an example on how to delete the remediation template whose ID is `crr-909ba2d4716700eb****` from the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that the remediation template whose ID is `crr-909ba2d4716700eb****` is deleted.
|
|
12754
13862
|
*
|
|
12755
13863
|
* @param request DeleteAggregateRemediationsRequest
|
|
12756
13864
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12782,7 +13890,7 @@ class Client extends openapi_client_1.default {
|
|
|
12782
13890
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAggregateRemediationsResponse({}));
|
|
12783
13891
|
}
|
|
12784
13892
|
/**
|
|
12785
|
-
*
|
|
13893
|
+
* This topic provides an example on how to delete the remediation template whose ID is `crr-909ba2d4716700eb****` from the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that the remediation template whose ID is `crr-909ba2d4716700eb****` is deleted.
|
|
12786
13894
|
*
|
|
12787
13895
|
* @param request DeleteAggregateRemediationsRequest
|
|
12788
13896
|
* @return DeleteAggregateRemediationsResponse
|
|
@@ -12792,7 +13900,7 @@ class Client extends openapi_client_1.default {
|
|
|
12792
13900
|
return await this.deleteAggregateRemediationsWithOptions(request, runtime);
|
|
12793
13901
|
}
|
|
12794
13902
|
/**
|
|
12795
|
-
*
|
|
13903
|
+
* This topic provides an example on how to delete the account group whose ID is `ca-9190626622af00a9****`.
|
|
12796
13904
|
*
|
|
12797
13905
|
* @param request DeleteAggregatorsRequest
|
|
12798
13906
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12824,7 +13932,7 @@ class Client extends openapi_client_1.default {
|
|
|
12824
13932
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteAggregatorsResponse({}));
|
|
12825
13933
|
}
|
|
12826
13934
|
/**
|
|
12827
|
-
*
|
|
13935
|
+
* This topic provides an example on how to delete the account group whose ID is `ca-9190626622af00a9****`.
|
|
12828
13936
|
*
|
|
12829
13937
|
* @param request DeleteAggregatorsRequest
|
|
12830
13938
|
* @return DeleteAggregatorsResponse
|
|
@@ -12834,7 +13942,7 @@ class Client extends openapi_client_1.default {
|
|
|
12834
13942
|
return await this.deleteAggregatorsWithOptions(request, runtime);
|
|
12835
13943
|
}
|
|
12836
13944
|
/**
|
|
12837
|
-
*
|
|
13945
|
+
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package.
|
|
12838
13946
|
*
|
|
12839
13947
|
* @param request DeleteCompliancePacksRequest
|
|
12840
13948
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12869,7 +13977,7 @@ class Client extends openapi_client_1.default {
|
|
|
12869
13977
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteCompliancePacksResponse({}));
|
|
12870
13978
|
}
|
|
12871
13979
|
/**
|
|
12872
|
-
*
|
|
13980
|
+
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package.
|
|
12873
13981
|
*
|
|
12874
13982
|
* @param request DeleteCompliancePacksRequest
|
|
12875
13983
|
* @return DeleteCompliancePacksResponse
|
|
@@ -12879,7 +13987,7 @@ class Client extends openapi_client_1.default {
|
|
|
12879
13987
|
return await this.deleteCompliancePacksWithOptions(request, runtime);
|
|
12880
13988
|
}
|
|
12881
13989
|
/**
|
|
12882
|
-
* This example
|
|
13990
|
+
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
12883
13991
|
*
|
|
12884
13992
|
* @param request DeleteConfigDeliveryChannelRequest
|
|
12885
13993
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12908,7 +14016,7 @@ class Client extends openapi_client_1.default {
|
|
|
12908
14016
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
|
|
12909
14017
|
}
|
|
12910
14018
|
/**
|
|
12911
|
-
* This example
|
|
14019
|
+
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
12912
14020
|
*
|
|
12913
14021
|
* @param request DeleteConfigDeliveryChannelRequest
|
|
12914
14022
|
* @return DeleteConfigDeliveryChannelResponse
|
|
@@ -12918,7 +14026,46 @@ class Client extends openapi_client_1.default {
|
|
|
12918
14026
|
return await this.deleteConfigDeliveryChannelWithOptions(request, runtime);
|
|
12919
14027
|
}
|
|
12920
14028
|
/**
|
|
12921
|
-
* In this
|
|
14029
|
+
* In this example, the rule whose ID is cr-9908626622af0035\\*\\*\\*\\* is deleted.
|
|
14030
|
+
*
|
|
14031
|
+
* @param request DeleteConfigRulesRequest
|
|
14032
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
14033
|
+
* @return DeleteConfigRulesResponse
|
|
14034
|
+
*/
|
|
14035
|
+
async deleteConfigRulesWithOptions(request, runtime) {
|
|
14036
|
+
tea_util_1.default.validateModel(request);
|
|
14037
|
+
let query = {};
|
|
14038
|
+
if (!tea_util_1.default.isUnset(request.configRuleIds)) {
|
|
14039
|
+
query["ConfigRuleIds"] = request.configRuleIds;
|
|
14040
|
+
}
|
|
14041
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14042
|
+
query: openapi_util_1.default.query(query),
|
|
14043
|
+
});
|
|
14044
|
+
let params = new $OpenApi.Params({
|
|
14045
|
+
action: "DeleteConfigRules",
|
|
14046
|
+
version: "2020-09-07",
|
|
14047
|
+
protocol: "HTTPS",
|
|
14048
|
+
pathname: "/",
|
|
14049
|
+
method: "POST",
|
|
14050
|
+
authType: "AK",
|
|
14051
|
+
style: "RPC",
|
|
14052
|
+
reqBodyType: "formData",
|
|
14053
|
+
bodyType: "json",
|
|
14054
|
+
});
|
|
14055
|
+
return $tea.cast(await this.callApi(params, req, runtime), new DeleteConfigRulesResponse({}));
|
|
14056
|
+
}
|
|
14057
|
+
/**
|
|
14058
|
+
* In this example, the rule whose ID is cr-9908626622af0035\\*\\*\\*\\* is deleted.
|
|
14059
|
+
*
|
|
14060
|
+
* @param request DeleteConfigRulesRequest
|
|
14061
|
+
* @return DeleteConfigRulesResponse
|
|
14062
|
+
*/
|
|
14063
|
+
async deleteConfigRules(request) {
|
|
14064
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14065
|
+
return await this.deleteConfigRulesWithOptions(request, runtime);
|
|
14066
|
+
}
|
|
14067
|
+
/**
|
|
14068
|
+
* This topic provides an example on how to delete the remediation template `crr-909ba2d4716700eb****`. The returned result shows that the remediation template whose ID is `crr-909ba2d4716700eb****` is deleted.
|
|
12922
14069
|
*
|
|
12923
14070
|
* @param request DeleteRemediationsRequest
|
|
12924
14071
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -12947,7 +14094,7 @@ class Client extends openapi_client_1.default {
|
|
|
12947
14094
|
return $tea.cast(await this.callApi(params, req, runtime), new DeleteRemediationsResponse({}));
|
|
12948
14095
|
}
|
|
12949
14096
|
/**
|
|
12950
|
-
*
|
|
14097
|
+
* This topic provides an example on how to delete the remediation template `crr-909ba2d4716700eb****`. The returned result shows that the remediation template whose ID is `crr-909ba2d4716700eb****` is deleted.
|
|
12951
14098
|
*
|
|
12952
14099
|
* @param request DeleteRemediationsRequest
|
|
12953
14100
|
* @return DeleteRemediationsResponse
|
|
@@ -13006,9 +14153,10 @@ class Client extends openapi_client_1.default {
|
|
|
13006
14153
|
return await this.detachAggregateConfigRuleToCompliancePackWithOptions(request, runtime);
|
|
13007
14154
|
}
|
|
13008
14155
|
/**
|
|
13009
|
-
*
|
|
13010
|
-
* ## Prerequisites
|
|
14156
|
+
* ### Prerequisites
|
|
13011
14157
|
* One or more rules are added to a compliance package.
|
|
14158
|
+
* ### Usage notes
|
|
14159
|
+
* This topic provides an example on how to remove the `cr-6cc4626622af00e7****` rule from the `cp-5bb1626622af00bd****` compliance package.
|
|
13012
14160
|
*
|
|
13013
14161
|
* @param request DetachConfigRuleToCompliancePackRequest
|
|
13014
14162
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13040,9 +14188,10 @@ class Client extends openapi_client_1.default {
|
|
|
13040
14188
|
return $tea.cast(await this.callApi(params, req, runtime), new DetachConfigRuleToCompliancePackResponse({}));
|
|
13041
14189
|
}
|
|
13042
14190
|
/**
|
|
13043
|
-
*
|
|
13044
|
-
* ## Prerequisites
|
|
14191
|
+
* ### Prerequisites
|
|
13045
14192
|
* One or more rules are added to a compliance package.
|
|
14193
|
+
* ### Usage notes
|
|
14194
|
+
* This topic provides an example on how to remove the `cr-6cc4626622af00e7****` rule from the `cp-5bb1626622af00bd****` compliance package.
|
|
13046
14195
|
*
|
|
13047
14196
|
* @param request DetachConfigRuleToCompliancePackRequest
|
|
13048
14197
|
* @return DetachConfigRuleToCompliancePackResponse
|
|
@@ -13086,8 +14235,8 @@ class Client extends openapi_client_1.default {
|
|
|
13086
14235
|
return await this.evaluatePreConfigRulesWithOptions(request, runtime);
|
|
13087
14236
|
}
|
|
13088
14237
|
/**
|
|
13089
|
-
* >
|
|
13090
|
-
*
|
|
14238
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateCompliancePackReport](~~262699~~).
|
|
14239
|
+
* This topic provides an example on how to generate a compliance evaluation report based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.
|
|
13091
14240
|
*
|
|
13092
14241
|
* @param request GenerateAggregateCompliancePackReportRequest
|
|
13093
14242
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13122,8 +14271,8 @@ class Client extends openapi_client_1.default {
|
|
|
13122
14271
|
return $tea.cast(await this.callApi(params, req, runtime), new GenerateAggregateCompliancePackReportResponse({}));
|
|
13123
14272
|
}
|
|
13124
14273
|
/**
|
|
13125
|
-
* >
|
|
13126
|
-
*
|
|
14274
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateCompliancePackReport](~~262699~~).
|
|
14275
|
+
* This topic provides an example on how to generate a compliance evaluation report based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.
|
|
13127
14276
|
*
|
|
13128
14277
|
* @param request GenerateAggregateCompliancePackReportRequest
|
|
13129
14278
|
* @return GenerateAggregateCompliancePackReportResponse
|
|
@@ -13133,8 +14282,8 @@ class Client extends openapi_client_1.default {
|
|
|
13133
14282
|
return await this.generateAggregateCompliancePackReportWithOptions(request, runtime);
|
|
13134
14283
|
}
|
|
13135
14284
|
/**
|
|
13136
|
-
* >
|
|
13137
|
-
* The
|
|
14285
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateConfigRulesReport](~~262706~~).
|
|
14286
|
+
* The topic provides an example on how to generate a compliance evaluation report based on all rules in the `ca-f632626622af0079****` account group.
|
|
13138
14287
|
*
|
|
13139
14288
|
* @param request GenerateAggregateConfigRulesReportRequest
|
|
13140
14289
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13169,19 +14318,54 @@ class Client extends openapi_client_1.default {
|
|
|
13169
14318
|
return $tea.cast(await this.callApi(params, req, runtime), new GenerateAggregateConfigRulesReportResponse({}));
|
|
13170
14319
|
}
|
|
13171
14320
|
/**
|
|
13172
|
-
* >
|
|
13173
|
-
* The
|
|
14321
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateConfigRulesReport](~~262706~~).
|
|
14322
|
+
* The topic provides an example on how to generate a compliance evaluation report based on all rules in the `ca-f632626622af0079****` account group.
|
|
13174
14323
|
*
|
|
13175
14324
|
* @param request GenerateAggregateConfigRulesReportRequest
|
|
13176
14325
|
* @return GenerateAggregateConfigRulesReportResponse
|
|
13177
14326
|
*/
|
|
13178
14327
|
async generateAggregateConfigRulesReport(request) {
|
|
13179
14328
|
let runtime = new $Util.RuntimeOptions({});
|
|
13180
|
-
return await this.generateAggregateConfigRulesReportWithOptions(request, runtime);
|
|
14329
|
+
return await this.generateAggregateConfigRulesReportWithOptions(request, runtime);
|
|
14330
|
+
}
|
|
14331
|
+
async generateAggregateResourceInventoryWithOptions(request, runtime) {
|
|
14332
|
+
tea_util_1.default.validateModel(request);
|
|
14333
|
+
let query = {};
|
|
14334
|
+
if (!tea_util_1.default.isUnset(request.accountIds)) {
|
|
14335
|
+
query["AccountIds"] = request.accountIds;
|
|
14336
|
+
}
|
|
14337
|
+
if (!tea_util_1.default.isUnset(request.aggregatorId)) {
|
|
14338
|
+
query["AggregatorId"] = request.aggregatorId;
|
|
14339
|
+
}
|
|
14340
|
+
if (!tea_util_1.default.isUnset(request.regions)) {
|
|
14341
|
+
query["Regions"] = request.regions;
|
|
14342
|
+
}
|
|
14343
|
+
if (!tea_util_1.default.isUnset(request.resourceTypes)) {
|
|
14344
|
+
query["ResourceTypes"] = request.resourceTypes;
|
|
14345
|
+
}
|
|
14346
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14347
|
+
query: openapi_util_1.default.query(query),
|
|
14348
|
+
});
|
|
14349
|
+
let params = new $OpenApi.Params({
|
|
14350
|
+
action: "GenerateAggregateResourceInventory",
|
|
14351
|
+
version: "2020-09-07",
|
|
14352
|
+
protocol: "HTTPS",
|
|
14353
|
+
pathname: "/",
|
|
14354
|
+
method: "POST",
|
|
14355
|
+
authType: "AK",
|
|
14356
|
+
style: "RPC",
|
|
14357
|
+
reqBodyType: "formData",
|
|
14358
|
+
bodyType: "json",
|
|
14359
|
+
});
|
|
14360
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
|
|
14361
|
+
}
|
|
14362
|
+
async generateAggregateResourceInventory(request) {
|
|
14363
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14364
|
+
return await this.generateAggregateResourceInventoryWithOptions(request, runtime);
|
|
13181
14365
|
}
|
|
13182
14366
|
/**
|
|
13183
|
-
* >
|
|
13184
|
-
*
|
|
14367
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetCompliancePackReport operation. For more information, see [GetCompliancePackReport](~~263347~~).
|
|
14368
|
+
* This topic provides an example on how to generate a compliance evaluation report based on the `cp-a8a8626622af0082****` compliance package.
|
|
13185
14369
|
*
|
|
13186
14370
|
* @param request GenerateCompliancePackReportRequest
|
|
13187
14371
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13213,8 +14397,8 @@ class Client extends openapi_client_1.default {
|
|
|
13213
14397
|
return $tea.cast(await this.callApi(params, req, runtime), new GenerateCompliancePackReportResponse({}));
|
|
13214
14398
|
}
|
|
13215
14399
|
/**
|
|
13216
|
-
* >
|
|
13217
|
-
*
|
|
14400
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetCompliancePackReport operation. For more information, see [GetCompliancePackReport](~~263347~~).
|
|
14401
|
+
* This topic provides an example on how to generate a compliance evaluation report based on the `cp-a8a8626622af0082****` compliance package.
|
|
13218
14402
|
*
|
|
13219
14403
|
* @param request GenerateCompliancePackReportRequest
|
|
13220
14404
|
* @return GenerateCompliancePackReportResponse
|
|
@@ -13267,8 +14451,37 @@ class Client extends openapi_client_1.default {
|
|
|
13267
14451
|
let runtime = new $Util.RuntimeOptions({});
|
|
13268
14452
|
return await this.generateConfigRulesReportWithOptions(request, runtime);
|
|
13269
14453
|
}
|
|
14454
|
+
async generateResourceInventoryWithOptions(request, runtime) {
|
|
14455
|
+
tea_util_1.default.validateModel(request);
|
|
14456
|
+
let query = {};
|
|
14457
|
+
if (!tea_util_1.default.isUnset(request.regions)) {
|
|
14458
|
+
query["Regions"] = request.regions;
|
|
14459
|
+
}
|
|
14460
|
+
if (!tea_util_1.default.isUnset(request.resourceTypes)) {
|
|
14461
|
+
query["ResourceTypes"] = request.resourceTypes;
|
|
14462
|
+
}
|
|
14463
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14464
|
+
query: openapi_util_1.default.query(query),
|
|
14465
|
+
});
|
|
14466
|
+
let params = new $OpenApi.Params({
|
|
14467
|
+
action: "GenerateResourceInventory",
|
|
14468
|
+
version: "2020-09-07",
|
|
14469
|
+
protocol: "HTTPS",
|
|
14470
|
+
pathname: "/",
|
|
14471
|
+
method: "POST",
|
|
14472
|
+
authType: "AK",
|
|
14473
|
+
style: "RPC",
|
|
14474
|
+
reqBodyType: "formData",
|
|
14475
|
+
bodyType: "json",
|
|
14476
|
+
});
|
|
14477
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GenerateResourceInventoryResponse({}));
|
|
14478
|
+
}
|
|
14479
|
+
async generateResourceInventory(request) {
|
|
14480
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14481
|
+
return await this.generateResourceInventoryWithOptions(request, runtime);
|
|
14482
|
+
}
|
|
13270
14483
|
/**
|
|
13271
|
-
*
|
|
14484
|
+
* This topic provides an example on how to query the compliance evaluation results of member accounts for which the `cp-541e626622af0087****` compliance package takes effect in the `ca-04b3fd170e340007****` account group. The returned result shows that two member accounts are monitored by the compliance package and they are both evaluated as compliant.
|
|
13272
14485
|
*
|
|
13273
14486
|
* @param request GetAggregateAccountComplianceByPackRequest
|
|
13274
14487
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13294,7 +14507,7 @@ class Client extends openapi_client_1.default {
|
|
|
13294
14507
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateAccountComplianceByPackResponse({}));
|
|
13295
14508
|
}
|
|
13296
14509
|
/**
|
|
13297
|
-
*
|
|
14510
|
+
* This topic provides an example on how to query the compliance evaluation results of member accounts for which the `cp-541e626622af0087****` compliance package takes effect in the `ca-04b3fd170e340007****` account group. The returned result shows that two member accounts are monitored by the compliance package and they are both evaluated as compliant.
|
|
13298
14511
|
*
|
|
13299
14512
|
* @param request GetAggregateAccountComplianceByPackRequest
|
|
13300
14513
|
* @return GetAggregateAccountComplianceByPackResponse
|
|
@@ -13340,8 +14553,8 @@ class Client extends openapi_client_1.default {
|
|
|
13340
14553
|
return await this.getAggregateCompliancePackWithOptions(request, runtime);
|
|
13341
14554
|
}
|
|
13342
14555
|
/**
|
|
13343
|
-
* >
|
|
13344
|
-
*
|
|
14556
|
+
* > Before you call this operation, you must call the GenerateAggregateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateAggregateCompliancePackReport](~~262687~~).
|
|
14557
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.
|
|
13345
14558
|
*
|
|
13346
14559
|
* @param request GetAggregateCompliancePackReportRequest
|
|
13347
14560
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13367,8 +14580,8 @@ class Client extends openapi_client_1.default {
|
|
|
13367
14580
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateCompliancePackReportResponse({}));
|
|
13368
14581
|
}
|
|
13369
14582
|
/**
|
|
13370
|
-
* >
|
|
13371
|
-
*
|
|
14583
|
+
* > Before you call this operation, you must call the GenerateAggregateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateAggregateCompliancePackReport](~~262687~~).
|
|
14584
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.
|
|
13372
14585
|
*
|
|
13373
14586
|
* @param request GetAggregateCompliancePackReportRequest
|
|
13374
14587
|
* @return GetAggregateCompliancePackReportResponse
|
|
@@ -13377,6 +14590,32 @@ class Client extends openapi_client_1.default {
|
|
|
13377
14590
|
let runtime = new $Util.RuntimeOptions({});
|
|
13378
14591
|
return await this.getAggregateCompliancePackReportWithOptions(request, runtime);
|
|
13379
14592
|
}
|
|
14593
|
+
async getAggregateComplianceSummaryWithOptions(request, runtime) {
|
|
14594
|
+
tea_util_1.default.validateModel(request);
|
|
14595
|
+
let query = {};
|
|
14596
|
+
if (!tea_util_1.default.isUnset(request.aggregatorId)) {
|
|
14597
|
+
query["AggregatorId"] = request.aggregatorId;
|
|
14598
|
+
}
|
|
14599
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
14600
|
+
query: openapi_util_1.default.query(query),
|
|
14601
|
+
});
|
|
14602
|
+
let params = new $OpenApi.Params({
|
|
14603
|
+
action: "GetAggregateComplianceSummary",
|
|
14604
|
+
version: "2020-09-07",
|
|
14605
|
+
protocol: "HTTPS",
|
|
14606
|
+
pathname: "/",
|
|
14607
|
+
method: "POST",
|
|
14608
|
+
authType: "AK",
|
|
14609
|
+
style: "RPC",
|
|
14610
|
+
reqBodyType: "formData",
|
|
14611
|
+
bodyType: "json",
|
|
14612
|
+
});
|
|
14613
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
|
|
14614
|
+
}
|
|
14615
|
+
async getAggregateComplianceSummary(request) {
|
|
14616
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
14617
|
+
return await this.getAggregateComplianceSummaryWithOptions(request, runtime);
|
|
14618
|
+
}
|
|
13380
14619
|
async getAggregateConfigDeliveryChannelWithOptions(request, runtime) {
|
|
13381
14620
|
tea_util_1.default.validateModel(request);
|
|
13382
14621
|
let query = {};
|
|
@@ -13485,7 +14724,7 @@ class Client extends openapi_client_1.default {
|
|
|
13485
14724
|
return await this.getAggregateConfigRuleComplianceByPackWithOptions(request, runtime);
|
|
13486
14725
|
}
|
|
13487
14726
|
/**
|
|
13488
|
-
*
|
|
14727
|
+
* This topic provides an example on how to query the summary of compliance evaluation results by rule risk level in the `ca-3a58626622af0005****` account group. The returned result shows four rules that are specified with the high risk level. One of the rules detects non-compliant resources, and the resources evaluated by the remaining three are compliant.
|
|
13489
14728
|
*
|
|
13490
14729
|
* @param request GetAggregateConfigRuleSummaryByRiskLevelRequest
|
|
13491
14730
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13511,7 +14750,7 @@ class Client extends openapi_client_1.default {
|
|
|
13511
14750
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRuleSummaryByRiskLevelResponse({}));
|
|
13512
14751
|
}
|
|
13513
14752
|
/**
|
|
13514
|
-
*
|
|
14753
|
+
* This topic provides an example on how to query the summary of compliance evaluation results by rule risk level in the `ca-3a58626622af0005****` account group. The returned result shows four rules that are specified with the high risk level. One of the rules detects non-compliant resources, and the resources evaluated by the remaining three are compliant.
|
|
13515
14754
|
*
|
|
13516
14755
|
* @param request GetAggregateConfigRuleSummaryByRiskLevelRequest
|
|
13517
14756
|
* @return GetAggregateConfigRuleSummaryByRiskLevelResponse
|
|
@@ -13521,8 +14760,8 @@ class Client extends openapi_client_1.default {
|
|
|
13521
14760
|
return await this.getAggregateConfigRuleSummaryByRiskLevelWithOptions(request, runtime);
|
|
13522
14761
|
}
|
|
13523
14762
|
/**
|
|
13524
|
-
* >
|
|
13525
|
-
*
|
|
14763
|
+
* > Before you call this operation, you must call the GenerateAggregateConfigRulesReport operation to generate the latest compliance evaluation report based on all rules in an account group. For more information, see [GenerateAggregateConfigRulesReport](~~262701~~).
|
|
14764
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on all rules in the `ca-f632626622af0079****` account group.
|
|
13526
14765
|
*
|
|
13527
14766
|
* @param request GetAggregateConfigRulesReportRequest
|
|
13528
14767
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13554,8 +14793,8 @@ class Client extends openapi_client_1.default {
|
|
|
13554
14793
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateConfigRulesReportResponse({}));
|
|
13555
14794
|
}
|
|
13556
14795
|
/**
|
|
13557
|
-
* >
|
|
13558
|
-
*
|
|
14796
|
+
* > Before you call this operation, you must call the GenerateAggregateConfigRulesReport operation to generate the latest compliance evaluation report based on all rules in an account group. For more information, see [GenerateAggregateConfigRulesReport](~~262701~~).
|
|
14797
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on all rules in the `ca-f632626622af0079****` account group.
|
|
13559
14798
|
*
|
|
13560
14799
|
* @param request GetAggregateConfigRulesReportRequest
|
|
13561
14800
|
* @return GetAggregateConfigRulesReportResponse
|
|
@@ -13565,8 +14804,7 @@ class Client extends openapi_client_1.default {
|
|
|
13565
14804
|
return await this.getAggregateConfigRulesReportWithOptions(request, runtime);
|
|
13566
14805
|
}
|
|
13567
14806
|
/**
|
|
13568
|
-
*
|
|
13569
|
-
* For more information about how to query the type of a resource, see [ListAggregateDiscoveredResources](~~411691~~).
|
|
14807
|
+
* This topic provides an example on how to query the `new-bucket` resource in the `ca-5885626622af0008****` account group.
|
|
13570
14808
|
*
|
|
13571
14809
|
* @param request GetAggregateDiscoveredResourceRequest
|
|
13572
14810
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13592,8 +14830,7 @@ class Client extends openapi_client_1.default {
|
|
|
13592
14830
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateDiscoveredResourceResponse({}));
|
|
13593
14831
|
}
|
|
13594
14832
|
/**
|
|
13595
|
-
*
|
|
13596
|
-
* For more information about how to query the type of a resource, see [ListAggregateDiscoveredResources](~~411691~~).
|
|
14833
|
+
* This topic provides an example on how to query the `new-bucket` resource in the `ca-5885626622af0008****` account group.
|
|
13597
14834
|
*
|
|
13598
14835
|
* @param request GetAggregateDiscoveredResourceRequest
|
|
13599
14836
|
* @return GetAggregateDiscoveredResourceResponse
|
|
@@ -13603,8 +14840,7 @@ class Client extends openapi_client_1.default {
|
|
|
13603
14840
|
return await this.getAggregateDiscoveredResourceWithOptions(request, runtime);
|
|
13604
14841
|
}
|
|
13605
14842
|
/**
|
|
13606
|
-
* The
|
|
13607
|
-
* For more information about how to query the ID of a rule, see [ListAggregateConfigRules](~~264148~~).
|
|
14843
|
+
* The sample request in this topic shows you how to query the compliance evaluation results based on the `cr-d369626622af008e****` rule in the `ca-a4e5626622af0079****` account group. The return result shows that a total of 10 resources are evaluated by the rule and five of them are evaluated as compliant.
|
|
13608
14844
|
*
|
|
13609
14845
|
* @param request GetAggregateResourceComplianceByConfigRuleRequest
|
|
13610
14846
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13645,8 +14881,7 @@ class Client extends openapi_client_1.default {
|
|
|
13645
14881
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByConfigRuleResponse({}));
|
|
13646
14882
|
}
|
|
13647
14883
|
/**
|
|
13648
|
-
* The
|
|
13649
|
-
* For more information about how to query the ID of a rule, see [ListAggregateConfigRules](~~264148~~).
|
|
14884
|
+
* The sample request in this topic shows you how to query the compliance evaluation results based on the `cr-d369626622af008e****` rule in the `ca-a4e5626622af0079****` account group. The return result shows that a total of 10 resources are evaluated by the rule and five of them are evaluated as compliant.
|
|
13650
14885
|
*
|
|
13651
14886
|
* @param request GetAggregateResourceComplianceByConfigRuleRequest
|
|
13652
14887
|
* @return GetAggregateResourceComplianceByConfigRuleResponse
|
|
@@ -13656,7 +14891,7 @@ class Client extends openapi_client_1.default {
|
|
|
13656
14891
|
return await this.getAggregateResourceComplianceByConfigRuleWithOptions(request, runtime);
|
|
13657
14892
|
}
|
|
13658
14893
|
/**
|
|
13659
|
-
*
|
|
14894
|
+
* This topic provides an example on how to query the compliance evaluation results of resources monitored based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****`account group. The returned result shows that the total number of monitored resources is `10` and the number of non-compliant resources is `7`.
|
|
13660
14895
|
*
|
|
13661
14896
|
* @param request GetAggregateResourceComplianceByPackRequest
|
|
13662
14897
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13682,7 +14917,7 @@ class Client extends openapi_client_1.default {
|
|
|
13682
14917
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceByPackResponse({}));
|
|
13683
14918
|
}
|
|
13684
14919
|
/**
|
|
13685
|
-
*
|
|
14920
|
+
* This topic provides an example on how to query the compliance evaluation results of resources monitored based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****`account group. The returned result shows that the total number of monitored resources is `10` and the number of non-compliant resources is `7`.
|
|
13686
14921
|
*
|
|
13687
14922
|
* @param request GetAggregateResourceComplianceByPackRequest
|
|
13688
14923
|
* @return GetAggregateResourceComplianceByPackResponse
|
|
@@ -13750,7 +14985,7 @@ class Client extends openapi_client_1.default {
|
|
|
13750
14985
|
return await this.getAggregateResourceComplianceGroupByResourceTypeWithOptions(request, runtime);
|
|
13751
14986
|
}
|
|
13752
14987
|
/**
|
|
13753
|
-
* The
|
|
14988
|
+
* The sample request in this topic shows you how to query the compliance timeline of the `new-bucket` resource that resides in the `cn-hangzhou` region within the `100931896542****` member account of the `ca-5885626622af0008****` account group. The new-bucket resource is an Object Storage Service (OSS) bucket. The return result shows the following two timestamps on the compliance timeline: `1625200295276` and `1625200228510`. The first timestamp indicates 12:31:35 on July 2, 2021 (UTC+8), and the second timestamp indicates 12:30:28 on July 2, 2021 (UTC+8).
|
|
13754
14989
|
*
|
|
13755
14990
|
* @param request GetAggregateResourceComplianceTimelineRequest
|
|
13756
14991
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13776,7 +15011,7 @@ class Client extends openapi_client_1.default {
|
|
|
13776
15011
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateResourceComplianceTimelineResponse({}));
|
|
13777
15012
|
}
|
|
13778
15013
|
/**
|
|
13779
|
-
* The
|
|
15014
|
+
* The sample request in this topic shows you how to query the compliance timeline of the `new-bucket` resource that resides in the `cn-hangzhou` region within the `100931896542****` member account of the `ca-5885626622af0008****` account group. The new-bucket resource is an Object Storage Service (OSS) bucket. The return result shows the following two timestamps on the compliance timeline: `1625200295276` and `1625200228510`. The first timestamp indicates 12:31:35 on July 2, 2021 (UTC+8), and the second timestamp indicates 12:30:28 on July 2, 2021 (UTC+8).
|
|
13780
15015
|
*
|
|
13781
15016
|
* @param request GetAggregateResourceComplianceTimelineRequest
|
|
13782
15017
|
* @return GetAggregateResourceComplianceTimelineResponse
|
|
@@ -13786,8 +15021,7 @@ class Client extends openapi_client_1.default {
|
|
|
13786
15021
|
return await this.getAggregateResourceComplianceTimelineWithOptions(request, runtime);
|
|
13787
15022
|
}
|
|
13788
15023
|
/**
|
|
13789
|
-
* The
|
|
13790
|
-
* For more information about how to obtain the ID of a resource, see [ListAggregateDiscoveredResources](~~265983~~).
|
|
15024
|
+
* The sample request in this topic shows you how to query the configuration timeline of the `new-bucket` resource that resides in the `cn-hangzhou` region within the `100931896542****` member account of the `ca-5885626622af0008****` account group. The new-bucket resource is an Object Storage Service (OSS) bucket. The return result shows that the timestamp when the resource configuration changes is `1624961112000`. The timestamp indicates 18:05:12 on June 29, 2021 (UTC+8).
|
|
13791
15025
|
*
|
|
13792
15026
|
* @param request GetAggregateResourceConfigurationTimelineRequest
|
|
13793
15027
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13813,8 +15047,7 @@ class Client extends openapi_client_1.default {
|
|
|
13813
15047
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateResourceConfigurationTimelineResponse({}));
|
|
13814
15048
|
}
|
|
13815
15049
|
/**
|
|
13816
|
-
* The
|
|
13817
|
-
* For more information about how to obtain the ID of a resource, see [ListAggregateDiscoveredResources](~~265983~~).
|
|
15050
|
+
* The sample request in this topic shows you how to query the configuration timeline of the `new-bucket` resource that resides in the `cn-hangzhou` region within the `100931896542****` member account of the `ca-5885626622af0008****` account group. The new-bucket resource is an Object Storage Service (OSS) bucket. The return result shows that the timestamp when the resource configuration changes is `1624961112000`. The timestamp indicates 18:05:12 on June 29, 2021 (UTC+8).
|
|
13818
15051
|
*
|
|
13819
15052
|
* @param request GetAggregateResourceConfigurationTimelineRequest
|
|
13820
15053
|
* @return GetAggregateResourceConfigurationTimelineResponse
|
|
@@ -13824,8 +15057,7 @@ class Client extends openapi_client_1.default {
|
|
|
13824
15057
|
return await this.getAggregateResourceConfigurationTimelineWithOptions(request, runtime);
|
|
13825
15058
|
}
|
|
13826
15059
|
/**
|
|
13827
|
-
*
|
|
13828
|
-
* For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).
|
|
15060
|
+
* This topic provides an example on how to query the statistics on the resources in an account group named `ca-a260626622af0005****` by region. The returned result shows that a total of `10` resources exist in the `cn-hangzhou` region.
|
|
13829
15061
|
*
|
|
13830
15062
|
* @param request GetAggregateResourceCountsGroupByRegionRequest
|
|
13831
15063
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -13866,8 +15098,7 @@ class Client extends openapi_client_1.default {
|
|
|
13866
15098
|
return $tea.cast(await this.callApi(params, req, runtime), new GetAggregateResourceCountsGroupByRegionResponse({}));
|
|
13867
15099
|
}
|
|
13868
15100
|
/**
|
|
13869
|
-
*
|
|
13870
|
-
* For more information about how to obtain the ID of an account group, see [ListAggregators](~~255797~~).
|
|
15101
|
+
* This topic provides an example on how to query the statistics on the resources in an account group named `ca-a260626622af0005****` by region. The returned result shows that a total of `10` resources exist in the `cn-hangzhou` region.
|
|
13871
15102
|
*
|
|
13872
15103
|
* @param request GetAggregateResourceCountsGroupByRegionRequest
|
|
13873
15104
|
* @return GetAggregateResourceCountsGroupByRegionResponse
|
|
@@ -14000,8 +15231,8 @@ class Client extends openapi_client_1.default {
|
|
|
14000
15231
|
return await this.getCompliancePackWithOptions(request, runtime);
|
|
14001
15232
|
}
|
|
14002
15233
|
/**
|
|
14003
|
-
* >
|
|
14004
|
-
*
|
|
15234
|
+
* > Before you call this operation, you must call the GenerateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateCompliancePackReport](~~263525~~).
|
|
15235
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package.
|
|
14005
15236
|
*
|
|
14006
15237
|
* @param request GetCompliancePackReportRequest
|
|
14007
15238
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14027,8 +15258,8 @@ class Client extends openapi_client_1.default {
|
|
|
14027
15258
|
return $tea.cast(await this.callApi(params, req, runtime), new GetCompliancePackReportResponse({}));
|
|
14028
15259
|
}
|
|
14029
15260
|
/**
|
|
14030
|
-
* >
|
|
14031
|
-
*
|
|
15261
|
+
* > Before you call this operation, you must call the GenerateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateCompliancePackReport](~~263525~~).
|
|
15262
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package.
|
|
14032
15263
|
*
|
|
14033
15264
|
* @param request GetCompliancePackReportRequest
|
|
14034
15265
|
* @return GetCompliancePackReportResponse
|
|
@@ -14037,6 +15268,25 @@ class Client extends openapi_client_1.default {
|
|
|
14037
15268
|
let runtime = new $Util.RuntimeOptions({});
|
|
14038
15269
|
return await this.getCompliancePackReportWithOptions(request, runtime);
|
|
14039
15270
|
}
|
|
15271
|
+
async getComplianceSummaryWithOptions(runtime) {
|
|
15272
|
+
let req = new $OpenApi.OpenApiRequest({});
|
|
15273
|
+
let params = new $OpenApi.Params({
|
|
15274
|
+
action: "GetComplianceSummary",
|
|
15275
|
+
version: "2020-09-07",
|
|
15276
|
+
protocol: "HTTPS",
|
|
15277
|
+
pathname: "/",
|
|
15278
|
+
method: "POST",
|
|
15279
|
+
authType: "AK",
|
|
15280
|
+
style: "RPC",
|
|
15281
|
+
reqBodyType: "formData",
|
|
15282
|
+
bodyType: "json",
|
|
15283
|
+
});
|
|
15284
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetComplianceSummaryResponse({}));
|
|
15285
|
+
}
|
|
15286
|
+
async getComplianceSummary() {
|
|
15287
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15288
|
+
return await this.getComplianceSummaryWithOptions(runtime);
|
|
15289
|
+
}
|
|
14040
15290
|
async getConfigDeliveryChannelWithOptions(request, runtime) {
|
|
14041
15291
|
tea_util_1.default.validateModel(request);
|
|
14042
15292
|
let query = {};
|
|
@@ -14064,7 +15314,7 @@ class Client extends openapi_client_1.default {
|
|
|
14064
15314
|
return await this.getConfigDeliveryChannelWithOptions(request, runtime);
|
|
14065
15315
|
}
|
|
14066
15316
|
/**
|
|
14067
|
-
* This example
|
|
15317
|
+
* This topic provides an example on how to query the details of the `cr-7f7d626622af0041****` rule.
|
|
14068
15318
|
*
|
|
14069
15319
|
* @param request GetConfigRuleRequest
|
|
14070
15320
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14093,7 +15343,7 @@ class Client extends openapi_client_1.default {
|
|
|
14093
15343
|
return $tea.cast(await this.callApi(params, req, runtime), new GetConfigRuleResponse({}));
|
|
14094
15344
|
}
|
|
14095
15345
|
/**
|
|
14096
|
-
* This example
|
|
15346
|
+
* This topic provides an example on how to query the details of the `cr-7f7d626622af0041****` rule.
|
|
14097
15347
|
*
|
|
14098
15348
|
* @param request GetConfigRuleRequest
|
|
14099
15349
|
* @return GetConfigRuleResponse
|
|
@@ -14210,6 +15460,25 @@ class Client extends openapi_client_1.default {
|
|
|
14210
15460
|
let runtime = new $Util.RuntimeOptions({});
|
|
14211
15461
|
return await this.getConfigRulesReportWithOptions(request, runtime);
|
|
14212
15462
|
}
|
|
15463
|
+
async getConfigurationRecorderWithOptions(runtime) {
|
|
15464
|
+
let req = new $OpenApi.OpenApiRequest({});
|
|
15465
|
+
let params = new $OpenApi.Params({
|
|
15466
|
+
action: "GetConfigurationRecorder",
|
|
15467
|
+
version: "2020-09-07",
|
|
15468
|
+
protocol: "HTTPS",
|
|
15469
|
+
pathname: "/",
|
|
15470
|
+
method: "POST",
|
|
15471
|
+
authType: "AK",
|
|
15472
|
+
style: "RPC",
|
|
15473
|
+
reqBodyType: "formData",
|
|
15474
|
+
bodyType: "json",
|
|
15475
|
+
});
|
|
15476
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetConfigurationRecorderResponse({}));
|
|
15477
|
+
}
|
|
15478
|
+
async getConfigurationRecorder() {
|
|
15479
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15480
|
+
return await this.getConfigurationRecorderWithOptions(runtime);
|
|
15481
|
+
}
|
|
14213
15482
|
/**
|
|
14214
15483
|
* The sample request in this topic shows you how to query the details of the `new-bucket` resource.
|
|
14215
15484
|
*
|
|
@@ -14389,6 +15658,32 @@ class Client extends openapi_client_1.default {
|
|
|
14389
15658
|
let runtime = new $Util.RuntimeOptions({});
|
|
14390
15659
|
return await this.getManagedRuleWithOptions(request, runtime);
|
|
14391
15660
|
}
|
|
15661
|
+
async getRemediationTemplateWithOptions(request, runtime) {
|
|
15662
|
+
tea_util_1.default.validateModel(request);
|
|
15663
|
+
let query = {};
|
|
15664
|
+
if (!tea_util_1.default.isUnset(request.templateIdentifier)) {
|
|
15665
|
+
query["TemplateIdentifier"] = request.templateIdentifier;
|
|
15666
|
+
}
|
|
15667
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15668
|
+
query: openapi_util_1.default.query(query),
|
|
15669
|
+
});
|
|
15670
|
+
let params = new $OpenApi.Params({
|
|
15671
|
+
action: "GetRemediationTemplate",
|
|
15672
|
+
version: "2020-09-07",
|
|
15673
|
+
protocol: "HTTPS",
|
|
15674
|
+
pathname: "/",
|
|
15675
|
+
method: "POST",
|
|
15676
|
+
authType: "AK",
|
|
15677
|
+
style: "RPC",
|
|
15678
|
+
reqBodyType: "formData",
|
|
15679
|
+
bodyType: "json",
|
|
15680
|
+
});
|
|
15681
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetRemediationTemplateResponse({}));
|
|
15682
|
+
}
|
|
15683
|
+
async getRemediationTemplate(request) {
|
|
15684
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15685
|
+
return await this.getRemediationTemplateWithOptions(request, runtime);
|
|
15686
|
+
}
|
|
14392
15687
|
/**
|
|
14393
15688
|
* In this topic, the `cr-d369626622af008e****` rule is used as an example. The return result shows that a total of 10 resources are evaluated by the rule and `five` of them are evaluated as compliant.
|
|
14394
15689
|
*
|
|
@@ -14426,7 +15721,7 @@ class Client extends openapi_client_1.default {
|
|
|
14426
15721
|
return await this.getResourceComplianceByConfigRuleWithOptions(request, runtime);
|
|
14427
15722
|
}
|
|
14428
15723
|
/**
|
|
14429
|
-
*
|
|
15724
|
+
* This topic provides an example on how to query the compliance evaluation results of resources monitored by using the `cp-541e626622af0087****` compliance package. The returned result shows a total of 10 resources and seven of them are evaluated as non-compliant.
|
|
14430
15725
|
*
|
|
14431
15726
|
* @param request GetResourceComplianceByPackRequest
|
|
14432
15727
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14452,7 +15747,7 @@ class Client extends openapi_client_1.default {
|
|
|
14452
15747
|
return $tea.cast(await this.callApi(params, req, runtime), new GetResourceComplianceByPackResponse({}));
|
|
14453
15748
|
}
|
|
14454
15749
|
/**
|
|
14455
|
-
*
|
|
15750
|
+
* This topic provides an example on how to query the compliance evaluation results of resources monitored by using the `cp-541e626622af0087****` compliance package. The returned result shows a total of 10 resources and seven of them are evaluated as non-compliant.
|
|
14456
15751
|
*
|
|
14457
15752
|
* @param request GetResourceComplianceByPackRequest
|
|
14458
15753
|
* @return GetResourceComplianceByPackResponse
|
|
@@ -14550,7 +15845,7 @@ class Client extends openapi_client_1.default {
|
|
|
14550
15845
|
return await this.getResourceComplianceTimelineWithOptions(request, runtime);
|
|
14551
15846
|
}
|
|
14552
15847
|
/**
|
|
14553
|
-
* The
|
|
15848
|
+
* The sample request in this topic shows you how to query the configuration timeline of the `new-bucket` resource that resides in the `cn-hangzhou` region. The new-bucket resource is an Object Storage Service (OSS) bucket. The return result shows that the timestamp when the resource configuration changes is `1624961112000`. The timestamp indicates 18:05:12 on June 29, 2021 (UTC+8).
|
|
14554
15849
|
*
|
|
14555
15850
|
* @param request GetResourceConfigurationTimelineRequest
|
|
14556
15851
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14576,7 +15871,7 @@ class Client extends openapi_client_1.default {
|
|
|
14576
15871
|
return $tea.cast(await this.callApi(params, req, runtime), new GetResourceConfigurationTimelineResponse({}));
|
|
14577
15872
|
}
|
|
14578
15873
|
/**
|
|
14579
|
-
* The
|
|
15874
|
+
* The sample request in this topic shows you how to query the configuration timeline of the `new-bucket` resource that resides in the `cn-hangzhou` region. The new-bucket resource is an Object Storage Service (OSS) bucket. The return result shows that the timestamp when the resource configuration changes is `1624961112000`. The timestamp indicates 18:05:12 on June 29, 2021 (UTC+8).
|
|
14580
15875
|
*
|
|
14581
15876
|
* @param request GetResourceConfigurationTimelineRequest
|
|
14582
15877
|
* @return GetResourceConfigurationTimelineResponse
|
|
@@ -14585,6 +15880,45 @@ class Client extends openapi_client_1.default {
|
|
|
14585
15880
|
let runtime = new $Util.RuntimeOptions({});
|
|
14586
15881
|
return await this.getResourceConfigurationTimelineWithOptions(request, runtime);
|
|
14587
15882
|
}
|
|
15883
|
+
/**
|
|
15884
|
+
* This topic provides an example to show how to query the resource relationships that are supported by the ACS::ECS::Instance resource type.
|
|
15885
|
+
*
|
|
15886
|
+
* @param request GetSupportedResourceRelationConfigRequest
|
|
15887
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15888
|
+
* @return GetSupportedResourceRelationConfigResponse
|
|
15889
|
+
*/
|
|
15890
|
+
async getSupportedResourceRelationConfigWithOptions(request, runtime) {
|
|
15891
|
+
tea_util_1.default.validateModel(request);
|
|
15892
|
+
let query = {};
|
|
15893
|
+
if (!tea_util_1.default.isUnset(request.resourceType)) {
|
|
15894
|
+
query["ResourceType"] = request.resourceType;
|
|
15895
|
+
}
|
|
15896
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15897
|
+
query: openapi_util_1.default.query(query),
|
|
15898
|
+
});
|
|
15899
|
+
let params = new $OpenApi.Params({
|
|
15900
|
+
action: "GetSupportedResourceRelationConfig",
|
|
15901
|
+
version: "2020-09-07",
|
|
15902
|
+
protocol: "HTTPS",
|
|
15903
|
+
pathname: "/",
|
|
15904
|
+
method: "POST",
|
|
15905
|
+
authType: "AK",
|
|
15906
|
+
style: "RPC",
|
|
15907
|
+
reqBodyType: "formData",
|
|
15908
|
+
bodyType: "json",
|
|
15909
|
+
});
|
|
15910
|
+
return $tea.cast(await this.callApi(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
|
|
15911
|
+
}
|
|
15912
|
+
/**
|
|
15913
|
+
* This topic provides an example to show how to query the resource relationships that are supported by the ACS::ECS::Instance resource type.
|
|
15914
|
+
*
|
|
15915
|
+
* @param request GetSupportedResourceRelationConfigRequest
|
|
15916
|
+
* @return GetSupportedResourceRelationConfigResponse
|
|
15917
|
+
*/
|
|
15918
|
+
async getSupportedResourceRelationConfig(request) {
|
|
15919
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
15920
|
+
return await this.getSupportedResourceRelationConfigWithOptions(request, runtime);
|
|
15921
|
+
}
|
|
14588
15922
|
/**
|
|
14589
15923
|
* After you ignore a resource that is evaluated as incompliant by using a rule, the resource is still evaluated by using the rule, but the compliance result is Ignored.
|
|
14590
15924
|
* This example shows how to ignore the `lb-hp3a3b4ztyfm2plgm****` incompliant resource that is evaluated by using the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region where the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
|
|
@@ -14845,7 +16179,7 @@ class Client extends openapi_client_1.default {
|
|
|
14845
16179
|
return await this.listAggregateConfigRuleEvaluationResultsWithOptions(request, runtime);
|
|
14846
16180
|
}
|
|
14847
16181
|
/**
|
|
14848
|
-
* This topic provides an example on how to query the rules in an account group whose ID is `ca-f632626622af0079****`. The
|
|
16182
|
+
* This topic provides an example on how to query the rules in an account group whose ID is `ca-f632626622af0079****`. The returned result shows a total of one rule and two evaluated resources. The resources are both evaluated as `COMPLIANT`.
|
|
14849
16183
|
*
|
|
14850
16184
|
* @param request ListAggregateConfigRulesRequest
|
|
14851
16185
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14898,7 +16232,7 @@ class Client extends openapi_client_1.default {
|
|
|
14898
16232
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAggregateConfigRulesResponse({}));
|
|
14899
16233
|
}
|
|
14900
16234
|
/**
|
|
14901
|
-
* This topic provides an example on how to query the rules in an account group whose ID is `ca-f632626622af0079****`. The
|
|
16235
|
+
* This topic provides an example on how to query the rules in an account group whose ID is `ca-f632626622af0079****`. The returned result shows a total of one rule and two evaluated resources. The resources are both evaluated as `COMPLIANT`.
|
|
14902
16236
|
*
|
|
14903
16237
|
* @param request ListAggregateConfigRulesRequest
|
|
14904
16238
|
* @return ListAggregateConfigRulesResponse
|
|
@@ -14908,7 +16242,7 @@ class Client extends openapi_client_1.default {
|
|
|
14908
16242
|
return await this.listAggregateConfigRulesWithOptions(request, runtime);
|
|
14909
16243
|
}
|
|
14910
16244
|
/**
|
|
14911
|
-
*
|
|
16245
|
+
* This topic provides an example on how to query a list of resources in the `ca-c560626622af0005****` account group. The returned result shows that eight resources exist in the account group.
|
|
14912
16246
|
*
|
|
14913
16247
|
* @param request ListAggregateDiscoveredResourcesRequest
|
|
14914
16248
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14961,7 +16295,7 @@ class Client extends openapi_client_1.default {
|
|
|
14961
16295
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAggregateDiscoveredResourcesResponse({}));
|
|
14962
16296
|
}
|
|
14963
16297
|
/**
|
|
14964
|
-
*
|
|
16298
|
+
* This topic provides an example on how to query a list of resources in the `ca-c560626622af0005****` account group. The returned result shows that eight resources exist in the account group.
|
|
14965
16299
|
*
|
|
14966
16300
|
* @param request ListAggregateDiscoveredResourcesRequest
|
|
14967
16301
|
* @return ListAggregateDiscoveredResourcesResponse
|
|
@@ -14971,7 +16305,7 @@ class Client extends openapi_client_1.default {
|
|
|
14971
16305
|
return await this.listAggregateDiscoveredResourcesWithOptions(request, runtime);
|
|
14972
16306
|
}
|
|
14973
16307
|
/**
|
|
14974
|
-
*
|
|
16308
|
+
* This topic provides an example on how to query the remediation templates of the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`.
|
|
14975
16309
|
*
|
|
14976
16310
|
* @param request ListAggregateRemediationsRequest
|
|
14977
16311
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15003,7 +16337,7 @@ class Client extends openapi_client_1.default {
|
|
|
15003
16337
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAggregateRemediationsResponse({}));
|
|
15004
16338
|
}
|
|
15005
16339
|
/**
|
|
15006
|
-
*
|
|
16340
|
+
* This topic provides an example on how to query the remediation templates of the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`.
|
|
15007
16341
|
*
|
|
15008
16342
|
* @param request ListAggregateRemediationsRequest
|
|
15009
16343
|
* @return ListAggregateRemediationsResponse
|
|
@@ -15069,6 +16403,13 @@ class Client extends openapi_client_1.default {
|
|
|
15069
16403
|
let runtime = new $Util.RuntimeOptions({});
|
|
15070
16404
|
return await this.listAggregateResourceEvaluationResultsWithOptions(request, runtime);
|
|
15071
16405
|
}
|
|
16406
|
+
/**
|
|
16407
|
+
* This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance in an account group.
|
|
16408
|
+
*
|
|
16409
|
+
* @param request ListAggregateResourceRelationsRequest
|
|
16410
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
16411
|
+
* @return ListAggregateResourceRelationsResponse
|
|
16412
|
+
*/
|
|
15072
16413
|
async listAggregateResourceRelationsWithOptions(request, runtime) {
|
|
15073
16414
|
tea_util_1.default.validateModel(request);
|
|
15074
16415
|
let query = {};
|
|
@@ -15118,6 +16459,12 @@ class Client extends openapi_client_1.default {
|
|
|
15118
16459
|
});
|
|
15119
16460
|
return $tea.cast(await this.callApi(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
|
|
15120
16461
|
}
|
|
16462
|
+
/**
|
|
16463
|
+
* This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance in an account group.
|
|
16464
|
+
*
|
|
16465
|
+
* @param request ListAggregateResourceRelationsRequest
|
|
16466
|
+
* @return ListAggregateResourceRelationsResponse
|
|
16467
|
+
*/
|
|
15121
16468
|
async listAggregateResourceRelations(request) {
|
|
15122
16469
|
let runtime = new $Util.RuntimeOptions({});
|
|
15123
16470
|
return await this.listAggregateResourceRelationsWithOptions(request, runtime);
|
|
@@ -15508,6 +16855,41 @@ class Client extends openapi_client_1.default {
|
|
|
15508
16855
|
let runtime = new $Util.RuntimeOptions({});
|
|
15509
16856
|
return await this.listPreManagedRulesWithOptions(request, runtime);
|
|
15510
16857
|
}
|
|
16858
|
+
async listRemediationExecutionsWithOptions(request, runtime) {
|
|
16859
|
+
tea_util_1.default.validateModel(request);
|
|
16860
|
+
let query = {};
|
|
16861
|
+
if (!tea_util_1.default.isUnset(request.configRuleId)) {
|
|
16862
|
+
query["ConfigRuleId"] = request.configRuleId;
|
|
16863
|
+
}
|
|
16864
|
+
if (!tea_util_1.default.isUnset(request.executionStatus)) {
|
|
16865
|
+
query["ExecutionStatus"] = request.executionStatus;
|
|
16866
|
+
}
|
|
16867
|
+
if (!tea_util_1.default.isUnset(request.maxResults)) {
|
|
16868
|
+
query["MaxResults"] = request.maxResults;
|
|
16869
|
+
}
|
|
16870
|
+
if (!tea_util_1.default.isUnset(request.nextToken)) {
|
|
16871
|
+
query["NextToken"] = request.nextToken;
|
|
16872
|
+
}
|
|
16873
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16874
|
+
query: openapi_util_1.default.query(query),
|
|
16875
|
+
});
|
|
16876
|
+
let params = new $OpenApi.Params({
|
|
16877
|
+
action: "ListRemediationExecutions",
|
|
16878
|
+
version: "2020-09-07",
|
|
16879
|
+
protocol: "HTTPS",
|
|
16880
|
+
pathname: "/",
|
|
16881
|
+
method: "POST",
|
|
16882
|
+
authType: "AK",
|
|
16883
|
+
style: "RPC",
|
|
16884
|
+
reqBodyType: "formData",
|
|
16885
|
+
bodyType: "json",
|
|
16886
|
+
});
|
|
16887
|
+
return $tea.cast(await this.callApi(params, req, runtime), new ListRemediationExecutionsResponse({}));
|
|
16888
|
+
}
|
|
16889
|
+
async listRemediationExecutions(request) {
|
|
16890
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
16891
|
+
return await this.listRemediationExecutionsWithOptions(request, runtime);
|
|
16892
|
+
}
|
|
15511
16893
|
/**
|
|
15512
16894
|
* In this topic, the `oss-bucket-public-write-prohibited` managed rule is used as an example. The return result shows the details of the remediation template of the `OOS` type for the managed rule. OOS represents Operation Orchestration Service.
|
|
15513
16895
|
*
|
|
@@ -15557,7 +16939,7 @@ class Client extends openapi_client_1.default {
|
|
|
15557
16939
|
return await this.listRemediationTemplatesWithOptions(request, runtime);
|
|
15558
16940
|
}
|
|
15559
16941
|
/**
|
|
15560
|
-
*
|
|
16942
|
+
* This topic provides an example on how to query the remediation templates for the rule whose ID is `cr-6b7c626622af00b4****`.
|
|
15561
16943
|
*
|
|
15562
16944
|
* @param request ListRemediationsRequest
|
|
15563
16945
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15592,7 +16974,7 @@ class Client extends openapi_client_1.default {
|
|
|
15592
16974
|
return $tea.cast(await this.callApi(params, req, runtime), new ListRemediationsResponse({}));
|
|
15593
16975
|
}
|
|
15594
16976
|
/**
|
|
15595
|
-
*
|
|
16977
|
+
* This topic provides an example on how to query the remediation templates for the rule whose ID is `cr-6b7c626622af00b4****`.
|
|
15596
16978
|
*
|
|
15597
16979
|
* @param request ListRemediationsRequest
|
|
15598
16980
|
* @return ListRemediationsResponse
|
|
@@ -15655,6 +17037,13 @@ class Client extends openapi_client_1.default {
|
|
|
15655
17037
|
let runtime = new $Util.RuntimeOptions({});
|
|
15656
17038
|
return await this.listResourceEvaluationResultsWithOptions(request, runtime);
|
|
15657
17039
|
}
|
|
17040
|
+
/**
|
|
17041
|
+
* This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance within the current Alibaba Cloud account.
|
|
17042
|
+
*
|
|
17043
|
+
* @param request ListResourceRelationsRequest
|
|
17044
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17045
|
+
* @return ListResourceRelationsResponse
|
|
17046
|
+
*/
|
|
15658
17047
|
async listResourceRelationsWithOptions(request, runtime) {
|
|
15659
17048
|
tea_util_1.default.validateModel(request);
|
|
15660
17049
|
let query = {};
|
|
@@ -15698,6 +17087,12 @@ class Client extends openapi_client_1.default {
|
|
|
15698
17087
|
});
|
|
15699
17088
|
return $tea.cast(await this.callApi(params, req, runtime), new ListResourceRelationsResponse({}));
|
|
15700
17089
|
}
|
|
17090
|
+
/**
|
|
17091
|
+
* This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance within the current Alibaba Cloud account.
|
|
17092
|
+
*
|
|
17093
|
+
* @param request ListResourceRelationsRequest
|
|
17094
|
+
* @return ListResourceRelationsResponse
|
|
17095
|
+
*/
|
|
15701
17096
|
async listResourceRelations(request) {
|
|
15702
17097
|
let runtime = new $Util.RuntimeOptions({});
|
|
15703
17098
|
return await this.listResourceRelationsWithOptions(request, runtime);
|
|
@@ -15745,10 +17140,43 @@ class Client extends openapi_client_1.default {
|
|
|
15745
17140
|
let runtime = new $Util.RuntimeOptions({});
|
|
15746
17141
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
15747
17142
|
}
|
|
17143
|
+
async putEvaluationsWithOptions(request, runtime) {
|
|
17144
|
+
tea_util_1.default.validateModel(request);
|
|
17145
|
+
let body = {};
|
|
17146
|
+
if (!tea_util_1.default.isUnset(request.deleteMode)) {
|
|
17147
|
+
body["DeleteMode"] = request.deleteMode;
|
|
17148
|
+
}
|
|
17149
|
+
if (!tea_util_1.default.isUnset(request.evaluations)) {
|
|
17150
|
+
body["Evaluations"] = request.evaluations;
|
|
17151
|
+
}
|
|
17152
|
+
if (!tea_util_1.default.isUnset(request.resultToken)) {
|
|
17153
|
+
body["ResultToken"] = request.resultToken;
|
|
17154
|
+
}
|
|
17155
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17156
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
17157
|
+
});
|
|
17158
|
+
let params = new $OpenApi.Params({
|
|
17159
|
+
action: "PutEvaluations",
|
|
17160
|
+
version: "2020-09-07",
|
|
17161
|
+
protocol: "HTTPS",
|
|
17162
|
+
pathname: "/",
|
|
17163
|
+
method: "POST",
|
|
17164
|
+
authType: "AK",
|
|
17165
|
+
style: "RPC",
|
|
17166
|
+
reqBodyType: "formData",
|
|
17167
|
+
bodyType: "json",
|
|
17168
|
+
});
|
|
17169
|
+
return $tea.cast(await this.callApi(params, req, runtime), new PutEvaluationsResponse({}));
|
|
17170
|
+
}
|
|
17171
|
+
async putEvaluations(request) {
|
|
17172
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17173
|
+
return await this.putEvaluationsWithOptions(request, runtime);
|
|
17174
|
+
}
|
|
15748
17175
|
/**
|
|
15749
|
-
*
|
|
15750
|
-
*
|
|
15751
|
-
*
|
|
17176
|
+
* ### Prerequisites
|
|
17177
|
+
* One or more non-compliant resources that are evaluated based on a rule are ignored.
|
|
17178
|
+
* ### Usage notes
|
|
17179
|
+
* The sample request in this topic shows you how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region in which the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
|
|
15752
17180
|
*
|
|
15753
17181
|
* @param tmpReq RevertAggregateEvaluationResultsRequest
|
|
15754
17182
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15788,9 +17216,10 @@ class Client extends openapi_client_1.default {
|
|
|
15788
17216
|
return $tea.cast(await this.callApi(params, req, runtime), new RevertAggregateEvaluationResultsResponse({}));
|
|
15789
17217
|
}
|
|
15790
17218
|
/**
|
|
15791
|
-
*
|
|
15792
|
-
*
|
|
15793
|
-
*
|
|
17219
|
+
* ### Prerequisites
|
|
17220
|
+
* One or more non-compliant resources that are evaluated based on a rule are ignored.
|
|
17221
|
+
* ### Usage notes
|
|
17222
|
+
* The sample request in this topic shows you how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region in which the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
|
|
15794
17223
|
*
|
|
15795
17224
|
* @param request RevertAggregateEvaluationResultsRequest
|
|
15796
17225
|
* @return RevertAggregateEvaluationResultsResponse
|
|
@@ -15800,9 +17229,10 @@ class Client extends openapi_client_1.default {
|
|
|
15800
17229
|
return await this.revertAggregateEvaluationResultsWithOptions(request, runtime);
|
|
15801
17230
|
}
|
|
15802
17231
|
/**
|
|
15803
|
-
*
|
|
15804
|
-
* ## Prerequisites
|
|
17232
|
+
* ### Prerequisites
|
|
15805
17233
|
* One or more non-compliant resources that are evaluated by a rule are ignored.
|
|
17234
|
+
* ### Usage notes
|
|
17235
|
+
* The sample request in this topic shows you how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051****` rule. The ID of the region in which the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.``
|
|
15806
17236
|
*
|
|
15807
17237
|
* @param tmpReq RevertEvaluationResultsRequest
|
|
15808
17238
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15839,9 +17269,10 @@ class Client extends openapi_client_1.default {
|
|
|
15839
17269
|
return $tea.cast(await this.callApi(params, req, runtime), new RevertEvaluationResultsResponse({}));
|
|
15840
17270
|
}
|
|
15841
17271
|
/**
|
|
15842
|
-
*
|
|
15843
|
-
* ## Prerequisites
|
|
17272
|
+
* ### Prerequisites
|
|
15844
17273
|
* One or more non-compliant resources that are evaluated by a rule are ignored.
|
|
17274
|
+
* ### Usage notes
|
|
17275
|
+
* The sample request in this topic shows you how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051****` rule. The ID of the region in which the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.``
|
|
15845
17276
|
*
|
|
15846
17277
|
* @param request RevertEvaluationResultsRequest
|
|
15847
17278
|
* @return RevertEvaluationResultsResponse
|
|
@@ -15851,8 +17282,8 @@ class Client extends openapi_client_1.default {
|
|
|
15851
17282
|
return await this.revertEvaluationResultsWithOptions(request, runtime);
|
|
15852
17283
|
}
|
|
15853
17284
|
/**
|
|
15854
|
-
* >
|
|
15855
|
-
* The sample request in this topic shows
|
|
17285
|
+
* > After you call this operation, the compliance evaluation is performed only once. To query the compliance evaluation results returned by the rule, call the ListAggregateConfigRuleEvaluationResults operation. For more information, see [ListAggregateConfigRuleEvaluationResults](~~265979~~).
|
|
17286
|
+
* The sample request in this topic shows how to use the `cr-c169626622af009f****` rule in the `ca-3a58626622af0005****` account group to evaluate resources.
|
|
15856
17287
|
*
|
|
15857
17288
|
* @param request StartAggregateConfigRuleEvaluationRequest
|
|
15858
17289
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15890,8 +17321,8 @@ class Client extends openapi_client_1.default {
|
|
|
15890
17321
|
return $tea.cast(await this.callApi(params, req, runtime), new StartAggregateConfigRuleEvaluationResponse({}));
|
|
15891
17322
|
}
|
|
15892
17323
|
/**
|
|
15893
|
-
* >
|
|
15894
|
-
* The sample request in this topic shows
|
|
17324
|
+
* > After you call this operation, the compliance evaluation is performed only once. To query the compliance evaluation results returned by the rule, call the ListAggregateConfigRuleEvaluationResults operation. For more information, see [ListAggregateConfigRuleEvaluationResults](~~265979~~).
|
|
17325
|
+
* The sample request in this topic shows how to use the `cr-c169626622af009f****` rule in the `ca-3a58626622af0005****` account group to evaluate resources.
|
|
15895
17326
|
*
|
|
15896
17327
|
* @param request StartAggregateConfigRuleEvaluationRequest
|
|
15897
17328
|
* @return StartAggregateConfigRuleEvaluationResponse
|
|
@@ -15901,7 +17332,7 @@ class Client extends openapi_client_1.default {
|
|
|
15901
17332
|
return await this.startAggregateConfigRuleEvaluationWithOptions(request, runtime);
|
|
15902
17333
|
}
|
|
15903
17334
|
/**
|
|
15904
|
-
*
|
|
17335
|
+
* This topic provides an example on how to manually perform a remediation operation by using the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that the manual execution is successful.
|
|
15905
17336
|
*
|
|
15906
17337
|
* @param request StartAggregateRemediationRequest
|
|
15907
17338
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15916,6 +17347,9 @@ class Client extends openapi_client_1.default {
|
|
|
15916
17347
|
if (!tea_util_1.default.isUnset(request.configRuleId)) {
|
|
15917
17348
|
query["ConfigRuleId"] = request.configRuleId;
|
|
15918
17349
|
}
|
|
17350
|
+
if (!tea_util_1.default.isUnset(request.resourceAccountId)) {
|
|
17351
|
+
query["ResourceAccountId"] = request.resourceAccountId;
|
|
17352
|
+
}
|
|
15919
17353
|
let req = new $OpenApi.OpenApiRequest({
|
|
15920
17354
|
query: openapi_util_1.default.query(query),
|
|
15921
17355
|
});
|
|
@@ -15933,7 +17367,7 @@ class Client extends openapi_client_1.default {
|
|
|
15933
17367
|
return $tea.cast(await this.callApi(params, req, runtime), new StartAggregateRemediationResponse({}));
|
|
15934
17368
|
}
|
|
15935
17369
|
/**
|
|
15936
|
-
*
|
|
17370
|
+
* This topic provides an example on how to manually perform a remediation operation by using the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that the manual execution is successful.
|
|
15937
17371
|
*
|
|
15938
17372
|
* @param request StartAggregateRemediationRequest
|
|
15939
17373
|
* @return StartAggregateRemediationResponse
|
|
@@ -15942,8 +17376,59 @@ class Client extends openapi_client_1.default {
|
|
|
15942
17376
|
let runtime = new $Util.RuntimeOptions({});
|
|
15943
17377
|
return await this.startAggregateRemediationWithOptions(request, runtime);
|
|
15944
17378
|
}
|
|
17379
|
+
async startConfigRuleEvaluationWithOptions(request, runtime) {
|
|
17380
|
+
tea_util_1.default.validateModel(request);
|
|
17381
|
+
let query = {};
|
|
17382
|
+
if (!tea_util_1.default.isUnset(request.compliancePackId)) {
|
|
17383
|
+
query["CompliancePackId"] = request.compliancePackId;
|
|
17384
|
+
}
|
|
17385
|
+
if (!tea_util_1.default.isUnset(request.configRuleId)) {
|
|
17386
|
+
query["ConfigRuleId"] = request.configRuleId;
|
|
17387
|
+
}
|
|
17388
|
+
if (!tea_util_1.default.isUnset(request.revertEvaluation)) {
|
|
17389
|
+
query["RevertEvaluation"] = request.revertEvaluation;
|
|
17390
|
+
}
|
|
17391
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17392
|
+
query: openapi_util_1.default.query(query),
|
|
17393
|
+
});
|
|
17394
|
+
let params = new $OpenApi.Params({
|
|
17395
|
+
action: "StartConfigRuleEvaluation",
|
|
17396
|
+
version: "2020-09-07",
|
|
17397
|
+
protocol: "HTTPS",
|
|
17398
|
+
pathname: "/",
|
|
17399
|
+
method: "POST",
|
|
17400
|
+
authType: "AK",
|
|
17401
|
+
style: "RPC",
|
|
17402
|
+
reqBodyType: "formData",
|
|
17403
|
+
bodyType: "json",
|
|
17404
|
+
});
|
|
17405
|
+
return $tea.cast(await this.callApi(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
|
|
17406
|
+
}
|
|
17407
|
+
async startConfigRuleEvaluation(request) {
|
|
17408
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17409
|
+
return await this.startConfigRuleEvaluationWithOptions(request, runtime);
|
|
17410
|
+
}
|
|
17411
|
+
async startConfigurationRecorderWithOptions(runtime) {
|
|
17412
|
+
let req = new $OpenApi.OpenApiRequest({});
|
|
17413
|
+
let params = new $OpenApi.Params({
|
|
17414
|
+
action: "StartConfigurationRecorder",
|
|
17415
|
+
version: "2020-09-07",
|
|
17416
|
+
protocol: "HTTPS",
|
|
17417
|
+
pathname: "/",
|
|
17418
|
+
method: "POST",
|
|
17419
|
+
authType: "AK",
|
|
17420
|
+
style: "RPC",
|
|
17421
|
+
reqBodyType: "formData",
|
|
17422
|
+
bodyType: "json",
|
|
17423
|
+
});
|
|
17424
|
+
return $tea.cast(await this.callApi(params, req, runtime), new StartConfigurationRecorderResponse({}));
|
|
17425
|
+
}
|
|
17426
|
+
async startConfigurationRecorder() {
|
|
17427
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
17428
|
+
return await this.startConfigurationRecorderWithOptions(runtime);
|
|
17429
|
+
}
|
|
15945
17430
|
/**
|
|
15946
|
-
*
|
|
17431
|
+
* This topic provides an example on how to perform a remediation operation by using the rule whose ID is `cr-8a973ac2e2be00a2****`. The returned result shows that the manual execution is successful.
|
|
15947
17432
|
*
|
|
15948
17433
|
* @param request StartRemediationRequest
|
|
15949
17434
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15972,7 +17457,7 @@ class Client extends openapi_client_1.default {
|
|
|
15972
17457
|
return $tea.cast(await this.callApi(params, req, runtime), new StartRemediationResponse({}));
|
|
15973
17458
|
}
|
|
15974
17459
|
/**
|
|
15975
|
-
*
|
|
17460
|
+
* This topic provides an example on how to perform a remediation operation by using the rule whose ID is `cr-8a973ac2e2be00a2****`. The returned result shows that the manual execution is successful.
|
|
15976
17461
|
*
|
|
15977
17462
|
* @param request StartRemediationRequest
|
|
15978
17463
|
* @return StartRemediationResponse
|
|
@@ -16156,7 +17641,7 @@ class Client extends openapi_client_1.default {
|
|
|
16156
17641
|
return await this.updateAggregateCompliancePackWithOptions(request, runtime);
|
|
16157
17642
|
}
|
|
16158
17643
|
/**
|
|
16159
|
-
*
|
|
17644
|
+
* This topic provides an example on how to disable a delivery channel in an account group. The ID of the account group is `ca-a4e5626622af0079****`, and 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 resource data delivery.
|
|
16160
17645
|
*
|
|
16161
17646
|
* @param request UpdateAggregateConfigDeliveryChannelRequest
|
|
16162
17647
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16221,7 +17706,7 @@ class Client extends openapi_client_1.default {
|
|
|
16221
17706
|
return $tea.cast(await this.callApi(params, req, runtime), new UpdateAggregateConfigDeliveryChannelResponse({}));
|
|
16222
17707
|
}
|
|
16223
17708
|
/**
|
|
16224
|
-
*
|
|
17709
|
+
* This topic provides an example on how to disable a delivery channel in an account group. The ID of the account group is `ca-a4e5626622af0079****`, and 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 resource data delivery.
|
|
16225
17710
|
*
|
|
16226
17711
|
* @param request UpdateAggregateConfigDeliveryChannelRequest
|
|
16227
17712
|
* @return UpdateAggregateConfigDeliveryChannelResponse
|
|
@@ -16679,9 +18164,35 @@ class Client extends openapi_client_1.default {
|
|
|
16679
18164
|
let runtime = new $Util.RuntimeOptions({});
|
|
16680
18165
|
return await this.updateConfigRuleWithOptions(request, runtime);
|
|
16681
18166
|
}
|
|
18167
|
+
async updateConfigurationRecorderWithOptions(request, runtime) {
|
|
18168
|
+
tea_util_1.default.validateModel(request);
|
|
18169
|
+
let body = {};
|
|
18170
|
+
if (!tea_util_1.default.isUnset(request.resourceTypes)) {
|
|
18171
|
+
body["ResourceTypes"] = request.resourceTypes;
|
|
18172
|
+
}
|
|
18173
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18174
|
+
body: openapi_util_1.default.parseToMap(body),
|
|
18175
|
+
});
|
|
18176
|
+
let params = new $OpenApi.Params({
|
|
18177
|
+
action: "UpdateConfigurationRecorder",
|
|
18178
|
+
version: "2020-09-07",
|
|
18179
|
+
protocol: "HTTPS",
|
|
18180
|
+
pathname: "/",
|
|
18181
|
+
method: "POST",
|
|
18182
|
+
authType: "AK",
|
|
18183
|
+
style: "RPC",
|
|
18184
|
+
reqBodyType: "formData",
|
|
18185
|
+
bodyType: "json",
|
|
18186
|
+
});
|
|
18187
|
+
return $tea.cast(await this.callApi(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
|
|
18188
|
+
}
|
|
18189
|
+
async updateConfigurationRecorder(request) {
|
|
18190
|
+
let runtime = new $Util.RuntimeOptions({});
|
|
18191
|
+
return await this.updateConfigurationRecorderWithOptions(request, runtime);
|
|
18192
|
+
}
|
|
16682
18193
|
/**
|
|
16683
18194
|
* @deprecated : UpdateDeliveryChannel is deprecated, please use Config::2020-09-07::UpdateConfigDeliveryChannel,Config::2020-09-07::UpdateAggregateConfigDeliveryChannel instead.
|
|
16684
|
-
*
|
|
18195
|
+
* This topic provides an example on how to change the status of the delivery channel whose ID is `cdc-8e45ff4e06a3a8****` to 0, which indicates that the delivery channel is disabled. After the delivery channel is disabled, Cloud Config retains the last delivery configuration and stops resource data delivery.
|
|
16685
18196
|
*
|
|
16686
18197
|
* @param request UpdateDeliveryChannelRequest
|
|
16687
18198
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16745,7 +18256,7 @@ class Client extends openapi_client_1.default {
|
|
|
16745
18256
|
}
|
|
16746
18257
|
/**
|
|
16747
18258
|
* @deprecated : UpdateDeliveryChannel is deprecated, please use Config::2020-09-07::UpdateConfigDeliveryChannel,Config::2020-09-07::UpdateAggregateConfigDeliveryChannel instead.
|
|
16748
|
-
*
|
|
18259
|
+
* This topic provides an example on how to change the status of the delivery channel whose ID is `cdc-8e45ff4e06a3a8****` to 0, which indicates that the delivery channel is disabled. After the delivery channel is disabled, Cloud Config retains the last delivery configuration and stops resource data delivery.
|
|
16749
18260
|
*
|
|
16750
18261
|
* @param request UpdateDeliveryChannelRequest
|
|
16751
18262
|
* @return UpdateDeliveryChannelResponse
|