tencentcloud-sdk-python 3.0.1338__py2.py3-none-any.whl → 3.0.1372__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/advisor/v20200721/models.py +0 -26
- tencentcloud/ams/v20201229/ams_client.py +17 -6
- tencentcloud/ams/v20201229/models.py +8 -6
- tencentcloud/antiddos/v20200309/antiddos_client.py +0 -50
- tencentcloud/antiddos/v20200309/models.py +44 -837
- tencentcloud/apm/v20210622/models.py +60 -60
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +28 -1
- tencentcloud/autoscaling/v20180419/models.py +352 -210
- tencentcloud/batch/v20170312/batch_client.py +0 -46
- tencentcloud/batch/v20170312/errorcodes.py +0 -9
- tencentcloud/batch/v20170312/models.py +44 -1179
- tencentcloud/bh/v20230418/bh_client.py +253 -0
- tencentcloud/bh/v20230418/errorcodes.py +15 -0
- tencentcloud/bh/v20230418/models.py +3489 -1335
- tencentcloud/bi/v20220105/models.py +242 -2
- tencentcloud/billing/v20180709/billing_client.py +0 -23
- tencentcloud/billing/v20180709/models.py +34 -926
- tencentcloud/bpaas/v20181217/models.py +0 -54
- tencentcloud/cam/v20190116/errorcodes.py +3 -0
- tencentcloud/cam/v20190116/models.py +2 -86
- tencentcloud/captcha/v20190722/models.py +21 -54
- tencentcloud/cat/v20180409/cat_client.py +23 -0
- tencentcloud/cat/v20180409/models.py +509 -0
- tencentcloud/cbs/v20170312/cbs_client.py +1 -1
- tencentcloud/cbs/v20170312/models.py +75 -96
- tencentcloud/ccc/v20200210/ccc_client.py +184 -0
- tencentcloud/ccc/v20200210/errorcodes.py +12 -0
- tencentcloud/ccc/v20200210/models.py +2552 -1026
- tencentcloud/cdb/v20170320/cdb_client.py +27 -4
- tencentcloud/cdb/v20170320/models.py +180 -20
- tencentcloud/cdc/v20201214/cdc_client.py +46 -0
- tencentcloud/cdc/v20201214/errorcodes.py +18 -0
- tencentcloud/cdc/v20201214/models.py +202 -86
- tencentcloud/cdn/v20180606/cdn_client.py +70 -24
- tencentcloud/cdn/v20180606/models.py +19 -50
- tencentcloud/cdwch/v20200915/errorcodes.py +15 -0
- tencentcloud/cdwch/v20200915/models.py +242 -260
- tencentcloud/cdwdoris/v20211228/models.py +330 -0
- tencentcloud/cdwpg/v20201230/models.py +196 -516
- tencentcloud/cdz/v20221123/models.py +0 -12
- tencentcloud/cfg/v20210820/models.py +30 -198
- tencentcloud/cfs/v20190719/errorcodes.py +3 -0
- tencentcloud/cfs/v20190719/models.py +15 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +331 -4
- tencentcloud/chc/__init__.py +0 -0
- tencentcloud/chc/v20230418/__init__.py +0 -0
- tencentcloud/chc/v20230418/chc_client.py +877 -0
- tencentcloud/chc/v20230418/errorcodes.py +15 -0
- tencentcloud/chc/v20230418/models.py +10146 -0
- tencentcloud/chdfs/v20201112/models.py +2 -2
- tencentcloud/ckafka/v20190819/ckafka_client.py +46 -0
- tencentcloud/ckafka/v20190819/models.py +371 -1230
- tencentcloud/clb/v20180317/clb_client.py +3 -3
- tencentcloud/clb/v20180317/models.py +395 -406
- tencentcloud/cls/v20201016/cls_client.py +41 -18
- tencentcloud/cls/v20201016/models.py +256 -606
- tencentcloud/cme/v20191029/cme_client.py +0 -1
- tencentcloud/cme/v20191029/errorcodes.py +3 -0
- tencentcloud/cme/v20191029/models.py +10 -14
- tencentcloud/cmq/v20190304/models.py +0 -90
- tencentcloud/common/abstract_client.py +29 -24
- tencentcloud/common/abstract_model.py +5 -1
- tencentcloud/common/common_client.py +14 -15
- tencentcloud/common/credential.py +68 -65
- tencentcloud/common/exception/tencent_cloud_sdk_exception.py +1 -1
- tencentcloud/common/profile/client_profile.py +32 -30
- tencentcloud/common/profile/http_profile.py +20 -12
- tencentcloud/common/retry.py +18 -0
- tencentcloud/controlcenter/v20230110/models.py +0 -58
- tencentcloud/cvm/v20170312/cvm_client.py +42 -10
- tencentcloud/cvm/v20170312/errorcodes.py +25 -1
- tencentcloud/cvm/v20170312/models.py +835 -290
- tencentcloud/cwp/v20180228/cwp_client.py +1 -1
- tencentcloud/cwp/v20180228/models.py +362 -58
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/models.py +451 -824
- tencentcloud/dbbrain/v20191016/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20191016/models.py +605 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +322 -0
- tencentcloud/dbbrain/v20210527/models.py +6071 -2974
- tencentcloud/dbdc/v20201029/models.py +0 -16
- tencentcloud/dc/v20180410/models.py +25 -12
- tencentcloud/dcdb/v20180411/errorcodes.py +3 -0
- tencentcloud/dcdb/v20180411/models.py +175 -114
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +1217 -592
- tencentcloud/dnspod/v20210323/dnspod_client.py +69 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +9 -0
- tencentcloud/dnspod/v20210323/models.py +718 -110
- tencentcloud/domain/v20180808/domain_client.py +4 -2
- tencentcloud/domain/v20180808/errorcodes.py +3 -0
- tencentcloud/domain/v20180808/models.py +628 -324
- tencentcloud/dsgc/v20190723/dsgc_client.py +0 -23
- tencentcloud/dsgc/v20190723/models.py +53 -34
- tencentcloud/dts/v20180330/models.py +0 -10
- tencentcloud/dts/v20211206/models.py +118 -585
- tencentcloud/ecdn/v20191012/ecdn_client.py +24 -225
- tencentcloud/ecdn/v20191012/errorcodes.py +0 -63
- tencentcloud/ecdn/v20191012/models.py +4 -1047
- tencentcloud/emr/v20190103/emr_client.py +47 -1
- tencentcloud/emr/v20190103/models.py +1174 -146
- tencentcloud/es/v20180416/errorcodes.py +3 -0
- tencentcloud/es/v20180416/models.py +74 -6
- tencentcloud/es/v20250101/__init__.py +0 -0
- tencentcloud/es/v20250101/errorcodes.py +45 -0
- tencentcloud/es/v20250101/es_client.py +251 -0
- tencentcloud/es/v20250101/models.py +2519 -0
- tencentcloud/ess/v20201111/ess_client.py +43 -5
- tencentcloud/ess/v20201111/models.py +854 -60
- tencentcloud/essbasic/v20210526/essbasic_client.py +35 -2
- tencentcloud/essbasic/v20210526/models.py +726 -43
- tencentcloud/facefusion/v20220927/models.py +4 -2
- tencentcloud/fmu/v20191213/errorcodes.py +3 -21
- tencentcloud/fmu/v20191213/fmu_client.py +0 -75
- tencentcloud/fmu/v20191213/models.py +4 -531
- tencentcloud/gaap/v20180529/gaap_client.py +1 -1
- tencentcloud/gaap/v20180529/models.py +2 -276
- tencentcloud/goosefs/v20220519/models.py +0 -2
- tencentcloud/gs/v20191118/errorcodes.py +36 -0
- tencentcloud/gs/v20191118/gs_client.py +1074 -12
- tencentcloud/gs/v20191118/models.py +6976 -492
- tencentcloud/gwlb/v20240906/errorcodes.py +3 -0
- tencentcloud/gwlb/v20240906/gwlb_client.py +5 -8
- tencentcloud/gwlb/v20240906/models.py +94 -84
- tencentcloud/hai/v20230812/errorcodes.py +7 -1
- tencentcloud/hai/v20230812/hai_client.py +23 -0
- tencentcloud/hai/v20230812/models.py +111 -136
- tencentcloud/hunyuan/v20230901/errorcodes.py +27 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +71 -0
- tencentcloud/hunyuan/v20230901/models.py +1089 -119
- tencentcloud/ims/v20201229/models.py +25 -4
- tencentcloud/ioa/v20220601/ioa_client.py +92 -0
- tencentcloud/ioa/v20220601/models.py +1136 -225
- tencentcloud/iotcloud/v20210408/models.py +2 -4
- tencentcloud/iotexplorer/v20190423/errorcodes.py +12 -0
- tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +234 -52
- tencentcloud/iotexplorer/v20190423/models.py +2906 -1063
- tencentcloud/iotvideo/v20191126/models.py +0 -4
- tencentcloud/iotvideo/v20201215/models.py +17 -0
- tencentcloud/iotvideo/v20211125/iotvideo_client.py +69 -0
- tencentcloud/iotvideo/v20211125/models.py +476 -0
- tencentcloud/iotvideoindustry/v20201201/iotvideoindustry_client.py +2 -2
- tencentcloud/iotvideoindustry/v20201201/models.py +30 -486
- tencentcloud/iss/v20230517/errorcodes.py +9 -0
- tencentcloud/iss/v20230517/iss_client.py +161 -0
- tencentcloud/iss/v20230517/models.py +1716 -743
- tencentcloud/kms/v20190118/models.py +101 -0
- tencentcloud/lcic/v20220817/errorcodes.py +2 -2
- tencentcloud/lcic/v20220817/lcic_client.py +47 -1
- tencentcloud/lcic/v20220817/models.py +357 -72
- tencentcloud/lighthouse/v20200324/errorcodes.py +12 -15
- tencentcloud/lighthouse/v20200324/lighthouse_client.py +39 -76
- tencentcloud/lighthouse/v20200324/models.py +237 -259
- tencentcloud/live/v20180801/models.py +61 -46
- tencentcloud/lke/v20231130/errorcodes.py +3 -0
- tencentcloud/lke/v20231130/lke_client.py +8 -29
- tencentcloud/lke/v20231130/models.py +561 -115
- tencentcloud/lkeap/v20240522/lkeap_client.py +33 -4
- tencentcloud/lkeap/v20240522/models.py +290 -18
- tencentcloud/lowcode/v20210108/errorcodes.py +3 -0
- tencentcloud/lowcode/v20210108/models.py +0 -2
- tencentcloud/mariadb/v20170312/models.py +155 -140
- tencentcloud/memcached/v20190318/models.py +2 -2
- tencentcloud/mmps/v20200710/models.py +0 -66
- tencentcloud/mna/v20210119/errorcodes.py +0 -36
- tencentcloud/mna/v20210119/mna_client.py +0 -75
- tencentcloud/mna/v20210119/models.py +0 -1002
- tencentcloud/mongodb/v20190725/models.py +115 -6
- tencentcloud/mongodb/v20190725/mongodb_client.py +23 -0
- tencentcloud/monitor/v20180724/errorcodes.py +3 -0
- tencentcloud/monitor/v20180724/models.py +1055 -74
- tencentcloud/monitor/v20180724/monitor_client.py +94 -2
- tencentcloud/mps/v20190612/errorcodes.py +36 -0
- tencentcloud/mps/v20190612/models.py +4866 -448
- tencentcloud/mps/v20190612/mps_client.py +208 -0
- tencentcloud/mqtt/v20240516/errorcodes.py +15 -0
- tencentcloud/mqtt/v20240516/models.py +705 -372
- tencentcloud/mqtt/v20240516/mqtt_client.py +4 -4
- tencentcloud/oceanus/v20190422/models.py +14 -2
- tencentcloud/ocr/v20181119/errorcodes.py +0 -12
- tencentcloud/ocr/v20181119/models.py +311 -1042
- tencentcloud/ocr/v20181119/ocr_client.py +5 -102
- tencentcloud/organization/v20210331/errorcodes.py +3 -0
- tencentcloud/organization/v20210331/models.py +45 -82
- tencentcloud/partners/v20180321/models.py +169 -0
- tencentcloud/partners/v20180321/partners_client.py +23 -0
- tencentcloud/postgres/v20170312/models.py +36 -328
- tencentcloud/postgres/v20170312/postgres_client.py +15 -5
- tencentcloud/privatedns/v20201028/models.py +36 -28
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/redis/v20180412/models.py +233 -18
- tencentcloud/redis/v20180412/redis_client.py +23 -0
- tencentcloud/rum/v20210622/models.py +0 -2
- tencentcloud/ses/v20201002/models.py +32 -4
- tencentcloud/smop/v20201203/smop_client.py +3 -1
- tencentcloud/soe/v20180724/models.py +4 -2
- tencentcloud/sqlserver/v20180328/models.py +75 -0
- tencentcloud/ssl/v20191205/models.py +7 -319
- tencentcloud/ssm/v20190923/models.py +45 -0
- tencentcloud/sts/v20180813/errorcodes.py +9 -0
- tencentcloud/sts/v20180813/models.py +171 -0
- tencentcloud/sts/v20180813/sts_client.py +23 -0
- tencentcloud/svp/v20240125/errorcodes.py +3 -0
- tencentcloud/svp/v20240125/models.py +506 -44
- tencentcloud/svp/v20240125/svp_client.py +23 -0
- tencentcloud/tan/v20220420/tan_client.py +3 -1
- tencentcloud/tat/v20201028/errorcodes.py +12 -0
- tencentcloud/tat/v20201028/models.py +138 -42
- tencentcloud/tbaas/v20180416/models.py +0 -58
- tencentcloud/tcb/v20180608/errorcodes.py +3 -0
- tencentcloud/tcb/v20180608/models.py +189 -582
- tencentcloud/tcb/v20180608/tcb_client.py +23 -23
- tencentcloud/tcbr/v20220217/models.py +45 -0
- tencentcloud/tchd/v20230306/models.py +166 -0
- tencentcloud/tchd/v20230306/tchd_client.py +24 -0
- tencentcloud/tcr/v20190924/models.py +44 -174
- tencentcloud/tcss/v20201101/models.py +1458 -2066
- tencentcloud/tcss/v20201101/tcss_client.py +92 -125
- tencentcloud/tdid/v20210519/models.py +0 -10
- tencentcloud/tdmq/v20200217/models.py +405 -575
- tencentcloud/tdmq/v20200217/tdmq_client.py +12 -54
- tencentcloud/tds/v20220801/models.py +441 -0
- tencentcloud/tds/v20220801/tds_client.py +23 -0
- tencentcloud/tem/v20210701/models.py +0 -498
- tencentcloud/teo/v20220106/teo_client.py +6 -2
- tencentcloud/teo/v20220901/errorcodes.py +9 -0
- tencentcloud/teo/v20220901/models.py +1828 -472
- tencentcloud/teo/v20220901/teo_client.py +54 -4
- tencentcloud/thpc/v20211109/models.py +0 -6
- tencentcloud/thpc/v20220401/models.py +0 -14
- tencentcloud/thpc/v20230321/models.py +64 -52
- tencentcloud/tione/v20211111/errorcodes.py +114 -0
- tencentcloud/tione/v20211111/models.py +2288 -160
- tencentcloud/tione/v20211111/tione_client.py +138 -0
- tencentcloud/tiw/v20190919/errorcodes.py +3 -24
- tencentcloud/tiw/v20190919/models.py +3657 -8172
- tencentcloud/tiw/v20190919/tiw_client.py +1 -580
- tencentcloud/tke/v20180525/models.py +705 -721
- tencentcloud/tke/v20180525/tke_client.py +23 -0
- tencentcloud/tke/v20220501/models.py +0 -34
- tencentcloud/trocket/v20230308/models.py +1630 -160
- tencentcloud/trocket/v20230308/trocket_client.py +238 -0
- tencentcloud/trro/v20220325/models.py +1132 -44
- tencentcloud/trro/v20220325/trro_client.py +142 -0
- tencentcloud/trtc/v20190722/models.py +94 -90
- tencentcloud/trtc/v20190722/trtc_client.py +4 -0
- tencentcloud/tse/v20201207/models.py +90 -1010
- tencentcloud/tsf/v20180326/errorcodes.py +6 -0
- tencentcloud/tsf/v20180326/models.py +350 -582
- tencentcloud/tsf/v20180326/tsf_client.py +26 -1
- tencentcloud/tts/v20190823/models.py +15 -15
- tencentcloud/tts/v20190823/tts_client.py +6 -5
- tencentcloud/vclm/v20240523/models.py +2 -2
- tencentcloud/vcube/v20220410/models.py +66 -158
- tencentcloud/vcube/v20220410/vcube_client.py +2 -2
- tencentcloud/vdb/v20230616/models.py +1487 -29
- tencentcloud/vdb/v20230616/vdb_client.py +185 -1
- tencentcloud/vm/v20210922/models.py +2 -2
- tencentcloud/vm/v20210922/vm_client.py +16 -8
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +106 -417
- tencentcloud/vod/v20180717/vod_client.py +2 -1
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1839 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/vpc/v20170312/errorcodes.py +12 -0
- tencentcloud/vpc/v20170312/models.py +2052 -519
- tencentcloud/vpc/v20170312/vpc_client.py +229 -11
- tencentcloud/vrs/v20200824/models.py +49 -0
- tencentcloud/waf/v20180125/errorcodes.py +9 -0
- tencentcloud/waf/v20180125/models.py +4191 -0
- tencentcloud/waf/v20180125/waf_client.py +276 -0
- tencentcloud/wedata/v20210820/models.py +5404 -394
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- tencentcloud/weilingwith/v20230427/models.py +0 -964
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/RECORD +284 -275
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1338.dist-info → tencentcloud_sdk_python-3.0.1372.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
@@ -26,13 +26,10 @@ class Conditions(AbstractModel):
|
|
26
26
|
def __init__(self):
|
27
27
|
r"""
|
28
28
|
:param _ConditionId: 警告条件ID
|
29
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
30
29
|
:type ConditionId: int
|
31
30
|
:param _Level: 警告级别,2:中风险,3:高风险
|
32
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
33
31
|
:type Level: int
|
34
32
|
:param _LevelDesc: 警告级别描述
|
35
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
36
33
|
:type LevelDesc: str
|
37
34
|
:param _Desc: 警告条件描述
|
38
35
|
:type Desc: str
|
@@ -45,7 +42,6 @@ class Conditions(AbstractModel):
|
|
45
42
|
@property
|
46
43
|
def ConditionId(self):
|
47
44
|
"""警告条件ID
|
48
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
49
45
|
:rtype: int
|
50
46
|
"""
|
51
47
|
return self._ConditionId
|
@@ -57,7 +53,6 @@ class Conditions(AbstractModel):
|
|
57
53
|
@property
|
58
54
|
def Level(self):
|
59
55
|
"""警告级别,2:中风险,3:高风险
|
60
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
61
56
|
:rtype: int
|
62
57
|
"""
|
63
58
|
return self._Level
|
@@ -69,7 +64,6 @@ class Conditions(AbstractModel):
|
|
69
64
|
@property
|
70
65
|
def LevelDesc(self):
|
71
66
|
"""警告级别描述
|
72
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
73
67
|
:rtype: str
|
74
68
|
"""
|
75
69
|
return self._LevelDesc
|
@@ -119,7 +113,6 @@ class DescribeStrategiesResponse(AbstractModel):
|
|
119
113
|
def __init__(self):
|
120
114
|
r"""
|
121
115
|
:param _Strategies: 评估项列表
|
122
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
123
116
|
:type Strategies: list of Strategies
|
124
117
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
125
118
|
:type RequestId: str
|
@@ -130,7 +123,6 @@ class DescribeStrategiesResponse(AbstractModel):
|
|
130
123
|
@property
|
131
124
|
def Strategies(self):
|
132
125
|
"""评估项列表
|
133
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
134
126
|
:rtype: list of Strategies
|
135
127
|
"""
|
136
128
|
return self._Strategies
|
@@ -532,31 +524,22 @@ class Strategies(AbstractModel):
|
|
532
524
|
def __init__(self):
|
533
525
|
r"""
|
534
526
|
:param _StrategyId: 评估项ID
|
535
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
536
527
|
:type StrategyId: int
|
537
528
|
:param _Name: 评估项名称
|
538
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
539
529
|
:type Name: str
|
540
530
|
:param _Desc: 评估项描述
|
541
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
542
531
|
:type Desc: str
|
543
532
|
:param _Product: 评估项对应产品ID
|
544
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
545
533
|
:type Product: str
|
546
534
|
:param _ProductDesc: 评估项对应产品名称
|
547
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
548
535
|
:type ProductDesc: str
|
549
536
|
:param _Repair: 评估项优化建议
|
550
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
551
537
|
:type Repair: str
|
552
538
|
:param _GroupId: 评估项类别ID
|
553
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
554
539
|
:type GroupId: int
|
555
540
|
:param _GroupName: 评估项类别名称
|
556
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
557
541
|
:type GroupName: str
|
558
542
|
:param _Conditions: 评估项风险列表
|
559
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
560
543
|
:type Conditions: list of Conditions
|
561
544
|
"""
|
562
545
|
self._StrategyId = None
|
@@ -572,7 +555,6 @@ class Strategies(AbstractModel):
|
|
572
555
|
@property
|
573
556
|
def StrategyId(self):
|
574
557
|
"""评估项ID
|
575
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
576
558
|
:rtype: int
|
577
559
|
"""
|
578
560
|
return self._StrategyId
|
@@ -584,7 +566,6 @@ class Strategies(AbstractModel):
|
|
584
566
|
@property
|
585
567
|
def Name(self):
|
586
568
|
"""评估项名称
|
587
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
588
569
|
:rtype: str
|
589
570
|
"""
|
590
571
|
return self._Name
|
@@ -596,7 +577,6 @@ class Strategies(AbstractModel):
|
|
596
577
|
@property
|
597
578
|
def Desc(self):
|
598
579
|
"""评估项描述
|
599
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
600
580
|
:rtype: str
|
601
581
|
"""
|
602
582
|
return self._Desc
|
@@ -608,7 +588,6 @@ class Strategies(AbstractModel):
|
|
608
588
|
@property
|
609
589
|
def Product(self):
|
610
590
|
"""评估项对应产品ID
|
611
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
612
591
|
:rtype: str
|
613
592
|
"""
|
614
593
|
return self._Product
|
@@ -620,7 +599,6 @@ class Strategies(AbstractModel):
|
|
620
599
|
@property
|
621
600
|
def ProductDesc(self):
|
622
601
|
"""评估项对应产品名称
|
623
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
624
602
|
:rtype: str
|
625
603
|
"""
|
626
604
|
return self._ProductDesc
|
@@ -632,7 +610,6 @@ class Strategies(AbstractModel):
|
|
632
610
|
@property
|
633
611
|
def Repair(self):
|
634
612
|
"""评估项优化建议
|
635
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
636
613
|
:rtype: str
|
637
614
|
"""
|
638
615
|
return self._Repair
|
@@ -644,7 +621,6 @@ class Strategies(AbstractModel):
|
|
644
621
|
@property
|
645
622
|
def GroupId(self):
|
646
623
|
"""评估项类别ID
|
647
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
648
624
|
:rtype: int
|
649
625
|
"""
|
650
626
|
return self._GroupId
|
@@ -656,7 +632,6 @@ class Strategies(AbstractModel):
|
|
656
632
|
@property
|
657
633
|
def GroupName(self):
|
658
634
|
"""评估项类别名称
|
659
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
660
635
|
:rtype: str
|
661
636
|
"""
|
662
637
|
return self._GroupName
|
@@ -668,7 +643,6 @@ class Strategies(AbstractModel):
|
|
668
643
|
@property
|
669
644
|
def Conditions(self):
|
670
645
|
"""评估项风险列表
|
671
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
672
646
|
:rtype: list of Conditions
|
673
647
|
"""
|
674
648
|
return self._Conditions
|
@@ -89,8 +89,19 @@ class AmsClient(AbstractClient):
|
|
89
89
|
|
90
90
|
### 功能使用说明:
|
91
91
|
- 前往“[内容安全控制台-音频内容安全](https://console.cloud.tencent.com/cms)”开启使用音频内容安全服务,首次开通可获得**10小时**免费调用时长,有效期为1个月。
|
92
|
-
|
93
|
-
|
92
|
+
|
93
|
+
### 审核并发限制说明:
|
94
|
+
|
95
|
+
- **点播音频(异步审核)**
|
96
|
+
- 默认并发路数:10
|
97
|
+
- 队列处理机制:
|
98
|
+
- 当并发任务达到上限时,新任务进入队列等待处理;
|
99
|
+
- 新送审任务优先处理,旧任务往后排;
|
100
|
+
- **直播音频(异步审核)**
|
101
|
+
- 默认并发路数:100
|
102
|
+
- 队列处理机制:
|
103
|
+
- 运行中的审核任务达到上限时,新请求会提示超频错误:`RequestLimitExceeded`,错误详细为:`You have reached the concurrency limit`;
|
104
|
+
- 不支持排队;
|
94
105
|
|
95
106
|
### 接口功能说明:
|
96
107
|
- 支持对音频流或音频文件进行检测,判断其中是否包含违规内容;
|
@@ -98,15 +109,15 @@ class AmsClient(AbstractClient):
|
|
98
109
|
- 支持识别违规内容,包括:低俗、谩骂、色情、广告等场景;
|
99
110
|
- 支持批量提交检测任务,检测任务列表**最多支持10个**。
|
100
111
|
|
101
|
-
###
|
112
|
+
### 音频文件流调用说明:
|
102
113
|
- 音频文件大小支持:**文件 < 500M**;
|
103
114
|
- 音频文件时长支持:**< 1小时**;
|
104
115
|
- 音频码率类型支持:128 Kbps - 256 Kbps ;
|
105
116
|
- 音频文件支持格式:wav、mp3、aac、flac、amr、3gp、 m4a、wma、ogg、ape;
|
106
117
|
- (**当输入为视频文件时**)支持分离视频文件音轨,并对音频内容进行独立审核。
|
107
118
|
|
108
|
-
###
|
109
|
-
-
|
119
|
+
### 直播音频流调用说明:
|
120
|
+
- 音频流时长支持:**24小时以内**,超过需要重新推送审核任务;
|
110
121
|
- 音频码率类型支持:128 Kbps - 256 Kbps ;
|
111
122
|
- 音频流支持的传输协议:RTMP、HTTP、HTTPS;
|
112
123
|
- 音频流格式支持的类型:rtp、srtp、rtmp、rtmps、mmsh、 mmst、hls、http、tcp、https、m3u8;
|
@@ -115,7 +126,7 @@ class AmsClient(AbstractClient):
|
|
115
126
|
### 直播断流处理说明:
|
116
127
|
- 请确认已对接[取消任务](https://cloud.tencent.com/document/product/1219/53258)。
|
117
128
|
- 如果直播任务取消/结束,则终止直播拉流并退出审核。
|
118
|
-
-
|
129
|
+
- 在直播任务未取消或结束的情况下,若推流中断(例如 `Operation not permitted` 错误),审核服务将在 10分钟内持续尝试重新拉流。检测到有效的图片或音频数据,审核将自动恢复正常;否则,10分钟后终止拉流并退出审核。此时如有需要,请重新提交审核请求。对于因网络问题导致的拉流失败(如 `HTTP 404 Not Found` 错误),系统将进行最多 16次重试。若成功获取有效数据,审核流程即刻恢复;若所有重试均失败,则同样终止拉流并退出审核,需用户重新送审。
|
119
130
|
|
120
131
|
:param request: Request instance for CreateAudioModerationTask.
|
121
132
|
:type request: :class:`tencentcloud.ams.v20201229.models.CreateAudioModerationTaskRequest`
|
@@ -1501,11 +1501,12 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1501
1501
|
r"""
|
1502
1502
|
:param _Tasks: 该字段表示输入的音频审核任务信息,具体输入内容请参见TaskInput数据结构的详细描述。<br> 备注:最多同时可创建**10个任务**。
|
1503
1503
|
:type Tasks: list of TaskInput
|
1504
|
-
:param _BizType:
|
1504
|
+
:param _BizType: 该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](https://console.cloud.tencent.com/cms/clouds/manage)中配置。
|
1505
|
+
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
1505
1506
|
:type BizType: str
|
1506
|
-
:param _Type:
|
1507
|
+
:param _Type: 该字段表示输入的音频审核类型,取值含:**AUDIO**(点播音频)、**LIVE_AUDIO**(直播音频)、**AUDIO_AIGC**(AI生成识别)三种,默认值为AUDIO。
|
1507
1508
|
:type Type: str
|
1508
|
-
:param _Seed:
|
1509
|
+
:param _Seed: 可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/104000#42dd87d2-580f-46cf-a953-639a787d1eda)。
|
1509
1510
|
:type Seed: str
|
1510
1511
|
:param _CallbackUrl: 接收审核信息回调地址。如果设置了该字段,在审核过程中发现违规音频片段结果将发送至该接口。更多详情请参阅[回调配置说明](https://cloud.tencent.com/document/product/1219/104000)。
|
1511
1512
|
:type CallbackUrl: str
|
@@ -1532,7 +1533,8 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1532
1533
|
|
1533
1534
|
@property
|
1534
1535
|
def BizType(self):
|
1535
|
-
"""
|
1536
|
+
"""该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](https://console.cloud.tencent.com/cms/clouds/manage)中配置。
|
1537
|
+
备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype。
|
1536
1538
|
:rtype: str
|
1537
1539
|
"""
|
1538
1540
|
return self._BizType
|
@@ -1543,7 +1545,7 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1543
1545
|
|
1544
1546
|
@property
|
1545
1547
|
def Type(self):
|
1546
|
-
"""
|
1548
|
+
"""该字段表示输入的音频审核类型,取值含:**AUDIO**(点播音频)、**LIVE_AUDIO**(直播音频)、**AUDIO_AIGC**(AI生成识别)三种,默认值为AUDIO。
|
1547
1549
|
:rtype: str
|
1548
1550
|
"""
|
1549
1551
|
return self._Type
|
@@ -1554,7 +1556,7 @@ class CreateAudioModerationTaskRequest(AbstractModel):
|
|
1554
1556
|
|
1555
1557
|
@property
|
1556
1558
|
def Seed(self):
|
1557
|
-
"""
|
1559
|
+
"""可选参数,该字段表示回调签名的key信息,用于保证数据的安全性。 签名方法为在返回的HTTP头部添加 X-Signature 的字段,值为: seed + body 的 SHA256 编码和Hex字符串,在收到回调数据后,可以根据返回的body,用 **sha256(seed + body)**, 计算出 `X-Signature` 进行验证。<br>具体使用实例可参考 [回调签名示例](https://cloud.tencent.com/document/product/1219/104000#42dd87d2-580f-46cf-a953-639a787d1eda)。
|
1558
1560
|
:rtype: str
|
1559
1561
|
"""
|
1560
1562
|
return self._Seed
|
@@ -1015,31 +1015,6 @@ class AntiddosClient(AbstractClient):
|
|
1015
1015
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1016
1016
|
|
1017
1017
|
|
1018
|
-
def DescribeBlackWhiteIpList(self, request):
|
1019
|
-
"""接口变更
|
1020
|
-
|
1021
|
-
获取DDoS防护的IP黑白名单
|
1022
|
-
|
1023
|
-
:param request: Request instance for DescribeBlackWhiteIpList.
|
1024
|
-
:type request: :class:`tencentcloud.antiddos.v20200309.models.DescribeBlackWhiteIpListRequest`
|
1025
|
-
:rtype: :class:`tencentcloud.antiddos.v20200309.models.DescribeBlackWhiteIpListResponse`
|
1026
|
-
|
1027
|
-
"""
|
1028
|
-
try:
|
1029
|
-
params = request._serialize()
|
1030
|
-
headers = request.headers
|
1031
|
-
body = self.call("DescribeBlackWhiteIpList", params, headers=headers)
|
1032
|
-
response = json.loads(body)
|
1033
|
-
model = models.DescribeBlackWhiteIpListResponse()
|
1034
|
-
model._deserialize(response["Response"])
|
1035
|
-
return model
|
1036
|
-
except Exception as e:
|
1037
|
-
if isinstance(e, TencentCloudSDKException):
|
1038
|
-
raise
|
1039
|
-
else:
|
1040
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1041
|
-
|
1042
|
-
|
1043
1018
|
def DescribeCCLevelList(self, request):
|
1044
1019
|
"""获取边界防护CC防护等级列表
|
1045
1020
|
|
@@ -1592,31 +1567,6 @@ class AntiddosClient(AbstractClient):
|
|
1592
1567
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1593
1568
|
|
1594
1569
|
|
1595
|
-
def DescribeListProtectThresholdConfig(self, request):
|
1596
|
-
"""接口变更
|
1597
|
-
|
1598
|
-
获取防护阈值配置列表,包括DDoS的AI、等级、CC阈值开关等
|
1599
|
-
|
1600
|
-
:param request: Request instance for DescribeListProtectThresholdConfig.
|
1601
|
-
:type request: :class:`tencentcloud.antiddos.v20200309.models.DescribeListProtectThresholdConfigRequest`
|
1602
|
-
:rtype: :class:`tencentcloud.antiddos.v20200309.models.DescribeListProtectThresholdConfigResponse`
|
1603
|
-
|
1604
|
-
"""
|
1605
|
-
try:
|
1606
|
-
params = request._serialize()
|
1607
|
-
headers = request.headers
|
1608
|
-
body = self.call("DescribeListProtectThresholdConfig", params, headers=headers)
|
1609
|
-
response = json.loads(body)
|
1610
|
-
model = models.DescribeListProtectThresholdConfigResponse()
|
1611
|
-
model._deserialize(response["Response"])
|
1612
|
-
return model
|
1613
|
-
except Exception as e:
|
1614
|
-
if isinstance(e, TencentCloudSDKException):
|
1615
|
-
raise
|
1616
|
-
else:
|
1617
|
-
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1618
|
-
|
1619
|
-
|
1620
1570
|
def DescribeListProtocolBlockConfig(self, request):
|
1621
1571
|
"""获取DDoS防护的协议封禁配置列表
|
1622
1572
|
|