tccli 3.0.1144.1__py2.py3-none-any.whl → 3.0.1146.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/asr/v20190614/api.json +2 -2
- tccli/services/cdb/cdb_client.py +167 -8
- tccli/services/cdb/v20170320/api.json +158 -2
- tccli/services/cdb/v20170320/examples.json +24 -0
- tccli/services/ckafka/v20190819/api.json +1 -1
- tccli/services/ckafka/v20190819/examples.json +2 -2
- tccli/services/dbdc/v20201029/api.json +14 -12
- tccli/services/dbdc/v20201029/examples.json +1 -1
- tccli/services/dlc/v20210125/api.json +52 -2
- tccli/services/emr/v20190103/api.json +5 -5
- tccli/services/es/es_client.py +61 -8
- tccli/services/es/v20180416/api.json +96 -2
- tccli/services/es/v20180416/examples.json +11 -3
- tccli/services/ess/v20201111/api.json +9 -0
- tccli/services/essbasic/v20210526/api.json +24 -15
- tccli/services/iotexplorer/v20190423/api.json +11 -0
- tccli/services/iotvideo/v20211125/api.json +11 -0
- tccli/services/lke/v20231130/api.json +11 -1
- tccli/services/mps/mps_client.py +228 -16
- tccli/services/mps/v20190612/api.json +494 -1
- tccli/services/mps/v20190612/examples.json +32 -0
- tccli/services/ocr/v20181119/api.json +9 -0
- tccli/services/smpn/smpn_client.py +0 -159
- tccli/services/smpn/v20190822/api.json +4 -316
- tccli/services/smpn/v20190822/examples.json +0 -24
- tccli/services/tke/v20180525/api.json +3 -0
- tccli/services/trtc/v20190722/api.json +13 -4
- tccli/services/tsi/v20210325/api.json +2 -2
- tccli/services/tts/v20190823/api.json +1 -1
- {tccli-3.0.1144.1.dist-info → tccli-3.0.1146.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1144.1.dist-info → tccli-3.0.1146.1.dist-info}/RECORD +35 -35
- {tccli-3.0.1144.1.dist-info → tccli-3.0.1146.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1144.1.dist-info → tccli-3.0.1146.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1144.1.dist-info → tccli-3.0.1146.1.dist-info}/license_files/LICENSE +0 -0
@@ -122,6 +122,14 @@
|
|
122
122
|
"title": "创建素材样本"
|
123
123
|
}
|
124
124
|
],
|
125
|
+
"CreateQualityControlTemplate": [
|
126
|
+
{
|
127
|
+
"document": "",
|
128
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateQualityControlTemplate\n<公共请求参数>\n\n{\n \"Name\": \"example\",\n \"Comment\": \"\",\n \"QualityControlItemSet\": [\n {\n \"Type\": \"LowEvaluation\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"Mosaic\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"CrashScreen\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"Blur\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"BlackWhiteEdge\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"LowLighting\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HighLighting\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"NoVoice\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"LowVoice\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HighVoice\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"VideoResolutionChanged\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"AudioSampleRateChanged\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"AudioChannelsChanged\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"ParameterSetsChanged\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"DarOrSarInvalid\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"TimestampFallback\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"DtsJitter\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"PtsJitter\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"AACDurationDeviation\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"AudioDroppingFrames\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"VideoDroppingFrames\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"AVTimestampInterleave\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"PtsLessThanDts\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"ReceiveFpsJitter\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"ReceiveFpsTooSmall\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"FpsJitter\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"StreamOpenFailed\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"StreamEnd\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"StreamParseFailed\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"VideoFirstFrameNotIdr\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"StreamNALUError\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"TsStreamNoAud\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"AudioStreamLack\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"VideoStreamLack\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"LackAudioRecover\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"LackVideoRecover\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"VideoBitrateOutofRange\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"AudioBitrateOutofRange\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"VideoDecodeFailed\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"AudioDecodeFailed\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"AudioOutOfPhase\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"VideoDuplicatedFrame\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"AudioDuplicatedFrame\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"VideoRotation\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"TsMultiPrograms\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"Mp4InvalidCodecFourcc\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HLSBadM3u8Format\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HLSInvalidMasterM3u8\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HLSInvalidMediaM3u8\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HLSMasterM3u8Recommended\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HLSMediaM3u8Recommended\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HLSMediaM3u8DiscontinuityExist\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HLSMediaSegmentsStreamNumChange\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HLSMediaSegmentsPTSJitterDeviation\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"HLSMediaSegmentsDTSJitterDeviation\",\n \"Switch\": \"OFF\"\n },\n {\n \"Type\": \"TimecodeTrackExist\",\n \"Switch\": \"OFF\"\n }\n ]\n}",
|
129
|
+
"output": "{\n \"Response\": {\n \"Definition\": 200090,\n \"RequestId\": \"7bb44c6c-92d0-4dad-99cf-88f569c6d3ad\"\n }\n}",
|
130
|
+
"title": "创建媒体质检模板"
|
131
|
+
}
|
132
|
+
],
|
125
133
|
"CreateSampleSnapshotTemplate": [
|
126
134
|
{
|
127
135
|
"document": "",
|
@@ -284,6 +292,14 @@
|
|
284
292
|
"title": "删除素材样本"
|
285
293
|
}
|
286
294
|
],
|
295
|
+
"DeleteQualityControlTemplate": [
|
296
|
+
{
|
297
|
+
"document": "",
|
298
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteQualityControlTemplate\n<公共请求参数>\n\n{\n \"Definition\": \"200090\"\n}",
|
299
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"877e2749-5bde-407c-8d01-b9ad30b5c702\"\n }\n}",
|
300
|
+
"title": "删除媒体质检模板"
|
301
|
+
}
|
302
|
+
],
|
287
303
|
"DeleteSampleSnapshotTemplate": [
|
288
304
|
{
|
289
305
|
"document": "",
|
@@ -446,6 +462,14 @@
|
|
446
462
|
"title": "获取素材样本列表"
|
447
463
|
}
|
448
464
|
],
|
465
|
+
"DescribeQualityControlTemplates": [
|
466
|
+
{
|
467
|
+
"document": "",
|
468
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeQualityControlTemplates\n<公共请求参数>\n\n{\n \"Offset\": 0,\n \"Limit\": 10,\n \"Definitions\": [\n 200058\n ]\n}",
|
469
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"QualityControlTemplateSet\": [\n {\n \"Definition\": 200058,\n \"Name\": \"0529\",\n \"Comment\": \"\",\n \"Type\": \"Custom\",\n \"QualityControlItemSet\": [\n {\n \"Type\": \"LowEvaluation\",\n \"Switch\": \"ON\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"Mosaic\",\n \"Switch\": \"ON\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"CrashScreen\",\n \"Switch\": \"ON\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"Blur\",\n \"Switch\": \"ON\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"BlackWhiteEdge\",\n \"Switch\": \"ON\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"LowLighting\",\n \"Switch\": \"ON\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HighLighting\",\n \"Switch\": \"ON\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"NoVoice\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"LowVoice\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HighVoice\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"VideoResolutionChanged\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"AudioSampleRateChanged\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"AudioChannelsChanged\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"ParameterSetsChanged\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"DarOrSarInvalid\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"TimestampFallback\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"DtsJitter\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"PtsJitter\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"AACDurationDeviation\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"AudioDroppingFrames\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"VideoDroppingFrames\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"AVTimestampInterleave\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"PtsLessThanDts\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"ReceiveFpsJitter\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"ReceiveFpsTooSmall\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"FpsJitter\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"StreamOpenFailed\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"StreamEnd\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"StreamParseFailed\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"VideoFirstFrameNotIdr\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"StreamNALUError\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"TsStreamNoAud\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"AudioStreamLack\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"VideoStreamLack\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"LackAudioRecover\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"LackVideoRecover\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"VideoBitrateOutofRange\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"AudioBitrateOutofRange\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"VideoDecodeFailed\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"AudioDecodeFailed\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"AudioOutOfPhase\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"VideoDuplicatedFrame\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"AudioDuplicatedFrame\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"VideoRotation\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"TsMultiPrograms\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"Mp4InvalidCodecFourcc\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HLSBadM3u8Format\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HLSInvalidMasterM3u8\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HLSInvalidMediaM3u8\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HLSMasterM3u8Recommended\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HLSMediaM3u8Recommended\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HLSMediaM3u8DiscontinuityExist\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HLSMediaSegmentsStreamNumChange\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HLSMediaSegmentsPTSJitterDeviation\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"HLSMediaSegmentsDTSJitterDeviation\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"TimecodeTrackExist\",\n \"Switch\": \"OFF\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 0,\n \"Threshold\": \"\"\n },\n {\n \"Type\": \"VideoFreezedFrame\",\n \"Switch\": \"ON\",\n \"Sampling\": \"\",\n \"IntervalTime\": 0,\n \"Duration\": 1000,\n \"Threshold\": \"0.001\"\n }\n ],\n \"CreateTime\": \"2024-05-29T03:01:54Z\",\n \"UpdateTime\": \"2024-05-29T03:01:54Z\"\n }\n ],\n \"RequestId\": \"76d831ad-105e-48eb-90dd-00deaa00b52a\"\n }\n}",
|
470
|
+
"title": "查询媒体质检模板列表"
|
471
|
+
}
|
472
|
+
],
|
449
473
|
"DescribeSampleSnapshotTemplates": [
|
450
474
|
{
|
451
475
|
"document": "",
|
@@ -786,6 +810,14 @@
|
|
786
810
|
"title": "修改素材样本-delete"
|
787
811
|
}
|
788
812
|
],
|
813
|
+
"ModifyQualityControlTemplate": [
|
814
|
+
{
|
815
|
+
"document": "",
|
816
|
+
"input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyQualityControlTemplate\n<公共请求参数>\n\n{\n \"Definition\": 200090,\n \"Name\": \"example2\",\n \"Comment\": \"\",\n \"QualityControlItemSet\": [\n {\n \"Type\": \"LowEvaluation\",\n \"Switch\": \"OFF\",\n \"Threshold\": \"60\",\n \"Duration\": 0,\n \"IntervalTime\": 1000\n },\n {\n \"Type\": \"Mosaic\",\n \"Switch\": \"OFF\",\n \"Duration\": 0,\n \"IntervalTime\": 0\n },\n {\n \"Type\": \"CrashScreen\",\n \"Switch\": \"OFF\",\n \"Duration\": 0,\n \"IntervalTime\": 0\n },\n {\n \"Type\": \"Blur\",\n \"Switch\": \"OFF\",\n \"Duration\": 0,\n \"IntervalTime\": 0\n },\n {\n \"Type\": \"BlackWhiteEdge\",\n \"Switch\": \"OFF\",\n \"Duration\": 0,\n \"IntervalTime\": 0\n },\n {\n \"Type\": \"LowLighting\",\n \"Switch\": \"OFF\",\n \"Duration\": 0,\n \"IntervalTime\": 0\n },\n {\n \"Type\": \"HighLighting\",\n \"Switch\": \"OFF\",\n \"Duration\": 0,\n \"IntervalTime\": 0\n },\n {\n \"Type\": \"NoVoice\",\n \"Switch\": \"OFF\",\n \"Duration\": 0,\n \"IntervalTime\": 0\n },\n {\n \"Type\": \"LowVoice\",\n \"Switch\": \"OFF\",\n \"Duration\": 0,\n \"IntervalTime\": 0\n },\n {\n \"Type\": \"HighVoice\",\n \"Switch\": \"OFF\",\n \"Duration\": 0,\n \"IntervalTime\": 0\n },\n {\n \"Type\": \"VideoResolutionChanged\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"AudioSampleRateChanged\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"AudioChannelsChanged\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"ParameterSetsChanged\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"DarOrSarInvalid\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"TimestampFallback\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"DtsJitter\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"PtsJitter\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"AACDurationDeviation\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"AudioDroppingFrames\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"VideoDroppingFrames\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"AVTimestampInterleave\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"PtsLessThanDts\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"ReceiveFpsJitter\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"ReceiveFpsTooSmall\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"FpsJitter\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"StreamOpenFailed\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"StreamEnd\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"StreamParseFailed\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"VideoFirstFrameNotIdr\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"StreamNALUError\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"TsStreamNoAud\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"AudioStreamLack\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"VideoStreamLack\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"LackAudioRecover\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"LackVideoRecover\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"VideoBitrateOutofRange\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"AudioBitrateOutofRange\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"VideoDecodeFailed\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"AudioDecodeFailed\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"AudioOutOfPhase\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"VideoDuplicatedFrame\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"AudioDuplicatedFrame\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"VideoRotation\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"TsMultiPrograms\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"Mp4InvalidCodecFourcc\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"HLSBadM3u8Format\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"HLSInvalidMasterM3u8\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"HLSInvalidMediaM3u8\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"HLSMasterM3u8Recommended\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"HLSMediaM3u8Recommended\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"HLSMediaM3u8DiscontinuityExist\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"HLSMediaSegmentsStreamNumChange\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"HLSMediaSegmentsPTSJitterDeviation\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"HLSMediaSegmentsDTSJitterDeviation\",\n \"Switch\": \"ON\"\n },\n {\n \"Type\": \"TimecodeTrackExist\",\n \"Switch\": \"ON\"\n }\n ]\n}",
|
817
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"7c43b64a-8f21-4c2e-ab6e-a490ee5c439d\"\n }\n}",
|
818
|
+
"title": "修改媒体质检模板"
|
819
|
+
}
|
820
|
+
],
|
789
821
|
"ModifySampleSnapshotTemplate": [
|
790
822
|
{
|
791
823
|
"document": "",
|
@@ -20851,6 +20851,15 @@
|
|
20851
20851
|
"name": "OfdFileBase64",
|
20852
20852
|
"required": false,
|
20853
20853
|
"type": "string"
|
20854
|
+
},
|
20855
|
+
{
|
20856
|
+
"disabled": false,
|
20857
|
+
"document": "需要识别的OFD发票页面的对应页码,默认值为1。 示例值:1",
|
20858
|
+
"example": "1",
|
20859
|
+
"member": "int64",
|
20860
|
+
"name": "OfdPageNumber",
|
20861
|
+
"required": false,
|
20862
|
+
"type": "int"
|
20854
20863
|
}
|
20855
20864
|
],
|
20856
20865
|
"type": "object"
|
@@ -17,58 +17,6 @@ from tencentcloud.smpn.v20190822 import models as models_v20190822
|
|
17
17
|
from jmespath import search
|
18
18
|
import time
|
19
19
|
|
20
|
-
def doDescribeSmpnMhm(args, parsed_globals):
|
21
|
-
g_param = parse_global_arg(parsed_globals)
|
22
|
-
|
23
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
24
|
-
cred = credential.CVMRoleCredential()
|
25
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
26
|
-
cred = credential.STSAssumeRoleCredential(
|
27
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
28
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
29
|
-
)
|
30
|
-
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
31
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
32
|
-
else:
|
33
|
-
cred = credential.Credential(
|
34
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
35
|
-
)
|
36
|
-
http_profile = HttpProfile(
|
37
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
38
|
-
reqMethod="POST",
|
39
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
40
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
41
|
-
)
|
42
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
43
|
-
if g_param[OptionsDefine.Language]:
|
44
|
-
profile.language = g_param[OptionsDefine.Language]
|
45
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
46
|
-
client = mod.SmpnClient(cred, g_param[OptionsDefine.Region], profile)
|
47
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
48
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
49
|
-
model = models.DescribeSmpnMhmRequest()
|
50
|
-
model.from_json_string(json.dumps(args))
|
51
|
-
start_time = time.time()
|
52
|
-
while True:
|
53
|
-
rsp = client.DescribeSmpnMhm(model)
|
54
|
-
result = rsp.to_json_string()
|
55
|
-
try:
|
56
|
-
json_obj = json.loads(result)
|
57
|
-
except TypeError as e:
|
58
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
59
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
60
|
-
break
|
61
|
-
cur_time = time.time()
|
62
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
63
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
64
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
65
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
66
|
-
else:
|
67
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
68
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
69
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
70
|
-
|
71
|
-
|
72
20
|
def doDescribeSmpnFnr(args, parsed_globals):
|
73
21
|
g_param = parse_global_arg(parsed_globals)
|
74
22
|
|
@@ -121,58 +69,6 @@ def doDescribeSmpnFnr(args, parsed_globals):
|
|
121
69
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
122
70
|
|
123
71
|
|
124
|
-
def doCreateSmpnEpa(args, parsed_globals):
|
125
|
-
g_param = parse_global_arg(parsed_globals)
|
126
|
-
|
127
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
128
|
-
cred = credential.CVMRoleCredential()
|
129
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
130
|
-
cred = credential.STSAssumeRoleCredential(
|
131
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
132
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
133
|
-
)
|
134
|
-
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):
|
135
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
136
|
-
else:
|
137
|
-
cred = credential.Credential(
|
138
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
139
|
-
)
|
140
|
-
http_profile = HttpProfile(
|
141
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
142
|
-
reqMethod="POST",
|
143
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
144
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
145
|
-
)
|
146
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
147
|
-
if g_param[OptionsDefine.Language]:
|
148
|
-
profile.language = g_param[OptionsDefine.Language]
|
149
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
150
|
-
client = mod.SmpnClient(cred, g_param[OptionsDefine.Region], profile)
|
151
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
152
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
153
|
-
model = models.CreateSmpnEpaRequest()
|
154
|
-
model.from_json_string(json.dumps(args))
|
155
|
-
start_time = time.time()
|
156
|
-
while True:
|
157
|
-
rsp = client.CreateSmpnEpa(model)
|
158
|
-
result = rsp.to_json_string()
|
159
|
-
try:
|
160
|
-
json_obj = json.loads(result)
|
161
|
-
except TypeError as e:
|
162
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
163
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
164
|
-
break
|
165
|
-
cur_time = time.time()
|
166
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
167
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
168
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
169
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
170
|
-
else:
|
171
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
172
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
173
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
174
|
-
|
175
|
-
|
176
72
|
def doDescribeSmpnChp(args, parsed_globals):
|
177
73
|
g_param = parse_global_arg(parsed_globals)
|
178
74
|
|
@@ -225,58 +121,6 @@ def doDescribeSmpnChp(args, parsed_globals):
|
|
225
121
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
226
122
|
|
227
123
|
|
228
|
-
def doDescribeSmpnMrl(args, parsed_globals):
|
229
|
-
g_param = parse_global_arg(parsed_globals)
|
230
|
-
|
231
|
-
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
232
|
-
cred = credential.CVMRoleCredential()
|
233
|
-
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
234
|
-
cred = credential.STSAssumeRoleCredential(
|
235
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
236
|
-
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
237
|
-
)
|
238
|
-
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):
|
239
|
-
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
240
|
-
else:
|
241
|
-
cred = credential.Credential(
|
242
|
-
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
243
|
-
)
|
244
|
-
http_profile = HttpProfile(
|
245
|
-
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
246
|
-
reqMethod="POST",
|
247
|
-
endpoint=g_param[OptionsDefine.Endpoint],
|
248
|
-
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
249
|
-
)
|
250
|
-
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
251
|
-
if g_param[OptionsDefine.Language]:
|
252
|
-
profile.language = g_param[OptionsDefine.Language]
|
253
|
-
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
254
|
-
client = mod.SmpnClient(cred, g_param[OptionsDefine.Region], profile)
|
255
|
-
client._sdkVersion += ("_CLI_" + __version__)
|
256
|
-
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
257
|
-
model = models.DescribeSmpnMrlRequest()
|
258
|
-
model.from_json_string(json.dumps(args))
|
259
|
-
start_time = time.time()
|
260
|
-
while True:
|
261
|
-
rsp = client.DescribeSmpnMrl(model)
|
262
|
-
result = rsp.to_json_string()
|
263
|
-
try:
|
264
|
-
json_obj = json.loads(result)
|
265
|
-
except TypeError as e:
|
266
|
-
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
267
|
-
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
268
|
-
break
|
269
|
-
cur_time = time.time()
|
270
|
-
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
271
|
-
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
272
|
-
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
273
|
-
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
274
|
-
else:
|
275
|
-
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
276
|
-
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
277
|
-
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
278
|
-
|
279
|
-
|
280
124
|
CLIENT_MAP = {
|
281
125
|
"v20190822": smpn_client_v20190822,
|
282
126
|
|
@@ -288,11 +132,8 @@ MODELS_MAP = {
|
|
288
132
|
}
|
289
133
|
|
290
134
|
ACTION_MAP = {
|
291
|
-
"DescribeSmpnMhm": doDescribeSmpnMhm,
|
292
135
|
"DescribeSmpnFnr": doDescribeSmpnFnr,
|
293
|
-
"CreateSmpnEpa": doCreateSmpnEpa,
|
294
136
|
"DescribeSmpnChp": doDescribeSmpnChp,
|
295
|
-
"DescribeSmpnMrl": doDescribeSmpnMrl,
|
296
137
|
|
297
138
|
}
|
298
139
|
|