@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
@@ -86,15 +86,18 @@ export declare class UpdateConfigRuleRequestTagsScope extends $dara.Model {
86
86
  export declare class UpdateConfigRuleRequest extends $dara.Model {
87
87
  /**
88
88
  * @remarks
89
- * A client token used to ensure the idempotence of the request. You can use a client to generate the token, but you must make sure that the token is unique for different requests. The `ClientToken` parameter can contain only ASCII characters and cannot be more than 64 characters in length.
89
+ * A client token used to ensure the idempotence of the request. Generate a unique token on your client for each request. The `ClientToken` parameter supports only ASCII characters and must not exceed 64 characters in length.
90
90
  *
91
91
  * @example
92
92
  * 1594295238-f9361358-5843-4294-8d30-b5183fac****
93
93
  */
94
94
  clientToken?: string;
95
95
  /**
96
+ * @remarks
97
+ * The condition for a custom conditional rule, in JSON format.
98
+ *
96
99
  * @example
97
- * {"ComplianceConditions":"{\"operator\":\"and\",\"children\":[{\"operator\":\"StringEquals\",\"featurePath\":\"$.Status\",\"desired\":\"1\",\"featureSource\":\"CONFIGURATION\"}]}"}
100
+ * {"ComplianceConditions":"{\\"operator\\":\\"and\\",\\"children\\":[{\\"operator\\":\\"StringEquals\\",\\"featurePath\\":\\"$.Status\\",\\"desired\\":\\"1\\",\\"featureSource\\":\\"CONFIGURATION\\"}]}"}
98
101
  *
99
102
  * **if can be null:**
100
103
  * true
@@ -126,11 +129,11 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
126
129
  * @remarks
127
130
  * The trigger type of the rule. Valid values:
128
131
  *
129
- * - ConfigurationItemChangeNotification: The rule is triggered by configuration changes.
132
+ * - ConfigurationItemChangeNotification: The rule triggers on configuration changes.
130
133
  *
131
- * - ScheduledNotification: The rule is triggered on a regular basis.
134
+ * - ScheduledNotification: The rule triggers on a schedule.
132
135
  *
133
- * > This parameter can be modified only for custom rules.
136
+ * > You can modify this parameter only for custom rules.
134
137
  *
135
138
  * @example
136
139
  * ConfigurationItemChangeNotification
@@ -138,7 +141,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
138
141
  configRuleTriggerTypes?: string;
139
142
  /**
140
143
  * @remarks
141
- * The description of the rule. The description can be up to 500 characters in length.
144
+ * The rule description. The description can be up to 500 characters long.
142
145
  *
143
146
  * @example
144
147
  * 最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。
@@ -146,7 +149,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
146
149
  description?: string;
147
150
  /**
148
151
  * @remarks
149
- * The regions where the rule is not effective. The system does not evaluate resources in these regions. To specify multiple region IDs, separate them with a comma (,).
152
+ * The regions where the rule does not apply. To specify multiple region IDs, separate them with a comma (,).
150
153
  *
151
154
  * @example
152
155
  * cn-shanghai
@@ -154,7 +157,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
154
157
  excludeRegionIdsScope?: string;
155
158
  /**
156
159
  * @remarks
157
- * The resource groups where the rule is not effective. The system does not evaluate resources in these resource groups. To specify multiple resource group IDs, separate them with a comma (,).
160
+ * The resource groups where the rule does not apply. To specify multiple resource group IDs, separate them with a comma (,).
158
161
  *
159
162
  * @example
160
163
  * rg-bnczc6r7rml****
@@ -162,7 +165,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
162
165
  excludeResourceGroupIdsScope?: string;
163
166
  /**
164
167
  * @remarks
165
- * The resources that are not evaluated by the rule. The system does not evaluate these resources. To specify multiple resource IDs, separate them with a comma (,).
168
+ * The resources that the rule does not evaluate. To specify multiple resource IDs, separate them with a comma (,).
166
169
  *
167
170
  * > This parameter applies only to managed rules.
168
171
  *
@@ -172,12 +175,12 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
172
175
  excludeResourceIdsScope?: string;
173
176
  /**
174
177
  * @remarks
175
- * The tags that are used to exclude resources.
178
+ * The tags used to exclude resources.
176
179
  */
177
180
  excludeTagsScope?: UpdateConfigRuleRequestExcludeTagsScope[];
178
181
  /**
179
182
  * @remarks
180
- * The extended content. This parameter is optional. You can use this parameter with a 24-hour trigger period to set the trigger time.
183
+ * Optional. Extended content used with a 24-hour trigger period to set the trigger time.
181
184
  *
182
185
  * @example
183
186
  * {"fixedHour":"12"}
@@ -188,7 +191,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
188
191
  extendContent?: string;
189
192
  /**
190
193
  * @remarks
191
- * The input parameters of the rule.
194
+ * The rule parameters.
192
195
  *
193
196
  * @example
194
197
  * {"tag1Key":"ECS","tag1Value":"test"}
@@ -198,7 +201,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
198
201
  };
199
202
  /**
200
203
  * @remarks
201
- * The frequency at which the rule is run. Valid values:
204
+ * The frequency at which the rule runs. Valid values:
202
205
  *
203
206
  * - One_Hour: 1 hour.
204
207
  *
@@ -210,7 +213,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
210
213
  *
211
214
  * - TwentyFour_Hours (default): 24 hours.
212
215
  *
213
- * > This parameter is required when `ConfigRuleTriggerTypes` is set to `ScheduledNotification`.
216
+ * > Set this parameter when `ConfigRuleTriggerTypes` is set to `ScheduledNotification`.
214
217
  *
215
218
  * @example
216
219
  * One_Hour
@@ -218,7 +221,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
218
221
  maximumExecutionFrequency?: string;
219
222
  /**
220
223
  * @remarks
221
- * The regions where the rule is effective. The rule evaluates only resources in these regions. To specify multiple region IDs, separate them with a comma (,).
224
+ * The regions where the rule applies. To specify multiple region IDs, separate them with a comma (,).
222
225
  *
223
226
  * > This parameter applies only to managed rules.
224
227
  *
@@ -228,7 +231,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
228
231
  regionIdsScope?: string;
229
232
  /**
230
233
  * @remarks
231
- * The resource groups where the rule is effective. The rule evaluates only resources in these resource groups. To specify multiple resource group IDs, separate them with a comma (,).
234
+ * The resource groups where the rule applies. To specify multiple resource group IDs, separate them with a comma (,).
232
235
  *
233
236
  * > This parameter applies only to managed rules.
234
237
  *
@@ -246,7 +249,9 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
246
249
  resourceIdsScope?: string;
247
250
  /**
248
251
  * @remarks
249
- * The names of the resources that the rule evaluates.
252
+ * The tags of the resource. This parameter is deprecated. Ignore it. Values passed for this parameter have no effect.
253
+ *
254
+ * You can add up to 20 tags.
250
255
  *
251
256
  * @example
252
257
  * i-xxx
@@ -279,7 +284,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
279
284
  riskLevel?: number;
280
285
  /**
281
286
  * @remarks
282
- * The tags of the resource. This parameter is deprecated. The value that you specify for this parameter does not take effect.
287
+ * The tags of the resource. This parameter is deprecated. Ignore it. Values passed for this parameter have no effect.
283
288
  *
284
289
  * You can add up to 20 tags.
285
290
  *
@@ -288,9 +293,9 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
288
293
  tag?: UpdateConfigRuleRequestTag[];
289
294
  /**
290
295
  * @remarks
291
- * The logical relationship for the tags that you specify for the `TagsScope` parameter. For example, if you set the `TagsScope` parameter to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. If you do not specify this parameter, the `OR` logic is used by default.
296
+ * The logical relationship between tags in the `TagsScope` parameter. For example, if you set `TagsScope` to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. If you omit this parameter, the default logic is `OR`.
292
297
  *
293
- * This parameter also applies to the deprecated `TagKeyScope` parameter, but this is not recommended. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.
298
+ * This parameter also works with the deprecated `TagKeyScope` parameter, but this is not recommended. For example, if you set `TagKeyScope` to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.
294
299
  *
295
300
  * Valid values:
296
301
  *
@@ -306,9 +311,9 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
306
311
  * @remarks
307
312
  * This parameter is deprecated. Use the `TagsScope` parameter instead.
308
313
  *
309
- * The rule is effective only for resources that have the specified tag.
314
+ * The rule applies only to resources that have the specified tag.
310
315
  *
311
- * > This parameter applies only to managed rules. The `TagKeyScope` and `TagValueScope` parameters must be specified at the same time.
316
+ * > This parameter applies only to managed rules. You must specify both `TagKeyScope` and `TagValueScope`.
312
317
  *
313
318
  * @example
314
319
  * ECS
@@ -320,9 +325,9 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
320
325
  * @remarks
321
326
  * This parameter is deprecated. Use the `TagsScope` parameter instead.
322
327
  *
323
- * The rule is effective only for resources that have the specified tag.
328
+ * The rule applies only to resources that have the specified tag.
324
329
  *
325
- * > This parameter applies only to managed rules. The `TagKeyScope` and `TagValueScope` parameters must be specified at the same time.
330
+ * > This parameter applies only to managed rules. You must specify both `TagKeyScope` and `TagValueScope`.
326
331
  *
327
332
  * @example
328
333
  * test
@@ -332,7 +337,7 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
332
337
  tagValueScope?: string;
333
338
  /**
334
339
  * @remarks
335
- * The tags that are used to filter resources.
340
+ * Scope of the tag
336
341
  */
337
342
  tagsScope?: UpdateConfigRuleRequestTagsScope[];
338
343
  static names(): {
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateConfigRuleRequest.js","sourceRoot":"","sources":["../../src/models/UpdateConfigRuleRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uCAAwC,SAAQ,KAAK,CAAC,KAAK;IAiBtE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,0FAsCC;AAED,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAiBzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,gEAsCC;AAED,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAiB/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAA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C,gBAAgB,CAAC,CAAC;QACnD,CAAC;QACD,IAAG,IAAI,CAAC,eAAe,EAAE,CAAC;YACxB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAChD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,EAAE,CAAC;YAC1C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC;QACrD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA/UD,0DA+UC"}
@@ -58,15 +58,18 @@ export declare class UpdateConfigRuleShrinkRequestTagsScope extends $dara.Model
58
58
  export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
59
59
  /**
60
60
  * @remarks
61
- * A client token used to ensure the idempotence of the request. You can use a client to generate the token, but you must make sure that the token is unique for different requests. The `ClientToken` parameter can contain only ASCII characters and cannot be more than 64 characters in length.
61
+ * A client token used to ensure the idempotence of the request. Generate a unique token on your client for each request. The `ClientToken` parameter supports only ASCII characters and must not exceed 64 characters in length.
62
62
  *
63
63
  * @example
64
64
  * 1594295238-f9361358-5843-4294-8d30-b5183fac****
65
65
  */
66
66
  clientToken?: string;
67
67
  /**
68
+ * @remarks
69
+ * The condition for a custom conditional rule, in JSON format.
70
+ *
68
71
  * @example
69
- * {"ComplianceConditions":"{\"operator\":\"and\",\"children\":[{\"operator\":\"StringEquals\",\"featurePath\":\"$.Status\",\"desired\":\"1\",\"featureSource\":\"CONFIGURATION\"}]}"}
72
+ * {"ComplianceConditions":"{\\"operator\\":\\"and\\",\\"children\\":[{\\"operator\\":\\"StringEquals\\",\\"featurePath\\":\\"$.Status\\",\\"desired\\":\\"1\\",\\"featureSource\\":\\"CONFIGURATION\\"}]}"}
70
73
  *
71
74
  * **if can be null:**
72
75
  * true
@@ -98,11 +101,11 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
98
101
  * @remarks
99
102
  * The trigger type of the rule. Valid values:
100
103
  *
101
- * - ConfigurationItemChangeNotification: The rule is triggered by configuration changes.
104
+ * - ConfigurationItemChangeNotification: The rule triggers on configuration changes.
102
105
  *
103
- * - ScheduledNotification: The rule is triggered on a regular basis.
106
+ * - ScheduledNotification: The rule triggers on a schedule.
104
107
  *
105
- * > This parameter can be modified only for custom rules.
108
+ * > You can modify this parameter only for custom rules.
106
109
  *
107
110
  * @example
108
111
  * ConfigurationItemChangeNotification
@@ -110,7 +113,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
110
113
  configRuleTriggerTypes?: string;
111
114
  /**
112
115
  * @remarks
113
- * The description of the rule. The description can be up to 500 characters in length.
116
+ * The rule description. The description can be up to 500 characters long.
114
117
  *
115
118
  * @example
116
119
  * 最多可以定义6组标签。如果资源同时具有指定的所有标签,则视为“合规”。
@@ -118,7 +121,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
118
121
  description?: string;
119
122
  /**
120
123
  * @remarks
121
- * The regions where the rule is not effective. The system does not evaluate resources in these regions. To specify multiple region IDs, separate them with a comma (,).
124
+ * The regions where the rule does not apply. To specify multiple region IDs, separate them with a comma (,).
122
125
  *
123
126
  * @example
124
127
  * cn-shanghai
@@ -126,7 +129,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
126
129
  excludeRegionIdsScope?: string;
127
130
  /**
128
131
  * @remarks
129
- * The resource groups where the rule is not effective. The system does not evaluate resources in these resource groups. To specify multiple resource group IDs, separate them with a comma (,).
132
+ * The resource groups where the rule does not apply. To specify multiple resource group IDs, separate them with a comma (,).
130
133
  *
131
134
  * @example
132
135
  * rg-bnczc6r7rml****
@@ -134,7 +137,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
134
137
  excludeResourceGroupIdsScope?: string;
135
138
  /**
136
139
  * @remarks
137
- * The resources that are not evaluated by the rule. The system does not evaluate these resources. To specify multiple resource IDs, separate them with a comma (,).
140
+ * The resources that the rule does not evaluate. To specify multiple resource IDs, separate them with a comma (,).
138
141
  *
139
142
  * > This parameter applies only to managed rules.
140
143
  *
@@ -144,12 +147,12 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
144
147
  excludeResourceIdsScope?: string;
145
148
  /**
146
149
  * @remarks
147
- * The tags that are used to exclude resources.
150
+ * The tags used to exclude resources.
148
151
  */
149
152
  excludeTagsScope?: UpdateConfigRuleShrinkRequestExcludeTagsScope[];
150
153
  /**
151
154
  * @remarks
152
- * The extended content. This parameter is optional. You can use this parameter with a 24-hour trigger period to set the trigger time.
155
+ * Optional. Extended content used with a 24-hour trigger period to set the trigger time.
153
156
  *
154
157
  * @example
155
158
  * {"fixedHour":"12"}
@@ -160,7 +163,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
160
163
  extendContent?: string;
161
164
  /**
162
165
  * @remarks
163
- * The input parameters of the rule.
166
+ * The rule parameters.
164
167
  *
165
168
  * @example
166
169
  * {"tag1Key":"ECS","tag1Value":"test"}
@@ -168,7 +171,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
168
171
  inputParametersShrink?: string;
169
172
  /**
170
173
  * @remarks
171
- * The frequency at which the rule is run. Valid values:
174
+ * The frequency at which the rule runs. Valid values:
172
175
  *
173
176
  * - One_Hour: 1 hour.
174
177
  *
@@ -180,7 +183,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
180
183
  *
181
184
  * - TwentyFour_Hours (default): 24 hours.
182
185
  *
183
- * > This parameter is required when `ConfigRuleTriggerTypes` is set to `ScheduledNotification`.
186
+ * > Set this parameter when `ConfigRuleTriggerTypes` is set to `ScheduledNotification`.
184
187
  *
185
188
  * @example
186
189
  * One_Hour
@@ -188,7 +191,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
188
191
  maximumExecutionFrequency?: string;
189
192
  /**
190
193
  * @remarks
191
- * The regions where the rule is effective. The rule evaluates only resources in these regions. To specify multiple region IDs, separate them with a comma (,).
194
+ * The regions where the rule applies. To specify multiple region IDs, separate them with a comma (,).
192
195
  *
193
196
  * > This parameter applies only to managed rules.
194
197
  *
@@ -198,7 +201,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
198
201
  regionIdsScope?: string;
199
202
  /**
200
203
  * @remarks
201
- * The resource groups where the rule is effective. The rule evaluates only resources in these resource groups. To specify multiple resource group IDs, separate them with a comma (,).
204
+ * The resource groups where the rule applies. To specify multiple resource group IDs, separate them with a comma (,).
202
205
  *
203
206
  * > This parameter applies only to managed rules.
204
207
  *
@@ -216,7 +219,9 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
216
219
  resourceIdsScope?: string;
217
220
  /**
218
221
  * @remarks
219
- * The names of the resources that the rule evaluates.
222
+ * The tags of the resource. This parameter is deprecated. Ignore it. Values passed for this parameter have no effect.
223
+ *
224
+ * You can add up to 20 tags.
220
225
  *
221
226
  * @example
222
227
  * i-xxx
@@ -249,7 +254,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
249
254
  riskLevel?: number;
250
255
  /**
251
256
  * @remarks
252
- * The tags of the resource. This parameter is deprecated. The value that you specify for this parameter does not take effect.
257
+ * The tags of the resource. This parameter is deprecated. Ignore it. Values passed for this parameter have no effect.
253
258
  *
254
259
  * You can add up to 20 tags.
255
260
  *
@@ -258,9 +263,9 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
258
263
  tagShrink?: string;
259
264
  /**
260
265
  * @remarks
261
- * The logical relationship for the tags that you specify for the `TagsScope` parameter. For example, if you set the `TagsScope` parameter to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. If you do not specify this parameter, the `OR` logic is used by default.
266
+ * The logical relationship between tags in the `TagsScope` parameter. For example, if you set `TagsScope` to `"TagsScope.1.TagKey":"a","TagsScope.1.TagValue":"a","TagsScope.2.TagKey":"b","TagsScope.2.TagValue":"b"` and set this parameter to `AND`, the rule applies only to resources that have both the `a:a` and `b:b` tags. If you omit this parameter, the default logic is `OR`.
262
267
  *
263
- * This parameter also applies to the deprecated `TagKeyScope` parameter, but this is not recommended. For example, if you set the `TagKeyScope` parameter to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.
268
+ * This parameter also works with the deprecated `TagKeyScope` parameter, but this is not recommended. For example, if you set `TagKeyScope` to `ECS,OSS` and set this parameter to `AND`, the rule applies only to resources that have both the `ECS` and `OSS` tags.
264
269
  *
265
270
  * Valid values:
266
271
  *
@@ -276,9 +281,9 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
276
281
  * @remarks
277
282
  * This parameter is deprecated. Use the `TagsScope` parameter instead.
278
283
  *
279
- * The rule is effective only for resources that have the specified tag.
284
+ * The rule applies only to resources that have the specified tag.
280
285
  *
281
- * > This parameter applies only to managed rules. The `TagKeyScope` and `TagValueScope` parameters must be specified at the same time.
286
+ * > This parameter applies only to managed rules. You must specify both `TagKeyScope` and `TagValueScope`.
282
287
  *
283
288
  * @example
284
289
  * ECS
@@ -290,9 +295,9 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
290
295
  * @remarks
291
296
  * This parameter is deprecated. Use the `TagsScope` parameter instead.
292
297
  *
293
- * The rule is effective only for resources that have the specified tag.
298
+ * The rule applies only to resources that have the specified tag.
294
299
  *
295
- * > This parameter applies only to managed rules. The `TagKeyScope` and `TagValueScope` parameters must be specified at the same time.
300
+ * > This parameter applies only to managed rules. You must specify both `TagKeyScope` and `TagValueScope`.
296
301
  *
297
302
  * @example
298
303
  * test
@@ -302,7 +307,7 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
302
307
  tagValueScope?: string;
303
308
  /**
304
309
  * @remarks
305
- * The tags that are used to filter resources.
310
+ * Scope of the tag
306
311
  */
307
312
  tagsScope?: UpdateConfigRuleShrinkRequestTagsScope[];
308
313
  static names(): {
@@ -1 +1 @@
1
- {"version":3,"file":"UpdateConfigRuleShrinkRequest.js","sourceRoot":"","sources":["../../src/models/UpdateConfigRuleShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6CAA8C,SAAQ,KAAK,CAAC,KAAK;IAiB5E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,sGAsCC;AAED,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAiBrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YACh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CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtUD,sEAsUC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/config20200907",
3
- "version": "4.2.1",
3
+ "version": "4.2.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -687,13 +687,13 @@ export default class Client extends OpenApi {
687
687
  *
688
688
  * @remarks
689
689
  * ### Limits
690
- * Each management account and delegated administrator account can have a maximum of 200 rules.
690
+ * Each management account and delegated administrator account can have up to 200 rules.
691
691
  * ### Background information
692
692
  * Cloud Config supports the following methods for creating rules:
693
693
  * - Create rules from templates
694
- * 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).
694
+ * 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).
695
695
  * - Create rules based on functions in Function Compute
696
- * 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).
696
+ * 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).
697
697
  * ### Usage notes
698
698
  * 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****`.
699
699
  *
@@ -867,13 +867,13 @@ export default class Client extends OpenApi {
867
867
  *
868
868
  * @remarks
869
869
  * ### Limits
870
- * Each management account and delegated administrator account can have a maximum of 200 rules.
870
+ * Each management account and delegated administrator account can have up to 200 rules.
871
871
  * ### Background information
872
872
  * Cloud Config supports the following methods for creating rules:
873
873
  * - Create rules from templates
874
- * 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).
874
+ * 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).
875
875
  * - Create rules based on functions in Function Compute
876
- * 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).
876
+ * 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).
877
877
  * ### Usage notes
878
878
  * 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****`.
879
879
  *
@@ -1333,15 +1333,15 @@ export default class Client extends OpenApi {
1333
1333
  *
1334
1334
  * @remarks
1335
1335
  * ### Limits
1336
- * You can create up to 200 rules for each account.
1336
+ * You can create up to 200 rules per account.
1337
1337
  * ### Background information
1338
- * You can create rules in Cloud Config in the following ways:
1338
+ * You can create rules in Cloud Config in two ways:
1339
1339
  * - Create rules from templates
1340
- * 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).
1340
+ * 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).
1341
1341
  * - Create custom rules using Function Compute
1342
- * 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).
1342
+ * 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).
1343
1343
  * ### Usage notes
1344
- * 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****`.
1344
+ * 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****`.
1345
1345
  *
1346
1346
  * @param tmpReq - CreateConfigRuleRequest
1347
1347
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1493,15 +1493,15 @@ export default class Client extends OpenApi {
1493
1493
  *
1494
1494
  * @remarks
1495
1495
  * ### Limits
1496
- * You can create up to 200 rules for each account.
1496
+ * You can create up to 200 rules per account.
1497
1497
  * ### Background information
1498
- * You can create rules in Cloud Config in the following ways:
1498
+ * You can create rules in Cloud Config in two ways:
1499
1499
  * - Create rules from templates
1500
- * 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).
1500
+ * 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).
1501
1501
  * - Create custom rules using Function Compute
1502
- * 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).
1502
+ * 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).
1503
1503
  * ### Usage notes
1504
- * 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****`.
1504
+ * 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****`.
1505
1505
  *
1506
1506
  * @param request - CreateConfigRuleRequest
1507
1507
  * @returns CreateConfigRuleResponse
@@ -7702,7 +7702,10 @@ export default class Client extends OpenApi {
7702
7702
  }
7703
7703
 
7704
7704
  /**
7705
- * 执行账号组规则修正
7705
+ * Manually run remediation for a specified account group rule.
7706
+ *
7707
+ * @remarks
7708
+ * 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.
7706
7709
  *
7707
7710
  * @param request - StartAggregateRemediationRequest
7708
7711
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7723,6 +7726,18 @@ export default class Client extends OpenApi {
7723
7726
  query["ResourceAccountId"] = request.resourceAccountId;
7724
7727
  }
7725
7728
 
7729
+ if (!$dara.isNull(request.resourceId)) {
7730
+ query["ResourceId"] = request.resourceId;
7731
+ }
7732
+
7733
+ if (!$dara.isNull(request.resourceRegionId)) {
7734
+ query["ResourceRegionId"] = request.resourceRegionId;
7735
+ }
7736
+
7737
+ if (!$dara.isNull(request.resourceType)) {
7738
+ query["ResourceType"] = request.resourceType;
7739
+ }
7740
+
7726
7741
  let req = new $OpenApiUtil.OpenApiRequest({
7727
7742
  query: OpenApiUtil.query(query),
7728
7743
  });
@@ -7741,7 +7756,10 @@ export default class Client extends OpenApi {
7741
7756
  }
7742
7757
 
7743
7758
  /**
7744
- * 执行账号组规则修正
7759
+ * Manually run remediation for a specified account group rule.
7760
+ *
7761
+ * @remarks
7762
+ * 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.
7745
7763
  *
7746
7764
  * @param request - StartAggregateRemediationRequest
7747
7765
  * @returns StartAggregateRemediationResponse
@@ -7882,7 +7900,10 @@ export default class Client extends OpenApi {
7882
7900
  }
7883
7901
 
7884
7902
  /**
7885
- * 执行修正
7903
+ * Manually execute the specified rule remediation.
7904
+ *
7905
+ * @remarks
7906
+ * This topic provides an example of a manual remediation for rule `cr-8a973ac2e2be00a2****`. The returned result indicates a successful manual remediation.
7886
7907
  *
7887
7908
  * @param request - StartRemediationRequest
7888
7909
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7895,6 +7916,18 @@ export default class Client extends OpenApi {
7895
7916
  query["ConfigRuleId"] = request.configRuleId;
7896
7917
  }
7897
7918
 
7919
+ if (!$dara.isNull(request.resourceId)) {
7920
+ query["ResourceId"] = request.resourceId;
7921
+ }
7922
+
7923
+ if (!$dara.isNull(request.resourceRegionId)) {
7924
+ query["ResourceRegionId"] = request.resourceRegionId;
7925
+ }
7926
+
7927
+ if (!$dara.isNull(request.resourceType)) {
7928
+ query["ResourceType"] = request.resourceType;
7929
+ }
7930
+
7898
7931
  let req = new $OpenApiUtil.OpenApiRequest({
7899
7932
  query: OpenApiUtil.query(query),
7900
7933
  });
@@ -7913,7 +7946,10 @@ export default class Client extends OpenApi {
7913
7946
  }
7914
7947
 
7915
7948
  /**
7916
- * 执行修正
7949
+ * Manually execute the specified rule remediation.
7950
+ *
7951
+ * @remarks
7952
+ * This topic provides an example of a manual remediation for rule `cr-8a973ac2e2be00a2****`. The returned result indicates a successful manual remediation.
7917
7953
  *
7918
7954
  * @param request - StartRemediationRequest
7919
7955
  * @returns StartRemediationResponse
@@ -8904,7 +8940,7 @@ export default class Client extends OpenApi {
8904
8940
  * Modifies the description, input parameters, and risk level of a rule.
8905
8941
  *
8906
8942
  * @remarks
8907
- * This topic provides an example of how to change the risk level of the rule `cr-a260626622af0005****` to `3` (low risk).
8943
+ * This topic shows how to change the risk level of rule `cr-a260626622af0005****` to `3`, which indicates low risk.
8908
8944
  *
8909
8945
  * @param tmpReq - UpdateConfigRuleRequest
8910
8946
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9051,7 +9087,7 @@ export default class Client extends OpenApi {
9051
9087
  * Modifies the description, input parameters, and risk level of a rule.
9052
9088
  *
9053
9089
  * @remarks
9054
- * This topic provides an example of how to change the risk level of the rule `cr-a260626622af0005****` to `3` (low risk).
9090
+ * This topic shows how to change the risk level of rule `cr-a260626622af0005****` to `3`, which indicates low risk.
9055
9091
  *
9056
9092
  * @param request - UpdateConfigRuleRequest
9057
9093
  * @returns UpdateConfigRuleResponse