tencentcloud-sdk-python-intl-en 3.0.1184__py2.py3-none-any.whl → 3.0.1186__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1184'
16
+ __version__ = '3.0.1186'
@@ -426,6 +426,30 @@ class IntlpartnersmgtClient(AbstractClient):
426
426
  raise TencentCloudSDKException(type(e).__name__, str(e))
427
427
 
428
428
 
429
+ def DescribeRebateDownloadUrl(self, request):
430
+ """This API is used to download the commission bill file by resellers/agents. The file URL is returned.
431
+ Resellers/Agents can call this API.
432
+
433
+ :param request: Request instance for DescribeRebateDownloadUrl.
434
+ :type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeRebateDownloadUrlRequest`
435
+ :rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.DescribeRebateDownloadUrlResponse`
436
+
437
+ """
438
+ try:
439
+ params = request._serialize()
440
+ headers = request.headers
441
+ body = self.call("DescribeRebateDownloadUrl", params, headers=headers)
442
+ response = json.loads(body)
443
+ model = models.DescribeRebateDownloadUrlResponse()
444
+ model._deserialize(response["Response"])
445
+ return model
446
+ except Exception as e:
447
+ if isinstance(e, TencentCloudSDKException):
448
+ raise
449
+ else:
450
+ raise TencentCloudSDKException(type(e).__name__, str(e))
451
+
452
+
429
453
  def ForceQN(self, request):
430
454
  """Forced Service Suspension settings and cancellation can be used only after the reseller is whitelisted.
431
455
 
@@ -3816,6 +3816,115 @@ class DescribeCustomerUinResponse(AbstractModel):
3816
3816
  self._RequestId = params.get("RequestId")
3817
3817
 
3818
3818
 
3819
+ class DescribeRebateDownloadUrlRequest(AbstractModel):
3820
+ """DescribeRebateDownloadUrl request structure.
3821
+
3822
+ """
3823
+
3824
+ def __init__(self):
3825
+ r"""
3826
+ :param _Month: Month of the commission bill. Format: YYYY-MM.
3827
+ :type Month: str
3828
+ :param _FileType: Bill file type. Valid value: CommissionDetail.
3829
+ :type FileType: str
3830
+ """
3831
+ self._Month = None
3832
+ self._FileType = None
3833
+
3834
+ @property
3835
+ def Month(self):
3836
+ """Month of the commission bill. Format: YYYY-MM.
3837
+ :rtype: str
3838
+ """
3839
+ return self._Month
3840
+
3841
+ @Month.setter
3842
+ def Month(self, Month):
3843
+ self._Month = Month
3844
+
3845
+ @property
3846
+ def FileType(self):
3847
+ """Bill file type. Valid value: CommissionDetail.
3848
+ :rtype: str
3849
+ """
3850
+ return self._FileType
3851
+
3852
+ @FileType.setter
3853
+ def FileType(self, FileType):
3854
+ self._FileType = FileType
3855
+
3856
+
3857
+ def _deserialize(self, params):
3858
+ self._Month = params.get("Month")
3859
+ self._FileType = params.get("FileType")
3860
+ memeber_set = set(params.keys())
3861
+ for name, value in vars(self).items():
3862
+ property_name = name[1:]
3863
+ if property_name in memeber_set:
3864
+ memeber_set.remove(property_name)
3865
+ if len(memeber_set) > 0:
3866
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
3867
+
3868
+
3869
+
3870
+ class DescribeRebateDownloadUrlResponse(AbstractModel):
3871
+ """DescribeRebateDownloadUrl response structure.
3872
+
3873
+ """
3874
+
3875
+ def __init__(self):
3876
+ r"""
3877
+ :param _DownloadUrl: File download link, with a file validity period of 1 hour.
3878
+ :type DownloadUrl: str
3879
+ :param _Ready: File generation status. 0: generating; 1: generated.
3880
+ :type Ready: int
3881
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3882
+ :type RequestId: str
3883
+ """
3884
+ self._DownloadUrl = None
3885
+ self._Ready = None
3886
+ self._RequestId = None
3887
+
3888
+ @property
3889
+ def DownloadUrl(self):
3890
+ """File download link, with a file validity period of 1 hour.
3891
+ :rtype: str
3892
+ """
3893
+ return self._DownloadUrl
3894
+
3895
+ @DownloadUrl.setter
3896
+ def DownloadUrl(self, DownloadUrl):
3897
+ self._DownloadUrl = DownloadUrl
3898
+
3899
+ @property
3900
+ def Ready(self):
3901
+ """File generation status. 0: generating; 1: generated.
3902
+ :rtype: int
3903
+ """
3904
+ return self._Ready
3905
+
3906
+ @Ready.setter
3907
+ def Ready(self, Ready):
3908
+ self._Ready = Ready
3909
+
3910
+ @property
3911
+ def RequestId(self):
3912
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3913
+ :rtype: str
3914
+ """
3915
+ return self._RequestId
3916
+
3917
+ @RequestId.setter
3918
+ def RequestId(self, RequestId):
3919
+ self._RequestId = RequestId
3920
+
3921
+
3922
+ def _deserialize(self, params):
3923
+ self._DownloadUrl = params.get("DownloadUrl")
3924
+ self._Ready = params.get("Ready")
3925
+ self._RequestId = params.get("RequestId")
3926
+
3927
+
3819
3928
  class ForceQNRequest(AbstractModel):
3820
3929
  """ForceQN request structure.
3821
3930
 
@@ -347,6 +347,9 @@ INVALIDPARAMETERVALUE_ISPERSISTENCE = 'InvalidParameterValue.IsPersistence'
347
347
  # Invalid `Isps`.
348
348
  INVALIDPARAMETERVALUE_ISPS = 'InvalidParameterValue.Isps'
349
349
 
350
+ #
351
+ INVALIDPARAMETERVALUE_ITEMID = 'InvalidParameterValue.ItemId'
352
+
350
353
  # Incorrect parameter value: the timestamp content is too long.
351
354
  INVALIDPARAMETERVALUE_KEYFRAMEDESCCONTENTTOOLONG = 'InvalidParameterValue.KeyFrameDescContentTooLong'
352
355
 
@@ -641,7 +644,7 @@ LIMITEXCEEDED_RUNNINGROUNDPLAYS = 'LimitExceeded.RunningRoundPlays'
641
644
  # Limit exceeded: the total number of new and old tags exceeds the limit.
642
645
  LIMITEXCEEDED_TAGCOUNTREACHMAX = 'LimitExceeded.TagCountReachMax'
643
646
 
644
- # Limit exceeded: The number of templates exceeds the upper limit of 100. If you need more, please[Submit a ticket](https://console.tencentcloud.com/workorder/category)
647
+ # Limit exceeded: The number of templates exceeds the upper limit of 100. If you need more, please[Submit a ticket](https://console.tencentcloud.com/workorder/category).
645
648
  LIMITEXCEEDED_TOOMUCHTEMPLATE = 'LimitExceeded.TooMuchTemplate'
646
649
 
647
650
  # Missing parameter.
@@ -22368,9 +22368,12 @@ class CreateSubAppIdRequest(AbstractModel):
22368
22368
  :type Name: str
22369
22369
  :param _Description: Subapplication overview. Length limit: 300 characters.
22370
22370
  :type Description: str
22371
+ :param _Type:
22372
+ :type Type: str
22371
22373
  """
22372
22374
  self._Name = None
22373
22375
  self._Description = None
22376
+ self._Type = None
22374
22377
 
22375
22378
  @property
22376
22379
  def Name(self):
@@ -22394,10 +22397,22 @@ class CreateSubAppIdRequest(AbstractModel):
22394
22397
  def Description(self, Description):
22395
22398
  self._Description = Description
22396
22399
 
22400
+ @property
22401
+ def Type(self):
22402
+ """
22403
+ :rtype: str
22404
+ """
22405
+ return self._Type
22406
+
22407
+ @Type.setter
22408
+ def Type(self, Type):
22409
+ self._Type = Type
22410
+
22397
22411
 
22398
22412
  def _deserialize(self, params):
22399
22413
  self._Name = params.get("Name")
22400
22414
  self._Description = params.get("Description")
22415
+ self._Type = params.get("Type")
22401
22416
  memeber_set = set(params.keys())
22402
22417
  for name, value in vars(self).items():
22403
22418
  property_name = name[1:]
@@ -25922,17 +25937,17 @@ class DescribeAdaptiveDynamicStreamingTemplatesRequest(AbstractModel):
25922
25937
 
25923
25938
  def __init__(self):
25924
25939
  r"""
25925
- :param _SubAppId: <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
25940
+ :param _SubAppId: <B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
25926
25941
  :type SubAppId: int
25927
- :param _Definitions: Unique ID filter of transcoding to adaptive bitrate streaming templates. Array length limit: 100.
25942
+ :param _Definitions: Unique id filter of transcoding to adaptive bitrate streaming templates. array length limit: 100.
25928
25943
  :type Definitions: list of int non-negative
25929
- :param _Offset: Paged offset. Default value: 0.
25944
+ :param _Offset: Pagination offset. default value: 0.
25930
25945
  :type Offset: int
25931
- :param _Limit: Number of returned entries. Default value: 10. Maximum value: 100.
25946
+ :param _Limit: Number of returned entries. default value: 10. maximum value: 100.
25932
25947
  :type Limit: int
25933
- :param _Type: Template type filter. Valid values:
25934
- <li>Preset: preset template;</li>
25935
- <li>Custom: custom template.</li>
25948
+ :param _Type: Template type filter. valid values:.
25949
+ <Li>Preset: system preset template;</li>.
25950
+ <Li>Custom: user-defined template.</li>.
25936
25951
  :type Type: str
25937
25952
  """
25938
25953
  self._SubAppId = None
@@ -25943,7 +25958,7 @@ class DescribeAdaptiveDynamicStreamingTemplatesRequest(AbstractModel):
25943
25958
 
25944
25959
  @property
25945
25960
  def SubAppId(self):
25946
- """<b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
25961
+ """<B>VOD [subapplication](https://intl.cloud.tencent.com/document/product/266/14574?from_cn_redirect=1) id. starting from december 25, 2023, if you want to access resources in the vod application (whether it is the default application or a newly created application), you must enter the application id in this field.</b>.
25947
25962
  :rtype: int
25948
25963
  """
25949
25964
  return self._SubAppId
@@ -25954,7 +25969,7 @@ class DescribeAdaptiveDynamicStreamingTemplatesRequest(AbstractModel):
25954
25969
 
25955
25970
  @property
25956
25971
  def Definitions(self):
25957
- """Unique ID filter of transcoding to adaptive bitrate streaming templates. Array length limit: 100.
25972
+ """Unique id filter of transcoding to adaptive bitrate streaming templates. array length limit: 100.
25958
25973
  :rtype: list of int non-negative
25959
25974
  """
25960
25975
  return self._Definitions
@@ -25965,7 +25980,7 @@ class DescribeAdaptiveDynamicStreamingTemplatesRequest(AbstractModel):
25965
25980
 
25966
25981
  @property
25967
25982
  def Offset(self):
25968
- """Paged offset. Default value: 0.
25983
+ """Pagination offset. default value: 0.
25969
25984
  :rtype: int
25970
25985
  """
25971
25986
  return self._Offset
@@ -25976,7 +25991,7 @@ class DescribeAdaptiveDynamicStreamingTemplatesRequest(AbstractModel):
25976
25991
 
25977
25992
  @property
25978
25993
  def Limit(self):
25979
- """Number of returned entries. Default value: 10. Maximum value: 100.
25994
+ """Number of returned entries. default value: 10. maximum value: 100.
25980
25995
  :rtype: int
25981
25996
  """
25982
25997
  return self._Limit
@@ -25987,9 +26002,9 @@ class DescribeAdaptiveDynamicStreamingTemplatesRequest(AbstractModel):
25987
26002
 
25988
26003
  @property
25989
26004
  def Type(self):
25990
- """Template type filter. Valid values:
25991
- <li>Preset: preset template;</li>
25992
- <li>Custom: custom template.</li>
26005
+ """Template type filter. valid values:.
26006
+ <Li>Preset: system preset template;</li>.
26007
+ <Li>Custom: user-defined template.</li>.
25993
26008
  :rtype: str
25994
26009
  """
25995
26010
  return self._Type
@@ -26022,7 +26037,7 @@ class DescribeAdaptiveDynamicStreamingTemplatesResponse(AbstractModel):
26022
26037
 
26023
26038
  def __init__(self):
26024
26039
  r"""
26025
- :param _TotalCount: Number of eligible entries.
26040
+ :param _TotalCount: The total number of records matching the filter criteria.
26026
26041
  :type TotalCount: int
26027
26042
  :param _AdaptiveDynamicStreamingTemplateSet: List of transcoding to adaptive bitrate streaming template details.
26028
26043
  :type AdaptiveDynamicStreamingTemplateSet: list of AdaptiveDynamicStreamingTemplate
@@ -26035,7 +26050,7 @@ class DescribeAdaptiveDynamicStreamingTemplatesResponse(AbstractModel):
26035
26050
 
26036
26051
  @property
26037
26052
  def TotalCount(self):
26038
- """Number of eligible entries.
26053
+ """The total number of records matching the filter criteria.
26039
26054
  :rtype: int
26040
26055
  """
26041
26056
  return self._TotalCount
@@ -35549,7 +35564,7 @@ class EnhanceMediaQualityOutputConfig(AbstractModel):
35549
35564
  :param _ClassId: Category ID, used for media classification management, can be obtained by [creating a category](https://intl.cloud.tencent.com/document/product/266/7812?from_cn_redirect=1) interface, create a category, get the category ID.
35550
35565
  <li>Default value: 0, which means other categories.</li>
35551
35566
  :type ClassId: int
35552
- :param _ExpireTime: The expiration time of the output file, the file will be deleted after this time, the default is never to expire, the format is in accordance with the ISO 8601 standard, see [ISO date format description](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I)
35567
+ :param _ExpireTime: The expiration time of the output file, the file will be deleted after this time, the default is never to expire, the format is in accordance with the ISO 8601 standard, see [ISO date format description](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
35553
35568
  :type ExpireTime: str
35554
35569
  """
35555
35570
  self._MediaName = None
@@ -35581,7 +35596,7 @@ class EnhanceMediaQualityOutputConfig(AbstractModel):
35581
35596
 
35582
35597
  @property
35583
35598
  def ExpireTime(self):
35584
- """The expiration time of the output file, the file will be deleted after this time, the default is never to expire, the format is in accordance with the ISO 8601 standard, see [ISO date format description](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I)
35599
+ """The expiration time of the output file, the file will be deleted after this time, the default is never to expire, the format is in accordance with the ISO 8601 standard, see [ISO date format description](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#I).
35585
35600
  :rtype: str
35586
35601
  """
35587
35602
  return self._ExpireTime
@@ -64961,10 +64976,10 @@ class RestoreMediaRequest(AbstractModel):
64961
64976
  r"""
64962
64977
  :param _FileIds: Media file unique identifier list, maximum length: 100.
64963
64978
  :type FileIds: list of str
64964
- :param _SubAppId: <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
64965
- :type SubAppId: int
64966
64979
  :param _RestoreDay: The accessible duration of the unfrozen temporary media files must be greater than 0, and the unit is "days".
64967
64980
  :type RestoreDay: int
64981
+ :param _SubAppId: <b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
64982
+ :type SubAppId: int
64968
64983
  :param _RestoreTier: The retrieval mode. If the current storage class is ARCHIVE, the valid values for this parameter are as follows:
64969
64984
  <li>Expedited: The files are made available in five minutes.</li>
64970
64985
  <li>Standard: The files are made available in five hours.</li>
@@ -64975,8 +64990,8 @@ If the current storage class is DEEP ARCHIVE, the valid values for this paramete
64975
64990
  :type RestoreTier: str
64976
64991
  """
64977
64992
  self._FileIds = None
64978
- self._SubAppId = None
64979
64993
  self._RestoreDay = None
64994
+ self._SubAppId = None
64980
64995
  self._RestoreTier = None
64981
64996
 
64982
64997
  @property
@@ -64990,17 +65005,6 @@ If the current storage class is DEEP ARCHIVE, the valid values for this paramete
64990
65005
  def FileIds(self, FileIds):
64991
65006
  self._FileIds = FileIds
64992
65007
 
64993
- @property
64994
- def SubAppId(self):
64995
- """<b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
64996
- :rtype: int
64997
- """
64998
- return self._SubAppId
64999
-
65000
- @SubAppId.setter
65001
- def SubAppId(self, SubAppId):
65002
- self._SubAppId = SubAppId
65003
-
65004
65008
  @property
65005
65009
  def RestoreDay(self):
65006
65010
  """The accessible duration of the unfrozen temporary media files must be greater than 0, and the unit is "days".
@@ -65012,6 +65016,17 @@ If the current storage class is DEEP ARCHIVE, the valid values for this paramete
65012
65016
  def RestoreDay(self, RestoreDay):
65013
65017
  self._RestoreDay = RestoreDay
65014
65018
 
65019
+ @property
65020
+ def SubAppId(self):
65021
+ """<b>The VOD [application](https://intl.cloud.tencent.com/document/product/266/14574) ID. For customers who activate VOD service from December 25, 2023, if they want to access resources in a VOD application (whether it's the default application or a newly created one), they must fill in this field with the application ID.</b>
65022
+ :rtype: int
65023
+ """
65024
+ return self._SubAppId
65025
+
65026
+ @SubAppId.setter
65027
+ def SubAppId(self, SubAppId):
65028
+ self._SubAppId = SubAppId
65029
+
65015
65030
  @property
65016
65031
  def RestoreTier(self):
65017
65032
  """The retrieval mode. If the current storage class is ARCHIVE, the valid values for this parameter are as follows:
@@ -65032,8 +65047,8 @@ If the current storage class is DEEP ARCHIVE, the valid values for this paramete
65032
65047
 
65033
65048
  def _deserialize(self, params):
65034
65049
  self._FileIds = params.get("FileIds")
65035
- self._SubAppId = params.get("SubAppId")
65036
65050
  self._RestoreDay = params.get("RestoreDay")
65051
+ self._SubAppId = params.get("SubAppId")
65037
65052
  self._RestoreTier = params.get("RestoreTier")
65038
65053
  memeber_set = set(params.keys())
65039
65054
  for name, value in vars(self).items():
@@ -71279,6 +71294,8 @@ Default value: 0 px.
71279
71294
 
71280
71295
  @property
71281
71296
  def CycleConfig(self):
71297
+ warnings.warn("parameter `CycleConfig` is deprecated", DeprecationWarning)
71298
+
71282
71299
  """Watermark period configuration is used to configure the watermark to be displayed and hidden periodically.
71283
71300
  The main usage scenario is: in order to prevent video from being blocked, watermarks are set in multiple places on the video. These watermarks are periodically displayed and hidden in a fixed order.
71284
71301
  For example, set four watermarks A, B, C, and D to be located in the upper left corner, upper right corner, lower right corner, and lower left corner of the video respectively. When the video starts, { A displays for 5 seconds -> B displays for 5 seconds -> C Display for 5 seconds -> D Display for 5 seconds} -> A Display for 5 seconds -> B Display for 5 seconds -> ..., only one watermark is displayed at any time.
@@ -71292,6 +71309,8 @@ Note: This field may return null, indicating that no valid value can be obtained
71292
71309
 
71293
71310
  @CycleConfig.setter
71294
71311
  def CycleConfig(self, CycleConfig):
71312
+ warnings.warn("parameter `CycleConfig` is deprecated", DeprecationWarning)
71313
+
71295
71314
  self._CycleConfig = CycleConfig
71296
71315
 
71297
71316