alibabacloud-cloudfw20171207 3.2.0__tar.gz → 3.4.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.
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/ChangeLog.md +56 -0
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/PKG-INFO +1 -1
- alibabacloud_cloudfw20171207-3.4.0/alibabacloud_cloudfw20171207/__init__.py +1 -0
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/alibabacloud_cloudfw20171207/client.py +284 -8
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/alibabacloud_cloudfw20171207/models.py +810 -108
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/alibabacloud_cloudfw20171207.egg-info/PKG-INFO +1 -1
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/setup.py +1 -1
- alibabacloud_cloudfw20171207-3.2.0/alibabacloud_cloudfw20171207/__init__.py +0 -1
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/LICENSE +0 -0
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/MANIFEST.in +0 -0
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/README-CN.md +0 -0
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/README.md +0 -0
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/alibabacloud_cloudfw20171207.egg-info/SOURCES.txt +0 -0
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/alibabacloud_cloudfw20171207.egg-info/dependency_links.txt +0 -0
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/alibabacloud_cloudfw20171207.egg-info/requires.txt +0 -0
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/alibabacloud_cloudfw20171207.egg-info/top_level.txt +0 -0
- {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.4.0}/setup.cfg +0 -0
|
@@ -1,3 +1,59 @@
|
|
|
1
|
+
2024-03-13 Version: 3.3.0
|
|
2
|
+
- Support API CreateDownloadTask.
|
|
3
|
+
- Support API DeleteControlPolicyTemplate.
|
|
4
|
+
- Support API DeleteDownloadTask.
|
|
5
|
+
- Support API DeleteNatFirewallControlPolicyBatch.
|
|
6
|
+
- Support API DescribeAssetRiskList.
|
|
7
|
+
- Support API DescribeCfwRiskLevelSummary.
|
|
8
|
+
- Support API DescribeDownloadTask.
|
|
9
|
+
- Support API DescribeDownloadTaskType.
|
|
10
|
+
- Support API DescribeInstanceRiskLevels.
|
|
11
|
+
- Support API DescribeNatAclPageStatus.
|
|
12
|
+
- Support API DescribePostpayTrafficDetail.
|
|
13
|
+
- Support API DescribePostpayTrafficTotal.
|
|
14
|
+
- Support API DescribePrefixLists.
|
|
15
|
+
- Support API DescribeSignatureLibVersion.
|
|
16
|
+
- Support API DescribeVpcFirewallIPSWhitelist.
|
|
17
|
+
- Support API DescribeVpcListLite.
|
|
18
|
+
- Support API DescribeVpcZone.
|
|
19
|
+
- Support API ModifyVpcFirewallIPSWhitelist.
|
|
20
|
+
- Support API ResetNatFirewallRuleHitCount.
|
|
21
|
+
- Update API CreateNatFirewallControlPolicy: update param ApplicationNameList.
|
|
22
|
+
- Update API CreateNatFirewallControlPolicy: update param Direction.
|
|
23
|
+
- Update API DeleteNatFirewallControlPolicy: update param Direction.
|
|
24
|
+
- Update API DescribeNatFirewallControlPolicy: update param CurrentPage.
|
|
25
|
+
- Update API DescribeNatFirewallControlPolicy: update param PageSize.
|
|
26
|
+
- Update API DescribeNatFirewallPolicyPriorUsed: update param Direction.
|
|
27
|
+
- Update API DescribeRiskEventPayload: update param UUID.
|
|
28
|
+
- Update API DescribeTrFirewallPolicyBackUpAssociationList: add param CandidateList.
|
|
29
|
+
- Update API ModifyNatFirewallControlPolicyPosition: update param NewOrder.
|
|
30
|
+
- Update API ModifyTrFirewallV2RoutePolicyScope: add param ShouldRecover.
|
|
31
|
+
- Update API ModifyTrFirewallV2RoutePolicyScope: update param FirewallId.
|
|
32
|
+
- Update API ModifyTrFirewallV2RoutePolicyScope: update param TrFirewallRoutePolicyId.
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
2024-03-01 Version: 3.2.0
|
|
36
|
+
- Support API CreateDownloadTask.
|
|
37
|
+
- Support API DeleteControlPolicyTemplate.
|
|
38
|
+
- Support API DeleteDownloadTask.
|
|
39
|
+
- Support API DeleteNatFirewallControlPolicyBatch.
|
|
40
|
+
- Support API DescribeAssetRiskList.
|
|
41
|
+
- Support API DescribeCfwRiskLevelSummary.
|
|
42
|
+
- Support API DescribeDownloadTask.
|
|
43
|
+
- Support API DescribeDownloadTaskType.
|
|
44
|
+
- Support API DescribeInstanceRiskLevels.
|
|
45
|
+
- Support API DescribeNatAclPageStatus.
|
|
46
|
+
- Support API DescribePrefixLists.
|
|
47
|
+
- Support API DescribeSignatureLibVersion.
|
|
48
|
+
- Support API DescribeVpcFirewallIPSWhitelist.
|
|
49
|
+
- Support API DescribeVpcListLite.
|
|
50
|
+
- Support API DescribeVpcZone.
|
|
51
|
+
- Support API ModifyVpcFirewallIPSWhitelist.
|
|
52
|
+
- Support API ResetNatFirewallRuleHitCount.
|
|
53
|
+
- Update API DescribeTrFirewallPolicyBackUpAssociationList: add param CandidateList.
|
|
54
|
+
- Update API ModifyTrFirewallV2RoutePolicyScope: add param ShouldRecover.
|
|
55
|
+
|
|
56
|
+
|
|
1
57
|
2024-01-17 Version: 3.1.0
|
|
2
58
|
- Generated python 2017-12-07 for Cloudfw.
|
|
3
59
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '3.4.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,
|
|
@@ -1894,6 +1968,15 @@ class Client(OpenApiClient):
|
|
|
1894
1968
|
request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
|
|
1895
1969
|
runtime: util_models.RuntimeOptions,
|
|
1896
1970
|
) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
|
|
1971
|
+
"""
|
|
1972
|
+
You can call this operation to delete file download tasks and delete the files.
|
|
1973
|
+
**\
|
|
1974
|
+
**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.
|
|
1975
|
+
|
|
1976
|
+
@param request: DeleteDownloadTaskRequest
|
|
1977
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
1978
|
+
@return: DeleteDownloadTaskResponse
|
|
1979
|
+
"""
|
|
1897
1980
|
UtilClient.validate_model(request)
|
|
1898
1981
|
query = {}
|
|
1899
1982
|
if not UtilClient.is_unset(request.lang):
|
|
@@ -1924,6 +2007,15 @@ class Client(OpenApiClient):
|
|
|
1924
2007
|
request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
|
|
1925
2008
|
runtime: util_models.RuntimeOptions,
|
|
1926
2009
|
) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
|
|
2010
|
+
"""
|
|
2011
|
+
You can call this operation to delete file download tasks and delete the files.
|
|
2012
|
+
**\
|
|
2013
|
+
**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.
|
|
2014
|
+
|
|
2015
|
+
@param request: DeleteDownloadTaskRequest
|
|
2016
|
+
@param runtime: runtime options for this request RuntimeOptions
|
|
2017
|
+
@return: DeleteDownloadTaskResponse
|
|
2018
|
+
"""
|
|
1927
2019
|
UtilClient.validate_model(request)
|
|
1928
2020
|
query = {}
|
|
1929
2021
|
if not UtilClient.is_unset(request.lang):
|
|
@@ -1953,6 +2045,14 @@ class Client(OpenApiClient):
|
|
|
1953
2045
|
self,
|
|
1954
2046
|
request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
|
|
1955
2047
|
) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
|
|
2048
|
+
"""
|
|
2049
|
+
You can call this operation to delete file download tasks and delete the files.
|
|
2050
|
+
**\
|
|
2051
|
+
**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.
|
|
2052
|
+
|
|
2053
|
+
@param request: DeleteDownloadTaskRequest
|
|
2054
|
+
@return: DeleteDownloadTaskResponse
|
|
2055
|
+
"""
|
|
1956
2056
|
runtime = util_models.RuntimeOptions()
|
|
1957
2057
|
return self.delete_download_task_with_options(request, runtime)
|
|
1958
2058
|
|
|
@@ -1960,6 +2060,14 @@ class Client(OpenApiClient):
|
|
|
1960
2060
|
self,
|
|
1961
2061
|
request: cloudfw_20171207_models.DeleteDownloadTaskRequest,
|
|
1962
2062
|
) -> cloudfw_20171207_models.DeleteDownloadTaskResponse:
|
|
2063
|
+
"""
|
|
2064
|
+
You can call this operation to delete file download tasks and delete the files.
|
|
2065
|
+
**\
|
|
2066
|
+
**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.
|
|
2067
|
+
|
|
2068
|
+
@param request: DeleteDownloadTaskRequest
|
|
2069
|
+
@return: DeleteDownloadTaskResponse
|
|
2070
|
+
"""
|
|
1963
2071
|
runtime = util_models.RuntimeOptions()
|
|
1964
2072
|
return await self.delete_download_task_with_options_async(request, runtime)
|
|
1965
2073
|
|
|
@@ -2527,7 +2635,7 @@ class Client(OpenApiClient):
|
|
|
2527
2635
|
runtime: util_models.RuntimeOptions,
|
|
2528
2636
|
) -> cloudfw_20171207_models.DeleteVpcFirewallConfigureResponse:
|
|
2529
2637
|
"""
|
|
2530
|
-
You can call the
|
|
2638
|
+
You can call the DeleteVpcFirewallConfigure operation to delete a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.
|
|
2531
2639
|
## Limits
|
|
2532
2640
|
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2533
2641
|
|
|
@@ -2568,7 +2676,7 @@ class Client(OpenApiClient):
|
|
|
2568
2676
|
runtime: util_models.RuntimeOptions,
|
|
2569
2677
|
) -> cloudfw_20171207_models.DeleteVpcFirewallConfigureResponse:
|
|
2570
2678
|
"""
|
|
2571
|
-
You can call the
|
|
2679
|
+
You can call the DeleteVpcFirewallConfigure operation to delete a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.
|
|
2572
2680
|
## Limits
|
|
2573
2681
|
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2574
2682
|
|
|
@@ -2608,7 +2716,7 @@ class Client(OpenApiClient):
|
|
|
2608
2716
|
request: cloudfw_20171207_models.DeleteVpcFirewallConfigureRequest,
|
|
2609
2717
|
) -> cloudfw_20171207_models.DeleteVpcFirewallConfigureResponse:
|
|
2610
2718
|
"""
|
|
2611
|
-
You can call the
|
|
2719
|
+
You can call the DeleteVpcFirewallConfigure operation to delete a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.
|
|
2612
2720
|
## Limits
|
|
2613
2721
|
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2614
2722
|
|
|
@@ -2623,7 +2731,7 @@ class Client(OpenApiClient):
|
|
|
2623
2731
|
request: cloudfw_20171207_models.DeleteVpcFirewallConfigureRequest,
|
|
2624
2732
|
) -> cloudfw_20171207_models.DeleteVpcFirewallConfigureResponse:
|
|
2625
2733
|
"""
|
|
2626
|
-
You can call the
|
|
2734
|
+
You can call the DeleteVpcFirewallConfigure operation to delete a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.
|
|
2627
2735
|
## Limits
|
|
2628
2736
|
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
2629
2737
|
|
|
@@ -5111,6 +5219,174 @@ class Client(OpenApiClient):
|
|
|
5111
5219
|
runtime = util_models.RuntimeOptions()
|
|
5112
5220
|
return await self.describe_policy_prior_used_with_options_async(request, runtime)
|
|
5113
5221
|
|
|
5222
|
+
def describe_postpay_traffic_detail_with_options(
|
|
5223
|
+
self,
|
|
5224
|
+
request: cloudfw_20171207_models.DescribePostpayTrafficDetailRequest,
|
|
5225
|
+
runtime: util_models.RuntimeOptions,
|
|
5226
|
+
) -> cloudfw_20171207_models.DescribePostpayTrafficDetailResponse:
|
|
5227
|
+
UtilClient.validate_model(request)
|
|
5228
|
+
query = {}
|
|
5229
|
+
if not UtilClient.is_unset(request.current_page):
|
|
5230
|
+
query['CurrentPage'] = request.current_page
|
|
5231
|
+
if not UtilClient.is_unset(request.end_time):
|
|
5232
|
+
query['EndTime'] = request.end_time
|
|
5233
|
+
if not UtilClient.is_unset(request.lang):
|
|
5234
|
+
query['Lang'] = request.lang
|
|
5235
|
+
if not UtilClient.is_unset(request.order):
|
|
5236
|
+
query['Order'] = request.order
|
|
5237
|
+
if not UtilClient.is_unset(request.page_size):
|
|
5238
|
+
query['PageSize'] = request.page_size
|
|
5239
|
+
if not UtilClient.is_unset(request.search_item):
|
|
5240
|
+
query['SearchItem'] = request.search_item
|
|
5241
|
+
if not UtilClient.is_unset(request.start_time):
|
|
5242
|
+
query['StartTime'] = request.start_time
|
|
5243
|
+
if not UtilClient.is_unset(request.traffic_type):
|
|
5244
|
+
query['TrafficType'] = request.traffic_type
|
|
5245
|
+
req = open_api_models.OpenApiRequest(
|
|
5246
|
+
query=OpenApiUtilClient.query(query)
|
|
5247
|
+
)
|
|
5248
|
+
params = open_api_models.Params(
|
|
5249
|
+
action='DescribePostpayTrafficDetail',
|
|
5250
|
+
version='2017-12-07',
|
|
5251
|
+
protocol='HTTPS',
|
|
5252
|
+
pathname='/',
|
|
5253
|
+
method='POST',
|
|
5254
|
+
auth_type='AK',
|
|
5255
|
+
style='RPC',
|
|
5256
|
+
req_body_type='formData',
|
|
5257
|
+
body_type='json'
|
|
5258
|
+
)
|
|
5259
|
+
return TeaCore.from_map(
|
|
5260
|
+
cloudfw_20171207_models.DescribePostpayTrafficDetailResponse(),
|
|
5261
|
+
self.call_api(params, req, runtime)
|
|
5262
|
+
)
|
|
5263
|
+
|
|
5264
|
+
async def describe_postpay_traffic_detail_with_options_async(
|
|
5265
|
+
self,
|
|
5266
|
+
request: cloudfw_20171207_models.DescribePostpayTrafficDetailRequest,
|
|
5267
|
+
runtime: util_models.RuntimeOptions,
|
|
5268
|
+
) -> cloudfw_20171207_models.DescribePostpayTrafficDetailResponse:
|
|
5269
|
+
UtilClient.validate_model(request)
|
|
5270
|
+
query = {}
|
|
5271
|
+
if not UtilClient.is_unset(request.current_page):
|
|
5272
|
+
query['CurrentPage'] = request.current_page
|
|
5273
|
+
if not UtilClient.is_unset(request.end_time):
|
|
5274
|
+
query['EndTime'] = request.end_time
|
|
5275
|
+
if not UtilClient.is_unset(request.lang):
|
|
5276
|
+
query['Lang'] = request.lang
|
|
5277
|
+
if not UtilClient.is_unset(request.order):
|
|
5278
|
+
query['Order'] = request.order
|
|
5279
|
+
if not UtilClient.is_unset(request.page_size):
|
|
5280
|
+
query['PageSize'] = request.page_size
|
|
5281
|
+
if not UtilClient.is_unset(request.search_item):
|
|
5282
|
+
query['SearchItem'] = request.search_item
|
|
5283
|
+
if not UtilClient.is_unset(request.start_time):
|
|
5284
|
+
query['StartTime'] = request.start_time
|
|
5285
|
+
if not UtilClient.is_unset(request.traffic_type):
|
|
5286
|
+
query['TrafficType'] = request.traffic_type
|
|
5287
|
+
req = open_api_models.OpenApiRequest(
|
|
5288
|
+
query=OpenApiUtilClient.query(query)
|
|
5289
|
+
)
|
|
5290
|
+
params = open_api_models.Params(
|
|
5291
|
+
action='DescribePostpayTrafficDetail',
|
|
5292
|
+
version='2017-12-07',
|
|
5293
|
+
protocol='HTTPS',
|
|
5294
|
+
pathname='/',
|
|
5295
|
+
method='POST',
|
|
5296
|
+
auth_type='AK',
|
|
5297
|
+
style='RPC',
|
|
5298
|
+
req_body_type='formData',
|
|
5299
|
+
body_type='json'
|
|
5300
|
+
)
|
|
5301
|
+
return TeaCore.from_map(
|
|
5302
|
+
cloudfw_20171207_models.DescribePostpayTrafficDetailResponse(),
|
|
5303
|
+
await self.call_api_async(params, req, runtime)
|
|
5304
|
+
)
|
|
5305
|
+
|
|
5306
|
+
def describe_postpay_traffic_detail(
|
|
5307
|
+
self,
|
|
5308
|
+
request: cloudfw_20171207_models.DescribePostpayTrafficDetailRequest,
|
|
5309
|
+
) -> cloudfw_20171207_models.DescribePostpayTrafficDetailResponse:
|
|
5310
|
+
runtime = util_models.RuntimeOptions()
|
|
5311
|
+
return self.describe_postpay_traffic_detail_with_options(request, runtime)
|
|
5312
|
+
|
|
5313
|
+
async def describe_postpay_traffic_detail_async(
|
|
5314
|
+
self,
|
|
5315
|
+
request: cloudfw_20171207_models.DescribePostpayTrafficDetailRequest,
|
|
5316
|
+
) -> cloudfw_20171207_models.DescribePostpayTrafficDetailResponse:
|
|
5317
|
+
runtime = util_models.RuntimeOptions()
|
|
5318
|
+
return await self.describe_postpay_traffic_detail_with_options_async(request, runtime)
|
|
5319
|
+
|
|
5320
|
+
def describe_postpay_traffic_total_with_options(
|
|
5321
|
+
self,
|
|
5322
|
+
request: cloudfw_20171207_models.DescribePostpayTrafficTotalRequest,
|
|
5323
|
+
runtime: util_models.RuntimeOptions,
|
|
5324
|
+
) -> cloudfw_20171207_models.DescribePostpayTrafficTotalResponse:
|
|
5325
|
+
UtilClient.validate_model(request)
|
|
5326
|
+
query = {}
|
|
5327
|
+
if not UtilClient.is_unset(request.lang):
|
|
5328
|
+
query['Lang'] = request.lang
|
|
5329
|
+
req = open_api_models.OpenApiRequest(
|
|
5330
|
+
query=OpenApiUtilClient.query(query)
|
|
5331
|
+
)
|
|
5332
|
+
params = open_api_models.Params(
|
|
5333
|
+
action='DescribePostpayTrafficTotal',
|
|
5334
|
+
version='2017-12-07',
|
|
5335
|
+
protocol='HTTPS',
|
|
5336
|
+
pathname='/',
|
|
5337
|
+
method='POST',
|
|
5338
|
+
auth_type='AK',
|
|
5339
|
+
style='RPC',
|
|
5340
|
+
req_body_type='formData',
|
|
5341
|
+
body_type='json'
|
|
5342
|
+
)
|
|
5343
|
+
return TeaCore.from_map(
|
|
5344
|
+
cloudfw_20171207_models.DescribePostpayTrafficTotalResponse(),
|
|
5345
|
+
self.call_api(params, req, runtime)
|
|
5346
|
+
)
|
|
5347
|
+
|
|
5348
|
+
async def describe_postpay_traffic_total_with_options_async(
|
|
5349
|
+
self,
|
|
5350
|
+
request: cloudfw_20171207_models.DescribePostpayTrafficTotalRequest,
|
|
5351
|
+
runtime: util_models.RuntimeOptions,
|
|
5352
|
+
) -> cloudfw_20171207_models.DescribePostpayTrafficTotalResponse:
|
|
5353
|
+
UtilClient.validate_model(request)
|
|
5354
|
+
query = {}
|
|
5355
|
+
if not UtilClient.is_unset(request.lang):
|
|
5356
|
+
query['Lang'] = request.lang
|
|
5357
|
+
req = open_api_models.OpenApiRequest(
|
|
5358
|
+
query=OpenApiUtilClient.query(query)
|
|
5359
|
+
)
|
|
5360
|
+
params = open_api_models.Params(
|
|
5361
|
+
action='DescribePostpayTrafficTotal',
|
|
5362
|
+
version='2017-12-07',
|
|
5363
|
+
protocol='HTTPS',
|
|
5364
|
+
pathname='/',
|
|
5365
|
+
method='POST',
|
|
5366
|
+
auth_type='AK',
|
|
5367
|
+
style='RPC',
|
|
5368
|
+
req_body_type='formData',
|
|
5369
|
+
body_type='json'
|
|
5370
|
+
)
|
|
5371
|
+
return TeaCore.from_map(
|
|
5372
|
+
cloudfw_20171207_models.DescribePostpayTrafficTotalResponse(),
|
|
5373
|
+
await self.call_api_async(params, req, runtime)
|
|
5374
|
+
)
|
|
5375
|
+
|
|
5376
|
+
def describe_postpay_traffic_total(
|
|
5377
|
+
self,
|
|
5378
|
+
request: cloudfw_20171207_models.DescribePostpayTrafficTotalRequest,
|
|
5379
|
+
) -> cloudfw_20171207_models.DescribePostpayTrafficTotalResponse:
|
|
5380
|
+
runtime = util_models.RuntimeOptions()
|
|
5381
|
+
return self.describe_postpay_traffic_total_with_options(request, runtime)
|
|
5382
|
+
|
|
5383
|
+
async def describe_postpay_traffic_total_async(
|
|
5384
|
+
self,
|
|
5385
|
+
request: cloudfw_20171207_models.DescribePostpayTrafficTotalRequest,
|
|
5386
|
+
) -> cloudfw_20171207_models.DescribePostpayTrafficTotalResponse:
|
|
5387
|
+
runtime = util_models.RuntimeOptions()
|
|
5388
|
+
return await self.describe_postpay_traffic_total_with_options_async(request, runtime)
|
|
5389
|
+
|
|
5114
5390
|
def describe_prefix_lists_with_options(
|
|
5115
5391
|
self,
|
|
5116
5392
|
request: cloudfw_20171207_models.DescribePrefixListsRequest,
|
|
@@ -9165,7 +9441,7 @@ class Client(OpenApiClient):
|
|
|
9165
9441
|
runtime: util_models.RuntimeOptions,
|
|
9166
9442
|
) -> cloudfw_20171207_models.ModifyVpcFirewallConfigureResponse:
|
|
9167
9443
|
"""
|
|
9168
|
-
You can call the
|
|
9444
|
+
You can call the ModifyVpcFirewallConfigure operation to modify the configurations of a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.
|
|
9169
9445
|
## Limits
|
|
9170
9446
|
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
9171
9447
|
|
|
@@ -9212,7 +9488,7 @@ class Client(OpenApiClient):
|
|
|
9212
9488
|
runtime: util_models.RuntimeOptions,
|
|
9213
9489
|
) -> cloudfw_20171207_models.ModifyVpcFirewallConfigureResponse:
|
|
9214
9490
|
"""
|
|
9215
|
-
You can call the
|
|
9491
|
+
You can call the ModifyVpcFirewallConfigure operation to modify the configurations of a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.
|
|
9216
9492
|
## Limits
|
|
9217
9493
|
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
9218
9494
|
|
|
@@ -9258,7 +9534,7 @@ class Client(OpenApiClient):
|
|
|
9258
9534
|
request: cloudfw_20171207_models.ModifyVpcFirewallConfigureRequest,
|
|
9259
9535
|
) -> cloudfw_20171207_models.ModifyVpcFirewallConfigureResponse:
|
|
9260
9536
|
"""
|
|
9261
|
-
You can call the
|
|
9537
|
+
You can call the ModifyVpcFirewallConfigure operation to modify the configurations of a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.
|
|
9262
9538
|
## Limits
|
|
9263
9539
|
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
9264
9540
|
|
|
@@ -9273,7 +9549,7 @@ class Client(OpenApiClient):
|
|
|
9273
9549
|
request: cloudfw_20171207_models.ModifyVpcFirewallConfigureRequest,
|
|
9274
9550
|
) -> cloudfw_20171207_models.ModifyVpcFirewallConfigureResponse:
|
|
9275
9551
|
"""
|
|
9276
|
-
You can call the
|
|
9552
|
+
You can call the ModifyVpcFirewallConfigure operation to modify the configurations of a VPC firewall. The VPC firewall controls traffic between two VPCs that are connected by using an Express Connect circuit. Before you call the operation, make sure that you created a VPC firewall by calling the [CreateVpcFirewallConfigure](~~342893~~) operation.
|
|
9277
9553
|
## Limits
|
|
9278
9554
|
You can call this operation up to 10 times per second per account. If the number of calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.
|
|
9279
9555
|
|