tencentcloud-sdk-python 3.0.1435__py2.py3-none-any.whl → 3.0.1437__py2.py3-none-any.whl

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 tencentcloud-sdk-python might be problematic. Click here for more details.

Files changed (44) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +2 -2
  3. tencentcloud/cdn/v20180606/cdn_client.py +0 -575
  4. tencentcloud/cdn/v20180606/errorcodes.py +0 -48
  5. tencentcloud/cdn/v20180606/models.py +12881 -21511
  6. tencentcloud/cfs/v20190719/models.py +16 -18
  7. tencentcloud/cls/v20201016/models.py +46 -20
  8. tencentcloud/dlc/v20210125/dlc_client.py +529 -0
  9. tencentcloud/dlc/v20210125/errorcodes.py +30 -0
  10. tencentcloud/dlc/v20210125/models.py +7909 -2612
  11. tencentcloud/emr/v20190103/models.py +2 -2
  12. tencentcloud/es/v20250101/models.py +70 -0
  13. tencentcloud/ess/v20201111/ess_client.py +55 -3
  14. tencentcloud/ess/v20201111/models.py +686 -2
  15. tencentcloud/hunyuan/v20230901/errorcodes.py +0 -27
  16. tencentcloud/hunyuan/v20230901/hunyuan_client.py +0 -46
  17. tencentcloud/hunyuan/v20230901/models.py +0 -357
  18. tencentcloud/lke/v20231130/models.py +86 -0
  19. tencentcloud/mongodb/v20190725/errorcodes.py +3 -0
  20. tencentcloud/mongodb/v20190725/mongodb_client.py +1 -1
  21. tencentcloud/mps/v20190612/models.py +24 -8
  22. tencentcloud/mqtt/v20240516/models.py +150 -0
  23. tencentcloud/ocr/v20181119/models.py +90 -4
  24. tencentcloud/partners/v20180321/partners_client.py +2 -1
  25. tencentcloud/postgres/v20170312/models.py +28 -24
  26. tencentcloud/postgres/v20170312/postgres_client.py +2 -2
  27. tencentcloud/sqlserver/v20180328/models.py +2 -2
  28. tencentcloud/sqlserver/v20180328/sqlserver_client.py +1 -1
  29. tencentcloud/ssl/v20191205/models.py +6 -6
  30. tencentcloud/tcbr/v20220217/models.py +266 -4
  31. tencentcloud/tcr/v20190924/models.py +2 -2
  32. tencentcloud/teo/v20220901/errorcodes.py +24 -0
  33. tencentcloud/teo/v20220901/models.py +3469 -441
  34. tencentcloud/teo/v20220901/teo_client.py +469 -2
  35. tencentcloud/tione/v20211111/models.py +15 -0
  36. tencentcloud/trtc/v20190722/models.py +70 -6
  37. tencentcloud/waf/v20180125/models.py +1029 -151
  38. tencentcloud/waf/v20180125/waf_client.py +92 -0
  39. tencentcloud/wsa/v20250508/models.py +22 -4
  40. {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/METADATA +1 -1
  41. {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/RECORD +44 -44
  42. {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/LICENSE +0 -0
  43. {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/WHEEL +0 -0
  44. {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1437.dist-info}/top_level.txt +0 -0
@@ -398,6 +398,31 @@ class TeoClient(AbstractClient):
398
398
  raise TencentCloudSDKException(type(e).__name__, str(e))
399
399
 
400
400
 
401
+ def CreateJustInTimeTranscodeTemplate(self, request):
402
+ """即时转码已经提供了预置转码模板,满足大部分的需求。如果有个性化的转码需求,可以通过本接口创建自定义的转码模板,最多可创建100个自定义转码模板。
403
+ 为了确保即时转码效果的一致性,避免因 EO 缓存或 M3U8 分片处理过程中的模板变更导致视频输出异常,模板在创建后不可进行修改。
404
+ 即时转码详细能力了解:[EdgeOne视频即时处理功能介绍](https://cloud.tencent.com/document/product/1552/111927)。
405
+
406
+ :param request: Request instance for CreateJustInTimeTranscodeTemplate.
407
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateJustInTimeTranscodeTemplateRequest`
408
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateJustInTimeTranscodeTemplateResponse`
409
+
410
+ """
411
+ try:
412
+ params = request._serialize()
413
+ headers = request.headers
414
+ body = self.call("CreateJustInTimeTranscodeTemplate", params, headers=headers)
415
+ response = json.loads(body)
416
+ model = models.CreateJustInTimeTranscodeTemplateResponse()
417
+ model._deserialize(response["Response"])
418
+ return model
419
+ except Exception as e:
420
+ if isinstance(e, TencentCloudSDKException):
421
+ raise
422
+ else:
423
+ raise TencentCloudSDKException(type(e).__name__, str(e))
424
+
425
+
401
426
  def CreateL4Proxy(self, request):
402
427
  """用于创建四层代理实例。
403
428
 
@@ -678,8 +703,13 @@ class TeoClient(AbstractClient):
678
703
 
679
704
 
680
705
  def CreateRealtimeLogDeliveryTask(self, request):
681
- """通过本接口创建实时日志投递任务。本接口有如下限制:
682
- 同一个实体(七层域名或者四层代理实例)在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到一个实时日志投递任务中。建议先通过 [DescribeRealtimeLogDeliveryTasks](https://cloud.tencent.com/document/product/1552/104110) 接口根据实体查询实时日志投递任务列表,检查实体是否已经被添加到另一实时日志投递任务中。
706
+ """本接口用于创建实时日志投递任务。本接口有如下限制:
707
+ - 当数据投递类型(LogType)为站点加速日志(七层访问日志)、四层代理日志、边缘函数运行日志时,同一个实体(七层域名、四层代理实例、边缘函数实例)在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到如下实时日志投递任务类型(TaskType)组合中:
708
+ - 一个推送至腾讯云 CLS 的任务,加上另一个推送至自定义 HTTP(S) 地址的任务;
709
+ - 一个推送至腾讯云 CLS 的任务,加上另一个推送至 AWS S3 兼容对象存储的任务;
710
+ - 当数据投递类型(LogType)为速率限制和 CC 攻击防护日志、托管规则日志、自定义规则日志、Bot 管理日志时,同一个实体在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到一个实时日志投递任务中。
711
+
712
+ 建议先通过 [DescribeRealtimeLogDeliveryTasks](https://cloud.tencent.com/document/product/1552/104110) 接口根据实体查询实时日志投递任务列表,检查实体是否已经被添加到另一实时日志投递任务中。
683
713
 
684
714
  :param request: Request instance for CreateRealtimeLogDeliveryTask.
685
715
  :type request: :class:`tencentcloud.teo.v20220901.models.CreateRealtimeLogDeliveryTaskRequest`
@@ -725,6 +755,75 @@ class TeoClient(AbstractClient):
725
755
  raise TencentCloudSDKException(type(e).__name__, str(e))
726
756
 
727
757
 
758
+ def CreateSecurityAPIResource(self, request):
759
+ """用于创建 API 资源。
760
+
761
+ :param request: Request instance for CreateSecurityAPIResource.
762
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIResourceRequest`
763
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIResourceResponse`
764
+
765
+ """
766
+ try:
767
+ params = request._serialize()
768
+ headers = request.headers
769
+ body = self.call("CreateSecurityAPIResource", params, headers=headers)
770
+ response = json.loads(body)
771
+ model = models.CreateSecurityAPIResourceResponse()
772
+ model._deserialize(response["Response"])
773
+ return model
774
+ except Exception as e:
775
+ if isinstance(e, TencentCloudSDKException):
776
+ raise
777
+ else:
778
+ raise TencentCloudSDKException(type(e).__name__, str(e))
779
+
780
+
781
+ def CreateSecurityAPIService(self, request):
782
+ """用于创建 API 服务。
783
+
784
+ :param request: Request instance for CreateSecurityAPIService.
785
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIServiceRequest`
786
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIServiceResponse`
787
+
788
+ """
789
+ try:
790
+ params = request._serialize()
791
+ headers = request.headers
792
+ body = self.call("CreateSecurityAPIService", params, headers=headers)
793
+ response = json.loads(body)
794
+ model = models.CreateSecurityAPIServiceResponse()
795
+ model._deserialize(response["Response"])
796
+ return model
797
+ except Exception as e:
798
+ if isinstance(e, TencentCloudSDKException):
799
+ raise
800
+ else:
801
+ raise TencentCloudSDKException(type(e).__name__, str(e))
802
+
803
+
804
+ def CreateSecurityClientAttester(self, request):
805
+ """创建客户端认证选项。
806
+
807
+ :param request: Request instance for CreateSecurityClientAttester.
808
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityClientAttesterRequest`
809
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityClientAttesterResponse`
810
+
811
+ """
812
+ try:
813
+ params = request._serialize()
814
+ headers = request.headers
815
+ body = self.call("CreateSecurityClientAttester", params, headers=headers)
816
+ response = json.loads(body)
817
+ model = models.CreateSecurityClientAttesterResponse()
818
+ model._deserialize(response["Response"])
819
+ return model
820
+ except Exception as e:
821
+ if isinstance(e, TencentCloudSDKException):
822
+ raise
823
+ else:
824
+ raise TencentCloudSDKException(type(e).__name__, str(e))
825
+
826
+
728
827
  def CreateSecurityIPGroup(self, request):
729
828
  """创建安全 IP 组
730
829
 
@@ -748,6 +847,29 @@ class TeoClient(AbstractClient):
748
847
  raise TencentCloudSDKException(type(e).__name__, str(e))
749
848
 
750
849
 
850
+ def CreateSecurityJSInjectionRule(self, request):
851
+ """创建 JavaScript 注入规则。
852
+
853
+ :param request: Request instance for CreateSecurityJSInjectionRule.
854
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityJSInjectionRuleRequest`
855
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityJSInjectionRuleResponse`
856
+
857
+ """
858
+ try:
859
+ params = request._serialize()
860
+ headers = request.headers
861
+ body = self.call("CreateSecurityJSInjectionRule", params, headers=headers)
862
+ response = json.loads(body)
863
+ model = models.CreateSecurityJSInjectionRuleResponse()
864
+ model._deserialize(response["Response"])
865
+ return model
866
+ except Exception as e:
867
+ if isinstance(e, TencentCloudSDKException):
868
+ raise
869
+ else:
870
+ raise TencentCloudSDKException(type(e).__name__, str(e))
871
+
872
+
751
873
  def CreateSharedCNAME(self, request):
752
874
  """用于创建共享 CNAME,该功能白名单内测中。
753
875
 
@@ -1028,6 +1150,29 @@ class TeoClient(AbstractClient):
1028
1150
  raise TencentCloudSDKException(type(e).__name__, str(e))
1029
1151
 
1030
1152
 
1153
+ def DeleteJustInTimeTranscodeTemplates(self, request):
1154
+ """根据站点 id 下唯一的模板标识,删除相应的即时转码模板。
1155
+
1156
+ :param request: Request instance for DeleteJustInTimeTranscodeTemplates.
1157
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteJustInTimeTranscodeTemplatesRequest`
1158
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteJustInTimeTranscodeTemplatesResponse`
1159
+
1160
+ """
1161
+ try:
1162
+ params = request._serialize()
1163
+ headers = request.headers
1164
+ body = self.call("DeleteJustInTimeTranscodeTemplates", params, headers=headers)
1165
+ response = json.loads(body)
1166
+ model = models.DeleteJustInTimeTranscodeTemplatesResponse()
1167
+ model._deserialize(response["Response"])
1168
+ return model
1169
+ except Exception as e:
1170
+ if isinstance(e, TencentCloudSDKException):
1171
+ raise
1172
+ else:
1173
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1174
+
1175
+
1031
1176
  def DeleteL4Proxy(self, request):
1032
1177
  """用于删除四层代理实例。
1033
1178
 
@@ -1236,6 +1381,75 @@ class TeoClient(AbstractClient):
1236
1381
  raise TencentCloudSDKException(type(e).__name__, str(e))
1237
1382
 
1238
1383
 
1384
+ def DeleteSecurityAPIResource(self, request):
1385
+ """用于删除 API 资源。
1386
+
1387
+ :param request: Request instance for DeleteSecurityAPIResource.
1388
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIResourceRequest`
1389
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIResourceResponse`
1390
+
1391
+ """
1392
+ try:
1393
+ params = request._serialize()
1394
+ headers = request.headers
1395
+ body = self.call("DeleteSecurityAPIResource", params, headers=headers)
1396
+ response = json.loads(body)
1397
+ model = models.DeleteSecurityAPIResourceResponse()
1398
+ model._deserialize(response["Response"])
1399
+ return model
1400
+ except Exception as e:
1401
+ if isinstance(e, TencentCloudSDKException):
1402
+ raise
1403
+ else:
1404
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1405
+
1406
+
1407
+ def DeleteSecurityAPIService(self, request):
1408
+ """用于删除 API 服务。
1409
+
1410
+ :param request: Request instance for DeleteSecurityAPIService.
1411
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIServiceRequest`
1412
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIServiceResponse`
1413
+
1414
+ """
1415
+ try:
1416
+ params = request._serialize()
1417
+ headers = request.headers
1418
+ body = self.call("DeleteSecurityAPIService", params, headers=headers)
1419
+ response = json.loads(body)
1420
+ model = models.DeleteSecurityAPIServiceResponse()
1421
+ model._deserialize(response["Response"])
1422
+ return model
1423
+ except Exception as e:
1424
+ if isinstance(e, TencentCloudSDKException):
1425
+ raise
1426
+ else:
1427
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1428
+
1429
+
1430
+ def DeleteSecurityClientAttester(self, request):
1431
+ """删除客户端认证选项。
1432
+
1433
+ :param request: Request instance for DeleteSecurityClientAttester.
1434
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityClientAttesterRequest`
1435
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityClientAttesterResponse`
1436
+
1437
+ """
1438
+ try:
1439
+ params = request._serialize()
1440
+ headers = request.headers
1441
+ body = self.call("DeleteSecurityClientAttester", params, headers=headers)
1442
+ response = json.loads(body)
1443
+ model = models.DeleteSecurityClientAttesterResponse()
1444
+ model._deserialize(response["Response"])
1445
+ return model
1446
+ except Exception as e:
1447
+ if isinstance(e, TencentCloudSDKException):
1448
+ raise
1449
+ else:
1450
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1451
+
1452
+
1239
1453
  def DeleteSecurityIPGroup(self, request):
1240
1454
  """删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
1241
1455
 
@@ -1259,6 +1473,29 @@ class TeoClient(AbstractClient):
1259
1473
  raise TencentCloudSDKException(type(e).__name__, str(e))
1260
1474
 
1261
1475
 
1476
+ def DeleteSecurityJSInjectionRule(self, request):
1477
+ """删除 JavaScript 注入规则。
1478
+
1479
+ :param request: Request instance for DeleteSecurityJSInjectionRule.
1480
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityJSInjectionRuleRequest`
1481
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityJSInjectionRuleResponse`
1482
+
1483
+ """
1484
+ try:
1485
+ params = request._serialize()
1486
+ headers = request.headers
1487
+ body = self.call("DeleteSecurityJSInjectionRule", params, headers=headers)
1488
+ response = json.loads(body)
1489
+ model = models.DeleteSecurityJSInjectionRuleResponse()
1490
+ model._deserialize(response["Response"])
1491
+ return model
1492
+ except Exception as e:
1493
+ if isinstance(e, TencentCloudSDKException):
1494
+ raise
1495
+ else:
1496
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1497
+
1498
+
1262
1499
  def DeleteSharedCNAME(self, request):
1263
1500
  """用于删除共享 CNAME,该功能白名单内测中。
1264
1501
 
@@ -1904,6 +2141,29 @@ class TeoClient(AbstractClient):
1904
2141
  raise TencentCloudSDKException(type(e).__name__, str(e))
1905
2142
 
1906
2143
 
2144
+ def DescribeJustInTimeTranscodeTemplates(self, request):
2145
+ """根据即时转码模板名字、模板类型或唯一标识,获取即时转码模板详情列表。返回结果包含符合条件的所有用户自定义模板及预置模板。
2146
+
2147
+ :param request: Request instance for DescribeJustInTimeTranscodeTemplates.
2148
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeJustInTimeTranscodeTemplatesRequest`
2149
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeJustInTimeTranscodeTemplatesResponse`
2150
+
2151
+ """
2152
+ try:
2153
+ params = request._serialize()
2154
+ headers = request.headers
2155
+ body = self.call("DescribeJustInTimeTranscodeTemplates", params, headers=headers)
2156
+ response = json.loads(body)
2157
+ model = models.DescribeJustInTimeTranscodeTemplatesResponse()
2158
+ model._deserialize(response["Response"])
2159
+ return model
2160
+ except Exception as e:
2161
+ if isinstance(e, TencentCloudSDKException):
2162
+ raise
2163
+ else:
2164
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2165
+
2166
+
1907
2167
  def DescribeL4Proxy(self, request):
1908
2168
  """用于查询四层代理实例列表。
1909
2169
 
@@ -2390,6 +2650,75 @@ class TeoClient(AbstractClient):
2390
2650
  raise TencentCloudSDKException(type(e).__name__, str(e))
2391
2651
 
2392
2652
 
2653
+ def DescribeSecurityAPIResource(self, request):
2654
+ """查询站点下的 API 资源。
2655
+
2656
+ :param request: Request instance for DescribeSecurityAPIResource.
2657
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIResourceRequest`
2658
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIResourceResponse`
2659
+
2660
+ """
2661
+ try:
2662
+ params = request._serialize()
2663
+ headers = request.headers
2664
+ body = self.call("DescribeSecurityAPIResource", params, headers=headers)
2665
+ response = json.loads(body)
2666
+ model = models.DescribeSecurityAPIResourceResponse()
2667
+ model._deserialize(response["Response"])
2668
+ return model
2669
+ except Exception as e:
2670
+ if isinstance(e, TencentCloudSDKException):
2671
+ raise
2672
+ else:
2673
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2674
+
2675
+
2676
+ def DescribeSecurityAPIService(self, request):
2677
+ """查询站点下的 API 服务。
2678
+
2679
+ :param request: Request instance for DescribeSecurityAPIService.
2680
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIServiceRequest`
2681
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIServiceResponse`
2682
+
2683
+ """
2684
+ try:
2685
+ params = request._serialize()
2686
+ headers = request.headers
2687
+ body = self.call("DescribeSecurityAPIService", params, headers=headers)
2688
+ response = json.loads(body)
2689
+ model = models.DescribeSecurityAPIServiceResponse()
2690
+ model._deserialize(response["Response"])
2691
+ return model
2692
+ except Exception as e:
2693
+ if isinstance(e, TencentCloudSDKException):
2694
+ raise
2695
+ else:
2696
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2697
+
2698
+
2699
+ def DescribeSecurityClientAttester(self, request):
2700
+ """查询客户端认证选项配置。
2701
+
2702
+ :param request: Request instance for DescribeSecurityClientAttester.
2703
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityClientAttesterRequest`
2704
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityClientAttesterResponse`
2705
+
2706
+ """
2707
+ try:
2708
+ params = request._serialize()
2709
+ headers = request.headers
2710
+ body = self.call("DescribeSecurityClientAttester", params, headers=headers)
2711
+ response = json.loads(body)
2712
+ model = models.DescribeSecurityClientAttesterResponse()
2713
+ model._deserialize(response["Response"])
2714
+ return model
2715
+ except Exception as e:
2716
+ if isinstance(e, TencentCloudSDKException):
2717
+ raise
2718
+ else:
2719
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2720
+
2721
+
2393
2722
  def DescribeSecurityIPGroup(self, request):
2394
2723
  """查询安全 IP 组的配置信息,包括安全 IP 组的 ID、名称和内容。本接口的查询结果中,每个 IP 组最多只返回 2000 个 IP / 网段。如果存在超过 2000 个 IP / 网段的超大 IP 组,请调用 DescribeSecurityIPGroupContent 进行分页查询。
2395
2724
 
@@ -2413,6 +2742,29 @@ class TeoClient(AbstractClient):
2413
2742
  raise TencentCloudSDKException(type(e).__name__, str(e))
2414
2743
 
2415
2744
 
2745
+ def DescribeSecurityIPGroupContent(self, request):
2746
+ """该接口用于分页查询指定 IP 组中的 IP 地址列表。当 IP 组中的 IP 地址数量超过 2000 个时,可以使用此接口进行分页查询,以获取完整的 IP 地址列表。
2747
+
2748
+ :param request: Request instance for DescribeSecurityIPGroupContent.
2749
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityIPGroupContentRequest`
2750
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityIPGroupContentResponse`
2751
+
2752
+ """
2753
+ try:
2754
+ params = request._serialize()
2755
+ headers = request.headers
2756
+ body = self.call("DescribeSecurityIPGroupContent", params, headers=headers)
2757
+ response = json.loads(body)
2758
+ model = models.DescribeSecurityIPGroupContentResponse()
2759
+ model._deserialize(response["Response"])
2760
+ return model
2761
+ except Exception as e:
2762
+ if isinstance(e, TencentCloudSDKException):
2763
+ raise
2764
+ else:
2765
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2766
+
2767
+
2416
2768
  def DescribeSecurityIPGroupInfo(self, request):
2417
2769
  """接口已废弃,将于 2024 年 6 月 30 日停止服务。请使用 [查询安全 IP 组
2418
2770
  ](https://cloud.tencent.com/document/product/1552/105866) 接口。
@@ -2439,6 +2791,29 @@ class TeoClient(AbstractClient):
2439
2791
  raise TencentCloudSDKException(type(e).__name__, str(e))
2440
2792
 
2441
2793
 
2794
+ def DescribeSecurityJSInjectionRule(self, request):
2795
+ """查询 JavaScript 注入规则。
2796
+
2797
+ :param request: Request instance for DescribeSecurityJSInjectionRule.
2798
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityJSInjectionRuleRequest`
2799
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityJSInjectionRuleResponse`
2800
+
2801
+ """
2802
+ try:
2803
+ params = request._serialize()
2804
+ headers = request.headers
2805
+ body = self.call("DescribeSecurityJSInjectionRule", params, headers=headers)
2806
+ response = json.loads(body)
2807
+ model = models.DescribeSecurityJSInjectionRuleResponse()
2808
+ model._deserialize(response["Response"])
2809
+ return model
2810
+ except Exception as e:
2811
+ if isinstance(e, TencentCloudSDKException):
2812
+ raise
2813
+ else:
2814
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2815
+
2816
+
2442
2817
  def DescribeSecurityPolicy(self, request):
2443
2818
  """查询安全防护配置详情。
2444
2819
 
@@ -3725,6 +4100,75 @@ class TeoClient(AbstractClient):
3725
4100
  raise TencentCloudSDKException(type(e).__name__, str(e))
3726
4101
 
3727
4102
 
4103
+ def ModifySecurityAPIResource(self, request):
4104
+ """该接口用于修改 API 资源。
4105
+
4106
+ :param request: Request instance for ModifySecurityAPIResource.
4107
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIResourceRequest`
4108
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIResourceResponse`
4109
+
4110
+ """
4111
+ try:
4112
+ params = request._serialize()
4113
+ headers = request.headers
4114
+ body = self.call("ModifySecurityAPIResource", params, headers=headers)
4115
+ response = json.loads(body)
4116
+ model = models.ModifySecurityAPIResourceResponse()
4117
+ model._deserialize(response["Response"])
4118
+ return model
4119
+ except Exception as e:
4120
+ if isinstance(e, TencentCloudSDKException):
4121
+ raise
4122
+ else:
4123
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4124
+
4125
+
4126
+ def ModifySecurityAPIService(self, request):
4127
+ """该接口用于修改 API 服务。
4128
+
4129
+ :param request: Request instance for ModifySecurityAPIService.
4130
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIServiceRequest`
4131
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIServiceResponse`
4132
+
4133
+ """
4134
+ try:
4135
+ params = request._serialize()
4136
+ headers = request.headers
4137
+ body = self.call("ModifySecurityAPIService", params, headers=headers)
4138
+ response = json.loads(body)
4139
+ model = models.ModifySecurityAPIServiceResponse()
4140
+ model._deserialize(response["Response"])
4141
+ return model
4142
+ except Exception as e:
4143
+ if isinstance(e, TencentCloudSDKException):
4144
+ raise
4145
+ else:
4146
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4147
+
4148
+
4149
+ def ModifySecurityClientAttester(self, request):
4150
+ """修改客户端认证选项。
4151
+
4152
+ :param request: Request instance for ModifySecurityClientAttester.
4153
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityClientAttesterRequest`
4154
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityClientAttesterResponse`
4155
+
4156
+ """
4157
+ try:
4158
+ params = request._serialize()
4159
+ headers = request.headers
4160
+ body = self.call("ModifySecurityClientAttester", params, headers=headers)
4161
+ response = json.loads(body)
4162
+ model = models.ModifySecurityClientAttesterResponse()
4163
+ model._deserialize(response["Response"])
4164
+ return model
4165
+ except Exception as e:
4166
+ if isinstance(e, TencentCloudSDKException):
4167
+ raise
4168
+ else:
4169
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4170
+
4171
+
3728
4172
  def ModifySecurityIPGroup(self, request):
3729
4173
  """修改安全 IP 组。
3730
4174
 
@@ -3748,6 +4192,29 @@ class TeoClient(AbstractClient):
3748
4192
  raise TencentCloudSDKException(type(e).__name__, str(e))
3749
4193
 
3750
4194
 
4195
+ def ModifySecurityJSInjectionRule(self, request):
4196
+ """修改 JavaScript 注入规则。
4197
+
4198
+ :param request: Request instance for ModifySecurityJSInjectionRule.
4199
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityJSInjectionRuleRequest`
4200
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityJSInjectionRuleResponse`
4201
+
4202
+ """
4203
+ try:
4204
+ params = request._serialize()
4205
+ headers = request.headers
4206
+ body = self.call("ModifySecurityJSInjectionRule", params, headers=headers)
4207
+ response = json.loads(body)
4208
+ model = models.ModifySecurityJSInjectionRuleResponse()
4209
+ model._deserialize(response["Response"])
4210
+ return model
4211
+ except Exception as e:
4212
+ if isinstance(e, TencentCloudSDKException):
4213
+ raise
4214
+ else:
4215
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4216
+
4217
+
3751
4218
  def ModifySecurityPolicy(self, request):
3752
4219
  """修改Web&Bot安全配置。
3753
4220
 
@@ -18495,6 +18495,8 @@ DEFAULT: 其他来源
18495
18495
  :param _MonitorSource: 用于监控查询的Source
18496
18496
  枚举值,部分情况下与CreateSource不同,通过该字段兼容
18497
18497
  :type MonitorSource: str
18498
+ :param _SubUinName: 服务创建者的子账号名称
18499
+ :type SubUinName: str
18498
18500
  """
18499
18501
  self._ServiceGroupId = None
18500
18502
  self._ServiceId = None
@@ -18530,6 +18532,7 @@ DEFAULT: 其他来源
18530
18532
  self._DeployType = None
18531
18533
  self._InstancePerReplicas = None
18532
18534
  self._MonitorSource = None
18535
+ self._SubUinName = None
18533
18536
 
18534
18537
  @property
18535
18538
  def ServiceGroupId(self):
@@ -18954,6 +18957,17 @@ DEFAULT: 其他来源
18954
18957
  def MonitorSource(self, MonitorSource):
18955
18958
  self._MonitorSource = MonitorSource
18956
18959
 
18960
+ @property
18961
+ def SubUinName(self):
18962
+ """服务创建者的子账号名称
18963
+ :rtype: str
18964
+ """
18965
+ return self._SubUinName
18966
+
18967
+ @SubUinName.setter
18968
+ def SubUinName(self, SubUinName):
18969
+ self._SubUinName = SubUinName
18970
+
18957
18971
 
18958
18972
  def _deserialize(self, params):
18959
18973
  self._ServiceGroupId = params.get("ServiceGroupId")
@@ -19001,6 +19015,7 @@ DEFAULT: 其他来源
19001
19015
  self._DeployType = params.get("DeployType")
19002
19016
  self._InstancePerReplicas = params.get("InstancePerReplicas")
19003
19017
  self._MonitorSource = params.get("MonitorSource")
19018
+ self._SubUinName = params.get("SubUinName")
19004
19019
  memeber_set = set(params.keys())
19005
19020
  for name, value in vars(self).items():
19006
19021
  property_name = name[1:]