@alicloud/cloudfw20171207 1.2.8 → 1.3.0

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/src/client.ts CHANGED
@@ -350,6 +350,123 @@ export class BatchCopyVpcFirewallControlPolicyResponse extends $tea.Model {
350
350
  }
351
351
  }
352
352
 
353
+ export class CreateNatFirewallControlPolicyRequest extends $tea.Model {
354
+ aclAction?: string;
355
+ applicationNameList?: string[];
356
+ description?: string;
357
+ destPort?: string;
358
+ destPortGroup?: string;
359
+ destPortType?: string;
360
+ destination?: string;
361
+ destinationType?: string;
362
+ direction?: string;
363
+ domainResolveType?: number;
364
+ ipVersion?: string;
365
+ lang?: string;
366
+ natGatewayId?: string;
367
+ newOrder?: string;
368
+ proto?: string;
369
+ release?: string;
370
+ source?: string;
371
+ sourceType?: string;
372
+ static names(): { [key: string]: string } {
373
+ return {
374
+ aclAction: 'AclAction',
375
+ applicationNameList: 'ApplicationNameList',
376
+ description: 'Description',
377
+ destPort: 'DestPort',
378
+ destPortGroup: 'DestPortGroup',
379
+ destPortType: 'DestPortType',
380
+ destination: 'Destination',
381
+ destinationType: 'DestinationType',
382
+ direction: 'Direction',
383
+ domainResolveType: 'DomainResolveType',
384
+ ipVersion: 'IpVersion',
385
+ lang: 'Lang',
386
+ natGatewayId: 'NatGatewayId',
387
+ newOrder: 'NewOrder',
388
+ proto: 'Proto',
389
+ release: 'Release',
390
+ source: 'Source',
391
+ sourceType: 'SourceType',
392
+ };
393
+ }
394
+
395
+ static types(): { [key: string]: any } {
396
+ return {
397
+ aclAction: 'string',
398
+ applicationNameList: { 'type': 'array', 'itemType': 'string' },
399
+ description: 'string',
400
+ destPort: 'string',
401
+ destPortGroup: 'string',
402
+ destPortType: 'string',
403
+ destination: 'string',
404
+ destinationType: 'string',
405
+ direction: 'string',
406
+ domainResolveType: 'number',
407
+ ipVersion: 'string',
408
+ lang: 'string',
409
+ natGatewayId: 'string',
410
+ newOrder: 'string',
411
+ proto: 'string',
412
+ release: 'string',
413
+ source: 'string',
414
+ sourceType: 'string',
415
+ };
416
+ }
417
+
418
+ constructor(map?: { [key: string]: any }) {
419
+ super(map);
420
+ }
421
+ }
422
+
423
+ export class CreateNatFirewallControlPolicyResponseBody extends $tea.Model {
424
+ aclUuid?: string;
425
+ requestId?: string;
426
+ static names(): { [key: string]: string } {
427
+ return {
428
+ aclUuid: 'AclUuid',
429
+ requestId: 'RequestId',
430
+ };
431
+ }
432
+
433
+ static types(): { [key: string]: any } {
434
+ return {
435
+ aclUuid: 'string',
436
+ requestId: 'string',
437
+ };
438
+ }
439
+
440
+ constructor(map?: { [key: string]: any }) {
441
+ super(map);
442
+ }
443
+ }
444
+
445
+ export class CreateNatFirewallControlPolicyResponse extends $tea.Model {
446
+ headers: { [key: string]: string };
447
+ statusCode: number;
448
+ body: CreateNatFirewallControlPolicyResponseBody;
449
+ static names(): { [key: string]: string } {
450
+ return {
451
+ headers: 'headers',
452
+ statusCode: 'statusCode',
453
+ body: 'body',
454
+ };
455
+ }
456
+
457
+ static types(): { [key: string]: any } {
458
+ return {
459
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
460
+ statusCode: 'number',
461
+ body: CreateNatFirewallControlPolicyResponseBody,
462
+ };
463
+ }
464
+
465
+ constructor(map?: { [key: string]: any }) {
466
+ super(map);
467
+ }
468
+ }
469
+
353
470
  export class CreateTrFirewallV2Request extends $tea.Model {
354
471
  cenId?: string;
355
472
  firewallDescription?: string;
@@ -1146,6 +1263,78 @@ export class DeleteInstanceMembersResponse extends $tea.Model {
1146
1263
  }
1147
1264
  }
1148
1265
 
1266
+ export class DeleteNatFirewallControlPolicyRequest extends $tea.Model {
1267
+ aclUuid?: string;
1268
+ direction?: string;
1269
+ lang?: string;
1270
+ natGatewayId?: string;
1271
+ static names(): { [key: string]: string } {
1272
+ return {
1273
+ aclUuid: 'AclUuid',
1274
+ direction: 'Direction',
1275
+ lang: 'Lang',
1276
+ natGatewayId: 'NatGatewayId',
1277
+ };
1278
+ }
1279
+
1280
+ static types(): { [key: string]: any } {
1281
+ return {
1282
+ aclUuid: 'string',
1283
+ direction: 'string',
1284
+ lang: 'string',
1285
+ natGatewayId: 'string',
1286
+ };
1287
+ }
1288
+
1289
+ constructor(map?: { [key: string]: any }) {
1290
+ super(map);
1291
+ }
1292
+ }
1293
+
1294
+ export class DeleteNatFirewallControlPolicyResponseBody extends $tea.Model {
1295
+ requestId?: string;
1296
+ static names(): { [key: string]: string } {
1297
+ return {
1298
+ requestId: 'RequestId',
1299
+ };
1300
+ }
1301
+
1302
+ static types(): { [key: string]: any } {
1303
+ return {
1304
+ requestId: 'string',
1305
+ };
1306
+ }
1307
+
1308
+ constructor(map?: { [key: string]: any }) {
1309
+ super(map);
1310
+ }
1311
+ }
1312
+
1313
+ export class DeleteNatFirewallControlPolicyResponse extends $tea.Model {
1314
+ headers: { [key: string]: string };
1315
+ statusCode: number;
1316
+ body: DeleteNatFirewallControlPolicyResponseBody;
1317
+ static names(): { [key: string]: string } {
1318
+ return {
1319
+ headers: 'headers',
1320
+ statusCode: 'statusCode',
1321
+ body: 'body',
1322
+ };
1323
+ }
1324
+
1325
+ static types(): { [key: string]: any } {
1326
+ return {
1327
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1328
+ statusCode: 'number',
1329
+ body: DeleteNatFirewallControlPolicyResponseBody,
1330
+ };
1331
+ }
1332
+
1333
+ constructor(map?: { [key: string]: any }) {
1334
+ super(map);
1335
+ }
1336
+ }
1337
+
1149
1338
  export class DeleteTrFirewallV2Request extends $tea.Model {
1150
1339
  firewallId?: string;
1151
1340
  lang?: string;
@@ -2220,56 +2409,50 @@ export class DescribeInvadeEventListResponse extends $tea.Model {
2220
2409
  }
2221
2410
  }
2222
2411
 
2223
- export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
2224
- applicationName?: string;
2225
- categoryId?: string;
2412
+ export class DescribeNatFirewallControlPolicyRequest extends $tea.Model {
2413
+ aclAction?: string;
2414
+ aclUuid?: string;
2226
2415
  currentPage?: string;
2227
- dstIP?: string;
2228
- endTime?: string;
2416
+ description?: string;
2417
+ destination?: string;
2418
+ direction?: string;
2229
2419
  lang?: string;
2230
- order?: string;
2420
+ natGatewayId?: string;
2231
2421
  pageSize?: string;
2232
- port?: string;
2233
- privateIP?: string;
2234
- publicIP?: string;
2235
- sort?: string;
2236
- startTime?: string;
2237
- tagIdNew?: string;
2422
+ proto?: string;
2423
+ release?: string;
2424
+ source?: string;
2238
2425
  static names(): { [key: string]: string } {
2239
2426
  return {
2240
- applicationName: 'ApplicationName',
2241
- categoryId: 'CategoryId',
2427
+ aclAction: 'AclAction',
2428
+ aclUuid: 'AclUuid',
2242
2429
  currentPage: 'CurrentPage',
2243
- dstIP: 'DstIP',
2244
- endTime: 'EndTime',
2430
+ description: 'Description',
2431
+ destination: 'Destination',
2432
+ direction: 'Direction',
2245
2433
  lang: 'Lang',
2246
- order: 'Order',
2434
+ natGatewayId: 'NatGatewayId',
2247
2435
  pageSize: 'PageSize',
2248
- port: 'Port',
2249
- privateIP: 'PrivateIP',
2250
- publicIP: 'PublicIP',
2251
- sort: 'Sort',
2252
- startTime: 'StartTime',
2253
- tagIdNew: 'TagIdNew',
2436
+ proto: 'Proto',
2437
+ release: 'Release',
2438
+ source: 'Source',
2254
2439
  };
2255
2440
  }
2256
2441
 
2257
2442
  static types(): { [key: string]: any } {
2258
2443
  return {
2259
- applicationName: 'string',
2260
- categoryId: 'string',
2444
+ aclAction: 'string',
2445
+ aclUuid: 'string',
2261
2446
  currentPage: 'string',
2262
- dstIP: 'string',
2263
- endTime: 'string',
2447
+ description: 'string',
2448
+ destination: 'string',
2449
+ direction: 'string',
2264
2450
  lang: 'string',
2265
- order: 'string',
2451
+ natGatewayId: 'string',
2266
2452
  pageSize: 'string',
2267
- port: 'string',
2268
- privateIP: 'string',
2269
- publicIP: 'string',
2270
- sort: 'string',
2271
- startTime: 'string',
2272
- tagIdNew: 'string',
2453
+ proto: 'string',
2454
+ release: 'string',
2455
+ source: 'string',
2273
2456
  };
2274
2457
  }
2275
2458
 
@@ -2278,13 +2461,13 @@ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
2278
2461
  }
2279
2462
  }
2280
2463
 
2281
- export class DescribeOutgoingDestinationIPResponseBody extends $tea.Model {
2282
- dstIPList?: DescribeOutgoingDestinationIPResponseBodyDstIPList[];
2464
+ export class DescribeNatFirewallControlPolicyResponseBody extends $tea.Model {
2465
+ policys?: DescribeNatFirewallControlPolicyResponseBodyPolicys[];
2283
2466
  requestId?: string;
2284
- totalCount?: number;
2467
+ totalCount?: string;
2285
2468
  static names(): { [key: string]: string } {
2286
2469
  return {
2287
- dstIPList: 'DstIPList',
2470
+ policys: 'Policys',
2288
2471
  requestId: 'RequestId',
2289
2472
  totalCount: 'TotalCount',
2290
2473
  };
@@ -2292,9 +2475,9 @@ export class DescribeOutgoingDestinationIPResponseBody extends $tea.Model {
2292
2475
 
2293
2476
  static types(): { [key: string]: any } {
2294
2477
  return {
2295
- dstIPList: { 'type': 'array', 'itemType': DescribeOutgoingDestinationIPResponseBodyDstIPList },
2478
+ policys: { 'type': 'array', 'itemType': DescribeNatFirewallControlPolicyResponseBodyPolicys },
2296
2479
  requestId: 'string',
2297
- totalCount: 'number',
2480
+ totalCount: 'string',
2298
2481
  };
2299
2482
  }
2300
2483
 
@@ -2303,10 +2486,10 @@ export class DescribeOutgoingDestinationIPResponseBody extends $tea.Model {
2303
2486
  }
2304
2487
  }
2305
2488
 
2306
- export class DescribeOutgoingDestinationIPResponse extends $tea.Model {
2489
+ export class DescribeNatFirewallControlPolicyResponse extends $tea.Model {
2307
2490
  headers: { [key: string]: string };
2308
2491
  statusCode: number;
2309
- body: DescribeOutgoingDestinationIPResponseBody;
2492
+ body: DescribeNatFirewallControlPolicyResponseBody;
2310
2493
  static names(): { [key: string]: string } {
2311
2494
  return {
2312
2495
  headers: 'headers',
@@ -2319,7 +2502,7 @@ export class DescribeOutgoingDestinationIPResponse extends $tea.Model {
2319
2502
  return {
2320
2503
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2321
2504
  statusCode: 'number',
2322
- body: DescribeOutgoingDestinationIPResponseBody,
2505
+ body: DescribeNatFirewallControlPolicyResponseBody,
2323
2506
  };
2324
2507
  }
2325
2508
 
@@ -2328,23 +2511,209 @@ export class DescribeOutgoingDestinationIPResponse extends $tea.Model {
2328
2511
  }
2329
2512
  }
2330
2513
 
2331
- export class DescribeOutgoingDomainRequest extends $tea.Model {
2332
- categoryId?: string;
2333
- currentPage?: string;
2334
- domain?: string;
2335
- endTime?: string;
2514
+ export class DescribeNatFirewallPolicyPriorUsedRequest extends $tea.Model {
2515
+ direction?: string;
2516
+ ipVersion?: string;
2336
2517
  lang?: string;
2337
- order?: string;
2338
- pageSize?: string;
2339
- publicIP?: string;
2340
- sort?: string;
2341
- startTime?: string;
2342
- tagIdNew?: string;
2518
+ natGatewayId?: string;
2343
2519
  static names(): { [key: string]: string } {
2344
2520
  return {
2345
- categoryId: 'CategoryId',
2346
- currentPage: 'CurrentPage',
2347
- domain: 'Domain',
2521
+ direction: 'Direction',
2522
+ ipVersion: 'IpVersion',
2523
+ lang: 'Lang',
2524
+ natGatewayId: 'NatGatewayId',
2525
+ };
2526
+ }
2527
+
2528
+ static types(): { [key: string]: any } {
2529
+ return {
2530
+ direction: 'string',
2531
+ ipVersion: 'string',
2532
+ lang: 'string',
2533
+ natGatewayId: 'string',
2534
+ };
2535
+ }
2536
+
2537
+ constructor(map?: { [key: string]: any }) {
2538
+ super(map);
2539
+ }
2540
+ }
2541
+
2542
+ export class DescribeNatFirewallPolicyPriorUsedResponseBody extends $tea.Model {
2543
+ end?: number;
2544
+ requestId?: string;
2545
+ start?: number;
2546
+ static names(): { [key: string]: string } {
2547
+ return {
2548
+ end: 'End',
2549
+ requestId: 'RequestId',
2550
+ start: 'Start',
2551
+ };
2552
+ }
2553
+
2554
+ static types(): { [key: string]: any } {
2555
+ return {
2556
+ end: 'number',
2557
+ requestId: 'string',
2558
+ start: 'number',
2559
+ };
2560
+ }
2561
+
2562
+ constructor(map?: { [key: string]: any }) {
2563
+ super(map);
2564
+ }
2565
+ }
2566
+
2567
+ export class DescribeNatFirewallPolicyPriorUsedResponse extends $tea.Model {
2568
+ headers: { [key: string]: string };
2569
+ statusCode: number;
2570
+ body: DescribeNatFirewallPolicyPriorUsedResponseBody;
2571
+ static names(): { [key: string]: string } {
2572
+ return {
2573
+ headers: 'headers',
2574
+ statusCode: 'statusCode',
2575
+ body: 'body',
2576
+ };
2577
+ }
2578
+
2579
+ static types(): { [key: string]: any } {
2580
+ return {
2581
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2582
+ statusCode: 'number',
2583
+ body: DescribeNatFirewallPolicyPriorUsedResponseBody,
2584
+ };
2585
+ }
2586
+
2587
+ constructor(map?: { [key: string]: any }) {
2588
+ super(map);
2589
+ }
2590
+ }
2591
+
2592
+ export class DescribeOutgoingDestinationIPRequest extends $tea.Model {
2593
+ applicationName?: string;
2594
+ categoryId?: string;
2595
+ currentPage?: string;
2596
+ dstIP?: string;
2597
+ endTime?: string;
2598
+ lang?: string;
2599
+ order?: string;
2600
+ pageSize?: string;
2601
+ port?: string;
2602
+ privateIP?: string;
2603
+ publicIP?: string;
2604
+ sort?: string;
2605
+ startTime?: string;
2606
+ tagIdNew?: string;
2607
+ static names(): { [key: string]: string } {
2608
+ return {
2609
+ applicationName: 'ApplicationName',
2610
+ categoryId: 'CategoryId',
2611
+ currentPage: 'CurrentPage',
2612
+ dstIP: 'DstIP',
2613
+ endTime: 'EndTime',
2614
+ lang: 'Lang',
2615
+ order: 'Order',
2616
+ pageSize: 'PageSize',
2617
+ port: 'Port',
2618
+ privateIP: 'PrivateIP',
2619
+ publicIP: 'PublicIP',
2620
+ sort: 'Sort',
2621
+ startTime: 'StartTime',
2622
+ tagIdNew: 'TagIdNew',
2623
+ };
2624
+ }
2625
+
2626
+ static types(): { [key: string]: any } {
2627
+ return {
2628
+ applicationName: 'string',
2629
+ categoryId: 'string',
2630
+ currentPage: 'string',
2631
+ dstIP: 'string',
2632
+ endTime: 'string',
2633
+ lang: 'string',
2634
+ order: 'string',
2635
+ pageSize: 'string',
2636
+ port: 'string',
2637
+ privateIP: 'string',
2638
+ publicIP: 'string',
2639
+ sort: 'string',
2640
+ startTime: 'string',
2641
+ tagIdNew: 'string',
2642
+ };
2643
+ }
2644
+
2645
+ constructor(map?: { [key: string]: any }) {
2646
+ super(map);
2647
+ }
2648
+ }
2649
+
2650
+ export class DescribeOutgoingDestinationIPResponseBody extends $tea.Model {
2651
+ dstIPList?: DescribeOutgoingDestinationIPResponseBodyDstIPList[];
2652
+ requestId?: string;
2653
+ totalCount?: number;
2654
+ static names(): { [key: string]: string } {
2655
+ return {
2656
+ dstIPList: 'DstIPList',
2657
+ requestId: 'RequestId',
2658
+ totalCount: 'TotalCount',
2659
+ };
2660
+ }
2661
+
2662
+ static types(): { [key: string]: any } {
2663
+ return {
2664
+ dstIPList: { 'type': 'array', 'itemType': DescribeOutgoingDestinationIPResponseBodyDstIPList },
2665
+ requestId: 'string',
2666
+ totalCount: 'number',
2667
+ };
2668
+ }
2669
+
2670
+ constructor(map?: { [key: string]: any }) {
2671
+ super(map);
2672
+ }
2673
+ }
2674
+
2675
+ export class DescribeOutgoingDestinationIPResponse extends $tea.Model {
2676
+ headers: { [key: string]: string };
2677
+ statusCode: number;
2678
+ body: DescribeOutgoingDestinationIPResponseBody;
2679
+ static names(): { [key: string]: string } {
2680
+ return {
2681
+ headers: 'headers',
2682
+ statusCode: 'statusCode',
2683
+ body: 'body',
2684
+ };
2685
+ }
2686
+
2687
+ static types(): { [key: string]: any } {
2688
+ return {
2689
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2690
+ statusCode: 'number',
2691
+ body: DescribeOutgoingDestinationIPResponseBody,
2692
+ };
2693
+ }
2694
+
2695
+ constructor(map?: { [key: string]: any }) {
2696
+ super(map);
2697
+ }
2698
+ }
2699
+
2700
+ export class DescribeOutgoingDomainRequest extends $tea.Model {
2701
+ categoryId?: string;
2702
+ currentPage?: string;
2703
+ domain?: string;
2704
+ endTime?: string;
2705
+ lang?: string;
2706
+ order?: string;
2707
+ pageSize?: string;
2708
+ publicIP?: string;
2709
+ sort?: string;
2710
+ startTime?: string;
2711
+ tagIdNew?: string;
2712
+ static names(): { [key: string]: string } {
2713
+ return {
2714
+ categoryId: 'CategoryId',
2715
+ currentPage: 'CurrentPage',
2716
+ domain: 'Domain',
2348
2717
  endTime: 'EndTime',
2349
2718
  lang: 'Lang',
2350
2719
  order: 'Order',
@@ -2706,6 +3075,126 @@ export class DescribeRiskEventGroupResponse extends $tea.Model {
2706
3075
  }
2707
3076
  }
2708
3077
 
3078
+ export class DescribeRiskEventPayloadRequest extends $tea.Model {
3079
+ dstIP?: string;
3080
+ dstVpcId?: string;
3081
+ endTime?: string;
3082
+ firewallType?: string;
3083
+ publicIP?: string;
3084
+ srcIP?: string;
3085
+ srcVpcId?: string;
3086
+ startTime?: string;
3087
+ UUID?: string;
3088
+ static names(): { [key: string]: string } {
3089
+ return {
3090
+ dstIP: 'DstIP',
3091
+ dstVpcId: 'DstVpcId',
3092
+ endTime: 'EndTime',
3093
+ firewallType: 'FirewallType',
3094
+ publicIP: 'PublicIP',
3095
+ srcIP: 'SrcIP',
3096
+ srcVpcId: 'SrcVpcId',
3097
+ startTime: 'StartTime',
3098
+ UUID: 'UUID',
3099
+ };
3100
+ }
3101
+
3102
+ static types(): { [key: string]: any } {
3103
+ return {
3104
+ dstIP: 'string',
3105
+ dstVpcId: 'string',
3106
+ endTime: 'string',
3107
+ firewallType: 'string',
3108
+ publicIP: 'string',
3109
+ srcIP: 'string',
3110
+ srcVpcId: 'string',
3111
+ startTime: 'string',
3112
+ UUID: 'string',
3113
+ };
3114
+ }
3115
+
3116
+ constructor(map?: { [key: string]: any }) {
3117
+ super(map);
3118
+ }
3119
+ }
3120
+
3121
+ export class DescribeRiskEventPayloadResponseBody extends $tea.Model {
3122
+ dstIP?: string;
3123
+ dstPort?: number;
3124
+ dstVpcId?: string;
3125
+ payload?: string;
3126
+ payloadLen?: number;
3127
+ proto?: string;
3128
+ realIp?: string;
3129
+ requestId?: string;
3130
+ srcIP?: string;
3131
+ srcPort?: number;
3132
+ srcVpcId?: string;
3133
+ XForwardFor?: string;
3134
+ static names(): { [key: string]: string } {
3135
+ return {
3136
+ dstIP: 'DstIP',
3137
+ dstPort: 'DstPort',
3138
+ dstVpcId: 'DstVpcId',
3139
+ payload: 'Payload',
3140
+ payloadLen: 'PayloadLen',
3141
+ proto: 'Proto',
3142
+ realIp: 'RealIp',
3143
+ requestId: 'RequestId',
3144
+ srcIP: 'SrcIP',
3145
+ srcPort: 'SrcPort',
3146
+ srcVpcId: 'SrcVpcId',
3147
+ XForwardFor: 'XForwardFor',
3148
+ };
3149
+ }
3150
+
3151
+ static types(): { [key: string]: any } {
3152
+ return {
3153
+ dstIP: 'string',
3154
+ dstPort: 'number',
3155
+ dstVpcId: 'string',
3156
+ payload: 'string',
3157
+ payloadLen: 'number',
3158
+ proto: 'string',
3159
+ realIp: 'string',
3160
+ requestId: 'string',
3161
+ srcIP: 'string',
3162
+ srcPort: 'number',
3163
+ srcVpcId: 'string',
3164
+ XForwardFor: 'string',
3165
+ };
3166
+ }
3167
+
3168
+ constructor(map?: { [key: string]: any }) {
3169
+ super(map);
3170
+ }
3171
+ }
3172
+
3173
+ export class DescribeRiskEventPayloadResponse extends $tea.Model {
3174
+ headers: { [key: string]: string };
3175
+ statusCode: number;
3176
+ body: DescribeRiskEventPayloadResponseBody;
3177
+ static names(): { [key: string]: string } {
3178
+ return {
3179
+ headers: 'headers',
3180
+ statusCode: 'statusCode',
3181
+ body: 'body',
3182
+ };
3183
+ }
3184
+
3185
+ static types(): { [key: string]: any } {
3186
+ return {
3187
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3188
+ statusCode: 'number',
3189
+ body: DescribeRiskEventPayloadResponseBody,
3190
+ };
3191
+ }
3192
+
3193
+ constructor(map?: { [key: string]: any }) {
3194
+ super(map);
3195
+ }
3196
+ }
3197
+
2709
3198
  export class DescribeTrFirewallPolicyBackUpAssociationListRequest extends $tea.Model {
2710
3199
  firewallId?: string;
2711
3200
  lang?: string;
@@ -2890,10 +3379,14 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $tea.Model {
2890
3379
  firewallId?: string;
2891
3380
  firewallName?: string;
2892
3381
  firewallStatus?: string;
3382
+ firewallSubnetCidr?: string;
2893
3383
  firewallSwitchStatus?: string;
3384
+ firewallVpcCidr?: string;
2894
3385
  regionNo?: string;
2895
3386
  requestId?: string;
2896
3387
  routeMode?: string;
3388
+ trAttachmentMasterCidr?: string;
3389
+ trAttachmentSlaveCidr?: string;
2897
3390
  transitRouterId?: string;
2898
3391
  static names(): { [key: string]: string } {
2899
3392
  return {
@@ -2905,10 +3398,14 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $tea.Model {
2905
3398
  firewallId: 'FirewallId',
2906
3399
  firewallName: 'FirewallName',
2907
3400
  firewallStatus: 'FirewallStatus',
3401
+ firewallSubnetCidr: 'FirewallSubnetCidr',
2908
3402
  firewallSwitchStatus: 'FirewallSwitchStatus',
3403
+ firewallVpcCidr: 'FirewallVpcCidr',
2909
3404
  regionNo: 'RegionNo',
2910
3405
  requestId: 'RequestId',
2911
3406
  routeMode: 'RouteMode',
3407
+ trAttachmentMasterCidr: 'TrAttachmentMasterCidr',
3408
+ trAttachmentSlaveCidr: 'TrAttachmentSlaveCidr',
2912
3409
  transitRouterId: 'TransitRouterId',
2913
3410
  };
2914
3411
  }
@@ -2923,10 +3420,14 @@ export class DescribeTrFirewallsV2DetailResponseBody extends $tea.Model {
2923
3420
  firewallId: 'string',
2924
3421
  firewallName: 'string',
2925
3422
  firewallStatus: 'string',
3423
+ firewallSubnetCidr: 'string',
2926
3424
  firewallSwitchStatus: 'string',
3425
+ firewallVpcCidr: 'string',
2927
3426
  regionNo: 'string',
2928
3427
  requestId: 'string',
2929
3428
  routeMode: 'string',
3429
+ trAttachmentMasterCidr: 'string',
3430
+ trAttachmentSlaveCidr: 'string',
2930
3431
  transitRouterId: 'string',
2931
3432
  };
2932
3433
  }
@@ -4500,26 +5001,197 @@ export class ModifyDefaultIPSConfigResponse extends $tea.Model {
4500
5001
  export class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
4501
5002
  firewallId?: string;
4502
5003
  lang?: string;
4503
- shouldRecover?: string;
4504
- trFirewallRoutePolicyId?: string;
4505
- trFirewallRoutePolicySwitchStatus?: string;
5004
+ shouldRecover?: string;
5005
+ trFirewallRoutePolicyId?: string;
5006
+ trFirewallRoutePolicySwitchStatus?: string;
5007
+ static names(): { [key: string]: string } {
5008
+ return {
5009
+ firewallId: 'FirewallId',
5010
+ lang: 'Lang',
5011
+ shouldRecover: 'ShouldRecover',
5012
+ trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
5013
+ trFirewallRoutePolicySwitchStatus: 'TrFirewallRoutePolicySwitchStatus',
5014
+ };
5015
+ }
5016
+
5017
+ static types(): { [key: string]: any } {
5018
+ return {
5019
+ firewallId: 'string',
5020
+ lang: 'string',
5021
+ shouldRecover: 'string',
5022
+ trFirewallRoutePolicyId: 'string',
5023
+ trFirewallRoutePolicySwitchStatus: 'string',
5024
+ };
5025
+ }
5026
+
5027
+ constructor(map?: { [key: string]: any }) {
5028
+ super(map);
5029
+ }
5030
+ }
5031
+
5032
+ export class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
5033
+ requestId?: string;
5034
+ static names(): { [key: string]: string } {
5035
+ return {
5036
+ requestId: 'RequestId',
5037
+ };
5038
+ }
5039
+
5040
+ static types(): { [key: string]: any } {
5041
+ return {
5042
+ requestId: 'string',
5043
+ };
5044
+ }
5045
+
5046
+ constructor(map?: { [key: string]: any }) {
5047
+ super(map);
5048
+ }
5049
+ }
5050
+
5051
+ export class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
5052
+ headers: { [key: string]: string };
5053
+ statusCode: number;
5054
+ body: ModifyFirewallV2RoutePolicySwitchResponseBody;
5055
+ static names(): { [key: string]: string } {
5056
+ return {
5057
+ headers: 'headers',
5058
+ statusCode: 'statusCode',
5059
+ body: 'body',
5060
+ };
5061
+ }
5062
+
5063
+ static types(): { [key: string]: any } {
5064
+ return {
5065
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5066
+ statusCode: 'number',
5067
+ body: ModifyFirewallV2RoutePolicySwitchResponseBody,
5068
+ };
5069
+ }
5070
+
5071
+ constructor(map?: { [key: string]: any }) {
5072
+ super(map);
5073
+ }
5074
+ }
5075
+
5076
+ export class ModifyInstanceMemberAttributesRequest extends $tea.Model {
5077
+ members?: ModifyInstanceMemberAttributesRequestMembers[];
5078
+ static names(): { [key: string]: string } {
5079
+ return {
5080
+ members: 'Members',
5081
+ };
5082
+ }
5083
+
5084
+ static types(): { [key: string]: any } {
5085
+ return {
5086
+ members: { 'type': 'array', 'itemType': ModifyInstanceMemberAttributesRequestMembers },
5087
+ };
5088
+ }
5089
+
5090
+ constructor(map?: { [key: string]: any }) {
5091
+ super(map);
5092
+ }
5093
+ }
5094
+
5095
+ export class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
5096
+ requestId?: string;
5097
+ static names(): { [key: string]: string } {
5098
+ return {
5099
+ requestId: 'RequestId',
5100
+ };
5101
+ }
5102
+
5103
+ static types(): { [key: string]: any } {
5104
+ return {
5105
+ requestId: 'string',
5106
+ };
5107
+ }
5108
+
5109
+ constructor(map?: { [key: string]: any }) {
5110
+ super(map);
5111
+ }
5112
+ }
5113
+
5114
+ export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
5115
+ headers: { [key: string]: string };
5116
+ statusCode: number;
5117
+ body: ModifyInstanceMemberAttributesResponseBody;
5118
+ static names(): { [key: string]: string } {
5119
+ return {
5120
+ headers: 'headers',
5121
+ statusCode: 'statusCode',
5122
+ body: 'body',
5123
+ };
5124
+ }
5125
+
5126
+ static types(): { [key: string]: any } {
5127
+ return {
5128
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5129
+ statusCode: 'number',
5130
+ body: ModifyInstanceMemberAttributesResponseBody,
5131
+ };
5132
+ }
5133
+
5134
+ constructor(map?: { [key: string]: any }) {
5135
+ super(map);
5136
+ }
5137
+ }
5138
+
5139
+ export class ModifyNatFirewallControlPolicyRequest extends $tea.Model {
5140
+ aclAction?: string;
5141
+ aclUuid?: string;
5142
+ applicationNameList?: string[];
5143
+ description?: string;
5144
+ destPort?: string;
5145
+ destPortGroup?: string;
5146
+ destPortType?: string;
5147
+ destination?: string;
5148
+ destinationType?: string;
5149
+ domainResolveType?: string;
5150
+ lang?: string;
5151
+ natGatewayId?: string;
5152
+ proto?: string;
5153
+ release?: string;
5154
+ source?: string;
5155
+ sourceType?: string;
4506
5156
  static names(): { [key: string]: string } {
4507
5157
  return {
4508
- firewallId: 'FirewallId',
5158
+ aclAction: 'AclAction',
5159
+ aclUuid: 'AclUuid',
5160
+ applicationNameList: 'ApplicationNameList',
5161
+ description: 'Description',
5162
+ destPort: 'DestPort',
5163
+ destPortGroup: 'DestPortGroup',
5164
+ destPortType: 'DestPortType',
5165
+ destination: 'Destination',
5166
+ destinationType: 'DestinationType',
5167
+ domainResolveType: 'DomainResolveType',
4509
5168
  lang: 'Lang',
4510
- shouldRecover: 'ShouldRecover',
4511
- trFirewallRoutePolicyId: 'TrFirewallRoutePolicyId',
4512
- trFirewallRoutePolicySwitchStatus: 'TrFirewallRoutePolicySwitchStatus',
5169
+ natGatewayId: 'NatGatewayId',
5170
+ proto: 'Proto',
5171
+ release: 'Release',
5172
+ source: 'Source',
5173
+ sourceType: 'SourceType',
4513
5174
  };
4514
5175
  }
4515
5176
 
4516
5177
  static types(): { [key: string]: any } {
4517
5178
  return {
4518
- firewallId: 'string',
5179
+ aclAction: 'string',
5180
+ aclUuid: 'string',
5181
+ applicationNameList: { 'type': 'array', 'itemType': 'string' },
5182
+ description: 'string',
5183
+ destPort: 'string',
5184
+ destPortGroup: 'string',
5185
+ destPortType: 'string',
5186
+ destination: 'string',
5187
+ destinationType: 'string',
5188
+ domainResolveType: 'string',
4519
5189
  lang: 'string',
4520
- shouldRecover: 'string',
4521
- trFirewallRoutePolicyId: 'string',
4522
- trFirewallRoutePolicySwitchStatus: 'string',
5190
+ natGatewayId: 'string',
5191
+ proto: 'string',
5192
+ release: 'string',
5193
+ source: 'string',
5194
+ sourceType: 'string',
4523
5195
  };
4524
5196
  }
4525
5197
 
@@ -4528,7 +5200,7 @@ export class ModifyFirewallV2RoutePolicySwitchRequest extends $tea.Model {
4528
5200
  }
4529
5201
  }
4530
5202
 
4531
- export class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
5203
+ export class ModifyNatFirewallControlPolicyResponseBody extends $tea.Model {
4532
5204
  requestId?: string;
4533
5205
  static names(): { [key: string]: string } {
4534
5206
  return {
@@ -4547,10 +5219,10 @@ export class ModifyFirewallV2RoutePolicySwitchResponseBody extends $tea.Model {
4547
5219
  }
4548
5220
  }
4549
5221
 
4550
- export class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
5222
+ export class ModifyNatFirewallControlPolicyResponse extends $tea.Model {
4551
5223
  headers: { [key: string]: string };
4552
5224
  statusCode: number;
4553
- body: ModifyFirewallV2RoutePolicySwitchResponseBody;
5225
+ body: ModifyNatFirewallControlPolicyResponseBody;
4554
5226
  static names(): { [key: string]: string } {
4555
5227
  return {
4556
5228
  headers: 'headers',
@@ -4563,7 +5235,7 @@ export class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
4563
5235
  return {
4564
5236
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4565
5237
  statusCode: 'number',
4566
- body: ModifyFirewallV2RoutePolicySwitchResponseBody,
5238
+ body: ModifyNatFirewallControlPolicyResponseBody,
4567
5239
  };
4568
5240
  }
4569
5241
 
@@ -4572,17 +5244,26 @@ export class ModifyFirewallV2RoutePolicySwitchResponse extends $tea.Model {
4572
5244
  }
4573
5245
  }
4574
5246
 
4575
- export class ModifyInstanceMemberAttributesRequest extends $tea.Model {
4576
- members?: ModifyInstanceMemberAttributesRequestMembers[];
5247
+ export class ModifyNatFirewallControlPolicyPositionRequest extends $tea.Model {
5248
+ aclUuid?: string;
5249
+ lang?: string;
5250
+ natGatewayId?: string;
5251
+ newOrder?: number;
4577
5252
  static names(): { [key: string]: string } {
4578
5253
  return {
4579
- members: 'Members',
5254
+ aclUuid: 'AclUuid',
5255
+ lang: 'Lang',
5256
+ natGatewayId: 'NatGatewayId',
5257
+ newOrder: 'NewOrder',
4580
5258
  };
4581
5259
  }
4582
5260
 
4583
5261
  static types(): { [key: string]: any } {
4584
5262
  return {
4585
- members: { 'type': 'array', 'itemType': ModifyInstanceMemberAttributesRequestMembers },
5263
+ aclUuid: 'string',
5264
+ lang: 'string',
5265
+ natGatewayId: 'string',
5266
+ newOrder: 'number',
4586
5267
  };
4587
5268
  }
4588
5269
 
@@ -4591,7 +5272,7 @@ export class ModifyInstanceMemberAttributesRequest extends $tea.Model {
4591
5272
  }
4592
5273
  }
4593
5274
 
4594
- export class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
5275
+ export class ModifyNatFirewallControlPolicyPositionResponseBody extends $tea.Model {
4595
5276
  requestId?: string;
4596
5277
  static names(): { [key: string]: string } {
4597
5278
  return {
@@ -4610,10 +5291,10 @@ export class ModifyInstanceMemberAttributesResponseBody extends $tea.Model {
4610
5291
  }
4611
5292
  }
4612
5293
 
4613
- export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
5294
+ export class ModifyNatFirewallControlPolicyPositionResponse extends $tea.Model {
4614
5295
  headers: { [key: string]: string };
4615
5296
  statusCode: number;
4616
- body: ModifyInstanceMemberAttributesResponseBody;
5297
+ body: ModifyNatFirewallControlPolicyPositionResponseBody;
4617
5298
  static names(): { [key: string]: string } {
4618
5299
  return {
4619
5300
  headers: 'headers',
@@ -4626,7 +5307,7 @@ export class ModifyInstanceMemberAttributesResponse extends $tea.Model {
4626
5307
  return {
4627
5308
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4628
5309
  statusCode: 'number',
4629
- body: ModifyInstanceMemberAttributesResponseBody,
5310
+ body: ModifyNatFirewallControlPolicyPositionResponseBody,
4630
5311
  };
4631
5312
  }
4632
5313
 
@@ -5291,12 +5972,14 @@ export class ModifyVpcFirewallControlPolicyResponse extends $tea.Model {
5291
5972
  }
5292
5973
 
5293
5974
  export class ModifyVpcFirewallControlPolicyPositionRequest extends $tea.Model {
5975
+ aclUuid?: string;
5294
5976
  lang?: string;
5295
5977
  newOrder?: string;
5296
5978
  oldOrder?: string;
5297
5979
  vpcFirewallId?: string;
5298
5980
  static names(): { [key: string]: string } {
5299
5981
  return {
5982
+ aclUuid: 'AclUuid',
5300
5983
  lang: 'Lang',
5301
5984
  newOrder: 'NewOrder',
5302
5985
  oldOrder: 'OldOrder',
@@ -5306,6 +5989,7 @@ export class ModifyVpcFirewallControlPolicyPositionRequest extends $tea.Model {
5306
5989
 
5307
5990
  static types(): { [key: string]: any } {
5308
5991
  return {
5992
+ aclUuid: 'string',
5309
5993
  lang: 'string',
5310
5994
  newOrder: 'string',
5311
5995
  oldOrder: 'string',
@@ -6423,6 +7107,106 @@ export class DescribeInvadeEventListResponseBodyPageInfo extends $tea.Model {
6423
7107
  }
6424
7108
  }
6425
7109
 
7110
+ export class DescribeNatFirewallControlPolicyResponseBodyPolicys extends $tea.Model {
7111
+ aclAction?: string;
7112
+ aclUuid?: string;
7113
+ applicationNameList?: string[];
7114
+ createTime?: number;
7115
+ description?: string;
7116
+ destPort?: string;
7117
+ destPortGroup?: string;
7118
+ destPortGroupPorts?: string[];
7119
+ destPortType?: string;
7120
+ destination?: string;
7121
+ destinationGroupCidrs?: string[];
7122
+ destinationGroupType?: string;
7123
+ destinationType?: string;
7124
+ dnsResult?: string;
7125
+ dnsResultTime?: number;
7126
+ domainResolveType?: number;
7127
+ hitLastTime?: number;
7128
+ hitTimes?: number;
7129
+ modifyTime?: number;
7130
+ natGatewayId?: string;
7131
+ order?: number;
7132
+ proto?: string;
7133
+ release?: string;
7134
+ source?: string;
7135
+ sourceGroupCidrs?: string[];
7136
+ sourceGroupType?: string;
7137
+ sourceType?: string;
7138
+ spreadCnt?: string;
7139
+ static names(): { [key: string]: string } {
7140
+ return {
7141
+ aclAction: 'AclAction',
7142
+ aclUuid: 'AclUuid',
7143
+ applicationNameList: 'ApplicationNameList',
7144
+ createTime: 'CreateTime',
7145
+ description: 'Description',
7146
+ destPort: 'DestPort',
7147
+ destPortGroup: 'DestPortGroup',
7148
+ destPortGroupPorts: 'DestPortGroupPorts',
7149
+ destPortType: 'DestPortType',
7150
+ destination: 'Destination',
7151
+ destinationGroupCidrs: 'DestinationGroupCidrs',
7152
+ destinationGroupType: 'DestinationGroupType',
7153
+ destinationType: 'DestinationType',
7154
+ dnsResult: 'DnsResult',
7155
+ dnsResultTime: 'DnsResultTime',
7156
+ domainResolveType: 'DomainResolveType',
7157
+ hitLastTime: 'HitLastTime',
7158
+ hitTimes: 'HitTimes',
7159
+ modifyTime: 'ModifyTime',
7160
+ natGatewayId: 'NatGatewayId',
7161
+ order: 'Order',
7162
+ proto: 'Proto',
7163
+ release: 'Release',
7164
+ source: 'Source',
7165
+ sourceGroupCidrs: 'SourceGroupCidrs',
7166
+ sourceGroupType: 'SourceGroupType',
7167
+ sourceType: 'SourceType',
7168
+ spreadCnt: 'SpreadCnt',
7169
+ };
7170
+ }
7171
+
7172
+ static types(): { [key: string]: any } {
7173
+ return {
7174
+ aclAction: 'string',
7175
+ aclUuid: 'string',
7176
+ applicationNameList: { 'type': 'array', 'itemType': 'string' },
7177
+ createTime: 'number',
7178
+ description: 'string',
7179
+ destPort: 'string',
7180
+ destPortGroup: 'string',
7181
+ destPortGroupPorts: { 'type': 'array', 'itemType': 'string' },
7182
+ destPortType: 'string',
7183
+ destination: 'string',
7184
+ destinationGroupCidrs: { 'type': 'array', 'itemType': 'string' },
7185
+ destinationGroupType: 'string',
7186
+ destinationType: 'string',
7187
+ dnsResult: 'string',
7188
+ dnsResultTime: 'number',
7189
+ domainResolveType: 'number',
7190
+ hitLastTime: 'number',
7191
+ hitTimes: 'number',
7192
+ modifyTime: 'number',
7193
+ natGatewayId: 'string',
7194
+ order: 'number',
7195
+ proto: 'string',
7196
+ release: 'string',
7197
+ source: 'string',
7198
+ sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
7199
+ sourceGroupType: 'string',
7200
+ sourceType: 'string',
7201
+ spreadCnt: 'string',
7202
+ };
7203
+ }
7204
+
7205
+ constructor(map?: { [key: string]: any }) {
7206
+ super(map);
7207
+ }
7208
+ }
7209
+
6426
7210
  export class DescribeOutgoingDestinationIPResponseBodyDstIPListAddressGroupList extends $tea.Model {
6427
7211
  addressGroupName?: string;
6428
7212
  addressGroupUUID?: string;
@@ -8578,42 +9362,150 @@ export default class Client extends OpenApi {
8578
9362
  return await this.addInstanceMembersWithOptions(request, runtime);
8579
9363
  }
8580
9364
 
8581
- /**
8582
- * You can call the BatchCopyVpcFirewallControlPolicy operation to copy all access control policies from a policy group of a source VPC firewall to a policy group of a destination VPC firewall.
8583
- * Before you call this operation, we recommend that you back up access control policies. For more information about how to back up an access control policy, see [Back up an access control policy](https://www.alibabacloud.com/help/en/cloud-firewall/latest/back-up-and-roll-back-an-access-control-policy).
8584
- * After you call this operation, all the access control policies in the policy group of the destination VPC firewall are replaced.
8585
- * The policy groups of the source VPC firewall and the destination VPC firewall must belong to the same Alibaba Cloud account.
8586
- * ## Limits
8587
- * You can call this operation up to 10 times per second per account. When the number of calls to this operation per second exceeds the limit, throttling is triggered. Throttling may affect your business. We recommend that you take note of the limit on this operation.
8588
- *
8589
- * @param request BatchCopyVpcFirewallControlPolicyRequest
8590
- * @param runtime runtime options for this request RuntimeOptions
8591
- * @return BatchCopyVpcFirewallControlPolicyResponse
8592
- */
8593
- async batchCopyVpcFirewallControlPolicyWithOptions(request: BatchCopyVpcFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<BatchCopyVpcFirewallControlPolicyResponse> {
8594
- Util.validateModel(request);
8595
- let query = { };
9365
+ /**
9366
+ * You can call the BatchCopyVpcFirewallControlPolicy operation to copy all access control policies from a policy group of a source VPC firewall to a policy group of a destination VPC firewall.
9367
+ * Before you call this operation, we recommend that you back up access control policies. For more information about how to back up an access control policy, see [Back up an access control policy](https://www.alibabacloud.com/help/en/cloud-firewall/latest/back-up-and-roll-back-an-access-control-policy).
9368
+ * After you call this operation, all the access control policies in the policy group of the destination VPC firewall are replaced.
9369
+ * The policy groups of the source VPC firewall and the destination VPC firewall must belong to the same Alibaba Cloud account.
9370
+ * ## Limits
9371
+ * You can call this operation up to 10 times per second per account. When the number of calls to this operation per second exceeds the limit, throttling is triggered. Throttling may affect your business. We recommend that you take note of the limit on this operation.
9372
+ *
9373
+ * @param request BatchCopyVpcFirewallControlPolicyRequest
9374
+ * @param runtime runtime options for this request RuntimeOptions
9375
+ * @return BatchCopyVpcFirewallControlPolicyResponse
9376
+ */
9377
+ async batchCopyVpcFirewallControlPolicyWithOptions(request: BatchCopyVpcFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<BatchCopyVpcFirewallControlPolicyResponse> {
9378
+ Util.validateModel(request);
9379
+ let query = { };
9380
+ if (!Util.isUnset(request.lang)) {
9381
+ query["Lang"] = request.lang;
9382
+ }
9383
+
9384
+ if (!Util.isUnset(request.sourceIp)) {
9385
+ query["SourceIp"] = request.sourceIp;
9386
+ }
9387
+
9388
+ if (!Util.isUnset(request.sourceVpcFirewallId)) {
9389
+ query["SourceVpcFirewallId"] = request.sourceVpcFirewallId;
9390
+ }
9391
+
9392
+ if (!Util.isUnset(request.targetVpcFirewallId)) {
9393
+ query["TargetVpcFirewallId"] = request.targetVpcFirewallId;
9394
+ }
9395
+
9396
+ let req = new $OpenApi.OpenApiRequest({
9397
+ query: OpenApiUtil.query(query),
9398
+ });
9399
+ let params = new $OpenApi.Params({
9400
+ action: "BatchCopyVpcFirewallControlPolicy",
9401
+ version: "2017-12-07",
9402
+ protocol: "HTTPS",
9403
+ pathname: "/",
9404
+ method: "POST",
9405
+ authType: "AK",
9406
+ style: "RPC",
9407
+ reqBodyType: "formData",
9408
+ bodyType: "json",
9409
+ });
9410
+ return $tea.cast<BatchCopyVpcFirewallControlPolicyResponse>(await this.callApi(params, req, runtime), new BatchCopyVpcFirewallControlPolicyResponse({}));
9411
+ }
9412
+
9413
+ /**
9414
+ * You can call the BatchCopyVpcFirewallControlPolicy operation to copy all access control policies from a policy group of a source VPC firewall to a policy group of a destination VPC firewall.
9415
+ * Before you call this operation, we recommend that you back up access control policies. For more information about how to back up an access control policy, see [Back up an access control policy](https://www.alibabacloud.com/help/en/cloud-firewall/latest/back-up-and-roll-back-an-access-control-policy).
9416
+ * After you call this operation, all the access control policies in the policy group of the destination VPC firewall are replaced.
9417
+ * The policy groups of the source VPC firewall and the destination VPC firewall must belong to the same Alibaba Cloud account.
9418
+ * ## Limits
9419
+ * You can call this operation up to 10 times per second per account. When the number of calls to this operation per second exceeds the limit, throttling is triggered. Throttling may affect your business. We recommend that you take note of the limit on this operation.
9420
+ *
9421
+ * @param request BatchCopyVpcFirewallControlPolicyRequest
9422
+ * @return BatchCopyVpcFirewallControlPolicyResponse
9423
+ */
9424
+ async batchCopyVpcFirewallControlPolicy(request: BatchCopyVpcFirewallControlPolicyRequest): Promise<BatchCopyVpcFirewallControlPolicyResponse> {
9425
+ let runtime = new $Util.RuntimeOptions({ });
9426
+ return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
9427
+ }
9428
+
9429
+ async createNatFirewallControlPolicyWithOptions(request: CreateNatFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateNatFirewallControlPolicyResponse> {
9430
+ Util.validateModel(request);
9431
+ let query = { };
9432
+ if (!Util.isUnset(request.aclAction)) {
9433
+ query["AclAction"] = request.aclAction;
9434
+ }
9435
+
9436
+ if (!Util.isUnset(request.applicationNameList)) {
9437
+ query["ApplicationNameList"] = request.applicationNameList;
9438
+ }
9439
+
9440
+ if (!Util.isUnset(request.description)) {
9441
+ query["Description"] = request.description;
9442
+ }
9443
+
9444
+ if (!Util.isUnset(request.destPort)) {
9445
+ query["DestPort"] = request.destPort;
9446
+ }
9447
+
9448
+ if (!Util.isUnset(request.destPortGroup)) {
9449
+ query["DestPortGroup"] = request.destPortGroup;
9450
+ }
9451
+
9452
+ if (!Util.isUnset(request.destPortType)) {
9453
+ query["DestPortType"] = request.destPortType;
9454
+ }
9455
+
9456
+ if (!Util.isUnset(request.destination)) {
9457
+ query["Destination"] = request.destination;
9458
+ }
9459
+
9460
+ if (!Util.isUnset(request.destinationType)) {
9461
+ query["DestinationType"] = request.destinationType;
9462
+ }
9463
+
9464
+ if (!Util.isUnset(request.direction)) {
9465
+ query["Direction"] = request.direction;
9466
+ }
9467
+
9468
+ if (!Util.isUnset(request.domainResolveType)) {
9469
+ query["DomainResolveType"] = request.domainResolveType;
9470
+ }
9471
+
9472
+ if (!Util.isUnset(request.ipVersion)) {
9473
+ query["IpVersion"] = request.ipVersion;
9474
+ }
9475
+
8596
9476
  if (!Util.isUnset(request.lang)) {
8597
9477
  query["Lang"] = request.lang;
8598
9478
  }
8599
9479
 
8600
- if (!Util.isUnset(request.sourceIp)) {
8601
- query["SourceIp"] = request.sourceIp;
9480
+ if (!Util.isUnset(request.natGatewayId)) {
9481
+ query["NatGatewayId"] = request.natGatewayId;
8602
9482
  }
8603
9483
 
8604
- if (!Util.isUnset(request.sourceVpcFirewallId)) {
8605
- query["SourceVpcFirewallId"] = request.sourceVpcFirewallId;
9484
+ if (!Util.isUnset(request.newOrder)) {
9485
+ query["NewOrder"] = request.newOrder;
8606
9486
  }
8607
9487
 
8608
- if (!Util.isUnset(request.targetVpcFirewallId)) {
8609
- query["TargetVpcFirewallId"] = request.targetVpcFirewallId;
9488
+ if (!Util.isUnset(request.proto)) {
9489
+ query["Proto"] = request.proto;
9490
+ }
9491
+
9492
+ if (!Util.isUnset(request.release)) {
9493
+ query["Release"] = request.release;
9494
+ }
9495
+
9496
+ if (!Util.isUnset(request.source)) {
9497
+ query["Source"] = request.source;
9498
+ }
9499
+
9500
+ if (!Util.isUnset(request.sourceType)) {
9501
+ query["SourceType"] = request.sourceType;
8610
9502
  }
8611
9503
 
8612
9504
  let req = new $OpenApi.OpenApiRequest({
8613
9505
  query: OpenApiUtil.query(query),
8614
9506
  });
8615
9507
  let params = new $OpenApi.Params({
8616
- action: "BatchCopyVpcFirewallControlPolicy",
9508
+ action: "CreateNatFirewallControlPolicy",
8617
9509
  version: "2017-12-07",
8618
9510
  protocol: "HTTPS",
8619
9511
  pathname: "/",
@@ -8623,23 +9515,12 @@ export default class Client extends OpenApi {
8623
9515
  reqBodyType: "formData",
8624
9516
  bodyType: "json",
8625
9517
  });
8626
- return $tea.cast<BatchCopyVpcFirewallControlPolicyResponse>(await this.callApi(params, req, runtime), new BatchCopyVpcFirewallControlPolicyResponse({}));
9518
+ return $tea.cast<CreateNatFirewallControlPolicyResponse>(await this.callApi(params, req, runtime), new CreateNatFirewallControlPolicyResponse({}));
8627
9519
  }
8628
9520
 
8629
- /**
8630
- * You can call the BatchCopyVpcFirewallControlPolicy operation to copy all access control policies from a policy group of a source VPC firewall to a policy group of a destination VPC firewall.
8631
- * Before you call this operation, we recommend that you back up access control policies. For more information about how to back up an access control policy, see [Back up an access control policy](https://www.alibabacloud.com/help/en/cloud-firewall/latest/back-up-and-roll-back-an-access-control-policy).
8632
- * After you call this operation, all the access control policies in the policy group of the destination VPC firewall are replaced.
8633
- * The policy groups of the source VPC firewall and the destination VPC firewall must belong to the same Alibaba Cloud account.
8634
- * ## Limits
8635
- * You can call this operation up to 10 times per second per account. When the number of calls to this operation per second exceeds the limit, throttling is triggered. Throttling may affect your business. We recommend that you take note of the limit on this operation.
8636
- *
8637
- * @param request BatchCopyVpcFirewallControlPolicyRequest
8638
- * @return BatchCopyVpcFirewallControlPolicyResponse
8639
- */
8640
- async batchCopyVpcFirewallControlPolicy(request: BatchCopyVpcFirewallControlPolicyRequest): Promise<BatchCopyVpcFirewallControlPolicyResponse> {
9521
+ async createNatFirewallControlPolicy(request: CreateNatFirewallControlPolicyRequest): Promise<CreateNatFirewallControlPolicyResponse> {
8641
9522
  let runtime = new $Util.RuntimeOptions({ });
8642
- return await this.batchCopyVpcFirewallControlPolicyWithOptions(request, runtime);
9523
+ return await this.createNatFirewallControlPolicyWithOptions(request, runtime);
8643
9524
  }
8644
9525
 
8645
9526
  async createTrFirewallV2WithOptions(request: CreateTrFirewallV2Request, runtime: $Util.RuntimeOptions): Promise<CreateTrFirewallV2Response> {
@@ -9251,6 +10132,47 @@ export default class Client extends OpenApi {
9251
10132
  return await this.deleteInstanceMembersWithOptions(request, runtime);
9252
10133
  }
9253
10134
 
10135
+ async deleteNatFirewallControlPolicyWithOptions(request: DeleteNatFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DeleteNatFirewallControlPolicyResponse> {
10136
+ Util.validateModel(request);
10137
+ let query = { };
10138
+ if (!Util.isUnset(request.aclUuid)) {
10139
+ query["AclUuid"] = request.aclUuid;
10140
+ }
10141
+
10142
+ if (!Util.isUnset(request.direction)) {
10143
+ query["Direction"] = request.direction;
10144
+ }
10145
+
10146
+ if (!Util.isUnset(request.lang)) {
10147
+ query["Lang"] = request.lang;
10148
+ }
10149
+
10150
+ if (!Util.isUnset(request.natGatewayId)) {
10151
+ query["NatGatewayId"] = request.natGatewayId;
10152
+ }
10153
+
10154
+ let req = new $OpenApi.OpenApiRequest({
10155
+ query: OpenApiUtil.query(query),
10156
+ });
10157
+ let params = new $OpenApi.Params({
10158
+ action: "DeleteNatFirewallControlPolicy",
10159
+ version: "2017-12-07",
10160
+ protocol: "HTTPS",
10161
+ pathname: "/",
10162
+ method: "POST",
10163
+ authType: "AK",
10164
+ style: "RPC",
10165
+ reqBodyType: "formData",
10166
+ bodyType: "json",
10167
+ });
10168
+ return $tea.cast<DeleteNatFirewallControlPolicyResponse>(await this.callApi(params, req, runtime), new DeleteNatFirewallControlPolicyResponse({}));
10169
+ }
10170
+
10171
+ async deleteNatFirewallControlPolicy(request: DeleteNatFirewallControlPolicyRequest): Promise<DeleteNatFirewallControlPolicyResponse> {
10172
+ let runtime = new $Util.RuntimeOptions({ });
10173
+ return await this.deleteNatFirewallControlPolicyWithOptions(request, runtime);
10174
+ }
10175
+
9254
10176
  async deleteTrFirewallV2WithOptions(request: DeleteTrFirewallV2Request, runtime: $Util.RuntimeOptions): Promise<DeleteTrFirewallV2Response> {
9255
10177
  Util.validateModel(request);
9256
10178
  let query = { };
@@ -9880,31 +10802,193 @@ export default class Client extends OpenApi {
9880
10802
  query["SourceCode"] = request.sourceCode;
9881
10803
  }
9882
10804
 
9883
- if (!Util.isUnset(request.sourceIp)) {
9884
- query["SourceIp"] = request.sourceIp;
10805
+ if (!Util.isUnset(request.sourceIp)) {
10806
+ query["SourceIp"] = request.sourceIp;
10807
+ }
10808
+
10809
+ if (!Util.isUnset(request.srcPrivateIP)) {
10810
+ query["SrcPrivateIP"] = request.srcPrivateIP;
10811
+ }
10812
+
10813
+ if (!Util.isUnset(request.srcPublicIP)) {
10814
+ query["SrcPublicIP"] = request.srcPublicIP;
10815
+ }
10816
+
10817
+ if (!Util.isUnset(request.startTime)) {
10818
+ query["StartTime"] = request.startTime;
10819
+ }
10820
+
10821
+ if (!Util.isUnset(request.trafficType)) {
10822
+ query["TrafficType"] = request.trafficType;
10823
+ }
10824
+
10825
+ let req = new $OpenApi.OpenApiRequest({
10826
+ query: OpenApiUtil.query(query),
10827
+ });
10828
+ let params = new $OpenApi.Params({
10829
+ action: "DescribeInternetTrafficTrend",
10830
+ version: "2017-12-07",
10831
+ protocol: "HTTPS",
10832
+ pathname: "/",
10833
+ method: "POST",
10834
+ authType: "AK",
10835
+ style: "RPC",
10836
+ reqBodyType: "formData",
10837
+ bodyType: "json",
10838
+ });
10839
+ return $tea.cast<DescribeInternetTrafficTrendResponse>(await this.callApi(params, req, runtime), new DescribeInternetTrafficTrendResponse({}));
10840
+ }
10841
+
10842
+ async describeInternetTrafficTrend(request: DescribeInternetTrafficTrendRequest): Promise<DescribeInternetTrafficTrendResponse> {
10843
+ let runtime = new $Util.RuntimeOptions({ });
10844
+ return await this.describeInternetTrafficTrendWithOptions(request, runtime);
10845
+ }
10846
+
10847
+ async describeInvadeEventListWithOptions(request: DescribeInvadeEventListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvadeEventListResponse> {
10848
+ Util.validateModel(request);
10849
+ let query = { };
10850
+ if (!Util.isUnset(request.assetsIP)) {
10851
+ query["AssetsIP"] = request.assetsIP;
10852
+ }
10853
+
10854
+ if (!Util.isUnset(request.assetsInstanceId)) {
10855
+ query["AssetsInstanceId"] = request.assetsInstanceId;
10856
+ }
10857
+
10858
+ if (!Util.isUnset(request.assetsInstanceName)) {
10859
+ query["AssetsInstanceName"] = request.assetsInstanceName;
10860
+ }
10861
+
10862
+ if (!Util.isUnset(request.currentPage)) {
10863
+ query["CurrentPage"] = request.currentPage;
10864
+ }
10865
+
10866
+ if (!Util.isUnset(request.endTime)) {
10867
+ query["EndTime"] = request.endTime;
10868
+ }
10869
+
10870
+ if (!Util.isUnset(request.eventKey)) {
10871
+ query["EventKey"] = request.eventKey;
10872
+ }
10873
+
10874
+ if (!Util.isUnset(request.eventName)) {
10875
+ query["EventName"] = request.eventName;
10876
+ }
10877
+
10878
+ if (!Util.isUnset(request.eventUuid)) {
10879
+ query["EventUuid"] = request.eventUuid;
10880
+ }
10881
+
10882
+ if (!Util.isUnset(request.isIgnore)) {
10883
+ query["IsIgnore"] = request.isIgnore;
10884
+ }
10885
+
10886
+ if (!Util.isUnset(request.lang)) {
10887
+ query["Lang"] = request.lang;
10888
+ }
10889
+
10890
+ if (!Util.isUnset(request.memberUid)) {
10891
+ query["MemberUid"] = request.memberUid;
10892
+ }
10893
+
10894
+ if (!Util.isUnset(request.pageSize)) {
10895
+ query["PageSize"] = request.pageSize;
10896
+ }
10897
+
10898
+ if (!Util.isUnset(request.processStatusList)) {
10899
+ query["ProcessStatusList"] = request.processStatusList;
10900
+ }
10901
+
10902
+ if (!Util.isUnset(request.riskLevel)) {
10903
+ query["RiskLevel"] = request.riskLevel;
10904
+ }
10905
+
10906
+ if (!Util.isUnset(request.sourceIp)) {
10907
+ query["SourceIp"] = request.sourceIp;
10908
+ }
10909
+
10910
+ if (!Util.isUnset(request.startTime)) {
10911
+ query["StartTime"] = request.startTime;
10912
+ }
10913
+
10914
+ let req = new $OpenApi.OpenApiRequest({
10915
+ query: OpenApiUtil.query(query),
10916
+ });
10917
+ let params = new $OpenApi.Params({
10918
+ action: "DescribeInvadeEventList",
10919
+ version: "2017-12-07",
10920
+ protocol: "HTTPS",
10921
+ pathname: "/",
10922
+ method: "POST",
10923
+ authType: "AK",
10924
+ style: "RPC",
10925
+ reqBodyType: "formData",
10926
+ bodyType: "json",
10927
+ });
10928
+ return $tea.cast<DescribeInvadeEventListResponse>(await this.callApi(params, req, runtime), new DescribeInvadeEventListResponse({}));
10929
+ }
10930
+
10931
+ async describeInvadeEventList(request: DescribeInvadeEventListRequest): Promise<DescribeInvadeEventListResponse> {
10932
+ let runtime = new $Util.RuntimeOptions({ });
10933
+ return await this.describeInvadeEventListWithOptions(request, runtime);
10934
+ }
10935
+
10936
+ async describeNatFirewallControlPolicyWithOptions(request: DescribeNatFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNatFirewallControlPolicyResponse> {
10937
+ Util.validateModel(request);
10938
+ let query = { };
10939
+ if (!Util.isUnset(request.aclAction)) {
10940
+ query["AclAction"] = request.aclAction;
10941
+ }
10942
+
10943
+ if (!Util.isUnset(request.aclUuid)) {
10944
+ query["AclUuid"] = request.aclUuid;
10945
+ }
10946
+
10947
+ if (!Util.isUnset(request.currentPage)) {
10948
+ query["CurrentPage"] = request.currentPage;
10949
+ }
10950
+
10951
+ if (!Util.isUnset(request.description)) {
10952
+ query["Description"] = request.description;
10953
+ }
10954
+
10955
+ if (!Util.isUnset(request.destination)) {
10956
+ query["Destination"] = request.destination;
10957
+ }
10958
+
10959
+ if (!Util.isUnset(request.direction)) {
10960
+ query["Direction"] = request.direction;
10961
+ }
10962
+
10963
+ if (!Util.isUnset(request.lang)) {
10964
+ query["Lang"] = request.lang;
10965
+ }
10966
+
10967
+ if (!Util.isUnset(request.natGatewayId)) {
10968
+ query["NatGatewayId"] = request.natGatewayId;
9885
10969
  }
9886
10970
 
9887
- if (!Util.isUnset(request.srcPrivateIP)) {
9888
- query["SrcPrivateIP"] = request.srcPrivateIP;
10971
+ if (!Util.isUnset(request.pageSize)) {
10972
+ query["PageSize"] = request.pageSize;
9889
10973
  }
9890
10974
 
9891
- if (!Util.isUnset(request.srcPublicIP)) {
9892
- query["SrcPublicIP"] = request.srcPublicIP;
10975
+ if (!Util.isUnset(request.proto)) {
10976
+ query["Proto"] = request.proto;
9893
10977
  }
9894
10978
 
9895
- if (!Util.isUnset(request.startTime)) {
9896
- query["StartTime"] = request.startTime;
10979
+ if (!Util.isUnset(request.release)) {
10980
+ query["Release"] = request.release;
9897
10981
  }
9898
10982
 
9899
- if (!Util.isUnset(request.trafficType)) {
9900
- query["TrafficType"] = request.trafficType;
10983
+ if (!Util.isUnset(request.source)) {
10984
+ query["Source"] = request.source;
9901
10985
  }
9902
10986
 
9903
10987
  let req = new $OpenApi.OpenApiRequest({
9904
10988
  query: OpenApiUtil.query(query),
9905
10989
  });
9906
10990
  let params = new $OpenApi.Params({
9907
- action: "DescribeInternetTrafficTrend",
10991
+ action: "DescribeNatFirewallControlPolicy",
9908
10992
  version: "2017-12-07",
9909
10993
  protocol: "HTTPS",
9910
10994
  pathname: "/",
@@ -9914,86 +10998,38 @@ export default class Client extends OpenApi {
9914
10998
  reqBodyType: "formData",
9915
10999
  bodyType: "json",
9916
11000
  });
9917
- return $tea.cast<DescribeInternetTrafficTrendResponse>(await this.callApi(params, req, runtime), new DescribeInternetTrafficTrendResponse({}));
11001
+ return $tea.cast<DescribeNatFirewallControlPolicyResponse>(await this.callApi(params, req, runtime), new DescribeNatFirewallControlPolicyResponse({}));
9918
11002
  }
9919
11003
 
9920
- async describeInternetTrafficTrend(request: DescribeInternetTrafficTrendRequest): Promise<DescribeInternetTrafficTrendResponse> {
11004
+ async describeNatFirewallControlPolicy(request: DescribeNatFirewallControlPolicyRequest): Promise<DescribeNatFirewallControlPolicyResponse> {
9921
11005
  let runtime = new $Util.RuntimeOptions({ });
9922
- return await this.describeInternetTrafficTrendWithOptions(request, runtime);
11006
+ return await this.describeNatFirewallControlPolicyWithOptions(request, runtime);
9923
11007
  }
9924
11008
 
9925
- async describeInvadeEventListWithOptions(request: DescribeInvadeEventListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeInvadeEventListResponse> {
11009
+ async describeNatFirewallPolicyPriorUsedWithOptions(request: DescribeNatFirewallPolicyPriorUsedRequest, runtime: $Util.RuntimeOptions): Promise<DescribeNatFirewallPolicyPriorUsedResponse> {
9926
11010
  Util.validateModel(request);
9927
11011
  let query = { };
9928
- if (!Util.isUnset(request.assetsIP)) {
9929
- query["AssetsIP"] = request.assetsIP;
9930
- }
9931
-
9932
- if (!Util.isUnset(request.assetsInstanceId)) {
9933
- query["AssetsInstanceId"] = request.assetsInstanceId;
9934
- }
9935
-
9936
- if (!Util.isUnset(request.assetsInstanceName)) {
9937
- query["AssetsInstanceName"] = request.assetsInstanceName;
9938
- }
9939
-
9940
- if (!Util.isUnset(request.currentPage)) {
9941
- query["CurrentPage"] = request.currentPage;
9942
- }
9943
-
9944
- if (!Util.isUnset(request.endTime)) {
9945
- query["EndTime"] = request.endTime;
9946
- }
9947
-
9948
- if (!Util.isUnset(request.eventKey)) {
9949
- query["EventKey"] = request.eventKey;
9950
- }
9951
-
9952
- if (!Util.isUnset(request.eventName)) {
9953
- query["EventName"] = request.eventName;
9954
- }
9955
-
9956
- if (!Util.isUnset(request.eventUuid)) {
9957
- query["EventUuid"] = request.eventUuid;
11012
+ if (!Util.isUnset(request.direction)) {
11013
+ query["Direction"] = request.direction;
9958
11014
  }
9959
11015
 
9960
- if (!Util.isUnset(request.isIgnore)) {
9961
- query["IsIgnore"] = request.isIgnore;
11016
+ if (!Util.isUnset(request.ipVersion)) {
11017
+ query["IpVersion"] = request.ipVersion;
9962
11018
  }
9963
11019
 
9964
11020
  if (!Util.isUnset(request.lang)) {
9965
11021
  query["Lang"] = request.lang;
9966
11022
  }
9967
11023
 
9968
- if (!Util.isUnset(request.memberUid)) {
9969
- query["MemberUid"] = request.memberUid;
9970
- }
9971
-
9972
- if (!Util.isUnset(request.pageSize)) {
9973
- query["PageSize"] = request.pageSize;
9974
- }
9975
-
9976
- if (!Util.isUnset(request.processStatusList)) {
9977
- query["ProcessStatusList"] = request.processStatusList;
9978
- }
9979
-
9980
- if (!Util.isUnset(request.riskLevel)) {
9981
- query["RiskLevel"] = request.riskLevel;
9982
- }
9983
-
9984
- if (!Util.isUnset(request.sourceIp)) {
9985
- query["SourceIp"] = request.sourceIp;
9986
- }
9987
-
9988
- if (!Util.isUnset(request.startTime)) {
9989
- query["StartTime"] = request.startTime;
11024
+ if (!Util.isUnset(request.natGatewayId)) {
11025
+ query["NatGatewayId"] = request.natGatewayId;
9990
11026
  }
9991
11027
 
9992
11028
  let req = new $OpenApi.OpenApiRequest({
9993
11029
  query: OpenApiUtil.query(query),
9994
11030
  });
9995
11031
  let params = new $OpenApi.Params({
9996
- action: "DescribeInvadeEventList",
11032
+ action: "DescribeNatFirewallPolicyPriorUsed",
9997
11033
  version: "2017-12-07",
9998
11034
  protocol: "HTTPS",
9999
11035
  pathname: "/",
@@ -10003,12 +11039,12 @@ export default class Client extends OpenApi {
10003
11039
  reqBodyType: "formData",
10004
11040
  bodyType: "json",
10005
11041
  });
10006
- return $tea.cast<DescribeInvadeEventListResponse>(await this.callApi(params, req, runtime), new DescribeInvadeEventListResponse({}));
11042
+ return $tea.cast<DescribeNatFirewallPolicyPriorUsedResponse>(await this.callApi(params, req, runtime), new DescribeNatFirewallPolicyPriorUsedResponse({}));
10007
11043
  }
10008
11044
 
10009
- async describeInvadeEventList(request: DescribeInvadeEventListRequest): Promise<DescribeInvadeEventListResponse> {
11045
+ async describeNatFirewallPolicyPriorUsed(request: DescribeNatFirewallPolicyPriorUsedRequest): Promise<DescribeNatFirewallPolicyPriorUsedResponse> {
10010
11046
  let runtime = new $Util.RuntimeOptions({ });
10011
- return await this.describeInvadeEventListWithOptions(request, runtime);
11047
+ return await this.describeNatFirewallPolicyPriorUsedWithOptions(request, runtime);
10012
11048
  }
10013
11049
 
10014
11050
  async describeOutgoingDestinationIPWithOptions(request: DescribeOutgoingDestinationIPRequest, runtime: $Util.RuntimeOptions): Promise<DescribeOutgoingDestinationIPResponse> {
@@ -10407,6 +11443,67 @@ export default class Client extends OpenApi {
10407
11443
  return await this.describeRiskEventGroupWithOptions(request, runtime);
10408
11444
  }
10409
11445
 
11446
+ async describeRiskEventPayloadWithOptions(request: DescribeRiskEventPayloadRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRiskEventPayloadResponse> {
11447
+ Util.validateModel(request);
11448
+ let query = { };
11449
+ if (!Util.isUnset(request.dstIP)) {
11450
+ query["DstIP"] = request.dstIP;
11451
+ }
11452
+
11453
+ if (!Util.isUnset(request.dstVpcId)) {
11454
+ query["DstVpcId"] = request.dstVpcId;
11455
+ }
11456
+
11457
+ if (!Util.isUnset(request.endTime)) {
11458
+ query["EndTime"] = request.endTime;
11459
+ }
11460
+
11461
+ if (!Util.isUnset(request.firewallType)) {
11462
+ query["FirewallType"] = request.firewallType;
11463
+ }
11464
+
11465
+ if (!Util.isUnset(request.publicIP)) {
11466
+ query["PublicIP"] = request.publicIP;
11467
+ }
11468
+
11469
+ if (!Util.isUnset(request.srcIP)) {
11470
+ query["SrcIP"] = request.srcIP;
11471
+ }
11472
+
11473
+ if (!Util.isUnset(request.srcVpcId)) {
11474
+ query["SrcVpcId"] = request.srcVpcId;
11475
+ }
11476
+
11477
+ if (!Util.isUnset(request.startTime)) {
11478
+ query["StartTime"] = request.startTime;
11479
+ }
11480
+
11481
+ if (!Util.isUnset(request.UUID)) {
11482
+ query["UUID"] = request.UUID;
11483
+ }
11484
+
11485
+ let req = new $OpenApi.OpenApiRequest({
11486
+ query: OpenApiUtil.query(query),
11487
+ });
11488
+ let params = new $OpenApi.Params({
11489
+ action: "DescribeRiskEventPayload",
11490
+ version: "2017-12-07",
11491
+ protocol: "HTTPS",
11492
+ pathname: "/",
11493
+ method: "POST",
11494
+ authType: "AK",
11495
+ style: "RPC",
11496
+ reqBodyType: "formData",
11497
+ bodyType: "json",
11498
+ });
11499
+ return $tea.cast<DescribeRiskEventPayloadResponse>(await this.callApi(params, req, runtime), new DescribeRiskEventPayloadResponse({}));
11500
+ }
11501
+
11502
+ async describeRiskEventPayload(request: DescribeRiskEventPayloadRequest): Promise<DescribeRiskEventPayloadResponse> {
11503
+ let runtime = new $Util.RuntimeOptions({ });
11504
+ return await this.describeRiskEventPayloadWithOptions(request, runtime);
11505
+ }
11506
+
10410
11507
  async describeTrFirewallPolicyBackUpAssociationListWithOptions(request: DescribeTrFirewallPolicyBackUpAssociationListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeTrFirewallPolicyBackUpAssociationListResponse> {
10411
11508
  Util.validateModel(request);
10412
11509
  let query = { };
@@ -11759,6 +12856,136 @@ export default class Client extends OpenApi {
11759
12856
  return await this.modifyInstanceMemberAttributesWithOptions(request, runtime);
11760
12857
  }
11761
12858
 
12859
+ async modifyNatFirewallControlPolicyWithOptions(request: ModifyNatFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNatFirewallControlPolicyResponse> {
12860
+ Util.validateModel(request);
12861
+ let query = { };
12862
+ if (!Util.isUnset(request.aclAction)) {
12863
+ query["AclAction"] = request.aclAction;
12864
+ }
12865
+
12866
+ if (!Util.isUnset(request.aclUuid)) {
12867
+ query["AclUuid"] = request.aclUuid;
12868
+ }
12869
+
12870
+ if (!Util.isUnset(request.applicationNameList)) {
12871
+ query["ApplicationNameList"] = request.applicationNameList;
12872
+ }
12873
+
12874
+ if (!Util.isUnset(request.description)) {
12875
+ query["Description"] = request.description;
12876
+ }
12877
+
12878
+ if (!Util.isUnset(request.destPort)) {
12879
+ query["DestPort"] = request.destPort;
12880
+ }
12881
+
12882
+ if (!Util.isUnset(request.destPortGroup)) {
12883
+ query["DestPortGroup"] = request.destPortGroup;
12884
+ }
12885
+
12886
+ if (!Util.isUnset(request.destPortType)) {
12887
+ query["DestPortType"] = request.destPortType;
12888
+ }
12889
+
12890
+ if (!Util.isUnset(request.destination)) {
12891
+ query["Destination"] = request.destination;
12892
+ }
12893
+
12894
+ if (!Util.isUnset(request.destinationType)) {
12895
+ query["DestinationType"] = request.destinationType;
12896
+ }
12897
+
12898
+ if (!Util.isUnset(request.domainResolveType)) {
12899
+ query["DomainResolveType"] = request.domainResolveType;
12900
+ }
12901
+
12902
+ if (!Util.isUnset(request.lang)) {
12903
+ query["Lang"] = request.lang;
12904
+ }
12905
+
12906
+ if (!Util.isUnset(request.natGatewayId)) {
12907
+ query["NatGatewayId"] = request.natGatewayId;
12908
+ }
12909
+
12910
+ if (!Util.isUnset(request.proto)) {
12911
+ query["Proto"] = request.proto;
12912
+ }
12913
+
12914
+ if (!Util.isUnset(request.release)) {
12915
+ query["Release"] = request.release;
12916
+ }
12917
+
12918
+ if (!Util.isUnset(request.source)) {
12919
+ query["Source"] = request.source;
12920
+ }
12921
+
12922
+ if (!Util.isUnset(request.sourceType)) {
12923
+ query["SourceType"] = request.sourceType;
12924
+ }
12925
+
12926
+ let req = new $OpenApi.OpenApiRequest({
12927
+ query: OpenApiUtil.query(query),
12928
+ });
12929
+ let params = new $OpenApi.Params({
12930
+ action: "ModifyNatFirewallControlPolicy",
12931
+ version: "2017-12-07",
12932
+ protocol: "HTTPS",
12933
+ pathname: "/",
12934
+ method: "POST",
12935
+ authType: "AK",
12936
+ style: "RPC",
12937
+ reqBodyType: "formData",
12938
+ bodyType: "json",
12939
+ });
12940
+ return $tea.cast<ModifyNatFirewallControlPolicyResponse>(await this.callApi(params, req, runtime), new ModifyNatFirewallControlPolicyResponse({}));
12941
+ }
12942
+
12943
+ async modifyNatFirewallControlPolicy(request: ModifyNatFirewallControlPolicyRequest): Promise<ModifyNatFirewallControlPolicyResponse> {
12944
+ let runtime = new $Util.RuntimeOptions({ });
12945
+ return await this.modifyNatFirewallControlPolicyWithOptions(request, runtime);
12946
+ }
12947
+
12948
+ async modifyNatFirewallControlPolicyPositionWithOptions(request: ModifyNatFirewallControlPolicyPositionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyNatFirewallControlPolicyPositionResponse> {
12949
+ Util.validateModel(request);
12950
+ let query = { };
12951
+ if (!Util.isUnset(request.aclUuid)) {
12952
+ query["AclUuid"] = request.aclUuid;
12953
+ }
12954
+
12955
+ if (!Util.isUnset(request.lang)) {
12956
+ query["Lang"] = request.lang;
12957
+ }
12958
+
12959
+ if (!Util.isUnset(request.natGatewayId)) {
12960
+ query["NatGatewayId"] = request.natGatewayId;
12961
+ }
12962
+
12963
+ if (!Util.isUnset(request.newOrder)) {
12964
+ query["NewOrder"] = request.newOrder;
12965
+ }
12966
+
12967
+ let req = new $OpenApi.OpenApiRequest({
12968
+ query: OpenApiUtil.query(query),
12969
+ });
12970
+ let params = new $OpenApi.Params({
12971
+ action: "ModifyNatFirewallControlPolicyPosition",
12972
+ version: "2017-12-07",
12973
+ protocol: "HTTPS",
12974
+ pathname: "/",
12975
+ method: "POST",
12976
+ authType: "AK",
12977
+ style: "RPC",
12978
+ reqBodyType: "formData",
12979
+ bodyType: "json",
12980
+ });
12981
+ return $tea.cast<ModifyNatFirewallControlPolicyPositionResponse>(await this.callApi(params, req, runtime), new ModifyNatFirewallControlPolicyPositionResponse({}));
12982
+ }
12983
+
12984
+ async modifyNatFirewallControlPolicyPosition(request: ModifyNatFirewallControlPolicyPositionRequest): Promise<ModifyNatFirewallControlPolicyPositionResponse> {
12985
+ let runtime = new $Util.RuntimeOptions({ });
12986
+ return await this.modifyNatFirewallControlPolicyPositionWithOptions(request, runtime);
12987
+ }
12988
+
11762
12989
  /**
11763
12990
  * You can call the ModifyPolicyAdvancedConfig operation to enable or disable the strict mode for an access control policy.
11764
12991
  * ## Limits
@@ -12260,6 +13487,10 @@ export default class Client extends OpenApi {
12260
13487
  async modifyVpcFirewallControlPolicyPositionWithOptions(request: ModifyVpcFirewallControlPolicyPositionRequest, runtime: $Util.RuntimeOptions): Promise<ModifyVpcFirewallControlPolicyPositionResponse> {
12261
13488
  Util.validateModel(request);
12262
13489
  let query = { };
13490
+ if (!Util.isUnset(request.aclUuid)) {
13491
+ query["AclUuid"] = request.aclUuid;
13492
+ }
13493
+
12263
13494
  if (!Util.isUnset(request.lang)) {
12264
13495
  query["Lang"] = request.lang;
12265
13496
  }