tencentcloud-sdk-python 3.0.1202__py2.py3-none-any.whl → 3.0.1233__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.
Files changed (214) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/aiart/v20221229/aiart_client.py +24 -0
  3. tencentcloud/aiart/v20221229/models.py +214 -15
  4. tencentcloud/ams/v20201229/models.py +24 -0
  5. tencentcloud/antiddos/v20200309/models.py +13 -1
  6. tencentcloud/apm/v20210622/errorcodes.py +3 -0
  7. tencentcloud/apm/v20210622/models.py +25 -0
  8. tencentcloud/asr/v20190614/asr_client.py +103 -1
  9. tencentcloud/asr/v20190614/errorcodes.py +3 -0
  10. tencentcloud/asr/v20190614/models.py +620 -0
  11. tencentcloud/autoscaling/v20180419/errorcodes.py +6 -0
  12. tencentcloud/autoscaling/v20180419/models.py +67 -20
  13. tencentcloud/batch/v20170312/models.py +2 -2
  14. tencentcloud/bi/v20220105/models.py +25 -0
  15. tencentcloud/billing/v20180709/models.py +155 -0
  16. tencentcloud/cam/v20190116/cam_client.py +46 -0
  17. tencentcloud/cam/v20190116/errorcodes.py +6 -0
  18. tencentcloud/cam/v20190116/models.py +301 -0
  19. tencentcloud/cbs/v20170312/models.py +1 -1
  20. tencentcloud/ccc/v20200210/models.py +42 -12
  21. tencentcloud/cdb/v20170320/cdb_client.py +46 -0
  22. tencentcloud/cdb/v20170320/models.py +359 -11
  23. tencentcloud/cdwch/v20200915/models.py +1 -1
  24. tencentcloud/cdwdoris/v20211228/cdwdoris_client.py +618 -66
  25. tencentcloud/cdwdoris/v20211228/errorcodes.py +0 -3
  26. tencentcloud/cdwdoris/v20211228/models.py +8041 -3844
  27. tencentcloud/cfg/v20210820/models.py +195 -1
  28. tencentcloud/cfs/v20190719/cfs_client.py +2 -2
  29. tencentcloud/cfs/v20190719/errorcodes.py +9 -0
  30. tencentcloud/cfs/v20190719/models.py +55 -5
  31. tencentcloud/cfw/v20190904/cfw_client.py +46 -25
  32. tencentcloud/cfw/v20190904/models.py +1056 -249
  33. tencentcloud/ckafka/v20190819/ckafka_client.py +24 -1
  34. tencentcloud/ckafka/v20190819/models.py +175 -2
  35. tencentcloud/clb/v20180317/models.py +147 -3
  36. tencentcloud/cls/v20201016/cls_client.py +92 -0
  37. tencentcloud/cls/v20201016/models.py +764 -16
  38. tencentcloud/controlcenter/__init__.py +0 -0
  39. tencentcloud/controlcenter/v20230110/__init__.py +0 -0
  40. tencentcloud/controlcenter/v20230110/controlcenter_client.py +49 -0
  41. tencentcloud/controlcenter/v20230110/errorcodes.py +45 -0
  42. tencentcloud/controlcenter/v20230110/models.py +140 -0
  43. tencentcloud/csip/v20221121/models.py +409 -0
  44. tencentcloud/cvm/v20170312/cvm_client.py +24 -1
  45. tencentcloud/cvm/v20170312/errorcodes.py +24 -0
  46. tencentcloud/cvm/v20170312/models.py +185 -10
  47. tencentcloud/cwp/v20180228/cwp_client.py +29 -2
  48. tencentcloud/cwp/v20180228/models.py +314 -13
  49. tencentcloud/cynosdb/v20190107/cynosdb_client.py +115 -0
  50. tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
  51. tencentcloud/cynosdb/v20190107/models.py +862 -52
  52. tencentcloud/dasb/v20191018/dasb_client.py +23 -0
  53. tencentcloud/dasb/v20191018/errorcodes.py +3 -0
  54. tencentcloud/dasb/v20191018/models.py +277 -0
  55. tencentcloud/dbbrain/v20210527/models.py +212 -2
  56. tencentcloud/dc/v20180410/dc_client.py +7 -8
  57. tencentcloud/dc/v20180410/models.py +84 -25
  58. tencentcloud/dcdb/v20180411/dcdb_client.py +71 -0
  59. tencentcloud/dcdb/v20180411/models.py +636 -0
  60. tencentcloud/dlc/v20210125/dlc_client.py +47 -1
  61. tencentcloud/dlc/v20210125/errorcodes.py +3 -0
  62. tencentcloud/dlc/v20210125/models.py +661 -6
  63. tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
  64. tencentcloud/dnspod/v20210323/errorcodes.py +3 -0
  65. tencentcloud/dnspod/v20210323/models.py +185 -0
  66. tencentcloud/dsgc/v20190723/models.py +193 -15
  67. tencentcloud/dts/v20211206/errorcodes.py +3 -0
  68. tencentcloud/ecc/v20181213/ecc_client.py +1 -2
  69. tencentcloud/emr/v20190103/emr_client.py +331 -4
  70. tencentcloud/emr/v20190103/errorcodes.py +12 -0
  71. tencentcloud/emr/v20190103/models.py +6832 -3365
  72. tencentcloud/es/v20180416/es_client.py +47 -0
  73. tencentcloud/es/v20180416/models.py +547 -1
  74. tencentcloud/ess/v20201111/errorcodes.py +6 -0
  75. tencentcloud/ess/v20201111/ess_client.py +142 -24
  76. tencentcloud/ess/v20201111/models.py +763 -103
  77. tencentcloud/essbasic/v20210526/essbasic_client.py +77 -3
  78. tencentcloud/essbasic/v20210526/models.py +413 -24
  79. tencentcloud/facefusion/v20181201/models.py +9 -3
  80. tencentcloud/facefusion/v20220927/errorcodes.py +13 -67
  81. tencentcloud/facefusion/v20220927/models.py +41 -13
  82. tencentcloud/faceid/v20180301/faceid_client.py +1 -1
  83. tencentcloud/faceid/v20180301/models.py +66 -0
  84. tencentcloud/gme/v20180711/models.py +2 -2
  85. tencentcloud/goosefs/v20220519/models.py +61 -0
  86. tencentcloud/hunyuan/v20230901/errorcodes.py +39 -0
  87. tencentcloud/hunyuan/v20230901/hunyuan_client.py +99 -1
  88. tencentcloud/hunyuan/v20230901/models.py +661 -13
  89. tencentcloud/ims/v20201229/ims_client.py +3 -3
  90. tencentcloud/ims/v20201229/models.py +1 -1
  91. tencentcloud/ioa/v20220601/models.py +6 -5
  92. tencentcloud/iotexplorer/v20190423/errorcodes.py +15 -0
  93. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +46 -0
  94. tencentcloud/iotexplorer/v20190423/models.py +357 -2
  95. tencentcloud/irp/v20220805/models.py +13 -1
  96. tencentcloud/iss/v20230517/errorcodes.py +15 -0
  97. tencentcloud/iss/v20230517/iss_client.py +23 -0
  98. tencentcloud/iss/v20230517/models.py +233 -0
  99. tencentcloud/lcic/v20220817/lcic_client.py +23 -0
  100. tencentcloud/lcic/v20220817/models.py +285 -0
  101. tencentcloud/lighthouse/v20200324/errorcodes.py +6 -0
  102. tencentcloud/lighthouse/v20200324/models.py +28 -0
  103. tencentcloud/live/v20180801/models.py +2 -10
  104. tencentcloud/lke/v20231130/errorcodes.py +1 -1
  105. tencentcloud/lke/v20231130/lke_client.py +1 -1
  106. tencentcloud/lke/v20231130/models.py +366 -6
  107. tencentcloud/mariadb/v20170312/errorcodes.py +6 -0
  108. tencentcloud/mariadb/v20170312/mariadb_client.py +71 -0
  109. tencentcloud/mariadb/v20170312/models.py +601 -1
  110. tencentcloud/mna/v20210119/errorcodes.py +6 -0
  111. tencentcloud/mna/v20210119/mna_client.py +23 -0
  112. tencentcloud/mna/v20210119/models.py +146 -0
  113. tencentcloud/mongodb/v20180408/errorcodes.py +1 -1
  114. tencentcloud/mongodb/v20190725/errorcodes.py +1 -1
  115. tencentcloud/mongodb/v20190725/models.py +72 -45
  116. tencentcloud/monitor/v20180724/models.py +18 -4
  117. tencentcloud/mps/v20190612/models.py +658 -21
  118. tencentcloud/oceanus/v20190422/models.py +25 -0
  119. tencentcloud/ocr/v20181119/errorcodes.py +6 -0
  120. tencentcloud/ocr/v20181119/models.py +345 -10
  121. tencentcloud/ocr/v20181119/ocr_client.py +54 -2
  122. tencentcloud/omics/v20221128/models.py +15 -3
  123. tencentcloud/organization/v20210331/errorcodes.py +246 -0
  124. tencentcloud/organization/v20210331/models.py +12635 -4016
  125. tencentcloud/organization/v20210331/organization_client.py +1342 -123
  126. tencentcloud/postgres/v20170312/errorcodes.py +15 -0
  127. tencentcloud/pts/v20210728/errorcodes.py +3 -0
  128. tencentcloud/pts/v20210728/models.py +1 -1
  129. tencentcloud/rce/v20201103/models.py +2905 -435
  130. tencentcloud/rce/v20201103/rce_client.py +207 -0
  131. tencentcloud/redis/v20180412/models.py +944 -67
  132. tencentcloud/redis/v20180412/redis_client.py +93 -1
  133. tencentcloud/region/v20220627/models.py +0 -1
  134. tencentcloud/rum/v20210622/models.py +12 -0
  135. tencentcloud/scf/v20180416/models.py +51 -15
  136. tencentcloud/ses/v20201002/models.py +177 -0
  137. tencentcloud/smh/v20210712/errorcodes.py +69 -0
  138. tencentcloud/smh/v20210712/models.py +1173 -36
  139. tencentcloud/smh/v20210712/smh_client.py +115 -0
  140. tencentcloud/sms/v20190711/errorcodes.py +6 -0
  141. tencentcloud/sms/v20190711/models.py +21 -22
  142. tencentcloud/sms/v20190711/sms_client.py +28 -60
  143. tencentcloud/sms/v20210111/errorcodes.py +6 -0
  144. tencentcloud/sms/v20210111/models.py +6 -6
  145. tencentcloud/sqlserver/v20180328/errorcodes.py +3 -0
  146. tencentcloud/sqlserver/v20180328/models.py +243 -1
  147. tencentcloud/sqlserver/v20180328/sqlserver_client.py +46 -0
  148. tencentcloud/ssl/v20191205/errorcodes.py +6 -0
  149. tencentcloud/ssl/v20191205/models.py +245 -0
  150. tencentcloud/ssl/v20191205/ssl_client.py +24 -1
  151. tencentcloud/tag/v20180813/models.py +33 -33
  152. tencentcloud/tat/v20201028/errorcodes.py +9 -0
  153. tencentcloud/tat/v20201028/models.py +234 -1
  154. tencentcloud/tat/v20201028/tat_client.py +23 -0
  155. tencentcloud/tcb/v20180608/models.py +13 -0
  156. tencentcloud/tcbr/v20220217/models.py +15 -0
  157. tencentcloud/tcr/v20190924/errorcodes.py +3 -0
  158. tencentcloud/tcss/v20201101/models.py +140 -5
  159. tencentcloud/tdmq/v20200217/models.py +155 -0
  160. tencentcloud/tds/v20220801/models.py +117 -0
  161. tencentcloud/teo/v20220901/errorcodes.py +12 -0
  162. tencentcloud/teo/v20220901/models.py +35 -16
  163. tencentcloud/thpc/v20230321/models.py +1432 -82
  164. tencentcloud/thpc/v20230321/thpc_client.py +92 -0
  165. tencentcloud/tiia/v20190529/models.py +0 -469
  166. tencentcloud/tiia/v20190529/tiia_client.py +0 -29
  167. tencentcloud/tke/v20180525/errorcodes.py +3 -0
  168. tencentcloud/tke/v20180525/models.py +24 -0
  169. tencentcloud/tke/v20220501/models.py +852 -8
  170. tencentcloud/tke/v20220501/tke_client.py +138 -0
  171. tencentcloud/tms/v20201229/errorcodes.py +0 -6
  172. tencentcloud/tms/v20201229/models.py +0 -70
  173. tencentcloud/tms/v20201229/tms_client.py +0 -23
  174. tencentcloud/tmt/v20180321/errorcodes.py +3 -0
  175. tencentcloud/tmt/v20180321/models.py +32 -32
  176. tencentcloud/tmt/v20180321/tmt_client.py +1 -1
  177. tencentcloud/trocket/v20230308/models.py +241 -7
  178. tencentcloud/trocket/v20230308/trocket_client.py +23 -0
  179. tencentcloud/trtc/v20190722/errorcodes.py +3 -0
  180. tencentcloud/trtc/v20190722/models.py +374 -55
  181. tencentcloud/trtc/v20190722/trtc_client.py +51 -39
  182. tencentcloud/tse/v20201207/models.py +127 -25
  183. tencentcloud/tsf/v20180326/models.py +51 -0
  184. tencentcloud/tsi/v20210325/models.py +24 -4
  185. tencentcloud/tsi/v20210325/tsi_client.py +12 -1
  186. tencentcloud/tts/v20190823/models.py +4 -3
  187. tencentcloud/vclm/v20240523/errorcodes.py +60 -0
  188. tencentcloud/vclm/v20240523/models.py +41 -4
  189. tencentcloud/vclm/v20240523/vclm_client.py +53 -1
  190. tencentcloud/vdb/v20230616/errorcodes.py +21 -0
  191. tencentcloud/vdb/v20230616/models.py +805 -0
  192. tencentcloud/vdb/v20230616/vdb_client.py +115 -0
  193. tencentcloud/vod/v20180717/errorcodes.py +18 -0
  194. tencentcloud/vod/v20180717/models.py +671 -12
  195. tencentcloud/vod/v20180717/vod_client.py +71 -2
  196. tencentcloud/vod/v20240718/__init__.py +0 -0
  197. tencentcloud/vod/v20240718/errorcodes.py +15 -0
  198. tencentcloud/vod/v20240718/models.py +189 -0
  199. tencentcloud/vod/v20240718/vod_client.py +49 -0
  200. tencentcloud/vpc/v20170312/models.py +538 -10
  201. tencentcloud/vpc/v20170312/vpc_client.py +4 -2
  202. tencentcloud/vrs/v20200824/models.py +166 -8
  203. tencentcloud/vrs/v20200824/vrs_client.py +2 -0
  204. tencentcloud/vtc/v20240223/models.py +30 -4
  205. tencentcloud/vtc/v20240223/vtc_client.py +53 -1
  206. tencentcloud/waf/v20180125/models.py +1 -1
  207. tencentcloud/wedata/v20210820/errorcodes.py +6 -0
  208. tencentcloud/wedata/v20210820/models.py +3941 -493
  209. tencentcloud/wedata/v20210820/wedata_client.py +184 -0
  210. {tencentcloud_sdk_python-3.0.1202.dist-info → tencentcloud_sdk_python-3.0.1233.dist-info}/METADATA +1 -1
  211. {tencentcloud_sdk_python-3.0.1202.dist-info → tencentcloud_sdk_python-3.0.1233.dist-info}/RECORD +214 -205
  212. {tencentcloud_sdk_python-3.0.1202.dist-info → tencentcloud_sdk_python-3.0.1233.dist-info}/LICENSE +0 -0
  213. {tencentcloud_sdk_python-3.0.1202.dist-info → tencentcloud_sdk_python-3.0.1233.dist-info}/WHEEL +0 -0
  214. {tencentcloud_sdk_python-3.0.1202.dist-info → tencentcloud_sdk_python-3.0.1233.dist-info}/top_level.txt +0 -0
@@ -34,7 +34,7 @@ class ImsClient(AbstractClient):
34
34
 
35
35
  ### 接口功能说明:
36
36
  - 支持对图片文件或链接进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规图片内容;
37
- - 支持对GIF图/长图进行截帧或拆分检测;
37
+ - 支持对长图进行拆分检测;
38
38
  - 支持识别多种违规场景,包括:低俗、违法违规、色情、广告等场景;
39
39
  - 支持多种物体检测(实体、广告台标、二维码等)及图片中文本的OCR文本识别;
40
40
  - 支持根据不同的业务场景配置自定义的审核策略;
@@ -46,7 +46,7 @@ class ImsClient(AbstractClient):
46
46
  - 图片文件分辨率支持:建议**分辨率大于256x256**,否则可能会影响识别效果;
47
47
  - 图片文件支持格式:PNG、JPG、JPEG、BMP、GIF、WEBP格式;
48
48
  - 图片文件链接支持的传输协议:HTTP、HTTPS;
49
- - 若传入图片文件的访问链接,则需要注意**图片下载时间限制为3秒**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;
49
+ - 若传入图片文件的访问链接,则需要注意**图片异步接口下载超时时间为15秒,失败后重试1次为3 秒,共18秒下载时间**,为保障被检测图片的稳定性和可靠性,建议您使用腾讯云COS存储或者CDN缓存等;
50
50
  - 默认接口请求频率限制:**20次/秒**,超过此调用频率则会报错。
51
51
  - ### 接口回调格式:
52
52
  - 图片异步检测接口回调格式同[图片同步检测接口输出参数](https://cloud.tencent.com/document/product/1125/53273#3.-.E8.BE.93.E5.87.BA.E5.8F.82.E6.95.B0)
@@ -79,7 +79,7 @@ class ImsClient(AbstractClient):
79
79
 
80
80
  ### 接口功能说明:
81
81
  - 支持对图片文件或链接进行检测,通过深度学习技术,识别可能令人反感、不安全或不适宜的违规图片内容;
82
- - 支持对GIF图/长图进行截帧或拆分检测;
82
+ - 支持对长图进行拆分检测;
83
83
  - 支持识别多种违规场景,包括:低俗、违法违规、色情、广告等场景;
84
84
  - 支持多种物体检测(实体、广告台标、二维码等)及图片中文本的OCR文本识别;
85
85
  - 支持根据不同的业务场景配置自定义的审核策略;
@@ -319,7 +319,7 @@ class ImageModerationRequest(AbstractModel):
319
319
  :type DataId: str
320
320
  :param _FileContent: 该字段表示待检测图片文件内容的Base64编码,图片**大小不超过5MB**,建议**分辨率不低于256x256**,否则可能会影响识别效果。<br>备注: **该字段与FileUrl必须选择输入其中一个**。
321
321
  :type FileContent: str
322
- :param _FileUrl: 该字段表示待检测图片文件的访问链接。图片支持PNG、JPG、JPEG、BMP、GIF、WEBP格式,且**大小不得超过5MB**,建议**分辨率不低于256x256**。**图片下载时间限制为3秒,超时将进行一次重试,若再次失败,则会返回下载超时**。由于网络安全策略,**送审带重定向的链接**可能引起下载失败,请尽量避免使用返回302或其他非200状态码的HTTP链接,会导致接口返回 ResourceUnavailable.ImageDownloadError 错误。<br>备注:该字段与FileContent必须选择输入其中一个。
322
+ :param _FileUrl: 该字段表示待检测图片文件的访问链接。图片支持PNG、JPG、JPEG、BMP、GIF、WEBP格式,且**大小不得超过30MB**,建议**分辨率不低于256x256**。**图片下载时间限制为3秒,超时将进行一次重试,若再次失败,则会返回下载超时**。由于网络安全策略,**送审带重定向的链接**可能引起下载失败,请尽量避免使用返回302或其他非200状态码的HTTP链接,会导致接口返回 ResourceUnavailable.ImageDownloadError 错误。<br>备注:该字段与FileContent必须选择输入其中一个。
323
323
  :type FileUrl: str
324
324
  :param _Interval: **GIF检测专用**,用于表示GIF截帧频率(每隔多少张图片抽取一帧进行检测);默认值为0,此时只会检测GIF的第一帧或不进行切分处理。<br>备注:Interval与MaxFrames参数需要组合使用。例如,Interval=3, MaxFrames=400,则代表在检测GIF时,将每间隔2帧检测一次且最多检测400帧。
325
325
  :type Interval: int
@@ -628,7 +628,8 @@ class DescribeDevicesRequest(AbstractModel):
628
628
  <li>PageNum 从1开始,小于等于0时使用默认参数。</li>
629
629
  <li>PageSize 最大值5000,最好不超过100。</li>
630
630
  :type Condition: :class:`tencentcloud.ioa.v20220601.models.Condition`
631
- :param _GroupId: 私有化默认分组id-名称-操作系统
631
+ :param _GroupId: 【和GroupIds必须有一个填写】设备分组id(需要和OsType匹配)
632
+ id-名称-操作系统
632
633
  1 全网终端 Win
633
634
  2 未分组终端 Win
634
635
  30000000 服务器 Win
@@ -643,17 +644,17 @@ class DescribeDevicesRequest(AbstractModel):
643
644
  40000501 全网终端 iOS
644
645
  40000502 未分组终端 iOS
645
646
  :type GroupId: int
646
- :param _OsType: 系统类型(0: win,1:linux,2: mac,3: win_srv,4:android,5:ios 默认值0
647
+ :param _OsType: 【必填】操作系统类型(0: win,1:linux,2: mac,3: win_srv,4:android,5:ios 默认值0),需要和GroupId或者GroupIds匹配
647
648
  :type OsType: int
648
- :param _OnlineStatus: 在线状态 2 在线 01 离线
649
+ :param _OnlineStatus: 在线状态 2表示在线,0或者1表示离线)
649
650
  :type OnlineStatus: int
650
651
  :param _Filters: 过滤条件--兼容旧接口,参数同Condition
651
652
  :type Filters: list of Filter
652
653
  :param _Sort: 排序字段--兼容旧接口,参数同Condition
653
654
  :type Sort: :class:`tencentcloud.ioa.v20220601.models.Sort`
654
- :param _PageNum: 获取第几页--兼容旧接口,参数同Condition(只支持32位)
655
+ :param _PageNum: 获取第几页--兼容旧接口,参数同Condition
655
656
  :type PageNum: int
656
- :param _PageSize: 每页获取数--兼容旧接口,参数同Condition(只支持32位)
657
+ :param _PageSize: 每页获取数--兼容旧接口,参数同Condition
657
658
  :type PageSize: int
658
659
  :param _Status: 授权状态 4未授权 5已授权
659
660
  :type Status: int
@@ -26,9 +26,15 @@ FAILEDOPERATION_ACTIONUNREACHABLE = 'FailedOperation.ActionUnreachable'
26
26
  # 广播任务正在执行。
27
27
  FAILEDOPERATION_BROADCASTTASKISRUNNING = 'FailedOperation.BroadcastTaskIsRunning'
28
28
 
29
+ # 云存 AI 套餐生效时长不能超过当前云存套餐生效时长
30
+ FAILEDOPERATION_CLOUDSTORAGEAIPACKAGEEXPIRETIMEEXCEEDED = 'FailedOperation.CloudStorageAIPackageExpireTimeExceeded'
31
+
29
32
  # 产品未开通视频AI分析服务
30
33
  FAILEDOPERATION_CLOUDSTORAGEAISERVICENOTENABLED = 'FailedOperation.CloudStorageAIServiceNotEnabled'
31
34
 
35
+ # 需先开通云存套餐
36
+ FAILEDOPERATION_CLOUDSTORAGEPACKAGEREQUIRED = 'FailedOperation.CloudStoragePackageRequired'
37
+
32
38
  # 设备已经被禁用。
33
39
  FAILEDOPERATION_DEVICEALREADYDISABLED = 'FailedOperation.DeviceAlreadyDisabled'
34
40
 
@@ -140,6 +146,9 @@ INVALIDPARAMETERVALUE_APPNOTEXISTS = 'InvalidParameterValue.AppNotExists'
140
146
  # 检查第三方URL超时或失败。
141
147
  INVALIDPARAMETERVALUE_CHECKFORWARDURLFAIL = 'InvalidParameterValue.CheckForwardURLFail'
142
148
 
149
+ # 指定的云存 AI 套餐不存在
150
+ INVALIDPARAMETERVALUE_CLOUDSTORAGEAIPACKAGEIDNOTEXIST = 'InvalidParameterValue.CloudStorageAIPackageIdNotExist'
151
+
143
152
  # 创建的设备名已存在。
144
153
  INVALIDPARAMETERVALUE_DEVICEALREADYEXIST = 'InvalidParameterValue.DeviceAlreadyExist'
145
154
 
@@ -494,6 +503,12 @@ UNSUPPORTEDOPERATION_BINDSEXISTUNDERFENCE = 'UnsupportedOperation.BindsExistUnde
494
503
  # 存在重复的绑定关系。
495
504
  UNSUPPORTEDOPERATION_CANNOTREBINDFAMILY = 'UnsupportedOperation.CannotReBindFamily'
496
505
 
506
+ # 云存套餐与云存 AI 套餐时长不匹配
507
+ UNSUPPORTEDOPERATION_CLOUDSTORAGEPACKAGETIMEMISMATCH = 'UnsupportedOperation.CloudStoragePackageTimeMismatch'
508
+
509
+ # 云存套餐与云存 AI 套餐类型不匹配
510
+ UNSUPPORTEDOPERATION_CLOUDSTORAGEPACKAGETYPEMISMATCH = 'UnsupportedOperation.CloudStoragePackageTypeMismatch'
511
+
497
512
  # 创建的设备已经存在。
498
513
  UNSUPPORTEDOPERATION_DEVICEDUPKEYEXIST = 'UnsupportedOperation.DeviceDupKeyExist'
499
514
 
@@ -279,6 +279,29 @@ class IotexplorerClient(AbstractClient):
279
279
  raise TencentCloudSDKException(type(e).__name__, str(e))
280
280
 
281
281
 
282
+ def CreateCloudStorageAIService(self, request):
283
+ """开通设备云存AI分析服务
284
+
285
+ :param request: Request instance for CreateCloudStorageAIService.
286
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceRequest`
287
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.CreateCloudStorageAIServiceResponse`
288
+
289
+ """
290
+ try:
291
+ params = request._serialize()
292
+ headers = request.headers
293
+ body = self.call("CreateCloudStorageAIService", params, headers=headers)
294
+ response = json.loads(body)
295
+ model = models.CreateCloudStorageAIServiceResponse()
296
+ model._deserialize(response["Response"])
297
+ return model
298
+ except Exception as e:
299
+ if isinstance(e, TencentCloudSDKException):
300
+ raise
301
+ else:
302
+ raise TencentCloudSDKException(type(e).__name__, str(e))
303
+
304
+
282
305
  def CreateDevice(self, request):
283
306
  """创建设备
284
307
 
@@ -3016,6 +3039,29 @@ class IotexplorerClient(AbstractClient):
3016
3039
  raise TencentCloudSDKException(type(e).__name__, str(e))
3017
3040
 
3018
3041
 
3042
+ def ResetCloudStorageAIService(self, request):
3043
+ """重置指定设备的云存 AI 服务
3044
+
3045
+ :param request: Request instance for ResetCloudStorageAIService.
3046
+ :type request: :class:`tencentcloud.iotexplorer.v20190423.models.ResetCloudStorageAIServiceRequest`
3047
+ :rtype: :class:`tencentcloud.iotexplorer.v20190423.models.ResetCloudStorageAIServiceResponse`
3048
+
3049
+ """
3050
+ try:
3051
+ params = request._serialize()
3052
+ headers = request.headers
3053
+ body = self.call("ResetCloudStorageAIService", params, headers=headers)
3054
+ response = json.loads(body)
3055
+ model = models.ResetCloudStorageAIServiceResponse()
3056
+ model._deserialize(response["Response"])
3057
+ return model
3058
+ except Exception as e:
3059
+ if isinstance(e, TencentCloudSDKException):
3060
+ raise
3061
+ else:
3062
+ raise TencentCloudSDKException(type(e).__name__, str(e))
3063
+
3064
+
3019
3065
  def ResetCloudStorageEvent(self, request):
3020
3066
  """重置云存事件
3021
3067
 
@@ -90,10 +90,18 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
90
90
  :param _DeviceList: 设备激活返回数据
91
91
  注意:此字段可能返回 null,表示取不到有效值。
92
92
  :type DeviceList: list of DeviceActiveResult
93
+ :param _FailureList: 设备激活失败返回数据
94
+ 注意:此字段可能返回 null,表示取不到有效值。
95
+ :type FailureList: list of DeviceActiveResult
96
+ :param _SuccessList: 设备激活成功返回数据
97
+ 注意:此字段可能返回 null,表示取不到有效值。
98
+ :type SuccessList: list of DeviceActiveResult
93
99
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
94
100
  :type RequestId: str
95
101
  """
96
102
  self._DeviceList = None
103
+ self._FailureList = None
104
+ self._SuccessList = None
97
105
  self._RequestId = None
98
106
 
99
107
  @property
@@ -104,6 +112,22 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
104
112
  def DeviceList(self, DeviceList):
105
113
  self._DeviceList = DeviceList
106
114
 
115
+ @property
116
+ def FailureList(self):
117
+ return self._FailureList
118
+
119
+ @FailureList.setter
120
+ def FailureList(self, FailureList):
121
+ self._FailureList = FailureList
122
+
123
+ @property
124
+ def SuccessList(self):
125
+ return self._SuccessList
126
+
127
+ @SuccessList.setter
128
+ def SuccessList(self, SuccessList):
129
+ self._SuccessList = SuccessList
130
+
107
131
  @property
108
132
  def RequestId(self):
109
133
  return self._RequestId
@@ -120,6 +144,18 @@ class ActivateTWeCallLicenseResponse(AbstractModel):
120
144
  obj = DeviceActiveResult()
121
145
  obj._deserialize(item)
122
146
  self._DeviceList.append(obj)
147
+ if params.get("FailureList") is not None:
148
+ self._FailureList = []
149
+ for item in params.get("FailureList"):
150
+ obj = DeviceActiveResult()
151
+ obj._deserialize(item)
152
+ self._FailureList.append(obj)
153
+ if params.get("SuccessList") is not None:
154
+ self._SuccessList = []
155
+ for item in params.get("SuccessList"):
156
+ obj = DeviceActiveResult()
157
+ obj._deserialize(item)
158
+ self._SuccessList.append(obj)
123
159
  self._RequestId = params.get("RequestId")
124
160
 
125
161
 
@@ -275,7 +311,7 @@ class AssignTWeCallLicenseRequest(AbstractModel):
275
311
  :type PkgType: int
276
312
  :param _MiniProgramAppId: appId
277
313
  :type MiniProgramAppId: str
278
- :param _DeductNum: License
314
+ :param _DeductNum: License数,只支持50,500,1000,5000,10000,20000,50000
279
315
  :type DeductNum: int
280
316
  """
281
317
  self._PkgType = None
@@ -1420,7 +1456,7 @@ class CloudStorageAIServiceTask(AbstractModel):
1420
1456
  :type ChannelId: int
1421
1457
  :param _ServiceType: 云存 AI 服务类型。可能取值:
1422
1458
 
1423
- - `PackageDetect`:包裹检测
1459
+ - `RealtimeObjectDetect`:目标检测
1424
1460
  - `Highlight`:视频浓缩
1425
1461
  :type ServiceType: str
1426
1462
  :param _StartTime: 对应云存视频的起始时间
@@ -1437,6 +1473,8 @@ class CloudStorageAIServiceTask(AbstractModel):
1437
1473
  :type CreateTime: int
1438
1474
  :param _UpdateTime: 最后更新时间
1439
1475
  :type UpdateTime: int
1476
+ :param _CustomId: 自定义任务 ID
1477
+ :type CustomId: str
1440
1478
  """
1441
1479
  self._TaskId = None
1442
1480
  self._ProductId = None
@@ -1450,6 +1488,7 @@ class CloudStorageAIServiceTask(AbstractModel):
1450
1488
  self._Files = None
1451
1489
  self._CreateTime = None
1452
1490
  self._UpdateTime = None
1491
+ self._CustomId = None
1453
1492
 
1454
1493
  @property
1455
1494
  def TaskId(self):
@@ -1547,6 +1586,14 @@ class CloudStorageAIServiceTask(AbstractModel):
1547
1586
  def UpdateTime(self, UpdateTime):
1548
1587
  self._UpdateTime = UpdateTime
1549
1588
 
1589
+ @property
1590
+ def CustomId(self):
1591
+ return self._CustomId
1592
+
1593
+ @CustomId.setter
1594
+ def CustomId(self, CustomId):
1595
+ self._CustomId = CustomId
1596
+
1550
1597
 
1551
1598
  def _deserialize(self, params):
1552
1599
  self._TaskId = params.get("TaskId")
@@ -1561,6 +1608,7 @@ class CloudStorageAIServiceTask(AbstractModel):
1561
1608
  self._Files = params.get("Files")
1562
1609
  self._CreateTime = params.get("CreateTime")
1563
1610
  self._UpdateTime = params.get("UpdateTime")
1611
+ self._CustomId = params.get("CustomId")
1564
1612
  memeber_set = set(params.keys())
1565
1613
  for name, value in vars(self).items():
1566
1614
  property_name = name[1:]
@@ -2106,6 +2154,137 @@ class CreateBatchProductionResponse(AbstractModel):
2106
2154
  self._RequestId = params.get("RequestId")
2107
2155
 
2108
2156
 
2157
+ class CreateCloudStorageAIServiceRequest(AbstractModel):
2158
+ """CreateCloudStorageAIService请求参数结构体
2159
+
2160
+ """
2161
+
2162
+ def __init__(self):
2163
+ r"""
2164
+ :param _ProductId: 产品 ID
2165
+ :type ProductId: str
2166
+ :param _DeviceName: 设备名称
2167
+ :type DeviceName: str
2168
+ :param _PackageId: 云存 AI 套餐 ID。可选值:
2169
+
2170
+ - `1m_low_od`:低功耗目标检测月套餐
2171
+ - `1y_low_od`:低功耗目标检测年套餐
2172
+ - `1m_ev_od`:事件目标检测月套餐
2173
+ - `1y_ev_od`:事件目标检测年套餐
2174
+ - `1m_ft_od`:全时目标检测月套餐
2175
+ - `1y_ft_od`:全时目标检测年套餐
2176
+ - `1m_low_hl`:低功耗视频浓缩月套餐
2177
+ - `1y_low_hl`:低功耗视频浓缩年套餐
2178
+ - `1m_ev_hl`:事件视频浓缩月套餐
2179
+ - `1y_ev_hl`:事件视频浓缩年套餐
2180
+ - `1m_ft_hl`:全时视频浓缩月套餐
2181
+ - `1y_ft_hl`:全时视频浓缩年套餐
2182
+ :type PackageId: str
2183
+ :param _ChannelId: 通道 ID
2184
+ :type ChannelId: int
2185
+ :param _OrderId: 订单 ID
2186
+ :type OrderId: str
2187
+ """
2188
+ self._ProductId = None
2189
+ self._DeviceName = None
2190
+ self._PackageId = None
2191
+ self._ChannelId = None
2192
+ self._OrderId = None
2193
+
2194
+ @property
2195
+ def ProductId(self):
2196
+ return self._ProductId
2197
+
2198
+ @ProductId.setter
2199
+ def ProductId(self, ProductId):
2200
+ self._ProductId = ProductId
2201
+
2202
+ @property
2203
+ def DeviceName(self):
2204
+ return self._DeviceName
2205
+
2206
+ @DeviceName.setter
2207
+ def DeviceName(self, DeviceName):
2208
+ self._DeviceName = DeviceName
2209
+
2210
+ @property
2211
+ def PackageId(self):
2212
+ return self._PackageId
2213
+
2214
+ @PackageId.setter
2215
+ def PackageId(self, PackageId):
2216
+ self._PackageId = PackageId
2217
+
2218
+ @property
2219
+ def ChannelId(self):
2220
+ return self._ChannelId
2221
+
2222
+ @ChannelId.setter
2223
+ def ChannelId(self, ChannelId):
2224
+ self._ChannelId = ChannelId
2225
+
2226
+ @property
2227
+ def OrderId(self):
2228
+ return self._OrderId
2229
+
2230
+ @OrderId.setter
2231
+ def OrderId(self, OrderId):
2232
+ self._OrderId = OrderId
2233
+
2234
+
2235
+ def _deserialize(self, params):
2236
+ self._ProductId = params.get("ProductId")
2237
+ self._DeviceName = params.get("DeviceName")
2238
+ self._PackageId = params.get("PackageId")
2239
+ self._ChannelId = params.get("ChannelId")
2240
+ self._OrderId = params.get("OrderId")
2241
+ memeber_set = set(params.keys())
2242
+ for name, value in vars(self).items():
2243
+ property_name = name[1:]
2244
+ if property_name in memeber_set:
2245
+ memeber_set.remove(property_name)
2246
+ if len(memeber_set) > 0:
2247
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2248
+
2249
+
2250
+
2251
+ class CreateCloudStorageAIServiceResponse(AbstractModel):
2252
+ """CreateCloudStorageAIService返回参数结构体
2253
+
2254
+ """
2255
+
2256
+ def __init__(self):
2257
+ r"""
2258
+ :param _OrderId: 订单 ID
2259
+ :type OrderId: str
2260
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2261
+ :type RequestId: str
2262
+ """
2263
+ self._OrderId = None
2264
+ self._RequestId = None
2265
+
2266
+ @property
2267
+ def OrderId(self):
2268
+ return self._OrderId
2269
+
2270
+ @OrderId.setter
2271
+ def OrderId(self, OrderId):
2272
+ self._OrderId = OrderId
2273
+
2274
+ @property
2275
+ def RequestId(self):
2276
+ return self._RequestId
2277
+
2278
+ @RequestId.setter
2279
+ def RequestId(self, RequestId):
2280
+ self._RequestId = RequestId
2281
+
2282
+
2283
+ def _deserialize(self, params):
2284
+ self._OrderId = params.get("OrderId")
2285
+ self._RequestId = params.get("RequestId")
2286
+
2287
+
2109
2288
  class CreateDeviceRequest(AbstractModel):
2110
2289
  """CreateDevice请求参数结构体
2111
2290
 
@@ -4873,6 +5052,21 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
4873
5052
 
4874
5053
  def __init__(self):
4875
5054
  r"""
5055
+ :param _Type: 云存 AI 套餐类型。可能取值:
5056
+
5057
+ - `1`:全时套餐
5058
+ - `2`:事件套餐
5059
+ - `3`:低功耗套餐
5060
+ :type Type: int
5061
+ :param _Status: 云存 AI 套餐生效状态。可能取值:
5062
+
5063
+ - `0`:未开通或已过期
5064
+ - `1`:生效中
5065
+ :type Status: int
5066
+ :param _ExpireTime: 云存 AI 套餐过期时间 UNIX 时间戳
5067
+ :type ExpireTime: int
5068
+ :param _UserId: 用户 ID
5069
+ :type UserId: str
4876
5070
  :param _Enabled: 视频分析启用状态
4877
5071
  :type Enabled: bool
4878
5072
  :param _Config: 视频分析配置参数
@@ -4882,11 +5076,47 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
4882
5076
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
4883
5077
  :type RequestId: str
4884
5078
  """
5079
+ self._Type = None
5080
+ self._Status = None
5081
+ self._ExpireTime = None
5082
+ self._UserId = None
4885
5083
  self._Enabled = None
4886
5084
  self._Config = None
4887
5085
  self._ROI = None
4888
5086
  self._RequestId = None
4889
5087
 
5088
+ @property
5089
+ def Type(self):
5090
+ return self._Type
5091
+
5092
+ @Type.setter
5093
+ def Type(self, Type):
5094
+ self._Type = Type
5095
+
5096
+ @property
5097
+ def Status(self):
5098
+ return self._Status
5099
+
5100
+ @Status.setter
5101
+ def Status(self, Status):
5102
+ self._Status = Status
5103
+
5104
+ @property
5105
+ def ExpireTime(self):
5106
+ return self._ExpireTime
5107
+
5108
+ @ExpireTime.setter
5109
+ def ExpireTime(self, ExpireTime):
5110
+ self._ExpireTime = ExpireTime
5111
+
5112
+ @property
5113
+ def UserId(self):
5114
+ return self._UserId
5115
+
5116
+ @UserId.setter
5117
+ def UserId(self, UserId):
5118
+ self._UserId = UserId
5119
+
4890
5120
  @property
4891
5121
  def Enabled(self):
4892
5122
  return self._Enabled
@@ -4921,6 +5151,10 @@ class DescribeCloudStorageAIServiceResponse(AbstractModel):
4921
5151
 
4922
5152
 
4923
5153
  def _deserialize(self, params):
5154
+ self._Type = params.get("Type")
5155
+ self._Status = params.get("Status")
5156
+ self._ExpireTime = params.get("ExpireTime")
5157
+ self._UserId = params.get("UserId")
4924
5158
  self._Enabled = params.get("Enabled")
4925
5159
  self._Config = params.get("Config")
4926
5160
  self._ROI = params.get("ROI")
@@ -10033,10 +10267,14 @@ class DeviceActiveResult(AbstractModel):
10033
10267
  :param _ErrCode: 设备激活状态,0:激活成功;9800020:设备数超出限制;9800040:资源包类型和设备类型不匹配;9800039:资源包余额不足;9800037:激活码序号已使用;9800038:设备有效期超出限制;
10034
10268
  注意:此字段可能返回 null,表示取不到有效值。
10035
10269
  :type ErrCode: int
10270
+ :param _ExpireTime: 过期时间
10271
+ 注意:此字段可能返回 null,表示取不到有效值。
10272
+ :type ExpireTime: int
10036
10273
  """
10037
10274
  self._ModelId = None
10038
10275
  self._Sn = None
10039
10276
  self._ErrCode = None
10277
+ self._ExpireTime = None
10040
10278
 
10041
10279
  @property
10042
10280
  def ModelId(self):
@@ -10062,11 +10300,20 @@ class DeviceActiveResult(AbstractModel):
10062
10300
  def ErrCode(self, ErrCode):
10063
10301
  self._ErrCode = ErrCode
10064
10302
 
10303
+ @property
10304
+ def ExpireTime(self):
10305
+ return self._ExpireTime
10306
+
10307
+ @ExpireTime.setter
10308
+ def ExpireTime(self, ExpireTime):
10309
+ self._ExpireTime = ExpireTime
10310
+
10065
10311
 
10066
10312
  def _deserialize(self, params):
10067
10313
  self._ModelId = params.get("ModelId")
10068
10314
  self._Sn = params.get("Sn")
10069
10315
  self._ErrCode = params.get("ErrCode")
10316
+ self._ExpireTime = params.get("ExpireTime")
10070
10317
  memeber_set = set(params.keys())
10071
10318
  for name, value in vars(self).items():
10072
10319
  property_name = name[1:]
@@ -18490,6 +18737,114 @@ class RemoveUserByRoomIdFromTRTCResponse(AbstractModel):
18490
18737
  self._RequestId = params.get("RequestId")
18491
18738
 
18492
18739
 
18740
+ class ResetCloudStorageAIServiceRequest(AbstractModel):
18741
+ """ResetCloudStorageAIService请求参数结构体
18742
+
18743
+ """
18744
+
18745
+ def __init__(self):
18746
+ r"""
18747
+ :param _ProductId: 产品 ID
18748
+ :type ProductId: str
18749
+ :param _DeviceName: 设备名称
18750
+ :type DeviceName: str
18751
+ :param _ServiceType: 云存 AI 服务类型。可选值:
18752
+ - `RealtimeObjectDetect`:目标检测
18753
+ - `Highlight`:视频浓缩
18754
+ :type ServiceType: str
18755
+ :param _ChannelId: 通道 ID
18756
+ :type ChannelId: int
18757
+ :param _UserId: 用户 ID
18758
+ :type UserId: str
18759
+ """
18760
+ self._ProductId = None
18761
+ self._DeviceName = None
18762
+ self._ServiceType = None
18763
+ self._ChannelId = None
18764
+ self._UserId = None
18765
+
18766
+ @property
18767
+ def ProductId(self):
18768
+ return self._ProductId
18769
+
18770
+ @ProductId.setter
18771
+ def ProductId(self, ProductId):
18772
+ self._ProductId = ProductId
18773
+
18774
+ @property
18775
+ def DeviceName(self):
18776
+ return self._DeviceName
18777
+
18778
+ @DeviceName.setter
18779
+ def DeviceName(self, DeviceName):
18780
+ self._DeviceName = DeviceName
18781
+
18782
+ @property
18783
+ def ServiceType(self):
18784
+ return self._ServiceType
18785
+
18786
+ @ServiceType.setter
18787
+ def ServiceType(self, ServiceType):
18788
+ self._ServiceType = ServiceType
18789
+
18790
+ @property
18791
+ def ChannelId(self):
18792
+ return self._ChannelId
18793
+
18794
+ @ChannelId.setter
18795
+ def ChannelId(self, ChannelId):
18796
+ self._ChannelId = ChannelId
18797
+
18798
+ @property
18799
+ def UserId(self):
18800
+ return self._UserId
18801
+
18802
+ @UserId.setter
18803
+ def UserId(self, UserId):
18804
+ self._UserId = UserId
18805
+
18806
+
18807
+ def _deserialize(self, params):
18808
+ self._ProductId = params.get("ProductId")
18809
+ self._DeviceName = params.get("DeviceName")
18810
+ self._ServiceType = params.get("ServiceType")
18811
+ self._ChannelId = params.get("ChannelId")
18812
+ self._UserId = params.get("UserId")
18813
+ memeber_set = set(params.keys())
18814
+ for name, value in vars(self).items():
18815
+ property_name = name[1:]
18816
+ if property_name in memeber_set:
18817
+ memeber_set.remove(property_name)
18818
+ if len(memeber_set) > 0:
18819
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
18820
+
18821
+
18822
+
18823
+ class ResetCloudStorageAIServiceResponse(AbstractModel):
18824
+ """ResetCloudStorageAIService返回参数结构体
18825
+
18826
+ """
18827
+
18828
+ def __init__(self):
18829
+ r"""
18830
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
18831
+ :type RequestId: str
18832
+ """
18833
+ self._RequestId = None
18834
+
18835
+ @property
18836
+ def RequestId(self):
18837
+ return self._RequestId
18838
+
18839
+ @RequestId.setter
18840
+ def RequestId(self, RequestId):
18841
+ self._RequestId = RequestId
18842
+
18843
+
18844
+ def _deserialize(self, params):
18845
+ self._RequestId = params.get("RequestId")
18846
+
18847
+
18493
18848
  class ResetCloudStorageEventRequest(AbstractModel):
18494
18849
  """ResetCloudStorageEvent请求参数结构体
18495
18850