tccli 3.0.1217.1__py2.py3-none-any.whl → 3.0.1219.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 (303) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/command.py +0 -1
  3. tccli/configure.py +11 -1
  4. tccli/services/__init__.py +3 -0
  5. tccli/services/aa/aa_client.py +13 -1
  6. tccli/services/aai/aai_client.py +13 -1
  7. tccli/services/acp/acp_client.py +13 -1
  8. tccli/services/advisor/advisor_client.py +13 -1
  9. tccli/services/af/af_client.py +13 -1
  10. tccli/services/af/v20200226/api.json +2 -2
  11. tccli/services/afc/afc_client.py +13 -1
  12. tccli/services/aiart/aiart_client.py +13 -1
  13. tccli/services/ame/ame_client.py +13 -1
  14. tccli/services/ams/ams_client.py +13 -1
  15. tccli/services/anicloud/anicloud_client.py +13 -1
  16. tccli/services/antiddos/antiddos_client.py +13 -1
  17. tccli/services/apcas/apcas_client.py +13 -1
  18. tccli/services/ape/ape_client.py +13 -1
  19. tccli/services/api/api_client.py +13 -1
  20. tccli/services/apigateway/apigateway_client.py +13 -1
  21. tccli/services/apm/apm_client.py +13 -1
  22. tccli/services/asr/asr_client.py +13 -1
  23. tccli/services/asw/asw_client.py +13 -1
  24. tccli/services/autoscaling/autoscaling_client.py +13 -1
  25. tccli/services/ba/ba_client.py +13 -1
  26. tccli/services/batch/batch_client.py +13 -1
  27. tccli/services/bda/bda_client.py +13 -1
  28. tccli/services/bh/bh_client.py +13 -1
  29. tccli/services/bi/bi_client.py +13 -1
  30. tccli/services/billing/billing_client.py +13 -1
  31. tccli/services/billing/v20180709/api.json +176 -181
  32. tccli/services/billing/v20180709/examples.json +7 -7
  33. tccli/services/bizlive/bizlive_client.py +13 -1
  34. tccli/services/bm/bm_client.py +13 -1
  35. tccli/services/bma/bma_client.py +13 -1
  36. tccli/services/bmeip/bmeip_client.py +13 -1
  37. tccli/services/bmlb/bmlb_client.py +13 -1
  38. tccli/services/bmvpc/bmvpc_client.py +13 -1
  39. tccli/services/bpaas/bpaas_client.py +13 -1
  40. tccli/services/bri/bri_client.py +13 -1
  41. tccli/services/bsca/bsca_client.py +13 -1
  42. tccli/services/btoe/btoe_client.py +13 -1
  43. tccli/services/ca/ca_client.py +13 -1
  44. tccli/services/cam/cam_client.py +13 -1
  45. tccli/services/captcha/captcha_client.py +13 -1
  46. tccli/services/car/car_client.py +13 -1
  47. tccli/services/cat/cat_client.py +13 -1
  48. tccli/services/cbs/cbs_client.py +13 -1
  49. tccli/services/ccc/ccc_client.py +13 -1
  50. tccli/services/cdb/cdb_client.py +13 -1
  51. tccli/services/cdc/cdc_client.py +13 -1
  52. tccli/services/cdn/cdn_client.py +13 -1
  53. tccli/services/cds/cds_client.py +13 -1
  54. tccli/services/cdwch/cdwch_client.py +13 -1
  55. tccli/services/cdwdoris/cdwdoris_client.py +13 -1
  56. tccli/services/cdwpg/cdwpg_client.py +13 -1
  57. tccli/services/cdz/cdz_client.py +13 -1
  58. tccli/services/cfg/cfg_client.py +13 -1
  59. tccli/services/cfs/cfs_client.py +13 -1
  60. tccli/services/cfw/cfw_client.py +13 -1
  61. tccli/services/chdfs/chdfs_client.py +13 -1
  62. tccli/services/ciam/ciam_client.py +13 -1
  63. tccli/services/cii/cii_client.py +13 -1
  64. tccli/services/cim/cim_client.py +13 -1
  65. tccli/services/cis/cis_client.py +13 -1
  66. tccli/services/ckafka/ckafka_client.py +13 -1
  67. tccli/services/ckafka/v20190819/api.json +7 -7
  68. tccli/services/clb/clb_client.py +13 -1
  69. tccli/services/clb/v20180317/api.json +12 -12
  70. tccli/services/cloudapp/cloudapp_client.py +13 -1
  71. tccli/services/cloudaudit/cloudaudit_client.py +13 -1
  72. tccli/services/cloudhsm/cloudhsm_client.py +13 -1
  73. tccli/services/cloudstudio/cloudstudio_client.py +13 -1
  74. tccli/services/cls/cls_client.py +13 -1
  75. tccli/services/cme/cme_client.py +13 -1
  76. tccli/services/cmq/cmq_client.py +13 -1
  77. tccli/services/cms/cms_client.py +13 -1
  78. tccli/services/config/config_client.py +13 -1
  79. tccli/services/controlcenter/controlcenter_client.py +13 -1
  80. tccli/services/cpdp/cpdp_client.py +13 -1
  81. tccli/services/csip/csip_client.py +13 -1
  82. tccli/services/csxg/csxg_client.py +13 -1
  83. tccli/services/cvm/cvm_client.py +13 -1
  84. tccli/services/cwp/cwp_client.py +13 -1
  85. tccli/services/cwp/v20180228/api.json +1 -1
  86. tccli/services/cws/cws_client.py +13 -1
  87. tccli/services/cynosdb/cynosdb_client.py +13 -1
  88. tccli/services/dasb/dasb_client.py +13 -1
  89. tccli/services/dataintegration/dataintegration_client.py +13 -1
  90. tccli/services/dayu/dayu_client.py +13 -1
  91. tccli/services/dbbrain/dbbrain_client.py +13 -1
  92. tccli/services/dbdc/dbdc_client.py +13 -1
  93. tccli/services/dc/dc_client.py +13 -1
  94. tccli/services/dcdb/dcdb_client.py +13 -1
  95. tccli/services/dlc/dlc_client.py +13 -1
  96. tccli/services/dnspod/dnspod_client.py +13 -1
  97. tccli/services/domain/domain_client.py +13 -1
  98. tccli/services/drm/drm_client.py +13 -1
  99. tccli/services/ds/ds_client.py +13 -1
  100. tccli/services/dsgc/dsgc_client.py +13 -1
  101. tccli/services/dtf/dtf_client.py +13 -1
  102. tccli/services/dts/dts_client.py +13 -1
  103. tccli/services/eb/eb_client.py +13 -1
  104. tccli/services/ecc/ecc_client.py +13 -1
  105. tccli/services/ecdn/ecdn_client.py +13 -1
  106. tccli/services/ecm/ecm_client.py +13 -1
  107. tccli/services/eiam/eiam_client.py +13 -1
  108. tccli/services/eis/eis_client.py +13 -1
  109. tccli/services/emr/emr_client.py +13 -1
  110. tccli/services/es/es_client.py +13 -1
  111. tccli/services/es/v20180416/examples.json +2 -2
  112. tccli/services/ess/ess_client.py +13 -1
  113. tccli/services/ess/v20201111/api.json +9 -0
  114. tccli/services/essbasic/essbasic_client.py +13 -1
  115. tccli/services/essbasic/v20210526/api.json +9 -0
  116. tccli/services/facefusion/facefusion_client.py +13 -1
  117. tccli/services/faceid/faceid_client.py +13 -1
  118. tccli/services/faceid/v20180301/api.json +2 -2
  119. tccli/services/fmu/fmu_client.py +13 -1
  120. tccli/services/ft/ft_client.py +13 -1
  121. tccli/services/gaap/gaap_client.py +13 -1
  122. tccli/services/gme/gme_client.py +13 -1
  123. tccli/services/goosefs/goosefs_client.py +13 -1
  124. tccli/services/gpm/gpm_client.py +13 -1
  125. tccli/services/gs/gs_client.py +13 -1
  126. tccli/services/gse/gse_client.py +13 -1
  127. tccli/services/gwlb/gwlb_client.py +13 -1
  128. tccli/services/habo/habo_client.py +13 -1
  129. tccli/services/hai/hai_client.py +13 -1
  130. tccli/services/hasim/hasim_client.py +13 -1
  131. tccli/services/hcm/hcm_client.py +13 -1
  132. tccli/services/hunyuan/hunyuan_client.py +13 -1
  133. tccli/services/iai/iai_client.py +13 -1
  134. tccli/services/iai/v20180301/api.json +17 -13
  135. tccli/services/iai/v20200303/examples.json +200 -200
  136. tccli/services/iap/__init__.py +4 -0
  137. tccli/services/iap/iap_client.py +472 -0
  138. tccli/services/iap/v20240713/api.json +471 -0
  139. tccli/services/iap/v20240713/examples.json +59 -0
  140. tccli/services/ic/ic_client.py +13 -1
  141. tccli/services/icr/icr_client.py +13 -1
  142. tccli/services/ie/ie_client.py +13 -1
  143. tccli/services/iecp/iecp_client.py +13 -1
  144. tccli/services/ig/ig_client.py +13 -1
  145. tccli/services/iir/iir_client.py +13 -1
  146. tccli/services/ims/ims_client.py +13 -1
  147. tccli/services/ioa/ioa_client.py +13 -1
  148. tccli/services/iot/iot_client.py +13 -1
  149. tccli/services/iotcloud/iotcloud_client.py +13 -1
  150. tccli/services/iotexplorer/iotexplorer_client.py +13 -1
  151. tccli/services/iottid/iottid_client.py +13 -1
  152. tccli/services/iotvideo/iotvideo_client.py +13 -1
  153. tccli/services/iotvideoindustry/iotvideoindustry_client.py +13 -1
  154. tccli/services/irp/irp_client.py +13 -1
  155. tccli/services/iss/iss_client.py +13 -1
  156. tccli/services/ivld/ivld_client.py +13 -1
  157. tccli/services/keewidb/keewidb_client.py +13 -1
  158. tccli/services/kms/kms_client.py +13 -1
  159. tccli/services/lcic/lcic_client.py +13 -1
  160. tccli/services/lcic/v20220817/api.json +3 -3
  161. tccli/services/lighthouse/lighthouse_client.py +13 -1
  162. tccli/services/live/live_client.py +441 -5
  163. tccli/services/live/v20180801/api.json +1070 -68
  164. tccli/services/live/v20180801/examples.json +64 -0
  165. tccli/services/lke/lke_client.py +13 -1
  166. tccli/services/lowcode/lowcode_client.py +13 -1
  167. tccli/services/lp/lp_client.py +13 -1
  168. tccli/services/mall/mall_client.py +13 -1
  169. tccli/services/mariadb/mariadb_client.py +13 -1
  170. tccli/services/market/market_client.py +13 -1
  171. tccli/services/market/v20191010/api.json +4 -4
  172. tccli/services/market/v20191010/examples.json +2 -2
  173. tccli/services/memcached/memcached_client.py +13 -1
  174. tccli/services/mgobe/mgobe_client.py +13 -1
  175. tccli/services/mmps/mmps_client.py +13 -1
  176. tccli/services/mna/mna_client.py +13 -1
  177. tccli/services/mongodb/mongodb_client.py +13 -1
  178. tccli/services/monitor/monitor_client.py +13 -1
  179. tccli/services/mps/mps_client.py +13 -1
  180. tccli/services/mps/v20190612/api.json +20 -0
  181. tccli/services/mqtt/mqtt_client.py +13 -1
  182. tccli/services/mrs/mrs_client.py +13 -1
  183. tccli/services/ms/ms_client.py +13 -1
  184. tccli/services/msp/msp_client.py +13 -1
  185. tccli/services/mvj/mvj_client.py +13 -1
  186. tccli/services/nlp/nlp_client.py +13 -1
  187. tccli/services/npp/npp_client.py +13 -1
  188. tccli/services/oceanus/oceanus_client.py +13 -1
  189. tccli/services/ocr/ocr_client.py +13 -1
  190. tccli/services/omics/omics_client.py +13 -1
  191. tccli/services/organization/organization_client.py +13 -1
  192. tccli/services/partners/partners_client.py +13 -1
  193. tccli/services/partners/v20180321/api.json +4 -4
  194. tccli/services/pds/pds_client.py +13 -1
  195. tccli/services/postgres/postgres_client.py +13 -1
  196. tccli/services/privatedns/privatedns_client.py +13 -1
  197. tccli/services/pts/pts_client.py +13 -1
  198. tccli/services/pts/v20210728/api.json +3 -0
  199. tccli/services/rce/rce_client.py +13 -1
  200. tccli/services/redis/redis_client.py +13 -1
  201. tccli/services/redis/v20180412/api.json +169 -163
  202. tccli/services/redis/v20180412/examples.json +3 -3
  203. tccli/services/region/region_client.py +13 -1
  204. tccli/services/rkp/rkp_client.py +13 -1
  205. tccli/services/rp/rp_client.py +13 -1
  206. tccli/services/rum/rum_client.py +13 -1
  207. tccli/services/scf/scf_client.py +13 -1
  208. tccli/services/ses/ses_client.py +13 -1
  209. tccli/services/smh/smh_client.py +13 -1
  210. tccli/services/smop/smop_client.py +13 -1
  211. tccli/services/smpn/smpn_client.py +13 -1
  212. tccli/services/sms/sms_client.py +13 -1
  213. tccli/services/soe/soe_client.py +13 -1
  214. tccli/services/solar/solar_client.py +13 -1
  215. tccli/services/sqlserver/sqlserver_client.py +13 -1
  216. tccli/services/ssa/ssa_client.py +13 -1
  217. tccli/services/ssl/ssl_client.py +13 -1
  218. tccli/services/sslpod/sslpod_client.py +13 -1
  219. tccli/services/ssm/ssm_client.py +13 -1
  220. tccli/services/sts/sts_client.py +13 -1
  221. tccli/services/svp/svp_client.py +13 -1
  222. tccli/services/svp/v20240125/api.json +27 -27
  223. tccli/services/svp/v20240125/examples.json +1 -1
  224. tccli/services/taf/taf_client.py +13 -1
  225. tccli/services/tag/tag_client.py +13 -1
  226. tccli/services/tan/tan_client.py +13 -1
  227. tccli/services/tat/tat_client.py +13 -1
  228. tccli/services/tat/v20201028/api.json +5 -5
  229. tccli/services/tav/tav_client.py +13 -1
  230. tccli/services/tbaas/tbaas_client.py +13 -1
  231. tccli/services/tbm/tbm_client.py +13 -1
  232. tccli/services/tbp/tbp_client.py +13 -1
  233. tccli/services/tcaplusdb/tcaplusdb_client.py +13 -1
  234. tccli/services/tcb/tcb_client.py +13 -1
  235. tccli/services/tcbr/tcbr_client.py +13 -1
  236. tccli/services/tcex/tcex_client.py +13 -1
  237. tccli/services/tchd/tchd_client.py +13 -1
  238. tccli/services/tci/tci_client.py +13 -1
  239. tccli/services/tcm/tcm_client.py +13 -1
  240. tccli/services/tcr/tcr_client.py +13 -1
  241. tccli/services/tcss/tcss_client.py +13 -1
  242. tccli/services/tdcpg/tdcpg_client.py +13 -1
  243. tccli/services/tdid/tdid_client.py +13 -1
  244. tccli/services/tdmq/tdmq_client.py +13 -1
  245. tccli/services/tdmq/v20200217/api.json +1 -1
  246. tccli/services/tds/tds_client.py +13 -1
  247. tccli/services/tem/tem_client.py +13 -1
  248. tccli/services/teo/teo_client.py +13 -1
  249. tccli/services/thpc/thpc_client.py +13 -1
  250. tccli/services/tia/tia_client.py +13 -1
  251. tccli/services/tic/tic_client.py +13 -1
  252. tccli/services/ticm/ticm_client.py +13 -1
  253. tccli/services/tics/tics_client.py +13 -1
  254. tccli/services/tiems/tiems_client.py +13 -1
  255. tccli/services/tiia/tiia_client.py +13 -1
  256. tccli/services/tione/tione_client.py +13 -1
  257. tccli/services/tiw/tiw_client.py +13 -1
  258. tccli/services/tke/tke_client.py +13 -1
  259. tccli/services/tke/v20220501/api.json +2 -2
  260. tccli/services/tkgdq/tkgdq_client.py +13 -1
  261. tccli/services/tms/tms_client.py +13 -1
  262. tccli/services/tmt/tmt_client.py +13 -1
  263. tccli/services/tourism/tourism_client.py +13 -1
  264. tccli/services/trdp/trdp_client.py +13 -1
  265. tccli/services/trocket/trocket_client.py +13 -1
  266. tccli/services/trp/trp_client.py +13 -1
  267. tccli/services/trro/trro_client.py +13 -1
  268. tccli/services/trtc/trtc_client.py +13 -1
  269. tccli/services/tse/tse_client.py +13 -1
  270. tccli/services/tse/v20201207/api.json +199 -12
  271. tccli/services/tsf/tsf_client.py +13 -1
  272. tccli/services/tsi/tsi_client.py +13 -1
  273. tccli/services/tsw/tsw_client.py +13 -1
  274. tccli/services/tts/tts_client.py +13 -1
  275. tccli/services/ump/ump_client.py +13 -1
  276. tccli/services/vcg/v20240404/api.json +1 -1
  277. tccli/services/vcg/v20240404/examples.json +4 -4
  278. tccli/services/vcg/vcg_client.py +13 -1
  279. tccli/services/vclm/vclm_client.py +13 -1
  280. tccli/services/vdb/vdb_client.py +13 -1
  281. tccli/services/vm/vm_client.py +13 -1
  282. tccli/services/vms/vms_client.py +13 -1
  283. tccli/services/vod/vod_client.py +13 -1
  284. tccli/services/vpc/v20170312/api.json +492 -66
  285. tccli/services/vpc/v20170312/examples.json +59 -21
  286. tccli/services/vpc/vpc_client.py +225 -1
  287. tccli/services/vrs/vrs_client.py +13 -1
  288. tccli/services/vtc/vtc_client.py +13 -1
  289. tccli/services/waf/waf_client.py +13 -1
  290. tccli/services/wav/wav_client.py +13 -1
  291. tccli/services/wedata/wedata_client.py +13 -1
  292. tccli/services/weilingwith/weilingwith_client.py +13 -1
  293. tccli/services/wss/wss_client.py +13 -1
  294. tccli/services/yinsuda/yinsuda_client.py +13 -1
  295. tccli/services/youmall/youmall_client.py +13 -1
  296. tccli/services/yunjing/yunjing_client.py +13 -1
  297. tccli/services/yunsou/yunsou_client.py +13 -1
  298. tccli/utils.py +8 -0
  299. {tccli-3.0.1217.1.dist-info → tccli-3.0.1219.1.dist-info}/METADATA +2 -2
  300. {tccli-3.0.1217.1.dist-info → tccli-3.0.1219.1.dist-info}/RECORD +303 -299
  301. {tccli-3.0.1217.1.dist-info → tccli-3.0.1219.1.dist-info}/WHEEL +0 -0
  302. {tccli-3.0.1217.1.dist-info → tccli-3.0.1219.1.dist-info}/entry_points.txt +0 -0
  303. {tccli-3.0.1217.1.dist-info → tccli-3.0.1219.1.dist-info}/license_files/LICENSE +0 -0
@@ -40,6 +40,22 @@
40
40
  "title": "取消示例"
41
41
  }
42
42
  ],
43
+ "CopyCaster": [
44
+ {
45
+ "document": "",
46
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CopyCaster\n<公共请求参数>\n\n{\n \"CasterId\": \"1234\",\n \"OutputStreamId\": \"copy_output_example\",\n \"CasterName\": \"copy_example\"\n}",
47
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"CasterId\": 1235\n }\n}",
48
+ "title": "请求示例"
49
+ }
50
+ ],
51
+ "CreateCaster": [
52
+ {
53
+ "document": "请求创建导播台",
54
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCaster\n<公共请求参数>\n\n{\n \"CasterName\": \"example\"\n}",
55
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"CasterId\": 1234\n }\n}",
56
+ "title": "请求示例"
57
+ }
58
+ ],
43
59
  "CreateCommonMixStream": [
44
60
  {
45
61
  "document": "使用混流预置模板混流。",
@@ -224,6 +240,14 @@
224
240
  "title": "示例"
225
241
  }
226
242
  ],
243
+ "DeleteCaster": [
244
+ {
245
+ "document": "删除导播台",
246
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCaster\n<公共请求参数>\n\n{\n \"CasterId\": \"1234\"\n}",
247
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
248
+ "title": "请求示例"
249
+ }
250
+ ],
227
251
  "DeleteLiveCallbackRule": [
228
252
  {
229
253
  "document": "删除直播回调规则。",
@@ -432,6 +456,22 @@
432
456
  "title": "请求示例"
433
457
  }
434
458
  ],
459
+ "DescribeCaster": [
460
+ {
461
+ "document": "当需要查询一个导播台的信息时,可以按如下调用。",
462
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCaster\n<公共请求参数>\n\n{\n \"CasterId\": \"1234\"\n}",
463
+ "output": "{\n \"Response\": {\n \"CasterInfo\": {\n \"CasterId\": 1234,\n \"CasterName\": \"example\",\n \"StartLiveTime\": 0,\n \"Description\": \"\",\n \"CreateTime\": 1603158528,\n \"Status\": 0,\n \"ExpireTime\": -1,\n \"DelayTime\": 0,\n \"PgmWidth\": 0,\n \"PgmHeight\": 0,\n \"PgmFps\": 0,\n \"PgmBitRate\": 0,\n \"PgmAudioBitRate\": 256,\n \"FeeType\": 0,\n \"RecordTemplateId\": 0,\n \"RecordStatus\": 0,\n \"RecordTaskId\": \"\"\n },\n \"RequestId\": \"bebdd4e4-4087-411b-ab2e-3692dcfba4c3\"\n }\n}",
464
+ "title": "请求示例"
465
+ }
466
+ ],
467
+ "DescribeCasterDisplayInfo": [
468
+ {
469
+ "document": "",
470
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCasterDisplayInfo\n<公共请求参数>\n\n{\n \"CasterId\": 130\n}",
471
+ "output": "{\n \"Response\": {\n \"PvwDisplayInfo\": {\n \"LayoutIndex\": 0,\n \"MarkPicIndexList\": [],\n \"MarkWordIndexList\": [],\n \"TransitionType\": \"\",\n \"AudioIndexList\": []\n },\n \"PgmDisplayInfo\": {\n \"LayoutIndex\": 0,\n \"MarkPicIndexList\": [],\n \"MarkWordIndexList\": [],\n \"TransitionType\": \"\",\n \"AudioIndexList\": []\n },\n \"Status\": 0,\n \"RequestId\": \"uuid\",\n \"StartLiveTime\": 1670309219\n }\n}",
472
+ "title": "查询导播台展示信息"
473
+ }
474
+ ],
435
475
  "DescribeCasterList": [
436
476
  {
437
477
  "document": "获取某个账号下的所有导播台列表",
@@ -440,6 +480,14 @@
440
480
  "title": "请求示例"
441
481
  }
442
482
  ],
483
+ "DescribeCasterPlayUrl": [
484
+ {
485
+ "document": "获取某个输入或者预监、主监的播放地址",
486
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCasterPlayUrl\n<公共请求参数>\n\n{\n \"PlayUrlType\": \"1\",\n \"CasterId\": \"10\",\n \"PlayUrlIndex\": \"1\"\n}",
487
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\",\n \"PlayUrl\": \"http://domain/live/test.flv\",\n \"WebRTCPlayUrl\": \"webrtc://webrtc.domain.com/live/test\"\n }\n}",
488
+ "title": "请求示例"
489
+ }
490
+ ],
443
491
  "DescribeCasterTransitionTypes": [
444
492
  {
445
493
  "document": "",
@@ -800,6 +848,14 @@
800
848
  "title": "请求示例"
801
849
  }
802
850
  ],
851
+ "DescribeLiveTimeShiftWriteSizeInfoList": [
852
+ {
853
+ "document": "",
854
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLiveTimeShiftWriteSizeInfoList\n<公共请求参数>\n\n{\n \"StartTime\": \"abc\",\n \"EndTime\": \"abc\",\n \"DomainNames\": [\n \"abc\"\n ],\n \"Dimensions\": [\n \"abc\"\n ],\n \"StorageDays\": [\n 0\n ],\n \"Granularity\": 0,\n \"MainlandOrOversea\": \"abc\"\n}",
855
+ "output": "{\n \"Response\": {\n \"DataInfoList\": [\n {\n \"Area\": \"abc\",\n \"Time\": \"abc\",\n \"WriteSize\": 0,\n \"Domain\": \"abc\",\n \"StorageDays\": 0\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
856
+ "title": "请求示例"
857
+ }
858
+ ],
803
859
  "DescribeLiveTranscodeDetailInfo": [
804
860
  {
805
861
  "document": "",
@@ -1080,6 +1136,14 @@
1080
1136
  "title": "请求示例"
1081
1137
  }
1082
1138
  ],
1139
+ "ModifyCaster": [
1140
+ {
1141
+ "document": "请求修改导播台信息",
1142
+ "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCaster\n<公共请求参数>\n\n{\n \"RecordStatus\": \"1\",\n \"RecordTemplateId\": \"1\",\n \"CasterId\": \"10\",\n \"CasterName\": \"Modify Caster\"\n}",
1143
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
1144
+ "title": "请求示例"
1145
+ }
1146
+ ],
1083
1147
  "ModifyLiveCallbackTemplate": [
1084
1148
  {
1085
1149
  "document": "请求示例",
@@ -4813,7 +4813,13 @@ def action_caller():
4813
4813
 
4814
4814
  def parse_global_arg(parsed_globals):
4815
4815
  g_param = parsed_globals
4816
-
4816
+ cvm_role_flag = True
4817
+ for param in parsed_globals.keys():
4818
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
4819
+ OptionsDefine.RoleSessionName]:
4820
+ if parsed_globals[param] is not None:
4821
+ cvm_role_flag = False
4822
+ break
4817
4823
  is_exist_profile = True
4818
4824
  if not parsed_globals["profile"]:
4819
4825
  is_exist_profile = False
@@ -4844,6 +4850,7 @@ def parse_global_arg(parsed_globals):
4844
4850
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
4845
4851
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
4846
4852
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
4853
+ cvm_role_flag = False
4847
4854
 
4848
4855
  if os.environ.get(OptionsDefine.ENV_REGION):
4849
4856
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -4851,6 +4858,11 @@ def parse_global_arg(parsed_globals):
4851
4858
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
4852
4859
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
4853
4860
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
4861
+ cvm_role_flag = False
4862
+
4863
+ if cvm_role_flag:
4864
+ if "type" in cred and cred["type"] == "cvm-role":
4865
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
4854
4866
 
4855
4867
  for param in g_param.keys():
4856
4868
  if g_param[param] is None:
@@ -96,7 +96,13 @@ def action_caller():
96
96
 
97
97
  def parse_global_arg(parsed_globals):
98
98
  g_param = parsed_globals
99
-
99
+ cvm_role_flag = True
100
+ for param in parsed_globals.keys():
101
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
102
+ OptionsDefine.RoleSessionName]:
103
+ if parsed_globals[param] is not None:
104
+ cvm_role_flag = False
105
+ break
100
106
  is_exist_profile = True
101
107
  if not parsed_globals["profile"]:
102
108
  is_exist_profile = False
@@ -127,6 +133,7 @@ def parse_global_arg(parsed_globals):
127
133
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
128
134
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
129
135
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
136
+ cvm_role_flag = False
130
137
 
131
138
  if os.environ.get(OptionsDefine.ENV_REGION):
132
139
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -134,6 +141,11 @@ def parse_global_arg(parsed_globals):
134
141
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
135
142
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
136
143
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
144
+ cvm_role_flag = False
145
+
146
+ if cvm_role_flag:
147
+ if "type" in cred and cred["type"] == "cvm-role":
148
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
137
149
 
138
150
  for param in g_param.keys():
139
151
  if g_param[param] is None:
@@ -96,7 +96,13 @@ def action_caller():
96
96
 
97
97
  def parse_global_arg(parsed_globals):
98
98
  g_param = parsed_globals
99
-
99
+ cvm_role_flag = True
100
+ for param in parsed_globals.keys():
101
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
102
+ OptionsDefine.RoleSessionName]:
103
+ if parsed_globals[param] is not None:
104
+ cvm_role_flag = False
105
+ break
100
106
  is_exist_profile = True
101
107
  if not parsed_globals["profile"]:
102
108
  is_exist_profile = False
@@ -127,6 +133,7 @@ def parse_global_arg(parsed_globals):
127
133
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
128
134
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
129
135
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
136
+ cvm_role_flag = False
130
137
 
131
138
  if os.environ.get(OptionsDefine.ENV_REGION):
132
139
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -134,6 +141,11 @@ def parse_global_arg(parsed_globals):
134
141
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
135
142
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
136
143
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
144
+ cvm_role_flag = False
145
+
146
+ if cvm_role_flag:
147
+ if "type" in cred and cred["type"] == "cvm-role":
148
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
137
149
 
138
150
  for param in g_param.keys():
139
151
  if g_param[param] is None:
@@ -96,7 +96,13 @@ def action_caller():
96
96
 
97
97
  def parse_global_arg(parsed_globals):
98
98
  g_param = parsed_globals
99
-
99
+ cvm_role_flag = True
100
+ for param in parsed_globals.keys():
101
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
102
+ OptionsDefine.RoleSessionName]:
103
+ if parsed_globals[param] is not None:
104
+ cvm_role_flag = False
105
+ break
100
106
  is_exist_profile = True
101
107
  if not parsed_globals["profile"]:
102
108
  is_exist_profile = False
@@ -127,6 +133,7 @@ def parse_global_arg(parsed_globals):
127
133
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
128
134
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
129
135
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
136
+ cvm_role_flag = False
130
137
 
131
138
  if os.environ.get(OptionsDefine.ENV_REGION):
132
139
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -134,6 +141,11 @@ def parse_global_arg(parsed_globals):
134
141
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
135
142
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
136
143
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
144
+ cvm_role_flag = False
145
+
146
+ if cvm_role_flag:
147
+ if "type" in cred and cred["type"] == "cvm-role":
148
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
137
149
 
138
150
  for param in g_param.keys():
139
151
  if g_param[param] is None:
@@ -4124,7 +4124,13 @@ def action_caller():
4124
4124
 
4125
4125
  def parse_global_arg(parsed_globals):
4126
4126
  g_param = parsed_globals
4127
-
4127
+ cvm_role_flag = True
4128
+ for param in parsed_globals.keys():
4129
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
4130
+ OptionsDefine.RoleSessionName]:
4131
+ if parsed_globals[param] is not None:
4132
+ cvm_role_flag = False
4133
+ break
4128
4134
  is_exist_profile = True
4129
4135
  if not parsed_globals["profile"]:
4130
4136
  is_exist_profile = False
@@ -4155,6 +4161,7 @@ def parse_global_arg(parsed_globals):
4155
4161
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
4156
4162
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
4157
4163
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
4164
+ cvm_role_flag = False
4158
4165
 
4159
4166
  if os.environ.get(OptionsDefine.ENV_REGION):
4160
4167
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -4162,6 +4169,11 @@ def parse_global_arg(parsed_globals):
4162
4169
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
4163
4170
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
4164
4171
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
4172
+ cvm_role_flag = False
4173
+
4174
+ if cvm_role_flag:
4175
+ if "type" in cred and cred["type"] == "cvm-role":
4176
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
4165
4177
 
4166
4178
  for param in g_param.keys():
4167
4179
  if g_param[param] is None:
@@ -149,7 +149,13 @@ def action_caller():
149
149
 
150
150
  def parse_global_arg(parsed_globals):
151
151
  g_param = parsed_globals
152
-
152
+ cvm_role_flag = True
153
+ for param in parsed_globals.keys():
154
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
155
+ OptionsDefine.RoleSessionName]:
156
+ if parsed_globals[param] is not None:
157
+ cvm_role_flag = False
158
+ break
153
159
  is_exist_profile = True
154
160
  if not parsed_globals["profile"]:
155
161
  is_exist_profile = False
@@ -180,6 +186,7 @@ def parse_global_arg(parsed_globals):
180
186
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
181
187
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
182
188
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
189
+ cvm_role_flag = False
183
190
 
184
191
  if os.environ.get(OptionsDefine.ENV_REGION):
185
192
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -187,6 +194,11 @@ def parse_global_arg(parsed_globals):
187
194
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
188
195
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
189
196
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
197
+ cvm_role_flag = False
198
+
199
+ if cvm_role_flag:
200
+ if "type" in cred and cred["type"] == "cvm-role":
201
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
190
202
 
191
203
  for param in g_param.keys():
192
204
  if g_param[param] is None:
@@ -8,7 +8,7 @@
8
8
  "status": "online"
9
9
  },
10
10
  "GetUsagePlanUsageAmount": {
11
- "document": "该接口可以根据InstanceId查询实例的api的使用情况。\n",
11
+ "document": "该接口可以根据InstanceId查询实例的api的使用情况。",
12
12
  "input": "GetUsagePlanUsageAmountRequest",
13
13
  "name": "查询使用计划使用量",
14
14
  "output": "GetUsagePlanUsageAmountResponse",
@@ -148,7 +148,7 @@
148
148
  "example": "1000",
149
149
  "member": "int64",
150
150
  "name": "MaxRequestNum",
151
- "required": true,
151
+ "output_required": true,
152
152
  "type": "int",
153
153
  "value_allowed_null": false
154
154
  },
@@ -158,7 +158,7 @@
158
158
  "example": "500",
159
159
  "member": "int64",
160
160
  "name": "InUseRequestNum",
161
- "required": true,
161
+ "output_required": true,
162
162
  "type": "int",
163
163
  "value_allowed_null": false
164
164
  },
@@ -168,7 +168,7 @@
168
168
  "example": "500",
169
169
  "member": "int64",
170
170
  "name": "RemainingRequestNum",
171
- "required": true,
171
+ "output_required": true,
172
172
  "type": "int",
173
173
  "value_allowed_null": false
174
174
  },
@@ -11,8 +11,8 @@
11
11
  "GetUsagePlanUsageAmount": [
12
12
  {
13
13
  "document": "",
14
- "input": "POST / HTTP/1.1\nHost: market.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetUsagePlanUsageAmount\n<公共请求参数>\n\n{\n \"InstanceId\": \"123456789\"\n}",
15
- "output": "{\n \"Response\": {\n \"MaxRequestNum\": 1000,\n \"InUseRequestNum\": 500,\n \"RemainingRequestNum\": 500,\n \"RequestId\": \"xx\"\n }\n}",
14
+ "input": "POST / HTTP/1.1\nHost: market.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetUsagePlanUsageAmount\n<公共请求参数>\n\n{\n \"InstanceId\": \"45419893\"\n}",
15
+ "output": "{\n \"Response\": {\n \"MaxRequestNum\": 1000,\n \"InUseRequestNum\": 500,\n \"RemainingRequestNum\": 500,\n \"RequestId\": \"f598b754-b814-47e7-9052-5848cf9a8862\"\n }\n}",
16
16
  "title": "查询使用计划使用量"
17
17
  }
18
18
  ]
@@ -96,7 +96,13 @@ def action_caller():
96
96
 
97
97
  def parse_global_arg(parsed_globals):
98
98
  g_param = parsed_globals
99
-
99
+ cvm_role_flag = True
100
+ for param in parsed_globals.keys():
101
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
102
+ OptionsDefine.RoleSessionName]:
103
+ if parsed_globals[param] is not None:
104
+ cvm_role_flag = False
105
+ break
100
106
  is_exist_profile = True
101
107
  if not parsed_globals["profile"]:
102
108
  is_exist_profile = False
@@ -127,6 +133,7 @@ def parse_global_arg(parsed_globals):
127
133
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
128
134
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
129
135
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
136
+ cvm_role_flag = False
130
137
 
131
138
  if os.environ.get(OptionsDefine.ENV_REGION):
132
139
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -134,6 +141,11 @@ def parse_global_arg(parsed_globals):
134
141
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
135
142
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
136
143
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
144
+ cvm_role_flag = False
145
+
146
+ if cvm_role_flag:
147
+ if "type" in cred and cred["type"] == "cvm-role":
148
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
137
149
 
138
150
  for param in g_param.keys():
139
151
  if g_param[param] is None:
@@ -419,7 +419,13 @@ def action_caller():
419
419
 
420
420
  def parse_global_arg(parsed_globals):
421
421
  g_param = parsed_globals
422
-
422
+ cvm_role_flag = True
423
+ for param in parsed_globals.keys():
424
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
425
+ OptionsDefine.RoleSessionName]:
426
+ if parsed_globals[param] is not None:
427
+ cvm_role_flag = False
428
+ break
423
429
  is_exist_profile = True
424
430
  if not parsed_globals["profile"]:
425
431
  is_exist_profile = False
@@ -450,6 +456,7 @@ def parse_global_arg(parsed_globals):
450
456
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
451
457
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
452
458
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
459
+ cvm_role_flag = False
453
460
 
454
461
  if os.environ.get(OptionsDefine.ENV_REGION):
455
462
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -457,6 +464,11 @@ def parse_global_arg(parsed_globals):
457
464
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
458
465
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
459
466
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
467
+ cvm_role_flag = False
468
+
469
+ if cvm_role_flag:
470
+ if "type" in cred and cred["type"] == "cvm-role":
471
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
460
472
 
461
473
  for param in g_param.keys():
462
474
  if g_param[param] is None:
@@ -838,7 +838,13 @@ def action_caller():
838
838
 
839
839
  def parse_global_arg(parsed_globals):
840
840
  g_param = parsed_globals
841
-
841
+ cvm_role_flag = True
842
+ for param in parsed_globals.keys():
843
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
844
+ OptionsDefine.RoleSessionName]:
845
+ if parsed_globals[param] is not None:
846
+ cvm_role_flag = False
847
+ break
842
848
  is_exist_profile = True
843
849
  if not parsed_globals["profile"]:
844
850
  is_exist_profile = False
@@ -869,6 +875,7 @@ def parse_global_arg(parsed_globals):
869
875
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
870
876
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
871
877
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
878
+ cvm_role_flag = False
872
879
 
873
880
  if os.environ.get(OptionsDefine.ENV_REGION):
874
881
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -876,6 +883,11 @@ def parse_global_arg(parsed_globals):
876
883
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
877
884
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
878
885
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
886
+ cvm_role_flag = False
887
+
888
+ if cvm_role_flag:
889
+ if "type" in cred and cred["type"] == "cvm-role":
890
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
879
891
 
880
892
  for param in g_param.keys():
881
893
  if g_param[param] is None:
@@ -2216,7 +2216,13 @@ def action_caller():
2216
2216
 
2217
2217
  def parse_global_arg(parsed_globals):
2218
2218
  g_param = parsed_globals
2219
-
2219
+ cvm_role_flag = True
2220
+ for param in parsed_globals.keys():
2221
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
2222
+ OptionsDefine.RoleSessionName]:
2223
+ if parsed_globals[param] is not None:
2224
+ cvm_role_flag = False
2225
+ break
2220
2226
  is_exist_profile = True
2221
2227
  if not parsed_globals["profile"]:
2222
2228
  is_exist_profile = False
@@ -2247,6 +2253,7 @@ def parse_global_arg(parsed_globals):
2247
2253
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
2248
2254
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
2249
2255
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
2256
+ cvm_role_flag = False
2250
2257
 
2251
2258
  if os.environ.get(OptionsDefine.ENV_REGION):
2252
2259
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -2254,6 +2261,11 @@ def parse_global_arg(parsed_globals):
2254
2261
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
2255
2262
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
2256
2263
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
2264
+ cvm_role_flag = False
2265
+
2266
+ if cvm_role_flag:
2267
+ if "type" in cred and cred["type"] == "cvm-role":
2268
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
2257
2269
 
2258
2270
  for param in g_param.keys():
2259
2271
  if g_param[param] is None:
@@ -2963,7 +2963,13 @@ def action_caller():
2963
2963
 
2964
2964
  def parse_global_arg(parsed_globals):
2965
2965
  g_param = parsed_globals
2966
-
2966
+ cvm_role_flag = True
2967
+ for param in parsed_globals.keys():
2968
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
2969
+ OptionsDefine.RoleSessionName]:
2970
+ if parsed_globals[param] is not None:
2971
+ cvm_role_flag = False
2972
+ break
2967
2973
  is_exist_profile = True
2968
2974
  if not parsed_globals["profile"]:
2969
2975
  is_exist_profile = False
@@ -2994,6 +3000,7 @@ def parse_global_arg(parsed_globals):
2994
3000
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
2995
3001
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
2996
3002
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
3003
+ cvm_role_flag = False
2997
3004
 
2998
3005
  if os.environ.get(OptionsDefine.ENV_REGION):
2999
3006
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -3001,6 +3008,11 @@ def parse_global_arg(parsed_globals):
3001
3008
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
3002
3009
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
3003
3010
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
3011
+ cvm_role_flag = False
3012
+
3013
+ if cvm_role_flag:
3014
+ if "type" in cred and cred["type"] == "cvm-role":
3015
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
3004
3016
 
3005
3017
  for param in g_param.keys():
3006
3018
  if g_param[param] is None:
@@ -8258,7 +8258,13 @@ def action_caller():
8258
8258
 
8259
8259
  def parse_global_arg(parsed_globals):
8260
8260
  g_param = parsed_globals
8261
-
8261
+ cvm_role_flag = True
8262
+ for param in parsed_globals.keys():
8263
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
8264
+ OptionsDefine.RoleSessionName]:
8265
+ if parsed_globals[param] is not None:
8266
+ cvm_role_flag = False
8267
+ break
8262
8268
  is_exist_profile = True
8263
8269
  if not parsed_globals["profile"]:
8264
8270
  is_exist_profile = False
@@ -8289,6 +8295,7 @@ def parse_global_arg(parsed_globals):
8289
8295
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
8290
8296
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
8291
8297
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
8298
+ cvm_role_flag = False
8292
8299
 
8293
8300
  if os.environ.get(OptionsDefine.ENV_REGION):
8294
8301
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -8296,6 +8303,11 @@ def parse_global_arg(parsed_globals):
8296
8303
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
8297
8304
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
8298
8305
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
8306
+ cvm_role_flag = False
8307
+
8308
+ if cvm_role_flag:
8309
+ if "type" in cred and cred["type"] == "cvm-role":
8310
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
8299
8311
 
8300
8312
  for param in g_param.keys():
8301
8313
  if g_param[param] is None:
@@ -5767,7 +5767,13 @@ def action_caller():
5767
5767
 
5768
5768
  def parse_global_arg(parsed_globals):
5769
5769
  g_param = parsed_globals
5770
-
5770
+ cvm_role_flag = True
5771
+ for param in parsed_globals.keys():
5772
+ if param in [OptionsDefine.SecretKey, OptionsDefine.SecretId, OptionsDefine.RoleArn,
5773
+ OptionsDefine.RoleSessionName]:
5774
+ if parsed_globals[param] is not None:
5775
+ cvm_role_flag = False
5776
+ break
5771
5777
  is_exist_profile = True
5772
5778
  if not parsed_globals["profile"]:
5773
5779
  is_exist_profile = False
@@ -5798,6 +5804,7 @@ def parse_global_arg(parsed_globals):
5798
5804
  cred[OptionsDefine.SecretId] = os.environ.get(OptionsDefine.ENV_SECRET_ID)
5799
5805
  cred[OptionsDefine.SecretKey] = os.environ.get(OptionsDefine.ENV_SECRET_KEY)
5800
5806
  cred[OptionsDefine.Token] = os.environ.get(OptionsDefine.ENV_TOKEN)
5807
+ cvm_role_flag = False
5801
5808
 
5802
5809
  if os.environ.get(OptionsDefine.ENV_REGION):
5803
5810
  conf[OptionsDefine.SysParam][OptionsDefine.Region] = os.environ.get(OptionsDefine.ENV_REGION)
@@ -5805,6 +5812,11 @@ def parse_global_arg(parsed_globals):
5805
5812
  if os.environ.get(OptionsDefine.ENV_ROLE_ARN) and os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME):
5806
5813
  cred[OptionsDefine.RoleArn] = os.environ.get(OptionsDefine.ENV_ROLE_ARN)
5807
5814
  cred[OptionsDefine.RoleSessionName] = os.environ.get(OptionsDefine.ENV_ROLE_SESSION_NAME)
5815
+ cvm_role_flag = False
5816
+
5817
+ if cvm_role_flag:
5818
+ if "type" in cred and cred["type"] == "cvm-role":
5819
+ g_param[OptionsDefine.UseCVMRole.replace('-', '_')] = True
5808
5820
 
5809
5821
  for param in g_param.keys():
5810
5822
  if g_param[param] is None:
@@ -25553,6 +25553,16 @@
25553
25553
  "type": "string",
25554
25554
  "value_allowed_null": true
25555
25555
  },
25556
+ {
25557
+ "disabled": false,
25558
+ "document": "拆条片段封面。\n注意:此字段可能返回 null,表示取不到有效值。",
25559
+ "example": "无",
25560
+ "member": "string",
25561
+ "name": "CovImgUrl",
25562
+ "output_required": true,
25563
+ "type": "string",
25564
+ "value_allowed_null": true
25565
+ },
25556
25566
  {
25557
25567
  "disabled": false,
25558
25568
  "document": "分段标题。\n注意:此字段可能返回 null,表示取不到有效值。",
@@ -25573,6 +25583,16 @@
25573
25583
  "type": "string",
25574
25584
  "value_allowed_null": true
25575
25585
  },
25586
+ {
25587
+ "disabled": false,
25588
+ "document": "分段关键词。",
25589
+ "example": "无",
25590
+ "member": "string",
25591
+ "name": "Keywords",
25592
+ "output_required": false,
25593
+ "type": "list",
25594
+ "value_allowed_null": false
25595
+ },
25576
25596
  {
25577
25597
  "disabled": false,
25578
25598
  "document": "直播切片对应直播起始时间点,采用 ISO 日期格式。\n注意:此字段可能返回 null,表示取不到有效值。",