tccli 3.0.1336.1__py2.py3-none-any.whl → 3.0.1338.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 (53) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/antiddos/v20200309/api.json +2 -2
  3. tccli/services/asr/v20190614/api.json +1 -1
  4. tccli/services/captcha/v20190722/api.json +10 -0
  5. tccli/services/cdb/v20170320/api.json +1 -1
  6. tccli/services/cdwdoris/v20211228/api.json +4 -4
  7. tccli/services/cfs/v20190719/api.json +6 -3
  8. tccli/services/cfw/v20190904/api.json +9 -0
  9. tccli/services/cls/v20201016/api.json +1 -1
  10. tccli/services/cme/v20191029/api.json +1 -1
  11. tccli/services/csip/v20221121/api.json +10 -0
  12. tccli/services/es/v20250101/api.json +71 -0
  13. tccli/services/ess/ess_client.py +106 -0
  14. tccli/services/ess/v20201111/api.json +179 -1
  15. tccli/services/ess/v20201111/examples.json +16 -0
  16. tccli/services/essbasic/essbasic_client.py +114 -8
  17. tccli/services/essbasic/v20210526/api.json +163 -3
  18. tccli/services/essbasic/v20210526/examples.json +16 -0
  19. tccli/services/gs/v20191118/api.json +11 -1
  20. tccli/services/gs/v20191118/examples.json +1 -1
  21. tccli/services/hunyuan/v20230901/api.json +3 -3
  22. tccli/services/lighthouse/lighthouse_client.py +53 -0
  23. tccli/services/lighthouse/v20200324/api.json +43 -0
  24. tccli/services/lighthouse/v20200324/examples.json +8 -0
  25. tccli/services/live/live_client.py +285 -20
  26. tccli/services/live/v20180801/api.json +549 -0
  27. tccli/services/live/v20180801/examples.json +40 -0
  28. tccli/services/lke/lke_client.py +110 -4
  29. tccli/services/lke/v20231130/api.json +141 -0
  30. tccli/services/lke/v20231130/examples.json +16 -0
  31. tccli/services/lkeap/v20240522/api.json +3 -3
  32. tccli/services/mps/v20190612/api.json +117 -1
  33. tccli/services/ocr/v20181119/examples.json +1 -1
  34. tccli/services/tdmq/v20200217/api.json +165 -25
  35. tccli/services/tdmq/v20200217/examples.json +1 -1
  36. tccli/services/teo/v20220901/api.json +1 -1
  37. tccli/services/tiia/tiia_client.py +73 -126
  38. tccli/services/tiia/v20190529/api.json +0 -112
  39. tccli/services/tiia/v20190529/examples.json +0 -14
  40. tccli/services/tione/tione_client.py +216 -4
  41. tccli/services/tione/v20211111/api.json +190 -0
  42. tccli/services/tione/v20211111/examples.json +32 -0
  43. tccli/services/trocket/trocket_client.py +161 -55
  44. tccli/services/trocket/v20230308/api.json +307 -1
  45. tccli/services/trocket/v20230308/examples.json +16 -0
  46. tccli/services/trtc/v20190722/api.json +2 -2
  47. tccli/services/tsf/v20180326/api.json +2 -2
  48. tccli/services/tsf/v20180326/examples.json +2 -2
  49. {tccli-3.0.1336.1.dist-info → tccli-3.0.1338.1.dist-info}/METADATA +2 -2
  50. {tccli-3.0.1336.1.dist-info → tccli-3.0.1338.1.dist-info}/RECORD +53 -53
  51. {tccli-3.0.1336.1.dist-info → tccli-3.0.1338.1.dist-info}/WHEEL +0 -0
  52. {tccli-3.0.1336.1.dist-info → tccli-3.0.1338.1.dist-info}/entry_points.txt +0 -0
  53. {tccli-3.0.1336.1.dist-info → tccli-3.0.1338.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1336.1'
1
+ __version__ = '3.0.1338.1'
@@ -5424,7 +5424,7 @@
5424
5424
  },
5425
5425
  {
5426
5426
  "disabled": false,
5427
- "document": "业务类型可取值domain, port\nport:端口业务\ndomain:域名业务",
5427
+ "document": "业务类型:</br>\nport:端口业务\ndomain:域名业务",
5428
5428
  "example": "domain",
5429
5429
  "member": "string",
5430
5430
  "name": "BusinessType",
@@ -7077,7 +7077,7 @@
7077
7077
  },
7078
7078
  {
7079
7079
  "disabled": false,
7080
- "document": "zoenid列表",
7080
+ "document": "ZoneID列表",
7081
7081
  "example": "1",
7082
7082
  "member": "int64",
7083
7083
  "name": "FilterZoneIdList",
@@ -607,7 +607,7 @@
607
607
  "members": [
608
608
  {
609
609
  "disabled": false,
610
- "document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n• **8k_zh_large:**普方大模型引擎【大模型版】。当前模型同时支持中文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对电话音频中各类场景、各类中文方言的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型版本的识别效果;\n\n注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;\n• **16k_multi_lang:**多语种大模型引擎【大模型版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);\n• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• **16k_zh_en**:中英大模型引擎【大模型版】。当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升;\n• **16k_en:**英语;\n• **16k_yue:**粤语;\n• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• **16k_zh-TW**:中文繁体;\n• **16k_ja:**日语;\n• **16k_ko:**韩语;\n• **16k_vi:**越南语;\n• **16k_ms:**马来语;\n• **16k_id:**印度尼西亚语;\n• **16k_fil:**菲律宾语;\n• **16k_th:**泰语;\n• **16k_pt:**葡萄牙语;\n• **16k_tr:**土耳其语;\n• **16k_ar:**阿拉伯语;\n• **16k_es:**西班牙语;\n• **16k_hi:**印地语;\n• **16k_fr:**法语;\n• **16k_zh_medical:**中文医疗引擎;\n• **16k_de:**德语;",
610
+ "document": "引擎模型类型\n识别引擎采用分级计费方案,标记为“大模型版”的引擎适用大模型计费方案,[点击这里](https://cloud.tencent.com/document/product/1093/35686) 查看产品计费说明\n\n电话通讯场景引擎:\n**注意:电话通讯场景,请务必使用以下8k引擎**\n• 8k_zh:中文电话通讯;\n• 8k_en:英文电话通讯;\n• 8k_zh_large:中文电话场景专用大模型引擎。通过显著提升模型参数规模与语言建模能力,实现对电话音频中复杂场景(如口音干扰、背景噪声)的高精度识别,识别准确率较常规版本大幅提升。[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比常规版本与普方大模型效果;\n\n注意:如您有电话通讯场景识别需求,但发现需求语种仅支持16k,可将8k音频传入下方16k引擎,亦能获取识别结果。但**16k引擎并非基于电话通讯数据训练,无法承诺此种调用方式的识别效果,需由您自行验证识别结果是否可用**\n\n通用场景引擎:\n**注意:除电话通讯场景以外的其它识别场景,请务必使用以下16k引擎**\n• **16k_zh:**中文普通话通用引擎,支持中文普通话和少量英语,使用丰富的中文普通话语料训练,覆盖场景广泛,适用于除电话通讯外的所有中文普通话识别场景;\n• **16k_zh_large:**普方英大模型引擎【大模型版】。当前模型同时支持中文、英文、[多种中文方言](https://cloud.tencent.com/document/product/1093/35682)等语言的识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升,[点击这里](https://console.cloud.tencent.com/asr/demonstrate) 对比中文普通话常规版本与普方英大模型版本的识别效果;\n• **16k_multi_lang:**多语种大模型引擎【大模型版】。当前模型同时支持英语、日语、韩语、阿拉伯语、菲律宾语、法语、印地语、印尼语、马来语、葡萄牙语、西班牙语、泰语、土耳其语、越南语、德语的识别,可实现15个语种的自动识别(句子/段落级别);\n• **16k_zh_dialect:**中文普通话+多方言混合引擎,除普通话外支持23种方言(上海话、四川话、武汉话、贵阳话、昆明话、西安话、郑州话、太原话、兰州话、银川话、西宁话、南京话、合肥话、南昌话、长沙话、苏州话、杭州话、济南话、天津话、石家庄话、黑龙江话、吉林话、辽宁话);\n• **16k_zh_en**:中英大模型引擎【大模型版】。当前模型同时支持中文、英语识别,模型参数量极大,语言模型性能增强,针对噪声大、回音大、人声小、人声远等低质量音频的识别准确率极大提升;\n• **16k_en:**英语;\n• **16k_yue:**粤语;\n• **16k_zh-PY:**中英粤混合引擎,使用一个引擎同时识别中文普通话、英语、粤语三个语言;\n• **16k_zh-TW**:中文繁体;\n• **16k_ja:**日语;\n• **16k_ko:**韩语;\n• **16k_vi:**越南语;\n• **16k_ms:**马来语;\n• **16k_id:**印度尼西亚语;\n• **16k_fil:**菲律宾语;\n• **16k_th:**泰语;\n• **16k_pt:**葡萄牙语;\n• **16k_tr:**土耳其语;\n• **16k_ar:**阿拉伯语;\n• **16k_es:**西班牙语;\n• **16k_hi:**印地语;\n• **16k_fr:**法语;\n• **16k_zh_medical:**中文医疗引擎;\n• **16k_de:**德语;",
611
611
  "example": "16k_zh",
612
612
  "member": "string",
613
613
  "name": "EngineModelType",
@@ -1964,6 +1964,16 @@
1964
1964
  "type": "string",
1965
1965
  "value_allowed_null": true
1966
1966
  },
1967
+ {
1968
+ "disabled": false,
1969
+ "document": "验证码评分",
1970
+ "example": "60",
1971
+ "member": "int64",
1972
+ "name": "Score",
1973
+ "output_required": false,
1974
+ "type": "int",
1975
+ "value_allowed_null": false
1976
+ },
1967
1977
  {
1968
1978
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1969
1979
  "member": "string",
@@ -16924,7 +16924,7 @@
16924
16924
  },
16925
16925
  {
16926
16926
  "disabled": false,
16927
- "document": "要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。",
16927
+ "document": "要修改的安全组 ID 列表,一个或者多个安全组 ID 组成的数组。\n注意:该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。",
16928
16928
  "example": "[\"sg-ajr1jzgj\\r\\n\"]",
16929
16929
  "member": "string",
16930
16930
  "name": "SecurityGroupIds",
@@ -905,7 +905,7 @@
905
905
  },
906
906
  {
907
907
  "disabled": false,
908
- "document": "实例对应snapshoit的id",
908
+ "document": "实例对应Snapshot的id",
909
909
  "example": "2221",
910
910
  "member": "int64",
911
911
  "name": "TaskId",
@@ -3591,7 +3591,7 @@
3591
3591
  {
3592
3592
  "disabled": false,
3593
3593
  "document": "Be节点",
3594
- "example": "已废弃",
3594
+ "example": "beNodes",
3595
3595
  "member": "string",
3596
3596
  "name": "BeNodes",
3597
3597
  "output_required": false,
@@ -3601,7 +3601,7 @@
3601
3601
  {
3602
3602
  "disabled": false,
3603
3603
  "document": "Fe节点",
3604
- "example": "已废弃",
3604
+ "example": "feNodes",
3605
3605
  "member": "string",
3606
3606
  "name": "FeNodes",
3607
3607
  "output_required": false,
@@ -9129,7 +9129,7 @@
9129
9129
  },
9130
9130
  {
9131
9131
  "disabled": false,
9132
- "document": "Encryptid",
9132
+ "document": "Encrypted",
9133
9133
  "example": "1",
9134
9134
  "member": "int64",
9135
9135
  "name": "Encrypt",
@@ -325,6 +325,7 @@
325
325
  "example": "open,close",
326
326
  "member": "string",
327
327
  "name": "Status",
328
+ "output_required": true,
328
329
  "required": false,
329
330
  "type": "string",
330
331
  "value_allowed_null": false
@@ -335,16 +336,18 @@
335
336
  "example": "80",
336
337
  "member": "uint64",
337
338
  "name": "ScaleThreshold",
339
+ "output_required": true,
338
340
  "required": false,
339
341
  "type": "int",
340
342
  "value_allowed_null": false
341
343
  },
342
344
  {
343
345
  "disabled": false,
344
- "document": "扩容后使用量跟集群总量比例,范围[1-90]",
346
+ "document": "扩容后使用量跟集群总量比例,范围[10-90]",
345
347
  "example": "90",
346
348
  "member": "uint64",
347
349
  "name": "TargetThreshold",
350
+ "output_required": true,
348
351
  "required": false,
349
352
  "type": "int",
350
353
  "value_allowed_null": false
@@ -3451,7 +3454,7 @@
3451
3454
  },
3452
3455
  {
3453
3456
  "disabled": false,
3454
- "document": "扩容后目标阈值,范围[1-90],该值要小于 ScaleUpThreshold",
3457
+ "document": "扩容后目标阈值,范围[10-90],该值要小于 ScaleUpThreshold",
3455
3458
  "example": "80",
3456
3459
  "member": "uint64",
3457
3460
  "name": "TargetThreshold",
@@ -3505,7 +3508,7 @@
3505
3508
  },
3506
3509
  {
3507
3510
  "disabled": false,
3508
- "document": "扩容后达到阈值,范围[1-90]",
3511
+ "document": "扩容后达到阈值,范围[10-90]",
3509
3512
  "example": "75",
3510
3513
  "member": "uint64",
3511
3514
  "name": "TargetThreshold",
@@ -2340,6 +2340,15 @@
2340
2340
  "name": "TableType",
2341
2341
  "required": true,
2342
2342
  "type": "string"
2343
+ },
2344
+ {
2345
+ "disabled": false,
2346
+ "document": "处置对象,事件ID列表",
2347
+ "example": "[\"a67d60bb5ede9b962ac19ad24b28be54\"]",
2348
+ "member": "string",
2349
+ "name": "HandleEventIdList",
2350
+ "required": false,
2351
+ "type": "list"
2343
2352
  }
2344
2353
  ],
2345
2354
  "type": "object"
@@ -6434,7 +6434,7 @@
6434
6434
  {
6435
6435
  "disabled": false,
6436
6436
  "document": "告警策略ID。",
6437
- "example": "5944e926-ae21-4fa1-8af6-e1539b577482",
6437
+ "example": "alarm-59df14aa-f35f-4ed2-9399-2b27ce69a53c",
6438
6438
  "member": "string",
6439
6439
  "name": "AlarmId",
6440
6440
  "required": true,
@@ -246,7 +246,7 @@
246
246
  "status": "online"
247
247
  },
248
248
  "HandleMediaCastProject": {
249
- "document": "对媒体转推项目进行操作。\n### 操作类型<a id=\"Operation\"></a>\n- `AddSource`(添加输入源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B9-.E6.B7.BB.E5.8A.A0.E8.BE.93.E5.85.A5.E6.BA.90);\n- `DeleteSource`(删除输入源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B6-.E5.88.A0.E9.99.A4.E8.BE.93.E5.85.A5.E6.BA.90);\n- `SwitchSource`(切换当前播放的输入源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B5-.E5.88.87.E6.8D.A2.E5.BD.93.E5.89.8D.E6.92.AD.E6.94.BE.E7.9A.84.E8.BE.93.E5.85.A5.E6.BA.90)\n- `AddDestination`( 添加输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B8-.E5.90.AF.E5.8A.A8.E8.BE.93.E5.87.BA.E6.BA.90);\n- `DeleteDestination`(删除输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B7-.E5.88.A0.E9.99.A4.E8.BE.93.E5.87.BA.E6.BA.90);\n- `EnableDestination`(启动输出源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B8-.E5.90.AF.E5.8A.A8.E8.BE.93.E5.87.BA.E6.BA.90);\n- `DisableDestination`(停止输出源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B4-.E5.81.9C.E6.AD.A2.E8.BE.93.E5.87.BA.E6.BA.90);\n- `ModifyDestination`(修改输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B2-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.87.BA.E6.BA.90);\n- `Start`(启动媒体转推),项目状态为 Idle 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B12-.E5.90.AF.E5.8A.A8.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8)。发起 Start 请求成功后,媒体转推项目开始启动,30秒内还需要再进行一次 Confirm操作进行确认;\n- `Confirm`(确认媒体转推项目启动),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B14-.E7.A1.AE.E8.AE.A4.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8.E9.A1.B9.E7.9B.AE.E5.90.AF.E5.8A.A8);\n- `Stop`(停止媒体转推),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B11-.E5.81.9C.E6.AD.A2.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8);\n- `ModifyOutputMediaSetting`(修改媒体输出配置),项目状态为 Idle 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B3-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.87.BA.E7.9A.84.E5.AA.92.E4.BD.93.E9.85.8D.E7.BD.AE);\n- `ModifyPlaySetting`(修改播放结束时间),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B1-.E4.BF.AE.E6.94.B9.E7.BB.93.E6.9D.9F.E6.97.B6.E9.97.B4);\n- `DescribePlayInfo`(查询播放信息),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B13-.E6.9F.A5.E8.AF.A2.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8.E9.A1.B9.E7.9B.AE.E7.9A.84.E6.92.AD.E6.94.BE.E4.BF.A1.E6.81.AF)。",
249
+ "document": "对媒体转推项目进行操作。\n### 操作类型<a id=\"Operation\"></a>\n- `AddSource`(添加输入源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B6-.E6.B7.BB.E5.8A.A0.E8.BE.93.E5.85.A5.E6.BA.90);\n- `DeleteSource`(删除输入源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B3-.E5.88.A0.E9.99.A4.E8.BE.93.E5.85.A5.E6.BA.90);\n- `SwitchSource`(切换当前播放的输入源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B13-.E5.88.87.E6.8D.A2.E5.BD.93.E5.89.8D.E6.92.AD.E6.94.BE.E7.9A.84.E8.BE.93.E5.85.A5.E6.BA.90)\n- `AddDestination`( 添加输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B7-.E6.B7.BB.E5.8A.A0.E8.BE.93.E5.87.BA.E6.BA.90);\n- `DeleteDestination`(删除输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B4-.E5.88.A0.E9.99.A4.E8.BE.93.E5.87.BA.E6.BA.90);\n- `EnableDestination`(启动输出源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B5-.E5.90.AF.E5.8A.A8.E8.BE.93.E5.87.BA.E6.BA.90);\n- `DisableDestination`(停止输出源),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B2-.E5.81.9C.E6.AD.A2.E8.BE.93.E5.87.BA.E6.BA.90);\n- `ModifyDestination`(修改输出源),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B1-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.87.BA.E6.BA.90);\n- `Start`(启动媒体转推),项目状态为 Idle 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B10-.E5.90.AF.E5.8A.A8.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8)。发起 Start 请求成功后,媒体转推项目开始启动,30秒内还需要再进行一次 Confirm操作进行确认;\n- `Confirm`(确认媒体转推项目启动),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B14-.E7.A1.AE.E8.AE.A4.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8.E9.A1.B9.E7.9B.AE.E5.90.AF.E5.8A.A8);\n- `Stop`(停止媒体转推),项目状态为 Working 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B9-.E5.81.9C.E6.AD.A2.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8);\n- `ModifyOutputMediaSetting`(修改媒体输出配置),项目状态为 Idle 时可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B12-.E4.BF.AE.E6.94.B9.E8.BE.93.E5.87.BA.E7.9A.84.E5.AA.92.E4.BD.93.E9.85.8D.E7.BD.AE);\n- `ModifyPlaySetting`(修改播放结束时间),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B8-.E4.BF.AE.E6.94.B9.E7.BB.93.E6.9D.9F.E6.97.B6.E9.97.B4);\n- `DescribePlayInfo`(查询播放信息),项目状态为 Idle、Working 时均可以操作。参见 [示例](#.E7.A4.BA.E4.BE.8B15-.E6.9F.A5.E8.AF.A2.E5.AA.92.E4.BD.93.E8.BD.AC.E6.8E.A8.E9.A1.B9.E7.9B.AE.E7.9A.84.E6.92.AD.E6.94.BE.E4.BF.A1.E6.81.AF)。",
250
250
  "input": "HandleMediaCastProjectRequest",
251
251
  "name": "操作媒体转推项目",
252
252
  "output": "HandleMediaCastProjectResponse",
@@ -10242,6 +10242,16 @@
10242
10242
  "output_required": true,
10243
10243
  "type": "int",
10244
10244
  "value_allowed_null": false
10245
+ },
10246
+ {
10247
+ "disabled": false,
10248
+ "document": "租户ID字符串",
10249
+ "example": "1235316210",
10250
+ "member": "string",
10251
+ "name": "AppIdStr",
10252
+ "output_required": false,
10253
+ "type": "string",
10254
+ "value_allowed_null": false
10245
10255
  }
10246
10256
  ],
10247
10257
  "usage": "out"
@@ -261,6 +261,17 @@
261
261
  "required": false,
262
262
  "type": "list",
263
263
  "value_allowed_null": false
264
+ },
265
+ {
266
+ "disabled": false,
267
+ "document": "相邻切片重合字符数,需要小于分片长度",
268
+ "example": "4000",
269
+ "member": "uint64",
270
+ "name": "ChunkOverlap",
271
+ "output_required": false,
272
+ "required": false,
273
+ "type": "int",
274
+ "value_allowed_null": false
264
275
  }
265
276
  ],
266
277
  "usage": "both"
@@ -411,6 +422,16 @@
411
422
  "type": "list",
412
423
  "value_allowed_null": false
413
424
  },
425
+ {
426
+ "disabled": false,
427
+ "document": "token消耗量",
428
+ "example": "无",
429
+ "member": "Usage",
430
+ "name": "Usage",
431
+ "output_required": false,
432
+ "type": "object",
433
+ "value_allowed_null": false
434
+ },
414
435
  {
415
436
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
416
437
  "member": "string",
@@ -498,6 +519,23 @@
498
519
  ],
499
520
  "usage": "both"
500
521
  },
522
+ "DocumentParseConfig": {
523
+ "document": "文档解析配置",
524
+ "members": [
525
+ {
526
+ "disabled": false,
527
+ "document": "0:图片以链接形式返回\n1:返回图片中提取的文本内容",
528
+ "example": "1",
529
+ "member": "uint64",
530
+ "name": "ImageResponseType",
531
+ "output_required": false,
532
+ "required": false,
533
+ "type": "int",
534
+ "value_allowed_null": false
535
+ }
536
+ ],
537
+ "usage": "both"
538
+ },
501
539
  "EmbeddingData": {
502
540
  "document": "向量内容",
503
541
  "members": [
@@ -813,6 +851,39 @@
813
851
  "required": false,
814
852
  "type": "string",
815
853
  "value_allowed_null": false
854
+ },
855
+ {
856
+ "disabled": false,
857
+ "document": "文档解析配置",
858
+ "example": "无",
859
+ "member": "DocumentParseConfig",
860
+ "name": "DocumentParseConfig",
861
+ "output_required": false,
862
+ "required": false,
863
+ "type": "object",
864
+ "value_allowed_null": false
865
+ },
866
+ {
867
+ "disabled": false,
868
+ "document": "文档的起始页码",
869
+ "example": "1",
870
+ "member": "int64",
871
+ "name": "FileStartPageNumber",
872
+ "output_required": false,
873
+ "required": false,
874
+ "type": "int",
875
+ "value_allowed_null": false
876
+ },
877
+ {
878
+ "disabled": false,
879
+ "document": "文档的结束页码",
880
+ "example": "1",
881
+ "member": "int64",
882
+ "name": "FileEndPageNumber",
883
+ "output_required": false,
884
+ "required": false,
885
+ "type": "int",
886
+ "value_allowed_null": false
816
887
  }
817
888
  ],
818
889
  "usage": "both"
@@ -381,6 +381,58 @@ def doDescribeBatchOrganizationRegistrationUrls(args, parsed_globals):
381
381
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
382
 
383
383
 
384
+ def doDescribeBatchOrganizationRegistrationTasks(args, parsed_globals):
385
+ g_param = parse_global_arg(parsed_globals)
386
+
387
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
388
+ cred = credential.CVMRoleCredential()
389
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
390
+ cred = credential.STSAssumeRoleCredential(
391
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
392
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
393
+ )
394
+ 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):
395
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
396
+ else:
397
+ cred = credential.Credential(
398
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
399
+ )
400
+ http_profile = HttpProfile(
401
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
402
+ reqMethod="POST",
403
+ endpoint=g_param[OptionsDefine.Endpoint],
404
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
405
+ )
406
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
407
+ if g_param[OptionsDefine.Language]:
408
+ profile.language = g_param[OptionsDefine.Language]
409
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
410
+ client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
411
+ client._sdkVersion += ("_CLI_" + __version__)
412
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
413
+ model = models.DescribeBatchOrganizationRegistrationTasksRequest()
414
+ model.from_json_string(json.dumps(args))
415
+ start_time = time.time()
416
+ while True:
417
+ rsp = client.DescribeBatchOrganizationRegistrationTasks(model)
418
+ result = rsp.to_json_string()
419
+ try:
420
+ json_obj = json.loads(result)
421
+ except TypeError as e:
422
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
423
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
424
+ break
425
+ cur_time = time.time()
426
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
427
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
428
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
429
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
430
+ else:
431
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
432
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
433
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
434
+
435
+
384
436
  def doCreatePreparedPersonalEsign(args, parsed_globals):
385
437
  g_param = parse_global_arg(parsed_globals)
386
438
 
@@ -4125,6 +4177,58 @@ def doDescribeUserFlowType(args, parsed_globals):
4125
4177
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4126
4178
 
4127
4179
 
4180
+ def doCreateModifyAdminAuthorizationUrl(args, parsed_globals):
4181
+ g_param = parse_global_arg(parsed_globals)
4182
+
4183
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
4184
+ cred = credential.CVMRoleCredential()
4185
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
4186
+ cred = credential.STSAssumeRoleCredential(
4187
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
4188
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
4189
+ )
4190
+ 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):
4191
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
4192
+ else:
4193
+ cred = credential.Credential(
4194
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
4195
+ )
4196
+ http_profile = HttpProfile(
4197
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
4198
+ reqMethod="POST",
4199
+ endpoint=g_param[OptionsDefine.Endpoint],
4200
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
4201
+ )
4202
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
4203
+ if g_param[OptionsDefine.Language]:
4204
+ profile.language = g_param[OptionsDefine.Language]
4205
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
4206
+ client = mod.EssClient(cred, g_param[OptionsDefine.Region], profile)
4207
+ client._sdkVersion += ("_CLI_" + __version__)
4208
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
4209
+ model = models.CreateModifyAdminAuthorizationUrlRequest()
4210
+ model.from_json_string(json.dumps(args))
4211
+ start_time = time.time()
4212
+ while True:
4213
+ rsp = client.CreateModifyAdminAuthorizationUrl(model)
4214
+ result = rsp.to_json_string()
4215
+ try:
4216
+ json_obj = json.loads(result)
4217
+ except TypeError as e:
4218
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
4219
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
4220
+ break
4221
+ cur_time = time.time()
4222
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
4223
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
4224
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
4225
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
4226
+ else:
4227
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
4228
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
4229
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4230
+
4231
+
4128
4232
  def doCreateIntegrationEmployees(args, parsed_globals):
4129
4233
  g_param = parse_global_arg(parsed_globals)
4130
4234
 
@@ -5651,6 +5755,7 @@ ACTION_MAP = {
5651
5755
  "CreateUserVerifyUrl": doCreateUserVerifyUrl,
5652
5756
  "CreateEmbedWebUrl": doCreateEmbedWebUrl,
5653
5757
  "DescribeBatchOrganizationRegistrationUrls": doDescribeBatchOrganizationRegistrationUrls,
5758
+ "DescribeBatchOrganizationRegistrationTasks": doDescribeBatchOrganizationRegistrationTasks,
5654
5759
  "CreatePreparedPersonalEsign": doCreatePreparedPersonalEsign,
5655
5760
  "CreateFlowSignReview": doCreateFlowSignReview,
5656
5761
  "ModifyIntegrationDepartment": doModifyIntegrationDepartment,
@@ -5723,6 +5828,7 @@ ACTION_MAP = {
5723
5828
  "CreateWebThemeConfig": doCreateWebThemeConfig,
5724
5829
  "CreateDynamicFlowApprover": doCreateDynamicFlowApprover,
5725
5830
  "DescribeUserFlowType": doDescribeUserFlowType,
5831
+ "CreateModifyAdminAuthorizationUrl": doCreateModifyAdminAuthorizationUrl,
5726
5832
  "CreateIntegrationEmployees": doCreateIntegrationEmployees,
5727
5833
  "DeleteOrganizationAuthorizations": doDeleteOrganizationAuthorizations,
5728
5834
  "OperateSeals": doOperateSeals,