@alicloud/waf-openapi20211001 2.2.0 → 2.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/dist/client.d.ts CHANGED
@@ -651,6 +651,54 @@ export declare class DescribeAccountDelegatedStatusResponse extends $tea.Model {
651
651
  [key: string]: any;
652
652
  });
653
653
  }
654
+ export declare class DescribeCertsRequest extends $tea.Model {
655
+ algorithm?: string;
656
+ domain?: string;
657
+ instanceId?: string;
658
+ pageNumber?: number;
659
+ pageSize?: number;
660
+ regionId?: string;
661
+ resourceManagerResourceGroupId?: string;
662
+ static names(): {
663
+ [key: string]: string;
664
+ };
665
+ static types(): {
666
+ [key: string]: any;
667
+ };
668
+ constructor(map?: {
669
+ [key: string]: any;
670
+ });
671
+ }
672
+ export declare class DescribeCertsResponseBody extends $tea.Model {
673
+ certs?: DescribeCertsResponseBodyCerts[];
674
+ requestId?: string;
675
+ totalCount?: number;
676
+ static names(): {
677
+ [key: string]: string;
678
+ };
679
+ static types(): {
680
+ [key: string]: any;
681
+ };
682
+ constructor(map?: {
683
+ [key: string]: any;
684
+ });
685
+ }
686
+ export declare class DescribeCertsResponse extends $tea.Model {
687
+ headers?: {
688
+ [key: string]: string;
689
+ };
690
+ statusCode?: number;
691
+ body?: DescribeCertsResponseBody;
692
+ static names(): {
693
+ [key: string]: string;
694
+ };
695
+ static types(): {
696
+ [key: string]: any;
697
+ };
698
+ constructor(map?: {
699
+ [key: string]: any;
700
+ });
701
+ }
654
702
  export declare class DescribeDefenseResourceGroupRequest extends $tea.Model {
655
703
  groupName?: string;
656
704
  instanceId?: string;
@@ -979,6 +1027,50 @@ export declare class DescribeDefenseTemplatesResponse extends $tea.Model {
979
1027
  [key: string]: any;
980
1028
  });
981
1029
  }
1030
+ export declare class DescribeDomainDNSRecordRequest extends $tea.Model {
1031
+ domain?: string;
1032
+ instanceId?: string;
1033
+ regionId?: string;
1034
+ resourceManagerResourceGroupId?: string;
1035
+ static names(): {
1036
+ [key: string]: string;
1037
+ };
1038
+ static types(): {
1039
+ [key: string]: any;
1040
+ };
1041
+ constructor(map?: {
1042
+ [key: string]: any;
1043
+ });
1044
+ }
1045
+ export declare class DescribeDomainDNSRecordResponseBody extends $tea.Model {
1046
+ DNSStatus?: string;
1047
+ requestId?: string;
1048
+ static names(): {
1049
+ [key: string]: string;
1050
+ };
1051
+ static types(): {
1052
+ [key: string]: any;
1053
+ };
1054
+ constructor(map?: {
1055
+ [key: string]: any;
1056
+ });
1057
+ }
1058
+ export declare class DescribeDomainDNSRecordResponse extends $tea.Model {
1059
+ headers?: {
1060
+ [key: string]: string;
1061
+ };
1062
+ statusCode?: number;
1063
+ body?: DescribeDomainDNSRecordResponseBody;
1064
+ static names(): {
1065
+ [key: string]: string;
1066
+ };
1067
+ static types(): {
1068
+ [key: string]: any;
1069
+ };
1070
+ constructor(map?: {
1071
+ [key: string]: any;
1072
+ });
1073
+ }
982
1074
  export declare class DescribeDomainDetailRequest extends $tea.Model {
983
1075
  domain?: string;
984
1076
  instanceId?: string;
@@ -1685,6 +1777,92 @@ export declare class DescribeResourcePortResponse extends $tea.Model {
1685
1777
  [key: string]: any;
1686
1778
  });
1687
1779
  }
1780
+ export declare class DescribeResourceRegionIdRequest extends $tea.Model {
1781
+ instanceId?: string;
1782
+ regionId?: string;
1783
+ resourceManagerResourceGroupId?: string;
1784
+ static names(): {
1785
+ [key: string]: string;
1786
+ };
1787
+ static types(): {
1788
+ [key: string]: any;
1789
+ };
1790
+ constructor(map?: {
1791
+ [key: string]: any;
1792
+ });
1793
+ }
1794
+ export declare class DescribeResourceRegionIdResponseBody extends $tea.Model {
1795
+ requestId?: string;
1796
+ resourceRegionIds?: string[];
1797
+ static names(): {
1798
+ [key: string]: string;
1799
+ };
1800
+ static types(): {
1801
+ [key: string]: any;
1802
+ };
1803
+ constructor(map?: {
1804
+ [key: string]: any;
1805
+ });
1806
+ }
1807
+ export declare class DescribeResourceRegionIdResponse extends $tea.Model {
1808
+ headers?: {
1809
+ [key: string]: string;
1810
+ };
1811
+ statusCode?: number;
1812
+ body?: DescribeResourceRegionIdResponseBody;
1813
+ static names(): {
1814
+ [key: string]: string;
1815
+ };
1816
+ static types(): {
1817
+ [key: string]: any;
1818
+ };
1819
+ constructor(map?: {
1820
+ [key: string]: any;
1821
+ });
1822
+ }
1823
+ export declare class DescribeResourceSupportRegionsRequest extends $tea.Model {
1824
+ instanceId?: string;
1825
+ regionId?: string;
1826
+ resourceManagerResourceGroupId?: string;
1827
+ static names(): {
1828
+ [key: string]: string;
1829
+ };
1830
+ static types(): {
1831
+ [key: string]: any;
1832
+ };
1833
+ constructor(map?: {
1834
+ [key: string]: any;
1835
+ });
1836
+ }
1837
+ export declare class DescribeResourceSupportRegionsResponseBody extends $tea.Model {
1838
+ requestId?: string;
1839
+ supportRegions?: string[];
1840
+ static names(): {
1841
+ [key: string]: string;
1842
+ };
1843
+ static types(): {
1844
+ [key: string]: any;
1845
+ };
1846
+ constructor(map?: {
1847
+ [key: string]: any;
1848
+ });
1849
+ }
1850
+ export declare class DescribeResourceSupportRegionsResponse extends $tea.Model {
1851
+ headers?: {
1852
+ [key: string]: string;
1853
+ };
1854
+ statusCode?: number;
1855
+ body?: DescribeResourceSupportRegionsResponseBody;
1856
+ static names(): {
1857
+ [key: string]: string;
1858
+ };
1859
+ static types(): {
1860
+ [key: string]: any;
1861
+ };
1862
+ constructor(map?: {
1863
+ [key: string]: any;
1864
+ });
1865
+ }
1688
1866
  export declare class DescribeResponseCodeTrendGraphRequest extends $tea.Model {
1689
1867
  endTimestamp?: string;
1690
1868
  instanceId?: string;
@@ -2506,6 +2684,54 @@ export declare class ModifyDefenseResourceGroupResponse extends $tea.Model {
2506
2684
  [key: string]: any;
2507
2685
  });
2508
2686
  }
2687
+ export declare class ModifyDefenseResourceXffRequest extends $tea.Model {
2688
+ acwCookieStatus?: number;
2689
+ acwSecureStatus?: number;
2690
+ acwV3SecureStatus?: number;
2691
+ customHeaders?: string[];
2692
+ instanceId?: string;
2693
+ regionId?: string;
2694
+ resource?: string;
2695
+ resourceManagerResourceGroupId?: string;
2696
+ xffStatus?: number;
2697
+ static names(): {
2698
+ [key: string]: string;
2699
+ };
2700
+ static types(): {
2701
+ [key: string]: any;
2702
+ };
2703
+ constructor(map?: {
2704
+ [key: string]: any;
2705
+ });
2706
+ }
2707
+ export declare class ModifyDefenseResourceXffResponseBody extends $tea.Model {
2708
+ requestId?: string;
2709
+ static names(): {
2710
+ [key: string]: string;
2711
+ };
2712
+ static types(): {
2713
+ [key: string]: any;
2714
+ };
2715
+ constructor(map?: {
2716
+ [key: string]: any;
2717
+ });
2718
+ }
2719
+ export declare class ModifyDefenseResourceXffResponse extends $tea.Model {
2720
+ headers?: {
2721
+ [key: string]: string;
2722
+ };
2723
+ statusCode?: number;
2724
+ body?: ModifyDefenseResourceXffResponseBody;
2725
+ static names(): {
2726
+ [key: string]: string;
2727
+ };
2728
+ static types(): {
2729
+ [key: string]: any;
2730
+ };
2731
+ constructor(map?: {
2732
+ [key: string]: any;
2733
+ });
2734
+ }
2509
2735
  export declare class ModifyDefenseRuleRequest extends $tea.Model {
2510
2736
  defenseScene?: string;
2511
2737
  instanceId?: string;
@@ -2551,6 +2777,50 @@ export declare class ModifyDefenseRuleResponse extends $tea.Model {
2551
2777
  [key: string]: any;
2552
2778
  });
2553
2779
  }
2780
+ export declare class ModifyDefenseRuleCacheRequest extends $tea.Model {
2781
+ instanceId?: string;
2782
+ regionId?: string;
2783
+ resourceManagerResourceGroupId?: string;
2784
+ ruleId?: number;
2785
+ templateId?: number;
2786
+ static names(): {
2787
+ [key: string]: string;
2788
+ };
2789
+ static types(): {
2790
+ [key: string]: any;
2791
+ };
2792
+ constructor(map?: {
2793
+ [key: string]: any;
2794
+ });
2795
+ }
2796
+ export declare class ModifyDefenseRuleCacheResponseBody extends $tea.Model {
2797
+ requestId?: string;
2798
+ static names(): {
2799
+ [key: string]: string;
2800
+ };
2801
+ static types(): {
2802
+ [key: string]: any;
2803
+ };
2804
+ constructor(map?: {
2805
+ [key: string]: any;
2806
+ });
2807
+ }
2808
+ export declare class ModifyDefenseRuleCacheResponse extends $tea.Model {
2809
+ headers?: {
2810
+ [key: string]: string;
2811
+ };
2812
+ statusCode?: number;
2813
+ body?: ModifyDefenseRuleCacheResponseBody;
2814
+ static names(): {
2815
+ [key: string]: string;
2816
+ };
2817
+ static types(): {
2818
+ [key: string]: any;
2819
+ };
2820
+ constructor(map?: {
2821
+ [key: string]: any;
2822
+ });
2823
+ }
2554
2824
  export declare class ModifyDefenseRuleStatusRequest extends $tea.Model {
2555
2825
  instanceId?: string;
2556
2826
  regionId?: string;
@@ -3055,6 +3325,24 @@ export declare class CreateDomainResponseBodyDomainInfo extends $tea.Model {
3055
3325
  [key: string]: any;
3056
3326
  });
3057
3327
  }
3328
+ export declare class DescribeCertsResponseBodyCerts extends $tea.Model {
3329
+ afterDate?: number;
3330
+ beforeDate?: number;
3331
+ certIdentifier?: string;
3332
+ certName?: string;
3333
+ commonName?: string;
3334
+ domain?: string;
3335
+ isChainCompleted?: boolean;
3336
+ static names(): {
3337
+ [key: string]: string;
3338
+ };
3339
+ static types(): {
3340
+ [key: string]: any;
3341
+ };
3342
+ constructor(map?: {
3343
+ [key: string]: any;
3344
+ });
3345
+ }
3058
3346
  export declare class DescribeDefenseResourceGroupResponseBodyGroup extends $tea.Model {
3059
3347
  description?: string;
3060
3348
  gmtCreate?: number;
@@ -4006,6 +4294,8 @@ export default class Client extends OpenApi {
4006
4294
  deleteMemberAccount(request: DeleteMemberAccountRequest): Promise<DeleteMemberAccountResponse>;
4007
4295
  describeAccountDelegatedStatusWithOptions(request: DescribeAccountDelegatedStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAccountDelegatedStatusResponse>;
4008
4296
  describeAccountDelegatedStatus(request: DescribeAccountDelegatedStatusRequest): Promise<DescribeAccountDelegatedStatusResponse>;
4297
+ describeCertsWithOptions(request: DescribeCertsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeCertsResponse>;
4298
+ describeCerts(request: DescribeCertsRequest): Promise<DescribeCertsResponse>;
4009
4299
  describeDefenseResourceGroupWithOptions(request: DescribeDefenseResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefenseResourceGroupResponse>;
4010
4300
  describeDefenseResourceGroup(request: DescribeDefenseResourceGroupRequest): Promise<DescribeDefenseResourceGroupResponse>;
4011
4301
  describeDefenseResourceTemplatesWithOptions(request: DescribeDefenseResourceTemplatesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefenseResourceTemplatesResponse>;
@@ -4020,6 +4310,8 @@ export default class Client extends OpenApi {
4020
4310
  describeDefenseTemplate(request: DescribeDefenseTemplateRequest): Promise<DescribeDefenseTemplateResponse>;
4021
4311
  describeDefenseTemplatesWithOptions(request: DescribeDefenseTemplatesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDefenseTemplatesResponse>;
4022
4312
  describeDefenseTemplates(request: DescribeDefenseTemplatesRequest): Promise<DescribeDefenseTemplatesResponse>;
4313
+ describeDomainDNSRecordWithOptions(request: DescribeDomainDNSRecordRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainDNSRecordResponse>;
4314
+ describeDomainDNSRecord(request: DescribeDomainDNSRecordRequest): Promise<DescribeDomainDNSRecordResponse>;
4023
4315
  describeDomainDetailWithOptions(request: DescribeDomainDetailRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainDetailResponse>;
4024
4316
  describeDomainDetail(request: DescribeDomainDetailRequest): Promise<DescribeDomainDetailResponse>;
4025
4317
  describeDomainsWithOptions(request: DescribeDomainsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDomainsResponse>;
@@ -4050,6 +4342,10 @@ export default class Client extends OpenApi {
4050
4342
  describeResourceLogStatus(request: DescribeResourceLogStatusRequest): Promise<DescribeResourceLogStatusResponse>;
4051
4343
  describeResourcePortWithOptions(request: DescribeResourcePortRequest, runtime: $Util.RuntimeOptions): Promise<DescribeResourcePortResponse>;
4052
4344
  describeResourcePort(request: DescribeResourcePortRequest): Promise<DescribeResourcePortResponse>;
4345
+ describeResourceRegionIdWithOptions(request: DescribeResourceRegionIdRequest, runtime: $Util.RuntimeOptions): Promise<DescribeResourceRegionIdResponse>;
4346
+ describeResourceRegionId(request: DescribeResourceRegionIdRequest): Promise<DescribeResourceRegionIdResponse>;
4347
+ describeResourceSupportRegionsWithOptions(request: DescribeResourceSupportRegionsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeResourceSupportRegionsResponse>;
4348
+ describeResourceSupportRegions(request: DescribeResourceSupportRegionsRequest): Promise<DescribeResourceSupportRegionsResponse>;
4053
4349
  describeResponseCodeTrendGraphWithOptions(request: DescribeResponseCodeTrendGraphRequest, runtime: $Util.RuntimeOptions): Promise<DescribeResponseCodeTrendGraphResponse>;
4054
4350
  describeResponseCodeTrendGraph(request: DescribeResponseCodeTrendGraphRequest): Promise<DescribeResponseCodeTrendGraphResponse>;
4055
4351
  describeRuleGroupsWithOptions(request: DescribeRuleGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRuleGroupsResponse>;
@@ -4086,8 +4382,12 @@ export default class Client extends OpenApi {
4086
4382
  describeWafSourceIpSegment(request: DescribeWafSourceIpSegmentRequest): Promise<DescribeWafSourceIpSegmentResponse>;
4087
4383
  modifyDefenseResourceGroupWithOptions(request: ModifyDefenseResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefenseResourceGroupResponse>;
4088
4384
  modifyDefenseResourceGroup(request: ModifyDefenseResourceGroupRequest): Promise<ModifyDefenseResourceGroupResponse>;
4385
+ modifyDefenseResourceXffWithOptions(request: ModifyDefenseResourceXffRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefenseResourceXffResponse>;
4386
+ modifyDefenseResourceXff(request: ModifyDefenseResourceXffRequest): Promise<ModifyDefenseResourceXffResponse>;
4089
4387
  modifyDefenseRuleWithOptions(request: ModifyDefenseRuleRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefenseRuleResponse>;
4090
4388
  modifyDefenseRule(request: ModifyDefenseRuleRequest): Promise<ModifyDefenseRuleResponse>;
4389
+ modifyDefenseRuleCacheWithOptions(request: ModifyDefenseRuleCacheRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefenseRuleCacheResponse>;
4390
+ modifyDefenseRuleCache(request: ModifyDefenseRuleCacheRequest): Promise<ModifyDefenseRuleCacheResponse>;
4091
4391
  modifyDefenseRuleStatusWithOptions(request: ModifyDefenseRuleStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefenseRuleStatusResponse>;
4092
4392
  modifyDefenseRuleStatus(request: ModifyDefenseRuleStatusRequest): Promise<ModifyDefenseRuleStatusResponse>;
4093
4393
  modifyDefenseTemplateWithOptions(request: ModifyDefenseTemplateRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDefenseTemplateResponse>;