tccli 3.0.1253.1__py2.py3-none-any.whl → 3.0.1255.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 (43) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/apm/v20210622/api.json +298 -300
  3. tccli/services/apm/v20210622/examples.json +4 -4
  4. tccli/services/autoscaling/v20180419/api.json +72 -0
  5. tccli/services/cat/v20180409/api.json +4 -4
  6. tccli/services/cdwdoris/v20211228/api.json +241 -166
  7. tccli/services/cdwdoris/v20211228/examples.json +12 -12
  8. tccli/services/cfs/cfs_client.py +53 -0
  9. tccli/services/cfs/v20190719/api.json +44 -0
  10. tccli/services/cfs/v20190719/examples.json +8 -0
  11. tccli/services/clb/v20180317/api.json +1 -1
  12. tccli/services/cvm/cvm_client.py +121 -68
  13. tccli/services/cvm/v20170312/api.json +103 -4
  14. tccli/services/cvm/v20170312/examples.json +10 -2
  15. tccli/services/faceid/v20180301/api.json +12 -12
  16. tccli/services/faceid/v20180301/examples.json +16 -2
  17. tccli/services/hunyuan/v20230901/api.json +2 -2
  18. tccli/services/hunyuan/v20230901/examples.json +1 -1
  19. tccli/services/iotexplorer/iotexplorer_client.py +53 -0
  20. tccli/services/iotexplorer/v20190423/api.json +243 -2
  21. tccli/services/iotexplorer/v20190423/examples.json +16 -2
  22. tccli/services/lcic/v20220817/api.json +4 -4
  23. tccli/services/lighthouse/v20200324/api.json +18 -0
  24. tccli/services/lke/v20231130/api.json +7 -7
  25. tccli/services/mna/v20210119/api.json +36 -36
  26. tccli/services/monitor/v20180724/api.json +32 -32
  27. tccli/services/mps/v20190612/api.json +2 -2
  28. tccli/services/postgres/v20170312/api.json +30 -11
  29. tccli/services/postgres/v20170312/examples.json +2 -2
  30. tccli/services/ssl/v20191205/api.json +9 -0
  31. tccli/services/teo/v20220901/api.json +26 -14
  32. tccli/services/vod/v20180717/api.json +3 -3
  33. tccli/services/vpc/v20170312/api.json +39 -36596
  34. tccli/services/vpc/v20170312/examples.json +5 -3513
  35. tccli/services/vpc/vpc_client.py +4 -20462
  36. tccli/services/wedata/v20210820/api.json +437 -8
  37. tccli/services/wedata/v20210820/examples.json +10 -2
  38. tccli/services/wedata/wedata_client.py +57 -4
  39. {tccli-3.0.1253.1.dist-info → tccli-3.0.1255.1.dist-info}/METADATA +2 -2
  40. {tccli-3.0.1253.1.dist-info → tccli-3.0.1255.1.dist-info}/RECORD +43 -43
  41. {tccli-3.0.1253.1.dist-info → tccli-3.0.1255.1.dist-info}/WHEEL +0 -0
  42. {tccli-3.0.1253.1.dist-info → tccli-3.0.1255.1.dist-info}/entry_points.txt +0 -0
  43. {tccli-3.0.1253.1.dist-info → tccli-3.0.1255.1.dist-info}/license_files/LICENSE +0 -0
@@ -518,6 +518,13 @@
518
518
  "output": "ModifyInstancesChargeTypeResponse",
519
519
  "status": "online"
520
520
  },
521
+ "ModifyInstancesDisasterRecoverGroup": {
522
+ "document": "本接口 (ModifyInstancesDisasterRecoverGroup) 用于调整实例所在置放群组。\n* 目前只支持基础网络或私有网络实例。",
523
+ "input": "ModifyInstancesDisasterRecoverGroupRequest",
524
+ "name": "调整实例分散置放群组",
525
+ "output": "ModifyInstancesDisasterRecoverGroupResponse",
526
+ "status": "online"
527
+ },
521
528
  "ModifyInstancesProject": {
522
529
  "document": "本接口 (ModifyInstancesProject) 用于修改实例所属项目。\n\n* 项目为一个虚拟概念,用户可以在一个账户下面建立多个项目,每个项目中管理不同的资源;将多个不同实例分属到不同项目中,后续使用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728)接口查询实例,项目ID可用于过滤结果。\n* 绑定负载均衡的实例不支持修改实例所属项目,请先使用[DeregisterInstancesFromLoadBalancer](https://cloud.tencent.com/document/api/214/1258)接口解绑负载均衡。\n* 支持批量操作。每次请求批量实例的上限为100。\n* 实例操作结果可以通过调用 [DescribeInstances](https://cloud.tencent.com/document/api/213/15728#.E7.A4.BA.E4.BE.8B3-.E6.9F.A5.E8.AF.A2.E5.AE.9E.E4.BE.8B.E7.9A.84.E6.9C.80.E6.96.B0.E6.93.8D.E4.BD.9C.E6.83.85.E5.86.B5) 接口查询,如果实例的最新操作状态(LatestOperationState)为“SUCCESS”,则代表操作成功。",
523
530
  "input": "ModifyInstancesProjectRequest",
@@ -1868,6 +1875,15 @@
1868
1875
  "name": "HpcClusterBusinessId",
1869
1876
  "required": false,
1870
1877
  "type": "string"
1878
+ },
1879
+ {
1880
+ "disabled": false,
1881
+ "document": "标签描述列表。通过指定该参数可以同时绑定标签到相应的HPC高性能集群。",
1882
+ "example": "[{\"ResourceType\":\"hpc\",\"Tags\":[{\"Key\":\"tag-key\",\"Value\":\"tag-value\"}",
1883
+ "member": "TagSpecification",
1884
+ "name": "TagSpecification",
1885
+ "required": false,
1886
+ "type": "list"
1871
1887
  }
1872
1888
  ],
1873
1889
  "type": "object"
@@ -2750,8 +2766,8 @@
2750
2766
  "members": [
2751
2767
  {
2752
2768
  "disabled": false,
2753
- "document": "分散置放群组ID列表,可通过[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。每次请求允许操作的分散置放群组数量上限是100。",
2754
- "example": "[\"ps-58l1hu01\\r\\n\"]",
2769
+ "document": "分散置放群组ID列表,可通过[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取。每次请求允许操作的分散置放群组数量上限是10。",
2770
+ "example": "[\"ps-58l1hu01\"]",
2755
2771
  "member": "string",
2756
2772
  "name": "DisasterRecoverGroupIds",
2757
2773
  "required": true,
@@ -2778,7 +2794,7 @@
2778
2794
  {
2779
2795
  "disabled": false,
2780
2796
  "document": "高性能计算集群ID列表。",
2781
- "example": "[\"hpc-p64fdfa9\\r\\n\"]",
2797
+ "example": "[\"hpc-p64fdfa9\"]",
2782
2798
  "member": "string",
2783
2799
  "name": "HpcClusterIds",
2784
2800
  "required": true,
@@ -3186,7 +3202,7 @@
3186
3202
  "members": [
3187
3203
  {
3188
3204
  "disabled": false,
3189
- "document": "分散置放群组ID列表。每次请求允许操作的分散置放群组数量上限是100。",
3205
+ "document": "分散置放群组ID列表。每次请求允许操作的分散置放群组数量上限是10。",
3190
3206
  "example": "ps-21q9ibvr",
3191
3207
  "member": "string",
3192
3208
  "name": "DisasterRecoverGroupIds",
@@ -3385,6 +3401,24 @@
3385
3401
  "name": "HpcClusterBusinessId",
3386
3402
  "required": false,
3387
3403
  "type": "string"
3404
+ },
3405
+ {
3406
+ "disabled": false,
3407
+ "document": "高性能计算集群实例类型",
3408
+ "example": "HCCPNV4ane.58XLARGE1929",
3409
+ "member": "string",
3410
+ "name": "InstanceType",
3411
+ "required": false,
3412
+ "type": "string"
3413
+ },
3414
+ {
3415
+ "disabled": false,
3416
+ "document": "<li><strong>tag-key</strong></li> <p style=\"padding-left: 30px;\">按照【<strong>标签键</strong>】进行过滤。</p><p style=\"padding-left: 30px;\">类型:String</p><p style=\"padding-left: 30px;\">必选:否</p> <li><strong>tag-value</strong></li> <p style=\"padding-left: 30px;\">按照【<strong>标签值</strong>】进行过滤。</p><p style=\"padding-left: 30px;\">类型:String</p><p style=\"padding-left: 30px;\">必选:否</p> <li><strong>tag:tag-key</strong></li> <p style=\"padding-left: 30px;\">按照【<strong>标签键值对</strong>】进行过滤。tag-key使用具体的标签键进行替换。</p><p style=\"padding-left: 30px;\">类型:String</p><p style=\"padding-left: 30px;\">必选:否</p> 每次请求的`Filters`的上限为10,`Filter.Values`的上限为5。",
3417
+ "example": "[{\"Name\": \"tag-key\",\"Values\": [\"myTag\"]}]",
3418
+ "member": "Filter",
3419
+ "name": "Filters",
3420
+ "required": false,
3421
+ "type": "list"
3388
3422
  }
3389
3423
  ],
3390
3424
  "type": "object"
@@ -5537,6 +5571,26 @@
5537
5571
  "output_required": false,
5538
5572
  "type": "string",
5539
5573
  "value_allowed_null": true
5574
+ },
5575
+ {
5576
+ "disabled": false,
5577
+ "document": "高性能计算集群网络模式",
5578
+ "example": "0~32,一般取28,30",
5579
+ "member": "uint64",
5580
+ "name": "HpcClusterNetMode",
5581
+ "output_required": false,
5582
+ "type": "int",
5583
+ "value_allowed_null": false
5584
+ },
5585
+ {
5586
+ "disabled": false,
5587
+ "document": "高性能计算集群关联的标签列表",
5588
+ "example": "[{\"Key\": \"APP3\", \"Value\": \"3\"}, {\"Key\": \"APP4\", \"Value\": \"4\"}]",
5589
+ "member": "Tag",
5590
+ "name": "Tags",
5591
+ "output_required": false,
5592
+ "type": "list",
5593
+ "value_allowed_null": false
5540
5594
  }
5541
5595
  ],
5542
5596
  "usage": "out"
@@ -9080,6 +9134,51 @@
9080
9134
  ],
9081
9135
  "type": "object"
9082
9136
  },
9137
+ "ModifyInstancesDisasterRecoverGroupRequest": {
9138
+ "document": "ModifyInstancesDisasterRecoverGroup请求参数结构体",
9139
+ "members": [
9140
+ {
9141
+ "disabled": false,
9142
+ "document": "一个或多个待操作的实例ID。可通过[`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728)接口返回值中的`InstanceId`获取。每次请求批量实例的上限为1",
9143
+ "example": "[\"ins-r8hr2upy\"]",
9144
+ "member": "string",
9145
+ "name": "InstanceIds",
9146
+ "required": true,
9147
+ "type": "list"
9148
+ },
9149
+ {
9150
+ "disabled": false,
9151
+ "document": "分散置放群组ID,可使用[DescribeDisasterRecoverGroups](https://cloud.tencent.com/document/api/213/17810)接口获取",
9152
+ "example": "ps-a66w6rlb",
9153
+ "member": "string",
9154
+ "name": "DisasterRecoverGroupId",
9155
+ "required": false,
9156
+ "type": "string"
9157
+ },
9158
+ {
9159
+ "disabled": false,
9160
+ "document": "是否强制更换实例宿主机。取值范围:<br><li>true:表示允许实例更换宿主机,允许重启实例。本地盘子机不支持指定此参数。</li><br><li>false:不允许实例更换宿主机,只在当前宿主机上加入置放群组。这可能导致更换置放群组失败。</li><br><br>默认取值:false",
9161
+ "example": "false",
9162
+ "member": "bool",
9163
+ "name": "Force",
9164
+ "required": false,
9165
+ "type": "bool"
9166
+ }
9167
+ ],
9168
+ "type": "object"
9169
+ },
9170
+ "ModifyInstancesDisasterRecoverGroupResponse": {
9171
+ "document": "ModifyInstancesDisasterRecoverGroup返回参数结构体",
9172
+ "members": [
9173
+ {
9174
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
9175
+ "member": "string",
9176
+ "name": "RequestId",
9177
+ "type": "string"
9178
+ }
9179
+ ],
9180
+ "type": "object"
9181
+ },
9083
9182
  "ModifyInstancesProjectRequest": {
9084
9183
  "document": "ModifyInstancesProject请求参数结构体",
9085
9184
  "members": [
@@ -210,7 +210,7 @@
210
210
  {
211
211
  "document": "查询高性能集群信息",
212
212
  "input": "https://cvm.tencentcloudapi.com/?Action=DescribeHpcClusters\r\n&Zone=ap-guangzhou-3\r\n&Offset=0\r\n&Limit=20\r\n&<公共请求参数>",
213
- "output": "{\n \"Response\": {\n \"HpcClusterSet\": [\n {\n \"HpcClusterId\": \"hpc-dc4gcarp\",\n \"Name\": \"test_33311\",\n \"Remark\": \"remark 1\",\n \"CvmQuotaTotal\": 50,\n \"Zone\": \"ap-guangzhou-3\",\n \"CurrentNum\": 0,\n \"InstanceIds\": [],\n \"CreateTime\": \"2020-06-02T07:55:05Z\"\n },\n {\n \"HpcClusterId\": \"hpc-p64fdfa9\",\n \"Name\": \"test_333333\",\n \"Remark\": \"remark 2\",\n \"CvmQuotaTotal\": 50,\n \"Zone\": \"ap-guangzhou-3\",\n \"CurrentNum\": 0,\n \"InstanceIds\": [],\n \"CreateTime\": \"2020-06-02T07:51:58Z\"\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"5834f1a5-cd9c-449d-acba-df1803a8583e\"\n }\n}",
213
+ "output": "{\n \"Response\": {\n \"HpcClusterSet\": [\n {\n \"HpcClusterId\": \"hpc-dc4gcarp\",\n \"Name\": \"test_33311\",\n \"Remark\": \"remark 1\",\n \"CvmQuotaTotal\": 50,\n \"Zone\": \"ap-guangzhou-3\",\n \"CurrentNum\": 0,\n \"InstanceIds\": [],\n \"HpcClusterNetMode\": 30,\n \"CreateTime\": \"2020-06-02T07:55:05Z\",\n \"Tags\": [\n {\n \"Key\": \"tag_key\",\n \"Value\": \"tag_value\"\n }\n ]\n },\n {\n \"HpcClusterId\": \"hpc-p64fdfa9\",\n \"Name\": \"test_333333\",\n \"Remark\": \"remark 2\",\n \"CvmQuotaTotal\": 50,\n \"Zone\": \"ap-guangzhou-3\",\n \"CurrentNum\": 0,\n \"InstanceIds\": [],\n \"HpcClusterNetMode\": 30,\n \"CreateTime\": \"2020-06-02T07:51:58Z\",\n \"Tags\": [\n {\n \"Key\": \"tag_key\",\n \"Value\": \"tag_value\"\n }\n ]\n }\n ],\n \"TotalCount\": 2,\n \"RequestId\": \"5834f1a5-cd9c-449d-acba-df1803a8583e\"\n }\n}",
214
214
  "title": "查询高性能集群信息"
215
215
  }
216
216
  ],
@@ -589,7 +589,7 @@
589
589
  "ModifyHpcClusterAttribute": [
590
590
  {
591
591
  "document": "修改高性能计算集群名称",
592
- "input": "https://cvm.tencentcloudapi.com/?Action=ModifyHpcClusterAttribute\n&HpcClusterId=hpc-gzahhoy5\n&Name=myCluster\n&<公共请求参数>",
592
+ "input": "https://cvm.tencentcloudapi.com/?Action=ModifyHpcClusterAttribute\n&HpcClusterId=hpc-gzahhoy5\n&Name=MyHpcCluster\n&<公共请求参数>",
593
593
  "output": "{\n \"Response\": {\n \"RequestId\": \"5834f1a5-cd9c-449d-acba-df1803a8583e\"\n }\n}",
594
594
  "title": "修改高性能计算集群名称"
595
595
  }
@@ -640,6 +640,14 @@
640
640
  "title": "本示例将实例计费模式切换为预付费模式,且时长为1个月。"
641
641
  }
642
642
  ],
643
+ "ModifyInstancesDisasterRecoverGroup": [
644
+ {
645
+ "document": "调整实例所在置放群组",
646
+ "input": "https://cvm.tencentcloudapi.com/?Action=ModifyInstancesDisasterRecoverGroup\n&InstanceIds.0=ins-r8hr2upy\n&DisasterRecoverGroupId=ps-a66w6rlb\n&<公共请求参数>",
647
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d39d6c09-44e9-4e80-8661-77b5ff3cbc15\"\n }\n}",
648
+ "title": "调整实例所在置放群组"
649
+ }
650
+ ],
643
651
  "ModifyInstancesProject": [
644
652
  {
645
653
  "document": "本示例用于修改两个实例所属的项目为指定的项目。",
@@ -710,7 +710,7 @@
710
710
  "members": [
711
711
  {
712
712
  "disabled": false,
713
- "document": "E证通流程的唯一标识,调用GetEidToken接口时生成。",
713
+ "document": "E证通流程的唯一标识,调用[GetEidToken](https://cloud.tencent.com/document/product/1007/54089)接口时生成。",
714
714
  "example": "2B3B265E-2C91-5A62-B32D-D0CA5C3F1A15",
715
715
  "member": "string",
716
716
  "name": "EidToken",
@@ -1021,7 +1021,7 @@
1021
1021
  {
1022
1022
  "disabled": false,
1023
1023
  "document": "业务结果描述。",
1024
- "example": "核验一致",
1024
+ "example": "一致",
1025
1025
  "member": "string",
1026
1026
  "name": "Description",
1027
1027
  "output_required": true,
@@ -2151,7 +2151,7 @@
2151
2151
  "members": [
2152
2152
  {
2153
2153
  "disabled": false,
2154
- "document": "人脸核身流程的标识,调用DetectAuth接口时生成。",
2154
+ "document": "人脸核身流程的标识,调用[DetectAuth](https://cloud.tencent.com/document/product/1007/31816)接口时生成。",
2155
2155
  "example": "CF742D11-BD49-4704-A33F-B9372D6322D6",
2156
2156
  "member": "string",
2157
2157
  "name": "BizToken",
@@ -2624,7 +2624,7 @@
2624
2624
  "members": [
2625
2625
  {
2626
2626
  "disabled": false,
2627
- "document": "EID商户id。\n- 字段长度最长50位。",
2627
+ "document": "EID商户ID。通过人脸核身控制台[自助接入](https://console.cloud.tencent.com/faceid/access)申请。\n- 字段长度最长50位。",
2628
2628
  "example": "0NSJ243206261600932123",
2629
2629
  "member": "string",
2630
2630
  "name": "MerchantId",
@@ -2704,7 +2704,7 @@
2704
2704
  {
2705
2705
  "disabled": false,
2706
2706
  "document": "发起核身流程的URL。\n- 用于H5场景核身。",
2707
- "example": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa50a8f2ac379585f53&redirect_uri=https%3A%2F%2Feid.faceid.qq.com%2Fapi%2Fv1%2FGetOpenId%3Ftoken%3DCE6611F1A-0F1E-455BD-BE13-34C05CEA7681&response_type=code&scope=snsapi_base&state=&component_appid=wx9802ee81e68d6dee#wechat_redirec",
2707
+ "example": "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxa50a8f2ac379585f53&redirect_uri=https%3A%2F%2Feid.faceid.qq.com%2Fapi%2Fv1%2FGetOpenId%3Ftoken%3DCE6611F1A-0F1E-455BD-BE13-34C05CEA7681&component_appid=wx9802ee81e68d6dee#wechat_redirec",
2708
2708
  "member": "string",
2709
2709
  "name": "Url",
2710
2710
  "output_required": true,
@@ -2725,7 +2725,7 @@
2725
2725
  "members": [
2726
2726
  {
2727
2727
  "disabled": false,
2728
- "document": "SDK人脸核身流程的标识。\n- 调用GetFaceIdToken接口时生成。",
2728
+ "document": "SDK人脸核身流程的标识。\n- 调用[GetFaceIdToken](https://cloud.tencent.com/document/product/1007/49198)接口时生成。",
2729
2729
  "example": "CE6613F1A-0F1E-45BD-BE13-34C05CEA76181",
2730
2730
  "member": "string",
2731
2731
  "name": "FaceIdToken",
@@ -2890,7 +2890,7 @@
2890
2890
  "members": [
2891
2891
  {
2892
2892
  "disabled": false,
2893
- "document": "SDK人脸核身流程的标识,调用GetFaceidRiskInfoToken接口时生成。",
2893
+ "document": "SDK人脸核身流程的标识,调用[GetFaceidRiskInfoToken](https://cloud.tencent.com/document/product/1007/104581)接口时生成。",
2894
2894
  "example": "CE6621F1A-0F1E-45BD-BE13-34C025CEA7681",
2895
2895
  "member": "string",
2896
2896
  "name": "FaceIdToken",
@@ -3014,7 +3014,7 @@
3014
3014
  {
3015
3015
  "disabled": false,
3016
3016
  "document": "SDK中生成的Meta字符串。",
3017
- "example": "\"\"",
3017
+ "example": "",
3018
3018
  "member": "string",
3019
3019
  "name": "Meta",
3020
3020
  "required": false,
@@ -3023,7 +3023,7 @@
3023
3023
  {
3024
3024
  "disabled": false,
3025
3025
  "document": "透传参数。\n- 1000长度字符串",
3026
- "example": "\"\"",
3026
+ "example": "",
3027
3027
  "member": "string",
3028
3028
  "name": "Extra",
3029
3029
  "required": false,
@@ -4398,8 +4398,8 @@
4398
4398
  },
4399
4399
  {
4400
4400
  "disabled": false,
4401
- "document": "在网时长区间。\n- 格式为(a,b],表示在网时长在a个月以上,b个月以下。\n- 若b为+时表示没有上限。",
4402
- "example": "(23,+]",
4401
+ "document": "在网时长区间。\n- 格式为[a,b),表示在网时长在a个月以上,b个月以下。\n- 若b为+时表示没有上限。",
4402
+ "example": "[23,+)",
4403
4403
  "member": "string",
4404
4404
  "name": "Range",
4405
4405
  "output_required": true,
@@ -4661,7 +4661,7 @@
4661
4661
  },
4662
4662
  {
4663
4663
  "disabled": false,
4664
- "document": "旅行证件类的核验结果。\n- JSON格式如下:\n{\"result_issuer \":\"签发者证书合法性验证结果 \",\"result_pape r\":\"证件安全对象合法性验证结果 \",\"result_data\" :\"防数据篡改验证结果 \",\"result_chip\" :\"防证书件芯片被复制验证结果\"} 。\n- 取值范围: 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真。\n注意:此字段可能返回 null,表示取不到有效值。",
4664
+ "document": "旅行证件类的核验结果。\n- JSON格式如下:\n{\"result_issuer \":\"签发者证书合法性验证结果 \",\"result_paper\":\"证件安全对象合法性验证结果 \",\"result_data\" :\"防数据篡改验证结果 \",\"result_chip\" :\"防证书件芯片被复制验证结果\"} 。\n- 取值范围: 0:验证通过,1: 验证不通过,2: 未验证,3:部分通过,当4项核验结果都为0时,表示证件为真。\n注意:此字段可能返回 null,表示取不到有效值。",
4665
4665
  "example": "无",
4666
4666
  "member": "string",
4667
4667
  "name": "CheckMRTD",
@@ -88,7 +88,7 @@
88
88
  {
89
89
  "document": "",
90
90
  "input": "https://faceid.tencentcloudapi.com/?Action=CheckIdNameDate\n&Name=韦小宝\n&IdCard= 11204416541220243X\n&ValidityBegin=20160204\n&ValidityEnd=20260204\n&<公共请求参数>",
91
- "output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"查询成功\",\n \"RequestId\": \"8695c53f-776f-4ff5-a66d-84e67b352d20\"\n }\n}",
91
+ "output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"一致\",\n \"RequestId\": \"8695c53f-776f-4ff5-a66d-84e67b352d20\"\n }\n}",
92
92
  "title": "身份信息及有效期核验成功示例"
93
93
  },
94
94
  {
@@ -246,6 +246,20 @@
246
246
  "title": "获取结果成功"
247
247
  }
248
248
  ],
249
+ "GetFaceIdToken": [
250
+ {
251
+ "document": "",
252
+ "input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFaceIdToken\n<公共请求参数>\n\n{\n \"CompareLib\": \"BUSINESS\",\n \"IdCard\": \"11204416541220243X\",\n \"Name\": \"韦小宝\"\n}",
253
+ "output": "{\n \"Response\": {\n \"FaceIdToken\": \"42S41B31D-5974-4674-EABB-8FFF1EC99F819\",\n \"RequestId\": \"94b54cdf-d975-4718-b091-32f8d79d6397\"\n }\n}",
254
+ "title": "获取 SDK 核验 Token成功示例"
255
+ },
256
+ {
257
+ "document": "",
258
+ "input": "POST / HTTP/1.1\nHost: faceid.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetFaceIdToken\n<公共请求参数>\n\n{\n \"CompareLib\": \"LOCAL\",\n \"IdCard\": \"11204416541220243X\",\n \"Name\": \"韦小宝\",\n \"ImageBase64\": \"/9j/4AAQSkZJRg.....s97n//2Q==\"\n}",
259
+ "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"FailedOperation.ImageSizeTooLarge\",\n \"Message\": \"图片尺寸过大。\"\n },\n \"RequestId\": \"ae8fbee0-f20e-4651-896e-e21e80d3822a\"\n }\n}",
260
+ "title": "获取 SDK 核验 Token失败示例"
261
+ }
262
+ ],
249
263
  "GetFaceidRiskInfoToken": [
250
264
  {
251
265
  "document": "获取 SDK 核验 token。",
@@ -398,7 +412,7 @@
398
412
  {
399
413
  "document": "",
400
414
  "input": "https://faceid.tencentcloudapi.com/?Action=MobileNetworkTimeVerification\n&Mobile=13800138000\n&<公共请求参数>",
401
- "output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"成功\",\n \"Range\": \"(24,+]\",\n \"RequestId\": \"f893bfcf-167d-45df-99aa-60a23fe5809d\"\n }\n}",
415
+ "output": "{\n \"Response\": {\n \"Result\": \"0\",\n \"Description\": \"成功\",\n \"Range\": \"[24,+)\",\n \"RequestId\": \"f893bfcf-167d-45df-99aa-60a23fe5809d\"\n }\n}",
402
416
  "title": "手机号在网时长核验成功示例"
403
417
  },
404
418
  {
@@ -8,7 +8,7 @@
8
8
  "status": "online"
9
9
  },
10
10
  "ChatCompletions": {
11
- "document": "腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
11
+ "document": "如需使用OpenAI兼容接口, 请参考文档:[OpenAI 兼容接口](https://cloud.tencent.com/document/product/1729/111007)\n\n腾讯混元大模型是由腾讯研发的大语言模型,具备强大的中文创作能力,复杂语境下的逻辑推理能力,以及可靠的任务执行能力。本接口支持流式或非流式调用,当使用流式调用时为 SSE 协议。\n\n 1. 本接口暂不支持返回图片内容。\n 2. 默认该接口下单账号限制并发数为 5 路,如您有提高并发限制的需求请 [购买](https://buy.cloud.tencent.com/hunyuan) 。\n 3. 请使用 SDK 调用本接口,每种开发语言的 SDK Git 仓库 examples/hunyuan/v20230901/ 目录下有提供示例供参考。SDK 链接在文档下方 “**开发者资源 - SDK**” 部分提供。\n 4. 我们推荐您使用 API Explorer,方便快速地在线调试接口和下载各语言的示例代码,[点击打开](https://console.cloud.tencent.com/api/explorer?Product=hunyuan&Version=2023-09-01&Action=ChatCompletions)。",
12
12
  "input": "ChatCompletionsRequest",
13
13
  "name": "对话",
14
14
  "output": "ChatCompletionsResponse",
@@ -326,7 +326,7 @@
326
326
  },
327
327
  {
328
328
  "disabled": false,
329
- "document": "自定义结束生成字符串",
329
+ "document": "自定义结束生成字符串\n\n调用 OpenAI 的接口时,如果您指定了 `stop` 参数, 模型会停止在匹配到 `stop` 的内容之前。\n在调用混元接口时,会停止在匹配到 `stop` 的内容之后。\n\n**说明:**\n未来我们可能会修改此行为以便和 OpenAI 保持一致。\n但是目前有使用该参数的情况下,开发者需要注意该参数是否会对应用造成影响,以及未来该行为调整时带来的影响。",
330
330
  "example": "无",
331
331
  "member": "string",
332
332
  "name": "Stop",
@@ -138,7 +138,7 @@
138
138
  {
139
139
  "document": "获取会话消息列表",
140
140
  "input": "POST / HTTP/1.1\nHost: hunyuan.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetThreadMessageList\n<公共请求参数>\n\n{\n \"ThreadID\": \"thread_QPH2Z6DpBhc46V3ylE1JEqTv\"\n}",
141
- "output": "{\n \"Response\": {\n \"RequestId\": \"4809bed2-f1ca-4d72-b097-bd528184825d\",\n \"Data\": [\n {\n \"ID\": \"msg_jtO6oVZmFtIi4T43eswXk6lJ\",\n \"Object\": \"thread.message\",\n \"CreatedAt\": 1727303115,\n \"ThreadID\": \"thread_QPH2Z6DpBhc46V3ylE1JEqTv\",\n \"Status\": \"completed\",\n \"InCompleteDetails\": {\n \"Reason\": \"\"\n },\n \"CompletedAt\": 1727331915,\n \"InCompleteAt\": null,\n \"Role\": \"assistant\",\n \"Content\": [\n {\n \"Index\": 0,\n \"Type\": \"text\",\n \"Text\": {\n \"Value\": \"您好!非常高兴与您交流,今天有什么有趣的事情想和我分享呢\"\n }\n }\n ],\n \"AssistantID\": \"\",\n \"RunID\": \"run_XmeUGzgrzTE82Yh7p8mZWRcJ\",\n \"Attachments\": null,\n \"Metadata\": {}\n },\n {\n \"ID\": \"msg_oJBEpYDXDZw5epfQYNrJEEJa\",\n \"Object\": \"thread.message\",\n \"CreatedAt\": 1727303115,\n \"ThreadID\": \"thread_QPH2Z6DpBhc46V3ylE1JEqTv\",\n \"Status\": \"completed\",\n \"InCompleteDetails\": {\n \"Reason\": \"\"\n },\n \"CompletedAt\": 1727331915,\n \"InCompleteAt\": null,\n \"Role\": \"user\",\n \"Content\": [\n {\n \"Index\": 0,\n \"Type\": \"text\",\n \"Text\": {\n \"Value\": \"你好\"\n }\n }\n ],\n \"AssistantID\": \"\",\n \"RunID\": \"run_XmeUGzgrzTE82Yh7p8mZWRcJ\",\n \"Attachments\": null,\n \"Metadata\": {}\n }\n ],\n \"FirstID\": \"msg_jtO6oVZmFtIi4T43eswXk6lJ\",\n \"LastID\": \"msg_oJBEpYDXDZw5epfQYNrJEEJa\",\n \"HasMore\": false,\n \"Object\": \"list\"\n }\n}",
141
+ "output": "{\n \"Response\": {\n \"RequestId\": \"4809bed2-f1ca-4d72-b097-bd528184825d\",\n \"Data\": [\n {\n \"ID\": \"msg_jtO6oVZmFtIi4T43eswXk6lJ\",\n \"Object\": \"thread.message\",\n \"CreatedAt\": 1727303115,\n \"ThreadID\": \"thread_QPH2Z6DpBhc46V3ylE1JEqTv\",\n \"Status\": \"completed\",\n \"InCompleteDetails\": {\n \"Reason\": \"\"\n },\n \"CompletedAt\": 1727331915,\n \"InCompleteAt\": null,\n \"Role\": \"assistant\",\n \"Content\": [\n {\n \"Index\": 0,\n \"Type\": \"text\",\n \"Text\": {\n \"Value\": \"您好!非常高兴与您交流,今天有什么有趣的事情想和我分享呢\"\n }\n }\n ],\n \"AssistantID\": \"\",\n \"RunID\": \"run_XmeUGzgrzTE82Yh7p8mZWRcJ\",\n \"Attachments\": null,\n \"Metadata\": {}\n },\n {\n \"ID\": \"msg_oJBEpYDXDZw5epfQYNrJEEJa\",\n \"Object\": \"thread.message\",\n \"CreatedAt\": 1727303115,\n \"ThreadID\": \"thread_QPH2Z6DpBhc46V3ylE1JEqTv\",\n \"Status\": \"completed\",\n \"InCompleteDetails\": {\n \"Reason\": \"\"\n },\n \"CompletedAt\": 1727331915,\n \"InCompleteAt\": null,\n \"Role\": \"user\",\n \"Content\": [\n {\n \"Index\": 0,\n \"Type\": \"text\",\n \"Text\": {\n \"Value\": \"你好\"\n }\n }\n ],\n \"AssistantID\": \"\",\n \"RunID\": \"run_XmeUGzgrzTE82Yh7p8mZWRcJ\",\n \"Attachments\": null,\n \"Metadata\": {}\n }\n ],\n \"FirstMsgID\": \"msg_jtO6oVZmFtIi4T43eswXk6lJ\",\n \"LastMsgID\": \"msg_oJBEpYDXDZw5epfQYNrJEEJa\",\n \"HasMore\": false,\n \"Object\": \"list\"\n }\n}",
142
142
  "title": "获取会话消息列表"
143
143
  }
144
144
  ],
@@ -329,6 +329,58 @@ def doDescribeDevice(args, parsed_globals):
329
329
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
330
330
 
331
331
 
332
+ def doDescribeCloudStorageEventsWithAITasks(args, parsed_globals):
333
+ g_param = parse_global_arg(parsed_globals)
334
+
335
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
336
+ cred = credential.CVMRoleCredential()
337
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
338
+ cred = credential.STSAssumeRoleCredential(
339
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
340
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
341
+ )
342
+ 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):
343
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
344
+ else:
345
+ cred = credential.Credential(
346
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
347
+ )
348
+ http_profile = HttpProfile(
349
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
350
+ reqMethod="POST",
351
+ endpoint=g_param[OptionsDefine.Endpoint],
352
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
353
+ )
354
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
355
+ if g_param[OptionsDefine.Language]:
356
+ profile.language = g_param[OptionsDefine.Language]
357
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
358
+ client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
359
+ client._sdkVersion += ("_CLI_" + __version__)
360
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
361
+ model = models.DescribeCloudStorageEventsWithAITasksRequest()
362
+ model.from_json_string(json.dumps(args))
363
+ start_time = time.time()
364
+ while True:
365
+ rsp = client.DescribeCloudStorageEventsWithAITasks(model)
366
+ result = rsp.to_json_string()
367
+ try:
368
+ json_obj = json.loads(result)
369
+ except TypeError as e:
370
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
371
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
372
+ break
373
+ cur_time = time.time()
374
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
375
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
376
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
377
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
378
+ else:
379
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
380
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
381
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
382
+
383
+
332
384
  def doDescribeTopicPolicy(args, parsed_globals):
333
385
  g_param = parse_global_arg(parsed_globals)
334
386
 
@@ -8198,6 +8250,7 @@ ACTION_MAP = {
8198
8250
  "DescribeDevicePackages": doDescribeDevicePackages,
8199
8251
  "DescribeFirmwareUpdateStatus": doDescribeFirmwareUpdateStatus,
8200
8252
  "DescribeDevice": doDescribeDevice,
8253
+ "DescribeCloudStorageEventsWithAITasks": doDescribeCloudStorageEventsWithAITasks,
8201
8254
  "DescribeTopicPolicy": doDescribeTopicPolicy,
8202
8255
  "CreateCloudStorageAIService": doCreateCloudStorageAIService,
8203
8256
  "GetProjectList": doGetProjectList,