@alicloud/cloudfw20171207 1.1.7 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/cloudfw20171207",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
@@ -20,9 +20,9 @@
20
20
  },
21
21
  "dependencies": {
22
22
  "@alicloud/tea-typescript": "^1.7.1",
23
- "@alicloud/tea-util": "^1.4.4",
24
- "@alicloud/openapi-client": "^0.4.1",
25
- "@alicloud/openapi-util": "^0.2.9",
23
+ "@alicloud/tea-util": "^1.4.5",
24
+ "@alicloud/openapi-client": "^0.4.4",
25
+ "@alicloud/openapi-util": "^0.3.0",
26
26
  "@alicloud/endpoint-util": "^0.0.1"
27
27
  },
28
28
  "files": [
package/src/client.ts CHANGED
@@ -434,99 +434,6 @@ export class CreateVpcFirewallCenConfigureResponse extends $tea.Model {
434
434
  }
435
435
  }
436
436
 
437
- export class CreateVpcFirewallConfigureRequest extends $tea.Model {
438
- firewallSwitch?: string;
439
- lang?: string;
440
- localVpcCidrTableList?: string;
441
- localVpcId?: string;
442
- localVpcRegion?: string;
443
- memberUid?: string;
444
- peerVpcCidrTableList?: string;
445
- peerVpcId?: string;
446
- peerVpcRegion?: string;
447
- vpcFirewallName?: string;
448
- static names(): { [key: string]: string } {
449
- return {
450
- firewallSwitch: 'FirewallSwitch',
451
- lang: 'Lang',
452
- localVpcCidrTableList: 'LocalVpcCidrTableList',
453
- localVpcId: 'LocalVpcId',
454
- localVpcRegion: 'LocalVpcRegion',
455
- memberUid: 'MemberUid',
456
- peerVpcCidrTableList: 'PeerVpcCidrTableList',
457
- peerVpcId: 'PeerVpcId',
458
- peerVpcRegion: 'PeerVpcRegion',
459
- vpcFirewallName: 'VpcFirewallName',
460
- };
461
- }
462
-
463
- static types(): { [key: string]: any } {
464
- return {
465
- firewallSwitch: 'string',
466
- lang: 'string',
467
- localVpcCidrTableList: 'string',
468
- localVpcId: 'string',
469
- localVpcRegion: 'string',
470
- memberUid: 'string',
471
- peerVpcCidrTableList: 'string',
472
- peerVpcId: 'string',
473
- peerVpcRegion: 'string',
474
- vpcFirewallName: 'string',
475
- };
476
- }
477
-
478
- constructor(map?: { [key: string]: any }) {
479
- super(map);
480
- }
481
- }
482
-
483
- export class CreateVpcFirewallConfigureResponseBody extends $tea.Model {
484
- requestId?: string;
485
- vpcFirewallId?: string;
486
- static names(): { [key: string]: string } {
487
- return {
488
- requestId: 'RequestId',
489
- vpcFirewallId: 'VpcFirewallId',
490
- };
491
- }
492
-
493
- static types(): { [key: string]: any } {
494
- return {
495
- requestId: 'string',
496
- vpcFirewallId: 'string',
497
- };
498
- }
499
-
500
- constructor(map?: { [key: string]: any }) {
501
- super(map);
502
- }
503
- }
504
-
505
- export class CreateVpcFirewallConfigureResponse extends $tea.Model {
506
- headers: { [key: string]: string };
507
- statusCode: number;
508
- body: CreateVpcFirewallConfigureResponseBody;
509
- static names(): { [key: string]: string } {
510
- return {
511
- headers: 'headers',
512
- statusCode: 'statusCode',
513
- body: 'body',
514
- };
515
- }
516
-
517
- static types(): { [key: string]: any } {
518
- return {
519
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
520
- statusCode: 'number',
521
- body: CreateVpcFirewallConfigureResponseBody,
522
- };
523
- }
524
-
525
- constructor(map?: { [key: string]: any }) {
526
- super(map);
527
- }
528
- }
529
-
530
437
  export class CreateVpcFirewallControlPolicyRequest extends $tea.Model {
531
438
  aclAction?: string;
532
439
  applicationName?: string;
@@ -2669,6 +2576,7 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2669
2576
  connectType?: string;
2670
2577
  firewallSwitchStatus?: string;
2671
2578
  localVpc?: DescribeVpcFirewallDetailResponseBodyLocalVpc;
2579
+ memberUid?: string;
2672
2580
  peerVpc?: DescribeVpcFirewallDetailResponseBodyPeerVpc;
2673
2581
  requestId?: string;
2674
2582
  vpcFirewallId?: string;
@@ -2679,6 +2587,7 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2679
2587
  connectType: 'ConnectType',
2680
2588
  firewallSwitchStatus: 'FirewallSwitchStatus',
2681
2589
  localVpc: 'LocalVpc',
2590
+ memberUid: 'MemberUid',
2682
2591
  peerVpc: 'PeerVpc',
2683
2592
  requestId: 'RequestId',
2684
2593
  vpcFirewallId: 'VpcFirewallId',
@@ -2692,6 +2601,7 @@ export class DescribeVpcFirewallDetailResponseBody extends $tea.Model {
2692
2601
  connectType: 'string',
2693
2602
  firewallSwitchStatus: 'string',
2694
2603
  localVpc: DescribeVpcFirewallDetailResponseBodyLocalVpc,
2604
+ memberUid: 'string',
2695
2605
  peerVpc: DescribeVpcFirewallDetailResponseBodyPeerVpc,
2696
2606
  requestId: 'string',
2697
2607
  vpcFirewallId: 'string',
@@ -2730,22 +2640,26 @@ export class DescribeVpcFirewallDetailResponse extends $tea.Model {
2730
2640
  }
2731
2641
 
2732
2642
  export class DescribeVpcFirewallListRequest extends $tea.Model {
2643
+ connectSubType?: string;
2733
2644
  currentPage?: string;
2734
2645
  firewallSwitchStatus?: string;
2735
2646
  lang?: string;
2736
2647
  memberUid?: string;
2737
2648
  pageSize?: string;
2649
+ peerUid?: string;
2738
2650
  regionNo?: string;
2739
2651
  vpcFirewallId?: string;
2740
2652
  vpcFirewallName?: string;
2741
2653
  vpcId?: string;
2742
2654
  static names(): { [key: string]: string } {
2743
2655
  return {
2656
+ connectSubType: 'ConnectSubType',
2744
2657
  currentPage: 'CurrentPage',
2745
2658
  firewallSwitchStatus: 'FirewallSwitchStatus',
2746
2659
  lang: 'Lang',
2747
2660
  memberUid: 'MemberUid',
2748
2661
  pageSize: 'PageSize',
2662
+ peerUid: 'PeerUid',
2749
2663
  regionNo: 'RegionNo',
2750
2664
  vpcFirewallId: 'VpcFirewallId',
2751
2665
  vpcFirewallName: 'VpcFirewallName',
@@ -2755,11 +2669,13 @@ export class DescribeVpcFirewallListRequest extends $tea.Model {
2755
2669
 
2756
2670
  static types(): { [key: string]: any } {
2757
2671
  return {
2672
+ connectSubType: 'string',
2758
2673
  currentPage: 'string',
2759
2674
  firewallSwitchStatus: 'string',
2760
2675
  lang: 'string',
2761
2676
  memberUid: 'string',
2762
2677
  pageSize: 'string',
2678
+ peerUid: 'string',
2763
2679
  regionNo: 'string',
2764
2680
  vpcFirewallId: 'string',
2765
2681
  vpcFirewallName: 'string',
@@ -2994,7 +2910,6 @@ export class ModifyControlPolicyRequest extends $tea.Model {
2994
2910
  destinationType?: string;
2995
2911
  direction?: string;
2996
2912
  lang?: string;
2997
- messageType?: string;
2998
2913
  proto?: string;
2999
2914
  release?: string;
3000
2915
  source?: string;
@@ -3014,7 +2929,6 @@ export class ModifyControlPolicyRequest extends $tea.Model {
3014
2929
  destinationType: 'DestinationType',
3015
2930
  direction: 'Direction',
3016
2931
  lang: 'Lang',
3017
- messageType: 'MessageType',
3018
2932
  proto: 'Proto',
3019
2933
  release: 'Release',
3020
2934
  source: 'Source',
@@ -3037,7 +2951,6 @@ export class ModifyControlPolicyRequest extends $tea.Model {
3037
2951
  destinationType: 'string',
3038
2952
  direction: 'string',
3039
2953
  lang: 'string',
3040
- messageType: 'string',
3041
2954
  proto: 'string',
3042
2955
  release: 'string',
3043
2956
  source: 'string',
@@ -5081,6 +4994,7 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
5081
4994
  ruleResult?: number;
5082
4995
  ruleSource?: number;
5083
4996
  srcIP?: string;
4997
+ srcIPTag?: string;
5084
4998
  srcPrivateIPList?: string[];
5085
4999
  tag?: string;
5086
5000
  vpcDstInfo?: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo;
@@ -5105,6 +5019,7 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
5105
5019
  ruleResult: 'RuleResult',
5106
5020
  ruleSource: 'RuleSource',
5107
5021
  srcIP: 'SrcIP',
5022
+ srcIPTag: 'SrcIPTag',
5108
5023
  srcPrivateIPList: 'SrcPrivateIPList',
5109
5024
  tag: 'Tag',
5110
5025
  vpcDstInfo: 'VpcDstInfo',
@@ -5132,6 +5047,7 @@ export class DescribeRiskEventGroupResponseBodyDataList extends $tea.Model {
5132
5047
  ruleResult: 'number',
5133
5048
  ruleSource: 'number',
5134
5049
  srcIP: 'string',
5050
+ srcIPTag: 'string',
5135
5051
  srcPrivateIPList: { 'type': 'array', 'itemType': 'string' },
5136
5052
  tag: 'string',
5137
5053
  vpcDstInfo: DescribeRiskEventGroupResponseBodyDataListVpcDstInfo,
@@ -5494,6 +5410,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5494
5410
  destPortType?: string;
5495
5411
  destination?: string;
5496
5412
  destinationGroupCidrs?: string[];
5413
+ destinationGroupType?: string;
5497
5414
  destinationType?: string;
5498
5415
  hitTimes?: number;
5499
5416
  memberUid?: string;
@@ -5502,6 +5419,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5502
5419
  release?: string;
5503
5420
  source?: string;
5504
5421
  sourceGroupCidrs?: string[];
5422
+ sourceGroupType?: string;
5505
5423
  sourceType?: string;
5506
5424
  static names(): { [key: string]: string } {
5507
5425
  return {
@@ -5516,6 +5434,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5516
5434
  destPortType: 'DestPortType',
5517
5435
  destination: 'Destination',
5518
5436
  destinationGroupCidrs: 'DestinationGroupCidrs',
5437
+ destinationGroupType: 'DestinationGroupType',
5519
5438
  destinationType: 'DestinationType',
5520
5439
  hitTimes: 'HitTimes',
5521
5440
  memberUid: 'MemberUid',
@@ -5524,6 +5443,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5524
5443
  release: 'Release',
5525
5444
  source: 'Source',
5526
5445
  sourceGroupCidrs: 'SourceGroupCidrs',
5446
+ sourceGroupType: 'SourceGroupType',
5527
5447
  sourceType: 'SourceType',
5528
5448
  };
5529
5449
  }
@@ -5541,6 +5461,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5541
5461
  destPortType: 'string',
5542
5462
  destination: 'string',
5543
5463
  destinationGroupCidrs: { 'type': 'array', 'itemType': 'string' },
5464
+ destinationGroupType: 'string',
5544
5465
  destinationType: 'string',
5545
5466
  hitTimes: 'number',
5546
5467
  memberUid: 'string',
@@ -5549,6 +5470,7 @@ export class DescribeVpcFirewallControlPolicyResponseBodyPolicys extends $tea.Mo
5549
5470
  release: 'string',
5550
5471
  source: 'string',
5551
5472
  sourceGroupCidrs: { 'type': 'array', 'itemType': 'string' },
5473
+ sourceGroupType: 'string',
5552
5474
  sourceType: 'string',
5553
5475
  };
5554
5476
  }
@@ -5903,6 +5825,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc extends $tea
5903
5825
 
5904
5826
  export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model {
5905
5827
  bandwidth?: number;
5828
+ connectSubType?: string;
5906
5829
  connectType?: string;
5907
5830
  firewallSwitchStatus?: string;
5908
5831
  ipsConfig?: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig;
@@ -5910,11 +5833,13 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
5910
5833
  memberUid?: string;
5911
5834
  peerVpc?: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc;
5912
5835
  regionStatus?: string;
5836
+ resultCode?: string;
5913
5837
  vpcFirewallId?: string;
5914
5838
  vpcFirewallName?: string;
5915
5839
  static names(): { [key: string]: string } {
5916
5840
  return {
5917
5841
  bandwidth: 'Bandwidth',
5842
+ connectSubType: 'ConnectSubType',
5918
5843
  connectType: 'ConnectType',
5919
5844
  firewallSwitchStatus: 'FirewallSwitchStatus',
5920
5845
  ipsConfig: 'IpsConfig',
@@ -5922,6 +5847,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
5922
5847
  memberUid: 'MemberUid',
5923
5848
  peerVpc: 'PeerVpc',
5924
5849
  regionStatus: 'RegionStatus',
5850
+ resultCode: 'ResultCode',
5925
5851
  vpcFirewallId: 'VpcFirewallId',
5926
5852
  vpcFirewallName: 'VpcFirewallName',
5927
5853
  };
@@ -5930,6 +5856,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
5930
5856
  static types(): { [key: string]: any } {
5931
5857
  return {
5932
5858
  bandwidth: 'number',
5859
+ connectSubType: 'string',
5933
5860
  connectType: 'string',
5934
5861
  firewallSwitchStatus: 'string',
5935
5862
  ipsConfig: DescribeVpcFirewallListResponseBodyVpcFirewallsIpsConfig,
@@ -5937,6 +5864,7 @@ export class DescribeVpcFirewallListResponseBodyVpcFirewalls extends $tea.Model
5937
5864
  memberUid: 'string',
5938
5865
  peerVpc: DescribeVpcFirewallListResponseBodyVpcFirewallsPeerVpc,
5939
5866
  regionStatus: 'string',
5867
+ resultCode: 'string',
5940
5868
  vpcFirewallId: 'string',
5941
5869
  vpcFirewallName: 'string',
5942
5870
  };
@@ -6299,71 +6227,6 @@ export default class Client extends OpenApi {
6299
6227
  return await this.createVpcFirewallCenConfigureWithOptions(request, runtime);
6300
6228
  }
6301
6229
 
6302
- async createVpcFirewallConfigureWithOptions(request: CreateVpcFirewallConfigureRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallConfigureResponse> {
6303
- Util.validateModel(request);
6304
- let query = { };
6305
- if (!Util.isUnset(request.firewallSwitch)) {
6306
- query["FirewallSwitch"] = request.firewallSwitch;
6307
- }
6308
-
6309
- if (!Util.isUnset(request.lang)) {
6310
- query["Lang"] = request.lang;
6311
- }
6312
-
6313
- if (!Util.isUnset(request.localVpcCidrTableList)) {
6314
- query["LocalVpcCidrTableList"] = request.localVpcCidrTableList;
6315
- }
6316
-
6317
- if (!Util.isUnset(request.localVpcId)) {
6318
- query["LocalVpcId"] = request.localVpcId;
6319
- }
6320
-
6321
- if (!Util.isUnset(request.localVpcRegion)) {
6322
- query["LocalVpcRegion"] = request.localVpcRegion;
6323
- }
6324
-
6325
- if (!Util.isUnset(request.memberUid)) {
6326
- query["MemberUid"] = request.memberUid;
6327
- }
6328
-
6329
- if (!Util.isUnset(request.peerVpcCidrTableList)) {
6330
- query["PeerVpcCidrTableList"] = request.peerVpcCidrTableList;
6331
- }
6332
-
6333
- if (!Util.isUnset(request.peerVpcId)) {
6334
- query["PeerVpcId"] = request.peerVpcId;
6335
- }
6336
-
6337
- if (!Util.isUnset(request.peerVpcRegion)) {
6338
- query["PeerVpcRegion"] = request.peerVpcRegion;
6339
- }
6340
-
6341
- if (!Util.isUnset(request.vpcFirewallName)) {
6342
- query["VpcFirewallName"] = request.vpcFirewallName;
6343
- }
6344
-
6345
- let req = new $OpenApi.OpenApiRequest({
6346
- query: OpenApiUtil.query(query),
6347
- });
6348
- let params = new $OpenApi.Params({
6349
- action: "CreateVpcFirewallConfigure",
6350
- version: "2017-12-07",
6351
- protocol: "HTTPS",
6352
- pathname: "/",
6353
- method: "POST",
6354
- authType: "AK",
6355
- style: "RPC",
6356
- reqBodyType: "formData",
6357
- bodyType: "json",
6358
- });
6359
- return $tea.cast<CreateVpcFirewallConfigureResponse>(await this.callApi(params, req, runtime), new CreateVpcFirewallConfigureResponse({}));
6360
- }
6361
-
6362
- async createVpcFirewallConfigure(request: CreateVpcFirewallConfigureRequest): Promise<CreateVpcFirewallConfigureResponse> {
6363
- let runtime = new $Util.RuntimeOptions({ });
6364
- return await this.createVpcFirewallConfigureWithOptions(request, runtime);
6365
- }
6366
-
6367
6230
  async createVpcFirewallControlPolicyWithOptions(request: CreateVpcFirewallControlPolicyRequest, runtime: $Util.RuntimeOptions): Promise<CreateVpcFirewallControlPolicyResponse> {
6368
6231
  Util.validateModel(request);
6369
6232
  let query = { };
@@ -7720,6 +7583,10 @@ export default class Client extends OpenApi {
7720
7583
  async describeVpcFirewallListWithOptions(request: DescribeVpcFirewallListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeVpcFirewallListResponse> {
7721
7584
  Util.validateModel(request);
7722
7585
  let query = { };
7586
+ if (!Util.isUnset(request.connectSubType)) {
7587
+ query["ConnectSubType"] = request.connectSubType;
7588
+ }
7589
+
7723
7590
  if (!Util.isUnset(request.currentPage)) {
7724
7591
  query["CurrentPage"] = request.currentPage;
7725
7592
  }
@@ -7744,6 +7611,10 @@ export default class Client extends OpenApi {
7744
7611
  query["PageSize"] = request.pageSize;
7745
7612
  }
7746
7613
 
7614
+ if (!Util.isUnset(request.peerUid)) {
7615
+ query["PeerUid"] = request.peerUid;
7616
+ }
7617
+
7747
7618
  if (!Util.isUnset(request.regionNo)) {
7748
7619
  query["RegionNo"] = request.regionNo;
7749
7620
  }
@@ -7927,10 +7798,6 @@ export default class Client extends OpenApi {
7927
7798
  query["Lang"] = request.lang;
7928
7799
  }
7929
7800
 
7930
- if (!Util.isUnset(request.messageType)) {
7931
- query["MessageType"] = request.messageType;
7932
- }
7933
-
7934
7801
  if (!Util.isUnset(request.proto)) {
7935
7802
  query["Proto"] = request.proto;
7936
7803
  }