tencentcloud-sdk-python-intl-en 3.0.1258__py2.py3-none-any.whl → 3.0.1260__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.
@@ -49,6 +49,34 @@ class TrtcClient(AbstractClient):
49
49
  raise TencentCloudSDKException(type(e).__name__, str(e))
50
50
 
51
51
 
52
+ def CreateCloudModeration(self, request):
53
+ """API description:
54
+ This API is used to enable the cloud moderation feature to complete audio and video slicing, video frame extraction, and audio stream recording in the room, and submit them to the specified moderation supplier for completing the moderation.
55
+
56
+ This API is used to achieve the following goals:
57
+ * This API is used to specify the moderation parameters (ModerationParams) to specify the detailed parameters required for moderation.
58
+ * This API is used to specify the storage parameter (SliceStorageParams) to specify the cloud storage you want to upload the file complying with the moderation policy to. Currently, Tencent Cloud Object Storage (COS) and third-party AWS are supported.
59
+
60
+ :param request: Request instance for CreateCloudModeration.
61
+ :type request: :class:`tencentcloud.trtc.v20190722.models.CreateCloudModerationRequest`
62
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.CreateCloudModerationResponse`
63
+
64
+ """
65
+ try:
66
+ params = request._serialize()
67
+ headers = request.headers
68
+ body = self.call("CreateCloudModeration", params, headers=headers)
69
+ response = json.loads(body)
70
+ model = models.CreateCloudModerationResponse()
71
+ model._deserialize(response["Response"])
72
+ return model
73
+ except Exception as e:
74
+ if isinstance(e, TencentCloudSDKException):
75
+ raise
76
+ else:
77
+ raise TencentCloudSDKException(type(e).__name__, str(e))
78
+
79
+
52
80
  def CreateCloudRecording(self, request):
53
81
  """API description:
54
82
  This API is used to start an on-cloud recording task. It records the audio and video streams in a room and saves them to the specified cloud storage. You can use this API to record the streams in a room separately, or you can mix the streams first and then record the mixed stream.
@@ -110,6 +138,29 @@ class TrtcClient(AbstractClient):
110
138
  raise TencentCloudSDKException(type(e).__name__, str(e))
111
139
 
112
140
 
141
+ def DeleteCloudModeration(self, request):
142
+ """This API is used to stop submission for moderation after the cloud moderation task is successfully started.
143
+
144
+ :param request: Request instance for DeleteCloudModeration.
145
+ :type request: :class:`tencentcloud.trtc.v20190722.models.DeleteCloudModerationRequest`
146
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.DeleteCloudModerationResponse`
147
+
148
+ """
149
+ try:
150
+ params = request._serialize()
151
+ headers = request.headers
152
+ body = self.call("DeleteCloudModeration", params, headers=headers)
153
+ response = json.loads(body)
154
+ model = models.DeleteCloudModerationResponse()
155
+ model._deserialize(response["Response"])
156
+ return model
157
+ except Exception as e:
158
+ if isinstance(e, TencentCloudSDKException):
159
+ raise
160
+ else:
161
+ raise TencentCloudSDKException(type(e).__name__, str(e))
162
+
163
+
113
164
  def DeleteCloudRecording(self, request):
114
165
  """This API is used to stop a recording task. If a task is stopped successfully, but the uploading of recording files has not completed, the backend will continue to upload the files and will notify you via a callback when the upload is completed.
115
166
 
@@ -228,6 +279,29 @@ class TrtcClient(AbstractClient):
228
279
  raise TencentCloudSDKException(type(e).__name__, str(e))
229
280
 
230
281
 
282
+ def DescribeCloudModeration(self, request):
283
+ """This API is used to query the status of the moderation task and information about the subscription blocklist and allowlist after the task is started, which is valid only when the task is in progress. An error will be returned if the task is exited.
284
+
285
+ :param request: Request instance for DescribeCloudModeration.
286
+ :type request: :class:`tencentcloud.trtc.v20190722.models.DescribeCloudModerationRequest`
287
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.DescribeCloudModerationResponse`
288
+
289
+ """
290
+ try:
291
+ params = request._serialize()
292
+ headers = request.headers
293
+ body = self.call("DescribeCloudModeration", params, headers=headers)
294
+ response = json.loads(body)
295
+ model = models.DescribeCloudModerationResponse()
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
+
231
305
  def DescribeCloudRecording(self, request):
232
306
  """This API is used to query the status of a recording task after it starts. It works only when a task is in progress. If the task has already ended when this API is called, an error will be returned.
233
307
  If a recording file is being uploaded to VOD, the response parameter `StorageFileList` will not contain the information of the recording file. Please listen for the recording file callback to get the information.
@@ -745,6 +819,29 @@ class TrtcClient(AbstractClient):
745
819
  raise TencentCloudSDKException(type(e).__name__, str(e))
746
820
 
747
821
 
822
+ def ModifyCloudModeration(self, request):
823
+ """This API is used to update the subscription blocklist and allowlist after the cloud moderation task is successfully started.
824
+
825
+ :param request: Request instance for ModifyCloudModeration.
826
+ :type request: :class:`tencentcloud.trtc.v20190722.models.ModifyCloudModerationRequest`
827
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.ModifyCloudModerationResponse`
828
+
829
+ """
830
+ try:
831
+ params = request._serialize()
832
+ headers = request.headers
833
+ body = self.call("ModifyCloudModeration", params, headers=headers)
834
+ response = json.loads(body)
835
+ model = models.ModifyCloudModerationResponse()
836
+ model._deserialize(response["Response"])
837
+ return model
838
+ except Exception as e:
839
+ if isinstance(e, TencentCloudSDKException):
840
+ raise
841
+ else:
842
+ raise TencentCloudSDKException(type(e).__name__, str(e))
843
+
844
+
748
845
  def ModifyCloudRecording(self, request):
749
846
  """This API is used to modify a recording task. It works only when a task is in progress. If the task has already ended when this API is called, an error will be returned. You need to specify all the parameters for each request instead of just the ones you want to modify.
750
847
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1258
3
+ Version: 3.0.1260
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=g-mkutDYKqMkUj6BBNIa6zdzh_CQri_kb9SNgOZ1nYY,630
1
+ tencentcloud/__init__.py,sha256=L4LNTXi2GCTq5kztDHF3rJexk11KT5BtZ6ew_WfojsU,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=fiBV7Nao68T0UJdOUt5BxEABWr7mG_J9NPJT2lXDdyw,2897
@@ -289,7 +289,7 @@ tencentcloud/emr/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
289
289
  tencentcloud/emr/v20190103/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
290
290
  tencentcloud/emr/v20190103/emr_client.py,sha256=dG7lT69RkLT5g9K0JUwYzUPjInrCEW9ptTEAlruT5_c,31119
291
291
  tencentcloud/emr/v20190103/errorcodes.py,sha256=Cqps4AcpSSfktz3qzKYvowq_dWTFw-doYlCktRdr5mY,16493
292
- tencentcloud/emr/v20190103/models.py,sha256=xBYdXAPt8qHFXbeRgafUM8uiONGGjGW3xJ8GLxNM5Ws,550049
292
+ tencentcloud/emr/v20190103/models.py,sha256=kXXsEKTqeVvIz6FYQWRDfCwbUJlFa-V-tS72W8s2xy0,558630
293
293
  tencentcloud/es/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
294
294
  tencentcloud/es/v20180416/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
295
295
  tencentcloud/es/v20180416/errorcodes.py,sha256=p3OyejxcG9GUh-hAcjqwwEzYOEjbVypLa1YYVujXpcA,4636
@@ -349,7 +349,7 @@ tencentcloud/intlpartnersmgt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NM
349
349
  tencentcloud/intlpartnersmgt/v20220928/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
350
350
  tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256=tSll8Z82ldhQ8Q6cBkmxaTXe1ILN__H4WOCWH4dnUFE,8711
351
351
  tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=iF6N_3z9vxvq5eLeQqEVzA12pESkKykAa5lx4KC6e8Y,47499
352
- tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=hqQ0dD5TL080pfqp44oknLgMvthZYA7LU3P2BbrNZ0w,277613
352
+ tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=S3Pii3TGDgmVj1PG-F0El_nBxtJ73lJtemptXZC_7es,277613
353
353
  tencentcloud/iotcloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
354
354
  tencentcloud/iotcloud/v20210408/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
355
355
  tencentcloud/iotcloud/v20210408/errorcodes.py,sha256=5Wx7sPJOTpDdlX57HDEIEwoDirSwUiALR91_AR-SB6g,5860
@@ -446,8 +446,8 @@ tencentcloud/organization/v20210331/models.py,sha256=wpSRkmrZcHs4V-mE_UO_sLuERSe
446
446
  tencentcloud/organization/v20210331/organization_client.py,sha256=5Z3DFb1Kllppy9NVMlRNnCIUWFAEBeGfUdvIvEGSKKk,101553
447
447
  tencentcloud/postgres/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
448
448
  tencentcloud/postgres/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
449
- tencentcloud/postgres/v20170312/errorcodes.py,sha256=tES6g25h50GGz8ak-rPzjIfZ92b_YRnWtsJKlLEDYj4,23058
450
- tencentcloud/postgres/v20170312/models.py,sha256=7zy4o8ygvNhIF577cDfZ3y1-YTccTBZTKTNv4-R_Dao,654660
449
+ tencentcloud/postgres/v20170312/errorcodes.py,sha256=fEPg_09-9kOrgS2rkHmz9SD_AjtW5uuUlnk7iL84O2c,23604
450
+ tencentcloud/postgres/v20170312/models.py,sha256=Gwez0C0KSp2PBcJfVOXdPXxQrBEQFVbxmt_pQ72Gw7U,655586
451
451
  tencentcloud/postgres/v20170312/postgres_client.py,sha256=o1Nffcx_83Reg3Nd8EpAoMwVmHkUIpoEriPGuqJTwlI,91750
452
452
  tencentcloud/privatedns/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
453
453
  tencentcloud/privatedns/v20201028/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -467,8 +467,8 @@ tencentcloud/rce/v20201103/rce_client.py,sha256=cOE3wl8fy1kiYECyQRrpe-zv0afus2Am
467
467
  tencentcloud/redis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
468
468
  tencentcloud/redis/v20180412/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
469
469
  tencentcloud/redis/v20180412/errorcodes.py,sha256=RGXkRnnZWRREexR2Du4YmzlM8IgUClmaM4FpQ9Hmbss,14202
470
- tencentcloud/redis/v20180412/models.py,sha256=-xuOcXTkOkuzFlbhegSCfeSLh833xqHDZUNhgThwVxg,766636
471
- tencentcloud/redis/v20180412/redis_client.py,sha256=u28_HLD9FW4kNF0pEhUpB3a5Ua9jeDhHaIQxI-ZVChI,103648
470
+ tencentcloud/redis/v20180412/models.py,sha256=9VMrcrAqScYl4RYXW39kldhe3yAxpTM9k5aHcE003D4,773091
471
+ tencentcloud/redis/v20180412/redis_client.py,sha256=9r2yQctqzNyG97wJ1869H5Ae7wrsdajdwd0UcqzGSG0,106687
472
472
  tencentcloud/region/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
473
473
  tencentcloud/region/v20220627/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
474
474
  tencentcloud/region/v20220627/errorcodes.py,sha256=CS5BRq1VsQFsABqPD0HUhslq6MOg0OJd6Sg_-hYaB3Q,933
@@ -628,8 +628,8 @@ tencentcloud/trro/v20220325/trro_client.py,sha256=SnvCyyvDttaJJJqGpFWjQLUoikie0m
628
628
  tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
629
629
  tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
630
630
  tencentcloud/trtc/v20190722/errorcodes.py,sha256=750GyylLKU6bhug2odkXnQJSKD2BNO4208Ra5DrIBJI,8871
631
- tencentcloud/trtc/v20190722/models.py,sha256=mlWUYhXwL5isU4He2tMPXZxvi9qHTFvXwyz9NwfIvSQ,464324
632
- tencentcloud/trtc/v20190722/trtc_client.py,sha256=0a4Lzg2J7upUFXFUD0OuPzFb8HG6uPIaXidZ1P6F6oE,73831
631
+ tencentcloud/trtc/v20190722/models.py,sha256=bRAKq_tZulgvQxK_Btoz6b-YbduRLL4ZjutC3nyDOIQ,511675
632
+ tencentcloud/trtc/v20190722/trtc_client.py,sha256=GViQb11c0gxTS3STZjHIk6ExARhQQ_O1JP1iGuNcqAg,78556
633
633
  tencentcloud/tts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
634
634
  tencentcloud/tts/v20190823/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
635
635
  tencentcloud/tts/v20190823/errorcodes.py,sha256=uOr4TEwacqu7iwFeW5fg4vZMwkEFkTKftB7BVB8VsKc,4787
@@ -678,7 +678,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
678
678
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=g2ac3Fxgbof23WWhGj9VxvuLJZNshnB0Mg7jWUzTh24,3168
679
679
  tencentcloud/yunjing/v20180228/models.py,sha256=vFpNnPGWiOLdTut0XPTpRRF5lobWUTkFUO1EHc9RkBk,330643
680
680
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=PqtaJz4gQ-rIxKXVMNtOKx7kFBQdUn-zKVuH2NcMFcA,67362
681
- tencentcloud_sdk_python_intl_en-3.0.1258.dist-info/METADATA,sha256=FBZM1eFsgniHpgTdJXoexj1KB8zAJ3UfWycohlewKdo,1628
682
- tencentcloud_sdk_python_intl_en-3.0.1258.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
683
- tencentcloud_sdk_python_intl_en-3.0.1258.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
684
- tencentcloud_sdk_python_intl_en-3.0.1258.dist-info/RECORD,,
681
+ tencentcloud_sdk_python_intl_en-3.0.1260.dist-info/METADATA,sha256=jlITA8GsE25-MFOwaYbnM5LVDTWvXjmj0iEon2CthxA,1628
682
+ tencentcloud_sdk_python_intl_en-3.0.1260.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
683
+ tencentcloud_sdk_python_intl_en-3.0.1260.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
684
+ tencentcloud_sdk_python_intl_en-3.0.1260.dist-info/RECORD,,