tencentcloud-sdk-python 3.0.972__py2.py3-none-any.whl → 3.0.974__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/asr/v20190614/asr_client.py +11 -10
- tencentcloud/asr/v20190614/models.py +49 -18
- tencentcloud/ccc/v20200210/models.py +2 -2
- tencentcloud/cdwch/v20200915/cdwch_client.py +1 -1
- tencentcloud/cfs/v20190719/models.py +36 -0
- tencentcloud/cfw/v20190904/cfw_client.py +47 -0
- tencentcloud/cfw/v20190904/models.py +322 -11
- tencentcloud/clb/v20180317/models.py +23 -5
- tencentcloud/csip/v20221121/csip_client.py +92 -0
- tencentcloud/csip/v20221121/models.py +2712 -904
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +92 -0
- tencentcloud/dbbrain/v20210527/models.py +1049 -18
- tencentcloud/dnspod/v20210323/models.py +12 -0
- tencentcloud/dts/v20211206/models.py +145 -2
- tencentcloud/ecm/v20190719/models.py +15 -2
- tencentcloud/ess/v20201111/ess_client.py +10 -7
- tencentcloud/ess/v20201111/models.py +48 -30
- tencentcloud/iotexplorer/v20190423/errorcodes.py +1 -1
- tencentcloud/live/v20180801/errorcodes.py +3 -0
- tencentcloud/live/v20180801/live_client.py +23 -0
- tencentcloud/live/v20180801/models.py +131 -0
- tencentcloud/mps/v20190612/models.py +429 -0
- tencentcloud/tiia/v20190529/models.py +2 -1
- tencentcloud/tiia/v20190529/tiia_client.py +9 -4
- tencentcloud/tione/v20211111/models.py +454 -34
- tencentcloud/tione/v20211111/tione_client.py +5 -3
- tencentcloud/tiw/v20190919/tiw_client.py +12 -4
- tencentcloud/tse/v20201207/models.py +223 -0
- tencentcloud/tsf/v20180326/models.py +1 -1
- tencentcloud/tsf/v20180326/tsf_client.py +1 -1
- tencentcloud/vod/v20180717/models.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +71 -11
- tencentcloud/vpc/v20170312/vpc_client.py +3 -3
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.974.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.974.dist-info}/RECORD +40 -40
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.974.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.974.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.972.dist-info → tencentcloud_sdk_python-3.0.974.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -131,15 +131,16 @@ class AsrClient(AbstractClient):
|
|
|
131
131
|
|
|
132
132
|
|
|
133
133
|
def CreateRecTask(self, request):
|
|
134
|
-
"""
|
|
135
|
-
•
|
|
136
|
-
•
|
|
137
|
-
•
|
|
138
|
-
•
|
|
139
|
-
•
|
|
140
|
-
•
|
|
141
|
-
•
|
|
142
|
-
•
|
|
134
|
+
"""本接口可对较长的录音文件进行识别。如希望直接使用带界面的语音识别产品,请访问[产品体验中心](https://console.cloud.tencent.com/asr/demonstrate)。产品计费标准请查阅 [计费概述(在线版)](https://cloud.tencent.com/document/product/1093/35686)
|
|
135
|
+
• 接口默认限频:20次/秒。此处仅限制任务提交频次,与识别结果返回时效无关
|
|
136
|
+
• 返回时效:异步回调,非实时返回。最长3小时返回识别结果,**大多数情况下,1小时的音频1-3分钟即可完成识别**。请注意:上述返回时长不含音频下载时延,且30分钟内发送超过1000小时录音或2万条任务的情况除外
|
|
137
|
+
• 音频格式:wav、mp3、m4a、flv、mp4、wma、3gp、amr、aac、ogg-opus、flac
|
|
138
|
+
• 支持语言:在本页面上搜索 **EngineModelType**,或前往 [产品功能](https://cloud.tencent.com/document/product/1093/35682) 查看
|
|
139
|
+
• 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL并提交任务,此种方式将不产生外网和流量下行费用,可节约成本、提升任务速度(COS桶权限需要设置公有读私有写,或URL设置外部可访问)
|
|
140
|
+
• 音频限制:音频 URL 时长不能大于5小时,文件大小不超过1GB;本地音频文件不能大于5MB
|
|
141
|
+
• 如何获取识别结果:支持**回调或轮询**的方式获取结果,具体请参考 [录音文件识别结果查询](https://cloud.tencent.com/document/product/1093/37822)
|
|
142
|
+
• 识别结果有效时间:在服务端保存7天
|
|
143
|
+
• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法 v3
|
|
143
144
|
|
|
144
145
|
:param request: Request instance for CreateRecTask.
|
|
145
146
|
:type request: :class:`tencentcloud.asr.v20190614.models.CreateRecTaskRequest`
|
|
@@ -444,7 +445,7 @@ class AsrClient(AbstractClient):
|
|
|
444
445
|
|
|
445
446
|
|
|
446
447
|
def SentenceRecognition(self, request):
|
|
447
|
-
"""本接口用于对60秒之内的短音频文件进行识别。<br>•
|
|
448
|
+
"""本接口用于对60秒之内的短音频文件进行识别。<br>• 支持中文普通话、英语、粤语、日语、越南语、马来语、印度尼西亚语、菲律宾语、泰语、葡萄牙语、土耳其语、阿拉伯语、印地语、上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话。<br>• 支持本地语音文件上传和语音URL上传两种请求方式,音频时长不能超过60s,音频文件大小不能超过3MB。<br>• 音频格式支持wav、pcm、ogg-opus、speex、silk、mp3、m4a、aac。<br>• 请求方法为 HTTP POST , Content-Type为"application/json; charset=utf-8"<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。<br>• 默认接口请求频率限制:30次/秒,如您有提高请求频率限制的需求,请[前往购买](https://buy.cloud.tencent.com/asr)。
|
|
448
449
|
|
|
449
450
|
:param request: Request instance for SentenceRecognition.
|
|
450
451
|
:type request: :class:`tencentcloud.asr.v20190614.models.SentenceRecognitionRequest`
|
|
@@ -290,6 +290,7 @@ class CreateAsyncRecognitionTaskRequest(AbstractModel):
|
|
|
290
290
|
• 16k_tr:土耳其语;
|
|
291
291
|
• 16k_ar:阿拉伯语;
|
|
292
292
|
• 16k_es:西班牙语;
|
|
293
|
+
• 16k_hi:印地语;
|
|
293
294
|
:type EngineType: str
|
|
294
295
|
:param _Url: 语音流地址,支持rtmp、rtsp等流媒体协议,以及各类基于http协议的直播流(不支持hls, m3u8)
|
|
295
296
|
:type Url: str
|
|
@@ -587,15 +588,19 @@ class CreateRecTaskRequest(AbstractModel):
|
|
|
587
588
|
|
|
588
589
|
def __init__(self):
|
|
589
590
|
r"""
|
|
590
|
-
:param _EngineModelType:
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
591
|
+
:param _EngineModelType: 引擎模型类型
|
|
592
|
+
|
|
593
|
+
电话通讯场景引擎:
|
|
594
|
+
**注意:电话通讯场景,请务必使用以下8k引擎**
|
|
595
|
+
• 8k_zh:中文电话通讯;
|
|
596
|
+
• 8k_en:英文电话通讯;
|
|
597
|
+
如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**。
|
|
598
|
+
|
|
599
|
+
通用场景引擎:
|
|
600
|
+
**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**
|
|
601
|
+
• 16k_zh:中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;
|
|
602
|
+
• 16k_zh-PY:中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;
|
|
603
|
+
• 16k_zh_dialect:中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
|
599
604
|
• 16k_en:英语;
|
|
600
605
|
• 16k_yue:粤语;
|
|
601
606
|
• 16k_ja:日语;
|
|
@@ -609,21 +614,46 @@ class CreateRecTaskRequest(AbstractModel):
|
|
|
609
614
|
• 16k_tr:土耳其语;
|
|
610
615
|
• 16k_ar:阿拉伯语;
|
|
611
616
|
• 16k_es:西班牙语;
|
|
612
|
-
•
|
|
617
|
+
• 16k_hi:印地语;
|
|
618
|
+
• 16k_zh_medical:中文医疗引擎
|
|
613
619
|
:type EngineModelType: str
|
|
614
|
-
:param _ChannelNum:
|
|
620
|
+
:param _ChannelNum: 识别声道数
|
|
621
|
+
1:单声道(16k音频仅支持单声道,**请勿**设置为双声道);
|
|
622
|
+
2:双声道(仅支持8k电话音频,且双声道应分别为通话双方)
|
|
623
|
+
|
|
624
|
+
注意:
|
|
625
|
+
• 16k音频:仅支持单声道识别,**需设置ChannelNum=1**
|
|
626
|
+
• 8k电话音频:支持单声道、双声道识别,**建议设置ChannelNum=2,即双声道**。双声道能够物理区分说话人、避免说话双方重叠产生的识别错误,能达到最好的说话人分离效果和识别效果。设置双声道后,将自动区分说话人,因此**无需再开启说话人分离功能**,相关参数(**SpeakerDiarization、SpeakerNumber**)使用默认值即可
|
|
615
627
|
:type ChannelNum: int
|
|
616
|
-
:param _ResTextFormat:
|
|
628
|
+
:param _ResTextFormat: 识别结果返回形式
|
|
629
|
+
0: 识别结果文本(含分段时间戳);
|
|
630
|
+
1:词级别粒度的[详细识别结果](https://cloud.tencent.com/document/api/1093/37824#SentenceDetail)(不含标点,含语速值);
|
|
631
|
+
2:词级别粒度的详细识别结果(包含标点、语速值);
|
|
632
|
+
3: 标点符号分段,包含每段时间戳,特别适用于字幕场景(包含词级时间、标点、语速值)
|
|
633
|
+
4:【增值付费功能】对识别结果按照语义分段,并展示词级别粒度的详细识别结果,仅支持8k_zh、16k_zh引擎,需购买对应资源包使用(注意:如果账号后付费功能开启并使用此功能,将[自动计费](https://cloud.tencent.com/document/product/1093/35686))
|
|
617
634
|
:type ResTextFormat: int
|
|
618
|
-
:param _SourceType:
|
|
635
|
+
:param _SourceType: 语音数据来源
|
|
636
|
+
0:语音 URL;
|
|
637
|
+
1:语音数据(post body)
|
|
619
638
|
:type SourceType: int
|
|
620
|
-
:param _SpeakerDiarization:
|
|
621
|
-
|
|
639
|
+
:param _SpeakerDiarization: 是否开启说话人分离
|
|
640
|
+
0:不开启;
|
|
641
|
+
1:开启(仅支持8k_zh/16k_zh,且ChannelNum=1时可用);
|
|
642
|
+
默认值为 0
|
|
643
|
+
|
|
644
|
+
注意:
|
|
645
|
+
8k双声道电话音频请按 **ChannelNum 识别声道数** 的参数描述使用默认值
|
|
622
646
|
:type SpeakerDiarization: int
|
|
623
|
-
:param _SpeakerNumber:
|
|
624
|
-
|
|
647
|
+
:param _SpeakerNumber: 说话人分离人数
|
|
648
|
+
**需配合开启说话人分离使用,不开启无效**,取值范围:0-10
|
|
649
|
+
0:自动分离(最多分离出20个人);
|
|
650
|
+
1-10:指定人数分离;
|
|
651
|
+
默认值为 0
|
|
652
|
+
|
|
653
|
+
注意:此功能结果仅供参考
|
|
625
654
|
:type SpeakerNumber: int
|
|
626
|
-
:param _CallbackUrl: 回调 URL
|
|
655
|
+
:param _CallbackUrl: 回调 URL:用户自行搭建的用于接收识别结果的服务URL。回调格式和内容详见:[录音识别回调说明](https://cloud.tencent.com/document/product/1093/52632)
|
|
656
|
+
如果用户使用轮询方式获取识别结果,则无需提交该参数。
|
|
627
657
|
:type CallbackUrl: str
|
|
628
658
|
:param _Url: 语音的URL地址,需要公网环境浏览器可下载。当 SourceType 值为 0 时须填写该字段,为 1 时不需要填写。注意:请确保录音文件时长在5个小时之内,否则可能识别失败。请保证文件的下载速度,否则可能下载失败。
|
|
629
659
|
:type Url: str
|
|
@@ -2291,6 +2321,7 @@ class SentenceRecognitionRequest(AbstractModel):
|
|
|
2291
2321
|
• 16k_tr:土耳其语;
|
|
2292
2322
|
• 16k_ar:阿拉伯语;
|
|
2293
2323
|
• 16k_es:西班牙语;
|
|
2324
|
+
• 16k_hi:印地语;
|
|
2294
2325
|
• 16k_zh_dialect:多方言,支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);
|
|
2295
2326
|
:type EngSerViceType: str
|
|
2296
2327
|
:param _SourceType: 语音数据来源。0:语音 URL;1:语音数据(post body)。
|
|
@@ -1869,11 +1869,11 @@ class CreateUserSigRequest(AbstractModel):
|
|
|
1869
1869
|
r"""
|
|
1870
1870
|
:param _SdkAppId: 应用 ID(必填),可以查看 https://console.cloud.tencent.com/ccc
|
|
1871
1871
|
:type SdkAppId: int
|
|
1872
|
-
:param _Uid: 用户 ID
|
|
1872
|
+
:param _Uid: 用户 ID,该值必须与 ClientData 字段中 Uid 的值一致
|
|
1873
1873
|
:type Uid: str
|
|
1874
1874
|
:param _ExpiredTime: 有效期,单位秒,不超过 1 小时
|
|
1875
1875
|
:type ExpiredTime: int
|
|
1876
|
-
:param _ClientData:
|
|
1876
|
+
:param _ClientData: 用户签名数据,必填字段,为标准 JSON 格式
|
|
1877
1877
|
:type ClientData: str
|
|
1878
1878
|
"""
|
|
1879
1879
|
self._SdkAppId = None
|
|
@@ -464,7 +464,7 @@ class CdwchClient(AbstractClient):
|
|
|
464
464
|
|
|
465
465
|
|
|
466
466
|
def ModifyUserNewPrivilege(self, request):
|
|
467
|
-
"""
|
|
467
|
+
"""针对集群账号的权限做管控(新版)
|
|
468
468
|
|
|
469
469
|
:param request: Request instance for ModifyUserNewPrivilege.
|
|
470
470
|
:type request: :class:`tencentcloud.cdwch.v20200915.models.ModifyUserNewPrivilegeRequest`
|
|
@@ -2688,8 +2688,14 @@ class DescribeCfsFileSystemClientsRequest(AbstractModel):
|
|
|
2688
2688
|
r"""
|
|
2689
2689
|
:param _FileSystemId: 文件系统 ID。
|
|
2690
2690
|
:type FileSystemId: str
|
|
2691
|
+
:param _Offset: Offset 分页码
|
|
2692
|
+
:type Offset: int
|
|
2693
|
+
:param _Limit: Limit 页面大小
|
|
2694
|
+
:type Limit: int
|
|
2691
2695
|
"""
|
|
2692
2696
|
self._FileSystemId = None
|
|
2697
|
+
self._Offset = None
|
|
2698
|
+
self._Limit = None
|
|
2693
2699
|
|
|
2694
2700
|
@property
|
|
2695
2701
|
def FileSystemId(self):
|
|
@@ -2699,9 +2705,27 @@ class DescribeCfsFileSystemClientsRequest(AbstractModel):
|
|
|
2699
2705
|
def FileSystemId(self, FileSystemId):
|
|
2700
2706
|
self._FileSystemId = FileSystemId
|
|
2701
2707
|
|
|
2708
|
+
@property
|
|
2709
|
+
def Offset(self):
|
|
2710
|
+
return self._Offset
|
|
2711
|
+
|
|
2712
|
+
@Offset.setter
|
|
2713
|
+
def Offset(self, Offset):
|
|
2714
|
+
self._Offset = Offset
|
|
2715
|
+
|
|
2716
|
+
@property
|
|
2717
|
+
def Limit(self):
|
|
2718
|
+
return self._Limit
|
|
2719
|
+
|
|
2720
|
+
@Limit.setter
|
|
2721
|
+
def Limit(self, Limit):
|
|
2722
|
+
self._Limit = Limit
|
|
2723
|
+
|
|
2702
2724
|
|
|
2703
2725
|
def _deserialize(self, params):
|
|
2704
2726
|
self._FileSystemId = params.get("FileSystemId")
|
|
2727
|
+
self._Offset = params.get("Offset")
|
|
2728
|
+
self._Limit = params.get("Limit")
|
|
2705
2729
|
memeber_set = set(params.keys())
|
|
2706
2730
|
for name, value in vars(self).items():
|
|
2707
2731
|
property_name = name[1:]
|
|
@@ -2721,10 +2745,13 @@ class DescribeCfsFileSystemClientsResponse(AbstractModel):
|
|
|
2721
2745
|
r"""
|
|
2722
2746
|
:param _ClientList: 客户端列表
|
|
2723
2747
|
:type ClientList: list of FileSystemClient
|
|
2748
|
+
:param _TotalCount: 文件系统总数
|
|
2749
|
+
:type TotalCount: int
|
|
2724
2750
|
:param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2725
2751
|
:type RequestId: str
|
|
2726
2752
|
"""
|
|
2727
2753
|
self._ClientList = None
|
|
2754
|
+
self._TotalCount = None
|
|
2728
2755
|
self._RequestId = None
|
|
2729
2756
|
|
|
2730
2757
|
@property
|
|
@@ -2735,6 +2762,14 @@ class DescribeCfsFileSystemClientsResponse(AbstractModel):
|
|
|
2735
2762
|
def ClientList(self, ClientList):
|
|
2736
2763
|
self._ClientList = ClientList
|
|
2737
2764
|
|
|
2765
|
+
@property
|
|
2766
|
+
def TotalCount(self):
|
|
2767
|
+
return self._TotalCount
|
|
2768
|
+
|
|
2769
|
+
@TotalCount.setter
|
|
2770
|
+
def TotalCount(self, TotalCount):
|
|
2771
|
+
self._TotalCount = TotalCount
|
|
2772
|
+
|
|
2738
2773
|
@property
|
|
2739
2774
|
def RequestId(self):
|
|
2740
2775
|
return self._RequestId
|
|
@@ -2751,6 +2786,7 @@ class DescribeCfsFileSystemClientsResponse(AbstractModel):
|
|
|
2751
2786
|
obj = FileSystemClient()
|
|
2752
2787
|
obj._deserialize(item)
|
|
2753
2788
|
self._ClientList.append(obj)
|
|
2789
|
+
self._TotalCount = params.get("TotalCount")
|
|
2754
2790
|
self._RequestId = params.get("RequestId")
|
|
2755
2791
|
|
|
2756
2792
|
|
|
@@ -141,6 +141,29 @@ class CfwClient(AbstractClient):
|
|
|
141
141
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
142
142
|
|
|
143
143
|
|
|
144
|
+
def CreateBlockIgnoreRuleList(self, request):
|
|
145
|
+
"""批量添加入侵防御封禁列表、放通列表规则
|
|
146
|
+
|
|
147
|
+
:param request: Request instance for CreateBlockIgnoreRuleList.
|
|
148
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.CreateBlockIgnoreRuleListRequest`
|
|
149
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.CreateBlockIgnoreRuleListResponse`
|
|
150
|
+
|
|
151
|
+
"""
|
|
152
|
+
try:
|
|
153
|
+
params = request._serialize()
|
|
154
|
+
headers = request.headers
|
|
155
|
+
body = self.call("CreateBlockIgnoreRuleList", params, headers=headers)
|
|
156
|
+
response = json.loads(body)
|
|
157
|
+
model = models.CreateBlockIgnoreRuleListResponse()
|
|
158
|
+
model._deserialize(response["Response"])
|
|
159
|
+
return model
|
|
160
|
+
except Exception as e:
|
|
161
|
+
if isinstance(e, TencentCloudSDKException):
|
|
162
|
+
raise
|
|
163
|
+
else:
|
|
164
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
165
|
+
|
|
166
|
+
|
|
144
167
|
def CreateChooseVpcs(self, request):
|
|
145
168
|
"""创建、选择vpc
|
|
146
169
|
|
|
@@ -1248,6 +1271,30 @@ class CfwClient(AbstractClient):
|
|
|
1248
1271
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1249
1272
|
|
|
1250
1273
|
|
|
1274
|
+
def ModifyEWRuleStatus(self, request):
|
|
1275
|
+
"""启用停用VPC间规则或Nat边界规则
|
|
1276
|
+
VPC间规则需指定EdgeId。Nat边界规则需指定地域Region与Direction。
|
|
1277
|
+
|
|
1278
|
+
:param request: Request instance for ModifyEWRuleStatus.
|
|
1279
|
+
:type request: :class:`tencentcloud.cfw.v20190904.models.ModifyEWRuleStatusRequest`
|
|
1280
|
+
:rtype: :class:`tencentcloud.cfw.v20190904.models.ModifyEWRuleStatusResponse`
|
|
1281
|
+
|
|
1282
|
+
"""
|
|
1283
|
+
try:
|
|
1284
|
+
params = request._serialize()
|
|
1285
|
+
headers = request.headers
|
|
1286
|
+
body = self.call("ModifyEWRuleStatus", params, headers=headers)
|
|
1287
|
+
response = json.loads(body)
|
|
1288
|
+
model = models.ModifyEWRuleStatusResponse()
|
|
1289
|
+
model._deserialize(response["Response"])
|
|
1290
|
+
return model
|
|
1291
|
+
except Exception as e:
|
|
1292
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1293
|
+
raise
|
|
1294
|
+
else:
|
|
1295
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1296
|
+
|
|
1297
|
+
|
|
1251
1298
|
def ModifyEnterpriseSecurityDispatchStatus(self, request):
|
|
1252
1299
|
"""修改企业安全组下发状态
|
|
1253
1300
|
|