tencentcloud-sdk-python 3.0.1218__py2.py3-none-any.whl → 3.0.1225__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/ams/v20201229/models.py +24 -0
- tencentcloud/asr/v20190614/asr_client.py +96 -0
- tencentcloud/asr/v20190614/errorcodes.py +3 -0
- tencentcloud/asr/v20190614/models.py +618 -0
- tencentcloud/batch/v20170312/models.py +1 -1
- tencentcloud/bi/v20220105/models.py +25 -0
- tencentcloud/cdb/v20170320/cdb_client.py +46 -0
- tencentcloud/cdb/v20170320/models.py +280 -2
- tencentcloud/cdwdoris/v20211228/models.py +302 -2
- tencentcloud/cfg/v20210820/models.py +168 -0
- tencentcloud/cfw/v20190904/cfw_client.py +23 -0
- tencentcloud/cfw/v20190904/models.py +70 -0
- tencentcloud/ckafka/v20190819/ckafka_client.py +1 -1
- tencentcloud/ckafka/v20190819/models.py +47 -1
- tencentcloud/clb/v20180317/models.py +146 -2
- tencentcloud/cls/v20201016/models.py +1 -2
- tencentcloud/controlcenter/__init__.py +0 -0
- tencentcloud/controlcenter/v20230110/__init__.py +0 -0
- tencentcloud/controlcenter/v20230110/controlcenter_client.py +49 -0
- tencentcloud/controlcenter/v20230110/errorcodes.py +45 -0
- tencentcloud/controlcenter/v20230110/models.py +140 -0
- tencentcloud/csip/v20221121/models.py +385 -0
- tencentcloud/cvm/v20170312/models.py +7 -5
- tencentcloud/cwp/v20180228/models.py +1 -12
- tencentcloud/cynosdb/v20190107/cynosdb_client.py +69 -0
- tencentcloud/cynosdb/v20190107/errorcodes.py +3 -0
- tencentcloud/cynosdb/v20190107/models.py +575 -9
- tencentcloud/dasb/v20191018/models.py +25 -0
- tencentcloud/dbbrain/v20210527/models.py +2 -2
- tencentcloud/dc/v20180410/dc_client.py +3 -4
- tencentcloud/dc/v20180410/models.py +78 -18
- tencentcloud/dcdb/v20180411/dcdb_client.py +23 -0
- tencentcloud/dcdb/v20180411/models.py +82 -0
- tencentcloud/dlc/v20210125/models.py +31 -1
- tencentcloud/dsgc/v20190723/models.py +50 -0
- tencentcloud/ecc/v20181213/ecc_client.py +1 -2
- tencentcloud/emr/v20190103/emr_client.py +24 -0
- tencentcloud/emr/v20190103/models.py +82 -0
- tencentcloud/es/v20180416/es_client.py +23 -0
- tencentcloud/es/v20180416/models.py +144 -0
- tencentcloud/ess/v20201111/ess_client.py +4 -4
- tencentcloud/ess/v20201111/models.py +13 -3
- tencentcloud/essbasic/v20210526/essbasic_client.py +2 -2
- tencentcloud/essbasic/v20210526/models.py +33 -15
- tencentcloud/facefusion/v20220927/errorcodes.py +15 -6
- tencentcloud/hunyuan/v20230901/errorcodes.py +21 -0
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +52 -0
- tencentcloud/hunyuan/v20230901/models.py +362 -2
- tencentcloud/ims/v20201229/ims_client.py +2 -2
- tencentcloud/iotexplorer/v20190423/models.py +1 -1
- tencentcloud/iss/v20230517/models.py +28 -0
- tencentcloud/lke/v20231130/models.py +225 -3
- tencentcloud/mariadb/v20170312/errorcodes.py +3 -0
- tencentcloud/mariadb/v20170312/mariadb_client.py +23 -0
- tencentcloud/mariadb/v20170312/models.py +82 -0
- tencentcloud/oceanus/v20190422/models.py +25 -0
- tencentcloud/ocr/v20181119/models.py +1 -2
- tencentcloud/ocr/v20181119/ocr_client.py +8 -2
- tencentcloud/organization/v20210331/errorcodes.py +6 -0
- tencentcloud/organization/v20210331/models.py +70 -0
- tencentcloud/organization/v20210331/organization_client.py +23 -0
- tencentcloud/postgres/v20170312/errorcodes.py +15 -0
- tencentcloud/redis/v20180412/models.py +2 -2
- tencentcloud/scf/v20180416/models.py +48 -12
- tencentcloud/ses/v20201002/models.py +177 -0
- tencentcloud/sms/v20190711/errorcodes.py +3 -0
- tencentcloud/sms/v20190711/models.py +21 -22
- tencentcloud/sms/v20190711/sms_client.py +28 -60
- tencentcloud/sms/v20210111/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +209 -0
- tencentcloud/ssl/v20191205/ssl_client.py +23 -0
- tencentcloud/tcr/v20190924/errorcodes.py +3 -0
- tencentcloud/tdmq/v20200217/models.py +130 -0
- tencentcloud/thpc/v20230321/models.py +1432 -82
- tencentcloud/thpc/v20230321/thpc_client.py +92 -0
- tencentcloud/tke/v20180525/errorcodes.py +3 -0
- tencentcloud/tke/v20180525/models.py +12 -0
- tencentcloud/tms/v20201229/errorcodes.py +0 -6
- tencentcloud/tms/v20201229/models.py +0 -70
- tencentcloud/tms/v20201229/tms_client.py +0 -23
- tencentcloud/tmt/v20180321/errorcodes.py +3 -0
- tencentcloud/tmt/v20180321/models.py +3 -3
- tencentcloud/tmt/v20180321/tmt_client.py +1 -1
- tencentcloud/trocket/v20230308/models.py +52 -0
- tencentcloud/trtc/v20190722/models.py +2 -2
- tencentcloud/vclm/v20240523/errorcodes.py +3 -0
- tencentcloud/vpc/v20170312/models.py +34 -0
- tencentcloud/waf/v20180125/models.py +1 -1
- tencentcloud/wedata/v20210820/errorcodes.py +6 -0
- tencentcloud/wedata/v20210820/models.py +2905 -366
- tencentcloud/wedata/v20210820/wedata_client.py +161 -0
- {tencentcloud_sdk_python-3.0.1218.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1218.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/RECORD +98 -93
- {tencentcloud_sdk_python-3.0.1218.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1218.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1218.dist-info → tencentcloud_sdk_python-3.0.1225.dist-info}/top_level.txt +0 -0
@@ -14857,6 +14857,76 @@ class SAMLServiceProvider(AbstractModel):
|
|
14857
14857
|
|
14858
14858
|
|
14859
14859
|
|
14860
|
+
class SendOrgMemberAccountBindEmailRequest(AbstractModel):
|
14861
|
+
"""SendOrgMemberAccountBindEmail请求参数结构体
|
14862
|
+
|
14863
|
+
"""
|
14864
|
+
|
14865
|
+
def __init__(self):
|
14866
|
+
r"""
|
14867
|
+
:param _MemberUin: 成员Uin。
|
14868
|
+
:type MemberUin: int
|
14869
|
+
:param _BindId: 绑定ID。可以通过[DescribeOrganizationMemberEmailBind](https://cloud.tencent.com/document/product/850/93332)获取
|
14870
|
+
:type BindId: int
|
14871
|
+
"""
|
14872
|
+
self._MemberUin = None
|
14873
|
+
self._BindId = None
|
14874
|
+
|
14875
|
+
@property
|
14876
|
+
def MemberUin(self):
|
14877
|
+
return self._MemberUin
|
14878
|
+
|
14879
|
+
@MemberUin.setter
|
14880
|
+
def MemberUin(self, MemberUin):
|
14881
|
+
self._MemberUin = MemberUin
|
14882
|
+
|
14883
|
+
@property
|
14884
|
+
def BindId(self):
|
14885
|
+
return self._BindId
|
14886
|
+
|
14887
|
+
@BindId.setter
|
14888
|
+
def BindId(self, BindId):
|
14889
|
+
self._BindId = BindId
|
14890
|
+
|
14891
|
+
|
14892
|
+
def _deserialize(self, params):
|
14893
|
+
self._MemberUin = params.get("MemberUin")
|
14894
|
+
self._BindId = params.get("BindId")
|
14895
|
+
memeber_set = set(params.keys())
|
14896
|
+
for name, value in vars(self).items():
|
14897
|
+
property_name = name[1:]
|
14898
|
+
if property_name in memeber_set:
|
14899
|
+
memeber_set.remove(property_name)
|
14900
|
+
if len(memeber_set) > 0:
|
14901
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
14902
|
+
|
14903
|
+
|
14904
|
+
|
14905
|
+
class SendOrgMemberAccountBindEmailResponse(AbstractModel):
|
14906
|
+
"""SendOrgMemberAccountBindEmail返回参数结构体
|
14907
|
+
|
14908
|
+
"""
|
14909
|
+
|
14910
|
+
def __init__(self):
|
14911
|
+
r"""
|
14912
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
14913
|
+
:type RequestId: str
|
14914
|
+
"""
|
14915
|
+
self._RequestId = None
|
14916
|
+
|
14917
|
+
@property
|
14918
|
+
def RequestId(self):
|
14919
|
+
return self._RequestId
|
14920
|
+
|
14921
|
+
@RequestId.setter
|
14922
|
+
def RequestId(self, RequestId):
|
14923
|
+
self._RequestId = RequestId
|
14924
|
+
|
14925
|
+
|
14926
|
+
def _deserialize(self, params):
|
14927
|
+
self._RequestId = params.get("RequestId")
|
14928
|
+
|
14929
|
+
|
14860
14930
|
class SetExternalSAMLIdentityProviderRequest(AbstractModel):
|
14861
14931
|
"""SetExternalSAMLIdentityProvider请求参数结构体
|
14862
14932
|
|
@@ -2372,6 +2372,29 @@ class OrganizationClient(AbstractClient):
|
|
2372
2372
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2373
2373
|
|
2374
2374
|
|
2375
|
+
def SendOrgMemberAccountBindEmail(self, request):
|
2376
|
+
"""重新发送成员绑定邮箱激活邮件
|
2377
|
+
|
2378
|
+
:param request: Request instance for SendOrgMemberAccountBindEmail.
|
2379
|
+
:type request: :class:`tencentcloud.organization.v20210331.models.SendOrgMemberAccountBindEmailRequest`
|
2380
|
+
:rtype: :class:`tencentcloud.organization.v20210331.models.SendOrgMemberAccountBindEmailResponse`
|
2381
|
+
|
2382
|
+
"""
|
2383
|
+
try:
|
2384
|
+
params = request._serialize()
|
2385
|
+
headers = request.headers
|
2386
|
+
body = self.call("SendOrgMemberAccountBindEmail", params, headers=headers)
|
2387
|
+
response = json.loads(body)
|
2388
|
+
model = models.SendOrgMemberAccountBindEmailResponse()
|
2389
|
+
model._deserialize(response["Response"])
|
2390
|
+
return model
|
2391
|
+
except Exception as e:
|
2392
|
+
if isinstance(e, TencentCloudSDKException):
|
2393
|
+
raise
|
2394
|
+
else:
|
2395
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
2396
|
+
|
2397
|
+
|
2375
2398
|
def SetExternalSAMLIdentityProvider(self, request):
|
2376
2399
|
"""配置SAML身份提供商信息
|
2377
2400
|
|
@@ -257,6 +257,9 @@ INTERNALERROR_INSTANCEDATAERROR = 'InternalError.InstanceDataError'
|
|
257
257
|
# 请求执行异常。
|
258
258
|
INTERNALERROR_INTERNALHTTPSERVERERROR = 'InternalError.InternalHttpServerError'
|
259
259
|
|
260
|
+
# Json数据解析失败,请联系客服进行处理。
|
261
|
+
INTERNALERROR_JSONPARSEERROR = 'InternalError.JsonParseError'
|
262
|
+
|
260
263
|
# 后台数据解析失败,请联系客服进行处理。
|
261
264
|
INTERNALERROR_MARSHALERROR = 'InternalError.MarshalError'
|
262
265
|
|
@@ -320,6 +323,9 @@ INVALIDPARAMETERVALUE_CHARSETNOTFOUNDERROR = 'InvalidParameterValue.CharsetNotFo
|
|
320
323
|
# 数据格式转换失败,请联系客服处理。
|
321
324
|
INVALIDPARAMETERVALUE_DATACONVERTERROR = 'InvalidParameterValue.DataConvertError'
|
322
325
|
|
326
|
+
# 解密密码失败,请确认密码加密是否正确。
|
327
|
+
INVALIDPARAMETERVALUE_DECRYPTPASSWORDFAILED = 'InvalidParameterValue.DecryptPasswordFailed'
|
328
|
+
|
323
329
|
# 不支持的计费类型。
|
324
330
|
INVALIDPARAMETERVALUE_ILLEGALCHARGETYPE = 'InvalidParameterValue.IllegalChargeType'
|
325
331
|
|
@@ -356,9 +362,15 @@ INVALIDPARAMETERVALUE_INVALIDACCOUNTNAME = 'InvalidParameterValue.InvalidAccount
|
|
356
362
|
# 账号设置无效,请遵循账号命名规则:账号名需要1-16个字符,只能由字母、数字或下划线组成;不能为postgres;不能由数字、pg_及tencentdb_开头;所有规则均不区分大小写。
|
357
363
|
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEERROR = 'InvalidParameterValue.InvalidAccountNameError'
|
358
364
|
|
365
|
+
# 账号无效,请遵循账号命名规则:由字母(a-z, A-Z)、数字(0-9)、下划线(_)组成,以字母或(_)开头,最多63个字符。不能使用系统保留关键字,不能为postgres,且不能由pg_或tencentdb_开头。
|
366
|
+
INVALIDPARAMETERVALUE_INVALIDACCOUNTNAMEFORMATERROR = 'InvalidParameterValue.InvalidAccountNameFormatError'
|
367
|
+
|
359
368
|
# 数据库字符集错误,当前只支持UTF8、LATIN1。
|
360
369
|
INVALIDPARAMETERVALUE_INVALIDCHARSET = 'InvalidParameterValue.InvalidCharset'
|
361
370
|
|
371
|
+
# 数据库名称无效,请遵循命名规则:由字母(a-z, A-Z)、数字(0-9)、下划线(_)组成,以字母或(_)开头,最多63个字符。不能使用系统保留关键字。
|
372
|
+
INVALIDPARAMETERVALUE_INVALIDDATABASENAMEFORMATERROR = 'InvalidParameterValue.InvalidDatabaseNameFormatError'
|
373
|
+
|
362
374
|
# 当前仅支持操作名称为英文、下划线、数字及特殊符号[]组成的数据库对象,函数及存储过程额外支持三个特殊符号(,)
|
363
375
|
INVALIDPARAMETERVALUE_INVALIDDATABASEOBJECTNAME = 'InvalidParameterValue.InvalidDatabaseObjectName'
|
364
376
|
|
@@ -470,6 +482,9 @@ OPERATIONDENIED_INSTANCESTATUSLIMITOPERROR = 'OperationDenied.InstanceStatusLimi
|
|
470
482
|
# 实例类型错误
|
471
483
|
OPERATIONDENIED_INSTANCETYPEDENIED = 'OperationDenied.InstanceTypeDenied'
|
472
484
|
|
485
|
+
# 内核版本过低,导致实例无法创建tencentDBSuper账号。如果您想使用此功能,请升级内核版本。
|
486
|
+
OPERATIONDENIED_KERNELVERSIONERROR = 'OperationDenied.KernelVersionError'
|
487
|
+
|
473
488
|
# Serverless不支持当前可用区。
|
474
489
|
OPERATIONDENIED_NOTSUPPORTZONEERROR = 'OperationDenied.NotSupportZoneError'
|
475
490
|
|
@@ -13647,7 +13647,7 @@ class ModifyInstanceParamsResponse(AbstractModel):
|
|
13647
13647
|
|
13648
13648
|
def __init__(self):
|
13649
13649
|
r"""
|
13650
|
-
:param _Changed: 说明修改参数配置是否成功。<br><li>true
|
13650
|
+
:param _Changed: 说明修改参数配置是否成功。<br><li>true:指修改成功;</li><li>false:指修改失败。</li>
|
13651
13651
|
:type Changed: bool
|
13652
13652
|
:param _TaskId: 任务ID。
|
13653
13653
|
:type TaskId: int
|
@@ -17044,7 +17044,7 @@ class StartupInstanceResponse(AbstractModel):
|
|
17044
17044
|
|
17045
17045
|
def __init__(self):
|
17046
17046
|
r"""
|
17047
|
-
:param _TaskId:
|
17047
|
+
:param _TaskId: 该字段已废弃,请通过查询实例接口获取到的状态来判断实例是否已解隔离
|
17048
17048
|
:type TaskId: int
|
17049
17049
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
17050
17050
|
:type RequestId: str
|
@@ -1546,13 +1546,13 @@ class CreateTriggerRequest(AbstractModel):
|
|
1546
1546
|
:type FunctionName: str
|
1547
1547
|
:param _TriggerName: 新建触发器名称。如果是定时触发器,名称支持英文字母、数字、连接符和下划线,最长100个字符;如果是cos触发器,需要是对应cos存储桶适用于XML API的访问域名(例如:5401-5ff414-12345.cos.ap-shanghai.myqcloud.com);如果是其他触发器,见具体触发器绑定参数的说明
|
1548
1548
|
:type TriggerName: str
|
1549
|
-
:param _Type: 触发器类型,目前支持 cos 、
|
1549
|
+
:param _Type: 触发器类型,目前支持 cos 、cls 、 timer、 ckafka、http类型。创建函数 URL 请使用 http 类型,参考[创建函数 URL ](https://cloud.tencent.com/document/product/583/100227#33bbbda4-9131-48a6-ac37-ac62ffe01424)。创建 cls 触发器请参考[CLS 创建投递 SCF 任务](https://cloud.tencent.com/document/product/614/61096)。
|
1550
1550
|
:type Type: str
|
1551
1551
|
:param _TriggerDesc: 触发器对应的参数,可见具体[触发器描述说明](https://cloud.tencent.com/document/product/583/39901)
|
1552
1552
|
:type TriggerDesc: str
|
1553
1553
|
:param _Namespace: 函数的命名空间
|
1554
1554
|
:type Namespace: str
|
1555
|
-
:param _Qualifier:
|
1555
|
+
:param _Qualifier: 触发器所生效的版本或别名,建议填写 [$DEFAULT](https://cloud.tencent.com/document/product/583/36149#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)方便后续进行版本的灰度发布,默认为 $LATEST。
|
1556
1556
|
:type Qualifier: str
|
1557
1557
|
:param _Enable: 触发器的初始是能状态 OPEN表示开启 CLOSE表示关闭
|
1558
1558
|
:type Enable: str
|
@@ -2215,14 +2215,13 @@ class DeleteTriggerRequest(AbstractModel):
|
|
2215
2215
|
:type FunctionName: str
|
2216
2216
|
:param _TriggerName: 要删除的触发器名称
|
2217
2217
|
:type TriggerName: str
|
2218
|
-
:param _Type:
|
2218
|
+
:param _Type: 要删除的触发器类型,目前只支持 timer、ckafka 、apigw 、cls 、cos 、cmq 、http 类型
|
2219
2219
|
:type Type: str
|
2220
2220
|
:param _Namespace: 函数所属命名空间
|
2221
2221
|
:type Namespace: str
|
2222
2222
|
:param _TriggerDesc: 如果删除的触发器类型为 COS 触发器,该字段为必填值,存放 JSON 格式的数据 {"event":"cos:ObjectCreated:*"},数据内容和 SetTrigger 接口中该字段的格式相同;如果删除的触发器类型为定时触发器或 CMQ 触发器,可以不指定该字段
|
2223
2223
|
:type TriggerDesc: str
|
2224
|
-
:param _Qualifier:
|
2225
|
-
如果删除的触发器类型为 APIGW 触发器,该字段为必填参数
|
2224
|
+
:param _Qualifier: 要删除的触发器实际所指向的版本或别名,默认值为 $LATEST
|
2226
2225
|
:type Qualifier: str
|
2227
2226
|
"""
|
2228
2227
|
self._FunctionName = None
|
@@ -5003,10 +5002,12 @@ class ImageConfig(AbstractModel):
|
|
5003
5002
|
:param _ContainerImageAccelerate: 镜像加速开关,默认False
|
5004
5003
|
注意:此字段可能返回 null,表示取不到有效值。
|
5005
5004
|
:type ContainerImageAccelerate: bool
|
5006
|
-
:param _ImagePort:
|
5007
|
-
|
5008
|
-
|
5009
|
-
|
5005
|
+
:param _ImagePort: 镜像函数端口设置,可指定镜像类型
|
5006
|
+
Web Server镜像:9000
|
5007
|
+
Job 镜像:-1
|
5008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5009
|
+
默认值:9000
|
5010
|
+
示例值:9000
|
5010
5011
|
注意:此字段可能返回 null,表示取不到有效值。
|
5011
5012
|
:type ImagePort: int
|
5012
5013
|
"""
|
@@ -5668,6 +5669,9 @@ class LayerVersionInfo(AbstractModel):
|
|
5668
5669
|
:param _Stamp: Stamp
|
5669
5670
|
注意:此字段可能返回 null,表示取不到有效值。
|
5670
5671
|
:type Stamp: str
|
5672
|
+
:param _Tags: 返回层绑定的标签信息
|
5673
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
5674
|
+
:type Tags: list of Tag
|
5671
5675
|
"""
|
5672
5676
|
self._CompatibleRuntimes = None
|
5673
5677
|
self._AddTime = None
|
@@ -5677,6 +5681,7 @@ class LayerVersionInfo(AbstractModel):
|
|
5677
5681
|
self._LayerName = None
|
5678
5682
|
self._Status = None
|
5679
5683
|
self._Stamp = None
|
5684
|
+
self._Tags = None
|
5680
5685
|
|
5681
5686
|
@property
|
5682
5687
|
def CompatibleRuntimes(self):
|
@@ -5742,6 +5747,14 @@ class LayerVersionInfo(AbstractModel):
|
|
5742
5747
|
def Stamp(self, Stamp):
|
5743
5748
|
self._Stamp = Stamp
|
5744
5749
|
|
5750
|
+
@property
|
5751
|
+
def Tags(self):
|
5752
|
+
return self._Tags
|
5753
|
+
|
5754
|
+
@Tags.setter
|
5755
|
+
def Tags(self, Tags):
|
5756
|
+
self._Tags = Tags
|
5757
|
+
|
5745
5758
|
|
5746
5759
|
def _deserialize(self, params):
|
5747
5760
|
self._CompatibleRuntimes = params.get("CompatibleRuntimes")
|
@@ -5752,6 +5765,12 @@ class LayerVersionInfo(AbstractModel):
|
|
5752
5765
|
self._LayerName = params.get("LayerName")
|
5753
5766
|
self._Status = params.get("Status")
|
5754
5767
|
self._Stamp = params.get("Stamp")
|
5768
|
+
if params.get("Tags") is not None:
|
5769
|
+
self._Tags = []
|
5770
|
+
for item in params.get("Tags"):
|
5771
|
+
obj = Tag()
|
5772
|
+
obj._deserialize(item)
|
5773
|
+
self._Tags.append(obj)
|
5755
5774
|
memeber_set = set(params.keys())
|
5756
5775
|
for name, value in vars(self).items():
|
5757
5776
|
property_name = name[1:]
|
@@ -7819,12 +7838,15 @@ class PublishLayerVersionRequest(AbstractModel):
|
|
7819
7838
|
:type Description: str
|
7820
7839
|
:param _LicenseInfo: 层的软件许可证
|
7821
7840
|
:type LicenseInfo: str
|
7841
|
+
:param _Tags: 层Tag 参数,以键值对数组形式传入
|
7842
|
+
:type Tags: list of Tag
|
7822
7843
|
"""
|
7823
7844
|
self._LayerName = None
|
7824
7845
|
self._CompatibleRuntimes = None
|
7825
7846
|
self._Content = None
|
7826
7847
|
self._Description = None
|
7827
7848
|
self._LicenseInfo = None
|
7849
|
+
self._Tags = None
|
7828
7850
|
|
7829
7851
|
@property
|
7830
7852
|
def LayerName(self):
|
@@ -7866,6 +7888,14 @@ class PublishLayerVersionRequest(AbstractModel):
|
|
7866
7888
|
def LicenseInfo(self, LicenseInfo):
|
7867
7889
|
self._LicenseInfo = LicenseInfo
|
7868
7890
|
|
7891
|
+
@property
|
7892
|
+
def Tags(self):
|
7893
|
+
return self._Tags
|
7894
|
+
|
7895
|
+
@Tags.setter
|
7896
|
+
def Tags(self, Tags):
|
7897
|
+
self._Tags = Tags
|
7898
|
+
|
7869
7899
|
|
7870
7900
|
def _deserialize(self, params):
|
7871
7901
|
self._LayerName = params.get("LayerName")
|
@@ -7875,6 +7905,12 @@ class PublishLayerVersionRequest(AbstractModel):
|
|
7875
7905
|
self._Content._deserialize(params.get("Content"))
|
7876
7906
|
self._Description = params.get("Description")
|
7877
7907
|
self._LicenseInfo = params.get("LicenseInfo")
|
7908
|
+
if params.get("Tags") is not None:
|
7909
|
+
self._Tags = []
|
7910
|
+
for item in params.get("Tags"):
|
7911
|
+
obj = Tag()
|
7912
|
+
obj._deserialize(item)
|
7913
|
+
self._Tags.append(obj)
|
7878
7914
|
memeber_set = set(params.keys())
|
7879
7915
|
for name, value in vars(self).items():
|
7880
7916
|
property_name = name[1:]
|
@@ -10466,13 +10502,13 @@ class UpdateTriggerRequest(AbstractModel):
|
|
10466
10502
|
:type FunctionName: str
|
10467
10503
|
:param _TriggerName: 触发器名称
|
10468
10504
|
:type TriggerName: str
|
10469
|
-
:param _Type:
|
10505
|
+
:param _Type: 触发器类型,目前只支持timer、ckafka、http三种类型
|
10470
10506
|
:type Type: str
|
10471
10507
|
:param _Enable: 触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭
|
10472
10508
|
:type Enable: str
|
10473
|
-
:param _Qualifier:
|
10509
|
+
:param _Qualifier: 触发器创建时所指向的函数版本或别名,默认为 $LATEST
|
10474
10510
|
:type Qualifier: str
|
10475
|
-
:param _Namespace:
|
10511
|
+
:param _Namespace: 函数的命名空间,默认值为default
|
10476
10512
|
:type Namespace: str
|
10477
10513
|
:param _TriggerDesc: TriggerDesc参数
|
10478
10514
|
:type TriggerDesc: str
|
@@ -876,11 +876,71 @@ class CreateReceiverDetailWithDataResponse(AbstractModel):
|
|
876
876
|
|
877
877
|
def __init__(self):
|
878
878
|
r"""
|
879
|
+
:param _TotalCount: 收件人总数
|
880
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
881
|
+
:type TotalCount: int
|
882
|
+
:param _ValidCount: 实际上传数量
|
883
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
884
|
+
:type ValidCount: int
|
885
|
+
:param _TooLongCount: 数据过长数量
|
886
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
887
|
+
:type TooLongCount: int
|
888
|
+
:param _EmptyEmailCount: 邮件地址为空数量
|
889
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
890
|
+
:type EmptyEmailCount: int
|
891
|
+
:param _RepeatCount: 重复数量
|
892
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
893
|
+
:type RepeatCount: int
|
879
894
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
880
895
|
:type RequestId: str
|
881
896
|
"""
|
897
|
+
self._TotalCount = None
|
898
|
+
self._ValidCount = None
|
899
|
+
self._TooLongCount = None
|
900
|
+
self._EmptyEmailCount = None
|
901
|
+
self._RepeatCount = None
|
882
902
|
self._RequestId = None
|
883
903
|
|
904
|
+
@property
|
905
|
+
def TotalCount(self):
|
906
|
+
return self._TotalCount
|
907
|
+
|
908
|
+
@TotalCount.setter
|
909
|
+
def TotalCount(self, TotalCount):
|
910
|
+
self._TotalCount = TotalCount
|
911
|
+
|
912
|
+
@property
|
913
|
+
def ValidCount(self):
|
914
|
+
return self._ValidCount
|
915
|
+
|
916
|
+
@ValidCount.setter
|
917
|
+
def ValidCount(self, ValidCount):
|
918
|
+
self._ValidCount = ValidCount
|
919
|
+
|
920
|
+
@property
|
921
|
+
def TooLongCount(self):
|
922
|
+
return self._TooLongCount
|
923
|
+
|
924
|
+
@TooLongCount.setter
|
925
|
+
def TooLongCount(self, TooLongCount):
|
926
|
+
self._TooLongCount = TooLongCount
|
927
|
+
|
928
|
+
@property
|
929
|
+
def EmptyEmailCount(self):
|
930
|
+
return self._EmptyEmailCount
|
931
|
+
|
932
|
+
@EmptyEmailCount.setter
|
933
|
+
def EmptyEmailCount(self, EmptyEmailCount):
|
934
|
+
self._EmptyEmailCount = EmptyEmailCount
|
935
|
+
|
936
|
+
@property
|
937
|
+
def RepeatCount(self):
|
938
|
+
return self._RepeatCount
|
939
|
+
|
940
|
+
@RepeatCount.setter
|
941
|
+
def RepeatCount(self, RepeatCount):
|
942
|
+
self._RepeatCount = RepeatCount
|
943
|
+
|
884
944
|
@property
|
885
945
|
def RequestId(self):
|
886
946
|
return self._RequestId
|
@@ -891,6 +951,11 @@ class CreateReceiverDetailWithDataResponse(AbstractModel):
|
|
891
951
|
|
892
952
|
|
893
953
|
def _deserialize(self, params):
|
954
|
+
self._TotalCount = params.get("TotalCount")
|
955
|
+
self._ValidCount = params.get("ValidCount")
|
956
|
+
self._TooLongCount = params.get("TooLongCount")
|
957
|
+
self._EmptyEmailCount = params.get("EmptyEmailCount")
|
958
|
+
self._RepeatCount = params.get("RepeatCount")
|
894
959
|
self._RequestId = params.get("RequestId")
|
895
960
|
|
896
961
|
|
@@ -2550,11 +2615,20 @@ class ListReceiverDetailsRequest(AbstractModel):
|
|
2550
2615
|
:type Limit: int
|
2551
2616
|
:param _Email: 收件人地址,长度0-50,示例:xxx@te.com,支持模糊查询
|
2552
2617
|
:type Email: str
|
2618
|
+
:param _CreateTimeBegin: 搜索开始时间
|
2619
|
+
:type CreateTimeBegin: str
|
2620
|
+
:param _CreateTimeEnd: 搜索结束时间
|
2621
|
+
:type CreateTimeEnd: str
|
2622
|
+
:param _Status: 1:有效,2:无效
|
2623
|
+
:type Status: int
|
2553
2624
|
"""
|
2554
2625
|
self._ReceiverId = None
|
2555
2626
|
self._Offset = None
|
2556
2627
|
self._Limit = None
|
2557
2628
|
self._Email = None
|
2629
|
+
self._CreateTimeBegin = None
|
2630
|
+
self._CreateTimeEnd = None
|
2631
|
+
self._Status = None
|
2558
2632
|
|
2559
2633
|
@property
|
2560
2634
|
def ReceiverId(self):
|
@@ -2588,12 +2662,39 @@ class ListReceiverDetailsRequest(AbstractModel):
|
|
2588
2662
|
def Email(self, Email):
|
2589
2663
|
self._Email = Email
|
2590
2664
|
|
2665
|
+
@property
|
2666
|
+
def CreateTimeBegin(self):
|
2667
|
+
return self._CreateTimeBegin
|
2668
|
+
|
2669
|
+
@CreateTimeBegin.setter
|
2670
|
+
def CreateTimeBegin(self, CreateTimeBegin):
|
2671
|
+
self._CreateTimeBegin = CreateTimeBegin
|
2672
|
+
|
2673
|
+
@property
|
2674
|
+
def CreateTimeEnd(self):
|
2675
|
+
return self._CreateTimeEnd
|
2676
|
+
|
2677
|
+
@CreateTimeEnd.setter
|
2678
|
+
def CreateTimeEnd(self, CreateTimeEnd):
|
2679
|
+
self._CreateTimeEnd = CreateTimeEnd
|
2680
|
+
|
2681
|
+
@property
|
2682
|
+
def Status(self):
|
2683
|
+
return self._Status
|
2684
|
+
|
2685
|
+
@Status.setter
|
2686
|
+
def Status(self, Status):
|
2687
|
+
self._Status = Status
|
2688
|
+
|
2591
2689
|
|
2592
2690
|
def _deserialize(self, params):
|
2593
2691
|
self._ReceiverId = params.get("ReceiverId")
|
2594
2692
|
self._Offset = params.get("Offset")
|
2595
2693
|
self._Limit = params.get("Limit")
|
2596
2694
|
self._Email = params.get("Email")
|
2695
|
+
self._CreateTimeBegin = params.get("CreateTimeBegin")
|
2696
|
+
self._CreateTimeEnd = params.get("CreateTimeEnd")
|
2697
|
+
self._Status = params.get("Status")
|
2597
2698
|
memeber_set = set(params.keys())
|
2598
2699
|
for name, value in vars(self).items():
|
2599
2700
|
property_name = name[1:]
|
@@ -2615,11 +2716,17 @@ class ListReceiverDetailsResponse(AbstractModel):
|
|
2615
2716
|
:type TotalCount: int
|
2616
2717
|
:param _Data: 数据记录
|
2617
2718
|
:type Data: list of ReceiverDetail
|
2719
|
+
:param _ValidCount: 有效邮件地址数
|
2720
|
+
:type ValidCount: int
|
2721
|
+
:param _InvalidCount: 无效邮件地址数
|
2722
|
+
:type InvalidCount: int
|
2618
2723
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2619
2724
|
:type RequestId: str
|
2620
2725
|
"""
|
2621
2726
|
self._TotalCount = None
|
2622
2727
|
self._Data = None
|
2728
|
+
self._ValidCount = None
|
2729
|
+
self._InvalidCount = None
|
2623
2730
|
self._RequestId = None
|
2624
2731
|
|
2625
2732
|
@property
|
@@ -2638,6 +2745,22 @@ class ListReceiverDetailsResponse(AbstractModel):
|
|
2638
2745
|
def Data(self, Data):
|
2639
2746
|
self._Data = Data
|
2640
2747
|
|
2748
|
+
@property
|
2749
|
+
def ValidCount(self):
|
2750
|
+
return self._ValidCount
|
2751
|
+
|
2752
|
+
@ValidCount.setter
|
2753
|
+
def ValidCount(self, ValidCount):
|
2754
|
+
self._ValidCount = ValidCount
|
2755
|
+
|
2756
|
+
@property
|
2757
|
+
def InvalidCount(self):
|
2758
|
+
return self._InvalidCount
|
2759
|
+
|
2760
|
+
@InvalidCount.setter
|
2761
|
+
def InvalidCount(self, InvalidCount):
|
2762
|
+
self._InvalidCount = InvalidCount
|
2763
|
+
|
2641
2764
|
@property
|
2642
2765
|
def RequestId(self):
|
2643
2766
|
return self._RequestId
|
@@ -2655,6 +2778,8 @@ class ListReceiverDetailsResponse(AbstractModel):
|
|
2655
2778
|
obj = ReceiverDetail()
|
2656
2779
|
obj._deserialize(item)
|
2657
2780
|
self._Data.append(obj)
|
2781
|
+
self._ValidCount = params.get("ValidCount")
|
2782
|
+
self._InvalidCount = params.get("InvalidCount")
|
2658
2783
|
self._RequestId = params.get("RequestId")
|
2659
2784
|
|
2660
2785
|
|
@@ -2937,6 +3062,9 @@ class ReceiverData(AbstractModel):
|
|
2937
3062
|
:type ReceiversStatus: int
|
2938
3063
|
:param _CreateTime: 创建时间,如:2021-09-28 16:40:35
|
2939
3064
|
:type CreateTime: str
|
3065
|
+
:param _InvalidCount: 无效收件人数量
|
3066
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3067
|
+
:type InvalidCount: int
|
2940
3068
|
"""
|
2941
3069
|
self._ReceiverId = None
|
2942
3070
|
self._ReceiversName = None
|
@@ -2944,6 +3072,7 @@ class ReceiverData(AbstractModel):
|
|
2944
3072
|
self._Desc = None
|
2945
3073
|
self._ReceiversStatus = None
|
2946
3074
|
self._CreateTime = None
|
3075
|
+
self._InvalidCount = None
|
2947
3076
|
|
2948
3077
|
@property
|
2949
3078
|
def ReceiverId(self):
|
@@ -2993,6 +3122,14 @@ class ReceiverData(AbstractModel):
|
|
2993
3122
|
def CreateTime(self, CreateTime):
|
2994
3123
|
self._CreateTime = CreateTime
|
2995
3124
|
|
3125
|
+
@property
|
3126
|
+
def InvalidCount(self):
|
3127
|
+
return self._InvalidCount
|
3128
|
+
|
3129
|
+
@InvalidCount.setter
|
3130
|
+
def InvalidCount(self, InvalidCount):
|
3131
|
+
self._InvalidCount = InvalidCount
|
3132
|
+
|
2996
3133
|
|
2997
3134
|
def _deserialize(self, params):
|
2998
3135
|
self._ReceiverId = params.get("ReceiverId")
|
@@ -3001,6 +3138,7 @@ class ReceiverData(AbstractModel):
|
|
3001
3138
|
self._Desc = params.get("Desc")
|
3002
3139
|
self._ReceiversStatus = params.get("ReceiversStatus")
|
3003
3140
|
self._CreateTime = params.get("CreateTime")
|
3141
|
+
self._InvalidCount = params.get("InvalidCount")
|
3004
3142
|
memeber_set = set(params.keys())
|
3005
3143
|
for name, value in vars(self).items():
|
3006
3144
|
property_name = name[1:]
|
@@ -3024,10 +3162,22 @@ class ReceiverDetail(AbstractModel):
|
|
3024
3162
|
:type CreateTime: str
|
3025
3163
|
:param _TemplateData: 模板参数
|
3026
3164
|
:type TemplateData: str
|
3165
|
+
:param _Reason: 无效原因
|
3166
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3167
|
+
:type Reason: str
|
3168
|
+
:param _Status: 1:有效,2:无效
|
3169
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3170
|
+
:type Status: int
|
3171
|
+
:param _EmailId: 收件人地址id
|
3172
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3173
|
+
:type EmailId: int
|
3027
3174
|
"""
|
3028
3175
|
self._Email = None
|
3029
3176
|
self._CreateTime = None
|
3030
3177
|
self._TemplateData = None
|
3178
|
+
self._Reason = None
|
3179
|
+
self._Status = None
|
3180
|
+
self._EmailId = None
|
3031
3181
|
|
3032
3182
|
@property
|
3033
3183
|
def Email(self):
|
@@ -3053,11 +3203,38 @@ class ReceiverDetail(AbstractModel):
|
|
3053
3203
|
def TemplateData(self, TemplateData):
|
3054
3204
|
self._TemplateData = TemplateData
|
3055
3205
|
|
3206
|
+
@property
|
3207
|
+
def Reason(self):
|
3208
|
+
return self._Reason
|
3209
|
+
|
3210
|
+
@Reason.setter
|
3211
|
+
def Reason(self, Reason):
|
3212
|
+
self._Reason = Reason
|
3213
|
+
|
3214
|
+
@property
|
3215
|
+
def Status(self):
|
3216
|
+
return self._Status
|
3217
|
+
|
3218
|
+
@Status.setter
|
3219
|
+
def Status(self, Status):
|
3220
|
+
self._Status = Status
|
3221
|
+
|
3222
|
+
@property
|
3223
|
+
def EmailId(self):
|
3224
|
+
return self._EmailId
|
3225
|
+
|
3226
|
+
@EmailId.setter
|
3227
|
+
def EmailId(self, EmailId):
|
3228
|
+
self._EmailId = EmailId
|
3229
|
+
|
3056
3230
|
|
3057
3231
|
def _deserialize(self, params):
|
3058
3232
|
self._Email = params.get("Email")
|
3059
3233
|
self._CreateTime = params.get("CreateTime")
|
3060
3234
|
self._TemplateData = params.get("TemplateData")
|
3235
|
+
self._Reason = params.get("Reason")
|
3236
|
+
self._Status = params.get("Status")
|
3237
|
+
self._EmailId = params.get("EmailId")
|
3061
3238
|
memeber_set = set(params.keys())
|
3062
3239
|
for name, value in vars(self).items():
|
3063
3240
|
property_name = name[1:]
|
@@ -179,6 +179,9 @@ INVALIDPARAMETERVALUE_TEMPLATEPARAMETERFORMATERROR = 'InvalidParameterValue.Temp
|
|
179
179
|
# 单个模板变量字符数超过规定的限制数。您可以参考 <a href="https://cloud.tencent.com/document/product/382/39023#.E5.8F.98.E9.87.8F.E8.A7.84.E8.8C.83.5B.5D(id.3Avariable)">正文模板审核标准</a>下变量规范中关于长度的描述,对于长期未使用的账号及2024年1月25日后开通新账号默认最长支持6个字符,您的账号具体可支持字符长度以<a href="https://console.cloud.tencent.com/smsv2/csms-template/create">控制台显示为准</a>。更多疑问可联系 <a href="https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81">腾讯云短信小助手</a> 。
|
180
180
|
INVALIDPARAMETERVALUE_TEMPLATEPARAMETERLENGTHLIMIT = 'InvalidParameterValue.TemplateParameterLengthLimit'
|
181
181
|
|
182
|
+
# 申请国内短信通知和营销短信模板不支持添加变量。可参考 [控制台说明](https://console.cloud.tencent.com/smsv2/csms-template),更多疑问可咨询 [腾讯云短信小助手](https://cloud.tencent.com/document/product/382/3773#.E6.8A.80.E6.9C.AF.E4.BA.A4.E6.B5.81)
|
183
|
+
INVALIDPARAMETERVALUE_UNSUPPORTEDTEMPLATEVARIABLE = 'InvalidParameterValue.UnsupportedTemplateVariable'
|
184
|
+
|
182
185
|
# 业务短信国家/地区日下发条数超过设定的上限,可自行到控制台应用管理>基础配置下调整国际港澳台短信发送限制。
|
183
186
|
LIMITEXCEEDED_APPCOUNTRYORREGIONDAILYLIMIT = 'LimitExceeded.AppCountryOrRegionDailyLimit'
|
184
187
|
|