tencentcloud-sdk-python-waf 3.1.26__tar.gz → 3.1.35__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.
Files changed (17) hide show
  1. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/setup.py +1 -1
  3. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud/waf/v20180125/models.py +49 -0
  5. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud/waf/v20180125/waf_client.py +23 -0
  6. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud/waf/v20180125/waf_client_async.py +18 -0
  7. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud_sdk_python_waf.egg-info/PKG-INFO +2 -2
  8. tencentcloud_sdk_python_waf-3.1.35/tencentcloud_sdk_python_waf.egg-info/requires.txt +1 -0
  9. tencentcloud_sdk_python_waf-3.1.26/tencentcloud_sdk_python_waf.egg-info/requires.txt +0 -1
  10. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/README.rst +0 -0
  11. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/setup.cfg +0 -0
  12. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud/waf/__init__.py +0 -0
  13. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud/waf/v20180125/__init__.py +0 -0
  14. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud/waf/v20180125/errorcodes.py +0 -0
  15. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud_sdk_python_waf.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud_sdk_python_waf.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_waf-3.1.26 → tencentcloud_sdk_python_waf-3.1.35}/tencentcloud_sdk_python_waf.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-waf
3
- Version: 3.1.26
3
+ Version: 3.1.35
4
4
  Summary: Tencent Cloud Waf SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.26
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.35
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-waf',
11
- install_requires=["tencentcloud-sdk-python-common>=3.1.26,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.35,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Waf SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.26'
17
+ __version__ = '3.1.35'
@@ -31455,6 +31455,55 @@ class GetInstanceQpsLimitResponse(AbstractModel):
31455
31455
  self._RequestId = params.get("RequestId")
31456
31456
 
31457
31457
 
31458
+ class GetOrganizationRoleRequest(AbstractModel):
31459
+ r"""GetOrganizationRole请求参数结构体
31460
+
31461
+ """
31462
+
31463
+
31464
+ class GetOrganizationRoleResponse(AbstractModel):
31465
+ r"""GetOrganizationRole返回参数结构体
31466
+
31467
+ """
31468
+
31469
+ def __init__(self):
31470
+ r"""
31471
+ :param _Role: Admin:集团账号创建,DelegatedAdmin:委派管理员,Member:成员,NoMember:非集团账号成员
31472
+ :type Role: str
31473
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
31474
+ :type RequestId: str
31475
+ """
31476
+ self._Role = None
31477
+ self._RequestId = None
31478
+
31479
+ @property
31480
+ def Role(self):
31481
+ r"""Admin:集团账号创建,DelegatedAdmin:委派管理员,Member:成员,NoMember:非集团账号成员
31482
+ :rtype: str
31483
+ """
31484
+ return self._Role
31485
+
31486
+ @Role.setter
31487
+ def Role(self, Role):
31488
+ self._Role = Role
31489
+
31490
+ @property
31491
+ def RequestId(self):
31492
+ r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
31493
+ :rtype: str
31494
+ """
31495
+ return self._RequestId
31496
+
31497
+ @RequestId.setter
31498
+ def RequestId(self, RequestId):
31499
+ self._RequestId = RequestId
31500
+
31501
+
31502
+ def _deserialize(self, params):
31503
+ self._Role = params.get("Role")
31504
+ self._RequestId = params.get("RequestId")
31505
+
31506
+
31458
31507
  class GlobalSceneInfo(AbstractModel):
31459
31508
  r"""当前开启的、匹配范围为全局、优先级最高的场景信息
31460
31509
 
@@ -2949,6 +2949,29 @@ class WafClient(AbstractClient):
2949
2949
  raise TencentCloudSDKException(type(e).__name__, str(e))
2950
2950
 
2951
2951
 
2952
+ def GetOrganizationRole(self, request):
2953
+ r"""获取集团账号角色
2954
+
2955
+ :param request: Request instance for GetOrganizationRole.
2956
+ :type request: :class:`tencentcloud.waf.v20180125.models.GetOrganizationRoleRequest`
2957
+ :rtype: :class:`tencentcloud.waf.v20180125.models.GetOrganizationRoleResponse`
2958
+
2959
+ """
2960
+ try:
2961
+ params = request._serialize()
2962
+ headers = request.headers
2963
+ body = self.call("GetOrganizationRole", params, headers=headers)
2964
+ response = json.loads(body)
2965
+ model = models.GetOrganizationRoleResponse()
2966
+ model._deserialize(response["Response"])
2967
+ return model
2968
+ except Exception as e:
2969
+ if isinstance(e, TencentCloudSDKException):
2970
+ raise
2971
+ else:
2972
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2973
+
2974
+
2952
2975
  def ImportIpAccessControl(self, request):
2953
2976
  r"""导入IP黑白名单
2954
2977
 
@@ -2313,6 +2313,24 @@ class WafClient(AbstractClient):
2313
2313
 
2314
2314
  return await self.call_and_deserialize(**kwargs)
2315
2315
 
2316
+ async def GetOrganizationRole(
2317
+ self,
2318
+ request: models.GetOrganizationRoleRequest,
2319
+ opts: Dict = None,
2320
+ ) -> models.GetOrganizationRoleResponse:
2321
+ """
2322
+ 获取集团账号角色
2323
+ """
2324
+
2325
+ kwargs = {}
2326
+ kwargs["action"] = "GetOrganizationRole"
2327
+ kwargs["params"] = request._serialize()
2328
+ kwargs["resp_cls"] = models.GetOrganizationRoleResponse
2329
+ kwargs["headers"] = request.headers
2330
+ kwargs["opts"] = opts or {}
2331
+
2332
+ return await self.call_and_deserialize(**kwargs)
2333
+
2316
2334
  async def ImportIpAccessControl(
2317
2335
  self,
2318
2336
  request: models.ImportIpAccessControlRequest,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-waf
3
- Version: 3.1.26
3
+ Version: 3.1.35
4
4
  Summary: Tencent Cloud Waf SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.26
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.35
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.35
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.26