@alicloud/config20200907 2.2.7 → 2.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1201 -127
- package/dist/client.js +2072 -159
- package/dist/client.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +2582 -247
package/src/client.ts
CHANGED
|
@@ -111,6 +111,72 @@ export class ActiveAggregateConfigRulesResponse extends $tea.Model {
|
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
export class ActiveConfigRulesRequest extends $tea.Model {
|
|
115
|
+
configRuleIds?: string;
|
|
116
|
+
static names(): { [key: string]: string } {
|
|
117
|
+
return {
|
|
118
|
+
configRuleIds: 'ConfigRuleIds',
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
static types(): { [key: string]: any } {
|
|
123
|
+
return {
|
|
124
|
+
configRuleIds: 'string',
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
constructor(map?: { [key: string]: any }) {
|
|
129
|
+
super(map);
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export class ActiveConfigRulesResponseBody extends $tea.Model {
|
|
134
|
+
operateRuleResult?: ActiveConfigRulesResponseBodyOperateRuleResult;
|
|
135
|
+
requestId?: string;
|
|
136
|
+
static names(): { [key: string]: string } {
|
|
137
|
+
return {
|
|
138
|
+
operateRuleResult: 'OperateRuleResult',
|
|
139
|
+
requestId: 'RequestId',
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
static types(): { [key: string]: any } {
|
|
144
|
+
return {
|
|
145
|
+
operateRuleResult: ActiveConfigRulesResponseBodyOperateRuleResult,
|
|
146
|
+
requestId: 'string',
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
constructor(map?: { [key: string]: any }) {
|
|
151
|
+
super(map);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export class ActiveConfigRulesResponse extends $tea.Model {
|
|
156
|
+
headers: { [key: string]: string };
|
|
157
|
+
statusCode: number;
|
|
158
|
+
body: ActiveConfigRulesResponseBody;
|
|
159
|
+
static names(): { [key: string]: string } {
|
|
160
|
+
return {
|
|
161
|
+
headers: 'headers',
|
|
162
|
+
statusCode: 'statusCode',
|
|
163
|
+
body: 'body',
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
static types(): { [key: string]: any } {
|
|
168
|
+
return {
|
|
169
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
170
|
+
statusCode: 'number',
|
|
171
|
+
body: ActiveConfigRulesResponseBody,
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
constructor(map?: { [key: string]: any }) {
|
|
176
|
+
super(map);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
114
180
|
export class AttachAggregateConfigRuleToCompliancePackRequest extends $tea.Model {
|
|
115
181
|
aggregatorId?: string;
|
|
116
182
|
compliancePackId?: string;
|
|
@@ -2273,6 +2339,72 @@ export class DeleteConfigDeliveryChannelResponse extends $tea.Model {
|
|
|
2273
2339
|
}
|
|
2274
2340
|
}
|
|
2275
2341
|
|
|
2342
|
+
export class DeleteConfigRulesRequest extends $tea.Model {
|
|
2343
|
+
configRuleIds?: string;
|
|
2344
|
+
static names(): { [key: string]: string } {
|
|
2345
|
+
return {
|
|
2346
|
+
configRuleIds: 'ConfigRuleIds',
|
|
2347
|
+
};
|
|
2348
|
+
}
|
|
2349
|
+
|
|
2350
|
+
static types(): { [key: string]: any } {
|
|
2351
|
+
return {
|
|
2352
|
+
configRuleIds: 'string',
|
|
2353
|
+
};
|
|
2354
|
+
}
|
|
2355
|
+
|
|
2356
|
+
constructor(map?: { [key: string]: any }) {
|
|
2357
|
+
super(map);
|
|
2358
|
+
}
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
export class DeleteConfigRulesResponseBody extends $tea.Model {
|
|
2362
|
+
operateRuleResult?: DeleteConfigRulesResponseBodyOperateRuleResult;
|
|
2363
|
+
requestId?: string;
|
|
2364
|
+
static names(): { [key: string]: string } {
|
|
2365
|
+
return {
|
|
2366
|
+
operateRuleResult: 'OperateRuleResult',
|
|
2367
|
+
requestId: 'RequestId',
|
|
2368
|
+
};
|
|
2369
|
+
}
|
|
2370
|
+
|
|
2371
|
+
static types(): { [key: string]: any } {
|
|
2372
|
+
return {
|
|
2373
|
+
operateRuleResult: DeleteConfigRulesResponseBodyOperateRuleResult,
|
|
2374
|
+
requestId: 'string',
|
|
2375
|
+
};
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2378
|
+
constructor(map?: { [key: string]: any }) {
|
|
2379
|
+
super(map);
|
|
2380
|
+
}
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
export class DeleteConfigRulesResponse extends $tea.Model {
|
|
2384
|
+
headers: { [key: string]: string };
|
|
2385
|
+
statusCode: number;
|
|
2386
|
+
body: DeleteConfigRulesResponseBody;
|
|
2387
|
+
static names(): { [key: string]: string } {
|
|
2388
|
+
return {
|
|
2389
|
+
headers: 'headers',
|
|
2390
|
+
statusCode: 'statusCode',
|
|
2391
|
+
body: 'body',
|
|
2392
|
+
};
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
static types(): { [key: string]: any } {
|
|
2396
|
+
return {
|
|
2397
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2398
|
+
statusCode: 'number',
|
|
2399
|
+
body: DeleteConfigRulesResponseBody,
|
|
2400
|
+
};
|
|
2401
|
+
}
|
|
2402
|
+
|
|
2403
|
+
constructor(map?: { [key: string]: any }) {
|
|
2404
|
+
super(map);
|
|
2405
|
+
}
|
|
2406
|
+
}
|
|
2407
|
+
|
|
2276
2408
|
export class DeleteRemediationsRequest extends $tea.Model {
|
|
2277
2409
|
remediationIds?: string;
|
|
2278
2410
|
static names(): { [key: string]: string } {
|
|
@@ -2718,6 +2850,78 @@ export class GenerateAggregateConfigRulesReportResponse extends $tea.Model {
|
|
|
2718
2850
|
}
|
|
2719
2851
|
}
|
|
2720
2852
|
|
|
2853
|
+
export class GenerateAggregateResourceInventoryRequest extends $tea.Model {
|
|
2854
|
+
accountIds?: string;
|
|
2855
|
+
aggregatorId?: string;
|
|
2856
|
+
regions?: string;
|
|
2857
|
+
resourceTypes?: string;
|
|
2858
|
+
static names(): { [key: string]: string } {
|
|
2859
|
+
return {
|
|
2860
|
+
accountIds: 'AccountIds',
|
|
2861
|
+
aggregatorId: 'AggregatorId',
|
|
2862
|
+
regions: 'Regions',
|
|
2863
|
+
resourceTypes: 'ResourceTypes',
|
|
2864
|
+
};
|
|
2865
|
+
}
|
|
2866
|
+
|
|
2867
|
+
static types(): { [key: string]: any } {
|
|
2868
|
+
return {
|
|
2869
|
+
accountIds: 'string',
|
|
2870
|
+
aggregatorId: 'string',
|
|
2871
|
+
regions: 'string',
|
|
2872
|
+
resourceTypes: 'string',
|
|
2873
|
+
};
|
|
2874
|
+
}
|
|
2875
|
+
|
|
2876
|
+
constructor(map?: { [key: string]: any }) {
|
|
2877
|
+
super(map);
|
|
2878
|
+
}
|
|
2879
|
+
}
|
|
2880
|
+
|
|
2881
|
+
export class GenerateAggregateResourceInventoryResponseBody extends $tea.Model {
|
|
2882
|
+
requestId?: string;
|
|
2883
|
+
static names(): { [key: string]: string } {
|
|
2884
|
+
return {
|
|
2885
|
+
requestId: 'RequestId',
|
|
2886
|
+
};
|
|
2887
|
+
}
|
|
2888
|
+
|
|
2889
|
+
static types(): { [key: string]: any } {
|
|
2890
|
+
return {
|
|
2891
|
+
requestId: 'string',
|
|
2892
|
+
};
|
|
2893
|
+
}
|
|
2894
|
+
|
|
2895
|
+
constructor(map?: { [key: string]: any }) {
|
|
2896
|
+
super(map);
|
|
2897
|
+
}
|
|
2898
|
+
}
|
|
2899
|
+
|
|
2900
|
+
export class GenerateAggregateResourceInventoryResponse extends $tea.Model {
|
|
2901
|
+
headers: { [key: string]: string };
|
|
2902
|
+
statusCode: number;
|
|
2903
|
+
body: GenerateAggregateResourceInventoryResponseBody;
|
|
2904
|
+
static names(): { [key: string]: string } {
|
|
2905
|
+
return {
|
|
2906
|
+
headers: 'headers',
|
|
2907
|
+
statusCode: 'statusCode',
|
|
2908
|
+
body: 'body',
|
|
2909
|
+
};
|
|
2910
|
+
}
|
|
2911
|
+
|
|
2912
|
+
static types(): { [key: string]: any } {
|
|
2913
|
+
return {
|
|
2914
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
2915
|
+
statusCode: 'number',
|
|
2916
|
+
body: GenerateAggregateResourceInventoryResponseBody,
|
|
2917
|
+
};
|
|
2918
|
+
}
|
|
2919
|
+
|
|
2920
|
+
constructor(map?: { [key: string]: any }) {
|
|
2921
|
+
super(map);
|
|
2922
|
+
}
|
|
2923
|
+
}
|
|
2924
|
+
|
|
2721
2925
|
export class GenerateCompliancePackReportRequest extends $tea.Model {
|
|
2722
2926
|
clientToken?: string;
|
|
2723
2927
|
compliancePackId?: string;
|
|
@@ -2856,6 +3060,72 @@ export class GenerateConfigRulesReportResponse extends $tea.Model {
|
|
|
2856
3060
|
}
|
|
2857
3061
|
}
|
|
2858
3062
|
|
|
3063
|
+
export class GenerateResourceInventoryRequest extends $tea.Model {
|
|
3064
|
+
regions?: string;
|
|
3065
|
+
resourceTypes?: string;
|
|
3066
|
+
static names(): { [key: string]: string } {
|
|
3067
|
+
return {
|
|
3068
|
+
regions: 'Regions',
|
|
3069
|
+
resourceTypes: 'ResourceTypes',
|
|
3070
|
+
};
|
|
3071
|
+
}
|
|
3072
|
+
|
|
3073
|
+
static types(): { [key: string]: any } {
|
|
3074
|
+
return {
|
|
3075
|
+
regions: 'string',
|
|
3076
|
+
resourceTypes: 'string',
|
|
3077
|
+
};
|
|
3078
|
+
}
|
|
3079
|
+
|
|
3080
|
+
constructor(map?: { [key: string]: any }) {
|
|
3081
|
+
super(map);
|
|
3082
|
+
}
|
|
3083
|
+
}
|
|
3084
|
+
|
|
3085
|
+
export class GenerateResourceInventoryResponseBody extends $tea.Model {
|
|
3086
|
+
requestId?: string;
|
|
3087
|
+
static names(): { [key: string]: string } {
|
|
3088
|
+
return {
|
|
3089
|
+
requestId: 'RequestId',
|
|
3090
|
+
};
|
|
3091
|
+
}
|
|
3092
|
+
|
|
3093
|
+
static types(): { [key: string]: any } {
|
|
3094
|
+
return {
|
|
3095
|
+
requestId: 'string',
|
|
3096
|
+
};
|
|
3097
|
+
}
|
|
3098
|
+
|
|
3099
|
+
constructor(map?: { [key: string]: any }) {
|
|
3100
|
+
super(map);
|
|
3101
|
+
}
|
|
3102
|
+
}
|
|
3103
|
+
|
|
3104
|
+
export class GenerateResourceInventoryResponse extends $tea.Model {
|
|
3105
|
+
headers: { [key: string]: string };
|
|
3106
|
+
statusCode: number;
|
|
3107
|
+
body: GenerateResourceInventoryResponseBody;
|
|
3108
|
+
static names(): { [key: string]: string } {
|
|
3109
|
+
return {
|
|
3110
|
+
headers: 'headers',
|
|
3111
|
+
statusCode: 'statusCode',
|
|
3112
|
+
body: 'body',
|
|
3113
|
+
};
|
|
3114
|
+
}
|
|
3115
|
+
|
|
3116
|
+
static types(): { [key: string]: any } {
|
|
3117
|
+
return {
|
|
3118
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3119
|
+
statusCode: 'number',
|
|
3120
|
+
body: GenerateResourceInventoryResponseBody,
|
|
3121
|
+
};
|
|
3122
|
+
}
|
|
3123
|
+
|
|
3124
|
+
constructor(map?: { [key: string]: any }) {
|
|
3125
|
+
super(map);
|
|
3126
|
+
}
|
|
3127
|
+
}
|
|
3128
|
+
|
|
2859
3129
|
export class GetAggregateAccountComplianceByPackRequest extends $tea.Model {
|
|
2860
3130
|
aggregatorId?: string;
|
|
2861
3131
|
compliancePackId?: string;
|
|
@@ -3063,20 +3333,17 @@ export class GetAggregateCompliancePackReportResponse extends $tea.Model {
|
|
|
3063
3333
|
}
|
|
3064
3334
|
}
|
|
3065
3335
|
|
|
3066
|
-
export class
|
|
3336
|
+
export class GetAggregateComplianceSummaryRequest extends $tea.Model {
|
|
3067
3337
|
aggregatorId?: string;
|
|
3068
|
-
deliveryChannelId?: string;
|
|
3069
3338
|
static names(): { [key: string]: string } {
|
|
3070
3339
|
return {
|
|
3071
3340
|
aggregatorId: 'AggregatorId',
|
|
3072
|
-
deliveryChannelId: 'DeliveryChannelId',
|
|
3073
3341
|
};
|
|
3074
3342
|
}
|
|
3075
3343
|
|
|
3076
3344
|
static types(): { [key: string]: any } {
|
|
3077
3345
|
return {
|
|
3078
3346
|
aggregatorId: 'string',
|
|
3079
|
-
deliveryChannelId: 'string',
|
|
3080
3347
|
};
|
|
3081
3348
|
}
|
|
3082
3349
|
|
|
@@ -3085,19 +3352,19 @@ export class GetAggregateConfigDeliveryChannelRequest extends $tea.Model {
|
|
|
3085
3352
|
}
|
|
3086
3353
|
}
|
|
3087
3354
|
|
|
3088
|
-
export class
|
|
3089
|
-
|
|
3355
|
+
export class GetAggregateComplianceSummaryResponseBody extends $tea.Model {
|
|
3356
|
+
complianceSummary?: GetAggregateComplianceSummaryResponseBodyComplianceSummary;
|
|
3090
3357
|
requestId?: string;
|
|
3091
3358
|
static names(): { [key: string]: string } {
|
|
3092
3359
|
return {
|
|
3093
|
-
|
|
3360
|
+
complianceSummary: 'ComplianceSummary',
|
|
3094
3361
|
requestId: 'RequestId',
|
|
3095
3362
|
};
|
|
3096
3363
|
}
|
|
3097
3364
|
|
|
3098
3365
|
static types(): { [key: string]: any } {
|
|
3099
3366
|
return {
|
|
3100
|
-
|
|
3367
|
+
complianceSummary: GetAggregateComplianceSummaryResponseBodyComplianceSummary,
|
|
3101
3368
|
requestId: 'string',
|
|
3102
3369
|
};
|
|
3103
3370
|
}
|
|
@@ -3107,10 +3374,10 @@ export class GetAggregateConfigDeliveryChannelResponseBody extends $tea.Model {
|
|
|
3107
3374
|
}
|
|
3108
3375
|
}
|
|
3109
3376
|
|
|
3110
|
-
export class
|
|
3377
|
+
export class GetAggregateComplianceSummaryResponse extends $tea.Model {
|
|
3111
3378
|
headers: { [key: string]: string };
|
|
3112
3379
|
statusCode: number;
|
|
3113
|
-
body:
|
|
3380
|
+
body: GetAggregateComplianceSummaryResponseBody;
|
|
3114
3381
|
static names(): { [key: string]: string } {
|
|
3115
3382
|
return {
|
|
3116
3383
|
headers: 'headers',
|
|
@@ -3123,7 +3390,7 @@ export class GetAggregateConfigDeliveryChannelResponse extends $tea.Model {
|
|
|
3123
3390
|
return {
|
|
3124
3391
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3125
3392
|
statusCode: 'number',
|
|
3126
|
-
body:
|
|
3393
|
+
body: GetAggregateComplianceSummaryResponseBody,
|
|
3127
3394
|
};
|
|
3128
3395
|
}
|
|
3129
3396
|
|
|
@@ -3132,7 +3399,76 @@ export class GetAggregateConfigDeliveryChannelResponse extends $tea.Model {
|
|
|
3132
3399
|
}
|
|
3133
3400
|
}
|
|
3134
3401
|
|
|
3135
|
-
export class
|
|
3402
|
+
export class GetAggregateConfigDeliveryChannelRequest extends $tea.Model {
|
|
3403
|
+
aggregatorId?: string;
|
|
3404
|
+
deliveryChannelId?: string;
|
|
3405
|
+
static names(): { [key: string]: string } {
|
|
3406
|
+
return {
|
|
3407
|
+
aggregatorId: 'AggregatorId',
|
|
3408
|
+
deliveryChannelId: 'DeliveryChannelId',
|
|
3409
|
+
};
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3412
|
+
static types(): { [key: string]: any } {
|
|
3413
|
+
return {
|
|
3414
|
+
aggregatorId: 'string',
|
|
3415
|
+
deliveryChannelId: 'string',
|
|
3416
|
+
};
|
|
3417
|
+
}
|
|
3418
|
+
|
|
3419
|
+
constructor(map?: { [key: string]: any }) {
|
|
3420
|
+
super(map);
|
|
3421
|
+
}
|
|
3422
|
+
}
|
|
3423
|
+
|
|
3424
|
+
export class GetAggregateConfigDeliveryChannelResponseBody extends $tea.Model {
|
|
3425
|
+
deliveryChannel?: GetAggregateConfigDeliveryChannelResponseBodyDeliveryChannel;
|
|
3426
|
+
requestId?: string;
|
|
3427
|
+
static names(): { [key: string]: string } {
|
|
3428
|
+
return {
|
|
3429
|
+
deliveryChannel: 'DeliveryChannel',
|
|
3430
|
+
requestId: 'RequestId',
|
|
3431
|
+
};
|
|
3432
|
+
}
|
|
3433
|
+
|
|
3434
|
+
static types(): { [key: string]: any } {
|
|
3435
|
+
return {
|
|
3436
|
+
deliveryChannel: GetAggregateConfigDeliveryChannelResponseBodyDeliveryChannel,
|
|
3437
|
+
requestId: 'string',
|
|
3438
|
+
};
|
|
3439
|
+
}
|
|
3440
|
+
|
|
3441
|
+
constructor(map?: { [key: string]: any }) {
|
|
3442
|
+
super(map);
|
|
3443
|
+
}
|
|
3444
|
+
}
|
|
3445
|
+
|
|
3446
|
+
export class GetAggregateConfigDeliveryChannelResponse extends $tea.Model {
|
|
3447
|
+
headers: { [key: string]: string };
|
|
3448
|
+
statusCode: number;
|
|
3449
|
+
body: GetAggregateConfigDeliveryChannelResponseBody;
|
|
3450
|
+
static names(): { [key: string]: string } {
|
|
3451
|
+
return {
|
|
3452
|
+
headers: 'headers',
|
|
3453
|
+
statusCode: 'statusCode',
|
|
3454
|
+
body: 'body',
|
|
3455
|
+
};
|
|
3456
|
+
}
|
|
3457
|
+
|
|
3458
|
+
static types(): { [key: string]: any } {
|
|
3459
|
+
return {
|
|
3460
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
3461
|
+
statusCode: 'number',
|
|
3462
|
+
body: GetAggregateConfigDeliveryChannelResponseBody,
|
|
3463
|
+
};
|
|
3464
|
+
}
|
|
3465
|
+
|
|
3466
|
+
constructor(map?: { [key: string]: any }) {
|
|
3467
|
+
super(map);
|
|
3468
|
+
}
|
|
3469
|
+
}
|
|
3470
|
+
|
|
3471
|
+
export class GetAggregateConfigRuleRequest extends $tea.Model {
|
|
3136
3472
|
aggregatorId?: string;
|
|
3137
3473
|
configRuleId?: string;
|
|
3138
3474
|
static names(): { [key: string]: string } {
|
|
@@ -4311,6 +4647,53 @@ export class GetCompliancePackReportResponse extends $tea.Model {
|
|
|
4311
4647
|
}
|
|
4312
4648
|
}
|
|
4313
4649
|
|
|
4650
|
+
export class GetComplianceSummaryResponseBody extends $tea.Model {
|
|
4651
|
+
complianceSummary?: GetComplianceSummaryResponseBodyComplianceSummary;
|
|
4652
|
+
requestId?: string;
|
|
4653
|
+
static names(): { [key: string]: string } {
|
|
4654
|
+
return {
|
|
4655
|
+
complianceSummary: 'ComplianceSummary',
|
|
4656
|
+
requestId: 'RequestId',
|
|
4657
|
+
};
|
|
4658
|
+
}
|
|
4659
|
+
|
|
4660
|
+
static types(): { [key: string]: any } {
|
|
4661
|
+
return {
|
|
4662
|
+
complianceSummary: GetComplianceSummaryResponseBodyComplianceSummary,
|
|
4663
|
+
requestId: 'string',
|
|
4664
|
+
};
|
|
4665
|
+
}
|
|
4666
|
+
|
|
4667
|
+
constructor(map?: { [key: string]: any }) {
|
|
4668
|
+
super(map);
|
|
4669
|
+
}
|
|
4670
|
+
}
|
|
4671
|
+
|
|
4672
|
+
export class GetComplianceSummaryResponse extends $tea.Model {
|
|
4673
|
+
headers: { [key: string]: string };
|
|
4674
|
+
statusCode: number;
|
|
4675
|
+
body: GetComplianceSummaryResponseBody;
|
|
4676
|
+
static names(): { [key: string]: string } {
|
|
4677
|
+
return {
|
|
4678
|
+
headers: 'headers',
|
|
4679
|
+
statusCode: 'statusCode',
|
|
4680
|
+
body: 'body',
|
|
4681
|
+
};
|
|
4682
|
+
}
|
|
4683
|
+
|
|
4684
|
+
static types(): { [key: string]: any } {
|
|
4685
|
+
return {
|
|
4686
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
4687
|
+
statusCode: 'number',
|
|
4688
|
+
body: GetComplianceSummaryResponseBody,
|
|
4689
|
+
};
|
|
4690
|
+
}
|
|
4691
|
+
|
|
4692
|
+
constructor(map?: { [key: string]: any }) {
|
|
4693
|
+
super(map);
|
|
4694
|
+
}
|
|
4695
|
+
}
|
|
4696
|
+
|
|
4314
4697
|
export class GetConfigDeliveryChannelRequest extends $tea.Model {
|
|
4315
4698
|
deliveryChannelId?: string;
|
|
4316
4699
|
static names(): { [key: string]: string } {
|
|
@@ -4622,6 +5005,53 @@ export class GetConfigRulesReportResponse extends $tea.Model {
|
|
|
4622
5005
|
}
|
|
4623
5006
|
}
|
|
4624
5007
|
|
|
5008
|
+
export class GetConfigurationRecorderResponseBody extends $tea.Model {
|
|
5009
|
+
configurationRecorder?: GetConfigurationRecorderResponseBodyConfigurationRecorder;
|
|
5010
|
+
requestId?: string;
|
|
5011
|
+
static names(): { [key: string]: string } {
|
|
5012
|
+
return {
|
|
5013
|
+
configurationRecorder: 'ConfigurationRecorder',
|
|
5014
|
+
requestId: 'RequestId',
|
|
5015
|
+
};
|
|
5016
|
+
}
|
|
5017
|
+
|
|
5018
|
+
static types(): { [key: string]: any } {
|
|
5019
|
+
return {
|
|
5020
|
+
configurationRecorder: GetConfigurationRecorderResponseBodyConfigurationRecorder,
|
|
5021
|
+
requestId: 'string',
|
|
5022
|
+
};
|
|
5023
|
+
}
|
|
5024
|
+
|
|
5025
|
+
constructor(map?: { [key: string]: any }) {
|
|
5026
|
+
super(map);
|
|
5027
|
+
}
|
|
5028
|
+
}
|
|
5029
|
+
|
|
5030
|
+
export class GetConfigurationRecorderResponse extends $tea.Model {
|
|
5031
|
+
headers: { [key: string]: string };
|
|
5032
|
+
statusCode: number;
|
|
5033
|
+
body: GetConfigurationRecorderResponseBody;
|
|
5034
|
+
static names(): { [key: string]: string } {
|
|
5035
|
+
return {
|
|
5036
|
+
headers: 'headers',
|
|
5037
|
+
statusCode: 'statusCode',
|
|
5038
|
+
body: 'body',
|
|
5039
|
+
};
|
|
5040
|
+
}
|
|
5041
|
+
|
|
5042
|
+
static types(): { [key: string]: any } {
|
|
5043
|
+
return {
|
|
5044
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5045
|
+
statusCode: 'number',
|
|
5046
|
+
body: GetConfigurationRecorderResponseBody,
|
|
5047
|
+
};
|
|
5048
|
+
}
|
|
5049
|
+
|
|
5050
|
+
constructor(map?: { [key: string]: any }) {
|
|
5051
|
+
super(map);
|
|
5052
|
+
}
|
|
5053
|
+
}
|
|
5054
|
+
|
|
4625
5055
|
export class GetDiscoveredResourceRequest extends $tea.Model {
|
|
4626
5056
|
region?: string;
|
|
4627
5057
|
resourceId?: string;
|
|
@@ -4958,6 +5388,72 @@ export class GetManagedRuleResponse extends $tea.Model {
|
|
|
4958
5388
|
}
|
|
4959
5389
|
}
|
|
4960
5390
|
|
|
5391
|
+
export class GetRemediationTemplateRequest extends $tea.Model {
|
|
5392
|
+
templateIdentifier?: string;
|
|
5393
|
+
static names(): { [key: string]: string } {
|
|
5394
|
+
return {
|
|
5395
|
+
templateIdentifier: 'TemplateIdentifier',
|
|
5396
|
+
};
|
|
5397
|
+
}
|
|
5398
|
+
|
|
5399
|
+
static types(): { [key: string]: any } {
|
|
5400
|
+
return {
|
|
5401
|
+
templateIdentifier: 'string',
|
|
5402
|
+
};
|
|
5403
|
+
}
|
|
5404
|
+
|
|
5405
|
+
constructor(map?: { [key: string]: any }) {
|
|
5406
|
+
super(map);
|
|
5407
|
+
}
|
|
5408
|
+
}
|
|
5409
|
+
|
|
5410
|
+
export class GetRemediationTemplateResponseBody extends $tea.Model {
|
|
5411
|
+
remediationTemplates?: GetRemediationTemplateResponseBodyRemediationTemplates[];
|
|
5412
|
+
requestId?: string;
|
|
5413
|
+
static names(): { [key: string]: string } {
|
|
5414
|
+
return {
|
|
5415
|
+
remediationTemplates: 'RemediationTemplates',
|
|
5416
|
+
requestId: 'RequestId',
|
|
5417
|
+
};
|
|
5418
|
+
}
|
|
5419
|
+
|
|
5420
|
+
static types(): { [key: string]: any } {
|
|
5421
|
+
return {
|
|
5422
|
+
remediationTemplates: { 'type': 'array', 'itemType': GetRemediationTemplateResponseBodyRemediationTemplates },
|
|
5423
|
+
requestId: 'string',
|
|
5424
|
+
};
|
|
5425
|
+
}
|
|
5426
|
+
|
|
5427
|
+
constructor(map?: { [key: string]: any }) {
|
|
5428
|
+
super(map);
|
|
5429
|
+
}
|
|
5430
|
+
}
|
|
5431
|
+
|
|
5432
|
+
export class GetRemediationTemplateResponse extends $tea.Model {
|
|
5433
|
+
headers: { [key: string]: string };
|
|
5434
|
+
statusCode: number;
|
|
5435
|
+
body: GetRemediationTemplateResponseBody;
|
|
5436
|
+
static names(): { [key: string]: string } {
|
|
5437
|
+
return {
|
|
5438
|
+
headers: 'headers',
|
|
5439
|
+
statusCode: 'statusCode',
|
|
5440
|
+
body: 'body',
|
|
5441
|
+
};
|
|
5442
|
+
}
|
|
5443
|
+
|
|
5444
|
+
static types(): { [key: string]: any } {
|
|
5445
|
+
return {
|
|
5446
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5447
|
+
statusCode: 'number',
|
|
5448
|
+
body: GetRemediationTemplateResponseBody,
|
|
5449
|
+
};
|
|
5450
|
+
}
|
|
5451
|
+
|
|
5452
|
+
constructor(map?: { [key: string]: any }) {
|
|
5453
|
+
super(map);
|
|
5454
|
+
}
|
|
5455
|
+
}
|
|
5456
|
+
|
|
4961
5457
|
export class GetResourceComplianceByConfigRuleRequest extends $tea.Model {
|
|
4962
5458
|
complianceType?: string;
|
|
4963
5459
|
configRuleId?: string;
|
|
@@ -5393,29 +5889,17 @@ export class GetResourceConfigurationTimelineResponse extends $tea.Model {
|
|
|
5393
5889
|
}
|
|
5394
5890
|
}
|
|
5395
5891
|
|
|
5396
|
-
export class
|
|
5397
|
-
|
|
5398
|
-
configRuleId?: string;
|
|
5399
|
-
ignoreDate?: string;
|
|
5400
|
-
reason?: string;
|
|
5401
|
-
resources?: IgnoreAggregateEvaluationResultsRequestResources[];
|
|
5892
|
+
export class GetSupportedResourceRelationConfigRequest extends $tea.Model {
|
|
5893
|
+
resourceType?: string;
|
|
5402
5894
|
static names(): { [key: string]: string } {
|
|
5403
5895
|
return {
|
|
5404
|
-
|
|
5405
|
-
configRuleId: 'ConfigRuleId',
|
|
5406
|
-
ignoreDate: 'IgnoreDate',
|
|
5407
|
-
reason: 'Reason',
|
|
5408
|
-
resources: 'Resources',
|
|
5896
|
+
resourceType: 'ResourceType',
|
|
5409
5897
|
};
|
|
5410
5898
|
}
|
|
5411
5899
|
|
|
5412
5900
|
static types(): { [key: string]: any } {
|
|
5413
5901
|
return {
|
|
5414
|
-
|
|
5415
|
-
configRuleId: 'string',
|
|
5416
|
-
ignoreDate: 'string',
|
|
5417
|
-
reason: 'string',
|
|
5418
|
-
resources: { 'type': 'array', 'itemType': IgnoreAggregateEvaluationResultsRequestResources },
|
|
5902
|
+
resourceType: 'string',
|
|
5419
5903
|
};
|
|
5420
5904
|
}
|
|
5421
5905
|
|
|
@@ -5424,29 +5908,20 @@ export class IgnoreAggregateEvaluationResultsRequest extends $tea.Model {
|
|
|
5424
5908
|
}
|
|
5425
5909
|
}
|
|
5426
5910
|
|
|
5427
|
-
export class
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
ignoreDate?: string;
|
|
5431
|
-
reason?: string;
|
|
5432
|
-
resourcesShrink?: string;
|
|
5911
|
+
export class GetSupportedResourceRelationConfigResponseBody extends $tea.Model {
|
|
5912
|
+
requestId?: string;
|
|
5913
|
+
resourceRelationConfigList?: GetSupportedResourceRelationConfigResponseBodyResourceRelationConfigList[];
|
|
5433
5914
|
static names(): { [key: string]: string } {
|
|
5434
5915
|
return {
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
ignoreDate: 'IgnoreDate',
|
|
5438
|
-
reason: 'Reason',
|
|
5439
|
-
resourcesShrink: 'Resources',
|
|
5916
|
+
requestId: 'RequestId',
|
|
5917
|
+
resourceRelationConfigList: 'ResourceRelationConfigList',
|
|
5440
5918
|
};
|
|
5441
5919
|
}
|
|
5442
5920
|
|
|
5443
5921
|
static types(): { [key: string]: any } {
|
|
5444
5922
|
return {
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
ignoreDate: 'string',
|
|
5448
|
-
reason: 'string',
|
|
5449
|
-
resourcesShrink: 'string',
|
|
5923
|
+
requestId: 'string',
|
|
5924
|
+
resourceRelationConfigList: { 'type': 'array', 'itemType': GetSupportedResourceRelationConfigResponseBodyResourceRelationConfigList },
|
|
5450
5925
|
};
|
|
5451
5926
|
}
|
|
5452
5927
|
|
|
@@ -5455,18 +5930,105 @@ export class IgnoreAggregateEvaluationResultsShrinkRequest extends $tea.Model {
|
|
|
5455
5930
|
}
|
|
5456
5931
|
}
|
|
5457
5932
|
|
|
5458
|
-
export class
|
|
5459
|
-
|
|
5933
|
+
export class GetSupportedResourceRelationConfigResponse extends $tea.Model {
|
|
5934
|
+
headers: { [key: string]: string };
|
|
5935
|
+
statusCode: number;
|
|
5936
|
+
body: GetSupportedResourceRelationConfigResponseBody;
|
|
5460
5937
|
static names(): { [key: string]: string } {
|
|
5461
5938
|
return {
|
|
5462
|
-
|
|
5939
|
+
headers: 'headers',
|
|
5940
|
+
statusCode: 'statusCode',
|
|
5941
|
+
body: 'body',
|
|
5463
5942
|
};
|
|
5464
5943
|
}
|
|
5465
5944
|
|
|
5466
5945
|
static types(): { [key: string]: any } {
|
|
5467
5946
|
return {
|
|
5468
|
-
|
|
5469
|
-
|
|
5947
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
5948
|
+
statusCode: 'number',
|
|
5949
|
+
body: GetSupportedResourceRelationConfigResponseBody,
|
|
5950
|
+
};
|
|
5951
|
+
}
|
|
5952
|
+
|
|
5953
|
+
constructor(map?: { [key: string]: any }) {
|
|
5954
|
+
super(map);
|
|
5955
|
+
}
|
|
5956
|
+
}
|
|
5957
|
+
|
|
5958
|
+
export class IgnoreAggregateEvaluationResultsRequest extends $tea.Model {
|
|
5959
|
+
aggregatorId?: string;
|
|
5960
|
+
configRuleId?: string;
|
|
5961
|
+
ignoreDate?: string;
|
|
5962
|
+
reason?: string;
|
|
5963
|
+
resources?: IgnoreAggregateEvaluationResultsRequestResources[];
|
|
5964
|
+
static names(): { [key: string]: string } {
|
|
5965
|
+
return {
|
|
5966
|
+
aggregatorId: 'AggregatorId',
|
|
5967
|
+
configRuleId: 'ConfigRuleId',
|
|
5968
|
+
ignoreDate: 'IgnoreDate',
|
|
5969
|
+
reason: 'Reason',
|
|
5970
|
+
resources: 'Resources',
|
|
5971
|
+
};
|
|
5972
|
+
}
|
|
5973
|
+
|
|
5974
|
+
static types(): { [key: string]: any } {
|
|
5975
|
+
return {
|
|
5976
|
+
aggregatorId: 'string',
|
|
5977
|
+
configRuleId: 'string',
|
|
5978
|
+
ignoreDate: 'string',
|
|
5979
|
+
reason: 'string',
|
|
5980
|
+
resources: { 'type': 'array', 'itemType': IgnoreAggregateEvaluationResultsRequestResources },
|
|
5981
|
+
};
|
|
5982
|
+
}
|
|
5983
|
+
|
|
5984
|
+
constructor(map?: { [key: string]: any }) {
|
|
5985
|
+
super(map);
|
|
5986
|
+
}
|
|
5987
|
+
}
|
|
5988
|
+
|
|
5989
|
+
export class IgnoreAggregateEvaluationResultsShrinkRequest extends $tea.Model {
|
|
5990
|
+
aggregatorId?: string;
|
|
5991
|
+
configRuleId?: string;
|
|
5992
|
+
ignoreDate?: string;
|
|
5993
|
+
reason?: string;
|
|
5994
|
+
resourcesShrink?: string;
|
|
5995
|
+
static names(): { [key: string]: string } {
|
|
5996
|
+
return {
|
|
5997
|
+
aggregatorId: 'AggregatorId',
|
|
5998
|
+
configRuleId: 'ConfigRuleId',
|
|
5999
|
+
ignoreDate: 'IgnoreDate',
|
|
6000
|
+
reason: 'Reason',
|
|
6001
|
+
resourcesShrink: 'Resources',
|
|
6002
|
+
};
|
|
6003
|
+
}
|
|
6004
|
+
|
|
6005
|
+
static types(): { [key: string]: any } {
|
|
6006
|
+
return {
|
|
6007
|
+
aggregatorId: 'string',
|
|
6008
|
+
configRuleId: 'string',
|
|
6009
|
+
ignoreDate: 'string',
|
|
6010
|
+
reason: 'string',
|
|
6011
|
+
resourcesShrink: 'string',
|
|
6012
|
+
};
|
|
6013
|
+
}
|
|
6014
|
+
|
|
6015
|
+
constructor(map?: { [key: string]: any }) {
|
|
6016
|
+
super(map);
|
|
6017
|
+
}
|
|
6018
|
+
}
|
|
6019
|
+
|
|
6020
|
+
export class IgnoreAggregateEvaluationResultsResponseBody extends $tea.Model {
|
|
6021
|
+
requestId?: string;
|
|
6022
|
+
static names(): { [key: string]: string } {
|
|
6023
|
+
return {
|
|
6024
|
+
requestId: 'RequestId',
|
|
6025
|
+
};
|
|
6026
|
+
}
|
|
6027
|
+
|
|
6028
|
+
static types(): { [key: string]: any } {
|
|
6029
|
+
return {
|
|
6030
|
+
requestId: 'string',
|
|
6031
|
+
};
|
|
5470
6032
|
}
|
|
5471
6033
|
|
|
5472
6034
|
constructor(map?: { [key: string]: any }) {
|
|
@@ -6172,6 +6734,99 @@ export class ListAggregateResourceEvaluationResultsResponse extends $tea.Model {
|
|
|
6172
6734
|
}
|
|
6173
6735
|
}
|
|
6174
6736
|
|
|
6737
|
+
export class ListAggregateResourceRelationsRequest extends $tea.Model {
|
|
6738
|
+
aggregatorId?: string;
|
|
6739
|
+
maxResults?: number;
|
|
6740
|
+
nextToken?: string;
|
|
6741
|
+
region?: string;
|
|
6742
|
+
relationType?: string;
|
|
6743
|
+
resourceAccountId?: number;
|
|
6744
|
+
resourceId?: string;
|
|
6745
|
+
resourceType?: string;
|
|
6746
|
+
targetResourceId?: string;
|
|
6747
|
+
targetResourceType?: string;
|
|
6748
|
+
static names(): { [key: string]: string } {
|
|
6749
|
+
return {
|
|
6750
|
+
aggregatorId: 'AggregatorId',
|
|
6751
|
+
maxResults: 'MaxResults',
|
|
6752
|
+
nextToken: 'NextToken',
|
|
6753
|
+
region: 'Region',
|
|
6754
|
+
relationType: 'RelationType',
|
|
6755
|
+
resourceAccountId: 'ResourceAccountId',
|
|
6756
|
+
resourceId: 'ResourceId',
|
|
6757
|
+
resourceType: 'ResourceType',
|
|
6758
|
+
targetResourceId: 'TargetResourceId',
|
|
6759
|
+
targetResourceType: 'TargetResourceType',
|
|
6760
|
+
};
|
|
6761
|
+
}
|
|
6762
|
+
|
|
6763
|
+
static types(): { [key: string]: any } {
|
|
6764
|
+
return {
|
|
6765
|
+
aggregatorId: 'string',
|
|
6766
|
+
maxResults: 'number',
|
|
6767
|
+
nextToken: 'string',
|
|
6768
|
+
region: 'string',
|
|
6769
|
+
relationType: 'string',
|
|
6770
|
+
resourceAccountId: 'number',
|
|
6771
|
+
resourceId: 'string',
|
|
6772
|
+
resourceType: 'string',
|
|
6773
|
+
targetResourceId: 'string',
|
|
6774
|
+
targetResourceType: 'string',
|
|
6775
|
+
};
|
|
6776
|
+
}
|
|
6777
|
+
|
|
6778
|
+
constructor(map?: { [key: string]: any }) {
|
|
6779
|
+
super(map);
|
|
6780
|
+
}
|
|
6781
|
+
}
|
|
6782
|
+
|
|
6783
|
+
export class ListAggregateResourceRelationsResponseBody extends $tea.Model {
|
|
6784
|
+
requestId?: string;
|
|
6785
|
+
resourceRelations?: ListAggregateResourceRelationsResponseBodyResourceRelations;
|
|
6786
|
+
static names(): { [key: string]: string } {
|
|
6787
|
+
return {
|
|
6788
|
+
requestId: 'RequestId',
|
|
6789
|
+
resourceRelations: 'ResourceRelations',
|
|
6790
|
+
};
|
|
6791
|
+
}
|
|
6792
|
+
|
|
6793
|
+
static types(): { [key: string]: any } {
|
|
6794
|
+
return {
|
|
6795
|
+
requestId: 'string',
|
|
6796
|
+
resourceRelations: ListAggregateResourceRelationsResponseBodyResourceRelations,
|
|
6797
|
+
};
|
|
6798
|
+
}
|
|
6799
|
+
|
|
6800
|
+
constructor(map?: { [key: string]: any }) {
|
|
6801
|
+
super(map);
|
|
6802
|
+
}
|
|
6803
|
+
}
|
|
6804
|
+
|
|
6805
|
+
export class ListAggregateResourceRelationsResponse extends $tea.Model {
|
|
6806
|
+
headers: { [key: string]: string };
|
|
6807
|
+
statusCode: number;
|
|
6808
|
+
body: ListAggregateResourceRelationsResponseBody;
|
|
6809
|
+
static names(): { [key: string]: string } {
|
|
6810
|
+
return {
|
|
6811
|
+
headers: 'headers',
|
|
6812
|
+
statusCode: 'statusCode',
|
|
6813
|
+
body: 'body',
|
|
6814
|
+
};
|
|
6815
|
+
}
|
|
6816
|
+
|
|
6817
|
+
static types(): { [key: string]: any } {
|
|
6818
|
+
return {
|
|
6819
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6820
|
+
statusCode: 'number',
|
|
6821
|
+
body: ListAggregateResourceRelationsResponseBody,
|
|
6822
|
+
};
|
|
6823
|
+
}
|
|
6824
|
+
|
|
6825
|
+
constructor(map?: { [key: string]: any }) {
|
|
6826
|
+
super(map);
|
|
6827
|
+
}
|
|
6828
|
+
}
|
|
6829
|
+
|
|
6175
6830
|
export class ListAggregatorsRequest extends $tea.Model {
|
|
6176
6831
|
maxResults?: number;
|
|
6177
6832
|
nextToken?: string;
|
|
@@ -6890,12 +7545,91 @@ export class ListPreManagedRulesResponse extends $tea.Model {
|
|
|
6890
7545
|
}
|
|
6891
7546
|
}
|
|
6892
7547
|
|
|
7548
|
+
export class ListRemediationExecutionsRequest extends $tea.Model {
|
|
7549
|
+
configRuleId?: string;
|
|
7550
|
+
executionStatus?: string;
|
|
7551
|
+
maxResults?: number;
|
|
7552
|
+
nextToken?: string;
|
|
7553
|
+
static names(): { [key: string]: string } {
|
|
7554
|
+
return {
|
|
7555
|
+
configRuleId: 'ConfigRuleId',
|
|
7556
|
+
executionStatus: 'ExecutionStatus',
|
|
7557
|
+
maxResults: 'MaxResults',
|
|
7558
|
+
nextToken: 'NextToken',
|
|
7559
|
+
};
|
|
7560
|
+
}
|
|
7561
|
+
|
|
7562
|
+
static types(): { [key: string]: any } {
|
|
7563
|
+
return {
|
|
7564
|
+
configRuleId: 'string',
|
|
7565
|
+
executionStatus: 'string',
|
|
7566
|
+
maxResults: 'number',
|
|
7567
|
+
nextToken: 'string',
|
|
7568
|
+
};
|
|
7569
|
+
}
|
|
7570
|
+
|
|
7571
|
+
constructor(map?: { [key: string]: any }) {
|
|
7572
|
+
super(map);
|
|
7573
|
+
}
|
|
7574
|
+
}
|
|
7575
|
+
|
|
7576
|
+
export class ListRemediationExecutionsResponseBody extends $tea.Model {
|
|
7577
|
+
remediationExecutionData?: ListRemediationExecutionsResponseBodyRemediationExecutionData;
|
|
7578
|
+
requestId?: string;
|
|
7579
|
+
static names(): { [key: string]: string } {
|
|
7580
|
+
return {
|
|
7581
|
+
remediationExecutionData: 'RemediationExecutionData',
|
|
7582
|
+
requestId: 'RequestId',
|
|
7583
|
+
};
|
|
7584
|
+
}
|
|
7585
|
+
|
|
7586
|
+
static types(): { [key: string]: any } {
|
|
7587
|
+
return {
|
|
7588
|
+
remediationExecutionData: ListRemediationExecutionsResponseBodyRemediationExecutionData,
|
|
7589
|
+
requestId: 'string',
|
|
7590
|
+
};
|
|
7591
|
+
}
|
|
7592
|
+
|
|
7593
|
+
constructor(map?: { [key: string]: any }) {
|
|
7594
|
+
super(map);
|
|
7595
|
+
}
|
|
7596
|
+
}
|
|
7597
|
+
|
|
7598
|
+
export class ListRemediationExecutionsResponse extends $tea.Model {
|
|
7599
|
+
headers: { [key: string]: string };
|
|
7600
|
+
statusCode: number;
|
|
7601
|
+
body: ListRemediationExecutionsResponseBody;
|
|
7602
|
+
static names(): { [key: string]: string } {
|
|
7603
|
+
return {
|
|
7604
|
+
headers: 'headers',
|
|
7605
|
+
statusCode: 'statusCode',
|
|
7606
|
+
body: 'body',
|
|
7607
|
+
};
|
|
7608
|
+
}
|
|
7609
|
+
|
|
7610
|
+
static types(): { [key: string]: any } {
|
|
7611
|
+
return {
|
|
7612
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7613
|
+
statusCode: 'number',
|
|
7614
|
+
body: ListRemediationExecutionsResponseBody,
|
|
7615
|
+
};
|
|
7616
|
+
}
|
|
7617
|
+
|
|
7618
|
+
constructor(map?: { [key: string]: any }) {
|
|
7619
|
+
super(map);
|
|
7620
|
+
}
|
|
7621
|
+
}
|
|
7622
|
+
|
|
6893
7623
|
export class ListRemediationTemplatesRequest extends $tea.Model {
|
|
6894
7624
|
managedRuleIdentifier?: string;
|
|
7625
|
+
pageNumber?: number;
|
|
7626
|
+
pageSize?: number;
|
|
6895
7627
|
remediationType?: string;
|
|
6896
7628
|
static names(): { [key: string]: string } {
|
|
6897
7629
|
return {
|
|
6898
7630
|
managedRuleIdentifier: 'ManagedRuleIdentifier',
|
|
7631
|
+
pageNumber: 'PageNumber',
|
|
7632
|
+
pageSize: 'PageSize',
|
|
6899
7633
|
remediationType: 'RemediationType',
|
|
6900
7634
|
};
|
|
6901
7635
|
}
|
|
@@ -6903,6 +7637,8 @@ export class ListRemediationTemplatesRequest extends $tea.Model {
|
|
|
6903
7637
|
static types(): { [key: string]: any } {
|
|
6904
7638
|
return {
|
|
6905
7639
|
managedRuleIdentifier: 'string',
|
|
7640
|
+
pageNumber: 'number',
|
|
7641
|
+
pageSize: 'number',
|
|
6906
7642
|
remediationType: 'string',
|
|
6907
7643
|
};
|
|
6908
7644
|
}
|
|
@@ -6913,19 +7649,28 @@ export class ListRemediationTemplatesRequest extends $tea.Model {
|
|
|
6913
7649
|
}
|
|
6914
7650
|
|
|
6915
7651
|
export class ListRemediationTemplatesResponseBody extends $tea.Model {
|
|
7652
|
+
pageNumber?: number;
|
|
7653
|
+
pageSize?: number;
|
|
6916
7654
|
remediationTemplates?: ListRemediationTemplatesResponseBodyRemediationTemplates[];
|
|
6917
7655
|
requestId?: string;
|
|
7656
|
+
totalCount?: string;
|
|
6918
7657
|
static names(): { [key: string]: string } {
|
|
6919
7658
|
return {
|
|
7659
|
+
pageNumber: 'PageNumber',
|
|
7660
|
+
pageSize: 'PageSize',
|
|
6920
7661
|
remediationTemplates: 'RemediationTemplates',
|
|
6921
7662
|
requestId: 'RequestId',
|
|
7663
|
+
totalCount: 'TotalCount',
|
|
6922
7664
|
};
|
|
6923
7665
|
}
|
|
6924
7666
|
|
|
6925
7667
|
static types(): { [key: string]: any } {
|
|
6926
7668
|
return {
|
|
7669
|
+
pageNumber: 'number',
|
|
7670
|
+
pageSize: 'number',
|
|
6927
7671
|
remediationTemplates: { 'type': 'array', 'itemType': ListRemediationTemplatesResponseBodyRemediationTemplates },
|
|
6928
7672
|
requestId: 'string',
|
|
7673
|
+
totalCount: 'string',
|
|
6929
7674
|
};
|
|
6930
7675
|
}
|
|
6931
7676
|
|
|
@@ -6961,15 +7706,21 @@ export class ListRemediationTemplatesResponse extends $tea.Model {
|
|
|
6961
7706
|
|
|
6962
7707
|
export class ListRemediationsRequest extends $tea.Model {
|
|
6963
7708
|
configRuleIds?: string;
|
|
7709
|
+
pageNumber?: number;
|
|
7710
|
+
pageSize?: number;
|
|
6964
7711
|
static names(): { [key: string]: string } {
|
|
6965
7712
|
return {
|
|
6966
7713
|
configRuleIds: 'ConfigRuleIds',
|
|
7714
|
+
pageNumber: 'PageNumber',
|
|
7715
|
+
pageSize: 'PageSize',
|
|
6967
7716
|
};
|
|
6968
7717
|
}
|
|
6969
7718
|
|
|
6970
7719
|
static types(): { [key: string]: any } {
|
|
6971
7720
|
return {
|
|
6972
7721
|
configRuleIds: 'string',
|
|
7722
|
+
pageNumber: 'number',
|
|
7723
|
+
pageSize: 'number',
|
|
6973
7724
|
};
|
|
6974
7725
|
}
|
|
6975
7726
|
|
|
@@ -6979,19 +7730,28 @@ export class ListRemediationsRequest extends $tea.Model {
|
|
|
6979
7730
|
}
|
|
6980
7731
|
|
|
6981
7732
|
export class ListRemediationsResponseBody extends $tea.Model {
|
|
7733
|
+
pageNumber?: number;
|
|
7734
|
+
pageSize?: number;
|
|
6982
7735
|
remediations?: ListRemediationsResponseBodyRemediations[];
|
|
6983
7736
|
requestId?: string;
|
|
7737
|
+
totalCount?: string;
|
|
6984
7738
|
static names(): { [key: string]: string } {
|
|
6985
7739
|
return {
|
|
7740
|
+
pageNumber: 'PageNumber',
|
|
7741
|
+
pageSize: 'PageSize',
|
|
6986
7742
|
remediations: 'Remediations',
|
|
6987
7743
|
requestId: 'RequestId',
|
|
7744
|
+
totalCount: 'TotalCount',
|
|
6988
7745
|
};
|
|
6989
7746
|
}
|
|
6990
7747
|
|
|
6991
7748
|
static types(): { [key: string]: any } {
|
|
6992
7749
|
return {
|
|
7750
|
+
pageNumber: 'number',
|
|
7751
|
+
pageSize: 'number',
|
|
6993
7752
|
remediations: { 'type': 'array', 'itemType': ListRemediationsResponseBodyRemediations },
|
|
6994
7753
|
requestId: 'string',
|
|
7754
|
+
totalCount: 'string',
|
|
6995
7755
|
};
|
|
6996
7756
|
}
|
|
6997
7757
|
|
|
@@ -7106,6 +7866,93 @@ export class ListResourceEvaluationResultsResponse extends $tea.Model {
|
|
|
7106
7866
|
}
|
|
7107
7867
|
}
|
|
7108
7868
|
|
|
7869
|
+
export class ListResourceRelationsRequest extends $tea.Model {
|
|
7870
|
+
maxResults?: number;
|
|
7871
|
+
nextToken?: string;
|
|
7872
|
+
region?: string;
|
|
7873
|
+
relationType?: string;
|
|
7874
|
+
resourceId?: string;
|
|
7875
|
+
resourceType?: string;
|
|
7876
|
+
targetResourceId?: string;
|
|
7877
|
+
targetResourceType?: string;
|
|
7878
|
+
static names(): { [key: string]: string } {
|
|
7879
|
+
return {
|
|
7880
|
+
maxResults: 'MaxResults',
|
|
7881
|
+
nextToken: 'NextToken',
|
|
7882
|
+
region: 'Region',
|
|
7883
|
+
relationType: 'RelationType',
|
|
7884
|
+
resourceId: 'ResourceId',
|
|
7885
|
+
resourceType: 'ResourceType',
|
|
7886
|
+
targetResourceId: 'TargetResourceId',
|
|
7887
|
+
targetResourceType: 'TargetResourceType',
|
|
7888
|
+
};
|
|
7889
|
+
}
|
|
7890
|
+
|
|
7891
|
+
static types(): { [key: string]: any } {
|
|
7892
|
+
return {
|
|
7893
|
+
maxResults: 'number',
|
|
7894
|
+
nextToken: 'string',
|
|
7895
|
+
region: 'string',
|
|
7896
|
+
relationType: 'string',
|
|
7897
|
+
resourceId: 'string',
|
|
7898
|
+
resourceType: 'string',
|
|
7899
|
+
targetResourceId: 'string',
|
|
7900
|
+
targetResourceType: 'string',
|
|
7901
|
+
};
|
|
7902
|
+
}
|
|
7903
|
+
|
|
7904
|
+
constructor(map?: { [key: string]: any }) {
|
|
7905
|
+
super(map);
|
|
7906
|
+
}
|
|
7907
|
+
}
|
|
7908
|
+
|
|
7909
|
+
export class ListResourceRelationsResponseBody extends $tea.Model {
|
|
7910
|
+
requestId?: string;
|
|
7911
|
+
resourceRelations?: ListResourceRelationsResponseBodyResourceRelations;
|
|
7912
|
+
static names(): { [key: string]: string } {
|
|
7913
|
+
return {
|
|
7914
|
+
requestId: 'RequestId',
|
|
7915
|
+
resourceRelations: 'ResourceRelations',
|
|
7916
|
+
};
|
|
7917
|
+
}
|
|
7918
|
+
|
|
7919
|
+
static types(): { [key: string]: any } {
|
|
7920
|
+
return {
|
|
7921
|
+
requestId: 'string',
|
|
7922
|
+
resourceRelations: ListResourceRelationsResponseBodyResourceRelations,
|
|
7923
|
+
};
|
|
7924
|
+
}
|
|
7925
|
+
|
|
7926
|
+
constructor(map?: { [key: string]: any }) {
|
|
7927
|
+
super(map);
|
|
7928
|
+
}
|
|
7929
|
+
}
|
|
7930
|
+
|
|
7931
|
+
export class ListResourceRelationsResponse extends $tea.Model {
|
|
7932
|
+
headers: { [key: string]: string };
|
|
7933
|
+
statusCode: number;
|
|
7934
|
+
body: ListResourceRelationsResponseBody;
|
|
7935
|
+
static names(): { [key: string]: string } {
|
|
7936
|
+
return {
|
|
7937
|
+
headers: 'headers',
|
|
7938
|
+
statusCode: 'statusCode',
|
|
7939
|
+
body: 'body',
|
|
7940
|
+
};
|
|
7941
|
+
}
|
|
7942
|
+
|
|
7943
|
+
static types(): { [key: string]: any } {
|
|
7944
|
+
return {
|
|
7945
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7946
|
+
statusCode: 'number',
|
|
7947
|
+
body: ListResourceRelationsResponseBody,
|
|
7948
|
+
};
|
|
7949
|
+
}
|
|
7950
|
+
|
|
7951
|
+
constructor(map?: { [key: string]: any }) {
|
|
7952
|
+
super(map);
|
|
7953
|
+
}
|
|
7954
|
+
}
|
|
7955
|
+
|
|
7109
7956
|
export class ListTagResourcesRequest extends $tea.Model {
|
|
7110
7957
|
nextToken?: string;
|
|
7111
7958
|
regionId?: string;
|
|
@@ -7124,11 +7971,92 @@ export class ListTagResourcesRequest extends $tea.Model {
|
|
|
7124
7971
|
|
|
7125
7972
|
static types(): { [key: string]: any } {
|
|
7126
7973
|
return {
|
|
7127
|
-
nextToken: 'string',
|
|
7128
|
-
regionId: 'string',
|
|
7129
|
-
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
7130
|
-
resourceType: 'string',
|
|
7131
|
-
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
7974
|
+
nextToken: 'string',
|
|
7975
|
+
regionId: 'string',
|
|
7976
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
7977
|
+
resourceType: 'string',
|
|
7978
|
+
tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
|
|
7979
|
+
};
|
|
7980
|
+
}
|
|
7981
|
+
|
|
7982
|
+
constructor(map?: { [key: string]: any }) {
|
|
7983
|
+
super(map);
|
|
7984
|
+
}
|
|
7985
|
+
}
|
|
7986
|
+
|
|
7987
|
+
export class ListTagResourcesShrinkRequest extends $tea.Model {
|
|
7988
|
+
nextToken?: string;
|
|
7989
|
+
regionId?: string;
|
|
7990
|
+
resourceId?: string[];
|
|
7991
|
+
resourceType?: string;
|
|
7992
|
+
tagShrink?: string;
|
|
7993
|
+
static names(): { [key: string]: string } {
|
|
7994
|
+
return {
|
|
7995
|
+
nextToken: 'NextToken',
|
|
7996
|
+
regionId: 'RegionId',
|
|
7997
|
+
resourceId: 'ResourceId',
|
|
7998
|
+
resourceType: 'ResourceType',
|
|
7999
|
+
tagShrink: 'Tag',
|
|
8000
|
+
};
|
|
8001
|
+
}
|
|
8002
|
+
|
|
8003
|
+
static types(): { [key: string]: any } {
|
|
8004
|
+
return {
|
|
8005
|
+
nextToken: 'string',
|
|
8006
|
+
regionId: 'string',
|
|
8007
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
8008
|
+
resourceType: 'string',
|
|
8009
|
+
tagShrink: 'string',
|
|
8010
|
+
};
|
|
8011
|
+
}
|
|
8012
|
+
|
|
8013
|
+
constructor(map?: { [key: string]: any }) {
|
|
8014
|
+
super(map);
|
|
8015
|
+
}
|
|
8016
|
+
}
|
|
8017
|
+
|
|
8018
|
+
export class ListTagResourcesResponseBody extends $tea.Model {
|
|
8019
|
+
nextToken?: string;
|
|
8020
|
+
requestId?: string;
|
|
8021
|
+
tagResources?: ListTagResourcesResponseBodyTagResources;
|
|
8022
|
+
static names(): { [key: string]: string } {
|
|
8023
|
+
return {
|
|
8024
|
+
nextToken: 'NextToken',
|
|
8025
|
+
requestId: 'RequestId',
|
|
8026
|
+
tagResources: 'TagResources',
|
|
8027
|
+
};
|
|
8028
|
+
}
|
|
8029
|
+
|
|
8030
|
+
static types(): { [key: string]: any } {
|
|
8031
|
+
return {
|
|
8032
|
+
nextToken: 'string',
|
|
8033
|
+
requestId: 'string',
|
|
8034
|
+
tagResources: ListTagResourcesResponseBodyTagResources,
|
|
8035
|
+
};
|
|
8036
|
+
}
|
|
8037
|
+
|
|
8038
|
+
constructor(map?: { [key: string]: any }) {
|
|
8039
|
+
super(map);
|
|
8040
|
+
}
|
|
8041
|
+
}
|
|
8042
|
+
|
|
8043
|
+
export class ListTagResourcesResponse extends $tea.Model {
|
|
8044
|
+
headers: { [key: string]: string };
|
|
8045
|
+
statusCode: number;
|
|
8046
|
+
body: ListTagResourcesResponseBody;
|
|
8047
|
+
static names(): { [key: string]: string } {
|
|
8048
|
+
return {
|
|
8049
|
+
headers: 'headers',
|
|
8050
|
+
statusCode: 'statusCode',
|
|
8051
|
+
body: 'body',
|
|
8052
|
+
};
|
|
8053
|
+
}
|
|
8054
|
+
|
|
8055
|
+
static types(): { [key: string]: any } {
|
|
8056
|
+
return {
|
|
8057
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8058
|
+
statusCode: 'number',
|
|
8059
|
+
body: ListTagResourcesResponseBody,
|
|
7132
8060
|
};
|
|
7133
8061
|
}
|
|
7134
8062
|
|
|
@@ -7137,29 +8065,23 @@ export class ListTagResourcesRequest extends $tea.Model {
|
|
|
7137
8065
|
}
|
|
7138
8066
|
}
|
|
7139
8067
|
|
|
7140
|
-
export class
|
|
7141
|
-
|
|
7142
|
-
|
|
7143
|
-
|
|
7144
|
-
resourceType?: string;
|
|
7145
|
-
tagShrink?: string;
|
|
8068
|
+
export class PutEvaluationsRequest extends $tea.Model {
|
|
8069
|
+
deleteMode?: boolean;
|
|
8070
|
+
evaluations?: string;
|
|
8071
|
+
resultToken?: string;
|
|
7146
8072
|
static names(): { [key: string]: string } {
|
|
7147
8073
|
return {
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7151
|
-
resourceType: 'ResourceType',
|
|
7152
|
-
tagShrink: 'Tag',
|
|
8074
|
+
deleteMode: 'DeleteMode',
|
|
8075
|
+
evaluations: 'Evaluations',
|
|
8076
|
+
resultToken: 'ResultToken',
|
|
7153
8077
|
};
|
|
7154
8078
|
}
|
|
7155
8079
|
|
|
7156
8080
|
static types(): { [key: string]: any } {
|
|
7157
8081
|
return {
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
resourceType: 'string',
|
|
7162
|
-
tagShrink: 'string',
|
|
8082
|
+
deleteMode: 'boolean',
|
|
8083
|
+
evaluations: 'string',
|
|
8084
|
+
resultToken: 'string',
|
|
7163
8085
|
};
|
|
7164
8086
|
}
|
|
7165
8087
|
|
|
@@ -7168,23 +8090,20 @@ export class ListTagResourcesShrinkRequest extends $tea.Model {
|
|
|
7168
8090
|
}
|
|
7169
8091
|
}
|
|
7170
8092
|
|
|
7171
|
-
export class
|
|
7172
|
-
nextToken?: string;
|
|
8093
|
+
export class PutEvaluationsResponseBody extends $tea.Model {
|
|
7173
8094
|
requestId?: string;
|
|
7174
|
-
|
|
8095
|
+
result?: boolean;
|
|
7175
8096
|
static names(): { [key: string]: string } {
|
|
7176
8097
|
return {
|
|
7177
|
-
nextToken: 'NextToken',
|
|
7178
8098
|
requestId: 'RequestId',
|
|
7179
|
-
|
|
8099
|
+
result: 'Result',
|
|
7180
8100
|
};
|
|
7181
8101
|
}
|
|
7182
8102
|
|
|
7183
8103
|
static types(): { [key: string]: any } {
|
|
7184
8104
|
return {
|
|
7185
|
-
nextToken: 'string',
|
|
7186
8105
|
requestId: 'string',
|
|
7187
|
-
|
|
8106
|
+
result: 'boolean',
|
|
7188
8107
|
};
|
|
7189
8108
|
}
|
|
7190
8109
|
|
|
@@ -7193,10 +8112,10 @@ export class ListTagResourcesResponseBody extends $tea.Model {
|
|
|
7193
8112
|
}
|
|
7194
8113
|
}
|
|
7195
8114
|
|
|
7196
|
-
export class
|
|
8115
|
+
export class PutEvaluationsResponse extends $tea.Model {
|
|
7197
8116
|
headers: { [key: string]: string };
|
|
7198
8117
|
statusCode: number;
|
|
7199
|
-
body:
|
|
8118
|
+
body: PutEvaluationsResponseBody;
|
|
7200
8119
|
static names(): { [key: string]: string } {
|
|
7201
8120
|
return {
|
|
7202
8121
|
headers: 'headers',
|
|
@@ -7209,7 +8128,7 @@ export class ListTagResourcesResponse extends $tea.Model {
|
|
|
7209
8128
|
return {
|
|
7210
8129
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
7211
8130
|
statusCode: 'number',
|
|
7212
|
-
body:
|
|
8131
|
+
body: PutEvaluationsResponseBody,
|
|
7213
8132
|
};
|
|
7214
8133
|
}
|
|
7215
8134
|
|
|
@@ -7478,10 +8397,12 @@ export class StartAggregateConfigRuleEvaluationResponse extends $tea.Model {
|
|
|
7478
8397
|
export class StartAggregateRemediationRequest extends $tea.Model {
|
|
7479
8398
|
aggregatorId?: string;
|
|
7480
8399
|
configRuleId?: string;
|
|
8400
|
+
resourceAccountId?: number;
|
|
7481
8401
|
static names(): { [key: string]: string } {
|
|
7482
8402
|
return {
|
|
7483
8403
|
aggregatorId: 'AggregatorId',
|
|
7484
8404
|
configRuleId: 'ConfigRuleId',
|
|
8405
|
+
resourceAccountId: 'ResourceAccountId',
|
|
7485
8406
|
};
|
|
7486
8407
|
}
|
|
7487
8408
|
|
|
@@ -7489,6 +8410,7 @@ export class StartAggregateRemediationRequest extends $tea.Model {
|
|
|
7489
8410
|
return {
|
|
7490
8411
|
aggregatorId: 'string',
|
|
7491
8412
|
configRuleId: 'string',
|
|
8413
|
+
resourceAccountId: 'number',
|
|
7492
8414
|
};
|
|
7493
8415
|
}
|
|
7494
8416
|
|
|
@@ -7544,6 +8466,125 @@ export class StartAggregateRemediationResponse extends $tea.Model {
|
|
|
7544
8466
|
}
|
|
7545
8467
|
}
|
|
7546
8468
|
|
|
8469
|
+
export class StartConfigRuleEvaluationRequest extends $tea.Model {
|
|
8470
|
+
compliancePackId?: string;
|
|
8471
|
+
configRuleId?: string;
|
|
8472
|
+
revertEvaluation?: boolean;
|
|
8473
|
+
static names(): { [key: string]: string } {
|
|
8474
|
+
return {
|
|
8475
|
+
compliancePackId: 'CompliancePackId',
|
|
8476
|
+
configRuleId: 'ConfigRuleId',
|
|
8477
|
+
revertEvaluation: 'RevertEvaluation',
|
|
8478
|
+
};
|
|
8479
|
+
}
|
|
8480
|
+
|
|
8481
|
+
static types(): { [key: string]: any } {
|
|
8482
|
+
return {
|
|
8483
|
+
compliancePackId: 'string',
|
|
8484
|
+
configRuleId: 'string',
|
|
8485
|
+
revertEvaluation: 'boolean',
|
|
8486
|
+
};
|
|
8487
|
+
}
|
|
8488
|
+
|
|
8489
|
+
constructor(map?: { [key: string]: any }) {
|
|
8490
|
+
super(map);
|
|
8491
|
+
}
|
|
8492
|
+
}
|
|
8493
|
+
|
|
8494
|
+
export class StartConfigRuleEvaluationResponseBody extends $tea.Model {
|
|
8495
|
+
requestId?: string;
|
|
8496
|
+
result?: boolean;
|
|
8497
|
+
static names(): { [key: string]: string } {
|
|
8498
|
+
return {
|
|
8499
|
+
requestId: 'RequestId',
|
|
8500
|
+
result: 'Result',
|
|
8501
|
+
};
|
|
8502
|
+
}
|
|
8503
|
+
|
|
8504
|
+
static types(): { [key: string]: any } {
|
|
8505
|
+
return {
|
|
8506
|
+
requestId: 'string',
|
|
8507
|
+
result: 'boolean',
|
|
8508
|
+
};
|
|
8509
|
+
}
|
|
8510
|
+
|
|
8511
|
+
constructor(map?: { [key: string]: any }) {
|
|
8512
|
+
super(map);
|
|
8513
|
+
}
|
|
8514
|
+
}
|
|
8515
|
+
|
|
8516
|
+
export class StartConfigRuleEvaluationResponse extends $tea.Model {
|
|
8517
|
+
headers: { [key: string]: string };
|
|
8518
|
+
statusCode: number;
|
|
8519
|
+
body: StartConfigRuleEvaluationResponseBody;
|
|
8520
|
+
static names(): { [key: string]: string } {
|
|
8521
|
+
return {
|
|
8522
|
+
headers: 'headers',
|
|
8523
|
+
statusCode: 'statusCode',
|
|
8524
|
+
body: 'body',
|
|
8525
|
+
};
|
|
8526
|
+
}
|
|
8527
|
+
|
|
8528
|
+
static types(): { [key: string]: any } {
|
|
8529
|
+
return {
|
|
8530
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8531
|
+
statusCode: 'number',
|
|
8532
|
+
body: StartConfigRuleEvaluationResponseBody,
|
|
8533
|
+
};
|
|
8534
|
+
}
|
|
8535
|
+
|
|
8536
|
+
constructor(map?: { [key: string]: any }) {
|
|
8537
|
+
super(map);
|
|
8538
|
+
}
|
|
8539
|
+
}
|
|
8540
|
+
|
|
8541
|
+
export class StartConfigurationRecorderResponseBody extends $tea.Model {
|
|
8542
|
+
configurationRecorder?: StartConfigurationRecorderResponseBodyConfigurationRecorder;
|
|
8543
|
+
requestId?: string;
|
|
8544
|
+
static names(): { [key: string]: string } {
|
|
8545
|
+
return {
|
|
8546
|
+
configurationRecorder: 'ConfigurationRecorder',
|
|
8547
|
+
requestId: 'RequestId',
|
|
8548
|
+
};
|
|
8549
|
+
}
|
|
8550
|
+
|
|
8551
|
+
static types(): { [key: string]: any } {
|
|
8552
|
+
return {
|
|
8553
|
+
configurationRecorder: StartConfigurationRecorderResponseBodyConfigurationRecorder,
|
|
8554
|
+
requestId: 'string',
|
|
8555
|
+
};
|
|
8556
|
+
}
|
|
8557
|
+
|
|
8558
|
+
constructor(map?: { [key: string]: any }) {
|
|
8559
|
+
super(map);
|
|
8560
|
+
}
|
|
8561
|
+
}
|
|
8562
|
+
|
|
8563
|
+
export class StartConfigurationRecorderResponse extends $tea.Model {
|
|
8564
|
+
headers: { [key: string]: string };
|
|
8565
|
+
statusCode: number;
|
|
8566
|
+
body: StartConfigurationRecorderResponseBody;
|
|
8567
|
+
static names(): { [key: string]: string } {
|
|
8568
|
+
return {
|
|
8569
|
+
headers: 'headers',
|
|
8570
|
+
statusCode: 'statusCode',
|
|
8571
|
+
body: 'body',
|
|
8572
|
+
};
|
|
8573
|
+
}
|
|
8574
|
+
|
|
8575
|
+
static types(): { [key: string]: any } {
|
|
8576
|
+
return {
|
|
8577
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
8578
|
+
statusCode: 'number',
|
|
8579
|
+
body: StartConfigurationRecorderResponseBody,
|
|
8580
|
+
};
|
|
8581
|
+
}
|
|
8582
|
+
|
|
8583
|
+
constructor(map?: { [key: string]: any }) {
|
|
8584
|
+
super(map);
|
|
8585
|
+
}
|
|
8586
|
+
}
|
|
8587
|
+
|
|
7547
8588
|
export class StartRemediationRequest extends $tea.Model {
|
|
7548
8589
|
configRuleId?: string;
|
|
7549
8590
|
static names(): { [key: string]: string } {
|
|
@@ -8884,6 +9925,72 @@ export class UpdateConfigRuleResponse extends $tea.Model {
|
|
|
8884
9925
|
}
|
|
8885
9926
|
}
|
|
8886
9927
|
|
|
9928
|
+
export class UpdateConfigurationRecorderRequest extends $tea.Model {
|
|
9929
|
+
resourceTypes?: string;
|
|
9930
|
+
static names(): { [key: string]: string } {
|
|
9931
|
+
return {
|
|
9932
|
+
resourceTypes: 'ResourceTypes',
|
|
9933
|
+
};
|
|
9934
|
+
}
|
|
9935
|
+
|
|
9936
|
+
static types(): { [key: string]: any } {
|
|
9937
|
+
return {
|
|
9938
|
+
resourceTypes: 'string',
|
|
9939
|
+
};
|
|
9940
|
+
}
|
|
9941
|
+
|
|
9942
|
+
constructor(map?: { [key: string]: any }) {
|
|
9943
|
+
super(map);
|
|
9944
|
+
}
|
|
9945
|
+
}
|
|
9946
|
+
|
|
9947
|
+
export class UpdateConfigurationRecorderResponseBody extends $tea.Model {
|
|
9948
|
+
configurationRecorder?: UpdateConfigurationRecorderResponseBodyConfigurationRecorder;
|
|
9949
|
+
requestId?: string;
|
|
9950
|
+
static names(): { [key: string]: string } {
|
|
9951
|
+
return {
|
|
9952
|
+
configurationRecorder: 'ConfigurationRecorder',
|
|
9953
|
+
requestId: 'RequestId',
|
|
9954
|
+
};
|
|
9955
|
+
}
|
|
9956
|
+
|
|
9957
|
+
static types(): { [key: string]: any } {
|
|
9958
|
+
return {
|
|
9959
|
+
configurationRecorder: UpdateConfigurationRecorderResponseBodyConfigurationRecorder,
|
|
9960
|
+
requestId: 'string',
|
|
9961
|
+
};
|
|
9962
|
+
}
|
|
9963
|
+
|
|
9964
|
+
constructor(map?: { [key: string]: any }) {
|
|
9965
|
+
super(map);
|
|
9966
|
+
}
|
|
9967
|
+
}
|
|
9968
|
+
|
|
9969
|
+
export class UpdateConfigurationRecorderResponse extends $tea.Model {
|
|
9970
|
+
headers: { [key: string]: string };
|
|
9971
|
+
statusCode: number;
|
|
9972
|
+
body: UpdateConfigurationRecorderResponseBody;
|
|
9973
|
+
static names(): { [key: string]: string } {
|
|
9974
|
+
return {
|
|
9975
|
+
headers: 'headers',
|
|
9976
|
+
statusCode: 'statusCode',
|
|
9977
|
+
body: 'body',
|
|
9978
|
+
};
|
|
9979
|
+
}
|
|
9980
|
+
|
|
9981
|
+
static types(): { [key: string]: any } {
|
|
9982
|
+
return {
|
|
9983
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
9984
|
+
statusCode: 'number',
|
|
9985
|
+
body: UpdateConfigurationRecorderResponseBody,
|
|
9986
|
+
};
|
|
9987
|
+
}
|
|
9988
|
+
|
|
9989
|
+
constructor(map?: { [key: string]: any }) {
|
|
9990
|
+
super(map);
|
|
9991
|
+
}
|
|
9992
|
+
}
|
|
9993
|
+
|
|
8887
9994
|
export class UpdateDeliveryChannelRequest extends $tea.Model {
|
|
8888
9995
|
clientToken?: string;
|
|
8889
9996
|
configurationItemChangeNotification?: boolean;
|
|
@@ -9114,17 +10221,61 @@ export class UpdateRemediationResponse extends $tea.Model {
|
|
|
9114
10221
|
body: UpdateRemediationResponseBody;
|
|
9115
10222
|
static names(): { [key: string]: string } {
|
|
9116
10223
|
return {
|
|
9117
|
-
headers: 'headers',
|
|
9118
|
-
statusCode: 'statusCode',
|
|
9119
|
-
body: 'body',
|
|
10224
|
+
headers: 'headers',
|
|
10225
|
+
statusCode: 'statusCode',
|
|
10226
|
+
body: 'body',
|
|
10227
|
+
};
|
|
10228
|
+
}
|
|
10229
|
+
|
|
10230
|
+
static types(): { [key: string]: any } {
|
|
10231
|
+
return {
|
|
10232
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
10233
|
+
statusCode: 'number',
|
|
10234
|
+
body: UpdateRemediationResponseBody,
|
|
10235
|
+
};
|
|
10236
|
+
}
|
|
10237
|
+
|
|
10238
|
+
constructor(map?: { [key: string]: any }) {
|
|
10239
|
+
super(map);
|
|
10240
|
+
}
|
|
10241
|
+
}
|
|
10242
|
+
|
|
10243
|
+
export class ActiveAggregateConfigRulesResponseBodyOperateRuleResultOperateRuleItemList extends $tea.Model {
|
|
10244
|
+
configRuleId?: string;
|
|
10245
|
+
errorCode?: string;
|
|
10246
|
+
success?: boolean;
|
|
10247
|
+
static names(): { [key: string]: string } {
|
|
10248
|
+
return {
|
|
10249
|
+
configRuleId: 'ConfigRuleId',
|
|
10250
|
+
errorCode: 'ErrorCode',
|
|
10251
|
+
success: 'Success',
|
|
10252
|
+
};
|
|
10253
|
+
}
|
|
10254
|
+
|
|
10255
|
+
static types(): { [key: string]: any } {
|
|
10256
|
+
return {
|
|
10257
|
+
configRuleId: 'string',
|
|
10258
|
+
errorCode: 'string',
|
|
10259
|
+
success: 'boolean',
|
|
10260
|
+
};
|
|
10261
|
+
}
|
|
10262
|
+
|
|
10263
|
+
constructor(map?: { [key: string]: any }) {
|
|
10264
|
+
super(map);
|
|
10265
|
+
}
|
|
10266
|
+
}
|
|
10267
|
+
|
|
10268
|
+
export class ActiveAggregateConfigRulesResponseBodyOperateRuleResult extends $tea.Model {
|
|
10269
|
+
operateRuleItemList?: ActiveAggregateConfigRulesResponseBodyOperateRuleResultOperateRuleItemList[];
|
|
10270
|
+
static names(): { [key: string]: string } {
|
|
10271
|
+
return {
|
|
10272
|
+
operateRuleItemList: 'OperateRuleItemList',
|
|
9120
10273
|
};
|
|
9121
10274
|
}
|
|
9122
10275
|
|
|
9123
10276
|
static types(): { [key: string]: any } {
|
|
9124
10277
|
return {
|
|
9125
|
-
|
|
9126
|
-
statusCode: 'number',
|
|
9127
|
-
body: UpdateRemediationResponseBody,
|
|
10278
|
+
operateRuleItemList: { 'type': 'array', 'itemType': ActiveAggregateConfigRulesResponseBodyOperateRuleResultOperateRuleItemList },
|
|
9128
10279
|
};
|
|
9129
10280
|
}
|
|
9130
10281
|
|
|
@@ -9133,7 +10284,7 @@ export class UpdateRemediationResponse extends $tea.Model {
|
|
|
9133
10284
|
}
|
|
9134
10285
|
}
|
|
9135
10286
|
|
|
9136
|
-
export class
|
|
10287
|
+
export class ActiveConfigRulesResponseBodyOperateRuleResultOperateRuleItemList extends $tea.Model {
|
|
9137
10288
|
configRuleId?: string;
|
|
9138
10289
|
errorCode?: string;
|
|
9139
10290
|
success?: boolean;
|
|
@@ -9158,8 +10309,8 @@ export class ActiveAggregateConfigRulesResponseBodyOperateRuleResultOperateRuleI
|
|
|
9158
10309
|
}
|
|
9159
10310
|
}
|
|
9160
10311
|
|
|
9161
|
-
export class
|
|
9162
|
-
operateRuleItemList?:
|
|
10312
|
+
export class ActiveConfigRulesResponseBodyOperateRuleResult extends $tea.Model {
|
|
10313
|
+
operateRuleItemList?: ActiveConfigRulesResponseBodyOperateRuleResultOperateRuleItemList[];
|
|
9163
10314
|
static names(): { [key: string]: string } {
|
|
9164
10315
|
return {
|
|
9165
10316
|
operateRuleItemList: 'OperateRuleItemList',
|
|
@@ -9168,7 +10319,7 @@ export class ActiveAggregateConfigRulesResponseBodyOperateRuleResult extends $te
|
|
|
9168
10319
|
|
|
9169
10320
|
static types(): { [key: string]: any } {
|
|
9170
10321
|
return {
|
|
9171
|
-
operateRuleItemList: { 'type': 'array', 'itemType':
|
|
10322
|
+
operateRuleItemList: { 'type': 'array', 'itemType': ActiveConfigRulesResponseBodyOperateRuleResultOperateRuleItemList },
|
|
9172
10323
|
};
|
|
9173
10324
|
}
|
|
9174
10325
|
|
|
@@ -9691,6 +10842,50 @@ export class DeleteCompliancePacksResponseBodyOperateCompliancePacksResult exten
|
|
|
9691
10842
|
}
|
|
9692
10843
|
}
|
|
9693
10844
|
|
|
10845
|
+
export class DeleteConfigRulesResponseBodyOperateRuleResultOperateRuleItemList extends $tea.Model {
|
|
10846
|
+
configRuleId?: string;
|
|
10847
|
+
errorCode?: string;
|
|
10848
|
+
success?: boolean;
|
|
10849
|
+
static names(): { [key: string]: string } {
|
|
10850
|
+
return {
|
|
10851
|
+
configRuleId: 'ConfigRuleId',
|
|
10852
|
+
errorCode: 'ErrorCode',
|
|
10853
|
+
success: 'Success',
|
|
10854
|
+
};
|
|
10855
|
+
}
|
|
10856
|
+
|
|
10857
|
+
static types(): { [key: string]: any } {
|
|
10858
|
+
return {
|
|
10859
|
+
configRuleId: 'string',
|
|
10860
|
+
errorCode: 'string',
|
|
10861
|
+
success: 'boolean',
|
|
10862
|
+
};
|
|
10863
|
+
}
|
|
10864
|
+
|
|
10865
|
+
constructor(map?: { [key: string]: any }) {
|
|
10866
|
+
super(map);
|
|
10867
|
+
}
|
|
10868
|
+
}
|
|
10869
|
+
|
|
10870
|
+
export class DeleteConfigRulesResponseBodyOperateRuleResult extends $tea.Model {
|
|
10871
|
+
operateRuleItemList?: DeleteConfigRulesResponseBodyOperateRuleResultOperateRuleItemList[];
|
|
10872
|
+
static names(): { [key: string]: string } {
|
|
10873
|
+
return {
|
|
10874
|
+
operateRuleItemList: 'OperateRuleItemList',
|
|
10875
|
+
};
|
|
10876
|
+
}
|
|
10877
|
+
|
|
10878
|
+
static types(): { [key: string]: any } {
|
|
10879
|
+
return {
|
|
10880
|
+
operateRuleItemList: { 'type': 'array', 'itemType': DeleteConfigRulesResponseBodyOperateRuleResultOperateRuleItemList },
|
|
10881
|
+
};
|
|
10882
|
+
}
|
|
10883
|
+
|
|
10884
|
+
constructor(map?: { [key: string]: any }) {
|
|
10885
|
+
super(map);
|
|
10886
|
+
}
|
|
10887
|
+
}
|
|
10888
|
+
|
|
9694
10889
|
export class DeleteRemediationsResponseBodyRemediationDeleteResults extends $tea.Model {
|
|
9695
10890
|
errorMessage?: string;
|
|
9696
10891
|
remediationId?: string;
|
|
@@ -9991,6 +11186,7 @@ export class GetAggregateCompliancePackResponseBodyCompliancePackConfigRules ext
|
|
|
9991
11186
|
configRuleParameters?: GetAggregateCompliancePackResponseBodyCompliancePackConfigRulesConfigRuleParameters[];
|
|
9992
11187
|
description?: string;
|
|
9993
11188
|
managedRuleIdentifier?: string;
|
|
11189
|
+
resourceTypesScope?: string;
|
|
9994
11190
|
riskLevel?: number;
|
|
9995
11191
|
static names(): { [key: string]: string } {
|
|
9996
11192
|
return {
|
|
@@ -9999,6 +11195,7 @@ export class GetAggregateCompliancePackResponseBodyCompliancePackConfigRules ext
|
|
|
9999
11195
|
configRuleParameters: 'ConfigRuleParameters',
|
|
10000
11196
|
description: 'Description',
|
|
10001
11197
|
managedRuleIdentifier: 'ManagedRuleIdentifier',
|
|
11198
|
+
resourceTypesScope: 'ResourceTypesScope',
|
|
10002
11199
|
riskLevel: 'RiskLevel',
|
|
10003
11200
|
};
|
|
10004
11201
|
}
|
|
@@ -10010,6 +11207,7 @@ export class GetAggregateCompliancePackResponseBodyCompliancePackConfigRules ext
|
|
|
10010
11207
|
configRuleParameters: { 'type': 'array', 'itemType': GetAggregateCompliancePackResponseBodyCompliancePackConfigRulesConfigRuleParameters },
|
|
10011
11208
|
description: 'string',
|
|
10012
11209
|
managedRuleIdentifier: 'string',
|
|
11210
|
+
resourceTypesScope: 'string',
|
|
10013
11211
|
riskLevel: 'number',
|
|
10014
11212
|
};
|
|
10015
11213
|
}
|
|
@@ -10130,6 +11328,84 @@ export class GetAggregateCompliancePackReportResponseBodyCompliancePackReport ex
|
|
|
10130
11328
|
}
|
|
10131
11329
|
}
|
|
10132
11330
|
|
|
11331
|
+
export class GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule extends $tea.Model {
|
|
11332
|
+
complianceSummaryTimestamp?: number;
|
|
11333
|
+
compliantCount?: number;
|
|
11334
|
+
nonCompliantCount?: number;
|
|
11335
|
+
totalCount?: number;
|
|
11336
|
+
static names(): { [key: string]: string } {
|
|
11337
|
+
return {
|
|
11338
|
+
complianceSummaryTimestamp: 'ComplianceSummaryTimestamp',
|
|
11339
|
+
compliantCount: 'CompliantCount',
|
|
11340
|
+
nonCompliantCount: 'NonCompliantCount',
|
|
11341
|
+
totalCount: 'TotalCount',
|
|
11342
|
+
};
|
|
11343
|
+
}
|
|
11344
|
+
|
|
11345
|
+
static types(): { [key: string]: any } {
|
|
11346
|
+
return {
|
|
11347
|
+
complianceSummaryTimestamp: 'number',
|
|
11348
|
+
compliantCount: 'number',
|
|
11349
|
+
nonCompliantCount: 'number',
|
|
11350
|
+
totalCount: 'number',
|
|
11351
|
+
};
|
|
11352
|
+
}
|
|
11353
|
+
|
|
11354
|
+
constructor(map?: { [key: string]: any }) {
|
|
11355
|
+
super(map);
|
|
11356
|
+
}
|
|
11357
|
+
}
|
|
11358
|
+
|
|
11359
|
+
export class GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource extends $tea.Model {
|
|
11360
|
+
complianceSummaryTimestamp?: number;
|
|
11361
|
+
compliantCount?: number;
|
|
11362
|
+
nonCompliantCount?: number;
|
|
11363
|
+
totalCount?: number;
|
|
11364
|
+
static names(): { [key: string]: string } {
|
|
11365
|
+
return {
|
|
11366
|
+
complianceSummaryTimestamp: 'ComplianceSummaryTimestamp',
|
|
11367
|
+
compliantCount: 'CompliantCount',
|
|
11368
|
+
nonCompliantCount: 'NonCompliantCount',
|
|
11369
|
+
totalCount: 'TotalCount',
|
|
11370
|
+
};
|
|
11371
|
+
}
|
|
11372
|
+
|
|
11373
|
+
static types(): { [key: string]: any } {
|
|
11374
|
+
return {
|
|
11375
|
+
complianceSummaryTimestamp: 'number',
|
|
11376
|
+
compliantCount: 'number',
|
|
11377
|
+
nonCompliantCount: 'number',
|
|
11378
|
+
totalCount: 'number',
|
|
11379
|
+
};
|
|
11380
|
+
}
|
|
11381
|
+
|
|
11382
|
+
constructor(map?: { [key: string]: any }) {
|
|
11383
|
+
super(map);
|
|
11384
|
+
}
|
|
11385
|
+
}
|
|
11386
|
+
|
|
11387
|
+
export class GetAggregateComplianceSummaryResponseBodyComplianceSummary extends $tea.Model {
|
|
11388
|
+
complianceSummaryByConfigRule?: GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule;
|
|
11389
|
+
complianceSummaryByResource?: GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource;
|
|
11390
|
+
static names(): { [key: string]: string } {
|
|
11391
|
+
return {
|
|
11392
|
+
complianceSummaryByConfigRule: 'ComplianceSummaryByConfigRule',
|
|
11393
|
+
complianceSummaryByResource: 'ComplianceSummaryByResource',
|
|
11394
|
+
};
|
|
11395
|
+
}
|
|
11396
|
+
|
|
11397
|
+
static types(): { [key: string]: any } {
|
|
11398
|
+
return {
|
|
11399
|
+
complianceSummaryByConfigRule: GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule,
|
|
11400
|
+
complianceSummaryByResource: GetAggregateComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource,
|
|
11401
|
+
};
|
|
11402
|
+
}
|
|
11403
|
+
|
|
11404
|
+
constructor(map?: { [key: string]: any }) {
|
|
11405
|
+
super(map);
|
|
11406
|
+
}
|
|
11407
|
+
}
|
|
11408
|
+
|
|
10133
11409
|
export class GetAggregateConfigDeliveryChannelResponseBodyDeliveryChannel extends $tea.Model {
|
|
10134
11410
|
accountId?: string;
|
|
10135
11411
|
aggregatorId?: string;
|
|
@@ -11158,6 +12434,7 @@ export class GetCompliancePackResponseBodyCompliancePackConfigRules extends $tea
|
|
|
11158
12434
|
configRuleParameters?: GetCompliancePackResponseBodyCompliancePackConfigRulesConfigRuleParameters[];
|
|
11159
12435
|
description?: string;
|
|
11160
12436
|
managedRuleIdentifier?: string;
|
|
12437
|
+
resourceTypesScope?: string;
|
|
11161
12438
|
riskLevel?: number;
|
|
11162
12439
|
static names(): { [key: string]: string } {
|
|
11163
12440
|
return {
|
|
@@ -11166,6 +12443,7 @@ export class GetCompliancePackResponseBodyCompliancePackConfigRules extends $tea
|
|
|
11166
12443
|
configRuleParameters: 'ConfigRuleParameters',
|
|
11167
12444
|
description: 'Description',
|
|
11168
12445
|
managedRuleIdentifier: 'ManagedRuleIdentifier',
|
|
12446
|
+
resourceTypesScope: 'ResourceTypesScope',
|
|
11169
12447
|
riskLevel: 'RiskLevel',
|
|
11170
12448
|
};
|
|
11171
12449
|
}
|
|
@@ -11177,6 +12455,7 @@ export class GetCompliancePackResponseBodyCompliancePackConfigRules extends $tea
|
|
|
11177
12455
|
configRuleParameters: { 'type': 'array', 'itemType': GetCompliancePackResponseBodyCompliancePackConfigRulesConfigRuleParameters },
|
|
11178
12456
|
description: 'string',
|
|
11179
12457
|
managedRuleIdentifier: 'string',
|
|
12458
|
+
resourceTypesScope: 'string',
|
|
11180
12459
|
riskLevel: 'number',
|
|
11181
12460
|
};
|
|
11182
12461
|
}
|
|
@@ -11294,6 +12573,84 @@ export class GetCompliancePackReportResponseBodyCompliancePackReport extends $te
|
|
|
11294
12573
|
}
|
|
11295
12574
|
}
|
|
11296
12575
|
|
|
12576
|
+
export class GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule extends $tea.Model {
|
|
12577
|
+
complianceSummaryTimestamp?: number;
|
|
12578
|
+
compliantCount?: number;
|
|
12579
|
+
nonCompliantCount?: number;
|
|
12580
|
+
totalCount?: number;
|
|
12581
|
+
static names(): { [key: string]: string } {
|
|
12582
|
+
return {
|
|
12583
|
+
complianceSummaryTimestamp: 'ComplianceSummaryTimestamp',
|
|
12584
|
+
compliantCount: 'CompliantCount',
|
|
12585
|
+
nonCompliantCount: 'NonCompliantCount',
|
|
12586
|
+
totalCount: 'TotalCount',
|
|
12587
|
+
};
|
|
12588
|
+
}
|
|
12589
|
+
|
|
12590
|
+
static types(): { [key: string]: any } {
|
|
12591
|
+
return {
|
|
12592
|
+
complianceSummaryTimestamp: 'number',
|
|
12593
|
+
compliantCount: 'number',
|
|
12594
|
+
nonCompliantCount: 'number',
|
|
12595
|
+
totalCount: 'number',
|
|
12596
|
+
};
|
|
12597
|
+
}
|
|
12598
|
+
|
|
12599
|
+
constructor(map?: { [key: string]: any }) {
|
|
12600
|
+
super(map);
|
|
12601
|
+
}
|
|
12602
|
+
}
|
|
12603
|
+
|
|
12604
|
+
export class GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource extends $tea.Model {
|
|
12605
|
+
complianceSummaryTimestamp?: number;
|
|
12606
|
+
compliantCount?: number;
|
|
12607
|
+
nonCompliantCount?: number;
|
|
12608
|
+
totalCount?: number;
|
|
12609
|
+
static names(): { [key: string]: string } {
|
|
12610
|
+
return {
|
|
12611
|
+
complianceSummaryTimestamp: 'ComplianceSummaryTimestamp',
|
|
12612
|
+
compliantCount: 'CompliantCount',
|
|
12613
|
+
nonCompliantCount: 'NonCompliantCount',
|
|
12614
|
+
totalCount: 'TotalCount',
|
|
12615
|
+
};
|
|
12616
|
+
}
|
|
12617
|
+
|
|
12618
|
+
static types(): { [key: string]: any } {
|
|
12619
|
+
return {
|
|
12620
|
+
complianceSummaryTimestamp: 'number',
|
|
12621
|
+
compliantCount: 'number',
|
|
12622
|
+
nonCompliantCount: 'number',
|
|
12623
|
+
totalCount: 'number',
|
|
12624
|
+
};
|
|
12625
|
+
}
|
|
12626
|
+
|
|
12627
|
+
constructor(map?: { [key: string]: any }) {
|
|
12628
|
+
super(map);
|
|
12629
|
+
}
|
|
12630
|
+
}
|
|
12631
|
+
|
|
12632
|
+
export class GetComplianceSummaryResponseBodyComplianceSummary extends $tea.Model {
|
|
12633
|
+
complianceSummaryByConfigRule?: GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule;
|
|
12634
|
+
complianceSummaryByResource?: GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource;
|
|
12635
|
+
static names(): { [key: string]: string } {
|
|
12636
|
+
return {
|
|
12637
|
+
complianceSummaryByConfigRule: 'ComplianceSummaryByConfigRule',
|
|
12638
|
+
complianceSummaryByResource: 'ComplianceSummaryByResource',
|
|
12639
|
+
};
|
|
12640
|
+
}
|
|
12641
|
+
|
|
12642
|
+
static types(): { [key: string]: any } {
|
|
12643
|
+
return {
|
|
12644
|
+
complianceSummaryByConfigRule: GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByConfigRule,
|
|
12645
|
+
complianceSummaryByResource: GetComplianceSummaryResponseBodyComplianceSummaryComplianceSummaryByResource,
|
|
12646
|
+
};
|
|
12647
|
+
}
|
|
12648
|
+
|
|
12649
|
+
constructor(map?: { [key: string]: any }) {
|
|
12650
|
+
super(map);
|
|
12651
|
+
}
|
|
12652
|
+
}
|
|
12653
|
+
|
|
11297
12654
|
export class GetConfigDeliveryChannelResponseBodyDeliveryChannel extends $tea.Model {
|
|
11298
12655
|
accountId?: number;
|
|
11299
12656
|
configurationItemChangeNotification?: boolean;
|
|
@@ -11504,6 +12861,25 @@ export class GetConfigRuleResponseBodyConfigRuleManagedRule extends $tea.Model {
|
|
|
11504
12861
|
}
|
|
11505
12862
|
}
|
|
11506
12863
|
|
|
12864
|
+
export class GetConfigRuleResponseBodyConfigRuleScope extends $tea.Model {
|
|
12865
|
+
complianceResourceTypes?: string[];
|
|
12866
|
+
static names(): { [key: string]: string } {
|
|
12867
|
+
return {
|
|
12868
|
+
complianceResourceTypes: 'ComplianceResourceTypes',
|
|
12869
|
+
};
|
|
12870
|
+
}
|
|
12871
|
+
|
|
12872
|
+
static types(): { [key: string]: any } {
|
|
12873
|
+
return {
|
|
12874
|
+
complianceResourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
12875
|
+
};
|
|
12876
|
+
}
|
|
12877
|
+
|
|
12878
|
+
constructor(map?: { [key: string]: any }) {
|
|
12879
|
+
super(map);
|
|
12880
|
+
}
|
|
12881
|
+
}
|
|
12882
|
+
|
|
11507
12883
|
export class GetConfigRuleResponseBodyConfigRuleSourceSourceDetails extends $tea.Model {
|
|
11508
12884
|
eventSource?: string;
|
|
11509
12885
|
maximumExecutionFrequency?: string;
|
|
@@ -11575,6 +12951,7 @@ export class GetConfigRuleResponseBodyConfigRule extends $tea.Model {
|
|
|
11575
12951
|
resourceGroupIdsScope?: string;
|
|
11576
12952
|
resourceTypesScope?: string;
|
|
11577
12953
|
riskLevel?: number;
|
|
12954
|
+
scope?: GetConfigRuleResponseBodyConfigRuleScope;
|
|
11578
12955
|
source?: GetConfigRuleResponseBodyConfigRuleSource;
|
|
11579
12956
|
tagKeyLogicScope?: string;
|
|
11580
12957
|
tagKeyScope?: string;
|
|
@@ -11601,6 +12978,7 @@ export class GetConfigRuleResponseBodyConfigRule extends $tea.Model {
|
|
|
11601
12978
|
resourceGroupIdsScope: 'ResourceGroupIdsScope',
|
|
11602
12979
|
resourceTypesScope: 'ResourceTypesScope',
|
|
11603
12980
|
riskLevel: 'RiskLevel',
|
|
12981
|
+
scope: 'Scope',
|
|
11604
12982
|
source: 'Source',
|
|
11605
12983
|
tagKeyLogicScope: 'TagKeyLogicScope',
|
|
11606
12984
|
tagKeyScope: 'TagKeyScope',
|
|
@@ -11630,6 +13008,7 @@ export class GetConfigRuleResponseBodyConfigRule extends $tea.Model {
|
|
|
11630
13008
|
resourceGroupIdsScope: 'string',
|
|
11631
13009
|
resourceTypesScope: 'string',
|
|
11632
13010
|
riskLevel: 'number',
|
|
13011
|
+
scope: GetConfigRuleResponseBodyConfigRuleScope,
|
|
11633
13012
|
source: GetConfigRuleResponseBodyConfigRuleSource,
|
|
11634
13013
|
tagKeyLogicScope: 'string',
|
|
11635
13014
|
tagKeyScope: 'string',
|
|
@@ -11751,6 +13130,28 @@ export class GetConfigRulesReportResponseBodyConfigRulesReport extends $tea.Mode
|
|
|
11751
13130
|
}
|
|
11752
13131
|
}
|
|
11753
13132
|
|
|
13133
|
+
export class GetConfigurationRecorderResponseBodyConfigurationRecorder extends $tea.Model {
|
|
13134
|
+
configurationRecorderStatus?: string;
|
|
13135
|
+
resourceTypes?: string[];
|
|
13136
|
+
static names(): { [key: string]: string } {
|
|
13137
|
+
return {
|
|
13138
|
+
configurationRecorderStatus: 'ConfigurationRecorderStatus',
|
|
13139
|
+
resourceTypes: 'ResourceTypes',
|
|
13140
|
+
};
|
|
13141
|
+
}
|
|
13142
|
+
|
|
13143
|
+
static types(): { [key: string]: any } {
|
|
13144
|
+
return {
|
|
13145
|
+
configurationRecorderStatus: 'string',
|
|
13146
|
+
resourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
13147
|
+
};
|
|
13148
|
+
}
|
|
13149
|
+
|
|
13150
|
+
constructor(map?: { [key: string]: any }) {
|
|
13151
|
+
super(map);
|
|
13152
|
+
}
|
|
13153
|
+
}
|
|
13154
|
+
|
|
11754
13155
|
export class GetDiscoveredResourceResponseBodyDiscoveredResourceDetail extends $tea.Model {
|
|
11755
13156
|
accountId?: number;
|
|
11756
13157
|
availabilityZone?: string;
|
|
@@ -11919,16 +13320,50 @@ export class GetManagedRuleResponseBodyManagedRule extends $tea.Model {
|
|
|
11919
13320
|
|
|
11920
13321
|
static types(): { [key: string]: any } {
|
|
11921
13322
|
return {
|
|
11922
|
-
compulsoryInputParameterDetails: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
11923
|
-
configRuleName: 'string',
|
|
11924
|
-
description: 'string',
|
|
11925
|
-
helpUrls: 'string',
|
|
11926
|
-
identifier: 'string',
|
|
11927
|
-
labels: { 'type': 'array', 'itemType': 'string' },
|
|
11928
|
-
optionalInputParameterDetails: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
11929
|
-
riskLevel: 'number',
|
|
11930
|
-
scope: GetManagedRuleResponseBodyManagedRuleScope,
|
|
11931
|
-
sourceDetails: { 'type': 'array', 'itemType': GetManagedRuleResponseBodyManagedRuleSourceDetails },
|
|
13323
|
+
compulsoryInputParameterDetails: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
13324
|
+
configRuleName: 'string',
|
|
13325
|
+
description: 'string',
|
|
13326
|
+
helpUrls: 'string',
|
|
13327
|
+
identifier: 'string',
|
|
13328
|
+
labels: { 'type': 'array', 'itemType': 'string' },
|
|
13329
|
+
optionalInputParameterDetails: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
13330
|
+
riskLevel: 'number',
|
|
13331
|
+
scope: GetManagedRuleResponseBodyManagedRuleScope,
|
|
13332
|
+
sourceDetails: { 'type': 'array', 'itemType': GetManagedRuleResponseBodyManagedRuleSourceDetails },
|
|
13333
|
+
};
|
|
13334
|
+
}
|
|
13335
|
+
|
|
13336
|
+
constructor(map?: { [key: string]: any }) {
|
|
13337
|
+
super(map);
|
|
13338
|
+
}
|
|
13339
|
+
}
|
|
13340
|
+
|
|
13341
|
+
export class GetRemediationTemplateResponseBodyRemediationTemplates extends $tea.Model {
|
|
13342
|
+
managedRuleIdentifier?: string;
|
|
13343
|
+
remediationType?: string;
|
|
13344
|
+
templateDefinition?: string;
|
|
13345
|
+
templateDescription?: string;
|
|
13346
|
+
templateIdentifier?: string;
|
|
13347
|
+
templateName?: string;
|
|
13348
|
+
static names(): { [key: string]: string } {
|
|
13349
|
+
return {
|
|
13350
|
+
managedRuleIdentifier: 'ManagedRuleIdentifier',
|
|
13351
|
+
remediationType: 'RemediationType',
|
|
13352
|
+
templateDefinition: 'TemplateDefinition',
|
|
13353
|
+
templateDescription: 'TemplateDescription',
|
|
13354
|
+
templateIdentifier: 'TemplateIdentifier',
|
|
13355
|
+
templateName: 'TemplateName',
|
|
13356
|
+
};
|
|
13357
|
+
}
|
|
13358
|
+
|
|
13359
|
+
static types(): { [key: string]: any } {
|
|
13360
|
+
return {
|
|
13361
|
+
managedRuleIdentifier: 'string',
|
|
13362
|
+
remediationType: 'string',
|
|
13363
|
+
templateDefinition: 'string',
|
|
13364
|
+
templateDescription: 'string',
|
|
13365
|
+
templateIdentifier: 'string',
|
|
13366
|
+
templateName: 'string',
|
|
11932
13367
|
};
|
|
11933
13368
|
}
|
|
11934
13369
|
|
|
@@ -12289,6 +13724,28 @@ export class GetResourceConfigurationTimelineResponseBodyResourceConfigurationTi
|
|
|
12289
13724
|
}
|
|
12290
13725
|
}
|
|
12291
13726
|
|
|
13727
|
+
export class GetSupportedResourceRelationConfigResponseBodyResourceRelationConfigList extends $tea.Model {
|
|
13728
|
+
relationType?: string;
|
|
13729
|
+
targetResourceType?: string;
|
|
13730
|
+
static names(): { [key: string]: string } {
|
|
13731
|
+
return {
|
|
13732
|
+
relationType: 'RelationType',
|
|
13733
|
+
targetResourceType: 'TargetResourceType',
|
|
13734
|
+
};
|
|
13735
|
+
}
|
|
13736
|
+
|
|
13737
|
+
static types(): { [key: string]: any } {
|
|
13738
|
+
return {
|
|
13739
|
+
relationType: 'string',
|
|
13740
|
+
targetResourceType: 'string',
|
|
13741
|
+
};
|
|
13742
|
+
}
|
|
13743
|
+
|
|
13744
|
+
constructor(map?: { [key: string]: any }) {
|
|
13745
|
+
super(map);
|
|
13746
|
+
}
|
|
13747
|
+
}
|
|
13748
|
+
|
|
12292
13749
|
export class IgnoreAggregateEvaluationResultsRequestResources extends $tea.Model {
|
|
12293
13750
|
region?: string;
|
|
12294
13751
|
resourceAccountId?: number;
|
|
@@ -12701,6 +14158,7 @@ export class ListAggregateConfigRulesResponseBodyConfigRulesConfigRuleList exten
|
|
|
12701
14158
|
configRuleState?: string;
|
|
12702
14159
|
createBy?: ListAggregateConfigRulesResponseBodyConfigRulesConfigRuleListCreateBy;
|
|
12703
14160
|
description?: string;
|
|
14161
|
+
resourceTypesScope?: string;
|
|
12704
14162
|
riskLevel?: number;
|
|
12705
14163
|
sourceIdentifier?: string;
|
|
12706
14164
|
sourceOwner?: string;
|
|
@@ -12716,6 +14174,7 @@ export class ListAggregateConfigRulesResponseBodyConfigRulesConfigRuleList exten
|
|
|
12716
14174
|
configRuleState: 'ConfigRuleState',
|
|
12717
14175
|
createBy: 'CreateBy',
|
|
12718
14176
|
description: 'Description',
|
|
14177
|
+
resourceTypesScope: 'ResourceTypesScope',
|
|
12719
14178
|
riskLevel: 'RiskLevel',
|
|
12720
14179
|
sourceIdentifier: 'SourceIdentifier',
|
|
12721
14180
|
sourceOwner: 'SourceOwner',
|
|
@@ -12734,6 +14193,7 @@ export class ListAggregateConfigRulesResponseBodyConfigRulesConfigRuleList exten
|
|
|
12734
14193
|
configRuleState: 'string',
|
|
12735
14194
|
createBy: ListAggregateConfigRulesResponseBodyConfigRulesConfigRuleListCreateBy,
|
|
12736
14195
|
description: 'string',
|
|
14196
|
+
resourceTypesScope: 'string',
|
|
12737
14197
|
riskLevel: 'number',
|
|
12738
14198
|
sourceIdentifier: 'string',
|
|
12739
14199
|
sourceOwner: 'string',
|
|
@@ -13033,6 +14493,68 @@ export class ListAggregateResourceEvaluationResultsResponseBodyEvaluationResults
|
|
|
13033
14493
|
}
|
|
13034
14494
|
}
|
|
13035
14495
|
|
|
14496
|
+
export class ListAggregateResourceRelationsResponseBodyResourceRelationsResourceRelationList extends $tea.Model {
|
|
14497
|
+
accountId?: number;
|
|
14498
|
+
relationType?: string;
|
|
14499
|
+
sourceResourceId?: string;
|
|
14500
|
+
sourceResourceRegionId?: string;
|
|
14501
|
+
sourceResourceType?: string;
|
|
14502
|
+
targetResourceId?: string;
|
|
14503
|
+
targetResourceType?: string;
|
|
14504
|
+
static names(): { [key: string]: string } {
|
|
14505
|
+
return {
|
|
14506
|
+
accountId: 'AccountId',
|
|
14507
|
+
relationType: 'RelationType',
|
|
14508
|
+
sourceResourceId: 'SourceResourceId',
|
|
14509
|
+
sourceResourceRegionId: 'SourceResourceRegionId',
|
|
14510
|
+
sourceResourceType: 'SourceResourceType',
|
|
14511
|
+
targetResourceId: 'TargetResourceId',
|
|
14512
|
+
targetResourceType: 'TargetResourceType',
|
|
14513
|
+
};
|
|
14514
|
+
}
|
|
14515
|
+
|
|
14516
|
+
static types(): { [key: string]: any } {
|
|
14517
|
+
return {
|
|
14518
|
+
accountId: 'number',
|
|
14519
|
+
relationType: 'string',
|
|
14520
|
+
sourceResourceId: 'string',
|
|
14521
|
+
sourceResourceRegionId: 'string',
|
|
14522
|
+
sourceResourceType: 'string',
|
|
14523
|
+
targetResourceId: 'string',
|
|
14524
|
+
targetResourceType: 'string',
|
|
14525
|
+
};
|
|
14526
|
+
}
|
|
14527
|
+
|
|
14528
|
+
constructor(map?: { [key: string]: any }) {
|
|
14529
|
+
super(map);
|
|
14530
|
+
}
|
|
14531
|
+
}
|
|
14532
|
+
|
|
14533
|
+
export class ListAggregateResourceRelationsResponseBodyResourceRelations extends $tea.Model {
|
|
14534
|
+
maxResults?: number;
|
|
14535
|
+
nextToken?: string;
|
|
14536
|
+
resourceRelationList?: ListAggregateResourceRelationsResponseBodyResourceRelationsResourceRelationList[];
|
|
14537
|
+
static names(): { [key: string]: string } {
|
|
14538
|
+
return {
|
|
14539
|
+
maxResults: 'MaxResults',
|
|
14540
|
+
nextToken: 'NextToken',
|
|
14541
|
+
resourceRelationList: 'ResourceRelationList',
|
|
14542
|
+
};
|
|
14543
|
+
}
|
|
14544
|
+
|
|
14545
|
+
static types(): { [key: string]: any } {
|
|
14546
|
+
return {
|
|
14547
|
+
maxResults: 'number',
|
|
14548
|
+
nextToken: 'string',
|
|
14549
|
+
resourceRelationList: { 'type': 'array', 'itemType': ListAggregateResourceRelationsResponseBodyResourceRelationsResourceRelationList },
|
|
14550
|
+
};
|
|
14551
|
+
}
|
|
14552
|
+
|
|
14553
|
+
constructor(map?: { [key: string]: any }) {
|
|
14554
|
+
super(map);
|
|
14555
|
+
}
|
|
14556
|
+
}
|
|
14557
|
+
|
|
13036
14558
|
export class ListAggregatorsResponseBodyAggregatorsResultAggregators extends $tea.Model {
|
|
13037
14559
|
accountId?: number;
|
|
13038
14560
|
aggregatorAccountCount?: number;
|
|
@@ -13128,6 +14650,7 @@ export class ListCompliancePackTemplatesResponseBodyCompliancePackTemplatesResul
|
|
|
13128
14650
|
description?: string;
|
|
13129
14651
|
managedRuleIdentifier?: string;
|
|
13130
14652
|
managedRuleName?: string;
|
|
14653
|
+
resourceTypesScope?: string;
|
|
13131
14654
|
riskLevel?: number;
|
|
13132
14655
|
static names(): { [key: string]: string } {
|
|
13133
14656
|
return {
|
|
@@ -13138,6 +14661,7 @@ export class ListCompliancePackTemplatesResponseBodyCompliancePackTemplatesResul
|
|
|
13138
14661
|
description: 'Description',
|
|
13139
14662
|
managedRuleIdentifier: 'ManagedRuleIdentifier',
|
|
13140
14663
|
managedRuleName: 'ManagedRuleName',
|
|
14664
|
+
resourceTypesScope: 'ResourceTypesScope',
|
|
13141
14665
|
riskLevel: 'RiskLevel',
|
|
13142
14666
|
};
|
|
13143
14667
|
}
|
|
@@ -13151,6 +14675,7 @@ export class ListCompliancePackTemplatesResponseBodyCompliancePackTemplatesResul
|
|
|
13151
14675
|
description: 'string',
|
|
13152
14676
|
managedRuleIdentifier: 'string',
|
|
13153
14677
|
managedRuleName: 'string',
|
|
14678
|
+
resourceTypesScope: 'string',
|
|
13154
14679
|
riskLevel: 'number',
|
|
13155
14680
|
};
|
|
13156
14681
|
}
|
|
@@ -13560,6 +15085,7 @@ export class ListConfigRulesResponseBodyConfigRulesConfigRuleList extends $tea.M
|
|
|
13560
15085
|
configRuleState?: string;
|
|
13561
15086
|
createBy?: ListConfigRulesResponseBodyConfigRulesConfigRuleListCreateBy;
|
|
13562
15087
|
description?: string;
|
|
15088
|
+
resourceTypesScope?: string;
|
|
13563
15089
|
riskLevel?: number;
|
|
13564
15090
|
sourceIdentifier?: string;
|
|
13565
15091
|
sourceOwner?: string;
|
|
@@ -13575,6 +15101,7 @@ export class ListConfigRulesResponseBodyConfigRulesConfigRuleList extends $tea.M
|
|
|
13575
15101
|
configRuleState: 'ConfigRuleState',
|
|
13576
15102
|
createBy: 'CreateBy',
|
|
13577
15103
|
description: 'Description',
|
|
15104
|
+
resourceTypesScope: 'ResourceTypesScope',
|
|
13578
15105
|
riskLevel: 'RiskLevel',
|
|
13579
15106
|
sourceIdentifier: 'SourceIdentifier',
|
|
13580
15107
|
sourceOwner: 'SourceOwner',
|
|
@@ -13593,6 +15120,7 @@ export class ListConfigRulesResponseBodyConfigRulesConfigRuleList extends $tea.M
|
|
|
13593
15120
|
configRuleState: 'string',
|
|
13594
15121
|
createBy: ListConfigRulesResponseBodyConfigRulesConfigRuleListCreateBy,
|
|
13595
15122
|
description: 'string',
|
|
15123
|
+
resourceTypesScope: 'string',
|
|
13596
15124
|
riskLevel: 'number',
|
|
13597
15125
|
sourceIdentifier: 'string',
|
|
13598
15126
|
sourceOwner: 'string',
|
|
@@ -13735,8 +15263,11 @@ export class ListManagedRulesResponseBodyManagedRulesManagedRuleList extends $te
|
|
|
13735
15263
|
helpUrls?: string;
|
|
13736
15264
|
identifier?: string;
|
|
13737
15265
|
labels?: string[];
|
|
15266
|
+
remediationTemplateIdentifier?: string;
|
|
15267
|
+
remediationTemplateName?: string;
|
|
13738
15268
|
riskLevel?: number;
|
|
13739
15269
|
scope?: ListManagedRulesResponseBodyManagedRulesManagedRuleListScope;
|
|
15270
|
+
supportPreviewManagedRule?: boolean;
|
|
13740
15271
|
static names(): { [key: string]: string } {
|
|
13741
15272
|
return {
|
|
13742
15273
|
configRuleName: 'ConfigRuleName',
|
|
@@ -13744,8 +15275,11 @@ export class ListManagedRulesResponseBodyManagedRulesManagedRuleList extends $te
|
|
|
13744
15275
|
helpUrls: 'HelpUrls',
|
|
13745
15276
|
identifier: 'Identifier',
|
|
13746
15277
|
labels: 'Labels',
|
|
15278
|
+
remediationTemplateIdentifier: 'RemediationTemplateIdentifier',
|
|
15279
|
+
remediationTemplateName: 'RemediationTemplateName',
|
|
13747
15280
|
riskLevel: 'RiskLevel',
|
|
13748
15281
|
scope: 'Scope',
|
|
15282
|
+
supportPreviewManagedRule: 'SupportPreviewManagedRule',
|
|
13749
15283
|
};
|
|
13750
15284
|
}
|
|
13751
15285
|
|
|
@@ -13756,8 +15290,11 @@ export class ListManagedRulesResponseBodyManagedRulesManagedRuleList extends $te
|
|
|
13756
15290
|
helpUrls: 'string',
|
|
13757
15291
|
identifier: 'string',
|
|
13758
15292
|
labels: { 'type': 'array', 'itemType': 'string' },
|
|
15293
|
+
remediationTemplateIdentifier: 'string',
|
|
15294
|
+
remediationTemplateName: 'string',
|
|
13759
15295
|
riskLevel: 'number',
|
|
13760
15296
|
scope: ListManagedRulesResponseBodyManagedRulesManagedRuleListScope,
|
|
15297
|
+
supportPreviewManagedRule: 'boolean',
|
|
13761
15298
|
};
|
|
13762
15299
|
}
|
|
13763
15300
|
|
|
@@ -13831,15 +15368,76 @@ export class ListPreManagedRulesResponseBodyManagedRules extends $tea.Model {
|
|
|
13831
15368
|
}
|
|
13832
15369
|
}
|
|
13833
15370
|
|
|
15371
|
+
export class ListRemediationExecutionsResponseBodyRemediationExecutionDataRemediationExecutions extends $tea.Model {
|
|
15372
|
+
executionCreateDate?: string;
|
|
15373
|
+
executionInvocationId?: string;
|
|
15374
|
+
executionResourceIds?: string;
|
|
15375
|
+
executionResourceType?: string;
|
|
15376
|
+
executionStatus?: string;
|
|
15377
|
+
executionStatusMessage?: string;
|
|
15378
|
+
static names(): { [key: string]: string } {
|
|
15379
|
+
return {
|
|
15380
|
+
executionCreateDate: 'ExecutionCreateDate',
|
|
15381
|
+
executionInvocationId: 'ExecutionInvocationId',
|
|
15382
|
+
executionResourceIds: 'ExecutionResourceIds',
|
|
15383
|
+
executionResourceType: 'ExecutionResourceType',
|
|
15384
|
+
executionStatus: 'ExecutionStatus',
|
|
15385
|
+
executionStatusMessage: 'ExecutionStatusMessage',
|
|
15386
|
+
};
|
|
15387
|
+
}
|
|
15388
|
+
|
|
15389
|
+
static types(): { [key: string]: any } {
|
|
15390
|
+
return {
|
|
15391
|
+
executionCreateDate: 'string',
|
|
15392
|
+
executionInvocationId: 'string',
|
|
15393
|
+
executionResourceIds: 'string',
|
|
15394
|
+
executionResourceType: 'string',
|
|
15395
|
+
executionStatus: 'string',
|
|
15396
|
+
executionStatusMessage: 'string',
|
|
15397
|
+
};
|
|
15398
|
+
}
|
|
15399
|
+
|
|
15400
|
+
constructor(map?: { [key: string]: any }) {
|
|
15401
|
+
super(map);
|
|
15402
|
+
}
|
|
15403
|
+
}
|
|
15404
|
+
|
|
15405
|
+
export class ListRemediationExecutionsResponseBodyRemediationExecutionData extends $tea.Model {
|
|
15406
|
+
maxResults?: number;
|
|
15407
|
+
nextToken?: string;
|
|
15408
|
+
remediationExecutions?: ListRemediationExecutionsResponseBodyRemediationExecutionDataRemediationExecutions[];
|
|
15409
|
+
static names(): { [key: string]: string } {
|
|
15410
|
+
return {
|
|
15411
|
+
maxResults: 'MaxResults',
|
|
15412
|
+
nextToken: 'NextToken',
|
|
15413
|
+
remediationExecutions: 'RemediationExecutions',
|
|
15414
|
+
};
|
|
15415
|
+
}
|
|
15416
|
+
|
|
15417
|
+
static types(): { [key: string]: any } {
|
|
15418
|
+
return {
|
|
15419
|
+
maxResults: 'number',
|
|
15420
|
+
nextToken: 'string',
|
|
15421
|
+
remediationExecutions: { 'type': 'array', 'itemType': ListRemediationExecutionsResponseBodyRemediationExecutionDataRemediationExecutions },
|
|
15422
|
+
};
|
|
15423
|
+
}
|
|
15424
|
+
|
|
15425
|
+
constructor(map?: { [key: string]: any }) {
|
|
15426
|
+
super(map);
|
|
15427
|
+
}
|
|
15428
|
+
}
|
|
15429
|
+
|
|
13834
15430
|
export class ListRemediationTemplatesResponseBodyRemediationTemplates extends $tea.Model {
|
|
13835
15431
|
remediationType?: string;
|
|
13836
15432
|
templateDefinition?: string;
|
|
15433
|
+
templateDescription?: string;
|
|
13837
15434
|
templateIdentifier?: string;
|
|
13838
15435
|
templateName?: string;
|
|
13839
15436
|
static names(): { [key: string]: string } {
|
|
13840
15437
|
return {
|
|
13841
15438
|
remediationType: 'RemediationType',
|
|
13842
15439
|
templateDefinition: 'TemplateDefinition',
|
|
15440
|
+
templateDescription: 'TemplateDescription',
|
|
13843
15441
|
templateIdentifier: 'TemplateIdentifier',
|
|
13844
15442
|
templateName: 'TemplateName',
|
|
13845
15443
|
};
|
|
@@ -13849,6 +15447,7 @@ export class ListRemediationTemplatesResponseBodyRemediationTemplates extends $t
|
|
|
13849
15447
|
return {
|
|
13850
15448
|
remediationType: 'string',
|
|
13851
15449
|
templateDefinition: 'string',
|
|
15450
|
+
templateDescription: 'string',
|
|
13852
15451
|
templateIdentifier: 'string',
|
|
13853
15452
|
templateName: 'string',
|
|
13854
15453
|
};
|
|
@@ -14035,6 +15634,68 @@ export class ListResourceEvaluationResultsResponseBodyEvaluationResults extends
|
|
|
14035
15634
|
}
|
|
14036
15635
|
}
|
|
14037
15636
|
|
|
15637
|
+
export class ListResourceRelationsResponseBodyResourceRelationsResourceRelationList extends $tea.Model {
|
|
15638
|
+
accountId?: number;
|
|
15639
|
+
relationType?: string;
|
|
15640
|
+
sourceResourceId?: string;
|
|
15641
|
+
sourceResourceRegionId?: string;
|
|
15642
|
+
sourceResourceType?: string;
|
|
15643
|
+
targetResourceId?: string;
|
|
15644
|
+
targetResourceType?: string;
|
|
15645
|
+
static names(): { [key: string]: string } {
|
|
15646
|
+
return {
|
|
15647
|
+
accountId: 'AccountId',
|
|
15648
|
+
relationType: 'RelationType',
|
|
15649
|
+
sourceResourceId: 'SourceResourceId',
|
|
15650
|
+
sourceResourceRegionId: 'SourceResourceRegionId',
|
|
15651
|
+
sourceResourceType: 'SourceResourceType',
|
|
15652
|
+
targetResourceId: 'TargetResourceId',
|
|
15653
|
+
targetResourceType: 'TargetResourceType',
|
|
15654
|
+
};
|
|
15655
|
+
}
|
|
15656
|
+
|
|
15657
|
+
static types(): { [key: string]: any } {
|
|
15658
|
+
return {
|
|
15659
|
+
accountId: 'number',
|
|
15660
|
+
relationType: 'string',
|
|
15661
|
+
sourceResourceId: 'string',
|
|
15662
|
+
sourceResourceRegionId: 'string',
|
|
15663
|
+
sourceResourceType: 'string',
|
|
15664
|
+
targetResourceId: 'string',
|
|
15665
|
+
targetResourceType: 'string',
|
|
15666
|
+
};
|
|
15667
|
+
}
|
|
15668
|
+
|
|
15669
|
+
constructor(map?: { [key: string]: any }) {
|
|
15670
|
+
super(map);
|
|
15671
|
+
}
|
|
15672
|
+
}
|
|
15673
|
+
|
|
15674
|
+
export class ListResourceRelationsResponseBodyResourceRelations extends $tea.Model {
|
|
15675
|
+
maxResults?: number;
|
|
15676
|
+
nextToken?: string;
|
|
15677
|
+
resourceRelationList?: ListResourceRelationsResponseBodyResourceRelationsResourceRelationList[];
|
|
15678
|
+
static names(): { [key: string]: string } {
|
|
15679
|
+
return {
|
|
15680
|
+
maxResults: 'MaxResults',
|
|
15681
|
+
nextToken: 'NextToken',
|
|
15682
|
+
resourceRelationList: 'ResourceRelationList',
|
|
15683
|
+
};
|
|
15684
|
+
}
|
|
15685
|
+
|
|
15686
|
+
static types(): { [key: string]: any } {
|
|
15687
|
+
return {
|
|
15688
|
+
maxResults: 'number',
|
|
15689
|
+
nextToken: 'string',
|
|
15690
|
+
resourceRelationList: { 'type': 'array', 'itemType': ListResourceRelationsResponseBodyResourceRelationsResourceRelationList },
|
|
15691
|
+
};
|
|
15692
|
+
}
|
|
15693
|
+
|
|
15694
|
+
constructor(map?: { [key: string]: any }) {
|
|
15695
|
+
super(map);
|
|
15696
|
+
}
|
|
15697
|
+
}
|
|
15698
|
+
|
|
14038
15699
|
export class ListTagResourcesRequestTag extends $tea.Model {
|
|
14039
15700
|
key?: string;
|
|
14040
15701
|
value?: string;
|
|
@@ -14160,6 +15821,28 @@ export class RevertEvaluationResultsRequestResources extends $tea.Model {
|
|
|
14160
15821
|
}
|
|
14161
15822
|
}
|
|
14162
15823
|
|
|
15824
|
+
export class StartConfigurationRecorderResponseBodyConfigurationRecorder extends $tea.Model {
|
|
15825
|
+
configurationRecorderStatus?: string;
|
|
15826
|
+
resourceTypes?: string[];
|
|
15827
|
+
static names(): { [key: string]: string } {
|
|
15828
|
+
return {
|
|
15829
|
+
configurationRecorderStatus: 'ConfigurationRecorderStatus',
|
|
15830
|
+
resourceTypes: 'ResourceTypes',
|
|
15831
|
+
};
|
|
15832
|
+
}
|
|
15833
|
+
|
|
15834
|
+
static types(): { [key: string]: any } {
|
|
15835
|
+
return {
|
|
15836
|
+
configurationRecorderStatus: 'string',
|
|
15837
|
+
resourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
15838
|
+
};
|
|
15839
|
+
}
|
|
15840
|
+
|
|
15841
|
+
constructor(map?: { [key: string]: any }) {
|
|
15842
|
+
super(map);
|
|
15843
|
+
}
|
|
15844
|
+
}
|
|
15845
|
+
|
|
14163
15846
|
export class TagResourcesRequestTag extends $tea.Model {
|
|
14164
15847
|
key?: string;
|
|
14165
15848
|
value?: string;
|
|
@@ -14319,6 +16002,28 @@ export class UpdateCompliancePackRequestConfigRules extends $tea.Model {
|
|
|
14319
16002
|
}
|
|
14320
16003
|
}
|
|
14321
16004
|
|
|
16005
|
+
export class UpdateConfigurationRecorderResponseBodyConfigurationRecorder extends $tea.Model {
|
|
16006
|
+
configurationRecorderStatus?: string;
|
|
16007
|
+
resourceTypes?: string[];
|
|
16008
|
+
static names(): { [key: string]: string } {
|
|
16009
|
+
return {
|
|
16010
|
+
configurationRecorderStatus: 'ConfigurationRecorderStatus',
|
|
16011
|
+
resourceTypes: 'ResourceTypes',
|
|
16012
|
+
};
|
|
16013
|
+
}
|
|
16014
|
+
|
|
16015
|
+
static types(): { [key: string]: any } {
|
|
16016
|
+
return {
|
|
16017
|
+
configurationRecorderStatus: 'string',
|
|
16018
|
+
resourceTypes: { 'type': 'array', 'itemType': 'string' },
|
|
16019
|
+
};
|
|
16020
|
+
}
|
|
16021
|
+
|
|
16022
|
+
constructor(map?: { [key: string]: any }) {
|
|
16023
|
+
super(map);
|
|
16024
|
+
}
|
|
16025
|
+
}
|
|
16026
|
+
|
|
14322
16027
|
|
|
14323
16028
|
export default class Client extends OpenApi {
|
|
14324
16029
|
|
|
@@ -14347,7 +16052,7 @@ export default class Client extends OpenApi {
|
|
|
14347
16052
|
}
|
|
14348
16053
|
|
|
14349
16054
|
/**
|
|
14350
|
-
*
|
|
16055
|
+
* This topic provides an example on how to enable the `cr-5772ba41209e007b****` rule in the `ca-a4e5626622af0079****` account group.
|
|
14351
16056
|
*
|
|
14352
16057
|
* @param request ActiveAggregateConfigRulesRequest
|
|
14353
16058
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14382,7 +16087,7 @@ export default class Client extends OpenApi {
|
|
|
14382
16087
|
}
|
|
14383
16088
|
|
|
14384
16089
|
/**
|
|
14385
|
-
*
|
|
16090
|
+
* This topic provides an example on how to enable the `cr-5772ba41209e007b****` rule in the `ca-a4e5626622af0079****` account group.
|
|
14386
16091
|
*
|
|
14387
16092
|
* @param request ActiveAggregateConfigRulesRequest
|
|
14388
16093
|
* @return ActiveAggregateConfigRulesResponse
|
|
@@ -14392,6 +16097,35 @@ export default class Client extends OpenApi {
|
|
|
14392
16097
|
return await this.activeAggregateConfigRulesWithOptions(request, runtime);
|
|
14393
16098
|
}
|
|
14394
16099
|
|
|
16100
|
+
async activeConfigRulesWithOptions(request: ActiveConfigRulesRequest, runtime: $Util.RuntimeOptions): Promise<ActiveConfigRulesResponse> {
|
|
16101
|
+
Util.validateModel(request);
|
|
16102
|
+
let query = { };
|
|
16103
|
+
if (!Util.isUnset(request.configRuleIds)) {
|
|
16104
|
+
query["ConfigRuleIds"] = request.configRuleIds;
|
|
16105
|
+
}
|
|
16106
|
+
|
|
16107
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
16108
|
+
query: OpenApiUtil.query(query),
|
|
16109
|
+
});
|
|
16110
|
+
let params = new $OpenApi.Params({
|
|
16111
|
+
action: "ActiveConfigRules",
|
|
16112
|
+
version: "2020-09-07",
|
|
16113
|
+
protocol: "HTTPS",
|
|
16114
|
+
pathname: "/",
|
|
16115
|
+
method: "POST",
|
|
16116
|
+
authType: "AK",
|
|
16117
|
+
style: "RPC",
|
|
16118
|
+
reqBodyType: "formData",
|
|
16119
|
+
bodyType: "json",
|
|
16120
|
+
});
|
|
16121
|
+
return $tea.cast<ActiveConfigRulesResponse>(await this.callApi(params, req, runtime), new ActiveConfigRulesResponse({}));
|
|
16122
|
+
}
|
|
16123
|
+
|
|
16124
|
+
async activeConfigRules(request: ActiveConfigRulesRequest): Promise<ActiveConfigRulesResponse> {
|
|
16125
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
16126
|
+
return await this.activeConfigRulesWithOptions(request, runtime);
|
|
16127
|
+
}
|
|
16128
|
+
|
|
14395
16129
|
/**
|
|
14396
16130
|
* The sample request in this topic shows you how to add the `cr-6cc4626622af00e7****` rule in the `ca-75b4626622af00c3****` account group to the `cp-5bb1626622af00bd****` compliance package.
|
|
14397
16131
|
*
|
|
@@ -14443,7 +16177,7 @@ export default class Client extends OpenApi {
|
|
|
14443
16177
|
}
|
|
14444
16178
|
|
|
14445
16179
|
/**
|
|
14446
|
-
*
|
|
16180
|
+
* This topic provides an example on how to add the `cr-6cc4626622af00e7****` rule to the `cp-5bb1626622af00bd****` compliance package.
|
|
14447
16181
|
*
|
|
14448
16182
|
* @param request AttachConfigRuleToCompliancePackRequest
|
|
14449
16183
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14478,7 +16212,7 @@ export default class Client extends OpenApi {
|
|
|
14478
16212
|
}
|
|
14479
16213
|
|
|
14480
16214
|
/**
|
|
14481
|
-
*
|
|
16215
|
+
* This topic provides an example on how to add the `cr-6cc4626622af00e7****` rule to the `cp-5bb1626622af00bd****` compliance package.
|
|
14482
16216
|
*
|
|
14483
16217
|
* @param request AttachConfigRuleToCompliancePackRequest
|
|
14484
16218
|
* @return AttachConfigRuleToCompliancePackResponse
|
|
@@ -14747,9 +16481,10 @@ export default class Client extends OpenApi {
|
|
|
14747
16481
|
}
|
|
14748
16482
|
|
|
14749
16483
|
/**
|
|
14750
|
-
*
|
|
14751
|
-
*
|
|
14752
|
-
*
|
|
16484
|
+
* ### Limits
|
|
16485
|
+
* You can create up to 200 rules for each management account.
|
|
16486
|
+
* ### Usage notes
|
|
16487
|
+
* This topic provides an example on how to create a rule based on the required-tags managed rule in the `ca-a4e5626622af0079****` account group. The returned result shows that the rule is created and its ID is `cr-4e3d626622af0080****`.
|
|
14753
16488
|
*
|
|
14754
16489
|
* @param tmpReq CreateAggregateConfigRuleRequest
|
|
14755
16490
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14866,9 +16601,10 @@ export default class Client extends OpenApi {
|
|
|
14866
16601
|
}
|
|
14867
16602
|
|
|
14868
16603
|
/**
|
|
14869
|
-
*
|
|
14870
|
-
*
|
|
14871
|
-
*
|
|
16604
|
+
* ### Limits
|
|
16605
|
+
* You can create up to 200 rules for each management account.
|
|
16606
|
+
* ### Usage notes
|
|
16607
|
+
* This topic provides an example on how to create a rule based on the required-tags managed rule in the `ca-a4e5626622af0079****` account group. The returned result shows that the rule is created and its ID is `cr-4e3d626622af0080****`.
|
|
14872
16608
|
*
|
|
14873
16609
|
* @param request CreateAggregateConfigRuleRequest
|
|
14874
16610
|
* @return CreateAggregateConfigRuleResponse
|
|
@@ -14879,7 +16615,7 @@ export default class Client extends OpenApi {
|
|
|
14879
16615
|
}
|
|
14880
16616
|
|
|
14881
16617
|
/**
|
|
14882
|
-
*
|
|
16618
|
+
* This topic provides an example on how to create a remediation template for the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that a remediation template is created and the ID of the remediation template is `crr-909ba2d4716700eb****`.
|
|
14883
16619
|
*
|
|
14884
16620
|
* @param request CreateAggregateRemediationRequest
|
|
14885
16621
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -14938,7 +16674,7 @@ export default class Client extends OpenApi {
|
|
|
14938
16674
|
}
|
|
14939
16675
|
|
|
14940
16676
|
/**
|
|
14941
|
-
*
|
|
16677
|
+
* This topic provides an example on how to create a remediation template for the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that a remediation template is created and the ID of the remediation template is `crr-909ba2d4716700eb****`.
|
|
14942
16678
|
*
|
|
14943
16679
|
* @param request CreateAggregateRemediationRequest
|
|
14944
16680
|
* @return CreateAggregateRemediationResponse
|
|
@@ -14953,7 +16689,7 @@ export default class Client extends OpenApi {
|
|
|
14953
16689
|
* Cloud Config supports the following types of account groups:
|
|
14954
16690
|
* * Global account group: The global account group contains all the member accounts that are added to the resource directory. A management account can create only one global account group.
|
|
14955
16691
|
* * Custom account group: If you create a custom account group, you must manually add all or specific member accounts from the resource directory to the custom account group.
|
|
14956
|
-
*
|
|
16692
|
+
* This topic provides an example on how to create an account group of the `CUSTOM` type. The custom account group is named `Test_Group`, and its description is `Test account group`. The custom account group contains the following two member accounts:
|
|
14957
16693
|
* * Member account ID: `171322098523****`. Member account name: `Alice`.
|
|
14958
16694
|
* * Member account ID: `100532098349****`. Member account name: `Tom`.
|
|
14959
16695
|
*
|
|
@@ -15012,7 +16748,7 @@ export default class Client extends OpenApi {
|
|
|
15012
16748
|
* Cloud Config supports the following types of account groups:
|
|
15013
16749
|
* * Global account group: The global account group contains all the member accounts that are added to the resource directory. A management account can create only one global account group.
|
|
15014
16750
|
* * Custom account group: If you create a custom account group, you must manually add all or specific member accounts from the resource directory to the custom account group.
|
|
15015
|
-
*
|
|
16751
|
+
* This topic provides an example on how to create an account group of the `CUSTOM` type. The custom account group is named `Test_Group`, and its description is `Test account group`. The custom account group contains the following two member accounts:
|
|
15016
16752
|
* * Member account ID: `171322098523****`. Member account name: `Alice`.
|
|
15017
16753
|
* * Member account ID: `100532098349****`. Member account name: `Tom`.
|
|
15018
16754
|
*
|
|
@@ -15318,7 +17054,7 @@ export default class Client extends OpenApi {
|
|
|
15318
17054
|
|
|
15319
17055
|
/**
|
|
15320
17056
|
* @deprecated : CreateDeliveryChannel is deprecated, please use Config::2020-09-07::CreateConfigDeliveryChannel,Config::2020-09-07::CreateAggregateConfigDeliveryChannel instead.
|
|
15321
|
-
* In this example, a delivery channel is created. The type of the delivery
|
|
17057
|
+
* In this example, a delivery channel is created. The type of the delivery channel is `OSS`, the Alibaba Cloud Resource Name (ARN) of the delivery destination is `acs:oss:cn-shanghai:100931896542****:new-bucket`, and the ARN of the role that is assigned to the delivery channel is `acs:ram::100931896542****:role/aliyunserviceroleforconfig`. The returned result shows that the delivery channel is created, and the ID of the delivery channel is `cdc-8e45ff4e06a3a8****`.
|
|
15322
17058
|
*
|
|
15323
17059
|
* @param request CreateDeliveryChannelRequest
|
|
15324
17060
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15391,7 +17127,7 @@ export default class Client extends OpenApi {
|
|
|
15391
17127
|
|
|
15392
17128
|
/**
|
|
15393
17129
|
* @deprecated : CreateDeliveryChannel is deprecated, please use Config::2020-09-07::CreateConfigDeliveryChannel,Config::2020-09-07::CreateAggregateConfigDeliveryChannel instead.
|
|
15394
|
-
* In this example, a delivery channel is created. The type of the delivery
|
|
17130
|
+
* In this example, a delivery channel is created. The type of the delivery channel is `OSS`, the Alibaba Cloud Resource Name (ARN) of the delivery destination is `acs:oss:cn-shanghai:100931896542****:new-bucket`, and the ARN of the role that is assigned to the delivery channel is `acs:ram::100931896542****:role/aliyunserviceroleforconfig`. The returned result shows that the delivery channel is created, and the ID of the delivery channel is `cdc-8e45ff4e06a3a8****`.
|
|
15395
17131
|
*
|
|
15396
17132
|
* @param request CreateDeliveryChannelRequest
|
|
15397
17133
|
* @return CreateDeliveryChannelResponse
|
|
@@ -15403,7 +17139,7 @@ export default class Client extends OpenApi {
|
|
|
15403
17139
|
}
|
|
15404
17140
|
|
|
15405
17141
|
/**
|
|
15406
|
-
*
|
|
17142
|
+
* This topic provides an example on how to create a remediation template for the rule `cr-8a973ac2e2be00a2****`. The returned result shows that a remediation template is created and the ID of the remediation template is `crr-909ba2d4716700eb****`.
|
|
15407
17143
|
*
|
|
15408
17144
|
* @param request CreateRemediationRequest
|
|
15409
17145
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15458,7 +17194,7 @@ export default class Client extends OpenApi {
|
|
|
15458
17194
|
}
|
|
15459
17195
|
|
|
15460
17196
|
/**
|
|
15461
|
-
*
|
|
17197
|
+
* This topic provides an example on how to create a remediation template for the rule `cr-8a973ac2e2be00a2****`. The returned result shows that a remediation template is created and the ID of the remediation template is `crr-909ba2d4716700eb****`.
|
|
15462
17198
|
*
|
|
15463
17199
|
* @param request CreateRemediationRequest
|
|
15464
17200
|
* @return CreateRemediationResponse
|
|
@@ -15469,7 +17205,7 @@ export default class Client extends OpenApi {
|
|
|
15469
17205
|
}
|
|
15470
17206
|
|
|
15471
17207
|
/**
|
|
15472
|
-
*
|
|
17208
|
+
* This topic provides an example on how to disable the `cr-5772ba41209e007b****` rule in the `ca-04b3fd170e340007****` account group.
|
|
15473
17209
|
*
|
|
15474
17210
|
* @param request DeactiveAggregateConfigRulesRequest
|
|
15475
17211
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15504,7 +17240,7 @@ export default class Client extends OpenApi {
|
|
|
15504
17240
|
}
|
|
15505
17241
|
|
|
15506
17242
|
/**
|
|
15507
|
-
*
|
|
17243
|
+
* This topic provides an example on how to disable the `cr-5772ba41209e007b****` rule in the `ca-04b3fd170e340007****` account group.
|
|
15508
17244
|
*
|
|
15509
17245
|
* @param request DeactiveAggregateConfigRulesRequest
|
|
15510
17246
|
* @return DeactiveAggregateConfigRulesResponse
|
|
@@ -15557,7 +17293,7 @@ export default class Client extends OpenApi {
|
|
|
15557
17293
|
}
|
|
15558
17294
|
|
|
15559
17295
|
/**
|
|
15560
|
-
*
|
|
17296
|
+
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package from the `ca-04b3fd170e340007****` account group.
|
|
15561
17297
|
*
|
|
15562
17298
|
* @param request DeleteAggregateCompliancePacksRequest
|
|
15563
17299
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15600,7 +17336,7 @@ export default class Client extends OpenApi {
|
|
|
15600
17336
|
}
|
|
15601
17337
|
|
|
15602
17338
|
/**
|
|
15603
|
-
*
|
|
17339
|
+
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package from the `ca-04b3fd170e340007****` account group.
|
|
15604
17340
|
*
|
|
15605
17341
|
* @param request DeleteAggregateCompliancePacksRequest
|
|
15606
17342
|
* @return DeleteAggregateCompliancePacksResponse
|
|
@@ -15611,7 +17347,7 @@ export default class Client extends OpenApi {
|
|
|
15611
17347
|
}
|
|
15612
17348
|
|
|
15613
17349
|
/**
|
|
15614
|
-
* This example
|
|
17350
|
+
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel from the `ca-23c6626622af0041****` account group. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
15615
17351
|
*
|
|
15616
17352
|
* @param request DeleteAggregateConfigDeliveryChannelRequest
|
|
15617
17353
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15646,7 +17382,7 @@ export default class Client extends OpenApi {
|
|
|
15646
17382
|
}
|
|
15647
17383
|
|
|
15648
17384
|
/**
|
|
15649
|
-
* This example
|
|
17385
|
+
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel from the `ca-23c6626622af0041****` account group. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
15650
17386
|
*
|
|
15651
17387
|
* @param request DeleteAggregateConfigDeliveryChannelRequest
|
|
15652
17388
|
* @return DeleteAggregateConfigDeliveryChannelResponse
|
|
@@ -15657,9 +17393,10 @@ export default class Client extends OpenApi {
|
|
|
15657
17393
|
}
|
|
15658
17394
|
|
|
15659
17395
|
/**
|
|
15660
|
-
*
|
|
15661
|
-
* ## Background information
|
|
17396
|
+
* ### Background information
|
|
15662
17397
|
* You can delete a rule in the Cloud Config console. After you delete the rule, the configurations of the rule are deleted.
|
|
17398
|
+
* ### Usage notes
|
|
17399
|
+
* This topic provides an example on how to delete the `cr-4e3d626622af0080****` rule from the `ca-a4e5626622af0079****` account group.
|
|
15663
17400
|
*
|
|
15664
17401
|
* @param request DeleteAggregateConfigRulesRequest
|
|
15665
17402
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15694,9 +17431,10 @@ export default class Client extends OpenApi {
|
|
|
15694
17431
|
}
|
|
15695
17432
|
|
|
15696
17433
|
/**
|
|
15697
|
-
*
|
|
15698
|
-
* ## Background information
|
|
17434
|
+
* ### Background information
|
|
15699
17435
|
* You can delete a rule in the Cloud Config console. After you delete the rule, the configurations of the rule are deleted.
|
|
17436
|
+
* ### Usage notes
|
|
17437
|
+
* This topic provides an example on how to delete the `cr-4e3d626622af0080****` rule from the `ca-a4e5626622af0079****` account group.
|
|
15700
17438
|
*
|
|
15701
17439
|
* @param request DeleteAggregateConfigRulesRequest
|
|
15702
17440
|
* @return DeleteAggregateConfigRulesResponse
|
|
@@ -15707,7 +17445,7 @@ export default class Client extends OpenApi {
|
|
|
15707
17445
|
}
|
|
15708
17446
|
|
|
15709
17447
|
/**
|
|
15710
|
-
*
|
|
17448
|
+
* This topic provides an example on how to delete the remediation template whose ID is `crr-909ba2d4716700eb****` from the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that the remediation template whose ID is `crr-909ba2d4716700eb****` is deleted.
|
|
15711
17449
|
*
|
|
15712
17450
|
* @param request DeleteAggregateRemediationsRequest
|
|
15713
17451
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15742,7 +17480,7 @@ export default class Client extends OpenApi {
|
|
|
15742
17480
|
}
|
|
15743
17481
|
|
|
15744
17482
|
/**
|
|
15745
|
-
*
|
|
17483
|
+
* This topic provides an example on how to delete the remediation template whose ID is `crr-909ba2d4716700eb****` from the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that the remediation template whose ID is `crr-909ba2d4716700eb****` is deleted.
|
|
15746
17484
|
*
|
|
15747
17485
|
* @param request DeleteAggregateRemediationsRequest
|
|
15748
17486
|
* @return DeleteAggregateRemediationsResponse
|
|
@@ -15753,7 +17491,7 @@ export default class Client extends OpenApi {
|
|
|
15753
17491
|
}
|
|
15754
17492
|
|
|
15755
17493
|
/**
|
|
15756
|
-
*
|
|
17494
|
+
* This topic provides an example on how to delete the account group whose ID is `ca-9190626622af00a9****`.
|
|
15757
17495
|
*
|
|
15758
17496
|
* @param request DeleteAggregatorsRequest
|
|
15759
17497
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15788,7 +17526,7 @@ export default class Client extends OpenApi {
|
|
|
15788
17526
|
}
|
|
15789
17527
|
|
|
15790
17528
|
/**
|
|
15791
|
-
*
|
|
17529
|
+
* This topic provides an example on how to delete the account group whose ID is `ca-9190626622af00a9****`.
|
|
15792
17530
|
*
|
|
15793
17531
|
* @param request DeleteAggregatorsRequest
|
|
15794
17532
|
* @return DeleteAggregatorsResponse
|
|
@@ -15799,7 +17537,7 @@ export default class Client extends OpenApi {
|
|
|
15799
17537
|
}
|
|
15800
17538
|
|
|
15801
17539
|
/**
|
|
15802
|
-
*
|
|
17540
|
+
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package.
|
|
15803
17541
|
*
|
|
15804
17542
|
* @param request DeleteCompliancePacksRequest
|
|
15805
17543
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15834,39 +17572,81 @@ export default class Client extends OpenApi {
|
|
|
15834
17572
|
reqBodyType: "formData",
|
|
15835
17573
|
bodyType: "json",
|
|
15836
17574
|
});
|
|
15837
|
-
return $tea.cast<DeleteCompliancePacksResponse>(await this.callApi(params, req, runtime), new DeleteCompliancePacksResponse({}));
|
|
17575
|
+
return $tea.cast<DeleteCompliancePacksResponse>(await this.callApi(params, req, runtime), new DeleteCompliancePacksResponse({}));
|
|
17576
|
+
}
|
|
17577
|
+
|
|
17578
|
+
/**
|
|
17579
|
+
* This topic provides an example on how to delete the `cp-541e626622af0087****` compliance package.
|
|
17580
|
+
*
|
|
17581
|
+
* @param request DeleteCompliancePacksRequest
|
|
17582
|
+
* @return DeleteCompliancePacksResponse
|
|
17583
|
+
*/
|
|
17584
|
+
async deleteCompliancePacks(request: DeleteCompliancePacksRequest): Promise<DeleteCompliancePacksResponse> {
|
|
17585
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
17586
|
+
return await this.deleteCompliancePacksWithOptions(request, runtime);
|
|
17587
|
+
}
|
|
17588
|
+
|
|
17589
|
+
/**
|
|
17590
|
+
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
17591
|
+
*
|
|
17592
|
+
* @param request DeleteConfigDeliveryChannelRequest
|
|
17593
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
17594
|
+
* @return DeleteConfigDeliveryChannelResponse
|
|
17595
|
+
*/
|
|
17596
|
+
async deleteConfigDeliveryChannelWithOptions(request: DeleteConfigDeliveryChannelRequest, runtime: $Util.RuntimeOptions): Promise<DeleteConfigDeliveryChannelResponse> {
|
|
17597
|
+
Util.validateModel(request);
|
|
17598
|
+
let query = { };
|
|
17599
|
+
if (!Util.isUnset(request.deliveryChannelId)) {
|
|
17600
|
+
query["DeliveryChannelId"] = request.deliveryChannelId;
|
|
17601
|
+
}
|
|
17602
|
+
|
|
17603
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17604
|
+
query: OpenApiUtil.query(query),
|
|
17605
|
+
});
|
|
17606
|
+
let params = new $OpenApi.Params({
|
|
17607
|
+
action: "DeleteConfigDeliveryChannel",
|
|
17608
|
+
version: "2020-09-07",
|
|
17609
|
+
protocol: "HTTPS",
|
|
17610
|
+
pathname: "/",
|
|
17611
|
+
method: "POST",
|
|
17612
|
+
authType: "AK",
|
|
17613
|
+
style: "RPC",
|
|
17614
|
+
reqBodyType: "formData",
|
|
17615
|
+
bodyType: "json",
|
|
17616
|
+
});
|
|
17617
|
+
return $tea.cast<DeleteConfigDeliveryChannelResponse>(await this.callApi(params, req, runtime), new DeleteConfigDeliveryChannelResponse({}));
|
|
15838
17618
|
}
|
|
15839
17619
|
|
|
15840
17620
|
/**
|
|
15841
|
-
*
|
|
17621
|
+
* This topic provides an example on how to delete the `cdc-38c3013b46c9002c****` delivery channel. The returned result shows that the `cdc-38c3013b46c9002c****` delivery channel is deleted.
|
|
15842
17622
|
*
|
|
15843
|
-
* @param request
|
|
15844
|
-
* @return
|
|
17623
|
+
* @param request DeleteConfigDeliveryChannelRequest
|
|
17624
|
+
* @return DeleteConfigDeliveryChannelResponse
|
|
15845
17625
|
*/
|
|
15846
|
-
async
|
|
17626
|
+
async deleteConfigDeliveryChannel(request: DeleteConfigDeliveryChannelRequest): Promise<DeleteConfigDeliveryChannelResponse> {
|
|
15847
17627
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15848
|
-
return await this.
|
|
17628
|
+
return await this.deleteConfigDeliveryChannelWithOptions(request, runtime);
|
|
15849
17629
|
}
|
|
15850
17630
|
|
|
15851
17631
|
/**
|
|
15852
|
-
*
|
|
17632
|
+
* In this example, the rule whose ID is cr-9908626622af0035\\*\\*\\*\\* is deleted.
|
|
15853
17633
|
*
|
|
15854
|
-
* @param request
|
|
17634
|
+
* @param request DeleteConfigRulesRequest
|
|
15855
17635
|
* @param runtime runtime options for this request RuntimeOptions
|
|
15856
|
-
* @return
|
|
17636
|
+
* @return DeleteConfigRulesResponse
|
|
15857
17637
|
*/
|
|
15858
|
-
async
|
|
17638
|
+
async deleteConfigRulesWithOptions(request: DeleteConfigRulesRequest, runtime: $Util.RuntimeOptions): Promise<DeleteConfigRulesResponse> {
|
|
15859
17639
|
Util.validateModel(request);
|
|
15860
17640
|
let query = { };
|
|
15861
|
-
if (!Util.isUnset(request.
|
|
15862
|
-
query["
|
|
17641
|
+
if (!Util.isUnset(request.configRuleIds)) {
|
|
17642
|
+
query["ConfigRuleIds"] = request.configRuleIds;
|
|
15863
17643
|
}
|
|
15864
17644
|
|
|
15865
17645
|
let req = new $OpenApi.OpenApiRequest({
|
|
15866
17646
|
query: OpenApiUtil.query(query),
|
|
15867
17647
|
});
|
|
15868
17648
|
let params = new $OpenApi.Params({
|
|
15869
|
-
action: "
|
|
17649
|
+
action: "DeleteConfigRules",
|
|
15870
17650
|
version: "2020-09-07",
|
|
15871
17651
|
protocol: "HTTPS",
|
|
15872
17652
|
pathname: "/",
|
|
@@ -15876,22 +17656,22 @@ export default class Client extends OpenApi {
|
|
|
15876
17656
|
reqBodyType: "formData",
|
|
15877
17657
|
bodyType: "json",
|
|
15878
17658
|
});
|
|
15879
|
-
return $tea.cast<
|
|
17659
|
+
return $tea.cast<DeleteConfigRulesResponse>(await this.callApi(params, req, runtime), new DeleteConfigRulesResponse({}));
|
|
15880
17660
|
}
|
|
15881
17661
|
|
|
15882
17662
|
/**
|
|
15883
|
-
*
|
|
17663
|
+
* In this example, the rule whose ID is cr-9908626622af0035\\*\\*\\*\\* is deleted.
|
|
15884
17664
|
*
|
|
15885
|
-
* @param request
|
|
15886
|
-
* @return
|
|
17665
|
+
* @param request DeleteConfigRulesRequest
|
|
17666
|
+
* @return DeleteConfigRulesResponse
|
|
15887
17667
|
*/
|
|
15888
|
-
async
|
|
17668
|
+
async deleteConfigRules(request: DeleteConfigRulesRequest): Promise<DeleteConfigRulesResponse> {
|
|
15889
17669
|
let runtime = new $Util.RuntimeOptions({ });
|
|
15890
|
-
return await this.
|
|
17670
|
+
return await this.deleteConfigRulesWithOptions(request, runtime);
|
|
15891
17671
|
}
|
|
15892
17672
|
|
|
15893
17673
|
/**
|
|
15894
|
-
*
|
|
17674
|
+
* This topic provides an example on how to delete the remediation template `crr-909ba2d4716700eb****`. The returned result shows that the remediation template whose ID is `crr-909ba2d4716700eb****` is deleted.
|
|
15895
17675
|
*
|
|
15896
17676
|
* @param request DeleteRemediationsRequest
|
|
15897
17677
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15922,7 +17702,7 @@ export default class Client extends OpenApi {
|
|
|
15922
17702
|
}
|
|
15923
17703
|
|
|
15924
17704
|
/**
|
|
15925
|
-
*
|
|
17705
|
+
* This topic provides an example on how to delete the remediation template `crr-909ba2d4716700eb****`. The returned result shows that the remediation template whose ID is `crr-909ba2d4716700eb****` is deleted.
|
|
15926
17706
|
*
|
|
15927
17707
|
* @param request DeleteRemediationsRequest
|
|
15928
17708
|
* @return DeleteRemediationsResponse
|
|
@@ -15987,9 +17767,10 @@ export default class Client extends OpenApi {
|
|
|
15987
17767
|
}
|
|
15988
17768
|
|
|
15989
17769
|
/**
|
|
15990
|
-
*
|
|
15991
|
-
* ## Prerequisites
|
|
17770
|
+
* ### Prerequisites
|
|
15992
17771
|
* One or more rules are added to a compliance package.
|
|
17772
|
+
* ### Usage notes
|
|
17773
|
+
* This topic provides an example on how to remove the `cr-6cc4626622af00e7****` rule from the `cp-5bb1626622af00bd****` compliance package.
|
|
15993
17774
|
*
|
|
15994
17775
|
* @param request DetachConfigRuleToCompliancePackRequest
|
|
15995
17776
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16024,9 +17805,10 @@ export default class Client extends OpenApi {
|
|
|
16024
17805
|
}
|
|
16025
17806
|
|
|
16026
17807
|
/**
|
|
16027
|
-
*
|
|
16028
|
-
* ## Prerequisites
|
|
17808
|
+
* ### Prerequisites
|
|
16029
17809
|
* One or more rules are added to a compliance package.
|
|
17810
|
+
* ### Usage notes
|
|
17811
|
+
* This topic provides an example on how to remove the `cr-6cc4626622af00e7****` rule from the `cp-5bb1626622af00bd****` compliance package.
|
|
16030
17812
|
*
|
|
16031
17813
|
* @param request DetachConfigRuleToCompliancePackRequest
|
|
16032
17814
|
* @return DetachConfigRuleToCompliancePackResponse
|
|
@@ -16076,8 +17858,8 @@ export default class Client extends OpenApi {
|
|
|
16076
17858
|
}
|
|
16077
17859
|
|
|
16078
17860
|
/**
|
|
16079
|
-
* >
|
|
16080
|
-
*
|
|
17861
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateCompliancePackReport](~~262699~~).
|
|
17862
|
+
* This topic provides an example on how to generate a compliance evaluation report based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.
|
|
16081
17863
|
*
|
|
16082
17864
|
* @param request GenerateAggregateCompliancePackReportRequest
|
|
16083
17865
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16116,8 +17898,8 @@ export default class Client extends OpenApi {
|
|
|
16116
17898
|
}
|
|
16117
17899
|
|
|
16118
17900
|
/**
|
|
16119
|
-
* >
|
|
16120
|
-
*
|
|
17901
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateCompliancePackReport](~~262699~~).
|
|
17902
|
+
* This topic provides an example on how to generate a compliance evaluation report based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.
|
|
16121
17903
|
*
|
|
16122
17904
|
* @param request GenerateAggregateCompliancePackReportRequest
|
|
16123
17905
|
* @return GenerateAggregateCompliancePackReportResponse
|
|
@@ -16128,8 +17910,8 @@ export default class Client extends OpenApi {
|
|
|
16128
17910
|
}
|
|
16129
17911
|
|
|
16130
17912
|
/**
|
|
16131
|
-
* >
|
|
16132
|
-
* The
|
|
17913
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateConfigRulesReport](~~262706~~).
|
|
17914
|
+
* The topic provides an example on how to generate a compliance evaluation report based on all rules in the `ca-f632626622af0079****` account group.
|
|
16133
17915
|
*
|
|
16134
17916
|
* @param request GenerateAggregateConfigRulesReportRequest
|
|
16135
17917
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16168,8 +17950,8 @@ export default class Client extends OpenApi {
|
|
|
16168
17950
|
}
|
|
16169
17951
|
|
|
16170
17952
|
/**
|
|
16171
|
-
* >
|
|
16172
|
-
* The
|
|
17953
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetAggregateConfigRulesReport operation. For more information, see [GetAggregateConfigRulesReport](~~262706~~).
|
|
17954
|
+
* The topic provides an example on how to generate a compliance evaluation report based on all rules in the `ca-f632626622af0079****` account group.
|
|
16173
17955
|
*
|
|
16174
17956
|
* @param request GenerateAggregateConfigRulesReportRequest
|
|
16175
17957
|
* @return GenerateAggregateConfigRulesReportResponse
|
|
@@ -16179,9 +17961,50 @@ export default class Client extends OpenApi {
|
|
|
16179
17961
|
return await this.generateAggregateConfigRulesReportWithOptions(request, runtime);
|
|
16180
17962
|
}
|
|
16181
17963
|
|
|
17964
|
+
async generateAggregateResourceInventoryWithOptions(request: GenerateAggregateResourceInventoryRequest, runtime: $Util.RuntimeOptions): Promise<GenerateAggregateResourceInventoryResponse> {
|
|
17965
|
+
Util.validateModel(request);
|
|
17966
|
+
let query = { };
|
|
17967
|
+
if (!Util.isUnset(request.accountIds)) {
|
|
17968
|
+
query["AccountIds"] = request.accountIds;
|
|
17969
|
+
}
|
|
17970
|
+
|
|
17971
|
+
if (!Util.isUnset(request.aggregatorId)) {
|
|
17972
|
+
query["AggregatorId"] = request.aggregatorId;
|
|
17973
|
+
}
|
|
17974
|
+
|
|
17975
|
+
if (!Util.isUnset(request.regions)) {
|
|
17976
|
+
query["Regions"] = request.regions;
|
|
17977
|
+
}
|
|
17978
|
+
|
|
17979
|
+
if (!Util.isUnset(request.resourceTypes)) {
|
|
17980
|
+
query["ResourceTypes"] = request.resourceTypes;
|
|
17981
|
+
}
|
|
17982
|
+
|
|
17983
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
17984
|
+
query: OpenApiUtil.query(query),
|
|
17985
|
+
});
|
|
17986
|
+
let params = new $OpenApi.Params({
|
|
17987
|
+
action: "GenerateAggregateResourceInventory",
|
|
17988
|
+
version: "2020-09-07",
|
|
17989
|
+
protocol: "HTTPS",
|
|
17990
|
+
pathname: "/",
|
|
17991
|
+
method: "POST",
|
|
17992
|
+
authType: "AK",
|
|
17993
|
+
style: "RPC",
|
|
17994
|
+
reqBodyType: "formData",
|
|
17995
|
+
bodyType: "json",
|
|
17996
|
+
});
|
|
17997
|
+
return $tea.cast<GenerateAggregateResourceInventoryResponse>(await this.callApi(params, req, runtime), new GenerateAggregateResourceInventoryResponse({}));
|
|
17998
|
+
}
|
|
17999
|
+
|
|
18000
|
+
async generateAggregateResourceInventory(request: GenerateAggregateResourceInventoryRequest): Promise<GenerateAggregateResourceInventoryResponse> {
|
|
18001
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18002
|
+
return await this.generateAggregateResourceInventoryWithOptions(request, runtime);
|
|
18003
|
+
}
|
|
18004
|
+
|
|
16182
18005
|
/**
|
|
16183
|
-
* >
|
|
16184
|
-
*
|
|
18006
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetCompliancePackReport operation. For more information, see [GetCompliancePackReport](~~263347~~).
|
|
18007
|
+
* This topic provides an example on how to generate a compliance evaluation report based on the `cp-a8a8626622af0082****` compliance package.
|
|
16185
18008
|
*
|
|
16186
18009
|
* @param request GenerateCompliancePackReportRequest
|
|
16187
18010
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16216,8 +18039,8 @@ export default class Client extends OpenApi {
|
|
|
16216
18039
|
}
|
|
16217
18040
|
|
|
16218
18041
|
/**
|
|
16219
|
-
* >
|
|
16220
|
-
*
|
|
18042
|
+
* > You can call this operation to generate the latest compliance evaluation report. To download the report, call the GetCompliancePackReport operation. For more information, see [GetCompliancePackReport](~~263347~~).
|
|
18043
|
+
* This topic provides an example on how to generate a compliance evaluation report based on the `cp-a8a8626622af0082****` compliance package.
|
|
16221
18044
|
*
|
|
16222
18045
|
* @param request GenerateCompliancePackReportRequest
|
|
16223
18046
|
* @return GenerateCompliancePackReportResponse
|
|
@@ -16275,8 +18098,41 @@ export default class Client extends OpenApi {
|
|
|
16275
18098
|
return await this.generateConfigRulesReportWithOptions(request, runtime);
|
|
16276
18099
|
}
|
|
16277
18100
|
|
|
18101
|
+
async generateResourceInventoryWithOptions(request: GenerateResourceInventoryRequest, runtime: $Util.RuntimeOptions): Promise<GenerateResourceInventoryResponse> {
|
|
18102
|
+
Util.validateModel(request);
|
|
18103
|
+
let query = { };
|
|
18104
|
+
if (!Util.isUnset(request.regions)) {
|
|
18105
|
+
query["Regions"] = request.regions;
|
|
18106
|
+
}
|
|
18107
|
+
|
|
18108
|
+
if (!Util.isUnset(request.resourceTypes)) {
|
|
18109
|
+
query["ResourceTypes"] = request.resourceTypes;
|
|
18110
|
+
}
|
|
18111
|
+
|
|
18112
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18113
|
+
query: OpenApiUtil.query(query),
|
|
18114
|
+
});
|
|
18115
|
+
let params = new $OpenApi.Params({
|
|
18116
|
+
action: "GenerateResourceInventory",
|
|
18117
|
+
version: "2020-09-07",
|
|
18118
|
+
protocol: "HTTPS",
|
|
18119
|
+
pathname: "/",
|
|
18120
|
+
method: "POST",
|
|
18121
|
+
authType: "AK",
|
|
18122
|
+
style: "RPC",
|
|
18123
|
+
reqBodyType: "formData",
|
|
18124
|
+
bodyType: "json",
|
|
18125
|
+
});
|
|
18126
|
+
return $tea.cast<GenerateResourceInventoryResponse>(await this.callApi(params, req, runtime), new GenerateResourceInventoryResponse({}));
|
|
18127
|
+
}
|
|
18128
|
+
|
|
18129
|
+
async generateResourceInventory(request: GenerateResourceInventoryRequest): Promise<GenerateResourceInventoryResponse> {
|
|
18130
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18131
|
+
return await this.generateResourceInventoryWithOptions(request, runtime);
|
|
18132
|
+
}
|
|
18133
|
+
|
|
16278
18134
|
/**
|
|
16279
|
-
*
|
|
18135
|
+
* This topic provides an example on how to query the compliance evaluation results of member accounts for which the `cp-541e626622af0087****` compliance package takes effect in the `ca-04b3fd170e340007****` account group. The returned result shows that two member accounts are monitored by the compliance package and they are both evaluated as compliant.
|
|
16280
18136
|
*
|
|
16281
18137
|
* @param request GetAggregateAccountComplianceByPackRequest
|
|
16282
18138
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16303,7 +18159,7 @@ export default class Client extends OpenApi {
|
|
|
16303
18159
|
}
|
|
16304
18160
|
|
|
16305
18161
|
/**
|
|
16306
|
-
*
|
|
18162
|
+
* This topic provides an example on how to query the compliance evaluation results of member accounts for which the `cp-541e626622af0087****` compliance package takes effect in the `ca-04b3fd170e340007****` account group. The returned result shows that two member accounts are monitored by the compliance package and they are both evaluated as compliant.
|
|
16307
18163
|
*
|
|
16308
18164
|
* @param request GetAggregateAccountComplianceByPackRequest
|
|
16309
18165
|
* @return GetAggregateAccountComplianceByPackResponse
|
|
@@ -16352,8 +18208,8 @@ export default class Client extends OpenApi {
|
|
|
16352
18208
|
}
|
|
16353
18209
|
|
|
16354
18210
|
/**
|
|
16355
|
-
* >
|
|
16356
|
-
*
|
|
18211
|
+
* > Before you call this operation, you must call the GenerateAggregateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateAggregateCompliancePackReport](~~262687~~).
|
|
18212
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.
|
|
16357
18213
|
*
|
|
16358
18214
|
* @param request GetAggregateCompliancePackReportRequest
|
|
16359
18215
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16380,8 +18236,8 @@ export default class Client extends OpenApi {
|
|
|
16380
18236
|
}
|
|
16381
18237
|
|
|
16382
18238
|
/**
|
|
16383
|
-
* >
|
|
16384
|
-
*
|
|
18239
|
+
* > Before you call this operation, you must call the GenerateAggregateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateAggregateCompliancePackReport](~~262687~~).
|
|
18240
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****` account group.
|
|
16385
18241
|
*
|
|
16386
18242
|
* @param request GetAggregateCompliancePackReportRequest
|
|
16387
18243
|
* @return GetAggregateCompliancePackReportResponse
|
|
@@ -16391,6 +18247,35 @@ export default class Client extends OpenApi {
|
|
|
16391
18247
|
return await this.getAggregateCompliancePackReportWithOptions(request, runtime);
|
|
16392
18248
|
}
|
|
16393
18249
|
|
|
18250
|
+
async getAggregateComplianceSummaryWithOptions(request: GetAggregateComplianceSummaryRequest, runtime: $Util.RuntimeOptions): Promise<GetAggregateComplianceSummaryResponse> {
|
|
18251
|
+
Util.validateModel(request);
|
|
18252
|
+
let query = { };
|
|
18253
|
+
if (!Util.isUnset(request.aggregatorId)) {
|
|
18254
|
+
query["AggregatorId"] = request.aggregatorId;
|
|
18255
|
+
}
|
|
18256
|
+
|
|
18257
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
18258
|
+
query: OpenApiUtil.query(query),
|
|
18259
|
+
});
|
|
18260
|
+
let params = new $OpenApi.Params({
|
|
18261
|
+
action: "GetAggregateComplianceSummary",
|
|
18262
|
+
version: "2020-09-07",
|
|
18263
|
+
protocol: "HTTPS",
|
|
18264
|
+
pathname: "/",
|
|
18265
|
+
method: "POST",
|
|
18266
|
+
authType: "AK",
|
|
18267
|
+
style: "RPC",
|
|
18268
|
+
reqBodyType: "formData",
|
|
18269
|
+
bodyType: "json",
|
|
18270
|
+
});
|
|
18271
|
+
return $tea.cast<GetAggregateComplianceSummaryResponse>(await this.callApi(params, req, runtime), new GetAggregateComplianceSummaryResponse({}));
|
|
18272
|
+
}
|
|
18273
|
+
|
|
18274
|
+
async getAggregateComplianceSummary(request: GetAggregateComplianceSummaryRequest): Promise<GetAggregateComplianceSummaryResponse> {
|
|
18275
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
18276
|
+
return await this.getAggregateComplianceSummaryWithOptions(request, runtime);
|
|
18277
|
+
}
|
|
18278
|
+
|
|
16394
18279
|
async getAggregateConfigDeliveryChannelWithOptions(request: GetAggregateConfigDeliveryChannelRequest, runtime: $Util.RuntimeOptions): Promise<GetAggregateConfigDeliveryChannelResponse> {
|
|
16395
18280
|
Util.validateModel(request);
|
|
16396
18281
|
let query = { };
|
|
@@ -16509,7 +18394,7 @@ export default class Client extends OpenApi {
|
|
|
16509
18394
|
}
|
|
16510
18395
|
|
|
16511
18396
|
/**
|
|
16512
|
-
*
|
|
18397
|
+
* This topic provides an example on how to query the summary of compliance evaluation results by rule risk level in the `ca-3a58626622af0005****` account group. The returned result shows four rules that are specified with the high risk level. One of the rules detects non-compliant resources, and the resources evaluated by the remaining three are compliant.
|
|
16513
18398
|
*
|
|
16514
18399
|
* @param request GetAggregateConfigRuleSummaryByRiskLevelRequest
|
|
16515
18400
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16536,7 +18421,7 @@ export default class Client extends OpenApi {
|
|
|
16536
18421
|
}
|
|
16537
18422
|
|
|
16538
18423
|
/**
|
|
16539
|
-
*
|
|
18424
|
+
* This topic provides an example on how to query the summary of compliance evaluation results by rule risk level in the `ca-3a58626622af0005****` account group. The returned result shows four rules that are specified with the high risk level. One of the rules detects non-compliant resources, and the resources evaluated by the remaining three are compliant.
|
|
16540
18425
|
*
|
|
16541
18426
|
* @param request GetAggregateConfigRuleSummaryByRiskLevelRequest
|
|
16542
18427
|
* @return GetAggregateConfigRuleSummaryByRiskLevelResponse
|
|
@@ -16547,8 +18432,8 @@ export default class Client extends OpenApi {
|
|
|
16547
18432
|
}
|
|
16548
18433
|
|
|
16549
18434
|
/**
|
|
16550
|
-
* >
|
|
16551
|
-
*
|
|
18435
|
+
* > Before you call this operation, you must call the GenerateAggregateConfigRulesReport operation to generate the latest compliance evaluation report based on all rules in an account group. For more information, see [GenerateAggregateConfigRulesReport](~~262701~~).
|
|
18436
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on all rules in the `ca-f632626622af0079****` account group.
|
|
16552
18437
|
*
|
|
16553
18438
|
* @param request GetAggregateConfigRulesReportRequest
|
|
16554
18439
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16583,8 +18468,8 @@ export default class Client extends OpenApi {
|
|
|
16583
18468
|
}
|
|
16584
18469
|
|
|
16585
18470
|
/**
|
|
16586
|
-
* >
|
|
16587
|
-
*
|
|
18471
|
+
* > Before you call this operation, you must call the GenerateAggregateConfigRulesReport operation to generate the latest compliance evaluation report based on all rules in an account group. For more information, see [GenerateAggregateConfigRulesReport](~~262701~~).
|
|
18472
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on all rules in the `ca-f632626622af0079****` account group.
|
|
16588
18473
|
*
|
|
16589
18474
|
* @param request GetAggregateConfigRulesReportRequest
|
|
16590
18475
|
* @return GetAggregateConfigRulesReportResponse
|
|
@@ -16595,7 +18480,7 @@ export default class Client extends OpenApi {
|
|
|
16595
18480
|
}
|
|
16596
18481
|
|
|
16597
18482
|
/**
|
|
16598
|
-
*
|
|
18483
|
+
* This topic provides an example on how to query the `new-bucket` resource in the `ca-5885626622af0008****` account group.
|
|
16599
18484
|
*
|
|
16600
18485
|
* @param request GetAggregateDiscoveredResourceRequest
|
|
16601
18486
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16622,7 +18507,7 @@ export default class Client extends OpenApi {
|
|
|
16622
18507
|
}
|
|
16623
18508
|
|
|
16624
18509
|
/**
|
|
16625
|
-
*
|
|
18510
|
+
* This topic provides an example on how to query the `new-bucket` resource in the `ca-5885626622af0008****` account group.
|
|
16626
18511
|
*
|
|
16627
18512
|
* @param request GetAggregateDiscoveredResourceRequest
|
|
16628
18513
|
* @return GetAggregateDiscoveredResourceResponse
|
|
@@ -16691,7 +18576,7 @@ export default class Client extends OpenApi {
|
|
|
16691
18576
|
}
|
|
16692
18577
|
|
|
16693
18578
|
/**
|
|
16694
|
-
*
|
|
18579
|
+
* This topic provides an example on how to query the compliance evaluation results of resources monitored based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****`account group. The returned result shows that the total number of monitored resources is `10` and the number of non-compliant resources is `7`.
|
|
16695
18580
|
*
|
|
16696
18581
|
* @param request GetAggregateResourceComplianceByPackRequest
|
|
16697
18582
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -16718,7 +18603,7 @@ export default class Client extends OpenApi {
|
|
|
16718
18603
|
}
|
|
16719
18604
|
|
|
16720
18605
|
/**
|
|
16721
|
-
*
|
|
18606
|
+
* This topic provides an example on how to query the compliance evaluation results of resources monitored based on the `cp-fdc8626622af00f9****` compliance package in the `ca-f632626622af0079****`account group. The returned result shows that the total number of monitored resources is `10` and the number of non-compliant resources is `7`.
|
|
16722
18607
|
*
|
|
16723
18608
|
* @param request GetAggregateResourceComplianceByPackRequest
|
|
16724
18609
|
* @return GetAggregateResourceComplianceByPackResponse
|
|
@@ -17063,8 +18948,8 @@ export default class Client extends OpenApi {
|
|
|
17063
18948
|
}
|
|
17064
18949
|
|
|
17065
18950
|
/**
|
|
17066
|
-
* >
|
|
17067
|
-
*
|
|
18951
|
+
* > Before you call this operation, you must call the GenerateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateCompliancePackReport](~~263525~~).
|
|
18952
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package.
|
|
17068
18953
|
*
|
|
17069
18954
|
* @param request GetCompliancePackReportRequest
|
|
17070
18955
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -17091,8 +18976,8 @@ export default class Client extends OpenApi {
|
|
|
17091
18976
|
}
|
|
17092
18977
|
|
|
17093
18978
|
/**
|
|
17094
|
-
* >
|
|
17095
|
-
*
|
|
18979
|
+
* > Before you call this operation, you must call the GenerateCompliancePackReport operation to generate the latest compliance evaluation report based on a compliance package. For more information, see [GenerateCompliancePackReport](~~263525~~).
|
|
18980
|
+
* This topic provides an example on how to query the compliance evaluation report that is generated based on the `cp-fdc8626622af00f9****` compliance package.
|
|
17096
18981
|
*
|
|
17097
18982
|
* @param request GetCompliancePackReportRequest
|
|
17098
18983
|
* @return GetCompliancePackReportResponse
|
|
@@ -17102,6 +18987,27 @@ export default class Client extends OpenApi {
|
|
|
17102
18987
|
return await this.getCompliancePackReportWithOptions(request, runtime);
|
|
17103
18988
|
}
|
|
17104
18989
|
|
|
18990
|
+
async getComplianceSummaryWithOptions(runtime: $Util.RuntimeOptions): Promise<GetComplianceSummaryResponse> {
|
|
18991
|
+
let req = new $OpenApi.OpenApiRequest({ });
|
|
18992
|
+
let params = new $OpenApi.Params({
|
|
18993
|
+
action: "GetComplianceSummary",
|
|
18994
|
+
version: "2020-09-07",
|
|
18995
|
+
protocol: "HTTPS",
|
|
18996
|
+
pathname: "/",
|
|
18997
|
+
method: "POST",
|
|
18998
|
+
authType: "AK",
|
|
18999
|
+
style: "RPC",
|
|
19000
|
+
reqBodyType: "formData",
|
|
19001
|
+
bodyType: "json",
|
|
19002
|
+
});
|
|
19003
|
+
return $tea.cast<GetComplianceSummaryResponse>(await this.callApi(params, req, runtime), new GetComplianceSummaryResponse({}));
|
|
19004
|
+
}
|
|
19005
|
+
|
|
19006
|
+
async getComplianceSummary(): Promise<GetComplianceSummaryResponse> {
|
|
19007
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19008
|
+
return await this.getComplianceSummaryWithOptions(runtime);
|
|
19009
|
+
}
|
|
19010
|
+
|
|
17105
19011
|
async getConfigDeliveryChannelWithOptions(request: GetConfigDeliveryChannelRequest, runtime: $Util.RuntimeOptions): Promise<GetConfigDeliveryChannelResponse> {
|
|
17106
19012
|
Util.validateModel(request);
|
|
17107
19013
|
let query = { };
|
|
@@ -17132,7 +19038,7 @@ export default class Client extends OpenApi {
|
|
|
17132
19038
|
}
|
|
17133
19039
|
|
|
17134
19040
|
/**
|
|
17135
|
-
* This example
|
|
19041
|
+
* This topic provides an example on how to query the details of the `cr-7f7d626622af0041****` rule.
|
|
17136
19042
|
*
|
|
17137
19043
|
* @param request GetConfigRuleRequest
|
|
17138
19044
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -17163,7 +19069,7 @@ export default class Client extends OpenApi {
|
|
|
17163
19069
|
}
|
|
17164
19070
|
|
|
17165
19071
|
/**
|
|
17166
|
-
* This example
|
|
19072
|
+
* This topic provides an example on how to query the details of the `cr-7f7d626622af0041****` rule.
|
|
17167
19073
|
*
|
|
17168
19074
|
* @param request GetConfigRuleRequest
|
|
17169
19075
|
* @return GetConfigRuleResponse
|
|
@@ -17288,6 +19194,27 @@ export default class Client extends OpenApi {
|
|
|
17288
19194
|
return await this.getConfigRulesReportWithOptions(request, runtime);
|
|
17289
19195
|
}
|
|
17290
19196
|
|
|
19197
|
+
async getConfigurationRecorderWithOptions(runtime: $Util.RuntimeOptions): Promise<GetConfigurationRecorderResponse> {
|
|
19198
|
+
let req = new $OpenApi.OpenApiRequest({ });
|
|
19199
|
+
let params = new $OpenApi.Params({
|
|
19200
|
+
action: "GetConfigurationRecorder",
|
|
19201
|
+
version: "2020-09-07",
|
|
19202
|
+
protocol: "HTTPS",
|
|
19203
|
+
pathname: "/",
|
|
19204
|
+
method: "POST",
|
|
19205
|
+
authType: "AK",
|
|
19206
|
+
style: "RPC",
|
|
19207
|
+
reqBodyType: "formData",
|
|
19208
|
+
bodyType: "json",
|
|
19209
|
+
});
|
|
19210
|
+
return $tea.cast<GetConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new GetConfigurationRecorderResponse({}));
|
|
19211
|
+
}
|
|
19212
|
+
|
|
19213
|
+
async getConfigurationRecorder(): Promise<GetConfigurationRecorderResponse> {
|
|
19214
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19215
|
+
return await this.getConfigurationRecorderWithOptions(runtime);
|
|
19216
|
+
}
|
|
19217
|
+
|
|
17291
19218
|
/**
|
|
17292
19219
|
* The sample request in this topic shows you how to query the details of the `new-bucket` resource.
|
|
17293
19220
|
*
|
|
@@ -17481,6 +19408,35 @@ export default class Client extends OpenApi {
|
|
|
17481
19408
|
return await this.getManagedRuleWithOptions(request, runtime);
|
|
17482
19409
|
}
|
|
17483
19410
|
|
|
19411
|
+
async getRemediationTemplateWithOptions(request: GetRemediationTemplateRequest, runtime: $Util.RuntimeOptions): Promise<GetRemediationTemplateResponse> {
|
|
19412
|
+
Util.validateModel(request);
|
|
19413
|
+
let query = { };
|
|
19414
|
+
if (!Util.isUnset(request.templateIdentifier)) {
|
|
19415
|
+
query["TemplateIdentifier"] = request.templateIdentifier;
|
|
19416
|
+
}
|
|
19417
|
+
|
|
19418
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19419
|
+
query: OpenApiUtil.query(query),
|
|
19420
|
+
});
|
|
19421
|
+
let params = new $OpenApi.Params({
|
|
19422
|
+
action: "GetRemediationTemplate",
|
|
19423
|
+
version: "2020-09-07",
|
|
19424
|
+
protocol: "HTTPS",
|
|
19425
|
+
pathname: "/",
|
|
19426
|
+
method: "POST",
|
|
19427
|
+
authType: "AK",
|
|
19428
|
+
style: "RPC",
|
|
19429
|
+
reqBodyType: "formData",
|
|
19430
|
+
bodyType: "json",
|
|
19431
|
+
});
|
|
19432
|
+
return $tea.cast<GetRemediationTemplateResponse>(await this.callApi(params, req, runtime), new GetRemediationTemplateResponse({}));
|
|
19433
|
+
}
|
|
19434
|
+
|
|
19435
|
+
async getRemediationTemplate(request: GetRemediationTemplateRequest): Promise<GetRemediationTemplateResponse> {
|
|
19436
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19437
|
+
return await this.getRemediationTemplateWithOptions(request, runtime);
|
|
19438
|
+
}
|
|
19439
|
+
|
|
17484
19440
|
/**
|
|
17485
19441
|
* In this topic, the `cr-d369626622af008e****` rule is used as an example. The return result shows that a total of 10 resources are evaluated by the rule and `five` of them are evaluated as compliant.
|
|
17486
19442
|
*
|
|
@@ -17520,7 +19476,7 @@ export default class Client extends OpenApi {
|
|
|
17520
19476
|
}
|
|
17521
19477
|
|
|
17522
19478
|
/**
|
|
17523
|
-
*
|
|
19479
|
+
* This topic provides an example on how to query the compliance evaluation results of resources monitored by using the `cp-541e626622af0087****` compliance package. The returned result shows a total of 10 resources and seven of them are evaluated as non-compliant.
|
|
17524
19480
|
*
|
|
17525
19481
|
* @param request GetResourceComplianceByPackRequest
|
|
17526
19482
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -17547,7 +19503,7 @@ export default class Client extends OpenApi {
|
|
|
17547
19503
|
}
|
|
17548
19504
|
|
|
17549
19505
|
/**
|
|
17550
|
-
*
|
|
19506
|
+
* This topic provides an example on how to query the compliance evaluation results of resources monitored by using the `cp-541e626622af0087****` compliance package. The returned result shows a total of 10 resources and seven of them are evaluated as non-compliant.
|
|
17551
19507
|
*
|
|
17552
19508
|
* @param request GetResourceComplianceByPackRequest
|
|
17553
19509
|
* @return GetResourceComplianceByPackResponse
|
|
@@ -17691,6 +19647,48 @@ export default class Client extends OpenApi {
|
|
|
17691
19647
|
return await this.getResourceConfigurationTimelineWithOptions(request, runtime);
|
|
17692
19648
|
}
|
|
17693
19649
|
|
|
19650
|
+
/**
|
|
19651
|
+
* This topic provides an example to show how to query the resource relationships that are supported by the ACS::ECS::Instance resource type.
|
|
19652
|
+
*
|
|
19653
|
+
* @param request GetSupportedResourceRelationConfigRequest
|
|
19654
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
19655
|
+
* @return GetSupportedResourceRelationConfigResponse
|
|
19656
|
+
*/
|
|
19657
|
+
async getSupportedResourceRelationConfigWithOptions(request: GetSupportedResourceRelationConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetSupportedResourceRelationConfigResponse> {
|
|
19658
|
+
Util.validateModel(request);
|
|
19659
|
+
let query = { };
|
|
19660
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
19661
|
+
query["ResourceType"] = request.resourceType;
|
|
19662
|
+
}
|
|
19663
|
+
|
|
19664
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
19665
|
+
query: OpenApiUtil.query(query),
|
|
19666
|
+
});
|
|
19667
|
+
let params = new $OpenApi.Params({
|
|
19668
|
+
action: "GetSupportedResourceRelationConfig",
|
|
19669
|
+
version: "2020-09-07",
|
|
19670
|
+
protocol: "HTTPS",
|
|
19671
|
+
pathname: "/",
|
|
19672
|
+
method: "POST",
|
|
19673
|
+
authType: "AK",
|
|
19674
|
+
style: "RPC",
|
|
19675
|
+
reqBodyType: "formData",
|
|
19676
|
+
bodyType: "json",
|
|
19677
|
+
});
|
|
19678
|
+
return $tea.cast<GetSupportedResourceRelationConfigResponse>(await this.callApi(params, req, runtime), new GetSupportedResourceRelationConfigResponse({}));
|
|
19679
|
+
}
|
|
19680
|
+
|
|
19681
|
+
/**
|
|
19682
|
+
* This topic provides an example to show how to query the resource relationships that are supported by the ACS::ECS::Instance resource type.
|
|
19683
|
+
*
|
|
19684
|
+
* @param request GetSupportedResourceRelationConfigRequest
|
|
19685
|
+
* @return GetSupportedResourceRelationConfigResponse
|
|
19686
|
+
*/
|
|
19687
|
+
async getSupportedResourceRelationConfig(request: GetSupportedResourceRelationConfigRequest): Promise<GetSupportedResourceRelationConfigResponse> {
|
|
19688
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
19689
|
+
return await this.getSupportedResourceRelationConfigWithOptions(request, runtime);
|
|
19690
|
+
}
|
|
19691
|
+
|
|
17694
19692
|
/**
|
|
17695
19693
|
* After you ignore a resource that is evaluated as incompliant by using a rule, the resource is still evaluated by using the rule, but the compliance result is Ignored.
|
|
17696
19694
|
* This example shows how to ignore the `lb-hp3a3b4ztyfm2plgm****` incompliant resource that is evaluated by using the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region where the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
|
|
@@ -17989,7 +19987,7 @@ export default class Client extends OpenApi {
|
|
|
17989
19987
|
}
|
|
17990
19988
|
|
|
17991
19989
|
/**
|
|
17992
|
-
* This topic provides an example on how to query the rules in an account group whose ID is `ca-f632626622af0079****`. The
|
|
19990
|
+
* This topic provides an example on how to query the rules in an account group whose ID is `ca-f632626622af0079****`. The returned result shows a total of one rule and two evaluated resources. The resources are both evaluated as `COMPLIANT`.
|
|
17993
19991
|
*
|
|
17994
19992
|
* @param request ListAggregateConfigRulesRequest
|
|
17995
19993
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18052,7 +20050,7 @@ export default class Client extends OpenApi {
|
|
|
18052
20050
|
}
|
|
18053
20051
|
|
|
18054
20052
|
/**
|
|
18055
|
-
* This topic provides an example on how to query the rules in an account group whose ID is `ca-f632626622af0079****`. The
|
|
20053
|
+
* This topic provides an example on how to query the rules in an account group whose ID is `ca-f632626622af0079****`. The returned result shows a total of one rule and two evaluated resources. The resources are both evaluated as `COMPLIANT`.
|
|
18056
20054
|
*
|
|
18057
20055
|
* @param request ListAggregateConfigRulesRequest
|
|
18058
20056
|
* @return ListAggregateConfigRulesResponse
|
|
@@ -18063,7 +20061,7 @@ export default class Client extends OpenApi {
|
|
|
18063
20061
|
}
|
|
18064
20062
|
|
|
18065
20063
|
/**
|
|
18066
|
-
* This example
|
|
20064
|
+
* This topic provides an example on how to query a list of resources in the `ca-c560626622af0005****` account group. The returned result shows that eight resources exist in the account group.
|
|
18067
20065
|
*
|
|
18068
20066
|
* @param request ListAggregateDiscoveredResourcesRequest
|
|
18069
20067
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18126,7 +20124,7 @@ export default class Client extends OpenApi {
|
|
|
18126
20124
|
}
|
|
18127
20125
|
|
|
18128
20126
|
/**
|
|
18129
|
-
* This example
|
|
20127
|
+
* This topic provides an example on how to query a list of resources in the `ca-c560626622af0005****` account group. The returned result shows that eight resources exist in the account group.
|
|
18130
20128
|
*
|
|
18131
20129
|
* @param request ListAggregateDiscoveredResourcesRequest
|
|
18132
20130
|
* @return ListAggregateDiscoveredResourcesResponse
|
|
@@ -18137,7 +20135,7 @@ export default class Client extends OpenApi {
|
|
|
18137
20135
|
}
|
|
18138
20136
|
|
|
18139
20137
|
/**
|
|
18140
|
-
*
|
|
20138
|
+
* This topic provides an example on how to query the remediation templates of the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`.
|
|
18141
20139
|
*
|
|
18142
20140
|
* @param request ListAggregateRemediationsRequest
|
|
18143
20141
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18150,15 +20148,81 @@ export default class Client extends OpenApi {
|
|
|
18150
20148
|
query["AggregatorId"] = request.aggregatorId;
|
|
18151
20149
|
}
|
|
18152
20150
|
|
|
18153
|
-
if (!Util.isUnset(request.configRuleIds)) {
|
|
18154
|
-
query["ConfigRuleIds"] = request.configRuleIds;
|
|
20151
|
+
if (!Util.isUnset(request.configRuleIds)) {
|
|
20152
|
+
query["ConfigRuleIds"] = request.configRuleIds;
|
|
20153
|
+
}
|
|
20154
|
+
|
|
20155
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20156
|
+
query: OpenApiUtil.query(query),
|
|
20157
|
+
});
|
|
20158
|
+
let params = new $OpenApi.Params({
|
|
20159
|
+
action: "ListAggregateRemediations",
|
|
20160
|
+
version: "2020-09-07",
|
|
20161
|
+
protocol: "HTTPS",
|
|
20162
|
+
pathname: "/",
|
|
20163
|
+
method: "POST",
|
|
20164
|
+
authType: "AK",
|
|
20165
|
+
style: "RPC",
|
|
20166
|
+
reqBodyType: "formData",
|
|
20167
|
+
bodyType: "json",
|
|
20168
|
+
});
|
|
20169
|
+
return $tea.cast<ListAggregateRemediationsResponse>(await this.callApi(params, req, runtime), new ListAggregateRemediationsResponse({}));
|
|
20170
|
+
}
|
|
20171
|
+
|
|
20172
|
+
/**
|
|
20173
|
+
* This topic provides an example on how to query the remediation templates of the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`.
|
|
20174
|
+
*
|
|
20175
|
+
* @param request ListAggregateRemediationsRequest
|
|
20176
|
+
* @return ListAggregateRemediationsResponse
|
|
20177
|
+
*/
|
|
20178
|
+
async listAggregateRemediations(request: ListAggregateRemediationsRequest): Promise<ListAggregateRemediationsResponse> {
|
|
20179
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20180
|
+
return await this.listAggregateRemediationsWithOptions(request, runtime);
|
|
20181
|
+
}
|
|
20182
|
+
|
|
20183
|
+
/**
|
|
20184
|
+
* This example shows how to query the compliance evaluation result of the `23642660635396****` resource in the `ca-7f00626622af0041****` account group. The resource is a RAM user. The returned result indicates that the resource is evaluated as `NON_COMPLIANT` by using the `cr-7f7d626622af0041****` rule.
|
|
20185
|
+
*
|
|
20186
|
+
* @param request ListAggregateResourceEvaluationResultsRequest
|
|
20187
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20188
|
+
* @return ListAggregateResourceEvaluationResultsResponse
|
|
20189
|
+
*/
|
|
20190
|
+
async listAggregateResourceEvaluationResultsWithOptions(request: ListAggregateResourceEvaluationResultsRequest, runtime: $Util.RuntimeOptions): Promise<ListAggregateResourceEvaluationResultsResponse> {
|
|
20191
|
+
Util.validateModel(request);
|
|
20192
|
+
let query = { };
|
|
20193
|
+
if (!Util.isUnset(request.aggregatorId)) {
|
|
20194
|
+
query["AggregatorId"] = request.aggregatorId;
|
|
20195
|
+
}
|
|
20196
|
+
|
|
20197
|
+
if (!Util.isUnset(request.complianceType)) {
|
|
20198
|
+
query["ComplianceType"] = request.complianceType;
|
|
20199
|
+
}
|
|
20200
|
+
|
|
20201
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
20202
|
+
query["MaxResults"] = request.maxResults;
|
|
20203
|
+
}
|
|
20204
|
+
|
|
20205
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
20206
|
+
query["NextToken"] = request.nextToken;
|
|
20207
|
+
}
|
|
20208
|
+
|
|
20209
|
+
if (!Util.isUnset(request.region)) {
|
|
20210
|
+
query["Region"] = request.region;
|
|
20211
|
+
}
|
|
20212
|
+
|
|
20213
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
20214
|
+
query["ResourceId"] = request.resourceId;
|
|
20215
|
+
}
|
|
20216
|
+
|
|
20217
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
20218
|
+
query["ResourceType"] = request.resourceType;
|
|
18155
20219
|
}
|
|
18156
20220
|
|
|
18157
20221
|
let req = new $OpenApi.OpenApiRequest({
|
|
18158
20222
|
query: OpenApiUtil.query(query),
|
|
18159
20223
|
});
|
|
18160
20224
|
let params = new $OpenApi.Params({
|
|
18161
|
-
action: "
|
|
20225
|
+
action: "ListAggregateResourceEvaluationResults",
|
|
18162
20226
|
version: "2020-09-07",
|
|
18163
20227
|
protocol: "HTTPS",
|
|
18164
20228
|
pathname: "/",
|
|
@@ -18168,38 +20232,34 @@ export default class Client extends OpenApi {
|
|
|
18168
20232
|
reqBodyType: "formData",
|
|
18169
20233
|
bodyType: "json",
|
|
18170
20234
|
});
|
|
18171
|
-
return $tea.cast<
|
|
20235
|
+
return $tea.cast<ListAggregateResourceEvaluationResultsResponse>(await this.callApi(params, req, runtime), new ListAggregateResourceEvaluationResultsResponse({}));
|
|
18172
20236
|
}
|
|
18173
20237
|
|
|
18174
20238
|
/**
|
|
18175
|
-
*
|
|
20239
|
+
* This example shows how to query the compliance evaluation result of the `23642660635396****` resource in the `ca-7f00626622af0041****` account group. The resource is a RAM user. The returned result indicates that the resource is evaluated as `NON_COMPLIANT` by using the `cr-7f7d626622af0041****` rule.
|
|
18176
20240
|
*
|
|
18177
|
-
* @param request
|
|
18178
|
-
* @return
|
|
20241
|
+
* @param request ListAggregateResourceEvaluationResultsRequest
|
|
20242
|
+
* @return ListAggregateResourceEvaluationResultsResponse
|
|
18179
20243
|
*/
|
|
18180
|
-
async
|
|
20244
|
+
async listAggregateResourceEvaluationResults(request: ListAggregateResourceEvaluationResultsRequest): Promise<ListAggregateResourceEvaluationResultsResponse> {
|
|
18181
20245
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18182
|
-
return await this.
|
|
20246
|
+
return await this.listAggregateResourceEvaluationResultsWithOptions(request, runtime);
|
|
18183
20247
|
}
|
|
18184
20248
|
|
|
18185
20249
|
/**
|
|
18186
|
-
* This example
|
|
20250
|
+
* This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance in an account group.
|
|
18187
20251
|
*
|
|
18188
|
-
* @param request
|
|
20252
|
+
* @param request ListAggregateResourceRelationsRequest
|
|
18189
20253
|
* @param runtime runtime options for this request RuntimeOptions
|
|
18190
|
-
* @return
|
|
20254
|
+
* @return ListAggregateResourceRelationsResponse
|
|
18191
20255
|
*/
|
|
18192
|
-
async
|
|
20256
|
+
async listAggregateResourceRelationsWithOptions(request: ListAggregateResourceRelationsRequest, runtime: $Util.RuntimeOptions): Promise<ListAggregateResourceRelationsResponse> {
|
|
18193
20257
|
Util.validateModel(request);
|
|
18194
20258
|
let query = { };
|
|
18195
20259
|
if (!Util.isUnset(request.aggregatorId)) {
|
|
18196
20260
|
query["AggregatorId"] = request.aggregatorId;
|
|
18197
20261
|
}
|
|
18198
20262
|
|
|
18199
|
-
if (!Util.isUnset(request.complianceType)) {
|
|
18200
|
-
query["ComplianceType"] = request.complianceType;
|
|
18201
|
-
}
|
|
18202
|
-
|
|
18203
20263
|
if (!Util.isUnset(request.maxResults)) {
|
|
18204
20264
|
query["MaxResults"] = request.maxResults;
|
|
18205
20265
|
}
|
|
@@ -18212,6 +20272,14 @@ export default class Client extends OpenApi {
|
|
|
18212
20272
|
query["Region"] = request.region;
|
|
18213
20273
|
}
|
|
18214
20274
|
|
|
20275
|
+
if (!Util.isUnset(request.relationType)) {
|
|
20276
|
+
query["RelationType"] = request.relationType;
|
|
20277
|
+
}
|
|
20278
|
+
|
|
20279
|
+
if (!Util.isUnset(request.resourceAccountId)) {
|
|
20280
|
+
query["ResourceAccountId"] = request.resourceAccountId;
|
|
20281
|
+
}
|
|
20282
|
+
|
|
18215
20283
|
if (!Util.isUnset(request.resourceId)) {
|
|
18216
20284
|
query["ResourceId"] = request.resourceId;
|
|
18217
20285
|
}
|
|
@@ -18220,11 +20288,19 @@ export default class Client extends OpenApi {
|
|
|
18220
20288
|
query["ResourceType"] = request.resourceType;
|
|
18221
20289
|
}
|
|
18222
20290
|
|
|
20291
|
+
if (!Util.isUnset(request.targetResourceId)) {
|
|
20292
|
+
query["TargetResourceId"] = request.targetResourceId;
|
|
20293
|
+
}
|
|
20294
|
+
|
|
20295
|
+
if (!Util.isUnset(request.targetResourceType)) {
|
|
20296
|
+
query["TargetResourceType"] = request.targetResourceType;
|
|
20297
|
+
}
|
|
20298
|
+
|
|
18223
20299
|
let req = new $OpenApi.OpenApiRequest({
|
|
18224
20300
|
query: OpenApiUtil.query(query),
|
|
18225
20301
|
});
|
|
18226
20302
|
let params = new $OpenApi.Params({
|
|
18227
|
-
action: "
|
|
20303
|
+
action: "ListAggregateResourceRelations",
|
|
18228
20304
|
version: "2020-09-07",
|
|
18229
20305
|
protocol: "HTTPS",
|
|
18230
20306
|
pathname: "/",
|
|
@@ -18234,18 +20310,18 @@ export default class Client extends OpenApi {
|
|
|
18234
20310
|
reqBodyType: "formData",
|
|
18235
20311
|
bodyType: "json",
|
|
18236
20312
|
});
|
|
18237
|
-
return $tea.cast<
|
|
20313
|
+
return $tea.cast<ListAggregateResourceRelationsResponse>(await this.callApi(params, req, runtime), new ListAggregateResourceRelationsResponse({}));
|
|
18238
20314
|
}
|
|
18239
20315
|
|
|
18240
20316
|
/**
|
|
18241
|
-
* This example
|
|
20317
|
+
* This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance in an account group.
|
|
18242
20318
|
*
|
|
18243
|
-
* @param request
|
|
18244
|
-
* @return
|
|
20319
|
+
* @param request ListAggregateResourceRelationsRequest
|
|
20320
|
+
* @return ListAggregateResourceRelationsResponse
|
|
18245
20321
|
*/
|
|
18246
|
-
async
|
|
20322
|
+
async listAggregateResourceRelations(request: ListAggregateResourceRelationsRequest): Promise<ListAggregateResourceRelationsResponse> {
|
|
18247
20323
|
let runtime = new $Util.RuntimeOptions({ });
|
|
18248
|
-
return await this.
|
|
20324
|
+
return await this.listAggregateResourceRelationsWithOptions(request, runtime);
|
|
18249
20325
|
}
|
|
18250
20326
|
|
|
18251
20327
|
/**
|
|
@@ -18685,6 +20761,47 @@ export default class Client extends OpenApi {
|
|
|
18685
20761
|
return await this.listPreManagedRulesWithOptions(request, runtime);
|
|
18686
20762
|
}
|
|
18687
20763
|
|
|
20764
|
+
async listRemediationExecutionsWithOptions(request: ListRemediationExecutionsRequest, runtime: $Util.RuntimeOptions): Promise<ListRemediationExecutionsResponse> {
|
|
20765
|
+
Util.validateModel(request);
|
|
20766
|
+
let query = { };
|
|
20767
|
+
if (!Util.isUnset(request.configRuleId)) {
|
|
20768
|
+
query["ConfigRuleId"] = request.configRuleId;
|
|
20769
|
+
}
|
|
20770
|
+
|
|
20771
|
+
if (!Util.isUnset(request.executionStatus)) {
|
|
20772
|
+
query["ExecutionStatus"] = request.executionStatus;
|
|
20773
|
+
}
|
|
20774
|
+
|
|
20775
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
20776
|
+
query["MaxResults"] = request.maxResults;
|
|
20777
|
+
}
|
|
20778
|
+
|
|
20779
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
20780
|
+
query["NextToken"] = request.nextToken;
|
|
20781
|
+
}
|
|
20782
|
+
|
|
20783
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
20784
|
+
query: OpenApiUtil.query(query),
|
|
20785
|
+
});
|
|
20786
|
+
let params = new $OpenApi.Params({
|
|
20787
|
+
action: "ListRemediationExecutions",
|
|
20788
|
+
version: "2020-09-07",
|
|
20789
|
+
protocol: "HTTPS",
|
|
20790
|
+
pathname: "/",
|
|
20791
|
+
method: "POST",
|
|
20792
|
+
authType: "AK",
|
|
20793
|
+
style: "RPC",
|
|
20794
|
+
reqBodyType: "formData",
|
|
20795
|
+
bodyType: "json",
|
|
20796
|
+
});
|
|
20797
|
+
return $tea.cast<ListRemediationExecutionsResponse>(await this.callApi(params, req, runtime), new ListRemediationExecutionsResponse({}));
|
|
20798
|
+
}
|
|
20799
|
+
|
|
20800
|
+
async listRemediationExecutions(request: ListRemediationExecutionsRequest): Promise<ListRemediationExecutionsResponse> {
|
|
20801
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
20802
|
+
return await this.listRemediationExecutionsWithOptions(request, runtime);
|
|
20803
|
+
}
|
|
20804
|
+
|
|
18688
20805
|
/**
|
|
18689
20806
|
* In this topic, the `oss-bucket-public-write-prohibited` managed rule is used as an example. The return result shows the details of the remediation template of the `OOS` type for the managed rule. OOS represents Operation Orchestration Service.
|
|
18690
20807
|
*
|
|
@@ -18699,6 +20816,14 @@ export default class Client extends OpenApi {
|
|
|
18699
20816
|
query["ManagedRuleIdentifier"] = request.managedRuleIdentifier;
|
|
18700
20817
|
}
|
|
18701
20818
|
|
|
20819
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
20820
|
+
query["PageNumber"] = request.pageNumber;
|
|
20821
|
+
}
|
|
20822
|
+
|
|
20823
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
20824
|
+
query["PageSize"] = request.pageSize;
|
|
20825
|
+
}
|
|
20826
|
+
|
|
18702
20827
|
if (!Util.isUnset(request.remediationType)) {
|
|
18703
20828
|
query["RemediationType"] = request.remediationType;
|
|
18704
20829
|
}
|
|
@@ -18732,7 +20857,7 @@ export default class Client extends OpenApi {
|
|
|
18732
20857
|
}
|
|
18733
20858
|
|
|
18734
20859
|
/**
|
|
18735
|
-
*
|
|
20860
|
+
* This topic provides an example on how to query the remediation templates for the rule whose ID is `cr-6b7c626622af00b4****`.
|
|
18736
20861
|
*
|
|
18737
20862
|
* @param request ListRemediationsRequest
|
|
18738
20863
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18745,6 +20870,14 @@ export default class Client extends OpenApi {
|
|
|
18745
20870
|
query["ConfigRuleIds"] = request.configRuleIds;
|
|
18746
20871
|
}
|
|
18747
20872
|
|
|
20873
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
20874
|
+
query["PageNumber"] = request.pageNumber;
|
|
20875
|
+
}
|
|
20876
|
+
|
|
20877
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
20878
|
+
query["PageSize"] = request.pageSize;
|
|
20879
|
+
}
|
|
20880
|
+
|
|
18748
20881
|
let req = new $OpenApi.OpenApiRequest({
|
|
18749
20882
|
query: OpenApiUtil.query(query),
|
|
18750
20883
|
});
|
|
@@ -18763,7 +20896,7 @@ export default class Client extends OpenApi {
|
|
|
18763
20896
|
}
|
|
18764
20897
|
|
|
18765
20898
|
/**
|
|
18766
|
-
*
|
|
20899
|
+
* This topic provides an example on how to query the remediation templates for the rule whose ID is `cr-6b7c626622af00b4****`.
|
|
18767
20900
|
*
|
|
18768
20901
|
* @param request ListRemediationsRequest
|
|
18769
20902
|
* @return ListRemediationsResponse
|
|
@@ -18835,6 +20968,76 @@ export default class Client extends OpenApi {
|
|
|
18835
20968
|
return await this.listResourceEvaluationResultsWithOptions(request, runtime);
|
|
18836
20969
|
}
|
|
18837
20970
|
|
|
20971
|
+
/**
|
|
20972
|
+
* This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance within the current Alibaba Cloud account.
|
|
20973
|
+
*
|
|
20974
|
+
* @param request ListResourceRelationsRequest
|
|
20975
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
20976
|
+
* @return ListResourceRelationsResponse
|
|
20977
|
+
*/
|
|
20978
|
+
async listResourceRelationsWithOptions(request: ListResourceRelationsRequest, runtime: $Util.RuntimeOptions): Promise<ListResourceRelationsResponse> {
|
|
20979
|
+
Util.validateModel(request);
|
|
20980
|
+
let query = { };
|
|
20981
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
20982
|
+
query["MaxResults"] = request.maxResults;
|
|
20983
|
+
}
|
|
20984
|
+
|
|
20985
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
20986
|
+
query["NextToken"] = request.nextToken;
|
|
20987
|
+
}
|
|
20988
|
+
|
|
20989
|
+
if (!Util.isUnset(request.region)) {
|
|
20990
|
+
query["Region"] = request.region;
|
|
20991
|
+
}
|
|
20992
|
+
|
|
20993
|
+
if (!Util.isUnset(request.relationType)) {
|
|
20994
|
+
query["RelationType"] = request.relationType;
|
|
20995
|
+
}
|
|
20996
|
+
|
|
20997
|
+
if (!Util.isUnset(request.resourceId)) {
|
|
20998
|
+
query["ResourceId"] = request.resourceId;
|
|
20999
|
+
}
|
|
21000
|
+
|
|
21001
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
21002
|
+
query["ResourceType"] = request.resourceType;
|
|
21003
|
+
}
|
|
21004
|
+
|
|
21005
|
+
if (!Util.isUnset(request.targetResourceId)) {
|
|
21006
|
+
query["TargetResourceId"] = request.targetResourceId;
|
|
21007
|
+
}
|
|
21008
|
+
|
|
21009
|
+
if (!Util.isUnset(request.targetResourceType)) {
|
|
21010
|
+
query["TargetResourceType"] = request.targetResourceType;
|
|
21011
|
+
}
|
|
21012
|
+
|
|
21013
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21014
|
+
query: OpenApiUtil.query(query),
|
|
21015
|
+
});
|
|
21016
|
+
let params = new $OpenApi.Params({
|
|
21017
|
+
action: "ListResourceRelations",
|
|
21018
|
+
version: "2020-09-07",
|
|
21019
|
+
protocol: "HTTPS",
|
|
21020
|
+
pathname: "/",
|
|
21021
|
+
method: "POST",
|
|
21022
|
+
authType: "AK",
|
|
21023
|
+
style: "RPC",
|
|
21024
|
+
reqBodyType: "formData",
|
|
21025
|
+
bodyType: "json",
|
|
21026
|
+
});
|
|
21027
|
+
return $tea.cast<ListResourceRelationsResponse>(await this.callApi(params, req, runtime), new ListResourceRelationsResponse({}));
|
|
21028
|
+
}
|
|
21029
|
+
|
|
21030
|
+
/**
|
|
21031
|
+
* This topic provides an example on how to query the disks that are associated with an Elastic Compute Service (ECS) instance within the current Alibaba Cloud account.
|
|
21032
|
+
*
|
|
21033
|
+
* @param request ListResourceRelationsRequest
|
|
21034
|
+
* @return ListResourceRelationsResponse
|
|
21035
|
+
*/
|
|
21036
|
+
async listResourceRelations(request: ListResourceRelationsRequest): Promise<ListResourceRelationsResponse> {
|
|
21037
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21038
|
+
return await this.listResourceRelationsWithOptions(request, runtime);
|
|
21039
|
+
}
|
|
21040
|
+
|
|
18838
21041
|
async listTagResourcesWithOptions(tmpReq: ListTagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<ListTagResourcesResponse> {
|
|
18839
21042
|
Util.validateModel(tmpReq);
|
|
18840
21043
|
let request = new ListTagResourcesShrinkRequest({ });
|
|
@@ -18886,10 +21089,48 @@ export default class Client extends OpenApi {
|
|
|
18886
21089
|
return await this.listTagResourcesWithOptions(request, runtime);
|
|
18887
21090
|
}
|
|
18888
21091
|
|
|
21092
|
+
async putEvaluationsWithOptions(request: PutEvaluationsRequest, runtime: $Util.RuntimeOptions): Promise<PutEvaluationsResponse> {
|
|
21093
|
+
Util.validateModel(request);
|
|
21094
|
+
let body : {[key: string ]: any} = { };
|
|
21095
|
+
if (!Util.isUnset(request.deleteMode)) {
|
|
21096
|
+
body["DeleteMode"] = request.deleteMode;
|
|
21097
|
+
}
|
|
21098
|
+
|
|
21099
|
+
if (!Util.isUnset(request.evaluations)) {
|
|
21100
|
+
body["Evaluations"] = request.evaluations;
|
|
21101
|
+
}
|
|
21102
|
+
|
|
21103
|
+
if (!Util.isUnset(request.resultToken)) {
|
|
21104
|
+
body["ResultToken"] = request.resultToken;
|
|
21105
|
+
}
|
|
21106
|
+
|
|
21107
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21108
|
+
body: OpenApiUtil.parseToMap(body),
|
|
21109
|
+
});
|
|
21110
|
+
let params = new $OpenApi.Params({
|
|
21111
|
+
action: "PutEvaluations",
|
|
21112
|
+
version: "2020-09-07",
|
|
21113
|
+
protocol: "HTTPS",
|
|
21114
|
+
pathname: "/",
|
|
21115
|
+
method: "POST",
|
|
21116
|
+
authType: "AK",
|
|
21117
|
+
style: "RPC",
|
|
21118
|
+
reqBodyType: "formData",
|
|
21119
|
+
bodyType: "json",
|
|
21120
|
+
});
|
|
21121
|
+
return $tea.cast<PutEvaluationsResponse>(await this.callApi(params, req, runtime), new PutEvaluationsResponse({}));
|
|
21122
|
+
}
|
|
21123
|
+
|
|
21124
|
+
async putEvaluations(request: PutEvaluationsRequest): Promise<PutEvaluationsResponse> {
|
|
21125
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21126
|
+
return await this.putEvaluationsWithOptions(request, runtime);
|
|
21127
|
+
}
|
|
21128
|
+
|
|
18889
21129
|
/**
|
|
18890
|
-
*
|
|
18891
|
-
*
|
|
18892
|
-
*
|
|
21130
|
+
* ### Prerequisites
|
|
21131
|
+
* One or more non-compliant resources that are evaluated based on a rule are ignored.
|
|
21132
|
+
* ### Usage notes
|
|
21133
|
+
* The sample request in this topic shows you how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region in which the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
|
|
18893
21134
|
*
|
|
18894
21135
|
* @param tmpReq RevertAggregateEvaluationResultsRequest
|
|
18895
21136
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18934,9 +21175,10 @@ export default class Client extends OpenApi {
|
|
|
18934
21175
|
}
|
|
18935
21176
|
|
|
18936
21177
|
/**
|
|
18937
|
-
*
|
|
18938
|
-
*
|
|
18939
|
-
*
|
|
21178
|
+
* ### Prerequisites
|
|
21179
|
+
* One or more non-compliant resources that are evaluated based on a rule are ignored.
|
|
21180
|
+
* ### Usage notes
|
|
21181
|
+
* The sample request in this topic shows you how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051***` rule in the `120886317861****` member account of the `ca-5b6c626622af008f****` account group. The ID of the region in which the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.
|
|
18940
21182
|
*
|
|
18941
21183
|
* @param request RevertAggregateEvaluationResultsRequest
|
|
18942
21184
|
* @return RevertAggregateEvaluationResultsResponse
|
|
@@ -18947,9 +21189,10 @@ export default class Client extends OpenApi {
|
|
|
18947
21189
|
}
|
|
18948
21190
|
|
|
18949
21191
|
/**
|
|
18950
|
-
*
|
|
18951
|
-
* ## Prerequisites
|
|
21192
|
+
* ### Prerequisites
|
|
18952
21193
|
* One or more non-compliant resources that are evaluated by a rule are ignored.
|
|
21194
|
+
* ### Usage notes
|
|
21195
|
+
* The sample request in this topic shows you how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051****` rule. The ID of the region in which the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.``
|
|
18953
21196
|
*
|
|
18954
21197
|
* @param tmpReq RevertEvaluationResultsRequest
|
|
18955
21198
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -18990,9 +21233,10 @@ export default class Client extends OpenApi {
|
|
|
18990
21233
|
}
|
|
18991
21234
|
|
|
18992
21235
|
/**
|
|
18993
|
-
*
|
|
18994
|
-
* ## Prerequisites
|
|
21236
|
+
* ### Prerequisites
|
|
18995
21237
|
* One or more non-compliant resources that are evaluated by a rule are ignored.
|
|
21238
|
+
* ### Usage notes
|
|
21239
|
+
* The sample request in this topic shows you how to re-evaluate the `lb-hp3a3b4ztyfm2plgm****` non-compliant resource that is evaluated by the `cr-7e72626622af0051****` rule. The ID of the region in which the resource resides is `cn-beijing`, and the type of the resource is `ACS::SLB::LoadBalancer`.``
|
|
18996
21240
|
*
|
|
18997
21241
|
* @param request RevertEvaluationResultsRequest
|
|
18998
21242
|
* @return RevertEvaluationResultsResponse
|
|
@@ -19003,8 +21247,8 @@ export default class Client extends OpenApi {
|
|
|
19003
21247
|
}
|
|
19004
21248
|
|
|
19005
21249
|
/**
|
|
19006
|
-
* >
|
|
19007
|
-
* The sample request in this topic shows
|
|
21250
|
+
* > After you call this operation, the compliance evaluation is performed only once. To query the compliance evaluation results returned by the rule, call the ListAggregateConfigRuleEvaluationResults operation. For more information, see [ListAggregateConfigRuleEvaluationResults](~~265979~~).
|
|
21251
|
+
* The sample request in this topic shows how to use the `cr-c169626622af009f****` rule in the `ca-3a58626622af0005****` account group to evaluate resources.
|
|
19008
21252
|
*
|
|
19009
21253
|
* @param request StartAggregateConfigRuleEvaluationRequest
|
|
19010
21254
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19047,8 +21291,8 @@ export default class Client extends OpenApi {
|
|
|
19047
21291
|
}
|
|
19048
21292
|
|
|
19049
21293
|
/**
|
|
19050
|
-
* >
|
|
19051
|
-
* The sample request in this topic shows
|
|
21294
|
+
* > After you call this operation, the compliance evaluation is performed only once. To query the compliance evaluation results returned by the rule, call the ListAggregateConfigRuleEvaluationResults operation. For more information, see [ListAggregateConfigRuleEvaluationResults](~~265979~~).
|
|
21295
|
+
* The sample request in this topic shows how to use the `cr-c169626622af009f****` rule in the `ca-3a58626622af0005****` account group to evaluate resources.
|
|
19052
21296
|
*
|
|
19053
21297
|
* @param request StartAggregateConfigRuleEvaluationRequest
|
|
19054
21298
|
* @return StartAggregateConfigRuleEvaluationResponse
|
|
@@ -19059,7 +21303,7 @@ export default class Client extends OpenApi {
|
|
|
19059
21303
|
}
|
|
19060
21304
|
|
|
19061
21305
|
/**
|
|
19062
|
-
*
|
|
21306
|
+
* This topic provides an example on how to manually perform a remediation operation by using the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that the manual execution is successful.
|
|
19063
21307
|
*
|
|
19064
21308
|
* @param request StartAggregateRemediationRequest
|
|
19065
21309
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19076,6 +21320,10 @@ export default class Client extends OpenApi {
|
|
|
19076
21320
|
query["ConfigRuleId"] = request.configRuleId;
|
|
19077
21321
|
}
|
|
19078
21322
|
|
|
21323
|
+
if (!Util.isUnset(request.resourceAccountId)) {
|
|
21324
|
+
query["ResourceAccountId"] = request.resourceAccountId;
|
|
21325
|
+
}
|
|
21326
|
+
|
|
19079
21327
|
let req = new $OpenApi.OpenApiRequest({
|
|
19080
21328
|
query: OpenApiUtil.query(query),
|
|
19081
21329
|
});
|
|
@@ -19094,7 +21342,7 @@ export default class Client extends OpenApi {
|
|
|
19094
21342
|
}
|
|
19095
21343
|
|
|
19096
21344
|
/**
|
|
19097
|
-
*
|
|
21345
|
+
* This topic provides an example on how to manually perform a remediation operation by using the rule whose ID is `cr-6b7c626622af00b4****` in the account group whose ID is `ca-6b4a626622af0012****`. The returned result shows that the manual execution is successful.
|
|
19098
21346
|
*
|
|
19099
21347
|
* @param request StartAggregateRemediationRequest
|
|
19100
21348
|
* @return StartAggregateRemediationResponse
|
|
@@ -19104,8 +21352,66 @@ export default class Client extends OpenApi {
|
|
|
19104
21352
|
return await this.startAggregateRemediationWithOptions(request, runtime);
|
|
19105
21353
|
}
|
|
19106
21354
|
|
|
21355
|
+
async startConfigRuleEvaluationWithOptions(request: StartConfigRuleEvaluationRequest, runtime: $Util.RuntimeOptions): Promise<StartConfigRuleEvaluationResponse> {
|
|
21356
|
+
Util.validateModel(request);
|
|
21357
|
+
let query = { };
|
|
21358
|
+
if (!Util.isUnset(request.compliancePackId)) {
|
|
21359
|
+
query["CompliancePackId"] = request.compliancePackId;
|
|
21360
|
+
}
|
|
21361
|
+
|
|
21362
|
+
if (!Util.isUnset(request.configRuleId)) {
|
|
21363
|
+
query["ConfigRuleId"] = request.configRuleId;
|
|
21364
|
+
}
|
|
21365
|
+
|
|
21366
|
+
if (!Util.isUnset(request.revertEvaluation)) {
|
|
21367
|
+
query["RevertEvaluation"] = request.revertEvaluation;
|
|
21368
|
+
}
|
|
21369
|
+
|
|
21370
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
21371
|
+
query: OpenApiUtil.query(query),
|
|
21372
|
+
});
|
|
21373
|
+
let params = new $OpenApi.Params({
|
|
21374
|
+
action: "StartConfigRuleEvaluation",
|
|
21375
|
+
version: "2020-09-07",
|
|
21376
|
+
protocol: "HTTPS",
|
|
21377
|
+
pathname: "/",
|
|
21378
|
+
method: "POST",
|
|
21379
|
+
authType: "AK",
|
|
21380
|
+
style: "RPC",
|
|
21381
|
+
reqBodyType: "formData",
|
|
21382
|
+
bodyType: "json",
|
|
21383
|
+
});
|
|
21384
|
+
return $tea.cast<StartConfigRuleEvaluationResponse>(await this.callApi(params, req, runtime), new StartConfigRuleEvaluationResponse({}));
|
|
21385
|
+
}
|
|
21386
|
+
|
|
21387
|
+
async startConfigRuleEvaluation(request: StartConfigRuleEvaluationRequest): Promise<StartConfigRuleEvaluationResponse> {
|
|
21388
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21389
|
+
return await this.startConfigRuleEvaluationWithOptions(request, runtime);
|
|
21390
|
+
}
|
|
21391
|
+
|
|
21392
|
+
async startConfigurationRecorderWithOptions(runtime: $Util.RuntimeOptions): Promise<StartConfigurationRecorderResponse> {
|
|
21393
|
+
let req = new $OpenApi.OpenApiRequest({ });
|
|
21394
|
+
let params = new $OpenApi.Params({
|
|
21395
|
+
action: "StartConfigurationRecorder",
|
|
21396
|
+
version: "2020-09-07",
|
|
21397
|
+
protocol: "HTTPS",
|
|
21398
|
+
pathname: "/",
|
|
21399
|
+
method: "POST",
|
|
21400
|
+
authType: "AK",
|
|
21401
|
+
style: "RPC",
|
|
21402
|
+
reqBodyType: "formData",
|
|
21403
|
+
bodyType: "json",
|
|
21404
|
+
});
|
|
21405
|
+
return $tea.cast<StartConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new StartConfigurationRecorderResponse({}));
|
|
21406
|
+
}
|
|
21407
|
+
|
|
21408
|
+
async startConfigurationRecorder(): Promise<StartConfigurationRecorderResponse> {
|
|
21409
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
21410
|
+
return await this.startConfigurationRecorderWithOptions(runtime);
|
|
21411
|
+
}
|
|
21412
|
+
|
|
19107
21413
|
/**
|
|
19108
|
-
*
|
|
21414
|
+
* This topic provides an example on how to perform a remediation operation by using the rule whose ID is `cr-8a973ac2e2be00a2****`. The returned result shows that the manual execution is successful.
|
|
19109
21415
|
*
|
|
19110
21416
|
* @param request StartRemediationRequest
|
|
19111
21417
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19136,7 +21442,7 @@ export default class Client extends OpenApi {
|
|
|
19136
21442
|
}
|
|
19137
21443
|
|
|
19138
21444
|
/**
|
|
19139
|
-
*
|
|
21445
|
+
* This topic provides an example on how to perform a remediation operation by using the rule whose ID is `cr-8a973ac2e2be00a2****`. The returned result shows that the manual execution is successful.
|
|
19140
21446
|
*
|
|
19141
21447
|
* @param request StartRemediationRequest
|
|
19142
21448
|
* @return StartRemediationResponse
|
|
@@ -19352,7 +21658,7 @@ export default class Client extends OpenApi {
|
|
|
19352
21658
|
}
|
|
19353
21659
|
|
|
19354
21660
|
/**
|
|
19355
|
-
*
|
|
21661
|
+
* This topic provides an example on how to disable a delivery channel in an account group. The ID of the account group is `ca-a4e5626622af0079****`, and the ID of the delivery channel is `cdc-8e45ff4e06a3a8****`. The Status parameter is set to `0`. After the delivery channel is disabled, Cloud Config retains the most recent delivery configuration and stops resource data delivery.
|
|
19356
21662
|
*
|
|
19357
21663
|
* @param request UpdateAggregateConfigDeliveryChannelRequest
|
|
19358
21664
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -19431,7 +21737,7 @@ export default class Client extends OpenApi {
|
|
|
19431
21737
|
}
|
|
19432
21738
|
|
|
19433
21739
|
/**
|
|
19434
|
-
*
|
|
21740
|
+
* This topic provides an example on how to disable a delivery channel in an account group. The ID of the account group is `ca-a4e5626622af0079****`, and the ID of the delivery channel is `cdc-8e45ff4e06a3a8****`. The Status parameter is set to `0`. After the delivery channel is disabled, Cloud Config retains the most recent delivery configuration and stops resource data delivery.
|
|
19435
21741
|
*
|
|
19436
21742
|
* @param request UpdateAggregateConfigDeliveryChannelRequest
|
|
19437
21743
|
* @return UpdateAggregateConfigDeliveryChannelResponse
|
|
@@ -19977,9 +22283,38 @@ export default class Client extends OpenApi {
|
|
|
19977
22283
|
return await this.updateConfigRuleWithOptions(request, runtime);
|
|
19978
22284
|
}
|
|
19979
22285
|
|
|
22286
|
+
async updateConfigurationRecorderWithOptions(request: UpdateConfigurationRecorderRequest, runtime: $Util.RuntimeOptions): Promise<UpdateConfigurationRecorderResponse> {
|
|
22287
|
+
Util.validateModel(request);
|
|
22288
|
+
let body : {[key: string ]: any} = { };
|
|
22289
|
+
if (!Util.isUnset(request.resourceTypes)) {
|
|
22290
|
+
body["ResourceTypes"] = request.resourceTypes;
|
|
22291
|
+
}
|
|
22292
|
+
|
|
22293
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
22294
|
+
body: OpenApiUtil.parseToMap(body),
|
|
22295
|
+
});
|
|
22296
|
+
let params = new $OpenApi.Params({
|
|
22297
|
+
action: "UpdateConfigurationRecorder",
|
|
22298
|
+
version: "2020-09-07",
|
|
22299
|
+
protocol: "HTTPS",
|
|
22300
|
+
pathname: "/",
|
|
22301
|
+
method: "POST",
|
|
22302
|
+
authType: "AK",
|
|
22303
|
+
style: "RPC",
|
|
22304
|
+
reqBodyType: "formData",
|
|
22305
|
+
bodyType: "json",
|
|
22306
|
+
});
|
|
22307
|
+
return $tea.cast<UpdateConfigurationRecorderResponse>(await this.callApi(params, req, runtime), new UpdateConfigurationRecorderResponse({}));
|
|
22308
|
+
}
|
|
22309
|
+
|
|
22310
|
+
async updateConfigurationRecorder(request: UpdateConfigurationRecorderRequest): Promise<UpdateConfigurationRecorderResponse> {
|
|
22311
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
22312
|
+
return await this.updateConfigurationRecorderWithOptions(request, runtime);
|
|
22313
|
+
}
|
|
22314
|
+
|
|
19980
22315
|
/**
|
|
19981
22316
|
* @deprecated : UpdateDeliveryChannel is deprecated, please use Config::2020-09-07::UpdateConfigDeliveryChannel,Config::2020-09-07::UpdateAggregateConfigDeliveryChannel instead.
|
|
19982
|
-
*
|
|
22317
|
+
* This topic provides an example on how to change the status of the delivery channel whose ID is `cdc-8e45ff4e06a3a8****` to 0, which indicates that the delivery channel is disabled. After the delivery channel is disabled, Cloud Config retains the last delivery configuration and stops resource data delivery.
|
|
19983
22318
|
*
|
|
19984
22319
|
* @param request UpdateDeliveryChannelRequest
|
|
19985
22320
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -20056,7 +22391,7 @@ export default class Client extends OpenApi {
|
|
|
20056
22391
|
|
|
20057
22392
|
/**
|
|
20058
22393
|
* @deprecated : UpdateDeliveryChannel is deprecated, please use Config::2020-09-07::UpdateConfigDeliveryChannel,Config::2020-09-07::UpdateAggregateConfigDeliveryChannel instead.
|
|
20059
|
-
*
|
|
22394
|
+
* This topic provides an example on how to change the status of the delivery channel whose ID is `cdc-8e45ff4e06a3a8****` to 0, which indicates that the delivery channel is disabled. After the delivery channel is disabled, Cloud Config retains the last delivery configuration and stops resource data delivery.
|
|
20060
22395
|
*
|
|
20061
22396
|
* @param request UpdateDeliveryChannelRequest
|
|
20062
22397
|
* @return UpdateDeliveryChannelResponse
|