alibabacloud-cloudfw20171207 3.3.0__tar.gz → 3.5.0__tar.gz

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.

Potentially problematic release.


This version of alibabacloud-cloudfw20171207 might be problematic. Click here for more details.

Files changed (17) hide show
  1. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/ChangeLog.md +69 -0
  2. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/PKG-INFO +1 -1
  3. alibabacloud_cloudfw20171207-3.5.0/alibabacloud_cloudfw20171207/__init__.py +1 -0
  4. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/alibabacloud_cloudfw20171207/client.py +218 -0
  5. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/alibabacloud_cloudfw20171207/models.py +622 -1
  6. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/alibabacloud_cloudfw20171207.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/setup.py +1 -1
  8. alibabacloud_cloudfw20171207-3.3.0/alibabacloud_cloudfw20171207/__init__.py +0 -1
  9. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/LICENSE +0 -0
  10. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/MANIFEST.in +0 -0
  11. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/README-CN.md +0 -0
  12. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/README.md +0 -0
  13. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/alibabacloud_cloudfw20171207.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/alibabacloud_cloudfw20171207.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/alibabacloud_cloudfw20171207.egg-info/requires.txt +0 -0
  16. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/alibabacloud_cloudfw20171207.egg-info/top_level.txt +0 -0
  17. {alibabacloud_cloudfw20171207-3.3.0 → alibabacloud_cloudfw20171207-3.5.0}/setup.cfg +0 -0
@@ -1,3 +1,72 @@
1
+ 2024-03-14 Version: 3.4.0
2
+ - Support API BatchDeleteVpcFirewallControlPolicy.
3
+ - Support API CreateDownloadTask.
4
+ - Support API DeleteControlPolicyTemplate.
5
+ - Support API DeleteDownloadTask.
6
+ - Support API DeleteNatFirewallControlPolicyBatch.
7
+ - Support API DescribeAssetRiskList.
8
+ - Support API DescribeCfwRiskLevelSummary.
9
+ - Support API DescribeDownloadTask.
10
+ - Support API DescribeDownloadTaskType.
11
+ - Support API DescribeInstanceRiskLevels.
12
+ - Support API DescribeNatAclPageStatus.
13
+ - Support API DescribePostpayTrafficDetail.
14
+ - Support API DescribePostpayTrafficTotal.
15
+ - Support API DescribePrefixLists.
16
+ - Support API DescribeSignatureLibVersion.
17
+ - Support API DescribeVpcFirewallIPSWhitelist.
18
+ - Support API DescribeVpcListLite.
19
+ - Support API DescribeVpcZone.
20
+ - Support API ModifyVpcFirewallIPSWhitelist.
21
+ - Support API ResetNatFirewallRuleHitCount.
22
+ - Update API CreateNatFirewallControlPolicy: update param ApplicationNameList.
23
+ - Update API CreateNatFirewallControlPolicy: update param Direction.
24
+ - Update API DeleteNatFirewallControlPolicy: update param Direction.
25
+ - Update API DescribeNatFirewallControlPolicy: update param CurrentPage.
26
+ - Update API DescribeNatFirewallControlPolicy: update param PageSize.
27
+ - Update API DescribeNatFirewallPolicyPriorUsed: update param Direction.
28
+ - Update API DescribeRiskEventPayload: update param UUID.
29
+ - Update API DescribeTrFirewallPolicyBackUpAssociationList: add param CandidateList.
30
+ - Update API ModifyNatFirewallControlPolicyPosition: update param NewOrder.
31
+ - Update API ModifyTrFirewallV2RoutePolicyScope: add param ShouldRecover.
32
+ - Update API ModifyTrFirewallV2RoutePolicyScope: update param FirewallId.
33
+ - Update API ModifyTrFirewallV2RoutePolicyScope: update param TrFirewallRoutePolicyId.
34
+
35
+
36
+ 2024-03-13 Version: 3.3.0
37
+ - Support API CreateDownloadTask.
38
+ - Support API DeleteControlPolicyTemplate.
39
+ - Support API DeleteDownloadTask.
40
+ - Support API DeleteNatFirewallControlPolicyBatch.
41
+ - Support API DescribeAssetRiskList.
42
+ - Support API DescribeCfwRiskLevelSummary.
43
+ - Support API DescribeDownloadTask.
44
+ - Support API DescribeDownloadTaskType.
45
+ - Support API DescribeInstanceRiskLevels.
46
+ - Support API DescribeNatAclPageStatus.
47
+ - Support API DescribePostpayTrafficDetail.
48
+ - Support API DescribePostpayTrafficTotal.
49
+ - Support API DescribePrefixLists.
50
+ - Support API DescribeSignatureLibVersion.
51
+ - Support API DescribeVpcFirewallIPSWhitelist.
52
+ - Support API DescribeVpcListLite.
53
+ - Support API DescribeVpcZone.
54
+ - Support API ModifyVpcFirewallIPSWhitelist.
55
+ - Support API ResetNatFirewallRuleHitCount.
56
+ - Update API CreateNatFirewallControlPolicy: update param ApplicationNameList.
57
+ - Update API CreateNatFirewallControlPolicy: update param Direction.
58
+ - Update API DeleteNatFirewallControlPolicy: update param Direction.
59
+ - Update API DescribeNatFirewallControlPolicy: update param CurrentPage.
60
+ - Update API DescribeNatFirewallControlPolicy: update param PageSize.
61
+ - Update API DescribeNatFirewallPolicyPriorUsed: update param Direction.
62
+ - Update API DescribeRiskEventPayload: update param UUID.
63
+ - Update API DescribeTrFirewallPolicyBackUpAssociationList: add param CandidateList.
64
+ - Update API ModifyNatFirewallControlPolicyPosition: update param NewOrder.
65
+ - Update API ModifyTrFirewallV2RoutePolicyScope: add param ShouldRecover.
66
+ - Update API ModifyTrFirewallV2RoutePolicyScope: update param FirewallId.
67
+ - Update API ModifyTrFirewallV2RoutePolicyScope: update param TrFirewallRoutePolicyId.
68
+
69
+
1
70
  2024-03-01 Version: 3.2.0
2
71
  - Support API CreateDownloadTask.
3
72
  - Support API DeleteControlPolicyTemplate.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_cloudfw20171207
3
- Version: 3.3.0
3
+ Version: 3.5.0
4
4
  Summary: Alibaba Cloud Cloudfw (20171207) SDK Library for Python
5
5
  Home-page: https://github.com/aliyun/alibabacloud-python-sdk
6
6
  Author: Alibaba Cloud SDK
@@ -0,0 +1 @@
1
+ __version__ = '3.5.0'
@@ -609,6 +609,80 @@ class Client(OpenApiClient):
609
609
  runtime = util_models.RuntimeOptions()
610
610
  return await self.batch_copy_vpc_firewall_control_policy_with_options_async(request, runtime)
611
611
 
612
+ def batch_delete_vpc_firewall_control_policy_with_options(
613
+ self,
614
+ request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
615
+ runtime: util_models.RuntimeOptions,
616
+ ) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
617
+ UtilClient.validate_model(request)
618
+ query = {}
619
+ if not UtilClient.is_unset(request.acl_uuid_list):
620
+ query['AclUuidList'] = request.acl_uuid_list
621
+ if not UtilClient.is_unset(request.vpc_firewall_id):
622
+ query['VpcFirewallId'] = request.vpc_firewall_id
623
+ req = open_api_models.OpenApiRequest(
624
+ query=OpenApiUtilClient.query(query)
625
+ )
626
+ params = open_api_models.Params(
627
+ action='BatchDeleteVpcFirewallControlPolicy',
628
+ version='2017-12-07',
629
+ protocol='HTTPS',
630
+ pathname='/',
631
+ method='POST',
632
+ auth_type='AK',
633
+ style='RPC',
634
+ req_body_type='formData',
635
+ body_type='json'
636
+ )
637
+ return TeaCore.from_map(
638
+ cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse(),
639
+ self.call_api(params, req, runtime)
640
+ )
641
+
642
+ async def batch_delete_vpc_firewall_control_policy_with_options_async(
643
+ self,
644
+ request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
645
+ runtime: util_models.RuntimeOptions,
646
+ ) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
647
+ UtilClient.validate_model(request)
648
+ query = {}
649
+ if not UtilClient.is_unset(request.acl_uuid_list):
650
+ query['AclUuidList'] = request.acl_uuid_list
651
+ if not UtilClient.is_unset(request.vpc_firewall_id):
652
+ query['VpcFirewallId'] = request.vpc_firewall_id
653
+ req = open_api_models.OpenApiRequest(
654
+ query=OpenApiUtilClient.query(query)
655
+ )
656
+ params = open_api_models.Params(
657
+ action='BatchDeleteVpcFirewallControlPolicy',
658
+ version='2017-12-07',
659
+ protocol='HTTPS',
660
+ pathname='/',
661
+ method='POST',
662
+ auth_type='AK',
663
+ style='RPC',
664
+ req_body_type='formData',
665
+ body_type='json'
666
+ )
667
+ return TeaCore.from_map(
668
+ cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse(),
669
+ await self.call_api_async(params, req, runtime)
670
+ )
671
+
672
+ def batch_delete_vpc_firewall_control_policy(
673
+ self,
674
+ request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
675
+ ) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
676
+ runtime = util_models.RuntimeOptions()
677
+ return self.batch_delete_vpc_firewall_control_policy_with_options(request, runtime)
678
+
679
+ async def batch_delete_vpc_firewall_control_policy_async(
680
+ self,
681
+ request: cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyRequest,
682
+ ) -> cloudfw_20171207_models.BatchDeleteVpcFirewallControlPolicyResponse:
683
+ runtime = util_models.RuntimeOptions()
684
+ return await self.batch_delete_vpc_firewall_control_policy_with_options_async(request, runtime)
685
+
612
686
  def create_download_task_with_options(
613
687
  self,
614
688
  request: cloudfw_20171207_models.CreateDownloadTaskRequest,
@@ -871,6 +945,116 @@ class Client(OpenApiClient):
871
945
  runtime = util_models.RuntimeOptions()
872
946
  return await self.create_nat_firewall_control_policy_with_options_async(request, runtime)
873
947
 
948
+ def create_security_proxy_with_options(
949
+ self,
950
+ request: cloudfw_20171207_models.CreateSecurityProxyRequest,
951
+ runtime: util_models.RuntimeOptions,
952
+ ) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
953
+ UtilClient.validate_model(request)
954
+ query = {}
955
+ if not UtilClient.is_unset(request.firewall_switch):
956
+ query['FirewallSwitch'] = request.firewall_switch
957
+ if not UtilClient.is_unset(request.lang):
958
+ query['Lang'] = request.lang
959
+ if not UtilClient.is_unset(request.nat_gateway_id):
960
+ query['NatGatewayId'] = request.nat_gateway_id
961
+ if not UtilClient.is_unset(request.nat_route_entry_list):
962
+ query['NatRouteEntryList'] = request.nat_route_entry_list
963
+ if not UtilClient.is_unset(request.proxy_name):
964
+ query['ProxyName'] = request.proxy_name
965
+ if not UtilClient.is_unset(request.region_no):
966
+ query['RegionNo'] = request.region_no
967
+ if not UtilClient.is_unset(request.strict_mode):
968
+ query['StrictMode'] = request.strict_mode
969
+ if not UtilClient.is_unset(request.vpc_id):
970
+ query['VpcId'] = request.vpc_id
971
+ if not UtilClient.is_unset(request.vswitch_auto):
972
+ query['VswitchAuto'] = request.vswitch_auto
973
+ if not UtilClient.is_unset(request.vswitch_cidr):
974
+ query['VswitchCidr'] = request.vswitch_cidr
975
+ if not UtilClient.is_unset(request.vswitch_id):
976
+ query['VswitchId'] = request.vswitch_id
977
+ req = open_api_models.OpenApiRequest(
978
+ query=OpenApiUtilClient.query(query)
979
+ )
980
+ params = open_api_models.Params(
981
+ action='CreateSecurityProxy',
982
+ version='2017-12-07',
983
+ protocol='HTTPS',
984
+ pathname='/',
985
+ method='POST',
986
+ auth_type='AK',
987
+ style='RPC',
988
+ req_body_type='formData',
989
+ body_type='json'
990
+ )
991
+ return TeaCore.from_map(
992
+ cloudfw_20171207_models.CreateSecurityProxyResponse(),
993
+ self.call_api(params, req, runtime)
994
+ )
995
+
996
+ async def create_security_proxy_with_options_async(
997
+ self,
998
+ request: cloudfw_20171207_models.CreateSecurityProxyRequest,
999
+ runtime: util_models.RuntimeOptions,
1000
+ ) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
1001
+ UtilClient.validate_model(request)
1002
+ query = {}
1003
+ if not UtilClient.is_unset(request.firewall_switch):
1004
+ query['FirewallSwitch'] = request.firewall_switch
1005
+ if not UtilClient.is_unset(request.lang):
1006
+ query['Lang'] = request.lang
1007
+ if not UtilClient.is_unset(request.nat_gateway_id):
1008
+ query['NatGatewayId'] = request.nat_gateway_id
1009
+ if not UtilClient.is_unset(request.nat_route_entry_list):
1010
+ query['NatRouteEntryList'] = request.nat_route_entry_list
1011
+ if not UtilClient.is_unset(request.proxy_name):
1012
+ query['ProxyName'] = request.proxy_name
1013
+ if not UtilClient.is_unset(request.region_no):
1014
+ query['RegionNo'] = request.region_no
1015
+ if not UtilClient.is_unset(request.strict_mode):
1016
+ query['StrictMode'] = request.strict_mode
1017
+ if not UtilClient.is_unset(request.vpc_id):
1018
+ query['VpcId'] = request.vpc_id
1019
+ if not UtilClient.is_unset(request.vswitch_auto):
1020
+ query['VswitchAuto'] = request.vswitch_auto
1021
+ if not UtilClient.is_unset(request.vswitch_cidr):
1022
+ query['VswitchCidr'] = request.vswitch_cidr
1023
+ if not UtilClient.is_unset(request.vswitch_id):
1024
+ query['VswitchId'] = request.vswitch_id
1025
+ req = open_api_models.OpenApiRequest(
1026
+ query=OpenApiUtilClient.query(query)
1027
+ )
1028
+ params = open_api_models.Params(
1029
+ action='CreateSecurityProxy',
1030
+ version='2017-12-07',
1031
+ protocol='HTTPS',
1032
+ pathname='/',
1033
+ method='POST',
1034
+ auth_type='AK',
1035
+ style='RPC',
1036
+ req_body_type='formData',
1037
+ body_type='json'
1038
+ )
1039
+ return TeaCore.from_map(
1040
+ cloudfw_20171207_models.CreateSecurityProxyResponse(),
1041
+ await self.call_api_async(params, req, runtime)
1042
+ )
1043
+
1044
+ def create_security_proxy(
1045
+ self,
1046
+ request: cloudfw_20171207_models.CreateSecurityProxyRequest,
1047
+ ) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
1048
+ runtime = util_models.RuntimeOptions()
1049
+ return self.create_security_proxy_with_options(request, runtime)
1050
+
1051
+ async def create_security_proxy_async(
1052
+ self,
1053
+ request: cloudfw_20171207_models.CreateSecurityProxyRequest,
1054
+ ) -> cloudfw_20171207_models.CreateSecurityProxyResponse:
1055
+ runtime = util_models.RuntimeOptions()
1056
+ return await self.create_security_proxy_with_options_async(request, runtime)
1057
+
874
1058
  def create_tr_firewall_v2with_options(
875
1059
  self,
876
1060
  request: cloudfw_20171207_models.CreateTrFirewallV2Request,
@@ -1894,6 +2078,15 @@ class Client(OpenApiClient):
1894
2078
  request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
1895
2079
  runtime: util_models.RuntimeOptions,
1896
2080
  ) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
2081
+ """
2082
+ You can call this operation to delete file download tasks and delete the files.
2083
+ **\
2084
+ **Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
2085
+
2086
+ @param request: DeleteDownloadTaskRequest
2087
+ @param runtime: runtime options for this request RuntimeOptions
2088
+ @return: DeleteDownloadTaskResponse
2089
+ """
1897
2090
  UtilClient.validate_model(request)
1898
2091
  query = {}
1899
2092
  if not UtilClient.is_unset(request.lang):
@@ -1924,6 +2117,15 @@ class Client(OpenApiClient):
1924
2117
  request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
1925
2118
  runtime: util_models.RuntimeOptions,
1926
2119
  ) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
2120
+ """
2121
+ You can call this operation to delete file download tasks and delete the files.
2122
+ **\
2123
+ **Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
2124
+
2125
+ @param request: DeleteDownloadTaskRequest
2126
+ @param runtime: runtime options for this request RuntimeOptions
2127
+ @return: DeleteDownloadTaskResponse
2128
+ """
1927
2129
  UtilClient.validate_model(request)
1928
2130
  query = {}
1929
2131
  if not UtilClient.is_unset(request.lang):
@@ -1953,6 +2155,14 @@ class Client(OpenApiClient):
1953
2155
  self,
1954
2156
  request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
1955
2157
  ) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
2158
+ """
2159
+ You can call this operation to delete file download tasks and delete the files.
2160
+ **\
2161
+ **Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
2162
+
2163
+ @param request: DeleteDownloadTaskRequest
2164
+ @return: DeleteDownloadTaskResponse
2165
+ """
1956
2166
  runtime = util_models.RuntimeOptions()
1957
2167
  return self.delete_download_task_with_options(request, runtime)
1958
2168
 
@@ -1960,6 +2170,14 @@ class Client(OpenApiClient):
1960
2170
  self,
1961
2171
  request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
1962
2172
  ) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
2173
+ """
2174
+ You can call this operation to delete file download tasks and delete the files.
2175
+ **\
2176
+ **Warning** Both tasks and involved files are deleted. You can no longer download the involved files by using the download links. This operation is irreversible. Proceed with caution.
2177
+
2178
+ @param request: DeleteDownloadTaskRequest
2179
+ @return: DeleteDownloadTaskResponse
2180
+ """
1963
2181
  runtime = util_models.RuntimeOptions()
1964
2182
  return await self.delete_download_task_with_options_async(request, runtime)
1965
2183