tencentcloud-sdk-python 3.0.1435__py2.py3-none-any.whl → 3.0.1436__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 (33) 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 +22 -4
  8. tencentcloud/dlc/v20210125/dlc_client.py +529 -0
  9. tencentcloud/dlc/v20210125/errorcodes.py +30 -0
  10. tencentcloud/dlc/v20210125/models.py +7581 -2530
  11. tencentcloud/emr/v20190103/models.py +2 -2
  12. tencentcloud/es/v20250101/models.py +70 -0
  13. tencentcloud/ess/v20201111/ess_client.py +53 -1
  14. tencentcloud/ess/v20201111/models.py +680 -0
  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/mps/v20190612/models.py +24 -8
  19. tencentcloud/mqtt/v20240516/models.py +150 -0
  20. tencentcloud/ocr/v20181119/models.py +4 -4
  21. tencentcloud/ssl/v20191205/models.py +6 -6
  22. tencentcloud/teo/v20220901/errorcodes.py +24 -0
  23. tencentcloud/teo/v20220901/models.py +3449 -431
  24. tencentcloud/teo/v20220901/teo_client.py +462 -0
  25. tencentcloud/tione/v20211111/models.py +15 -0
  26. tencentcloud/trtc/v20190722/models.py +70 -6
  27. tencentcloud/waf/v20180125/models.py +1029 -151
  28. tencentcloud/waf/v20180125/waf_client.py +92 -0
  29. {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/METADATA +1 -1
  30. {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/RECORD +33 -33
  31. {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/LICENSE +0 -0
  32. {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/WHEEL +0 -0
  33. {tencentcloud_sdk_python-3.0.1435.dist-info → tencentcloud_sdk_python-3.0.1436.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
 
@@ -725,6 +750,75 @@ class TeoClient(AbstractClient):
725
750
  raise TencentCloudSDKException(type(e).__name__, str(e))
726
751
 
727
752
 
753
+ def CreateSecurityAPIResource(self, request):
754
+ """用于创建 API 资源。
755
+
756
+ :param request: Request instance for CreateSecurityAPIResource.
757
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIResourceRequest`
758
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIResourceResponse`
759
+
760
+ """
761
+ try:
762
+ params = request._serialize()
763
+ headers = request.headers
764
+ body = self.call("CreateSecurityAPIResource", params, headers=headers)
765
+ response = json.loads(body)
766
+ model = models.CreateSecurityAPIResourceResponse()
767
+ model._deserialize(response["Response"])
768
+ return model
769
+ except Exception as e:
770
+ if isinstance(e, TencentCloudSDKException):
771
+ raise
772
+ else:
773
+ raise TencentCloudSDKException(type(e).__name__, str(e))
774
+
775
+
776
+ def CreateSecurityAPIService(self, request):
777
+ """用于创建 API 服务。
778
+
779
+ :param request: Request instance for CreateSecurityAPIService.
780
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIServiceRequest`
781
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityAPIServiceResponse`
782
+
783
+ """
784
+ try:
785
+ params = request._serialize()
786
+ headers = request.headers
787
+ body = self.call("CreateSecurityAPIService", params, headers=headers)
788
+ response = json.loads(body)
789
+ model = models.CreateSecurityAPIServiceResponse()
790
+ model._deserialize(response["Response"])
791
+ return model
792
+ except Exception as e:
793
+ if isinstance(e, TencentCloudSDKException):
794
+ raise
795
+ else:
796
+ raise TencentCloudSDKException(type(e).__name__, str(e))
797
+
798
+
799
+ def CreateSecurityClientAttester(self, request):
800
+ """创建客户端认证选项。
801
+
802
+ :param request: Request instance for CreateSecurityClientAttester.
803
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityClientAttesterRequest`
804
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityClientAttesterResponse`
805
+
806
+ """
807
+ try:
808
+ params = request._serialize()
809
+ headers = request.headers
810
+ body = self.call("CreateSecurityClientAttester", params, headers=headers)
811
+ response = json.loads(body)
812
+ model = models.CreateSecurityClientAttesterResponse()
813
+ model._deserialize(response["Response"])
814
+ return model
815
+ except Exception as e:
816
+ if isinstance(e, TencentCloudSDKException):
817
+ raise
818
+ else:
819
+ raise TencentCloudSDKException(type(e).__name__, str(e))
820
+
821
+
728
822
  def CreateSecurityIPGroup(self, request):
729
823
  """创建安全 IP 组
730
824
 
@@ -748,6 +842,29 @@ class TeoClient(AbstractClient):
748
842
  raise TencentCloudSDKException(type(e).__name__, str(e))
749
843
 
750
844
 
845
+ def CreateSecurityJSInjectionRule(self, request):
846
+ """创建 JavaScript 注入规则。
847
+
848
+ :param request: Request instance for CreateSecurityJSInjectionRule.
849
+ :type request: :class:`tencentcloud.teo.v20220901.models.CreateSecurityJSInjectionRuleRequest`
850
+ :rtype: :class:`tencentcloud.teo.v20220901.models.CreateSecurityJSInjectionRuleResponse`
851
+
852
+ """
853
+ try:
854
+ params = request._serialize()
855
+ headers = request.headers
856
+ body = self.call("CreateSecurityJSInjectionRule", params, headers=headers)
857
+ response = json.loads(body)
858
+ model = models.CreateSecurityJSInjectionRuleResponse()
859
+ model._deserialize(response["Response"])
860
+ return model
861
+ except Exception as e:
862
+ if isinstance(e, TencentCloudSDKException):
863
+ raise
864
+ else:
865
+ raise TencentCloudSDKException(type(e).__name__, str(e))
866
+
867
+
751
868
  def CreateSharedCNAME(self, request):
752
869
  """用于创建共享 CNAME,该功能白名单内测中。
753
870
 
@@ -1028,6 +1145,29 @@ class TeoClient(AbstractClient):
1028
1145
  raise TencentCloudSDKException(type(e).__name__, str(e))
1029
1146
 
1030
1147
 
1148
+ def DeleteJustInTimeTranscodeTemplates(self, request):
1149
+ """根据站点 id 下唯一的模板标识,删除相应的即时转码模板。
1150
+
1151
+ :param request: Request instance for DeleteJustInTimeTranscodeTemplates.
1152
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteJustInTimeTranscodeTemplatesRequest`
1153
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteJustInTimeTranscodeTemplatesResponse`
1154
+
1155
+ """
1156
+ try:
1157
+ params = request._serialize()
1158
+ headers = request.headers
1159
+ body = self.call("DeleteJustInTimeTranscodeTemplates", params, headers=headers)
1160
+ response = json.loads(body)
1161
+ model = models.DeleteJustInTimeTranscodeTemplatesResponse()
1162
+ model._deserialize(response["Response"])
1163
+ return model
1164
+ except Exception as e:
1165
+ if isinstance(e, TencentCloudSDKException):
1166
+ raise
1167
+ else:
1168
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1169
+
1170
+
1031
1171
  def DeleteL4Proxy(self, request):
1032
1172
  """用于删除四层代理实例。
1033
1173
 
@@ -1236,6 +1376,75 @@ class TeoClient(AbstractClient):
1236
1376
  raise TencentCloudSDKException(type(e).__name__, str(e))
1237
1377
 
1238
1378
 
1379
+ def DeleteSecurityAPIResource(self, request):
1380
+ """用于删除 API 资源。
1381
+
1382
+ :param request: Request instance for DeleteSecurityAPIResource.
1383
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIResourceRequest`
1384
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIResourceResponse`
1385
+
1386
+ """
1387
+ try:
1388
+ params = request._serialize()
1389
+ headers = request.headers
1390
+ body = self.call("DeleteSecurityAPIResource", params, headers=headers)
1391
+ response = json.loads(body)
1392
+ model = models.DeleteSecurityAPIResourceResponse()
1393
+ model._deserialize(response["Response"])
1394
+ return model
1395
+ except Exception as e:
1396
+ if isinstance(e, TencentCloudSDKException):
1397
+ raise
1398
+ else:
1399
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1400
+
1401
+
1402
+ def DeleteSecurityAPIService(self, request):
1403
+ """用于删除 API 服务。
1404
+
1405
+ :param request: Request instance for DeleteSecurityAPIService.
1406
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIServiceRequest`
1407
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityAPIServiceResponse`
1408
+
1409
+ """
1410
+ try:
1411
+ params = request._serialize()
1412
+ headers = request.headers
1413
+ body = self.call("DeleteSecurityAPIService", params, headers=headers)
1414
+ response = json.loads(body)
1415
+ model = models.DeleteSecurityAPIServiceResponse()
1416
+ model._deserialize(response["Response"])
1417
+ return model
1418
+ except Exception as e:
1419
+ if isinstance(e, TencentCloudSDKException):
1420
+ raise
1421
+ else:
1422
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1423
+
1424
+
1425
+ def DeleteSecurityClientAttester(self, request):
1426
+ """删除客户端认证选项。
1427
+
1428
+ :param request: Request instance for DeleteSecurityClientAttester.
1429
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityClientAttesterRequest`
1430
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityClientAttesterResponse`
1431
+
1432
+ """
1433
+ try:
1434
+ params = request._serialize()
1435
+ headers = request.headers
1436
+ body = self.call("DeleteSecurityClientAttester", params, headers=headers)
1437
+ response = json.loads(body)
1438
+ model = models.DeleteSecurityClientAttesterResponse()
1439
+ model._deserialize(response["Response"])
1440
+ return model
1441
+ except Exception as e:
1442
+ if isinstance(e, TencentCloudSDKException):
1443
+ raise
1444
+ else:
1445
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1446
+
1447
+
1239
1448
  def DeleteSecurityIPGroup(self, request):
1240
1449
  """删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
1241
1450
 
@@ -1259,6 +1468,29 @@ class TeoClient(AbstractClient):
1259
1468
  raise TencentCloudSDKException(type(e).__name__, str(e))
1260
1469
 
1261
1470
 
1471
+ def DeleteSecurityJSInjectionRule(self, request):
1472
+ """删除 JavaScript 注入规则。
1473
+
1474
+ :param request: Request instance for DeleteSecurityJSInjectionRule.
1475
+ :type request: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityJSInjectionRuleRequest`
1476
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DeleteSecurityJSInjectionRuleResponse`
1477
+
1478
+ """
1479
+ try:
1480
+ params = request._serialize()
1481
+ headers = request.headers
1482
+ body = self.call("DeleteSecurityJSInjectionRule", params, headers=headers)
1483
+ response = json.loads(body)
1484
+ model = models.DeleteSecurityJSInjectionRuleResponse()
1485
+ model._deserialize(response["Response"])
1486
+ return model
1487
+ except Exception as e:
1488
+ if isinstance(e, TencentCloudSDKException):
1489
+ raise
1490
+ else:
1491
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1492
+
1493
+
1262
1494
  def DeleteSharedCNAME(self, request):
1263
1495
  """用于删除共享 CNAME,该功能白名单内测中。
1264
1496
 
@@ -1904,6 +2136,29 @@ class TeoClient(AbstractClient):
1904
2136
  raise TencentCloudSDKException(type(e).__name__, str(e))
1905
2137
 
1906
2138
 
2139
+ def DescribeJustInTimeTranscodeTemplates(self, request):
2140
+ """根据即时转码模板名字、模板类型或唯一标识,获取即时转码模板详情列表。返回结果包含符合条件的所有用户自定义模板及预置模板。
2141
+
2142
+ :param request: Request instance for DescribeJustInTimeTranscodeTemplates.
2143
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeJustInTimeTranscodeTemplatesRequest`
2144
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeJustInTimeTranscodeTemplatesResponse`
2145
+
2146
+ """
2147
+ try:
2148
+ params = request._serialize()
2149
+ headers = request.headers
2150
+ body = self.call("DescribeJustInTimeTranscodeTemplates", params, headers=headers)
2151
+ response = json.loads(body)
2152
+ model = models.DescribeJustInTimeTranscodeTemplatesResponse()
2153
+ model._deserialize(response["Response"])
2154
+ return model
2155
+ except Exception as e:
2156
+ if isinstance(e, TencentCloudSDKException):
2157
+ raise
2158
+ else:
2159
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2160
+
2161
+
1907
2162
  def DescribeL4Proxy(self, request):
1908
2163
  """用于查询四层代理实例列表。
1909
2164
 
@@ -2390,6 +2645,75 @@ class TeoClient(AbstractClient):
2390
2645
  raise TencentCloudSDKException(type(e).__name__, str(e))
2391
2646
 
2392
2647
 
2648
+ def DescribeSecurityAPIResource(self, request):
2649
+ """查询站点下的 API 资源。
2650
+
2651
+ :param request: Request instance for DescribeSecurityAPIResource.
2652
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIResourceRequest`
2653
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIResourceResponse`
2654
+
2655
+ """
2656
+ try:
2657
+ params = request._serialize()
2658
+ headers = request.headers
2659
+ body = self.call("DescribeSecurityAPIResource", params, headers=headers)
2660
+ response = json.loads(body)
2661
+ model = models.DescribeSecurityAPIResourceResponse()
2662
+ model._deserialize(response["Response"])
2663
+ return model
2664
+ except Exception as e:
2665
+ if isinstance(e, TencentCloudSDKException):
2666
+ raise
2667
+ else:
2668
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2669
+
2670
+
2671
+ def DescribeSecurityAPIService(self, request):
2672
+ """查询站点下的 API 服务。
2673
+
2674
+ :param request: Request instance for DescribeSecurityAPIService.
2675
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIServiceRequest`
2676
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityAPIServiceResponse`
2677
+
2678
+ """
2679
+ try:
2680
+ params = request._serialize()
2681
+ headers = request.headers
2682
+ body = self.call("DescribeSecurityAPIService", params, headers=headers)
2683
+ response = json.loads(body)
2684
+ model = models.DescribeSecurityAPIServiceResponse()
2685
+ model._deserialize(response["Response"])
2686
+ return model
2687
+ except Exception as e:
2688
+ if isinstance(e, TencentCloudSDKException):
2689
+ raise
2690
+ else:
2691
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2692
+
2693
+
2694
+ def DescribeSecurityClientAttester(self, request):
2695
+ """查询客户端认证选项配置。
2696
+
2697
+ :param request: Request instance for DescribeSecurityClientAttester.
2698
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityClientAttesterRequest`
2699
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityClientAttesterResponse`
2700
+
2701
+ """
2702
+ try:
2703
+ params = request._serialize()
2704
+ headers = request.headers
2705
+ body = self.call("DescribeSecurityClientAttester", params, headers=headers)
2706
+ response = json.loads(body)
2707
+ model = models.DescribeSecurityClientAttesterResponse()
2708
+ model._deserialize(response["Response"])
2709
+ return model
2710
+ except Exception as e:
2711
+ if isinstance(e, TencentCloudSDKException):
2712
+ raise
2713
+ else:
2714
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2715
+
2716
+
2393
2717
  def DescribeSecurityIPGroup(self, request):
2394
2718
  """查询安全 IP 组的配置信息,包括安全 IP 组的 ID、名称和内容。本接口的查询结果中,每个 IP 组最多只返回 2000 个 IP / 网段。如果存在超过 2000 个 IP / 网段的超大 IP 组,请调用 DescribeSecurityIPGroupContent 进行分页查询。
2395
2719
 
@@ -2413,6 +2737,29 @@ class TeoClient(AbstractClient):
2413
2737
  raise TencentCloudSDKException(type(e).__name__, str(e))
2414
2738
 
2415
2739
 
2740
+ def DescribeSecurityIPGroupContent(self, request):
2741
+ """该接口用于分页查询指定 IP 组中的 IP 地址列表。当 IP 组中的 IP 地址数量超过 2000 个时,可以使用此接口进行分页查询,以获取完整的 IP 地址列表。
2742
+
2743
+ :param request: Request instance for DescribeSecurityIPGroupContent.
2744
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityIPGroupContentRequest`
2745
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityIPGroupContentResponse`
2746
+
2747
+ """
2748
+ try:
2749
+ params = request._serialize()
2750
+ headers = request.headers
2751
+ body = self.call("DescribeSecurityIPGroupContent", params, headers=headers)
2752
+ response = json.loads(body)
2753
+ model = models.DescribeSecurityIPGroupContentResponse()
2754
+ model._deserialize(response["Response"])
2755
+ return model
2756
+ except Exception as e:
2757
+ if isinstance(e, TencentCloudSDKException):
2758
+ raise
2759
+ else:
2760
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2761
+
2762
+
2416
2763
  def DescribeSecurityIPGroupInfo(self, request):
2417
2764
  """接口已废弃,将于 2024 年 6 月 30 日停止服务。请使用 [查询安全 IP 组
2418
2765
  ](https://cloud.tencent.com/document/product/1552/105866) 接口。
@@ -2439,6 +2786,29 @@ class TeoClient(AbstractClient):
2439
2786
  raise TencentCloudSDKException(type(e).__name__, str(e))
2440
2787
 
2441
2788
 
2789
+ def DescribeSecurityJSInjectionRule(self, request):
2790
+ """查询 JavaScript 注入规则。
2791
+
2792
+ :param request: Request instance for DescribeSecurityJSInjectionRule.
2793
+ :type request: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityJSInjectionRuleRequest`
2794
+ :rtype: :class:`tencentcloud.teo.v20220901.models.DescribeSecurityJSInjectionRuleResponse`
2795
+
2796
+ """
2797
+ try:
2798
+ params = request._serialize()
2799
+ headers = request.headers
2800
+ body = self.call("DescribeSecurityJSInjectionRule", params, headers=headers)
2801
+ response = json.loads(body)
2802
+ model = models.DescribeSecurityJSInjectionRuleResponse()
2803
+ model._deserialize(response["Response"])
2804
+ return model
2805
+ except Exception as e:
2806
+ if isinstance(e, TencentCloudSDKException):
2807
+ raise
2808
+ else:
2809
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2810
+
2811
+
2442
2812
  def DescribeSecurityPolicy(self, request):
2443
2813
  """查询安全防护配置详情。
2444
2814
 
@@ -3725,6 +4095,75 @@ class TeoClient(AbstractClient):
3725
4095
  raise TencentCloudSDKException(type(e).__name__, str(e))
3726
4096
 
3727
4097
 
4098
+ def ModifySecurityAPIResource(self, request):
4099
+ """该接口用于修改 API 资源。
4100
+
4101
+ :param request: Request instance for ModifySecurityAPIResource.
4102
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIResourceRequest`
4103
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIResourceResponse`
4104
+
4105
+ """
4106
+ try:
4107
+ params = request._serialize()
4108
+ headers = request.headers
4109
+ body = self.call("ModifySecurityAPIResource", params, headers=headers)
4110
+ response = json.loads(body)
4111
+ model = models.ModifySecurityAPIResourceResponse()
4112
+ model._deserialize(response["Response"])
4113
+ return model
4114
+ except Exception as e:
4115
+ if isinstance(e, TencentCloudSDKException):
4116
+ raise
4117
+ else:
4118
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4119
+
4120
+
4121
+ def ModifySecurityAPIService(self, request):
4122
+ """该接口用于修改 API 服务。
4123
+
4124
+ :param request: Request instance for ModifySecurityAPIService.
4125
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIServiceRequest`
4126
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityAPIServiceResponse`
4127
+
4128
+ """
4129
+ try:
4130
+ params = request._serialize()
4131
+ headers = request.headers
4132
+ body = self.call("ModifySecurityAPIService", params, headers=headers)
4133
+ response = json.loads(body)
4134
+ model = models.ModifySecurityAPIServiceResponse()
4135
+ model._deserialize(response["Response"])
4136
+ return model
4137
+ except Exception as e:
4138
+ if isinstance(e, TencentCloudSDKException):
4139
+ raise
4140
+ else:
4141
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4142
+
4143
+
4144
+ def ModifySecurityClientAttester(self, request):
4145
+ """修改客户端认证选项。
4146
+
4147
+ :param request: Request instance for ModifySecurityClientAttester.
4148
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityClientAttesterRequest`
4149
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityClientAttesterResponse`
4150
+
4151
+ """
4152
+ try:
4153
+ params = request._serialize()
4154
+ headers = request.headers
4155
+ body = self.call("ModifySecurityClientAttester", params, headers=headers)
4156
+ response = json.loads(body)
4157
+ model = models.ModifySecurityClientAttesterResponse()
4158
+ model._deserialize(response["Response"])
4159
+ return model
4160
+ except Exception as e:
4161
+ if isinstance(e, TencentCloudSDKException):
4162
+ raise
4163
+ else:
4164
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4165
+
4166
+
3728
4167
  def ModifySecurityIPGroup(self, request):
3729
4168
  """修改安全 IP 组。
3730
4169
 
@@ -3748,6 +4187,29 @@ class TeoClient(AbstractClient):
3748
4187
  raise TencentCloudSDKException(type(e).__name__, str(e))
3749
4188
 
3750
4189
 
4190
+ def ModifySecurityJSInjectionRule(self, request):
4191
+ """修改 JavaScript 注入规则。
4192
+
4193
+ :param request: Request instance for ModifySecurityJSInjectionRule.
4194
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifySecurityJSInjectionRuleRequest`
4195
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifySecurityJSInjectionRuleResponse`
4196
+
4197
+ """
4198
+ try:
4199
+ params = request._serialize()
4200
+ headers = request.headers
4201
+ body = self.call("ModifySecurityJSInjectionRule", params, headers=headers)
4202
+ response = json.loads(body)
4203
+ model = models.ModifySecurityJSInjectionRuleResponse()
4204
+ model._deserialize(response["Response"])
4205
+ return model
4206
+ except Exception as e:
4207
+ if isinstance(e, TencentCloudSDKException):
4208
+ raise
4209
+ else:
4210
+ raise TencentCloudSDKException(type(e).__name__, str(e))
4211
+
4212
+
3751
4213
  def ModifySecurityPolicy(self, request):
3752
4214
  """修改Web&Bot安全配置。
3753
4215
 
@@ -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:]