tccli 3.0.1325.1__py2.py3-none-any.whl → 3.0.1327.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.
Files changed (56) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/ams/v20201229/api.json +9 -9
  3. tccli/services/cdb/v20170320/api.json +9 -9
  4. tccli/services/cdc/v20201214/api.json +5 -5
  5. tccli/services/cfs/v20190719/api.json +19 -19
  6. tccli/services/cfs/v20190719/examples.json +2 -2
  7. tccli/services/clb/clb_client.py +53 -0
  8. tccli/services/clb/v20180317/api.json +100 -0
  9. tccli/services/clb/v20180317/examples.json +8 -0
  10. tccli/services/cme/v20191029/api.json +16 -19
  11. tccli/services/cme/v20191029/examples.json +12 -12
  12. tccli/services/dlc/dlc_client.py +53 -0
  13. tccli/services/dlc/v20210125/api.json +51 -0
  14. tccli/services/dlc/v20210125/examples.json +8 -0
  15. tccli/services/domain/v20180808/api.json +1 -1
  16. tccli/services/emr/v20190103/api.json +29 -0
  17. tccli/services/es/es_client.py +4 -57
  18. tccli/services/es/v20250101/api.json +0 -207
  19. tccli/services/es/v20250101/examples.json +0 -8
  20. tccli/services/ess/v20201111/api.json +4 -4
  21. tccli/services/essbasic/v20210526/api.json +1 -1
  22. tccli/services/gs/gs_client.py +269 -4
  23. tccli/services/gs/v20191118/api.json +412 -7
  24. tccli/services/gs/v20191118/examples.json +42 -2
  25. tccli/services/hai/v20230812/api.json +5 -5
  26. tccli/services/lke/lke_client.py +0 -53
  27. tccli/services/lke/v20231130/api.json +0 -113
  28. tccli/services/lke/v20231130/examples.json +0 -8
  29. tccli/services/lkeap/v20240522/api.json +1 -1
  30. tccli/services/lowcode/v20210108/api.json +60 -0
  31. tccli/services/monitor/monitor_client.py +170 -11
  32. tccli/services/monitor/v20180724/api.json +205 -1
  33. tccli/services/monitor/v20180724/examples.json +24 -0
  34. tccli/services/mrs/v20200910/api.json +4 -4
  35. tccli/services/oceanus/v20190422/api.json +15 -5
  36. tccli/services/oceanus/v20190422/examples.json +8 -2
  37. tccli/services/postgres/postgres_client.py +0 -53
  38. tccli/services/postgres/v20170312/api.json +0 -235
  39. tccli/services/postgres/v20170312/examples.json +0 -8
  40. tccli/services/privatedns/privatedns_client.py +53 -0
  41. tccli/services/privatedns/v20201028/api.json +180 -1
  42. tccli/services/privatedns/v20201028/examples.json +8 -0
  43. tccli/services/pts/v20210728/api.json +18 -0
  44. tccli/services/redis/v20180412/api.json +1 -1
  45. tccli/services/tcss/v20201101/api.json +190 -32
  46. tccli/services/tcss/v20201101/examples.json +6 -6
  47. tccli/services/tms/v20201229/api.json +2 -2
  48. tccli/services/tms/v20201229/examples.json +1 -1
  49. tccli/services/vm/v20210922/api.json +13 -13
  50. tccli/services/vm/v20210922/examples.json +2 -2
  51. tccli/services/vpc/v20170312/api.json +2 -2
  52. {tccli-3.0.1325.1.dist-info → tccli-3.0.1327.1.dist-info}/METADATA +2 -2
  53. {tccli-3.0.1325.1.dist-info → tccli-3.0.1327.1.dist-info}/RECORD +56 -56
  54. {tccli-3.0.1325.1.dist-info → tccli-3.0.1327.1.dist-info}/WHEEL +0 -0
  55. {tccli-3.0.1325.1.dist-info → tccli-3.0.1327.1.dist-info}/entry_points.txt +0 -0
  56. {tccli-3.0.1325.1.dist-info → tccli-3.0.1327.1.dist-info}/license_files/LICENSE +0 -0
@@ -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>云转推项目:用于直播云转推<font color=red>(废弃,可使用媒体转推项目替代)</font>;</li>\n<li>媒体转推项目:用于媒体文件转直播输出。</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": false,
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": false,
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": false,
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
- "required": true,
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
- "required": true,
7439
+ "output_required": true,
7443
7440
  "type": "string",
7444
7441
  "value_allowed_null": false
7445
7442
  },
7446
7443
  {
7447
- "disabled": false,
7444
+ "disabled": true,
7448
7445
  "document": "操作者 Id。(废弃,请勿使用)",
7449
7446
  "example": "3fa6b09e-05c6-433e-bc1e-6457d264f1dd",
7450
7447
  "member": "string",
7451
7448
  "name": "Operator",
7452
- "required": true,
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
- "required": true,
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
- "required": true,
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
- "required": true,
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
- "required": true,
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
- "required": true,
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 \"TagInfoSet\": [],\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}",
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 \"TagInfoSet\": [],\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}",
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 \"TagInfoSet\": [],\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}",
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 \"TagInfoSet\": [],\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}",
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 \"TagInfoSet\": [],\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 \"TagInfoSet\": [],\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}",
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 \"Operator\": \"\",\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}",
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 \"Operator\": \"\",\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}",
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\\\",\\\"Operator\\\":\\\"3fa6b09e-05c6-433e-bc1e-6457d264f1dd\\\",\\\"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 \"Operator\": \"3fa6b09e-05c6-433e-bc1e-6457d290d9d9\",\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}",
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 \"Operator\": \"\",\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}",
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 \"Operator\": \"\",\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}",
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
  ],
@@ -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"
@@ -732,6 +732,14 @@
732
732
  "title": "查询表信息"
733
733
  }
734
734
  ],
735
+ "DescribeTablePartitions": [
736
+ {
737
+ "document": "示例一",
738
+ "input": "POST / HTTP/1.1\nHost: dlc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTablePartitions\n<公共请求参数>\n\n{}",
739
+ "output": "{\n \"Response\": {\n \"RequestId\": \"8d15ab5d-164f-462a-b82c-ead5891c3b6c\"\n }\n}",
740
+ "title": "示例一"
741
+ }
742
+ ],
735
743
  "DescribeTables": [
736
744
  {
737
745
  "document": "查询数据表列表。",
@@ -1549,7 +1549,7 @@
1549
1549
  "members": [
1550
1550
  {
1551
1551
  "disabled": false,
1552
- "document": "域名ID\n可通过DescribeDomainList接口获取",
1552
+ "document": "域名ID\n可通过[DescribeDomainNameList](https://cloud.tencent.com/document/api/242/48941)接口获取",
1553
1553
  "example": "domain-ewqdskla",
1554
1554
  "member": "string",
1555
1555
  "name": "DomainId",
@@ -812,6 +812,16 @@
812
812
  "type": "list",
813
813
  "value_allowed_null": true
814
814
  },
815
+ {
816
+ "disabled": false,
817
+ "document": "流程id。大于0表示启动了流程;等于0表示没有启动流程",
818
+ "example": "123",
819
+ "member": "int64",
820
+ "name": "FlowId",
821
+ "output_required": false,
822
+ "type": "int",
823
+ "value_allowed_null": false
824
+ },
815
825
  {
816
826
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
817
827
  "member": "string",
@@ -10800,6 +10810,15 @@
10800
10810
  "name": "Enable",
10801
10811
  "required": false,
10802
10812
  "type": "string"
10813
+ },
10814
+ {
10815
+ "disabled": false,
10816
+ "document": "事件Json模板",
10817
+ "example": " [{ \"StrategyMeta\":{ \"type\": \"AND\" }, \"StrategyList\":[{\"metricName\":\"elapsedtime\",\"Value\":10,\"opType\":\">=\",\"id\":\"0\"}], \"StrategyLabels\":[{\"labelKey\":\"queue\",\"labelValue\":[\"root\",\"root.default\"]}] }]",
10818
+ "member": "string",
10819
+ "name": "SettingsJson",
10820
+ "required": false,
10821
+ "type": "string"
10803
10822
  }
10804
10823
  ],
10805
10824
  "usage": "in"
@@ -14366,6 +14385,16 @@
14366
14385
  "output_required": true,
14367
14386
  "type": "string",
14368
14387
  "value_allowed_null": false
14388
+ },
14389
+ {
14390
+ "disabled": false,
14391
+ "document": "StoreFile数量",
14392
+ "example": "10",
14393
+ "member": "float",
14394
+ "name": "StoreFileNum",
14395
+ "output_required": false,
14396
+ "type": "float",
14397
+ "value_allowed_null": false
14369
14398
  }
14370
14399
  ],
14371
14400
  "usage": "out"