tccli 3.0.1159.1__py2.py3-none-any.whl → 3.0.1161.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/aiart/v20221229/api.json +12 -15
  3. tccli/services/apm/v20210622/api.json +9 -0
  4. tccli/services/cdb/v20170320/api.json +3 -1
  5. tccli/services/cdwdoris/cdwdoris_client.py +1056 -49
  6. tccli/services/cdwdoris/v20211228/api.json +3192 -1014
  7. tccli/services/cdwdoris/v20211228/examples.json +152 -0
  8. tccli/services/cfg/cfg_client.py +224 -12
  9. tccli/services/cfg/v20210820/api.json +897 -32
  10. tccli/services/cfg/v20210820/examples.json +32 -0
  11. tccli/services/cfw/v20190904/api.json +12 -2
  12. tccli/services/cls/v20201016/api.json +11 -1
  13. tccli/services/cme/v20191029/api.json +9 -9
  14. tccli/services/cme/v20191029/examples.json +1 -1
  15. tccli/services/csip/csip_client.py +53 -0
  16. tccli/services/csip/v20221121/api.json +136 -2
  17. tccli/services/csip/v20221121/examples.json +8 -0
  18. tccli/services/cwp/v20180228/api.json +66 -46
  19. tccli/services/cwp/v20180228/examples.json +1 -1
  20. tccli/services/dlc/v20210125/api.json +31 -2
  21. tccli/services/dnspod/v20210323/api.json +1 -1
  22. tccli/services/domain/v20180808/api.json +1 -1
  23. tccli/services/ess/v20201111/api.json +4 -4
  24. tccli/services/ess/v20201111/examples.json +6 -6
  25. tccli/services/essbasic/v20210526/api.json +21 -12
  26. tccli/services/essbasic/v20210526/examples.json +7 -1
  27. tccli/services/faceid/v20180301/api.json +1 -1
  28. tccli/services/iotexplorer/v20190423/api.json +25 -25
  29. tccli/services/iotexplorer/v20190423/examples.json +10 -4
  30. tccli/services/lcic/lcic_client.py +57 -4
  31. tccli/services/lcic/v20220817/api.json +52 -0
  32. tccli/services/lcic/v20220817/examples.json +8 -0
  33. tccli/services/live/v20180801/api.json +1 -1
  34. tccli/services/lke/v20231130/api.json +563 -9
  35. tccli/services/ocr/v20181119/api.json +10 -0
  36. tccli/services/trro/v20220325/api.json +181 -6
  37. tccli/services/trro/v20220325/examples.json +3 -3
  38. tccli/services/trtc/trtc_client.py +53 -0
  39. tccli/services/trtc/v20190722/api.json +83 -10
  40. tccli/services/trtc/v20190722/examples.json +27 -13
  41. tccli/services/tsf/v20180326/api.json +8 -7
  42. tccli/services/tsf/v20180326/examples.json +1 -1
  43. tccli/services/vclm/v20240523/api.json +137 -1
  44. tccli/services/vclm/v20240523/examples.json +46 -0
  45. tccli/services/vclm/vclm_client.py +106 -0
  46. tccli/services/vpc/v20170312/api.json +1 -1
  47. tccli/services/vtc/v20240223/api.json +1 -1
  48. {tccli-3.0.1159.1.dist-info → tccli-3.0.1161.1.dist-info}/METADATA +2 -2
  49. {tccli-3.0.1159.1.dist-info → tccli-3.0.1161.1.dist-info}/RECORD +52 -52
  50. {tccli-3.0.1159.1.dist-info → tccli-3.0.1161.1.dist-info}/WHEEL +0 -0
  51. {tccli-3.0.1159.1.dist-info → tccli-3.0.1161.1.dist-info}/entry_points.txt +0 -0
  52. {tccli-3.0.1159.1.dist-info → tccli-3.0.1161.1.dist-info}/license_files/LICENSE +0 -0
@@ -381,7 +381,7 @@
381
381
  "CreatePartnerAutoSignAuthUrl": {
382
382
  "document": "创建他方自动签授权链接,通过该链接可进入小程序进行合作方企业的自动签授权,若当前企业未开通企业自动签,通过该链接会先引导开通本企业自动签。\n该接口效果同控制台: 企业设置-> 扩展服务 -> 企业自动签署 -> 合作企业方授权\n\n\n\n注: \n1. <font color='red'>所在企业的超管、法人才有权限调用此接口</font>(Agent.ProxyOperator.OpenId 需要传递超管或者法人的OpenId)\n2. 已经在授权中或者授权成功的企业,无法重复授权",
383
383
  "input": "CreatePartnerAutoSignAuthUrlRequest",
384
- "name": "创建他方企业自动签授权链接",
384
+ "name": "创建他方企业自动签授权链接(他方授权 ,我方授权)",
385
385
  "output": "CreatePartnerAutoSignAuthUrlResponse",
386
386
  "status": "online"
387
387
  },
@@ -952,13 +952,22 @@
952
952
  "required": true,
953
953
  "type": "string"
954
954
  },
955
+ {
956
+ "disabled": false,
957
+ "document": "合同流程的签署截止时间,格式为Unix标准时间戳(秒),如果在签署截止时间前未完成签署,则合同状态会变为已过期,导致合同作废。",
958
+ "example": "1604912664",
959
+ "member": "int64",
960
+ "name": "Deadline",
961
+ "required": true,
962
+ "type": "int"
963
+ },
955
964
  {
956
965
  "disabled": false,
957
966
  "document": "合同流程的类别分类(可自定义名称,如销售合同/入职合同等),最大长度为200个字符,仅限中文、字母、数字和下划线组成。",
958
967
  "example": "销售合同",
959
968
  "member": "string",
960
969
  "name": "FlowType",
961
- "required": true,
970
+ "required": false,
962
971
  "type": "string"
963
972
  },
964
973
  {
@@ -967,18 +976,9 @@
967
976
  "example": "张三2023年的入职公司财务部的合同",
968
977
  "member": "string",
969
978
  "name": "FlowDescription",
970
- "required": true,
979
+ "required": false,
971
980
  "type": "string"
972
981
  },
973
- {
974
- "disabled": false,
975
- "document": "合同流程的签署截止时间,格式为Unix标准时间戳(秒),如果在签署截止时间前未完成签署,则合同状态会变为已过期,导致合同作废。",
976
- "example": "1604912664",
977
- "member": "int64",
978
- "name": "Deadline",
979
- "required": true,
980
- "type": "int"
981
- },
982
982
  {
983
983
  "disabled": false,
984
984
  "document": "合同流程的签署顺序类型:\n**false**:(默认)有序签署, 本合同多个参与人需要依次签署\n**true**:无序签署, 本合同多个参与人没有先后签署限制",
@@ -6725,6 +6725,15 @@
6725
6725
  "name": "SealTypes",
6726
6726
  "required": false,
6727
6727
  "type": "list"
6728
+ },
6729
+ {
6730
+ "disabled": false,
6731
+ "document": "他方授权给我方:- false:我方授权他方,AuthorizedOrganizationName代表【被授权方】企业名称- true:他方授权我方,AuthorizedOrganizationName代表【授权方】企业名称",
6732
+ "example": "无",
6733
+ "member": "bool",
6734
+ "name": "AuthToMe",
6735
+ "required": false,
6736
+ "type": "bool"
6728
6737
  }
6729
6738
  ],
6730
6739
  "type": "object"
@@ -827,7 +827,13 @@
827
827
  "document": "",
828
828
  "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDSxxxxxxxxxOnHtH51\",\n \"ProxyOrganizationOpenId\": \"org_open_id\",\n \"ProxyOperator\": {\n \"OpenId\": \"user_open_id\"\n }\n },\n \"AuthorizedOrganizationId\": \"org_open_id_another\",\n \"AuthorizedOrganizationName\": \"典子谦子客企业\",\n \"SealTypes\": [\n \"OFFICIAL\"\n ]\n}",
829
829
  "output": "{\n \"Response\": {\n \"ExpireTime\": 1702982931,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDSxxxxxxxxxOnHtH51\",\n \"RequestId\": \"s1702378131281988373\",\n \"Url\": \"https://test.essurl.cn/WxxxxxwH\"\n }\n}",
830
- "title": "创建他方自动签授权链接"
830
+ "title": "创建他方自动签授权链接-我方授权"
831
+ },
832
+ {
833
+ "document": "",
834
+ "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreatePartnerAutoSignAuthUrl\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"yDSxxxxxxxxxOnHtH51\",\n \"ProxyOrganizationOpenId\": \"org_open_id\",\n \"ProxyOperator\": {\n \"OpenId\": \"user_open_id\"\n }\n },\n \"AuthorizedOrganizationId\": \"org_open_id_another\",\n \"AuthorizedOrganizationName\": \"典子谦子客企业\",\n \"AuthToMe\": true,\n \"SealTypes\": [\n \"OFFICIAL\"\n ]\n}",
835
+ "output": "{\n \"Response\": {\n \"ExpireTime\": 1702982931,\n \"MiniAppPath\": \"/pages/guide/index?shortKey=yDSxxxxxxxxxOnHtH51\",\n \"RequestId\": \"s1702378131281988373\",\n \"Url\": \"https://test.essurl.cn/WxxxxxwH\"\n }\n}",
836
+ "title": "创建他方自动签授权链接-他方授权"
831
837
  }
832
838
  ],
833
839
  "CreateSealByImage": [
@@ -1988,7 +1988,7 @@
1988
1988
  },
1989
1989
  {
1990
1990
  "disabled": false,
1991
- "document": "有加密需求的用户,接入传入kms的CiphertextBlob,关于数据加密可查阅<a href=\"https://cloud.tencent.com/document/product/1007/47180\">数据加密</a> 文档。\n注意:此字段可能返回 null,表示取不到有效值。",
1991
+ "document": "加密后的对称密钥,关于密钥的生成和使用请查阅<a href=\"https://cloud.tencent.com/document/product/1007/47180\">数据加密</a> 文档。\n注意:此字段可能返回 null,表示取不到有效值。",
1992
1992
  "example": "null",
1993
1993
  "member": "string",
1994
1994
  "name": "CiphertextBlob",
@@ -764,7 +764,7 @@
764
764
  "status": "online"
765
765
  },
766
766
  "ModifyCloudStorageAIService": {
767
- "document": "修改指定设备的云存 AI 服务开通状态与参数配置",
767
+ "document": "修改指定设备的云存 AI 服务参数配置",
768
768
  "input": "ModifyCloudStorageAIServiceRequest",
769
769
  "name": "修改设备云存AI分析服务",
770
770
  "output": "ModifyCloudStorageAIServiceResponse",
@@ -3828,7 +3828,7 @@
3828
3828
  "members": [
3829
3829
  {
3830
3830
  "disabled": false,
3831
- "document": "产品ID",
3831
+ "document": "产品 ID",
3832
3832
  "example": "WYILLHRQ4",
3833
3833
  "member": "string",
3834
3834
  "name": "ProductId",
@@ -3885,7 +3885,7 @@
3885
3885
  "members": [
3886
3886
  {
3887
3887
  "disabled": false,
3888
- "document": "产品ID",
3888
+ "document": "产品 ID",
3889
3889
  "example": "TQBDY6RPI9",
3890
3890
  "member": "string",
3891
3891
  "name": "ProductId",
@@ -3903,8 +3903,8 @@
3903
3903
  },
3904
3904
  {
3905
3905
  "disabled": false,
3906
- "document": "云存 AI 服务类型。可选值:\n\n- `PackageDetect`:包裹检测\n- `Highlight`:视频浓缩",
3907
- "example": "PackageDetect",
3906
+ "document": "云存 AI 服务类型。可选值:\n- `RealtimeObjectDetect`:目标检测\n- `Highlight`:视频浓缩",
3907
+ "example": "Highlight",
3908
3908
  "member": "string",
3909
3909
  "name": "ServiceType",
3910
3910
  "required": true,
@@ -3918,7 +3918,7 @@
3918
3918
  "members": [
3919
3919
  {
3920
3920
  "disabled": false,
3921
- "document": "启用状态",
3921
+ "document": "视频分析启用状态",
3922
3922
  "example": "true",
3923
3923
  "member": "bool",
3924
3924
  "name": "Enabled",
@@ -3928,20 +3928,20 @@
3928
3928
  },
3929
3929
  {
3930
3930
  "disabled": false,
3931
- "document": "视频分析区域",
3932
- "example": "{}",
3931
+ "document": "视频分析配置参数",
3932
+ "example": "{\"param1\":\"value1\"}",
3933
3933
  "member": "string",
3934
- "name": "ROI",
3934
+ "name": "Config",
3935
3935
  "output_required": true,
3936
3936
  "type": "string",
3937
3937
  "value_allowed_null": false
3938
3938
  },
3939
3939
  {
3940
3940
  "disabled": false,
3941
- "document": "云存 AI 服务的配置参数",
3942
- "example": "{\"param1\":\"value1\"}",
3941
+ "document": "视频分析识别区域",
3942
+ "example": "{}",
3943
3943
  "member": "string",
3944
- "name": "Config",
3944
+ "name": "ROI",
3945
3945
  "output_required": true,
3946
3946
  "type": "string",
3947
3947
  "value_allowed_null": false
@@ -4015,8 +4015,8 @@
4015
4015
  },
4016
4016
  {
4017
4017
  "disabled": false,
4018
- "document": "云存 AI 服务类型。可选值:\n- `PackageDetect`:包裹检测\n- `Highlight`:视频浓缩",
4019
- "example": "PackageDetect",
4018
+ "document": "云存 AI 服务类型。可选值:\n- `RealtimeObjectDetect`:目标检测\n- `Highlight`:视频浓缩",
4019
+ "example": "Highlight",
4020
4020
  "member": "string",
4021
4021
  "name": "ServiceType",
4022
4022
  "required": true,
@@ -4051,7 +4051,7 @@
4051
4051
  },
4052
4052
  {
4053
4053
  "disabled": false,
4054
- "document": "用户ID",
4054
+ "document": "用户 ID",
4055
4055
  "example": "user",
4056
4056
  "member": "string",
4057
4057
  "name": "UserId",
@@ -4060,7 +4060,7 @@
4060
4060
  },
4061
4061
  {
4062
4062
  "disabled": false,
4063
- "document": "通道ID 非NVR设备则不填 NVR设备则必填 默认为无",
4063
+ "document": "通道 ID",
4064
4064
  "example": "1",
4065
4065
  "member": "uint64",
4066
4066
  "name": "ChannelId",
@@ -6724,7 +6724,7 @@
6724
6724
  "members": [
6725
6725
  {
6726
6726
  "disabled": false,
6727
- "document": "产品ID",
6727
+ "document": "产品 ID",
6728
6728
  "example": "TQBDY6RPI9",
6729
6729
  "member": "string",
6730
6730
  "name": "ProductId",
@@ -10316,7 +10316,7 @@
10316
10316
  "members": [
10317
10317
  {
10318
10318
  "disabled": false,
10319
- "document": "产品ID",
10319
+ "document": "产品 ID",
10320
10320
  "example": "WYILLHRQ4",
10321
10321
  "member": "string",
10322
10322
  "name": "ProductId",
@@ -10370,7 +10370,7 @@
10370
10370
  "members": [
10371
10371
  {
10372
10372
  "disabled": false,
10373
- "document": "产品ID",
10373
+ "document": "产品 ID",
10374
10374
  "example": "TQBDY6RPI9",
10375
10375
  "member": "string",
10376
10376
  "name": "ProductId",
@@ -10388,8 +10388,8 @@
10388
10388
  },
10389
10389
  {
10390
10390
  "disabled": false,
10391
- "document": "云存 AI 服务类型。可选值:\n- `PackageDetect`:包裹检测\n- `Highlight`:视频浓缩",
10392
- "example": "PackageDetect",
10391
+ "document": "云存 AI 服务类型。可选值:\n- `RealtimeObjectDetect`:目标检测\n- `Highlight`:视频浓缩",
10392
+ "example": "Highlight",
10393
10393
  "member": "string",
10394
10394
  "name": "ServiceType",
10395
10395
  "required": true,
@@ -10397,7 +10397,7 @@
10397
10397
  },
10398
10398
  {
10399
10399
  "disabled": false,
10400
- "document": "启用状态",
10400
+ "document": "视频分析启用状态",
10401
10401
  "example": "true",
10402
10402
  "member": "bool",
10403
10403
  "name": "Enabled",
@@ -10406,7 +10406,7 @@
10406
10406
  },
10407
10407
  {
10408
10408
  "disabled": false,
10409
- "document": "视频分析区域",
10409
+ "document": "视频分析识别区域",
10410
10410
  "example": "{}",
10411
10411
  "member": "string",
10412
10412
  "name": "ROI",
@@ -10415,7 +10415,7 @@
10415
10415
  },
10416
10416
  {
10417
10417
  "disabled": false,
10418
- "document": "云存 AI 服务的配置参数",
10418
+ "document": "视频分析配置参数",
10419
10419
  "example": "{\"param1\":\"value1\"}",
10420
10420
  "member": "string",
10421
10421
  "name": "Config",
@@ -10812,7 +10812,7 @@
10812
10812
  "members": [
10813
10813
  {
10814
10814
  "disabled": false,
10815
- "document": "产品ID",
10815
+ "document": "产品 ID",
10816
10816
  "example": "TQBDY6RPI9",
10817
10817
  "member": "string",
10818
10818
  "name": "ProductId",
@@ -349,7 +349,7 @@
349
349
  "DescribeCloudStorageAIService": [
350
350
  {
351
351
  "document": "",
352
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\",\n \"ServiceType\": \"PackageDetect\"\n}",
352
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\",\n \"ServiceType\": \"Highlight\"\n}",
353
353
  "output": "{\n \"Response\": {\n \"Enabled\": true,\n \"ROI\": \"{}\",\n \"Config\": \"{\\\"param1\\\":\\\"value1\\\"}\",\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
354
354
  "title": "查询设备云存AI服务"
355
355
  }
@@ -373,7 +373,7 @@
373
373
  "DescribeCloudStorageAIServiceTasks": [
374
374
  {
375
375
  "document": "",
376
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageAIServiceTasks\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\",\n \"ServiceType\": \"PackageDetect\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
376
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudStorageAIServiceTasks\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\",\n \"ServiceType\": \"Highlight\",\n \"Offset\": 0,\n \"Limit\": 20\n}",
377
377
  "output": "{\n \"Response\": {\n \"Tasks\": [\n {\n \"TaskId\": \"fb066d7a-baac-4706-acda-058f56f82759\",\n \"ProductId\": \"TQBDY6RPI9\",\n \"DeviceName\": \"cs_112114601_2\",\n \"ChannelId\": 0,\n \"ServiceType\": \"PackageDetect\",\n \"StartTime\": 1710487888,\n \"EndTime\": 1710487898,\n \"Status\": 3,\n \"Result\": \"{\\\"param1\\\":\\\"value1\\\"}\",\n \"Files\": [\n \"output.mp4\"\n ],\n \"CreateTime\": 1710490000,\n \"UpdateTime\": 1710490000\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
378
378
  "title": "查询设备云存 AI 分析任务列表"
379
379
  }
@@ -923,9 +923,15 @@
923
923
  "ModifyCloudStorageAIService": [
924
924
  {
925
925
  "document": "",
926
- "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\",\n \"ServiceType\": \"PackageDetect\",\n \"Enabled\": true\n}",
926
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\",\n \"ServiceType\": \"Highlight\",\n \"Enabled\": true\n}",
927
927
  "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
928
- "title": "修改设备云存AI服务开通状态"
928
+ "title": "修改云存AI服务启用状态"
929
+ },
930
+ {
931
+ "document": "",
932
+ "input": "POST / HTTP/1.1\nHost: iotexplorer.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyCloudStorageAIService\n<公共请求参数>\n\n{\n \"ProductId\": \"KH6Q8C4N0D\",\n \"DeviceName\": \"aaa_31400554_1\",\n \"ServiceType\": \"Highlight\",\n \"Config\": \"{\\\"param1\\\":\\\"value1\\\"}\"\n}",
933
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3c140219-cfe9-470e-b241-907877d6fb03\"\n }\n}",
934
+ "title": "修改云存AI服务配置参数"
929
935
  }
930
936
  ],
931
937
  "ModifyCloudStorageAIServiceCallback": [
@@ -1577,6 +1577,58 @@ def doSendRoomNormalMessage(args, parsed_globals):
1577
1577
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1578
1578
 
1579
1579
 
1580
+ def doCreateGroupWithSubGroup(args, parsed_globals):
1581
+ g_param = parse_global_arg(parsed_globals)
1582
+
1583
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1584
+ cred = credential.CVMRoleCredential()
1585
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1586
+ cred = credential.STSAssumeRoleCredential(
1587
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1588
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1589
+ )
1590
+ 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):
1591
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1592
+ else:
1593
+ cred = credential.Credential(
1594
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1595
+ )
1596
+ http_profile = HttpProfile(
1597
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1598
+ reqMethod="POST",
1599
+ endpoint=g_param[OptionsDefine.Endpoint],
1600
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1601
+ )
1602
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1603
+ if g_param[OptionsDefine.Language]:
1604
+ profile.language = g_param[OptionsDefine.Language]
1605
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1606
+ client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
1607
+ client._sdkVersion += ("_CLI_" + __version__)
1608
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
1609
+ model = models.CreateGroupWithSubGroupRequest()
1610
+ model.from_json_string(json.dumps(args))
1611
+ start_time = time.time()
1612
+ while True:
1613
+ rsp = client.CreateGroupWithSubGroup(model)
1614
+ result = rsp.to_json_string()
1615
+ try:
1616
+ json_obj = json.loads(result)
1617
+ except TypeError as e:
1618
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
1619
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1620
+ break
1621
+ cur_time = time.time()
1622
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1623
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1624
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1625
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1626
+ else:
1627
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1628
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1629
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1630
+
1631
+
1580
1632
  def doDescribeGroupList(args, parsed_globals):
1581
1633
  g_param = parse_global_arg(parsed_globals)
1582
1634
 
@@ -2877,7 +2929,7 @@ def doUnbindDocumentFromRoom(args, parsed_globals):
2877
2929
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2878
2930
 
2879
2931
 
2880
- def doCreateGroupWithSubGroup(args, parsed_globals):
2932
+ def doUnblockKickedUser(args, parsed_globals):
2881
2933
  g_param = parse_global_arg(parsed_globals)
2882
2934
 
2883
2935
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2906,11 +2958,11 @@ def doCreateGroupWithSubGroup(args, parsed_globals):
2906
2958
  client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile)
2907
2959
  client._sdkVersion += ("_CLI_" + __version__)
2908
2960
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2909
- model = models.CreateGroupWithSubGroupRequest()
2961
+ model = models.UnblockKickedUserRequest()
2910
2962
  model.from_json_string(json.dumps(args))
2911
2963
  start_time = time.time()
2912
2964
  while True:
2913
- rsp = client.CreateGroupWithSubGroup(model)
2965
+ rsp = client.UnblockKickedUser(model)
2914
2966
  result = rsp.to_json_string()
2915
2967
  try:
2916
2968
  json_obj = json.loads(result)
@@ -3178,6 +3230,7 @@ ACTION_MAP = {
3178
3230
  "DescribeRoom": doDescribeRoom,
3179
3231
  "DescribeDocuments": doDescribeDocuments,
3180
3232
  "SendRoomNormalMessage": doSendRoomNormalMessage,
3233
+ "CreateGroupWithSubGroup": doCreateGroupWithSubGroup,
3181
3234
  "DescribeGroupList": doDescribeGroupList,
3182
3235
  "DeleteSupervisor": doDeleteSupervisor,
3183
3236
  "DeleteUser": doDeleteUser,
@@ -3203,7 +3256,7 @@ ACTION_MAP = {
3203
3256
  "SendRoomNotificationMessage": doSendRoomNotificationMessage,
3204
3257
  "DeleteRoom": doDeleteRoom,
3205
3258
  "UnbindDocumentFromRoom": doUnbindDocumentFromRoom,
3206
- "CreateGroupWithSubGroup": doCreateGroupWithSubGroup,
3259
+ "UnblockKickedUser": doUnblockKickedUser,
3207
3260
  "CreateRoom": doCreateRoom,
3208
3261
  "BatchCreateGroupWithMembers": doBatchCreateGroupWithMembers,
3209
3262
  "DescribeScoreList": doDescribeScoreList,
@@ -419,6 +419,13 @@
419
419
  "name": "文档从房间解绑",
420
420
  "output": "UnbindDocumentFromRoomResponse",
421
421
  "status": "online"
422
+ },
423
+ "UnblockKickedUser": {
424
+ "document": "解禁从房间里面踢出的用户",
425
+ "input": "UnblockKickedUserRequest",
426
+ "name": "解禁房间被踢用户",
427
+ "output": "UnblockKickedUserResponse",
428
+ "status": "online"
422
429
  }
423
430
  },
424
431
  "metadata": {
@@ -6857,6 +6864,51 @@
6857
6864
  ],
6858
6865
  "type": "object"
6859
6866
  },
6867
+ "UnblockKickedUserRequest": {
6868
+ "document": "UnblockKickedUser请求参数结构体",
6869
+ "members": [
6870
+ {
6871
+ "disabled": false,
6872
+ "document": "低代码平台的SdkAppId。",
6873
+ "example": "123456",
6874
+ "member": "uint64",
6875
+ "name": "SdkAppId",
6876
+ "required": true,
6877
+ "type": "int"
6878
+ },
6879
+ {
6880
+ "disabled": false,
6881
+ "document": "房间Id。",
6882
+ "example": "301234567",
6883
+ "member": "uint64",
6884
+ "name": "RoomId",
6885
+ "required": true,
6886
+ "type": "int"
6887
+ },
6888
+ {
6889
+ "disabled": false,
6890
+ "document": "需要解禁踢出的成员Id。",
6891
+ "example": "dfgsadffg",
6892
+ "member": "string",
6893
+ "name": "UserId",
6894
+ "required": true,
6895
+ "type": "string"
6896
+ }
6897
+ ],
6898
+ "type": "object"
6899
+ },
6900
+ "UnblockKickedUserResponse": {
6901
+ "document": "UnblockKickedUser返回参数结构体",
6902
+ "members": [
6903
+ {
6904
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6905
+ "member": "string",
6906
+ "name": "RequestId",
6907
+ "type": "string"
6908
+ }
6909
+ ],
6910
+ "type": "object"
6911
+ },
6860
6912
  "UserInfo": {
6861
6913
  "document": "用户信息结构体",
6862
6914
  "members": [
@@ -509,6 +509,14 @@
509
509
  "output": "{\n \"Response\": {\n \"RequestId\": \"e574aae1-lp02-4225-a2f8-9032h7199f5f0\"\n }\n}",
510
510
  "title": "文档从房间解绑"
511
511
  }
512
+ ],
513
+ "UnblockKickedUser": [
514
+ {
515
+ "document": "示例",
516
+ "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UnblockKickedUser\n<公共请求参数>\n\n{\n \"RoomId\": 313337981,\n \"SdkAppId\": 3520371,\n \"UserId\": \"2PMcgEVHi9CMWq6tmfNnPGUkEGn\"\n}",
517
+ "output": "{\n \"Response\": {\n \"RequestId\": \"3f156f86-9939-4ea0-aee7-81d32fa46c3f\"\n }\n}",
518
+ "title": "解禁房间踢出的用户"
519
+ }
512
520
  ]
513
521
  },
514
522
  "version": "1.0"
@@ -4558,7 +4558,7 @@
4558
4558
  },
4559
4559
  {
4560
4560
  "disabled": false,
4561
- "document": "在线人数。",
4561
+ "document": "在线人数。当前后端接口数据的统计方式与客户端侧不同,该数据仅供参考,具体数据请以业务客户端侧统计数据为准。",
4562
4562
  "example": "1",
4563
4563
  "member": "uint64",
4564
4564
  "name": "Online",