tencentcloud-sdk-python-intl-en 3.0.1254__py2.py3-none-any.whl → 3.0.1256__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.
@@ -83,6 +83,33 @@ class TrtcClient(AbstractClient):
83
83
  raise TencentCloudSDKException(type(e).__name__, str(e))
84
84
 
85
85
 
86
+ def CreateCloudSliceTask(self, request):
87
+ """API description:
88
+ This API is used to enable the cloud slicing feature, completing audio and video slicing tasks in the room, and uploading them to the specified cloud storage.
89
+ This API is used to achieve the following goals:
90
+ * This API is used to specify the slicing parameter (SliceParams) to define the blocklist or allowlist of the anchors that require slicing.
91
+ * This API is used to specify the storage parameter (SliceStorageParams) to specify the cloud storage you want to upload to. Currently, Tencent Cloud Object Storage (COS) and third-party AWS are supported.
92
+
93
+ :param request: Request instance for CreateCloudSliceTask.
94
+ :type request: :class:`tencentcloud.trtc.v20190722.models.CreateCloudSliceTaskRequest`
95
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.CreateCloudSliceTaskResponse`
96
+
97
+ """
98
+ try:
99
+ params = request._serialize()
100
+ headers = request.headers
101
+ body = self.call("CreateCloudSliceTask", params, headers=headers)
102
+ response = json.loads(body)
103
+ model = models.CreateCloudSliceTaskResponse()
104
+ model._deserialize(response["Response"])
105
+ return model
106
+ except Exception as e:
107
+ if isinstance(e, TencentCloudSDKException):
108
+ raise
109
+ else:
110
+ raise TencentCloudSDKException(type(e).__name__, str(e))
111
+
112
+
86
113
  def DeleteCloudRecording(self, request):
87
114
  """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.
88
115
 
@@ -106,6 +133,29 @@ class TrtcClient(AbstractClient):
106
133
  raise TencentCloudSDKException(type(e).__name__, str(e))
107
134
 
108
135
 
136
+ def DeleteCloudSliceTask(self, request):
137
+ """This API is used to stop the slicing task after it is started. Successfully stopping the slicing does not mean that all files are fully transmitted; if the transmission is not completed, the backend will continue to upload files. After the upload is successful, a notification is sent to the customer, prompting that all files have been transmitted, through the event callback.
138
+
139
+ :param request: Request instance for DeleteCloudSliceTask.
140
+ :type request: :class:`tencentcloud.trtc.v20190722.models.DeleteCloudSliceTaskRequest`
141
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.DeleteCloudSliceTaskResponse`
142
+
143
+ """
144
+ try:
145
+ params = request._serialize()
146
+ headers = request.headers
147
+ body = self.call("DeleteCloudSliceTask", params, headers=headers)
148
+ response = json.loads(body)
149
+ model = models.DeleteCloudSliceTaskResponse()
150
+ model._deserialize(response["Response"])
151
+ return model
152
+ except Exception as e:
153
+ if isinstance(e, TencentCloudSDKException):
154
+ raise
155
+ else:
156
+ raise TencentCloudSDKException(type(e).__name__, str(e))
157
+
158
+
109
159
  def DescribeAIConversation(self, request):
110
160
  """Describe the AI conversation task status
111
161
 
@@ -202,6 +252,29 @@ class TrtcClient(AbstractClient):
202
252
  raise TencentCloudSDKException(type(e).__name__, str(e))
203
253
 
204
254
 
255
+ def DescribeCloudSliceTask(self, request):
256
+ """This API is used to query the status of the slicing task after it is started, which is valid only when the task is in progress. An error will be returned if the task is exited.
257
+
258
+ :param request: Request instance for DescribeCloudSliceTask.
259
+ :type request: :class:`tencentcloud.trtc.v20190722.models.DescribeCloudSliceTaskRequest`
260
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.DescribeCloudSliceTaskResponse`
261
+
262
+ """
263
+ try:
264
+ params = request._serialize()
265
+ headers = request.headers
266
+ body = self.call("DescribeCloudSliceTask", params, headers=headers)
267
+ response = json.loads(body)
268
+ model = models.DescribeCloudSliceTaskResponse()
269
+ model._deserialize(response["Response"])
270
+ return model
271
+ except Exception as e:
272
+ if isinstance(e, TencentCloudSDKException):
273
+ raise
274
+ else:
275
+ raise TencentCloudSDKException(type(e).__name__, str(e))
276
+
277
+
205
278
  def DescribeMixTranscodingUsage(self, request):
206
279
  """This API is used to query your usage of TRTC’s On-Cloud MixTranscoding service.
207
280
  - If the period queried is one day or shorter, the statistics returned are on a five-minute basis. If the period queried is longer than one day, the statistics returned are on a daily basis.
@@ -695,6 +768,29 @@ class TrtcClient(AbstractClient):
695
768
  raise TencentCloudSDKException(type(e).__name__, str(e))
696
769
 
697
770
 
771
+ def ModifyCloudSliceTask(self, request):
772
+ """This API is used to update the slicing task after it is started. It can be used to update the allowlist or blocklist for the specified subscription stream.
773
+
774
+ :param request: Request instance for ModifyCloudSliceTask.
775
+ :type request: :class:`tencentcloud.trtc.v20190722.models.ModifyCloudSliceTaskRequest`
776
+ :rtype: :class:`tencentcloud.trtc.v20190722.models.ModifyCloudSliceTaskResponse`
777
+
778
+ """
779
+ try:
780
+ params = request._serialize()
781
+ headers = request.headers
782
+ body = self.call("ModifyCloudSliceTask", params, headers=headers)
783
+ response = json.loads(body)
784
+ model = models.ModifyCloudSliceTaskResponse()
785
+ model._deserialize(response["Response"])
786
+ return model
787
+ except Exception as e:
788
+ if isinstance(e, TencentCloudSDKException):
789
+ raise
790
+ else:
791
+ raise TencentCloudSDKException(type(e).__name__, str(e))
792
+
793
+
698
794
  def RemoveUser(self, request):
699
795
  """This API is used to remove a user from a room. It is applicable to scenarios where the anchor, room owner, or admin wants to kick out a user. It supports all platforms. For Android, iOS, Windows, and macOS, the TRTC SDK needs to be upgraded to v6.6 or above.
700
796
 
@@ -236,6 +236,9 @@ INVALIDPARAMETERVALUE_INVALIDBUSINESS = 'InvalidParameterValue.InvalidBusiness'
236
236
  # Invalid DedicatedClusterId.
237
237
  INVALIDPARAMETERVALUE_INVALIDDEDICATEDCLUSTERID = 'InvalidParameterValue.InvalidDedicatedClusterId'
238
238
 
239
+ #
240
+ INVALIDPARAMETERVALUE_INVALIDEGRESS = 'InvalidParameterValue.InvalidEgress'
241
+
239
242
  # This IP is applicable only for pay-as-you-go instances that billed by hourly traffic and instances with bandwidth package.
240
243
  INVALIDPARAMETERVALUE_INVALIDINSTANCEINTERNETCHARGETYPE = 'InvalidParameterValue.InvalidInstanceInternetChargeType'
241
244
 
@@ -416,6 +419,9 @@ INVALIDPARAMETERVALUE_TRAFFICPACKAGENOTSUPPORTED = 'InvalidParameterValue.Traffi
416
419
  # This availability zone is unavailable.
417
420
  INVALIDPARAMETERVALUE_UNAVAILABLEZONE = 'InvalidParameterValue.UnavailableZone'
418
421
 
422
+ #
423
+ INVALIDPARAMETERVALUE_UNSUPPORTEDEGRESS = 'InvalidParameterValue.UnsupportedEgress'
424
+
419
425
  # Destination IP address range conflicts with CIDR of the current VPC.
420
426
  INVALIDPARAMETERVALUE_VPCCIDRCONFLICT = 'InvalidParameterValue.VpcCidrConflict'
421
427
 
@@ -30735,7 +30735,7 @@ Note: This field may return null, indicating that no valid value was found.
30735
30735
  :param _ChargeUnit: Billing unit. Valid values: <ul> <li>HOUR: Indicates that the billing unit is calculated hourly. The scenarios currently involving this billing unit include TRAFFIC_POSTPAID_BY_HOUR and BANDWIDTH_POSTPAID_BY_HOUR.</li></ul>
30736
30736
  Note: This field may return null, indicating that no valid value was found.
30737
30737
  :type ChargeUnit: str
30738
- :param _OriginalPrice: Original price. Unit: CNY. Returned only for prepaid price inquiry.
30738
+ :param _OriginalPrice: Original price. Unit: USD. Returned only for prepaid price inquiry.
30739
30739
  :type OriginalPrice: float
30740
30740
  """
30741
30741
  self._UnitPrice = None
@@ -30780,7 +30780,7 @@ Note: This field may return null, indicating that no valid value was found.
30780
30780
 
30781
30781
  @property
30782
30782
  def OriginalPrice(self):
30783
- """Original price. Unit: CNY. Returned only for prepaid price inquiry.
30783
+ """Original price. Unit: USD. Returned only for prepaid price inquiry.
30784
30784
  :rtype: float
30785
30785
  """
30786
30786
  return self._OriginalPrice
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1254
3
+ Version: 3.0.1256
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=sV6SONtFsKQY62Wv-XiP2YLufe1rhrl0QuTqYKCLmHo,630
1
+ tencentcloud/__init__.py,sha256=x44l7PHNnQpx0avBZhl2IQsAYY5idPhgS3h-2ebL9FQ,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
@@ -248,9 +248,9 @@ tencentcloud/dms/v20200819/errorcodes.py,sha256=3hvPXaIjO7tzBkOst8P9NvgkH7uzuLZA
248
248
  tencentcloud/dms/v20200819/models.py,sha256=MxKF0In5IVpuWmmJeLATDATEHHj3M29_6EAGQ71HbRo,9476
249
249
  tencentcloud/dnspod/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
250
250
  tencentcloud/dnspod/v20210323/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
251
- tencentcloud/dnspod/v20210323/dnspod_client.py,sha256=dlZuZO_CR9ATbH0DqxocevHeRD_tduSB3DOrnMqBtqg,34714
252
- tencentcloud/dnspod/v20210323/errorcodes.py,sha256=E5xxe6nuBirg08H2V6NhxGSm3fezR-XaWpJaygzpOHE,15990
253
- tencentcloud/dnspod/v20210323/models.py,sha256=gq31tO7wZw9-QEZU2fyxAyPp3Iikvke5PttvoRyltbI,238789
251
+ tencentcloud/dnspod/v20210323/dnspod_client.py,sha256=Y-T5i_FqiVpg79kaj1WQ-iGkkuSso7vJRvTXZQ38uBw,35645
252
+ tencentcloud/dnspod/v20210323/errorcodes.py,sha256=-MLQ71Ose-V-cg7iFfx34Kr5DMGzpgav0KCBV5CK_NI,16261
253
+ tencentcloud/dnspod/v20210323/models.py,sha256=dpyCgp_4d00YY1ACYAitjiP4HUXBRKyy02dp5mKbxhA,241143
254
254
  tencentcloud/domain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
255
255
  tencentcloud/domain/v20180808/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
256
256
  tencentcloud/domain/v20180808/domain_client.py,sha256=pqMkqn0nExl_pvK5wHsMH7tO7ikusa9IXQuEoWcHq7w,23820
@@ -372,7 +372,7 @@ tencentcloud/lcic/v20220817/lcic_client.py,sha256=909s3nXzHB0uRz9wLSQmd-i9sQHOP2
372
372
  tencentcloud/lcic/v20220817/models.py,sha256=cRZaBkQw-PpT9CXbzQ0TwFYYSkPy1CA3rBsNCvb8cu4,336179
373
373
  tencentcloud/lighthouse/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
374
374
  tencentcloud/lighthouse/v20200324/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
375
- tencentcloud/lighthouse/v20200324/errorcodes.py,sha256=m8Pt5aRfswnfV8sciLDTZuRRwi7qmpgBZJvIBhCxrvs,26578
375
+ tencentcloud/lighthouse/v20200324/errorcodes.py,sha256=bZ6dDfyqS5pxIKitZ2AVMYt-pe4VejCfPkMRpiryCV0,26580
376
376
  tencentcloud/lighthouse/v20200324/lighthouse_client.py,sha256=QwHozP43be76qha0eRPM_6OT_nHBxbLiSgHyL0a1QNs,88018
377
377
  tencentcloud/lighthouse/v20200324/models.py,sha256=OknSSoXOExOyBK3a4Px3QDWZ97Chd6daCbIJSwiV-jY,425996
378
378
  tencentcloud/live/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -501,7 +501,7 @@ tencentcloud/sms/v20210111/sms_client.py,sha256=YcJdikNNoXH8RtG1ovFY2vTHVz7cfQzM
501
501
  tencentcloud/sqlserver/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
502
502
  tencentcloud/sqlserver/v20180328/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
503
503
  tencentcloud/sqlserver/v20180328/errorcodes.py,sha256=OWVsl9dhn6kXevI661iAy2QmK1rmqO7EZ_uqtgpRcwk,10007
504
- tencentcloud/sqlserver/v20180328/models.py,sha256=NHAK7hUOLybhrghvQWvq_7gHADyIAx3X1U6sqQyqu2Y,616986
504
+ tencentcloud/sqlserver/v20180328/models.py,sha256=HSGzAMUXARjTqx_1K-XmEIWFZiYK3FCF8Md0QLmMXnM,622436
505
505
  tencentcloud/sqlserver/v20180328/sqlserver_client.py,sha256=HxRmG7lBq7g3TflU75L9ufdY7KqW5MUift9N_nkyc2Q,79528
506
506
  tencentcloud/ssl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
507
507
  tencentcloud/ssl/v20191205/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -627,9 +627,9 @@ tencentcloud/trro/v20220325/models.py,sha256=L1fncNe76tyXFuKPu8HhoJVUrIjnWYtV7nV
627
627
  tencentcloud/trro/v20220325/trro_client.py,sha256=SnvCyyvDttaJJJqGpFWjQLUoikie0mrmSwa_buQ2Qng,18067
628
628
  tencentcloud/trtc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
629
629
  tencentcloud/trtc/v20190722/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
630
- tencentcloud/trtc/v20190722/errorcodes.py,sha256=rZOuMsqVgwpC2EyIdb1a0DPIlZshIJ-xwMYTYXQ29N8,8311
631
- tencentcloud/trtc/v20190722/models.py,sha256=MW8wLkFdmc5oF1_wqLNwCeoGbwuPUNPGbgC-tbnqzz4,431270
632
- tencentcloud/trtc/v20190722/trtc_client.py,sha256=hNl_c5silFGCIahbN_5vIitJhzWlDpTZcpto8ZaTGMY,69025
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
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
@@ -660,8 +660,8 @@ tencentcloud/vod/v20240718/models.py,sha256=1gqPwvylljkj6KaMQ3wMEe8JhMm5fC2_W7cL
660
660
  tencentcloud/vod/v20240718/vod_client.py,sha256=rzNzCXhjKxPpefkyoLe1Rg17_xcHPfVth48UQknio9g,8544
661
661
  tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
662
662
  tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
663
- tencentcloud/vpc/v20170312/errorcodes.py,sha256=iTItnv8T9bMLxo1yraEIVZ75W33Ee7LouUbuSkKAm0w,48149
664
- tencentcloud/vpc/v20170312/models.py,sha256=OYttoH4Xdi6kgz7ZU8mx0Fnl2b1XNDKCWtxzVFW_1UY,1594576
663
+ tencentcloud/vpc/v20170312/errorcodes.py,sha256=PTa7c4jCXy22lGqQnP8ZlXah8bK1Dgi-KueZY8oxsyY,48317
664
+ tencentcloud/vpc/v20170312/models.py,sha256=Z8A3AJC3YjsCMtNom0n48TUZXuRsukTztW8HeEGtVz4,1594576
665
665
  tencentcloud/vpc/v20170312/vpc_client.py,sha256=ww3OJcA9OZYuLpp4gKtNDlzDXVM57vki4YXzoZJs7pE,309244
666
666
  tencentcloud/waf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
667
667
  tencentcloud/waf/v20180125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -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.1254.dist-info/METADATA,sha256=7MbkiZp6x6pga8Xod5Z_TA7xmV020Nfd8efqEBsV1ro,1628
682
- tencentcloud_sdk_python_intl_en-3.0.1254.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
683
- tencentcloud_sdk_python_intl_en-3.0.1254.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
684
- tencentcloud_sdk_python_intl_en-3.0.1254.dist-info/RECORD,,
681
+ tencentcloud_sdk_python_intl_en-3.0.1256.dist-info/METADATA,sha256=B0sYLxcYWr8BcGRN1-EECEf_ysjQ6wQRNE4aH0MCfBI,1628
682
+ tencentcloud_sdk_python_intl_en-3.0.1256.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
683
+ tencentcloud_sdk_python_intl_en-3.0.1256.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
684
+ tencentcloud_sdk_python_intl_en-3.0.1256.dist-info/RECORD,,