@alicloud/config20200907 4.2.1 → 4.2.2

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.
Files changed (43) hide show
  1. package/dist/client.d.ts +34 -22
  2. package/dist/client.js +52 -22
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAggregateConfigRuleRequest.d.ts +52 -45
  5. package/dist/models/CreateAggregateConfigRuleRequest.js.map +1 -1
  6. package/dist/models/CreateAggregateConfigRuleShrinkRequest.d.ts +52 -45
  7. package/dist/models/CreateAggregateConfigRuleShrinkRequest.js.map +1 -1
  8. package/dist/models/CreateConfigRuleRequest.d.ts +28 -21
  9. package/dist/models/CreateConfigRuleRequest.js.map +1 -1
  10. package/dist/models/CreateConfigRuleShrinkRequest.d.ts +28 -21
  11. package/dist/models/CreateConfigRuleShrinkRequest.js.map +1 -1
  12. package/dist/models/StartAggregateRemediationRequest.d.ts +38 -0
  13. package/dist/models/StartAggregateRemediationRequest.js +6 -0
  14. package/dist/models/StartAggregateRemediationRequest.js.map +1 -1
  15. package/dist/models/StartAggregateRemediationResponseBody.d.ts +18 -0
  16. package/dist/models/StartAggregateRemediationResponseBody.js.map +1 -1
  17. package/dist/models/StartRemediationRequest.d.ts +22 -0
  18. package/dist/models/StartRemediationRequest.js +6 -0
  19. package/dist/models/StartRemediationRequest.js.map +1 -1
  20. package/dist/models/StartRemediationResponseBody.d.ts +18 -0
  21. package/dist/models/StartRemediationResponseBody.js.map +1 -1
  22. package/dist/models/UpdateAggregateConfigRuleRequest.d.ts +25 -24
  23. package/dist/models/UpdateAggregateConfigRuleRequest.js.map +1 -1
  24. package/dist/models/UpdateAggregateConfigRuleShrinkRequest.d.ts +25 -24
  25. package/dist/models/UpdateAggregateConfigRuleShrinkRequest.js.map +1 -1
  26. package/dist/models/UpdateConfigRuleRequest.d.ts +30 -25
  27. package/dist/models/UpdateConfigRuleRequest.js.map +1 -1
  28. package/dist/models/UpdateConfigRuleShrinkRequest.d.ts +30 -25
  29. package/dist/models/UpdateConfigRuleShrinkRequest.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/client.ts +58 -22
  32. package/src/models/CreateAggregateConfigRuleRequest.ts +52 -45
  33. package/src/models/CreateAggregateConfigRuleShrinkRequest.ts +52 -45
  34. package/src/models/CreateConfigRuleRequest.ts +28 -21
  35. package/src/models/CreateConfigRuleShrinkRequest.ts +28 -21
  36. package/src/models/StartAggregateRemediationRequest.ts +44 -0
  37. package/src/models/StartAggregateRemediationResponseBody.ts +18 -0
  38. package/src/models/StartRemediationRequest.ts +28 -0
  39. package/src/models/StartRemediationResponseBody.ts +18 -0
  40. package/src/models/UpdateAggregateConfigRuleRequest.ts +25 -24
  41. package/src/models/UpdateAggregateConfigRuleShrinkRequest.ts +25 -24
  42. package/src/models/UpdateConfigRuleRequest.ts +30 -25
  43. package/src/models/UpdateConfigRuleShrinkRequest.ts +30 -25
package/dist/client.d.ts CHANGED
@@ -207,13 +207,13 @@ export default class Client extends OpenApi {
207
207
  *
208
208
  * @remarks
209
209
  * ### Limits
210
- * Each management account and delegated administrator account can have a maximum of 200 rules.
210
+ * Each management account and delegated administrator account can have up to 200 rules.
211
211
  * ### Background information
212
212
  * Cloud Config supports the following methods for creating rules:
213
213
  * - Create rules from templates
214
- * Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). You can use rule templates to create rules quickly. For more information about rules, see [Definition and working principle of rules](https://help.aliyun.com/document_detail/128273.html).
214
+ * Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). Use rule templates to create rules quickly. For more information about rules, see [the referenced document](https://help.aliyun.com/document_detail/128273.html).
215
215
  * - Create rules based on functions in Function Compute
216
- * Custom function rules are rules whose code is hosted in FC functions. If the predefined rule templates in Cloud Config do not meet your compliance requirements, you can write function code to check compliance in complex scenarios. For more information about custom function rules, see [Definition and working principle of custom function rules](https://help.aliyun.com/document_detail/127405.html).
216
+ * Custom function rules are rules whose code is hosted in FC functions. If the predefined rule templates in Cloud Config do not meet your compliance requirements, write function code to check compliance in complex scenarios. For more information about custom function rules, see [the referenced document](https://help.aliyun.com/document_detail/127405.html).
217
217
  * ### Usage notes
218
218
  * This example shows how to create a rule for the account group `ca-a4e5626622af0079****` using the \\`required-tags\\` template. The response shows that the rule is created with the ID `cr-4e3d626622af0080****`.
219
219
  *
@@ -227,13 +227,13 @@ export default class Client extends OpenApi {
227
227
  *
228
228
  * @remarks
229
229
  * ### Limits
230
- * Each management account and delegated administrator account can have a maximum of 200 rules.
230
+ * Each management account and delegated administrator account can have up to 200 rules.
231
231
  * ### Background information
232
232
  * Cloud Config supports the following methods for creating rules:
233
233
  * - Create rules from templates
234
- * Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). You can use rule templates to create rules quickly. For more information about rules, see [Definition and working principle of rules](https://help.aliyun.com/document_detail/128273.html).
234
+ * Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). Use rule templates to create rules quickly. For more information about rules, see [the referenced document](https://help.aliyun.com/document_detail/128273.html).
235
235
  * - Create rules based on functions in Function Compute
236
- * Custom function rules are rules whose code is hosted in FC functions. If the predefined rule templates in Cloud Config do not meet your compliance requirements, you can write function code to check compliance in complex scenarios. For more information about custom function rules, see [Definition and working principle of custom function rules](https://help.aliyun.com/document_detail/127405.html).
236
+ * Custom function rules are rules whose code is hosted in FC functions. If the predefined rule templates in Cloud Config do not meet your compliance requirements, write function code to check compliance in complex scenarios. For more information about custom function rules, see [the referenced document](https://help.aliyun.com/document_detail/127405.html).
237
237
  * ### Usage notes
238
238
  * This example shows how to create a rule for the account group `ca-a4e5626622af0079****` using the \\`required-tags\\` template. The response shows that the rule is created with the ID `cr-4e3d626622af0080****`.
239
239
  *
@@ -384,15 +384,15 @@ export default class Client extends OpenApi {
384
384
  *
385
385
  * @remarks
386
386
  * ### Limits
387
- * You can create up to 200 rules for each account.
387
+ * You can create up to 200 rules per account.
388
388
  * ### Background information
389
- * You can create rules in Cloud Config in the following ways:
389
+ * You can create rules in Cloud Config in two ways:
390
390
  * - Create rules from templates
391
- * Rule templates are predefined rule functions in Function Compute that are provided by Cloud Config. You can use rule templates to create rules quickly. For more information about rules, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
391
+ * Rule templates are predefined rule functions provided by Cloud Config in Function Compute. You can use rule templates to quickly create rules. For more information, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
392
392
  * - Create custom rules using Function Compute
393
- * Custom rules are based on functions in Function Compute that host your rule code. If the predefined rule templates in Cloud Config do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information about custom rules, see [Definition and working principles of custom rules](https://help.aliyun.com/document_detail/127405.html).
393
+ * Custom rules use Function Compute functions to host your rule code. If Cloud Config\\"s predefined rule templates do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information, see [Definition and working principles of custom rules](https://help.aliyun.com/document_detail/127405.html).
394
394
  * ### Usage notes
395
- * This topic provides an example of how to create a rule from the \\`required-tags\\` template. In the response, a rule is created and its ID is `cr-5772ba41209e007b****`.
395
+ * This topic demonstrates how to create a rule from the \\`required-tags\\` template. The response confirms that the rule was created successfully. Its ID is `cr-5772ba41209e007b****`.
396
396
  *
397
397
  * @param tmpReq - CreateConfigRuleRequest
398
398
  * @param runtime - runtime options for this request RuntimeOptions
@@ -404,15 +404,15 @@ export default class Client extends OpenApi {
404
404
  *
405
405
  * @remarks
406
406
  * ### Limits
407
- * You can create up to 200 rules for each account.
407
+ * You can create up to 200 rules per account.
408
408
  * ### Background information
409
- * You can create rules in Cloud Config in the following ways:
409
+ * You can create rules in Cloud Config in two ways:
410
410
  * - Create rules from templates
411
- * Rule templates are predefined rule functions in Function Compute that are provided by Cloud Config. You can use rule templates to create rules quickly. For more information about rules, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
411
+ * Rule templates are predefined rule functions provided by Cloud Config in Function Compute. You can use rule templates to quickly create rules. For more information, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
412
412
  * - Create custom rules using Function Compute
413
- * Custom rules are based on functions in Function Compute that host your rule code. If the predefined rule templates in Cloud Config do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information about custom rules, see [Definition and working principles of custom rules](https://help.aliyun.com/document_detail/127405.html).
413
+ * Custom rules use Function Compute functions to host your rule code. If Cloud Config\\"s predefined rule templates do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information, see [Definition and working principles of custom rules](https://help.aliyun.com/document_detail/127405.html).
414
414
  * ### Usage notes
415
- * This topic provides an example of how to create a rule from the \\`required-tags\\` template. In the response, a rule is created and its ID is `cr-5772ba41209e007b****`.
415
+ * This topic demonstrates how to create a rule from the \\`required-tags\\` template. The response confirms that the rule was created successfully. Its ID is `cr-5772ba41209e007b****`.
416
416
  *
417
417
  * @param request - CreateConfigRuleRequest
418
418
  * @returns CreateConfigRuleResponse
@@ -2498,7 +2498,10 @@ export default class Client extends OpenApi {
2498
2498
  */
2499
2499
  startAggregateConfigRuleEvaluation(request: $_model.StartAggregateConfigRuleEvaluationRequest): Promise<$_model.StartAggregateConfigRuleEvaluationResponse>;
2500
2500
  /**
2501
- * 执行账号组规则修正
2501
+ * Manually run remediation for a specified account group rule.
2502
+ *
2503
+ * @remarks
2504
+ * This topic describes how to manually run remediation once for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`. The response indicates that remediation completed successfully.
2502
2505
  *
2503
2506
  * @param request - StartAggregateRemediationRequest
2504
2507
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2506,7 +2509,10 @@ export default class Client extends OpenApi {
2506
2509
  */
2507
2510
  startAggregateRemediationWithOptions(request: $_model.StartAggregateRemediationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartAggregateRemediationResponse>;
2508
2511
  /**
2509
- * 执行账号组规则修正
2512
+ * Manually run remediation for a specified account group rule.
2513
+ *
2514
+ * @remarks
2515
+ * This topic describes how to manually run remediation once for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`. The response indicates that remediation completed successfully.
2510
2516
  *
2511
2517
  * @param request - StartAggregateRemediationRequest
2512
2518
  * @returns StartAggregateRemediationResponse
@@ -2562,7 +2568,10 @@ export default class Client extends OpenApi {
2562
2568
  */
2563
2569
  startConfigurationRecorder(): Promise<$_model.StartConfigurationRecorderResponse>;
2564
2570
  /**
2565
- * 执行修正
2571
+ * Manually execute the specified rule remediation.
2572
+ *
2573
+ * @remarks
2574
+ * This topic provides an example of a manual remediation for rule `cr-8a973ac2e2be00a2****`. The returned result indicates a successful manual remediation.
2566
2575
  *
2567
2576
  * @param request - StartRemediationRequest
2568
2577
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2570,7 +2579,10 @@ export default class Client extends OpenApi {
2570
2579
  */
2571
2580
  startRemediationWithOptions(request: $_model.StartRemediationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartRemediationResponse>;
2572
2581
  /**
2573
- * 执行修正
2582
+ * Manually execute the specified rule remediation.
2583
+ *
2584
+ * @remarks
2585
+ * This topic provides an example of a manual remediation for rule `cr-8a973ac2e2be00a2****`. The returned result indicates a successful manual remediation.
2574
2586
  *
2575
2587
  * @param request - StartRemediationRequest
2576
2588
  * @returns StartRemediationResponse
@@ -2779,7 +2791,7 @@ export default class Client extends OpenApi {
2779
2791
  * Modifies the description, input parameters, and risk level of a rule.
2780
2792
  *
2781
2793
  * @remarks
2782
- * This topic provides an example of how to change the risk level of the rule `cr-a260626622af0005****` to `3` (low risk).
2794
+ * This topic shows how to change the risk level of rule `cr-a260626622af0005****` to `3`, which indicates low risk.
2783
2795
  *
2784
2796
  * @param tmpReq - UpdateConfigRuleRequest
2785
2797
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2790,7 +2802,7 @@ export default class Client extends OpenApi {
2790
2802
  * Modifies the description, input parameters, and risk level of a rule.
2791
2803
  *
2792
2804
  * @remarks
2793
- * This topic provides an example of how to change the risk level of the rule `cr-a260626622af0005****` to `3` (low risk).
2805
+ * This topic shows how to change the risk level of rule `cr-a260626622af0005****` to `3`, which indicates low risk.
2794
2806
  *
2795
2807
  * @param request - UpdateConfigRuleRequest
2796
2808
  * @returns UpdateConfigRuleResponse
package/dist/client.js CHANGED
@@ -642,13 +642,13 @@ class Client extends openapi_core_1.default {
642
642
  *
643
643
  * @remarks
644
644
  * ### Limits
645
- * Each management account and delegated administrator account can have a maximum of 200 rules.
645
+ * Each management account and delegated administrator account can have up to 200 rules.
646
646
  * ### Background information
647
647
  * Cloud Config supports the following methods for creating rules:
648
648
  * - Create rules from templates
649
- * Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). You can use rule templates to create rules quickly. For more information about rules, see [Definition and working principle of rules](https://help.aliyun.com/document_detail/128273.html).
649
+ * Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). Use rule templates to create rules quickly. For more information about rules, see [the referenced document](https://help.aliyun.com/document_detail/128273.html).
650
650
  * - Create rules based on functions in Function Compute
651
- * Custom function rules are rules whose code is hosted in FC functions. If the predefined rule templates in Cloud Config do not meet your compliance requirements, you can write function code to check compliance in complex scenarios. For more information about custom function rules, see [Definition and working principle of custom function rules](https://help.aliyun.com/document_detail/127405.html).
651
+ * Custom function rules are rules whose code is hosted in FC functions. If the predefined rule templates in Cloud Config do not meet your compliance requirements, write function code to check compliance in complex scenarios. For more information about custom function rules, see [the referenced document](https://help.aliyun.com/document_detail/127405.html).
652
652
  * ### Usage notes
653
653
  * This example shows how to create a rule for the account group `ca-a4e5626622af0079****` using the \\`required-tags\\` template. The response shows that the rule is created with the ID `cr-4e3d626622af0080****`.
654
654
  *
@@ -785,13 +785,13 @@ class Client extends openapi_core_1.default {
785
785
  *
786
786
  * @remarks
787
787
  * ### Limits
788
- * Each management account and delegated administrator account can have a maximum of 200 rules.
788
+ * Each management account and delegated administrator account can have up to 200 rules.
789
789
  * ### Background information
790
790
  * Cloud Config supports the following methods for creating rules:
791
791
  * - Create rules from templates
792
- * Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). You can use rule templates to create rules quickly. For more information about rules, see [Definition and working principle of rules](https://help.aliyun.com/document_detail/128273.html).
792
+ * Rule templates are predefined rule functions that Cloud Config provides in Function Compute (FC). Use rule templates to create rules quickly. For more information about rules, see [the referenced document](https://help.aliyun.com/document_detail/128273.html).
793
793
  * - Create rules based on functions in Function Compute
794
- * Custom function rules are rules whose code is hosted in FC functions. If the predefined rule templates in Cloud Config do not meet your compliance requirements, you can write function code to check compliance in complex scenarios. For more information about custom function rules, see [Definition and working principle of custom function rules](https://help.aliyun.com/document_detail/127405.html).
794
+ * Custom function rules are rules whose code is hosted in FC functions. If the predefined rule templates in Cloud Config do not meet your compliance requirements, write function code to check compliance in complex scenarios. For more information about custom function rules, see [the referenced document](https://help.aliyun.com/document_detail/127405.html).
795
795
  * ### Usage notes
796
796
  * This example shows how to create a rule for the account group `ca-a4e5626622af0079****` using the \\`required-tags\\` template. The response shows that the rule is created with the ID `cr-4e3d626622af0080****`.
797
797
  *
@@ -1189,15 +1189,15 @@ class Client extends openapi_core_1.default {
1189
1189
  *
1190
1190
  * @remarks
1191
1191
  * ### Limits
1192
- * You can create up to 200 rules for each account.
1192
+ * You can create up to 200 rules per account.
1193
1193
  * ### Background information
1194
- * You can create rules in Cloud Config in the following ways:
1194
+ * You can create rules in Cloud Config in two ways:
1195
1195
  * - Create rules from templates
1196
- * Rule templates are predefined rule functions in Function Compute that are provided by Cloud Config. You can use rule templates to create rules quickly. For more information about rules, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
1196
+ * Rule templates are predefined rule functions provided by Cloud Config in Function Compute. You can use rule templates to quickly create rules. For more information, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
1197
1197
  * - Create custom rules using Function Compute
1198
- * Custom rules are based on functions in Function Compute that host your rule code. If the predefined rule templates in Cloud Config do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information about custom rules, see [Definition and working principles of custom rules](https://help.aliyun.com/document_detail/127405.html).
1198
+ * Custom rules use Function Compute functions to host your rule code. If Cloud Config\\"s predefined rule templates do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information, see [Definition and working principles of custom rules](https://help.aliyun.com/document_detail/127405.html).
1199
1199
  * ### Usage notes
1200
- * This topic provides an example of how to create a rule from the \\`required-tags\\` template. In the response, a rule is created and its ID is `cr-5772ba41209e007b****`.
1200
+ * This topic demonstrates how to create a rule from the \\`required-tags\\` template. The response confirms that the rule was created successfully. Its ID is `cr-5772ba41209e007b****`.
1201
1201
  *
1202
1202
  * @param tmpReq - CreateConfigRuleRequest
1203
1203
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1317,15 +1317,15 @@ class Client extends openapi_core_1.default {
1317
1317
  *
1318
1318
  * @remarks
1319
1319
  * ### Limits
1320
- * You can create up to 200 rules for each account.
1320
+ * You can create up to 200 rules per account.
1321
1321
  * ### Background information
1322
- * You can create rules in Cloud Config in the following ways:
1322
+ * You can create rules in Cloud Config in two ways:
1323
1323
  * - Create rules from templates
1324
- * Rule templates are predefined rule functions in Function Compute that are provided by Cloud Config. You can use rule templates to create rules quickly. For more information about rules, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
1324
+ * Rule templates are predefined rule functions provided by Cloud Config in Function Compute. You can use rule templates to quickly create rules. For more information, see [Definition and working principles of rules](https://help.aliyun.com/document_detail/128273.html).
1325
1325
  * - Create custom rules using Function Compute
1326
- * Custom rules are based on functions in Function Compute that host your rule code. If the predefined rule templates in Cloud Config do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information about custom rules, see [Definition and working principles of custom rules](https://help.aliyun.com/document_detail/127405.html).
1326
+ * Custom rules use Function Compute functions to host your rule code. If Cloud Config\\"s predefined rule templates do not meet your compliance requirements, you can write your own function code to check compliance in complex scenarios. For more information, see [Definition and working principles of custom rules](https://help.aliyun.com/document_detail/127405.html).
1327
1327
  * ### Usage notes
1328
- * This topic provides an example of how to create a rule from the \\`required-tags\\` template. In the response, a rule is created and its ID is `cr-5772ba41209e007b****`.
1328
+ * This topic demonstrates how to create a rule from the \\`required-tags\\` template. The response confirms that the rule was created successfully. Its ID is `cr-5772ba41209e007b****`.
1329
1329
  *
1330
1330
  * @param request - CreateConfigRuleRequest
1331
1331
  * @returns CreateConfigRuleResponse
@@ -6937,7 +6937,10 @@ class Client extends openapi_core_1.default {
6937
6937
  return await this.startAggregateConfigRuleEvaluationWithOptions(request, runtime);
6938
6938
  }
6939
6939
  /**
6940
- * 执行账号组规则修正
6940
+ * Manually run remediation for a specified account group rule.
6941
+ *
6942
+ * @remarks
6943
+ * This topic describes how to manually run remediation once for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`. The response indicates that remediation completed successfully.
6941
6944
  *
6942
6945
  * @param request - StartAggregateRemediationRequest
6943
6946
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6955,6 +6958,15 @@ class Client extends openapi_core_1.default {
6955
6958
  if (!$dara.isNull(request.resourceAccountId)) {
6956
6959
  query["ResourceAccountId"] = request.resourceAccountId;
6957
6960
  }
6961
+ if (!$dara.isNull(request.resourceId)) {
6962
+ query["ResourceId"] = request.resourceId;
6963
+ }
6964
+ if (!$dara.isNull(request.resourceRegionId)) {
6965
+ query["ResourceRegionId"] = request.resourceRegionId;
6966
+ }
6967
+ if (!$dara.isNull(request.resourceType)) {
6968
+ query["ResourceType"] = request.resourceType;
6969
+ }
6958
6970
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6959
6971
  query: openapi_core_2.OpenApiUtil.query(query),
6960
6972
  });
@@ -6972,7 +6984,10 @@ class Client extends openapi_core_1.default {
6972
6984
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartAggregateRemediationResponse({}));
6973
6985
  }
6974
6986
  /**
6975
- * 执行账号组规则修正
6987
+ * Manually run remediation for a specified account group rule.
6988
+ *
6989
+ * @remarks
6990
+ * This topic describes how to manually run remediation once for the rule `cr-6b7c626622af00b4****` in the account group `ca-6b4a626622af0012****`. The response indicates that remediation completed successfully.
6976
6991
  *
6977
6992
  * @param request - StartAggregateRemediationRequest
6978
6993
  * @returns StartAggregateRemediationResponse
@@ -7102,7 +7117,10 @@ class Client extends openapi_core_1.default {
7102
7117
  return await this.startConfigurationRecorderWithOptions(runtime);
7103
7118
  }
7104
7119
  /**
7105
- * 执行修正
7120
+ * Manually execute the specified rule remediation.
7121
+ *
7122
+ * @remarks
7123
+ * This topic provides an example of a manual remediation for rule `cr-8a973ac2e2be00a2****`. The returned result indicates a successful manual remediation.
7106
7124
  *
7107
7125
  * @param request - StartRemediationRequest
7108
7126
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7114,6 +7132,15 @@ class Client extends openapi_core_1.default {
7114
7132
  if (!$dara.isNull(request.configRuleId)) {
7115
7133
  query["ConfigRuleId"] = request.configRuleId;
7116
7134
  }
7135
+ if (!$dara.isNull(request.resourceId)) {
7136
+ query["ResourceId"] = request.resourceId;
7137
+ }
7138
+ if (!$dara.isNull(request.resourceRegionId)) {
7139
+ query["ResourceRegionId"] = request.resourceRegionId;
7140
+ }
7141
+ if (!$dara.isNull(request.resourceType)) {
7142
+ query["ResourceType"] = request.resourceType;
7143
+ }
7117
7144
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7118
7145
  query: openapi_core_2.OpenApiUtil.query(query),
7119
7146
  });
@@ -7131,7 +7158,10 @@ class Client extends openapi_core_1.default {
7131
7158
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartRemediationResponse({}));
7132
7159
  }
7133
7160
  /**
7134
- * 执行修正
7161
+ * Manually execute the specified rule remediation.
7162
+ *
7163
+ * @remarks
7164
+ * This topic provides an example of a manual remediation for rule `cr-8a973ac2e2be00a2****`. The returned result indicates a successful manual remediation.
7135
7165
  *
7136
7166
  * @param request - StartRemediationRequest
7137
7167
  * @returns StartRemediationResponse
@@ -7966,7 +7996,7 @@ class Client extends openapi_core_1.default {
7966
7996
  * Modifies the description, input parameters, and risk level of a rule.
7967
7997
  *
7968
7998
  * @remarks
7969
- * This topic provides an example of how to change the risk level of the rule `cr-a260626622af0005****` to `3` (low risk).
7999
+ * This topic shows how to change the risk level of rule `cr-a260626622af0005****` to `3`, which indicates low risk.
7970
8000
  *
7971
8001
  * @param tmpReq - UpdateConfigRuleRequest
7972
8002
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8082,7 +8112,7 @@ class Client extends openapi_core_1.default {
8082
8112
  * Modifies the description, input parameters, and risk level of a rule.
8083
8113
  *
8084
8114
  * @remarks
8085
- * This topic provides an example of how to change the risk level of the rule `cr-a260626622af0005****` to `3` (low risk).
8115
+ * This topic shows how to change the risk level of rule `cr-a260626622af0005****` to `3`, which indicates low risk.
8086
8116
  *
8087
8117
  * @param request - UpdateConfigRuleRequest
8088
8118
  * @returns UpdateConfigRuleResponse