tccli 3.0.1348.1__py2.py3-none-any.whl → 3.0.1349.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 (172) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +0 -76
  3. tccli/services/ai3d/v20250513/api.json +1 -1
  4. tccli/services/aiart/v20221229/api.json +3 -3
  5. tccli/services/autoscaling/v20180419/api.json +11 -0
  6. tccli/services/batch/v20170312/api.json +44 -0
  7. tccli/services/cdb/v20170320/api.json +8 -8
  8. tccli/services/cdb/v20170320/examples.json +1 -1
  9. tccli/services/cdn/v20180606/api.json +5 -5
  10. tccli/services/cdwdoris/v20211228/api.json +145 -7
  11. tccli/services/cfg/v20210820/api.json +20 -0
  12. tccli/services/cfs/v20190719/api.json +10 -10
  13. tccli/services/cfw/cfw_client.py +53 -0
  14. tccli/services/cfw/v20190904/api.json +272 -0
  15. tccli/services/cfw/v20190904/examples.json +8 -0
  16. tccli/services/csip/csip_client.py +833 -144
  17. tccli/services/csip/v20221121/api.json +3304 -1436
  18. tccli/services/csip/v20221121/examples.json +104 -0
  19. tccli/services/cvm/v20170312/api.json +1 -1
  20. tccli/services/cwp/v20180228/api.json +9 -0
  21. tccli/services/cwp/v20180228/examples.json +6 -0
  22. tccli/services/emr/v20190103/api.json +217 -2
  23. tccli/services/es/v20250101/api.json +22 -0
  24. tccli/services/ess/v20201111/api.json +10 -1
  25. tccli/services/essbasic/v20210526/api.json +3 -3
  26. tccli/services/gs/v20191118/api.json +38 -0
  27. tccli/services/igtm/igtm_client.py +159 -0
  28. tccli/services/igtm/v20231024/api.json +577 -0
  29. tccli/services/igtm/v20231024/examples.json +24 -0
  30. tccli/services/iotexplorer/v20190423/api.json +3 -3
  31. tccli/services/lcic/lcic_client.py +53 -0
  32. tccli/services/lcic/v20220817/api.json +53 -0
  33. tccli/services/lcic/v20220817/examples.json +8 -0
  34. tccli/services/live/v20180801/api.json +203 -1
  35. tccli/services/live/v20180801/examples.json +1 -1
  36. tccli/services/lke/v20231130/api.json +248 -2
  37. tccli/services/lke/v20231130/examples.json +1 -1
  38. tccli/services/lkeap/v20240522/api.json +1 -1
  39. tccli/services/mrs/v20200910/api.json +10 -0
  40. tccli/services/nlp/nlp_client.py +4 -322
  41. tccli/services/nlp/v20190408/api.json +0 -459
  42. tccli/services/nlp/v20190408/examples.json +0 -48
  43. tccli/services/ocr/v20181119/api.json +60 -5
  44. tccli/services/omics/v20221128/api.json +38 -0
  45. tccli/services/redis/v20180412/api.json +6 -6
  46. tccli/services/redis/v20180412/examples.json +1 -1
  47. tccli/services/ses/v20201002/api.json +100 -5
  48. tccli/services/tcb/v20180608/api.json +1 -1
  49. tccli/services/tcb/v20180608/examples.json +1 -1
  50. tccli/services/tdmq/v20200217/api.json +19 -0
  51. tccli/services/teo/teo_client.py +281 -16
  52. tccli/services/teo/v20220901/api.json +611 -6
  53. tccli/services/teo/v20220901/examples.json +48 -2
  54. tccli/services/tione/v20211111/api.json +16 -0
  55. tccli/services/tke/tke_client.py +57 -4
  56. tccli/services/tke/v20180525/api.json +24 -24
  57. tccli/services/tke/v20220501/api.json +52 -0
  58. tccli/services/tke/v20220501/examples.json +8 -0
  59. tccli/services/tmt/v20180321/api.json +4 -4
  60. tccli/services/tsf/v20180326/api.json +4 -4
  61. tccli/services/vclm/v20240523/api.json +3 -3
  62. tccli/services/vod/v20180717/api.json +5 -5
  63. tccli/services/vod/v20180717/examples.json +9 -9
  64. tccli/services/vpc/v20170312/api.json +1 -1
  65. tccli/services/vrs/v20200824/api.json +1 -1
  66. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/METADATA +2 -2
  67. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/RECORD +70 -172
  68. tccli/services/cis/__init__.py +0 -4
  69. tccli/services/cis/cis_client.py +0 -525
  70. tccli/services/cis/v20180408/api.json +0 -737
  71. tccli/services/cis/v20180408/examples.json +0 -93
  72. tccli/services/dataintegration/__init__.py +0 -4
  73. tccli/services/dataintegration/dataintegration_client.py +0 -207
  74. tccli/services/dataintegration/v20220613/api.json +0 -87
  75. tccli/services/dataintegration/v20220613/examples.json +0 -13
  76. tccli/services/dtf/__init__.py +0 -4
  77. tccli/services/dtf/dtf_client.py +0 -207
  78. tccli/services/dtf/v20200506/api.json +0 -274
  79. tccli/services/dtf/v20200506/examples.json +0 -13
  80. tccli/services/gpm/__init__.py +0 -4
  81. tccli/services/gpm/gpm_client.py +0 -1108
  82. tccli/services/gpm/v20200820/api.json +0 -1959
  83. tccli/services/gpm/v20200820/examples.json +0 -149
  84. tccli/services/gse/__init__.py +0 -4
  85. tccli/services/gse/gse_client.py +0 -4076
  86. tccli/services/gse/v20191112/api.json +0 -7095
  87. tccli/services/gse/v20191112/examples.json +0 -615
  88. tccli/services/iecp/__init__.py +0 -4
  89. tccli/services/iecp/iecp_client.py +0 -4500
  90. tccli/services/iecp/v20210914/api.json +0 -9770
  91. tccli/services/iecp/v20210914/examples.json +0 -691
  92. tccli/services/iir/__init__.py +0 -4
  93. tccli/services/iir/iir_client.py +0 -207
  94. tccli/services/iir/v20200417/api.json +0 -204
  95. tccli/services/iir/v20200417/examples.json +0 -13
  96. tccli/services/iottid/__init__.py +0 -4
  97. tccli/services/iottid/iottid_client.py +0 -631
  98. tccli/services/iottid/v20190411/api.json +0 -553
  99. tccli/services/iottid/v20190411/examples.json +0 -95
  100. tccli/services/mgobe/__init__.py +0 -4
  101. tccli/services/mgobe/mgobe_client.py +0 -530
  102. tccli/services/mgobe/v20190929/api.json +0 -52
  103. tccli/services/mgobe/v20190929/examples.json +0 -13
  104. tccli/services/mgobe/v20201014/api.json +0 -671
  105. tccli/services/mgobe/v20201014/examples.json +0 -61
  106. tccli/services/mvj/__init__.py +0 -4
  107. tccli/services/mvj/mvj_client.py +0 -207
  108. tccli/services/mvj/v20190926/api.json +0 -123
  109. tccli/services/mvj/v20190926/examples.json +0 -19
  110. tccli/services/pds/__init__.py +0 -4
  111. tccli/services/pds/pds_client.py +0 -260
  112. tccli/services/pds/v20210701/api.json +0 -193
  113. tccli/services/pds/v20210701/examples.json +0 -21
  114. tccli/services/smpn/__init__.py +0 -4
  115. tccli/services/smpn/smpn_client.py +0 -260
  116. tccli/services/smpn/v20190822/api.json +0 -191
  117. tccli/services/smpn/v20190822/examples.json +0 -21
  118. tccli/services/solar/__init__.py +0 -4
  119. tccli/services/solar/solar_client.py +0 -1055
  120. tccli/services/solar/v20181011/api.json +0 -1760
  121. tccli/services/solar/v20181011/examples.json +0 -125
  122. tccli/services/tan/__init__.py +0 -4
  123. tccli/services/tan/tan_client.py +0 -207
  124. tccli/services/tan/v20220420/api.json +0 -65
  125. tccli/services/tan/v20220420/examples.json +0 -19
  126. tccli/services/tav/__init__.py +0 -4
  127. tccli/services/tav/tav_client.py +0 -366
  128. tccli/services/tav/v20190118/api.json +0 -262
  129. tccli/services/tav/v20190118/examples.json +0 -37
  130. tccli/services/tbm/__init__.py +0 -4
  131. tccli/services/tbm/tbm_client.py +0 -631
  132. tccli/services/tbm/v20180129/api.json +0 -1037
  133. tccli/services/tbm/v20180129/examples.json +0 -77
  134. tccli/services/tcex/__init__.py +0 -4
  135. tccli/services/tcex/tcex_client.py +0 -260
  136. tccli/services/tcex/v20200727/api.json +0 -158
  137. tccli/services/tcex/v20200727/examples.json +0 -21
  138. tccli/services/tci/__init__.py +0 -4
  139. tccli/services/tci/tci_client.py +0 -2327
  140. tccli/services/tci/v20190318/api.json +0 -4958
  141. tccli/services/tci/v20190318/examples.json +0 -333
  142. tccli/services/tic/__init__.py +0 -4
  143. tccli/services/tic/tic_client.py +0 -843
  144. tccli/services/tic/v20201117/api.json +0 -1067
  145. tccli/services/tic/v20201117/examples.json +0 -121
  146. tccli/services/ticm/__init__.py +0 -4
  147. tccli/services/ticm/ticm_client.py +0 -313
  148. tccli/services/ticm/v20181127/api.json +0 -1391
  149. tccli/services/ticm/v20181127/examples.json +0 -53
  150. tccli/services/tics/__init__.py +0 -4
  151. tccli/services/tics/tics_client.py +0 -366
  152. tccli/services/tics/v20181115/api.json +0 -694
  153. tccli/services/tics/v20181115/examples.json +0 -37
  154. tccli/services/tiems/__init__.py +0 -4
  155. tccli/services/tiems/tiems_client.py +0 -1479
  156. tccli/services/tiems/v20190416/api.json +0 -3144
  157. tccli/services/tiems/v20190416/examples.json +0 -217
  158. tccli/services/trdp/__init__.py +0 -4
  159. tccli/services/trdp/trdp_client.py +0 -207
  160. tccli/services/trdp/v20220726/api.json +0 -843
  161. tccli/services/trdp/v20220726/examples.json +0 -13
  162. tccli/services/ump/__init__.py +0 -4
  163. tccli/services/ump/ump_client.py +0 -1055
  164. tccli/services/ump/v20200918/api.json +0 -2168
  165. tccli/services/ump/v20200918/examples.json +0 -141
  166. tccli/services/youmall/__init__.py +0 -4
  167. tccli/services/youmall/v20180228/api.json +0 -3572
  168. tccli/services/youmall/v20180228/examples.json +0 -313
  169. tccli/services/youmall/youmall_client.py +0 -1797
  170. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/WHEEL +0 -0
  171. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/entry_points.txt +0 -0
  172. {tccli-3.0.1348.1.dist-info → tccli-3.0.1349.1.dist-info}/license_files/LICENSE +0 -0
@@ -43,11 +43,11 @@
43
43
  "status": "online"
44
44
  },
45
45
  "CancelAssignTWeCallLicense": {
46
- "document": "取消分配",
46
+ "document": "业务已下线\n\n取消分配",
47
47
  "input": "CancelAssignTWeCallLicenseRequest",
48
48
  "name": "取消分配TWeCall",
49
49
  "output": "CancelAssignTWeCallLicenseResponse",
50
- "status": "online"
50
+ "status": "deprecated"
51
51
  },
52
52
  "ChangeP2PRoute": {
53
53
  "document": "p2p路线切换(此接口目前处于内测接口,可以联系申请加白 )",
@@ -127,7 +127,7 @@
127
127
  "status": "online"
128
128
  },
129
129
  "CreateFreeCloudStorage": {
130
- "document": "开通免费云存服务",
130
+ "document": "开通云存卡服务",
131
131
  "input": "CreateFreeCloudStorageRequest",
132
132
  "name": "开通云存卡服务",
133
133
  "output": "CreateFreeCloudStorageResponse",
@@ -1681,6 +1681,58 @@ def doDescribeRoom(args, parsed_globals):
1681
1681
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1682
1682
 
1683
1683
 
1684
+ def doDescribeUserDetail(args, parsed_globals):
1685
+ g_param = parse_global_arg(parsed_globals)
1686
+
1687
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1688
+ cred = credential.CVMRoleCredential()
1689
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1690
+ cred = credential.STSAssumeRoleCredential(
1691
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1692
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1693
+ )
1694
+ 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):
1695
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1696
+ else:
1697
+ cred = credential.Credential(
1698
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1699
+ )
1700
+ http_profile = HttpProfile(
1701
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1702
+ reqMethod="POST",
1703
+ endpoint=g_param[OptionsDefine.Endpoint],
1704
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1705
+ )
1706
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1707
+ if g_param[OptionsDefine.Language]:
1708
+ profile.language = g_param[OptionsDefine.Language]
1709
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1710
+ client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
1711
+ client._sdkVersion += ("_CLI_" + __version__)
1712
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1713
+ model = models.DescribeUserDetailRequest()
1714
+ model.from_json_string(json.dumps(args))
1715
+ start_time = time.time()
1716
+ while True:
1717
+ rsp = client.DescribeUserDetail(model)
1718
+ result = rsp.to_json_string()
1719
+ try:
1720
+ json_obj = json.loads(result)
1721
+ except TypeError as e:
1722
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1723
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1724
+ break
1725
+ cur_time = time.time()
1726
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1727
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1728
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1729
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1730
+ else:
1731
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1732
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1733
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1734
+
1735
+
1684
1736
  def doDescribeDocuments(args, parsed_globals):
1685
1737
  g_param = parse_global_arg(parsed_globals)
1686
1738
 
@@ -3700,6 +3752,7 @@ ACTION_MAP = {
3700
3752
  "GetRoomEvent": doGetRoomEvent,
3701
3753
  "DeleteUser": doDeleteUser,
3702
3754
  "DescribeRoom": doDescribeRoom,
3755
+ "DescribeUserDetail": doDescribeUserDetail,
3703
3756
  "DescribeDocuments": doDescribeDocuments,
3704
3757
  "SendRoomNormalMessage": doSendRoomNormalMessage,
3705
3758
  "DescribeRecord": doDescribeRecord,
@@ -315,6 +315,13 @@
315
315
  "output": "DescribeUserResponse",
316
316
  "status": "online"
317
317
  },
318
+ "DescribeUserDetail": {
319
+ "document": "获取用户信息",
320
+ "input": "DescribeUserDetailRequest",
321
+ "name": "获取用户信息(新)",
322
+ "output": "DescribeUserDetailResponse",
323
+ "status": "online"
324
+ },
318
325
  "DescribeWhiteBoardSnapshot": {
319
326
  "document": "查询白板板书截图",
320
327
  "input": "DescribeWhiteBoardSnapshotRequest",
@@ -4385,6 +4392,52 @@
4385
4392
  ],
4386
4393
  "type": "object"
4387
4394
  },
4395
+ "DescribeUserDetailRequest": {
4396
+ "document": "DescribeUserDetail请求参数结构体",
4397
+ "members": [
4398
+ {
4399
+ "disabled": false,
4400
+ "document": "用户id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询。",
4401
+ "example": "2kJJBH6G1dfBFUJqXLh0Mg3ELLk",
4402
+ "member": "string",
4403
+ "name": "UserId",
4404
+ "required": false,
4405
+ "type": "string"
4406
+ },
4407
+ {
4408
+ "disabled": false,
4409
+ "document": "用户在客户系统的Id。支持通过 user_id 或 OriginId 查询用户信息,优先使用 user_id 进行查询(UserId不为空时,OriginId不生效)。",
4410
+ "example": "46528c8696ca",
4411
+ "member": "string",
4412
+ "name": "OriginId",
4413
+ "required": false,
4414
+ "type": "string"
4415
+ }
4416
+ ],
4417
+ "type": "object"
4418
+ },
4419
+ "DescribeUserDetailResponse": {
4420
+ "document": "DescribeUserDetail返回参数结构体",
4421
+ "members": [
4422
+ {
4423
+ "disabled": false,
4424
+ "document": "当前获取用户信息数组列表",
4425
+ "example": "无",
4426
+ "member": "UserInfo",
4427
+ "name": "Users",
4428
+ "output_required": true,
4429
+ "type": "list",
4430
+ "value_allowed_null": false
4431
+ },
4432
+ {
4433
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4434
+ "member": "string",
4435
+ "name": "RequestId",
4436
+ "type": "string"
4437
+ }
4438
+ ],
4439
+ "type": "object"
4440
+ },
4388
4441
  "DescribeUserRequest": {
4389
4442
  "document": "DescribeUser请求参数结构体",
4390
4443
  "members": [
@@ -384,6 +384,14 @@
384
384
  "title": "获取用户信息"
385
385
  }
386
386
  ],
387
+ "DescribeUserDetail": [
388
+ {
389
+ "document": "",
390
+ "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeUserDetail\n\n{\n \"UserId\": \"2jatnsjdosdnjuT8l60980Rh50FP\",\n \"OriginId\": \"teacher8383\"\n}",
391
+ "output": "{\n \"Response\": {\n \"RequestId\": \"865810-31a6-4378-a6ea-d9b719552\",\n \"Users\": [\n {\n \"Avatar\": \"\",\n \"Name\": \"teacher8383\",\n \"OriginId\": \"teacher8383\",\n \"SdkAppId\": 39234193,\n \"UserId\": \"2jatnsjdosdnjuT8l60980Rh50FP\"\n }\n ]\n }\n}",
392
+ "title": "DescribeUserDetail"
393
+ }
394
+ ],
387
395
  "DescribeWhiteBoardSnapshot": [
388
396
  {
389
397
  "document": "",
@@ -3555,6 +3555,188 @@
3555
3555
  ],
3556
3556
  "usage": "out"
3557
3557
  },
3558
+ "ChildTemplateInfo": {
3559
+ "document": "自适应码率转码模板,子模板,出入参数。",
3560
+ "members": [
3561
+ {
3562
+ "disabled": false,
3563
+ "document": "自适应码率转码模板,子模板Id。\n入参时候,填写此字段,表示更新子模板,否则是新增子模板。\n注意:此字段可能返回 null,表示取不到有效值。",
3564
+ "example": "485142",
3565
+ "member": "int64",
3566
+ "name": "TemplateId",
3567
+ "output_required": true,
3568
+ "required": false,
3569
+ "type": "int",
3570
+ "value_allowed_null": true
3571
+ },
3572
+ {
3573
+ "disabled": false,
3574
+ "document": "子模板名称。\n注意:此字段可能返回 null,表示取不到有效值。",
3575
+ "example": "p_500",
3576
+ "member": "string",
3577
+ "name": "TemplateName",
3578
+ "output_required": true,
3579
+ "required": false,
3580
+ "type": "string",
3581
+ "value_allowed_null": true
3582
+ },
3583
+ {
3584
+ "disabled": false,
3585
+ "document": "视频编码:h264/h265/origin,默认origin。\n\norigin: 保持原始编码格式。\n注意:此字段可能返回 null,表示取不到有效值。",
3586
+ "example": "origin",
3587
+ "member": "string",
3588
+ "name": "Vcodec",
3589
+ "output_required": true,
3590
+ "required": false,
3591
+ "type": "string",
3592
+ "value_allowed_null": true
3593
+ },
3594
+ {
3595
+ "disabled": false,
3596
+ "document": "视频码率。范围:0kbps - 8000kbps。\n0为保持原始码率。\n注: 转码模板有码率唯一要求,最终保存的码率可能与输入码率有所差别。\n注意:此字段可能返回 null,表示取不到有效值。",
3597
+ "example": "1080",
3598
+ "member": "int64",
3599
+ "name": "VideoBitrate",
3600
+ "output_required": true,
3601
+ "required": false,
3602
+ "type": "int",
3603
+ "value_allowed_null": true
3604
+ },
3605
+ {
3606
+ "disabled": false,
3607
+ "document": "宽,默认0。\n范围[0-3000]。\n数值必须是2的倍数,0是原始宽度。\n注意:此字段可能返回 null,表示取不到有效值。",
3608
+ "example": "0",
3609
+ "member": "int64",
3610
+ "name": "Width",
3611
+ "output_required": true,
3612
+ "required": false,
3613
+ "type": "int",
3614
+ "value_allowed_null": true
3615
+ },
3616
+ {
3617
+ "disabled": false,
3618
+ "document": "高,默认0。\n范围[0-3000]\n数值必须是2的倍数,0是原始高度。\n注意:此字段可能返回 null,表示取不到有效值。",
3619
+ "example": "0",
3620
+ "member": "int64",
3621
+ "name": "Height",
3622
+ "output_required": true,
3623
+ "required": false,
3624
+ "type": "int",
3625
+ "value_allowed_null": true
3626
+ },
3627
+ {
3628
+ "disabled": false,
3629
+ "document": "帧率,默认0。\n范围0-60fps。\n注意:此字段可能返回 null,表示取不到有效值。",
3630
+ "example": "0",
3631
+ "member": "int64",
3632
+ "name": "Fps",
3633
+ "output_required": true,
3634
+ "required": false,
3635
+ "type": "int",
3636
+ "value_allowed_null": true
3637
+ },
3638
+ {
3639
+ "disabled": false,
3640
+ "document": "关键帧间隔,单位:秒。\n默认原始的间隔。\n范围2-6。\n同一个父模板下面的所有子模板,gop必须相等且存在。\n注意:此字段可能返回 null,表示取不到有效值。",
3641
+ "example": "2",
3642
+ "member": "int64",
3643
+ "name": "Gop",
3644
+ "output_required": true,
3645
+ "required": false,
3646
+ "type": "int",
3647
+ "value_allowed_null": true
3648
+ },
3649
+ {
3650
+ "disabled": false,
3651
+ "document": "是否保留视频,0:否,1:是。默认1。\n注意:此字段可能返回 null,表示取不到有效值。",
3652
+ "example": "1",
3653
+ "member": "int64",
3654
+ "name": "NeedVideo",
3655
+ "output_required": true,
3656
+ "required": false,
3657
+ "type": "int",
3658
+ "value_allowed_null": true
3659
+ },
3660
+ {
3661
+ "disabled": false,
3662
+ "document": "是否保留音频,0:否,1:是。默认1。\n注意:此字段可能返回 null,表示取不到有效值。",
3663
+ "example": "1",
3664
+ "member": "int64",
3665
+ "name": "NeedAudio",
3666
+ "output_required": true,
3667
+ "required": false,
3668
+ "type": "int",
3669
+ "value_allowed_null": true
3670
+ },
3671
+ {
3672
+ "disabled": false,
3673
+ "document": "当设置的码率>原始码率时,是否以原始码率为准。\n0:否, 1:是\n默认 0。\n注意:此字段可能返回 null,表示取不到有效值。",
3674
+ "example": "0",
3675
+ "member": "int64",
3676
+ "name": "BitrateToOrig",
3677
+ "output_required": true,
3678
+ "required": false,
3679
+ "type": "int",
3680
+ "value_allowed_null": true
3681
+ },
3682
+ {
3683
+ "disabled": false,
3684
+ "document": "当设置的高度>原始高度时,是否以原始高度为准。\n0:否, 1:是\n默认 0。\n注意:此字段可能返回 null,表示取不到有效值。",
3685
+ "example": "0",
3686
+ "member": "int64",
3687
+ "name": "HeightToOrig",
3688
+ "output_required": true,
3689
+ "required": false,
3690
+ "type": "int",
3691
+ "value_allowed_null": true
3692
+ },
3693
+ {
3694
+ "disabled": false,
3695
+ "document": "当设置的帧率>原始帧率时,是否以原始帧率为准。\n0:否, 1:是\n默认 0。\n注意:此字段可能返回 null,表示取不到有效值。",
3696
+ "example": "0",
3697
+ "member": "int64",
3698
+ "name": "FpsToOrig",
3699
+ "output_required": true,
3700
+ "required": false,
3701
+ "type": "int",
3702
+ "value_allowed_null": true
3703
+ },
3704
+ {
3705
+ "disabled": false,
3706
+ "document": "是否以短边作为高度,0:否,1:是。默认0。\n注意:此字段可能返回 null,表示取不到有效值。",
3707
+ "example": "0",
3708
+ "member": "int64",
3709
+ "name": "ShortEdgeAsHeight",
3710
+ "output_required": true,
3711
+ "required": false,
3712
+ "type": "int",
3713
+ "value_allowed_null": true
3714
+ },
3715
+ {
3716
+ "disabled": false,
3717
+ "document": "HLS 分片类型。\n可选值:ts、fmp4。\n注:编码方式为 H.265 时生效。\n注意:此字段可能返回 null,表示取不到有效值。",
3718
+ "example": "ts",
3719
+ "member": "string",
3720
+ "name": "HlsContainerFormat",
3721
+ "output_required": true,
3722
+ "required": false,
3723
+ "type": "string",
3724
+ "value_allowed_null": true
3725
+ },
3726
+ {
3727
+ "disabled": false,
3728
+ "document": "编码标签。\n可选值:hvc1、hev1。\n注:HLS 分片类型选择 fmp4 时生效。\n注意:此字段可能返回 null,表示取不到有效值。",
3729
+ "example": "hvc1",
3730
+ "member": "string",
3731
+ "name": "HlsMp4VideoCodecTag",
3732
+ "output_required": true,
3733
+ "required": false,
3734
+ "type": "string",
3735
+ "value_allowed_null": true
3736
+ }
3737
+ ],
3738
+ "usage": "both"
3739
+ },
3558
3740
  "ClientIpPlaySumInfo": {
3559
3741
  "document": "客户端ip播放汇总信息。",
3560
3742
  "members": [
@@ -4999,7 +5181,7 @@
4999
5181
  },
5000
5182
  {
5001
5183
  "disabled": false,
5002
- "document": "任务描述,限制 512 字节。",
5184
+ "document": "任务描述,限制 512 字节。不可以使用特殊字符,如Unicode的特殊字符集。",
5003
5185
  "example": "任务描述",
5004
5186
  "member": "string",
5005
5187
  "name": "Comment",
@@ -20820,6 +21002,26 @@
20820
21002
  "output_required": true,
20821
21003
  "type": "string",
20822
21004
  "value_allowed_null": true
21005
+ },
21006
+ {
21007
+ "disabled": false,
21008
+ "document": "是否创建自适应码率,默认值 0。\n0:否。\n1:是。\n注意:此字段可能返回 null,表示取不到有效值。",
21009
+ "example": "0",
21010
+ "member": "int64",
21011
+ "name": "IsAdaptiveBitRate",
21012
+ "output_required": true,
21013
+ "type": "int",
21014
+ "value_allowed_null": true
21015
+ },
21016
+ {
21017
+ "disabled": false,
21018
+ "document": "自适应码率,子转码模板信息,当 IsAdaptiveBitRate 为 1 时有效。\n注意:此字段可能返回 null,表示取不到有效值。",
21019
+ "example": "无",
21020
+ "member": "ChildTemplateInfo",
21021
+ "name": "AdaptiveChildren",
21022
+ "output_required": true,
21023
+ "type": "list",
21024
+ "value_allowed_null": true
20823
21025
  }
20824
21026
  ],
20825
21027
  "usage": "out"
@@ -1052,7 +1052,7 @@
1052
1052
  {
1053
1053
  "document": "",
1054
1054
  "input": "POST / HTTP/1.1\nHost: live.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLiveTranscodeTemplates\n<公共请求参数>\n\n{}",
1055
- "output": "{\n \"Response\": {\n \"Templates\": [\n {\n \"Width\": 250,\n \"Fps\": 30,\n \"TemplateId\": 1000,\n \"Gop\": 3,\n \"Acodec\": \"aac\",\n \"Profile\": \"baseline\",\n \"Description\": \"模板描述\",\n \"VideoBitrate\": 30,\n \"BitrateToOrig\": 0,\n \"AiTransCode\": 0,\n \"HeightToOrig\": 0,\n \"AudioBitrate\": 15,\n \"Rotate\": 0,\n \"TemplateName\": \"模板名称\",\n \"AdaptBitratePercent\": 0.0,\n \"Vcodec\": \"h264\",\n \"NeedAudio\": 1,\n \"DRMTracks\": \"AUDIO|UHD2\",\n \"NeedVideo\": 1,\n \"DRMType\": \"widevine\",\n \"ShortEdgeAsHeight\": 0,\n \"Height\": 250,\n \"FpsToOrig\": 0\n }\n ],\n \"RequestId\": \"1dc2eb7b-b29b-4c5a-96f6-5699c54140fd\"\n }\n}",
1055
+ "output": "{\n \"Response\": {\n \"Templates\": [\n {\n \"Width\": 250,\n \"Fps\": 30,\n \"TemplateId\": 1000,\n \"IsAdaptiveBitRate\": 0,\n \"Gop\": 3,\n \"Acodec\": \"aac\",\n \"Profile\": \"baseline\",\n \"Description\": \"模板描述\",\n \"VideoBitrate\": 30,\n \"BitrateToOrig\": 0,\n \"AiTransCode\": 0,\n \"HeightToOrig\": 0,\n \"AudioBitrate\": 15,\n \"Rotate\": 0,\n \"TemplateName\": \"模板名称\",\n \"AdaptBitratePercent\": 0.0,\n \"Vcodec\": \"h264\",\n \"NeedAudio\": 1,\n \"DRMTracks\": \"AUDIO|UHD2\",\n \"AdaptiveChildren\": [\n {\n \"BitrateToOrig\": 0,\n \"TemplateName\": \"模板名称\",\n \"VideoBitrate\": 0,\n \"ShortEdgeAsHeight\": 0,\n \"Vcodec\": \"h264\",\n \"Height\": 0,\n \"Width\": 0,\n \"NeedAudio\": 0,\n \"FpsToOrig\": 0,\n \"Fps\": 0,\n \"TemplateId\": 0,\n \"HeightToOrig\": 0,\n \"NeedVideo\": 0,\n \"Gop\": 0\n }\n ],\n \"NeedVideo\": 1,\n \"DRMType\": \"widevine\",\n \"ShortEdgeAsHeight\": 0,\n \"Height\": 250,\n \"FpsToOrig\": 0\n }\n ],\n \"RequestId\": \"1dc2eb7b-b29b-4c5a-96f6-5699c54140fd\"\n }\n}",
1056
1056
  "title": "请求示例"
1057
1057
  }
1058
1058
  ],