tccli 3.0.1108.1__py2.py3-none-any.whl → 3.0.1110.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/bi/v20220105/CreateEmbedToken.md +4 -2
- tccli/examples/cam/v20190116/CreateRole.md +1 -1
- tccli/examples/ccc/v20200210/CreateCompanyApply.md +10 -3
- tccli/examples/ccc/v20200210/DescribeCompanyList.md +2 -1
- tccli/examples/ccc/v20200210/ModifyCompanyApply.md +10 -3
- tccli/examples/emr/v20190103/DescribeEmrOverviewMetrics.md +40 -0
- tccli/examples/emr/v20190103/DescribeHBaseTableOverview.md +94 -0
- tccli/examples/ims/v20200713/ImageModeration.md +2 -2
- tccli/examples/ims/v20201229/ImageModeration.md +2 -2
- tccli/examples/vcg/v20240404/DescribeVideoStylizationJob.md +24 -0
- tccli/examples/vcg/v20240404/SubmitVideoStylizationJob.md +22 -0
- tccli/examples/vtc/v20240223/ConfirmVideoTranslateJob.md +33 -0
- tccli/examples/vtc/v20240223/DescribeVideoTranslateJob.md +70 -0
- tccli/examples/vtc/v20240223/SubmitVideoTranslateJob.md +49 -0
- tccli/services/__init__.py +6 -0
- tccli/services/autoscaling/v20180419/api.json +9 -8
- tccli/services/bi/v20220105/api.json +22 -3
- tccli/services/bi/v20220105/examples.json +2 -2
- tccli/services/cam/v20190116/api.json +71 -70
- tccli/services/cam/v20190116/examples.json +1 -1
- tccli/services/ccc/v20200210/api.json +99 -11
- tccli/services/ccc/v20200210/examples.json +3 -3
- tccli/services/cfw/v20190904/api.json +1 -1
- tccli/services/ckafka/v20190819/api.json +33 -13
- tccli/services/cls/v20201016/api.json +10 -10
- tccli/services/cvm/v20170312/api.json +33 -0
- tccli/services/dbbrain/v20210527/api.json +5 -5
- tccli/services/emr/emr_client.py +114 -8
- tccli/services/emr/v20190103/api.json +493 -0
- tccli/services/emr/v20190103/examples.json +16 -0
- tccli/services/hunyuan/v20230901/api.json +9 -0
- tccli/services/ims/v20200713/api.json +1 -1
- tccli/services/ims/v20200713/examples.json +1 -1
- tccli/services/ims/v20201229/api.json +1 -1
- tccli/services/ims/v20201229/examples.json +1 -1
- tccli/services/ms/v20180408/api.json +1 -1
- tccli/services/rce/rce_client.py +0 -53
- tccli/services/rce/v20201103/api.json +10 -34
- tccli/services/rce/v20201103/examples.json +0 -8
- tccli/services/tcss/v20201101/api.json +5 -5
- tccli/services/tdmq/v20200217/api.json +7 -7
- tccli/services/trtc/v20190722/api.json +20 -11
- tccli/services/vcg/__init__.py +4 -0
- tccli/services/vcg/v20240404/api.json +140 -0
- tccli/services/vcg/v20240404/examples.json +21 -0
- tccli/services/vcg/vcg_client.py +248 -0
- tccli/services/vod/v20180717/api.json +9 -0
- tccli/services/vtc/__init__.py +4 -0
- tccli/services/vtc/v20240223/api.json +425 -0
- tccli/services/vtc/v20240223/examples.json +41 -0
- tccli/services/vtc/vtc_client.py +301 -0
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1110.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1110.1.dist-info}/RECORD +57 -42
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1110.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1110.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1108.1.dist-info → tccli-3.0.1110.1.dist-info}/license_files/LICENSE +0 -0
tccli/services/rce/rce_client.py
CHANGED
@@ -17,58 +17,6 @@ from tencentcloud.rce.v20201103 import models as models_v20201103
|
|
17
17
|
from jmespath import search
|
18
18
|
import time
|
19
19
|
|
20
|
-
def doDescribeRiskAssessment(args, parsed_globals):
|
21
|
-
g_param = parse_global_arg(parsed_globals)
|
22
|
-
|
23
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
24
|
-
cred = credential.CVMRoleCredential()
|
25
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
26
|
-
cred = credential.STSAssumeRoleCredential(
|
27
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
28
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
29
|
-
)
|
30
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
31
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
32
|
-
else:
|
33
|
-
cred = credential.Credential(
|
34
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
35
|
-
)
|
36
|
-
http_profile = HttpProfile(
|
37
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
38
|
-
reqMethod="POST",
|
39
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
40
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
41
|
-
)
|
42
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
43
|
-
if g_param[OptionsDefine.Language]:
|
44
|
-
profile.language = g_param[OptionsDefine.Language]
|
45
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
46
|
-
client = mod.RceClient(cred, g_param[OptionsDefine.Region], profile)
|
47
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
48
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
49
|
-
model = models.DescribeRiskAssessmentRequest()
|
50
|
-
model.from_json_string(json.dumps(args))
|
51
|
-
start_time = time.time()
|
52
|
-
while True:
|
53
|
-
rsp = client.DescribeRiskAssessment(model)
|
54
|
-
result = rsp.to_json_string()
|
55
|
-
try:
|
56
|
-
json_obj = json.loads(result)
|
57
|
-
except TypeError as e:
|
58
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
59
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
60
|
-
break
|
61
|
-
cur_time = time.time()
|
62
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
63
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
64
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
65
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
66
|
-
else:
|
67
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
68
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
69
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
|
-
|
71
|
-
|
72
20
|
def doManageMarketingRisk(args, parsed_globals):
|
73
21
|
g_param = parse_global_arg(parsed_globals)
|
74
22
|
|
@@ -132,7 +80,6 @@ MODELS_MAP = {
|
|
132
80
|
}
|
133
81
|
|
134
82
|
ACTION_MAP = {
|
135
|
-
"DescribeRiskAssessment": doDescribeRiskAssessment,
|
136
83
|
"ManageMarketingRisk": doManageMarketingRisk,
|
137
84
|
|
138
85
|
}
|
@@ -1,12 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
-
"DescribeRiskAssessment": {
|
4
|
-
"document": "此接口用于查询风险评估结果",
|
5
|
-
"input": "DescribeRiskAssessmentRequest",
|
6
|
-
"name": "查询风险评估结果",
|
7
|
-
"output": "DescribeRiskAssessmentResponse",
|
8
|
-
"status": "online"
|
9
|
-
},
|
10
3
|
"ManageMarketingRisk": {
|
11
4
|
"document": "全栈式风控引擎(RiskControlEngine,RCE)是基于人工智能技术和腾讯20年风控实战沉淀,依托腾讯海量业务构建的风控引擎,以轻量级的 SaaS 服务方式接入,帮助您快速解决注册、登录、营销活动等关键场景遇到的欺诈问题,实时防御黑灰产作恶。",
|
12
5
|
"input": "ManageMarketingRiskRequest",
|
@@ -27,7 +20,7 @@
|
|
27
20
|
"members": [
|
28
21
|
{
|
29
22
|
"disabled": false,
|
30
|
-
"document": "用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要\"提交工单\"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。\n1:QQ开放账号\n2:微信开放账号\
|
23
|
+
"document": "用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要\"提交工单\"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。\n1:QQ开放账号\n2:微信开放账号\n10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值。",
|
31
24
|
"example": "10004",
|
32
25
|
"member": "uint64",
|
33
26
|
"name": "AccountType",
|
@@ -54,7 +47,7 @@
|
|
54
47
|
},
|
55
48
|
{
|
56
49
|
"disabled": false,
|
57
|
-
"document": "其它账号信息,AccountType是
|
50
|
+
"document": "其它账号信息,AccountType是10004时,该字段必填。",
|
58
51
|
"example": " 3ac9aa8a9a0074918763bfd6ed526ed9",
|
59
52
|
"member": "OtherAccountInfo",
|
60
53
|
"name": "OtherAccount",
|
@@ -64,23 +57,6 @@
|
|
64
57
|
],
|
65
58
|
"usage": "in"
|
66
59
|
},
|
67
|
-
"DescribeRiskAssessmentRequest": {
|
68
|
-
"document": "DescribeRiskAssessment请求参数结构体",
|
69
|
-
"members": [],
|
70
|
-
"type": "object"
|
71
|
-
},
|
72
|
-
"DescribeRiskAssessmentResponse": {
|
73
|
-
"document": "DescribeRiskAssessment返回参数结构体",
|
74
|
-
"members": [
|
75
|
-
{
|
76
|
-
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
77
|
-
"member": "string",
|
78
|
-
"name": "RequestId",
|
79
|
-
"type": "string"
|
80
|
-
}
|
81
|
-
],
|
82
|
-
"type": "object"
|
83
|
-
},
|
84
60
|
"InputCryptoManageMarketingRisk": {
|
85
61
|
"document": "全栈式风控引擎入参",
|
86
62
|
"members": [
|
@@ -148,7 +124,7 @@
|
|
148
124
|
"members": [
|
149
125
|
{
|
150
126
|
"disabled": false,
|
151
|
-
"document": "用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要\"提交工单\"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。\n1:QQ开放账号\n2:微信开放账号\
|
127
|
+
"document": "用户账号类型;默认开通QQOpenId、手机号MD5权限;如果需要使用微信OpenId入参,则需要\"提交工单\"或联系对接人进行资格审核,审核通过后方可正常使用微信开放账号。\n1:QQ开放账号\n2:微信开放账号\n10004:手机号MD5,中国大陆11位手机号进行MD5加密,取32位小写值。",
|
152
128
|
"example": "AccountInfo.AccountType= 10004",
|
153
129
|
"member": "AccountInfo",
|
154
130
|
"name": "Account",
|
@@ -301,7 +277,7 @@
|
|
301
277
|
},
|
302
278
|
{
|
303
279
|
"disabled": false,
|
304
|
-
"document": "
|
280
|
+
"document": "设备类型(已不推荐使用)。",
|
305
281
|
"example": "1",
|
306
282
|
"member": "int64",
|
307
283
|
"name": "DeviceType",
|
@@ -454,7 +430,7 @@
|
|
454
430
|
"members": [
|
455
431
|
{
|
456
432
|
"disabled": false,
|
457
|
-
"document": "其他账号信息;\nAccountType是
|
433
|
+
"document": "其他账号信息;\nAccountType是10004时,填入中国大陆标准11位手机号的MD5值\n注释:\nMD5手机号加密方式,使用中国大陆11位手机号进行MD5加密,加密后取32位小写值。",
|
458
434
|
"example": "无",
|
459
435
|
"member": "string",
|
460
436
|
"name": "AccountId",
|
@@ -472,7 +448,7 @@
|
|
472
448
|
},
|
473
449
|
{
|
474
450
|
"disabled": false,
|
475
|
-
"document": "
|
451
|
+
"document": "用户设备号(已不推荐使用)。",
|
476
452
|
"example": "无",
|
477
453
|
"member": "string",
|
478
454
|
"name": "DeviceId",
|
@@ -533,7 +509,7 @@
|
|
533
509
|
"members": [
|
534
510
|
{
|
535
511
|
"disabled": false,
|
536
|
-
"document": "账号ID:对应输入参数。\n当AccountType为1时,对应QQ的OpenId。\n当AccountType为2时,对应微信的OpenId/UnionId。\n当AccountType为
|
512
|
+
"document": "账号ID:对应输入参数。\n当AccountType为1时,对应QQ的OpenId。\n当AccountType为2时,对应微信的OpenId/UnionId。\n当AccountType为10004时,对应手机号的MD5值。\n注意:此字段可能返回 null,表示取不到有效值。",
|
537
513
|
"example": "3ac9aa8a9a0074918763bfd6ed526ed9",
|
538
514
|
"member": "string",
|
539
515
|
"name": "UserId",
|
@@ -583,7 +559,7 @@
|
|
583
559
|
},
|
584
560
|
{
|
585
561
|
"disabled": false,
|
586
|
-
"document": "风险类型,可能同时命中多个风险类型\n1: 账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素。\n11: 疑似低活跃账号,账号活跃度与正常用户有差异。\n2: 垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报。\n21: 疑似小号,账号有疑似线上养号,小号等行为。\n22: 疑似违规账号,账号曾有违规行为、曾被举报过、曾因违规被处罚过等。\n3: 无效账号,送检账号参数无法成功解析,请检查微信 OpenId 是否有误/AppId 与 QQ OpenId 无法关联/微信 OpenId 权限是否开通/手机号是否为中国大陆手机号;\n4: 黑名单,该账号在业务侧有过拉黑记录。\n5: 白名单,业务自行有添加过白名单记录。\n101: 批量操作,存在 IP/设备/环境等因素的聚集性异常。\n1011: 疑似 IP 属性聚集,出现 IP 聚集。\n1012: 疑似设备属性聚集,出现设备聚集。\n102: 自动机,疑似自动机批量请求。\n103: 恶意行为-网赚,疑似网赚。\n104: 微信登录态无效,检查 WeChatAccessToken 参数,是否已经失效。\n201: 环境风险,环境异常操作 IP/设备/环境存在异常。当前 IP 为非常用 IP 或恶意 IP 段。\n2011: 疑似非常用IP,请求当前请求 IP 非该账号常用 IP。\n2012: 疑似 IP 异常,使用 IDC 机房 IP 或使用代理 IP 或使用恶意 IP 等。\n205: 非公网有效 IP,传进来的 IP 地址为内网 IP 地址或者 IP 保留地址。\
|
562
|
+
"document": "风险类型,可能同时命中多个风险类型\n1: 账号信用低,账号近期存在因恶意被处罚历史,网络低活跃,被举报等因素。\n11: 疑似低活跃账号,账号活跃度与正常用户有差异。\n2: 垃圾账号,疑似批量注册小号,近期存在严重违规或大量举报。\n21: 疑似小号,账号有疑似线上养号,小号等行为。\n22: 疑似违规账号,账号曾有违规行为、曾被举报过、曾因违规被处罚过等。\n3: 无效账号,送检账号参数无法成功解析,请检查微信 OpenId 是否有误/AppId 与 QQ OpenId 无法关联/微信 OpenId 权限是否开通/手机号是否为中国大陆手机号;\n4: 黑名单,该账号在业务侧有过拉黑记录。\n5: 白名单,业务自行有添加过白名单记录。\n101: 批量操作,存在 IP/设备/环境等因素的聚集性异常。\n1011: 疑似 IP 属性聚集,出现 IP 聚集。\n1012: 疑似设备属性聚集,出现设备聚集。\n102: 自动机,疑似自动机批量请求。\n103: 恶意行为-网赚,疑似网赚。\n104: 微信登录态无效,检查 WeChatAccessToken 参数,是否已经失效。\n201: 环境风险,环境异常操作 IP/设备/环境存在异常。当前 IP 为非常用 IP 或恶意 IP 段。\n2011: 疑似非常用IP,请求当前请求 IP 非该账号常用 IP。\n2012: 疑似 IP 异常,使用 IDC 机房 IP 或使用代理 IP 或使用恶意 IP 等。\n205: 非公网有效 IP,传进来的 IP 地址为内网 IP 地址或者 IP 保留地址。\n注意:此字段可能返回 null,表示取不到有效值。",
|
587
563
|
"example": "[101,201]",
|
588
564
|
"member": "int64",
|
589
565
|
"name": "RiskType",
|
@@ -655,7 +631,7 @@
|
|
655
631
|
},
|
656
632
|
{
|
657
633
|
"disabled": false,
|
658
|
-
"document": "
|
634
|
+
"document": "用户设备号(已不推荐使用)。\n",
|
659
635
|
"example": "无",
|
660
636
|
"member": "string",
|
661
637
|
"name": "DeviceId",
|
@@ -775,7 +751,7 @@
|
|
775
751
|
},
|
776
752
|
{
|
777
753
|
"disabled": false,
|
778
|
-
"document": "
|
754
|
+
"document": "用户设备号(已不推荐使用)。",
|
779
755
|
"example": "无",
|
780
756
|
"member": "string",
|
781
757
|
"name": "DeviceId",
|
@@ -1,13 +1,5 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
|
-
"DescribeRiskAssessment": [
|
4
|
-
{
|
5
|
-
"document": "",
|
6
|
-
"input": "POST / HTTP/1.1\nHost: rce.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRiskAssessment\n<公共请求参数>\n\n{}",
|
7
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"a6227506-5f00-43cf-9a4c-66fe931cefc9\"\n }\n}",
|
8
|
-
"title": "DescribeRiskAssessment"
|
9
|
-
}
|
10
|
-
],
|
11
3
|
"ManageMarketingRisk": [
|
12
4
|
{
|
13
5
|
"document": "使用手机号MD5请求方式",
|
@@ -16666,7 +16666,7 @@
|
|
16666
16666
|
},
|
16667
16667
|
{
|
16668
16668
|
"disabled": false,
|
16669
|
-
"document": "
|
16669
|
+
"document": "必填参数,镜像唯一ID,可通过DescribeAssetImageRegistryList接口获取",
|
16670
16670
|
"example": "无",
|
16671
16671
|
"member": "uint64",
|
16672
16672
|
"name": "Id",
|
@@ -16685,7 +16685,7 @@
|
|
16685
16685
|
"example": "无",
|
16686
16686
|
"member": "string",
|
16687
16687
|
"name": "DownloadUrl",
|
16688
|
-
"
|
16688
|
+
"output_required": true,
|
16689
16689
|
"type": "string",
|
16690
16690
|
"value_allowed_null": true
|
16691
16691
|
},
|
@@ -16739,7 +16739,7 @@
|
|
16739
16739
|
},
|
16740
16740
|
{
|
16741
16741
|
"disabled": false,
|
16742
|
-
"document": "
|
16742
|
+
"document": "必填参数,镜像唯一ID,可通过DescribeAssetImageRegistryList接口获取",
|
16743
16743
|
"example": "无",
|
16744
16744
|
"member": "uint64",
|
16745
16745
|
"name": "Id",
|
@@ -16758,7 +16758,7 @@
|
|
16758
16758
|
"example": "无",
|
16759
16759
|
"member": "ImageVul",
|
16760
16760
|
"name": "List",
|
16761
|
-
"
|
16761
|
+
"output_required": true,
|
16762
16762
|
"type": "list",
|
16763
16763
|
"value_allowed_null": true
|
16764
16764
|
},
|
@@ -16768,7 +16768,7 @@
|
|
16768
16768
|
"example": "无",
|
16769
16769
|
"member": "uint64",
|
16770
16770
|
"name": "TotalCount",
|
16771
|
-
"
|
16771
|
+
"output_required": true,
|
16772
16772
|
"type": "int",
|
16773
16773
|
"value_allowed_null": true
|
16774
16774
|
},
|
@@ -316,11 +316,11 @@
|
|
316
316
|
"status": "online"
|
317
317
|
},
|
318
318
|
"DescribeCmqDeadLetterSourceQueues": {
|
319
|
-
"document": "枚举cmq死信队列源队列",
|
319
|
+
"document": "接口很久之前已删除,需下线\n\n枚举cmq死信队列源队列",
|
320
320
|
"input": "DescribeCmqDeadLetterSourceQueuesRequest",
|
321
321
|
"name": "枚举cmq死信队列源队列",
|
322
322
|
"output": "DescribeCmqDeadLetterSourceQueuesResponse",
|
323
|
-
"status": "
|
323
|
+
"status": "deprecated"
|
324
324
|
},
|
325
325
|
"DescribeCmqQueueDetail": {
|
326
326
|
"document": "查询cmq队列详情",
|
@@ -2733,7 +2733,7 @@
|
|
2733
2733
|
},
|
2734
2734
|
{
|
2735
2735
|
"disabled": false,
|
2736
|
-
"document": "消息最大长度。取值范围 1024-
|
2736
|
+
"document": "消息最大长度。取值范围 1024-1048576 Byte(即1-1024K),默认值 1048576。",
|
2737
2737
|
"example": "0",
|
2738
2738
|
"member": "uint64",
|
2739
2739
|
"name": "MaxMsgSize",
|
@@ -11616,7 +11616,7 @@
|
|
11616
11616
|
},
|
11617
11617
|
{
|
11618
11618
|
"disabled": false,
|
11619
|
-
"document": "
|
11619
|
+
"document": "订阅名字,在单个地域同一账号的同一主题下唯一。订阅名称是一个不超过64个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)。",
|
11620
11620
|
"example": "tese-sub",
|
11621
11621
|
"member": "string",
|
11622
11622
|
"name": "SubscriptionName",
|
@@ -17284,7 +17284,7 @@
|
|
17284
17284
|
},
|
17285
17285
|
{
|
17286
17286
|
"disabled": false,
|
17287
|
-
"document": "
|
17287
|
+
"document": "延迟时间。单位为秒,默认值为0秒,最大不能超过队列配置的消息最长未确认时间。",
|
17288
17288
|
"example": "100",
|
17289
17289
|
"member": "int64",
|
17290
17290
|
"name": "DelaySeconds",
|
@@ -17303,7 +17303,7 @@
|
|
17303
17303
|
"example": "true",
|
17304
17304
|
"member": "bool",
|
17305
17305
|
"name": "Result",
|
17306
|
-
"
|
17306
|
+
"output_required": true,
|
17307
17307
|
"type": "bool",
|
17308
17308
|
"value_allowed_null": false
|
17309
17309
|
},
|
@@ -17313,7 +17313,7 @@
|
|
17313
17313
|
"example": "xxx",
|
17314
17314
|
"member": "string",
|
17315
17315
|
"name": "MsgId",
|
17316
|
-
"
|
17316
|
+
"output_required": true,
|
17317
17317
|
"type": "string",
|
17318
17318
|
"value_allowed_null": false
|
17319
17319
|
},
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"status": "online"
|
30
30
|
},
|
31
31
|
"DescribeCallDetailInfo": {
|
32
|
-
"document": "
|
32
|
+
"document": "查询指定时间内的用户列表及用户通话质量数据,最大可查询14天内数据。DataType 不为null,查询起止时间不超过1个小时,查询用户不超过6个,支持跨天查询。DataType为null时,查询起止时间不超过4个小时, 默认查询6个用户,同时支持每页查询100以内用户个数(PageSize不超过100)。接口用于查询质量问题,不推荐作为计费使用。(同老接口DescribeCallDetail)\n**注意**:\n1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。\n2.该接口自2024年4月1日起正式商业化,需订阅套餐解锁调用能力,提供以下两种解锁方式,可任选其一解锁:\n方式一:通过订阅[包月套餐](https://cloud.tencent.com/document/product/647/85386)「尊享版」(可查近7天)和「旗舰版」(可查近14天),[前往订阅](https://buy.cloud.tencent.com/trtc?trtcversion=top)。\n方式二:通过订阅[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)商业套餐包「基础版」(可查近7天)和「进阶版」(可查近14天),[前往订阅](https://buy.cloud.tencent.com/trtc_monitor)。",
|
33
33
|
"input": "DescribeCallDetailInfoRequest",
|
34
34
|
"name": "查询历史用户列表与通话指标",
|
35
35
|
"output": "DescribeCallDetailInfoResponse",
|
@@ -78,7 +78,7 @@
|
|
78
78
|
"status": "online"
|
79
79
|
},
|
80
80
|
"DescribeRoomInfo": {
|
81
|
-
"document": "查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100
|
81
|
+
"document": "查询SdkAppId下的房间列表。默认返回10条通话,一次最多返回100条通话。最大可查询14天内的数据。(同老接口DescribeRoomInformation)\n**注意**:\n1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。\n2.该接口自2024年4月1日起正式商业化,需订阅套餐解锁调用能力,提供以下两种解锁方式,可任意其一解锁:\n方式一:通过订阅[包月套餐](https://cloud.tencent.com/document/product/647/85386)「尊享版」(可查近7天)和「旗舰版」(可查近14天),[前往订阅](https://buy.cloud.tencent.com/trtc?trtcversion=top)。\n方式二:通过订阅[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)商业套餐包「基础版」(可查近7天)和「进阶版」(可查近14天),[前往订阅](https://buy.cloud.tencent.com/trtc_monitor)。",
|
82
82
|
"input": "DescribeRoomInfoRequest",
|
83
83
|
"name": "查询历史房间列表",
|
84
84
|
"output": "DescribeRoomInfoResponse",
|
@@ -190,7 +190,7 @@
|
|
190
190
|
"status": "online"
|
191
191
|
},
|
192
192
|
"DescribeUserInfo": {
|
193
|
-
"document": "
|
193
|
+
"document": "查询指定时间内的用户列表,最大可查询14天内数据,查询起止时间不超过4小时。默认每页查询6个用户,支持每页最大查询100个用户PageSize不超过100)。(同老接口DescribeUserInformation)\n**注意**:\n1.该接口只用于历史数据统计或核对数据使用,实时类关键业务逻辑不能使用。\n2.该接口自2024年4月1日起正式商业化,需订阅套餐解锁调用能力,提供以下两种解锁方式,可任选其一解锁:\n方式一:通过订阅[包月套餐](https://cloud.tencent.com/document/product/647/85386)「尊享版」(可查近7天)和「旗舰版」(可查近14天),[前往订阅](https://buy.cloud.tencent.com/trtc?trtcversion=top)。\n方式二:通过订阅[监控仪表盘](https://cloud.tencent.com/document/product/647/81331)商业套餐包「基础版」(可查近7天)和「进阶版」(可查近14天),[前往订阅](https://buy.cloud.tencent.com/trtc_monitor)。",
|
194
194
|
"input": "DescribeUserInfoRequest",
|
195
195
|
"name": "查询历史用户列表",
|
196
196
|
"output": "DescribeUserInfoResponse",
|
@@ -1477,7 +1477,7 @@
|
|
1477
1477
|
},
|
1478
1478
|
{
|
1479
1479
|
"disabled": false,
|
1480
|
-
"document": "查询开始时间,本地unix时间戳,单位为秒(如:1590065777
|
1480
|
+
"document": "查询开始时间,本地unix时间戳,单位为秒(如:1590065777)注意:最大支持查询14天内的数据",
|
1481
1481
|
"example": "1590065777",
|
1482
1482
|
"member": "uint64",
|
1483
1483
|
"name": "StartTime",
|
@@ -2520,7 +2520,7 @@
|
|
2520
2520
|
},
|
2521
2521
|
{
|
2522
2522
|
"disabled": false,
|
2523
|
-
"document": "查询开始时间,本地unix时间戳,单位为秒(如:1590065777
|
2523
|
+
"document": "查询开始时间,本地unix时间戳,单位为秒(如:1590065777)注意:最大支持查询14天内的数据",
|
2524
2524
|
"example": "1590065777",
|
2525
2525
|
"member": "uint64",
|
2526
2526
|
"name": "StartTime",
|
@@ -5517,12 +5517,12 @@
|
|
5517
5517
|
},
|
5518
5518
|
{
|
5519
5519
|
"disabled": false,
|
5520
|
-
"document": "
|
5520
|
+
"document": "源流URL。历史原因本字段【必填】。如果是视频流,分辨率请保持不变。",
|
5521
5521
|
"example": "https://a.b/test.mp4",
|
5522
5522
|
"member": "string",
|
5523
|
-
"name": "
|
5523
|
+
"name": "StreamUrl",
|
5524
5524
|
"required": false,
|
5525
|
-
"type": "
|
5525
|
+
"type": "string"
|
5526
5526
|
},
|
5527
5527
|
{
|
5528
5528
|
"disabled": false,
|
@@ -5553,12 +5553,21 @@
|
|
5553
5553
|
},
|
5554
5554
|
{
|
5555
5555
|
"disabled": false,
|
5556
|
-
"document": "
|
5556
|
+
"document": "【本字段已废弃,请使用 StreamUrl 字段】源流URL,支持一个地址。",
|
5557
5557
|
"example": "https://a.b/test.mp4",
|
5558
5558
|
"member": "string",
|
5559
|
-
"name": "
|
5559
|
+
"name": "SourceUrl",
|
5560
5560
|
"required": false,
|
5561
|
-
"type": "
|
5561
|
+
"type": "list"
|
5562
|
+
},
|
5563
|
+
{
|
5564
|
+
"disabled": false,
|
5565
|
+
"document": "指定视频从某个秒时间戳播放",
|
5566
|
+
"example": "无",
|
5567
|
+
"member": "int64",
|
5568
|
+
"name": "SeekSecond",
|
5569
|
+
"required": false,
|
5570
|
+
"type": "int"
|
5562
5571
|
}
|
5563
5572
|
],
|
5564
5573
|
"type": "object"
|
@@ -0,0 +1,140 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"DescribeVideoStylizationJob": {
|
4
|
+
"document": "用于查询视频风格化任务。视频风格化支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。",
|
5
|
+
"input": "DescribeVideoStylizationJobRequest",
|
6
|
+
"name": "查询视频风格化任务",
|
7
|
+
"output": "DescribeVideoStylizationJobResponse",
|
8
|
+
"status": "online"
|
9
|
+
},
|
10
|
+
"SubmitVideoStylizationJob": {
|
11
|
+
"document": "用于提交视频风格化任务。支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。",
|
12
|
+
"input": "SubmitVideoStylizationJobRequest",
|
13
|
+
"name": "提交视频风格化任务",
|
14
|
+
"output": "SubmitVideoStylizationJobResponse",
|
15
|
+
"status": "online"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"metadata": {
|
19
|
+
"apiVersion": "2024-04-04",
|
20
|
+
"api_brief": "视频生成",
|
21
|
+
"serviceNameCN": "视频生成",
|
22
|
+
"serviceShortName": "vcg"
|
23
|
+
},
|
24
|
+
"objects": {
|
25
|
+
"DescribeVideoStylizationJobRequest": {
|
26
|
+
"document": "DescribeVideoStylizationJob请求参数结构体",
|
27
|
+
"members": [
|
28
|
+
{
|
29
|
+
"disabled": false,
|
30
|
+
"document": "任务ID",
|
31
|
+
"example": "无",
|
32
|
+
"member": "string",
|
33
|
+
"name": "JobId",
|
34
|
+
"required": true,
|
35
|
+
"type": "string"
|
36
|
+
}
|
37
|
+
],
|
38
|
+
"type": "object"
|
39
|
+
},
|
40
|
+
"DescribeVideoStylizationJobResponse": {
|
41
|
+
"document": "DescribeVideoStylizationJob返回参数结构体",
|
42
|
+
"members": [
|
43
|
+
{
|
44
|
+
"disabled": false,
|
45
|
+
"document": "任务ID。",
|
46
|
+
"example": "无",
|
47
|
+
"member": "string",
|
48
|
+
"name": "JobId",
|
49
|
+
"output_required": false,
|
50
|
+
"type": "string",
|
51
|
+
"value_allowed_null": false
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"disabled": false,
|
55
|
+
"document": "任务状态码:\nJobInit: \"初始化中\"\nJobModerationFailed: \"审核失败\",\nJobRunning: \"处理中\",\nJobFailed: \"处理完成\",\nJobSuccess: \"处理失败\"。",
|
56
|
+
"example": "无",
|
57
|
+
"member": "string",
|
58
|
+
"name": "StatusCode",
|
59
|
+
"output_required": false,
|
60
|
+
"type": "string",
|
61
|
+
"value_allowed_null": false
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"disabled": false,
|
65
|
+
"document": "任务状态描述。",
|
66
|
+
"example": "无",
|
67
|
+
"member": "string",
|
68
|
+
"name": "StatusMsg",
|
69
|
+
"output_required": false,
|
70
|
+
"type": "string",
|
71
|
+
"value_allowed_null": false
|
72
|
+
},
|
73
|
+
{
|
74
|
+
"disabled": false,
|
75
|
+
"document": "处理结果视频Url。URL有效期为24小时。",
|
76
|
+
"example": "无",
|
77
|
+
"member": "string",
|
78
|
+
"name": "ResultVideoUrl",
|
79
|
+
"output_required": false,
|
80
|
+
"type": "string",
|
81
|
+
"value_allowed_null": false
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
85
|
+
"member": "string",
|
86
|
+
"name": "RequestId",
|
87
|
+
"type": "string"
|
88
|
+
}
|
89
|
+
],
|
90
|
+
"type": "object"
|
91
|
+
},
|
92
|
+
"SubmitVideoStylizationJobRequest": {
|
93
|
+
"document": "SubmitVideoStylizationJob请求参数结构体",
|
94
|
+
"members": [
|
95
|
+
{
|
96
|
+
"disabled": false,
|
97
|
+
"document": "风格ID,取值说明:2d_anime 2D动漫;3d_cartoon 3D卡通;3d_china 3D国潮;pixel_art\t像素风。",
|
98
|
+
"example": "2d_anime, 3d_cartoon, 3d_china, pixel_art",
|
99
|
+
"member": "string",
|
100
|
+
"name": "StyleId",
|
101
|
+
"required": true,
|
102
|
+
"type": "string"
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"disabled": false,
|
106
|
+
"document": "输入视频URL。视频要求:\n- 视频格式:mp4、mov;\n- 视频时长:1~60秒;\n- 视频分辨率:540P~2056P,即长宽像素数均在540px~2056px范围内;\n- 视频大小:不超过200M;\n- 视频FPS:15~60fps。",
|
107
|
+
"example": "无",
|
108
|
+
"member": "string",
|
109
|
+
"name": "VideoUrl",
|
110
|
+
"required": true,
|
111
|
+
"type": "string"
|
112
|
+
}
|
113
|
+
],
|
114
|
+
"type": "object"
|
115
|
+
},
|
116
|
+
"SubmitVideoStylizationJobResponse": {
|
117
|
+
"document": "SubmitVideoStylizationJob返回参数结构体",
|
118
|
+
"members": [
|
119
|
+
{
|
120
|
+
"disabled": false,
|
121
|
+
"document": "任务ID",
|
122
|
+
"example": "无",
|
123
|
+
"member": "string",
|
124
|
+
"name": "JobId",
|
125
|
+
"output_required": false,
|
126
|
+
"type": "string",
|
127
|
+
"value_allowed_null": false
|
128
|
+
},
|
129
|
+
{
|
130
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
131
|
+
"member": "string",
|
132
|
+
"name": "RequestId",
|
133
|
+
"type": "string"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
"type": "object"
|
137
|
+
}
|
138
|
+
},
|
139
|
+
"version": "1.0"
|
140
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
{
|
2
|
+
"actions": {
|
3
|
+
"DescribeVideoStylizationJob": [
|
4
|
+
{
|
5
|
+
"document": "成功请求",
|
6
|
+
"input": "POST / HTTP/1.1\nHost: vcg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeVideoStylizationJob\n<公共请求参数>\n\n{\n \"JobId\": \"\"\n}",
|
7
|
+
"output": "{\n \"Response\": {\n \"JobId\": \"\",\n \"RequestId\": \"\",\n \"ResultVideoUrl\": \"\",\n \"StatusCode\": \"JobSuccess\",\n \"StatusMsg\": \"处理完成\"\n }\n}",
|
8
|
+
"title": "成功请求"
|
9
|
+
}
|
10
|
+
],
|
11
|
+
"SubmitVideoStylizationJob": [
|
12
|
+
{
|
13
|
+
"document": "提交成功",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: vcg.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitVideoStylizationJob\n<公共请求参数>\n\n{\n \"StyleId\": \"2d_anime\",\n \"VideoUrl\": \"\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"JobId\": \"\",\n \"RequestId\": \"\"\n }\n}",
|
16
|
+
"title": "提交成功"
|
17
|
+
}
|
18
|
+
]
|
19
|
+
},
|
20
|
+
"version": "1.0"
|
21
|
+
}
|