tencentcloud-sdk-python-intl-en 3.0.1286__py2.py3-none-any.whl → 3.0.1288__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 +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +1 -1
- tencentcloud/cvm/v20170312/models.py +141 -120
- tencentcloud/dlc/v20210125/dlc_client.py +46 -0
- tencentcloud/dlc/v20210125/models.py +424 -14
- tencentcloud/mdl/v20200326/models.py +72 -2
- tencentcloud/mdp/v20200527/models.py +100 -2
- tencentcloud/message/__init__.py +0 -0
- tencentcloud/message/v20181225/__init__.py +0 -0
- tencentcloud/message/v20181225/errorcodes.py +27 -0
- tencentcloud/message/v20181225/message_client.py +49 -0
- tencentcloud/message/v20181225/models.py +138 -0
- tencentcloud/teo/v20220901/teo_client.py +3 -3
- {tencentcloud_sdk_python_intl_en-3.0.1286.dist-info → tencentcloud_sdk_python_intl_en-3.0.1288.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1286.dist-info → tencentcloud_sdk_python_intl_en-3.0.1288.dist-info}/RECORD +17 -12
- {tencentcloud_sdk_python_intl_en-3.0.1286.dist-info → tencentcloud_sdk_python_intl_en-3.0.1288.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1286.dist-info → tencentcloud_sdk_python_intl_en-3.0.1288.dist-info}/top_level.txt +0 -0
|
@@ -598,6 +598,42 @@ Valid values: `6000`, `7000`, `8000`, `10000`, `12000`, `14000`, `16000`, `20000
|
|
|
598
598
|
|
|
599
599
|
|
|
600
600
|
|
|
601
|
+
class AbWatermarkSettingsReq(AbstractModel):
|
|
602
|
+
r"""
|
|
603
|
+
|
|
604
|
+
"""
|
|
605
|
+
|
|
606
|
+
def __init__(self):
|
|
607
|
+
r"""
|
|
608
|
+
:param _Type:
|
|
609
|
+
:type Type: str
|
|
610
|
+
"""
|
|
611
|
+
self._Type = None
|
|
612
|
+
|
|
613
|
+
@property
|
|
614
|
+
def Type(self):
|
|
615
|
+
r"""
|
|
616
|
+
:rtype: str
|
|
617
|
+
"""
|
|
618
|
+
return self._Type
|
|
619
|
+
|
|
620
|
+
@Type.setter
|
|
621
|
+
def Type(self, Type):
|
|
622
|
+
self._Type = Type
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
def _deserialize(self, params):
|
|
626
|
+
self._Type = params.get("Type")
|
|
627
|
+
memeber_set = set(params.keys())
|
|
628
|
+
for name, value in vars(self).items():
|
|
629
|
+
property_name = name[1:]
|
|
630
|
+
if property_name in memeber_set:
|
|
631
|
+
memeber_set.remove(property_name)
|
|
632
|
+
if len(memeber_set) > 0:
|
|
633
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
|
|
601
637
|
class AdditionalRateSetting(AbstractModel):
|
|
602
638
|
r"""additional bit rate configuration.
|
|
603
639
|
|
|
@@ -2769,11 +2805,14 @@ class CreateStreamLiveWatermarkRequest(AbstractModel):
|
|
|
2769
2805
|
:type ImageSettings: :class:`tencentcloud.mdl.v20200326.models.CreateImageSettings`
|
|
2770
2806
|
:param _TextSettings: Watermark text settings. This parameter is valid if `Type` is `TEXT`.
|
|
2771
2807
|
:type TextSettings: :class:`tencentcloud.mdl.v20200326.models.CreateTextSettings`
|
|
2808
|
+
:param _AbWatermarkSettings: AB watermark configuration
|
|
2809
|
+
:type AbWatermarkSettings: :class:`tencentcloud.mdl.v20200326.models.AbWatermarkSettingsReq`
|
|
2772
2810
|
"""
|
|
2773
2811
|
self._Name = None
|
|
2774
2812
|
self._Type = None
|
|
2775
2813
|
self._ImageSettings = None
|
|
2776
2814
|
self._TextSettings = None
|
|
2815
|
+
self._AbWatermarkSettings = None
|
|
2777
2816
|
|
|
2778
2817
|
@property
|
|
2779
2818
|
def Name(self):
|
|
@@ -2819,6 +2858,17 @@ class CreateStreamLiveWatermarkRequest(AbstractModel):
|
|
|
2819
2858
|
def TextSettings(self, TextSettings):
|
|
2820
2859
|
self._TextSettings = TextSettings
|
|
2821
2860
|
|
|
2861
|
+
@property
|
|
2862
|
+
def AbWatermarkSettings(self):
|
|
2863
|
+
r"""AB watermark configuration
|
|
2864
|
+
:rtype: :class:`tencentcloud.mdl.v20200326.models.AbWatermarkSettingsReq`
|
|
2865
|
+
"""
|
|
2866
|
+
return self._AbWatermarkSettings
|
|
2867
|
+
|
|
2868
|
+
@AbWatermarkSettings.setter
|
|
2869
|
+
def AbWatermarkSettings(self, AbWatermarkSettings):
|
|
2870
|
+
self._AbWatermarkSettings = AbWatermarkSettings
|
|
2871
|
+
|
|
2822
2872
|
|
|
2823
2873
|
def _deserialize(self, params):
|
|
2824
2874
|
self._Name = params.get("Name")
|
|
@@ -2829,6 +2879,9 @@ class CreateStreamLiveWatermarkRequest(AbstractModel):
|
|
|
2829
2879
|
if params.get("TextSettings") is not None:
|
|
2830
2880
|
self._TextSettings = CreateTextSettings()
|
|
2831
2881
|
self._TextSettings._deserialize(params.get("TextSettings"))
|
|
2882
|
+
if params.get("AbWatermarkSettings") is not None:
|
|
2883
|
+
self._AbWatermarkSettings = AbWatermarkSettingsReq()
|
|
2884
|
+
self._AbWatermarkSettings._deserialize(params.get("AbWatermarkSettings"))
|
|
2832
2885
|
memeber_set = set(params.keys())
|
|
2833
2886
|
for name, value in vars(self).items():
|
|
2834
2887
|
property_name = name[1:]
|
|
@@ -3629,7 +3682,7 @@ class DescribeStreamLiveChannelAlertsResponse(AbstractModel):
|
|
|
3629
3682
|
|
|
3630
3683
|
def __init__(self):
|
|
3631
3684
|
r"""
|
|
3632
|
-
:param _Infos: Alarm information of the channel
|
|
3685
|
+
:param _Infos: Alarm information of the channel's two pipelines
|
|
3633
3686
|
:type Infos: :class:`tencentcloud.mdl.v20200326.models.ChannelAlertInfos`
|
|
3634
3687
|
: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.
|
|
3635
3688
|
:type RequestId: str
|
|
@@ -3639,7 +3692,7 @@ class DescribeStreamLiveChannelAlertsResponse(AbstractModel):
|
|
|
3639
3692
|
|
|
3640
3693
|
@property
|
|
3641
3694
|
def Infos(self):
|
|
3642
|
-
r"""Alarm information of the channel
|
|
3695
|
+
r"""Alarm information of the channel's two pipelines
|
|
3643
3696
|
:rtype: :class:`tencentcloud.mdl.v20200326.models.ChannelAlertInfos`
|
|
3644
3697
|
"""
|
|
3645
3698
|
return self._Infos
|
|
@@ -8446,11 +8499,14 @@ class ModifyStreamLiveWatermarkRequest(AbstractModel):
|
|
|
8446
8499
|
:type ImageSettings: :class:`tencentcloud.mdl.v20200326.models.CreateImageSettings`
|
|
8447
8500
|
:param _TextSettings: Watermark text settings. This parameter is valid if `Type` is `TEXT`.
|
|
8448
8501
|
:type TextSettings: :class:`tencentcloud.mdl.v20200326.models.CreateTextSettings`
|
|
8502
|
+
:param _AbWatermarkSettings:
|
|
8503
|
+
:type AbWatermarkSettings: :class:`tencentcloud.mdl.v20200326.models.AbWatermarkSettingsReq`
|
|
8449
8504
|
"""
|
|
8450
8505
|
self._Id = None
|
|
8451
8506
|
self._Name = None
|
|
8452
8507
|
self._ImageSettings = None
|
|
8453
8508
|
self._TextSettings = None
|
|
8509
|
+
self._AbWatermarkSettings = None
|
|
8454
8510
|
|
|
8455
8511
|
@property
|
|
8456
8512
|
def Id(self):
|
|
@@ -8496,6 +8552,17 @@ class ModifyStreamLiveWatermarkRequest(AbstractModel):
|
|
|
8496
8552
|
def TextSettings(self, TextSettings):
|
|
8497
8553
|
self._TextSettings = TextSettings
|
|
8498
8554
|
|
|
8555
|
+
@property
|
|
8556
|
+
def AbWatermarkSettings(self):
|
|
8557
|
+
r"""
|
|
8558
|
+
:rtype: :class:`tencentcloud.mdl.v20200326.models.AbWatermarkSettingsReq`
|
|
8559
|
+
"""
|
|
8560
|
+
return self._AbWatermarkSettings
|
|
8561
|
+
|
|
8562
|
+
@AbWatermarkSettings.setter
|
|
8563
|
+
def AbWatermarkSettings(self, AbWatermarkSettings):
|
|
8564
|
+
self._AbWatermarkSettings = AbWatermarkSettings
|
|
8565
|
+
|
|
8499
8566
|
|
|
8500
8567
|
def _deserialize(self, params):
|
|
8501
8568
|
self._Id = params.get("Id")
|
|
@@ -8506,6 +8573,9 @@ class ModifyStreamLiveWatermarkRequest(AbstractModel):
|
|
|
8506
8573
|
if params.get("TextSettings") is not None:
|
|
8507
8574
|
self._TextSettings = CreateTextSettings()
|
|
8508
8575
|
self._TextSettings._deserialize(params.get("TextSettings"))
|
|
8576
|
+
if params.get("AbWatermarkSettings") is not None:
|
|
8577
|
+
self._AbWatermarkSettings = AbWatermarkSettingsReq()
|
|
8578
|
+
self._AbWatermarkSettings._deserialize(params.get("AbWatermarkSettings"))
|
|
8509
8579
|
memeber_set = set(params.keys())
|
|
8510
8580
|
for name, value in vars(self).items():
|
|
8511
8581
|
property_name = name[1:]
|
|
@@ -739,6 +739,8 @@ class ClipRangeInfo(AbstractModel):
|
|
|
739
739
|
|
|
740
740
|
@property
|
|
741
741
|
def Offset(self):
|
|
742
|
+
warnings.warn("parameter `Offset` is deprecated", DeprecationWarning)
|
|
743
|
+
|
|
742
744
|
r"""Offset, valid when Type is SpecifyTimeRange.
|
|
743
745
|
:rtype: int
|
|
744
746
|
"""
|
|
@@ -746,6 +748,8 @@ class ClipRangeInfo(AbstractModel):
|
|
|
746
748
|
|
|
747
749
|
@Offset.setter
|
|
748
750
|
def Offset(self, Offset):
|
|
751
|
+
warnings.warn("parameter `Offset` is deprecated", DeprecationWarning)
|
|
752
|
+
|
|
749
753
|
self._Offset = Offset
|
|
750
754
|
|
|
751
755
|
|
|
@@ -1164,7 +1168,7 @@ class CreateStreamPackageChannelRequest(AbstractModel):
|
|
|
1164
1168
|
r"""
|
|
1165
1169
|
:param _Name: Channel name.
|
|
1166
1170
|
:type Name: str
|
|
1167
|
-
:param _Protocol: Channel protocol. Valid values: HLS
|
|
1171
|
+
:param _Protocol: Channel protocol. Valid values: HLS/DASH.
|
|
1168
1172
|
:type Protocol: str
|
|
1169
1173
|
:param _CacheInfo: Cache configuration.
|
|
1170
1174
|
:type CacheInfo: :class:`tencentcloud.mdp.v20200527.models.CacheInfo`
|
|
@@ -1186,7 +1190,7 @@ class CreateStreamPackageChannelRequest(AbstractModel):
|
|
|
1186
1190
|
|
|
1187
1191
|
@property
|
|
1188
1192
|
def Protocol(self):
|
|
1189
|
-
r"""Channel protocol. Valid values: HLS
|
|
1193
|
+
r"""Channel protocol. Valid values: HLS/DASH.
|
|
1190
1194
|
:rtype: str
|
|
1191
1195
|
"""
|
|
1192
1196
|
return self._Protocol
|
|
@@ -2087,11 +2091,14 @@ class CreateStreamPackageSourceRequest(AbstractModel):
|
|
|
2087
2091
|
:type Type: str
|
|
2088
2092
|
:param _PackageConfs: source specific configuration.
|
|
2089
2093
|
:type PackageConfs: list of SourcePackageConf
|
|
2094
|
+
:param _SourceTags: The sourcetag allows ADS to deliver more precise ads based on the Source Tag information
|
|
2095
|
+
:type SourceTags: list of SourceTag
|
|
2090
2096
|
"""
|
|
2091
2097
|
self._AttachedLocation = None
|
|
2092
2098
|
self._Name = None
|
|
2093
2099
|
self._Type = None
|
|
2094
2100
|
self._PackageConfs = None
|
|
2101
|
+
self._SourceTags = None
|
|
2095
2102
|
|
|
2096
2103
|
@property
|
|
2097
2104
|
def AttachedLocation(self):
|
|
@@ -2137,6 +2144,17 @@ class CreateStreamPackageSourceRequest(AbstractModel):
|
|
|
2137
2144
|
def PackageConfs(self, PackageConfs):
|
|
2138
2145
|
self._PackageConfs = PackageConfs
|
|
2139
2146
|
|
|
2147
|
+
@property
|
|
2148
|
+
def SourceTags(self):
|
|
2149
|
+
r"""The sourcetag allows ADS to deliver more precise ads based on the Source Tag information
|
|
2150
|
+
:rtype: list of SourceTag
|
|
2151
|
+
"""
|
|
2152
|
+
return self._SourceTags
|
|
2153
|
+
|
|
2154
|
+
@SourceTags.setter
|
|
2155
|
+
def SourceTags(self, SourceTags):
|
|
2156
|
+
self._SourceTags = SourceTags
|
|
2157
|
+
|
|
2140
2158
|
|
|
2141
2159
|
def _deserialize(self, params):
|
|
2142
2160
|
self._AttachedLocation = params.get("AttachedLocation")
|
|
@@ -2148,6 +2166,12 @@ class CreateStreamPackageSourceRequest(AbstractModel):
|
|
|
2148
2166
|
obj = SourcePackageConf()
|
|
2149
2167
|
obj._deserialize(item)
|
|
2150
2168
|
self._PackageConfs.append(obj)
|
|
2169
|
+
if params.get("SourceTags") is not None:
|
|
2170
|
+
self._SourceTags = []
|
|
2171
|
+
for item in params.get("SourceTags"):
|
|
2172
|
+
obj = SourceTag()
|
|
2173
|
+
obj._deserialize(item)
|
|
2174
|
+
self._SourceTags.append(obj)
|
|
2151
2175
|
memeber_set = set(params.keys())
|
|
2152
2176
|
for name, value in vars(self).items():
|
|
2153
2177
|
property_name = name[1:]
|
|
@@ -8684,11 +8708,14 @@ Optional values: Live, VOD (on demand)
|
|
|
8684
8708
|
:type Type: str
|
|
8685
8709
|
:param _PackageConfs: source configuration.
|
|
8686
8710
|
:type PackageConfs: list of SourcePackageConf
|
|
8711
|
+
:param _SourceTags: ADS can return more precise advertisements based on Source Tag information.
|
|
8712
|
+
:type SourceTags: list of SourceTag
|
|
8687
8713
|
"""
|
|
8688
8714
|
self._Id = None
|
|
8689
8715
|
self._Name = None
|
|
8690
8716
|
self._Type = None
|
|
8691
8717
|
self._PackageConfs = None
|
|
8718
|
+
self._SourceTags = None
|
|
8692
8719
|
|
|
8693
8720
|
@property
|
|
8694
8721
|
def Id(self):
|
|
@@ -8735,6 +8762,17 @@ Optional values: Live, VOD (on demand)
|
|
|
8735
8762
|
def PackageConfs(self, PackageConfs):
|
|
8736
8763
|
self._PackageConfs = PackageConfs
|
|
8737
8764
|
|
|
8765
|
+
@property
|
|
8766
|
+
def SourceTags(self):
|
|
8767
|
+
r"""ADS can return more precise advertisements based on Source Tag information.
|
|
8768
|
+
:rtype: list of SourceTag
|
|
8769
|
+
"""
|
|
8770
|
+
return self._SourceTags
|
|
8771
|
+
|
|
8772
|
+
@SourceTags.setter
|
|
8773
|
+
def SourceTags(self, SourceTags):
|
|
8774
|
+
self._SourceTags = SourceTags
|
|
8775
|
+
|
|
8738
8776
|
|
|
8739
8777
|
def _deserialize(self, params):
|
|
8740
8778
|
self._Id = params.get("Id")
|
|
@@ -8746,6 +8784,12 @@ Optional values: Live, VOD (on demand)
|
|
|
8746
8784
|
obj = SourcePackageConf()
|
|
8747
8785
|
obj._deserialize(item)
|
|
8748
8786
|
self._PackageConfs.append(obj)
|
|
8787
|
+
if params.get("SourceTags") is not None:
|
|
8788
|
+
self._SourceTags = []
|
|
8789
|
+
for item in params.get("SourceTags"):
|
|
8790
|
+
obj = SourceTag()
|
|
8791
|
+
obj._deserialize(item)
|
|
8792
|
+
self._SourceTags.append(obj)
|
|
8749
8793
|
memeber_set = set(params.keys())
|
|
8750
8794
|
for name, value in vars(self).items():
|
|
8751
8795
|
property_name = name[1:]
|
|
@@ -10917,6 +10961,60 @@ class SourcePackageConf(AbstractModel):
|
|
|
10917
10961
|
|
|
10918
10962
|
|
|
10919
10963
|
|
|
10964
|
+
class SourceTag(AbstractModel):
|
|
10965
|
+
r"""type SourceTag struct {
|
|
10966
|
+
Key string `json:"Key"`
|
|
10967
|
+
Value string `json:"Value"`
|
|
10968
|
+
}
|
|
10969
|
+
|
|
10970
|
+
"""
|
|
10971
|
+
|
|
10972
|
+
def __init__(self):
|
|
10973
|
+
r"""
|
|
10974
|
+
:param _Key:
|
|
10975
|
+
:type Key: str
|
|
10976
|
+
:param _Value:
|
|
10977
|
+
:type Value: str
|
|
10978
|
+
"""
|
|
10979
|
+
self._Key = None
|
|
10980
|
+
self._Value = None
|
|
10981
|
+
|
|
10982
|
+
@property
|
|
10983
|
+
def Key(self):
|
|
10984
|
+
r"""
|
|
10985
|
+
:rtype: str
|
|
10986
|
+
"""
|
|
10987
|
+
return self._Key
|
|
10988
|
+
|
|
10989
|
+
@Key.setter
|
|
10990
|
+
def Key(self, Key):
|
|
10991
|
+
self._Key = Key
|
|
10992
|
+
|
|
10993
|
+
@property
|
|
10994
|
+
def Value(self):
|
|
10995
|
+
r"""
|
|
10996
|
+
:rtype: str
|
|
10997
|
+
"""
|
|
10998
|
+
return self._Value
|
|
10999
|
+
|
|
11000
|
+
@Value.setter
|
|
11001
|
+
def Value(self, Value):
|
|
11002
|
+
self._Value = Value
|
|
11003
|
+
|
|
11004
|
+
|
|
11005
|
+
def _deserialize(self, params):
|
|
11006
|
+
self._Key = params.get("Key")
|
|
11007
|
+
self._Value = params.get("Value")
|
|
11008
|
+
memeber_set = set(params.keys())
|
|
11009
|
+
for name, value in vars(self).items():
|
|
11010
|
+
property_name = name[1:]
|
|
11011
|
+
if property_name in memeber_set:
|
|
11012
|
+
memeber_set.remove(property_name)
|
|
11013
|
+
if len(memeber_set) > 0:
|
|
11014
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11015
|
+
|
|
11016
|
+
|
|
11017
|
+
|
|
10920
11018
|
class SpliceInsertInfo(AbstractModel):
|
|
10921
11019
|
r"""SpliceInsertInfo.
|
|
10922
11020
|
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# Internal error.
|
|
18
|
+
INTERNALERROR = 'InternalError'
|
|
19
|
+
|
|
20
|
+
# Parameter error.
|
|
21
|
+
INVALIDPARAMETER_ = 'InvalidParameter.'
|
|
22
|
+
|
|
23
|
+
# Message type does not exist.
|
|
24
|
+
INVALIDPARAMETER_MSGTYPENOTEXIST = 'InvalidParameter.MsgTypeNotExist'
|
|
25
|
+
|
|
26
|
+
# The user does not exist.
|
|
27
|
+
INVALIDPARAMETER_USERNOTEXIST = 'InvalidParameter.UserNotExist'
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
import json
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
|
19
|
+
from tencentcloud.common.abstract_client import AbstractClient
|
|
20
|
+
from tencentcloud.message.v20181225 import models
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class MessageClient(AbstractClient):
|
|
24
|
+
_apiVersion = '2018-12-25'
|
|
25
|
+
_endpoint = 'message.intl.tencentcloudapi.com'
|
|
26
|
+
_service = 'message'
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
def ModifySendChannelOnMsgTypes(self, request):
|
|
30
|
+
r"""This API is used to batch modify delivery methods.
|
|
31
|
+
|
|
32
|
+
:param request: Request instance for ModifySendChannelOnMsgTypes.
|
|
33
|
+
:type request: :class:`tencentcloud.message.v20181225.models.ModifySendChannelOnMsgTypesRequest`
|
|
34
|
+
:rtype: :class:`tencentcloud.message.v20181225.models.ModifySendChannelOnMsgTypesResponse`
|
|
35
|
+
|
|
36
|
+
"""
|
|
37
|
+
try:
|
|
38
|
+
params = request._serialize()
|
|
39
|
+
headers = request.headers
|
|
40
|
+
body = self.call("ModifySendChannelOnMsgTypes", params, headers=headers)
|
|
41
|
+
response = json.loads(body)
|
|
42
|
+
model = models.ModifySendChannelOnMsgTypesResponse()
|
|
43
|
+
model._deserialize(response["Response"])
|
|
44
|
+
return model
|
|
45
|
+
except Exception as e:
|
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
|
47
|
+
raise
|
|
48
|
+
else:
|
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
# -*- coding: utf8 -*-
|
|
2
|
+
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
|
3
|
+
#
|
|
4
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
# you may not use this file except in compliance with the License.
|
|
6
|
+
# You may obtain a copy of the License at
|
|
7
|
+
#
|
|
8
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
#
|
|
10
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
# See the License for the specific language governing permissions and
|
|
14
|
+
# limitations under the License.
|
|
15
|
+
|
|
16
|
+
import warnings
|
|
17
|
+
|
|
18
|
+
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
class ModifySendChannelOnMsgTypesRequest(AbstractModel):
|
|
22
|
+
r"""ModifySendChannelOnMsgTypes request structure.
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _SendTypes: Message sending channel.
|
|
29
|
+
:type SendTypes: list of SendType
|
|
30
|
+
"""
|
|
31
|
+
self._SendTypes = None
|
|
32
|
+
|
|
33
|
+
@property
|
|
34
|
+
def SendTypes(self):
|
|
35
|
+
r"""Message sending channel.
|
|
36
|
+
:rtype: list of SendType
|
|
37
|
+
"""
|
|
38
|
+
return self._SendTypes
|
|
39
|
+
|
|
40
|
+
@SendTypes.setter
|
|
41
|
+
def SendTypes(self, SendTypes):
|
|
42
|
+
self._SendTypes = SendTypes
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def _deserialize(self, params):
|
|
46
|
+
if params.get("SendTypes") is not None:
|
|
47
|
+
self._SendTypes = []
|
|
48
|
+
for item in params.get("SendTypes"):
|
|
49
|
+
obj = SendType()
|
|
50
|
+
obj._deserialize(item)
|
|
51
|
+
self._SendTypes.append(obj)
|
|
52
|
+
memeber_set = set(params.keys())
|
|
53
|
+
for name, value in vars(self).items():
|
|
54
|
+
property_name = name[1:]
|
|
55
|
+
if property_name in memeber_set:
|
|
56
|
+
memeber_set.remove(property_name)
|
|
57
|
+
if len(memeber_set) > 0:
|
|
58
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
class ModifySendChannelOnMsgTypesResponse(AbstractModel):
|
|
63
|
+
r"""ModifySendChannelOnMsgTypes response structure.
|
|
64
|
+
|
|
65
|
+
"""
|
|
66
|
+
|
|
67
|
+
def __init__(self):
|
|
68
|
+
r"""
|
|
69
|
+
: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.
|
|
70
|
+
:type RequestId: str
|
|
71
|
+
"""
|
|
72
|
+
self._RequestId = None
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
def RequestId(self):
|
|
76
|
+
r"""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.
|
|
77
|
+
:rtype: str
|
|
78
|
+
"""
|
|
79
|
+
return self._RequestId
|
|
80
|
+
|
|
81
|
+
@RequestId.setter
|
|
82
|
+
def RequestId(self, RequestId):
|
|
83
|
+
self._RequestId = RequestId
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
def _deserialize(self, params):
|
|
87
|
+
self._RequestId = params.get("RequestId")
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
class SendType(AbstractModel):
|
|
91
|
+
r"""Message type sending channel.
|
|
92
|
+
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
def __init__(self):
|
|
96
|
+
r"""
|
|
97
|
+
:param _MsgType: Message type.
|
|
98
|
+
:type MsgType: int
|
|
99
|
+
:param _SendChannel: Delivery channel.
|
|
100
|
+
:type SendChannel: int
|
|
101
|
+
"""
|
|
102
|
+
self._MsgType = None
|
|
103
|
+
self._SendChannel = None
|
|
104
|
+
|
|
105
|
+
@property
|
|
106
|
+
def MsgType(self):
|
|
107
|
+
r"""Message type.
|
|
108
|
+
:rtype: int
|
|
109
|
+
"""
|
|
110
|
+
return self._MsgType
|
|
111
|
+
|
|
112
|
+
@MsgType.setter
|
|
113
|
+
def MsgType(self, MsgType):
|
|
114
|
+
self._MsgType = MsgType
|
|
115
|
+
|
|
116
|
+
@property
|
|
117
|
+
def SendChannel(self):
|
|
118
|
+
r"""Delivery channel.
|
|
119
|
+
:rtype: int
|
|
120
|
+
"""
|
|
121
|
+
return self._SendChannel
|
|
122
|
+
|
|
123
|
+
@SendChannel.setter
|
|
124
|
+
def SendChannel(self, SendChannel):
|
|
125
|
+
self._SendChannel = SendChannel
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def _deserialize(self, params):
|
|
129
|
+
self._MsgType = params.get("MsgType")
|
|
130
|
+
self._SendChannel = params.get("SendChannel")
|
|
131
|
+
memeber_set = set(params.keys())
|
|
132
|
+
for name, value in vars(self).items():
|
|
133
|
+
property_name = name[1:]
|
|
134
|
+
if property_name in memeber_set:
|
|
135
|
+
memeber_set.remove(property_name)
|
|
136
|
+
if len(memeber_set) > 0:
|
|
137
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
138
|
+
|
|
@@ -1611,7 +1611,7 @@ class TeoClient(AbstractClient):
|
|
|
1611
1611
|
|
|
1612
1612
|
def DescribeAliasDomains(self, request):
|
|
1613
1613
|
r"""This API is used to query the alias domain name information list.
|
|
1614
|
-
The feature is only supported in the enterprise plan and is currently in closed beta testing. If you need to use it, [Contact Us](https://
|
|
1614
|
+
The feature is only supported in the enterprise plan and is currently in closed beta testing. If you need to use it, [Contact Us](https://www.tencentcloud.com/contact-us).
|
|
1615
1615
|
|
|
1616
1616
|
:param request: Request instance for DescribeAliasDomains.
|
|
1617
1617
|
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeAliasDomainsRequest`
|
|
@@ -3100,7 +3100,7 @@ class TeoClient(AbstractClient):
|
|
|
3100
3100
|
1. The plan has expired (except for the Enterprise Edition Plan);
|
|
3101
3101
|
2. All sites under the plan have been either shut down or deleted.
|
|
3102
3102
|
|
|
3103
|
-
> The site status can be queried through the [Query Site List](https://
|
|
3103
|
+
> The site status can be queried through the [Query Site List](https://www.tencentcloud.com/zh/document/product/1145/50481) interface.
|
|
3104
3104
|
A site can be deactivated by switching the site to a closed status through the [Switch Site Status](https://intl.cloud.tencent.com/document/product/1552/80707?from_cn_redirect=1) interface.
|
|
3105
3105
|
A site can be deleted by using the [Delete Site](https://intl.cloud.tencent.com/document/product/1552/80717?from_cn_redirect=1) interface.
|
|
3106
3106
|
|
|
@@ -3895,7 +3895,7 @@ class TeoClient(AbstractClient):
|
|
|
3895
3895
|
|
|
3896
3896
|
|
|
3897
3897
|
def ModifyLoadBalancer(self, request):
|
|
3898
|
-
r"""This API is used to modify LoadBalancer configuration. The load balancing feature is in beta test. If you need to use it, [contact us](https://
|
|
3898
|
+
r"""This API is used to modify LoadBalancer configuration. The load balancing feature is in beta test. If you need to use it, [contact us](https://www.tencentcloud.com/contact-us).
|
|
3899
3899
|
|
|
3900
3900
|
:param request: Request instance for ModifyLoadBalancer.
|
|
3901
3901
|
:type request: :class:`tencentcloud.teo.v20220901.models.ModifyLoadBalancerRequest`
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=nSPhTRl3LpXIY_4ufSbcMgRZdtn87Qx3zQH9EO-t_-Q,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=PI6LX0PouoGb8e_ydQ9rATqY795jQh7JPK2COE_oH-Q,2899
|
|
@@ -200,8 +200,8 @@ tencentcloud/ctsdb/v20230202/models.py,sha256=BPcAb1ypOJaIpQNvkYSyXIT2KeOO8HWim3
|
|
|
200
200
|
tencentcloud/cvm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
201
201
|
tencentcloud/cvm/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
202
202
|
tencentcloud/cvm/v20170312/cvm_client.py,sha256=QwpXxYhJY0Jfnm3nzAclj-0KdIU0uzP_TOrBUOrAZr0,103055
|
|
203
|
-
tencentcloud/cvm/v20170312/errorcodes.py,sha256=
|
|
204
|
-
tencentcloud/cvm/v20170312/models.py,sha256=
|
|
203
|
+
tencentcloud/cvm/v20170312/errorcodes.py,sha256=vzqK5iQPcORc8X6cF-vHrfZO4ZjvO9iqp-AhQ0JfZ90,57271
|
|
204
|
+
tencentcloud/cvm/v20170312/models.py,sha256=fX9YUu1aNR5dpaBx306y0Xb4Q2Ofi2g9dtfHAAyZDAM,827020
|
|
205
205
|
tencentcloud/cwp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
206
206
|
tencentcloud/cwp/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
207
207
|
tencentcloud/cwp/v20180228/cwp_client.py,sha256=cvTAxQ5gLpderI3wjGkfKrPRIexKM9vygt36y6ZDH3s,444575
|
|
@@ -243,9 +243,9 @@ tencentcloud/dcdb/v20180411/errorcodes.py,sha256=N__WJ70XTRcqJwXxMF2KDrNa6O7LJBO
|
|
|
243
243
|
tencentcloud/dcdb/v20180411/models.py,sha256=xXwJdWC2Lafh_p8YrN1aygXt7f0J7f9MirFt2JI97Ls,461989
|
|
244
244
|
tencentcloud/dlc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
245
245
|
tencentcloud/dlc/v20210125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
246
|
-
tencentcloud/dlc/v20210125/dlc_client.py,sha256=
|
|
246
|
+
tencentcloud/dlc/v20210125/dlc_client.py,sha256=7MJ4qWkrekltAt1fsIwmUYuKZFSz1cLgFC1J87D4uwc,99542
|
|
247
247
|
tencentcloud/dlc/v20210125/errorcodes.py,sha256=f0QStwofoAwEbv1pTNlRjRnDm5dv0fNcp-PDqVbyr2o,31542
|
|
248
|
-
tencentcloud/dlc/v20210125/models.py,sha256=
|
|
248
|
+
tencentcloud/dlc/v20210125/models.py,sha256=UDDuQ59kBfT9s6yCaA13No3dL_6vGBrsHsgdCYFyvts,824472
|
|
249
249
|
tencentcloud/dms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
250
250
|
tencentcloud/dms/v20200819/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
251
251
|
tencentcloud/dms/v20200819/dms_client.py,sha256=rbd9TqhAUebfyTNh-_MXic9EGgATMaf4WLf29rpq7Ek,2718
|
|
@@ -409,12 +409,17 @@ tencentcloud/mdl/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
|
409
409
|
tencentcloud/mdl/v20200326/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
410
410
|
tencentcloud/mdl/v20200326/errorcodes.py,sha256=cb25jEY97KZ7-16TIkdjJdYkNjtHvudGZ_1epZS1fBo,3194
|
|
411
411
|
tencentcloud/mdl/v20200326/mdl_client.py,sha256=YrvvuqGrIgSJ9WBXrY4_Q9rbcOXSXMb5fSl-zmy-KVo,32736
|
|
412
|
-
tencentcloud/mdl/v20200326/models.py,sha256=
|
|
412
|
+
tencentcloud/mdl/v20200326/models.py,sha256=7Mk8dsFB33D_26KZEEbbL3mzvyc73VSF7M1Od1lA4S0,433820
|
|
413
413
|
tencentcloud/mdp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
414
414
|
tencentcloud/mdp/v20200527/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
415
415
|
tencentcloud/mdp/v20200527/errorcodes.py,sha256=p99PwKKV4u52hUvw70jpUQzbBZednyQOYLPidqmhAts,2850
|
|
416
416
|
tencentcloud/mdp/v20200527/mdp_client.py,sha256=qwkmBDnNLn2lDcjUgkgezCY_Ps5ERCAYqMt79LppMOE,61172
|
|
417
|
-
tencentcloud/mdp/v20200527/models.py,sha256=
|
|
417
|
+
tencentcloud/mdp/v20200527/models.py,sha256=8ng36MeFKlRO3xsWAMBOiYCotrvVK-rPOJKUbe5raOI,366682
|
|
418
|
+
tencentcloud/message/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
419
|
+
tencentcloud/message/v20181225/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
420
|
+
tencentcloud/message/v20181225/errorcodes.py,sha256=CukHjHpyViLIs-Wx9GCaDn7srdXtoseMmJ7-aKakyek,930
|
|
421
|
+
tencentcloud/message/v20181225/message_client.py,sha256=aOLXtWA2kdii5_kSfbJDnZg2g-cdyZ4KvdXcfeRnsm8,1961
|
|
422
|
+
tencentcloud/message/v20181225/models.py,sha256=NOjgl7wn7h1Yia58C75ZKK4CHrm6Jo7BqAPmMxYnNqk,4158
|
|
418
423
|
tencentcloud/mongodb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
419
424
|
tencentcloud/mongodb/v20190725/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
420
425
|
tencentcloud/mongodb/v20190725/errorcodes.py,sha256=FY76Gg6i_g7wFuILwh8KcrEb6jAnay2N0r7EbHVbKkE,7405
|
|
@@ -605,7 +610,7 @@ tencentcloud/teo/v20220106/teo_client.py,sha256=pFawOB_-KDT4xTmSKOYiUJCHHGUNx9gm
|
|
|
605
610
|
tencentcloud/teo/v20220901/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
606
611
|
tencentcloud/teo/v20220901/errorcodes.py,sha256=NfpPrKMLyN7gMLmypQIyc5uKqdeZ_os3MUVmXJRrW7s,64124
|
|
607
612
|
tencentcloud/teo/v20220901/models.py,sha256=WEvDhGIs4DIKmsXEdoyHpM5eB2O97Ufa0k-10fcT_Vs,1959023
|
|
608
|
-
tencentcloud/teo/v20220901/teo_client.py,sha256=
|
|
613
|
+
tencentcloud/teo/v20220901/teo_client.py,sha256=FxG9-A20i1FmTj5eCCEv8qGzxLIIEXgUkFSj880DIGY,206191
|
|
609
614
|
tencentcloud/tione/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
610
615
|
tencentcloud/tione/v20211111/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
611
616
|
tencentcloud/tione/v20211111/errorcodes.py,sha256=1Pq2FzB1tPF3y62Sz6glNNWo9_9PhntifIredoVAbgs,2844
|
|
@@ -698,7 +703,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
698
703
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=g2ac3Fxgbof23WWhGj9VxvuLJZNshnB0Mg7jWUzTh24,3168
|
|
699
704
|
tencentcloud/yunjing/v20180228/models.py,sha256=nivJxxJYNvW-I_WWuoZj5RJaexdeSctX04e7osSjSUo,331388
|
|
700
705
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=XYRY2x9Bs-06YaFx6swLlxuqhNRuykLZuIte6bc8T2E,67433
|
|
701
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
702
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
703
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
704
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
706
|
+
tencentcloud_sdk_python_intl_en-3.0.1288.dist-info/METADATA,sha256=G3g6aiIfkOWKp_A9QUoUowAiOgo64thxqmw5aYL5HYY,1628
|
|
707
|
+
tencentcloud_sdk_python_intl_en-3.0.1288.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
708
|
+
tencentcloud_sdk_python_intl_en-3.0.1288.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
709
|
+
tencentcloud_sdk_python_intl_en-3.0.1288.dist-info/RECORD,,
|
|
File without changes
|