alibabacloud-cloudfw20171207 3.2.0__tar.gz → 3.3.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.2.0 → alibabacloud_cloudfw20171207-3.3.0}/ChangeLog.md +22 -0
  2. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/PKG-INFO +1 -1
  3. alibabacloud_cloudfw20171207-3.3.0/alibabacloud_cloudfw20171207/__init__.py +1 -0
  4. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/alibabacloud_cloudfw20171207/client.py +176 -8
  5. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/alibabacloud_cloudfw20171207/models.py +368 -5
  6. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/alibabacloud_cloudfw20171207.egg-info/PKG-INFO +1 -1
  7. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/setup.py +1 -1
  8. alibabacloud_cloudfw20171207-3.2.0/alibabacloud_cloudfw20171207/__init__.py +0 -1
  9. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/LICENSE +0 -0
  10. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/MANIFEST.in +0 -0
  11. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/README-CN.md +0 -0
  12. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/README.md +0 -0
  13. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/alibabacloud_cloudfw20171207.egg-info/SOURCES.txt +0 -0
  14. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/alibabacloud_cloudfw20171207.egg-info/dependency_links.txt +0 -0
  15. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/alibabacloud_cloudfw20171207.egg-info/requires.txt +0 -0
  16. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/alibabacloud_cloudfw20171207.egg-info/top_level.txt +0 -0
  17. {alibabacloud_cloudfw20171207-3.2.0 → alibabacloud_cloudfw20171207-3.3.0}/setup.cfg +0 -0
@@ -1,3 +1,25 @@
1
+ 2024-03-01 Version: 3.2.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 DescribePrefixLists.
13
+ - Support API DescribeSignatureLibVersion.
14
+ - Support API DescribeVpcFirewallIPSWhitelist.
15
+ - Support API DescribeVpcListLite.
16
+ - Support API DescribeVpcZone.
17
+ - Support API ModifyVpcFirewallIPSWhitelist.
18
+ - Support API ResetNatFirewallRuleHitCount.
19
+ - Update API DescribeTrFirewallPolicyBackUpAssociationList: add param CandidateList.
20
+ - Update API ModifyTrFirewallV2RoutePolicyScope: add param ShouldRecover.
21
+
22
+
1
23
  2024-01-17 Version: 3.1.0
2
24
  - Generated python 2017-12-07 for Cloudfw.
3
25
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud_cloudfw20171207
3
- Version: 3.2.0
3
+ Version: 3.3.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.3.0'
@@ -2527,7 +2527,7 @@ class Client(OpenApiClient):
2527
2527
  runtime: util_models.RuntimeOptions,
2528
2528
  ) -> cloudfw_20171207_models.DeleteVpcFirewallConfigureResponse:
2529
2529
  """
2530
- You can call the DeleteVpcFirewallCenConfigure 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.
2530
+ 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
2531
  ## Limits
2532
2532
  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
2533
 
@@ -2568,7 +2568,7 @@ class Client(OpenApiClient):
2568
2568
  runtime: util_models.RuntimeOptions,
2569
2569
  ) -> cloudfw_20171207_models.DeleteVpcFirewallConfigureResponse:
2570
2570
  """
2571
- You can call the DeleteVpcFirewallCenConfigure 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.
2571
+ 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
2572
  ## Limits
2573
2573
  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
2574
 
@@ -2608,7 +2608,7 @@ class Client(OpenApiClient):
2608
2608
  request: cloudfw_20171207_models.DeleteVpcFirewallConfigureRequest,
2609
2609
  ) -> cloudfw_20171207_models.DeleteVpcFirewallConfigureResponse:
2610
2610
  """
2611
- You can call the DeleteVpcFirewallCenConfigure 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.
2611
+ 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
2612
  ## Limits
2613
2613
  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
2614
 
@@ -2623,7 +2623,7 @@ class Client(OpenApiClient):
2623
2623
  request: cloudfw_20171207_models.DeleteVpcFirewallConfigureRequest,
2624
2624
  ) -> cloudfw_20171207_models.DeleteVpcFirewallConfigureResponse:
2625
2625
  """
2626
- You can call the DeleteVpcFirewallCenConfigure 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.
2626
+ 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
2627
  ## Limits
2628
2628
  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
2629
 
@@ -5111,6 +5111,174 @@ class Client(OpenApiClient):
5111
5111
  runtime = util_models.RuntimeOptions()
5112
5112
  return await self.describe_policy_prior_used_with_options_async(request, runtime)
5113
5113
 
5114
+ def describe_postpay_traffic_detail_with_options(
5115
+ self,
5116
+ request: cloudfw_20171207_models.DescribePostpayTrafficDetailRequest,
5117
+ runtime: util_models.RuntimeOptions,
5118
+ ) -> cloudfw_20171207_models.DescribePostpayTrafficDetailResponse:
5119
+ UtilClient.validate_model(request)
5120
+ query = {}
5121
+ if not UtilClient.is_unset(request.current_page):
5122
+ query['CurrentPage'] = request.current_page
5123
+ if not UtilClient.is_unset(request.end_time):
5124
+ query['EndTime'] = request.end_time
5125
+ if not UtilClient.is_unset(request.lang):
5126
+ query['Lang'] = request.lang
5127
+ if not UtilClient.is_unset(request.order):
5128
+ query['Order'] = request.order
5129
+ if not UtilClient.is_unset(request.page_size):
5130
+ query['PageSize'] = request.page_size
5131
+ if not UtilClient.is_unset(request.search_item):
5132
+ query['SearchItem'] = request.search_item
5133
+ if not UtilClient.is_unset(request.start_time):
5134
+ query['StartTime'] = request.start_time
5135
+ if not UtilClient.is_unset(request.traffic_type):
5136
+ query['TrafficType'] = request.traffic_type
5137
+ req = open_api_models.OpenApiRequest(
5138
+ query=OpenApiUtilClient.query(query)
5139
+ )
5140
+ params = open_api_models.Params(
5141
+ action='DescribePostpayTrafficDetail',
5142
+ version='2017-12-07',
5143
+ protocol='HTTPS',
5144
+ pathname='/',
5145
+ method='POST',
5146
+ auth_type='AK',
5147
+ style='RPC',
5148
+ req_body_type='formData',
5149
+ body_type='json'
5150
+ )
5151
+ return TeaCore.from_map(
5152
+ cloudfw_20171207_models.DescribePostpayTrafficDetailResponse(),
5153
+ self.call_api(params, req, runtime)
5154
+ )
5155
+
5156
+ async def describe_postpay_traffic_detail_with_options_async(
5157
+ self,
5158
+ request: cloudfw_20171207_models.DescribePostpayTrafficDetailRequest,
5159
+ runtime: util_models.RuntimeOptions,
5160
+ ) -> cloudfw_20171207_models.DescribePostpayTrafficDetailResponse:
5161
+ UtilClient.validate_model(request)
5162
+ query = {}
5163
+ if not UtilClient.is_unset(request.current_page):
5164
+ query['CurrentPage'] = request.current_page
5165
+ if not UtilClient.is_unset(request.end_time):
5166
+ query['EndTime'] = request.end_time
5167
+ if not UtilClient.is_unset(request.lang):
5168
+ query['Lang'] = request.lang
5169
+ if not UtilClient.is_unset(request.order):
5170
+ query['Order'] = request.order
5171
+ if not UtilClient.is_unset(request.page_size):
5172
+ query['PageSize'] = request.page_size
5173
+ if not UtilClient.is_unset(request.search_item):
5174
+ query['SearchItem'] = request.search_item
5175
+ if not UtilClient.is_unset(request.start_time):
5176
+ query['StartTime'] = request.start_time
5177
+ if not UtilClient.is_unset(request.traffic_type):
5178
+ query['TrafficType'] = request.traffic_type
5179
+ req = open_api_models.OpenApiRequest(
5180
+ query=OpenApiUtilClient.query(query)
5181
+ )
5182
+ params = open_api_models.Params(
5183
+ action='DescribePostpayTrafficDetail',
5184
+ version='2017-12-07',
5185
+ protocol='HTTPS',
5186
+ pathname='/',
5187
+ method='POST',
5188
+ auth_type='AK',
5189
+ style='RPC',
5190
+ req_body_type='formData',
5191
+ body_type='json'
5192
+ )
5193
+ return TeaCore.from_map(
5194
+ cloudfw_20171207_models.DescribePostpayTrafficDetailResponse(),
5195
+ await self.call_api_async(params, req, runtime)
5196
+ )
5197
+
5198
+ def describe_postpay_traffic_detail(
5199
+ self,
5200
+ request: cloudfw_20171207_models.DescribePostpayTrafficDetailRequest,
5201
+ ) -> cloudfw_20171207_models.DescribePostpayTrafficDetailResponse:
5202
+ runtime = util_models.RuntimeOptions()
5203
+ return self.describe_postpay_traffic_detail_with_options(request, runtime)
5204
+
5205
+ async def describe_postpay_traffic_detail_async(
5206
+ self,
5207
+ request: cloudfw_20171207_models.DescribePostpayTrafficDetailRequest,
5208
+ ) -> cloudfw_20171207_models.DescribePostpayTrafficDetailResponse:
5209
+ runtime = util_models.RuntimeOptions()
5210
+ return await self.describe_postpay_traffic_detail_with_options_async(request, runtime)
5211
+
5212
+ def describe_postpay_traffic_total_with_options(
5213
+ self,
5214
+ request: cloudfw_20171207_models.DescribePostpayTrafficTotalRequest,
5215
+ runtime: util_models.RuntimeOptions,
5216
+ ) -> cloudfw_20171207_models.DescribePostpayTrafficTotalResponse:
5217
+ UtilClient.validate_model(request)
5218
+ query = {}
5219
+ if not UtilClient.is_unset(request.lang):
5220
+ query['Lang'] = request.lang
5221
+ req = open_api_models.OpenApiRequest(
5222
+ query=OpenApiUtilClient.query(query)
5223
+ )
5224
+ params = open_api_models.Params(
5225
+ action='DescribePostpayTrafficTotal',
5226
+ version='2017-12-07',
5227
+ protocol='HTTPS',
5228
+ pathname='/',
5229
+ method='POST',
5230
+ auth_type='AK',
5231
+ style='RPC',
5232
+ req_body_type='formData',
5233
+ body_type='json'
5234
+ )
5235
+ return TeaCore.from_map(
5236
+ cloudfw_20171207_models.DescribePostpayTrafficTotalResponse(),
5237
+ self.call_api(params, req, runtime)
5238
+ )
5239
+
5240
+ async def describe_postpay_traffic_total_with_options_async(
5241
+ self,
5242
+ request: cloudfw_20171207_models.DescribePostpayTrafficTotalRequest,
5243
+ runtime: util_models.RuntimeOptions,
5244
+ ) -> cloudfw_20171207_models.DescribePostpayTrafficTotalResponse:
5245
+ UtilClient.validate_model(request)
5246
+ query = {}
5247
+ if not UtilClient.is_unset(request.lang):
5248
+ query['Lang'] = request.lang
5249
+ req = open_api_models.OpenApiRequest(
5250
+ query=OpenApiUtilClient.query(query)
5251
+ )
5252
+ params = open_api_models.Params(
5253
+ action='DescribePostpayTrafficTotal',
5254
+ version='2017-12-07',
5255
+ protocol='HTTPS',
5256
+ pathname='/',
5257
+ method='POST',
5258
+ auth_type='AK',
5259
+ style='RPC',
5260
+ req_body_type='formData',
5261
+ body_type='json'
5262
+ )
5263
+ return TeaCore.from_map(
5264
+ cloudfw_20171207_models.DescribePostpayTrafficTotalResponse(),
5265
+ await self.call_api_async(params, req, runtime)
5266
+ )
5267
+
5268
+ def describe_postpay_traffic_total(
5269
+ self,
5270
+ request: cloudfw_20171207_models.DescribePostpayTrafficTotalRequest,
5271
+ ) -> cloudfw_20171207_models.DescribePostpayTrafficTotalResponse:
5272
+ runtime = util_models.RuntimeOptions()
5273
+ return self.describe_postpay_traffic_total_with_options(request, runtime)
5274
+
5275
+ async def describe_postpay_traffic_total_async(
5276
+ self,
5277
+ request: cloudfw_20171207_models.DescribePostpayTrafficTotalRequest,
5278
+ ) -> cloudfw_20171207_models.DescribePostpayTrafficTotalResponse:
5279
+ runtime = util_models.RuntimeOptions()
5280
+ return await self.describe_postpay_traffic_total_with_options_async(request, runtime)
5281
+
5114
5282
  def describe_prefix_lists_with_options(
5115
5283
  self,
5116
5284
  request: cloudfw_20171207_models.DescribePrefixListsRequest,
@@ -9165,7 +9333,7 @@ class Client(OpenApiClient):
9165
9333
  runtime: util_models.RuntimeOptions,
9166
9334
  ) -> cloudfw_20171207_models.ModifyVpcFirewallConfigureResponse:
9167
9335
  """
9168
- You can call the ModifyVpcFirewallCenConfigure 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.
9336
+ 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
9337
  ## Limits
9170
9338
  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
9339
 
@@ -9212,7 +9380,7 @@ class Client(OpenApiClient):
9212
9380
  runtime: util_models.RuntimeOptions,
9213
9381
  ) -> cloudfw_20171207_models.ModifyVpcFirewallConfigureResponse:
9214
9382
  """
9215
- You can call the ModifyVpcFirewallCenConfigure 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.
9383
+ 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
9384
  ## Limits
9217
9385
  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
9386
 
@@ -9258,7 +9426,7 @@ class Client(OpenApiClient):
9258
9426
  request: cloudfw_20171207_models.ModifyVpcFirewallConfigureRequest,
9259
9427
  ) -> cloudfw_20171207_models.ModifyVpcFirewallConfigureResponse:
9260
9428
  """
9261
- You can call the ModifyVpcFirewallCenConfigure 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.
9429
+ 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
9430
  ## Limits
9263
9431
  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
9432
 
@@ -9273,7 +9441,7 @@ class Client(OpenApiClient):
9273
9441
  request: cloudfw_20171207_models.ModifyVpcFirewallConfigureRequest,
9274
9442
  ) -> cloudfw_20171207_models.ModifyVpcFirewallConfigureResponse:
9275
9443
  """
9276
- You can call the ModifyVpcFirewallCenConfigure 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.
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.
9277
9445
  ## Limits
9278
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.
9279
9447
 
@@ -890,7 +890,14 @@ class CreateDownloadTaskRequest(TeaModel):
890
890
  lang: str = None,
891
891
  task_data: str = None,
892
892
  ):
893
+ # The language of the content within the response.
894
+ #
895
+ # Valid values:
896
+ #
897
+ # * **zh**: Chinese (default)
898
+ # * **en**: English
893
899
  self.lang = lang
900
+ # The query condition of the download task.
894
901
  self.task_data = task_data
895
902
 
896
903
  def validate(self):
@@ -925,9 +932,21 @@ class CreateDownloadTaskResponseBody(TeaModel):
925
932
  task_id: int = None,
926
933
  task_name: str = None,
927
934
  ):
935
+ # The ID of the request.
928
936
  self.request_id = request_id
937
+ # The status of the task. Valid values:
938
+ #
939
+ # finish: You can query the task to obtain the download link of the file.
940
+ #
941
+ # start
942
+ #
943
+ # error
944
+ #
945
+ # expire: The task file is invalid and cannot be downloaded.
929
946
  self.status = status
947
+ # The unique ID of the task.
930
948
  self.task_id = task_id
949
+ # The name of the file download task.
931
950
  self.task_name = task_name
932
951
 
933
952
  def validate(self):
@@ -10612,6 +10631,351 @@ class DescribePolicyPriorUsedResponse(TeaModel):
10612
10631
  return self
10613
10632
 
10614
10633
 
10634
+ class DescribePostpayTrafficDetailRequest(TeaModel):
10635
+ def __init__(
10636
+ self,
10637
+ current_page: int = None,
10638
+ end_time: str = None,
10639
+ lang: str = None,
10640
+ order: str = None,
10641
+ page_size: int = None,
10642
+ search_item: str = None,
10643
+ start_time: str = None,
10644
+ traffic_type: str = None,
10645
+ ):
10646
+ self.current_page = current_page
10647
+ self.end_time = end_time
10648
+ self.lang = lang
10649
+ self.order = order
10650
+ self.page_size = page_size
10651
+ self.search_item = search_item
10652
+ self.start_time = start_time
10653
+ self.traffic_type = traffic_type
10654
+
10655
+ def validate(self):
10656
+ pass
10657
+
10658
+ def to_map(self):
10659
+ _map = super().to_map()
10660
+ if _map is not None:
10661
+ return _map
10662
+
10663
+ result = dict()
10664
+ if self.current_page is not None:
10665
+ result['CurrentPage'] = self.current_page
10666
+ if self.end_time is not None:
10667
+ result['EndTime'] = self.end_time
10668
+ if self.lang is not None:
10669
+ result['Lang'] = self.lang
10670
+ if self.order is not None:
10671
+ result['Order'] = self.order
10672
+ if self.page_size is not None:
10673
+ result['PageSize'] = self.page_size
10674
+ if self.search_item is not None:
10675
+ result['SearchItem'] = self.search_item
10676
+ if self.start_time is not None:
10677
+ result['StartTime'] = self.start_time
10678
+ if self.traffic_type is not None:
10679
+ result['TrafficType'] = self.traffic_type
10680
+ return result
10681
+
10682
+ def from_map(self, m: dict = None):
10683
+ m = m or dict()
10684
+ if m.get('CurrentPage') is not None:
10685
+ self.current_page = m.get('CurrentPage')
10686
+ if m.get('EndTime') is not None:
10687
+ self.end_time = m.get('EndTime')
10688
+ if m.get('Lang') is not None:
10689
+ self.lang = m.get('Lang')
10690
+ if m.get('Order') is not None:
10691
+ self.order = m.get('Order')
10692
+ if m.get('PageSize') is not None:
10693
+ self.page_size = m.get('PageSize')
10694
+ if m.get('SearchItem') is not None:
10695
+ self.search_item = m.get('SearchItem')
10696
+ if m.get('StartTime') is not None:
10697
+ self.start_time = m.get('StartTime')
10698
+ if m.get('TrafficType') is not None:
10699
+ self.traffic_type = m.get('TrafficType')
10700
+ return self
10701
+
10702
+
10703
+ class DescribePostpayTrafficDetailResponseBodyTrafficList(TeaModel):
10704
+ def __init__(
10705
+ self,
10706
+ in_bytes: int = None,
10707
+ instance_id: str = None,
10708
+ instance_type: str = None,
10709
+ out_bytes: int = None,
10710
+ resource_id: str = None,
10711
+ total_bytes: int = None,
10712
+ traffic_day: str = None,
10713
+ traffic_type: str = None,
10714
+ ):
10715
+ self.in_bytes = in_bytes
10716
+ self.instance_id = instance_id
10717
+ self.instance_type = instance_type
10718
+ self.out_bytes = out_bytes
10719
+ self.resource_id = resource_id
10720
+ self.total_bytes = total_bytes
10721
+ self.traffic_day = traffic_day
10722
+ self.traffic_type = traffic_type
10723
+
10724
+ def validate(self):
10725
+ pass
10726
+
10727
+ def to_map(self):
10728
+ _map = super().to_map()
10729
+ if _map is not None:
10730
+ return _map
10731
+
10732
+ result = dict()
10733
+ if self.in_bytes is not None:
10734
+ result['InBytes'] = self.in_bytes
10735
+ if self.instance_id is not None:
10736
+ result['InstanceId'] = self.instance_id
10737
+ if self.instance_type is not None:
10738
+ result['InstanceType'] = self.instance_type
10739
+ if self.out_bytes is not None:
10740
+ result['OutBytes'] = self.out_bytes
10741
+ if self.resource_id is not None:
10742
+ result['ResourceId'] = self.resource_id
10743
+ if self.total_bytes is not None:
10744
+ result['TotalBytes'] = self.total_bytes
10745
+ if self.traffic_day is not None:
10746
+ result['TrafficDay'] = self.traffic_day
10747
+ if self.traffic_type is not None:
10748
+ result['TrafficType'] = self.traffic_type
10749
+ return result
10750
+
10751
+ def from_map(self, m: dict = None):
10752
+ m = m or dict()
10753
+ if m.get('InBytes') is not None:
10754
+ self.in_bytes = m.get('InBytes')
10755
+ if m.get('InstanceId') is not None:
10756
+ self.instance_id = m.get('InstanceId')
10757
+ if m.get('InstanceType') is not None:
10758
+ self.instance_type = m.get('InstanceType')
10759
+ if m.get('OutBytes') is not None:
10760
+ self.out_bytes = m.get('OutBytes')
10761
+ if m.get('ResourceId') is not None:
10762
+ self.resource_id = m.get('ResourceId')
10763
+ if m.get('TotalBytes') is not None:
10764
+ self.total_bytes = m.get('TotalBytes')
10765
+ if m.get('TrafficDay') is not None:
10766
+ self.traffic_day = m.get('TrafficDay')
10767
+ if m.get('TrafficType') is not None:
10768
+ self.traffic_type = m.get('TrafficType')
10769
+ return self
10770
+
10771
+
10772
+ class DescribePostpayTrafficDetailResponseBody(TeaModel):
10773
+ def __init__(
10774
+ self,
10775
+ request_id: str = None,
10776
+ total_count: int = None,
10777
+ traffic_list: List[DescribePostpayTrafficDetailResponseBodyTrafficList] = None,
10778
+ ):
10779
+ self.request_id = request_id
10780
+ self.total_count = total_count
10781
+ self.traffic_list = traffic_list
10782
+
10783
+ def validate(self):
10784
+ if self.traffic_list:
10785
+ for k in self.traffic_list:
10786
+ if k:
10787
+ k.validate()
10788
+
10789
+ def to_map(self):
10790
+ _map = super().to_map()
10791
+ if _map is not None:
10792
+ return _map
10793
+
10794
+ result = dict()
10795
+ if self.request_id is not None:
10796
+ result['RequestId'] = self.request_id
10797
+ if self.total_count is not None:
10798
+ result['TotalCount'] = self.total_count
10799
+ result['TrafficList'] = []
10800
+ if self.traffic_list is not None:
10801
+ for k in self.traffic_list:
10802
+ result['TrafficList'].append(k.to_map() if k else None)
10803
+ return result
10804
+
10805
+ def from_map(self, m: dict = None):
10806
+ m = m or dict()
10807
+ if m.get('RequestId') is not None:
10808
+ self.request_id = m.get('RequestId')
10809
+ if m.get('TotalCount') is not None:
10810
+ self.total_count = m.get('TotalCount')
10811
+ self.traffic_list = []
10812
+ if m.get('TrafficList') is not None:
10813
+ for k in m.get('TrafficList'):
10814
+ temp_model = DescribePostpayTrafficDetailResponseBodyTrafficList()
10815
+ self.traffic_list.append(temp_model.from_map(k))
10816
+ return self
10817
+
10818
+
10819
+ class DescribePostpayTrafficDetailResponse(TeaModel):
10820
+ def __init__(
10821
+ self,
10822
+ headers: Dict[str, str] = None,
10823
+ status_code: int = None,
10824
+ body: DescribePostpayTrafficDetailResponseBody = None,
10825
+ ):
10826
+ self.headers = headers
10827
+ self.status_code = status_code
10828
+ self.body = body
10829
+
10830
+ def validate(self):
10831
+ if self.body:
10832
+ self.body.validate()
10833
+
10834
+ def to_map(self):
10835
+ _map = super().to_map()
10836
+ if _map is not None:
10837
+ return _map
10838
+
10839
+ result = dict()
10840
+ if self.headers is not None:
10841
+ result['headers'] = self.headers
10842
+ if self.status_code is not None:
10843
+ result['statusCode'] = self.status_code
10844
+ if self.body is not None:
10845
+ result['body'] = self.body.to_map()
10846
+ return result
10847
+
10848
+ def from_map(self, m: dict = None):
10849
+ m = m or dict()
10850
+ if m.get('headers') is not None:
10851
+ self.headers = m.get('headers')
10852
+ if m.get('statusCode') is not None:
10853
+ self.status_code = m.get('statusCode')
10854
+ if m.get('body') is not None:
10855
+ temp_model = DescribePostpayTrafficDetailResponseBody()
10856
+ self.body = temp_model.from_map(m['body'])
10857
+ return self
10858
+
10859
+
10860
+ class DescribePostpayTrafficTotalRequest(TeaModel):
10861
+ def __init__(
10862
+ self,
10863
+ lang: str = None,
10864
+ ):
10865
+ self.lang = lang
10866
+
10867
+ def validate(self):
10868
+ pass
10869
+
10870
+ def to_map(self):
10871
+ _map = super().to_map()
10872
+ if _map is not None:
10873
+ return _map
10874
+
10875
+ result = dict()
10876
+ if self.lang is not None:
10877
+ result['Lang'] = self.lang
10878
+ return result
10879
+
10880
+ def from_map(self, m: dict = None):
10881
+ m = m or dict()
10882
+ if m.get('Lang') is not None:
10883
+ self.lang = m.get('Lang')
10884
+ return self
10885
+
10886
+
10887
+ class DescribePostpayTrafficTotalResponseBody(TeaModel):
10888
+ def __init__(
10889
+ self,
10890
+ request_id: str = None,
10891
+ total_assets: int = None,
10892
+ total_nat_assets: int = None,
10893
+ total_nat_traffic: int = None,
10894
+ total_traffic: int = None,
10895
+ ):
10896
+ self.request_id = request_id
10897
+ self.total_assets = total_assets
10898
+ self.total_nat_assets = total_nat_assets
10899
+ self.total_nat_traffic = total_nat_traffic
10900
+ self.total_traffic = total_traffic
10901
+
10902
+ def validate(self):
10903
+ pass
10904
+
10905
+ def to_map(self):
10906
+ _map = super().to_map()
10907
+ if _map is not None:
10908
+ return _map
10909
+
10910
+ result = dict()
10911
+ if self.request_id is not None:
10912
+ result['RequestId'] = self.request_id
10913
+ if self.total_assets is not None:
10914
+ result['TotalAssets'] = self.total_assets
10915
+ if self.total_nat_assets is not None:
10916
+ result['TotalNatAssets'] = self.total_nat_assets
10917
+ if self.total_nat_traffic is not None:
10918
+ result['TotalNatTraffic'] = self.total_nat_traffic
10919
+ if self.total_traffic is not None:
10920
+ result['TotalTraffic'] = self.total_traffic
10921
+ return result
10922
+
10923
+ def from_map(self, m: dict = None):
10924
+ m = m or dict()
10925
+ if m.get('RequestId') is not None:
10926
+ self.request_id = m.get('RequestId')
10927
+ if m.get('TotalAssets') is not None:
10928
+ self.total_assets = m.get('TotalAssets')
10929
+ if m.get('TotalNatAssets') is not None:
10930
+ self.total_nat_assets = m.get('TotalNatAssets')
10931
+ if m.get('TotalNatTraffic') is not None:
10932
+ self.total_nat_traffic = m.get('TotalNatTraffic')
10933
+ if m.get('TotalTraffic') is not None:
10934
+ self.total_traffic = m.get('TotalTraffic')
10935
+ return self
10936
+
10937
+
10938
+ class DescribePostpayTrafficTotalResponse(TeaModel):
10939
+ def __init__(
10940
+ self,
10941
+ headers: Dict[str, str] = None,
10942
+ status_code: int = None,
10943
+ body: DescribePostpayTrafficTotalResponseBody = None,
10944
+ ):
10945
+ self.headers = headers
10946
+ self.status_code = status_code
10947
+ self.body = body
10948
+
10949
+ def validate(self):
10950
+ if self.body:
10951
+ self.body.validate()
10952
+
10953
+ def to_map(self):
10954
+ _map = super().to_map()
10955
+ if _map is not None:
10956
+ return _map
10957
+
10958
+ result = dict()
10959
+ if self.headers is not None:
10960
+ result['headers'] = self.headers
10961
+ if self.status_code is not None:
10962
+ result['statusCode'] = self.status_code
10963
+ if self.body is not None:
10964
+ result['body'] = self.body.to_map()
10965
+ return result
10966
+
10967
+ def from_map(self, m: dict = None):
10968
+ m = m or dict()
10969
+ if m.get('headers') is not None:
10970
+ self.headers = m.get('headers')
10971
+ if m.get('statusCode') is not None:
10972
+ self.status_code = m.get('statusCode')
10973
+ if m.get('body') is not None:
10974
+ temp_model = DescribePostpayTrafficTotalResponseBody()
10975
+ self.body = temp_model.from_map(m['body'])
10976
+ return self
10977
+
10978
+
10615
10979
  class DescribePrefixListsRequest(TeaModel):
10616
10980
  def __init__(
10617
10981
  self,
@@ -16644,7 +17008,7 @@ class DescribeVpcFirewallListRequest(TeaModel):
16644
17008
  self.member_uid = member_uid
16645
17009
  # The number of entries to return on each page.
16646
17010
  #
16647
- # Default value: **10**.**** Maximum value: **50**.
17011
+ # Default value: **10**. Maximum value: **50**.
16648
17012
  self.page_size = page_size
16649
17013
  # The UID of the Alibaba Cloud account to which the peer VPC belongs.
16650
17014
  self.peer_uid = peer_uid
@@ -18608,7 +18972,7 @@ class ModifyControlPolicyRequest(TeaModel):
18608
18972
  # * **Memcache**\
18609
18973
  # * **SSL**\
18610
18974
  #
18611
- # > The value ANY** indicates all types of applications.
18975
+ # > The value *ANY* indicates all types of applications.
18612
18976
  self.application_name = application_name
18613
18977
  # The application names.
18614
18978
  self.application_name_list = application_name_list
@@ -18658,7 +19022,7 @@ class ModifyControlPolicyRequest(TeaModel):
18658
19022
  # * **UDP**\
18659
19023
  # * **ICMP**\
18660
19024
  #
18661
- # > The value ANY** indicates all types of applications.
19025
+ # > The value *ANY* indicates all types of applications.
18662
19026
  self.proto = proto
18663
19027
  # The status of the access control policy. Valid values:
18664
19028
  #
@@ -20958,7 +21322,7 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
20958
21322
  #
20959
21323
  # Valid values:
20960
21324
  #
20961
- # * ANY
21325
+ # * ANY: all application types
20962
21326
  # * FTP
20963
21327
  # * HTTP
20964
21328
  # * HTTPS
@@ -20973,7 +21337,6 @@ class ModifyVpcFirewallControlPolicyRequest(TeaModel):
20973
21337
  # * MongoDB
20974
21338
  # * Memcache
20975
21339
  # * SSL
20976
- # * ANY: all application types
20977
21340
  self.application_name = application_name
20978
21341
  # The application names.
20979
21342
  self.application_name_list = application_name_list
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: alibabacloud-cloudfw20171207
3
- Version: 3.2.0
3
+ Version: 3.3.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
@@ -24,7 +24,7 @@ from setuptools import setup, find_packages
24
24
  """
25
25
  setup module for alibabacloud_cloudfw20171207.
26
26
 
27
- Created on 01/03/2024
27
+ Created on 13/03/2024
28
28
 
29
29
  @author: Alibaba Cloud SDK
30
30
  """
@@ -1 +0,0 @@
1
- __version__ = '3.2.0'