tccli-intl-en 3.0.1237.1__py2.py3-none-any.whl → 3.0.1282.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/__init__.py +17 -1
- tccli/services/advisor/advisor_client.py +8 -2
- tccli/services/aiart/aiart_client.py +4 -1
- tccli/services/ams/ams_client.py +16 -4
- tccli/services/antiddos/antiddos_client.py +280 -70
- tccli/services/apigateway/apigateway_client.py +372 -93
- tccli/services/apm/apm_client.py +52 -13
- tccli/services/asr/asr_client.py +8 -2
- tccli/services/autoscaling/autoscaling_client.py +232 -58
- tccli/services/autoscaling/v20180419/api.json +1 -1
- tccli/services/batch/batch_client.py +112 -28
- tccli/services/bi/bi_client.py +1242 -4
- tccli/services/bi/v20220105/api.json +5340 -107
- tccli/services/bi/v20220105/examples.json +196 -1
- tccli/services/billing/billing_client.py +168 -42
- tccli/services/cam/cam_client.py +324 -81
- tccli/services/captcha/captcha_client.py +4 -1
- tccli/services/car/car_client.py +132 -33
- tccli/services/cbs/cbs_client.py +152 -38
- tccli/services/ccc/ccc_client.py +732 -98
- tccli/services/ccc/v20200210/api.json +1727 -196
- tccli/services/ccc/v20200210/examples.json +64 -0
- tccli/services/cdb/cdb_client.py +532 -133
- tccli/services/cdc/cdc_client.py +80 -20
- tccli/services/cdc/v20201214/api.json +2 -2
- tccli/services/cdc/v20201214/examples.json +4 -4
- tccli/services/cdn/cdn_client.py +176 -44
- tccli/services/cdwdoris/cdwdoris_client.py +308 -77
- tccli/services/cdwpg/cdwpg_client.py +96 -24
- tccli/services/cdz/__init__.py +4 -0
- tccli/services/cdz/cdz_client.py +210 -0
- tccli/services/cdz/v20221123/api.json +233 -0
- tccli/services/cdz/v20221123/examples.json +12 -0
- tccli/services/cfg/cfg_client.py +64 -16
- tccli/services/cfs/cfs_client.py +156 -39
- tccli/services/cfw/cfw_client.py +264 -66
- tccli/services/chdfs/chdfs_client.py +116 -29
- tccli/services/ciam/ciam_client.py +64 -16
- tccli/services/ckafka/ckafka_client.py +575 -77
- tccli/services/ckafka/v20190819/api.json +2749 -1470
- tccli/services/ckafka/v20190819/examples.json +209 -155
- tccli/services/clb/clb_client.py +332 -83
- tccli/services/clb/v20180317/api.json +29 -14
- tccli/services/cloudaudit/cloudaudit_client.py +72 -18
- tccli/services/cls/cls_client.py +348 -87
- tccli/services/cmq/cmq_client.py +12 -801
- tccli/services/cmq/v20190304/api.json +173 -1367
- tccli/services/cmq/v20190304/examples.json +0 -120
- tccli/services/config/config_client.py +24 -6
- tccli/services/controlcenter/controlcenter_client.py +4 -1
- tccli/services/csip/csip_client.py +136 -34
- tccli/services/ctsdb/ctsdb_client.py +8 -2
- tccli/services/cvm/cvm_client.py +627 -110
- tccli/services/cvm/v20170312/api.json +750 -340
- tccli/services/cvm/v20170312/examples.json +105 -59
- tccli/services/cwp/cwp_client.py +1860 -465
- tccli/services/cynosdb/cynosdb_client.py +1749 -439
- tccli/services/cynosdb/v20190107/api.json +11763 -7697
- tccli/services/cynosdb/v20190107/examples.json +132 -4
- tccli/services/dataintegration/dataintegration_client.py +4 -1
- tccli/services/dayu/dayu_client.py +412 -103
- tccli/services/dbbrain/dbbrain_client.py +168 -42
- tccli/services/dc/dc_client.py +72 -18
- tccli/services/dcdb/dcdb_client.py +248 -62
- tccli/services/dlc/dlc_client.py +756 -111
- tccli/services/dlc/v20210125/api.json +637 -13
- tccli/services/dlc/v20210125/examples.json +48 -0
- tccli/services/dms/dms_client.py +8 -2
- tccli/services/dnspod/dnspod_client.py +353 -74
- tccli/services/dnspod/v20210323/api.json +196 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/domain_client.py +96 -24
- tccli/services/dts/dts_client.py +332 -83
- tccli/services/eb/eb_client.py +104 -26
- tccli/services/ecdn/ecdn_client.py +60 -15
- tccli/services/ecm/ecm_client.py +496 -124
- tccli/services/eiam/eiam_client.py +160 -40
- tccli/services/emr/emr_client.py +2784 -115
- tccli/services/emr/v20190103/api.json +14647 -4756
- tccli/services/emr/v20190103/examples.json +408 -40
- tccli/services/es/es_client.py +84 -21
- tccli/services/facefusion/facefusion_client.py +12 -3
- tccli/services/faceid/faceid_client.py +76 -19
- tccli/services/faceid/v20180301/api.json +79 -14
- tccli/services/faceid/v20180301/examples.json +3 -3
- tccli/services/gaap/gaap_client.py +352 -88
- tccli/services/gme/gme_client.py +40 -10
- tccli/services/gpm/gpm_client.py +72 -18
- tccli/services/gse/gse_client.py +88 -22
- tccli/services/gwlb/gwlb_client.py +72 -18
- tccli/services/iai/iai_client.py +116 -29
- tccli/services/iap/iap_client.py +24 -6
- tccli/services/ims/ims_client.py +4 -1
- tccli/services/intlpartnersmgt/intlpartnersmgt_client.py +168 -42
- tccli/services/intlpartnersmgt/v20220928/api.json +11 -11
- tccli/services/iotcloud/iotcloud_client.py +80 -20
- tccli/services/ip/ip_client.py +24 -6
- tccli/services/kms/kms_client.py +272 -68
- tccli/services/lcic/lcic_client.py +212 -53
- tccli/services/lighthouse/lighthouse_client.py +296 -74
- tccli/services/lighthouse/v20200324/api.json +14 -14
- tccli/services/lighthouse/v20200324/examples.json +5 -5
- tccli/services/live/live_client.py +480 -120
- tccli/services/lke/lke_client.py +360 -90
- tccli/services/lke/v20231130/api.json +182 -39
- tccli/services/lkeap/__init__.py +4 -0
- tccli/services/lkeap/lkeap_client.py +546 -0
- tccli/services/lkeap/v20240522/api.json +855 -0
- tccli/services/lkeap/v20240522/examples.json +72 -0
- tccli/services/mariadb/mariadb_client.py +200 -50
- tccli/services/mdc/mdc_client.py +72 -18
- tccli/services/mdl/mdl_client.py +132 -33
- tccli/services/mdl/v20200326/api.json +186 -12
- tccli/services/mdl/v20200326/examples.json +16 -16
- tccli/services/mdp/mdp_client.py +680 -70
- tccli/services/mdp/v20200527/api.json +748 -23
- tccli/services/mdp/v20200527/examples.json +143 -79
- tccli/services/message/__init__.py +4 -0
- tccli/services/message/message_client.py +210 -0
- tccli/services/message/v20181225/api.json +72 -0
- tccli/services/message/v20181225/examples.json +13 -0
- tccli/services/mongodb/mongodb_client.py +340 -29
- tccli/services/mongodb/v20190725/api.json +811 -226
- tccli/services/mongodb/v20190725/examples.json +54 -22
- tccli/services/monitor/monitor_client.py +864 -152
- tccli/services/monitor/v20180724/api.json +657 -8
- tccli/services/monitor/v20180724/examples.json +152 -4
- tccli/services/mps/mps_client.py +592 -92
- tccli/services/mps/v20190612/api.json +2931 -399
- tccli/services/mps/v20190612/examples.json +64 -14
- tccli/services/msp/msp_client.py +28 -7
- tccli/services/ocr/ocr_client.py +212 -45
- tccli/services/ocr/v20181119/api.json +872 -112
- tccli/services/ocr/v20181119/examples.json +12 -4
- tccli/services/omics/omics_client.py +80 -20
- tccli/services/organization/organization_client.py +464 -116
- tccli/services/postgres/postgres_client.py +364 -91
- tccli/services/postgres/v20170312/api.json +134 -109
- tccli/services/postgres/v20170312/examples.json +14 -14
- tccli/services/privatedns/privatedns_client.py +124 -31
- tccli/services/pts/pts_client.py +192 -48
- tccli/services/quota/__init__.py +4 -0
- tccli/services/quota/quota_client.py +434 -0
- tccli/services/quota/v20241204/api.json +548 -0
- tccli/services/quota/v20241204/examples.json +51 -0
- tccli/services/rce/rce_client.py +4 -1
- tccli/services/redis/redis_client.py +592 -106
- tccli/services/redis/v20180412/api.json +636 -240
- tccli/services/redis/v20180412/examples.json +98 -56
- tccli/services/region/region_client.py +12 -3
- tccli/services/rum/rum_client.py +240 -60
- tccli/services/scf/scf_client.py +168 -42
- tccli/services/ses/ses_client.py +116 -29
- tccli/services/sms/sms_client.py +72 -18
- tccli/services/sqlserver/sqlserver_client.py +3772 -387
- tccli/services/sqlserver/v20180328/api.json +9760 -3380
- tccli/services/sqlserver/v20180328/examples.json +478 -18
- tccli/services/ssl/ssl_client.py +152 -38
- tccli/services/ssm/ssm_client.py +96 -24
- tccli/services/sts/sts_client.py +20 -5
- tccli/services/tag/tag_client.py +120 -30
- tccli/services/tat/tat_client.py +76 -19
- tccli/services/tbaas/tbaas_client.py +16 -4
- tccli/services/tcaplusdb/tcaplusdb_client.py +208 -52
- tccli/services/tcaplusdb/v20190823/api.json +836 -760
- tccli/services/tcaplusdb/v20190823/examples.json +3 -3
- tccli/services/tchd/tchd_client.py +4 -1
- tccli/services/tcmpp/tcmpp_client.py +416 -104
- tccli/services/tcr/tcr_client.py +304 -76
- tccli/services/tcsas/tcsas_client.py +236 -59
- tccli/services/tcsas/v20250106/api.json +155 -79
- tccli/services/tcsas/v20250106/examples.json +3 -3
- tccli/services/tcss/tcss_client.py +1320 -330
- tccli/services/tdid/tdid_client.py +192 -48
- tccli/services/tdmq/tdmq_client.py +376 -94
- tccli/services/tem/tem_client.py +224 -56
- tccli/services/teo/teo_client.py +1127 -245
- tccli/services/teo/v20220901/api.json +382 -58
- tccli/services/teo/v20220901/examples.json +24 -0
- tccli/services/tione/__init__.py +4 -0
- tccli/services/tione/tione_client.py +210 -0
- tccli/services/tione/v20211111/api.json +3074 -0
- tccli/services/tione/v20211111/examples.json +12 -0
- tccli/services/tiw/tiw_client.py +204 -51
- tccli/services/tke/tke_client.py +552 -138
- tccli/services/tms/tms_client.py +4 -1
- tccli/services/tmt/tmt_client.py +4 -1
- tccli/services/trabbit/trabbit_client.py +116 -29
- tccli/services/trro/trro_client.py +76 -19
- tccli/services/trtc/trtc_client.py +420 -55
- tccli/services/trtc/v20190722/api.json +685 -23
- tccli/services/trtc/v20190722/examples.json +39 -7
- tccli/services/tts/tts_client.py +4 -1
- tccli/services/vclm/vclm_client.py +8 -2
- tccli/services/vm/vm_client.py +16 -4
- tccli/services/vod/v20180717/examples.json +1 -1
- tccli/services/vod/vod_client.py +716 -179
- tccli/services/vpc/v20170312/api.json +970 -75
- tccli/services/vpc/v20170312/examples.json +106 -10
- tccli/services/vpc/vpc_client.py +1876 -361
- tccli/services/waf/v20180125/api.json +1372 -194
- tccli/services/waf/v20180125/examples.json +89 -1
- tccli/services/waf/waf_client.py +1051 -147
- tccli/services/wedata/v20250806/api.json +13644 -0
- tccli/services/wedata/v20250806/examples.json +621 -0
- tccli/services/wedata/wedata_client.py +5830 -1026
- tccli/services/yunjing/yunjing_client.py +284 -71
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/METADATA +4 -7
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/RECORD +214 -192
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/WHEEL +1 -1
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/entry_points.txt +0 -1
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.0.1237.1.dist-info → tccli_intl_en-3.0.1282.1.dist-info}/top_level.txt +0 -0
|
@@ -108,10 +108,10 @@
|
|
|
108
108
|
],
|
|
109
109
|
"CreateLiveRecordTemplate": [
|
|
110
110
|
{
|
|
111
|
-
"document": "This example shows you how to create a live
|
|
112
|
-
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLiveRecordTemplate\n<Common request parameters>\n\n{\n \"HLSConfigure\": {\n \"ItemDuration\": 10,\n \"Interval\": 3600\n },\n \"Name\": \"Template 1\",\n \"Comment\": \"
|
|
111
|
+
"document": "This example shows you how to create a live recording template.",
|
|
112
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateLiveRecordTemplate\n<Common request parameters>\n\n{\n \"HLSConfigure\": {\n \"ItemDuration\": 10,\n \"Interval\": 3600\n },\n \"Name\": \"Template 1\",\n \"Comment\": \"Template description\"\n}",
|
|
113
113
|
"output": "{\n \"Response\": {\n \"Definition\": 20001,\n \"RequestId\": \"12ae8cxc-dce3-4151-9cyt-5594145287e1\"\n }\n}",
|
|
114
|
-
"title": "Creating a Live
|
|
114
|
+
"title": "Creating a Live Recording Template"
|
|
115
115
|
}
|
|
116
116
|
],
|
|
117
117
|
"CreatePersonSample": [
|
|
@@ -152,6 +152,20 @@
|
|
|
152
152
|
"title": "Configuring a transcoding rule"
|
|
153
153
|
}
|
|
154
154
|
],
|
|
155
|
+
"CreateSmartEraseTemplate": [
|
|
156
|
+
{
|
|
157
|
+
"document": "This example shows you how to create a subtitle erasing template with extraction and translation features.",
|
|
158
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSmartEraseTemplate\n<Common request parameters>\n\n{\n \"Name\": \"Subtitle erasing template 2.\",\n \"EraseType\": \"subtitle\",\n \"EraseSubtitleConfig\": {\n \"SubtitleEraseMethod\": \"auto\",\n \"SubtitleModel\": \"standard\",\n \"OcrSwitch\": \"ON\",\n \"SubtitleLang\": \"zh_en\",\n \"SubtitleFormat\": \"vtt\",\n \"TransSwitch\": \"ON\",\n \"TransDstLang\": \"en\"\n }\n}",
|
|
159
|
+
"output": "{\n \"Response\": {\n \"Definition\": 200409,\n \"RequestId\": \"ac14b422-1c7b-407d-9b95-530f1eea063d\"\n }\n}",
|
|
160
|
+
"title": "Creating a Subtitle Erasing Template with Extraction and Translation Features"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"document": "This example shows you how to create a subtitle erasing template that has the capability to detect and erase the text in the preset area while also allowing for direct erasure in the specified area during the specified time period.",
|
|
164
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateSmartEraseTemplate\n<Common request parameters>\n\n{\n \"Name\": \"Subtitle erasing template 2.\",\n \"EraseType\": \"subtitle\",\n \"EraseSubtitleConfig\": {\n \"SubtitleEraseMethod\": \"auto\",\n \"SubtitleModel\": \"standard\",\n \"CustomAreas\": [\n {\n \"BeginMs\": 200,\n \"EndMs\": 3000,\n \"Areas\": [\n {\n \"LeftTopX\": 0.05,\n \"LeftTopY\": 0.1,\n \"RightBottomX\": 0.75,\n \"RightBottomY\": 0.9,\n \"Unit\": 1\n }\n ]\n }\n ]\n }\n}",
|
|
165
|
+
"output": "{\n \"Response\": {\n \"Definition\": 200410,\n \"RequestId\": \"835f2ecd-8666-4717-998b-02680437a8ef\"\n }\n}",
|
|
166
|
+
"title": "Creating a Subtitle Erasing Template with Automatic and Area Erasing Capabilities"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
155
169
|
"CreateSmartSubtitleTemplate": [
|
|
156
170
|
{
|
|
157
171
|
"document": "",
|
|
@@ -171,7 +185,7 @@
|
|
|
171
185
|
"CreateTranscodeTemplate": [
|
|
172
186
|
{
|
|
173
187
|
"document": " ",
|
|
174
|
-
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTranscodeTemplate\n<Common request parameters>\n\n
|
|
188
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateTranscodeTemplate\n<Common request parameters>\n\n{\n \"RemoveVideo\": 0,\n \"Container\": \"mp4\",\n \"Name\": \"trans_test\",\n \"AudioTemplate\": {\n \"SampleRate\": 44100,\n \"Codec\": \"aac\",\n \"Bitrate\": 200\n },\n \"VideoTemplate\": {\n \"Codec\": \"h264\",\n \"Bitrate\": 256,\n \"Fps\": 45\n },\n \"RemoveAudio\": 0\n}",
|
|
175
189
|
"output": "{\n \"Response\": {\n \"Definition\": 1008,\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
|
|
176
190
|
"title": "Creating a Transcoding Template"
|
|
177
191
|
}
|
|
@@ -179,9 +193,9 @@
|
|
|
179
193
|
"CreateWatermarkTemplate": [
|
|
180
194
|
{
|
|
181
195
|
"document": " ",
|
|
182
|
-
"input": "
|
|
183
|
-
"output": "{\n \"Response\": {\n \"Definition\":
|
|
184
|
-
"title": "Creating a
|
|
196
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateWatermarkTemplate\n<Common request parameters>\n\n{\n\"Name\": \"Watermark Template 1\",\n\"Comment\": \"svg watermark\"\n \"Type\": \"svg\",\n \"CoordinateOrigin\": \"TopRight\",\n \"XPos\": \"5%\",\n \"YPos\": \"5%\",\n \"ImageTemplate\": {\n \"ImageContent\": \"\",\n \"Width\": \"10%\",\n \"Height\": \"0px\",\n \"RepeatType\": \"once\"\n },\n \"TextTemplate\": {\n \"FontType\": \"arial.ttf\",\n \"FontSize\": \"10px\",\n \"FontColor\": \"#ffffff\",\n \"FontAlpha\": 0.5\n },\n \"SvgTemplate\": {\n \"Width\": \"10%\",\n \"Height\": \"0px\"\n }\n}",
|
|
197
|
+
"output": "{\n \"Response\": {\n \"Definition\": 123,\n \"ImageUrl\": \"\",\n \"RequestId\": \"93dda61a-c2c5-465d-a78c-0860997fb01b\"\n }\n}",
|
|
198
|
+
"title": "Creating a Watermark Template"
|
|
185
199
|
}
|
|
186
200
|
],
|
|
187
201
|
"CreateWordSamples": [
|
|
@@ -314,6 +328,14 @@
|
|
|
314
328
|
"title": "Deleting a scheme"
|
|
315
329
|
}
|
|
316
330
|
],
|
|
331
|
+
"DeleteSmartEraseTemplate": [
|
|
332
|
+
{
|
|
333
|
+
"document": "This example shows you how to delete the specified smart erasing template.",
|
|
334
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteSmartEraseTemplate\n<Common request parameters>\n\n{\n \"Definition\": 200019\n}",
|
|
335
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3d3a3b90-9be7-4a3c-bd53-52fe399d976c\"\n }\n}",
|
|
336
|
+
"title": "Deleting the Specified Smart Erasing Template"
|
|
337
|
+
}
|
|
338
|
+
],
|
|
317
339
|
"DeleteSmartSubtitleTemplate": [
|
|
318
340
|
{
|
|
319
341
|
"document": "This example shows you how to delete a user-defined smart subtitle template.",
|
|
@@ -514,6 +536,20 @@
|
|
|
514
536
|
"title": "Querying a scheme"
|
|
515
537
|
}
|
|
516
538
|
],
|
|
539
|
+
"DescribeSmartEraseTemplates": [
|
|
540
|
+
{
|
|
541
|
+
"document": "This example shows you how to query information about all smart erasing templates, including system preset templates and custom templates.",
|
|
542
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSmartEraseTemplates\n<Common request parameters>\n\n{}",
|
|
543
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e2ad2688-ca7c-4f85-bbb0-1cfbdf258013\",\n \"SmartEraseTemplateSet\": [\n {\n \"AliasName\": \"FaceAndLicensePlateBlur\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-07-15T10:51:04+08:00\",\n \"Definition\": 302,\n \"ErasePrivacyConfig\": {\n \"PrivacyModel\": \"blur\",\n \"PrivacyTargets\": [\n \"plate\",\n \"face\"\n ]\n },\n \"EraseSubtitleConfig\": null,\n \"EraseType\": \"privacy\",\n \"EraseWatermarkConfig\": null,\n \"Name\": \"The human face and license plate are blurred.\",\n \"Type\": \"Preset\",\n \"UpdateTime\": \"2025-07-15T10:51:04+08:00\"\n },\n {\n \"AliasName\": \"FaceBlur\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-07-15T10:51:04+08:00\",\n \"Definition\": 301,\n \"ErasePrivacyConfig\": {\n \"PrivacyModel\": \"blur\",\n \"PrivacyTargets\": [\n \"face\"\n ]\n },\n \"EraseSubtitleConfig\": null,\n \"EraseType\": \"privacy\",\n \"EraseWatermarkConfig\": null,\n \"Name\": \"The human face is blurred.\",\n \"Type\": \"Preset\",\n \"UpdateTime\": \"2025-07-15T10:51:04+08:00\"\n },\n {\n \"AliasName\": \"WatermarkRemoval-AdvancedVersion\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-07-15T10:51:04+08:00\",\n \"Definition\": 201,\n \"ErasePrivacyConfig\": null,\n \"EraseSubtitleConfig\": null,\n \"EraseType\": \"watermark\",\n \"EraseWatermarkConfig\": {\n \"WatermarkEraseMethod\": \"auto\",\n \"WatermarkModel\": \"advanced\"\n },\n \"Name\": \"Watermark removal-Advanced Edition.\",\n \"Type\": \"Preset\",\n \"UpdateTime\": \"2025-07-15T10:51:04+08:00\"\n },\n {\n \"AliasName\": \"SubtitleRemoval_OCRExtractSubtitlesAndTranslateToEnglish\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-07-15T10:51:04+08:00\",\n \"Definition\": 103,\n \"ErasePrivacyConfig\": null,\n \"EraseSubtitleConfig\": {\n \"OcrSwitch\": \"ON\",\n \"SubtitleEraseMethod\": \"auto\",\n \"SubtitleFormat\": \"vtt\",\n \"SubtitleLang\": \"zh_en\",\n \"SubtitleModel\": \"standard\",\n \"TransDstLang\": \"en\",\n \"TransSwitch\": \"ON\"\n },\n \"EraseType\": \"subtitle\",\n \"EraseWatermarkConfig\": null,\n \"Name\": \"Subtitle removal_extract subtitles through OCR and translate them into English.\",\n \"Type\": \"Preset\",\n \"UpdateTime\": \"2025-07-15T18:36:53+08:00\"\n },\n {\n \"AliasName\": \"SubtitleRemovalAndOCRExtractSubtitles\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-07-15T10:51:04+08:00\",\n \"Definition\": 102,\n \"ErasePrivacyConfig\": null,\n \"EraseSubtitleConfig\": {\n \"OcrSwitch\": \"ON\",\n \"SubtitleEraseMethod\": \"auto\",\n \"SubtitleFormat\": \"vtt\",\n \"SubtitleLang\": \"zh_en\",\n \"SubtitleModel\": \"standard\",\n \"TransSwitch\": \"OFF\"\n },\n \"EraseType\": \"subtitle\",\n \"EraseWatermarkConfig\": null,\n \"Name\": \"Subtitle removal_extract subtitles through OCR.\",\n \"Type\": \"Preset\",\n \"UpdateTime\": \"2025-07-15T18:36:53+08:00\"\n },\n {\n \"AliasName\": \"SubtitleRemoval\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-07-15T10:51:04+08:00\",\n \"Definition\": 101,\n \"ErasePrivacyConfig\": null,\n \"EraseSubtitleConfig\": {\n \"OcrSwitch\": \"OFF\",\n \"SubtitleEraseMethod\": \"auto\",\n \"SubtitleModel\": \"standard\",\n \"TransSwitch\": \"OFF\"\n },\n \"EraseType\": \"subtitle\",\n \"EraseWatermarkConfig\": null,\n \"Name\": \"Subtitle removal.\",\n \"Type\": \"Preset\",\n \"UpdateTime\": \"2025-07-15T10:51:04+08:00\"\n },\n {\n \"AliasName\": \"\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-08-04T15:16:25+08:00\",\n \"Definition\": 200385,\n \"ErasePrivacyConfig\": null,\n \"EraseSubtitleConfig\": {\n \"OcrSwitch\": \"OFF\",\n \"SubtitleEraseMethod\": \"auto\",\n \"SubtitleModel\": \"standard\",\n \"TransSwitch\": \"OFF\"\n },\n \"EraseType\": \"subtitle\",\n \"EraseWatermarkConfig\": null,\n \"Name\": \"Testing 8.\",\n \"Type\": \"Custom\",\n \"UpdateTime\": \"2025-08-04T20:08:14+08:00\"\n },\n {\n \"AliasName\": \"\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-07-02T20:49:04+08:00\",\n \"Definition\": 200022,\n \"ErasePrivacyConfig\": null,\n \"EraseSubtitleConfig\": {\n \"OcrSwitch\": \"OFF\",\n \"SubtitleEraseMethod\": \"auto\",\n \"SubtitleLang\": \"zh_en\",\n \"SubtitleModel\": \"standard\",\n \"TransSwitch\": \"OFF\"\n },\n \"EraseType\": \"subtitle\",\n \"EraseWatermarkConfig\": null,\n \"Name\": \"Testing 7.\",\n \"Type\": \"Custom\",\n \"UpdateTime\": \"2025-08-04T20:08:14+08:00\"\n },\n {\n \"AliasName\": \"\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-07-02T20:48:48+08:00\",\n \"Definition\": 200021,\n \"ErasePrivacyConfig\": null,\n \"EraseSubtitleConfig\": {\n \"OcrSwitch\": \"OFF\",\n \"SubtitleEraseMethod\": \"auto\",\n \"SubtitleModel\": \"standard\",\n \"TransSwitch\": \"OFF\"\n },\n \"EraseType\": \"subtitle\",\n \"EraseWatermarkConfig\": null,\n \"Name\": \"Testing 6.\",\n \"Type\": \"Custom\",\n \"UpdateTime\": \"2025-08-04T20:08:14+08:00\"\n },\n {\n \"AliasName\": \"\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-07-02T19:21:24+08:00\",\n \"Definition\": 200019,\n \"ErasePrivacyConfig\": null,\n \"EraseSubtitleConfig\": {\n \"OcrSwitch\": \"OFF\",\n \"SubtitleEraseMethod\": \"custom\",\n \"SubtitleModel\": \"standard\",\n \"TransSwitch\": \"OFF\"\n },\n \"EraseType\": \"subtitle\",\n \"EraseWatermarkConfig\": null,\n \"Name\": \"Testing 5.\",\n \"Type\": \"Custom\",\n \"UpdateTime\": \"2025-08-04T20:08:14+08:00\"\n }\n ],\n \"TotalCount\": 14\n }\n}",
|
|
544
|
+
"title": "Querying All Smart Erasing Templates"
|
|
545
|
+
},
|
|
546
|
+
{
|
|
547
|
+
"document": "This example shows you how to query information about the specified smart erasing template.",
|
|
548
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSmartEraseTemplates\n<Common request parameters>\n\n{\n \"Definitions\": [\n 200019\n ]\n}",
|
|
549
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"83c6c7c2-3dab-4c6a-bedb-227371c038c0\",\n \"SmartEraseTemplateSet\": [\n {\n \"AliasName\": \"\",\n \"Comment\": \"\",\n \"CreateTime\": \"2025-07-02T19:21:24+08:00\",\n \"Definition\": 200019,\n \"ErasePrivacyConfig\": null,\n \"EraseSubtitleConfig\": {\n \"OcrSwitch\": \"OFF\",\n \"SubtitleEraseMethod\": \"custom\",\n \"SubtitleModel\": \"standard\",\n \"TransSwitch\": \"OFF\"\n },\n \"EraseType\": \"subtitle\",\n \"EraseWatermarkConfig\": null,\n \"Name\": \"Testing 5.\",\n \"Type\": \"Custom\",\n \"UpdateTime\": \"2025-08-04T20:08:14+08:00\"\n }\n ],\n \"TotalCount\": 1\n }\n}",
|
|
550
|
+
"title": "Querying the Specified Smart Erasing Template"
|
|
551
|
+
}
|
|
552
|
+
],
|
|
517
553
|
"DescribeSmartSubtitleTemplates": [
|
|
518
554
|
{
|
|
519
555
|
"document": "",
|
|
@@ -540,10 +576,10 @@
|
|
|
540
576
|
],
|
|
541
577
|
"DescribeTaskDetail": [
|
|
542
578
|
{
|
|
543
|
-
"document": "This example shows you how to
|
|
579
|
+
"document": "This example shows you how to querying task results.",
|
|
544
580
|
"input": "https://mps.tencentcloudapi.com/?Action=DescribeTaskDetail\n&TaskId=235303****-WorkflowTask-80108cc3380155d98b2e3573a48a******\n&<Common request parameters>",
|
|
545
|
-
"output": "{\n \"Response\": {\n \"TaskType\": \"WorkflowTask\",\n \"Status\": \"FINISH\",\n \"CreateTime\": \"2019-07-16T06:21:27Z\",\n \"BeginProcessTime\": \"2019-07-16T06:21:28Z\",\n \"FinishTime\": \"2019-07-16T06:21:46Z\",\n \"WorkflowTask\": {\n \"TaskId\": \"235303****-WorkflowTask-80108cc3380155d98b2e3573a48a******\",\n \"Status\": \"FINISH\",\n \"ErrCode\": 0,\n \"Message\": \"\",\n \"InputInfo\": {\n \"Type\": \"COS\",\n \"CosInputInfo\": {\n \"Bucket\": \"vodtestbj-235303****\",\n \"Region\": \"ap-beijing\",\n \"Object\": \"/input/videoplayback.mp4\"\n },\n \"S3InputInfo\": null,\n \"UrlInputInfo\": null\n },\n \"MetaData\": {\n \"AudioDuration\": 380.9465637207031,\n \"AudioStreamSet\": [\n {\n \"Channel\": 0,\n \"Bitrate\": 95999,\n \"Codec\": \"aac\",\n \"SamplingRate\": 44100\n }\n ],\n \"Bitrate\": 409657,\n \"Container\": \"mov,mp4,m4a,3gp,3g2,mj2\",\n \"Duration\": 380.9465637207031,\n \"Height\": 360,\n \"Rotate\": 0,\n \"Size\": 19626862,\n \"VideoDuration\": 380.8804931640625,\n \"VideoStreamSet\": [\n {\n \"Bitrate\": 313658,\n \"Codec\": \"h264\",\n \"Codecs\": \"avc1.ffe100\",\n \"Fps\": 29,\n \"Height\": 360,\n \"HdrType\": \"\",\n \"ColorPrimaries\": \"\",\n \"ColorSpace\": \"\",\n \"ColorTransfer\": \"\",\n \"Width\": 480\n }\n ],\n \"Width\": 480\n },\n \"MediaProcessResultSet\": [\n {\n \"Type\": \"Transcode\",\n \"TranscodeTask\": {\n \"Status\": \"SUCCESS\",\n \"ErrCode\": 0,\n \"Message\": \"SUCCESS\",\n \"ErrCodeExt\": \"SUCCESS\",\n \"Progress\": 100,\n \"Input\": {\n \"Definition\": 210,\n \"WatermarkSet\": [],\n \"MosaicSet\": [],\n \"RawParameter\": null,\n \"EndTimeOffset\": 0,\n \"OverrideParameter\": null,\n \"HeadTailParameter\": null,\n \"StartTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"vodtestgz-235303****\",\n \"Region\": \"ap-guangzhou\"\n },\n \"S3OutputStorage\": null\n },\n \"OutputObjectPath\": \"/hello/world/what/ever/videoplayback_transcode111_210\",\n \"SegmentObjectName\": \"/hello/world/what/ever/no/problem/videoplayback_transcode11_210_{number}\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 2,\n \"Increment\": 3,\n \"MinLength\": 1,\n \"PlaceHolder\": \"0\"\n }\n },\n \"Output\": {\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"vodtestgz-235303****\",\n \"Region\": \"ap-guangzhou\"\n },\n \"S3OutputStorage\": null\n },\n \"Path\": \"/hello/world/what/ever/videoplayback_transcode111_210.m3u8\",\n \"Definition\": 210,\n \"Bitrate\": 353297,\n \"Height\": 240,\n \"Width\": 320,\n \"Size\": 5692,\n \"Duration\": 380.9580078125,\n \"Container\": \"hls,applehttp\",\n \"Md5\": \"ae0dfe7c7336291d6243463b7bb14fea\",\n \"VideoStreamSet\": [\n {\n \"Bitrate\": 302307,\n \"Codec\": \"h264\",\n \"Codecs\": \"avc1.ffe100\",\n \"Fps\": 24,\n \"Height\": 240,\n \"HdrType\": \"\",\n \"ColorPrimaries\": \"\",\n \"ColorSpace\": \"\",\n \"ColorTransfer\": \"\",\n \"Width\": 320\n }\n ],\n \"AudioStreamSet\": [\n {\n \"Channel\": 0,\n \"Bitrate\": 50990,\n \"Codec\": \"aac\",\n \"SamplingRate\": 44100\n }\n ]\n }\n },\n \"AnimatedGraphicTask\": null,\n \"SnapshotByTimeOffsetTask\": null,\n \"SampleSnapshotTask\": null,\n \"ImageSpriteTask\": null\n }\n ],\n \"AiAnalysisResultSet\": [],\n \"AiRecognitionResultSet\": [],\n \"AiContentReviewResultSet\": [],\n \"AiQualityControlTaskResult\": null\n },\n \"TaskNotifyConfig\": null,\n \"EditMediaTask\": null,\n \"LiveStreamProcessTask\": null,\n \"ScheduleTask\": null,\n \"LiveScheduleTask\": null,\n \"TasksPriority\": 0,\n \"SessionId\": \"\",\n \"SessionContext\": \"\",\n \"ExtInfo\": \"\",\n \"RequestId\": \"04db7d25-f590-414a-a341-8f1584f15f84\"\n }\n}",
|
|
546
|
-
"title": "
|
|
581
|
+
"output": "{\n \"Response\": {\n \"TaskType\": \"WorkflowTask\",\n \"Status\": \"FINISH\",\n \"CreateTime\": \"2019-07-16T06:21:27Z\",\n \"BeginProcessTime\": \"2019-07-16T06:21:28Z\",\n \"FinishTime\": \"2019-07-16T06:21:46Z\",\n \"WorkflowTask\": {\n \"TaskId\": \"235303****-WorkflowTask-80108cc3380155d98b2e3573a48a******\",\n \"Status\": \"FINISH\",\n \"ErrCode\": 0,\n \"Message\": \"\",\n \"InputInfo\": {\n \"Type\": \"COS\",\n \"CosInputInfo\": {\n \"Bucket\": \"vodtestbj-235303****\",\n \"Region\": \"ap-beijing\",\n \"Object\": \"/input/videoplayback.mp4\"\n },\n \"S3InputInfo\": null,\n \"UrlInputInfo\": null\n },\n \"MetaData\": {\n \"AudioDuration\": 380.9465637207031,\n \"AudioStreamSet\": [\n {\n \"Channel\": 0,\n \"Bitrate\": 95999,\n \"Codec\": \"aac\",\n \"SamplingRate\": 44100\n }\n ],\n \"Bitrate\": 409657,\n \"Container\": \"mov,mp4,m4a,3gp,3g2,mj2\",\n \"Duration\": 380.9465637207031,\n \"Height\": 360,\n \"Rotate\": 0,\n \"Size\": 19626862,\n \"VideoDuration\": 380.8804931640625,\n \"VideoStreamSet\": [\n {\n \"Bitrate\": 313658,\n \"Codec\": \"h264\",\n \"Codecs\": \"avc1.ffe100\",\n \"Fps\": 29,\n \"Height\": 360,\n \"HdrType\": \"\",\n \"ColorPrimaries\": \"\",\n \"ColorSpace\": \"\",\n \"ColorTransfer\": \"\",\n \"Width\": 480\n }\n ],\n \"Width\": 480\n },\n \"MediaProcessResultSet\": [\n {\n \"Type\": \"Transcode\",\n \"TranscodeTask\": {\n \"Status\": \"SUCCESS\",\n \"ErrCode\": 0,\n \"Message\": \"SUCCESS\",\n \"ErrCodeExt\": \"SUCCESS\",\n \"Progress\": 100,\n \"Input\": {\n \"Definition\": 210,\n \"WatermarkSet\": [],\n \"MosaicSet\": [],\n \"RawParameter\": null,\n \"EndTimeOffset\": 0,\n \"OverrideParameter\": null,\n \"HeadTailParameter\": null,\n \"StartTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"vodtestgz-235303****\",\n \"Region\": \"ap-guangzhou\"\n },\n \"S3OutputStorage\": null\n },\n \"OutputObjectPath\": \"/hello/world/what/ever/videoplayback_transcode111_210\",\n \"SegmentObjectName\": \"/hello/world/what/ever/no/problem/videoplayback_transcode11_210_{number}\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 2,\n \"Increment\": 3,\n \"MinLength\": 1,\n \"PlaceHolder\": \"0\"\n }\n },\n \"Output\": {\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"vodtestgz-235303****\",\n \"Region\": \"ap-guangzhou\"\n },\n \"S3OutputStorage\": null\n },\n \"Path\": \"/hello/world/what/ever/videoplayback_transcode111_210.m3u8\",\n \"Definition\": 210,\n \"Bitrate\": 353297,\n \"Height\": 240,\n \"Width\": 320,\n \"Size\": 5692,\n \"Duration\": 380.9580078125,\n \"Container\": \"hls,applehttp\",\n \"Md5\": \"ae0dfe7c7336291d6243463b7bb14fea\",\n \"VideoStreamSet\": [\n {\n \"Bitrate\": 302307,\n \"Codec\": \"h264\",\n \"Codecs\": \"avc1.ffe100\",\n \"Fps\": 24,\n \"Height\": 240,\n \"HdrType\": \"\",\n \"ColorPrimaries\": \"\",\n \"ColorSpace\": \"\",\n \"ColorTransfer\": \"\",\n \"Width\": 320\n }\n ],\n \"AudioStreamSet\": [\n {\n \"Channel\": 0,\n \"Bitrate\": 50990,\n \"Codec\": \"aac\",\n \"SamplingRate\": 44100\n }\n ]\n }\n },\n \"AnimatedGraphicTask\": null,\n \"SnapshotByTimeOffsetTask\": null,\n \"SampleSnapshotTask\": null,\n \"ImageSpriteTask\": null,\n \"AdaptiveDynamicStreamingTask\": null\n }\n ],\n \"AiAnalysisResultSet\": [],\n \"AiRecognitionResultSet\": [],\n \"AiContentReviewResultSet\": [],\n \"AiQualityControlTaskResult\": null\n },\n \"TaskNotifyConfig\": null,\n \"EditMediaTask\": null,\n \"LiveStreamProcessTask\": null,\n \"ScheduleTask\": null,\n \"LiveScheduleTask\": null,\n \"TasksPriority\": 0,\n \"SessionId\": \"\",\n \"SessionContext\": \"\",\n \"ExtInfo\": \"\",\n \"RequestId\": \"04db7d25-f590-414a-a341-8f1584f15f84\"\n }\n}",
|
|
582
|
+
"title": "Obtaining Task Details"
|
|
547
583
|
}
|
|
548
584
|
],
|
|
549
585
|
"DescribeTasks": [
|
|
@@ -600,8 +636,8 @@
|
|
|
600
636
|
{
|
|
601
637
|
"document": "This example shows you how to query the workflow with ID 78459.",
|
|
602
638
|
"input": "https://mps.tencentcloudapi.com/?Action=DescribeWorkflows\n&WorkflowIds.0=78459\n&<Common request parameters>",
|
|
603
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"WorkflowInfoSet\": [\n {\n \"WorkflowId\": 0,\n \"WorkflowName\": \"abc\",\n \"Status\": \"abc\",\n \"Trigger\": {\n \"Type\": \"abc\",\n \"CosFileUploadTrigger\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Dir\": \"abc\",\n \"Formats\": [\n \"abc\"\n ]\n },\n \"AwsS3FileUploadTrigger\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"Dir\": \"abc\",\n \"Formats\": [\n \"abc\"\n ],\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\",\n \"AwsSQS\": {\n \"SQSRegion\": \"abc\",\n \"SQSQueueName\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n },\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"MediaProcessTask\": {\n \"TranscodeTaskSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Container\": \"abc\",\n \"RemoveVideo\": 0,\n \"RemoveAudio\": 0,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"HlsTime\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n },\n \"StdExtInfo\": \"abc\",\n \"EnhanceConfig\": {\n \"VideoEnhance\": {\n \"FrameRate\": {\n \"Switch\": \"abc\",\n \"Fps\": 1\n },\n \"SuperResolution\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\",\n \"Size\": 0\n },\n \"Hdr\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"Denoise\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ImageQualityEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ColorEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"SharpEnhance\": {\n \"Switch\": \"abc\",\n \"Intensity\": 0\n },\n \"FaceEnhance\": {\n \"Switch\": \"abc\",\n \"Intensity\": 0\n },\n \"LowLightEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ScratchRepair\": {\n \"Switch\": \"abc\",\n \"Intensity\": 0\n },\n \"ArtifactRepair\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n }\n },\n \"AudioEnhance\": {\n \"Denoise\": {\n \"Switch\": \"abc\"\n },\n \"Separate\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\",\n \"Track\": \"abc\"\n },\n \"VolumeBalance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"Beautify\": {\n \"Switch\": \"abc\",\n \"Types\": [\n \"abc\"\n ]\n }\n }\n }\n },\n \"OverrideParameter\": {\n \"Container\": \"abc\",\n \"RemoveVideo\": 1,\n \"RemoveAudio\": 1,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"ContentAdaptStream\": 1,\n \"HlsTime\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0,\n \"StreamSelects\": [\n 0\n ]\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n },\n \"SubtitleTemplate\": {\n \"Path\": \"abc\",\n \"StreamIndex\": 0,\n \"FontType\": \"abc\",\n \"FontSize\": \"abc\",\n \"FontColor\": \"abc\",\n \"FontAlpha\": 0\n },\n \"AddonAudioStream\": [\n {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n ],\n \"StdExtInfo\": \"abc\",\n \"AddOnSubtitles\": [\n {\n \"Type\": \"abc\",\n \"Subtitle\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n }\n ]\n },\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"ImageContent\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"MosaicSet\": [\n {\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\",\n \"SegmentObjectName\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n },\n \"HeadTailParameter\": {}\n }\n ],\n \"AnimatedGraphicTaskSet\": [\n {\n \"Definition\": 1,\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\"\n }\n ],\n \"SnapshotByTimeOffsetTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"ExtTimeOffsetSet\": [\n \"abc\"\n ],\n \"TimeOffsetSet\": [\n 0\n ],\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputObjectPath\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n }\n }\n ],\n \"SampleSnapshotTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputObjectPath\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n }\n }\n ],\n \"ImageSpriteTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputObjectPath\": \"abc\",\n \"WebVttObjectName\": \"abc\"\n }\n ],\n \"AdaptiveDynamicStreamingTaskSet\": [\n {\n \"Definition\": 1,\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"ImageContent\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\",\n \"SubStreamObjectName\": \"abc\",\n \"SegmentObjectName\": \"abc\",\n \"AddOnSubtitles\": [\n {\n \"Type\": \"abc\"\n }\n ],\n \"DrmInfo\": {\n \"Type\": \"abc\",\n \"SimpleAesDrm\": {\n \"Uri\": \"abc\",\n \"Key\": \"abc\",\n \"Vector\": \"abc\"\n }\n },\n \"DefinitionType\": \"abc\"\n }\n ]\n },\n \"AiContentReviewTask\": {\n \"Definition\": 1\n },\n \"AiAnalysisTask\": {\n \"Definition\": 1,\n \"ExtendedParameter\": \"abc\"\n },\n \"AiRecognitionTask\": {\n \"Definition\": 1\n },\n \"TaskNotifyConfig\": {\n \"NotifyType\": \"abc\",\n \"NotifyMode\": \"abc\",\n \"NotifyUrl\": \"abc\",\n \"CmqModel\": \"abc\",\n \"CmqRegion\": \"abc\",\n \"TopicName\": \"abc\",\n \"QueueName\": \"abc\",\n \"AwsSQS\": {\n \"SQSRegion\": \"abc\",\n \"SQSQueueName\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n },\n \"NotifyKey\": \"abc\"\n },\n \"TaskPriority\": 0,\n \"OutputDir\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
|
604
|
-
"title": "Querying a Workflow"
|
|
639
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"WorkflowInfoSet\": [\n {\n \"WorkflowId\": 0,\n \"WorkflowName\": \"abc\",\n \"Status\": \"abc\",\n \"Trigger\": {\n \"Type\": \"abc\",\n \"CosFileUploadTrigger\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Dir\": \"abc\",\n \"Formats\": [\n \"abc\"\n ]\n },\n \"AwsS3FileUploadTrigger\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"Dir\": \"abc\",\n \"Formats\": [\n \"abc\"\n ],\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\",\n \"AwsSQS\": {\n \"SQSRegion\": \"abc\",\n \"SQSQueueName\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n },\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"MediaProcessTask\": {\n \"TranscodeTaskSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Container\": \"abc\",\n \"RemoveVideo\": 0,\n \"RemoveAudio\": 0,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"HlsTime\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n },\n \"StdExtInfo\": \"abc\",\n \"EnhanceConfig\": {\n \"VideoEnhance\": {\n \"FrameRate\": {\n \"Switch\": \"abc\",\n \"Fps\": 1\n },\n \"SuperResolution\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\",\n \"Size\": 0\n },\n \"Hdr\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"Denoise\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ImageQualityEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ColorEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"LowLightEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ScratchRepair\": {\n \"Switch\": \"abc\",\n \"Intensity\": 0\n },\n \"ArtifactRepair\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n }\n },\n \"AudioEnhance\": {\n \"Denoise\": {\n \"Switch\": \"abc\"\n },\n \"Separate\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\",\n \"Track\": \"abc\"\n },\n \"VolumeBalance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"Beautify\": {\n \"Switch\": \"abc\",\n \"Types\": [\n \"abc\"\n ]\n }\n }\n }\n },\n \"OverrideParameter\": {\n \"Container\": \"abc\",\n \"RemoveVideo\": 1,\n \"RemoveAudio\": 1,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"ContentAdaptStream\": 1,\n \"HlsTime\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0,\n \"StreamSelects\": [\n 0\n ]\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n },\n \"SubtitleTemplate\": {\n \"Path\": \"abc\",\n \"StreamIndex\": 0,\n \"FontType\": \"abc\",\n \"FontSize\": \"abc\",\n \"FontColor\": \"abc\",\n \"FontAlpha\": 0\n },\n \"AddonAudioStream\": [\n {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n ],\n \"StdExtInfo\": \"abc\",\n \"AddOnSubtitles\": [\n {\n \"Type\": \"abc\",\n \"Subtitle\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n }\n ]\n },\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"ImageContent\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"MosaicSet\": [\n {\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\",\n \"SegmentObjectName\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n },\n \"HeadTailParameter\": {}\n }\n ],\n \"AnimatedGraphicTaskSet\": [\n {\n \"Definition\": 1,\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\"\n }\n ],\n \"SnapshotByTimeOffsetTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"ExtTimeOffsetSet\": [\n \"abc\"\n ],\n \"TimeOffsetSet\": [\n 0\n ],\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputObjectPath\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n }\n }\n ],\n \"SampleSnapshotTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputObjectPath\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n }\n }\n ],\n \"ImageSpriteTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputObjectPath\": \"abc\",\n \"WebVttObjectName\": \"abc\"\n }\n ],\n \"AdaptiveDynamicStreamingTaskSet\": [\n {\n \"Definition\": 1,\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"ImageContent\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\",\n \"SubStreamObjectName\": \"abc\",\n \"SegmentObjectName\": \"abc\",\n \"AddOnSubtitles\": [\n {\n \"Type\": \"abc\"\n }\n ],\n \"DrmInfo\": {\n \"Type\": \"abc\",\n \"SimpleAesDrm\": {\n \"Uri\": \"abc\",\n \"Key\": \"abc\",\n \"Vector\": \"abc\"\n }\n },\n \"DefinitionType\": \"abc\"\n }\n ]\n },\n \"AiContentReviewTask\": {\n \"Definition\": 1\n },\n \"AiAnalysisTask\": {\n \"Definition\": 1,\n \"ExtendedParameter\": \"abc\"\n },\n \"AiRecognitionTask\": {\n \"Definition\": 1\n },\n \"TaskNotifyConfig\": {\n \"NotifyType\": \"abc\",\n \"NotifyMode\": \"abc\",\n \"NotifyUrl\": \"abc\",\n \"CmqModel\": \"abc\",\n \"CmqRegion\": \"abc\",\n \"TopicName\": \"abc\",\n \"QueueName\": \"abc\",\n \"AwsSQS\": {\n \"SQSRegion\": \"abc\",\n \"SQSQueueName\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n },\n \"NotifyKey\": \"abc\"\n },\n \"TaskPriority\": 0,\n \"OutputDir\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
|
|
640
|
+
"title": "Querying a Specific Workflow"
|
|
605
641
|
}
|
|
606
642
|
],
|
|
607
643
|
"DisableSchedule": [
|
|
@@ -822,6 +858,20 @@
|
|
|
822
858
|
"title": "Modifying Orchestration"
|
|
823
859
|
}
|
|
824
860
|
],
|
|
861
|
+
"ModifySmartEraseTemplate": [
|
|
862
|
+
{
|
|
863
|
+
"document": "This example shows you how to modify a subtitle erasing template and enable the OCR extraction and translation features.",
|
|
864
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySmartEraseTemplate\n<Common request parameters>\n\n{\n \"Definition\": 200410,\n \"EraseSubtitleConfig\": {\n \"SubtitleEraseMethod\": \"auto\",\n \"SubtitleModel\": \"standard\",\n \"OcrSwitch\": \"ON\",\n \"SubtitleLang\": \"zh_en\",\n \"SubtitleFormat\": \"vtt\",\n \"TransSwitch\": \"ON\",\n \"TransDstLang\": \"en\"\n }\n}",
|
|
865
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"84265f8e-43ec-4449-9521-b9332f64ee79\"\n }\n}",
|
|
866
|
+
"title": "Modifying a Subtitle Erasing Template and Enabling the Extraction Feature"
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
"document": "This example shows you how to modify a watermark erasing template and change the watermark erasing model to the Advanced Edition.",
|
|
870
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySmartEraseTemplate\n<Common request parameters>\n\n{\n \"Definition\": 200407,\n \"EraseWatermarkConfig\": {\n \"WatermarkEraseMethod\": \"auto\",\n \"WatermarkModel\": \"advanced\"\n }\n}",
|
|
871
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"e4d526f3-f1bb-4030-9f0d-00df485a7eae\"\n }\n}",
|
|
872
|
+
"title": "Modifying a Watermark Erasing Template and Changing the Model"
|
|
873
|
+
}
|
|
874
|
+
],
|
|
825
875
|
"ModifySmartSubtitleTemplate": [
|
|
826
876
|
{
|
|
827
877
|
"document": "",
|
|
@@ -879,8 +929,8 @@
|
|
|
879
929
|
"ParseNotification": [
|
|
880
930
|
{
|
|
881
931
|
"document": "This example shows you how to parse an event notification.",
|
|
882
|
-
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ParseNotification\n<Common request parameters>\n\n
|
|
883
|
-
"output": "{\n \"Response\": {\n \"EventType\": \"WorkflowTask\",\n \"WorkflowTaskEvent\": {\n \"TaskId\": \"1256768367-Procedure-475b7237438a39560b9879a4556cb177t1\",\n \"Status\": \"FINISH\",\n \"ErrCode\": 0,\n \"Message\": \"\",\n \"InputInfo\": {\n \"Type\": \"COS\",\n \"CosInputInfo\": {\n \"Bucket\": \"TopRankVideo-125xxx88\",\n \"Region\": \"ap-chongqing\",\n \"Object\": \"/movie/201907/WildAnimal.mov\"\n },\n \"UrlInputInfo\": null,\n \"S3InputInfo\": null\n },\n \"MetaData\": {\n \"AudioDuration\": 59.990001678467,\n \"AudioStreamSet\": [\n {\n \"Bitrate\": 383854,\n \"SamplingRate\": 48000,\n \"Codec\": \"aac\",\n \"Channel\": 0\n }\n ],\n \"Bitrate\": 1021028,\n \"Container\": \"mov,mp4,m4a,3gp,3g2,mj2\",\n \"Duration\": 60,\n \"Height\": 480,\n \"Rotate\": 0,\n \"Size\": 7700180,\n \"VideoDuration\": 60,\n \"VideoStreamSet\": [\n {\n \"Bitrate\": 637174,\n \"Codec\": \"h264\",\n \"Fps\": 23,\n \"Height\": 480,\n \"Width\": 640,\n \"ColorPrimaries\": \"
|
|
932
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ParseNotification\n<Common request parameters>\n\n{\n \"Content\": \"{\\\"EventType\\\":\\\"ProcedureStateChanged\\\",XXX\"\n}",
|
|
933
|
+
"output": "{\n \"Response\": {\n \"EventType\": \"WorkflowTask\",\n \"WorkflowTaskEvent\": {\n \"TaskId\": \"1256768367-Procedure-475b7237438a39560b9879a4556cb177t1\",\n \"Status\": \"FINISH\",\n \"ErrCode\": 0,\n \"Message\": \"\",\n \"InputInfo\": {\n \"Type\": \"COS\",\n \"CosInputInfo\": {\n \"Bucket\": \"TopRankVideo-125xxx88\",\n \"Region\": \"ap-chongqing\",\n \"Object\": \"/movie/201907/WildAnimal.mov\"\n },\n \"UrlInputInfo\": null,\n \"S3InputInfo\": null\n },\n \"MetaData\": {\n \"AudioDuration\": 59.990001678467,\n \"AudioStreamSet\": [\n {\n \"Bitrate\": 383854,\n \"SamplingRate\": 48000,\n \"Codec\": \"aac\",\n \"Channel\": 0\n }\n ],\n \"Bitrate\": 1021028,\n \"Container\": \"mov,mp4,m4a,3gp,3g2,mj2\",\n \"Duration\": 60,\n \"Height\": 480,\n \"Rotate\": 0,\n \"Size\": 7700180,\n \"VideoDuration\": 60,\n \"VideoStreamSet\": [\n {\n \"Bitrate\": 637174,\n \"Codec\": \"h264\",\n \"Fps\": 23,\n \"Height\": 480,\n \"Width\": 640,\n \"ColorPrimaries\": \"bt470bg\",\n \"ColorSpace\": \"gbr\",\n \"ColorTransfer\": \"bt709\",\n \"HdrType\": \"sdr\",\n \"Codecs\": \"avc1.ffe100\"\n }\n ],\n \"Width\": 640\n },\n \"MediaProcessResultSet\": [\n {\n \"Type\": \"Transcode\",\n \"TranscodeTask\": {\n \"Status\": \"SUCCESS\",\n \"ErrCodeExt\": \"SUCCESS\",\n \"ErrCode\": 0,\n \"Message\": \"SUCCESS\",\n \"Progress\": 0,\n \"Input\": {\n \"Definition\": 20,\n \"WatermarkSet\": null,\n \"OutputObjectPath\": \"\",\n \"RawParameter\": null,\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OverrideParameter\": null,\n \"ObjectNumberFormat\": null,\n \"OutputStorage\": null,\n \"SegmentObjectName\": \"\",\n \"HeadTailParameter\": null,\n \"MosaicSet\": []\n },\n \"Output\": {\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"test-123\",\n \"Region\": \"ap-nanjing\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"test-223\",\n \"S3Region\": \"us-east-1\",\n \"S3SecretId\": \"TEST**************K5W\",\n \"S3SecretKey\": \"testab****************0SS\"\n }\n },\n \"Path\": \"/movie/201907/WildAnimal_transcode_20.mp4\",\n \"Size\": 4189073,\n \"Container\": \"mov,mp4,m4a,3gp,3g2,mj2\",\n \"Height\": 480,\n \"Width\": 640,\n \"Bitrate\": 552218,\n \"Md5\": \"eff7031ad7877865f9a3240e9ab165ad\",\n \"Duration\": 60.04700088501,\n \"VideoStreamSet\": [\n {\n \"Bitrate\": 503727,\n \"Codec\": \"h264\",\n \"Fps\": 24,\n \"Height\": 480,\n \"Width\": 640,\n \"ColorPrimaries\": \"bt470bg\",\n \"ColorSpace\": \"gbr\",\n \"ColorTransfer\": \"bt709\",\n \"HdrType\": \"sdr\",\n \"Codecs\": \"avc1.ffe100\"\n }\n ],\n \"AudioStreamSet\": [\n {\n \"Bitrate\": 48491,\n \"Codec\": \"aac\",\n \"SamplingRate\": 44100,\n \"Channel\": 0\n }\n ],\n \"Definition\": 0\n }\n },\n \"AnimatedGraphicTask\": null,\n \"SnapshotByTimeOffsetTask\": null,\n \"SampleSnapshotTask\": null,\n \"ImageSpriteTask\": null,\n \"AdaptiveDynamicStreamingTask\": null\n }\n ],\n \"AiQualityControlTaskResult\": null,\n \"AiAnalysisResultSet\": [],\n \"AiRecognitionResultSet\": [],\n \"AiContentReviewResultSet\": []\n },\n \"RequestId\": \"335bdaa3-db0e-46ce-9946-51941d9cb0f5\",\n \"ScheduleTaskEvent\": null,\n \"EditMediaTaskEvent\": null,\n \"SessionId\": \"\",\n \"SessionContext\": \"\"\n }\n}",
|
|
884
934
|
"title": "Parsing an Event Notification"
|
|
885
935
|
}
|
|
886
936
|
],
|
tccli/services/msp/msp_client.py
CHANGED
|
@@ -27,7 +27,10 @@ def doListMigrationTask(args, parsed_globals):
|
|
|
27
27
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
28
28
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
29
29
|
)
|
|
30
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
30
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
31
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
32
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
33
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
31
34
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
32
35
|
else:
|
|
33
36
|
cred = credential.Credential(
|
|
@@ -79,7 +82,10 @@ def doRegisterMigrationTask(args, parsed_globals):
|
|
|
79
82
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
80
83
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
81
84
|
)
|
|
82
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
85
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
86
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
87
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
88
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
83
89
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
84
90
|
else:
|
|
85
91
|
cred = credential.Credential(
|
|
@@ -131,7 +137,10 @@ def doModifyMigrationTaskStatus(args, parsed_globals):
|
|
|
131
137
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
132
138
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
133
139
|
)
|
|
134
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
140
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
141
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
142
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
143
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
135
144
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
136
145
|
else:
|
|
137
146
|
cred = credential.Credential(
|
|
@@ -183,7 +192,10 @@ def doDeregisterMigrationTask(args, parsed_globals):
|
|
|
183
192
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
184
193
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
185
194
|
)
|
|
186
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
195
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
196
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
197
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
198
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
187
199
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
188
200
|
else:
|
|
189
201
|
cred = credential.Credential(
|
|
@@ -235,7 +247,10 @@ def doDescribeMigrationTask(args, parsed_globals):
|
|
|
235
247
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
236
248
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
237
249
|
)
|
|
238
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
250
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
251
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
252
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
253
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
239
254
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
240
255
|
else:
|
|
241
256
|
cred = credential.Credential(
|
|
@@ -287,7 +302,10 @@ def doModifyMigrationTaskBelongToProject(args, parsed_globals):
|
|
|
287
302
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
288
303
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
289
304
|
)
|
|
290
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
305
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
306
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
307
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
308
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
291
309
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
292
310
|
else:
|
|
293
311
|
cred = credential.Credential(
|
|
@@ -339,7 +357,10 @@ def doListMigrationProject(args, parsed_globals):
|
|
|
339
357
|
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
340
358
|
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
341
359
|
)
|
|
342
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION)
|
|
360
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
361
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
362
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
363
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
343
364
|
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
344
365
|
else:
|
|
345
366
|
cred = credential.Credential(
|