tccli 3.0.1361.1__py2.py3-none-any.whl → 3.0.1362.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/captcha/v20190722/api.json +2 -2
- tccli/services/cdwdoris/v20211228/api.json +9 -0
- tccli/services/cfg/v20210820/api.json +1 -1
- tccli/services/clb/v20180317/api.json +35 -6
- tccli/services/cvm/v20170312/api.json +1 -1
- tccli/services/ecdn/ecdn_client.py +0 -106
- tccli/services/ecdn/v20191012/api.json +0 -227
- tccli/services/ecdn/v20191012/examples.json +0 -16
- tccli/services/ims/v20201229/api.json +20 -20
- tccli/services/live/v20180801/api.json +2 -2
- tccli/services/live/v20180801/examples.json +2 -2
- tccli/services/lke/v20231130/api.json +16 -16
- tccli/services/mna/v20210119/api.json +1 -1
- tccli/services/mps/v20190612/api.json +67 -14
- tccli/services/mps/v20190612/examples.json +2 -2
- tccli/services/ocr/v20181119/api.json +30 -0
- tccli/services/postgres/v20170312/api.json +2 -2
- tccli/services/tione/v20211111/api.json +43 -43
- tccli/services/vod/v20180717/api.json +62 -0
- tccli/services/vod/v20180717/examples.json +8 -0
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/wsa/v20250508/api.json +3 -3
- {tccli-3.0.1361.1.dist-info → tccli-3.0.1362.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1361.1.dist-info → tccli-3.0.1362.1.dist-info}/RECORD +28 -28
- {tccli-3.0.1361.1.dist-info → tccli-3.0.1362.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1361.1.dist-info → tccli-3.0.1362.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1361.1.dist-info → tccli-3.0.1362.1.dist-info}/license_files/LICENSE +0 -0
@@ -6323,7 +6323,7 @@
|
|
6323
6323
|
"members": [
|
6324
6324
|
{
|
6325
6325
|
"disabled": false,
|
6326
|
-
"document": "参数模板ID。可通过[DescribeParameterTemplates](https://
|
6326
|
+
"document": "参数模板ID。可通过[DescribeParameterTemplates](https://cloud.tencent.com/document/api/409/84067)接口获取",
|
6327
6327
|
"example": "423984bb-97fe-5693-a74f-63cc8dfb6c5d",
|
6328
6328
|
"member": "string",
|
6329
6329
|
"name": "TemplateId",
|
@@ -6359,7 +6359,7 @@
|
|
6359
6359
|
{
|
6360
6360
|
"disabled": false,
|
6361
6361
|
"document": "参数模板包含的参数信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
6362
|
-
"example": "
|
6362
|
+
"example": "详见数据结构",
|
6363
6363
|
"member": "ParamInfo",
|
6364
6364
|
"name": "ParamInfoSet",
|
6365
6365
|
"output_required": true,
|
@@ -2625,7 +2625,7 @@
|
|
2625
2625
|
{
|
2626
2626
|
"disabled": false,
|
2627
2627
|
"document": "数据集名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
2628
|
-
"example": "
|
2628
|
+
"example": "name1",
|
2629
2629
|
"member": "string",
|
2630
2630
|
"name": "DatasetName",
|
2631
2631
|
"output_required": true,
|
@@ -2635,7 +2635,7 @@
|
|
2635
2635
|
{
|
2636
2636
|
"disabled": false,
|
2637
2637
|
"document": "创建者\n注意:此字段可能返回 null,表示取不到有效值。",
|
2638
|
-
"example": "
|
2638
|
+
"example": "user1",
|
2639
2639
|
"member": "string",
|
2640
2640
|
"name": "Creator",
|
2641
2641
|
"output_required": true,
|
@@ -2645,7 +2645,7 @@
|
|
2645
2645
|
{
|
2646
2646
|
"disabled": false,
|
2647
2647
|
"document": "数据集版本\n注意:此字段可能返回 null,表示取不到有效值。",
|
2648
|
-
"example": "
|
2648
|
+
"example": "v1",
|
2649
2649
|
"member": "string",
|
2650
2650
|
"name": "DatasetVersion",
|
2651
2651
|
"output_required": true,
|
@@ -2655,7 +2655,7 @@
|
|
2655
2655
|
{
|
2656
2656
|
"disabled": false,
|
2657
2657
|
"document": "数据集类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
2658
|
-
"example": "
|
2658
|
+
"example": "TYPE_DATASET_LLM",
|
2659
2659
|
"member": "string",
|
2660
2660
|
"name": "DatasetType",
|
2661
2661
|
"output_required": true,
|
@@ -2665,7 +2665,7 @@
|
|
2665
2665
|
{
|
2666
2666
|
"disabled": false,
|
2667
2667
|
"document": "数据集标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
2668
|
-
"example": "
|
2668
|
+
"example": "[{\"TagKey\":\"k1\",\"TagValue\":\"v1\"}]",
|
2669
2669
|
"member": "Tag",
|
2670
2670
|
"name": "DatasetTags",
|
2671
2671
|
"output_required": true,
|
@@ -2675,7 +2675,7 @@
|
|
2675
2675
|
{
|
2676
2676
|
"disabled": false,
|
2677
2677
|
"document": "数据集标注任务名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
2678
|
-
"example": "
|
2678
|
+
"example": "task1",
|
2679
2679
|
"member": "string",
|
2680
2680
|
"name": "DatasetAnnotationTaskName",
|
2681
2681
|
"output_required": true,
|
@@ -2685,7 +2685,7 @@
|
|
2685
2685
|
{
|
2686
2686
|
"disabled": false,
|
2687
2687
|
"document": "数据集标注任务ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
2688
|
-
"example": "
|
2688
|
+
"example": "ds-123",
|
2689
2689
|
"member": "string",
|
2690
2690
|
"name": "DatasetAnnotationTaskId",
|
2691
2691
|
"output_required": true,
|
@@ -2695,7 +2695,7 @@
|
|
2695
2695
|
{
|
2696
2696
|
"disabled": false,
|
2697
2697
|
"document": "处理进度\n注意:此字段可能返回 null,表示取不到有效值。",
|
2698
|
-
"example": "
|
2698
|
+
"example": "100",
|
2699
2699
|
"member": "uint64",
|
2700
2700
|
"name": "Process",
|
2701
2701
|
"output_required": true,
|
@@ -2705,7 +2705,7 @@
|
|
2705
2705
|
{
|
2706
2706
|
"disabled": false,
|
2707
2707
|
"document": "数据集状态\n注意:此字段可能返回 null,表示取不到有效值。",
|
2708
|
-
"example": "
|
2708
|
+
"example": "STATUS_DATASET_SUCCESS",
|
2709
2709
|
"member": "string",
|
2710
2710
|
"name": "DatasetStatus",
|
2711
2711
|
"output_required": true,
|
@@ -2715,7 +2715,7 @@
|
|
2715
2715
|
{
|
2716
2716
|
"disabled": false,
|
2717
2717
|
"document": "错误详情\n注意:此字段可能返回 null,表示取不到有效值。",
|
2718
|
-
"example": "
|
2718
|
+
"example": "msg1",
|
2719
2719
|
"member": "string",
|
2720
2720
|
"name": "ErrorMsg",
|
2721
2721
|
"output_required": true,
|
@@ -2725,7 +2725,7 @@
|
|
2725
2725
|
{
|
2726
2726
|
"disabled": false,
|
2727
2727
|
"document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
2728
|
-
"example": "
|
2728
|
+
"example": "2025-07-28 15:33:50",
|
2729
2729
|
"member": "string",
|
2730
2730
|
"name": "CreateTime",
|
2731
2731
|
"output_required": true,
|
@@ -2735,7 +2735,7 @@
|
|
2735
2735
|
{
|
2736
2736
|
"disabled": false,
|
2737
2737
|
"document": "更新时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
2738
|
-
"example": "
|
2738
|
+
"example": "2025-07-28 16:33:50",
|
2739
2739
|
"member": "string",
|
2740
2740
|
"name": "UpdateTime",
|
2741
2741
|
"output_required": true,
|
@@ -2745,7 +2745,7 @@
|
|
2745
2745
|
{
|
2746
2746
|
"disabled": false,
|
2747
2747
|
"document": "外部关联TASKType\n注意:此字段可能返回 null,表示取不到有效值。",
|
2748
|
-
"example": "
|
2748
|
+
"example": "type1",
|
2749
2749
|
"member": "string",
|
2750
2750
|
"name": "ExternalTaskType",
|
2751
2751
|
"output_required": true,
|
@@ -2755,7 +2755,7 @@
|
|
2755
2755
|
{
|
2756
2756
|
"disabled": false,
|
2757
2757
|
"document": "数据集大小\n注意:此字段可能返回 null,表示取不到有效值。",
|
2758
|
-
"example": "
|
2758
|
+
"example": "1024",
|
2759
2759
|
"member": "string",
|
2760
2760
|
"name": "DatasetSize",
|
2761
2761
|
"output_required": true,
|
@@ -2765,7 +2765,7 @@
|
|
2765
2765
|
{
|
2766
2766
|
"disabled": false,
|
2767
2767
|
"document": "数据集数据量\n注意:此字段可能返回 null,表示取不到有效值。",
|
2768
|
-
"example": "
|
2768
|
+
"example": "12",
|
2769
2769
|
"member": "uint64",
|
2770
2770
|
"name": "FileNum",
|
2771
2771
|
"output_required": true,
|
@@ -2775,7 +2775,7 @@
|
|
2775
2775
|
{
|
2776
2776
|
"disabled": false,
|
2777
2777
|
"document": "数据集源COS路径\n注意:此字段可能返回 null,表示取不到有效值。",
|
2778
|
-
"example": "
|
2778
|
+
"example": "{\"Path\":\"a1\"}",
|
2779
2779
|
"member": "CosPathInfo",
|
2780
2780
|
"name": "StorageDataPath",
|
2781
2781
|
"output_required": true,
|
@@ -2785,7 +2785,7 @@
|
|
2785
2785
|
{
|
2786
2786
|
"disabled": false,
|
2787
2787
|
"document": "数据集标签存储路径\n注意:此字段可能返回 null,表示取不到有效值。",
|
2788
|
-
"example": "
|
2788
|
+
"example": "{\"Path\":\"a1\"}",
|
2789
2789
|
"member": "CosPathInfo",
|
2790
2790
|
"name": "StorageLabelPath",
|
2791
2791
|
"output_required": true,
|
@@ -2795,7 +2795,7 @@
|
|
2795
2795
|
{
|
2796
2796
|
"disabled": false,
|
2797
2797
|
"document": "数据集版本聚合详情\n注意:此字段可能返回 null,表示取不到有效值。",
|
2798
|
-
"example": "
|
2798
|
+
"example": "{\"DatasetVersion\":\"v1\"}",
|
2799
2799
|
"member": "DatasetInfo",
|
2800
2800
|
"name": "DatasetVersions",
|
2801
2801
|
"output_required": true,
|
@@ -2805,7 +2805,7 @@
|
|
2805
2805
|
{
|
2806
2806
|
"disabled": false,
|
2807
2807
|
"document": "数据集标注状态\n注意:此字段可能返回 null,表示取不到有效值。",
|
2808
|
-
"example": "
|
2808
|
+
"example": "STATUS_NON_ANNOTATED",
|
2809
2809
|
"member": "string",
|
2810
2810
|
"name": "AnnotationStatus",
|
2811
2811
|
"output_required": true,
|
@@ -2815,7 +2815,7 @@
|
|
2815
2815
|
{
|
2816
2816
|
"disabled": false,
|
2817
2817
|
"document": "数据集类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
2818
|
-
"example": "
|
2818
|
+
"example": "ANNOTATION_TYPE_LLM",
|
2819
2819
|
"member": "string",
|
2820
2820
|
"name": "AnnotationType",
|
2821
2821
|
"output_required": true,
|
@@ -2825,7 +2825,7 @@
|
|
2825
2825
|
{
|
2826
2826
|
"disabled": false,
|
2827
2827
|
"document": "数据集标注格式\n注意:此字段可能返回 null,表示取不到有效值。",
|
2828
|
-
"example": "
|
2828
|
+
"example": "format1",
|
2829
2829
|
"member": "string",
|
2830
2830
|
"name": "AnnotationFormat",
|
2831
2831
|
"output_required": true,
|
@@ -2875,7 +2875,7 @@
|
|
2875
2875
|
{
|
2876
2876
|
"disabled": false,
|
2877
2877
|
"document": "数据集建模类别。\n注意:此字段可能返回 null,表示取不到有效值。",
|
2878
|
-
"example": "
|
2878
|
+
"example": "test1",
|
2879
2879
|
"member": "string",
|
2880
2880
|
"name": "DatasetScene",
|
2881
2881
|
"output_required": false,
|
@@ -2885,7 +2885,7 @@
|
|
2885
2885
|
{
|
2886
2886
|
"disabled": false,
|
2887
2887
|
"document": "CFS配置\n注意:此字段可能返回 null,表示取不到有效值。",
|
2888
|
-
"example": "
|
2888
|
+
"example": "test1",
|
2889
2889
|
"member": "CFSConfig",
|
2890
2890
|
"name": "CFSConfig",
|
2891
2891
|
"output_required": false,
|
@@ -2895,7 +2895,7 @@
|
|
2895
2895
|
{
|
2896
2896
|
"disabled": false,
|
2897
2897
|
"document": "数据集标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
2898
|
-
"example": "
|
2898
|
+
"example": "test1",
|
2899
2899
|
"member": "string",
|
2900
2900
|
"name": "SceneTags",
|
2901
2901
|
"output_required": false,
|
@@ -2905,7 +2905,7 @@
|
|
2905
2905
|
{
|
2906
2906
|
"disabled": false,
|
2907
2907
|
"document": "已标注数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
2908
|
-
"example": "
|
2908
|
+
"example": "test1",
|
2909
2909
|
"member": "uint64",
|
2910
2910
|
"name": "NumAnnotated",
|
2911
2911
|
"output_required": false,
|
@@ -2915,7 +2915,7 @@
|
|
2915
2915
|
{
|
2916
2916
|
"disabled": false,
|
2917
2917
|
"document": "标注规范\n注意:此字段可能返回 null,表示取不到有效值。",
|
2918
|
-
"example": "
|
2918
|
+
"example": "test1",
|
2919
2919
|
"member": "string",
|
2920
2920
|
"name": "AnnotationSpecification",
|
2921
2921
|
"output_required": false,
|
@@ -2925,7 +2925,7 @@
|
|
2925
2925
|
{
|
2926
2926
|
"disabled": false,
|
2927
2927
|
"document": "标注Schema是否配置\n注意:此字段可能返回 null,表示取不到有效值。",
|
2928
|
-
"example": "
|
2928
|
+
"example": "test1",
|
2929
2929
|
"member": "bool",
|
2930
2930
|
"name": "AnnotationSchemaConfigured",
|
2931
2931
|
"output_required": false,
|
@@ -2935,7 +2935,7 @@
|
|
2935
2935
|
{
|
2936
2936
|
"disabled": false,
|
2937
2937
|
"document": "创建者名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
2938
|
-
"example": "
|
2938
|
+
"example": "test1",
|
2939
2939
|
"member": "string",
|
2940
2940
|
"name": "CreatorNickname",
|
2941
2941
|
"output_required": false,
|
@@ -3061,7 +3061,7 @@
|
|
3061
3061
|
{
|
3062
3062
|
"disabled": false,
|
3063
3063
|
"document": "错误详情\n注意:此字段可能返回 null,表示取不到有效值。",
|
3064
|
-
"example": "
|
3064
|
+
"example": "msg1",
|
3065
3065
|
"member": "string",
|
3066
3066
|
"name": "ErrorMsg",
|
3067
3067
|
"output_required": true,
|
@@ -3091,7 +3091,7 @@
|
|
3091
3091
|
{
|
3092
3092
|
"disabled": false,
|
3093
3093
|
"document": "外部任务类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
3094
|
-
"example": "
|
3094
|
+
"example": "type1",
|
3095
3095
|
"member": "string",
|
3096
3096
|
"name": "ExternalTaskType",
|
3097
3097
|
"output_required": true,
|
@@ -3121,7 +3121,7 @@
|
|
3121
3121
|
{
|
3122
3122
|
"disabled": false,
|
3123
3123
|
"document": "数据集源cos 路径\n注意:此字段可能返回 null,表示取不到有效值。",
|
3124
|
-
"example": "
|
3124
|
+
"example": "{\"Path\":\"a1\"}",
|
3125
3125
|
"member": "CosPathInfo",
|
3126
3126
|
"name": "StorageDataPath",
|
3127
3127
|
"output_required": true,
|
@@ -3131,7 +3131,7 @@
|
|
3131
3131
|
{
|
3132
3132
|
"disabled": false,
|
3133
3133
|
"document": "数据集输出cos路径\n注意:此字段可能返回 null,表示取不到有效值。",
|
3134
|
-
"example": "
|
3134
|
+
"example": "{\"Path\":\"a1\"}",
|
3135
3135
|
"member": "CosPathInfo",
|
3136
3136
|
"name": "StorageLabelPath",
|
3137
3137
|
"output_required": true,
|
@@ -3141,7 +3141,7 @@
|
|
3141
3141
|
{
|
3142
3142
|
"disabled": false,
|
3143
3143
|
"document": "数据集标注状态\n注意:此字段可能返回 null,表示取不到有效值。",
|
3144
|
-
"example": "
|
3144
|
+
"example": "STATUS_NON_ANNOTATED",
|
3145
3145
|
"member": "string",
|
3146
3146
|
"name": "AnnotationStatus",
|
3147
3147
|
"output_required": true,
|
@@ -3151,7 +3151,7 @@
|
|
3151
3151
|
{
|
3152
3152
|
"disabled": false,
|
3153
3153
|
"document": "数据集类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
3154
|
-
"example": "
|
3154
|
+
"example": "ANNOTATION_TYPE_LLM",
|
3155
3155
|
"member": "string",
|
3156
3156
|
"name": "AnnotationType",
|
3157
3157
|
"output_required": true,
|
@@ -3161,7 +3161,7 @@
|
|
3161
3161
|
{
|
3162
3162
|
"disabled": false,
|
3163
3163
|
"document": "数据集标注格式\n注意:此字段可能返回 null,表示取不到有效值。",
|
3164
|
-
"example": "
|
3164
|
+
"example": "format1",
|
3165
3165
|
"member": "string",
|
3166
3166
|
"name": "AnnotationFormat",
|
3167
3167
|
"output_required": true,
|
@@ -3201,7 +3201,7 @@
|
|
3201
3201
|
{
|
3202
3202
|
"disabled": false,
|
3203
3203
|
"document": "内容类型\n注意:此字段可能返回 null,表示取不到有效值。",
|
3204
|
-
"example": "
|
3204
|
+
"example": "type1",
|
3205
3205
|
"member": "string",
|
3206
3206
|
"name": "ContentType",
|
3207
3207
|
"output_required": false,
|
@@ -3211,7 +3211,7 @@
|
|
3211
3211
|
{
|
3212
3212
|
"disabled": false,
|
3213
3213
|
"document": "数据集建模类别。\n注意:此字段可能返回 null,表示取不到有效值。",
|
3214
|
-
"example": "
|
3214
|
+
"example": "LLM",
|
3215
3215
|
"member": "string",
|
3216
3216
|
"name": "DatasetScene",
|
3217
3217
|
"output_required": false,
|
@@ -3221,7 +3221,7 @@
|
|
3221
3221
|
{
|
3222
3222
|
"disabled": false,
|
3223
3223
|
"document": "CFS配置\n注意:此字段可能返回 null,表示取不到有效值。",
|
3224
|
-
"example": "
|
3224
|
+
"example": "{\"Path\":\"a1\"}",
|
3225
3225
|
"member": "CFSConfig",
|
3226
3226
|
"name": "CFSConfig",
|
3227
3227
|
"output_required": false,
|
@@ -3231,7 +3231,7 @@
|
|
3231
3231
|
{
|
3232
3232
|
"disabled": false,
|
3233
3233
|
"document": "数据集标签\n注意:此字段可能返回 null,表示取不到有效值。",
|
3234
|
-
"example": "
|
3234
|
+
"example": "[\"tag1\"]",
|
3235
3235
|
"member": "string",
|
3236
3236
|
"name": "SceneTags",
|
3237
3237
|
"output_required": false,
|
@@ -3241,7 +3241,7 @@
|
|
3241
3241
|
{
|
3242
3242
|
"disabled": false,
|
3243
3243
|
"document": "已标注数量\n注意:此字段可能返回 null,表示取不到有效值。",
|
3244
|
-
"example": "
|
3244
|
+
"example": "1",
|
3245
3245
|
"member": "uint64",
|
3246
3246
|
"name": "NumAnnotated",
|
3247
3247
|
"output_required": false,
|
@@ -3251,7 +3251,7 @@
|
|
3251
3251
|
{
|
3252
3252
|
"disabled": false,
|
3253
3253
|
"document": "标注规范\n注意:此字段可能返回 null,表示取不到有效值。",
|
3254
|
-
"example": "
|
3254
|
+
"example": "doc1",
|
3255
3255
|
"member": "string",
|
3256
3256
|
"name": "AnnotationSpecification",
|
3257
3257
|
"output_required": false,
|
@@ -3261,7 +3261,7 @@
|
|
3261
3261
|
{
|
3262
3262
|
"disabled": false,
|
3263
3263
|
"document": "标注Schema是否配置\n注意:此字段可能返回 null,表示取不到有效值。",
|
3264
|
-
"example": "
|
3264
|
+
"example": "false",
|
3265
3265
|
"member": "bool",
|
3266
3266
|
"name": "AnnotationSchemaConfigured",
|
3267
3267
|
"output_required": false,
|
@@ -3271,7 +3271,7 @@
|
|
3271
3271
|
{
|
3272
3272
|
"disabled": false,
|
3273
3273
|
"document": "创建者名称\n注意:此字段可能返回 null,表示取不到有效值。",
|
3274
|
-
"example": "
|
3274
|
+
"example": "name1",
|
3275
3275
|
"member": "string",
|
3276
3276
|
"name": "CreatorNickname",
|
3277
3277
|
"output_required": false,
|
@@ -1120,6 +1120,13 @@
|
|
1120
1120
|
"output": "ProcessMediaResponse",
|
1121
1121
|
"status": "online"
|
1122
1122
|
},
|
1123
|
+
"ProcessMediaByMPS": {
|
1124
|
+
"document": "使用媒体处理服务(MPS)的媒体处理能力,对点播中的视频发起媒体处理,任务发起时需将 MPS 相关参数以 JSON 格式填入 MPSProcessMediaParams 参数中。具体任务参数配置请参考[媒体处理 ProcessMedia 接口](https://cloud.tencent.com/document/api/862/37578)。\n当前支持的 MPS 功能:\n1. [智能擦除](https://cloud.tencent.com/document/product/862/101530):能够对视频画面中的 Logo、字幕、人脸和车牌等元素进行模糊、马赛克或无痕化处理,从而便于内容的传播和分享。该任务产生的新视频将生成新的 FileId 存储在点播平台的子应用中。\n\n> 以该种方式发起的视频处理任务:\n> 1. 任务状态及结果的查询仍在点播平台中完成,使用 [DescribeTaskDetail](https://cloud.tencent.com/document/product/266/33431) 或 [DescribeTasks](https://cloud.tencent.com/document/product/266/33430) 查询任务。\n> 2. 相关功能的用量及账单将在 MPS 平台给出,因此在使用该功能前,首先需要开通 MPS 服务。\n> 3. 该功能目前仍在内测中,如需测试体验,您可以联系我们获得支持。",
|
1125
|
+
"input": "ProcessMediaByMPSRequest",
|
1126
|
+
"name": "使用 MPS 进行视频处理",
|
1127
|
+
"output": "ProcessMediaByMPSResponse",
|
1128
|
+
"status": "online"
|
1129
|
+
},
|
1123
1130
|
"ProcessMediaByProcedure": {
|
1124
1131
|
"document": "使用任务流模板,对点播中的视频发起处理任务。\n有两种方式创建任务流模板:\n1. 在控制台上创建和修改任务流模板;\n2. 通过任务流模板接口创建任务流模板。\n\n如使用事件通知,除音视频审核任务外的事件通知的类型为 [任务流状态变更](https://cloud.tencent.com/document/product/266/9636);音视频审核任务事件通知的类型为 [音视频审核完成](https://cloud.tencent.com/document/product/266/81258)。",
|
1125
1132
|
"input": "ProcessMediaByProcedureRequest",
|
@@ -29751,6 +29758,61 @@
|
|
29751
29758
|
],
|
29752
29759
|
"usage": "out"
|
29753
29760
|
},
|
29761
|
+
"ProcessMediaByMPSRequest": {
|
29762
|
+
"document": "ProcessMediaByMPS请求参数结构体",
|
29763
|
+
"members": [
|
29764
|
+
{
|
29765
|
+
"disabled": false,
|
29766
|
+
"document": "媒体文件 ID,即该文件在云点播上的全局唯一标识符,在上传成功后由云点播后台分配。可以在 [视频上传完成事件通知](/document/product/266/7830) 或 [云点播控制台](https://console.cloud.tencent.com/vod/media) 获取该字段。",
|
29767
|
+
"example": "5285485487985271487",
|
29768
|
+
"member": "string",
|
29769
|
+
"name": "FileId",
|
29770
|
+
"required": true,
|
29771
|
+
"type": "string"
|
29772
|
+
},
|
29773
|
+
{
|
29774
|
+
"disabled": false,
|
29775
|
+
"document": "<b>点播[应用](/document/product/266/14574) ID。</b>",
|
29776
|
+
"example": "1500000001",
|
29777
|
+
"member": "uint64",
|
29778
|
+
"name": "SubAppId",
|
29779
|
+
"required": true,
|
29780
|
+
"type": "int"
|
29781
|
+
},
|
29782
|
+
{
|
29783
|
+
"disabled": false,
|
29784
|
+
"document": "该参数用于透传至媒体处理服务(MPS),以便从云点播侧发起 MPS 视频处理任务。\n视频处理参数详情请参考:[MPS 发起媒体处理](https://cloud.tencent.com/document/api/862/37578)。\n填写说明:\n1. 目前仅需要配置 MPS “发起媒体处理”接口中的 AiAnalysisTask 参数,其他参数无需填写,若包含其它参数,系统将自动忽略;\n2. 当前仅支持通过此方式发起智能擦除任务。若配置了其他任务类型的相关参数,系统将自动忽略这些参数。\n",
|
29785
|
+
"example": "{\\\"AiAnalysisTask\\\":{\\\"Definition\\\":25,\\\"ExtendedParameter\\\":\\\"\\\"}}",
|
29786
|
+
"member": "string",
|
29787
|
+
"name": "MPSProcessMediaParams",
|
29788
|
+
"required": true,
|
29789
|
+
"type": "string"
|
29790
|
+
}
|
29791
|
+
],
|
29792
|
+
"type": "object"
|
29793
|
+
},
|
29794
|
+
"ProcessMediaByMPSResponse": {
|
29795
|
+
"document": "ProcessMediaByMPS返回参数结构体",
|
29796
|
+
"members": [
|
29797
|
+
{
|
29798
|
+
"disabled": false,
|
29799
|
+
"document": "任务 ID。",
|
29800
|
+
"example": "125xxx65-procedurev2-bffb15f07530b57bc1aabb01fac74bca",
|
29801
|
+
"member": "string",
|
29802
|
+
"name": "TaskId",
|
29803
|
+
"output_required": true,
|
29804
|
+
"type": "string",
|
29805
|
+
"value_allowed_null": false
|
29806
|
+
},
|
29807
|
+
{
|
29808
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
29809
|
+
"member": "string",
|
29810
|
+
"name": "RequestId",
|
29811
|
+
"type": "string"
|
29812
|
+
}
|
29813
|
+
],
|
29814
|
+
"type": "object"
|
29815
|
+
},
|
29754
29816
|
"ProcessMediaByProcedureRequest": {
|
29755
29817
|
"document": "ProcessMediaByProcedure请求参数结构体",
|
29756
29818
|
"members": [
|
@@ -1670,6 +1670,14 @@
|
|
1670
1670
|
"title": "发起转码和采样截图任务"
|
1671
1671
|
}
|
1672
1672
|
],
|
1673
|
+
"ProcessMediaByMPS": [
|
1674
|
+
{
|
1675
|
+
"document": "对 fileId 为 5285485487985271487 的视频发起智能擦除任务。",
|
1676
|
+
"input": "POST / HTTP/1.1\nHost: vod.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ProcessMediaByMPS\n<公共请求参数>\n\n{\n \"FileId\": \"5285485487985271487\",\n \"SubAppId\": 1500000001,\n \"MPSProcessMediaParams\": \"{\\\"AiAnalysisTask\\\": {\\\"Definition\\\":25,\\\"ExtendedParameter\\\":\\\"{\\\\\\\"delogo\\\\\\\":{\\\\\\\"cluster_id\\\\\\\":\\\\\\\"gpu_zhiyan\\\\\\\",\\\\\\\"CustomerAppId\\\\\\\":\\\\\\\"subtitle_erase_fast\\\\\\\"}}\\\"}}\"\n}",
|
1677
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6ca31e3a-6b8e-4b4e-9256-fdc700064ef3\",\n \"TaskId\": \"125xxx65-ProcessMediaByMPS-bffb15f07530b57bc1aab01fac74bca\"\n }\n}",
|
1678
|
+
"title": "发起智能擦除任务"
|
1679
|
+
}
|
1680
|
+
],
|
1673
1681
|
"ProcessMediaByProcedure": [
|
1674
1682
|
{
|
1675
1683
|
"document": "对 fileId 为 5285485487985271487 的发起任务,使用的任务流模板名为 TranscodeAndSnapshot。",
|
tccli/services/vod/vod_client.py
CHANGED
@@ -5167,6 +5167,58 @@ def doDescribeImageReviewUsageData(args, parsed_globals):
|
|
5167
5167
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5168
5168
|
|
5169
5169
|
|
5170
|
+
def doProcessMediaByMPS(args, parsed_globals):
|
5171
|
+
g_param = parse_global_arg(parsed_globals)
|
5172
|
+
|
5173
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5174
|
+
cred = credential.CVMRoleCredential()
|
5175
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5176
|
+
cred = credential.STSAssumeRoleCredential(
|
5177
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5178
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5179
|
+
)
|
5180
|
+
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):
|
5181
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5182
|
+
else:
|
5183
|
+
cred = credential.Credential(
|
5184
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5185
|
+
)
|
5186
|
+
http_profile = HttpProfile(
|
5187
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5188
|
+
reqMethod="POST",
|
5189
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5190
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5191
|
+
)
|
5192
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5193
|
+
if g_param[OptionsDefine.Language]:
|
5194
|
+
profile.language = g_param[OptionsDefine.Language]
|
5195
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5196
|
+
client = mod.VodClient(cred, g_param[OptionsDefine.Region], profile)
|
5197
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5198
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5199
|
+
model = models.ProcessMediaByMPSRequest()
|
5200
|
+
model.from_json_string(json.dumps(args))
|
5201
|
+
start_time = time.time()
|
5202
|
+
while True:
|
5203
|
+
rsp = client.ProcessMediaByMPS(model)
|
5204
|
+
result = rsp.to_json_string()
|
5205
|
+
try:
|
5206
|
+
json_obj = json.loads(result)
|
5207
|
+
except TypeError as e:
|
5208
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5209
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5210
|
+
break
|
5211
|
+
cur_time = time.time()
|
5212
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5213
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5214
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5215
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5216
|
+
else:
|
5217
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5218
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5219
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5220
|
+
|
5221
|
+
|
5170
5222
|
def doModifyVodDomainConfig(args, parsed_globals):
|
5171
5223
|
g_param = parse_global_arg(parsed_globals)
|
5172
5224
|
|
@@ -9907,6 +9959,7 @@ ACTION_MAP = {
|
|
9907
9959
|
"ModifyQualityInspectTemplate": doModifyQualityInspectTemplate,
|
9908
9960
|
"VerifyDomainRecord": doVerifyDomainRecord,
|
9909
9961
|
"DescribeImageReviewUsageData": doDescribeImageReviewUsageData,
|
9962
|
+
"ProcessMediaByMPS": doProcessMediaByMPS,
|
9910
9963
|
"ModifyVodDomainConfig": doModifyVodDomainConfig,
|
9911
9964
|
"CreateIncrementalMigrationStrategy": doCreateIncrementalMigrationStrategy,
|
9912
9965
|
"DescribeSnapshotByTimeOffsetTemplates": doDescribeSnapshotByTimeOffsetTemplates,
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"actions": {
|
3
3
|
"SearchPro": {
|
4
|
-
"document": "联网搜索API,以json
|
4
|
+
"document": "联网搜索API,以json形式向客户提供搜索结果数据,包含标题、摘要、内容来源url等信息",
|
5
5
|
"input": "SearchProRequest",
|
6
6
|
"name": "联网搜索API",
|
7
7
|
"output": "SearchProResponse",
|
@@ -82,7 +82,7 @@
|
|
82
82
|
{
|
83
83
|
"disabled": false,
|
84
84
|
"document": "搜索结果页面",
|
85
|
-
"example": "
|
85
|
+
"example": "[\"{\\\"passage\\\":\\\"aaa\\\"}\", \"{\\\"passage\\\":\\\"bbb\\\"}\"]",
|
86
86
|
"member": "string",
|
87
87
|
"name": "Pages",
|
88
88
|
"output_required": false,
|
@@ -92,7 +92,7 @@
|
|
92
92
|
{
|
93
93
|
"disabled": false,
|
94
94
|
"document": "提示信息",
|
95
|
-
"example": "
|
95
|
+
"example": "hit black query",
|
96
96
|
"member": "string",
|
97
97
|
"name": "Msg",
|
98
98
|
"output_required": false,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: tccli
|
3
|
-
Version: 3.0.
|
3
|
+
Version: 3.0.1362.1
|
4
4
|
Summary: Universal Command Line Environment for Tencent Cloud
|
5
5
|
Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
|
6
6
|
Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
|
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
13
13
|
Classifier: Programming Language :: Python :: 3
|
14
14
|
Requires-Dist: jmespath==0.10.0
|
15
15
|
Requires-Dist: six==1.16.0
|
16
|
-
Requires-Dist: tencentcloud-sdk-python>=3.0.
|
16
|
+
Requires-Dist: tencentcloud-sdk-python>=3.0.1362
|
17
17
|
Description-Content-Type: text/markdown
|
18
18
|
|
19
19
|
# 命令行工具简介
|