tccli 3.0.1084.1__py2.py3-none-any.whl → 3.0.1086.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 (213) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/aiart/v20221229/QueryTextToImageProJob.md +30 -0
  3. tccli/examples/aiart/v20221229/SubmitTextToImageProJob.md +22 -0
  4. tccli/examples/billing/v20180709/DescribeCostDetail.md +36 -33
  5. tccli/examples/billing/v20180709/DescribeCostSummaryByProject.md +25 -80
  6. tccli/examples/billing/v20180709/DescribeCostSummaryByRegion.md +23 -14
  7. tccli/examples/billing/v20180709/DescribeCostSummaryByResource.md +53 -27
  8. tccli/examples/ccc/v20200210/CreateCompanyApply.md +36 -0
  9. tccli/examples/ccc/v20200210/DescribeCompanyList.md +33 -0
  10. tccli/examples/ccc/v20200210/ModifyCompanyApply.md +36 -0
  11. tccli/examples/ckafka/v20190819/CreateInstancePost.md +9 -6
  12. tccli/examples/ckafka/v20190819/CreatePrometheus.md +29 -0
  13. tccli/examples/ckafka/v20190819/DescribePrometheus.md +25 -0
  14. tccli/examples/cynosdb/v20190107/RollbackToNewCluster.md +62 -0
  15. tccli/examples/dlc/v20210125/QueryTaskCostDetail.md +20 -0
  16. tccli/examples/essbasic/v20210526/ChannelCreateReleaseFlow.md +1 -1
  17. tccli/examples/faceid/v20180301/GetFaceIdResult.md +4 -4
  18. tccli/examples/iotexplorer/v20190423/BindCloudStorageUser.md +22 -0
  19. tccli/examples/iotexplorer/v20190423/CreateIotVideoCloudStorage.md +22 -0
  20. tccli/examples/iotexplorer/v20190423/DeleteCloudStorageEvent.md +26 -0
  21. tccli/examples/iotexplorer/v20190423/DescribeCloudStorage.md +27 -0
  22. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageDate.md +24 -0
  23. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageEvents.md +87 -0
  24. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageMultiThumbnail.md +28 -0
  25. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageOrder.md +25 -0
  26. tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeDetails.md +21 -0
  27. tccli/examples/iotexplorer/v20190423/DescribeCloudStoragePackageConsumeStats.md +44 -0
  28. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageStreamData.md +24 -0
  29. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnail.md +24 -0
  30. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageThumbnailList.md +28 -0
  31. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageTime.md +43 -0
  32. tccli/examples/iotexplorer/v20190423/DescribeCloudStorageUsers.md +29 -0
  33. tccli/examples/iotexplorer/v20190423/DescribeDevicePackages.md +37 -0
  34. tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTask.md +21 -0
  35. tccli/examples/iotexplorer/v20190423/DescribePackageConsumeTasks.md +39 -0
  36. tccli/examples/iotexplorer/v20190423/GenerateSignedVideoURL.md +22 -0
  37. tccli/examples/iotexplorer/v20190423/InheritCloudStorageUser.md +23 -0
  38. tccli/examples/iotexplorer/v20190423/ResetCloudStorage.md +21 -0
  39. tccli/examples/iotexplorer/v20190423/ResetCloudStorageEvent.md +22 -0
  40. tccli/examples/iotexplorer/v20190423/TransferCloudStorage.md +22 -0
  41. tccli/examples/monitor/v20180724/CreateExporterIntegration.md +626 -2
  42. tccli/examples/ocr/v20181119/ReconstructDocument.md +2263 -0
  43. tccli/examples/pts/v20210728/CreateEnvironment.md +18 -0
  44. tccli/examples/pts/v20210728/DeleteEnvironments.md +18 -0
  45. tccli/examples/pts/v20210728/DescribeEnvironments.md +18 -0
  46. tccli/examples/pts/v20210728/UpdateEnvironment.md +18 -0
  47. tccli/examples/redis/v20180412/DescribeInstanceEvents.md +45 -0
  48. tccli/examples/redis/v20180412/ModifyInstanceEvent.md +25 -0
  49. tccli/examples/ssl/v20191205/UploadCertificate.md +48 -3
  50. tccli/examples/tag/v20180813/DescribeProjects.md +1 -1
  51. tccli/examples/tione/v20211111/CreateModelService.md +3 -1
  52. tccli/examples/tione/v20211111/ModifyModelService.md +62 -228
  53. tccli/examples/vrs/v20200824/DetectEnvAndSoundQuality.md +12 -4
  54. tccli/examples/wedata/v20210820/BatchCreateIntegrationTaskAlarms.md +11 -11
  55. tccli/examples/wedata/v20210820/BatchForceSuccessIntegrationTaskInstances.md +2 -2
  56. tccli/examples/wedata/v20210820/BatchKillIntegrationTaskInstances.md +2 -2
  57. tccli/examples/wedata/v20210820/BatchMakeUpIntegrationTasks.md +2 -2
  58. tccli/examples/wedata/v20210820/BatchRerunIntegrationTaskInstances.md +5 -2
  59. tccli/examples/wedata/v20210820/CheckDuplicateRuleName.md +5 -5
  60. tccli/examples/wedata/v20210820/CheckDuplicateTemplateName.md +4 -4
  61. tccli/examples/wedata/v20210820/CheckIntegrationNodeNameExists.md +4 -4
  62. tccli/examples/wedata/v20210820/CheckIntegrationTaskNameExists.md +4 -4
  63. tccli/examples/wedata/v20210820/CheckTaskNameExist.md +3 -3
  64. tccli/examples/wedata/v20210820/CommitExportTask.md +4 -4
  65. tccli/examples/wedata/v20210820/CreateInLongAgent.md +6 -6
  66. tccli/examples/wedata/v20210820/CreateOrUpdateResource.md +2 -1
  67. tccli/examples/wedata/v20210820/CreateRuleTemplate.md +1 -1
  68. tccli/examples/wedata/v20210820/CreateTaskAlarmRegular.md +11 -11
  69. tccli/examples/wedata/v20210820/DeleteInLongAgent.md +3 -3
  70. tccli/examples/wedata/v20210820/DeleteIntegrationNode.md +2 -2
  71. tccli/examples/wedata/v20210820/DeleteOfflineTask.md +4 -4
  72. tccli/examples/wedata/v20210820/DeleteRule.md +1 -1
  73. tccli/examples/wedata/v20210820/DeleteRuleTemplate.md +1 -1
  74. tccli/examples/wedata/v20210820/DescribeClusterNamespaceList.md +6 -6
  75. tccli/examples/wedata/v20210820/DescribeDataBases.md +12 -8
  76. tccli/examples/wedata/v20210820/DescribeDataCheckStat.md +5 -5
  77. tccli/examples/wedata/v20210820/DescribeDataObjects.md +6 -3
  78. tccli/examples/wedata/v20210820/DescribeExecStrategy.md +20 -16
  79. tccli/examples/wedata/v20210820/DescribeInLongAgentTaskList.md +6 -6
  80. tccli/examples/wedata/v20210820/DescribeInLongAgentVpcList.md +3 -3
  81. tccli/examples/wedata/v20210820/DescribeInstances.md +6 -6
  82. tccli/examples/wedata/v20210820/DescribeIntegrationNode.md +61 -43
  83. tccli/examples/wedata/v20210820/DescribeIntegrationStatistics.md +13 -13
  84. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsAgentStatus.md +6 -6
  85. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsInstanceTrend.md +8 -10
  86. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsRecordsTrend.md +1 -1
  87. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatus.md +5 -5
  88. tccli/examples/wedata/v20210820/DescribeIntegrationStatisticsTaskStatusTrend.md +8 -10
  89. tccli/examples/wedata/v20210820/DescribeMonitorsByPage.md +7 -7
  90. tccli/examples/wedata/v20210820/DescribeOfflineTaskToken.md +3 -3
  91. tccli/examples/wedata/v20210820/DescribeProdTasks.md +6 -5
  92. tccli/examples/wedata/v20210820/DescribeRealTimeTaskInstanceNodeInfo.md +9 -9
  93. tccli/examples/wedata/v20210820/DescribeRealTimeTaskSpeed.md +32 -26
  94. tccli/examples/wedata/v20210820/DescribeRule.md +118 -23
  95. tccli/examples/wedata/v20210820/DescribeRuleDataSources.md +11 -8
  96. tccli/examples/wedata/v20210820/DescribeRuleDimStat.md +3 -3
  97. tccli/examples/wedata/v20210820/DescribeRuleExecDetail.md +48 -41
  98. tccli/examples/wedata/v20210820/DescribeRuleExecExportResult.md +15 -10
  99. tccli/examples/wedata/v20210820/DescribeRuleExecLog.md +2 -2
  100. tccli/examples/wedata/v20210820/DescribeRuleExecResults.md +72 -4
  101. tccli/examples/wedata/v20210820/DescribeRuleExecResultsByPage.md +38 -33
  102. tccli/examples/wedata/v20210820/DescribeRuleExecStat.md +14 -14
  103. tccli/examples/wedata/v20210820/DescribeRuleGroup.md +50 -23
  104. tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPage.md +87 -14
  105. tccli/examples/wedata/v20210820/DescribeRuleGroupExecResultsByPageWithoutAuth.md +81 -12
  106. tccli/examples/wedata/v20210820/DescribeRuleGroupSubscription.md +12 -6
  107. tccli/examples/wedata/v20210820/DescribeRuleGroupTable.md +35 -27
  108. tccli/examples/wedata/v20210820/DescribeRuleGroupsByPage.md +51 -21
  109. tccli/examples/wedata/v20210820/DescribeRuleHistoryByPage.md +9 -9
  110. tccli/examples/wedata/v20210820/DescribeRuleTablesByPage.md +52 -35
  111. tccli/examples/wedata/v20210820/DescribeRuleTemplate.md +33 -16
  112. tccli/examples/wedata/v20210820/DescribeRuleTemplates.md +8 -8
  113. tccli/examples/wedata/v20210820/DescribeRuleTemplatesByPage.md +13 -13
  114. tccli/examples/wedata/v20210820/DescribeRulesByPage.md +123 -28
  115. tccli/examples/wedata/v20210820/DescribeStandardRuleDetailInfoList.md +3 -3
  116. tccli/examples/wedata/v20210820/DescribeTableInfoList.md +9 -2
  117. tccli/examples/wedata/v20210820/DescribeTaskInstance.md +35 -35
  118. tccli/examples/wedata/v20210820/DescribeTaskInstanceReportDetail.md +28 -26
  119. tccli/examples/wedata/v20210820/DescribeTaskLockStatus.md +7 -7
  120. tccli/examples/wedata/v20210820/DescribeTaskReport.md +6 -6
  121. tccli/examples/wedata/v20210820/DescribeTaskReportDetailList.md +17 -17
  122. tccli/examples/wedata/v20210820/DescribeTopTableStat.md +9 -9
  123. tccli/examples/wedata/v20210820/DescribeTrendStat.md +2 -2
  124. tccli/examples/wedata/v20210820/DryRunDIOfflineTask.md +10 -9
  125. tccli/examples/wedata/v20210820/GetIntegrationNodeColumnSchema.md +13 -11
  126. tccli/examples/wedata/v20210820/GetOfflineDIInstanceList.md +26 -26
  127. tccli/examples/wedata/v20210820/LockIntegrationTask.md +4 -4
  128. tccli/examples/wedata/v20210820/ModifyIntegrationNode.md +42 -41
  129. tccli/examples/wedata/v20210820/ModifyIntegrationTask.md +110 -58
  130. tccli/examples/wedata/v20210820/ModifyMonitorStatus.md +4 -4
  131. tccli/examples/wedata/v20210820/ModifyRule.md +24 -24
  132. tccli/examples/wedata/v20210820/ModifyRuleGroupSubscription.md +11 -13
  133. tccli/examples/wedata/v20210820/ModifyTaskAlarmRegular.md +45 -16
  134. tccli/examples/wedata/v20210820/ModifyTaskName.md +5 -5
  135. tccli/examples/wedata/v20210820/RestartInLongAgent.md +3 -3
  136. tccli/examples/wedata/v20210820/RobAndLockIntegrationTask.md +7 -7
  137. tccli/examples/wedata/v20210820/StopIntegrationTask.md +4 -4
  138. tccli/examples/wedata/v20210820/TaskLog.md +5 -15
  139. tccli/examples/wedata/v20210820/UnlockIntegrationTask.md +4 -4
  140. tccli/examples/wedata/v20210820/UpdateInLongAgent.md +5 -5
  141. tccli/services/aiart/aiart_client.py +106 -0
  142. tccli/services/aiart/v20221229/api.json +174 -0
  143. tccli/services/aiart/v20221229/examples.json +16 -0
  144. tccli/services/asr/v20190614/api.json +4 -4
  145. tccli/services/bi/v20220105/api.json +27 -0
  146. tccli/services/billing/v20180709/api.json +365 -130
  147. tccli/services/billing/v20180709/examples.json +4 -4
  148. tccli/services/ccc/ccc_client.py +159 -0
  149. tccli/services/ccc/v20200210/api.json +442 -0
  150. tccli/services/ccc/v20200210/examples.json +24 -0
  151. tccli/services/cdb/v20170320/api.json +3 -3
  152. tccli/services/cdwch/v20200915/api.json +13 -4
  153. tccli/services/cdwdoris/v20211228/api.json +127 -0
  154. tccli/services/cdwpg/v20201230/api.json +9 -0
  155. tccli/services/ckafka/ckafka_client.py +106 -0
  156. tccli/services/ckafka/v20190819/api.json +190 -12
  157. tccli/services/ckafka/v20190819/examples.json +17 -1
  158. tccli/services/clb/v20180317/api.json +2 -2
  159. tccli/services/cloudstudio/v20230508/api.json +40 -4
  160. tccli/services/cls/v20201016/api.json +30 -30
  161. tccli/services/csip/v20221121/api.json +76 -76
  162. tccli/services/cwp/v20180228/api.json +124 -8
  163. tccli/services/cynosdb/cynosdb_client.py +53 -0
  164. tccli/services/cynosdb/v20190107/api.json +255 -0
  165. tccli/services/cynosdb/v20190107/examples.json +8 -0
  166. tccli/services/dlc/dlc_client.py +53 -0
  167. tccli/services/dlc/v20210125/api.json +103 -4
  168. tccli/services/dlc/v20210125/examples.json +8 -0
  169. tccli/services/dsgc/v20190723/api.json +20 -0
  170. tccli/services/dts/v20211206/api.json +56 -2
  171. tccli/services/es/v20180416/api.json +127 -24
  172. tccli/services/ess/v20201111/api.json +20 -20
  173. tccli/services/essbasic/v20210526/api.json +14 -5
  174. tccli/services/essbasic/v20210526/examples.json +1 -1
  175. tccli/services/faceid/v20180301/api.json +23 -13
  176. tccli/services/faceid/v20180301/examples.json +1 -1
  177. tccli/services/iotexplorer/iotexplorer_client.py +1453 -234
  178. tccli/services/iotexplorer/v20190423/api.json +2179 -117
  179. tccli/services/iotexplorer/v20190423/examples.json +184 -0
  180. tccli/services/lcic/v20220817/api.json +62 -4
  181. tccli/services/live/v20180801/api.json +16 -0
  182. tccli/services/monitor/v20180724/examples.json +111 -3
  183. tccli/services/mps/v20190612/api.json +161 -27
  184. tccli/services/ms/v20180408/api.json +14 -14
  185. tccli/services/ocr/ocr_client.py +53 -0
  186. tccli/services/ocr/v20181119/api.json +276 -0
  187. tccli/services/ocr/v20181119/examples.json +8 -0
  188. tccli/services/pts/pts_client.py +212 -0
  189. tccli/services/pts/v20210728/api.json +96 -0
  190. tccli/services/pts/v20210728/examples.json +32 -0
  191. tccli/services/redis/redis_client.py +106 -0
  192. tccli/services/redis/v20180412/api.json +342 -0
  193. tccli/services/redis/v20180412/examples.json +16 -0
  194. tccli/services/ssl/v20191205/examples.json +9 -3
  195. tccli/services/tag/v20180813/examples.json +1 -1
  196. tccli/services/tdmq/v20200217/api.json +45 -0
  197. tccli/services/tione/v20211111/api.json +77 -3
  198. tccli/services/tione/v20211111/examples.json +2 -2
  199. tccli/services/tms/v20201229/api.json +1 -1
  200. tccli/services/tmt/v20180321/api.json +1 -1
  201. tccli/services/trtc/v20190722/api.json +1 -1
  202. tccli/services/tse/v20201207/api.json +286 -42
  203. tccli/services/tts/v20190823/api.json +19 -10
  204. tccli/services/vod/v20180717/api.json +6 -6
  205. tccli/services/vrs/v20200824/api.json +34 -33
  206. tccli/services/vrs/v20200824/examples.json +1 -1
  207. tccli/services/wedata/v20210820/api.json +621 -198
  208. tccli/services/wedata/v20210820/examples.json +146 -146
  209. {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/METADATA +2 -2
  210. {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/RECORD +213 -174
  211. {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/WHEEL +0 -0
  212. {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/entry_points.txt +0 -0
  213. {tccli-3.0.1084.1.dist-info → tccli-3.0.1086.1.dist-info}/license_files/LICENSE +0 -0
@@ -1303,7 +1303,7 @@
1303
1303
  },
1304
1304
  {
1305
1305
  "disabled": false,
1306
- "document": "转自适应码流后,manifest 文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_adaptiveDynamicStreaming_{definition}.{format}`。",
1306
+ "document": "转自适应码流后,manifest 文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:{inputName}_adaptiveDynamicStreaming_{definition}.{format}",
1307
1307
  "example": "{inputName}_adaptiveDynamicStreaming_{definition}.{format}",
1308
1308
  "member": "string",
1309
1309
  "name": "OutputObjectPath",
@@ -1616,6 +1616,16 @@
1616
1616
  "type": "object",
1617
1617
  "value_allowed_null": true
1618
1618
  },
1619
+ {
1620
+ "disabled": false,
1621
+ "document": "视频内容分析片头片尾任务的查询结果,当任务类型为 HeadTailRecognition 时有效。\n注意:此字段可能返回 null,表示取不到有效值。",
1622
+ "example": "无",
1623
+ "member": "AiAnalysisTaskHeadTailResult",
1624
+ "name": "HeadTailTask",
1625
+ "output_required": true,
1626
+ "type": "object",
1627
+ "value_allowed_null": true
1628
+ },
1619
1629
  {
1620
1630
  "disabled": false,
1621
1631
  "document": "视频内容分析摘要任务的查询结果,当任务类型为 Description 时有效。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -2119,6 +2129,104 @@
2119
2129
  ],
2120
2130
  "usage": "out"
2121
2131
  },
2132
+ "AiAnalysisTaskHeadTailInput": {
2133
+ "document": "片头片尾任务输入类型",
2134
+ "members": [
2135
+ {
2136
+ "disabled": false,
2137
+ "document": "片头片尾识别模板 ID。",
2138
+ "example": "无",
2139
+ "member": "uint64",
2140
+ "name": "Definition",
2141
+ "required": true,
2142
+ "type": "int",
2143
+ "value_allowed_null": false
2144
+ }
2145
+ ],
2146
+ "usage": "out"
2147
+ },
2148
+ "AiAnalysisTaskHeadTailOutput": {
2149
+ "document": "片头片尾结果信息",
2150
+ "members": [
2151
+ {
2152
+ "disabled": false,
2153
+ "document": "片头pts。\n注意:此字段可能返回 null,表示取不到有效值。",
2154
+ "example": "无",
2155
+ "member": "float",
2156
+ "name": "HeadTimeOffset",
2157
+ "required": true,
2158
+ "type": "float",
2159
+ "value_allowed_null": true
2160
+ },
2161
+ {
2162
+ "disabled": false,
2163
+ "document": "片尾pts。\n注意:此字段可能返回 null,表示取不到有效值。",
2164
+ "example": "无",
2165
+ "member": "float",
2166
+ "name": "TailTimeOffset",
2167
+ "required": false,
2168
+ "type": "float",
2169
+ "value_allowed_null": true
2170
+ }
2171
+ ],
2172
+ "usage": "out"
2173
+ },
2174
+ "AiAnalysisTaskHeadTailResult": {
2175
+ "document": "片头片尾结果类型",
2176
+ "members": [
2177
+ {
2178
+ "disabled": false,
2179
+ "document": "任务状态,有 PROCESSING,SUCCESS 和 FAIL 三种。",
2180
+ "example": "无",
2181
+ "member": "string",
2182
+ "name": "Status",
2183
+ "output_required": true,
2184
+ "type": "string",
2185
+ "value_allowed_null": false
2186
+ },
2187
+ {
2188
+ "disabled": false,
2189
+ "document": "错误码,0:成功,其他值:失败。",
2190
+ "example": "无",
2191
+ "member": "int64",
2192
+ "name": "ErrCode",
2193
+ "output_required": true,
2194
+ "type": "int",
2195
+ "value_allowed_null": false
2196
+ },
2197
+ {
2198
+ "disabled": false,
2199
+ "document": "错误信息。",
2200
+ "example": "无",
2201
+ "member": "string",
2202
+ "name": "Message",
2203
+ "output_required": true,
2204
+ "type": "string",
2205
+ "value_allowed_null": false
2206
+ },
2207
+ {
2208
+ "disabled": false,
2209
+ "document": "片头片尾任务输入。",
2210
+ "example": "无",
2211
+ "member": "AiAnalysisTaskHeadTailInput",
2212
+ "name": "Input",
2213
+ "output_required": true,
2214
+ "type": "object",
2215
+ "value_allowed_null": false
2216
+ },
2217
+ {
2218
+ "disabled": false,
2219
+ "document": "片头片尾任务输出。\n注意:此字段可能返回 null,表示取不到有效值。",
2220
+ "example": "无",
2221
+ "member": "AiAnalysisTaskHeadTailOutput",
2222
+ "name": "Output",
2223
+ "output_required": true,
2224
+ "type": "object",
2225
+ "value_allowed_null": true
2226
+ }
2227
+ ],
2228
+ "usage": "out"
2229
+ },
2122
2230
  "AiAnalysisTaskHighlightInput": {
2123
2231
  "document": "智能精彩片段任务输入类型",
2124
2232
  "members": [
@@ -5455,9 +5563,10 @@
5455
5563
  {
5456
5564
  "disabled": false,
5457
5565
  "document": "视频转动图模板 ID。",
5458
- "example": "",
5566
+ "example": "",
5459
5567
  "member": "uint64",
5460
5568
  "name": "Definition",
5569
+ "output_required": true,
5461
5570
  "required": true,
5462
5571
  "type": "int",
5463
5572
  "value_allowed_null": false
@@ -5465,9 +5574,10 @@
5465
5574
  {
5466
5575
  "disabled": false,
5467
5576
  "document": "动图在视频中的开始时间,单位为秒。",
5468
- "example": "",
5577
+ "example": "",
5469
5578
  "member": "float",
5470
5579
  "name": "StartTimeOffset",
5580
+ "output_required": true,
5471
5581
  "required": true,
5472
5582
  "type": "float",
5473
5583
  "value_allowed_null": false
@@ -5475,9 +5585,10 @@
5475
5585
  {
5476
5586
  "disabled": false,
5477
5587
  "document": "动图在视频中的结束时间,单位为秒。",
5478
- "example": "",
5588
+ "example": "",
5479
5589
  "member": "float",
5480
5590
  "name": "EndTimeOffset",
5591
+ "output_required": true,
5481
5592
  "required": true,
5482
5593
  "type": "float",
5483
5594
  "value_allowed_null": false
@@ -5485,19 +5596,21 @@
5485
5596
  {
5486
5597
  "disabled": false,
5487
5598
  "document": "转动图后文件的目标存储,不填则继承上层的 OutputStorage 值。\n注意:此字段可能返回 null,表示取不到有效值。",
5488
- "example": "",
5599
+ "example": "",
5489
5600
  "member": "TaskOutputStorage",
5490
5601
  "name": "OutputStorage",
5602
+ "output_required": true,
5491
5603
  "required": false,
5492
5604
  "type": "object",
5493
5605
  "value_allowed_null": true
5494
5606
  },
5495
5607
  {
5496
5608
  "disabled": false,
5497
- "document": "转动图后文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。",
5498
- "example": "",
5609
+ "document": "转动图后文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:`{inputName}_animatedGraphic_{definition}.{format}`。",
5610
+ "example": "",
5499
5611
  "member": "string",
5500
5612
  "name": "OutputObjectPath",
5613
+ "output_required": true,
5501
5614
  "required": false,
5502
5615
  "type": "string",
5503
5616
  "value_allowed_null": false
@@ -5920,8 +6033,8 @@
5920
6033
  "members": [
5921
6034
  {
5922
6035
  "disabled": false,
5923
- "document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>libmp3lame。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>libfdk_aac;</li>\n<li>libmp3lame;</li>\n<li>ac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>libfdk_aac:更适合 mp4;</li>\n<li>libmp3lame:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>libfdk_aac;</li>\n<li>libmp3lame。</li>",
5924
- "example": "libfdk_aac",
6036
+ "document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>",
6037
+ "example": "aac",
5925
6038
  "member": "string",
5926
6039
  "name": "Codec",
5927
6040
  "output_required": true,
@@ -5970,8 +6083,8 @@
5970
6083
  "members": [
5971
6084
  {
5972
6085
  "disabled": false,
5973
- "document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>libmp3lame。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>libfdk_aac;</li>\n<li>libmp3lame;</li>\n<li>ac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>libfdk_aac:更适合 mp4;</li>\n<li>libmp3lame:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>libfdk_aac;</li>\n<li>libmp3lame。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
5974
- "example": "libmp3lame",
6086
+ "document": "音频流的编码格式。\n当不需要对音频进行转码时,可选值为:\n<li>copy。</li>\n当外层参数 Container 为 mp3 时,可选值为:\n<li>mp3。</li>\n当外层参数 Container 为 ogg 或 flac 时,可选值为:\n<li>flac。</li>\n当外层参数 Container 为 m4a 时,可选值为:\n<li>aac;</li>\n<li>mp3;</li>\n<li>ac3。</li>\n当外层参数 Container 为 mp4 或 flv 时,可选值为:\n<li>aac:更适合 mp4;</li>\n<li>mp3:更适合 flv;</li>\n<li>mp2。</li>\n当外层参数 Container 为 hls 时,可选值为:\n<li>aac;</li>\n<li>mp3。</li>\n注意:此字段可能返回 null,表示取不到有效值。",
6087
+ "example": "aac",
5975
6088
  "member": "string",
5976
6089
  "name": "Codec",
5977
6090
  "output_required": false,
@@ -14895,16 +15008,18 @@
14895
15008
  "example": "“”",
14896
15009
  "member": "string",
14897
15010
  "name": "Switch",
15011
+ "output_required": true,
14898
15012
  "required": false,
14899
15013
  "type": "string",
14900
15014
  "value_allowed_null": false
14901
15015
  },
14902
15016
  {
14903
15017
  "disabled": false,
14904
- "document": "类型,可选值:\n<li>HDR10</li>\n<li>HLG</li>\n默认值:HDR10。\n注意:video的编码方式需要为libx265;\n注意:视频编码位深为10。\n注意:此字段可能返回 null,表示取不到有效值。",
15018
+ "document": "类型,可选值:\n<li>HDR10</li>\n<li>HLG</li>\n默认值:HDR10。\n注意:video的编码方式需要为h265;\n注意:视频编码位深为10。\n注意:此字段可能返回 null,表示取不到有效值。",
14905
15019
  "example": "“”",
14906
15020
  "member": "string",
14907
15021
  "name": "Type",
15022
+ "output_required": true,
14908
15023
  "required": false,
14909
15024
  "type": "string",
14910
15025
  "value_allowed_null": true
@@ -15029,7 +15144,7 @@
15029
15144
  },
15030
15145
  {
15031
15146
  "disabled": false,
15032
- "document": "截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}_{number}.{format}`。",
15147
+ "document": "截取雪碧图后,雪碧图图片文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:`{inputName}_imageSprite_{definition}_{number}.{format}`。",
15033
15148
  "example": "无",
15034
15149
  "member": "string",
15035
15150
  "name": "OutputObjectPath",
@@ -22992,7 +23107,7 @@
22992
23107
  },
22993
23108
  {
22994
23109
  "disabled": false,
22995
- "document": "采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_sampleSnapshot_{definition}_{number}.{format}`。",
23110
+ "document": "采样截图后图片文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:`{inputName}_sampleSnapshot_{definition}_{number}.{format}`。\n",
22996
23111
  "example": "无",
22997
23112
  "member": "string",
22998
23113
  "name": "OutputObjectPath",
@@ -23820,9 +23935,10 @@
23820
23935
  {
23821
23936
  "disabled": false,
23822
23937
  "document": "指定时间点截图模板 ID。",
23823
- "example": "",
23938
+ "example": "",
23824
23939
  "member": "uint64",
23825
23940
  "name": "Definition",
23941
+ "output_required": true,
23826
23942
  "required": true,
23827
23943
  "type": "int",
23828
23944
  "value_allowed_null": false
@@ -23830,9 +23946,10 @@
23830
23946
  {
23831
23947
  "disabled": false,
23832
23948
  "document": "截图时间点列表,时间点支持 s、% 两种格式:\n<li>当字符串以 s 结尾,表示时间点单位为秒,如 3.5s 表示时间点为第3.5秒;</li>\n<li>当字符串以 % 结尾,表示时间点为视频时长的百分比大小,如10%表示时间点为视频前第10%的时间。</li>",
23833
- "example": "",
23949
+ "example": "",
23834
23950
  "member": "string",
23835
23951
  "name": "ExtTimeOffsetSet",
23952
+ "output_required": true,
23836
23953
  "required": false,
23837
23954
  "type": "list",
23838
23955
  "value_allowed_null": false
@@ -23840,9 +23957,10 @@
23840
23957
  {
23841
23958
  "disabled": false,
23842
23959
  "document": "截图时间点列表,单位为<font color=red>秒</font>。此参数已不再建议使用,建议您使用 ExtTimeOffsetSet 参数。",
23843
- "example": "",
23960
+ "example": "",
23844
23961
  "member": "float",
23845
23962
  "name": "TimeOffsetSet",
23963
+ "output_required": true,
23846
23964
  "required": false,
23847
23965
  "type": "list",
23848
23966
  "value_allowed_null": false
@@ -23850,9 +23968,10 @@
23850
23968
  {
23851
23969
  "disabled": false,
23852
23970
  "document": "水印列表,支持多张图片或文字水印,最大可支持 10 张。",
23853
- "example": "",
23971
+ "example": "",
23854
23972
  "member": "WatermarkInput",
23855
23973
  "name": "WatermarkSet",
23974
+ "output_required": true,
23856
23975
  "required": false,
23857
23976
  "type": "list",
23858
23977
  "value_allowed_null": false
@@ -23860,19 +23979,21 @@
23860
23979
  {
23861
23980
  "disabled": false,
23862
23981
  "document": "时间点截图后文件的目标存储,不填则继承上层的 OutputStorage 值。\n注意:此字段可能返回 null,表示取不到有效值。",
23863
- "example": "",
23982
+ "example": "",
23864
23983
  "member": "TaskOutputStorage",
23865
23984
  "name": "OutputStorage",
23985
+ "output_required": true,
23866
23986
  "required": false,
23867
23987
  "type": "object",
23868
23988
  "value_allowed_null": true
23869
23989
  },
23870
23990
  {
23871
23991
  "disabled": false,
23872
- "document": "时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`。",
23873
- "example": "",
23992
+ "document": "时间点截图后图片文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:`{inputName}_snapshotByTimeOffset_{definition}_{number}.{format}`。",
23993
+ "example": "",
23874
23994
  "member": "string",
23875
23995
  "name": "OutputObjectPath",
23996
+ "output_required": true,
23876
23997
  "required": false,
23877
23998
  "type": "string",
23878
23999
  "value_allowed_null": false
@@ -23880,9 +24001,10 @@
23880
24001
  {
23881
24002
  "disabled": false,
23882
24003
  "document": "时间点截图后输出路径中的`{number}`变量的规则。\n注意:此字段可能返回 null,表示取不到有效值。",
23883
- "example": "",
24004
+ "example": "",
23884
24005
  "member": "NumberFormat",
23885
24006
  "name": "ObjectNumberFormat",
24007
+ "output_required": true,
23886
24008
  "required": false,
23887
24009
  "type": "object",
23888
24010
  "value_allowed_null": true
@@ -24848,6 +24970,7 @@
24848
24970
  "example": "20",
24849
24971
  "member": "uint64",
24850
24972
  "name": "Definition",
24973
+ "output_required": true,
24851
24974
  "required": true,
24852
24975
  "type": "int",
24853
24976
  "value_allowed_null": false
@@ -24858,6 +24981,7 @@
24858
24981
  "example": "null",
24859
24982
  "member": "RawTranscodeParameter",
24860
24983
  "name": "RawParameter",
24984
+ "output_required": true,
24861
24985
  "required": false,
24862
24986
  "type": "object",
24863
24987
  "value_allowed_null": true
@@ -24868,6 +24992,7 @@
24868
24992
  "example": "null",
24869
24993
  "member": "OverrideTranscodeParameter",
24870
24994
  "name": "OverrideParameter",
24995
+ "output_required": true,
24871
24996
  "required": false,
24872
24997
  "type": "object",
24873
24998
  "value_allowed_null": true
@@ -24878,6 +25003,7 @@
24878
25003
  "example": "null",
24879
25004
  "member": "WatermarkInput",
24880
25005
  "name": "WatermarkSet",
25006
+ "output_required": true,
24881
25007
  "required": false,
24882
25008
  "type": "list",
24883
25009
  "value_allowed_null": true
@@ -24888,6 +25014,7 @@
24888
25014
  "example": "null",
24889
25015
  "member": "MosaicInput",
24890
25016
  "name": "MosaicSet",
25017
+ "output_required": true,
24891
25018
  "required": false,
24892
25019
  "type": "list",
24893
25020
  "value_allowed_null": false
@@ -24898,6 +25025,7 @@
24898
25025
  "example": "null",
24899
25026
  "member": "float",
24900
25027
  "name": "StartTimeOffset",
25028
+ "output_required": true,
24901
25029
  "required": false,
24902
25030
  "type": "float",
24903
25031
  "value_allowed_null": false
@@ -24908,6 +25036,7 @@
24908
25036
  "example": "null",
24909
25037
  "member": "float",
24910
25038
  "name": "EndTimeOffset",
25039
+ "output_required": true,
24911
25040
  "required": false,
24912
25041
  "type": "float",
24913
25042
  "value_allowed_null": false
@@ -24918,16 +25047,18 @@
24918
25047
  "example": "null",
24919
25048
  "member": "TaskOutputStorage",
24920
25049
  "name": "OutputStorage",
25050
+ "output_required": true,
24921
25051
  "required": false,
24922
25052
  "type": "object",
24923
25053
  "value_allowed_null": true
24924
25054
  },
24925
25055
  {
24926
25056
  "disabled": false,
24927
- "document": "转码后主文件的输出路径,可以为相对路径或者绝对路径。如果不填,则默认为相对路径:`{inputName}_transcode_{definition}.{format}`。",
25057
+ "document": "转码后主文件的输出路径,可以为相对路径或者绝对路径。\n若需定义输出路径,路径需以`.{format}`结尾。变量名请参考 [文件名变量说明](https://cloud.tencent.com/document/product/862/37039)。\n相对路径示例:\n<li>文件名_{变量名}.{format}</li>\n<li>文件名.{format}</li>\n绝对路径示例:\n<li>/自定义路径/文件名_{变量名}.{format}</li>\n如果不填,则默认为相对路径:`{inputName}_transcode_{definition}.{format}`。\n",
24928
25058
  "example": "null",
24929
25059
  "member": "string",
24930
25060
  "name": "OutputObjectPath",
25061
+ "output_required": true,
24931
25062
  "required": false,
24932
25063
  "type": "string",
24933
25064
  "value_allowed_null": false
@@ -24938,6 +25069,7 @@
24938
25069
  "example": "null",
24939
25070
  "member": "string",
24940
25071
  "name": "SegmentObjectName",
25072
+ "output_required": true,
24941
25073
  "required": false,
24942
25074
  "type": "string",
24943
25075
  "value_allowed_null": false
@@ -24948,6 +25080,7 @@
24948
25080
  "example": "null",
24949
25081
  "member": "NumberFormat",
24950
25082
  "name": "ObjectNumberFormat",
25083
+ "output_required": true,
24951
25084
  "required": false,
24952
25085
  "type": "object",
24953
25086
  "value_allowed_null": true
@@ -24958,6 +25091,7 @@
24958
25091
  "example": "{ \"HeadSet\": [ { \"Type\": \"URL\", \"UrlInputInfo\"",
24959
25092
  "member": "HeadTailParameter",
24960
25093
  "name": "HeadTailParameter",
25094
+ "output_required": true,
24961
25095
  "required": false,
24962
25096
  "type": "object",
24963
25097
  "value_allowed_null": true
@@ -25694,8 +25828,8 @@
25694
25828
  "members": [
25695
25829
  {
25696
25830
  "disabled": false,
25697
- "document": "视频流的编码格式,可选值:\n<li>libx264:H.264 编码</li>\n<li>libx265:H.265 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n注意:av1 编码容器目前只支持 mp4 。",
25698
- "example": "libx264",
25831
+ "document": "视频流的编码格式,可选值:\n<li>h264:H.264 编码</li>\n<li>h265:H.265 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n注意:av1 编码容器目前只支持 mp4 。",
25832
+ "example": "h264",
25699
25833
  "member": "string",
25700
25834
  "name": "Codec",
25701
25835
  "output_required": true,
@@ -25799,8 +25933,8 @@
25799
25933
  "members": [
25800
25934
  {
25801
25935
  "disabled": false,
25802
- "document": "视频流的编码格式,可选值:\n<li>libx264:H.264 编码</li>\n<li>libx265:H.265 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n注意:av1 编码容器目前只支持 mp4 。\n注意:此字段可能返回 null,表示取不到有效值。",
25803
- "example": "libx264",
25936
+ "document": "视频流的编码格式,可选值:\n<li>h264:H.264 编码</li>\n<li>h265:H.265 编码</li>\n<li>av1:AOMedia Video 1 编码</li>\n注意:目前 H.265 编码必须指定分辨率,并且需要在 640*480 以内。\n注意:av1 编码容器目前只支持 mp4 。\n注意:此字段可能返回 null,表示取不到有效值。",
25937
+ "example": "h264",
25804
25938
  "member": "string",
25805
25939
  "name": "Codec",
25806
25940
  "output_required": false,
@@ -2696,7 +2696,7 @@
2696
2696
  "example": "0",
2697
2697
  "member": "int64",
2698
2698
  "name": "ResultCode",
2699
- "required": true,
2699
+ "output_required": true,
2700
2700
  "type": "int",
2701
2701
  "value_allowed_null": false
2702
2702
  },
@@ -2706,7 +2706,7 @@
2706
2706
  "example": "1",
2707
2707
  "member": "int64",
2708
2708
  "name": "RespVer",
2709
- "required": true,
2709
+ "output_required": true,
2710
2710
  "type": "int",
2711
2711
  "value_allowed_null": false
2712
2712
  },
@@ -2716,17 +2716,17 @@
2716
2716
  "example": "1",
2717
2717
  "member": "int64",
2718
2718
  "name": "UrlType",
2719
- "required": true,
2719
+ "output_required": true,
2720
2720
  "type": "int",
2721
2721
  "value_allowed_null": false
2722
2722
  },
2723
2723
  {
2724
2724
  "disabled": false,
2725
- "document": "[查询结果]url恶意类型大类:{\n \"1\": \"社工欺诈(仿冒、账号钓鱼、中奖诈骗)\",\n \"2\": \"信息诈骗(虚假充值、虚假兼职、虚假金融投资、虚假信用卡代办、网络赌博诈骗)\",\n \"3\": \"虚假销售(男女保健美容减肥产品、电子产品、虚假广告、违法销售)\",\n \"4\": \"恶意文件(病毒文件,木马文件,恶意apk文件的下载链接以及站点,挂马网站)\",\n \"5\": \"博彩网站(博彩网站,在线赌博网站)\",\n \"6\": \"色情网站(涉嫌传播色情内容,提供色情服务的网站)\"\n }",
2725
+ "document": "[查询结果]url恶意类型大类:{\n \"1\": \"社工欺诈(仿冒、账号钓鱼、中奖诈骗)\",\n \"2\": \"信息诈骗(虚假充值、虚假兼职、虚假金融投资、虚假信用卡代办、网络赌博诈骗)\",\n \"3\": \"虚假销售(男女保健美容减肥产品、电子产品、虚假广告、违法销售)\",\n \"4\": \"恶意文件(病毒文件,木马文件,恶意apk文件的下载链接以及站点,挂马网站)\",\n \"5\": \"博彩网站(博彩网站,在线赌博网站)\",\n \"6\": \"色情网站(涉嫌传播色情内容,提供色情服务的网站)\",\n \"7\": \"风险网站(弱类型,传播垃圾信息的网站,如果客户端有阻断,不建议使用这个网站)\",\n \"8\": \"违法网站(根据法律法规不能传播的内容,以及侵犯知识产权的类型)\"\n }",
2726
2726
  "example": "1",
2727
2727
  "member": "int64",
2728
2728
  "name": "EvilClass",
2729
- "required": true,
2729
+ "output_required": true,
2730
2730
  "type": "int",
2731
2731
  "value_allowed_null": false
2732
2732
  },
@@ -2736,7 +2736,7 @@
2736
2736
  "example": "1",
2737
2737
  "member": "int64",
2738
2738
  "name": "EvilType",
2739
- "required": true,
2739
+ "output_required": true,
2740
2740
  "type": "int",
2741
2741
  "value_allowed_null": false
2742
2742
  },
@@ -2746,7 +2746,7 @@
2746
2746
  "example": "1",
2747
2747
  "member": "int64",
2748
2748
  "name": "Level",
2749
- "required": true,
2749
+ "output_required": true,
2750
2750
  "type": "int",
2751
2751
  "value_allowed_null": false
2752
2752
  },
@@ -2756,7 +2756,7 @@
2756
2756
  "example": "111",
2757
2757
  "member": "int64",
2758
2758
  "name": "DetectTime",
2759
- "required": true,
2759
+ "output_required": true,
2760
2760
  "type": "int",
2761
2761
  "value_allowed_null": false
2762
2762
  },
@@ -2766,7 +2766,7 @@
2766
2766
  "example": "\"\"",
2767
2767
  "member": "string",
2768
2768
  "name": "Wording",
2769
- "required": true,
2769
+ "output_required": true,
2770
2770
  "type": "string",
2771
2771
  "value_allowed_null": false
2772
2772
  },
@@ -2776,7 +2776,7 @@
2776
2776
  "example": "\"\"",
2777
2777
  "member": "string",
2778
2778
  "name": "WordingTitle",
2779
- "required": true,
2779
+ "output_required": true,
2780
2780
  "type": "string",
2781
2781
  "value_allowed_null": false
2782
2782
  },
@@ -2786,7 +2786,7 @@
2786
2786
  "example": "\"\"",
2787
2787
  "member": "string",
2788
2788
  "name": "UrlTypeDesc",
2789
- "required": true,
2789
+ "output_required": true,
2790
2790
  "type": "string",
2791
2791
  "value_allowed_null": false
2792
2792
  },
@@ -2796,7 +2796,7 @@
2796
2796
  "example": "\"\"",
2797
2797
  "member": "string",
2798
2798
  "name": "EvilClassDesc",
2799
- "required": true,
2799
+ "output_required": true,
2800
2800
  "type": "string",
2801
2801
  "value_allowed_null": false
2802
2802
  },
@@ -2806,7 +2806,7 @@
2806
2806
  "example": "\"\"",
2807
2807
  "member": "string",
2808
2808
  "name": "EvilTypeDesc",
2809
- "required": true,
2809
+ "output_required": true,
2810
2810
  "type": "string",
2811
2811
  "value_allowed_null": false
2812
2812
  },
@@ -2816,7 +2816,7 @@
2816
2816
  "example": "\"\"",
2817
2817
  "member": "string",
2818
2818
  "name": "LevelDesc",
2819
- "required": true,
2819
+ "output_required": true,
2820
2820
  "type": "string",
2821
2821
  "value_allowed_null": false
2822
2822
  },
@@ -1525,6 +1525,58 @@ def doInvoiceGeneralOCR(args, parsed_globals):
1525
1525
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1526
1526
 
1527
1527
 
1528
+ def doReconstructDocument(args, parsed_globals):
1529
+ g_param = parse_global_arg(parsed_globals)
1530
+
1531
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1532
+ cred = credential.CVMRoleCredential()
1533
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1534
+ cred = credential.STSAssumeRoleCredential(
1535
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1536
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1537
+ )
1538
+ 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):
1539
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1540
+ else:
1541
+ cred = credential.Credential(
1542
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1543
+ )
1544
+ http_profile = HttpProfile(
1545
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1546
+ reqMethod="POST",
1547
+ endpoint=g_param[OptionsDefine.Endpoint],
1548
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1549
+ )
1550
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1551
+ if g_param[OptionsDefine.Language]:
1552
+ profile.language = g_param[OptionsDefine.Language]
1553
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1554
+ client = mod.OcrClient(cred, g_param[OptionsDefine.Region], profile)
1555
+ client._sdkVersion += ("_CLI_" + __version__)
1556
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1557
+ model = models.ReconstructDocumentRequest()
1558
+ model.from_json_string(json.dumps(args))
1559
+ start_time = time.time()
1560
+ while True:
1561
+ rsp = client.ReconstructDocument(model)
1562
+ result = rsp.to_json_string()
1563
+ try:
1564
+ json_obj = json.loads(result)
1565
+ except TypeError as e:
1566
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1567
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1568
+ break
1569
+ cur_time = time.time()
1570
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1571
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1572
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1573
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1574
+ else:
1575
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1576
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1577
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1578
+
1579
+
1528
1580
  def doGetTaskState(args, parsed_globals):
1529
1581
  g_param = parse_global_arg(parsed_globals)
1530
1582
 
@@ -4373,6 +4425,7 @@ ACTION_MAP = {
4373
4425
  "GeneralHandwritingOCR": doGeneralHandwritingOCR,
4374
4426
  "AdvertiseOCR": doAdvertiseOCR,
4375
4427
  "InvoiceGeneralOCR": doInvoiceGeneralOCR,
4428
+ "ReconstructDocument": doReconstructDocument,
4376
4429
  "GetTaskState": doGetTaskState,
4377
4430
  "RecognizeOnlineTaxiItineraryOCR": doRecognizeOnlineTaxiItineraryOCR,
4378
4431
  "HKIDCardOCR": doHKIDCardOCR,