@alicloud/config20200907 3.0.9 → 3.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -831,7 +831,27 @@ export declare class CreateConfigRuleRequestExcludeTagsScope extends $dara.Model
831
831
  });
832
832
  }
833
833
  export declare class CreateConfigRuleRequestTag extends $dara.Model {
834
+ /**
835
+ * @remarks
836
+ * The tag keys.
837
+ *
838
+ * The tag keys cannot be an empty string. The tag keys can be up to 64 characters in length. The tag keys cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
839
+ *
840
+ * You can specify at most 20 tag keys in each call.
841
+ *
842
+ * @example
843
+ * key-1
844
+ */
834
845
  key?: string;
846
+ /**
847
+ * @remarks
848
+ * The value of the tag. You can specify up to 20 tag values. The tag value can be an empty string.
849
+ *
850
+ * The tag value can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. The tag value cannot contain `http://` or `https://`.
851
+ *
852
+ * @example
853
+ * value-1
854
+ */
835
855
  value?: string;
836
856
  static names(): {
837
857
  [key: string]: string;
@@ -2707,7 +2727,27 @@ export declare class GetAggregateConfigDeliveryChannelResponseBodyDeliveryChanne
2707
2727
  });
2708
2728
  }
2709
2729
  export declare class GetAggregateConfigRuleRequestTag extends $dara.Model {
2730
+ /**
2731
+ * @remarks
2732
+ * The tag key of the resource. You can specify up to 20 tag keys.
2733
+ *
2734
+ * The tag key cannot be an empty string. The tag key must be 1 to 64 characters in length and cannot start with `aliyun` or `acs`:. The tag key cannot contain `http://` or `https://`.
2735
+ *
2736
+ * @example
2737
+ * key-1
2738
+ */
2710
2739
  key?: string;
2740
+ /**
2741
+ * @remarks
2742
+ * The tag values.
2743
+ *
2744
+ * The tag values can be an empty string or up to 128 characters in length. The tag values cannot start with `aliyun` or `acs:` and cannot contain `http://` or `https://`.
2745
+ *
2746
+ * Each key-value must be unique. You can specify at most 20 tag values in each call.
2747
+ *
2748
+ * @example
2749
+ * value-1
2750
+ */
2711
2751
  value?: string;
2712
2752
  static names(): {
2713
2753
  [key: string]: string;
@@ -3128,7 +3168,21 @@ export declare class GetAggregateConfigRuleResponseBodyConfigRuleSource extends
3128
3168
  });
3129
3169
  }
3130
3170
  export declare class GetAggregateConfigRuleResponseBodyConfigRuleTags extends $dara.Model {
3171
+ /**
3172
+ * @remarks
3173
+ * The tag key.
3174
+ *
3175
+ * @example
3176
+ * key-1
3177
+ */
3131
3178
  tagKey?: string;
3179
+ /**
3180
+ * @remarks
3181
+ * The tag value.
3182
+ *
3183
+ * @example
3184
+ * value-1
3185
+ */
3132
3186
  tagValue?: string;
3133
3187
  static names(): {
3134
3188
  [key: string]: string;
@@ -3449,6 +3503,10 @@ export declare class GetAggregateConfigRuleResponseBodyConfigRule extends $dara.
3449
3503
  * MFA
3450
3504
  */
3451
3505
  tagValueScope?: string;
3506
+ /**
3507
+ * @remarks
3508
+ * The list of tags.
3509
+ */
3452
3510
  tags?: GetAggregateConfigRuleResponseBodyConfigRuleTags[];
3453
3511
  /**
3454
3512
  * @remarks
@@ -5317,7 +5375,25 @@ export declare class GetConfigDeliveryChannelResponseBodyDeliveryChannel extends
5317
5375
  });
5318
5376
  }
5319
5377
  export declare class GetConfigRuleRequestTag extends $dara.Model {
5378
+ /**
5379
+ * @remarks
5380
+ * The tag key.
5381
+ *
5382
+ * The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
5383
+ *
5384
+ * You can specify at most 20 tag keys.
5385
+ *
5386
+ * @example
5387
+ * key-1
5388
+ */
5320
5389
  key?: string;
5390
+ /**
5391
+ * @remarks
5392
+ * The tag value. The tag value can be up to 256 characters in length and cannot contain `http://` or `https://`.
5393
+ *
5394
+ * @example
5395
+ * value-1
5396
+ */
5321
5397
  value?: string;
5322
5398
  static names(): {
5323
5399
  [key: string]: string;
@@ -5735,7 +5811,21 @@ export declare class GetConfigRuleResponseBodyConfigRuleSource extends $dara.Mod
5735
5811
  });
5736
5812
  }
5737
5813
  export declare class GetConfigRuleResponseBodyConfigRuleTags extends $dara.Model {
5814
+ /**
5815
+ * @remarks
5816
+ * The tag key. The tag key can be up to 128 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
5817
+ *
5818
+ * @example
5819
+ * key-1
5820
+ */
5738
5821
  tagKey?: string;
5822
+ /**
5823
+ * @remarks
5824
+ * The tag value.
5825
+ *
5826
+ * @example
5827
+ * value-1
5828
+ */
5739
5829
  tagValue?: string;
5740
5830
  static names(): {
5741
5831
  [key: string]: string;
@@ -6024,6 +6114,10 @@ export declare class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
6024
6114
  * MFA
6025
6115
  */
6026
6116
  tagValueScope?: string;
6117
+ /**
6118
+ * @remarks
6119
+ * The tag list.
6120
+ */
6027
6121
  tags?: GetConfigRuleResponseBodyConfigRuleTags[];
6028
6122
  /**
6029
6123
  * @remarks
@@ -10013,7 +10107,27 @@ export declare class ListConfigRuleEvaluationStatisticsResponseBodyEvaluationRes
10013
10107
  });
10014
10108
  }
10015
10109
  export declare class ListConfigRulesRequestTag extends $dara.Model {
10110
+ /**
10111
+ * @remarks
10112
+ * The tag key.
10113
+ *
10114
+ * The tag key cannot be an empty string. The tag key can be up to 64 characters in length and cannot start with `acs:` or `aliyun`. It cannot contain `http://` or `https://`.
10115
+ *
10116
+ * You can specify at most 20 tag keys.
10117
+ *
10118
+ * @example
10119
+ * key-1
10120
+ */
10016
10121
  key?: string;
10122
+ /**
10123
+ * @remarks
10124
+ * The value of tag N to add to the resource. You can specify up to 20 tag values. The tag value can be an empty string.
10125
+ *
10126
+ * The tag value can be up to 128 characters in length and can contain letters, digits, periods (.), underscores (_), and hyphens (-). The tag value must start with a letter but cannot start with `aliyun` or `acs:`. The tag value cannot contain `http://` or `https://`.
10127
+ *
10128
+ * @example
10129
+ * value-1
10130
+ */
10017
10131
  value?: string;
10018
10132
  static names(): {
10019
10133
  [key: string]: string;
@@ -12346,7 +12460,21 @@ export declare class UpdateConfigRuleRequestExcludeTagsScope extends $dara.Model
12346
12460
  });
12347
12461
  }
12348
12462
  export declare class UpdateConfigRuleRequestTag extends $dara.Model {
12463
+ /**
12464
+ * @remarks
12465
+ * The key of tag N to add to the key pair. Valid values of N: 1 to 20. The tag key cannot be an empty string. The tag key can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag key cannot start with `acs:` or `aliyun`.
12466
+ *
12467
+ * @example
12468
+ * key-1
12469
+ */
12349
12470
  key?: string;
12471
+ /**
12472
+ * @remarks
12473
+ * The value of tag N. Valid values of N: **1 to 20**. The tag value can be an empty string. The tag value can be up to 128 characters in length and cannot contain `http://` or `https://`. The tag value cannot start with `aliyun` and `acs:`.
12474
+ *
12475
+ * @example
12476
+ * value-1
12477
+ */
12350
12478
  value?: string;
12351
12479
  static names(): {
12352
12480
  [key: string]: string;
@@ -15498,6 +15626,10 @@ export declare class CreateConfigRuleRequest extends $dara.Model {
15498
15626
  * ALIYUN
15499
15627
  */
15500
15628
  sourceOwner?: string;
15629
+ /**
15630
+ * @remarks
15631
+ * rule attached tags
15632
+ */
15501
15633
  tag?: CreateConfigRuleRequestTag[];
15502
15634
  /**
15503
15635
  * @remarks
@@ -15731,6 +15863,10 @@ export declare class CreateConfigRuleShrinkRequest extends $dara.Model {
15731
15863
  * ALIYUN
15732
15864
  */
15733
15865
  sourceOwner?: string;
15866
+ /**
15867
+ * @remarks
15868
+ * rule attached tags
15869
+ */
15734
15870
  tagShrink?: string;
15735
15871
  /**
15736
15872
  * @remarks
@@ -17272,6 +17408,7 @@ export declare class EvaluatePreConfigRulesRequest extends $dara.Model {
17272
17408
  * This parameter is required.
17273
17409
  */
17274
17410
  resourceEvaluateItems?: EvaluatePreConfigRulesRequestResourceEvaluateItems[];
17411
+ resourceTypeFormat?: string;
17275
17412
  static names(): {
17276
17413
  [key: string]: string;
17277
17414
  };
@@ -17304,6 +17441,7 @@ export declare class EvaluatePreConfigRulesShrinkRequest extends $dara.Model {
17304
17441
  * This parameter is required.
17305
17442
  */
17306
17443
  resourceEvaluateItemsShrink?: string;
17444
+ resourceTypeFormat?: string;
17307
17445
  static names(): {
17308
17446
  [key: string]: string;
17309
17447
  };
@@ -18375,6 +18513,12 @@ export declare class GetAggregateConfigRuleRequest extends $dara.Model {
18375
18513
  * cr-7f7d626622af0041****
18376
18514
  */
18377
18515
  configRuleId?: string;
18516
+ /**
18517
+ * @remarks
18518
+ * The tags of the resource.
18519
+ *
18520
+ * You can add up to 20 tags to a resource.
18521
+ */
18378
18522
  tag?: GetAggregateConfigRuleRequestTag[];
18379
18523
  static names(): {
18380
18524
  [key: string]: string;
@@ -18412,6 +18556,12 @@ export declare class GetAggregateConfigRuleShrinkRequest extends $dara.Model {
18412
18556
  * cr-7f7d626622af0041****
18413
18557
  */
18414
18558
  configRuleId?: string;
18559
+ /**
18560
+ * @remarks
18561
+ * The tags of the resource.
18562
+ *
18563
+ * You can add up to 20 tags to a resource.
18564
+ */
18415
18565
  tagShrink?: string;
18416
18566
  static names(): {
18417
18567
  [key: string]: string;
@@ -20009,6 +20159,12 @@ export declare class GetConfigRuleRequest extends $dara.Model {
20009
20159
  * cr-7f7d626622af0041****
20010
20160
  */
20011
20161
  configRuleId?: string;
20162
+ /**
20163
+ * @remarks
20164
+ * The tags of the resource.
20165
+ *
20166
+ * You can add up to 20 tags to a resource.
20167
+ */
20012
20168
  tag?: GetConfigRuleRequestTag[];
20013
20169
  static names(): {
20014
20170
  [key: string]: string;
@@ -20034,6 +20190,12 @@ export declare class GetConfigRuleShrinkRequest extends $dara.Model {
20034
20190
  * cr-7f7d626622af0041****
20035
20191
  */
20036
20192
  configRuleId?: string;
20193
+ /**
20194
+ * @remarks
20195
+ * The tags of the resource.
20196
+ *
20197
+ * You can add up to 20 tags to a resource.
20198
+ */
20037
20199
  tagShrink?: string;
20038
20200
  static names(): {
20039
20201
  [key: string]: string;
@@ -23465,6 +23627,12 @@ export declare class ListConfigRulesRequest extends $dara.Model {
23465
23627
  * 1
23466
23628
  */
23467
23629
  riskLevel?: number;
23630
+ /**
23631
+ * @remarks
23632
+ * The tags of the resource.
23633
+ *
23634
+ * You can add up to 20 tags to a resource.
23635
+ */
23468
23636
  tag?: ListConfigRulesRequestTag[];
23469
23637
  static names(): {
23470
23638
  [key: string]: string;
@@ -23574,6 +23742,12 @@ export declare class ListConfigRulesShrinkRequest extends $dara.Model {
23574
23742
  * 1
23575
23743
  */
23576
23744
  riskLevel?: number;
23745
+ /**
23746
+ * @remarks
23747
+ * The tags of the resource.
23748
+ *
23749
+ * You can add up to 20 tags to a resource.
23750
+ */
23577
23751
  tagShrink?: string;
23578
23752
  static names(): {
23579
23753
  [key: string]: string;
@@ -28115,6 +28289,12 @@ export declare class UpdateConfigRuleRequest extends $dara.Model {
28115
28289
  * 3
28116
28290
  */
28117
28291
  riskLevel?: number;
28292
+ /**
28293
+ * @remarks
28294
+ * The tags of the resource.
28295
+ *
28296
+ * You can add up to 20 tags to a resource.
28297
+ */
28118
28298
  tag?: UpdateConfigRuleRequestTag[];
28119
28299
  /**
28120
28300
  * @remarks
@@ -28329,6 +28509,12 @@ export declare class UpdateConfigRuleShrinkRequest extends $dara.Model {
28329
28509
  * 3
28330
28510
  */
28331
28511
  riskLevel?: number;
28512
+ /**
28513
+ * @remarks
28514
+ * The tags of the resource.
28515
+ *
28516
+ * You can add up to 20 tags to a resource.
28517
+ */
28332
28518
  tagShrink?: string;
28333
28519
  /**
28334
28520
  * @remarks
package/dist/client.js CHANGED
@@ -9945,12 +9945,14 @@ class EvaluatePreConfigRulesRequest extends $dara.Model {
9945
9945
  return {
9946
9946
  enableManagedRules: 'EnableManagedRules',
9947
9947
  resourceEvaluateItems: 'ResourceEvaluateItems',
9948
+ resourceTypeFormat: 'ResourceTypeFormat',
9948
9949
  };
9949
9950
  }
9950
9951
  static types() {
9951
9952
  return {
9952
9953
  enableManagedRules: 'boolean',
9953
9954
  resourceEvaluateItems: { 'type': 'array', 'itemType': EvaluatePreConfigRulesRequestResourceEvaluateItems },
9955
+ resourceTypeFormat: 'string',
9954
9956
  };
9955
9957
  }
9956
9958
  validate() {
@@ -9969,12 +9971,14 @@ class EvaluatePreConfigRulesShrinkRequest extends $dara.Model {
9969
9971
  return {
9970
9972
  enableManagedRules: 'EnableManagedRules',
9971
9973
  resourceEvaluateItemsShrink: 'ResourceEvaluateItems',
9974
+ resourceTypeFormat: 'ResourceTypeFormat',
9972
9975
  };
9973
9976
  }
9974
9977
  static types() {
9975
9978
  return {
9976
9979
  enableManagedRules: 'boolean',
9977
9980
  resourceEvaluateItemsShrink: 'string',
9981
+ resourceTypeFormat: 'string',
9978
9982
  };
9979
9983
  }
9980
9984
  validate() {
@@ -20792,6 +20796,9 @@ class Client extends openapi_core_1.default {
20792
20796
  if (!$dara.isNull(request.resourceEvaluateItemsShrink)) {
20793
20797
  body["ResourceEvaluateItems"] = request.resourceEvaluateItemsShrink;
20794
20798
  }
20799
+ if (!$dara.isNull(request.resourceTypeFormat)) {
20800
+ body["ResourceTypeFormat"] = request.resourceTypeFormat;
20801
+ }
20795
20802
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
20796
20803
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
20797
20804
  });