@alicloud/waf-openapi20211001 2.6.0 → 3.0.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 +314 -1
- package/dist/client.js +588 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +710 -12
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;
|
|
@@ -6361,23 +6586,179 @@ export class ListTagValuesRequest extends $tea.Model {
|
|
|
6361
6586
|
}
|
|
6362
6587
|
}
|
|
6363
6588
|
|
|
6364
|
-
export class ListTagValuesResponseBody extends $tea.Model {
|
|
6365
|
-
nextToken?: string;
|
|
6589
|
+
export class ListTagValuesResponseBody extends $tea.Model {
|
|
6590
|
+
nextToken?: string;
|
|
6591
|
+
requestId?: string;
|
|
6592
|
+
values?: string[];
|
|
6593
|
+
static names(): { [key: string]: string } {
|
|
6594
|
+
return {
|
|
6595
|
+
nextToken: 'NextToken',
|
|
6596
|
+
requestId: 'RequestId',
|
|
6597
|
+
values: 'Values',
|
|
6598
|
+
};
|
|
6599
|
+
}
|
|
6600
|
+
|
|
6601
|
+
static types(): { [key: string]: any } {
|
|
6602
|
+
return {
|
|
6603
|
+
nextToken: 'string',
|
|
6604
|
+
requestId: 'string',
|
|
6605
|
+
values: { 'type': 'array', 'itemType': 'string' },
|
|
6606
|
+
};
|
|
6607
|
+
}
|
|
6608
|
+
|
|
6609
|
+
constructor(map?: { [key: string]: any }) {
|
|
6610
|
+
super(map);
|
|
6611
|
+
}
|
|
6612
|
+
}
|
|
6613
|
+
|
|
6614
|
+
export class ListTagValuesResponse extends $tea.Model {
|
|
6615
|
+
headers?: { [key: string]: string };
|
|
6616
|
+
statusCode?: number;
|
|
6617
|
+
body?: ListTagValuesResponseBody;
|
|
6618
|
+
static names(): { [key: string]: string } {
|
|
6619
|
+
return {
|
|
6620
|
+
headers: 'headers',
|
|
6621
|
+
statusCode: 'statusCode',
|
|
6622
|
+
body: 'body',
|
|
6623
|
+
};
|
|
6624
|
+
}
|
|
6625
|
+
|
|
6626
|
+
static types(): { [key: string]: any } {
|
|
6627
|
+
return {
|
|
6628
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6629
|
+
statusCode: 'number',
|
|
6630
|
+
body: ListTagValuesResponseBody,
|
|
6631
|
+
};
|
|
6632
|
+
}
|
|
6633
|
+
|
|
6634
|
+
constructor(map?: { [key: string]: any }) {
|
|
6635
|
+
super(map);
|
|
6636
|
+
}
|
|
6637
|
+
}
|
|
6638
|
+
|
|
6639
|
+
export class ModifyApisecLogDeliveryRequest extends $tea.Model {
|
|
6640
|
+
assertKey?: string;
|
|
6641
|
+
instanceId?: string;
|
|
6642
|
+
logRegionId?: string;
|
|
6643
|
+
logStoreName?: string;
|
|
6644
|
+
projectName?: string;
|
|
6645
|
+
regionId?: string;
|
|
6646
|
+
resourceManagerResourceGroupId?: string;
|
|
6647
|
+
static names(): { [key: string]: string } {
|
|
6648
|
+
return {
|
|
6649
|
+
assertKey: 'AssertKey',
|
|
6650
|
+
instanceId: 'InstanceId',
|
|
6651
|
+
logRegionId: 'LogRegionId',
|
|
6652
|
+
logStoreName: 'LogStoreName',
|
|
6653
|
+
projectName: 'ProjectName',
|
|
6654
|
+
regionId: 'RegionId',
|
|
6655
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
6656
|
+
};
|
|
6657
|
+
}
|
|
6658
|
+
|
|
6659
|
+
static types(): { [key: string]: any } {
|
|
6660
|
+
return {
|
|
6661
|
+
assertKey: 'string',
|
|
6662
|
+
instanceId: 'string',
|
|
6663
|
+
logRegionId: 'string',
|
|
6664
|
+
logStoreName: 'string',
|
|
6665
|
+
projectName: 'string',
|
|
6666
|
+
regionId: 'string',
|
|
6667
|
+
resourceManagerResourceGroupId: 'string',
|
|
6668
|
+
};
|
|
6669
|
+
}
|
|
6670
|
+
|
|
6671
|
+
constructor(map?: { [key: string]: any }) {
|
|
6672
|
+
super(map);
|
|
6673
|
+
}
|
|
6674
|
+
}
|
|
6675
|
+
|
|
6676
|
+
export class ModifyApisecLogDeliveryResponseBody extends $tea.Model {
|
|
6677
|
+
requestId?: string;
|
|
6678
|
+
static names(): { [key: string]: string } {
|
|
6679
|
+
return {
|
|
6680
|
+
requestId: 'RequestId',
|
|
6681
|
+
};
|
|
6682
|
+
}
|
|
6683
|
+
|
|
6684
|
+
static types(): { [key: string]: any } {
|
|
6685
|
+
return {
|
|
6686
|
+
requestId: 'string',
|
|
6687
|
+
};
|
|
6688
|
+
}
|
|
6689
|
+
|
|
6690
|
+
constructor(map?: { [key: string]: any }) {
|
|
6691
|
+
super(map);
|
|
6692
|
+
}
|
|
6693
|
+
}
|
|
6694
|
+
|
|
6695
|
+
export class ModifyApisecLogDeliveryResponse extends $tea.Model {
|
|
6696
|
+
headers?: { [key: string]: string };
|
|
6697
|
+
statusCode?: number;
|
|
6698
|
+
body?: ModifyApisecLogDeliveryResponseBody;
|
|
6699
|
+
static names(): { [key: string]: string } {
|
|
6700
|
+
return {
|
|
6701
|
+
headers: 'headers',
|
|
6702
|
+
statusCode: 'statusCode',
|
|
6703
|
+
body: 'body',
|
|
6704
|
+
};
|
|
6705
|
+
}
|
|
6706
|
+
|
|
6707
|
+
static types(): { [key: string]: any } {
|
|
6708
|
+
return {
|
|
6709
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6710
|
+
statusCode: 'number',
|
|
6711
|
+
body: ModifyApisecLogDeliveryResponseBody,
|
|
6712
|
+
};
|
|
6713
|
+
}
|
|
6714
|
+
|
|
6715
|
+
constructor(map?: { [key: string]: any }) {
|
|
6716
|
+
super(map);
|
|
6717
|
+
}
|
|
6718
|
+
}
|
|
6719
|
+
|
|
6720
|
+
export class ModifyApisecLogDeliveryStatusRequest extends $tea.Model {
|
|
6721
|
+
assertKey?: string;
|
|
6722
|
+
instanceId?: string;
|
|
6723
|
+
regionId?: string;
|
|
6724
|
+
resourceManagerResourceGroupId?: string;
|
|
6725
|
+
status?: boolean;
|
|
6726
|
+
static names(): { [key: string]: string } {
|
|
6727
|
+
return {
|
|
6728
|
+
assertKey: 'AssertKey',
|
|
6729
|
+
instanceId: 'InstanceId',
|
|
6730
|
+
regionId: 'RegionId',
|
|
6731
|
+
resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
|
|
6732
|
+
status: 'Status',
|
|
6733
|
+
};
|
|
6734
|
+
}
|
|
6735
|
+
|
|
6736
|
+
static types(): { [key: string]: any } {
|
|
6737
|
+
return {
|
|
6738
|
+
assertKey: 'string',
|
|
6739
|
+
instanceId: 'string',
|
|
6740
|
+
regionId: 'string',
|
|
6741
|
+
resourceManagerResourceGroupId: 'string',
|
|
6742
|
+
status: 'boolean',
|
|
6743
|
+
};
|
|
6744
|
+
}
|
|
6745
|
+
|
|
6746
|
+
constructor(map?: { [key: string]: any }) {
|
|
6747
|
+
super(map);
|
|
6748
|
+
}
|
|
6749
|
+
}
|
|
6750
|
+
|
|
6751
|
+
export class ModifyApisecLogDeliveryStatusResponseBody extends $tea.Model {
|
|
6366
6752
|
requestId?: string;
|
|
6367
|
-
values?: string[];
|
|
6368
6753
|
static names(): { [key: string]: string } {
|
|
6369
6754
|
return {
|
|
6370
|
-
nextToken: 'NextToken',
|
|
6371
6755
|
requestId: 'RequestId',
|
|
6372
|
-
values: 'Values',
|
|
6373
6756
|
};
|
|
6374
6757
|
}
|
|
6375
6758
|
|
|
6376
6759
|
static types(): { [key: string]: any } {
|
|
6377
6760
|
return {
|
|
6378
|
-
nextToken: 'string',
|
|
6379
6761
|
requestId: 'string',
|
|
6380
|
-
values: { 'type': 'array', 'itemType': 'string' },
|
|
6381
6762
|
};
|
|
6382
6763
|
}
|
|
6383
6764
|
|
|
@@ -6386,10 +6767,10 @@ export class ListTagValuesResponseBody extends $tea.Model {
|
|
|
6386
6767
|
}
|
|
6387
6768
|
}
|
|
6388
6769
|
|
|
6389
|
-
export class
|
|
6770
|
+
export class ModifyApisecLogDeliveryStatusResponse extends $tea.Model {
|
|
6390
6771
|
headers?: { [key: string]: string };
|
|
6391
6772
|
statusCode?: number;
|
|
6392
|
-
body?:
|
|
6773
|
+
body?: ModifyApisecLogDeliveryStatusResponseBody;
|
|
6393
6774
|
static names(): { [key: string]: string } {
|
|
6394
6775
|
return {
|
|
6395
6776
|
headers: 'headers',
|
|
@@ -6402,7 +6783,7 @@ export class ListTagValuesResponse extends $tea.Model {
|
|
|
6402
6783
|
return {
|
|
6403
6784
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
6404
6785
|
statusCode: 'number',
|
|
6405
|
-
body:
|
|
6786
|
+
body: ModifyApisecLogDeliveryStatusResponseBody,
|
|
6406
6787
|
};
|
|
6407
6788
|
}
|
|
6408
6789
|
|
|
@@ -8024,6 +8405,37 @@ export class DescribeApisecEventDomainStatisticResponseBodyData extends $tea.Mod
|
|
|
8024
8405
|
}
|
|
8025
8406
|
}
|
|
8026
8407
|
|
|
8408
|
+
export class DescribeApisecLogDeliveriesResponseBodyDeliveryConfigs extends $tea.Model {
|
|
8409
|
+
assertKey?: string;
|
|
8410
|
+
logRegionId?: string;
|
|
8411
|
+
logStoreName?: string;
|
|
8412
|
+
projectName?: string;
|
|
8413
|
+
status?: boolean;
|
|
8414
|
+
static names(): { [key: string]: string } {
|
|
8415
|
+
return {
|
|
8416
|
+
assertKey: 'AssertKey',
|
|
8417
|
+
logRegionId: 'LogRegionId',
|
|
8418
|
+
logStoreName: 'LogStoreName',
|
|
8419
|
+
projectName: 'ProjectName',
|
|
8420
|
+
status: 'Status',
|
|
8421
|
+
};
|
|
8422
|
+
}
|
|
8423
|
+
|
|
8424
|
+
static types(): { [key: string]: any } {
|
|
8425
|
+
return {
|
|
8426
|
+
assertKey: 'string',
|
|
8427
|
+
logRegionId: 'string',
|
|
8428
|
+
logStoreName: 'string',
|
|
8429
|
+
projectName: 'string',
|
|
8430
|
+
status: 'boolean',
|
|
8431
|
+
};
|
|
8432
|
+
}
|
|
8433
|
+
|
|
8434
|
+
constructor(map?: { [key: string]: any }) {
|
|
8435
|
+
super(map);
|
|
8436
|
+
}
|
|
8437
|
+
}
|
|
8438
|
+
|
|
8027
8439
|
export class DescribeApisecSensitiveDomainStatisticResponseBodyData extends $tea.Model {
|
|
8028
8440
|
apiCount?: number;
|
|
8029
8441
|
domainCount?: number;
|
|
@@ -8640,7 +9052,7 @@ export class DescribeDomainDetailResponseBodyListen extends $tea.Model {
|
|
|
8640
9052
|
IPv6Enabled?: boolean;
|
|
8641
9053
|
protectionResource?: string;
|
|
8642
9054
|
SM2AccessOnly?: boolean;
|
|
8643
|
-
SM2CertId?:
|
|
9055
|
+
SM2CertId?: string;
|
|
8644
9056
|
SM2Enabled?: boolean;
|
|
8645
9057
|
TLSVersion?: string;
|
|
8646
9058
|
xffHeaderMode?: number;
|
|
@@ -8681,7 +9093,7 @@ export class DescribeDomainDetailResponseBodyListen extends $tea.Model {
|
|
|
8681
9093
|
IPv6Enabled: 'boolean',
|
|
8682
9094
|
protectionResource: 'string',
|
|
8683
9095
|
SM2AccessOnly: 'boolean',
|
|
8684
|
-
SM2CertId: '
|
|
9096
|
+
SM2CertId: 'string',
|
|
8685
9097
|
SM2Enabled: 'boolean',
|
|
8686
9098
|
TLSVersion: 'string',
|
|
8687
9099
|
xffHeaderMode: 'number',
|
|
@@ -11685,6 +12097,56 @@ export default class Client extends OpenApi {
|
|
|
11685
12097
|
return await this.describeApisecEventDomainStatisticWithOptions(request, runtime);
|
|
11686
12098
|
}
|
|
11687
12099
|
|
|
12100
|
+
/**
|
|
12101
|
+
* @summary 获取API安全日志订阅列表
|
|
12102
|
+
*
|
|
12103
|
+
* @param request DescribeApisecLogDeliveriesRequest
|
|
12104
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12105
|
+
* @return DescribeApisecLogDeliveriesResponse
|
|
12106
|
+
*/
|
|
12107
|
+
async describeApisecLogDeliveriesWithOptions(request: DescribeApisecLogDeliveriesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecLogDeliveriesResponse> {
|
|
12108
|
+
Util.validateModel(request);
|
|
12109
|
+
let query = { };
|
|
12110
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
12111
|
+
query["InstanceId"] = request.instanceId;
|
|
12112
|
+
}
|
|
12113
|
+
|
|
12114
|
+
if (!Util.isUnset(request.regionId)) {
|
|
12115
|
+
query["RegionId"] = request.regionId;
|
|
12116
|
+
}
|
|
12117
|
+
|
|
12118
|
+
if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
|
|
12119
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
12120
|
+
}
|
|
12121
|
+
|
|
12122
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12123
|
+
query: OpenApiUtil.query(query),
|
|
12124
|
+
});
|
|
12125
|
+
let params = new $OpenApi.Params({
|
|
12126
|
+
action: "DescribeApisecLogDeliveries",
|
|
12127
|
+
version: "2021-10-01",
|
|
12128
|
+
protocol: "HTTPS",
|
|
12129
|
+
pathname: "/",
|
|
12130
|
+
method: "POST",
|
|
12131
|
+
authType: "AK",
|
|
12132
|
+
style: "RPC",
|
|
12133
|
+
reqBodyType: "formData",
|
|
12134
|
+
bodyType: "json",
|
|
12135
|
+
});
|
|
12136
|
+
return $tea.cast<DescribeApisecLogDeliveriesResponse>(await this.callApi(params, req, runtime), new DescribeApisecLogDeliveriesResponse({}));
|
|
12137
|
+
}
|
|
12138
|
+
|
|
12139
|
+
/**
|
|
12140
|
+
* @summary 获取API安全日志订阅列表
|
|
12141
|
+
*
|
|
12142
|
+
* @param request DescribeApisecLogDeliveriesRequest
|
|
12143
|
+
* @return DescribeApisecLogDeliveriesResponse
|
|
12144
|
+
*/
|
|
12145
|
+
async describeApisecLogDeliveries(request: DescribeApisecLogDeliveriesRequest): Promise<DescribeApisecLogDeliveriesResponse> {
|
|
12146
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12147
|
+
return await this.describeApisecLogDeliveriesWithOptions(request, runtime);
|
|
12148
|
+
}
|
|
12149
|
+
|
|
11688
12150
|
/**
|
|
11689
12151
|
* @summary 查询API安全敏感数据类型统计
|
|
11690
12152
|
*
|
|
@@ -11767,6 +12229,118 @@ export default class Client extends OpenApi {
|
|
|
11767
12229
|
return await this.describeApisecSensitiveDomainStatisticWithOptions(request, runtime);
|
|
11768
12230
|
}
|
|
11769
12231
|
|
|
12232
|
+
/**
|
|
12233
|
+
* @summary 查询日志服务SLS的LogStore列表
|
|
12234
|
+
*
|
|
12235
|
+
* @param request DescribeApisecSlsLogStoresRequest
|
|
12236
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12237
|
+
* @return DescribeApisecSlsLogStoresResponse
|
|
12238
|
+
*/
|
|
12239
|
+
async describeApisecSlsLogStoresWithOptions(request: DescribeApisecSlsLogStoresRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsLogStoresResponse> {
|
|
12240
|
+
Util.validateModel(request);
|
|
12241
|
+
let query = { };
|
|
12242
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
12243
|
+
query["InstanceId"] = request.instanceId;
|
|
12244
|
+
}
|
|
12245
|
+
|
|
12246
|
+
if (!Util.isUnset(request.logRegionId)) {
|
|
12247
|
+
query["LogRegionId"] = request.logRegionId;
|
|
12248
|
+
}
|
|
12249
|
+
|
|
12250
|
+
if (!Util.isUnset(request.projectName)) {
|
|
12251
|
+
query["ProjectName"] = request.projectName;
|
|
12252
|
+
}
|
|
12253
|
+
|
|
12254
|
+
if (!Util.isUnset(request.regionId)) {
|
|
12255
|
+
query["RegionId"] = request.regionId;
|
|
12256
|
+
}
|
|
12257
|
+
|
|
12258
|
+
if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
|
|
12259
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
12260
|
+
}
|
|
12261
|
+
|
|
12262
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12263
|
+
query: OpenApiUtil.query(query),
|
|
12264
|
+
});
|
|
12265
|
+
let params = new $OpenApi.Params({
|
|
12266
|
+
action: "DescribeApisecSlsLogStores",
|
|
12267
|
+
version: "2021-10-01",
|
|
12268
|
+
protocol: "HTTPS",
|
|
12269
|
+
pathname: "/",
|
|
12270
|
+
method: "POST",
|
|
12271
|
+
authType: "AK",
|
|
12272
|
+
style: "RPC",
|
|
12273
|
+
reqBodyType: "formData",
|
|
12274
|
+
bodyType: "json",
|
|
12275
|
+
});
|
|
12276
|
+
return $tea.cast<DescribeApisecSlsLogStoresResponse>(await this.callApi(params, req, runtime), new DescribeApisecSlsLogStoresResponse({}));
|
|
12277
|
+
}
|
|
12278
|
+
|
|
12279
|
+
/**
|
|
12280
|
+
* @summary 查询日志服务SLS的LogStore列表
|
|
12281
|
+
*
|
|
12282
|
+
* @param request DescribeApisecSlsLogStoresRequest
|
|
12283
|
+
* @return DescribeApisecSlsLogStoresResponse
|
|
12284
|
+
*/
|
|
12285
|
+
async describeApisecSlsLogStores(request: DescribeApisecSlsLogStoresRequest): Promise<DescribeApisecSlsLogStoresResponse> {
|
|
12286
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12287
|
+
return await this.describeApisecSlsLogStoresWithOptions(request, runtime);
|
|
12288
|
+
}
|
|
12289
|
+
|
|
12290
|
+
/**
|
|
12291
|
+
* @summary 查询日志服务SLS的Project列表
|
|
12292
|
+
*
|
|
12293
|
+
* @param request DescribeApisecSlsProjectsRequest
|
|
12294
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
12295
|
+
* @return DescribeApisecSlsProjectsResponse
|
|
12296
|
+
*/
|
|
12297
|
+
async describeApisecSlsProjectsWithOptions(request: DescribeApisecSlsProjectsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApisecSlsProjectsResponse> {
|
|
12298
|
+
Util.validateModel(request);
|
|
12299
|
+
let query = { };
|
|
12300
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
12301
|
+
query["InstanceId"] = request.instanceId;
|
|
12302
|
+
}
|
|
12303
|
+
|
|
12304
|
+
if (!Util.isUnset(request.logRegionId)) {
|
|
12305
|
+
query["LogRegionId"] = request.logRegionId;
|
|
12306
|
+
}
|
|
12307
|
+
|
|
12308
|
+
if (!Util.isUnset(request.regionId)) {
|
|
12309
|
+
query["RegionId"] = request.regionId;
|
|
12310
|
+
}
|
|
12311
|
+
|
|
12312
|
+
if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
|
|
12313
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
12314
|
+
}
|
|
12315
|
+
|
|
12316
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
12317
|
+
query: OpenApiUtil.query(query),
|
|
12318
|
+
});
|
|
12319
|
+
let params = new $OpenApi.Params({
|
|
12320
|
+
action: "DescribeApisecSlsProjects",
|
|
12321
|
+
version: "2021-10-01",
|
|
12322
|
+
protocol: "HTTPS",
|
|
12323
|
+
pathname: "/",
|
|
12324
|
+
method: "POST",
|
|
12325
|
+
authType: "AK",
|
|
12326
|
+
style: "RPC",
|
|
12327
|
+
reqBodyType: "formData",
|
|
12328
|
+
bodyType: "json",
|
|
12329
|
+
});
|
|
12330
|
+
return $tea.cast<DescribeApisecSlsProjectsResponse>(await this.callApi(params, req, runtime), new DescribeApisecSlsProjectsResponse({}));
|
|
12331
|
+
}
|
|
12332
|
+
|
|
12333
|
+
/**
|
|
12334
|
+
* @summary 查询日志服务SLS的Project列表
|
|
12335
|
+
*
|
|
12336
|
+
* @param request DescribeApisecSlsProjectsRequest
|
|
12337
|
+
* @return DescribeApisecSlsProjectsResponse
|
|
12338
|
+
*/
|
|
12339
|
+
async describeApisecSlsProjects(request: DescribeApisecSlsProjectsRequest): Promise<DescribeApisecSlsProjectsResponse> {
|
|
12340
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
12341
|
+
return await this.describeApisecSlsProjectsWithOptions(request, runtime);
|
|
12342
|
+
}
|
|
12343
|
+
|
|
11770
12344
|
/**
|
|
11771
12345
|
* @summary Queries the details of a certificate, such as the certificate name, expiration time, issuance time, and associated domain name.
|
|
11772
12346
|
*
|
|
@@ -15159,6 +15733,130 @@ export default class Client extends OpenApi {
|
|
|
15159
15733
|
return await this.listTagValuesWithOptions(request, runtime);
|
|
15160
15734
|
}
|
|
15161
15735
|
|
|
15736
|
+
/**
|
|
15737
|
+
* @summary 修改API安全日志订阅
|
|
15738
|
+
*
|
|
15739
|
+
* @param request ModifyApisecLogDeliveryRequest
|
|
15740
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15741
|
+
* @return ModifyApisecLogDeliveryResponse
|
|
15742
|
+
*/
|
|
15743
|
+
async modifyApisecLogDeliveryWithOptions(request: ModifyApisecLogDeliveryRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryResponse> {
|
|
15744
|
+
Util.validateModel(request);
|
|
15745
|
+
let query = { };
|
|
15746
|
+
if (!Util.isUnset(request.assertKey)) {
|
|
15747
|
+
query["AssertKey"] = request.assertKey;
|
|
15748
|
+
}
|
|
15749
|
+
|
|
15750
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
15751
|
+
query["InstanceId"] = request.instanceId;
|
|
15752
|
+
}
|
|
15753
|
+
|
|
15754
|
+
if (!Util.isUnset(request.logRegionId)) {
|
|
15755
|
+
query["LogRegionId"] = request.logRegionId;
|
|
15756
|
+
}
|
|
15757
|
+
|
|
15758
|
+
if (!Util.isUnset(request.logStoreName)) {
|
|
15759
|
+
query["LogStoreName"] = request.logStoreName;
|
|
15760
|
+
}
|
|
15761
|
+
|
|
15762
|
+
if (!Util.isUnset(request.projectName)) {
|
|
15763
|
+
query["ProjectName"] = request.projectName;
|
|
15764
|
+
}
|
|
15765
|
+
|
|
15766
|
+
if (!Util.isUnset(request.regionId)) {
|
|
15767
|
+
query["RegionId"] = request.regionId;
|
|
15768
|
+
}
|
|
15769
|
+
|
|
15770
|
+
if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
|
|
15771
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
15772
|
+
}
|
|
15773
|
+
|
|
15774
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15775
|
+
query: OpenApiUtil.query(query),
|
|
15776
|
+
});
|
|
15777
|
+
let params = new $OpenApi.Params({
|
|
15778
|
+
action: "ModifyApisecLogDelivery",
|
|
15779
|
+
version: "2021-10-01",
|
|
15780
|
+
protocol: "HTTPS",
|
|
15781
|
+
pathname: "/",
|
|
15782
|
+
method: "POST",
|
|
15783
|
+
authType: "AK",
|
|
15784
|
+
style: "RPC",
|
|
15785
|
+
reqBodyType: "formData",
|
|
15786
|
+
bodyType: "json",
|
|
15787
|
+
});
|
|
15788
|
+
return $tea.cast<ModifyApisecLogDeliveryResponse>(await this.callApi(params, req, runtime), new ModifyApisecLogDeliveryResponse({}));
|
|
15789
|
+
}
|
|
15790
|
+
|
|
15791
|
+
/**
|
|
15792
|
+
* @summary 修改API安全日志订阅
|
|
15793
|
+
*
|
|
15794
|
+
* @param request ModifyApisecLogDeliveryRequest
|
|
15795
|
+
* @return ModifyApisecLogDeliveryResponse
|
|
15796
|
+
*/
|
|
15797
|
+
async modifyApisecLogDelivery(request: ModifyApisecLogDeliveryRequest): Promise<ModifyApisecLogDeliveryResponse> {
|
|
15798
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15799
|
+
return await this.modifyApisecLogDeliveryWithOptions(request, runtime);
|
|
15800
|
+
}
|
|
15801
|
+
|
|
15802
|
+
/**
|
|
15803
|
+
* @summary 修改API安全日志订阅状态
|
|
15804
|
+
*
|
|
15805
|
+
* @param request ModifyApisecLogDeliveryStatusRequest
|
|
15806
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
15807
|
+
* @return ModifyApisecLogDeliveryStatusResponse
|
|
15808
|
+
*/
|
|
15809
|
+
async modifyApisecLogDeliveryStatusWithOptions(request: ModifyApisecLogDeliveryStatusRequest, runtime: $Util.RuntimeOptions): Promise<ModifyApisecLogDeliveryStatusResponse> {
|
|
15810
|
+
Util.validateModel(request);
|
|
15811
|
+
let query = { };
|
|
15812
|
+
if (!Util.isUnset(request.assertKey)) {
|
|
15813
|
+
query["AssertKey"] = request.assertKey;
|
|
15814
|
+
}
|
|
15815
|
+
|
|
15816
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
15817
|
+
query["InstanceId"] = request.instanceId;
|
|
15818
|
+
}
|
|
15819
|
+
|
|
15820
|
+
if (!Util.isUnset(request.regionId)) {
|
|
15821
|
+
query["RegionId"] = request.regionId;
|
|
15822
|
+
}
|
|
15823
|
+
|
|
15824
|
+
if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
|
|
15825
|
+
query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
|
|
15826
|
+
}
|
|
15827
|
+
|
|
15828
|
+
if (!Util.isUnset(request.status)) {
|
|
15829
|
+
query["Status"] = request.status;
|
|
15830
|
+
}
|
|
15831
|
+
|
|
15832
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
15833
|
+
query: OpenApiUtil.query(query),
|
|
15834
|
+
});
|
|
15835
|
+
let params = new $OpenApi.Params({
|
|
15836
|
+
action: "ModifyApisecLogDeliveryStatus",
|
|
15837
|
+
version: "2021-10-01",
|
|
15838
|
+
protocol: "HTTPS",
|
|
15839
|
+
pathname: "/",
|
|
15840
|
+
method: "POST",
|
|
15841
|
+
authType: "AK",
|
|
15842
|
+
style: "RPC",
|
|
15843
|
+
reqBodyType: "formData",
|
|
15844
|
+
bodyType: "json",
|
|
15845
|
+
});
|
|
15846
|
+
return $tea.cast<ModifyApisecLogDeliveryStatusResponse>(await this.callApi(params, req, runtime), new ModifyApisecLogDeliveryStatusResponse({}));
|
|
15847
|
+
}
|
|
15848
|
+
|
|
15849
|
+
/**
|
|
15850
|
+
* @summary 修改API安全日志订阅状态
|
|
15851
|
+
*
|
|
15852
|
+
* @param request ModifyApisecLogDeliveryStatusRequest
|
|
15853
|
+
* @return ModifyApisecLogDeliveryStatusResponse
|
|
15854
|
+
*/
|
|
15855
|
+
async modifyApisecLogDeliveryStatus(request: ModifyApisecLogDeliveryStatusRequest): Promise<ModifyApisecLogDeliveryStatusResponse> {
|
|
15856
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
15857
|
+
return await this.modifyApisecLogDeliveryStatusWithOptions(request, runtime);
|
|
15858
|
+
}
|
|
15859
|
+
|
|
15162
15860
|
/**
|
|
15163
15861
|
* @summary Modifies the configurations of a protected object group.
|
|
15164
15862
|
*
|