tccli 3.0.1377.1__py2.py3-none-any.whl → 3.0.1378.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.
- tccli/__init__.py +1 -1
- tccli/services/autoscaling/v20180419/api.json +3 -3
- tccli/services/cls/v20201016/api.json +8 -6
- tccli/services/cynosdb/v20190107/api.json +11 -11
- tccli/services/dlc/v20210125/api.json +1 -1
- tccli/services/ess/v20201111/api.json +130 -9
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +209 -0
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/partners/v20180321/api.json +10 -10
- tccli/services/tdmq/tdmq_client.py +53 -0
- tccli/services/tdmq/v20200217/api.json +155 -0
- tccli/services/tdmq/v20200217/examples.json +8 -0
- tccli/services/trtc/v20190722/api.json +16 -5
- tccli/services/tsf/v20180326/api.json +4 -4
- tccli/services/vclm/v20240523/api.json +9 -0
- {tccli-3.0.1377.1.dist-info → tccli-3.0.1378.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1377.1.dist-info → tccli-3.0.1378.1.dist-info}/RECORD +21 -21
- {tccli-3.0.1377.1.dist-info → tccli-3.0.1378.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1377.1.dist-info → tccli-3.0.1378.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1377.1.dist-info → tccli-3.0.1378.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.1378.1'
|
@@ -134,7 +134,7 @@
|
|
134
134
|
"status": "online"
|
135
135
|
},
|
136
136
|
"DescribeAutoScalingActivities": {
|
137
|
-
"document": "本接口(DescribeAutoScalingActivities
|
137
|
+
"document": "本接口(DescribeAutoScalingActivities)用于查询伸缩组的伸缩活动记录。当前仅保存近两年的伸缩活动。",
|
138
138
|
"input": "DescribeAutoScalingActivitiesRequest",
|
139
139
|
"name": "查询伸缩活动",
|
140
140
|
"output": "DescribeAutoScalingActivitiesResponse",
|
@@ -2747,7 +2747,7 @@
|
|
2747
2747
|
{
|
2748
2748
|
"disabled": false,
|
2749
2749
|
"document": "过滤条件。过滤字段取值范围如下:\n<ul>\n<li><strong>auto-scaling-group-id</strong><ul><li>按照【<strong>伸缩组ID</strong>】进行过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 或调用接口 [DescribeAutoScalingGroups](https://cloud.tencent.com/document/api/377/20438) ,取返回信息中的 AutoScalingGroupId 获取伸缩组ID。</li><li>类型:String</li><li>必选:否</li><li>示例值: asg-kiju7yt5</li></ul></li><li><strong>activity-status-code</strong><ul><li>按照【<strong>伸缩活动状态</strong>】进行过滤</li><li>类型:String</li><li>必选:否</li><li>可选项: </li><ul><li>INIT:初始化中</li><li>RUNNING:运行中</li><li>SUCCESSFUL:活动成功</li><li>PARTIALLY_SUCCESSFUL:活动部分成功</li><li>FAILED:活动失败</li><li>CANCELLED:活动取消</li></ul></ul></li><li><strong>activity-type</strong><ul><li>按照【<strong>伸缩活动类型</strong>】进行过滤</li><li>类型:String</li><li>必选:否</li><li>可选项: </li><ul><li>SCALE_OUT:扩容活动</li><li>SCALE_IN:缩容活动</li><li>ATTACH_INSTANCES:添加实例</li><li>REMOVE_INSTANCES:销毁实例</li><li>DETACH_INSTANCES:移出实例</li><li>TERMINATE_INSTANCES_UNEXPECTEDLY:实例在CVM控制台被销毁</li><li>REPLACE_UNHEALTHY_INSTANCE:替换不健康实例</li><li>START_INSTANCES:开启实例</li><li>STOP_INSTANCES:关闭实例</li><li>INVOKE_COMMAND:执行命令</li></ul></ul></li><li><strong>activity-id</strong><ul><li>按照【<strong>伸缩活动ID</strong>】进行过滤。可通过登录 [控制台](https://console.cloud.tencent.com/autoscaling/group) 获取伸缩活动ID。</li><li>类型:String</li><li>必选:否</li><li>示例值: asa-hy6tr4ed</li></ul></li></ul>\n每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。参数不支持同时指定`ActivityIds`和`Filters`。",
|
2750
|
-
"example": "
|
2750
|
+
"example": "无",
|
2751
2751
|
"member": "Filter",
|
2752
2752
|
"name": "Filters",
|
2753
2753
|
"required": false,
|
@@ -2773,7 +2773,7 @@
|
|
2773
2773
|
},
|
2774
2774
|
{
|
2775
2775
|
"disabled": false,
|
2776
|
-
"document": "伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ
|
2776
|
+
"document": "伸缩活动最早的开始时间,如果指定了ActivityIds,此参数将被忽略。取值为`UTC`时间,按照`ISO8601`标准,格式:`YYYY-MM-DDThh:mm:ssZ`。注意:当前仅保存近两年的伸缩活动。",
|
2777
2777
|
"example": "2024-11-11T15:29:59Z",
|
2778
2778
|
"member": "datetime_iso",
|
2779
2779
|
"name": "StartTime",
|
@@ -6428,10 +6428,11 @@
|
|
6428
6428
|
"members": [
|
6429
6429
|
{
|
6430
6430
|
"disabled": false,
|
6431
|
-
"document": "
|
6432
|
-
"example": "
|
6431
|
+
"document": "日志主题ID\n- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。",
|
6432
|
+
"example": "abdeace6-9484-4d2e-b670-28289c42b60f",
|
6433
6433
|
"member": "string",
|
6434
6434
|
"name": "TopicId",
|
6435
|
+
"output_required": true,
|
6435
6436
|
"required": true,
|
6436
6437
|
"type": "string",
|
6437
6438
|
"value_allowed_null": false
|
@@ -6442,6 +6443,7 @@
|
|
6442
6443
|
"example": "topicname",
|
6443
6444
|
"member": "string",
|
6444
6445
|
"name": "Alias",
|
6446
|
+
"output_required": true,
|
6445
6447
|
"required": true,
|
6446
6448
|
"type": "string",
|
6447
6449
|
"value_allowed_null": false
|
@@ -6514,7 +6516,7 @@
|
|
6514
6516
|
},
|
6515
6517
|
{
|
6516
6518
|
"disabled": false,
|
6517
|
-
"document": "
|
6519
|
+
"document": "加工任务创建时间\n示例值:2025-03-18 19:55:54\n时间格式:yyyy-MM-dd HH:mm:ss",
|
6518
6520
|
"example": "2022-12-08 21:00:35",
|
6519
6521
|
"member": "string",
|
6520
6522
|
"name": "CreateTime",
|
@@ -6524,7 +6526,7 @@
|
|
6524
6526
|
},
|
6525
6527
|
{
|
6526
6528
|
"disabled": false,
|
6527
|
-
"document": "最近修改时间\n示例值:2025-
|
6529
|
+
"document": "最近修改时间\n示例值:2025-04-18 16:55:54\n时间格式:yyyy-MM-dd HH:mm:ss",
|
6528
6530
|
"example": "2024-03-20 15:51:01",
|
6529
6531
|
"member": "string",
|
6530
6532
|
"name": "UpdateTime",
|
@@ -6534,8 +6536,8 @@
|
|
6534
6536
|
},
|
6535
6537
|
{
|
6536
6538
|
"disabled": false,
|
6537
|
-
"document": "最后启用时间,如果需要重建集群,修改该时间\n示例值:2025-
|
6538
|
-
"example": "2024-
|
6539
|
+
"document": "最后启用时间,如果需要重建集群,修改该时间\n示例值:2025-05-18 19:55:54\n时间格式:yyyy-MM-dd HH:mm:ss",
|
6540
|
+
"example": "2024-05-23 15:50:00",
|
6539
6541
|
"member": "string",
|
6540
6542
|
"name": "LastEnableTime",
|
6541
6543
|
"output_required": true,
|
@@ -4775,7 +4775,7 @@
|
|
4775
4775
|
{
|
4776
4776
|
"disabled": false,
|
4777
4777
|
"document": "集群创建需要绑定的tag数组信息",
|
4778
|
-
"example": "
|
4778
|
+
"example": "无",
|
4779
4779
|
"member": "Tag",
|
4780
4780
|
"name": "ResourceTags",
|
4781
4781
|
"required": false,
|
@@ -4856,7 +4856,7 @@
|
|
4856
4856
|
{
|
4857
4857
|
"disabled": false,
|
4858
4858
|
"document": "参数数组,暂时支持character_set_server (utf8|latin1|gbk|utf8mb4) ,lower_case_table_names,1-大小写不敏感,0-大小写敏感",
|
4859
|
-
"example": "
|
4859
|
+
"example": "无",
|
4860
4860
|
"member": "ParamItem",
|
4861
4861
|
"name": "ClusterParams",
|
4862
4862
|
"required": false,
|
@@ -4892,7 +4892,7 @@
|
|
4892
4892
|
{
|
4893
4893
|
"disabled": false,
|
4894
4894
|
"document": "实例初始化配置信息,主要用于购买集群时选不同规格实例",
|
4895
|
-
"example": "
|
4895
|
+
"example": "无",
|
4896
4896
|
"member": "InstanceInitInfo",
|
4897
4897
|
"name": "InstanceInitInfos",
|
4898
4898
|
"required": false,
|
@@ -4983,7 +4983,7 @@
|
|
4983
4983
|
{
|
4984
4984
|
"disabled": false,
|
4985
4985
|
"document": "大订单号\n注意:此字段可能返回 null,表示取不到有效值。",
|
4986
|
-
"example": "[\"
|
4986
|
+
"example": "[\"2019052211228311\"]",
|
4987
4987
|
"member": "string",
|
4988
4988
|
"name": "BigDealIds",
|
4989
4989
|
"output_required": true,
|
@@ -6017,7 +6017,7 @@
|
|
6017
6017
|
{
|
6018
6018
|
"disabled": false,
|
6019
6019
|
"document": "从可用区",
|
6020
|
-
"example": "ap-singapore-4",
|
6020
|
+
"example": "[\"ap-singapore-4\"]",
|
6021
6021
|
"member": "string",
|
6022
6022
|
"name": "SlaveZones",
|
6023
6023
|
"output_required": true,
|
@@ -6451,7 +6451,7 @@
|
|
6451
6451
|
{
|
6452
6452
|
"disabled": false,
|
6453
6453
|
"document": "从可用区列表",
|
6454
|
-
"example": "ap-guangzhou-3",
|
6454
|
+
"example": "[\"ap-guangzhou-3\"]",
|
6455
6455
|
"member": "string",
|
6456
6456
|
"name": "SlaveZones",
|
6457
6457
|
"output_required": true,
|
@@ -11338,7 +11338,7 @@
|
|
11338
11338
|
{
|
11339
11339
|
"disabled": false,
|
11340
11340
|
"document": "是否需要返回可用区信息",
|
11341
|
-
"example": "
|
11341
|
+
"example": "false",
|
11342
11342
|
"member": "bool",
|
11343
11343
|
"name": "IncludeZoneStocks",
|
11344
11344
|
"required": false,
|
@@ -11362,7 +11362,7 @@
|
|
11362
11362
|
{
|
11363
11363
|
"disabled": false,
|
11364
11364
|
"document": "规格信息",
|
11365
|
-
"example": "
|
11365
|
+
"example": "无",
|
11366
11366
|
"member": "InstanceSpec",
|
11367
11367
|
"name": "InstanceSpecSet",
|
11368
11368
|
"output_required": true,
|
@@ -14999,7 +14999,7 @@
|
|
14999
14999
|
},
|
15000
15000
|
{
|
15001
15001
|
"disabled": false,
|
15002
|
-
"document": "
|
15002
|
+
"document": "自动逻辑备份保留时间\n单位:秒",
|
15003
15003
|
"example": "7",
|
15004
15004
|
"member": "uint64",
|
15005
15005
|
"name": "LogicReserveDuration",
|
@@ -15010,8 +15010,8 @@
|
|
15010
15010
|
},
|
15011
15011
|
{
|
15012
15012
|
"disabled": false,
|
15013
|
-
"document": "
|
15014
|
-
"example": "
|
15013
|
+
"document": "是否开启跨地域逻辑备份\n可选值:ON/OFF",
|
15014
|
+
"example": "ON",
|
15015
15015
|
"member": "string",
|
15016
15016
|
"name": "LogicCrossRegionsEnable",
|
15017
15017
|
"output_required": false,
|
@@ -13887,7 +13887,7 @@
|
|
13887
13887
|
{
|
13888
13888
|
"disabled": false,
|
13889
13889
|
"document": "DataEngine-dm8bjs29",
|
13890
|
-
"example": "
|
13890
|
+
"example": "[\"DataEngine-xx\"]",
|
13891
13891
|
"member": "string",
|
13892
13892
|
"name": "HouseIds",
|
13893
13893
|
"required": false,
|
@@ -2555,29 +2555,29 @@
|
|
2555
2555
|
},
|
2556
2556
|
{
|
2557
2557
|
"disabled": false,
|
2558
|
-
"document": "
|
2558
|
+
"document": "合同审查的审查尺度。默认为`0`严格尺度\n\n审查尺度如下:\n<ul>\n <li>**0** - 【严格】以保护己方利益为核心,对合同条款进行严格把控,尽可能争取对己方有利的条款,同时对对方提出的不合理条款可进行坚决修改或删除。</li> \n <li>**1** - 【中立】以公平合理为原则,平衡双方的权利义务,既不过分强调己方利益,也不过度让步,力求达成双方均可接受的条款。</li> \n <li>**2** - 【宽松】以促成交易为核心,对合同条款的修改要求较为宽松,倾向于接受对方提出的条款,以尽快达成合作。</li> \n</ul>",
|
2559
2559
|
"example": "0",
|
2560
2560
|
"member": "int64",
|
2561
2561
|
"name": "PolicyType",
|
2562
|
-
"required":
|
2562
|
+
"required": false,
|
2563
2563
|
"type": "int"
|
2564
2564
|
},
|
2565
2565
|
{
|
2566
2566
|
"disabled": false,
|
2567
|
-
"document": "
|
2567
|
+
"document": "合同审查中的角色信息,通过明确入参角色的名称和描述,可以提高合同审查的效率和准确性。用户不做配置时大模型会根据合同内容推荐出风险识别角色的名称和描述信息。",
|
2568
2568
|
"example": "无",
|
2569
2569
|
"member": "RiskIdentificationRoleInfo",
|
2570
2570
|
"name": "Role",
|
2571
|
-
"required":
|
2571
|
+
"required": false,
|
2572
2572
|
"type": "object"
|
2573
2573
|
},
|
2574
2574
|
{
|
2575
2575
|
"disabled": false,
|
2576
|
-
"document": "用户配置的审查清单ID,基于此清单ID批量创建合同审查任务,为32位字符串。\n[点击查看审查清单ID在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/2c6588549e28ca49bd8bb7f4a072b19e.png)",
|
2576
|
+
"document": "用户配置的审查清单ID,基于此清单ID批量创建合同审查任务,为32位字符串。\n[点击查看审查清单ID在控制台上的位置](https://qcloudimg.tencent-cloud.cn/raw/2c6588549e28ca49bd8bb7f4a072b19e.png)。如果用户不做此配置大模型会根据合同内容在当前企业下的审查清单和系统默认的清单中选择一个清单进行审查。",
|
2577
2577
|
"example": "yDtCMUUckpx3boo7UysNTh4vx0j0a6Ii",
|
2578
2578
|
"member": "string",
|
2579
2579
|
"name": "ChecklistId",
|
2580
|
-
"required":
|
2580
|
+
"required": false,
|
2581
2581
|
"type": "string"
|
2582
2582
|
},
|
2583
2583
|
{
|
@@ -2588,6 +2588,24 @@
|
|
2588
2588
|
"name": "Agent",
|
2589
2589
|
"required": false,
|
2590
2590
|
"type": "object"
|
2591
|
+
},
|
2592
|
+
{
|
2593
|
+
"disabled": false,
|
2594
|
+
"document": "备注信息,长度不能超过100个字符",
|
2595
|
+
"example": "备注信息",
|
2596
|
+
"member": "string",
|
2597
|
+
"name": "Comment",
|
2598
|
+
"required": false,
|
2599
|
+
"type": "string"
|
2600
|
+
},
|
2601
|
+
{
|
2602
|
+
"disabled": false,
|
2603
|
+
"document": "调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 1024长度。\n\n在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。",
|
2604
|
+
"example": "QmFzZTY0IEJhc2U2NCA",
|
2605
|
+
"member": "string",
|
2606
|
+
"name": "UserData",
|
2607
|
+
"required": false,
|
2608
|
+
"type": "string"
|
2591
2609
|
}
|
2592
2610
|
],
|
2593
2611
|
"type": "object"
|
@@ -9868,7 +9886,7 @@
|
|
9868
9886
|
"members": [
|
9869
9887
|
{
|
9870
9888
|
"disabled": false,
|
9871
|
-
"document": "用于审查任务的审查清单ID
|
9889
|
+
"document": "用于审查任务的审查清单ID。注意:如果用户没有配置清单时此值可能为空,需要等大模型根据合同内容推荐出可以使用的审查清单。",
|
9872
9890
|
"example": "yDtCMUUckpx3boo7Uyxx4vx0j0a6Ii",
|
9873
9891
|
"member": "string",
|
9874
9892
|
"name": "ChecklistId",
|
@@ -9928,13 +9946,13 @@
|
|
9928
9946
|
},
|
9929
9947
|
{
|
9930
9948
|
"disabled": false,
|
9931
|
-
"document": "
|
9949
|
+
"document": "合同审查中的角色信息。注意:注意:如果用户没有配置审查角色时此值可能为null,需要等大模型根据合同内容推荐出审查角色信息。\n注意:此字段可能返回 null,表示取不到有效值。",
|
9932
9950
|
"example": "无",
|
9933
9951
|
"member": "RiskIdentificationRoleInfo",
|
9934
9952
|
"name": "Role",
|
9935
9953
|
"output_required": false,
|
9936
9954
|
"type": "object",
|
9937
|
-
"value_allowed_null":
|
9955
|
+
"value_allowed_null": true
|
9938
9956
|
},
|
9939
9957
|
{
|
9940
9958
|
"disabled": false,
|
@@ -9956,6 +9974,26 @@
|
|
9956
9974
|
"type": "string",
|
9957
9975
|
"value_allowed_null": false
|
9958
9976
|
},
|
9977
|
+
{
|
9978
|
+
"disabled": false,
|
9979
|
+
"document": "审查任务备注信息,长度不能超过100个字符",
|
9980
|
+
"example": "wu",
|
9981
|
+
"member": "string",
|
9982
|
+
"name": "Comment",
|
9983
|
+
"output_required": false,
|
9984
|
+
"type": "string",
|
9985
|
+
"value_allowed_null": false
|
9986
|
+
},
|
9987
|
+
{
|
9988
|
+
"disabled": false,
|
9989
|
+
"document": "调用方自定义的个性化字段(可自定义此名称),并以base64方式编码,支持的最大数据大小为 1024长度。\n\n在合同状态变更的回调信息等场景中,该字段的信息将原封不动地透传给贵方。回调的相关说明可参考开发者中心的[回调通知](https://qian.tencent.com/developers/company/callback_types_v2)模块。",
|
9990
|
+
"example": "QmFzZTY0IEJhc2U2NCA",
|
9991
|
+
"member": "string",
|
9992
|
+
"name": "UserData",
|
9993
|
+
"output_required": false,
|
9994
|
+
"type": "string",
|
9995
|
+
"value_allowed_null": false
|
9996
|
+
},
|
9959
9997
|
{
|
9960
9998
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9961
9999
|
"member": "string",
|
@@ -15776,6 +15814,17 @@
|
|
15776
15814
|
"type": "string",
|
15777
15815
|
"value_allowed_null": false
|
15778
15816
|
},
|
15817
|
+
{
|
15818
|
+
"disabled": false,
|
15819
|
+
"document": "审查出的PDF段落位置信息",
|
15820
|
+
"example": "无",
|
15821
|
+
"member": "PositionInfo",
|
15822
|
+
"name": "Positions",
|
15823
|
+
"output_required": false,
|
15824
|
+
"required": false,
|
15825
|
+
"type": "list",
|
15826
|
+
"value_allowed_null": false
|
15827
|
+
},
|
15779
15828
|
{
|
15780
15829
|
"disabled": false,
|
15781
15830
|
"document": "审查依据",
|
@@ -16103,6 +16152,78 @@
|
|
16103
16152
|
],
|
16104
16153
|
"usage": "both"
|
16105
16154
|
},
|
16155
|
+
"PositionInfo": {
|
16156
|
+
"document": "坐标详情",
|
16157
|
+
"members": [
|
16158
|
+
{
|
16159
|
+
"disabled": false,
|
16160
|
+
"document": "PDF文件页X坐标位置,以PDF单页左上角为坐标原点",
|
16161
|
+
"example": "129.59680902497985",
|
16162
|
+
"member": "float",
|
16163
|
+
"name": "X",
|
16164
|
+
"output_required": false,
|
16165
|
+
"required": false,
|
16166
|
+
"type": "float",
|
16167
|
+
"value_allowed_null": false
|
16168
|
+
},
|
16169
|
+
{
|
16170
|
+
"disabled": false,
|
16171
|
+
"document": "PDF文件页Y坐标位置,以PDF单页左上角为坐标原点",
|
16172
|
+
"example": "129.59680902497985",
|
16173
|
+
"member": "float",
|
16174
|
+
"name": "Y",
|
16175
|
+
"output_required": false,
|
16176
|
+
"required": false,
|
16177
|
+
"type": "float",
|
16178
|
+
"value_allowed_null": false
|
16179
|
+
},
|
16180
|
+
{
|
16181
|
+
"disabled": false,
|
16182
|
+
"document": "距离X坐标的宽度,用于在PDF文件进行画框。",
|
16183
|
+
"example": "129.59680902497985",
|
16184
|
+
"member": "float",
|
16185
|
+
"name": "Width",
|
16186
|
+
"output_required": false,
|
16187
|
+
"required": false,
|
16188
|
+
"type": "float",
|
16189
|
+
"value_allowed_null": false
|
16190
|
+
},
|
16191
|
+
{
|
16192
|
+
"disabled": false,
|
16193
|
+
"document": "距离Y坐标的高度,用于在PDF文件进行画框。",
|
16194
|
+
"example": "129.59680902497985",
|
16195
|
+
"member": "float",
|
16196
|
+
"name": "Height",
|
16197
|
+
"output_required": false,
|
16198
|
+
"required": false,
|
16199
|
+
"type": "float",
|
16200
|
+
"value_allowed_null": false
|
16201
|
+
},
|
16202
|
+
{
|
16203
|
+
"disabled": false,
|
16204
|
+
"document": "PDF文件页码索引,此值加1就是对应PDF文件的页码。",
|
16205
|
+
"example": "0",
|
16206
|
+
"member": "int64",
|
16207
|
+
"name": "PageIndex",
|
16208
|
+
"output_required": false,
|
16209
|
+
"required": false,
|
16210
|
+
"type": "int",
|
16211
|
+
"value_allowed_null": false
|
16212
|
+
},
|
16213
|
+
{
|
16214
|
+
"disabled": false,
|
16215
|
+
"document": "系统生成的唯一ID值",
|
16216
|
+
"example": "6262559b-a6e6-4877-a1e6-10baaefe13bf",
|
16217
|
+
"member": "string",
|
16218
|
+
"name": "Id",
|
16219
|
+
"output_required": false,
|
16220
|
+
"required": false,
|
16221
|
+
"type": "string",
|
16222
|
+
"value_allowed_null": false
|
16223
|
+
}
|
16224
|
+
],
|
16225
|
+
"usage": "both"
|
16226
|
+
},
|
16106
16227
|
"PresetApproverInfo": {
|
16107
16228
|
"document": "预设的动态签署方的补充信息,仅匹配对应信息的签署方才能领取合同。暂时仅对个人参与方生效。",
|
16108
16229
|
"members": [
|
@@ -6413,6 +6413,58 @@ def doInvokeVideosKeywordsAnalyzer(args, parsed_globals):
|
|
6413
6413
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6414
6414
|
|
6415
6415
|
|
6416
|
+
def doDescribeTWeSeeRecognitionTask(args, parsed_globals):
|
6417
|
+
g_param = parse_global_arg(parsed_globals)
|
6418
|
+
|
6419
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
6420
|
+
cred = credential.CVMRoleCredential()
|
6421
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
6422
|
+
cred = credential.STSAssumeRoleCredential(
|
6423
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
6424
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
6425
|
+
)
|
6426
|
+
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):
|
6427
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
6428
|
+
else:
|
6429
|
+
cred = credential.Credential(
|
6430
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
6431
|
+
)
|
6432
|
+
http_profile = HttpProfile(
|
6433
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
6434
|
+
reqMethod="POST",
|
6435
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
6436
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
6437
|
+
)
|
6438
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
6439
|
+
if g_param[OptionsDefine.Language]:
|
6440
|
+
profile.language = g_param[OptionsDefine.Language]
|
6441
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
6442
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
6443
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
6444
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
6445
|
+
model = models.DescribeTWeSeeRecognitionTaskRequest()
|
6446
|
+
model.from_json_string(json.dumps(args))
|
6447
|
+
start_time = time.time()
|
6448
|
+
while True:
|
6449
|
+
rsp = client.DescribeTWeSeeRecognitionTask(model)
|
6450
|
+
result = rsp.to_json_string()
|
6451
|
+
try:
|
6452
|
+
json_obj = json.loads(result)
|
6453
|
+
except TypeError as e:
|
6454
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
6455
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
6456
|
+
break
|
6457
|
+
cur_time = time.time()
|
6458
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
6459
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
6460
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
6461
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
6462
|
+
else:
|
6463
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
6464
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
6465
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
6466
|
+
|
6467
|
+
|
6416
6468
|
def doDescribeBatchProduction(args, parsed_globals):
|
6417
6469
|
g_param = parse_global_arg(parsed_globals)
|
6418
6470
|
|
@@ -8939,6 +8991,7 @@ ACTION_MAP = {
|
|
8939
8991
|
"DescribeProject": doDescribeProject,
|
8940
8992
|
"GetStudioProductList": doGetStudioProductList,
|
8941
8993
|
"InvokeVideosKeywordsAnalyzer": doInvokeVideosKeywordsAnalyzer,
|
8994
|
+
"DescribeTWeSeeRecognitionTask": doDescribeTWeSeeRecognitionTask,
|
8942
8995
|
"DescribeBatchProduction": doDescribeBatchProduction,
|
8943
8996
|
"CreateExternalSourceAIServiceTask": doCreateExternalSourceAIServiceTask,
|
8944
8997
|
"ActivateTWeCallLicense": doActivateTWeCallLicense,
|