@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 +186 -0
- package/dist/client.js +7 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +194 -0
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -1181,7 +1181,27 @@ export class CreateConfigRuleRequestExcludeTagsScope extends $dara.Model {
|
|
|
1181
1181
|
}
|
|
1182
1182
|
|
|
1183
1183
|
export class CreateConfigRuleRequestTag extends $dara.Model {
|
|
1184
|
+
/**
|
|
1185
|
+
* @remarks
|
|
1186
|
+
* The tag keys.
|
|
1187
|
+
*
|
|
1188
|
+
* 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://`.
|
|
1189
|
+
*
|
|
1190
|
+
* You can specify at most 20 tag keys in each call.
|
|
1191
|
+
*
|
|
1192
|
+
* @example
|
|
1193
|
+
* key-1
|
|
1194
|
+
*/
|
|
1184
1195
|
key?: string;
|
|
1196
|
+
/**
|
|
1197
|
+
* @remarks
|
|
1198
|
+
* The value of the tag. You can specify up to 20 tag values. The tag value can be an empty string.
|
|
1199
|
+
*
|
|
1200
|
+
* 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://`.
|
|
1201
|
+
*
|
|
1202
|
+
* @example
|
|
1203
|
+
* value-1
|
|
1204
|
+
*/
|
|
1185
1205
|
value?: string;
|
|
1186
1206
|
static names(): { [key: string]: string } {
|
|
1187
1207
|
return {
|
|
@@ -3774,7 +3794,27 @@ export class GetAggregateConfigDeliveryChannelResponseBodyDeliveryChannel extend
|
|
|
3774
3794
|
}
|
|
3775
3795
|
|
|
3776
3796
|
export class GetAggregateConfigRuleRequestTag extends $dara.Model {
|
|
3797
|
+
/**
|
|
3798
|
+
* @remarks
|
|
3799
|
+
* The tag key of the resource. You can specify up to 20 tag keys.
|
|
3800
|
+
*
|
|
3801
|
+
* 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://`.
|
|
3802
|
+
*
|
|
3803
|
+
* @example
|
|
3804
|
+
* key-1
|
|
3805
|
+
*/
|
|
3777
3806
|
key?: string;
|
|
3807
|
+
/**
|
|
3808
|
+
* @remarks
|
|
3809
|
+
* The tag values.
|
|
3810
|
+
*
|
|
3811
|
+
* 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://`.
|
|
3812
|
+
*
|
|
3813
|
+
* Each key-value must be unique. You can specify at most 20 tag values in each call.
|
|
3814
|
+
*
|
|
3815
|
+
* @example
|
|
3816
|
+
* value-1
|
|
3817
|
+
*/
|
|
3778
3818
|
value?: string;
|
|
3779
3819
|
static names(): { [key: string]: string } {
|
|
3780
3820
|
return {
|
|
@@ -4352,7 +4392,21 @@ export class GetAggregateConfigRuleResponseBodyConfigRuleSource extends $dara.Mo
|
|
|
4352
4392
|
}
|
|
4353
4393
|
|
|
4354
4394
|
export class GetAggregateConfigRuleResponseBodyConfigRuleTags extends $dara.Model {
|
|
4395
|
+
/**
|
|
4396
|
+
* @remarks
|
|
4397
|
+
* The tag key.
|
|
4398
|
+
*
|
|
4399
|
+
* @example
|
|
4400
|
+
* key-1
|
|
4401
|
+
*/
|
|
4355
4402
|
tagKey?: string;
|
|
4403
|
+
/**
|
|
4404
|
+
* @remarks
|
|
4405
|
+
* The tag value.
|
|
4406
|
+
*
|
|
4407
|
+
* @example
|
|
4408
|
+
* value-1
|
|
4409
|
+
*/
|
|
4356
4410
|
tagValue?: string;
|
|
4357
4411
|
static names(): { [key: string]: string } {
|
|
4358
4412
|
return {
|
|
@@ -4695,6 +4749,10 @@ export class GetAggregateConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
4695
4749
|
* MFA
|
|
4696
4750
|
*/
|
|
4697
4751
|
tagValueScope?: string;
|
|
4752
|
+
/**
|
|
4753
|
+
* @remarks
|
|
4754
|
+
* The list of tags.
|
|
4755
|
+
*/
|
|
4698
4756
|
tags?: GetAggregateConfigRuleResponseBodyConfigRuleTags[];
|
|
4699
4757
|
/**
|
|
4700
4758
|
* @remarks
|
|
@@ -7312,7 +7370,25 @@ export class GetConfigDeliveryChannelResponseBodyDeliveryChannel extends $dara.M
|
|
|
7312
7370
|
}
|
|
7313
7371
|
|
|
7314
7372
|
export class GetConfigRuleRequestTag extends $dara.Model {
|
|
7373
|
+
/**
|
|
7374
|
+
* @remarks
|
|
7375
|
+
* The tag key.
|
|
7376
|
+
*
|
|
7377
|
+
* 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://`.
|
|
7378
|
+
*
|
|
7379
|
+
* You can specify at most 20 tag keys.
|
|
7380
|
+
*
|
|
7381
|
+
* @example
|
|
7382
|
+
* key-1
|
|
7383
|
+
*/
|
|
7315
7384
|
key?: string;
|
|
7385
|
+
/**
|
|
7386
|
+
* @remarks
|
|
7387
|
+
* The tag value. The tag value can be up to 256 characters in length and cannot contain `http://` or `https://`.
|
|
7388
|
+
*
|
|
7389
|
+
* @example
|
|
7390
|
+
* value-1
|
|
7391
|
+
*/
|
|
7316
7392
|
value?: string;
|
|
7317
7393
|
static names(): { [key: string]: string } {
|
|
7318
7394
|
return {
|
|
@@ -7894,7 +7970,21 @@ export class GetConfigRuleResponseBodyConfigRuleSource extends $dara.Model {
|
|
|
7894
7970
|
}
|
|
7895
7971
|
|
|
7896
7972
|
export class GetConfigRuleResponseBodyConfigRuleTags extends $dara.Model {
|
|
7973
|
+
/**
|
|
7974
|
+
* @remarks
|
|
7975
|
+
* 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://`.
|
|
7976
|
+
*
|
|
7977
|
+
* @example
|
|
7978
|
+
* key-1
|
|
7979
|
+
*/
|
|
7897
7980
|
tagKey?: string;
|
|
7981
|
+
/**
|
|
7982
|
+
* @remarks
|
|
7983
|
+
* The tag value.
|
|
7984
|
+
*
|
|
7985
|
+
* @example
|
|
7986
|
+
* value-1
|
|
7987
|
+
*/
|
|
7898
7988
|
tagValue?: string;
|
|
7899
7989
|
static names(): { [key: string]: string } {
|
|
7900
7990
|
return {
|
|
@@ -8205,6 +8295,10 @@ export class GetConfigRuleResponseBodyConfigRule extends $dara.Model {
|
|
|
8205
8295
|
* MFA
|
|
8206
8296
|
*/
|
|
8207
8297
|
tagValueScope?: string;
|
|
8298
|
+
/**
|
|
8299
|
+
* @remarks
|
|
8300
|
+
* The tag list.
|
|
8301
|
+
*/
|
|
8208
8302
|
tags?: GetConfigRuleResponseBodyConfigRuleTags[];
|
|
8209
8303
|
/**
|
|
8210
8304
|
* @remarks
|
|
@@ -13690,7 +13784,27 @@ export class ListConfigRuleEvaluationStatisticsResponseBodyEvaluationResults ext
|
|
|
13690
13784
|
}
|
|
13691
13785
|
|
|
13692
13786
|
export class ListConfigRulesRequestTag extends $dara.Model {
|
|
13787
|
+
/**
|
|
13788
|
+
* @remarks
|
|
13789
|
+
* The tag key.
|
|
13790
|
+
*
|
|
13791
|
+
* 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://`.
|
|
13792
|
+
*
|
|
13793
|
+
* You can specify at most 20 tag keys.
|
|
13794
|
+
*
|
|
13795
|
+
* @example
|
|
13796
|
+
* key-1
|
|
13797
|
+
*/
|
|
13693
13798
|
key?: string;
|
|
13799
|
+
/**
|
|
13800
|
+
* @remarks
|
|
13801
|
+
* 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.
|
|
13802
|
+
*
|
|
13803
|
+
* 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://`.
|
|
13804
|
+
*
|
|
13805
|
+
* @example
|
|
13806
|
+
* value-1
|
|
13807
|
+
*/
|
|
13694
13808
|
value?: string;
|
|
13695
13809
|
static names(): { [key: string]: string } {
|
|
13696
13810
|
return {
|
|
@@ -16905,7 +17019,21 @@ export class UpdateConfigRuleRequestExcludeTagsScope extends $dara.Model {
|
|
|
16905
17019
|
}
|
|
16906
17020
|
|
|
16907
17021
|
export class UpdateConfigRuleRequestTag extends $dara.Model {
|
|
17022
|
+
/**
|
|
17023
|
+
* @remarks
|
|
17024
|
+
* 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`.
|
|
17025
|
+
*
|
|
17026
|
+
* @example
|
|
17027
|
+
* key-1
|
|
17028
|
+
*/
|
|
16908
17029
|
key?: string;
|
|
17030
|
+
/**
|
|
17031
|
+
* @remarks
|
|
17032
|
+
* 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:`.
|
|
17033
|
+
*
|
|
17034
|
+
* @example
|
|
17035
|
+
* value-1
|
|
17036
|
+
*/
|
|
16909
17037
|
value?: string;
|
|
16910
17038
|
static names(): { [key: string]: string } {
|
|
16911
17039
|
return {
|
|
@@ -21184,6 +21312,10 @@ export class CreateConfigRuleRequest extends $dara.Model {
|
|
|
21184
21312
|
* ALIYUN
|
|
21185
21313
|
*/
|
|
21186
21314
|
sourceOwner?: string;
|
|
21315
|
+
/**
|
|
21316
|
+
* @remarks
|
|
21317
|
+
* rule attached tags
|
|
21318
|
+
*/
|
|
21187
21319
|
tag?: CreateConfigRuleRequestTag[];
|
|
21188
21320
|
/**
|
|
21189
21321
|
* @remarks
|
|
@@ -21486,6 +21618,10 @@ export class CreateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
21486
21618
|
* ALIYUN
|
|
21487
21619
|
*/
|
|
21488
21620
|
sourceOwner?: string;
|
|
21621
|
+
/**
|
|
21622
|
+
* @remarks
|
|
21623
|
+
* rule attached tags
|
|
21624
|
+
*/
|
|
21489
21625
|
tagShrink?: string;
|
|
21490
21626
|
/**
|
|
21491
21627
|
* @remarks
|
|
@@ -23857,10 +23993,12 @@ export class EvaluatePreConfigRulesRequest extends $dara.Model {
|
|
|
23857
23993
|
* This parameter is required.
|
|
23858
23994
|
*/
|
|
23859
23995
|
resourceEvaluateItems?: EvaluatePreConfigRulesRequestResourceEvaluateItems[];
|
|
23996
|
+
resourceTypeFormat?: string;
|
|
23860
23997
|
static names(): { [key: string]: string } {
|
|
23861
23998
|
return {
|
|
23862
23999
|
enableManagedRules: 'EnableManagedRules',
|
|
23863
24000
|
resourceEvaluateItems: 'ResourceEvaluateItems',
|
|
24001
|
+
resourceTypeFormat: 'ResourceTypeFormat',
|
|
23864
24002
|
};
|
|
23865
24003
|
}
|
|
23866
24004
|
|
|
@@ -23868,6 +24006,7 @@ export class EvaluatePreConfigRulesRequest extends $dara.Model {
|
|
|
23868
24006
|
return {
|
|
23869
24007
|
enableManagedRules: 'boolean',
|
|
23870
24008
|
resourceEvaluateItems: { 'type': 'array', 'itemType': EvaluatePreConfigRulesRequestResourceEvaluateItems },
|
|
24009
|
+
resourceTypeFormat: 'string',
|
|
23871
24010
|
};
|
|
23872
24011
|
}
|
|
23873
24012
|
|
|
@@ -23904,10 +24043,12 @@ export class EvaluatePreConfigRulesShrinkRequest extends $dara.Model {
|
|
|
23904
24043
|
* This parameter is required.
|
|
23905
24044
|
*/
|
|
23906
24045
|
resourceEvaluateItemsShrink?: string;
|
|
24046
|
+
resourceTypeFormat?: string;
|
|
23907
24047
|
static names(): { [key: string]: string } {
|
|
23908
24048
|
return {
|
|
23909
24049
|
enableManagedRules: 'EnableManagedRules',
|
|
23910
24050
|
resourceEvaluateItemsShrink: 'ResourceEvaluateItems',
|
|
24051
|
+
resourceTypeFormat: 'ResourceTypeFormat',
|
|
23911
24052
|
};
|
|
23912
24053
|
}
|
|
23913
24054
|
|
|
@@ -23915,6 +24056,7 @@ export class EvaluatePreConfigRulesShrinkRequest extends $dara.Model {
|
|
|
23915
24056
|
return {
|
|
23916
24057
|
enableManagedRules: 'boolean',
|
|
23917
24058
|
resourceEvaluateItemsShrink: 'string',
|
|
24059
|
+
resourceTypeFormat: 'string',
|
|
23918
24060
|
};
|
|
23919
24061
|
}
|
|
23920
24062
|
|
|
@@ -25581,6 +25723,12 @@ export class GetAggregateConfigRuleRequest extends $dara.Model {
|
|
|
25581
25723
|
* cr-7f7d626622af0041****
|
|
25582
25724
|
*/
|
|
25583
25725
|
configRuleId?: string;
|
|
25726
|
+
/**
|
|
25727
|
+
* @remarks
|
|
25728
|
+
* The tags of the resource.
|
|
25729
|
+
*
|
|
25730
|
+
* You can add up to 20 tags to a resource.
|
|
25731
|
+
*/
|
|
25584
25732
|
tag?: GetAggregateConfigRuleRequestTag[];
|
|
25585
25733
|
static names(): { [key: string]: string } {
|
|
25586
25734
|
return {
|
|
@@ -25635,6 +25783,12 @@ export class GetAggregateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
25635
25783
|
* cr-7f7d626622af0041****
|
|
25636
25784
|
*/
|
|
25637
25785
|
configRuleId?: string;
|
|
25786
|
+
/**
|
|
25787
|
+
* @remarks
|
|
25788
|
+
* The tags of the resource.
|
|
25789
|
+
*
|
|
25790
|
+
* You can add up to 20 tags to a resource.
|
|
25791
|
+
*/
|
|
25638
25792
|
tagShrink?: string;
|
|
25639
25793
|
static names(): { [key: string]: string } {
|
|
25640
25794
|
return {
|
|
@@ -28125,6 +28279,12 @@ export class GetConfigRuleRequest extends $dara.Model {
|
|
|
28125
28279
|
* cr-7f7d626622af0041****
|
|
28126
28280
|
*/
|
|
28127
28281
|
configRuleId?: string;
|
|
28282
|
+
/**
|
|
28283
|
+
* @remarks
|
|
28284
|
+
* The tags of the resource.
|
|
28285
|
+
*
|
|
28286
|
+
* You can add up to 20 tags to a resource.
|
|
28287
|
+
*/
|
|
28128
28288
|
tag?: GetConfigRuleRequestTag[];
|
|
28129
28289
|
static names(): { [key: string]: string } {
|
|
28130
28290
|
return {
|
|
@@ -28165,6 +28325,12 @@ export class GetConfigRuleShrinkRequest extends $dara.Model {
|
|
|
28165
28325
|
* cr-7f7d626622af0041****
|
|
28166
28326
|
*/
|
|
28167
28327
|
configRuleId?: string;
|
|
28328
|
+
/**
|
|
28329
|
+
* @remarks
|
|
28330
|
+
* The tags of the resource.
|
|
28331
|
+
*
|
|
28332
|
+
* You can add up to 20 tags to a resource.
|
|
28333
|
+
*/
|
|
28168
28334
|
tagShrink?: string;
|
|
28169
28335
|
static names(): { [key: string]: string } {
|
|
28170
28336
|
return {
|
|
@@ -33407,6 +33573,12 @@ export class ListConfigRulesRequest extends $dara.Model {
|
|
|
33407
33573
|
* 1
|
|
33408
33574
|
*/
|
|
33409
33575
|
riskLevel?: number;
|
|
33576
|
+
/**
|
|
33577
|
+
* @remarks
|
|
33578
|
+
* The tags of the resource.
|
|
33579
|
+
*
|
|
33580
|
+
* You can add up to 20 tags to a resource.
|
|
33581
|
+
*/
|
|
33410
33582
|
tag?: ListConfigRulesRequestTag[];
|
|
33411
33583
|
static names(): { [key: string]: string } {
|
|
33412
33584
|
return {
|
|
@@ -33547,6 +33719,12 @@ export class ListConfigRulesShrinkRequest extends $dara.Model {
|
|
|
33547
33719
|
* 1
|
|
33548
33720
|
*/
|
|
33549
33721
|
riskLevel?: number;
|
|
33722
|
+
/**
|
|
33723
|
+
* @remarks
|
|
33724
|
+
* The tags of the resource.
|
|
33725
|
+
*
|
|
33726
|
+
* You can add up to 20 tags to a resource.
|
|
33727
|
+
*/
|
|
33550
33728
|
tagShrink?: string;
|
|
33551
33729
|
static names(): { [key: string]: string } {
|
|
33552
33730
|
return {
|
|
@@ -39980,6 +40158,12 @@ export class UpdateConfigRuleRequest extends $dara.Model {
|
|
|
39980
40158
|
* 3
|
|
39981
40159
|
*/
|
|
39982
40160
|
riskLevel?: number;
|
|
40161
|
+
/**
|
|
40162
|
+
* @remarks
|
|
40163
|
+
* The tags of the resource.
|
|
40164
|
+
*
|
|
40165
|
+
* You can add up to 20 tags to a resource.
|
|
40166
|
+
*/
|
|
39983
40167
|
tag?: UpdateConfigRuleRequestTag[];
|
|
39984
40168
|
/**
|
|
39985
40169
|
* @remarks
|
|
@@ -40261,6 +40445,12 @@ export class UpdateConfigRuleShrinkRequest extends $dara.Model {
|
|
|
40261
40445
|
* 3
|
|
40262
40446
|
*/
|
|
40263
40447
|
riskLevel?: number;
|
|
40448
|
+
/**
|
|
40449
|
+
* @remarks
|
|
40450
|
+
* The tags of the resource.
|
|
40451
|
+
*
|
|
40452
|
+
* You can add up to 20 tags to a resource.
|
|
40453
|
+
*/
|
|
40264
40454
|
tagShrink?: string;
|
|
40265
40455
|
/**
|
|
40266
40456
|
* @remarks
|
|
@@ -43465,6 +43655,10 @@ export default class Client extends OpenApi {
|
|
|
43465
43655
|
body["ResourceEvaluateItems"] = request.resourceEvaluateItemsShrink;
|
|
43466
43656
|
}
|
|
43467
43657
|
|
|
43658
|
+
if (!$dara.isNull(request.resourceTypeFormat)) {
|
|
43659
|
+
body["ResourceTypeFormat"] = request.resourceTypeFormat;
|
|
43660
|
+
}
|
|
43661
|
+
|
|
43468
43662
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
43469
43663
|
body: OpenApiUtil.parseToMap(body),
|
|
43470
43664
|
});
|