tencentcloud-sdk-python 3.0.1227__py2.py3-none-any.whl → 3.0.1229__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/aiart/v20221229/aiart_client.py +24 -0
- tencentcloud/aiart/v20221229/models.py +173 -0
- tencentcloud/cfg/v20210820/models.py +13 -0
- tencentcloud/ckafka/v20190819/models.py +5 -1
- tencentcloud/cvm/v20170312/cvm_client.py +23 -0
- tencentcloud/cvm/v20170312/errorcodes.py +24 -0
- tencentcloud/cvm/v20170312/models.py +170 -0
- tencentcloud/dc/v20180410/dc_client.py +4 -4
- tencentcloud/dc/v20180410/models.py +6 -7
- tencentcloud/dcdb/v20180411/dcdb_client.py +48 -0
- tencentcloud/dcdb/v20180411/models.py +518 -0
- tencentcloud/dlc/v20210125/dlc_client.py +46 -0
- tencentcloud/dlc/v20210125/models.py +142 -0
- tencentcloud/dnspod/v20210323/dnspod_client.py +23 -0
- tencentcloud/dnspod/v20210323/models.py +185 -0
- tencentcloud/dts/v20211206/errorcodes.py +3 -0
- tencentcloud/emr/v20190103/emr_client.py +142 -0
- tencentcloud/emr/v20190103/errorcodes.py +9 -0
- tencentcloud/emr/v20190103/models.py +2045 -760
- tencentcloud/es/v20180416/es_client.py +23 -0
- tencentcloud/es/v20180416/models.py +240 -0
- tencentcloud/ess/v20201111/errorcodes.py +3 -0
- tencentcloud/ess/v20201111/ess_client.py +23 -0
- tencentcloud/ess/v20201111/models.py +231 -0
- tencentcloud/essbasic/v20210526/essbasic_client.py +33 -0
- tencentcloud/essbasic/v20210526/models.py +172 -0
- tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +48 -0
- tencentcloud/mariadb/v20170312/models.py +519 -1
- tencentcloud/ocr/v20181119/models.py +14 -6
- tencentcloud/rce/v20201103/rce_client.py +2 -2
- tencentcloud/redis/v20180412/models.py +313 -0
- tencentcloud/redis/v20180412/redis_client.py +46 -0
- tencentcloud/sms/v20190711/errorcodes.py +3 -0
- tencentcloud/sms/v20190711/models.py +2 -2
- tencentcloud/sms/v20210111/errorcodes.py +3 -0
- tencentcloud/sms/v20210111/models.py +2 -2
- tencentcloud/teo/v20220901/models.py +27 -9
- tencentcloud/trtc/v20190722/models.py +13 -0
- tencentcloud/tse/v20201207/models.py +24 -24
- tencentcloud/tsf/v20180326/models.py +51 -0
- tencentcloud/vclm/v20240523/models.py +1 -1
- tencentcloud/vdb/v20230616/errorcodes.py +21 -0
- tencentcloud/vdb/v20230616/models.py +742 -0
- tencentcloud/vdb/v20230616/vdb_client.py +115 -0
- tencentcloud/vpc/v20170312/models.py +8 -5
- tencentcloud/vpc/v20170312/vpc_client.py +2 -2
- tencentcloud/vtc/v20240223/models.py +1 -1
- {tencentcloud_sdk_python-3.0.1227.dist-info → tencentcloud_sdk_python-3.0.1229.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1227.dist-info → tencentcloud_sdk_python-3.0.1229.dist-info}/RECORD +54 -54
- {tencentcloud_sdk_python-3.0.1227.dist-info → tencentcloud_sdk_python-3.0.1229.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1227.dist-info → tencentcloud_sdk_python-3.0.1229.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1227.dist-info → tencentcloud_sdk_python-3.0.1229.dist-info}/top_level.txt +0 -0
@@ -4909,6 +4909,78 @@ class DescribeInstanceEventsResponse(AbstractModel):
|
|
4909
4909
|
self._RequestId = params.get("RequestId")
|
4910
4910
|
|
4911
4911
|
|
4912
|
+
class DescribeInstanceLogDeliveryRequest(AbstractModel):
|
4913
|
+
"""DescribeInstanceLogDelivery请求参数结构体
|
4914
|
+
|
4915
|
+
"""
|
4916
|
+
|
4917
|
+
def __init__(self):
|
4918
|
+
r"""
|
4919
|
+
:param _InstanceId: 实例ID。
|
4920
|
+
:type InstanceId: str
|
4921
|
+
"""
|
4922
|
+
self._InstanceId = None
|
4923
|
+
|
4924
|
+
@property
|
4925
|
+
def InstanceId(self):
|
4926
|
+
return self._InstanceId
|
4927
|
+
|
4928
|
+
@InstanceId.setter
|
4929
|
+
def InstanceId(self, InstanceId):
|
4930
|
+
self._InstanceId = InstanceId
|
4931
|
+
|
4932
|
+
|
4933
|
+
def _deserialize(self, params):
|
4934
|
+
self._InstanceId = params.get("InstanceId")
|
4935
|
+
memeber_set = set(params.keys())
|
4936
|
+
for name, value in vars(self).items():
|
4937
|
+
property_name = name[1:]
|
4938
|
+
if property_name in memeber_set:
|
4939
|
+
memeber_set.remove(property_name)
|
4940
|
+
if len(memeber_set) > 0:
|
4941
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
4942
|
+
|
4943
|
+
|
4944
|
+
|
4945
|
+
class DescribeInstanceLogDeliveryResponse(AbstractModel):
|
4946
|
+
"""DescribeInstanceLogDelivery返回参数结构体
|
4947
|
+
|
4948
|
+
"""
|
4949
|
+
|
4950
|
+
def __init__(self):
|
4951
|
+
r"""
|
4952
|
+
:param _SlowLog: 实例慢日志投递信息。
|
4953
|
+
:type SlowLog: :class:`tencentcloud.redis.v20180412.models.LogDeliveryInfo`
|
4954
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4955
|
+
:type RequestId: str
|
4956
|
+
"""
|
4957
|
+
self._SlowLog = None
|
4958
|
+
self._RequestId = None
|
4959
|
+
|
4960
|
+
@property
|
4961
|
+
def SlowLog(self):
|
4962
|
+
return self._SlowLog
|
4963
|
+
|
4964
|
+
@SlowLog.setter
|
4965
|
+
def SlowLog(self, SlowLog):
|
4966
|
+
self._SlowLog = SlowLog
|
4967
|
+
|
4968
|
+
@property
|
4969
|
+
def RequestId(self):
|
4970
|
+
return self._RequestId
|
4971
|
+
|
4972
|
+
@RequestId.setter
|
4973
|
+
def RequestId(self, RequestId):
|
4974
|
+
self._RequestId = RequestId
|
4975
|
+
|
4976
|
+
|
4977
|
+
def _deserialize(self, params):
|
4978
|
+
if params.get("SlowLog") is not None:
|
4979
|
+
self._SlowLog = LogDeliveryInfo()
|
4980
|
+
self._SlowLog._deserialize(params.get("SlowLog"))
|
4981
|
+
self._RequestId = params.get("RequestId")
|
4982
|
+
|
4983
|
+
|
4912
4984
|
class DescribeInstanceMonitorBigKeyRequest(AbstractModel):
|
4913
4985
|
"""DescribeInstanceMonitorBigKey请求参数结构体
|
4914
4986
|
|
@@ -12580,6 +12652,79 @@ class KillMasterGroupResponse(AbstractModel):
|
|
12580
12652
|
self._RequestId = params.get("RequestId")
|
12581
12653
|
|
12582
12654
|
|
12655
|
+
class LogDeliveryInfo(AbstractModel):
|
12656
|
+
"""日志投递信息
|
12657
|
+
|
12658
|
+
"""
|
12659
|
+
|
12660
|
+
def __init__(self):
|
12661
|
+
r"""
|
12662
|
+
:param _Enabled: 日志投递开启状态,开启:true,关闭:false
|
12663
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12664
|
+
:type Enabled: bool
|
12665
|
+
:param _LogsetId: 日志集ID。
|
12666
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12667
|
+
:type LogsetId: str
|
12668
|
+
:param _TopicId: 日志主题ID。
|
12669
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12670
|
+
:type TopicId: str
|
12671
|
+
:param _LogRegion: 日志集所在地域
|
12672
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
12673
|
+
:type LogRegion: str
|
12674
|
+
"""
|
12675
|
+
self._Enabled = None
|
12676
|
+
self._LogsetId = None
|
12677
|
+
self._TopicId = None
|
12678
|
+
self._LogRegion = None
|
12679
|
+
|
12680
|
+
@property
|
12681
|
+
def Enabled(self):
|
12682
|
+
return self._Enabled
|
12683
|
+
|
12684
|
+
@Enabled.setter
|
12685
|
+
def Enabled(self, Enabled):
|
12686
|
+
self._Enabled = Enabled
|
12687
|
+
|
12688
|
+
@property
|
12689
|
+
def LogsetId(self):
|
12690
|
+
return self._LogsetId
|
12691
|
+
|
12692
|
+
@LogsetId.setter
|
12693
|
+
def LogsetId(self, LogsetId):
|
12694
|
+
self._LogsetId = LogsetId
|
12695
|
+
|
12696
|
+
@property
|
12697
|
+
def TopicId(self):
|
12698
|
+
return self._TopicId
|
12699
|
+
|
12700
|
+
@TopicId.setter
|
12701
|
+
def TopicId(self, TopicId):
|
12702
|
+
self._TopicId = TopicId
|
12703
|
+
|
12704
|
+
@property
|
12705
|
+
def LogRegion(self):
|
12706
|
+
return self._LogRegion
|
12707
|
+
|
12708
|
+
@LogRegion.setter
|
12709
|
+
def LogRegion(self, LogRegion):
|
12710
|
+
self._LogRegion = LogRegion
|
12711
|
+
|
12712
|
+
|
12713
|
+
def _deserialize(self, params):
|
12714
|
+
self._Enabled = params.get("Enabled")
|
12715
|
+
self._LogsetId = params.get("LogsetId")
|
12716
|
+
self._TopicId = params.get("TopicId")
|
12717
|
+
self._LogRegion = params.get("LogRegion")
|
12718
|
+
memeber_set = set(params.keys())
|
12719
|
+
for name, value in vars(self).items():
|
12720
|
+
property_name = name[1:]
|
12721
|
+
if property_name in memeber_set:
|
12722
|
+
memeber_set.remove(property_name)
|
12723
|
+
if len(memeber_set) > 0:
|
12724
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
12725
|
+
|
12726
|
+
|
12727
|
+
|
12583
12728
|
class ManualBackupInstanceRequest(AbstractModel):
|
12584
12729
|
"""ManualBackupInstance请求参数结构体
|
12585
12730
|
|
@@ -13590,6 +13735,174 @@ class ModifyInstanceEventResponse(AbstractModel):
|
|
13590
13735
|
self._RequestId = params.get("RequestId")
|
13591
13736
|
|
13592
13737
|
|
13738
|
+
class ModifyInstanceLogDeliveryRequest(AbstractModel):
|
13739
|
+
"""ModifyInstanceLogDelivery请求参数结构体
|
13740
|
+
|
13741
|
+
"""
|
13742
|
+
|
13743
|
+
def __init__(self):
|
13744
|
+
r"""
|
13745
|
+
:param _InstanceId: 实例ID。
|
13746
|
+
:type InstanceId: str
|
13747
|
+
:param _LogType: 日志类型。当前仅支持设置为slowlog,指慢查询日志。
|
13748
|
+
:type LogType: str
|
13749
|
+
:param _Enabled: 日志投递开启状态。
|
13750
|
+
- true:开启。
|
13751
|
+
- false:关闭。
|
13752
|
+
:type Enabled: bool
|
13753
|
+
:param _LogsetId: 投递的日志集ID。
|
13754
|
+
:type LogsetId: str
|
13755
|
+
:param _TopicId: 投递的日志主题ID。
|
13756
|
+
:type TopicId: str
|
13757
|
+
:param _LogsetName: 日志集名称。若**LogsetId**未指定具体的日志集ID,请配置该参数,设置日志集名称,系统会以设置的日志集名称自动创建新的日志集。
|
13758
|
+
:type LogsetName: str
|
13759
|
+
:param _TopicName: 日志主题名称,TopicId为空时必传,会自动创建新的日志主题。
|
13760
|
+
:type TopicName: str
|
13761
|
+
:param _LogRegion: 日志集所在地域,不传默认使用实例所在地域。
|
13762
|
+
:type LogRegion: str
|
13763
|
+
:param _Period: 日志存储时间,默认为30天,可选范围1-3600天。
|
13764
|
+
:type Period: int
|
13765
|
+
:param _CreateIndex: 创建日志主题时,是否创建索引。
|
13766
|
+
:type CreateIndex: bool
|
13767
|
+
"""
|
13768
|
+
self._InstanceId = None
|
13769
|
+
self._LogType = None
|
13770
|
+
self._Enabled = None
|
13771
|
+
self._LogsetId = None
|
13772
|
+
self._TopicId = None
|
13773
|
+
self._LogsetName = None
|
13774
|
+
self._TopicName = None
|
13775
|
+
self._LogRegion = None
|
13776
|
+
self._Period = None
|
13777
|
+
self._CreateIndex = None
|
13778
|
+
|
13779
|
+
@property
|
13780
|
+
def InstanceId(self):
|
13781
|
+
return self._InstanceId
|
13782
|
+
|
13783
|
+
@InstanceId.setter
|
13784
|
+
def InstanceId(self, InstanceId):
|
13785
|
+
self._InstanceId = InstanceId
|
13786
|
+
|
13787
|
+
@property
|
13788
|
+
def LogType(self):
|
13789
|
+
return self._LogType
|
13790
|
+
|
13791
|
+
@LogType.setter
|
13792
|
+
def LogType(self, LogType):
|
13793
|
+
self._LogType = LogType
|
13794
|
+
|
13795
|
+
@property
|
13796
|
+
def Enabled(self):
|
13797
|
+
return self._Enabled
|
13798
|
+
|
13799
|
+
@Enabled.setter
|
13800
|
+
def Enabled(self, Enabled):
|
13801
|
+
self._Enabled = Enabled
|
13802
|
+
|
13803
|
+
@property
|
13804
|
+
def LogsetId(self):
|
13805
|
+
return self._LogsetId
|
13806
|
+
|
13807
|
+
@LogsetId.setter
|
13808
|
+
def LogsetId(self, LogsetId):
|
13809
|
+
self._LogsetId = LogsetId
|
13810
|
+
|
13811
|
+
@property
|
13812
|
+
def TopicId(self):
|
13813
|
+
return self._TopicId
|
13814
|
+
|
13815
|
+
@TopicId.setter
|
13816
|
+
def TopicId(self, TopicId):
|
13817
|
+
self._TopicId = TopicId
|
13818
|
+
|
13819
|
+
@property
|
13820
|
+
def LogsetName(self):
|
13821
|
+
return self._LogsetName
|
13822
|
+
|
13823
|
+
@LogsetName.setter
|
13824
|
+
def LogsetName(self, LogsetName):
|
13825
|
+
self._LogsetName = LogsetName
|
13826
|
+
|
13827
|
+
@property
|
13828
|
+
def TopicName(self):
|
13829
|
+
return self._TopicName
|
13830
|
+
|
13831
|
+
@TopicName.setter
|
13832
|
+
def TopicName(self, TopicName):
|
13833
|
+
self._TopicName = TopicName
|
13834
|
+
|
13835
|
+
@property
|
13836
|
+
def LogRegion(self):
|
13837
|
+
return self._LogRegion
|
13838
|
+
|
13839
|
+
@LogRegion.setter
|
13840
|
+
def LogRegion(self, LogRegion):
|
13841
|
+
self._LogRegion = LogRegion
|
13842
|
+
|
13843
|
+
@property
|
13844
|
+
def Period(self):
|
13845
|
+
return self._Period
|
13846
|
+
|
13847
|
+
@Period.setter
|
13848
|
+
def Period(self, Period):
|
13849
|
+
self._Period = Period
|
13850
|
+
|
13851
|
+
@property
|
13852
|
+
def CreateIndex(self):
|
13853
|
+
return self._CreateIndex
|
13854
|
+
|
13855
|
+
@CreateIndex.setter
|
13856
|
+
def CreateIndex(self, CreateIndex):
|
13857
|
+
self._CreateIndex = CreateIndex
|
13858
|
+
|
13859
|
+
|
13860
|
+
def _deserialize(self, params):
|
13861
|
+
self._InstanceId = params.get("InstanceId")
|
13862
|
+
self._LogType = params.get("LogType")
|
13863
|
+
self._Enabled = params.get("Enabled")
|
13864
|
+
self._LogsetId = params.get("LogsetId")
|
13865
|
+
self._TopicId = params.get("TopicId")
|
13866
|
+
self._LogsetName = params.get("LogsetName")
|
13867
|
+
self._TopicName = params.get("TopicName")
|
13868
|
+
self._LogRegion = params.get("LogRegion")
|
13869
|
+
self._Period = params.get("Period")
|
13870
|
+
self._CreateIndex = params.get("CreateIndex")
|
13871
|
+
memeber_set = set(params.keys())
|
13872
|
+
for name, value in vars(self).items():
|
13873
|
+
property_name = name[1:]
|
13874
|
+
if property_name in memeber_set:
|
13875
|
+
memeber_set.remove(property_name)
|
13876
|
+
if len(memeber_set) > 0:
|
13877
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
13878
|
+
|
13879
|
+
|
13880
|
+
|
13881
|
+
class ModifyInstanceLogDeliveryResponse(AbstractModel):
|
13882
|
+
"""ModifyInstanceLogDelivery返回参数结构体
|
13883
|
+
|
13884
|
+
"""
|
13885
|
+
|
13886
|
+
def __init__(self):
|
13887
|
+
r"""
|
13888
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
13889
|
+
:type RequestId: str
|
13890
|
+
"""
|
13891
|
+
self._RequestId = None
|
13892
|
+
|
13893
|
+
@property
|
13894
|
+
def RequestId(self):
|
13895
|
+
return self._RequestId
|
13896
|
+
|
13897
|
+
@RequestId.setter
|
13898
|
+
def RequestId(self, RequestId):
|
13899
|
+
self._RequestId = RequestId
|
13900
|
+
|
13901
|
+
|
13902
|
+
def _deserialize(self, params):
|
13903
|
+
self._RequestId = params.get("RequestId")
|
13904
|
+
|
13905
|
+
|
13593
13906
|
class ModifyInstanceParamsRequest(AbstractModel):
|
13594
13907
|
"""ModifyInstanceParams请求参数结构体
|
13595
13908
|
|
@@ -739,6 +739,29 @@ class RedisClient(AbstractClient):
|
|
739
739
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
740
740
|
|
741
741
|
|
742
|
+
def DescribeInstanceLogDelivery(self, request):
|
743
|
+
"""本接口(DescribeInstanceLogDelivery)用于查询实例的日志投递配置。
|
744
|
+
|
745
|
+
:param request: Request instance for DescribeInstanceLogDelivery.
|
746
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceLogDeliveryRequest`
|
747
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.DescribeInstanceLogDeliveryResponse`
|
748
|
+
|
749
|
+
"""
|
750
|
+
try:
|
751
|
+
params = request._serialize()
|
752
|
+
headers = request.headers
|
753
|
+
body = self.call("DescribeInstanceLogDelivery", params, headers=headers)
|
754
|
+
response = json.loads(body)
|
755
|
+
model = models.DescribeInstanceLogDeliveryResponse()
|
756
|
+
model._deserialize(response["Response"])
|
757
|
+
return model
|
758
|
+
except Exception as e:
|
759
|
+
if isinstance(e, TencentCloudSDKException):
|
760
|
+
raise
|
761
|
+
else:
|
762
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
763
|
+
|
764
|
+
|
742
765
|
def DescribeInstanceMonitorBigKey(self, request):
|
743
766
|
"""腾讯云数据库 Redis 已经于2022年10月31日下线查询实例大 Key 接口。具体公告,请参见[查询实例大 Key 接口下线公告](https://cloud.tencent.com/document/product/239/81005)。
|
744
767
|
|
@@ -1935,6 +1958,29 @@ class RedisClient(AbstractClient):
|
|
1935
1958
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1936
1959
|
|
1937
1960
|
|
1961
|
+
def ModifyInstanceLogDelivery(self, request):
|
1962
|
+
"""本接口(ModifyInstanceLogDelivery)用于开启或关闭投递实例日志到CLS。
|
1963
|
+
|
1964
|
+
:param request: Request instance for ModifyInstanceLogDelivery.
|
1965
|
+
:type request: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceLogDeliveryRequest`
|
1966
|
+
:rtype: :class:`tencentcloud.redis.v20180412.models.ModifyInstanceLogDeliveryResponse`
|
1967
|
+
|
1968
|
+
"""
|
1969
|
+
try:
|
1970
|
+
params = request._serialize()
|
1971
|
+
headers = request.headers
|
1972
|
+
body = self.call("ModifyInstanceLogDelivery", params, headers=headers)
|
1973
|
+
response = json.loads(body)
|
1974
|
+
model = models.ModifyInstanceLogDeliveryResponse()
|
1975
|
+
model._deserialize(response["Response"])
|
1976
|
+
return model
|
1977
|
+
except Exception as e:
|
1978
|
+
if isinstance(e, TencentCloudSDKException):
|
1979
|
+
raise
|
1980
|
+
else:
|
1981
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
1982
|
+
|
1983
|
+
|
1938
1984
|
def ModifyInstanceParams(self, request):
|
1939
1985
|
"""本接口(ModifyInstanceParams)用于修改Redis实例的参数配置。
|
1940
1986
|
|
@@ -146,6 +146,9 @@ INVALIDPARAMETERVALUE_INVALIDDOCUMENTTYPE = 'InvalidParameterValue.InvalidDocume
|
|
146
146
|
# International 字段校验错误,请参照 API 接口说明中对该字段的说明,如有需要请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
147
147
|
INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = 'InvalidParameterValue.InvalidInternational'
|
148
148
|
|
149
|
+
# SmsType 字段校验错误,请参照 API 接口说明中对该字段的描述,更多疑问可咨询 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
150
|
+
INVALIDPARAMETERVALUE_INVALIDSMSTYPE = 'InvalidParameterValue.InvalidSmsType'
|
151
|
+
|
149
152
|
# 无效的拉取起始/截止时间,具体原因可能是请求的 SendDateTime 大于 EndDateTime。
|
150
153
|
INVALIDPARAMETERVALUE_INVALIDSTARTTIME = 'InvalidParameterValue.InvalidStartTime'
|
151
154
|
|
@@ -255,7 +255,7 @@ class AddSmsTemplateRequest(AbstractModel):
|
|
255
255
|
:param _TemplateContent: 模板内容。
|
256
256
|
:type TemplateContent: str
|
257
257
|
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
258
|
-
|
258
|
+
注:为进一步提升短信发送质量、提高短信模板审核通过率,从2024年5月16日起,腾讯云短信模板类型优化为“验证码短信”、“通知短信”、“营销短信”,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。新开通短信服务的客户需严格参考新的短信类型申请短信模板。
|
259
259
|
:type SmsType: int
|
260
260
|
:param _International: 是否国际/港澳台短信:
|
261
261
|
0:表示国内短信。
|
@@ -1506,7 +1506,7 @@ class ModifySmsTemplateRequest(AbstractModel):
|
|
1506
1506
|
:param _TemplateContent: 新的模板内容。
|
1507
1507
|
:type TemplateContent: str
|
1508
1508
|
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
1509
|
-
|
1509
|
+
注:为进一步提升短信发送质量、提高短信模板审核通过率,从2024年5月16日起,腾讯云短信模板类型优化为“验证码短信”、“通知短信”、“营销短信”,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。新开通短信服务的客户需严格参考新的短信类型申请短信模板。
|
1510
1510
|
:type SmsType: int
|
1511
1511
|
:param _International: 是否国际/港澳台短信:
|
1512
1512
|
0:表示国内短信。
|
@@ -158,6 +158,9 @@ INVALIDPARAMETERVALUE_INVALIDINTERNATIONAL = 'InvalidParameterValue.InvalidInter
|
|
158
158
|
# SignPurpose 字段校验错误,请参照 API 接口说明中对该字段的说明,如有需要请联系 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
159
159
|
INVALIDPARAMETERVALUE_INVALIDSIGNPURPOSE = 'InvalidParameterValue.InvalidSignPurpose'
|
160
160
|
|
161
|
+
# SmsType 字段校验错误,请参照 API 接口说明中对该字段的描述,更多疑问可咨询 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)。
|
162
|
+
INVALIDPARAMETERVALUE_INVALIDSMSTYPE = 'InvalidParameterValue.InvalidSmsType'
|
163
|
+
|
161
164
|
# 无效的拉取起始/截止时间,具体原因可能是请求的 SendDateTime 大于 EndDateTime。
|
162
165
|
INVALIDPARAMETERVALUE_INVALIDSTARTTIME = 'InvalidParameterValue.InvalidStartTime'
|
163
166
|
|
@@ -243,7 +243,7 @@ class AddSmsTemplateRequest(AbstractModel):
|
|
243
243
|
:param _TemplateContent: 模板内容。
|
244
244
|
:type TemplateContent: str
|
245
245
|
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
246
|
-
|
246
|
+
注:为进一步提升短信发送质量、提高短信模板审核通过率,从2024年5月16日起,腾讯云短信模板类型优化为“验证码短信”、“通知短信”、“营销短信”,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。新开通短信服务的客户需严格参考新的短信类型申请短信模板。
|
247
247
|
:type SmsType: int
|
248
248
|
:param _International: 是否国际/港澳台短信:
|
249
249
|
0:表示国内短信。
|
@@ -1594,7 +1594,7 @@ class ModifySmsTemplateRequest(AbstractModel):
|
|
1594
1594
|
:param _TemplateContent: 新的模板内容。
|
1595
1595
|
:type TemplateContent: str
|
1596
1596
|
:param _SmsType: 短信类型,1表示营销短信,2表示通知短信,3表示验证码短信。
|
1597
|
-
|
1597
|
+
注:为进一步提升短信发送质量、提高短信模板审核通过率,从2024年5月16日起,腾讯云短信模板类型优化为“验证码短信”、“通知短信”、“营销短信”,可参考[关于腾讯云短信模板类型优化公告](https://cloud.tencent.com/document/product/382/106171)。新开通短信服务的客户需严格参考新的短信类型申请短信模板。
|
1598
1598
|
:type SmsType: int
|
1599
1599
|
:param _International: 是否国际/港澳台短信:
|
1600
1600
|
0:表示国内短信。
|
@@ -8507,9 +8507,6 @@ class DescribeAccelerationDomainsRequest(AbstractModel):
|
|
8507
8507
|
<li>backup-origin: 按照备用源站地址进行过滤;</li>
|
8508
8508
|
<li>domain-cname:按照 CNAME 进行过滤;</li>
|
8509
8509
|
<li>share-cname:按照共享 CNAME 进行过滤;</li>
|
8510
|
-
<li>vodeo-sub-app-id:按照【 vodeo 子应用 ID】进行过滤;</li>
|
8511
|
-
<li>vodeo-distribution-range:按照【 vodeo 分发范围】进行过滤;</li>
|
8512
|
-
<li>vodeo-bucket-id:按照【vodeo 存储桶 ID】进行过滤;</li>
|
8513
8510
|
:type Filters: list of AdvancedFilter
|
8514
8511
|
:param _Order: 可根据该字段对返回结果进行排序,取值有:
|
8515
8512
|
<li>created_on:加速域名创建时间;</li>
|
@@ -12482,8 +12479,8 @@ class DescribeTimingL4DataRequest(AbstractModel):
|
|
12482
12479
|
<li>day: 1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
|
12483
12480
|
:type Interval: str
|
12484
12481
|
:param _Filters: 过滤条件,详细的过滤条件Key值如下:
|
12485
|
-
<li>ruleId
|
12486
|
-
<li>proxyId
|
12482
|
+
<li>ruleId:按照转发规则 ID 进行过滤。</li>
|
12483
|
+
<li>proxyId:按照四层代理实例 ID 进行过滤。</li>
|
12487
12484
|
:type Filters: list of QueryCondition
|
12488
12485
|
:param _Area: 数据归属地区,取值有:
|
12489
12486
|
<li>overseas:全球(除中国大陆地区)数据;</li>
|
@@ -20635,7 +20632,6 @@ class OriginDetail(AbstractModel):
|
|
20635
20632
|
<li>COS:腾讯云 COS 对象存储源站;</li>
|
20636
20633
|
<li>AWS_S3:AWS S3 对象存储源站;</li>
|
20637
20634
|
<li>ORIGIN_GROUP:源站组类型源站;</li>
|
20638
|
-
<li>VODEO:云点播-混合云版;</li>
|
20639
20635
|
<li>VOD:云点播;</li>
|
20640
20636
|
<li>SPACE:源站卸载,当前仅白名单开放;</li>
|
20641
20637
|
<li>LB:负载均衡,当前仅白名单开放。</li>
|
@@ -20646,7 +20642,6 @@ class OriginDetail(AbstractModel):
|
|
20646
20642
|
<li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li>
|
20647
20643
|
<li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li>
|
20648
20644
|
<li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li>
|
20649
|
-
<li>当 OriginType = VODEO 时,如果 VodeoDistributionRange = ALL,则该参数为 "all-buckets-in-vodeo-application";如果 VodeoDistributionRange = Bucket,则该参数为对应存储桶域名。</li>
|
20650
20645
|
:type Origin: str
|
20651
20646
|
:param _BackupOrigin: 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。
|
20652
20647
|
:type BackupOrigin: str
|
@@ -20738,26 +20733,38 @@ class OriginDetail(AbstractModel):
|
|
20738
20733
|
|
20739
20734
|
@property
|
20740
20735
|
def VodeoSubAppId(self):
|
20736
|
+
warnings.warn("parameter `VodeoSubAppId` is deprecated", DeprecationWarning)
|
20737
|
+
|
20741
20738
|
return self._VodeoSubAppId
|
20742
20739
|
|
20743
20740
|
@VodeoSubAppId.setter
|
20744
20741
|
def VodeoSubAppId(self, VodeoSubAppId):
|
20742
|
+
warnings.warn("parameter `VodeoSubAppId` is deprecated", DeprecationWarning)
|
20743
|
+
|
20745
20744
|
self._VodeoSubAppId = VodeoSubAppId
|
20746
20745
|
|
20747
20746
|
@property
|
20748
20747
|
def VodeoDistributionRange(self):
|
20748
|
+
warnings.warn("parameter `VodeoDistributionRange` is deprecated", DeprecationWarning)
|
20749
|
+
|
20749
20750
|
return self._VodeoDistributionRange
|
20750
20751
|
|
20751
20752
|
@VodeoDistributionRange.setter
|
20752
20753
|
def VodeoDistributionRange(self, VodeoDistributionRange):
|
20754
|
+
warnings.warn("parameter `VodeoDistributionRange` is deprecated", DeprecationWarning)
|
20755
|
+
|
20753
20756
|
self._VodeoDistributionRange = VodeoDistributionRange
|
20754
20757
|
|
20755
20758
|
@property
|
20756
20759
|
def VodeoBucketId(self):
|
20760
|
+
warnings.warn("parameter `VodeoBucketId` is deprecated", DeprecationWarning)
|
20761
|
+
|
20757
20762
|
return self._VodeoBucketId
|
20758
20763
|
|
20759
20764
|
@VodeoBucketId.setter
|
20760
20765
|
def VodeoBucketId(self, VodeoBucketId):
|
20766
|
+
warnings.warn("parameter `VodeoBucketId` is deprecated", DeprecationWarning)
|
20767
|
+
|
20761
20768
|
self._VodeoBucketId = VodeoBucketId
|
20762
20769
|
|
20763
20770
|
|
@@ -21072,26 +21079,38 @@ class OriginInfo(AbstractModel):
|
|
21072
21079
|
|
21073
21080
|
@property
|
21074
21081
|
def VodeoSubAppId(self):
|
21082
|
+
warnings.warn("parameter `VodeoSubAppId` is deprecated", DeprecationWarning)
|
21083
|
+
|
21075
21084
|
return self._VodeoSubAppId
|
21076
21085
|
|
21077
21086
|
@VodeoSubAppId.setter
|
21078
21087
|
def VodeoSubAppId(self, VodeoSubAppId):
|
21088
|
+
warnings.warn("parameter `VodeoSubAppId` is deprecated", DeprecationWarning)
|
21089
|
+
|
21079
21090
|
self._VodeoSubAppId = VodeoSubAppId
|
21080
21091
|
|
21081
21092
|
@property
|
21082
21093
|
def VodeoDistributionRange(self):
|
21094
|
+
warnings.warn("parameter `VodeoDistributionRange` is deprecated", DeprecationWarning)
|
21095
|
+
|
21083
21096
|
return self._VodeoDistributionRange
|
21084
21097
|
|
21085
21098
|
@VodeoDistributionRange.setter
|
21086
21099
|
def VodeoDistributionRange(self, VodeoDistributionRange):
|
21100
|
+
warnings.warn("parameter `VodeoDistributionRange` is deprecated", DeprecationWarning)
|
21101
|
+
|
21087
21102
|
self._VodeoDistributionRange = VodeoDistributionRange
|
21088
21103
|
|
21089
21104
|
@property
|
21090
21105
|
def VodeoBucketId(self):
|
21106
|
+
warnings.warn("parameter `VodeoBucketId` is deprecated", DeprecationWarning)
|
21107
|
+
|
21091
21108
|
return self._VodeoBucketId
|
21092
21109
|
|
21093
21110
|
@VodeoBucketId.setter
|
21094
21111
|
def VodeoBucketId(self, VodeoBucketId):
|
21112
|
+
warnings.warn("parameter `VodeoBucketId` is deprecated", DeprecationWarning)
|
21113
|
+
|
21095
21114
|
self._VodeoBucketId = VodeoBucketId
|
21096
21115
|
|
21097
21116
|
|
@@ -25541,7 +25560,7 @@ class TimingDataItem(AbstractModel):
|
|
25541
25560
|
|
25542
25561
|
def __init__(self):
|
25543
25562
|
r"""
|
25544
|
-
:param _Timestamp: 返回数据对应时间点,采用unix秒级时间戳。
|
25563
|
+
:param _Timestamp: 返回数据对应时间点,采用 unix 秒级时间戳。
|
25545
25564
|
:type Timestamp: int
|
25546
25565
|
:param _Value: 具体数值。
|
25547
25566
|
:type Value: int
|
@@ -26484,7 +26503,6 @@ class Zone(AbstractModel):
|
|
26484
26503
|
<li> full:NS 接入;</li>
|
26485
26504
|
<li> partial:CNAME 接入;</li>
|
26486
26505
|
<li> noDomainAccess:无域名接入;</li>
|
26487
|
-
<li> vodeo:开启 VODEO 后默认接入。</li>
|
26488
26506
|
:type Type: str
|
26489
26507
|
:param _Paused: 站点是否关闭。
|
26490
26508
|
:type Paused: bool
|
@@ -8242,9 +8242,13 @@ class STTConfig(AbstractModel):
|
|
8242
8242
|
|
8243
8243
|
注意:此字段可能返回 null,表示取不到有效值。
|
8244
8244
|
:type AlternativeLanguage: list of str
|
8245
|
+
:param _VadSilenceTime: 语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。
|
8246
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
8247
|
+
:type VadSilenceTime: int
|
8245
8248
|
"""
|
8246
8249
|
self._Language = None
|
8247
8250
|
self._AlternativeLanguage = None
|
8251
|
+
self._VadSilenceTime = None
|
8248
8252
|
|
8249
8253
|
@property
|
8250
8254
|
def Language(self):
|
@@ -8262,10 +8266,19 @@ class STTConfig(AbstractModel):
|
|
8262
8266
|
def AlternativeLanguage(self, AlternativeLanguage):
|
8263
8267
|
self._AlternativeLanguage = AlternativeLanguage
|
8264
8268
|
|
8269
|
+
@property
|
8270
|
+
def VadSilenceTime(self):
|
8271
|
+
return self._VadSilenceTime
|
8272
|
+
|
8273
|
+
@VadSilenceTime.setter
|
8274
|
+
def VadSilenceTime(self, VadSilenceTime):
|
8275
|
+
self._VadSilenceTime = VadSilenceTime
|
8276
|
+
|
8265
8277
|
|
8266
8278
|
def _deserialize(self, params):
|
8267
8279
|
self._Language = params.get("Language")
|
8268
8280
|
self._AlternativeLanguage = params.get("AlternativeLanguage")
|
8281
|
+
self._VadSilenceTime = params.get("VadSilenceTime")
|
8269
8282
|
memeber_set = set(params.keys())
|
8270
8283
|
for name, value in vars(self).items():
|
8271
8284
|
property_name = name[1:]
|