tccli 3.0.1327.1__py2.py3-none-any.whl → 3.0.1328.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +10 -1
  3. tccli/services/apm/v20210622/examples.json +2 -2
  4. tccli/services/bh/v20230418/api.json +9 -0
  5. tccli/services/cbs/v20170312/api.json +2 -2
  6. tccli/services/cdb/v20170320/api.json +21 -3
  7. tccli/services/cfs/v20190719/api.json +1 -1
  8. tccli/services/chc/chc_client.py +53 -0
  9. tccli/services/chc/v20230418/api.json +62 -0
  10. tccli/services/chc/v20230418/examples.json +8 -0
  11. tccli/services/cvm/v20170312/api.json +2 -2
  12. tccli/services/cwp/v20180228/api.json +92 -1
  13. tccli/services/dbbrain/v20210527/api.json +4 -4
  14. tccli/services/dcdb/v20180411/examples.json +1 -1
  15. tccli/services/dts/v20211206/api.json +3 -3
  16. tccli/services/emr/v20190103/api.json +174 -9
  17. tccli/services/ess/ess_client.py +126 -20
  18. tccli/services/ess/v20201111/api.json +134 -0
  19. tccli/services/ess/v20201111/examples.json +22 -0
  20. tccli/services/essbasic/v20210526/api.json +1 -1
  21. tccli/services/gs/gs_client.py +674 -144
  22. tccli/services/gs/v20191118/api.json +680 -4
  23. tccli/services/gs/v20191118/examples.json +80 -0
  24. tccli/services/iotexplorer/v20190423/api.json +5 -5
  25. tccli/services/iotexplorer/v20190423/examples.json +1 -1
  26. tccli/services/mariadb/v20170312/api.json +10 -10
  27. tccli/services/ocr/v20181119/api.json +74 -9
  28. tccli/services/partners/v20180321/api.json +7 -7
  29. tccli/services/tcss/v20201101/api.json +58 -3
  30. tccli/services/tcss/v20201101/examples.json +2 -2
  31. tccli/services/tem/tem_client.py +53 -0
  32. tccli/services/tem/v20210701/api.json +107 -0
  33. tccli/services/tem/v20210701/examples.json +8 -0
  34. tccli/services/teo/v20220901/api.json +807 -74
  35. tccli/services/teo/v20220901/examples.json +2 -2
  36. tccli/services/trtc/v20190722/api.json +2 -2
  37. tccli/services/vclm/v20240523/api.json +173 -0
  38. tccli/services/vclm/v20240523/examples.json +16 -0
  39. tccli/services/vclm/vclm_client.py +106 -0
  40. tccli/services/vod/v20180717/api.json +13 -11
  41. tccli/services/vod/v20180717/examples.json +4 -4
  42. tccli/services/vpc/v20170312/api.json +10 -1
  43. tccli/services/waf/v20180125/api.json +2 -2
  44. tccli/services/wedata/v20210820/api.json +952 -0
  45. tccli/services/wedata/v20210820/examples.json +8 -0
  46. tccli/services/wedata/wedata_client.py +53 -0
  47. {tccli-3.0.1327.1.dist-info → tccli-3.0.1328.1.dist-info}/METADATA +2 -2
  48. {tccli-3.0.1327.1.dist-info → tccli-3.0.1328.1.dist-info}/RECORD +51 -51
  49. {tccli-3.0.1327.1.dist-info → tccli-3.0.1328.1.dist-info}/WHEEL +0 -0
  50. {tccli-3.0.1327.1.dist-info → tccli-3.0.1328.1.dist-info}/entry_points.txt +0 -0
  51. {tccli-3.0.1327.1.dist-info → tccli-3.0.1328.1.dist-info}/license_files/LICENSE +0 -0
@@ -914,7 +914,7 @@
914
914
  {
915
915
  "document": "查询安全防护配置",
916
916
  "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityPolicy\n<公共请求参数>\n\n{\n \"Entity\": \"Host\",\n \"Host\": \"www.example.com\",\n \"ZoneId\": \"zone-xxqr76cy\"\n}",
917
- "output": "{\n \"Response\": {\n \"RequestId\": \"cb5d2c0e-295e-412a-891a-9f8ab6057b4a\",\n \"SecurityPolicy\": {\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ASimpleIPRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24'] or ${http.request.ip.asn} in ['132203']\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Enabled\": \"on\",\n \"RuleType\": \"PreciseMatchRule\",\n \"Priority\": 50\n }\n ]\n },\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MetaData\": {\n \"GroupDetail\": \"扫描器攻击漏洞防护\",\n \"GroupName\": \"扫描器攻击漏洞防护\",\n \"RuleDetails\": [\n {\n \"RuleId\": \"4401215444\",\n \"RiskLevel\": \"extreme\",\n \"Description\": \"针对dedecms历史sql注入漏洞的防护规则\",\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n },\n {\n \"RuleId\": \"4401214877\",\n \"RiskLevel\": \"medium\",\n \"Description\": \"拦截常见扫描器的xss验证payload\",\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n }\n ]\n }\n }\n ]\n }\n }\n }\n}",
917
+ "output": "{\n \"Response\": {\n \"RequestId\": \"cb5d2c0e-295e-412a-891a-9f8ab6057b4a\",\n \"SecurityPolicy\": {\n \"ExceptionRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ExampleSkipModule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"WebSecurityModules\",\n \"WebSecurityModulesForException\": [\n \"websec-mod-custom-rules\",\n \"websec-mod-rate-limiting\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRuleGroupsForException\": [\n \"wafgroup-sql-injection-attacks\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRuleForField\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"SkipOption\": \"SkipOnSpecifiedRequestFields\",\n \"RequestFieldsForException\": [\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"${key} in ['session-id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"${key} in ['account-id'] and ${value} like ['prefix-*']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"${key} in ['x-trace-id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"${key} like ['x-auth-*'] and ${value} like ['Bearer *']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"${key} in ['action']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"${key} in ['action'] and ${value} in ['upload', 'delete']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"query\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"path\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"fullpath\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"${key} in ['user.id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"${key} in ['user.id'] and ${value} in ['1234', '5678']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"body\",\n \"Condition\": \"\",\n \"TargetField\": \"fullbody\"\n },\n {\n \"Scope\": \"body\",\n \"Condition\": \"\",\n \"TargetField\": \"multipart\"\n }\n ],\n \"Enabled\": \"On\"\n }\n ]\n },\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ASimpleIPRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24'] or ${http.request.ip.asn} in ['132203']\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Enabled\": \"on\",\n \"RuleType\": \"PreciseMatchRule\",\n \"Priority\": 50\n }\n ]\n },\n \"HttpDDoSProtection\": {\n \"AdaptiveFrequencyControl\": {\n \"Enabled\": \"on\",\n \"Sensitivity\": \"Loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"ClientFiltering\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"BandwidthAbuseDefense\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"SlowAttackDefense\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MinimalRequestBodyTransferRate\": {\n \"MinimalAvgTransferRateThreshold\": \"50bps\",\n \"CountingPeriod\": \"60s\"\n },\n \"RequestBodyTransferTimeout\": {\n \"IdleTimeout\": \"5s\"\n }\n }\n },\n \"RateLimitingRules\": {\n \"Rules\": [\n {\n \"Enabled\": \"on\",\n \"Name\": \"SampleHttpDdosRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit']\",\n \"CountBy\": [\n \"http.request.ip\",\n \"http.request.cookies['UserSession']\"\n ],\n \"MaxRequestThreshold\": 1000,\n \"CountingPeriod\": \"2m\",\n \"ActionDuration\": \"20h\",\n \"Action\": {\n \"Name\": \"ManagedChallenge\"\n },\n \"Id\": \"2181399690\",\n \"Priority\": 100\n }\n ]\n },\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MetaData\": {\n \"GroupDetail\": \"扫描器攻击漏洞防护\",\n \"GroupName\": \"扫描器攻击漏洞防护\",\n \"RuleDetails\": [\n {\n \"RuleId\": \"4401215444\",\n \"RiskLevel\": \"extreme\",\n \"Description\": \"针对dedecms历史sql注入漏洞的防护规则\",\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n },\n {\n \"RuleId\": \"4401214877\",\n \"RiskLevel\": \"medium\",\n \"Description\": \"拦截常见扫描器的xss验证payload\",\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n }\n ]\n }\n }\n ]\n }\n }\n }\n}",
918
918
  "title": "查询安全防护配置"
919
919
  }
920
920
  ],
@@ -1427,7 +1427,7 @@
1427
1427
  "ModifySecurityPolicy": [
1428
1428
  {
1429
1429
  "document": "修改eotest.com站点下a.eotest.com域名策略",
1430
- "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityPolicy\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-fa89j239a\",\n \"Entity\": \"Host\",\n \"Host\": \"a.eotest.com\",\n \"SecurityConfig\": {},\n \"SecurityPolicy\": {\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleBasicACLRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24', ${security.ip_group['123'@'zone-2xsnpvkhdjes']} ]\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Priority\": 10,\n \"Enabled\": \"on\"\n }\n ]\n },\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"wafmanagedrule-sensitivity-level-extreme\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n }\n ]\n }\n }\n}",
1430
+ "input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifySecurityPolicy\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-fa89j239a\",\n \"Entity\": \"Host\",\n \"Host\": \"a.eotest.com\",\n \"SecurityConfig\": {},\n \"SecurityPolicy\": {\n \"ExceptionRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ExampleSkipModule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"WebSecurityModules\",\n \"WebSecurityModulesForException\": [\n \"websec-mod-custom-rules\",\n \"websec-mod-rate-limiting\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"SkipOption\": \"SkipOnAllRequestFields\",\n \"ManagedRuleGroupsForException\": [\n \"wafgroup-sql-injection-attacks\"\n ],\n \"Enabled\": \"On\"\n },\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleSkipManagedRuleForField\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit'] and ${http.request.method} in ['POST']\",\n \"SkipScope\": \"ManagedRules\",\n \"ManagedRulesForException\": [\n \"4401215074\",\n \"4368124487\"\n ],\n \"SkipOption\": \"SkipOnSpecifiedRequestFields\",\n \"RequestFieldsForException\": [\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"${key} in ['session-id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"cookie\",\n \"Condition\": \"${key} in ['account-id'] and ${value} like ['prefix-*']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"${key} in ['x-trace-id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"header\",\n \"Condition\": \"${key} like ['x-auth-*'] and ${value} like ['Bearer *']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"${key} in ['action']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri.query\",\n \"Condition\": \"${key} in ['action'] and ${value} in ['upload', 'delete']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"query\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"path\"\n },\n {\n \"Scope\": \"uri\",\n \"Condition\": \"\",\n \"TargetField\": \"fullpath\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"\",\n \"TargetField\": \"key\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"${key} in ['user.id']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"body.json\",\n \"Condition\": \"${key} in ['user.id'] and ${value} in ['1234', '5678']\",\n \"TargetField\": \"value\"\n },\n {\n \"Scope\": \"body\",\n \"Condition\": \"\",\n \"TargetField\": \"fullbody\"\n },\n {\n \"Scope\": \"body\",\n \"Condition\": \"\",\n \"TargetField\": \"multipart\"\n }\n ],\n \"Enabled\": \"On\"\n }\n ]\n },\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"SampleBasicACLRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24', ${security.ip_group['123'@'zone-2xsnpvkhdjes']} ]\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Priority\": 10,\n \"Enabled\": \"on\"\n }\n ]\n },\n \"HttpDDoSProtection\": {\n \"AdaptiveFrequencyControl\": {\n \"Enabled\": \"on\",\n \"Sensitivity\": \"Loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"ClientFiltering\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"BandwidthAbuseDefense\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n },\n \"SlowAttackDefense\": {\n \"Enabled\": \"on\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MinimalRequestBodyTransferRate\": {\n \"Enabled\": \"on\",\n \"MinimalAvgTransferRateThreshold\": \"50bps\",\n \"CountingPeriod\": \"60s\"\n },\n \"RequestBodyTransferTimeout\": {\n \"Enabled\": \"on\",\n \"IdleTimeout\": \"5s\"\n }\n }\n },\n \"RateLimitingRules\": {\n \"Rules\": [\n {\n \"Enabled\": \"on\",\n \"Name\": \"SampleHttpDdosRule\",\n \"Condition\": \"${http.request.uri.path} in ['/api/v3/test','/api/v3/submit']\",\n \"CountBy\": [\n \"http.request.ip\",\n \"http.request.cookies['UserSession']\"\n ],\n \"MaxRequestThreshold\": 1000,\n \"CountingPeriod\": \"2m\",\n \"ActionDuration\": \"20h\",\n \"Action\": {\n \"Name\": \"ManagedChallenge\"\n },\n \"Id\": \"2181399690\",\n \"Priority\": 100\n }\n ]\n },\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"wafmanagedrule-sensitivity-level-extreme\",\n \"Action\": {\n \"Name\": \"Monitor\"\n }\n }\n ]\n }\n }\n}",
1431
1431
  "output": "{\n \"Response\": {\n \"RequestId\": \"08b32010-ab25-42a4-b923-777c481da684\"\n }\n}",
1432
1432
  "title": "修改域名策略"
1433
1433
  },
@@ -5809,7 +5809,7 @@
5809
5809
  "members": [
5810
5810
  {
5811
5811
  "disabled": false,
5812
- "document": "\n语音转文字支持识别的语言,默认是\"zh\" 中文\n\n可通过购买「AI智能识别时长包」解锁或领取包月套餐体验版解锁不同语言. 详细说明参考:[AI智能识别计费说明](https://cloud.tencent.com/document/product/647/111976)\n\n语音转文本不同套餐版本支持的语言如下:\n\n**基础版**:\n- \"zh\": 中文(简体)\n- \"zh-TW\": 中文(繁体)\n- \"en\": 英语\n\n**标准版:**\n- \"8k_zh_large\": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.\n- \"16k_zh_large\": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n- \"16k_multi_lang\": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).\n- \"16k_zh_en\": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n\n**高级版:**\n- \"zh-dialect\": 中国方言\n- \"zh-yue\": 中国粤语\n- \"vi\": 越南语\n- \"ja\": 日语\n- \"ko\": 韩语\n- \"id\": 印度尼西亚语\n- \"th\": 泰语\n- \"pt\": 葡萄牙语\n- \"tr\": 土耳其语\n- \"ar\": 阿拉伯语\n- \"es\": 西班牙语\n- \"hi\": 印地语\n- \"fr\": 法语\n- \"ms\": 马来语\n- \"fil\": 菲律宾语\n- \"de\": 德语\n- \"it\": 意大利语\n- \"ru\": 俄语\n- \"sv\": 瑞典语\n- \"da\": 丹麦语\n- \"no\": 挪威语\n\n**注意:**\n如果缺少满足您需求的语言,请联系我们技术人员。",
5812
+ "document": "\n语音转文字支持识别的语言,默认是\"zh\" 中文\n\n可通过购买「AI智能识别时长包」解锁或领取包月套餐体验版解锁不同语言. 详细说明参考:[AI智能识别计费说明](https://cloud.tencent.com/document/product/647/111976)\n\n语音转文本不同套餐版本支持的语言如下:\n\n**基础版**:\n- \"zh\": 中文(简体)\n- \"zh-TW\": 中文(繁体)\n- \"en\": 英语\n- \"16k_zh_edu\":中文教育\n- \"16k_zh_medical\":中文医疗\n- \"16k_zh_court\":中文法庭\n\n**标准版:**\n- \"8k_zh_large\": 普方大模型引擎. 当前模型同时支持中文等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升.\n- \"16k_zh_large\": 普方英大模型引擎. 当前模型同时支持中文、英文、多种中文方言等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n- \"16k_multi_lang\": 多语种大模型引擎. 当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别).\n- \"16k_zh_en\": 中英大模型引擎. 当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升.\n\n**高级版:**\n- \"zh-dialect\": 中国方言\n- \"zh-yue\": 中国粤语\n- \"vi\": 越南语\n- \"ja\": 日语\n- \"ko\": 韩语\n- \"id\": 印度尼西亚语\n- \"th\": 泰语\n- \"pt\": 葡萄牙语\n- \"tr\": 土耳其语\n- \"ar\": 阿拉伯语\n- \"es\": 西班牙语\n- \"hi\": 印地语\n- \"fr\": 法语\n- \"ms\": 马来语\n- \"fil\": 菲律宾语\n- \"de\": 德语\n- \"it\": 意大利语\n- \"ru\": 俄语\n- \"sv\": 瑞典语\n- \"da\": 丹麦语\n- \"no\": 挪威语\n\n**注意:**\n如果缺少满足您需求的语言,请联系我们技术人员。",
5813
5813
  "example": "zh",
5814
5814
  "member": "string",
5815
5815
  "name": "Language",
@@ -5820,7 +5820,7 @@
5820
5820
  },
5821
5821
  {
5822
5822
  "disabled": false,
5823
- "document": "**发起模糊识别为高级版能力,默认按照高级版收费,仅支持填写基础版和高级版语言.**\n注意:不支持填写\"zh-dialect\"",
5823
+ "document": "**发起模糊识别为高级版能力,默认按照高级版收费**\n注意:不支持填写\"zh-dialect\", \"16k_zh_edu\", \"16k_zh_medical\", \"16k_zh_court\", \"8k_zh_large\", \"16k_zh_large\",\"16k_multi_lang\", \"16k_zh_en\"\n",
5824
5824
  "example": "无",
5825
5825
  "member": "string",
5826
5826
  "name": "AlternativeLanguage",
@@ -21,6 +21,13 @@
21
21
  "output": "DescribePortraitSingJobResponse",
22
22
  "status": "online"
23
23
  },
24
+ "DescribeTemplateToVideoJob": {
25
+ "document": "用于查询视频特效任务。",
26
+ "input": "DescribeTemplateToVideoJobRequest",
27
+ "name": "查询视频特效任务",
28
+ "output": "DescribeTemplateToVideoJobResponse",
29
+ "status": "online"
30
+ },
24
31
  "DescribeVideoStylizationJob": {
25
32
  "document": "用于查询视频风格化任务。视频风格化支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。",
26
33
  "input": "DescribeVideoStylizationJobRequest",
@@ -42,6 +49,13 @@
42
49
  "output": "SubmitPortraitSingJobResponse",
43
50
  "status": "online"
44
51
  },
52
+ "SubmitTemplateToVideoJob": {
53
+ "document": "提交视频特效任务接口",
54
+ "input": "SubmitTemplateToVideoJobRequest",
55
+ "name": "提交视频特效任务",
56
+ "output": "SubmitTemplateToVideoJobResponse",
57
+ "status": "online"
58
+ },
45
59
  "SubmitVideoStylizationJob": {
46
60
  "document": "用于提交视频风格化任务。支持将输入视频生成特定风格的视频。生成后的视频画面风格多样、流畅自然,能够满足社交娱乐、互动营销、视频素材制作等场景的需求。",
47
61
  "input": "SubmitVideoStylizationJobRequest",
@@ -294,6 +308,73 @@
294
308
  ],
295
309
  "type": "object"
296
310
  },
311
+ "DescribeTemplateToVideoJobRequest": {
312
+ "document": "DescribeTemplateToVideoJob请求参数结构体",
313
+ "members": [
314
+ {
315
+ "disabled": false,
316
+ "document": "任务ID。",
317
+ "example": "1305546906952867840",
318
+ "member": "string",
319
+ "name": "JobId",
320
+ "required": true,
321
+ "type": "string"
322
+ }
323
+ ],
324
+ "type": "object"
325
+ },
326
+ "DescribeTemplateToVideoJobResponse": {
327
+ "document": "DescribeTemplateToVideoJob返回参数结构体",
328
+ "members": [
329
+ {
330
+ "disabled": false,
331
+ "document": "任务状态。WAIT:等待中,RUN:执行中,FAIL:任务失败,DONE:任务成功",
332
+ "example": "RUN",
333
+ "member": "string",
334
+ "name": "Status",
335
+ "output_required": false,
336
+ "type": "string",
337
+ "value_allowed_null": false
338
+ },
339
+ {
340
+ "disabled": false,
341
+ "document": "任务执行错误码。当任务状态不为 FAIL 时,该值为\"\"。",
342
+ "example": "FailedOperation.DriverFailed",
343
+ "member": "string",
344
+ "name": "ErrorCode",
345
+ "output_required": false,
346
+ "type": "string",
347
+ "value_allowed_null": false
348
+ },
349
+ {
350
+ "disabled": false,
351
+ "document": "任务执行错误信息。当任务状态不为 FAIL 时,该值为\"\"。",
352
+ "example": "驱动失败",
353
+ "member": "string",
354
+ "name": "ErrorMessage",
355
+ "output_required": false,
356
+ "type": "string",
357
+ "value_allowed_null": false
358
+ },
359
+ {
360
+ "disabled": false,
361
+ "document": "结果视频 URL。有效期 24 小时。",
362
+ "example": "https://console.cloud.tencent.com/result.mp4",
363
+ "member": "string",
364
+ "name": "ResultVideoUrl",
365
+ "output_required": false,
366
+ "type": "string",
367
+ "value_allowed_null": false
368
+ },
369
+ {
370
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
371
+ "member": "string",
372
+ "name": "RequestId",
373
+ "type": "string"
374
+ }
375
+ ],
376
+ "type": "object"
377
+ },
297
378
  "DescribeVideoStylizationJobRequest": {
298
379
  "document": "DescribeVideoStylizationJob请求参数结构体",
299
380
  "members": [
@@ -361,6 +442,34 @@
361
442
  ],
362
443
  "type": "object"
363
444
  },
445
+ "Image": {
446
+ "document": "图片",
447
+ "members": [
448
+ {
449
+ "disabled": false,
450
+ "document": "图片Base64",
451
+ "example": "MIIHNjCCBh6gAwIBAgIQCVe4E0h49mzI0NcSqMy1",
452
+ "member": "string",
453
+ "name": "Base64",
454
+ "output_required": false,
455
+ "required": false,
456
+ "type": "string",
457
+ "value_allowed_null": false
458
+ },
459
+ {
460
+ "disabled": false,
461
+ "document": "图片Url",
462
+ "example": "https://123.jpg",
463
+ "member": "string",
464
+ "name": "Url",
465
+ "output_required": false,
466
+ "required": false,
467
+ "type": "string",
468
+ "value_allowed_null": false
469
+ }
470
+ ],
471
+ "usage": "both"
472
+ },
364
473
  "LogoParam": {
365
474
  "document": "logo参数",
366
475
  "members": [
@@ -650,6 +759,70 @@
650
759
  ],
651
760
  "type": "object"
652
761
  },
762
+ "SubmitTemplateToVideoJobRequest": {
763
+ "document": "SubmitTemplateToVideoJob请求参数结构体",
764
+ "members": [
765
+ {
766
+ "disabled": false,
767
+ "document": "特效模板名称。\n枚举值:\nhug :拥抱\nkiss :亲吻\nheart : 比心\nfuzzy : 毛茸茸\nbefigure:变手办风\nlonghair:金色长发\nmorphlab:膨胀\nbloom:万物生花\npinch:捏捏\nballoonfly:飞走了\ndragme:被拽走了\n",
768
+ "example": "hug",
769
+ "member": "string",
770
+ "name": "Template",
771
+ "required": true,
772
+ "type": "string"
773
+ },
774
+ {
775
+ "disabled": false,
776
+ "document": "参考图像,最多输入2张图。\n- 支持传入图片Base64编码或图片URL(确保可访问)\n- 图片格式:支持png、jpg、jpeg、webp、bmp、tiff\n- 图片文件:大小不能超过10MB(base64后),图片分辨率不小于300\\*300px,不大于4096\\*4096,图片宽高比应在1:4 ~ 4:1之间\n",
777
+ "example": "无",
778
+ "member": "Image",
779
+ "name": "Images",
780
+ "required": true,
781
+ "type": "list"
782
+ },
783
+ {
784
+ "disabled": false,
785
+ "document": "为生成视频添加标识的开关,默认为1。\n1:添加标识。\n0:不添加标识。\n其他数值:默认按1处理。\n建议您使用显著标识来提示,该视频是 AI 生成的视频。",
786
+ "example": "1",
787
+ "member": "int64",
788
+ "name": "LogoAdd",
789
+ "required": false,
790
+ "type": "int"
791
+ },
792
+ {
793
+ "disabled": false,
794
+ "document": "标识内容设置。\n默认在生成视频的右下角添加“视频由 AI 生成”字样,您可根据自身需要替换为其他的标识图片。",
795
+ "example": "无",
796
+ "member": "LogoParam",
797
+ "name": "LogoParam",
798
+ "required": false,
799
+ "type": "object"
800
+ }
801
+ ],
802
+ "type": "object"
803
+ },
804
+ "SubmitTemplateToVideoJobResponse": {
805
+ "document": "SubmitTemplateToVideoJob返回参数结构体",
806
+ "members": [
807
+ {
808
+ "disabled": false,
809
+ "document": "任务ID。",
810
+ "example": "1194931538865782784",
811
+ "member": "string",
812
+ "name": "JobId",
813
+ "output_required": false,
814
+ "type": "string",
815
+ "value_allowed_null": false
816
+ },
817
+ {
818
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
819
+ "member": "string",
820
+ "name": "RequestId",
821
+ "type": "string"
822
+ }
823
+ ],
824
+ "type": "object"
825
+ },
653
826
  "SubmitVideoStylizationJobRequest": {
654
827
  "document": "SubmitVideoStylizationJob请求参数结构体",
655
828
  "members": [
@@ -24,6 +24,14 @@
24
24
  "title": "调用成功-任务完成"
25
25
  }
26
26
  ],
27
+ "DescribeTemplateToVideoJob": [
28
+ {
29
+ "document": "任务成功完成,返回结果视频Url",
30
+ "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeTemplateToVideoJob\n<公共请求参数>\n\n{\n \"JobId\": \"1305546906952867840\"\n}",
31
+ "output": "{\n \"Response\": {\n \"ErrorCode\": \"\",\n \"ErrorMessage\": \"\",\n \"RequestId\": \"17288c38-8b83-4ad2-a818-ef2d2d87dfe7\",\n \"ResultVideoUrl\": \"https://console.cloud.tencent.com/result.mp4\",\n \"Status\": \"DONE\"\n }\n}",
32
+ "title": "任务成功完成"
33
+ }
34
+ ],
27
35
  "DescribeVideoStylizationJob": [
28
36
  {
29
37
  "document": "成功调用查询任务接口,任务完成。",
@@ -72,6 +80,14 @@
72
80
  "title": "调用失败-图片大小超限"
73
81
  }
74
82
  ],
83
+ "SubmitTemplateToVideoJob": [
84
+ {
85
+ "document": "成功提交任务",
86
+ "input": "POST / HTTP/1.1\nHost: vclm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SubmitTemplateToVideoJob\n<公共请求参数>\n\n{\n \"Template\": \"hug\",\n \"Images\": [\n {\n \"Url\": \"https://test.jpg\"\n }\n ]\n}",
87
+ "output": "{\n \"Response\": {\n \"JobId\": \"1305518294765740032\",\n \"RequestId\": \"2392f73f-6436-4f79-85dc-6283d2ca78ef\"\n }\n}",
88
+ "title": "成功提交"
89
+ }
90
+ ],
75
91
  "SubmitVideoStylizationJob": [
76
92
  {
77
93
  "document": "成功提交视频风格化任务",
@@ -17,6 +17,58 @@ from tencentcloud.vclm.v20240523 import models as models_v20240523
17
17
  from jmespath import search
18
18
  import time
19
19
 
20
+ def doDescribeTemplateToVideoJob(args, parsed_globals):
21
+ g_param = parse_global_arg(parsed_globals)
22
+
23
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
24
+ cred = credential.CVMRoleCredential()
25
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
26
+ cred = credential.STSAssumeRoleCredential(
27
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
28
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
29
+ )
30
+ 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):
31
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
32
+ else:
33
+ cred = credential.Credential(
34
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
35
+ )
36
+ http_profile = HttpProfile(
37
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
38
+ reqMethod="POST",
39
+ endpoint=g_param[OptionsDefine.Endpoint],
40
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
41
+ )
42
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
43
+ if g_param[OptionsDefine.Language]:
44
+ profile.language = g_param[OptionsDefine.Language]
45
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
46
+ client = mod.VclmClient(cred, g_param[OptionsDefine.Region], profile)
47
+ client._sdkVersion += ("_CLI_" + __version__)
48
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
49
+ model = models.DescribeTemplateToVideoJobRequest()
50
+ model.from_json_string(json.dumps(args))
51
+ start_time = time.time()
52
+ while True:
53
+ rsp = client.DescribeTemplateToVideoJob(model)
54
+ result = rsp.to_json_string()
55
+ try:
56
+ json_obj = json.loads(result)
57
+ except TypeError as e:
58
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
59
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
60
+ break
61
+ cur_time = time.time()
62
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
63
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
64
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
65
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
66
+ else:
67
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
68
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
69
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
70
+
71
+
20
72
  def doSubmitVideoStylizationJob(args, parsed_globals):
21
73
  g_param = parse_global_arg(parsed_globals)
22
74
 
@@ -277,6 +329,58 @@ def doSubmitImageAnimateJob(args, parsed_globals):
277
329
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
278
330
 
279
331
 
332
+ def doSubmitTemplateToVideoJob(args, parsed_globals):
333
+ g_param = parse_global_arg(parsed_globals)
334
+
335
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
336
+ cred = credential.CVMRoleCredential()
337
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
338
+ cred = credential.STSAssumeRoleCredential(
339
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
340
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
341
+ )
342
+ 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):
343
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
344
+ else:
345
+ cred = credential.Credential(
346
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
347
+ )
348
+ http_profile = HttpProfile(
349
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
350
+ reqMethod="POST",
351
+ endpoint=g_param[OptionsDefine.Endpoint],
352
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
353
+ )
354
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
355
+ if g_param[OptionsDefine.Language]:
356
+ profile.language = g_param[OptionsDefine.Language]
357
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
358
+ client = mod.VclmClient(cred, g_param[OptionsDefine.Region], profile)
359
+ client._sdkVersion += ("_CLI_" + __version__)
360
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
361
+ model = models.SubmitTemplateToVideoJobRequest()
362
+ model.from_json_string(json.dumps(args))
363
+ start_time = time.time()
364
+ while True:
365
+ rsp = client.SubmitTemplateToVideoJob(model)
366
+ result = rsp.to_json_string()
367
+ try:
368
+ json_obj = json.loads(result)
369
+ except TypeError as e:
370
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
371
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
372
+ break
373
+ cur_time = time.time()
374
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
375
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
376
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
377
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
378
+ else:
379
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
380
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
381
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
+
383
+
280
384
  def doCheckAnimateImageJob(args, parsed_globals):
281
385
  g_param = parse_global_arg(parsed_globals)
282
386
 
@@ -392,11 +496,13 @@ MODELS_MAP = {
392
496
  }
393
497
 
394
498
  ACTION_MAP = {
499
+ "DescribeTemplateToVideoJob": doDescribeTemplateToVideoJob,
395
500
  "SubmitVideoStylizationJob": doSubmitVideoStylizationJob,
396
501
  "SubmitPortraitSingJob": doSubmitPortraitSingJob,
397
502
  "DescribePortraitSingJob": doDescribePortraitSingJob,
398
503
  "DescribeImageAnimateJob": doDescribeImageAnimateJob,
399
504
  "SubmitImageAnimateJob": doSubmitImageAnimateJob,
505
+ "SubmitTemplateToVideoJob": doSubmitTemplateToVideoJob,
400
506
  "CheckAnimateImageJob": doCheckAnimateImageJob,
401
507
  "DescribeVideoStylizationJob": doDescribeVideoStylizationJob,
402
508
 
@@ -7325,7 +7325,7 @@
7325
7325
  "value_allowed_null": false
7326
7326
  },
7327
7327
  {
7328
- "disabled": false,
7328
+ "disabled": true,
7329
7329
  "document": "生成的字幕文件格式,不填或者填空字符串表示不生成字幕文件,可选值:\n<li>vtt:生成 WebVTT 字幕文件;</li>\n<li>srt:生成 SRT 字幕文件。</li>\n<font color='red'>注意:此字段已废弃,建议使用 SubtitleFormats。</font>",
7330
7330
  "example": "vtt",
7331
7331
  "member": "string",
@@ -7382,7 +7382,7 @@
7382
7382
  "type": "object"
7383
7383
  },
7384
7384
  {
7385
- "disabled": false,
7385
+ "disabled": true,
7386
7386
  "document": "生成的字幕文件格式,<font color='red'>填空字符串</font>表示不生成字幕文件,可选值:\n<li>vtt:生成 WebVTT 字幕文件;</li>\n<li>srt:生成 SRT 字幕文件。</li>\n<font color='red'>注意:此字段已废弃,建议使用 SubtitleFormatsOperation。</font>",
7387
7387
  "example": "vtt",
7388
7388
  "member": "string",
@@ -16381,7 +16381,7 @@
16381
16381
  "type": "string"
16382
16382
  },
16383
16383
  {
16384
- "disabled": false,
16384
+ "disabled": true,
16385
16385
  "document": "分页偏移量,默认值:0。已经废弃,请根据 ScrollToken 参数进行分批次查询。",
16386
16386
  "example": "0",
16387
16387
  "member": "int64",
@@ -16405,7 +16405,7 @@
16405
16405
  "document": "DescribeRoundPlays返回参数结构体",
16406
16406
  "members": [
16407
16407
  {
16408
- "disabled": false,
16408
+ "disabled": true,
16409
16409
  "document": "符合过滤条件的轮播播单总数。已经废弃,分批次查询请请使用 ScrollToken 参数。",
16410
16410
  "example": "100",
16411
16411
  "member": "int64",
@@ -19697,7 +19697,7 @@
19697
19697
  "value_allowed_null": false
19698
19698
  },
19699
19699
  {
19700
- "disabled": false,
19700
+ "disabled": true,
19701
19701
  "document": "该字段已废弃。",
19702
19702
  "example": "uid-test",
19703
19703
  "member": "string",
@@ -22709,7 +22709,7 @@
22709
22709
  "value_allowed_null": false
22710
22710
  },
22711
22711
  {
22712
- "disabled": false,
22712
+ "disabled": true,
22713
22713
  "document": "该字段已废弃,请使用 PicUrlExpireTime。",
22714
22714
  "example": "2023-09-08T02:23:29Z",
22715
22715
  "member": "int64",
@@ -22795,7 +22795,7 @@
22795
22795
  "value_allowed_null": false
22796
22796
  },
22797
22797
  {
22798
- "disabled": false,
22798
+ "disabled": true,
22799
22799
  "document": "该字段已废弃,请使用 PicUrlExpireTime。",
22800
22800
  "example": "2023-09-08T02:23:29Z",
22801
22801
  "member": "int64",
@@ -33489,7 +33489,7 @@
33489
33489
  "value_allowed_null": false
33490
33490
  },
33491
33491
  {
33492
- "disabled": false,
33492
+ "disabled": true,
33493
33493
  "document": "该字段已废弃。",
33494
33494
  "example": "0",
33495
33495
  "member": "int64",
@@ -33499,7 +33499,7 @@
33499
33499
  "value_allowed_null": false
33500
33500
  },
33501
33501
  {
33502
- "disabled": false,
33502
+ "disabled": true,
33503
33503
  "document": "该字段已废弃。",
33504
33504
  "example": "success",
33505
33505
  "member": "string",
@@ -33972,7 +33972,7 @@
33972
33972
  "document": "ReviewImage返回参数结构体",
33973
33973
  "members": [
33974
33974
  {
33975
- "disabled": false,
33975
+ "disabled": true,
33976
33976
  "document": "图片审核任务结果。\n<font color=red>注意:该字段已废弃,建议使用 MediaReviewResult。</font> ",
33977
33977
  "example": "无",
33978
33978
  "member": "ContentReviewResult",
@@ -37292,16 +37292,18 @@
37292
37292
  "example": "ON",
37293
37293
  "member": "string",
37294
37294
  "name": "Switch",
37295
+ "output_required": true,
37295
37296
  "required": false,
37296
37297
  "type": "string",
37297
37298
  "value_allowed_null": false
37298
37299
  },
37299
37300
  {
37300
- "disabled": false,
37301
+ "disabled": true,
37301
37302
  "document": "该字段已废弃,请勿使用。",
37302
37303
  "example": "100",
37303
37304
  "member": "uint64",
37304
37305
  "name": "Definition",
37306
+ "output_required": true,
37305
37307
  "required": false,
37306
37308
  "type": "int",
37307
37309
  "value_allowed_null": false