tccli 3.0.1138.1__py2.py3-none-any.whl → 3.0.1139.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/aiart/aiart_client.py +53 -0
  4. tccli/services/aiart/v20221229/api.json +98 -0
  5. tccli/services/aiart/v20221229/examples.json +8 -0
  6. tccli/services/cbs/v20170312/api.json +5 -8
  7. tccli/services/cls/v20201016/api.json +20 -0
  8. tccli/services/cwp/cwp_client.py +61 -114
  9. tccli/services/cwp/v20180228/api.json +0 -70
  10. tccli/services/cwp/v20180228/examples.json +0 -8
  11. tccli/services/emr/v20190103/api.json +534 -15
  12. tccli/services/emr/v20190103/examples.json +4 -4
  13. tccli/services/ess/v20201111/api.json +2 -2
  14. tccli/services/essbasic/v20210526/api.json +1 -1
  15. tccli/services/ims/v20201229/api.json +2 -2
  16. tccli/services/ioa/v20220601/api.json +132 -92
  17. tccli/services/mps/v20190612/api.json +163 -115
  18. tccli/services/mps/v20190612/examples.json +11 -11
  19. tccli/services/ocr/v20181119/api.json +19 -0
  20. tccli/services/rum/v20210622/api.json +1 -0
  21. tccli/services/scf/v20180416/examples.json +1 -1
  22. tccli/services/ssl/ssl_client.py +53 -0
  23. tccli/services/ssl/v20191205/api.json +80 -0
  24. tccli/services/ssl/v20191205/examples.json +8 -0
  25. tccli/services/tdmq/v20200217/api.json +164 -17
  26. tccli/services/tdmq/v20200217/examples.json +6 -6
  27. tccli/services/vclm/__init__.py +4 -0
  28. tccli/services/vclm/v20240523/api.json +695 -0
  29. tccli/services/vclm/v20240523/examples.json +73 -0
  30. tccli/services/vclm/vclm_client.py +513 -0
  31. tccli/services/vdb/v20230616/api.json +20 -0
  32. {tccli-3.0.1138.1.dist-info → tccli-3.0.1139.1.dist-info}/METADATA +2 -2
  33. {tccli-3.0.1138.1.dist-info → tccli-3.0.1139.1.dist-info}/RECORD +36 -32
  34. {tccli-3.0.1138.1.dist-info → tccli-3.0.1139.1.dist-info}/WHEEL +0 -0
  35. {tccli-3.0.1138.1.dist-info → tccli-3.0.1139.1.dist-info}/entry_points.txt +0 -0
  36. {tccli-3.0.1138.1.dist-info → tccli-3.0.1139.1.dist-info}/license_files/LICENSE +0 -0
@@ -382,13 +382,13 @@
382
382
  {
383
383
  "document": "获取序号从 0 开始,总共 10 个视频内容识别模板。",
384
384
  "input": "https://mps.tencentcloudapi.com/?Action=DescribeAIRecognitionTemplates\n&Offset=0\n&Limit=10\n&<公共请求参数>",
385
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AIRecognitionTemplateSet\": [\n {\n \"Definition\": 30,\n \"Name\": \"模板1\",\n \"Comment\": \"智能识别模板\",\n \"Type\": \"Preset\",\n \"FaceConfigure\": {\n \"Switch\": \"ON\",\n \"Score\": 0.0,\n \"FaceLibrary\": \"All\",\n \"DefaultLibraryLabelSet\": [\n \"xx\"\n ],\n \"UserDefineLibraryLabelSet\": [\n \"xx\"\n ]\n },\n \"OcrFullTextConfigure\": {\n \"Switch\": \"ON\"\n },\n \"OcrWordsConfigure\": {\n \"Switch\": \"OFF\",\n \"LabelSet\": []\n },\n \"AsrFullTextConfigure\": {\n \"Switch\": \"ON\",\n \"SubtitleFormat\": \"xx\"\n },\n \"AsrWordsConfigure\": {\n \"Switch\": \"OFF\",\n \"LabelSet\": []\n },\n \"CreateTime\": \"2019-01-01T12:00:00Z\",\n \"UpdateTime\": \"2019-01-01T16:00:00Z\"\n }\n ],\n \"RequestId\": \"19ae8d8e-dce3-4151-9d4b-5594384987a9\"\n }\n}",
385
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AIRecognitionTemplateSet\": [\n {\n \"Definition\": 0,\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"FaceConfigure\": {\n \"Switch\": \"abc\",\n \"Score\": 0,\n \"DefaultLibraryLabelSet\": [\n \"abc\"\n ],\n \"UserDefineLibraryLabelSet\": [\n \"abc\"\n ],\n \"FaceLibrary\": \"abc\"\n },\n \"OcrFullTextConfigure\": {\n \"Switch\": \"abc\"\n },\n \"OcrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"AsrFullTextConfigure\": {\n \"Switch\": \"abc\",\n \"SubtitleFormat\": \"abc\",\n \"SourceLanguage\": \"abc\"\n },\n \"AsrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"TranslateConfigure\": {\n \"Switch\": \"abc\",\n \"SourceLanguage\": \"abc\",\n \"DestinationLanguage\": \"abc\"\n },\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Type\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
386
386
  "title": "获取指定个数的视频内容识别模板"
387
387
  },
388
388
  {
389
389
  "document": "",
390
390
  "input": "https://mps.tencentcloudapi.com/?Action=DescribeAIRecognitionTemplates\n&Definitions.0=30\n&<公共请求参数>",
391
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AIRecognitionTemplateSet\": [\n {\n \"Definition\": 30,\n \"Name\": \"模板1\",\n \"Type\": \"Preset\",\n \"Comment\": \"智能识别模板\",\n \"FaceConfigure\": {\n \"Switch\": \"ON\",\n \"Score\": 0.0,\n \"FaceLibrary\": \"All\",\n \"DefaultLibraryLabelSet\": [\n \"xx\"\n ],\n \"UserDefineLibraryLabelSet\": [\n \"xx\"\n ]\n },\n \"OcrFullTextConfigure\": {\n \"Switch\": \"ON\"\n },\n \"OcrWordsConfigure\": {\n \"Switch\": \"OFF\",\n \"LabelSet\": [\n \"xx\"\n ]\n },\n \"AsrFullTextConfigure\": {\n \"Switch\": \"ON\",\n \"SubtitleFormat\": \"xx\"\n },\n \"AsrWordsConfigure\": {\n \"Switch\": \"OFF\",\n \"LabelSet\": [\n \"xx\"\n ]\n },\n \"CreateTime\": \"2019-01-01T12:00:00Z\",\n \"UpdateTime\": \"2019-01-01T16:00:00Z\"\n }\n ],\n \"RequestId\": \"19ae8d8e-dce3-4151-9d4b-5594384987a9\"\n }\n}",
391
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"AIRecognitionTemplateSet\": [\n {\n \"Definition\": 0,\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"FaceConfigure\": {\n \"Switch\": \"abc\",\n \"Score\": 0,\n \"DefaultLibraryLabelSet\": [\n \"abc\"\n ],\n \"UserDefineLibraryLabelSet\": [\n \"abc\"\n ],\n \"FaceLibrary\": \"abc\"\n },\n \"OcrFullTextConfigure\": {\n \"Switch\": \"abc\"\n },\n \"OcrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"AsrFullTextConfigure\": {\n \"Switch\": \"abc\",\n \"SubtitleFormat\": \"abc\",\n \"SourceLanguage\": \"abc\"\n },\n \"AsrWordsConfigure\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ]\n },\n \"TranslateConfigure\": {\n \"Switch\": \"abc\",\n \"SourceLanguage\": \"abc\",\n \"DestinationLanguage\": \"abc\"\n },\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Type\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
392
392
  "title": "获取模板 ID 为 30 的视频内容识别模板"
393
393
  }
394
394
  ],
@@ -412,13 +412,13 @@
412
412
  {
413
413
  "document": "从序号 0 开始,获取 10 个智能审核模板,包括系统默认智能审核模板。",
414
414
  "input": "https://mps.tencentcloudapi.com/?Action=DescribeContentReviewTemplates\n&Offset=0\n&Limit=10\n&<公共请求参数>",
415
- "output": "{\n \"Response\": {\n \"TotalCount\": 2,\n \"ContentReviewTemplateSet\": [\n {\n \"Definition\": 30,\n \"Name\": \"模板1\",\n \"Type\": \"Preset\",\n \"Comment\": \"智能审核模板\",\n \"PornConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [\n \"porn\"\n ],\n \"BlockConfidence\": 80,\n \"ReviewConfidence\": 30\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n }\n },\n \"TerrorismConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [\n \"bloody\"\n ],\n \"BlockConfidence\": 80,\n \"ReviewConfidence\": 30\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"OFF\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"PoliticalConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [\n \"politician\"\n ],\n \"BlockConfidence\": 80,\n \"ReviewConfidence\": 30\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n }\n },\n \"ProhibitedConfigure\": null,\n \"UserDefineConfigure\": {\n \"AsrReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [],\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [],\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n }\n },\n \"CreateTime\": \"2019-01-01T12:00:00Z\",\n \"UpdateTime\": \"2019-01-01T16:00:00Z\"\n },\n {\n \"Definition\": 31,\n \"Name\": \"模板2\",\n \"Type\": \"Preset\",\n \"Comment\": \"内容审核模板\",\n \"PornConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"OFF\"\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"OFF\"\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n }\n },\n \"TerrorismConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [],\n \"BlockConfidence\": 80,\n \"ReviewConfidence\": 30\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"OFF\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"PoliticalConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [\n \"politician\"\n ],\n \"BlockConfidence\": 80,\n \"ReviewConfidence\": 30\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n }\n },\n \"ProhibitedConfigure\": null,\n \"UserDefineConfigure\": {\n \"AsrReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [],\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [],\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n }\n },\n \"CreateTime\": \"2019-01-01T12:00:00Z\",\n \"UpdateTime\": \"2019-01-01T16:00:00Z\"\n }\n ],\n \"RequestId\": \"19ae8d8e-dce3-4151-9d4b-5594384987a9\"\n }\n}",
415
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ContentReviewTemplateSet\": [\n {\n \"Definition\": 0,\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"PornConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"TerrorismConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"PoliticalConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"ProhibitedConfigure\": {\n \"AsrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"UserDefineConfigure\": {\n \"FaceReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Type\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
416
416
  "title": "获取指定个数的智能审核模板"
417
417
  },
418
418
  {
419
419
  "document": "",
420
420
  "input": "https://mps.tencentcloudapi.com/?Action=DescribeContentReviewTemplates\n&Definitions.0=30\n&<公共请求参数>",
421
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ContentReviewTemplateSet\": [\n {\n \"Definition\": 30,\n \"Name\": \"模板1\",\n \"Type\": \"Preset\",\n \"Comment\": \"智能审核模板\",\n \"PornConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [\n \"porn\"\n ],\n \"BlockConfidence\": 80,\n \"ReviewConfidence\": 30\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n }\n },\n \"TerrorismConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [\n \"bloody\"\n ],\n \"BlockConfidence\": 80,\n \"ReviewConfidence\": 30\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"OFF\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"PoliticalConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [\n \"politician\"\n ],\n \"BlockConfidence\": 80,\n \"ReviewConfidence\": 30\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"ON\",\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n }\n },\n \"ProhibitedConfigure\": null,\n \"UserDefineConfigure\": {\n \"AsrReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [],\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"ON\",\n \"LabelSet\": [],\n \"BlockConfidence\": 100,\n \"ReviewConfidence\": 75\n }\n },\n \"CreateTime\": \"2019-01-01T12:00:00Z\",\n \"UpdateTime\": \"2019-01-01T16:00:00Z\"\n }\n ],\n \"RequestId\": \"19ae8d8e-dce3-4151-9d4b-5594384987a9\"\n }\n}",
421
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ContentReviewTemplateSet\": [\n {\n \"Definition\": 0,\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"PornConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"TerrorismConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"PoliticalConfigure\": {\n \"ImgReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"ProhibitedConfigure\": {\n \"AsrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"abc\",\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"UserDefineConfigure\": {\n \"FaceReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"AsrReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n },\n \"OcrReviewInfo\": {\n \"Switch\": \"abc\",\n \"LabelSet\": [\n \"abc\"\n ],\n \"BlockConfidence\": 0,\n \"ReviewConfidence\": 0\n }\n },\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"Type\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
422
422
  "title": "获取模板 ID 为 30 的智能审核模板"
423
423
  }
424
424
  ],
@@ -426,7 +426,7 @@
426
426
  {
427
427
  "document": "",
428
428
  "input": "https://mps.tencentcloudapi.com/?Action=DescribeImageSpriteTemplates\n&Definitions.0=10001\n&<公共请求参数>",
429
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ImageSpriteTemplateSet\": [\n {\n \"Definition\": 10001,\n \"Name\": \"雪碧图模板1\",\n \"CreateTime\": \"2018-10-01T10:00:00Z\",\n \"UpdateTime\": \"2018-10-01T10:00:00Z\",\n \"Height\": 540,\n \"SampleType\": \"Percent\",\n \"SampleInterval\": 10,\n \"RowCount\": 10,\n \"ColumnCount\": 5,\n \"ResolutionAdaptive\": \"xx\",\n \"FillType\": \"black\",\n \"Comment\": \"\",\n \"Type\": \"Preset\",\n \"Width\": 960\n }\n ],\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
429
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"ImageSpriteTemplateSet\": [\n {\n \"Definition\": 1,\n \"Type\": \"abc\",\n \"Name\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"ResolutionAdaptive\": \"abc\",\n \"SampleType\": \"abc\",\n \"SampleInterval\": 1,\n \"RowCount\": 1,\n \"ColumnCount\": 1,\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"FillType\": \"abc\",\n \"Comment\": \"abc\",\n \"Format\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
430
430
  "title": "获取雪碧图模板列表"
431
431
  }
432
432
  ],
@@ -434,7 +434,7 @@
434
434
  {
435
435
  "document": "",
436
436
  "input": "https://mps.tencentcloudapi.com/?Action=DescribeMediaMetaData\n&InputInfo.Type=COS\n&InputInfo.CosInputInfo.Bucket=TopRankVideo-125xxx88\n&InputInfo.CosInputInfo.Region=ap-chongqing\n&InputInfo.CosInputInfo.Object=/movie/201907/WildAnimal.mov\n&<公共请求参数>",
437
- "output": "{\n \"Response\": {\n \"MetaData\": {\n \"AudioDuration\": 380.9465637207031,\n \"AudioStreamSet\": [\n {\n \"Bitrate\": 95999,\n \"Codec\": \"aac\",\n \"SamplingRate\": 44100\n }\n ],\n \"Bitrate\": 409657,\n \"Container\": \"mov,mp4,m4a,3gp,3g2,mj2\",\n \"Duration\": 380.9465637207031,\n \"Height\": 360,\n \"Rotate\": 0,\n \"Size\": 19626862,\n \"VideoDuration\": 380.8804931640625,\n \"VideoStreamSet\": [\n {\n \"Bitrate\": 313658,\n \"Codec\": \"h264\",\n \"Fps\": 29,\n \"Height\": 360,\n \"Width\": 480\n }\n ],\n \"Width\": 480\n },\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
437
+ "output": "{\n \"Response\": {\n \"MetaData\": {\n \"AudioDuration\": 380.9465637207031,\n \"AudioStreamSet\": [\n {\n \"Bitrate\": 95999,\n \"Codec\": \"aac\",\n \"Codecs\": \"abc\",\n \"Loudness\": 0,\n \"Channel\": 2,\n \"SamplingRate\": 44100\n }\n ],\n \"Bitrate\": 409657,\n \"Container\": \"mov,mp4,m4a,3gp,3g2,mj2\",\n \"Duration\": 380.9465637207031,\n \"Height\": 360,\n \"Rotate\": 0,\n \"Size\": 19626862,\n \"VideoDuration\": 380.8804931640625,\n \"VideoStreamSet\": [\n {\n \"Bitrate\": 313658,\n \"Codec\": \"h264\",\n \"Codecs\": \"abc\",\n \"ColorPrimaries\": \"\",\n \"ColorSpace\": \"\",\n \"ColorTransfer\": \"\",\n \"HdrType\": \"\",\n \"Fps\": 29,\n \"Height\": 360,\n \"Width\": 480\n }\n ],\n \"Width\": 480\n },\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
438
438
  "title": "获取视频信息"
439
439
  }
440
440
  ],
@@ -450,7 +450,7 @@
450
450
  {
451
451
  "document": "",
452
452
  "input": "https://mps.tencentcloudapi.com/?Action=DescribeSampleSnapshotTemplates\n&Definitions.0=10001\n&<公共请求参数>",
453
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"SampleSnapshotTemplateSet\": [\n {\n \"Definition\": 10001,\n \"Type\": \"Custom\",\n \"Name\": \"采样截图模板1\",\n \"Comment\": \"\",\n \"CreateTime\": \"2018-10-01T10:00:00Z\",\n \"UpdateTime\": \"2018-10-01T10:00:00Z\",\n \"Format\": \"jpg\",\n \"Height\": 540,\n \"SampleType\": \"Percent\",\n \"SampleInterval\": 10,\n \"ResolutionAdaptive\": \"xx\",\n \"FillType\": \"black\",\n \"Width\": 960\n }\n ],\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
453
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"SampleSnapshotTemplateSet\": [\n {\n \"Definition\": 1,\n \"Type\": \"abc\",\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"ResolutionAdaptive\": \"abc\",\n \"Format\": \"abc\",\n \"SampleType\": \"abc\",\n \"SampleInterval\": 1,\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"FillType\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
454
454
  "title": "查询采样截图模板列表"
455
455
  }
456
456
  ],
@@ -466,7 +466,7 @@
466
466
  {
467
467
  "document": "",
468
468
  "input": "https://mps.tencentcloudapi.com/?Action=DescribeSnapshotByTimeOffsetTemplates\n&Definitions.0=10001\n&<公共请求参数>",
469
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"SnapshotByTimeOffsetTemplateSet\": [\n {\n \"Definition\": 10001,\n \"Type\": \"Custom\",\n \"Name\": \"指定时间点截图模板1\",\n \"Comment\": \"\",\n \"CreateTime\": \"2018-10-01T10:00:00Z\",\n \"UpdateTime\": \"2018-10-01T10:00:00Z\",\n \"Format\": \"jpg\",\n \"Height\": 540,\n \"Width\": 960,\n \"ResolutionAdaptive\": \"xx\",\n \"FillType\": \"black\"\n }\n ],\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
469
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"SnapshotByTimeOffsetTemplateSet\": [\n {\n \"Definition\": 1,\n \"Type\": \"abc\",\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"ResolutionAdaptive\": \"abc\",\n \"Format\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"FillType\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
470
470
  "title": "获取指定时间点截图模板列表"
471
471
  }
472
472
  ],
@@ -598,7 +598,7 @@
598
598
  {
599
599
  "document": "获取转码模板",
600
600
  "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTranscodeTemplates\n<公共请求参数>\n\n{\n \"Definitions\": [\n \"10\"\n ]\n}",
601
- "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TranscodeTemplateSet\": [\n {\n \"Definition\": \"1008\",\n \"Container\": \"mp4\",\n \"Name\": \"模板1\",\n \"Comment\": \"\",\n \"Type\": \"Preset\",\n \"RemoveVideo\": 0,\n \"RemoveAudio\": 0,\n \"VideoTemplate\": {\n \"Codec\": \"libx264\",\n \"Fps\": 24,\n \"Bitrate\": 256,\n \"ResolutionAdaptive\": \"open\",\n \"Width\": 0,\n \"Height\": 0,\n \"FillType\": \"black\",\n \"Vcrf\": 23\n },\n \"AudioTemplate\": {\n \"Codec\": \"libfdk_aac\",\n \"Bitrate\": 48,\n \"SampleRate\": 48000,\n \"AudioChannel\": 2\n },\n \"TEHDConfig\": {\n \"MaxVideoBitrate\": 1,\n \"Type\": \"TEHD-100\"\n },\n \"EnhanceConfig\": null,\n \"ContainerType\": \"Video\",\n \"CreateTime\": \"2018-10-01T10:00:00Z\",\n \"UpdateTime\": \"2018-10-01T10:00:00Z\"\n }\n ],\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
601
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"TranscodeTemplateSet\": [\n {\n \"Definition\": \"abc\",\n \"Container\": \"abc\",\n \"Name\": \"abc\",\n \"Comment\": \"abc\",\n \"Type\": \"abc\",\n \"RemoveVideo\": 0,\n \"RemoveAudio\": 0,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n },\n \"ContainerType\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\",\n \"EnhanceConfig\": {\n \"VideoEnhance\": {\n \"FrameRate\": {\n \"Switch\": \"abc\",\n \"Fps\": 1\n },\n \"SuperResolution\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\",\n \"Size\": 0\n },\n \"Hdr\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"Denoise\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ImageQualityEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ColorEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"SharpEnhance\": {\n \"Switch\": \"abc\",\n \"Intensity\": 0\n },\n \"FaceEnhance\": {\n \"Switch\": \"abc\",\n \"Intensity\": 0\n },\n \"LowLightEnhance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"ScratchRepair\": {\n \"Switch\": \"abc\",\n \"Intensity\": 0\n },\n \"ArtifactRepair\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n }\n },\n \"AudioEnhance\": {\n \"Denoise\": {\n \"Switch\": \"abc\"\n },\n \"Separate\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\",\n \"Track\": \"abc\"\n },\n \"VolumeBalance\": {\n \"Switch\": \"abc\",\n \"Type\": \"abc\"\n },\n \"Beautify\": {\n \"Switch\": \"abc\",\n \"Types\": [\n \"abc\"\n ]\n }\n }\n }\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
602
602
  "title": "获取转码模板"
603
603
  }
604
604
  ],
@@ -628,7 +628,7 @@
628
628
  {
629
629
  "document": "查询 ID 为78459的工作流。",
630
630
  "input": "https://mps.tencentcloudapi.com/?Action=DescribeWorkflows\n&WorkflowIds.0=78459\n&<公共请求参数>",
631
- "output": "{\n \"Response\": {\n \"RequestId\": \"6ca31e3a-6b8e-4b4e-9256-fdc700064ef3\",\n \"TotalCount\": 1,\n \"WorkflowInfoSet\": [\n {\n \"WorkflowId\": 78459,\n \"WorkflowName\": \"transcode-10\",\n \"Status\": \"Enabled\",\n \"Trigger\": {\n \"Type\": \"CosFileUpload\",\n \"CosFileUploadTrigger\": {\n \"Bucket\": \"TopRankVideo-125xxx88\",\n \"Region\": \"ap-chongqing\",\n \"Dir\": \"/movie/201907/\"\n }\n },\n \"OutputStorage\": {\n \"Type\": \"COS\",\n \"CosOutputStorage\": {\n \"Bucket\": \"TopRankVideo-125xxx88\",\n \"Region\": \"ap-chongqing\"\n }\n },\n \"MediaProcessTask\": {\n \"TranscodeTaskSet\": [\n {\n \"Definition\": 10,\n \"WatermarkSet\": []\n }\n ]\n },\n \"OutputDir\": \"/movie/201907/\",\n \"AiContentReviewTask\": null,\n \"AiRecognitionTask\": null,\n \"AiAnalysisTask\": null,\n \"TaskNotifyConfig\": null,\n \"TaskPriority\": 0,\n \"CreateTime\": \"2019-07-18T10:00:00Z\",\n \"UpdateTime\": \"2019-07-18T11:00:03Z\"\n }\n ]\n }\n}",
631
+ "output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"WorkflowInfoSet\": [\n {\n \"WorkflowId\": 0,\n \"WorkflowName\": \"abc\",\n \"Status\": \"abc\",\n \"Trigger\": {\n \"Type\": \"abc\",\n \"CosFileUploadTrigger\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Dir\": \"abc\",\n \"Formats\": [\n \"abc\"\n ]\n },\n \"AwsS3FileUploadTrigger\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"Dir\": \"abc\",\n \"Formats\": [\n \"abc\"\n ],\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\",\n \"AwsSQS\": {\n \"SQSRegion\": \"abc\",\n \"SQSQueueName\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n },\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"MediaProcessTask\": {\n \"TranscodeTaskSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Container\": \"abc\",\n \"RemoveVideo\": 0,\n \"RemoveAudio\": 0,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n }\n },\n \"OverrideParameter\": {\n \"Container\": \"abc\",\n \"RemoveVideo\": 1,\n \"RemoveAudio\": 1,\n \"VideoTemplate\": {\n \"Codec\": \"abc\",\n \"Fps\": 0,\n \"Bitrate\": 0,\n \"ResolutionAdaptive\": \"abc\",\n \"Width\": 1,\n \"Height\": 1,\n \"Gop\": 1,\n \"FillType\": \"abc\",\n \"Vcrf\": 1,\n \"ContentAdaptStream\": 1,\n \"SegmentType\": 0\n },\n \"AudioTemplate\": {\n \"Codec\": \"abc\",\n \"Bitrate\": 0,\n \"SampleRate\": 1,\n \"AudioChannel\": 0,\n \"StreamSelects\": [\n 0\n ]\n },\n \"TEHDConfig\": {\n \"Type\": \"abc\",\n \"MaxVideoBitrate\": 0\n },\n \"SubtitleTemplate\": {\n \"Path\": \"abc\",\n \"StreamIndex\": 0,\n \"FontType\": \"abc\",\n \"FontSize\": \"abc\",\n \"FontColor\": \"abc\",\n \"FontAlpha\": 0\n },\n \"AddonAudioStream\": [\n {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n ],\n \"StdExtInfo\": \"abc\",\n \"AddOnSubtitles\": [\n {\n \"Type\": \"abc\",\n \"Subtitle\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n }\n }\n ]\n },\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"ImageContent\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"MosaicSet\": [\n {\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\",\n \"SegmentObjectName\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n },\n \"HeadTailParameter\": {}\n }\n ],\n \"AnimatedGraphicTaskSet\": [\n {\n \"Definition\": 1,\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\"\n }\n ],\n \"SnapshotByTimeOffsetTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"ExtTimeOffsetSet\": [\n \"abc\"\n ],\n \"TimeOffsetSet\": [\n 0\n ],\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputObjectPath\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n }\n }\n ],\n \"SampleSnapshotTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputObjectPath\": \"abc\",\n \"ObjectNumberFormat\": {\n \"InitialValue\": 1,\n \"Increment\": 1,\n \"MinLength\": 1,\n \"PlaceHolder\": \"abc\"\n }\n }\n ],\n \"ImageSpriteTaskSet\": [\n {\n \"Definition\": 1,\n \"OutputObjectPath\": \"abc\",\n \"WebVttObjectName\": \"abc\"\n }\n ],\n \"AdaptiveDynamicStreamingTaskSet\": [\n {\n \"Definition\": 1,\n \"WatermarkSet\": [\n {\n \"Definition\": 1,\n \"RawParameter\": {\n \"Type\": \"abc\",\n \"CoordinateOrigin\": \"abc\",\n \"XPos\": \"abc\",\n \"YPos\": \"abc\",\n \"ImageTemplate\": {\n \"ImageContent\": {\n \"Type\": \"abc\",\n \"CosInputInfo\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\",\n \"Object\": \"abc\"\n },\n \"UrlInputInfo\": {\n \"Url\": \"abc\"\n },\n \"S3InputInfo\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3Object\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"Width\": \"abc\",\n \"Height\": \"abc\",\n \"RepeatType\": \"abc\"\n }\n },\n \"TextContent\": \"abc\",\n \"SvgContent\": \"abc\",\n \"StartTimeOffset\": 0,\n \"EndTimeOffset\": 0\n }\n ],\n \"OutputStorage\": {\n \"Type\": \"abc\",\n \"CosOutputStorage\": {\n \"Bucket\": \"abc\",\n \"Region\": \"abc\"\n },\n \"S3OutputStorage\": {\n \"S3Bucket\": \"abc\",\n \"S3Region\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n }\n },\n \"OutputObjectPath\": \"abc\",\n \"SubStreamObjectName\": \"abc\",\n \"SegmentObjectName\": \"abc\",\n \"AddOnSubtitles\": [\n {\n \"Type\": \"abc\"\n }\n ],\n \"DrmInfo\": {\n \"Type\": \"abc\",\n \"SimpleAesDrm\": {\n \"Uri\": \"abc\",\n \"Key\": \"abc\",\n \"Vector\": \"abc\"\n }\n },\n \"DefinitionType\": \"abc\"\n }\n ]\n },\n \"AiContentReviewTask\": {\n \"Definition\": 1\n },\n \"AiAnalysisTask\": {\n \"Definition\": 1,\n \"ExtendedParameter\": \"abc\"\n },\n \"AiRecognitionTask\": {\n \"Definition\": 1\n },\n \"TaskNotifyConfig\": {\n \"NotifyType\": \"abc\",\n \"NotifyMode\": \"abc\",\n \"NotifyUrl\": \"abc\",\n \"CmqModel\": \"abc\",\n \"CmqRegion\": \"abc\",\n \"TopicName\": \"abc\",\n \"QueueName\": \"abc\",\n \"AwsSQS\": {\n \"SQSRegion\": \"abc\",\n \"SQSQueueName\": \"abc\",\n \"S3SecretId\": \"abc\",\n \"S3SecretKey\": \"abc\"\n },\n \"NotifyKey\": \"abc\"\n },\n \"TaskPriority\": 0,\n \"OutputDir\": \"abc\",\n \"CreateTime\": \"abc\",\n \"UpdateTime\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
632
632
  "title": "查询特定工作流"
633
633
  }
634
634
  ],
@@ -845,7 +845,7 @@
845
845
  "ModifyTranscodeTemplate": [
846
846
  {
847
847
  "document": "",
848
- "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTranscodeTemplate\n<公共请求参数>\n\n{\n \"Definition\": 1008,\n \"Container\": \"mp4\",\n \"VideoTemplate\": {\n \"Codec\": \"libx264\",\n \"Bitrate\": 256,\n \"Fps\": 60\n },\n \"AudioTemplate\": {\n \"SampleRate\": 48000,\n \"Codec\": \"libfdk_aac\",\n \"Bitrate\": 200\n }\n}",
848
+ "input": "POST / HTTP/1.1\nHost: mps.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyTranscodeTemplate\n<公共请求参数>\n\n{\n \"Definition\": 1008,\n \"Container\": \"mp4\",\n \"VideoTemplate\": {\n \"Codec\": \"h264\",\n \"Bitrate\": 256,\n \"Fps\": 60\n },\n \"AudioTemplate\": {\n \"SampleRate\": 48000,\n \"Codec\": \"aac\",\n \"Bitrate\": 200\n }\n}",
849
849
  "output": "{\n \"Response\": {\n \"RequestId\": \"12ae8d8e-dce3-4151-9d4b-5594145287e1\"\n }\n}",
850
850
  "title": "修改转码模板"
851
851
  }
@@ -1621,6 +1621,15 @@
1621
1621
  "name": "EnableCopyWarn",
1622
1622
  "required": false,
1623
1623
  "type": "bool"
1624
+ },
1625
+ {
1626
+ "disabled": false,
1627
+ "document": "是否返回自动拼接的有效期,默认为true",
1628
+ "example": "无",
1629
+ "member": "bool",
1630
+ "name": "EnablePeriodComplete",
1631
+ "required": false,
1632
+ "type": "bool"
1624
1633
  }
1625
1634
  ],
1626
1635
  "type": "object"
@@ -17186,6 +17195,16 @@
17186
17195
  "output_required": true,
17187
17196
  "type": "int",
17188
17197
  "value_allowed_null": false
17198
+ },
17199
+ {
17200
+ "disabled": false,
17201
+ "document": "是否有改签费标识(0:没有,1:有)",
17202
+ "example": "无",
17203
+ "member": "int64",
17204
+ "name": "TicketChangeMark",
17205
+ "output_required": true,
17206
+ "type": "int",
17207
+ "value_allowed_null": false
17189
17208
  }
17190
17209
  ],
17191
17210
  "usage": "out"
@@ -5270,6 +5270,7 @@
5270
5270
  "example": "无",
5271
5271
  "member": "ReleaseFile",
5272
5272
  "name": "Files",
5273
+ "output_required": true,
5273
5274
  "type": "list",
5274
5275
  "value_allowed_null": false
5275
5276
  },
@@ -51,7 +51,7 @@
51
51
  "DeleteFunction": [
52
52
  {
53
53
  "document": "用户删除函数时需要使用,可指定版本与命名空间。",
54
- "input": "https://scf.tencentcloudapi.com/?Action=DeleteFunction\n&FunctionName=<FunctionName>\n&<公共请求参数>",
54
+ "input": "POST / HTTP/1.1\nHost: scf.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteFunction\n<公共请求参数>\n\n{\n \"FunctionName\": \"<FunctionName>\"\n}",
55
55
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
56
56
  "title": "删除函数"
57
57
  }
@@ -641,6 +641,58 @@ def doSubmitCertificateInformation(args, parsed_globals):
641
641
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
642
642
 
643
643
 
644
+ def doDeleteCertificates(args, parsed_globals):
645
+ g_param = parse_global_arg(parsed_globals)
646
+
647
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
648
+ cred = credential.CVMRoleCredential()
649
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
650
+ cred = credential.STSAssumeRoleCredential(
651
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
652
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
653
+ )
654
+ 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):
655
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
656
+ else:
657
+ cred = credential.Credential(
658
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
659
+ )
660
+ http_profile = HttpProfile(
661
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
662
+ reqMethod="POST",
663
+ endpoint=g_param[OptionsDefine.Endpoint],
664
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
665
+ )
666
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
667
+ if g_param[OptionsDefine.Language]:
668
+ profile.language = g_param[OptionsDefine.Language]
669
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
670
+ client = mod.SslClient(cred, g_param[OptionsDefine.Region], profile)
671
+ client._sdkVersion += ("_CLI_" + __version__)
672
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
673
+ model = models.DeleteCertificatesRequest()
674
+ model.from_json_string(json.dumps(args))
675
+ start_time = time.time()
676
+ while True:
677
+ rsp = client.DeleteCertificates(model)
678
+ result = rsp.to_json_string()
679
+ try:
680
+ json_obj = json.loads(result)
681
+ except TypeError as e:
682
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
683
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
684
+ break
685
+ cur_time = time.time()
686
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
687
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
688
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
689
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
690
+ else:
691
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
692
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
693
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
694
+
695
+
644
696
  def doDescribeHostDdosInstanceList(args, parsed_globals):
645
697
  g_param = parse_global_arg(parsed_globals)
646
698
 
@@ -3056,6 +3108,7 @@ ACTION_MAP = {
3056
3108
  "DescribePackages": doDescribePackages,
3057
3109
  "DescribeDeployedResources": doDescribeDeployedResources,
3058
3110
  "SubmitCertificateInformation": doSubmitCertificateInformation,
3111
+ "DeleteCertificates": doDeleteCertificates,
3059
3112
  "DescribeHostDdosInstanceList": doDescribeHostDdosInstanceList,
3060
3113
  "VerifyManager": doVerifyManager,
3061
3114
  "DescribeHostClbInstanceList": doDescribeHostClbInstanceList,
@@ -70,6 +70,13 @@
70
70
  "output": "DeleteCertificateResponse",
71
71
  "status": "online"
72
72
  },
73
+ "DeleteCertificates": {
74
+ "document": "批量删除证书,删除证书前支持查询证书是否关联了腾讯云云资源 (需自定义配置参数,参数名称:IsSync)",
75
+ "input": "DeleteCertificatesRequest",
76
+ "name": "批量删除证书",
77
+ "output": "DeleteCertificatesResponse",
78
+ "status": "online"
79
+ },
73
80
  "DeleteManager": {
74
81
  "document": "删除管理人",
75
82
  "input": "DeleteManagerRequest",
@@ -679,6 +686,32 @@
679
686
  ],
680
687
  "type": "object"
681
688
  },
689
+ "BatchDeleteFail": {
690
+ "document": "批量删除失败的项",
691
+ "members": [
692
+ {
693
+ "disabled": false,
694
+ "document": "失败的证书ID\n注意:此字段可能返回 null,表示取不到有效值。",
695
+ "example": "23y5RzQp",
696
+ "member": "string",
697
+ "name": "CertId",
698
+ "required": false,
699
+ "type": "string",
700
+ "value_allowed_null": true
701
+ },
702
+ {
703
+ "disabled": false,
704
+ "document": "失败的原因\n注意:此字段可能返回 null,表示取不到有效值。",
705
+ "example": "当前证书未过期,不能被删除",
706
+ "member": "string",
707
+ "name": "Msg",
708
+ "required": false,
709
+ "type": "string",
710
+ "value_allowed_null": true
711
+ }
712
+ ],
713
+ "usage": "out"
714
+ },
682
715
  "BindResourceRegionResult": {
683
716
  "document": "绑定资源地域结果",
684
717
  "members": [
@@ -2579,6 +2612,53 @@
2579
2612
  ],
2580
2613
  "type": "object"
2581
2614
  },
2615
+ "DeleteCertificatesRequest": {
2616
+ "document": "DeleteCertificates请求参数结构体",
2617
+ "members": [],
2618
+ "type": "object"
2619
+ },
2620
+ "DeleteCertificatesResponse": {
2621
+ "document": "DeleteCertificates返回参数结构体",
2622
+ "members": [
2623
+ {
2624
+ "disabled": false,
2625
+ "document": "成功的ID",
2626
+ "example": "无",
2627
+ "member": "string",
2628
+ "name": "Success",
2629
+ "output_required": true,
2630
+ "type": "list",
2631
+ "value_allowed_null": false
2632
+ },
2633
+ {
2634
+ "disabled": false,
2635
+ "document": "失败的ID和原因",
2636
+ "example": "无",
2637
+ "member": "BatchDeleteFail",
2638
+ "name": "Fail",
2639
+ "output_required": true,
2640
+ "type": "list",
2641
+ "value_allowed_null": false
2642
+ },
2643
+ {
2644
+ "disabled": false,
2645
+ "document": "证书ID和异步任务的ID",
2646
+ "example": "无",
2647
+ "member": "CertTaskId",
2648
+ "name": "CertTaskIds",
2649
+ "output_required": true,
2650
+ "type": "list",
2651
+ "value_allowed_null": false
2652
+ },
2653
+ {
2654
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2655
+ "member": "string",
2656
+ "name": "RequestId",
2657
+ "type": "string"
2658
+ }
2659
+ ],
2660
+ "type": "object"
2661
+ },
2582
2662
  "DeleteManagerRequest": {
2583
2663
  "document": "DeleteManager请求参数结构体",
2584
2664
  "members": [
@@ -86,6 +86,14 @@
86
86
  "title": "异步删除"
87
87
  }
88
88
  ],
89
+ "DeleteCertificates": [
90
+ {
91
+ "document": "批量删除",
92
+ "input": "POST / HTTP/1.1\nHost: ssl.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCertificates\n<公共请求参数>\n\n{}",
93
+ "output": "{\n \"Response\": {\n \"CertTaskIds\": [\n {\n \"CertId\": \"1ODjBeH8\",\n \"TaskId\": \"1\"\n },\n {\n \"CertId\": \"25EMBPYQ\",\n \"TaskId\": \"2\"\n },\n {\n \"CertId\": \"txV0pewo\",\n \"TaskId\": \"3\"\n },\n {\n \"CertId\": \"rcGiGyTx\",\n \"TaskId\": \"4\"\n },\n {\n \"CertId\": \"4FVmnb1u\",\n \"TaskId\": \"5\"\n }\n ],\n \"Success\": [],\n \"Fail\": [],\n \"RequestId\": \"687f27b0-c256-40ea-adf6-efb715001f2e\"\n }\n}",
94
+ "title": "批量删除"
95
+ }
96
+ ],
89
97
  "DeleteManager": [
90
98
  {
91
99
  "document": "",