tccli-intl-en 3.1.8.1__py2.py3-none-any.whl → 3.1.13.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 +6 -0
- tccli/services/ai3d/__init__.py +4 -0
- tccli/services/ai3d/ai3d_client.py +266 -0
- tccli/services/ai3d/v20250513/api.json +264 -0
- tccli/services/ai3d/v20250513/examples.json +20 -0
- tccli/services/cvm/v20170312/api.json +3 -3
- tccli/services/cvm/v20170312/examples.json +31 -31
- tccli/services/faceid/v20180301/api.json +2 -2
- tccli/services/hunyuan/__init__.py +4 -0
- tccli/services/hunyuan/hunyuan_client.py +266 -0
- tccli/services/hunyuan/v20230901/api.json +270 -0
- tccli/services/hunyuan/v20230901/examples.json +20 -0
- tccli/services/mdl/mdl_client.py +192 -24
- tccli/services/mdl/v20200326/api.json +418 -5
- tccli/services/mdl/v20200326/examples.json +24 -0
- tccli/services/monitor/v20180724/api.json +3 -3
- tccli/services/mps/mps_client.py +56 -0
- tccli/services/mps/v20190612/api.json +208 -9
- tccli/services/mps/v20190612/examples.json +36 -22
- tccli/services/teo/teo_client.py +225 -57
- tccli/services/teo/v20220901/api.json +251 -7
- tccli/services/teo/v20220901/examples.json +36 -0
- {tccli_intl_en-3.1.8.1.dist-info → tccli_intl_en-3.1.13.1.dist-info}/METADATA +2 -2
- {tccli_intl_en-3.1.8.1.dist-info → tccli_intl_en-3.1.13.1.dist-info}/RECORD +29 -21
- {tccli_intl_en-3.1.8.1.dist-info → tccli_intl_en-3.1.13.1.dist-info}/LICENSE +0 -0
- {tccli_intl_en-3.1.8.1.dist-info → tccli_intl_en-3.1.13.1.dist-info}/WHEEL +0 -0
- {tccli_intl_en-3.1.8.1.dist-info → tccli_intl_en-3.1.13.1.dist-info}/entry_points.txt +0 -0
- {tccli_intl_en-3.1.8.1.dist-info → tccli_intl_en-3.1.13.1.dist-info}/top_level.txt +0 -0
|
@@ -35,6 +35,13 @@
|
|
|
35
35
|
"output": "CreateStreamLiveWatermarkResponse",
|
|
36
36
|
"status": "online"
|
|
37
37
|
},
|
|
38
|
+
"CreateWatermarkDetection": {
|
|
39
|
+
"document": "Create a watermark detection task",
|
|
40
|
+
"input": "CreateWatermarkDetectionRequest",
|
|
41
|
+
"name": "Create a watermark detection task",
|
|
42
|
+
"output": "CreateWatermarkDetectionResponse",
|
|
43
|
+
"status": "online"
|
|
44
|
+
},
|
|
38
45
|
"DeleteStreamLiveChannel": {
|
|
39
46
|
"document": "This API is used to delete a StreamLive channel.",
|
|
40
47
|
"input": "DeleteStreamLiveChannelRequest",
|
|
@@ -175,6 +182,20 @@
|
|
|
175
182
|
"output": "DescribeStreamLiveWatermarksResponse",
|
|
176
183
|
"status": "online"
|
|
177
184
|
},
|
|
185
|
+
"DescribeWatermarkDetection": {
|
|
186
|
+
"document": "Describe watermark detection task",
|
|
187
|
+
"input": "DescribeWatermarkDetectionRequest",
|
|
188
|
+
"name": "Describe watermark detection task",
|
|
189
|
+
"output": "DescribeWatermarkDetectionResponse",
|
|
190
|
+
"status": "online"
|
|
191
|
+
},
|
|
192
|
+
"DescribeWatermarkDetections": {
|
|
193
|
+
"document": "Batch Describe watermark detection task",
|
|
194
|
+
"input": "DescribeWatermarkDetectionsRequest",
|
|
195
|
+
"name": "Batch Describe watermark detection task",
|
|
196
|
+
"output": "DescribeWatermarkDetectionsResponse",
|
|
197
|
+
"status": "online"
|
|
198
|
+
},
|
|
178
199
|
"GetAbWatermarkPlayUrl": {
|
|
179
200
|
"document": "Get AB watermark play url.",
|
|
180
201
|
"input": "GetAbWatermarkPlayUrlRequest",
|
|
@@ -629,6 +650,161 @@
|
|
|
629
650
|
],
|
|
630
651
|
"usage": "both"
|
|
631
652
|
},
|
|
653
|
+
"AbWatermarkDetectionInfo": {
|
|
654
|
+
"document": "AbWatermarkDetectionInfo",
|
|
655
|
+
"members": [
|
|
656
|
+
{
|
|
657
|
+
"disabled": false,
|
|
658
|
+
"document": "",
|
|
659
|
+
"example": "6936947D1D3EC9A2432F",
|
|
660
|
+
"member": "string",
|
|
661
|
+
"name": "TaskId",
|
|
662
|
+
"output_required": false,
|
|
663
|
+
"required": false,
|
|
664
|
+
"type": "string",
|
|
665
|
+
"value_allowed_null": false
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"disabled": false,
|
|
669
|
+
"document": "",
|
|
670
|
+
"example": "ExtractVideoABWatermarkId",
|
|
671
|
+
"member": "string",
|
|
672
|
+
"name": "Type",
|
|
673
|
+
"output_required": false,
|
|
674
|
+
"required": false,
|
|
675
|
+
"type": "string",
|
|
676
|
+
"value_allowed_null": false
|
|
677
|
+
},
|
|
678
|
+
{
|
|
679
|
+
"disabled": false,
|
|
680
|
+
"document": "",
|
|
681
|
+
"example": "Completed",
|
|
682
|
+
"member": "string",
|
|
683
|
+
"name": "State",
|
|
684
|
+
"output_required": false,
|
|
685
|
+
"required": false,
|
|
686
|
+
"type": "string",
|
|
687
|
+
"value_allowed_null": false
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"disabled": false,
|
|
691
|
+
"document": "",
|
|
692
|
+
"example": "123789852",
|
|
693
|
+
"member": "string",
|
|
694
|
+
"name": "Result",
|
|
695
|
+
"output_required": false,
|
|
696
|
+
"required": false,
|
|
697
|
+
"type": "string",
|
|
698
|
+
"value_allowed_null": false
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"disabled": false,
|
|
702
|
+
"document": "",
|
|
703
|
+
"example": "1001",
|
|
704
|
+
"member": "int64",
|
|
705
|
+
"name": "ErrorCode",
|
|
706
|
+
"output_required": false,
|
|
707
|
+
"required": false,
|
|
708
|
+
"type": "int",
|
|
709
|
+
"value_allowed_null": false
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"disabled": false,
|
|
713
|
+
"document": "",
|
|
714
|
+
"example": "input file size exceed limit",
|
|
715
|
+
"member": "string",
|
|
716
|
+
"name": "ErrorMsg",
|
|
717
|
+
"output_required": false,
|
|
718
|
+
"required": false,
|
|
719
|
+
"type": "string",
|
|
720
|
+
"value_allowed_null": false
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"disabled": false,
|
|
724
|
+
"document": "",
|
|
725
|
+
"example": "无",
|
|
726
|
+
"member": "AbWatermarkInputInfo",
|
|
727
|
+
"name": "InputInfo",
|
|
728
|
+
"output_required": false,
|
|
729
|
+
"required": false,
|
|
730
|
+
"type": "object",
|
|
731
|
+
"value_allowed_null": false
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"disabled": false,
|
|
735
|
+
"document": "",
|
|
736
|
+
"example": "无",
|
|
737
|
+
"member": "TaskNotifyConfig",
|
|
738
|
+
"name": "TaskNotifyConfig",
|
|
739
|
+
"output_required": false,
|
|
740
|
+
"required": false,
|
|
741
|
+
"type": "object",
|
|
742
|
+
"value_allowed_null": true
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"disabled": false,
|
|
746
|
+
"document": "",
|
|
747
|
+
"example": "1765184637",
|
|
748
|
+
"member": "int64",
|
|
749
|
+
"name": "CreateTime",
|
|
750
|
+
"output_required": false,
|
|
751
|
+
"required": false,
|
|
752
|
+
"type": "int",
|
|
753
|
+
"value_allowed_null": false
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"disabled": false,
|
|
757
|
+
"document": "",
|
|
758
|
+
"example": "1765184637",
|
|
759
|
+
"member": "int64",
|
|
760
|
+
"name": "UpdateTime",
|
|
761
|
+
"output_required": false,
|
|
762
|
+
"required": false,
|
|
763
|
+
"type": "int",
|
|
764
|
+
"value_allowed_null": false
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"disabled": false,
|
|
768
|
+
"document": "",
|
|
769
|
+
"example": "无",
|
|
770
|
+
"member": "InputFileInfo",
|
|
771
|
+
"name": "InputFileInfo",
|
|
772
|
+
"output_required": false,
|
|
773
|
+
"required": false,
|
|
774
|
+
"type": "object",
|
|
775
|
+
"value_allowed_null": false
|
|
776
|
+
}
|
|
777
|
+
],
|
|
778
|
+
"usage": "both"
|
|
779
|
+
},
|
|
780
|
+
"AbWatermarkInputInfo": {
|
|
781
|
+
"document": "InputInfo",
|
|
782
|
+
"members": [
|
|
783
|
+
{
|
|
784
|
+
"disabled": false,
|
|
785
|
+
"document": "",
|
|
786
|
+
"example": "URL",
|
|
787
|
+
"member": "string",
|
|
788
|
+
"name": "Type",
|
|
789
|
+
"output_required": false,
|
|
790
|
+
"required": false,
|
|
791
|
+
"type": "string",
|
|
792
|
+
"value_allowed_null": false
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"disabled": false,
|
|
796
|
+
"document": "",
|
|
797
|
+
"example": "无",
|
|
798
|
+
"member": "UrlInputInfo",
|
|
799
|
+
"name": "UrlInputInfo",
|
|
800
|
+
"output_required": false,
|
|
801
|
+
"required": false,
|
|
802
|
+
"type": "object",
|
|
803
|
+
"value_allowed_null": false
|
|
804
|
+
}
|
|
805
|
+
],
|
|
806
|
+
"usage": "both"
|
|
807
|
+
},
|
|
632
808
|
"AbWatermarkSettingsReq": {
|
|
633
809
|
"document": "",
|
|
634
810
|
"members": [
|
|
@@ -1219,20 +1395,20 @@
|
|
|
1219
1395
|
{
|
|
1220
1396
|
"disabled": false,
|
|
1221
1397
|
"document": "Alarm details of pipeline 0 under this channel.",
|
|
1222
|
-
"example": "",
|
|
1398
|
+
"example": "无",
|
|
1223
1399
|
"member": "ChannelPipelineAlerts",
|
|
1224
1400
|
"name": "Pipeline0",
|
|
1225
|
-
"
|
|
1401
|
+
"output_required": true,
|
|
1226
1402
|
"type": "list",
|
|
1227
1403
|
"value_allowed_null": false
|
|
1228
1404
|
},
|
|
1229
1405
|
{
|
|
1230
1406
|
"disabled": false,
|
|
1231
1407
|
"document": "Alarm details of pipeline 1 under this channel.",
|
|
1232
|
-
"example": "",
|
|
1408
|
+
"example": "无",
|
|
1233
1409
|
"member": "ChannelPipelineAlerts",
|
|
1234
1410
|
"name": "Pipeline1",
|
|
1235
|
-
"
|
|
1411
|
+
"output_required": true,
|
|
1236
1412
|
"type": "list",
|
|
1237
1413
|
"value_allowed_null": false
|
|
1238
1414
|
}
|
|
@@ -1960,6 +2136,70 @@
|
|
|
1960
2136
|
],
|
|
1961
2137
|
"usage": "in"
|
|
1962
2138
|
},
|
|
2139
|
+
"CreateWatermarkDetectionRequest": {
|
|
2140
|
+
"document": "CreateWatermarkDetection request structure.",
|
|
2141
|
+
"members": [
|
|
2142
|
+
{
|
|
2143
|
+
"disabled": false,
|
|
2144
|
+
"document": "Task type, currently supports ExtractVideoABWatermarkId",
|
|
2145
|
+
"example": "ExtractVideoABWatermarkId",
|
|
2146
|
+
"member": "string",
|
|
2147
|
+
"name": "Type",
|
|
2148
|
+
"required": true,
|
|
2149
|
+
"type": "string"
|
|
2150
|
+
},
|
|
2151
|
+
{
|
|
2152
|
+
"disabled": false,
|
|
2153
|
+
"document": "Input information",
|
|
2154
|
+
"example": "无",
|
|
2155
|
+
"member": "AbWatermarkInputInfo",
|
|
2156
|
+
"name": "InputInfo",
|
|
2157
|
+
"required": true,
|
|
2158
|
+
"type": "object"
|
|
2159
|
+
},
|
|
2160
|
+
{
|
|
2161
|
+
"disabled": false,
|
|
2162
|
+
"document": "Input file information",
|
|
2163
|
+
"example": "无",
|
|
2164
|
+
"member": "InputFileInfo",
|
|
2165
|
+
"name": "InputFileInfo",
|
|
2166
|
+
"required": true,
|
|
2167
|
+
"type": "object"
|
|
2168
|
+
},
|
|
2169
|
+
{
|
|
2170
|
+
"disabled": false,
|
|
2171
|
+
"document": "Input notification configuration",
|
|
2172
|
+
"example": "无",
|
|
2173
|
+
"member": "TaskNotifyConfig",
|
|
2174
|
+
"name": "TaskNotifyConfig",
|
|
2175
|
+
"required": false,
|
|
2176
|
+
"type": "object"
|
|
2177
|
+
}
|
|
2178
|
+
],
|
|
2179
|
+
"type": "object"
|
|
2180
|
+
},
|
|
2181
|
+
"CreateWatermarkDetectionResponse": {
|
|
2182
|
+
"document": "CreateWatermarkDetection response structure.",
|
|
2183
|
+
"members": [
|
|
2184
|
+
{
|
|
2185
|
+
"disabled": false,
|
|
2186
|
+
"document": "Task ID",
|
|
2187
|
+
"example": "69310B251D3EC914C024",
|
|
2188
|
+
"member": "string",
|
|
2189
|
+
"name": "TaskId",
|
|
2190
|
+
"output_required": false,
|
|
2191
|
+
"type": "string",
|
|
2192
|
+
"value_allowed_null": false
|
|
2193
|
+
},
|
|
2194
|
+
{
|
|
2195
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
2196
|
+
"member": "string",
|
|
2197
|
+
"name": "RequestId",
|
|
2198
|
+
"type": "string"
|
|
2199
|
+
}
|
|
2200
|
+
],
|
|
2201
|
+
"type": "object"
|
|
2202
|
+
},
|
|
1963
2203
|
"DashRemuxSettingsInfo": {
|
|
1964
2204
|
"document": "DASH configuration information.",
|
|
1965
2205
|
"members": [
|
|
@@ -2463,7 +2703,7 @@
|
|
|
2463
2703
|
"example": "无",
|
|
2464
2704
|
"member": "ChannelOutputsStatistics",
|
|
2465
2705
|
"name": "Infos",
|
|
2466
|
-
"
|
|
2706
|
+
"output_required": true,
|
|
2467
2707
|
"type": "list",
|
|
2468
2708
|
"value_allowed_null": false
|
|
2469
2709
|
},
|
|
@@ -3071,6 +3311,117 @@
|
|
|
3071
3311
|
],
|
|
3072
3312
|
"usage": "out"
|
|
3073
3313
|
},
|
|
3314
|
+
"DescribeWatermarkDetectionRequest": {
|
|
3315
|
+
"document": "DescribeWatermarkDetection request structure.",
|
|
3316
|
+
"members": [
|
|
3317
|
+
{
|
|
3318
|
+
"disabled": false,
|
|
3319
|
+
"document": "Task Id",
|
|
3320
|
+
"example": "69310B251D3EC914C024",
|
|
3321
|
+
"member": "string",
|
|
3322
|
+
"name": "TaskId",
|
|
3323
|
+
"required": true,
|
|
3324
|
+
"type": "string"
|
|
3325
|
+
}
|
|
3326
|
+
],
|
|
3327
|
+
"type": "object"
|
|
3328
|
+
},
|
|
3329
|
+
"DescribeWatermarkDetectionResponse": {
|
|
3330
|
+
"document": "DescribeWatermarkDetection response structure.",
|
|
3331
|
+
"members": [
|
|
3332
|
+
{
|
|
3333
|
+
"disabled": false,
|
|
3334
|
+
"document": "Detecting task related information",
|
|
3335
|
+
"example": "无",
|
|
3336
|
+
"member": "AbWatermarkDetectionInfo",
|
|
3337
|
+
"name": "TaskInfo",
|
|
3338
|
+
"output_required": false,
|
|
3339
|
+
"type": "object",
|
|
3340
|
+
"value_allowed_null": false
|
|
3341
|
+
},
|
|
3342
|
+
{
|
|
3343
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
3344
|
+
"member": "string",
|
|
3345
|
+
"name": "RequestId",
|
|
3346
|
+
"type": "string"
|
|
3347
|
+
}
|
|
3348
|
+
],
|
|
3349
|
+
"type": "object"
|
|
3350
|
+
},
|
|
3351
|
+
"DescribeWatermarkDetectionsRequest": {
|
|
3352
|
+
"document": "DescribeWatermarkDetections request structure.",
|
|
3353
|
+
"members": [
|
|
3354
|
+
{
|
|
3355
|
+
"disabled": false,
|
|
3356
|
+
"document": "Start time, 2022-12-04T16:50:00+08:00",
|
|
3357
|
+
"example": "2025-12-04T16:50:00+08:00",
|
|
3358
|
+
"member": "string",
|
|
3359
|
+
"name": "StartTime",
|
|
3360
|
+
"required": false,
|
|
3361
|
+
"type": "string"
|
|
3362
|
+
},
|
|
3363
|
+
{
|
|
3364
|
+
"disabled": false,
|
|
3365
|
+
"document": "End time, 2022-12-04T17:50:00+08:00, maximum supported query range of 7 days",
|
|
3366
|
+
"example": "2025-12-08T14:20:00+08:00",
|
|
3367
|
+
"member": "string",
|
|
3368
|
+
"name": "EndTime",
|
|
3369
|
+
"required": false,
|
|
3370
|
+
"type": "string"
|
|
3371
|
+
},
|
|
3372
|
+
{
|
|
3373
|
+
"disabled": false,
|
|
3374
|
+
"document": "Number of pages queried",
|
|
3375
|
+
"example": "0",
|
|
3376
|
+
"member": "int64",
|
|
3377
|
+
"name": "PageNum",
|
|
3378
|
+
"required": false,
|
|
3379
|
+
"type": "int"
|
|
3380
|
+
},
|
|
3381
|
+
{
|
|
3382
|
+
"disabled": false,
|
|
3383
|
+
"document": "Single page quantity, 1-100",
|
|
3384
|
+
"example": "100",
|
|
3385
|
+
"member": "int64",
|
|
3386
|
+
"name": "PageSize",
|
|
3387
|
+
"required": false,
|
|
3388
|
+
"type": "int"
|
|
3389
|
+
}
|
|
3390
|
+
],
|
|
3391
|
+
"type": "object"
|
|
3392
|
+
},
|
|
3393
|
+
"DescribeWatermarkDetectionsResponse": {
|
|
3394
|
+
"document": "DescribeWatermarkDetections response structure.",
|
|
3395
|
+
"members": [
|
|
3396
|
+
{
|
|
3397
|
+
"disabled": false,
|
|
3398
|
+
"document": "Watermark detection information",
|
|
3399
|
+
"example": "无",
|
|
3400
|
+
"member": "AbWatermarkDetectionInfo",
|
|
3401
|
+
"name": "TaskInfos",
|
|
3402
|
+
"output_required": false,
|
|
3403
|
+
"type": "list",
|
|
3404
|
+
"value_allowed_null": false
|
|
3405
|
+
},
|
|
3406
|
+
{
|
|
3407
|
+
"disabled": false,
|
|
3408
|
+
"document": "number of tasks",
|
|
3409
|
+
"example": "32",
|
|
3410
|
+
"member": "int64",
|
|
3411
|
+
"name": "TotalCount",
|
|
3412
|
+
"output_required": false,
|
|
3413
|
+
"type": "int",
|
|
3414
|
+
"value_allowed_null": false
|
|
3415
|
+
},
|
|
3416
|
+
{
|
|
3417
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
3418
|
+
"member": "string",
|
|
3419
|
+
"name": "RequestId",
|
|
3420
|
+
"type": "string"
|
|
3421
|
+
}
|
|
3422
|
+
],
|
|
3423
|
+
"type": "object"
|
|
3424
|
+
},
|
|
3074
3425
|
"DescribeWatermarkInfo": {
|
|
3075
3426
|
"document": "Watermark information",
|
|
3076
3427
|
"members": [
|
|
@@ -4172,6 +4523,23 @@
|
|
|
4172
4523
|
],
|
|
4173
4524
|
"usage": "both"
|
|
4174
4525
|
},
|
|
4526
|
+
"InputFileInfo": {
|
|
4527
|
+
"document": "InputFileInfo",
|
|
4528
|
+
"members": [
|
|
4529
|
+
{
|
|
4530
|
+
"disabled": false,
|
|
4531
|
+
"document": "",
|
|
4532
|
+
"example": "10000",
|
|
4533
|
+
"member": "int64",
|
|
4534
|
+
"name": "SegmentDuration",
|
|
4535
|
+
"output_required": false,
|
|
4536
|
+
"required": false,
|
|
4537
|
+
"type": "int",
|
|
4538
|
+
"value_allowed_null": false
|
|
4539
|
+
}
|
|
4540
|
+
],
|
|
4541
|
+
"usage": "both"
|
|
4542
|
+
},
|
|
4175
4543
|
"InputInfo": {
|
|
4176
4544
|
"document": "Input information.",
|
|
4177
4545
|
"members": [
|
|
@@ -6819,6 +7187,34 @@
|
|
|
6819
7187
|
],
|
|
6820
7188
|
"usage": "both"
|
|
6821
7189
|
},
|
|
7190
|
+
"TaskNotifyConfig": {
|
|
7191
|
+
"document": "TaskNotifyConfig",
|
|
7192
|
+
"members": [
|
|
7193
|
+
{
|
|
7194
|
+
"disabled": false,
|
|
7195
|
+
"document": "",
|
|
7196
|
+
"example": "URL",
|
|
7197
|
+
"member": "string",
|
|
7198
|
+
"name": "Type",
|
|
7199
|
+
"output_required": false,
|
|
7200
|
+
"required": false,
|
|
7201
|
+
"type": "string",
|
|
7202
|
+
"value_allowed_null": false
|
|
7203
|
+
},
|
|
7204
|
+
{
|
|
7205
|
+
"disabled": false,
|
|
7206
|
+
"document": "",
|
|
7207
|
+
"example": "https://www.tencent.com",
|
|
7208
|
+
"member": "string",
|
|
7209
|
+
"name": "NotifyUrl",
|
|
7210
|
+
"output_required": false,
|
|
7211
|
+
"required": false,
|
|
7212
|
+
"type": "string",
|
|
7213
|
+
"value_allowed_null": false
|
|
7214
|
+
}
|
|
7215
|
+
],
|
|
7216
|
+
"usage": "both"
|
|
7217
|
+
},
|
|
6822
7218
|
"ThumbnailSettings": {
|
|
6823
7219
|
"document": "",
|
|
6824
7220
|
"members": [
|
|
@@ -7038,6 +7434,23 @@
|
|
|
7038
7434
|
],
|
|
7039
7435
|
"usage": "both"
|
|
7040
7436
|
},
|
|
7437
|
+
"UrlInputInfo": {
|
|
7438
|
+
"document": "UrlInputInfo",
|
|
7439
|
+
"members": [
|
|
7440
|
+
{
|
|
7441
|
+
"disabled": false,
|
|
7442
|
+
"document": "",
|
|
7443
|
+
"example": "https://www.google.com.hk/webhp?hl=zh-CN&sourceid=cnhp&gws_rd=ssl",
|
|
7444
|
+
"member": "string",
|
|
7445
|
+
"name": "Url",
|
|
7446
|
+
"output_required": false,
|
|
7447
|
+
"required": false,
|
|
7448
|
+
"type": "string",
|
|
7449
|
+
"value_allowed_null": false
|
|
7450
|
+
}
|
|
7451
|
+
],
|
|
7452
|
+
"usage": "both"
|
|
7453
|
+
},
|
|
7041
7454
|
"VideoCodecDetail": {
|
|
7042
7455
|
"document": "Video codec additional configuration.",
|
|
7043
7456
|
"members": [
|
|
@@ -40,6 +40,14 @@
|
|
|
40
40
|
"title": "Sample request"
|
|
41
41
|
}
|
|
42
42
|
],
|
|
43
|
+
"CreateWatermarkDetection": [
|
|
44
|
+
{
|
|
45
|
+
"document": "",
|
|
46
|
+
"input": "POST / HTTP/1.1\nHost: mdl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateWatermarkDetection\n<Public request parameters>\n\n{\n \"Type\": \"ExtractVideoABWatermarkId\",\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://example.com/video/test.mp4\"\n }\n },\n \"InputFileInfo\": {\n \"SegmentDuration\": 2000\n },\n \"TaskNotifyConfig\": {\n \"Type\": \"URL\",\n \"NotifyUrl\": \"https://your-callback-domain.com/watermark/callback\"\n }\n}",
|
|
47
|
+
"output": "{\n \"Response\": {\n \"TaskId\": \"69310B251D3EC914C024\",\n \"RequestId\": \"cc3450ba-7cdd-44b2-b989-9cbf74115dda\"\n }\n}",
|
|
48
|
+
"title": "Request Example"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
43
51
|
"DeleteStreamLiveChannel": [
|
|
44
52
|
{
|
|
45
53
|
"document": " ",
|
|
@@ -200,6 +208,22 @@
|
|
|
200
208
|
"title": "Sample request"
|
|
201
209
|
}
|
|
202
210
|
],
|
|
211
|
+
"DescribeWatermarkDetection": [
|
|
212
|
+
{
|
|
213
|
+
"document": "",
|
|
214
|
+
"input": "POST / HTTP/1.1\nHost: mdl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWatermarkDetection\n<Public request parameters>\n\n{\n \"TaskId\": \"69310B251D3EC914C024\"\n}",
|
|
215
|
+
"output": "{\n \"Response\": {\n \"TaskInfo\": {\n \"CreateTime\": 1764821797,\n \"InputInfo\": {\n \"Type\": \"URL\",\n \"UrlInputInfo\": {\n \"Url\": \"https://example.com/video/test.mp4\"\n }\n },\n \"State\": \"Processing\",\n \"TaskId\": \"69310B251D3EC914C024\",\n \"TaskNotifyConfig\": {\n \"NotifyUrl\": \"https://your-callback-domain.com/watermark/callback\",\n \"Type\": \"URL\"\n },\n \"Type\": \"ExtractVideoABWatermarkId\",\n \"UpdateTime\": 1764821797\n },\n \"RequestId\": \"2d1055c5-f04e-4d95-b7ed-d962e9be6e69\"\n }\n}",
|
|
216
|
+
"title": "Request Example"
|
|
217
|
+
}
|
|
218
|
+
],
|
|
219
|
+
"DescribeWatermarkDetections": [
|
|
220
|
+
{
|
|
221
|
+
"document": "",
|
|
222
|
+
"input": "POST / HTTP/1.1\nHost: mdl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeWatermarkDetections\n<Public Request Parameters>>\n\n{\n \"StartTime\": \"2025-12-04T16:50:00+08:00\",\n \"EndTime\": \"2025-12-08T14:20:00+08:00\",\n \"PageNum\": 0,\n \"PageSize\": 100\n}",
|
|
223
|
+
"output": "{\n \"Response\": {\n \"TaskInfos\": [],\n \"TotalCount\": 0,\n \"RequestId\": \"b4db2352-ac41-469c-9901-e2bc07056694\"\n }\n}",
|
|
224
|
+
"title": "Request Example"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
203
227
|
"GetAbWatermarkPlayUrl": [
|
|
204
228
|
{
|
|
205
229
|
"document": "Get AB watermark play url",
|
|
@@ -2247,7 +2247,7 @@
|
|
|
2247
2247
|
"document": "BindPrometheusManagedGrafana response structure.",
|
|
2248
2248
|
"members": [
|
|
2249
2249
|
{
|
|
2250
|
-
"document": "The unique request ID,
|
|
2250
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
2251
2251
|
"member": "string",
|
|
2252
2252
|
"name": "RequestId",
|
|
2253
2253
|
"type": "string"
|
|
@@ -3172,12 +3172,12 @@
|
|
|
3172
3172
|
"example": "arule-f2vx2owo",
|
|
3173
3173
|
"member": "string",
|
|
3174
3174
|
"name": "RuleId",
|
|
3175
|
-
"
|
|
3175
|
+
"output_required": true,
|
|
3176
3176
|
"type": "string",
|
|
3177
3177
|
"value_allowed_null": true
|
|
3178
3178
|
},
|
|
3179
3179
|
{
|
|
3180
|
-
"document": "The unique request ID,
|
|
3180
|
+
"document": "The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.",
|
|
3181
3181
|
"member": "string",
|
|
3182
3182
|
"name": "RequestId",
|
|
3183
3183
|
"type": "string"
|
tccli/services/mps/mps_client.py
CHANGED
|
@@ -4252,6 +4252,61 @@ def doCreateSchedule(args, parsed_globals):
|
|
|
4252
4252
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
4253
4253
|
|
|
4254
4254
|
|
|
4255
|
+
def doDescribeUsageData(args, parsed_globals):
|
|
4256
|
+
g_param = parse_global_arg(parsed_globals)
|
|
4257
|
+
|
|
4258
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
|
4259
|
+
cred = credential.CVMRoleCredential()
|
|
4260
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
|
4261
|
+
cred = credential.STSAssumeRoleCredential(
|
|
4262
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
|
4263
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
|
4264
|
+
)
|
|
4265
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) \
|
|
4266
|
+
and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) \
|
|
4267
|
+
and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) \
|
|
4268
|
+
and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
|
4269
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
|
4270
|
+
else:
|
|
4271
|
+
cred = credential.Credential(
|
|
4272
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
|
4273
|
+
)
|
|
4274
|
+
http_profile = HttpProfile(
|
|
4275
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
|
4276
|
+
reqMethod="POST",
|
|
4277
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
|
4278
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
|
4279
|
+
)
|
|
4280
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="TC3-HMAC-SHA256")
|
|
4281
|
+
if g_param[OptionsDefine.Language]:
|
|
4282
|
+
profile.language = g_param[OptionsDefine.Language]
|
|
4283
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
|
4284
|
+
client = mod.MpsClient(cred, g_param[OptionsDefine.Region], profile)
|
|
4285
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
|
4286
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
|
4287
|
+
model = models.DescribeUsageDataRequest()
|
|
4288
|
+
model.from_json_string(json.dumps(args))
|
|
4289
|
+
start_time = time.time()
|
|
4290
|
+
while True:
|
|
4291
|
+
rsp = client.DescribeUsageData(model)
|
|
4292
|
+
result = rsp.to_json_string()
|
|
4293
|
+
try:
|
|
4294
|
+
json_obj = json.loads(result)
|
|
4295
|
+
except TypeError as e:
|
|
4296
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
|
4297
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
|
4298
|
+
break
|
|
4299
|
+
cur_time = time.time()
|
|
4300
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
|
4301
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
|
4302
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
|
4303
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
|
4304
|
+
else:
|
|
4305
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
|
4306
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
|
4307
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
|
4308
|
+
|
|
4309
|
+
|
|
4255
4310
|
def doModifyWordSample(args, parsed_globals):
|
|
4256
4311
|
g_param = parse_global_arg(parsed_globals)
|
|
4257
4312
|
|
|
@@ -5880,6 +5935,7 @@ ACTION_MAP = {
|
|
|
5880
5935
|
"CreateProcessImageTemplate": doCreateProcessImageTemplate,
|
|
5881
5936
|
"DescribeAdaptiveDynamicStreamingTemplates": doDescribeAdaptiveDynamicStreamingTemplates,
|
|
5882
5937
|
"CreateSchedule": doCreateSchedule,
|
|
5938
|
+
"DescribeUsageData": doDescribeUsageData,
|
|
5883
5939
|
"ModifyWordSample": doModifyWordSample,
|
|
5884
5940
|
"DescribeImageSpriteTemplates": doDescribeImageSpriteTemplates,
|
|
5885
5941
|
"DescribeWatermarkTemplates": doDescribeWatermarkTemplates,
|