@alicloud/waf-openapi20211001 2.6.0 → 3.1.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
@@ -1716,6 +1716,78 @@ export class DescribeApisecEventDomainStatisticResponse extends $tea.Model {
1716
1716
  }
1717
1717
  }
1718
1718
 
1719
+ export class DescribeApisecLogDeliveriesRequest extends $tea.Model {
1720
+ instanceId?: string;
1721
+ regionId?: string;
1722
+ resourceManagerResourceGroupId?: string;
1723
+ static names(): { [key: string]: string } {
1724
+ return {
1725
+ instanceId: 'InstanceId',
1726
+ regionId: 'RegionId',
1727
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
1728
+ };
1729
+ }
1730
+
1731
+ static types(): { [key: string]: any } {
1732
+ return {
1733
+ instanceId: 'string',
1734
+ regionId: 'string',
1735
+ resourceManagerResourceGroupId: 'string',
1736
+ };
1737
+ }
1738
+
1739
+ constructor(map?: { [key: string]: any }) {
1740
+ super(map);
1741
+ }
1742
+ }
1743
+
1744
+ export class DescribeApisecLogDeliveriesResponseBody extends $tea.Model {
1745
+ deliveryConfigs?: DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs[];
1746
+ requestId?: string;
1747
+ static names(): { [key: string]: string } {
1748
+ return {
1749
+ deliveryConfigs: 'DeliveryConfigs',
1750
+ requestId: 'RequestId',
1751
+ };
1752
+ }
1753
+
1754
+ static types(): { [key: string]: any } {
1755
+ return {
1756
+ deliveryConfigs: { 'type': 'array', 'itemType': DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs },
1757
+ requestId: 'string',
1758
+ };
1759
+ }
1760
+
1761
+ constructor(map?: { [key: string]: any }) {
1762
+ super(map);
1763
+ }
1764
+ }
1765
+
1766
+ export class DescribeApisecLogDeliveriesResponse extends $tea.Model {
1767
+ headers?: { [key: string]: string };
1768
+ statusCode?: number;
1769
+ body?: DescribeApisecLogDeliveriesResponseBody;
1770
+ static names(): { [key: string]: string } {
1771
+ return {
1772
+ headers: 'headers',
1773
+ statusCode: 'statusCode',
1774
+ body: 'body',
1775
+ };
1776
+ }
1777
+
1778
+ static types(): { [key: string]: any } {
1779
+ return {
1780
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1781
+ statusCode: 'number',
1782
+ body: DescribeApisecLogDeliveriesResponseBody,
1783
+ };
1784
+ }
1785
+
1786
+ constructor(map?: { [key: string]: any }) {
1787
+ super(map);
1788
+ }
1789
+ }
1790
+
1719
1791
  export class DescribeApisecSensitiveDomainStatisticRequest extends $tea.Model {
1720
1792
  clusterId?: string;
1721
1793
  endTime?: number;
@@ -1815,6 +1887,159 @@ export class DescribeApisecSensitiveDomainStatisticResponse extends $tea.Model {
1815
1887
  }
1816
1888
  }
1817
1889
 
1890
+ export class DescribeApisecSlsLogStoresRequest extends $tea.Model {
1891
+ instanceId?: string;
1892
+ logRegionId?: string;
1893
+ projectName?: string;
1894
+ regionId?: string;
1895
+ resourceManagerResourceGroupId?: string;
1896
+ static names(): { [key: string]: string } {
1897
+ return {
1898
+ instanceId: 'InstanceId',
1899
+ logRegionId: 'LogRegionId',
1900
+ projectName: 'ProjectName',
1901
+ regionId: 'RegionId',
1902
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
1903
+ };
1904
+ }
1905
+
1906
+ static types(): { [key: string]: any } {
1907
+ return {
1908
+ instanceId: 'string',
1909
+ logRegionId: 'string',
1910
+ projectName: 'string',
1911
+ regionId: 'string',
1912
+ resourceManagerResourceGroupId: 'string',
1913
+ };
1914
+ }
1915
+
1916
+ constructor(map?: { [key: string]: any }) {
1917
+ super(map);
1918
+ }
1919
+ }
1920
+
1921
+ export class DescribeApisecSlsLogStoresResponseBody extends $tea.Model {
1922
+ logStores?: string[];
1923
+ requestId?: string;
1924
+ static names(): { [key: string]: string } {
1925
+ return {
1926
+ logStores: 'LogStores',
1927
+ requestId: 'RequestId',
1928
+ };
1929
+ }
1930
+
1931
+ static types(): { [key: string]: any } {
1932
+ return {
1933
+ logStores: { 'type': 'array', 'itemType': 'string' },
1934
+ requestId: 'string',
1935
+ };
1936
+ }
1937
+
1938
+ constructor(map?: { [key: string]: any }) {
1939
+ super(map);
1940
+ }
1941
+ }
1942
+
1943
+ export class DescribeApisecSlsLogStoresResponse extends $tea.Model {
1944
+ headers?: { [key: string]: string };
1945
+ statusCode?: number;
1946
+ body?: DescribeApisecSlsLogStoresResponseBody;
1947
+ static names(): { [key: string]: string } {
1948
+ return {
1949
+ headers: 'headers',
1950
+ statusCode: 'statusCode',
1951
+ body: 'body',
1952
+ };
1953
+ }
1954
+
1955
+ static types(): { [key: string]: any } {
1956
+ return {
1957
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1958
+ statusCode: 'number',
1959
+ body: DescribeApisecSlsLogStoresResponseBody,
1960
+ };
1961
+ }
1962
+
1963
+ constructor(map?: { [key: string]: any }) {
1964
+ super(map);
1965
+ }
1966
+ }
1967
+
1968
+ export class DescribeApisecSlsProjectsRequest extends $tea.Model {
1969
+ instanceId?: string;
1970
+ logRegionId?: string;
1971
+ regionId?: string;
1972
+ resourceManagerResourceGroupId?: string;
1973
+ static names(): { [key: string]: string } {
1974
+ return {
1975
+ instanceId: 'InstanceId',
1976
+ logRegionId: 'LogRegionId',
1977
+ regionId: 'RegionId',
1978
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
1979
+ };
1980
+ }
1981
+
1982
+ static types(): { [key: string]: any } {
1983
+ return {
1984
+ instanceId: 'string',
1985
+ logRegionId: 'string',
1986
+ regionId: 'string',
1987
+ resourceManagerResourceGroupId: 'string',
1988
+ };
1989
+ }
1990
+
1991
+ constructor(map?: { [key: string]: any }) {
1992
+ super(map);
1993
+ }
1994
+ }
1995
+
1996
+ export class DescribeApisecSlsProjectsResponseBody extends $tea.Model {
1997
+ projects?: string[];
1998
+ requestId?: string;
1999
+ static names(): { [key: string]: string } {
2000
+ return {
2001
+ projects: 'Projects',
2002
+ requestId: 'RequestId',
2003
+ };
2004
+ }
2005
+
2006
+ static types(): { [key: string]: any } {
2007
+ return {
2008
+ projects: { 'type': 'array', 'itemType': 'string' },
2009
+ requestId: 'string',
2010
+ };
2011
+ }
2012
+
2013
+ constructor(map?: { [key: string]: any }) {
2014
+ super(map);
2015
+ }
2016
+ }
2017
+
2018
+ export class DescribeApisecSlsProjectsResponse extends $tea.Model {
2019
+ headers?: { [key: string]: string };
2020
+ statusCode?: number;
2021
+ body?: DescribeApisecSlsProjectsResponseBody;
2022
+ static names(): { [key: string]: string } {
2023
+ return {
2024
+ headers: 'headers',
2025
+ statusCode: 'statusCode',
2026
+ body: 'body',
2027
+ };
2028
+ }
2029
+
2030
+ static types(): { [key: string]: any } {
2031
+ return {
2032
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
2033
+ statusCode: 'number',
2034
+ body: DescribeApisecSlsProjectsResponseBody,
2035
+ };
2036
+ }
2037
+
2038
+ constructor(map?: { [key: string]: any }) {
2039
+ super(map);
2040
+ }
2041
+ }
2042
+
1818
2043
  export class DescribeCertDetailRequest extends $tea.Model {
1819
2044
  certIdentifier?: string;
1820
2045
  instanceId?: string;
@@ -4107,6 +4332,78 @@ export class DescribeMemberAccountsResponse extends $tea.Model {
4107
4332
  }
4108
4333
  }
4109
4334
 
4335
+ export class DescribePauseProtectionStatusRequest extends $tea.Model {
4336
+ instanceId?: string;
4337
+ regionId?: string;
4338
+ resourceManagerResourceGroupId?: string;
4339
+ static names(): { [key: string]: string } {
4340
+ return {
4341
+ instanceId: 'InstanceId',
4342
+ regionId: 'RegionId',
4343
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
4344
+ };
4345
+ }
4346
+
4347
+ static types(): { [key: string]: any } {
4348
+ return {
4349
+ instanceId: 'string',
4350
+ regionId: 'string',
4351
+ resourceManagerResourceGroupId: 'string',
4352
+ };
4353
+ }
4354
+
4355
+ constructor(map?: { [key: string]: any }) {
4356
+ super(map);
4357
+ }
4358
+ }
4359
+
4360
+ export class DescribePauseProtectionStatusResponseBody extends $tea.Model {
4361
+ pauseStatus?: number;
4362
+ requestId?: string;
4363
+ static names(): { [key: string]: string } {
4364
+ return {
4365
+ pauseStatus: 'PauseStatus',
4366
+ requestId: 'RequestId',
4367
+ };
4368
+ }
4369
+
4370
+ static types(): { [key: string]: any } {
4371
+ return {
4372
+ pauseStatus: 'number',
4373
+ requestId: 'string',
4374
+ };
4375
+ }
4376
+
4377
+ constructor(map?: { [key: string]: any }) {
4378
+ super(map);
4379
+ }
4380
+ }
4381
+
4382
+ export class DescribePauseProtectionStatusResponse extends $tea.Model {
4383
+ headers?: { [key: string]: string };
4384
+ statusCode?: number;
4385
+ body?: DescribePauseProtectionStatusResponseBody;
4386
+ static names(): { [key: string]: string } {
4387
+ return {
4388
+ headers: 'headers',
4389
+ statusCode: 'statusCode',
4390
+ body: 'body',
4391
+ };
4392
+ }
4393
+
4394
+ static types(): { [key: string]: any } {
4395
+ return {
4396
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
4397
+ statusCode: 'number',
4398
+ body: DescribePauseProtectionStatusResponseBody,
4399
+ };
4400
+ }
4401
+
4402
+ constructor(map?: { [key: string]: any }) {
4403
+ super(map);
4404
+ }
4405
+ }
4406
+
4110
4407
  export class DescribePeakTrendRequest extends $tea.Model {
4111
4408
  endTimestamp?: string;
4112
4409
  instanceId?: string;
@@ -6411,6 +6708,162 @@ export class ListTagValuesResponse extends $tea.Model {
6411
6708
  }
6412
6709
  }
6413
6710
 
6711
+ export class ModifyApisecLogDeliveryRequest extends $tea.Model {
6712
+ assertKey?: string;
6713
+ instanceId?: string;
6714
+ logRegionId?: string;
6715
+ logStoreName?: string;
6716
+ projectName?: string;
6717
+ regionId?: string;
6718
+ resourceManagerResourceGroupId?: string;
6719
+ static names(): { [key: string]: string } {
6720
+ return {
6721
+ assertKey: 'AssertKey',
6722
+ instanceId: 'InstanceId',
6723
+ logRegionId: 'LogRegionId',
6724
+ logStoreName: 'LogStoreName',
6725
+ projectName: 'ProjectName',
6726
+ regionId: 'RegionId',
6727
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
6728
+ };
6729
+ }
6730
+
6731
+ static types(): { [key: string]: any } {
6732
+ return {
6733
+ assertKey: 'string',
6734
+ instanceId: 'string',
6735
+ logRegionId: 'string',
6736
+ logStoreName: 'string',
6737
+ projectName: 'string',
6738
+ regionId: 'string',
6739
+ resourceManagerResourceGroupId: 'string',
6740
+ };
6741
+ }
6742
+
6743
+ constructor(map?: { [key: string]: any }) {
6744
+ super(map);
6745
+ }
6746
+ }
6747
+
6748
+ export class ModifyApisecLogDeliveryResponseBody extends $tea.Model {
6749
+ requestId?: string;
6750
+ static names(): { [key: string]: string } {
6751
+ return {
6752
+ requestId: 'RequestId',
6753
+ };
6754
+ }
6755
+
6756
+ static types(): { [key: string]: any } {
6757
+ return {
6758
+ requestId: 'string',
6759
+ };
6760
+ }
6761
+
6762
+ constructor(map?: { [key: string]: any }) {
6763
+ super(map);
6764
+ }
6765
+ }
6766
+
6767
+ export class ModifyApisecLogDeliveryResponse extends $tea.Model {
6768
+ headers?: { [key: string]: string };
6769
+ statusCode?: number;
6770
+ body?: ModifyApisecLogDeliveryResponseBody;
6771
+ static names(): { [key: string]: string } {
6772
+ return {
6773
+ headers: 'headers',
6774
+ statusCode: 'statusCode',
6775
+ body: 'body',
6776
+ };
6777
+ }
6778
+
6779
+ static types(): { [key: string]: any } {
6780
+ return {
6781
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6782
+ statusCode: 'number',
6783
+ body: ModifyApisecLogDeliveryResponseBody,
6784
+ };
6785
+ }
6786
+
6787
+ constructor(map?: { [key: string]: any }) {
6788
+ super(map);
6789
+ }
6790
+ }
6791
+
6792
+ export class ModifyApisecLogDeliveryStatusRequest extends $tea.Model {
6793
+ assertKey?: string;
6794
+ instanceId?: string;
6795
+ regionId?: string;
6796
+ resourceManagerResourceGroupId?: string;
6797
+ status?: boolean;
6798
+ static names(): { [key: string]: string } {
6799
+ return {
6800
+ assertKey: 'AssertKey',
6801
+ instanceId: 'InstanceId',
6802
+ regionId: 'RegionId',
6803
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
6804
+ status: 'Status',
6805
+ };
6806
+ }
6807
+
6808
+ static types(): { [key: string]: any } {
6809
+ return {
6810
+ assertKey: 'string',
6811
+ instanceId: 'string',
6812
+ regionId: 'string',
6813
+ resourceManagerResourceGroupId: 'string',
6814
+ status: 'boolean',
6815
+ };
6816
+ }
6817
+
6818
+ constructor(map?: { [key: string]: any }) {
6819
+ super(map);
6820
+ }
6821
+ }
6822
+
6823
+ export class ModifyApisecLogDeliveryStatusResponseBody extends $tea.Model {
6824
+ requestId?: string;
6825
+ static names(): { [key: string]: string } {
6826
+ return {
6827
+ requestId: 'RequestId',
6828
+ };
6829
+ }
6830
+
6831
+ static types(): { [key: string]: any } {
6832
+ return {
6833
+ requestId: 'string',
6834
+ };
6835
+ }
6836
+
6837
+ constructor(map?: { [key: string]: any }) {
6838
+ super(map);
6839
+ }
6840
+ }
6841
+
6842
+ export class ModifyApisecLogDeliveryStatusResponse extends $tea.Model {
6843
+ headers?: { [key: string]: string };
6844
+ statusCode?: number;
6845
+ body?: ModifyApisecLogDeliveryStatusResponseBody;
6846
+ static names(): { [key: string]: string } {
6847
+ return {
6848
+ headers: 'headers',
6849
+ statusCode: 'statusCode',
6850
+ body: 'body',
6851
+ };
6852
+ }
6853
+
6854
+ static types(): { [key: string]: any } {
6855
+ return {
6856
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
6857
+ statusCode: 'number',
6858
+ body: ModifyApisecLogDeliveryStatusResponseBody,
6859
+ };
6860
+ }
6861
+
6862
+ constructor(map?: { [key: string]: any }) {
6863
+ super(map);
6864
+ }
6865
+ }
6866
+
6414
6867
  export class ModifyDefenseResourceGroupRequest extends $tea.Model {
6415
6868
  addList?: string;
6416
6869
  deleteList?: string;
@@ -7244,13 +7697,91 @@ export class ModifyMajorProtectionBlackIpRequest extends $tea.Model {
7244
7697
  static types(): { [key: string]: any } {
7245
7698
  return {
7246
7699
  description: 'string',
7247
- expiredTime: 'number',
7700
+ expiredTime: 'number',
7701
+ instanceId: 'string',
7702
+ ipList: 'string',
7703
+ regionId: 'string',
7704
+ resourceManagerResourceGroupId: 'string',
7705
+ ruleId: 'number',
7706
+ templateId: 'number',
7707
+ };
7708
+ }
7709
+
7710
+ constructor(map?: { [key: string]: any }) {
7711
+ super(map);
7712
+ }
7713
+ }
7714
+
7715
+ export class ModifyMajorProtectionBlackIpResponseBody extends $tea.Model {
7716
+ requestId?: string;
7717
+ static names(): { [key: string]: string } {
7718
+ return {
7719
+ requestId: 'RequestId',
7720
+ };
7721
+ }
7722
+
7723
+ static types(): { [key: string]: any } {
7724
+ return {
7725
+ requestId: 'string',
7726
+ };
7727
+ }
7728
+
7729
+ constructor(map?: { [key: string]: any }) {
7730
+ super(map);
7731
+ }
7732
+ }
7733
+
7734
+ export class ModifyMajorProtectionBlackIpResponse extends $tea.Model {
7735
+ headers?: { [key: string]: string };
7736
+ statusCode?: number;
7737
+ body?: ModifyMajorProtectionBlackIpResponseBody;
7738
+ static names(): { [key: string]: string } {
7739
+ return {
7740
+ headers: 'headers',
7741
+ statusCode: 'statusCode',
7742
+ body: 'body',
7743
+ };
7744
+ }
7745
+
7746
+ static types(): { [key: string]: any } {
7747
+ return {
7748
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7749
+ statusCode: 'number',
7750
+ body: ModifyMajorProtectionBlackIpResponseBody,
7751
+ };
7752
+ }
7753
+
7754
+ constructor(map?: { [key: string]: any }) {
7755
+ super(map);
7756
+ }
7757
+ }
7758
+
7759
+ export class ModifyMemberAccountRequest extends $tea.Model {
7760
+ description?: string;
7761
+ instanceId?: string;
7762
+ memberAccountId?: string;
7763
+ regionId?: string;
7764
+ resourceManagerResourceGroupId?: string;
7765
+ sourceIp?: string;
7766
+ static names(): { [key: string]: string } {
7767
+ return {
7768
+ description: 'Description',
7769
+ instanceId: 'InstanceId',
7770
+ memberAccountId: 'MemberAccountId',
7771
+ regionId: 'RegionId',
7772
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
7773
+ sourceIp: 'SourceIp',
7774
+ };
7775
+ }
7776
+
7777
+ static types(): { [key: string]: any } {
7778
+ return {
7779
+ description: 'string',
7248
7780
  instanceId: 'string',
7249
- ipList: 'string',
7781
+ memberAccountId: 'string',
7250
7782
  regionId: 'string',
7251
7783
  resourceManagerResourceGroupId: 'string',
7252
- ruleId: 'number',
7253
- templateId: 'number',
7784
+ sourceIp: 'string',
7254
7785
  };
7255
7786
  }
7256
7787
 
@@ -7259,7 +7790,7 @@ export class ModifyMajorProtectionBlackIpRequest extends $tea.Model {
7259
7790
  }
7260
7791
  }
7261
7792
 
7262
- export class ModifyMajorProtectionBlackIpResponseBody extends $tea.Model {
7793
+ export class ModifyMemberAccountResponseBody extends $tea.Model {
7263
7794
  requestId?: string;
7264
7795
  static names(): { [key: string]: string } {
7265
7796
  return {
@@ -7278,10 +7809,10 @@ export class ModifyMajorProtectionBlackIpResponseBody extends $tea.Model {
7278
7809
  }
7279
7810
  }
7280
7811
 
7281
- export class ModifyMajorProtectionBlackIpResponse extends $tea.Model {
7812
+ export class ModifyMemberAccountResponse extends $tea.Model {
7282
7813
  headers?: { [key: string]: string };
7283
7814
  statusCode?: number;
7284
- body?: ModifyMajorProtectionBlackIpResponseBody;
7815
+ body?: ModifyMemberAccountResponseBody;
7285
7816
  static names(): { [key: string]: string } {
7286
7817
  return {
7287
7818
  headers: 'headers',
@@ -7294,7 +7825,7 @@ export class ModifyMajorProtectionBlackIpResponse extends $tea.Model {
7294
7825
  return {
7295
7826
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7296
7827
  statusCode: 'number',
7297
- body: ModifyMajorProtectionBlackIpResponseBody,
7828
+ body: ModifyMemberAccountResponseBody,
7298
7829
  };
7299
7830
  }
7300
7831
 
@@ -7303,32 +7834,26 @@ export class ModifyMajorProtectionBlackIpResponse extends $tea.Model {
7303
7834
  }
7304
7835
  }
7305
7836
 
7306
- export class ModifyMemberAccountRequest extends $tea.Model {
7307
- description?: string;
7837
+ export class ModifyPauseProtectionStatusRequest extends $tea.Model {
7308
7838
  instanceId?: string;
7309
- memberAccountId?: string;
7839
+ pauseStatus?: number;
7310
7840
  regionId?: string;
7311
7841
  resourceManagerResourceGroupId?: string;
7312
- sourceIp?: string;
7313
7842
  static names(): { [key: string]: string } {
7314
7843
  return {
7315
- description: 'Description',
7316
7844
  instanceId: 'InstanceId',
7317
- memberAccountId: 'MemberAccountId',
7845
+ pauseStatus: 'PauseStatus',
7318
7846
  regionId: 'RegionId',
7319
7847
  resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
7320
- sourceIp: 'SourceIp',
7321
7848
  };
7322
7849
  }
7323
7850
 
7324
7851
  static types(): { [key: string]: any } {
7325
7852
  return {
7326
- description: 'string',
7327
7853
  instanceId: 'string',
7328
- memberAccountId: 'string',
7854
+ pauseStatus: 'number',
7329
7855
  regionId: 'string',
7330
7856
  resourceManagerResourceGroupId: 'string',
7331
- sourceIp: 'string',
7332
7857
  };
7333
7858
  }
7334
7859
 
@@ -7337,7 +7862,7 @@ export class ModifyMemberAccountRequest extends $tea.Model {
7337
7862
  }
7338
7863
  }
7339
7864
 
7340
- export class ModifyMemberAccountResponseBody extends $tea.Model {
7865
+ export class ModifyPauseProtectionStatusResponseBody extends $tea.Model {
7341
7866
  requestId?: string;
7342
7867
  static names(): { [key: string]: string } {
7343
7868
  return {
@@ -7356,10 +7881,10 @@ export class ModifyMemberAccountResponseBody extends $tea.Model {
7356
7881
  }
7357
7882
  }
7358
7883
 
7359
- export class ModifyMemberAccountResponse extends $tea.Model {
7884
+ export class ModifyPauseProtectionStatusResponse extends $tea.Model {
7360
7885
  headers?: { [key: string]: string };
7361
7886
  statusCode?: number;
7362
- body?: ModifyMemberAccountResponseBody;
7887
+ body?: ModifyPauseProtectionStatusResponseBody;
7363
7888
  static names(): { [key: string]: string } {
7364
7889
  return {
7365
7890
  headers: 'headers',
@@ -7372,7 +7897,7 @@ export class ModifyMemberAccountResponse extends $tea.Model {
7372
7897
  return {
7373
7898
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7374
7899
  statusCode: 'number',
7375
- body: ModifyMemberAccountResponseBody,
7900
+ body: ModifyPauseProtectionStatusResponseBody,
7376
7901
  };
7377
7902
  }
7378
7903
 
@@ -8024,6 +8549,37 @@ export class DescribeApisecEventDomainStatisticResponseBodyData extends $tea.Mod
8024
8549
  }
8025
8550
  }
8026
8551
 
8552
+ export class DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs extends $tea.Model {
8553
+ assertKey?: string;
8554
+ logRegionId?: string;
8555
+ logStoreName?: string;
8556
+ projectName?: string;
8557
+ status?: boolean;
8558
+ static names(): { [key: string]: string } {
8559
+ return {
8560
+ assertKey: 'AssertKey',
8561
+ logRegionId: 'LogRegionId',
8562
+ logStoreName: 'LogStoreName',
8563
+ projectName: 'ProjectName',
8564
+ status: 'Status',
8565
+ };
8566
+ }
8567
+
8568
+ static types(): { [key: string]: any } {
8569
+ return {
8570
+ assertKey: 'string',
8571
+ logRegionId: 'string',
8572
+ logStoreName: 'string',
8573
+ projectName: 'string',
8574
+ status: 'boolean',
8575
+ };
8576
+ }
8577
+
8578
+ constructor(map?: { [key: string]: any }) {
8579
+ super(map);
8580
+ }
8581
+ }
8582
+
8027
8583
  export class DescribeApisecSensitiveDomainStatisticResponseBodyData extends $tea.Model {
8028
8584
  apiCount?: number;
8029
8585
  domainCount?: number;
@@ -8640,7 +9196,7 @@ export class DescribeDomainDetailResponseBodyListen extends $tea.Model {
8640
9196
  IPv6Enabled?: boolean;
8641
9197
  protectionResource?: string;
8642
9198
  SM2AccessOnly?: boolean;
8643
- SM2CertId?: boolean;
9199
+ SM2CertId?: string;
8644
9200
  SM2Enabled?: boolean;
8645
9201
  TLSVersion?: string;
8646
9202
  xffHeaderMode?: number;
@@ -8681,7 +9237,7 @@ export class DescribeDomainDetailResponseBodyListen extends $tea.Model {
8681
9237
  IPv6Enabled: 'boolean',
8682
9238
  protectionResource: 'string',
8683
9239
  SM2AccessOnly: 'boolean',
8684
- SM2CertId: 'boolean',
9240
+ SM2CertId: 'string',
8685
9241
  SM2Enabled: 'boolean',
8686
9242
  TLSVersion: 'string',
8687
9243
  xffHeaderMode: 'number',
@@ -11599,50 +12155,244 @@ export default class Client extends OpenApi {
11599
12155
  /**
11600
12156
  * @summary 查询API安全资产趋势图
11601
12157
  *
11602
- * @param request DescribeApisecAssetTrendRequest
11603
- * @return DescribeApisecAssetTrendResponse
12158
+ * @param request DescribeApisecAssetTrendRequest
12159
+ * @return DescribeApisecAssetTrendResponse
12160
+ */
12161
+ async describeApisecAssetTrend(request: DescribeApisecAssetTrendRequest): Promise<DescribeApisecAssetTrendResponse> {
12162
+ let runtime = new $Util.RuntimeOptions({ });
12163
+ return await this.describeApisecAssetTrendWithOptions(request, runtime);
12164
+ }
12165
+
12166
+ /**
12167
+ * @summary 查询API安全事件站点统计
12168
+ *
12169
+ * @param request DescribeApisecEventDomainStatisticRequest
12170
+ * @param runtime runtime options for this request RuntimeOptions
12171
+ * @return DescribeApisecEventDomainStatisticResponse
12172
+ */
12173
+ async describeApisecEventDomainStatisticWithOptions(request: DescribeApisecEventDomainStatisticRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecEventDomainStatisticResponse> {
12174
+ Util.validateModel(request);
12175
+ let query = { };
12176
+ if (!Util.isUnset(request.clusterId)) {
12177
+ query["ClusterId"] = request.clusterId;
12178
+ }
12179
+
12180
+ if (!Util.isUnset(request.endTime)) {
12181
+ query["EndTime"] = request.endTime;
12182
+ }
12183
+
12184
+ if (!Util.isUnset(request.instanceId)) {
12185
+ query["InstanceId"] = request.instanceId;
12186
+ }
12187
+
12188
+ if (!Util.isUnset(request.orderWay)) {
12189
+ query["OrderWay"] = request.orderWay;
12190
+ }
12191
+
12192
+ if (!Util.isUnset(request.pageNumber)) {
12193
+ query["PageNumber"] = request.pageNumber;
12194
+ }
12195
+
12196
+ if (!Util.isUnset(request.pageSize)) {
12197
+ query["PageSize"] = request.pageSize;
12198
+ }
12199
+
12200
+ if (!Util.isUnset(request.region)) {
12201
+ query["Region"] = request.region;
12202
+ }
12203
+
12204
+ if (!Util.isUnset(request.regionId)) {
12205
+ query["RegionId"] = request.regionId;
12206
+ }
12207
+
12208
+ if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
12209
+ query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
12210
+ }
12211
+
12212
+ if (!Util.isUnset(request.startTime)) {
12213
+ query["StartTime"] = request.startTime;
12214
+ }
12215
+
12216
+ let req = new $OpenApi.OpenApiRequest({
12217
+ query: OpenApiUtil.query(query),
12218
+ });
12219
+ let params = new $OpenApi.Params({
12220
+ action: "DescribeApisecEventDomainStatistic",
12221
+ version: "2021-10-01",
12222
+ protocol: "HTTPS",
12223
+ pathname: "/",
12224
+ method: "POST",
12225
+ authType: "AK",
12226
+ style: "RPC",
12227
+ reqBodyType: "formData",
12228
+ bodyType: "json",
12229
+ });
12230
+ return $tea.cast<DescribeApisecEventDomainStatisticResponse>(await this.callApi(params, req, runtime), new DescribeApisecEventDomainStatisticResponse({}));
12231
+ }
12232
+
12233
+ /**
12234
+ * @summary 查询API安全事件站点统计
12235
+ *
12236
+ * @param request DescribeApisecEventDomainStatisticRequest
12237
+ * @return DescribeApisecEventDomainStatisticResponse
12238
+ */
12239
+ async describeApisecEventDomainStatistic(request: DescribeApisecEventDomainStatisticRequest): Promise<DescribeApisecEventDomainStatisticResponse> {
12240
+ let runtime = new $Util.RuntimeOptions({ });
12241
+ return await this.describeApisecEventDomainStatisticWithOptions(request, runtime);
12242
+ }
12243
+
12244
+ /**
12245
+ * @summary 获取API安全日志订阅列表
12246
+ *
12247
+ * @param request DescribeApisecLogDeliveriesRequest
12248
+ * @param runtime runtime options for this request RuntimeOptions
12249
+ * @return DescribeApisecLogDeliveriesResponse
12250
+ */
12251
+ async describeApisecLogDeliveriesWithOptions(request: DescribeApisecLogDeliveriesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecLogDeliveriesResponse> {
12252
+ Util.validateModel(request);
12253
+ let query = { };
12254
+ if (!Util.isUnset(request.instanceId)) {
12255
+ query["InstanceId"] = request.instanceId;
12256
+ }
12257
+
12258
+ if (!Util.isUnset(request.regionId)) {
12259
+ query["RegionId"] = request.regionId;
12260
+ }
12261
+
12262
+ if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
12263
+ query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
12264
+ }
12265
+
12266
+ let req = new $OpenApi.OpenApiRequest({
12267
+ query: OpenApiUtil.query(query),
12268
+ });
12269
+ let params = new $OpenApi.Params({
12270
+ action: "DescribeApisecLogDeliveries",
12271
+ version: "2021-10-01",
12272
+ protocol: "HTTPS",
12273
+ pathname: "/",
12274
+ method: "POST",
12275
+ authType: "AK",
12276
+ style: "RPC",
12277
+ reqBodyType: "formData",
12278
+ bodyType: "json",
12279
+ });
12280
+ return $tea.cast<DescribeApisecLogDeliveriesResponse>(await this.callApi(params, req, runtime), new DescribeApisecLogDeliveriesResponse({}));
12281
+ }
12282
+
12283
+ /**
12284
+ * @summary 获取API安全日志订阅列表
12285
+ *
12286
+ * @param request DescribeApisecLogDeliveriesRequest
12287
+ * @return DescribeApisecLogDeliveriesResponse
12288
+ */
12289
+ async describeApisecLogDeliveries(request: DescribeApisecLogDeliveriesRequest): Promise<DescribeApisecLogDeliveriesResponse> {
12290
+ let runtime = new $Util.RuntimeOptions({ });
12291
+ return await this.describeApisecLogDeliveriesWithOptions(request, runtime);
12292
+ }
12293
+
12294
+ /**
12295
+ * @summary 查询API安全敏感数据类型统计
12296
+ *
12297
+ * @param request DescribeApisecSensitiveDomainStatisticRequest
12298
+ * @param runtime runtime options for this request RuntimeOptions
12299
+ * @return DescribeApisecSensitiveDomainStatisticResponse
12300
+ */
12301
+ async describeApisecSensitiveDomainStatisticWithOptions(request: DescribeApisecSensitiveDomainStatisticRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSensitiveDomainStatisticResponse> {
12302
+ Util.validateModel(request);
12303
+ let query = { };
12304
+ if (!Util.isUnset(request.clusterId)) {
12305
+ query["ClusterId"] = request.clusterId;
12306
+ }
12307
+
12308
+ if (!Util.isUnset(request.endTime)) {
12309
+ query["EndTime"] = request.endTime;
12310
+ }
12311
+
12312
+ if (!Util.isUnset(request.instanceId)) {
12313
+ query["InstanceId"] = request.instanceId;
12314
+ }
12315
+
12316
+ if (!Util.isUnset(request.orderWay)) {
12317
+ query["OrderWay"] = request.orderWay;
12318
+ }
12319
+
12320
+ if (!Util.isUnset(request.pageNumber)) {
12321
+ query["PageNumber"] = request.pageNumber;
12322
+ }
12323
+
12324
+ if (!Util.isUnset(request.pageSize)) {
12325
+ query["PageSize"] = request.pageSize;
12326
+ }
12327
+
12328
+ if (!Util.isUnset(request.region)) {
12329
+ query["Region"] = request.region;
12330
+ }
12331
+
12332
+ if (!Util.isUnset(request.regionId)) {
12333
+ query["RegionId"] = request.regionId;
12334
+ }
12335
+
12336
+ if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
12337
+ query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
12338
+ }
12339
+
12340
+ if (!Util.isUnset(request.startTime)) {
12341
+ query["StartTime"] = request.startTime;
12342
+ }
12343
+
12344
+ if (!Util.isUnset(request.type)) {
12345
+ query["Type"] = request.type;
12346
+ }
12347
+
12348
+ let req = new $OpenApi.OpenApiRequest({
12349
+ query: OpenApiUtil.query(query),
12350
+ });
12351
+ let params = new $OpenApi.Params({
12352
+ action: "DescribeApisecSensitiveDomainStatistic",
12353
+ version: "2021-10-01",
12354
+ protocol: "HTTPS",
12355
+ pathname: "/",
12356
+ method: "POST",
12357
+ authType: "AK",
12358
+ style: "RPC",
12359
+ reqBodyType: "formData",
12360
+ bodyType: "json",
12361
+ });
12362
+ return $tea.cast<DescribeApisecSensitiveDomainStatisticResponse>(await this.callApi(params, req, runtime), new DescribeApisecSensitiveDomainStatisticResponse({}));
12363
+ }
12364
+
12365
+ /**
12366
+ * @summary 查询API安全敏感数据类型统计
12367
+ *
12368
+ * @param request DescribeApisecSensitiveDomainStatisticRequest
12369
+ * @return DescribeApisecSensitiveDomainStatisticResponse
11604
12370
  */
11605
- async describeApisecAssetTrend(request: DescribeApisecAssetTrendRequest): Promise<DescribeApisecAssetTrendResponse> {
12371
+ async describeApisecSensitiveDomainStatistic(request: DescribeApisecSensitiveDomainStatisticRequest): Promise<DescribeApisecSensitiveDomainStatisticResponse> {
11606
12372
  let runtime = new $Util.RuntimeOptions({ });
11607
- return await this.describeApisecAssetTrendWithOptions(request, runtime);
12373
+ return await this.describeApisecSensitiveDomainStatisticWithOptions(request, runtime);
11608
12374
  }
11609
12375
 
11610
12376
  /**
11611
- * @summary 查询API安全事件站点统计
12377
+ * @summary 查询日志服务SLS的LogStore列表
11612
12378
  *
11613
- * @param request DescribeApisecEventDomainStatisticRequest
12379
+ * @param request DescribeApisecSlsLogStoresRequest
11614
12380
  * @param runtime runtime options for this request RuntimeOptions
11615
- * @return DescribeApisecEventDomainStatisticResponse
12381
+ * @return DescribeApisecSlsLogStoresResponse
11616
12382
  */
11617
- async describeApisecEventDomainStatisticWithOptions(request: DescribeApisecEventDomainStatisticRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecEventDomainStatisticResponse> {
12383
+ async describeApisecSlsLogStoresWithOptions(request: DescribeApisecSlsLogStoresRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsLogStoresResponse> {
11618
12384
  Util.validateModel(request);
11619
12385
  let query = { };
11620
- if (!Util.isUnset(request.clusterId)) {
11621
- query["ClusterId"] = request.clusterId;
11622
- }
11623
-
11624
- if (!Util.isUnset(request.endTime)) {
11625
- query["EndTime"] = request.endTime;
11626
- }
11627
-
11628
12386
  if (!Util.isUnset(request.instanceId)) {
11629
12387
  query["InstanceId"] = request.instanceId;
11630
12388
  }
11631
12389
 
11632
- if (!Util.isUnset(request.orderWay)) {
11633
- query["OrderWay"] = request.orderWay;
11634
- }
11635
-
11636
- if (!Util.isUnset(request.pageNumber)) {
11637
- query["PageNumber"] = request.pageNumber;
11638
- }
11639
-
11640
- if (!Util.isUnset(request.pageSize)) {
11641
- query["PageSize"] = request.pageSize;
12390
+ if (!Util.isUnset(request.logRegionId)) {
12391
+ query["LogRegionId"] = request.logRegionId;
11642
12392
  }
11643
12393
 
11644
- if (!Util.isUnset(request.region)) {
11645
- query["Region"] = request.region;
12394
+ if (!Util.isUnset(request.projectName)) {
12395
+ query["ProjectName"] = request.projectName;
11646
12396
  }
11647
12397
 
11648
12398
  if (!Util.isUnset(request.regionId)) {
@@ -11653,15 +12403,11 @@ export default class Client extends OpenApi {
11653
12403
  query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
11654
12404
  }
11655
12405
 
11656
- if (!Util.isUnset(request.startTime)) {
11657
- query["StartTime"] = request.startTime;
11658
- }
11659
-
11660
12406
  let req = new $OpenApi.OpenApiRequest({
11661
12407
  query: OpenApiUtil.query(query),
11662
12408
  });
11663
12409
  let params = new $OpenApi.Params({
11664
- action: "DescribeApisecEventDomainStatistic",
12410
+ action: "DescribeApisecSlsLogStores",
11665
12411
  version: "2021-10-01",
11666
12412
  protocol: "HTTPS",
11667
12413
  pathname: "/",
@@ -11671,56 +12417,36 @@ export default class Client extends OpenApi {
11671
12417
  reqBodyType: "formData",
11672
12418
  bodyType: "json",
11673
12419
  });
11674
- return $tea.cast<DescribeApisecEventDomainStatisticResponse>(await this.callApi(params, req, runtime), new DescribeApisecEventDomainStatisticResponse({}));
12420
+ return $tea.cast<DescribeApisecSlsLogStoresResponse>(await this.callApi(params, req, runtime), new DescribeApisecSlsLogStoresResponse({}));
11675
12421
  }
11676
12422
 
11677
12423
  /**
11678
- * @summary 查询API安全事件站点统计
12424
+ * @summary 查询日志服务SLS的LogStore列表
11679
12425
  *
11680
- * @param request DescribeApisecEventDomainStatisticRequest
11681
- * @return DescribeApisecEventDomainStatisticResponse
12426
+ * @param request DescribeApisecSlsLogStoresRequest
12427
+ * @return DescribeApisecSlsLogStoresResponse
11682
12428
  */
11683
- async describeApisecEventDomainStatistic(request: DescribeApisecEventDomainStatisticRequest): Promise<DescribeApisecEventDomainStatisticResponse> {
12429
+ async describeApisecSlsLogStores(request: DescribeApisecSlsLogStoresRequest): Promise<DescribeApisecSlsLogStoresResponse> {
11684
12430
  let runtime = new $Util.RuntimeOptions({ });
11685
- return await this.describeApisecEventDomainStatisticWithOptions(request, runtime);
12431
+ return await this.describeApisecSlsLogStoresWithOptions(request, runtime);
11686
12432
  }
11687
12433
 
11688
12434
  /**
11689
- * @summary 查询API安全敏感数据类型统计
12435
+ * @summary 查询日志服务SLS的Project列表
11690
12436
  *
11691
- * @param request DescribeApisecSensitiveDomainStatisticRequest
12437
+ * @param request DescribeApisecSlsProjectsRequest
11692
12438
  * @param runtime runtime options for this request RuntimeOptions
11693
- * @return DescribeApisecSensitiveDomainStatisticResponse
12439
+ * @return DescribeApisecSlsProjectsResponse
11694
12440
  */
11695
- async describeApisecSensitiveDomainStatisticWithOptions(request: DescribeApisecSensitiveDomainStatisticRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSensitiveDomainStatisticResponse> {
12441
+ async describeApisecSlsProjectsWithOptions(request: DescribeApisecSlsProjectsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsProjectsResponse> {
11696
12442
  Util.validateModel(request);
11697
12443
  let query = { };
11698
- if (!Util.isUnset(request.clusterId)) {
11699
- query["ClusterId"] = request.clusterId;
11700
- }
11701
-
11702
- if (!Util.isUnset(request.endTime)) {
11703
- query["EndTime"] = request.endTime;
11704
- }
11705
-
11706
12444
  if (!Util.isUnset(request.instanceId)) {
11707
12445
  query["InstanceId"] = request.instanceId;
11708
12446
  }
11709
12447
 
11710
- if (!Util.isUnset(request.orderWay)) {
11711
- query["OrderWay"] = request.orderWay;
11712
- }
11713
-
11714
- if (!Util.isUnset(request.pageNumber)) {
11715
- query["PageNumber"] = request.pageNumber;
11716
- }
11717
-
11718
- if (!Util.isUnset(request.pageSize)) {
11719
- query["PageSize"] = request.pageSize;
11720
- }
11721
-
11722
- if (!Util.isUnset(request.region)) {
11723
- query["Region"] = request.region;
12448
+ if (!Util.isUnset(request.logRegionId)) {
12449
+ query["LogRegionId"] = request.logRegionId;
11724
12450
  }
11725
12451
 
11726
12452
  if (!Util.isUnset(request.regionId)) {
@@ -11731,19 +12457,11 @@ export default class Client extends OpenApi {
11731
12457
  query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
11732
12458
  }
11733
12459
 
11734
- if (!Util.isUnset(request.startTime)) {
11735
- query["StartTime"] = request.startTime;
11736
- }
11737
-
11738
- if (!Util.isUnset(request.type)) {
11739
- query["Type"] = request.type;
11740
- }
11741
-
11742
12460
  let req = new $OpenApi.OpenApiRequest({
11743
12461
  query: OpenApiUtil.query(query),
11744
12462
  });
11745
12463
  let params = new $OpenApi.Params({
11746
- action: "DescribeApisecSensitiveDomainStatistic",
12464
+ action: "DescribeApisecSlsProjects",
11747
12465
  version: "2021-10-01",
11748
12466
  protocol: "HTTPS",
11749
12467
  pathname: "/",
@@ -11753,18 +12471,18 @@ export default class Client extends OpenApi {
11753
12471
  reqBodyType: "formData",
11754
12472
  bodyType: "json",
11755
12473
  });
11756
- return $tea.cast<DescribeApisecSensitiveDomainStatisticResponse>(await this.callApi(params, req, runtime), new DescribeApisecSensitiveDomainStatisticResponse({}));
12474
+ return $tea.cast<DescribeApisecSlsProjectsResponse>(await this.callApi(params, req, runtime), new DescribeApisecSlsProjectsResponse({}));
11757
12475
  }
11758
12476
 
11759
12477
  /**
11760
- * @summary 查询API安全敏感数据类型统计
12478
+ * @summary 查询日志服务SLS的Project列表
11761
12479
  *
11762
- * @param request DescribeApisecSensitiveDomainStatisticRequest
11763
- * @return DescribeApisecSensitiveDomainStatisticResponse
12480
+ * @param request DescribeApisecSlsProjectsRequest
12481
+ * @return DescribeApisecSlsProjectsResponse
11764
12482
  */
11765
- async describeApisecSensitiveDomainStatistic(request: DescribeApisecSensitiveDomainStatisticRequest): Promise<DescribeApisecSensitiveDomainStatisticResponse> {
12483
+ async describeApisecSlsProjects(request: DescribeApisecSlsProjectsRequest): Promise<DescribeApisecSlsProjectsResponse> {
11766
12484
  let runtime = new $Util.RuntimeOptions({ });
11767
- return await this.describeApisecSensitiveDomainStatisticWithOptions(request, runtime);
12485
+ return await this.describeApisecSlsProjectsWithOptions(request, runtime);
11768
12486
  }
11769
12487
 
11770
12488
  /**
@@ -13469,6 +14187,56 @@ export default class Client extends OpenApi {
13469
14187
  return await this.describeMemberAccountsWithOptions(request, runtime);
13470
14188
  }
13471
14189
 
14190
+ /**
14191
+ * @summary 获取用户暂停防护状态
14192
+ *
14193
+ * @param request DescribePauseProtectionStatusRequest
14194
+ * @param runtime runtime options for this request RuntimeOptions
14195
+ * @return DescribePauseProtectionStatusResponse
14196
+ */
14197
+ async describePauseProtectionStatusWithOptions(request: DescribePauseProtectionStatusRequest, runtime: $Util.RuntimeOptions): Promise<DescribePauseProtectionStatusResponse> {
14198
+ Util.validateModel(request);
14199
+ let query = { };
14200
+ if (!Util.isUnset(request.instanceId)) {
14201
+ query["InstanceId"] = request.instanceId;
14202
+ }
14203
+
14204
+ if (!Util.isUnset(request.regionId)) {
14205
+ query["RegionId"] = request.regionId;
14206
+ }
14207
+
14208
+ if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
14209
+ query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
14210
+ }
14211
+
14212
+ let req = new $OpenApi.OpenApiRequest({
14213
+ query: OpenApiUtil.query(query),
14214
+ });
14215
+ let params = new $OpenApi.Params({
14216
+ action: "DescribePauseProtectionStatus",
14217
+ version: "2021-10-01",
14218
+ protocol: "HTTPS",
14219
+ pathname: "/",
14220
+ method: "POST",
14221
+ authType: "AK",
14222
+ style: "RPC",
14223
+ reqBodyType: "formData",
14224
+ bodyType: "json",
14225
+ });
14226
+ return $tea.cast<DescribePauseProtectionStatusResponse>(await this.callApi(params, req, runtime), new DescribePauseProtectionStatusResponse({}));
14227
+ }
14228
+
14229
+ /**
14230
+ * @summary 获取用户暂停防护状态
14231
+ *
14232
+ * @param request DescribePauseProtectionStatusRequest
14233
+ * @return DescribePauseProtectionStatusResponse
14234
+ */
14235
+ async describePauseProtectionStatus(request: DescribePauseProtectionStatusRequest): Promise<DescribePauseProtectionStatusResponse> {
14236
+ let runtime = new $Util.RuntimeOptions({ });
14237
+ return await this.describePauseProtectionStatusWithOptions(request, runtime);
14238
+ }
14239
+
13472
14240
  /**
13473
14241
  * @summary Queries the queries per second (QPS) statistics of a WAF instance.
13474
14242
  *
@@ -15159,6 +15927,130 @@ export default class Client extends OpenApi {
15159
15927
  return await this.listTagValuesWithOptions(request, runtime);
15160
15928
  }
15161
15929
 
15930
+ /**
15931
+ * @summary 修改API安全日志订阅
15932
+ *
15933
+ * @param request ModifyApisecLogDeliveryRequest
15934
+ * @param runtime runtime options for this request RuntimeOptions
15935
+ * @return ModifyApisecLogDeliveryResponse
15936
+ */
15937
+ async modifyApisecLogDeliveryWithOptions(request: ModifyApisecLogDeliveryRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryResponse> {
15938
+ Util.validateModel(request);
15939
+ let query = { };
15940
+ if (!Util.isUnset(request.assertKey)) {
15941
+ query["AssertKey"] = request.assertKey;
15942
+ }
15943
+
15944
+ if (!Util.isUnset(request.instanceId)) {
15945
+ query["InstanceId"] = request.instanceId;
15946
+ }
15947
+
15948
+ if (!Util.isUnset(request.logRegionId)) {
15949
+ query["LogRegionId"] = request.logRegionId;
15950
+ }
15951
+
15952
+ if (!Util.isUnset(request.logStoreName)) {
15953
+ query["LogStoreName"] = request.logStoreName;
15954
+ }
15955
+
15956
+ if (!Util.isUnset(request.projectName)) {
15957
+ query["ProjectName"] = request.projectName;
15958
+ }
15959
+
15960
+ if (!Util.isUnset(request.regionId)) {
15961
+ query["RegionId"] = request.regionId;
15962
+ }
15963
+
15964
+ if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
15965
+ query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
15966
+ }
15967
+
15968
+ let req = new $OpenApi.OpenApiRequest({
15969
+ query: OpenApiUtil.query(query),
15970
+ });
15971
+ let params = new $OpenApi.Params({
15972
+ action: "ModifyApisecLogDelivery",
15973
+ version: "2021-10-01",
15974
+ protocol: "HTTPS",
15975
+ pathname: "/",
15976
+ method: "POST",
15977
+ authType: "AK",
15978
+ style: "RPC",
15979
+ reqBodyType: "formData",
15980
+ bodyType: "json",
15981
+ });
15982
+ return $tea.cast<ModifyApisecLogDeliveryResponse>(await this.callApi(params, req, runtime), new ModifyApisecLogDeliveryResponse({}));
15983
+ }
15984
+
15985
+ /**
15986
+ * @summary 修改API安全日志订阅
15987
+ *
15988
+ * @param request ModifyApisecLogDeliveryRequest
15989
+ * @return ModifyApisecLogDeliveryResponse
15990
+ */
15991
+ async modifyApisecLogDelivery(request: ModifyApisecLogDeliveryRequest): Promise<ModifyApisecLogDeliveryResponse> {
15992
+ let runtime = new $Util.RuntimeOptions({ });
15993
+ return await this.modifyApisecLogDeliveryWithOptions(request, runtime);
15994
+ }
15995
+
15996
+ /**
15997
+ * @summary 修改API安全日志订阅状态
15998
+ *
15999
+ * @param request ModifyApisecLogDeliveryStatusRequest
16000
+ * @param runtime runtime options for this request RuntimeOptions
16001
+ * @return ModifyApisecLogDeliveryStatusResponse
16002
+ */
16003
+ async modifyApisecLogDeliveryStatusWithOptions(request: ModifyApisecLogDeliveryStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryStatusResponse> {
16004
+ Util.validateModel(request);
16005
+ let query = { };
16006
+ if (!Util.isUnset(request.assertKey)) {
16007
+ query["AssertKey"] = request.assertKey;
16008
+ }
16009
+
16010
+ if (!Util.isUnset(request.instanceId)) {
16011
+ query["InstanceId"] = request.instanceId;
16012
+ }
16013
+
16014
+ if (!Util.isUnset(request.regionId)) {
16015
+ query["RegionId"] = request.regionId;
16016
+ }
16017
+
16018
+ if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
16019
+ query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
16020
+ }
16021
+
16022
+ if (!Util.isUnset(request.status)) {
16023
+ query["Status"] = request.status;
16024
+ }
16025
+
16026
+ let req = new $OpenApi.OpenApiRequest({
16027
+ query: OpenApiUtil.query(query),
16028
+ });
16029
+ let params = new $OpenApi.Params({
16030
+ action: "ModifyApisecLogDeliveryStatus",
16031
+ version: "2021-10-01",
16032
+ protocol: "HTTPS",
16033
+ pathname: "/",
16034
+ method: "POST",
16035
+ authType: "AK",
16036
+ style: "RPC",
16037
+ reqBodyType: "formData",
16038
+ bodyType: "json",
16039
+ });
16040
+ return $tea.cast<ModifyApisecLogDeliveryStatusResponse>(await this.callApi(params, req, runtime), new ModifyApisecLogDeliveryStatusResponse({}));
16041
+ }
16042
+
16043
+ /**
16044
+ * @summary 修改API安全日志订阅状态
16045
+ *
16046
+ * @param request ModifyApisecLogDeliveryStatusRequest
16047
+ * @return ModifyApisecLogDeliveryStatusResponse
16048
+ */
16049
+ async modifyApisecLogDeliveryStatus(request: ModifyApisecLogDeliveryStatusRequest): Promise<ModifyApisecLogDeliveryStatusResponse> {
16050
+ let runtime = new $Util.RuntimeOptions({ });
16051
+ return await this.modifyApisecLogDeliveryStatusWithOptions(request, runtime);
16052
+ }
16053
+
15162
16054
  /**
15163
16055
  * @summary Modifies the configurations of a protected object group.
15164
16056
  *
@@ -15909,6 +16801,60 @@ export default class Client extends OpenApi {
15909
16801
  return await this.modifyMemberAccountWithOptions(request, runtime);
15910
16802
  }
15911
16803
 
16804
+ /**
16805
+ * @summary 修改用户暂停防护状态
16806
+ *
16807
+ * @param request ModifyPauseProtectionStatusRequest
16808
+ * @param runtime runtime options for this request RuntimeOptions
16809
+ * @return ModifyPauseProtectionStatusResponse
16810
+ */
16811
+ async modifyPauseProtectionStatusWithOptions(request: ModifyPauseProtectionStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyPauseProtectionStatusResponse> {
16812
+ Util.validateModel(request);
16813
+ let query = { };
16814
+ if (!Util.isUnset(request.instanceId)) {
16815
+ query["InstanceId"] = request.instanceId;
16816
+ }
16817
+
16818
+ if (!Util.isUnset(request.pauseStatus)) {
16819
+ query["PauseStatus"] = request.pauseStatus;
16820
+ }
16821
+
16822
+ if (!Util.isUnset(request.regionId)) {
16823
+ query["RegionId"] = request.regionId;
16824
+ }
16825
+
16826
+ if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
16827
+ query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
16828
+ }
16829
+
16830
+ let req = new $OpenApi.OpenApiRequest({
16831
+ query: OpenApiUtil.query(query),
16832
+ });
16833
+ let params = new $OpenApi.Params({
16834
+ action: "ModifyPauseProtectionStatus",
16835
+ version: "2021-10-01",
16836
+ protocol: "HTTPS",
16837
+ pathname: "/",
16838
+ method: "POST",
16839
+ authType: "AK",
16840
+ style: "RPC",
16841
+ reqBodyType: "formData",
16842
+ bodyType: "json",
16843
+ });
16844
+ return $tea.cast<ModifyPauseProtectionStatusResponse>(await this.callApi(params, req, runtime), new ModifyPauseProtectionStatusResponse({}));
16845
+ }
16846
+
16847
+ /**
16848
+ * @summary 修改用户暂停防护状态
16849
+ *
16850
+ * @param request ModifyPauseProtectionStatusRequest
16851
+ * @return ModifyPauseProtectionStatusResponse
16852
+ */
16853
+ async modifyPauseProtectionStatus(request: ModifyPauseProtectionStatusRequest): Promise<ModifyPauseProtectionStatusResponse> {
16854
+ let runtime = new $Util.RuntimeOptions({ });
16855
+ return await this.modifyPauseProtectionStatusWithOptions(request, runtime);
16856
+ }
16857
+
15912
16858
  /**
15913
16859
  * @summary Enables or disables the log collection feature for a protected object.
15914
16860
  *