tccli 3.0.1235.1__py2.py3-none-any.whl → 3.0.1237.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/apm/v20210622/api.json +15 -15
- tccli/services/apm/v20210622/examples.json +16 -22
- tccli/services/ba/v20200720/api.json +3 -2
- tccli/services/billing/v20180709/api.json +2 -2
- tccli/services/cam/v20190116/api.json +84 -69
- tccli/services/cam/v20190116/examples.json +7 -7
- tccli/services/ccc/v20200210/api.json +9 -0
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +43 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cfg/v20210820/api.json +21 -0
- tccli/services/cloudapp/v20220530/api.json +10 -0
- tccli/services/cloudaudit/v20190319/api.json +43 -36
- tccli/services/cloudaudit/v20190319/examples.json +2 -2
- tccli/services/cvm/v20170312/api.json +5 -5
- tccli/services/cynosdb/cynosdb_client.py +53 -0
- tccli/services/cynosdb/v20190107/api.json +110 -0
- tccli/services/cynosdb/v20190107/examples.json +8 -0
- tccli/services/domain/v20180808/api.json +18 -17
- tccli/services/domain/v20180808/examples.json +22 -22
- tccli/services/ess/ess_client.py +57 -4
- tccli/services/ess/v20201111/api.json +53 -0
- tccli/services/ess/v20201111/examples.json +8 -0
- tccli/services/essbasic/v20210526/api.json +11 -1
- tccli/services/gwlb/v20240906/api.json +16 -16
- tccli/services/gwlb/v20240906/examples.json +2 -2
- tccli/services/hunyuan/v20230901/api.json +6 -6
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +129 -4
- tccli/services/iotexplorer/v20190423/examples.json +14 -0
- tccli/services/lcic/v20220817/api.json +3 -3
- tccli/services/lcic/v20220817/examples.json +2 -2
- tccli/services/lighthouse/v20200324/examples.json +2 -2
- tccli/services/live/v20180801/api.json +5 -5
- tccli/services/mongodb/v20180408/api.json +52 -40
- tccli/services/mongodb/v20180408/examples.json +4 -4
- tccli/services/mongodb/v20190725/api.json +119 -109
- tccli/services/mongodb/v20190725/examples.json +5 -5
- tccli/services/monitor/v20180724/examples.json +1 -1
- tccli/services/mqtt/v20240516/api.json +1 -1
- tccli/services/mqtt/v20240516/examples.json +1 -1
- tccli/services/pts/v20210728/api.json +8 -0
- tccli/services/sms/v20210111/api.json +1 -1
- tccli/services/ssl/v20191205/examples.json +1 -1
- tccli/services/sts/v20180813/examples.json +1 -1
- tccli/services/tdid/v20210519/api.json +30 -38
- tccli/services/tdid/v20210519/examples.json +5 -5
- tccli/services/trocket/v20230308/api.json +3 -3
- tccli/services/vpc/v20170312/api.json +22 -3
- tccli/services/vpc/v20170312/examples.json +1 -1
- tccli/services/vrs/v20200824/api.json +71 -8
- tccli/services/vrs/v20200824/examples.json +8 -0
- tccli/services/vrs/vrs_client.py +53 -0
- tccli/services/wedata/v20210820/api.json +550 -40
- tccli/services/wedata/v20210820/examples.json +10 -4
- {tccli-3.0.1235.1.dist-info → tccli-3.0.1237.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1235.1.dist-info → tccli-3.0.1237.1.dist-info}/RECORD +61 -61
- {tccli-3.0.1235.1.dist-info → tccli-3.0.1237.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1235.1.dist-info → tccli-3.0.1237.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1235.1.dist-info → tccli-3.0.1237.1.dist-info}/license_files/LICENSE +0 -0
@@ -532,6 +532,13 @@
|
|
532
532
|
"output": "DescribeOrganizationSealsResponse",
|
533
533
|
"status": "online"
|
534
534
|
},
|
535
|
+
"DescribeOrganizationVerifyStatus": {
|
536
|
+
"document": "仅且仅能查询企业本身在电子签的认证状态",
|
537
|
+
"input": "DescribeOrganizationVerifyStatusRequest",
|
538
|
+
"name": "查询本企业认证状态",
|
539
|
+
"output": "DescribeOrganizationVerifyStatusResponse",
|
540
|
+
"status": "online"
|
541
|
+
},
|
535
542
|
"DescribePersonCertificate": {
|
536
543
|
"document": "此接口(DescribePersonCertificate)用于查询个人数字证书信息。<br />注:`1.目前仅用于查询开通了医疗自动签署功能的个人数字证书。`<br />`2.调用此接口需要开通白名单,使用前请联系相关人员开通白名单。`",
|
537
544
|
"input": "DescribePersonCertificateRequest",
|
@@ -9613,6 +9620,52 @@
|
|
9613
9620
|
],
|
9614
9621
|
"type": "object"
|
9615
9622
|
},
|
9623
|
+
"DescribeOrganizationVerifyStatusRequest": {
|
9624
|
+
"document": "DescribeOrganizationVerifyStatus请求参数结构体",
|
9625
|
+
"members": [
|
9626
|
+
{
|
9627
|
+
"disabled": false,
|
9628
|
+
"document": "执行本接口操作的员工信息。使用此接口时,必须填写userId。 支持填入集团子公司经办人 userId 代发合同。 注: `在调用此接口时,请确保指定的员工已获得所需的接口调用权限,并具备接口传入的相应资源的数据权限。`",
|
9629
|
+
"example": "无",
|
9630
|
+
"member": "UserInfo",
|
9631
|
+
"name": "Operator",
|
9632
|
+
"required": false,
|
9633
|
+
"type": "object"
|
9634
|
+
},
|
9635
|
+
{
|
9636
|
+
"disabled": false,
|
9637
|
+
"document": "代理企业和员工的信息。 在集团企业代理子企业操作的场景中,需设置此参数。在此情境下,ProxyOrganizationId(子企业的组织ID)为必填项。\t",
|
9638
|
+
"example": "无",
|
9639
|
+
"member": "Agent",
|
9640
|
+
"name": "Agent",
|
9641
|
+
"required": false,
|
9642
|
+
"type": "object"
|
9643
|
+
}
|
9644
|
+
],
|
9645
|
+
"type": "object"
|
9646
|
+
},
|
9647
|
+
"DescribeOrganizationVerifyStatusResponse": {
|
9648
|
+
"document": "DescribeOrganizationVerifyStatus返回参数结构体",
|
9649
|
+
"members": [
|
9650
|
+
{
|
9651
|
+
"disabled": false,
|
9652
|
+
"document": "当前企业认证状态\n<ul>\n<li> <b>0 </b>:未认证</li>\n<li> <b>1 </b> : 认证中</li>\n<li> <b>2 </b> : 已认证</li>\n</ul>",
|
9653
|
+
"example": "0",
|
9654
|
+
"member": "uint64",
|
9655
|
+
"name": "VerifyStatus",
|
9656
|
+
"output_required": true,
|
9657
|
+
"type": "int",
|
9658
|
+
"value_allowed_null": false
|
9659
|
+
},
|
9660
|
+
{
|
9661
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
9662
|
+
"member": "string",
|
9663
|
+
"name": "RequestId",
|
9664
|
+
"type": "string"
|
9665
|
+
}
|
9666
|
+
],
|
9667
|
+
"type": "object"
|
9668
|
+
},
|
9616
9669
|
"DescribePersonCertificateRequest": {
|
9617
9670
|
"document": "DescribePersonCertificate请求参数结构体",
|
9618
9671
|
"members": [
|
@@ -1562,6 +1562,14 @@
|
|
1562
1562
|
"title": "请求详细印章列表信息"
|
1563
1563
|
}
|
1564
1564
|
],
|
1565
|
+
"DescribeOrganizationVerifyStatus": [
|
1566
|
+
{
|
1567
|
+
"document": "当前企业在电子签已经认证,企业调用方进行调用",
|
1568
|
+
"input": "POST / HTTP/1.1\nHost: ess.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeOrganizationVerifyStatus\n<公共请求参数>\n\n{\n \"Operator\": {\n \"UserId\": \"yDRCLUUgygq2xun5UuO4zjEwg0vjoimj\"\n }\n}",
|
1569
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"49500cb4-ca5e-4da0-93fb-e15f3a710ed7\",\n \"VerifyStatus\": 2\n }\n}",
|
1570
|
+
"title": "查询当前企业在电子签的认证状态"
|
1571
|
+
}
|
1572
|
+
],
|
1565
1573
|
"DescribePersonCertificate": [
|
1566
1574
|
{
|
1567
1575
|
"document": "1.张三已开通自动签署服务\n2.查询个人用户张三的自动签证书信息",
|
@@ -716,7 +716,7 @@
|
|
716
716
|
},
|
717
717
|
{
|
718
718
|
"disabled": false,
|
719
|
-
"document": "
|
719
|
+
"document": "当签署方有多个签署区时候,是否隐藏一键所有的签署区\n\nfalse:(默认)不隐藏\ntrue:隐藏,每个签署区要单独选择印章或者签名",
|
720
720
|
"example": "true",
|
721
721
|
"member": "bool",
|
722
722
|
"name": "HideOneKeySign",
|
@@ -2447,6 +2447,16 @@
|
|
2447
2447
|
"type": "list",
|
2448
2448
|
"value_allowed_null": true
|
2449
2449
|
},
|
2450
|
+
{
|
2451
|
+
"disabled": false,
|
2452
|
+
"document": "预览链接,有效期5分钟\n注:如果是预览模式(即NeedPreview设置为true)时, 才会有此预览链接URL",
|
2453
|
+
"example": "https://embed.qian.tencent.cn/document-url-preview?channel=PROXYCHANNEL&scene=SINGLEPAGE&code=yDAY0UUckp7ouj3qU3GpRQCZvA3aO2l0&codeType=QUICK&businessType=RESOURCE&businessId=yDCY0UUckp7oucf2UxAAGY1RtjPw9Pyt",
|
2454
|
+
"member": "string",
|
2455
|
+
"name": "PreviewUrl",
|
2456
|
+
"output_required": false,
|
2457
|
+
"type": "string",
|
2458
|
+
"value_allowed_null": false
|
2459
|
+
},
|
2450
2460
|
{
|
2451
2461
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2452
2462
|
"member": "string",
|
@@ -192,7 +192,7 @@
|
|
192
192
|
"members": [
|
193
193
|
{
|
194
194
|
"disabled": false,
|
195
|
-
"document": "网关负载均衡后端目标设备所属的私有网络 ID,如vpc-
|
195
|
+
"document": "网关负载均衡后端目标设备所属的私有网络 ID,如vpc-azd4dt1c,可以通过 [DescribeVpcs](https://cloud.tencent.com/document/product/215/15778) 接口获取。",
|
196
196
|
"example": "vpc-30xq****",
|
197
197
|
"member": "string",
|
198
198
|
"name": "VpcId",
|
@@ -302,8 +302,8 @@
|
|
302
302
|
},
|
303
303
|
{
|
304
304
|
"disabled": false,
|
305
|
-
"document": "目标组的默认端口, 后续添加服务器时可使用该默认端口。Port和TargetGroupInstances.N中的port
|
306
|
-
"example": "
|
305
|
+
"document": "目标组的默认端口, 后续添加服务器时可使用该默认端口。Port和TargetGroupInstances.N中的port二者必填其一。仅支持6081。",
|
306
|
+
"example": "6081",
|
307
307
|
"member": "uint64",
|
308
308
|
"name": "Port",
|
309
309
|
"required": false,
|
@@ -320,8 +320,8 @@
|
|
320
320
|
},
|
321
321
|
{
|
322
322
|
"disabled": false,
|
323
|
-
"document": "网关负载均衡目标组协议。\n- TENCENT_GENEVE :GENEVE 标准协议\n- AWS_GENEVE:GENEVE
|
324
|
-
"example": "
|
323
|
+
"document": "网关负载均衡目标组协议。\n- TENCENT_GENEVE :GENEVE 标准协议\n- AWS_GENEVE:GENEVE 兼容协议",
|
324
|
+
"example": "TENCENT_GENEVE",
|
325
325
|
"member": "string",
|
326
326
|
"name": "Protocol",
|
327
327
|
"required": false,
|
@@ -603,7 +603,7 @@
|
|
603
603
|
"members": [
|
604
604
|
{
|
605
605
|
"disabled": false,
|
606
|
-
"document": "过滤条件,当前仅支持TargetGroupId,BindIP,InstanceId
|
606
|
+
"document": "过滤条件,当前仅支持TargetGroupId,BindIP,InstanceId过滤。\n\n- TargetGroupId - String - 是否必填:否 - (过滤条件)目标组ID,如“lbtg-5xunivs0”。\n- BindIP - String - 是否必填:否 - (过滤条件)目标组绑定实例的IP地址,如“10.1.1.1”\n- InstanceId - String - 是否必填:否 - (过滤条件)目标组绑定实例的名称,如“ins_name”",
|
607
607
|
"example": "无",
|
608
608
|
"member": "Filter",
|
609
609
|
"name": "Filters",
|
@@ -687,7 +687,7 @@
|
|
687
687
|
},
|
688
688
|
{
|
689
689
|
"disabled": false,
|
690
|
-
"document": "
|
690
|
+
"document": "过滤条件数组。\n\n- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,如“vpc-bhqk****”。\n- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”",
|
691
691
|
"example": "无",
|
692
692
|
"member": "Filter",
|
693
693
|
"name": "Filters",
|
@@ -779,7 +779,7 @@
|
|
779
779
|
},
|
780
780
|
{
|
781
781
|
"disabled": false,
|
782
|
-
"document": "
|
782
|
+
"document": "过滤条件数组。\n\n- TargetGroupVpcId - String - 是否必填:否 - (过滤条件)按照目标组所属的私有网络过滤,如“vpc-bhqk****”。\n- TargetGroupName - String - 是否必填:否 - (过滤条件)按照目标组的名称过滤,如“tg_name”",
|
783
783
|
"example": "无",
|
784
784
|
"member": "Filter",
|
785
785
|
"name": "Filters",
|
@@ -862,7 +862,7 @@
|
|
862
862
|
{
|
863
863
|
"disabled": false,
|
864
864
|
"document": "辅助描述信息,如失败原因等。\n注意:此字段可能返回 null,表示取不到有效值。",
|
865
|
-
"example": "
|
865
|
+
"example": "\"error message\"",
|
866
866
|
"member": "string",
|
867
867
|
"name": "Message",
|
868
868
|
"output_required": false,
|
@@ -1453,8 +1453,8 @@
|
|
1453
1453
|
},
|
1454
1454
|
{
|
1455
1455
|
"disabled": false,
|
1456
|
-
"document": "
|
1457
|
-
"example": "
|
1456
|
+
"document": "后端服务的转发权重,取值为0或16",
|
1457
|
+
"example": "16",
|
1458
1458
|
"member": "uint64",
|
1459
1459
|
"name": "Weight",
|
1460
1460
|
"output_required": true,
|
@@ -1540,7 +1540,7 @@
|
|
1540
1540
|
},
|
1541
1541
|
{
|
1542
1542
|
"disabled": false,
|
1543
|
-
"document": "健康检查使用的协议。支持
|
1543
|
+
"document": "健康检查使用的协议。支持PING和TCP两种方式,默认为PING。\n\n- icmp: 使用PING的方式进行健康检查\n- tcp: 使用TCP连接的方式进行健康检查",
|
1544
1544
|
"example": "icmp",
|
1545
1545
|
"member": "string",
|
1546
1546
|
"name": "Protocol",
|
@@ -1682,8 +1682,8 @@
|
|
1682
1682
|
},
|
1683
1683
|
{
|
1684
1684
|
"disabled": false,
|
1685
|
-
"document": "
|
1686
|
-
"example": "
|
1685
|
+
"document": "网关负载均衡目标组协议。\n- tencent_geneve :GENEVE 标准协议\n- aws_geneve:GENEVE 兼容协议\n注意:此字段可能返回 null,表示取不到有效值。",
|
1686
|
+
"example": "tencent_geneve",
|
1687
1687
|
"member": "string",
|
1688
1688
|
"name": "Protocol",
|
1689
1689
|
"output_required": true,
|
@@ -1692,8 +1692,8 @@
|
|
1692
1692
|
},
|
1693
1693
|
{
|
1694
1694
|
"disabled": false,
|
1695
|
-
"document": "
|
1696
|
-
"example": "
|
1695
|
+
"document": "均衡算法。\n- ip_hash_3_elastic:弹性哈希\n注意:此字段可能返回 null,表示取不到有效值。",
|
1696
|
+
"example": "ip_hash_3_elastic",
|
1697
1697
|
"member": "string",
|
1698
1698
|
"name": "ScheduleAlgorithm",
|
1699
1699
|
"output_required": true,
|
@@ -76,7 +76,7 @@
|
|
76
76
|
{
|
77
77
|
"document": "获取目标组列表",
|
78
78
|
"input": "https://gwlb.tencentcloudapi.com/?Action=DescribeTargetGroupList\n&<公共请求参数>",
|
79
|
-
"output": "{\n \"Response\": {\n \"
|
79
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"5c5003ab-126b-4649-8c86-0a98f34cfe12\",\n \"TargetGroupSet\": [\n {\n \"AllDeadToAlive\": true,\n \"AssociatedRule\": null,\n \"AssociatedRuleCount\": 1,\n \"CreatedTime\": \"2024-10-15T00:00:00+00:00\",\n \"HealthCheck\": {\n \"HealthNum\": 3,\n \"HealthSwitch\": true,\n \"IntervalTime\": 5,\n \"Port\": 0,\n \"Protocol\": \"icmp\",\n \"Timeout\": 2,\n \"UnHealthNum\": 3\n },\n \"Port\": 6081,\n \"Protocol\": \"tencent_geneve\",\n \"RegisteredInstancesCount\": 1,\n \"ScheduleAlgorithm\": \"ip_hash_3_elastic\",\n \"TargetGroupId\": \"lbtg-kbsv74pw\",\n \"TargetGroupName\": \"targetgroup1727599151\",\n \"UpdatedTime\": \"2024-10-15T00:00:00+00:00\",\n \"VpcId\": \"vpc-ojtgv3oh\"\n },\n {\n \"AllDeadToAlive\": true,\n \"AssociatedRule\": null,\n \"AssociatedRuleCount\": 0,\n \"CreatedTime\": \"2024-10-15T00:00:00+00:00\",\n \"HealthCheck\": {\n \"HealthNum\": 3,\n \"HealthSwitch\": true,\n \"IntervalTime\": 5,\n \"Port\": 0,\n \"Protocol\": \"icmp\",\n \"Timeout\": 2,\n \"UnHealthNum\": 3\n },\n \"Port\": 6081,\n \"Protocol\": \"tencent_geneve\",\n \"RegisteredInstancesCount\": 0,\n \"ScheduleAlgorithm\": \"ip_hash_3_elastic\",\n \"TargetGroupId\": \"lbtg-141xpe2w\",\n \"TargetGroupName\": \"targetgroup1727175745\",\n \"UpdatedTime\": \"2024-10-15T00:00:00+00:00\",\n \"VpcId\": \"vpc-ojtgv3oh\"\n },\n {\n \"AllDeadToAlive\": true,\n \"AssociatedRule\": null,\n \"AssociatedRuleCount\": 0,\n \"CreatedTime\": \"2024-10-15T00:00:00+00:00\",\n \"HealthCheck\": {\n \"HealthNum\": 3,\n \"HealthSwitch\": true,\n \"IntervalTime\": 5,\n \"Port\": 0,\n \"Protocol\": \"icmp\",\n \"Timeout\": 2,\n \"UnHealthNum\": 3\n },\n \"Port\": 6081,\n \"Protocol\": \"tencent_geneve\",\n \"RegisteredInstancesCount\": 0,\n \"ScheduleAlgorithm\": \"ip_hash_3_elastic\",\n \"TargetGroupId\": \"lbtg-myhtwkrw\",\n \"TargetGroupName\": \"targetgroup1726747698\",\n \"UpdatedTime\": \"2024-10-15T00:00:00+00:00\",\n \"VpcId\": \"vpc-ojtgv3oh\"\n }\n ],\n \"TotalCount\": 3\n }\n}",
|
80
80
|
"title": "获取目标组列表"
|
81
81
|
}
|
82
82
|
],
|
@@ -137,7 +137,7 @@
|
|
137
137
|
"ModifyTargetGroupInstancesWeight": [
|
138
138
|
{
|
139
139
|
"document": "",
|
140
|
-
"input": "https://gwlb.tencentcloudapi.com/?Action=ModifyTargetGroupInstancesWeight\n&TargetGroupId=lbtg-815iz538\n&TargetGroupInstances.0.BindIP=172.16.0.34\n&TargetGroupInstances.0.Port=
|
140
|
+
"input": "https://gwlb.tencentcloudapi.com/?Action=ModifyTargetGroupInstancesWeight\n&TargetGroupId=lbtg-815iz538\n&TargetGroupInstances.0.BindIP=172.16.0.34\n&TargetGroupInstances.0.Port=6081\n&TargetGroupInstances.0.Weight=55\n&<公共请求参数>",
|
141
141
|
"output": "{\n \"Response\": {\n \"RequestId\": \"ed90470e-eade-423f-aae6-264d814d0d65\"\n }\n}",
|
142
142
|
"title": "批量修改目标组服务器权重"
|
143
143
|
}
|
@@ -1142,7 +1142,7 @@
|
|
1142
1142
|
{
|
1143
1143
|
"disabled": false,
|
1144
1144
|
"document": "输入文本。总长度不超过 1024 个 Token,超过则会截断最后面的内容。",
|
1145
|
-
"example": "
|
1145
|
+
"example": "你好",
|
1146
1146
|
"member": "string",
|
1147
1147
|
"name": "Input",
|
1148
1148
|
"required": false,
|
@@ -1151,7 +1151,7 @@
|
|
1151
1151
|
{
|
1152
1152
|
"disabled": false,
|
1153
1153
|
"document": "输入文本数组。输入数组总长度不超过 200 。",
|
1154
|
-
"example": "
|
1154
|
+
"example": "[\"你好\", \"hello\"]",
|
1155
1155
|
"member": "string",
|
1156
1156
|
"name": "InputList",
|
1157
1157
|
"required": false,
|
@@ -1526,7 +1526,7 @@
|
|
1526
1526
|
{
|
1527
1527
|
"disabled": false,
|
1528
1528
|
"document": "输入文本",
|
1529
|
-
"example": "
|
1529
|
+
"example": "你是谁",
|
1530
1530
|
"member": "string",
|
1531
1531
|
"name": "Prompt",
|
1532
1532
|
"required": true,
|
@@ -1561,7 +1561,7 @@
|
|
1561
1561
|
{
|
1562
1562
|
"disabled": false,
|
1563
1563
|
"document": "切分后的列表",
|
1564
|
-
"example": "
|
1564
|
+
"example": "[\"你是\", \"谁\"]",
|
1565
1565
|
"member": "string",
|
1566
1566
|
"name": "Tokens",
|
1567
1567
|
"output_required": false,
|
@@ -2261,7 +2261,7 @@
|
|
2261
2261
|
},
|
2262
2262
|
{
|
2263
2263
|
"disabled": false,
|
2264
|
-
"document": "助手 ID",
|
2264
|
+
"document": "助手 ID(目前未使用,留空)",
|
2265
2265
|
"example": "asst_x39o8phGyiIC8llpaVShxVmL",
|
2266
2266
|
"member": "string",
|
2267
2267
|
"name": "AssistantID",
|
@@ -2280,7 +2280,7 @@
|
|
2280
2280
|
{
|
2281
2281
|
"disabled": false,
|
2282
2282
|
"document": "附加消息",
|
2283
|
-
"example": "[]",
|
2283
|
+
"example": "[{\"Role\":\"user\",\"Content\":\"你是谁\"}]",
|
2284
2284
|
"member": "ThreadAdditionalMessage",
|
2285
2285
|
"name": "AdditionalMessages",
|
2286
2286
|
"required": false,
|
@@ -5321,6 +5321,58 @@ def doCreateBatchProduction(args, parsed_globals):
|
|
5321
5321
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5322
5322
|
|
5323
5323
|
|
5324
|
+
def doCreateCloudStorageAIServiceTask(args, parsed_globals):
|
5325
|
+
g_param = parse_global_arg(parsed_globals)
|
5326
|
+
|
5327
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5328
|
+
cred = credential.CVMRoleCredential()
|
5329
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5330
|
+
cred = credential.STSAssumeRoleCredential(
|
5331
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5332
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5333
|
+
)
|
5334
|
+
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):
|
5335
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5336
|
+
else:
|
5337
|
+
cred = credential.Credential(
|
5338
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5339
|
+
)
|
5340
|
+
http_profile = HttpProfile(
|
5341
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5342
|
+
reqMethod="POST",
|
5343
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5344
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5345
|
+
)
|
5346
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5347
|
+
if g_param[OptionsDefine.Language]:
|
5348
|
+
profile.language = g_param[OptionsDefine.Language]
|
5349
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5350
|
+
client = mod.IotexplorerClient(cred, g_param[OptionsDefine.Region], profile)
|
5351
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5352
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5353
|
+
model = models.CreateCloudStorageAIServiceTaskRequest()
|
5354
|
+
model.from_json_string(json.dumps(args))
|
5355
|
+
start_time = time.time()
|
5356
|
+
while True:
|
5357
|
+
rsp = client.CreateCloudStorageAIServiceTask(model)
|
5358
|
+
result = rsp.to_json_string()
|
5359
|
+
try:
|
5360
|
+
json_obj = json.loads(result)
|
5361
|
+
except TypeError as e:
|
5362
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5363
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5364
|
+
break
|
5365
|
+
cur_time = time.time()
|
5366
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5367
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5368
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5369
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5370
|
+
else:
|
5371
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5372
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5373
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5374
|
+
|
5375
|
+
|
5324
5376
|
def doDisableTopicRule(args, parsed_globals):
|
5325
5377
|
g_param = parse_global_arg(parsed_globals)
|
5326
5378
|
|
@@ -7826,6 +7878,7 @@ ACTION_MAP = {
|
|
7826
7878
|
"DescribeDeviceFirmwares": doDescribeDeviceFirmwares,
|
7827
7879
|
"BindDevices": doBindDevices,
|
7828
7880
|
"CreateBatchProduction": doCreateBatchProduction,
|
7881
|
+
"CreateCloudStorageAIServiceTask": doCreateCloudStorageAIServiceTask,
|
7829
7882
|
"DisableTopicRule": doDisableTopicRule,
|
7830
7883
|
"GetFamilyDeviceUserList": doGetFamilyDeviceUserList,
|
7831
7884
|
"ModifyCloudStorageAIService": doModifyCloudStorageAIService,
|
@@ -84,6 +84,13 @@
|
|
84
84
|
"output": "CreateCloudStorageAIServiceResponse",
|
85
85
|
"status": "online"
|
86
86
|
},
|
87
|
+
"CreateCloudStorageAIServiceTask": {
|
88
|
+
"document": "创建设备云存 AI 分析任务",
|
89
|
+
"input": "CreateCloudStorageAIServiceTaskRequest",
|
90
|
+
"name": "创建设备云存AI分析任务",
|
91
|
+
"output": "CreateCloudStorageAIServiceTaskResponse",
|
92
|
+
"status": "online"
|
93
|
+
},
|
87
94
|
"CreateDevice": {
|
88
95
|
"document": "创建设备",
|
89
96
|
"input": "CreateDeviceRequest",
|
@@ -904,11 +911,11 @@
|
|
904
911
|
"status": "online"
|
905
912
|
},
|
906
913
|
"PublishBroadcastMessage": {
|
907
|
-
"document": "发布广播消息",
|
914
|
+
"document": "发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。\n\n发布广播消息",
|
908
915
|
"input": "PublishBroadcastMessageRequest",
|
909
916
|
"name": "发布广播消息",
|
910
917
|
"output": "PublishBroadcastMessageResponse",
|
911
|
-
"status": "
|
918
|
+
"status": "deprecated"
|
912
919
|
},
|
913
920
|
"PublishFirmwareUpdateMessage": {
|
914
921
|
"document": "本接口(PublishFirmwareUpdateMessage)用于用户确认升级后,云端向设备发起固件升级请求。",
|
@@ -925,11 +932,11 @@
|
|
925
932
|
"status": "online"
|
926
933
|
},
|
927
934
|
"PublishRRPCMessage": {
|
928
|
-
"document": "下发RRPC消息",
|
935
|
+
"document": "发布广播消息、发布RRPC消息属于早期服务,目前已停止维护,需要从官网下线。\n\n下发RRPC消息",
|
929
936
|
"input": "PublishRRPCMessageRequest",
|
930
937
|
"name": "发布RRPC消息",
|
931
938
|
"output": "PublishRRPCMessageResponse",
|
932
|
-
"status": "
|
939
|
+
"status": "deprecated"
|
933
940
|
},
|
934
941
|
"ReleaseStudioProduct": {
|
935
942
|
"document": "产品开发完成并测试通过后,通过发布产品将产品设置为发布状态",
|
@@ -2480,6 +2487,124 @@
|
|
2480
2487
|
],
|
2481
2488
|
"type": "object"
|
2482
2489
|
},
|
2490
|
+
"CreateCloudStorageAIServiceTaskRequest": {
|
2491
|
+
"document": "CreateCloudStorageAIServiceTask请求参数结构体",
|
2492
|
+
"members": [
|
2493
|
+
{
|
2494
|
+
"disabled": false,
|
2495
|
+
"document": "产品 ID",
|
2496
|
+
"example": "TQBDY6RPI9",
|
2497
|
+
"member": "string",
|
2498
|
+
"name": "ProductId",
|
2499
|
+
"required": true,
|
2500
|
+
"type": "string"
|
2501
|
+
},
|
2502
|
+
{
|
2503
|
+
"disabled": false,
|
2504
|
+
"document": "设备名称",
|
2505
|
+
"example": "cs_112114601_2",
|
2506
|
+
"member": "string",
|
2507
|
+
"name": "DeviceName",
|
2508
|
+
"required": true,
|
2509
|
+
"type": "string"
|
2510
|
+
},
|
2511
|
+
{
|
2512
|
+
"disabled": false,
|
2513
|
+
"document": "云存 AI 服务类型。可选值:\n- `RealtimeObjectDetect`:目标检测\n- `Highlight`:视频浓缩\n- `VideoToText`:视频语义理解",
|
2514
|
+
"example": "Highlight",
|
2515
|
+
"member": "string",
|
2516
|
+
"name": "ServiceType",
|
2517
|
+
"required": true,
|
2518
|
+
"type": "string"
|
2519
|
+
},
|
2520
|
+
{
|
2521
|
+
"disabled": false,
|
2522
|
+
"document": "待分析云存的起始时间",
|
2523
|
+
"example": "1704038400",
|
2524
|
+
"member": "uint64",
|
2525
|
+
"name": "StartTime",
|
2526
|
+
"required": true,
|
2527
|
+
"type": "int"
|
2528
|
+
},
|
2529
|
+
{
|
2530
|
+
"disabled": false,
|
2531
|
+
"document": "待分析云存的结束时间",
|
2532
|
+
"example": "1704124800",
|
2533
|
+
"member": "uint64",
|
2534
|
+
"name": "EndTime",
|
2535
|
+
"required": true,
|
2536
|
+
"type": "int"
|
2537
|
+
},
|
2538
|
+
{
|
2539
|
+
"disabled": false,
|
2540
|
+
"document": "通道 ID",
|
2541
|
+
"example": "1",
|
2542
|
+
"member": "uint64",
|
2543
|
+
"name": "ChannelId",
|
2544
|
+
"required": false,
|
2545
|
+
"type": "int"
|
2546
|
+
},
|
2547
|
+
{
|
2548
|
+
"disabled": false,
|
2549
|
+
"document": "视频分析配置参数",
|
2550
|
+
"example": "{\"param1\":\"value1\"}",
|
2551
|
+
"member": "string",
|
2552
|
+
"name": "Config",
|
2553
|
+
"required": false,
|
2554
|
+
"type": "string"
|
2555
|
+
},
|
2556
|
+
{
|
2557
|
+
"disabled": false,
|
2558
|
+
"document": "视频分析识别区域",
|
2559
|
+
"example": "{}",
|
2560
|
+
"member": "string",
|
2561
|
+
"name": "ROI",
|
2562
|
+
"required": false,
|
2563
|
+
"type": "string"
|
2564
|
+
},
|
2565
|
+
{
|
2566
|
+
"disabled": false,
|
2567
|
+
"document": "分析外部传入的视频 URL 列表,支持 HLS 点播(m3u8)及常见视频格式(mp4 等)",
|
2568
|
+
"example": "[\"https://example.com/timeshift.m3u8\"]",
|
2569
|
+
"member": "string",
|
2570
|
+
"name": "VideoURLs",
|
2571
|
+
"required": false,
|
2572
|
+
"type": "list"
|
2573
|
+
},
|
2574
|
+
{
|
2575
|
+
"disabled": false,
|
2576
|
+
"document": "自定义任务 ID",
|
2577
|
+
"example": "event-123",
|
2578
|
+
"member": "string",
|
2579
|
+
"name": "CustomId",
|
2580
|
+
"required": false,
|
2581
|
+
"type": "string"
|
2582
|
+
}
|
2583
|
+
],
|
2584
|
+
"type": "object"
|
2585
|
+
},
|
2586
|
+
"CreateCloudStorageAIServiceTaskResponse": {
|
2587
|
+
"document": "CreateCloudStorageAIServiceTask返回参数结构体",
|
2588
|
+
"members": [
|
2589
|
+
{
|
2590
|
+
"disabled": false,
|
2591
|
+
"document": "任务 ID",
|
2592
|
+
"example": "fb066d7a-baac-4706-acda-058f56f82759",
|
2593
|
+
"member": "string",
|
2594
|
+
"name": "TaskId",
|
2595
|
+
"output_required": true,
|
2596
|
+
"type": "string",
|
2597
|
+
"value_allowed_null": false
|
2598
|
+
},
|
2599
|
+
{
|
2600
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2601
|
+
"member": "string",
|
2602
|
+
"name": "RequestId",
|
2603
|
+
"type": "string"
|
2604
|
+
}
|
2605
|
+
],
|
2606
|
+
"type": "object"
|
2607
|
+
},
|
2483
2608
|
"CreateDeviceChannelRequest": {
|
2484
2609
|
"document": "CreateDeviceChannel请求参数结构体",
|
2485
2610
|
"members": [
|
@@ -156,6 +156,20 @@
|
|
156
156
|
"title": "开通失败:云存 AI 套餐有效时长超过云存套餐的有效时长"
|
157
157
|
}
|
158
158
|
],
|
159
|
+
"CreateCloudStorageAIServiceTask": [
|
160
|
+
{
|
161
|
+
"document": "",
|
162
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"ChannelId\": 0,\n \"Config\": \"{}\"\n}",
|
163
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c497cdcb-8eaf-46b0-8850-311cfb278798\",\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\"\n }\n}",
|
164
|
+
"title": "创建设备云存 AI 分析任务"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"document": "",
|
168
|
+
"input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateCloudStorageAIServiceTask\n<公共请求参数>\n\n{\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ServiceType\": \"Highlight\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"ChannelId\": 0,\n \"Config\": \"{}\",\n \"VideoURLs\": [\n \"https://example.com/video.mp4\"\n ]\n}",
|
169
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"c497cdcb-8eaf-46b0-8850-311cfb278798\",\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\"\n }\n}",
|
170
|
+
"title": "使用外部数据源创建云存 AI 分析任务"
|
171
|
+
}
|
172
|
+
],
|
159
173
|
"CreateDevice": [
|
160
174
|
{
|
161
175
|
"document": "创建设备",
|
@@ -1692,7 +1692,7 @@
|
|
1692
1692
|
},
|
1693
1693
|
{
|
1694
1694
|
"disabled": false,
|
1695
|
-
"document": "
|
1695
|
+
"document": "录制模板。未配置时默认取值0。录制模板枚举值参考:https://cloud.tencent.com/document/product/1639/89744",
|
1696
1696
|
"example": "1",
|
1697
1697
|
"member": "uint64",
|
1698
1698
|
"name": "RecordLayout",
|
@@ -1702,7 +1702,7 @@
|
|
1702
1702
|
{
|
1703
1703
|
"disabled": false,
|
1704
1704
|
"document": "房间绑定的群组ID,非空时限制组成员进入",
|
1705
|
-
"example": "
|
1705
|
+
"example": "abcdfgd",
|
1706
1706
|
"member": "string",
|
1707
1707
|
"name": "GroupId",
|
1708
1708
|
"required": false,
|
@@ -1800,7 +1800,7 @@
|
|
1800
1800
|
},
|
1801
1801
|
{
|
1802
1802
|
"disabled": false,
|
1803
|
-
"document": "
|
1803
|
+
"document": "录制自定义场景。注意:仅recordlayout=9的时候此参数有效。需注意各类参数配置正确能够生效。不然会造成录制失败,失败后无法补救。\n数据内容为用户自定义场景参数,数据格式为json键值对方式,其中键值对的value为string类型。",
|
1804
1804
|
"example": "{\"scene\":\"test\",\"lng\":\"zh\",\"type\":\"h5\",\"subjectId\":\"57\",\"customToken\":\"sajdlfjasdglweqirouoiu\"}",
|
1805
1805
|
"member": "string",
|
1806
1806
|
"name": "RecordScene",
|
@@ -99,8 +99,8 @@
|
|
99
99
|
"CreateRoom": [
|
100
100
|
{
|
101
101
|
"document": "示例",
|
102
|
-
"input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRoom\n<公共请求参数>\n\n{\n \"Name\": \"
|
103
|
-
"output": "{\n \"Response\": {\n \"RoomId\": 1,\n \"RequestId\": \"
|
102
|
+
"input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateRoom\n<公共请求参数>\n\n{\n \"Name\": \"abcdfdsf\",\n \"StartTime\": 1,\n \"EndTime\": 1,\n \"TeacherId\": \"abcdfgdf\",\n \"SdkAppId\": 1,\n \"Resolution\": 1,\n \"MaxMicNumber\": 1,\n \"AutoMic\": 1,\n \"TurnOffMic\": 1,\n \"AudioQuality\": 1,\n \"SubType\": \"abcdfgd\",\n \"DisableRecord\": 1,\n \"Assistants\": [\n \"abcxdfgdfg\"\n ],\n \"AudienceType\": 1,\n \"RecordLayout\": 1,\n \"GroupId\": \"abcdfgdf\",\n \"InteractionMode\": 1,\n \"VideoOrientation\": 1,\n \"IsGradingRequiredPostClass\": 1,\n \"RoomType\": 1,\n \"EnableDirectControl\": 0\n}",
|
103
|
+
"output": "{\n \"Response\": {\n \"RoomId\": 1,\n \"RequestId\": \"abcdfgdfgfdrg\"\n }\n}",
|
104
104
|
"title": "创建房间"
|
105
105
|
}
|
106
106
|
],
|
@@ -324,7 +324,7 @@
|
|
324
324
|
{
|
325
325
|
"document": "",
|
326
326
|
"input": "https://lighthouse.tencentcloudapi.com/?Action=DescribeFirewallRules\n&InstanceId=lhins-aglzynfg\n&<公共请求参数>",
|
327
|
-
"output": "{\n \"Response\": {\n \"FirewallRuleSet\": [\n {\n \"Action\": \"DROP\",\n \"AppType\": \"自定义\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"\",\n \"Port\": \"22,88\",\n \"Protocol\": \"TCP\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AppType\": \"自定义\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"test\",\n \"Port\": \"88\",\n \"Protocol\": \"TCP\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AppType\": \"HTTP(80)\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"
|
327
|
+
"output": "{\n \"Response\": {\n \"FirewallRuleSet\": [\n {\n \"Action\": \"DROP\",\n \"AppType\": \"自定义\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"\",\n \"Port\": \"22,88\",\n \"Protocol\": \"TCP\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AppType\": \"自定义\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"test\",\n \"Port\": \"88\",\n \"Protocol\": \"TCP\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AppType\": \"HTTP(80)\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"放通TCP端口(80)\",\n \"Port\": \"80\",\n \"Protocol\": \"TCP\"\n },\n {\n \"Action\": \"ACCEPT\",\n \"AppType\": \"HTTPS(443)\",\n \"CidrBlock\": \"0.0.0.0/0\",\n \"FirewallRuleDescription\": \"放通Web服务HTTPS(443),如 Apache、Nginx\",\n \"Port\": \"443\",\n \"Protocol\": \"TCP\"\n }\n ],\n \"FirewallVersion\": 1,\n \"RequestId\": \"afa0c876-336a-4ed6-ad01-89b3b2632207\",\n \"TotalCount\": 4\n }\n}",
|
328
328
|
"title": "查询实例的所有防火墙规则"
|
329
329
|
},
|
330
330
|
{
|
@@ -450,7 +450,7 @@
|
|
450
450
|
{
|
451
451
|
"document": "",
|
452
452
|
"input": "POST / HTTP/1.1\nHost: lighthouse.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeKeyPairs\n<公共请求参数>\n\n{\n \"KeyIds\": [\n \"lhkp-omd12oc1\"\n ]\n}",
|
453
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"KeyPairSet\": [\n {\n \"KeyId\": \"lhkp-omd12oc1\",\n \"KeyName\": \"
|
453
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"KeyPairSet\": [\n {\n \"KeyId\": \"lhkp-omd12oc1\",\n \"KeyName\": \"koc1\",\n \"PublicKey\": \"\",\n \"AssociatedInstanceIds\": [],\n \"CreatedTime\": \"2020-04-28T23:01:47Z\",\n \"PrivateKey\": \"null\"\n }\n ],\n \"RequestId\": \"9abb999a-53d6-4534-9b49-00e53b5c0fea\"\n }\n}",
|
454
454
|
"title": "查询用户密钥对列表"
|
455
455
|
}
|
456
456
|
],
|