tccli 3.0.1325.1__py2.py3-none-any.whl → 3.0.1326.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/cfs/v20190719/api.json +15 -15
- tccli/services/cfs/v20190719/examples.json +2 -2
- tccli/services/cme/v20191029/api.json +16 -19
- tccli/services/cme/v20191029/examples.json +12 -12
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +51 -0
- tccli/services/dlc/v20210125/examples.json +8 -0
- tccli/services/domain/v20180808/api.json +1 -1
- tccli/services/emr/v20190103/api.json +10 -0
- tccli/services/es/es_client.py +4 -57
- tccli/services/es/v20250101/api.json +0 -207
- tccli/services/es/v20250101/examples.json +0 -8
- tccli/services/ess/v20201111/api.json +3 -3
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/gs/gs_client.py +106 -0
- tccli/services/gs/v20191118/api.json +145 -0
- tccli/services/gs/v20191118/examples.json +16 -0
- tccli/services/hai/v20230812/api.json +5 -5
- tccli/services/lke/lke_client.py +0 -53
- tccli/services/lke/v20231130/api.json +0 -113
- tccli/services/lke/v20231130/examples.json +0 -8
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/monitor/monitor_client.py +53 -0
- tccli/services/monitor/v20180724/api.json +54 -1
- tccli/services/monitor/v20180724/examples.json +8 -0
- tccli/services/mrs/v20200910/api.json +4 -4
- tccli/services/postgres/postgres_client.py +0 -53
- tccli/services/postgres/v20170312/api.json +0 -235
- tccli/services/postgres/v20170312/examples.json +0 -8
- tccli/services/privatedns/v20201028/api.json +1 -1
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/redis/v20180412/api.json +1 -1
- {tccli-3.0.1325.1.dist-info → tccli-3.0.1326.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1325.1.dist-info → tccli-3.0.1326.1.dist-info}/RECORD +38 -38
- {tccli-3.0.1325.1.dist-info → tccli-3.0.1326.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1325.1.dist-info → tccli-3.0.1326.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1325.1.dist-info → tccli-3.0.1326.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1326.1'
|
@@ -50,7 +50,7 @@
|
|
50
50
|
"status": "online"
|
51
51
|
},
|
52
52
|
"CreateMigrationTask": {
|
53
|
-
"document": "
|
53
|
+
"document": "用于创建迁移任务。",
|
54
54
|
"input": "CreateMigrationTaskRequest",
|
55
55
|
"name": "创建迁移任务",
|
56
56
|
"output": "CreateMigrationTaskResponse",
|
@@ -92,7 +92,7 @@
|
|
92
92
|
"status": "online"
|
93
93
|
},
|
94
94
|
"DeleteMigrationTask": {
|
95
|
-
"document": "
|
95
|
+
"document": "用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。",
|
96
96
|
"input": "DeleteMigrationTaskRequest",
|
97
97
|
"name": "删除迁移任务",
|
98
98
|
"output": "DeleteMigrationTaskResponse",
|
@@ -127,7 +127,7 @@
|
|
127
127
|
"status": "online"
|
128
128
|
},
|
129
129
|
"DescribeBucketList": {
|
130
|
-
"document": "
|
130
|
+
"document": "用于获取数据源桶列表。",
|
131
131
|
"input": "DescribeBucketListRequest",
|
132
132
|
"name": "获取对象存储桶列表",
|
133
133
|
"output": "DescribeBucketListResponse",
|
@@ -239,7 +239,7 @@
|
|
239
239
|
"status": "online"
|
240
240
|
},
|
241
241
|
"StopMigrationTask": {
|
242
|
-
"document": "
|
242
|
+
"document": "用于终止迁移任务,可以终止等待中、运行中状态的任务。",
|
243
243
|
"input": "StopMigrationTaskRequest",
|
244
244
|
"name": "终止迁移任务",
|
245
245
|
"output": "StopMigrationTaskResponse",
|
@@ -747,7 +747,7 @@
|
|
747
747
|
"example": "name",
|
748
748
|
"member": "string",
|
749
749
|
"name": "Name",
|
750
|
-
"
|
750
|
+
"output_required": true,
|
751
751
|
"type": "string",
|
752
752
|
"value_allowed_null": false
|
753
753
|
},
|
@@ -757,7 +757,7 @@
|
|
757
757
|
"example": "region",
|
758
758
|
"member": "string",
|
759
759
|
"name": "Region",
|
760
|
-
"
|
760
|
+
"output_required": true,
|
761
761
|
"type": "string",
|
762
762
|
"value_allowed_null": true
|
763
763
|
}
|
@@ -1440,7 +1440,7 @@
|
|
1440
1440
|
{
|
1441
1441
|
"disabled": false,
|
1442
1442
|
"document": "数据源账号的SecretId",
|
1443
|
-
"example": "
|
1443
|
+
"example": "secretid",
|
1444
1444
|
"member": "string",
|
1445
1445
|
"name": "SrcSecretId",
|
1446
1446
|
"required": true,
|
@@ -1449,7 +1449,7 @@
|
|
1449
1449
|
{
|
1450
1450
|
"disabled": false,
|
1451
1451
|
"document": "数据源账号的SecretKey",
|
1452
|
-
"example": "
|
1452
|
+
"example": "secretkey",
|
1453
1453
|
"member": "string",
|
1454
1454
|
"name": "SrcSecretKey",
|
1455
1455
|
"required": true,
|
@@ -2042,8 +2042,8 @@
|
|
2042
2042
|
},
|
2043
2043
|
{
|
2044
2044
|
"disabled": false,
|
2045
|
-
"document": "数据源账号的SecretId
|
2046
|
-
"example": "
|
2045
|
+
"document": "数据源账号的SecretId",
|
2046
|
+
"example": "secretid",
|
2047
2047
|
"member": "string",
|
2048
2048
|
"name": "SrcSecretId",
|
2049
2049
|
"required": true,
|
@@ -2052,7 +2052,7 @@
|
|
2052
2052
|
{
|
2053
2053
|
"disabled": false,
|
2054
2054
|
"document": "数据源账号的SecretKey",
|
2055
|
-
"example": "
|
2055
|
+
"example": "secretkey",
|
2056
2056
|
"member": "string",
|
2057
2057
|
"name": "SrcSecretKey",
|
2058
2058
|
"required": true,
|
@@ -3307,7 +3307,7 @@
|
|
3307
3307
|
},
|
3308
3308
|
{
|
3309
3309
|
"disabled": false,
|
3310
|
-
"document": "迁移状态。0: 已完成;1:
|
3310
|
+
"document": "迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中",
|
3311
3311
|
"example": "0",
|
3312
3312
|
"member": "uint64",
|
3313
3313
|
"name": "Status",
|
@@ -4220,7 +4220,7 @@
|
|
4220
4220
|
{
|
4221
4221
|
"disabled": false,
|
4222
4222
|
"document": "迁移任务Id",
|
4223
|
-
"example": "
|
4223
|
+
"example": "cfsmigrate-xxxxxxxx",
|
4224
4224
|
"member": "string",
|
4225
4225
|
"name": "TaskId",
|
4226
4226
|
"output_required": true,
|
@@ -4229,8 +4229,8 @@
|
|
4229
4229
|
},
|
4230
4230
|
{
|
4231
4231
|
"disabled": false,
|
4232
|
-
"document": "迁移状态。0: 已完成;1:
|
4233
|
-
"example": "
|
4232
|
+
"document": "迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中",
|
4233
|
+
"example": "3",
|
4234
4234
|
"member": "uint64",
|
4235
4235
|
"name": "Status",
|
4236
4236
|
"output_required": true,
|
@@ -59,7 +59,7 @@
|
|
59
59
|
"CreateMigrationTask": [
|
60
60
|
{
|
61
61
|
"document": "用于创建数据迁移任务",
|
62
|
-
"input": "POST / HTTP/1.1\nHost: cfs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMigrationTask\n<公共请求参数>\n\n{\n \"BucketRegion\": \"ap-nanjing\",\n \"SrcService\": \"COS\",\n \"CoverType\":
|
62
|
+
"input": "POST / HTTP/1.1\nHost: cfs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateMigrationTask\n<公共请求参数>\n\n{\n \"BucketRegion\": \"ap-nanjing\",\n \"SrcService\": \"COS\",\n \"CoverType\": 1,\n \"SrcSecretKey\": \"*****************************\",\n \"BucketPath\": \"cos/\",\n \"MigrationMode\": 0,\n \"FileSystemId\": \"cfs-8dd58fd7\",\n \"BucketName\": \"test-1-1256238147\",\n \"FsPath\": \"/test/\",\n \"MigrationType\": 0,\n \"TaskName\": \"migrate1\",\n \"SrcSecretId\": \"**************************************************\",\n \"FsName\": \"oldfs\"\n}",
|
63
63
|
"output": "{\n \"Response\": {\n \"TaskId\": \"cfsmigrate-dfe9b1f2\",\n \"RequestId\": \"91cd4a08-a105-4c59-b229-82f0fs7363b8\"\n }\n}",
|
64
64
|
"title": "创建迁移任务"
|
65
65
|
}
|
@@ -282,7 +282,7 @@
|
|
282
282
|
{
|
283
283
|
"document": "用于终止迁移任务",
|
284
284
|
"input": "POST / HTTP/1.1\nHost: cfs.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopMigrationTask\n<公共请求参数>\n\n{\n \"TaskId\": \"cfsmigrate-29de0e87\"\n}",
|
285
|
-
"output": "{\n \"Response\": {\n \"TaskId\": \"cfsmigrate-29de0e87\",\n \"Status\":
|
285
|
+
"output": "{\n \"Response\": {\n \"TaskId\": \"cfsmigrate-29de0e87\",\n \"Status\": 3,\n \"RequestId\": \"eff7c5d9-c8c4-401a-deda-2108d3cc8b76\"\n }\n}",
|
286
286
|
"title": "终止迁移任务"
|
287
287
|
}
|
288
288
|
],
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"status": "online"
|
30
30
|
},
|
31
31
|
"CreateProject": {
|
32
|
-
"document": "创建多媒体创作引擎项目,目前支持的项目类型有:\n<li>视频剪辑项目:用于普通视频剪辑;</li>\n<li>直播剪辑项目:用于直播流剪辑;</li>\n<li>导播台项目:用于云导播台;</li>\n<li>视频拆条:用于视频拆条;</li>\n<li>录制回放项目:用于直播录制回放;</li>\n<li
|
32
|
+
"document": "创建多媒体创作引擎项目,目前支持的项目类型有:\n<li>视频剪辑项目:用于普通视频剪辑;</li>\n<li>直播剪辑项目:用于直播流剪辑;</li>\n<li>导播台项目:用于云导播台;</li>\n<li>视频拆条:用于视频拆条;</li>\n<li>录制回放项目:用于直播录制回放;</li>\n<li>媒体转推项目:用于媒体文件转直播输出。</li>",
|
33
33
|
"input": "CreateProjectRequest",
|
34
34
|
"name": "创建项目",
|
35
35
|
"output": "CreateProjectResponse",
|
@@ -1195,7 +1195,7 @@
|
|
1195
1195
|
"type": "string"
|
1196
1196
|
},
|
1197
1197
|
{
|
1198
|
-
"disabled":
|
1198
|
+
"disabled": true,
|
1199
1199
|
"document": "画布宽高比。\n该字段已经废弃,请使用具体项目输入中的 AspectRatio 字段。",
|
1200
1200
|
"example": "16:9",
|
1201
1201
|
"member": "string",
|
@@ -3553,18 +3553,16 @@
|
|
3553
3553
|
"member": "string",
|
3554
3554
|
"name": "MediaKey",
|
3555
3555
|
"required": true,
|
3556
|
-
"type": "string"
|
3557
|
-
"value_allowed_null": false
|
3556
|
+
"type": "string"
|
3558
3557
|
},
|
3559
3558
|
{
|
3560
|
-
"disabled":
|
3559
|
+
"disabled": true,
|
3561
3560
|
"document": "该字段废弃,请勿使用。",
|
3562
3561
|
"example": "1000000",
|
3563
3562
|
"member": "int64",
|
3564
3563
|
"name": "Definition",
|
3565
3564
|
"required": false,
|
3566
|
-
"type": "int"
|
3567
|
-
"value_allowed_null": false
|
3565
|
+
"type": "int"
|
3568
3566
|
},
|
3569
3567
|
{
|
3570
3568
|
"disabled": false,
|
@@ -3573,8 +3571,7 @@
|
|
3573
3571
|
"member": "string",
|
3574
3572
|
"name": "StorageId",
|
3575
3573
|
"required": false,
|
3576
|
-
"type": "string"
|
3577
|
-
"value_allowed_null": false
|
3574
|
+
"type": "string"
|
3578
3575
|
}
|
3579
3576
|
],
|
3580
3577
|
"usage": "in"
|
@@ -4849,7 +4846,7 @@
|
|
4849
4846
|
"value_allowed_null": false
|
4850
4847
|
},
|
4851
4848
|
{
|
4852
|
-
"disabled":
|
4849
|
+
"disabled": true,
|
4853
4850
|
"document": "媒体绑定的标签信息列表 。\n该字段已废弃。\n注意:此字段可能返回 null,表示取不到有效值。",
|
4854
4851
|
"example": "无",
|
4855
4852
|
"member": "MaterialTagInfo",
|
@@ -7429,7 +7426,7 @@
|
|
7429
7426
|
"example": "5285890818667693889292992",
|
7430
7427
|
"member": "string",
|
7431
7428
|
"name": "FileId",
|
7432
|
-
"
|
7429
|
+
"output_required": true,
|
7433
7430
|
"type": "string",
|
7434
7431
|
"value_allowed_null": false
|
7435
7432
|
},
|
@@ -7439,17 +7436,17 @@
|
|
7439
7436
|
"example": "60a75c1c30fcbe0001cc8990d0",
|
7440
7437
|
"member": "string",
|
7441
7438
|
"name": "MaterialId",
|
7442
|
-
"
|
7439
|
+
"output_required": true,
|
7443
7440
|
"type": "string",
|
7444
7441
|
"value_allowed_null": false
|
7445
7442
|
},
|
7446
7443
|
{
|
7447
|
-
"disabled":
|
7444
|
+
"disabled": true,
|
7448
7445
|
"document": "操作者 Id。(废弃,请勿使用)",
|
7449
7446
|
"example": "3fa6b09e-05c6-433e-bc1e-6457d264f1dd",
|
7450
7447
|
"member": "string",
|
7451
7448
|
"name": "Operator",
|
7452
|
-
"
|
7449
|
+
"output_required": true,
|
7453
7450
|
"type": "string",
|
7454
7451
|
"value_allowed_null": false
|
7455
7452
|
},
|
@@ -7459,7 +7456,7 @@
|
|
7459
7456
|
"example": "Upload",
|
7460
7457
|
"member": "string",
|
7461
7458
|
"name": "OperationType",
|
7462
|
-
"
|
7459
|
+
"output_required": true,
|
7463
7460
|
"type": "string",
|
7464
7461
|
"value_allowed_null": false
|
7465
7462
|
},
|
@@ -7469,7 +7466,7 @@
|
|
7469
7466
|
"example": "无",
|
7470
7467
|
"member": "Entity",
|
7471
7468
|
"name": "Owner",
|
7472
|
-
"
|
7469
|
+
"output_required": true,
|
7473
7470
|
"type": "object",
|
7474
7471
|
"value_allowed_null": false
|
7475
7472
|
},
|
@@ -7479,7 +7476,7 @@
|
|
7479
7476
|
"example": "/媒体",
|
7480
7477
|
"member": "string",
|
7481
7478
|
"name": "ClassPath",
|
7482
|
-
"
|
7479
|
+
"output_required": true,
|
7483
7480
|
"type": "string",
|
7484
7481
|
"value_allowed_null": false
|
7485
7482
|
},
|
@@ -7489,7 +7486,7 @@
|
|
7489
7486
|
"example": "125000800-PullUpload-6fdaf790821a36dbe95ec8f557366c71t",
|
7490
7487
|
"member": "string",
|
7491
7488
|
"name": "TaskId",
|
7492
|
-
"
|
7489
|
+
"output_required": true,
|
7493
7490
|
"type": "string",
|
7494
7491
|
"value_allowed_null": false
|
7495
7492
|
},
|
@@ -7499,7 +7496,7 @@
|
|
7499
7496
|
"example": "60097a8a8ea83d00017b484b",
|
7500
7497
|
"member": "string",
|
7501
7498
|
"name": "SourceContext",
|
7502
|
-
"
|
7499
|
+
"output_required": true,
|
7503
7500
|
"type": "string",
|
7504
7501
|
"value_allowed_null": false
|
7505
7502
|
}
|
@@ -53,7 +53,7 @@
|
|
53
53
|
"CreateProject": [
|
54
54
|
{
|
55
55
|
"document": " ",
|
56
|
-
"input": "POST / HTTP/1.1\nHost: cme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProject\n<公共请求参数>\n\n{\n \"Category\": \"VIDEO_EDIT\",\n \"Platform\": \"1000000009\",\n \"Owner\": {\n \"Type\": \"PERSON\",\n \"Id\": \"user_id_61978823e6a253000100fb0f\"\n },\n \"Name\": \"first_project\",\n \"AspectRatio\": \"16:9\"\n}",
|
56
|
+
"input": "POST / HTTP/1.1\nHost: cme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateProject\n<公共请求参数>\n\n{\n \"Category\": \"VIDEO_EDIT\",\n \"Platform\": \"1000000009\",\n \"Owner\": {\n \"Type\": \"PERSON\",\n \"Id\": \"user_id_61978823e6a253000100fb0f\"\n },\n \"Name\": \"first_project\",\n \"VideoEditProjectInput\": {\n \"AspectRatio\": \"16:9\"\n }\n}",
|
57
57
|
"output": "{\n \"Response\": {\n \"ProjectId\": \"cmepid_5f16967b64436100015fb025\",\n \"RtmpPushInputInfoSet\": [],\n \"RequestId\": \"c44cbb5b-b809-4061-8c45-7469b64e8e5x\"\n }\n}",
|
58
58
|
"title": "创建普通剪辑项目"
|
59
59
|
},
|
@@ -214,19 +214,19 @@
|
|
214
214
|
{
|
215
215
|
"document": " ",
|
216
216
|
"input": "https://cme.tencentcloudapi.com/?Action=DescribeMaterials\n&Platform=1000000009\n&MaterialIds.0=5fd8ad3d628dc30001bd08894\n&Operator=user_id4114428941bd0420\n&<公共请求参数>",
|
217
|
-
"output": "{\n \"Response\": {\n \"MaterialInfoSet\": [\n {\n \"AudioMaterial\": null,\n \"BasicInfo\": {\n \"ClassPath\": \"\",\n \"CreateTime\": \"2019-10-28T12:10:25Z\",\n \"MaterialId\": \"5fd8ad3d628dc30001bd08894\",\n \"MaterialType\": \"IMAGE\",\n \"Name\": \"dzq1.png\",\n \"Owner\": {\n \"Id\": \"03ce2cd6-a889-4e4d-95a7-876e44f21831\",\n \"Type\": \"PERSON\"\n },\n \"PreviewUrl\": \"https://1810000002.vod2.myqcloud.com/b64e98aevodcq1810000002/0d014fa85285890795320102944/j5dCbqBV72QA.png\",\n \"TagSet\": [],\n \"
|
217
|
+
"output": "{\n \"Response\": {\n \"MaterialInfoSet\": [\n {\n \"AudioMaterial\": null,\n \"BasicInfo\": {\n \"ClassPath\": \"\",\n \"CreateTime\": \"2019-10-28T12:10:25Z\",\n \"MaterialId\": \"5fd8ad3d628dc30001bd08894\",\n \"MaterialType\": \"IMAGE\",\n \"Name\": \"dzq1.png\",\n \"Owner\": {\n \"Id\": \"03ce2cd6-a889-4e4d-95a7-876e44f21831\",\n \"Type\": \"PERSON\"\n },\n \"PreviewUrl\": \"https://1810000002.vod2.myqcloud.com/b64e98aevodcq1810000002/0d014fa85285890795320102944/j5dCbqBV72QA.png\",\n \"TagSet\": [],\n \"PresetTagSet\": [],\n \"UpdateTime\": \"2019-10-28T12:10:25Z\"\n },\n \"ImageMaterial\": {\n \"Height\": 153,\n \"MaterialUrl\": \"https://1810000002.vod2.myqcloud.com/b64e98aevodcq1810000002/0d014fa85285890795320102944/j5dCbqBV72QA.png\",\n \"Size\": 52421,\n \"Width\": 213,\n \"VodFileId\": \"15e83cf8b48b147\",\n \"OriginalUrl\": \"http://cmedemo.vod2.myqcloud.com/xxxxx/cemdemo.png\"\n },\n \"LinkMaterial\": null,\n \"VideoMaterial\": null,\n \"VideoEditTemplateMaterial\": null,\n \"OtherMaterial\": null\n }\n ],\n \"RequestId\": \"964aae95-7344-4200-8962-92a44ff7a2aa\"\n }\n}",
|
218
218
|
"title": "获取图片媒体详情"
|
219
219
|
},
|
220
220
|
{
|
221
221
|
"document": "视频媒体",
|
222
222
|
"input": "https://cme.tencentcloudapi.com/?Action=DescribeMaterials\n&Platform=1000000009\n&MaterialIds.0=5fd8ad3d628dc30001bd0895\n&Operator=user_id4114428941bd0420\n&<公共请求参数>",
|
223
|
-
"output": "{\n \"Response\": {\n \"MaterialInfoSet\": [\n {\n \"BasicInfo\": {\n \"MaterialId\": \"5fd8ad3d628dc30001bd0895\",\n \"MaterialType\": \"VIDEO\",\n \"Name\": \"9Qvacao2r7EA\",\n \"CreateTime\": \"2019-12-31T03:59:14Z\",\n \"UpdateTime\": \"2019-12-31T03:59:14Z\",\n \"ClassPath\": \"/media\",\n \"TagSet\": [],\n \"
|
223
|
+
"output": "{\n \"Response\": {\n \"MaterialInfoSet\": [\n {\n \"BasicInfo\": {\n \"MaterialId\": \"5fd8ad3d628dc30001bd0895\",\n \"MaterialType\": \"VIDEO\",\n \"Name\": \"9Qvacao2r7EA\",\n \"CreateTime\": \"2019-12-31T03:59:14Z\",\n \"UpdateTime\": \"2019-12-31T03:59:14Z\",\n \"ClassPath\": \"/media\",\n \"TagSet\": [],\n \"PresetTagSet\": [],\n \"PreviewUrl\": \"http://1810000002.vod2.myqcloud.com/8d388656vodtranscq1810000002/accfa04c5285890797261730431/coverBySnapshot/1577764755_4069421039.100_0.jpg\",\n \"Owner\": {\n \"Type\": \"PERSON\",\n \"Id\": \"6b6ef043-85f3-4614-b735-768bb466ae5b\"\n }\n },\n \"ImageMaterial\": null,\n \"LinkMaterial\": null,\n \"AudioMaterial\": null,\n \"VideoEditTemplateMaterial\": null,\n \"OtherMaterial\": null,\n \"VideoMaterial\": {\n \"VodFileId\": \"15e83cf8b48b1472\",\n \"OriginalUrl\": \"http://cmedemo.vod2.myqcloud.com/xxxxx/cemdemo.mp4\",\n \"MaterialStatus\": {\n \"EditorUsableStatus\": \"NORMAL\"\n },\n \"MetaData\": {\n \"Size\": 2148950,\n \"Container\": \"mov,mp4,m4a,3gp,3g2,mj2\",\n \"Bitrate\": 242237,\n \"Height\": 270,\n \"Width\": 480,\n \"Duration\": 69.4729995727539,\n \"Rotate\": 0,\n \"VideoStreamInfoSet\": [\n {\n \"Bitrate\": 209241,\n \"Height\": 270,\n \"Width\": 480,\n \"Codec\": \"h264\",\n \"Fps\": 24\n }\n ],\n \"AudioStreamInfoSet\": [\n {\n \"Bitrate\": 32996,\n \"SamplingRate\": 48000,\n \"Codec\": \"aac\"\n }\n ]\n },\n \"ImageSpriteInfo\": {\n \"Height\": 80,\n \"Width\": 142,\n \"TotalCount\": 70,\n \"ImageUrlSet\": [\n \"http://1810000002.vod2.myqcloud.com/8d388656vodtranscq1810000002/accfa04c5285890797261730431/imageSprite/1577764755_3800596325.100_0.jpg\"\n ],\n \"WebVttUrl\": \"http://1810000002.vod2.myqcloud.com/8d388656vodtranscq1810000002/accfa04c5285890797261730431/imageSprite/1577764755.vtt\"\n },\n \"MaterialUrl\": \"https://1810000002.vod2.myqcloud.com/8d388656vodtranscq1810000002/accfa04c5285890797261730431/v.f50000.m3u8?t=5e572824&sign=f3a588b4c37d047bd2df6b02ecf11ed8\",\n \"CoverUrl\": \"http://1810000002.vod2.myqcloud.com/8d388656vodtranscq1810000002/accfa04c5285890797261730431/coverBySnapshot/1577764755_4069421039.100_0.jpg\",\n \"Resolution\": \"SD\"\n }\n }\n ],\n \"RequestId\": \"85b8cdac-8e18-430a-aeae-08076ac26a11\"\n }\n}",
|
224
224
|
"title": "获取视频媒体详情"
|
225
225
|
},
|
226
226
|
{
|
227
227
|
"document": "音频媒体",
|
228
228
|
"input": "https://cme.tencentcloudapi.com/?Action=DescribeMaterials\n&Platform=1000000009\n&MaterialIds.0=5fd8ad3d628dc30001bd08893\n&Operator=user_id4114428941bd0420\n&<公共请求参数>",
|
229
|
-
"output": "{\n \"Response\": {\n \"MaterialInfoSet\": [\n {\n \"AudioMaterial\": {\n \"VodFileId\": \"15e83cf8b48b1473\",\n \"OriginalUrl\": \"http://cmedemo.vod2.myqcloud.com/xxxxx/cemdemo.mp4\",\n \"CoverUrl\": \"\",\n \"MaterialStatus\": {\n \"EditorUsableStatus\": \"NORMAL\"\n },\n \"MaterialUrl\": \"https://1810000002.vod2.myqcloud.com/b64e98aevodcq1810000002/6df9fb785285890795345485561/FOMbrvcsytgA.mp3?t=5eaa3d36&sign=72576faefb2863396f2775bd45259a44\",\n \"MetaData\": {\n \"AudioStreamInfoSet\": [\n {\n \"Bitrate\": 320000,\n \"Codec\": \"mp3\",\n \"SamplingRate\": 44100\n }\n ],\n \"Bitrate\": 320047,\n \"Container\": \"mp3\",\n \"Duration\": 221.04815673828,\n \"Height\": 0,\n \"Rotate\": 0,\n \"Size\": 8843241,\n \"VideoStreamInfoSet\": [],\n \"Width\": 0\n }\n },\n \"BasicInfo\": {\n \"ClassPath\": \"/media\",\n \"CreateTime\": \"2019-10-29T09:36:33Z\",\n \"MaterialId\": \"5fd8ad3d628dc30001bd08893\",\n \"MaterialType\": \"AUDIO\",\n \"Name\": \"Fgi.mp3\",\n \"Owner\": {\n \"Id\": \"03ce2cd6-a889-4e4d-95a7-876e44f21831\",\n \"Type\": \"PERSON\"\n },\n \"PreviewUrl\": \"\",\n \"TagSet\": [],\n \"
|
229
|
+
"output": "{\n \"Response\": {\n \"MaterialInfoSet\": [\n {\n \"AudioMaterial\": {\n \"VodFileId\": \"15e83cf8b48b1473\",\n \"OriginalUrl\": \"http://cmedemo.vod2.myqcloud.com/xxxxx/cemdemo.mp4\",\n \"CoverUrl\": \"\",\n \"MaterialStatus\": {\n \"EditorUsableStatus\": \"NORMAL\"\n },\n \"MaterialUrl\": \"https://1810000002.vod2.myqcloud.com/b64e98aevodcq1810000002/6df9fb785285890795345485561/FOMbrvcsytgA.mp3?t=5eaa3d36&sign=72576faefb2863396f2775bd45259a44\",\n \"MetaData\": {\n \"AudioStreamInfoSet\": [\n {\n \"Bitrate\": 320000,\n \"Codec\": \"mp3\",\n \"SamplingRate\": 44100\n }\n ],\n \"Bitrate\": 320047,\n \"Container\": \"mp3\",\n \"Duration\": 221.04815673828,\n \"Height\": 0,\n \"Rotate\": 0,\n \"Size\": 8843241,\n \"VideoStreamInfoSet\": [],\n \"Width\": 0\n }\n },\n \"BasicInfo\": {\n \"ClassPath\": \"/media\",\n \"CreateTime\": \"2019-10-29T09:36:33Z\",\n \"MaterialId\": \"5fd8ad3d628dc30001bd08893\",\n \"MaterialType\": \"AUDIO\",\n \"Name\": \"Fgi.mp3\",\n \"Owner\": {\n \"Id\": \"03ce2cd6-a889-4e4d-95a7-876e44f21831\",\n \"Type\": \"PERSON\"\n },\n \"PreviewUrl\": \"\",\n \"TagSet\": [],\n \"PresetTagSet\": [],\n \"UpdateTime\": \"2019-10-29T09:37:29Z\"\n },\n \"ImageMaterial\": null,\n \"LinkMaterial\": null,\n \"VideoMaterial\": null,\n \"VideoEditTemplateMaterial\": null,\n \"OtherMaterial\": null\n }\n ],\n \"RequestId\": \"964aae95-7344-4200-8962-92a44ff7a2ac\"\n }\n}",
|
230
230
|
"title": "获取音频媒体详情"
|
231
231
|
}
|
232
232
|
],
|
@@ -464,7 +464,7 @@
|
|
464
464
|
{
|
465
465
|
"document": "",
|
466
466
|
"input": "POST / HTTP/1.1\nHost: cme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: FlattenListMedia\n<公共请求参数>\n\n{\n \"Owner\": {\n \"Type\": \"PERSON\",\n \"Id\": \"user_id_8ad3d628dc30001bd0343\"\n },\n \"Platform\": \"1000000009\",\n \"ClassPath\": \"/a/b\"\n}",
|
467
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"MaterialInfoSet\": [\n {\n \"BasicInfo\": {\n \"MaterialId\": \"281921553743710210\",\n \"MaterialType\": \"VIDEO\",\n \"Name\": \"9Qvacao2r7EA\",\n \"CreateTime\": \"2019-12-31T03:59:14Z\",\n \"UpdateTime\": \"2019-12-31T03:59:14Z\",\n \"ClassPath\": \"/a/b\",\n \"TagSet\": [],\n \"
|
467
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"MaterialInfoSet\": [\n {\n \"BasicInfo\": {\n \"MaterialId\": \"281921553743710210\",\n \"MaterialType\": \"VIDEO\",\n \"Name\": \"9Qvacao2r7EA\",\n \"CreateTime\": \"2019-12-31T03:59:14Z\",\n \"UpdateTime\": \"2019-12-31T03:59:14Z\",\n \"ClassPath\": \"/a/b\",\n \"TagSet\": [],\n \"PresetTagSet\": [],\n \"PreviewUrl\": \"http://1810xxxxxxx2.vod2.myqcloud.com/8d388656vodtranscq1810000002/accfa04c5285890797261730431/coverBySnapshot/1577764755_4069421039.100_0.jpg\",\n \"Owner\": {\n \"Type\": \"PERSON\",\n \"Id\": \"user_id_8ad3d628dc30001bd0343\"\n }\n },\n \"ImageMaterial\": null,\n \"LinkMaterial\": null,\n \"AudioMaterial\": null,\n \"VideoMaterial\": null,\n \"VideoEditTemplateMaterial\": null,\n \"OtherMaterial\": null\n }\n ],\n \"RequestId\": \"7bf08361-4455-4cbd-afd6-423b62c54a05\"\n }\n}",
|
468
468
|
"title": "平铺浏览媒体"
|
469
469
|
}
|
470
470
|
],
|
@@ -718,7 +718,7 @@
|
|
718
718
|
{
|
719
719
|
"document": "浏览媒体",
|
720
720
|
"input": "https://cme.tencentcloudapi.com/?Action=ListMedia\n&Platform=1000000009\n&ClassPath=/素材/视频\n&Owner.Id=6b6ef043-85f3-4614-b735-768bb466ae5b\n&Owner.Type=PERSON\n&<公共请求参数>",
|
721
|
-
"output": "{\n \"Response\": {\n \"MaterialInfoSet\": [\n {\n \"AudioMaterial\": null,\n \"BasicInfo\": {\n \"ClassPath\": \"/素材/视频\",\n \"CreateTime\": \"2021-11-24T16:08:07Z\",\n \"MaterialId\": \"619e6367b2e891000160aaac0\",\n \"MaterialType\": \"VIDEO\",\n \"Name\": \"a.mp4\",\n \"Owner\": {\n \"Id\": \"6b6ef043-85f3-4614-b735-768bb466ae5b\",\n \"Type\": \"PERSON\"\n },\n \"PresetTagSet\": [],\n \"PreviewUrl\": \"http://1xxxxx98.vod2.myqcloud.com/334751dbvodtranssh1400293698/e37cf1313877022919226xxxx/coverBySnapshot/coverBySnapshot_10_0.jpg\",\n \"
|
721
|
+
"output": "{\n \"Response\": {\n \"MaterialInfoSet\": [\n {\n \"AudioMaterial\": null,\n \"BasicInfo\": {\n \"ClassPath\": \"/素材/视频\",\n \"CreateTime\": \"2021-11-24T16:08:07Z\",\n \"MaterialId\": \"619e6367b2e891000160aaac0\",\n \"MaterialType\": \"VIDEO\",\n \"Name\": \"a.mp4\",\n \"Owner\": {\n \"Id\": \"6b6ef043-85f3-4614-b735-768bb466ae5b\",\n \"Type\": \"PERSON\"\n },\n \"PresetTagSet\": [],\n \"PreviewUrl\": \"http://1xxxxx98.vod2.myqcloud.com/334751dbvodtranssh1400293698/e37cf1313877022919226xxxx/coverBySnapshot/coverBySnapshot_10_0.jpg\",\n \"TagSet\": [],\n \"UpdateTime\": \"2021-11-24T16:08:07Z\"\n },\n \"ImageMaterial\": null,\n \"LinkMaterial\": null,\n \"OtherMaterial\": null,\n \"VideoEditTemplateMaterial\": null,\n \"VideoMaterial\": null\n },\n {\n \"AudioMaterial\": null,\n \"BasicInfo\": {\n \"ClassPath\": \"/素材/视频\",\n \"CreateTime\": \"2021-11-14T15:42:09Z\",\n \"MaterialId\": \"61912e513a2f7c0001827dddda\",\n \"MaterialType\": \"VIDEO\",\n \"Name\": \"片段1.mp4\",\n \"Owner\": {\n \"Id\": \"6b6ef043-85f3-4614-b735-768bb466ae5b\",\n \"Type\": \"PERSON\"\n },\n \"PresetTagSet\": [],\n \"PreviewUrl\": \"http://14xxxxxx98.vod2.myqcloud.com/334751dbvodtranssh1400293698/a958de3738770229144662908d/coverBySnapshot/coverBySnapshot_10_0.jpg\",\n \"TagSet\": [],\n \"UpdateTime\": \"2021-11-14T15:53:17Z\"\n },\n \"ImageMaterial\": null,\n \"LinkMaterial\": null,\n \"OtherMaterial\": null,\n \"VideoEditTemplateMaterial\": null,\n \"VideoMaterial\": null\n }\n ],\n \"ClassInfoSet\": [\n {\n \"Owner\": {\n \"Id\": \"6b6ef043-85f3-4614-b735-768bb466ae5b\",\n \"Type\": \"PERSON\"\n },\n \"ClassPath\": \"/素材/视频/体育\"\n }\n ],\n \"RequestId\": \"60d1b6f5-f3f3-440f-943d-a6c2d56341ec\",\n \"MaterialTotalCount\": 2\n }\n}",
|
722
722
|
"title": "浏览媒体"
|
723
723
|
}
|
724
724
|
],
|
@@ -818,31 +818,31 @@
|
|
818
818
|
{
|
819
819
|
"document": "",
|
820
820
|
"input": "POST / HTTP/1.1\nHost: cme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ParseEvent\n<公共请求参数>\n\n{\n \"Platform\": \"1000000009\",\n \"EventContent\": \"{\\\"EventType\\\":\\\"Class.Created\\\",\\\"Operator\\\":\\\"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\\\",\\\"MaterialImportedEvent\\\":{\\\"Owner\\\":{\\\"Id\\\":\\\"user_9949009d9d9\\\",\\\"Type\\\":\\\"PERSON\\\"},\\\"ClassPath\\\":\\\"/媒体\\\"}}\"\n}",
|
821
|
-
"output": "{\n \"Response\": {\n \"EventContent\": {\n \"EventType\": \"Class.Created\",\n \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\n \"ClassCreatedEvent\": {\n \"Owner\": {\n \"Id\": \"user_9949009d9d9\",\n \"Type\": \"PERSON\"\n },\n \"ClassPath\": \"/媒体\"\n },\n \"ProjectStreamConnectStatusChangedEvent\": {\n \"ProjectId\": \"\",\n \"Status\": \"\",\n \"InputInterruptInfo\": null,\n \"OutputInterruptInfo\": null\n },\n \"StorageNewFileCreatedEvent\": {\n \"FileId\": \"\",\n \"MaterialId\": \"\",\n \"
|
821
|
+
"output": "{\n \"Response\": {\n \"EventContent\": {\n \"EventType\": \"Class.Created\",\n \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\n \"ClassCreatedEvent\": {\n \"Owner\": {\n \"Id\": \"user_9949009d9d9\",\n \"Type\": \"PERSON\"\n },\n \"ClassPath\": \"/媒体\"\n },\n \"ProjectStreamConnectStatusChangedEvent\": {\n \"ProjectId\": \"\",\n \"Status\": \"\",\n \"InputInterruptInfo\": null,\n \"OutputInterruptInfo\": null\n },\n \"StorageNewFileCreatedEvent\": {\n \"FileId\": \"\",\n \"MaterialId\": \"\",\n \"OperationType\": \"\",\n \"Owner\": {\n \"Type\": \"\",\n \"Id\": \"\"\n },\n \"ClassPath\": \"\",\n \"TaskId\": \"\",\n \"SourceContext\": \"\"\n },\n \"ProjectSwitcherStatusChangedEvent\": null,\n \"MaterialImportedEvent\": null,\n \"MaterialAddedEvent\": null,\n \"MaterialMovedEvent\": null,\n \"MaterialModifiedEvent\": null,\n \"MaterialDeletedEvent\": null,\n \"ClassMovedEvent\": null,\n \"ClassDeletedEvent\": null,\n \"VideoExportCompletedEvent\": null,\n \"ProjectMediaCastStatusChangedEvent\": null\n },\n \"RequestId\": \"946c2480-a14f-4d18-8a09-31a45cbd21af\"\n }\n}",
|
822
822
|
"title": "分析分类创建事件内容"
|
823
823
|
},
|
824
824
|
{
|
825
825
|
"document": "",
|
826
826
|
"input": "POST / HTTP/1.1\nHost: cme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ParseEvent\n<公共请求参数>\n\n{\n \"Platform\": \"1000000009\",\n \"EventContent\": \"{\\\"EventType\\\":\\\"Material.Imported\\\",\\\"Operator\\\":\\\"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\\\",\\\"MaterialImportedEvent\\\":{\\\"MediaInfoSet\\\":[\\\"9dd28590d08987ujd795d\\\",\\\"rdd28590d08187ujd7095d\\\"],\\\"Owner\\\":{\\\"Id\\\":\\\"user_9949009d9d9\\\",\\\"Type\\\":\\\"PERSON\\\"},\\\"ClassPath\\\":\\\"/媒体\\\"}}\"\n}",
|
827
|
-
"output": "{\n \"Response\": {\n \"EventContent\": {\n \"EventType\": \"Material.Imported\",\n \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\n \"MaterialImportedEvent\": {\n \"MediaInfoSet\": [\n {\n \"MaterialId\": \"9dd28590d08987ujd795d\"\n },\n {\n \"MaterialId\": \"rdd28590d08187ujd7095d\"\n }\n ],\n \"Owner\": {\n \"Id\": \"user_9949009d9d9\",\n \"Type\": \"PERSON\"\n },\n \"ClassPath\": \"/媒体\"\n },\n \"ProjectStreamConnectStatusChangedEvent\": {\n \"ProjectId\": \"\",\n \"Status\": \"\",\n \"InputInterruptInfo\": null,\n \"OutputInterruptInfo\": null\n },\n \"StorageNewFileCreatedEvent\": {\n \"FileId\": \"\",\n \"MaterialId\": \"\",\n \"
|
827
|
+
"output": "{\n \"Response\": {\n \"EventContent\": {\n \"EventType\": \"Material.Imported\",\n \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\n \"MaterialImportedEvent\": {\n \"MediaInfoSet\": [\n {\n \"MaterialId\": \"9dd28590d08987ujd795d\"\n },\n {\n \"MaterialId\": \"rdd28590d08187ujd7095d\"\n }\n ],\n \"Owner\": {\n \"Id\": \"user_9949009d9d9\",\n \"Type\": \"PERSON\"\n },\n \"ClassPath\": \"/媒体\"\n },\n \"ProjectStreamConnectStatusChangedEvent\": {\n \"ProjectId\": \"\",\n \"Status\": \"\",\n \"InputInterruptInfo\": null,\n \"OutputInterruptInfo\": null\n },\n \"StorageNewFileCreatedEvent\": {\n \"FileId\": \"\",\n \"MaterialId\": \"\",\n \"OperationType\": \"\",\n \"Owner\": {\n \"Type\": \"\",\n \"Id\": \"\"\n },\n \"ClassPath\": \"\",\n \"TaskId\": \"\",\n \"SourceContext\": \"\"\n },\n \"ProjectSwitcherStatusChangedEvent\": null,\n \"MaterialAddedEvent\": null,\n \"MaterialMovedEvent\": null,\n \"MaterialModifiedEvent\": null,\n \"MaterialDeletedEvent\": null,\n \"ClassCreatedEvent\": null,\n \"ClassMovedEvent\": null,\n \"ClassDeletedEvent\": null,\n \"VideoExportCompletedEvent\": null,\n \"ProjectMediaCastStatusChangedEvent\": null\n },\n \"RequestId\": \"946c2480-a14f-4d18-8a09-31a45cbd21af\"\n }\n}",
|
828
828
|
"title": "分析媒体导入事件内容"
|
829
829
|
},
|
830
830
|
{
|
831
831
|
"document": "",
|
832
|
-
"input": "POST / HTTP/1.1\nHost: cme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ParseEvent\n<公共请求参数>\n\n{\n \"Platform\": \"1000000009\",\n \"EventContent\": \"{\\\"EventType\\\":\\\"Storage.NewFileCreated\\\",\\\"Operator\\\":\\\"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\\\",\\\"StorageNewFileCreatedEvent\\\":{\\\"FileId\\\":\\\"5285890818667693851\\\",\\\"MaterialId\\\":\\\"60a75c1c30fcbe0001cc09d5\\\",\\\"
|
833
|
-
"output": "{\n \"Response\": {\n \"EventContent\": {\n \"EventType\": \"Storage.NewFileCreated\",\n \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\n \"StorageNewFileCreatedEvent\": {\n \"FileId\": \"85890818667698972737\",\n \"MaterialId\": \"60a75c1c30fcbe00093ikd93k\",\n \"
|
832
|
+
"input": "POST / HTTP/1.1\nHost: cme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ParseEvent\n<公共请求参数>\n\n{\n \"Platform\": \"1000000009\",\n \"EventContent\": \"{\\\"EventType\\\":\\\"Storage.NewFileCreated\\\",\\\"Operator\\\":\\\"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\\\",\\\"StorageNewFileCreatedEvent\\\":{\\\"FileId\\\":\\\"5285890818667693851\\\",\\\"MaterialId\\\":\\\"60a75c1c30fcbe0001cc09d5\\\",\\\"OperationType\\\":\\\"Upload\\\",\\\"Owner\\\":{\\\"Type\\\":\\\"PERSON\\\",\\\"Id\\\":\\\"3fa6b09e-05c6-433e-bc1e-6457d264f1dd\\\"},\\\"ClassPath\\\":\\\"/媒体\\\"}}\"\n}",
|
833
|
+
"output": "{\n \"Response\": {\n \"EventContent\": {\n \"EventType\": \"Storage.NewFileCreated\",\n \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\n \"StorageNewFileCreatedEvent\": {\n \"FileId\": \"85890818667698972737\",\n \"MaterialId\": \"60a75c1c30fcbe00093ikd93k\",\n \"OperationType\": \"Upload\",\n \"Owner\": {\n \"Type\": \"PERSON\",\n \"Id\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\"\n },\n \"ClassPath\": \"/媒体\",\n \"TaskId\": \"\",\n \"SourceContext\": \"\"\n },\n \"ProjectStreamConnectStatusChangedEvent\": {\n \"ProjectId\": \"\",\n \"Status\": \"\",\n \"InputInterruptInfo\": null,\n \"OutputInterruptInfo\": null\n },\n \"ProjectSwitcherStatusChangedEvent\": null,\n \"MaterialImportedEvent\": null,\n \"MaterialAddedEvent\": null,\n \"MaterialMovedEvent\": null,\n \"MaterialModifiedEvent\": null,\n \"MaterialDeletedEvent\": null,\n \"ClassCreatedEvent\": null,\n \"ClassMovedEvent\": null,\n \"ClassDeletedEvent\": null,\n \"VideoExportCompletedEvent\": null,\n \"ProjectMediaCastStatusChangedEvent\": null\n },\n \"RequestId\": \"946c2480-a14f-4d18-8a09-31a45cbd21af\"\n }\n}",
|
834
834
|
"title": "分析新文件产生事件内容"
|
835
835
|
},
|
836
836
|
{
|
837
837
|
"document": "",
|
838
838
|
"input": "POST / HTTP/1.1\nHost: cme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ParseEvent\n<公共请求参数>\n\n{\n \"Platform\": \"1000000009\",\n \"EventContent\": \"{\\\"EventType\\\":\\\"Project.StreamConnect.StatusChanged\\\",\\\"Operator\\\":\\\"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\\\",\\\"ProjectStreamConnectStatusChangedEvent\\\":{\\\"ProjectId\\\":\\\"5285890818667693851\\\",\\\"Status\\\":\\\"Working\\\"}}\"\n}",
|
839
|
-
"output": "{\n \"Response\": {\n \"EventContent\": {\n \"EventType\": \"Project.StreamConnect.StatusChanged\",\n \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\n \"ProjectStreamConnectStatusChangedEvent\": {\n \"ProjectId\": \"5285890818667693851\",\n \"Status\": \"Working\",\n \"InputInterruptInfo\": null,\n \"OutputInterruptInfo\": null\n },\n \"StorageNewFileCreatedEvent\": {\n \"FileId\": \"\",\n \"MaterialId\": \"\",\n \"
|
839
|
+
"output": "{\n \"Response\": {\n \"EventContent\": {\n \"EventType\": \"Project.StreamConnect.StatusChanged\",\n \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\n \"ProjectStreamConnectStatusChangedEvent\": {\n \"ProjectId\": \"5285890818667693851\",\n \"Status\": \"Working\",\n \"InputInterruptInfo\": null,\n \"OutputInterruptInfo\": null\n },\n \"StorageNewFileCreatedEvent\": {\n \"FileId\": \"\",\n \"MaterialId\": \"\",\n \"OperationType\": \"\",\n \"Owner\": {\n \"Type\": \"\",\n \"Id\": \"\"\n },\n \"ClassPath\": \"\",\n \"TaskId\": \"\",\n \"SourceContext\": \"\"\n },\n \"ProjectSwitcherStatusChangedEvent\": null,\n \"MaterialImportedEvent\": null,\n \"MaterialAddedEvent\": null,\n \"MaterialMovedEvent\": null,\n \"MaterialModifiedEvent\": null,\n \"MaterialDeletedEvent\": null,\n \"ClassCreatedEvent\": null,\n \"ClassMovedEvent\": null,\n \"ClassDeletedEvent\": null,\n \"VideoExportCompletedEvent\": null,\n \"ProjectMediaCastStatusChangedEvent\": null\n },\n \"RequestId\": \"946c2480-a14f-4d18-8a09-31a45cbd21af\"\n }\n}",
|
840
840
|
"title": "分析云转推项目状态变更事件内容"
|
841
841
|
},
|
842
842
|
{
|
843
843
|
"document": "",
|
844
844
|
"input": "POST / HTTP/1.1\nHost: cme.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ParseEvent\n<公共请求参数>\n\n{\n \"Platform\": \"1000000009\",\n \"EventContent\": \"{\\\"EventType\\\":\\\"Project.Switcher.StatusChanged\\\",\\\"Operator\\\":\\\"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\\\",\\\"ProjectSwitcherStatusChangedEvent\\\":{\\\"ProjectId\\\":\\\"add28590d08187ujd7695d\\\",\\\"Status\\\":\\\"Started\\\"}}\"\n}",
|
845
|
-
"output": "{\n \"Response\": {\n \"EventContent\": {\n \"EventType\": \"Project.Switcher.StatusChanged\",\n \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\n \"ProjectSwitcherStatusChangedEvent\": {\n \"ProjectId\": \"add28590d08187ujd7695d\",\n \"Status\": \"Started\"\n },\n \"ProjectStreamConnectStatusChangedEvent\": {\n \"ProjectId\": \"\",\n \"Status\": \"\",\n \"InputInterruptInfo\": null,\n \"OutputInterruptInfo\": null\n },\n \"StorageNewFileCreatedEvent\": {\n \"FileId\": \"\",\n \"MaterialId\": \"\",\n \"
|
845
|
+
"output": "{\n \"Response\": {\n \"EventContent\": {\n \"EventType\": \"Project.Switcher.StatusChanged\",\n \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\n \"ProjectSwitcherStatusChangedEvent\": {\n \"ProjectId\": \"add28590d08187ujd7695d\",\n \"Status\": \"Started\"\n },\n \"ProjectStreamConnectStatusChangedEvent\": {\n \"ProjectId\": \"\",\n \"Status\": \"\",\n \"InputInterruptInfo\": null,\n \"OutputInterruptInfo\": null\n },\n \"StorageNewFileCreatedEvent\": {\n \"FileId\": \"\",\n \"MaterialId\": \"\",\n \"OperationType\": \"\",\n \"Owner\": {\n \"Type\": \"\",\n \"Id\": \"\"\n },\n \"ClassPath\": \"\",\n \"TaskId\": \"\",\n \"SourceContext\": \"\"\n },\n \"MaterialImportedEvent\": null,\n \"MaterialAddedEvent\": null,\n \"MaterialMovedEvent\": null,\n \"MaterialModifiedEvent\": null,\n \"MaterialDeletedEvent\": null,\n \"ClassCreatedEvent\": null,\n \"ClassMovedEvent\": null,\n \"ClassDeletedEvent\": null,\n \"VideoExportCompletedEvent\": null,\n \"ProjectMediaCastStatusChangedEvent\": null\n },\n \"RequestId\": \"946c2480-a14f-4d18-8a09-31a45cbd21af\"\n }\n}",
|
846
846
|
"title": "分析导播台项目状态变更事件内容"
|
847
847
|
}
|
848
848
|
],
|
tccli/services/dlc/dlc_client.py
CHANGED
@@ -4593,6 +4593,58 @@ def doDescribeDatasourceConnection(args, parsed_globals):
|
|
4593
4593
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4594
4594
|
|
4595
4595
|
|
4596
|
+
def doDescribeTablePartitions(args, parsed_globals):
|
4597
|
+
g_param = parse_global_arg(parsed_globals)
|
4598
|
+
|
4599
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
4600
|
+
cred = credential.CVMRoleCredential()
|
4601
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
4602
|
+
cred = credential.STSAssumeRoleCredential(
|
4603
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
4604
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
4605
|
+
)
|
4606
|
+
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):
|
4607
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
4608
|
+
else:
|
4609
|
+
cred = credential.Credential(
|
4610
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
4611
|
+
)
|
4612
|
+
http_profile = HttpProfile(
|
4613
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
4614
|
+
reqMethod="POST",
|
4615
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
4616
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
4617
|
+
)
|
4618
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
4619
|
+
if g_param[OptionsDefine.Language]:
|
4620
|
+
profile.language = g_param[OptionsDefine.Language]
|
4621
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
4622
|
+
client = mod.DlcClient(cred, g_param[OptionsDefine.Region], profile)
|
4623
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
4624
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
4625
|
+
model = models.DescribeTablePartitionsRequest()
|
4626
|
+
model.from_json_string(json.dumps(args))
|
4627
|
+
start_time = time.time()
|
4628
|
+
while True:
|
4629
|
+
rsp = client.DescribeTablePartitions(model)
|
4630
|
+
result = rsp.to_json_string()
|
4631
|
+
try:
|
4632
|
+
json_obj = json.loads(result)
|
4633
|
+
except TypeError as e:
|
4634
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
4635
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
4636
|
+
break
|
4637
|
+
cur_time = time.time()
|
4638
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
4639
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
4640
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
4641
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
4642
|
+
else:
|
4643
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
4644
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
4645
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
4646
|
+
|
4647
|
+
|
4596
4648
|
def doCheckDataEngineImageCanBeRollback(args, parsed_globals):
|
4597
4649
|
g_param = parse_global_arg(parsed_globals)
|
4598
4650
|
|
@@ -7760,6 +7812,7 @@ ACTION_MAP = {
|
|
7760
7812
|
"CreateCHDFSBindingProduct": doCreateCHDFSBindingProduct,
|
7761
7813
|
"QueryInternalTableWarehouse": doQueryInternalTableWarehouse,
|
7762
7814
|
"DescribeDatasourceConnection": doDescribeDatasourceConnection,
|
7815
|
+
"DescribeTablePartitions": doDescribeTablePartitions,
|
7763
7816
|
"CheckDataEngineImageCanBeRollback": doCheckDataEngineImageCanBeRollback,
|
7764
7817
|
"CancelSparkSessionBatchSQL": doCancelSparkSessionBatchSQL,
|
7765
7818
|
"DescribeTaskLog": doDescribeTaskLog,
|
@@ -630,6 +630,13 @@
|
|
630
630
|
"output": "DescribeTableResponse",
|
631
631
|
"status": "online"
|
632
632
|
},
|
633
|
+
"DescribeTablePartitions": {
|
634
|
+
"document": "本接口(DescribeTablePartitions)用于查询数据表分区信息",
|
635
|
+
"input": "DescribeTablePartitionsRequest",
|
636
|
+
"name": "查询表分区信息",
|
637
|
+
"output": "DescribeTablePartitionsResponse",
|
638
|
+
"status": "online"
|
639
|
+
},
|
633
640
|
"DescribeTables": {
|
634
641
|
"document": "本接口(DescribeTables)用于查询数据表列表。",
|
635
642
|
"input": "DescribeTablesRequest",
|
@@ -9592,6 +9599,15 @@
|
|
9592
9599
|
"name": "Asc",
|
9593
9600
|
"required": false,
|
9594
9601
|
"type": "bool"
|
9602
|
+
},
|
9603
|
+
{
|
9604
|
+
"disabled": false,
|
9605
|
+
"document": "查询类型:all:全部数据(默认)、permission:有权限的数据\n注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。",
|
9606
|
+
"example": "default",
|
9607
|
+
"member": "string",
|
9608
|
+
"name": "DescribeType",
|
9609
|
+
"required": false,
|
9610
|
+
"type": "string"
|
9595
9611
|
}
|
9596
9612
|
],
|
9597
9613
|
"type": "object"
|
@@ -11115,6 +11131,23 @@
|
|
11115
11131
|
],
|
11116
11132
|
"type": "object"
|
11117
11133
|
},
|
11134
|
+
"DescribeTablePartitionsRequest": {
|
11135
|
+
"document": "DescribeTablePartitions请求参数结构体",
|
11136
|
+
"members": [],
|
11137
|
+
"type": "object"
|
11138
|
+
},
|
11139
|
+
"DescribeTablePartitionsResponse": {
|
11140
|
+
"document": "DescribeTablePartitions返回参数结构体",
|
11141
|
+
"members": [
|
11142
|
+
{
|
11143
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
11144
|
+
"member": "string",
|
11145
|
+
"name": "RequestId",
|
11146
|
+
"type": "string"
|
11147
|
+
}
|
11148
|
+
],
|
11149
|
+
"type": "object"
|
11150
|
+
},
|
11118
11151
|
"DescribeTableRequest": {
|
11119
11152
|
"document": "DescribeTable请求参数结构体",
|
11120
11153
|
"members": [
|
@@ -11408,6 +11441,15 @@
|
|
11408
11441
|
"name": "TableFormat",
|
11409
11442
|
"required": false,
|
11410
11443
|
"type": "string"
|
11444
|
+
},
|
11445
|
+
{
|
11446
|
+
"disabled": false,
|
11447
|
+
"document": "查询类型:all:全部数据(默认)、permission:有权限的数据\n注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。",
|
11448
|
+
"example": "all",
|
11449
|
+
"member": "string",
|
11450
|
+
"name": "DescribeType",
|
11451
|
+
"required": false,
|
11452
|
+
"type": "string"
|
11411
11453
|
}
|
11412
11454
|
],
|
11413
11455
|
"type": "object"
|
@@ -12713,6 +12755,15 @@
|
|
12713
12755
|
"name": "EndTime",
|
12714
12756
|
"required": false,
|
12715
12757
|
"type": "string"
|
12758
|
+
},
|
12759
|
+
{
|
12760
|
+
"disabled": false,
|
12761
|
+
"document": "查询类型:all:全部数据(默认)、permission:有权限的数据\n注意:此字段需要开启白名单使用,如果需要使用,请提交工单联系我们。",
|
12762
|
+
"example": "all",
|
12763
|
+
"member": "string",
|
12764
|
+
"name": "DescribeType",
|
12765
|
+
"required": false,
|
12766
|
+
"type": "string"
|
12716
12767
|
}
|
12717
12768
|
],
|
12718
12769
|
"type": "object"
|