tccli 3.0.1314.1__py2.py3-none-any.whl → 3.0.1315.1__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.
- tccli/__init__.py +1 -1
- tccli/services/mps/mps_client.py +171 -12
- tccli/services/mps/v20190612/api.json +472 -0
- tccli/services/mps/v20190612/examples.json +24 -0
- {tccli-3.0.1314.1.dist-info → tccli-3.0.1315.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1314.1.dist-info → tccli-3.0.1315.1.dist-info}/RECORD +9 -9
- {tccli-3.0.1314.1.dist-info → tccli-3.0.1315.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1314.1.dist-info → tccli-3.0.1315.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1314.1.dist-info → tccli-3.0.1315.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1315.1'
|
tccli/services/mps/mps_client.py
CHANGED
@@ -277,6 +277,58 @@ def doDeleteWatermarkTemplate(args, parsed_globals):
|
|
277
277
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
278
|
|
279
279
|
|
280
|
+
def doDescribeBatchTaskDetail(args, parsed_globals):
|
281
|
+
g_param = parse_global_arg(parsed_globals)
|
282
|
+
|
283
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
284
|
+
cred = credential.CVMRoleCredential()
|
285
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
286
|
+
cred = credential.STSAssumeRoleCredential(
|
287
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
288
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
289
|
+
)
|
290
|
+
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):
|
291
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
292
|
+
else:
|
293
|
+
cred = credential.Credential(
|
294
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
295
|
+
)
|
296
|
+
http_profile = HttpProfile(
|
297
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
298
|
+
reqMethod="POST",
|
299
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
300
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
301
|
+
)
|
302
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
303
|
+
if g_param[OptionsDefine.Language]:
|
304
|
+
profile.language = g_param[OptionsDefine.Language]
|
305
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
306
|
+
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
307
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
308
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
309
|
+
model = models.DescribeBatchTaskDetailRequest()
|
310
|
+
model.from_json_string(json.dumps(args))
|
311
|
+
start_time = time.time()
|
312
|
+
while True:
|
313
|
+
rsp = client.DescribeBatchTaskDetail(model)
|
314
|
+
result = rsp.to_json_string()
|
315
|
+
try:
|
316
|
+
json_obj = json.loads(result)
|
317
|
+
except TypeError as e:
|
318
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
319
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
320
|
+
break
|
321
|
+
cur_time = time.time()
|
322
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
323
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
324
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
325
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
326
|
+
else:
|
327
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
328
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
329
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
330
|
+
|
331
|
+
|
280
332
|
def doModifyLiveRecordTemplate(args, parsed_globals):
|
281
333
|
g_param = parse_global_arg(parsed_globals)
|
282
334
|
|
@@ -1733,6 +1785,58 @@ def doExecuteFunction(args, parsed_globals):
|
|
1733
1785
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1734
1786
|
|
1735
1787
|
|
1788
|
+
def doBatchProcessMedia(args, parsed_globals):
|
1789
|
+
g_param = parse_global_arg(parsed_globals)
|
1790
|
+
|
1791
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1792
|
+
cred = credential.CVMRoleCredential()
|
1793
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1794
|
+
cred = credential.STSAssumeRoleCredential(
|
1795
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1796
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1797
|
+
)
|
1798
|
+
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):
|
1799
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1800
|
+
else:
|
1801
|
+
cred = credential.Credential(
|
1802
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1803
|
+
)
|
1804
|
+
http_profile = HttpProfile(
|
1805
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1806
|
+
reqMethod="POST",
|
1807
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1808
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1809
|
+
)
|
1810
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1811
|
+
if g_param[OptionsDefine.Language]:
|
1812
|
+
profile.language = g_param[OptionsDefine.Language]
|
1813
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1814
|
+
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
1815
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1816
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1817
|
+
model = models.BatchProcessMediaRequest()
|
1818
|
+
model.from_json_string(json.dumps(args))
|
1819
|
+
start_time = time.time()
|
1820
|
+
while True:
|
1821
|
+
rsp = client.BatchProcessMedia(model)
|
1822
|
+
result = rsp.to_json_string()
|
1823
|
+
try:
|
1824
|
+
json_obj = json.loads(result)
|
1825
|
+
except TypeError as e:
|
1826
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1827
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1828
|
+
break
|
1829
|
+
cur_time = time.time()
|
1830
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1831
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1832
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1833
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1834
|
+
else:
|
1835
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1836
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1837
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
|
+
|
1839
|
+
|
1736
1840
|
def doDescribeStreamLinkFlows(args, parsed_globals):
|
1737
1841
|
g_param = parse_global_arg(parsed_globals)
|
1738
1842
|
|
@@ -1837,6 +1941,58 @@ def doDescribeSnapshotByTimeOffsetTemplates(args, parsed_globals):
|
|
1837
1941
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1838
1942
|
|
1839
1943
|
|
1944
|
+
def doDeleteSampleSnapshotTemplate(args, parsed_globals):
|
1945
|
+
g_param = parse_global_arg(parsed_globals)
|
1946
|
+
|
1947
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
1948
|
+
cred = credential.CVMRoleCredential()
|
1949
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
1950
|
+
cred = credential.STSAssumeRoleCredential(
|
1951
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
1952
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
1953
|
+
)
|
1954
|
+
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):
|
1955
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
1956
|
+
else:
|
1957
|
+
cred = credential.Credential(
|
1958
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
1959
|
+
)
|
1960
|
+
http_profile = HttpProfile(
|
1961
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
1962
|
+
reqMethod="POST",
|
1963
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
1964
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
1965
|
+
)
|
1966
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
1967
|
+
if g_param[OptionsDefine.Language]:
|
1968
|
+
profile.language = g_param[OptionsDefine.Language]
|
1969
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
1970
|
+
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
1971
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
1972
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
1973
|
+
model = models.DeleteSampleSnapshotTemplateRequest()
|
1974
|
+
model.from_json_string(json.dumps(args))
|
1975
|
+
start_time = time.time()
|
1976
|
+
while True:
|
1977
|
+
rsp = client.DeleteSampleSnapshotTemplate(model)
|
1978
|
+
result = rsp.to_json_string()
|
1979
|
+
try:
|
1980
|
+
json_obj = json.loads(result)
|
1981
|
+
except TypeError as e:
|
1982
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
1983
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
1984
|
+
break
|
1985
|
+
cur_time = time.time()
|
1986
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
1987
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
1988
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
1989
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
1990
|
+
else:
|
1991
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
1992
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
1993
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1994
|
+
|
1995
|
+
|
1840
1996
|
def doDeleteStreamLinkOutput(args, parsed_globals):
|
1841
1997
|
g_param = parse_global_arg(parsed_globals)
|
1842
1998
|
|
@@ -4021,7 +4177,7 @@ def doModifyWatermarkTemplate(args, parsed_globals):
|
|
4021
4177
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4022
4178
|
|
4023
4179
|
|
4024
|
-
def
|
4180
|
+
def doCreateVideoSearchTask(args, parsed_globals):
|
4025
4181
|
g_param = parse_global_arg(parsed_globals)
|
4026
4182
|
|
4027
4183
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4050,11 +4206,11 @@ def doDeleteWordSamples(args, parsed_globals):
|
|
4050
4206
|
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
4051
4207
|
client._sdkVersion += ("_CLI_" + __version__)
|
4052
4208
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4053
|
-
model = models.
|
4209
|
+
model = models.CreateVideoSearchTaskRequest()
|
4054
4210
|
model.from_json_string(json.dumps(args))
|
4055
4211
|
start_time = time.time()
|
4056
4212
|
while True:
|
4057
|
-
rsp = client.
|
4213
|
+
rsp = client.CreateVideoSearchTask(model)
|
4058
4214
|
result = rsp.to_json_string()
|
4059
4215
|
try:
|
4060
4216
|
json_obj = json.loads(result)
|
@@ -4385,7 +4541,7 @@ def doDescribeAnimatedGraphicsTemplates(args, parsed_globals):
|
|
4385
4541
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4386
4542
|
|
4387
4543
|
|
4388
|
-
def
|
4544
|
+
def doDeleteWordSamples(args, parsed_globals):
|
4389
4545
|
g_param = parse_global_arg(parsed_globals)
|
4390
4546
|
|
4391
4547
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -4414,11 +4570,11 @@ def doCreateVideoSearchTask(args, parsed_globals):
|
|
4414
4570
|
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
4415
4571
|
client._sdkVersion += ("_CLI_" + __version__)
|
4416
4572
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4417
|
-
model = models.
|
4573
|
+
model = models.DeleteWordSamplesRequest()
|
4418
4574
|
model.from_json_string(json.dumps(args))
|
4419
4575
|
start_time = time.time()
|
4420
4576
|
while True:
|
4421
|
-
rsp = client.
|
4577
|
+
rsp = client.DeleteWordSamples(model)
|
4422
4578
|
result = rsp.to_json_string()
|
4423
4579
|
try:
|
4424
4580
|
json_obj = json.loads(result)
|
@@ -5789,7 +5945,7 @@ def doDeleteContentReviewTemplate(args, parsed_globals):
|
|
5789
5945
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5790
5946
|
|
5791
5947
|
|
5792
|
-
def
|
5948
|
+
def doDescribeImageTaskDetail(args, parsed_globals):
|
5793
5949
|
g_param = parse_global_arg(parsed_globals)
|
5794
5950
|
|
5795
5951
|
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
@@ -5818,11 +5974,11 @@ def doDeleteSampleSnapshotTemplate(args, parsed_globals):
|
|
5818
5974
|
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
5819
5975
|
client._sdkVersion += ("_CLI_" + __version__)
|
5820
5976
|
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5821
|
-
model = models.
|
5977
|
+
model = models.DescribeImageTaskDetailRequest()
|
5822
5978
|
model.from_json_string(json.dumps(args))
|
5823
5979
|
start_time = time.time()
|
5824
5980
|
while True:
|
5825
|
-
rsp = client.
|
5981
|
+
rsp = client.DescribeImageTaskDetail(model)
|
5826
5982
|
result = rsp.to_json_string()
|
5827
5983
|
try:
|
5828
5984
|
json_obj = json.loads(result)
|
@@ -6689,6 +6845,7 @@ ACTION_MAP = {
|
|
6689
6845
|
"DescribeStreamLinkFlowRealtimeStatus": doDescribeStreamLinkFlowRealtimeStatus,
|
6690
6846
|
"CreateAnimatedGraphicsTemplate": doCreateAnimatedGraphicsTemplate,
|
6691
6847
|
"DeleteWatermarkTemplate": doDeleteWatermarkTemplate,
|
6848
|
+
"DescribeBatchTaskDetail": doDescribeBatchTaskDetail,
|
6692
6849
|
"ModifyLiveRecordTemplate": doModifyLiveRecordTemplate,
|
6693
6850
|
"EditMedia": doEditMedia,
|
6694
6851
|
"DescribeStreamLinkEvent": doDescribeStreamLinkEvent,
|
@@ -6717,8 +6874,10 @@ ACTION_MAP = {
|
|
6717
6874
|
"CreateTranscodeTemplate": doCreateTranscodeTemplate,
|
6718
6875
|
"CreateStreamLinkFlow": doCreateStreamLinkFlow,
|
6719
6876
|
"ExecuteFunction": doExecuteFunction,
|
6877
|
+
"BatchProcessMedia": doBatchProcessMedia,
|
6720
6878
|
"DescribeStreamLinkFlows": doDescribeStreamLinkFlows,
|
6721
6879
|
"DescribeSnapshotByTimeOffsetTemplates": doDescribeSnapshotByTimeOffsetTemplates,
|
6880
|
+
"DeleteSampleSnapshotTemplate": doDeleteSampleSnapshotTemplate,
|
6722
6881
|
"DeleteStreamLinkOutput": doDeleteStreamLinkOutput,
|
6723
6882
|
"CreateContentReviewTemplate": doCreateContentReviewTemplate,
|
6724
6883
|
"DescribeGroupAttachFlowsById": doDescribeGroupAttachFlowsById,
|
@@ -6761,14 +6920,14 @@ ACTION_MAP = {
|
|
6761
6920
|
"CreateStreamLinkOutputInfo": doCreateStreamLinkOutputInfo,
|
6762
6921
|
"DescribeWorkflows": doDescribeWorkflows,
|
6763
6922
|
"ModifyWatermarkTemplate": doModifyWatermarkTemplate,
|
6764
|
-
"
|
6923
|
+
"CreateVideoSearchTask": doCreateVideoSearchTask,
|
6765
6924
|
"DescribeStreamLinkActivateState": doDescribeStreamLinkActivateState,
|
6766
6925
|
"CreateImageSpriteTemplate": doCreateImageSpriteTemplate,
|
6767
6926
|
"DescribePersonSamples": doDescribePersonSamples,
|
6768
6927
|
"ParseNotification": doParseNotification,
|
6769
6928
|
"DeleteAIRecognitionTemplate": doDeleteAIRecognitionTemplate,
|
6770
6929
|
"DescribeAnimatedGraphicsTemplates": doDescribeAnimatedGraphicsTemplates,
|
6771
|
-
"
|
6930
|
+
"DeleteWordSamples": doDeleteWordSamples,
|
6772
6931
|
"ManageTask": doManageTask,
|
6773
6932
|
"DescribeVideoDatabaseEntryTaskDetail": doDescribeVideoDatabaseEntryTaskDetail,
|
6774
6933
|
"ModifySnapshotByTimeOffsetTemplate": doModifySnapshotByTimeOffsetTemplate,
|
@@ -6795,7 +6954,7 @@ ACTION_MAP = {
|
|
6795
6954
|
"ProcessLiveStream": doProcessLiveStream,
|
6796
6955
|
"DeleteLiveRecordTemplate": doDeleteLiveRecordTemplate,
|
6797
6956
|
"DeleteContentReviewTemplate": doDeleteContentReviewTemplate,
|
6798
|
-
"
|
6957
|
+
"DescribeImageTaskDetail": doDescribeImageTaskDetail,
|
6799
6958
|
"DescribeStreamLinkFlowMediaStatistics": doDescribeStreamLinkFlowMediaStatistics,
|
6800
6959
|
"CreateAsrHotwords": doCreateAsrHotwords,
|
6801
6960
|
"CreateStreamLinkEvent": doCreateStreamLinkEvent,
|
@@ -7,6 +7,13 @@
|
|
7
7
|
"output": "BatchDeleteStreamLinkFlowResponse",
|
8
8
|
"status": "online"
|
9
9
|
},
|
10
|
+
"BatchProcessMedia": {
|
11
|
+
"document": "对 URL视频链接批量发起处理任务,功能包括:\n智能字幕(语音全文、语音热词、语音翻译)",
|
12
|
+
"input": "BatchProcessMediaRequest",
|
13
|
+
"name": "批量输入发起媒体处理",
|
14
|
+
"output": "BatchProcessMediaResponse",
|
15
|
+
"status": "online"
|
16
|
+
},
|
10
17
|
"BatchStartStreamLinkFlow": {
|
11
18
|
"document": "批量启动媒体传输流。",
|
12
19
|
"input": "BatchStartStreamLinkFlowRequest",
|
@@ -392,6 +399,13 @@
|
|
392
399
|
"output": "DescribeAsrHotwordsListResponse",
|
393
400
|
"status": "online"
|
394
401
|
},
|
402
|
+
"DescribeBatchTaskDetail": {
|
403
|
+
"document": "通过任务 ID 查询任务的执行状态和结果的详细信息(最多可以查询7天之内提交的任务)。",
|
404
|
+
"input": "DescribeBatchTaskDetailRequest",
|
405
|
+
"name": "批量任务详情查询",
|
406
|
+
"output": "DescribeBatchTaskDetailResponse",
|
407
|
+
"status": "online"
|
408
|
+
},
|
395
409
|
"DescribeContentReviewTemplates": {
|
396
410
|
"document": "根据智能审核模板唯一标识,获取智能审核模板详情列表。返回结果包含符合条件的所有用户自定义模板及系统预置智能审核模板。",
|
397
411
|
"input": "DescribeContentReviewTemplatesRequest",
|
@@ -413,6 +427,13 @@
|
|
413
427
|
"output": "DescribeImageSpriteTemplatesResponse",
|
414
428
|
"status": "online"
|
415
429
|
},
|
430
|
+
"DescribeImageTaskDetail": {
|
431
|
+
"document": "通过任务 ID 查询任务的执行状态和结果的详细信息(最多可以查询7天之内提交的任务)。",
|
432
|
+
"input": "DescribeImageTaskDetailRequest",
|
433
|
+
"name": "查询图片处理任务详情",
|
434
|
+
"output": "DescribeImageTaskDetailResponse",
|
435
|
+
"status": "online"
|
436
|
+
},
|
416
437
|
"DescribeLiveRecordTemplates": {
|
417
438
|
"document": "获取直播录制模板",
|
418
439
|
"input": "DescribeLiveRecordTemplatesRequest",
|
@@ -7099,6 +7120,141 @@
|
|
7099
7120
|
],
|
7100
7121
|
"type": "object"
|
7101
7122
|
},
|
7123
|
+
"BatchProcessMediaRequest": {
|
7124
|
+
"document": "BatchProcessMedia请求参数结构体",
|
7125
|
+
"members": [
|
7126
|
+
{
|
7127
|
+
"disabled": false,
|
7128
|
+
"document": "媒体处理的文件输入信息。",
|
7129
|
+
"example": "无",
|
7130
|
+
"member": "MediaInputInfo",
|
7131
|
+
"name": "InputInfo",
|
7132
|
+
"required": true,
|
7133
|
+
"type": "list"
|
7134
|
+
},
|
7135
|
+
{
|
7136
|
+
"disabled": false,
|
7137
|
+
"document": "媒体处理输出文件的目标存储。不填则继承 InputInfo 中的存储位置。\n注意:当InputInfo.Type为URL时,该参数是必填项",
|
7138
|
+
"example": "无",
|
7139
|
+
"member": "TaskOutputStorage",
|
7140
|
+
"name": "OutputStorage",
|
7141
|
+
"required": false,
|
7142
|
+
"type": "object"
|
7143
|
+
},
|
7144
|
+
{
|
7145
|
+
"disabled": false,
|
7146
|
+
"document": "媒体处理生成的文件输出的目标目录,必选以 / 开头和结尾,如`/movie/201907/`。\n如果不填,表示与 InputInfo 中文件所在的目录一致。",
|
7147
|
+
"example": "/movie/test/",
|
7148
|
+
"member": "string",
|
7149
|
+
"name": "OutputDir",
|
7150
|
+
"required": false,
|
7151
|
+
"type": "string"
|
7152
|
+
},
|
7153
|
+
{
|
7154
|
+
"disabled": false,
|
7155
|
+
"document": "智能字幕",
|
7156
|
+
"example": "无",
|
7157
|
+
"member": "SmartSubtitlesTaskInput",
|
7158
|
+
"name": "SmartSubtitlesTask",
|
7159
|
+
"required": false,
|
7160
|
+
"type": "object"
|
7161
|
+
},
|
7162
|
+
{
|
7163
|
+
"disabled": false,
|
7164
|
+
"document": "任务的事件通知信息,不填代表不获取事件通知。",
|
7165
|
+
"example": "无",
|
7166
|
+
"member": "TaskNotifyConfig",
|
7167
|
+
"name": "TaskNotifyConfig",
|
7168
|
+
"required": false,
|
7169
|
+
"type": "object"
|
7170
|
+
},
|
7171
|
+
{
|
7172
|
+
"disabled": false,
|
7173
|
+
"document": "任务流的优先级,数值越大优先级越高,取值范围是-10到 10,不填代表0。",
|
7174
|
+
"example": "0",
|
7175
|
+
"member": "int64",
|
7176
|
+
"name": "TasksPriority",
|
7177
|
+
"required": false,
|
7178
|
+
"type": "int"
|
7179
|
+
},
|
7180
|
+
{
|
7181
|
+
"disabled": false,
|
7182
|
+
"document": "来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。",
|
7183
|
+
"example": "UserDefinedInfo",
|
7184
|
+
"member": "string",
|
7185
|
+
"name": "SessionContext",
|
7186
|
+
"required": false,
|
7187
|
+
"type": "string"
|
7188
|
+
},
|
7189
|
+
{
|
7190
|
+
"disabled": false,
|
7191
|
+
"document": "资源ID,需要保证对应资源是开启状态。默认为帐号主资源ID。",
|
7192
|
+
"example": "vts-24000123-0",
|
7193
|
+
"member": "string",
|
7194
|
+
"name": "ResourceId",
|
7195
|
+
"required": false,
|
7196
|
+
"type": "string"
|
7197
|
+
},
|
7198
|
+
{
|
7199
|
+
"disabled": false,
|
7200
|
+
"document": "是否跳过元信息获取,可选值: \n0:表示不跳过 \n1:表示跳过 \n默认值:0\t",
|
7201
|
+
"example": "0",
|
7202
|
+
"member": "int64",
|
7203
|
+
"name": "SkipMateData",
|
7204
|
+
"required": false,
|
7205
|
+
"type": "int"
|
7206
|
+
}
|
7207
|
+
],
|
7208
|
+
"type": "object"
|
7209
|
+
},
|
7210
|
+
"BatchProcessMediaResponse": {
|
7211
|
+
"document": "BatchProcessMedia返回参数结构体",
|
7212
|
+
"members": [
|
7213
|
+
{
|
7214
|
+
"disabled": false,
|
7215
|
+
"document": "任务 ID。",
|
7216
|
+
"example": "125xxx65-procedurev2-bffb15f07530b57bc1aabb01fac74bca",
|
7217
|
+
"member": "string",
|
7218
|
+
"name": "TaskId",
|
7219
|
+
"output_required": true,
|
7220
|
+
"type": "string",
|
7221
|
+
"value_allowed_null": false
|
7222
|
+
},
|
7223
|
+
{
|
7224
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
7225
|
+
"member": "string",
|
7226
|
+
"name": "RequestId",
|
7227
|
+
"type": "string"
|
7228
|
+
}
|
7229
|
+
],
|
7230
|
+
"type": "object"
|
7231
|
+
},
|
7232
|
+
"BatchSmartSubtitlesResult": {
|
7233
|
+
"document": "智能字幕结果。",
|
7234
|
+
"members": [
|
7235
|
+
{
|
7236
|
+
"disabled": false,
|
7237
|
+
"document": "智能字幕任务输入信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7238
|
+
"example": "无",
|
7239
|
+
"member": "SmartSubtitleTaskResultInput",
|
7240
|
+
"name": "Input",
|
7241
|
+
"output_required": false,
|
7242
|
+
"type": "object",
|
7243
|
+
"value_allowed_null": true
|
7244
|
+
},
|
7245
|
+
{
|
7246
|
+
"disabled": false,
|
7247
|
+
"document": "智能字幕输出信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
7248
|
+
"example": "无",
|
7249
|
+
"member": "SmartSubtitleTaskBatchOutput",
|
7250
|
+
"name": "Outputs",
|
7251
|
+
"output_required": false,
|
7252
|
+
"type": "list",
|
7253
|
+
"value_allowed_null": true
|
7254
|
+
}
|
7255
|
+
],
|
7256
|
+
"usage": "out"
|
7257
|
+
},
|
7102
7258
|
"BatchStartStreamLinkFlowRequest": {
|
7103
7259
|
"document": "BatchStartStreamLinkFlow请求参数结构体",
|
7104
7260
|
"members": [
|
@@ -7171,6 +7327,42 @@
|
|
7171
7327
|
],
|
7172
7328
|
"type": "object"
|
7173
7329
|
},
|
7330
|
+
"BatchSubTaskResult": {
|
7331
|
+
"document": "批量任务子任务结果",
|
7332
|
+
"members": [
|
7333
|
+
{
|
7334
|
+
"disabled": false,
|
7335
|
+
"document": "批量任务输入信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
7336
|
+
"example": "无",
|
7337
|
+
"member": "MediaInputInfo",
|
7338
|
+
"name": "InputInfos",
|
7339
|
+
"output_required": false,
|
7340
|
+
"type": "list",
|
7341
|
+
"value_allowed_null": true
|
7342
|
+
},
|
7343
|
+
{
|
7344
|
+
"disabled": false,
|
7345
|
+
"document": "原始视频的元信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
7346
|
+
"example": "无",
|
7347
|
+
"member": "MediaMetaData",
|
7348
|
+
"name": "Metadatas",
|
7349
|
+
"output_required": false,
|
7350
|
+
"type": "list",
|
7351
|
+
"value_allowed_null": true
|
7352
|
+
},
|
7353
|
+
{
|
7354
|
+
"disabled": false,
|
7355
|
+
"document": "智能字幕任务的执行结果\n注意:此字段可能返回 null,表示取不到有效值。",
|
7356
|
+
"example": "无",
|
7357
|
+
"member": "BatchSmartSubtitlesResult",
|
7358
|
+
"name": "SmartSubtitlesTaskResult",
|
7359
|
+
"output_required": false,
|
7360
|
+
"type": "object",
|
7361
|
+
"value_allowed_null": true
|
7362
|
+
}
|
7363
|
+
],
|
7364
|
+
"usage": "out"
|
7365
|
+
},
|
7174
7366
|
"ClassificationConfigureInfo": {
|
7175
7367
|
"document": "智能分类任务控制参数",
|
7176
7368
|
"members": [
|
@@ -12355,6 +12547,153 @@
|
|
12355
12547
|
],
|
12356
12548
|
"type": "object"
|
12357
12549
|
},
|
12550
|
+
"DescribeBatchTaskDetailRequest": {
|
12551
|
+
"document": "DescribeBatchTaskDetail请求参数结构体",
|
12552
|
+
"members": [
|
12553
|
+
{
|
12554
|
+
"disabled": false,
|
12555
|
+
"document": "视频处理任务的任务 ID。",
|
12556
|
+
"example": "235303****-BatchTask-80108cc3380155d98b2e3573a48a******",
|
12557
|
+
"member": "string",
|
12558
|
+
"name": "TaskId",
|
12559
|
+
"required": true,
|
12560
|
+
"type": "string"
|
12561
|
+
}
|
12562
|
+
],
|
12563
|
+
"type": "object"
|
12564
|
+
},
|
12565
|
+
"DescribeBatchTaskDetailResponse": {
|
12566
|
+
"document": "DescribeBatchTaskDetail返回参数结构体",
|
12567
|
+
"members": [
|
12568
|
+
{
|
12569
|
+
"disabled": false,
|
12570
|
+
"document": "任务类型,目前取值有:\n<li>BatchTask:视频工作流批量处理任务。</li>",
|
12571
|
+
"example": "BatchTask",
|
12572
|
+
"member": "string",
|
12573
|
+
"name": "TaskType",
|
12574
|
+
"output_required": true,
|
12575
|
+
"type": "string",
|
12576
|
+
"value_allowed_null": false
|
12577
|
+
},
|
12578
|
+
{
|
12579
|
+
"disabled": false,
|
12580
|
+
"document": "任务状态,取值:\n<li>WAITING:等待中;</li>\n<li>PROCESSING:处理中;</li>\n<li>FINISH:已完成。</li>",
|
12581
|
+
"example": "FINISH",
|
12582
|
+
"member": "string",
|
12583
|
+
"name": "Status",
|
12584
|
+
"output_required": true,
|
12585
|
+
"type": "string",
|
12586
|
+
"value_allowed_null": false
|
12587
|
+
},
|
12588
|
+
{
|
12589
|
+
"disabled": false,
|
12590
|
+
"document": "任务的创建时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。",
|
12591
|
+
"example": "2019-07-16T06:21:27Z",
|
12592
|
+
"member": "string",
|
12593
|
+
"name": "CreateTime",
|
12594
|
+
"output_required": true,
|
12595
|
+
"type": "string",
|
12596
|
+
"value_allowed_null": false
|
12597
|
+
},
|
12598
|
+
{
|
12599
|
+
"disabled": false,
|
12600
|
+
"document": "任务开始执行的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。",
|
12601
|
+
"example": "2019-07-16T06:21:28Z",
|
12602
|
+
"member": "string",
|
12603
|
+
"name": "BeginProcessTime",
|
12604
|
+
"output_required": true,
|
12605
|
+
"type": "string",
|
12606
|
+
"value_allowed_null": false
|
12607
|
+
},
|
12608
|
+
{
|
12609
|
+
"disabled": false,
|
12610
|
+
"document": "任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。",
|
12611
|
+
"example": "2019-07-16T06:21:46Z",
|
12612
|
+
"member": "string",
|
12613
|
+
"name": "FinishTime",
|
12614
|
+
"output_required": true,
|
12615
|
+
"type": "string",
|
12616
|
+
"value_allowed_null": false
|
12617
|
+
},
|
12618
|
+
{
|
12619
|
+
"disabled": false,
|
12620
|
+
"document": "媒体处理任务 ID。",
|
12621
|
+
"example": "2xxxx-BatchTask-123456789",
|
12622
|
+
"member": "string",
|
12623
|
+
"name": "TaskId",
|
12624
|
+
"output_required": false,
|
12625
|
+
"type": "string",
|
12626
|
+
"value_allowed_null": false
|
12627
|
+
},
|
12628
|
+
{
|
12629
|
+
"disabled": false,
|
12630
|
+
"document": "视频处理任务信息,仅当 TaskType 为 BatchTask,该字段有值。\n注意:此字段可能返回 null,表示取不到有效值。",
|
12631
|
+
"example": "无",
|
12632
|
+
"member": "BatchSubTaskResult",
|
12633
|
+
"name": "BatchTaskResult",
|
12634
|
+
"output_required": true,
|
12635
|
+
"type": "object",
|
12636
|
+
"value_allowed_null": true
|
12637
|
+
},
|
12638
|
+
{
|
12639
|
+
"disabled": false,
|
12640
|
+
"document": "任务的事件通知信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
12641
|
+
"example": "无",
|
12642
|
+
"member": "TaskNotifyConfig",
|
12643
|
+
"name": "TaskNotifyConfig",
|
12644
|
+
"output_required": true,
|
12645
|
+
"type": "object",
|
12646
|
+
"value_allowed_null": true
|
12647
|
+
},
|
12648
|
+
{
|
12649
|
+
"disabled": false,
|
12650
|
+
"document": "任务流的优先级,取值范围为 [-10, 10]。",
|
12651
|
+
"example": "0",
|
12652
|
+
"member": "int64",
|
12653
|
+
"name": "TasksPriority",
|
12654
|
+
"output_required": true,
|
12655
|
+
"type": "int",
|
12656
|
+
"value_allowed_null": false
|
12657
|
+
},
|
12658
|
+
{
|
12659
|
+
"disabled": false,
|
12660
|
+
"document": "用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长50个字符,不带或者带空字符串表示不做去重。",
|
12661
|
+
"example": "ctx-sessionid",
|
12662
|
+
"member": "string",
|
12663
|
+
"name": "SessionId",
|
12664
|
+
"output_required": true,
|
12665
|
+
"type": "string",
|
12666
|
+
"value_allowed_null": false
|
12667
|
+
},
|
12668
|
+
{
|
12669
|
+
"disabled": false,
|
12670
|
+
"document": "来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长1000个字符。",
|
12671
|
+
"example": "ctx-sessionctx",
|
12672
|
+
"member": "string",
|
12673
|
+
"name": "SessionContext",
|
12674
|
+
"output_required": true,
|
12675
|
+
"type": "string",
|
12676
|
+
"value_allowed_null": false
|
12677
|
+
},
|
12678
|
+
{
|
12679
|
+
"disabled": false,
|
12680
|
+
"document": "扩展信息字段,仅用于特定场景。",
|
12681
|
+
"example": "{\"ExtInfo\": \"\"}",
|
12682
|
+
"member": "string",
|
12683
|
+
"name": "ExtInfo",
|
12684
|
+
"output_required": true,
|
12685
|
+
"type": "string",
|
12686
|
+
"value_allowed_null": false
|
12687
|
+
},
|
12688
|
+
{
|
12689
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
12690
|
+
"member": "string",
|
12691
|
+
"name": "RequestId",
|
12692
|
+
"type": "string"
|
12693
|
+
}
|
12694
|
+
],
|
12695
|
+
"type": "object"
|
12696
|
+
},
|
12358
12697
|
"DescribeContentReviewTemplatesRequest": {
|
12359
12698
|
"document": "DescribeContentReviewTemplates请求参数结构体",
|
12360
12699
|
"members": [
|
@@ -12772,6 +13111,73 @@
|
|
12772
13111
|
],
|
12773
13112
|
"type": "object"
|
12774
13113
|
},
|
13114
|
+
"DescribeImageTaskDetailRequest": {
|
13115
|
+
"document": "DescribeImageTaskDetail请求参数结构体",
|
13116
|
+
"members": [
|
13117
|
+
{
|
13118
|
+
"disabled": false,
|
13119
|
+
"document": "图片处理任务的任务 ID。",
|
13120
|
+
"example": "235303****-WorkflowTask-80108cc3380155d98b2e3573a48a******",
|
13121
|
+
"member": "string",
|
13122
|
+
"name": "TaskId",
|
13123
|
+
"required": true,
|
13124
|
+
"type": "string"
|
13125
|
+
}
|
13126
|
+
],
|
13127
|
+
"type": "object"
|
13128
|
+
},
|
13129
|
+
"DescribeImageTaskDetailResponse": {
|
13130
|
+
"document": "DescribeImageTaskDetail返回参数结构体",
|
13131
|
+
"members": [
|
13132
|
+
{
|
13133
|
+
"disabled": false,
|
13134
|
+
"document": "任务类型,目前取值有:\n<li>WorkflowTask:工作流处理任务。</li>\n\n注意:此字段可能返回 null,表示取不到有效值。",
|
13135
|
+
"example": "WorkflowTask",
|
13136
|
+
"member": "string",
|
13137
|
+
"name": "TaskType",
|
13138
|
+
"output_required": false,
|
13139
|
+
"type": "string",
|
13140
|
+
"value_allowed_null": true
|
13141
|
+
},
|
13142
|
+
{
|
13143
|
+
"disabled": false,
|
13144
|
+
"document": "任务状态,取值:\n<li>WAITING:等待中;</li>\n<li>PROCESSING:处理中;</li>\n<li>FINISH:已完成。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
|
13145
|
+
"example": "FINISH",
|
13146
|
+
"member": "string",
|
13147
|
+
"name": "Status",
|
13148
|
+
"output_required": false,
|
13149
|
+
"type": "string",
|
13150
|
+
"value_allowed_null": true
|
13151
|
+
},
|
13152
|
+
{
|
13153
|
+
"disabled": false,
|
13154
|
+
"document": "任务的创建时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。\n注意:此字段可能返回 null,表示取不到有效值。",
|
13155
|
+
"example": "2019-07-16T06:21:27Z",
|
13156
|
+
"member": "string",
|
13157
|
+
"name": "CreateTime",
|
13158
|
+
"output_required": false,
|
13159
|
+
"type": "string",
|
13160
|
+
"value_allowed_null": true
|
13161
|
+
},
|
13162
|
+
{
|
13163
|
+
"disabled": false,
|
13164
|
+
"document": "任务执行完毕的时间,采用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。\n注意:此字段可能返回 null,表示取不到有效值。",
|
13165
|
+
"example": "2019-07-16T06:21:46Z",
|
13166
|
+
"member": "string",
|
13167
|
+
"name": "FinishTime",
|
13168
|
+
"output_required": false,
|
13169
|
+
"type": "string",
|
13170
|
+
"value_allowed_null": true
|
13171
|
+
},
|
13172
|
+
{
|
13173
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
13174
|
+
"member": "string",
|
13175
|
+
"name": "RequestId",
|
13176
|
+
"type": "string"
|
13177
|
+
}
|
13178
|
+
],
|
13179
|
+
"type": "object"
|
13180
|
+
},
|
12775
13181
|
"DescribeInput": {
|
12776
13182
|
"document": "查询输入配置信息。",
|
12777
13183
|
"members": [
|
@@ -28659,6 +29065,72 @@
|
|
28659
29065
|
],
|
28660
29066
|
"usage": "out"
|
28661
29067
|
},
|
29068
|
+
"SmartSubtitleTaskBatchOutput": {
|
29069
|
+
"document": "智能字幕输出信息",
|
29070
|
+
"members": [
|
29071
|
+
{
|
29072
|
+
"disabled": false,
|
29073
|
+
"document": "任务进度。",
|
29074
|
+
"example": "100",
|
29075
|
+
"member": "uint64",
|
29076
|
+
"name": "Progress",
|
29077
|
+
"output_required": false,
|
29078
|
+
"type": "int",
|
29079
|
+
"value_allowed_null": false
|
29080
|
+
},
|
29081
|
+
{
|
29082
|
+
"disabled": false,
|
29083
|
+
"document": "任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。",
|
29084
|
+
"example": "SUCCESS",
|
29085
|
+
"member": "string",
|
29086
|
+
"name": "Status",
|
29087
|
+
"output_required": false,
|
29088
|
+
"type": "string",
|
29089
|
+
"value_allowed_null": false
|
29090
|
+
},
|
29091
|
+
{
|
29092
|
+
"disabled": false,
|
29093
|
+
"document": "错误码,空字符串表示成功,其他值表示失败,取值请参考 [媒体处理类错误码](https://cloud.tencent.com/document/product/862/50369#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。",
|
29094
|
+
"example": "InvalidInput",
|
29095
|
+
"member": "string",
|
29096
|
+
"name": "ErrCodeExt",
|
29097
|
+
"output_required": false,
|
29098
|
+
"type": "string",
|
29099
|
+
"value_allowed_null": false
|
29100
|
+
},
|
29101
|
+
{
|
29102
|
+
"disabled": false,
|
29103
|
+
"document": "错误信息。",
|
29104
|
+
"example": "task fail",
|
29105
|
+
"member": "string",
|
29106
|
+
"name": "Message",
|
29107
|
+
"output_required": false,
|
29108
|
+
"type": "string",
|
29109
|
+
"value_allowed_null": false
|
29110
|
+
},
|
29111
|
+
{
|
29112
|
+
"disabled": false,
|
29113
|
+
"document": "翻译任务输出信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
29114
|
+
"example": "无",
|
29115
|
+
"member": "SmartSubtitleTaskTransTextResultOutput",
|
29116
|
+
"name": "TransTextTask",
|
29117
|
+
"output_required": false,
|
29118
|
+
"type": "object",
|
29119
|
+
"value_allowed_null": true
|
29120
|
+
},
|
29121
|
+
{
|
29122
|
+
"disabled": false,
|
29123
|
+
"document": "语音全文识别任务输出信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
29124
|
+
"example": "无",
|
29125
|
+
"member": "SmartSubtitleTaskAsrFullTextResultOutput",
|
29126
|
+
"name": "AsrFullTextTask",
|
29127
|
+
"output_required": false,
|
29128
|
+
"type": "object",
|
29129
|
+
"value_allowed_null": true
|
29130
|
+
}
|
29131
|
+
],
|
29132
|
+
"usage": "out"
|
29133
|
+
},
|
28662
29134
|
"SmartSubtitleTaskResultInput": {
|
28663
29135
|
"document": "智能字幕翻译的输入。",
|
28664
29136
|
"members": [
|
@@ -8,6 +8,14 @@
|
|
8
8
|
"title": "请求示例"
|
9
9
|
}
|
10
10
|
],
|
11
|
+
"BatchProcessMedia": [
|
12
|
+
{
|
13
|
+
"document": "",
|
14
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: BatchProcessMedia\n<公共请求参数>\n\n{\n \"InputInfo\": [\n {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://tetst-xxx-12xxxxx.cos.ap-xxxxx.myqcloud.com/processmedia/52.mp4\"\n }\n }\n ],\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"tetst-xxxx-125xxxxx\",\n \"Region\": \"ap-xxxxx\"\n }\n },\n \"OutputDir\": \"/output/\",\n \"SmartSubtitlesTask\": {\n \"RawParameter\": {\n \"SubtitleType\": 2,\n \"VideoSrcLanguage\": \"zh\",\n \"SubtitleFormat\": \"vtt\",\n \"TranslateSwitch\": \"ON\",\n \"TranslateDstLanguage\": \"en\"\n }\n },\n \"TaskNotifyConfig\": {\n \"NotifyType\": \"URL\",\n \"NotifyUrl\": \"http://xxxx.com/v2/push/mps_test?token=73YcsZyP\"\n },\n \"SessionContext\": \"asdzxcs\"\n}",
|
15
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b30891cd-cdc7-47db-94d3-4dbb85641dad\",\n \"TaskId\": \"24000030-BatchTask-e6fefa34fc497449c1a043b9a594c7det20\"\n }\n}",
|
16
|
+
"title": "发起任务"
|
17
|
+
}
|
18
|
+
],
|
11
19
|
"BatchStartStreamLinkFlow": [
|
12
20
|
{
|
13
21
|
"document": "请求示例",
|
@@ -538,6 +546,14 @@
|
|
538
546
|
"title": "DescribeAsrHotwordsList"
|
539
547
|
}
|
540
548
|
],
|
549
|
+
"DescribeBatchTaskDetail": [
|
550
|
+
{
|
551
|
+
"document": "",
|
552
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBatchTaskDetail\n<公共请求参数>\n\n{\n \"TaskId\": \"24xxxx-BatchTask-6b24c23ee5xxxxxx\"\n}",
|
553
|
+
"output": "{\n \"Response\": {\n \"BatchTaskResult\": {\n \"InputInfos\": [\n {\n \"CosInputInfo\": {\n \"Bucket\": \"\",\n \"Object\": \"\",\n \"Region\": \"\"\n },\n \"S3InputInfo\": null,\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"http://tetst-xxxx-12234xxx.cos.ap-xxxx.myqcloud.com/processmedia/52.mp4\"\n }\n }\n ],\n \"Metadatas\": [\n {\n \"AudioDuration\": 55.454,\n \"AudioStreamSet\": [\n {\n \"Bitrate\": 252293,\n \"Channel\": 1,\n \"Codec\": \"aac\",\n \"Codecs\": \"\",\n \"Loudness\": 0,\n \"SamplingRate\": 44100\n }\n ],\n \"Bitrate\": 1734778,\n \"Container\": \"mp4\",\n \"Duration\": 55.455,\n \"Height\": 1080,\n \"Rotate\": 0,\n \"Size\": 12025270,\n \"VideoDuration\": 54.955,\n \"VideoStreamSet\": [\n {\n \"Bitrate\": 1487136,\n \"Codec\": \"h264\",\n \"Codecs\": \"\",\n \"ColorPrimaries\": \"\",\n \"ColorSpace\": \"\",\n \"ColorTransfer\": \"\",\n \"Fps\": 32,\n \"FpsDenominator\": 0,\n \"FpsNumerator\": 0,\n \"HdrType\": \"sdr\",\n \"Height\": 1080,\n \"Width\": 1920\n }\n ],\n \"Width\": 1920\n }\n ],\n \"SmartSubtitlesTaskResult\": {\n \"Input\": {\n \"Definition\": 0,\n \"RawParameter\": {\n \"AsrHotWordsConfigure\": null,\n \"ExtInfo\": \"\",\n \"SubtitleFormat\": \"vtt\",\n \"SubtitleType\": 2,\n \"TranslateDstLanguage\": \"en\",\n \"TranslateSwitch\": \"ON\",\n \"VideoSrcLanguage\": \"zh\"\n }\n },\n \"Outputs\": [\n {\n \"ErrCodeExt\": \"\",\n \"Message\": \"SUCCESS\",\n \"Progress\": 100,\n \"Status\": \"SUCCESS\",\n \"TransTextTask\": {\n \"SegmentSet\": [\n {\n \"Confidence\": 99,\n \"EndTimeOffset\": 2.424,\n \"StartTimeOffset\": 1.774,\n \"Text\": \"走路。\",\n \"Trans\": \"Walking.\",\n \"Wordlist\": []\n },\n {\n \"Confidence\": 99,\n \"EndTimeOffset\": 55.121,\n \"StartTimeOffset\": 53.721,\n \"Text\": \"就在你跟再说。\",\n \"Trans\": \"Just before you tell me.\",\n \"Wordlist\": []\n }\n ],\n \"SubtitlePath\": \"http://tetst-xxxx-12234xxx.cos.ap-xxxx.myqcloud.com/output/3529.vtt\"\n }\n }\n ]\n }\n },\n \"BeginProcessTime\": \"2025-05-17T07:15:11Z\",\n \"CreateTime\": \"2025-05-17T07:15:11Z\",\n \"ExtInfo\": \"\",\n \"FinishTime\": \"2025-05-17T07:15:36Z\",\n \"RequestId\": \"0af8e6df-622d-49b5-98e6-4d8e3f294e5f\",\n \"SessionContext\": \"asdzxcs\",\n \"SessionId\": \"qwer123\",\n \"Status\": \"FINISH\",\n \"TaskId\": \"24xxxxx-BatchTask-e6fefa34fc497xxxxxxx7det20\",\n \"TaskNotifyConfig\": {\n \"AwsSQS\": null,\n \"CmqModel\": \"\",\n \"CmqRegion\": \"\",\n \"NotifyKey\": \"\",\n \"NotifyMode\": \"Finish\",\n \"NotifyType\": \"URL\",\n \"NotifyUrl\": \"http://xxxx.com/v2/push/mps_test?token=73YcsZyP\",\n \"QueueName\": \"\",\n \"TopicName\": \"\"\n },\n \"TaskType\": \"BatchTask\",\n \"TasksPriority\": 0\n }\n}",
|
554
|
+
"title": "查询结果"
|
555
|
+
}
|
556
|
+
],
|
541
557
|
"DescribeContentReviewTemplates": [
|
542
558
|
{
|
543
559
|
"document": "从序号 0 开始,获取 10 个智能审核模板,包括系统默认智能审核模板。",
|
@@ -568,6 +584,14 @@
|
|
568
584
|
"title": "获取雪碧图模板列表"
|
569
585
|
}
|
570
586
|
],
|
587
|
+
"DescribeImageTaskDetail": [
|
588
|
+
{
|
589
|
+
"document": "查询任务结果",
|
590
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeImageTaskDetail\n<公共请求参数>\n\n{\n \"TaskId\": \"24000089-WorkflowTask-0723542d0c164c958ba116874fa9b0c4\"\n}",
|
591
|
+
"output": "{\n \"Response\": {\n \"CreateTime\": \"2025-05-16T07:44:26Z\",\n \"FinishTime\": \"2025-05-16T07:44:30Z\",\n \"RequestId\": \"147e6b46-efeb-48cf-9186-b195b2bf4f9d\",\n \"Status\": \"FINISH\",\n \"TaskType\": \"WorkflowTask\"\n }\n}",
|
592
|
+
"title": "获取任务详情"
|
593
|
+
}
|
594
|
+
],
|
571
595
|
"DescribeLiveRecordTemplates": [
|
572
596
|
{
|
573
597
|
"document": "获取直播录制模板",
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1315.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1315
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|
@@ -1,4 +1,4 @@
|
|
1
|
-
tccli/__init__.py,sha256=
|
1
|
+
tccli/__init__.py,sha256=AuAgHtlww2FCH2FH3l1ZgeJXzQCLOLINn6TfHG3CoOI,27
|
2
2
|
tccli/argparser.py,sha256=WtfpBhj2R6JHSzagy6w6Q4y3YVmyIC_yK80w3tqBPgU,5589
|
3
3
|
tccli/argument.py,sha256=ZtVo3AySpzM-Hw6_hPdU27FjUsc8QPB2fIuLy7JSBAk,8091
|
4
4
|
tccli/base_command.py,sha256=rFWNAwfS0GA6LLGNOM-iPI0RV81Jag5cZn536ZQN0pw,2859
|
@@ -712,9 +712,9 @@ tccli/services/monitor/v20180724/examples.json,sha256=tGO1ucDq3UZxiseGoyehxCBg0V
|
|
712
712
|
tccli/services/monitor/v20230616/api.json,sha256=BsgGYmCmUB2zzYAum83EFUhx4Rvgw3npyKun0e4Ked0,10134
|
713
713
|
tccli/services/monitor/v20230616/examples.json,sha256=h3VWBvyZjytMYybGWTZ_rHeN3tTITVKmOPj8tBEdBGc,3726
|
714
714
|
tccli/services/mps/__init__.py,sha256=4M5o2xc0u3rqtgz_5an9Qxw2QaOqwBq8Fjc3IB64p2o,85
|
715
|
-
tccli/services/mps/mps_client.py,sha256=
|
716
|
-
tccli/services/mps/v20190612/api.json,sha256=
|
717
|
-
tccli/services/mps/v20190612/examples.json,sha256=
|
715
|
+
tccli/services/mps/mps_client.py,sha256=rgFYffE6i8f9nOGKxVsRSut3R3ZCpkdK2ULHpWNZeW0,414473
|
716
|
+
tccli/services/mps/v20190612/api.json,sha256=JvEPM9evNfGsLxDCojdqxbLhXGNcjAzIwAjyvUIL2hA,1223749
|
717
|
+
tccli/services/mps/v20190612/examples.json,sha256=CZrTPTbIE2NMwCx5CeKPnDvgtntmzRbwM37EjVsd_Ds,338797
|
718
718
|
tccli/services/mqtt/__init__.py,sha256=zchTxfWVKqmIOpb6siJtQcRDR5OfcpauX-ONDH5g32w,87
|
719
719
|
tccli/services/mqtt/mqtt_client.py,sha256=ngQLYyHDKHVvzg9gL87A0aJwBjlOgektFgr00j2MV74,167364
|
720
720
|
tccli/services/mqtt/v20240516/api.json,sha256=Vk_Bt9yuEARyFECyw-zPDqUhfW3a068FjD6yuPv-Zi8,186469
|
@@ -1161,8 +1161,8 @@ tccli/services/yunsou/v20180504/api.json,sha256=2808fil5p3pTEJ3SqXEEq7eSrASZOiv8
|
|
1161
1161
|
tccli/services/yunsou/v20180504/examples.json,sha256=Jg4WuqS_Wxl7eTBMbzjem65FuUZQi3qq3xtlBNFZlTU,11870
|
1162
1162
|
tccli/services/yunsou/v20191115/api.json,sha256=r_p7c7fMNylQVDpSN0CkUB4Cx1nYW1lI3BM_Zi50FNs,15932
|
1163
1163
|
tccli/services/yunsou/v20191115/examples.json,sha256=vN5MzexHVPMckm4MbnXNiOe3KKiVchvf4_uLpjOskuk,3983
|
1164
|
-
tccli-3.0.
|
1165
|
-
tccli-3.0.
|
1166
|
-
tccli-3.0.
|
1167
|
-
tccli-3.0.
|
1168
|
-
tccli-3.0.
|
1164
|
+
tccli-3.0.1315.1.dist-info/METADATA,sha256=yz-f__0-K4IyfnbArQobSwNKwTzNFsA9YHVljTNCyyo,16408
|
1165
|
+
tccli-3.0.1315.1.dist-info/WHEEL,sha256=HyPWovjK_wfsxZqVnw7Bu5rgKxNh3Nm__lHm0ALDcb4,101
|
1166
|
+
tccli-3.0.1315.1.dist-info/entry_points.txt,sha256=9ZzsXxi7Xj3ZneT7VxRVJpFvnmdEOeysh999_0gWVvo,85
|
1167
|
+
tccli-3.0.1315.1.dist-info/license_files/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
1168
|
+
tccli-3.0.1315.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|