tccli 3.0.1137.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 (53) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/command.py +1 -1
  3. tccli/help_command.py +1 -1
  4. tccli/services/__init__.py +3 -0
  5. tccli/services/aiart/aiart_client.py +53 -0
  6. tccli/services/aiart/v20221229/api.json +98 -0
  7. tccli/services/aiart/v20221229/examples.json +8 -0
  8. tccli/services/asr/v20190614/api.json +9 -0
  9. tccli/services/cbs/v20170312/api.json +5 -8
  10. tccli/services/cdwch/v20200915/api.json +1 -1
  11. tccli/services/ckafka/v20190819/api.json +25 -25
  12. tccli/services/ckafka/v20190819/examples.json +18 -18
  13. tccli/services/cls/v20201016/api.json +44 -5
  14. tccli/services/cls/v20201016/examples.json +1 -1
  15. tccli/services/cwp/cwp_client.py +61 -114
  16. tccli/services/cwp/v20180228/api.json +0 -70
  17. tccli/services/cwp/v20180228/examples.json +0 -8
  18. tccli/services/domain/v20180808/api.json +36 -0
  19. tccli/services/emr/v20190103/api.json +534 -15
  20. tccli/services/emr/v20190103/examples.json +4 -4
  21. tccli/services/ess/v20201111/api.json +4 -4
  22. tccli/services/ess/v20201111/examples.json +2 -2
  23. tccli/services/essbasic/v20210526/api.json +3 -3
  24. tccli/services/essbasic/v20210526/examples.json +2 -2
  25. tccli/services/ims/v20201229/api.json +2 -2
  26. tccli/services/ioa/v20220601/api.json +132 -92
  27. tccli/services/iotexplorer/v20190423/api.json +11 -0
  28. tccli/services/mps/v20190612/api.json +163 -115
  29. tccli/services/mps/v20190612/examples.json +11 -11
  30. tccli/services/ocr/v20181119/api.json +19 -0
  31. tccli/services/redis/v20180412/api.json +23 -23
  32. tccli/services/rum/v20210622/api.json +1 -0
  33. tccli/services/scf/v20180416/examples.json +1 -1
  34. tccli/services/ssl/ssl_client.py +53 -0
  35. tccli/services/ssl/v20191205/api.json +251 -5
  36. tccli/services/ssl/v20191205/examples.json +9 -1
  37. tccli/services/tdmq/v20200217/api.json +171 -22
  38. tccli/services/tdmq/v20200217/examples.json +6 -6
  39. tccli/services/thpc/v20230321/api.json +42 -21
  40. tccli/services/tke/v20180525/api.json +149 -71
  41. tccli/services/tke/v20180525/examples.json +69 -57
  42. tccli/services/trtc/v20190722/api.json +1 -1
  43. tccli/services/tsf/v20180326/api.json +1 -1
  44. tccli/services/vclm/__init__.py +4 -0
  45. tccli/services/vclm/v20240523/api.json +695 -0
  46. tccli/services/vclm/v20240523/examples.json +73 -0
  47. tccli/services/vclm/vclm_client.py +513 -0
  48. tccli/services/vdb/v20230616/api.json +20 -0
  49. {tccli-3.0.1137.1.dist-info → tccli-3.0.1139.1.dist-info}/METADATA +2 -2
  50. {tccli-3.0.1137.1.dist-info → tccli-3.0.1139.1.dist-info}/RECORD +53 -49
  51. {tccli-3.0.1137.1.dist-info → tccli-3.0.1139.1.dist-info}/WHEEL +0 -0
  52. {tccli-3.0.1137.1.dist-info → tccli-3.0.1139.1.dist-info}/entry_points.txt +0 -0
  53. {tccli-3.0.1137.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"
@@ -4388,7 +4388,7 @@
4388
4388
  {
4389
4389
  "disabled": false,
4390
4390
  "document": "每页输出实例的数量,参数默认值20,最大值为1000。",
4391
- "example": "1",
4391
+ "example": "20",
4392
4392
  "member": "uint64",
4393
4393
  "name": "Limit",
4394
4394
  "required": false,
@@ -4406,7 +4406,7 @@
4406
4406
  {
4407
4407
  "disabled": false,
4408
4408
  "document": "指定实例 ID。例如:crs-xjhsdj****。请登录[Redis控制台](https://console.cloud.tencent.com/redis)在实例列表复制实例 ID。\n\n",
4409
- "example": "",
4409
+ "example": "crs-dagpcalj",
4410
4410
  "member": "string",
4411
4411
  "name": "InstanceId",
4412
4412
  "required": false,
@@ -4415,7 +4415,7 @@
4415
4415
  {
4416
4416
  "disabled": false,
4417
4417
  "document": "实例列表排序依据,枚举值如下所示:\n- projectId:依据项目ID排序。\n- createtime:依据实例创建时间排序。\n- instancename:依据实例名称排序。\n- type:依据实例类型排序。\n- curDeadline:依据实例到期时间排序。",
4418
- "example": "",
4418
+ "example": "instancename",
4419
4419
  "member": "string",
4420
4420
  "name": "OrderBy",
4421
4421
  "required": false,
@@ -4424,7 +4424,7 @@
4424
4424
  {
4425
4425
  "disabled": false,
4426
4426
  "document": "实例排序方式,默认为倒序排序。\n- 1:倒序。\n- 0:顺序。",
4427
- "example": "",
4427
+ "example": "0",
4428
4428
  "member": "int64",
4429
4429
  "name": "OrderType",
4430
4430
  "required": false,
@@ -4433,7 +4433,7 @@
4433
4433
  {
4434
4434
  "disabled": false,
4435
4435
  "document": "私有网络 ID 数组。如果不配置该参数或设置数组为空则默认选择基础网络。例如47525。该参数暂时保留,可忽略。请根据 UniqVpcIds 参数格式设置私有网络ID数组。",
4436
- "example": "",
4436
+ "example": "47525",
4437
4437
  "member": "string",
4438
4438
  "name": "VpcIds",
4439
4439
  "required": false,
@@ -4442,7 +4442,7 @@
4442
4442
  {
4443
4443
  "disabled": false,
4444
4444
  "document": "私有网络所属子网 ID 数组,例如:56854。该参数暂时保留,可忽略。请根据 UniqSubnetIds 参数格式设置私有网络子网 ID 数组。",
4445
- "example": "",
4445
+ "example": "56854",
4446
4446
  "member": "string",
4447
4447
  "name": "SubnetIds",
4448
4448
  "required": false,
@@ -4451,7 +4451,7 @@
4451
4451
  {
4452
4452
  "disabled": false,
4453
4453
  "document": "设置模糊查询关键字段,仅实例名称支持模糊查询。",
4454
- "example": "",
4454
+ "example": "test",
4455
4455
  "member": "string",
4456
4456
  "name": "SearchKey",
4457
4457
  "required": false,
@@ -4460,7 +4460,7 @@
4460
4460
  {
4461
4461
  "disabled": false,
4462
4462
  "document": "项目 ID 组成的数组。",
4463
- "example": "",
4463
+ "example": "[1289900]",
4464
4464
  "member": "int64",
4465
4465
  "name": "ProjectIds",
4466
4466
  "required": false,
@@ -4469,7 +4469,7 @@
4469
4469
  {
4470
4470
  "disabled": false,
4471
4471
  "document": "实例名称。",
4472
- "example": "",
4472
+ "example": "test",
4473
4473
  "member": "string",
4474
4474
  "name": "InstanceName",
4475
4475
  "required": false,
@@ -4478,7 +4478,7 @@
4478
4478
  {
4479
4479
  "disabled": false,
4480
4480
  "document": "私有网络 ID 数组。如果不配置该参数或者设置数组为空则默认选择基础网络,如:vpc-sad23jfdfk。",
4481
- "example": "",
4481
+ "example": "vpc-b6fsjaxt",
4482
4482
  "member": "string",
4483
4483
  "name": "UniqVpcIds",
4484
4484
  "required": false,
@@ -4487,7 +4487,7 @@
4487
4487
  {
4488
4488
  "disabled": false,
4489
4489
  "document": "私有网络所属子网 ID 数组,如:subnet-fdj24n34j2。",
4490
- "example": "",
4490
+ "example": "subnet-gqj66zh0",
4491
4491
  "member": "string",
4492
4492
  "name": "UniqSubnetIds",
4493
4493
  "required": false,
@@ -4496,7 +4496,7 @@
4496
4496
  {
4497
4497
  "disabled": false,
4498
4498
  "document": "地域 ID 数组,该参数已经弃用,可通过公共参数Region查询对应地域。",
4499
- "example": "",
4499
+ "example": "1",
4500
4500
  "member": "int64",
4501
4501
  "name": "RegionIds",
4502
4502
  "required": false,
@@ -4505,7 +4505,7 @@
4505
4505
  {
4506
4506
  "disabled": false,
4507
4507
  "document": "实例状态。\n- 0:待初始化。\n- 1:流程中。\n- 2:运行中。\n- -2:已隔离。\n- -3:待删除。",
4508
- "example": "",
4508
+ "example": "1",
4509
4509
  "member": "int64",
4510
4510
  "name": "Status",
4511
4511
  "required": false,
@@ -4514,7 +4514,7 @@
4514
4514
  {
4515
4515
  "disabled": false,
4516
4516
  "document": "实例架构版本。\n- 1:单机版。\n- 2:主从版。\n- 3:集群版。",
4517
- "example": "",
4517
+ "example": "2",
4518
4518
  "member": "int64",
4519
4519
  "name": "TypeVersion",
4520
4520
  "required": false,
@@ -4523,7 +4523,7 @@
4523
4523
  {
4524
4524
  "disabled": false,
4525
4525
  "document": "存储引擎信息。可设置为Redis-2.8、Redis-4.0、Redis-5.0、Redis-6.0 或者 CKV。",
4526
- "example": "",
4526
+ "example": "Redis-4.0",
4527
4527
  "member": "string",
4528
4528
  "name": "EngineName",
4529
4529
  "required": false,
@@ -4532,7 +4532,7 @@
4532
4532
  {
4533
4533
  "disabled": false,
4534
4534
  "document": "续费模式。\n- 0:手动续费。\n- 1:自动续费。\n- 2:到期不再续费。",
4535
- "example": "",
4535
+ "example": "1",
4536
4536
  "member": "int64",
4537
4537
  "name": "AutoRenew",
4538
4538
  "required": false,
@@ -4541,7 +4541,7 @@
4541
4541
  {
4542
4542
  "disabled": false,
4543
4543
  "document": "计费模式。\n- postpaid:按量计费。\n- prepaid:包年包月。",
4544
- "example": "",
4544
+ "example": "prepaid",
4545
4545
  "member": "string",
4546
4546
  "name": "BillingMode",
4547
4547
  "required": false,
@@ -4549,8 +4549,8 @@
4549
4549
  },
4550
4550
  {
4551
4551
  "disabled": false,
4552
- "document": "实例类型。\n- 2:Redis 2.8内存版(标准架构)。\n- 3:CKV 3.2内存版(标准架构)。\n- 4:CKV 3.2内存版(集群架构)。\n- 5:Redis 2.8内存版(单机)。\n- 6:Redis 4.0内存版(标准架构)。\n- 7:Redis 4.0内存版(集群架构)。\n- 8:Redis 5.0内存版(标准架构)。\n- 9:Redis 5.0内存版(集群架构)。\n- 15:Redis 6.2内存版(标准架构)。\n- 16:Redis 6.2内存版(集群架构)。",
4553
- "example": "",
4552
+ "document": "实例类型。\n- 2:Redis 2.8 内存版(标准架构)。\n- 3:CKV 3.2 内存版(标准架构)。\n- 4:CKV 3.2 内存版(集群架构)。\n- 5:Redis 2.8 内存版(单机)。\n- 6:Redis 4.0 内存版(标准架构)。\n- 7:Redis 4.0 内存版(集群架构)。\n- 8:Redis 5.0 内存版(标准架构)。\n- 9:Redis 5.0 内存版(集群架构)。\n- 15:Redis 6.2 内存版(标准架构)。\n- 16:Redis 6.2 内存版(集群架构)。\n- 17:Redis 7.0 内存版(标准架构)。\n- 18:Redis 7.0 内存版(集群架构)。",
4553
+ "example": "8",
4554
4554
  "member": "int64",
4555
4555
  "name": "Type",
4556
4556
  "required": false,
@@ -4559,7 +4559,7 @@
4559
4559
  {
4560
4560
  "disabled": false,
4561
4561
  "document": "该参数为数组类型,支持配置实例名称、实例 ID、IP地址,其中实例名称为模糊匹配,实例 ID 和 IP 地址精确匹配。\n\n- 数组中每一个元素取并集进行匹配查询。\n- **InstanceId** 与 **SearchKeys** 同时配置,则取二者交集进行匹配查询。",
4562
- "example": "",
4562
+ "example": "[\"crs-dagpcalj\"]",
4563
4563
  "member": "string",
4564
4564
  "name": "SearchKeys",
4565
4565
  "required": false,
@@ -4568,7 +4568,7 @@
4568
4568
  {
4569
4569
  "disabled": false,
4570
4570
  "document": "内部参数,用户可忽略。",
4571
- "example": "",
4571
+ "example": "1",
4572
4572
  "member": "int64",
4573
4573
  "name": "TypeList",
4574
4574
  "required": false,
@@ -4577,7 +4577,7 @@
4577
4577
  {
4578
4578
  "disabled": false,
4579
4579
  "document": "内部参数,用户可忽略。",
4580
- "example": "",
4580
+ "example": "1",
4581
4581
  "member": "string",
4582
4582
  "name": "MonitorVersion",
4583
4583
  "required": false,
@@ -4595,7 +4595,7 @@
4595
4595
  {
4596
4596
  "disabled": false,
4597
4597
  "document": "根据标签的 Key 筛选资源,该参数不配置或者数组设置为空值,则不根据标签Key进行过滤。",
4598
- "example": "",
4598
+ "example": "test",
4599
4599
  "member": "string",
4600
4600
  "name": "TagKeys",
4601
4601
  "required": false,
@@ -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,