tccli 3.0.1136.1__py2.py3-none-any.whl → 3.0.1138.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 (54) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/command.py +4 -1
  3. tccli/help_command.py +4 -1
  4. tccli/services/asr/v20190614/api.json +9 -0
  5. tccli/services/cdb/v20170320/api.json +3 -3
  6. tccli/services/cdwch/v20200915/api.json +1 -1
  7. tccli/services/ckafka/v20190819/api.json +25 -25
  8. tccli/services/ckafka/v20190819/examples.json +18 -18
  9. tccli/services/cls/v20201016/api.json +117 -5
  10. tccli/services/cls/v20201016/examples.json +1 -1
  11. tccli/services/cwp/cwp_client.py +0 -53
  12. tccli/services/cwp/v20180228/api.json +0 -43
  13. tccli/services/cwp/v20180228/examples.json +0 -8
  14. tccli/services/cynosdb/v20190107/api.json +10 -0
  15. tccli/services/dlc/v20210125/api.json +23 -23
  16. tccli/services/dlc/v20210125/examples.json +6 -6
  17. tccli/services/domain/v20180808/api.json +36 -0
  18. tccli/services/dts/v20211206/api.json +3 -3
  19. tccli/services/ess/v20201111/api.json +2 -2
  20. tccli/services/ess/v20201111/examples.json +2 -2
  21. tccli/services/essbasic/v20210526/api.json +4 -4
  22. tccli/services/essbasic/v20210526/examples.json +2 -2
  23. tccli/services/faceid/v20180301/api.json +1 -1
  24. tccli/services/ioa/ioa_client.py +159 -0
  25. tccli/services/ioa/v20220601/api.json +897 -80
  26. tccli/services/ioa/v20220601/examples.json +24 -0
  27. tccli/services/iotexplorer/iotexplorer_client.py +178 -19
  28. tccli/services/iotexplorer/v20190423/api.json +210 -0
  29. tccli/services/iotexplorer/v20190423/examples.json +24 -0
  30. tccli/services/live/v20180801/api.json +12 -6
  31. tccli/services/ocr/v20181119/api.json +2 -2
  32. tccli/services/partners/v20180321/api.json +26 -16
  33. tccli/services/redis/v20180412/api.json +23 -23
  34. tccli/services/ssl/v20191205/api.json +171 -5
  35. tccli/services/ssl/v20191205/examples.json +1 -1
  36. tccli/services/tcr/v20190924/api.json +57 -35
  37. tccli/services/tcr/v20190924/examples.json +4 -4
  38. tccli/services/tcss/v20201101/api.json +123 -13
  39. tccli/services/tcss/v20201101/examples.json +3 -3
  40. tccli/services/tdmq/v20200217/api.json +7 -5
  41. tccli/services/thpc/v20230321/api.json +42 -21
  42. tccli/services/tke/v20180525/api.json +162 -74
  43. tccli/services/tke/v20180525/examples.json +69 -57
  44. tccli/services/trtc/v20190722/api.json +1 -1
  45. tccli/services/tsf/v20180326/api.json +1 -1
  46. tccli/services/tts/v20190823/api.json +2 -2
  47. tccli/services/wedata/v20210820/api.json +377 -0
  48. tccli/services/wedata/v20210820/examples.json +8 -0
  49. tccli/services/wedata/wedata_client.py +61 -8
  50. {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/METADATA +2 -2
  51. {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/RECORD +54 -54
  52. {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/WHEEL +0 -0
  53. {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/entry_points.txt +0 -0
  54. {tccli-3.0.1136.1.dist-info → tccli-3.0.1138.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1136.1'
1
+ __version__ = '3.0.1138.1'
tccli/command.py CHANGED
@@ -154,7 +154,10 @@ class ServiceCommand(BaseCommand):
154
154
  version = self._cli_data.get_service_default_version(service_name)
155
155
  available_version_list = self._cli_data.get_available_services()[service_name]
156
156
  if version not in available_version_list:
157
- raise Exception("available versions: %s" % " ".join(available_version_list))
157
+ raise Exception("Version: %s is invalid in service: %s, available versions: %s. \n"
158
+ "Please check your command or configure file to find out "
159
+ "if version setting is correct."
160
+ % (version, service_name, " ".join(available_version_list)))
158
161
  self._version = version
159
162
  self._command_map = None
160
163
  self._service_model = None
tccli/help_command.py CHANGED
@@ -26,7 +26,10 @@ class BaseHelpCommand(object):
26
26
  version = self._cli_data.get_service_default_version(service_name)
27
27
  available_version_list = self._cli_data.get_available_services()[service_name]
28
28
  if version not in available_version_list:
29
- raise Exception("available versions: %s" % " ".join(available_version_list))
29
+ raise Exception("Version: %s is invalid in service: %s, available versions: %s. \n"
30
+ "Please check your command or configure file to find out "
31
+ "if version setting is correct."
32
+ % (version, service_name, " ".join(available_version_list)))
30
33
  self._version = version
31
34
 
32
35
  def __call__(self, args, parsed_globals):
@@ -712,6 +712,15 @@
712
712
  "name": "Extra",
713
713
  "required": false,
714
714
  "type": "string"
715
+ },
716
+ {
717
+ "disabled": false,
718
+ "document": "临时热词表:该参数用于提升识别准确率。\n\n- 单个热词限制:\"热词|权重\",单个热词不超过30个字符(最多10个汉字),权重[1-11]或者100,如:“腾讯云|5” 或“ASR|11”;\n\n- 临时热词表限制:多个热词用英文逗号分割,最多支持128个热词,如:“腾讯云|10,语音识别|5,ASR|11”;\n\n- 参数 hotword_id(热词表) 与 hotword_list(临时热词表) 区别:\n\n - hotword_id:热词表。需要先在控制台或接口创建热词表,获得对应hotword_id传入参数来使用热词功能;\n\n - hotword_list:临时热词表。每次请求时直接传入临时热词表来使用热词功能,云端不保留临时热词表。适用于有极大量热词需求的用户;\n\n注意:\n\n- 如果同时传入了 hotword_id 和 hotword_list,会优先使用 hotword_list;\n\n- 热词权重设置为11时,当前热词将升级为超级热词,建议仅将重要且必须生效的热词设置到11,设置过多权重为11的热词将影响整体字准率。\n\n- 热词权重设置为100时,当前热词开启热词增强同音替换功能(仅支持8k_zh,16k_zh),举例:热词配置“蜜制|100”时,与“蜜制”同拼音(mizhi)的“秘制”的识别结果会被强制替换成“蜜制”。因此建议客户根据自己的实际情况开启该功能。建议仅将重要且必须生效的热词设置到100,设置过多权重为100的热词将影响整体字准率。",
719
+ "example": "无",
720
+ "member": "string",
721
+ "name": "HotwordList",
722
+ "required": false,
723
+ "type": "string"
715
724
  }
716
725
  ],
717
726
  "type": "object"
@@ -7178,7 +7178,7 @@
7178
7178
  "example": "2",
7179
7179
  "member": "int64",
7180
7180
  "name": "TotalCount",
7181
- "required": true,
7181
+ "output_required": true,
7182
7182
  "type": "int",
7183
7183
  "value_allowed_null": false
7184
7184
  },
@@ -7188,7 +7188,7 @@
7188
7188
  "example": "无",
7189
7189
  "member": "AccountInfo",
7190
7190
  "name": "Items",
7191
- "required": true,
7191
+ "output_required": true,
7192
7192
  "type": "list",
7193
7193
  "value_allowed_null": false
7194
7194
  },
@@ -7198,7 +7198,7 @@
7198
7198
  "example": "10240",
7199
7199
  "member": "int64",
7200
7200
  "name": "MaxUserConnections",
7201
- "required": true,
7201
+ "output_required": true,
7202
7202
  "type": "int",
7203
7203
  "value_allowed_null": false
7204
7204
  },
@@ -193,7 +193,7 @@
193
193
  "metadata": {
194
194
  "apiVersion": "2020-09-15",
195
195
  "api_brief": "云数据仓库 ClickHouse(CDWCH)是腾讯云提供的云上 ClickHouse 托管服务,为用户提供便捷的 ClickHouse 集群部署、软件安装、配置修改、监控告警、弹性伸缩等功能,为企业及用户提供安全稳定的大数据处理解决方案。",
196
- "serviceNameCN": "云数据仓库 ClickHouse",
196
+ "serviceNameCN": "腾讯云数据仓库TCHouse-C",
197
197
  "serviceShortName": "cdwch"
198
198
  },
199
199
  "objects": {
@@ -85,9 +85,9 @@
85
85
  "status": "online"
86
86
  },
87
87
  "CreateDatahubTopic": {
88
- "document": "创建Datahub主题",
88
+ "document": "创建DIP主题",
89
89
  "input": "CreateDatahubTopicRequest",
90
- "name": "创建Datahub主题",
90
+ "name": "创建DIP主题",
91
91
  "output": "CreateDatahubTopicResponse",
92
92
  "status": "online"
93
93
  },
@@ -183,9 +183,9 @@
183
183
  "status": "online"
184
184
  },
185
185
  "DeleteDatahubTask": {
186
- "document": "删除Datahub任务",
186
+ "document": "删除Dip任务",
187
187
  "input": "DeleteDatahubTaskRequest",
188
- "name": "删除Datahub任务",
188
+ "name": "删除Dip任务",
189
189
  "output": "DeleteDatahubTaskResponse",
190
190
  "status": "online"
191
191
  },
@@ -323,9 +323,9 @@
323
323
  "status": "online"
324
324
  },
325
325
  "DescribeDatahubTopic": {
326
- "document": "获取Datahub主题属性",
326
+ "document": "获取DIP主题属性",
327
327
  "input": "DescribeDatahubTopicRequest",
328
- "name": "获取Datahub主题属性",
328
+ "name": "获取DIP主题属性",
329
329
  "output": "DescribeDatahubTopicResponse",
330
330
  "status": "online"
331
331
  },
@@ -526,9 +526,9 @@
526
526
  "status": "online"
527
527
  },
528
528
  "ModifyDatahubTopic": {
529
- "document": "修改Datahub主题属性",
529
+ "document": "修改DIP主题属性",
530
530
  "input": "ModifyDatahubTopicRequest",
531
- "name": "修改Datahub主题属性",
531
+ "name": "修改DIP主题属性",
532
532
  "output": "ModifyDatahubTopicResponse",
533
533
  "status": "online"
534
534
  },
@@ -1025,7 +1025,7 @@
1025
1025
  "example": "0",
1026
1026
  "member": "int64",
1027
1027
  "name": "Result",
1028
- "required": true,
1028
+ "output_required": true,
1029
1029
  "type": "int",
1030
1030
  "value_allowed_null": true
1031
1031
  },
@@ -2831,7 +2831,7 @@
2831
2831
  "example": "1",
2832
2832
  "member": "int64",
2833
2833
  "name": "Result",
2834
- "required": true,
2834
+ "output_required": true,
2835
2835
  "type": "int",
2836
2836
  "value_allowed_null": false
2837
2837
  },
@@ -3311,7 +3311,7 @@
3311
3311
  "members": [
3312
3312
  {
3313
3313
  "disabled": false,
3314
- "document": "名称,是一个不超过 128 个字符的字符串,必须以字母为首字符,剩余部分可以包含字母、数字和横划线(-)",
3314
+ "document": "名称,是一个不超过 128 个字符的字符串,必须以“AppId-”为首字符,剩余部分可以包含字母、数字和横划线(-)",
3315
3315
  "example": "xxx",
3316
3316
  "member": "string",
3317
3317
  "name": "Name",
@@ -3366,7 +3366,7 @@
3366
3366
  "example": "无",
3367
3367
  "member": "DatahubTopicResp",
3368
3368
  "name": "Result",
3369
- "required": true,
3369
+ "output_required": true,
3370
3370
  "type": "object",
3371
3371
  "value_allowed_null": false
3372
3372
  },
@@ -4247,7 +4247,7 @@
4247
4247
  "example": "data",
4248
4248
  "member": "PrometheusResult",
4249
4249
  "name": "Result",
4250
- "required": true,
4250
+ "output_required": true,
4251
4251
  "type": "object",
4252
4252
  "value_allowed_null": false
4253
4253
  },
@@ -4274,7 +4274,7 @@
4274
4274
  },
4275
4275
  {
4276
4276
  "disabled": false,
4277
- "document": "路由网络类型(3:vpc路由;4:标准版支撑路由;7:专业版支撑路由)",
4277
+ "document": "路由网络类型(3:vpc路由;7:内部支撑路由)",
4278
4278
  "example": "1",
4279
4279
  "member": "int64",
4280
4280
  "name": "VipType",
@@ -4402,7 +4402,7 @@
4402
4402
  "example": "904b75130b4b4102bdeb071a7f48523a",
4403
4403
  "member": "string",
4404
4404
  "name": "Result",
4405
- "required": true,
4405
+ "output_required": true,
4406
4406
  "type": "string",
4407
4407
  "value_allowed_null": true
4408
4408
  },
@@ -5515,7 +5515,7 @@
5515
5515
  "example": "无",
5516
5516
  "member": "int64",
5517
5517
  "name": "Result",
5518
- "required": true,
5518
+ "output_required": true,
5519
5519
  "type": "int",
5520
5520
  "value_allowed_null": false
5521
5521
  },
@@ -5552,7 +5552,7 @@
5552
5552
  "example": "xxx",
5553
5553
  "member": "ConnectResourceResourceIdResp",
5554
5554
  "name": "Result",
5555
- "required": true,
5555
+ "output_required": true,
5556
5556
  "type": "object",
5557
5557
  "value_allowed_null": false
5558
5558
  },
@@ -5589,7 +5589,7 @@
5589
5589
  "example": "xxx",
5590
5590
  "member": "DatahubTaskIdRes",
5591
5591
  "name": "Result",
5592
- "required": true,
5592
+ "output_required": true,
5593
5593
  "type": "object",
5594
5594
  "value_allowed_null": true
5595
5595
  },
@@ -6736,7 +6736,7 @@
6736
6736
  "example": "xxx",
6737
6737
  "member": "DescribeConnectResourceResp",
6738
6738
  "name": "Result",
6739
- "required": true,
6739
+ "output_required": true,
6740
6740
  "type": "object",
6741
6741
  "value_allowed_null": true
6742
6742
  },
@@ -6981,7 +6981,7 @@
6981
6981
  "example": "无",
6982
6982
  "member": "GroupOffsetResponse",
6983
6983
  "name": "Result",
6984
- "required": true,
6984
+ "output_required": true,
6985
6985
  "type": "object",
6986
6986
  "value_allowed_null": false
6987
6987
  },
@@ -7174,7 +7174,7 @@
7174
7174
  "example": "xxx",
7175
7175
  "member": "DescribeDatahubTaskRes",
7176
7176
  "name": "Result",
7177
- "required": true,
7177
+ "output_required": true,
7178
7178
  "type": "object",
7179
7179
  "value_allowed_null": false
7180
7180
  },
@@ -7434,7 +7434,7 @@
7434
7434
  "example": "无",
7435
7435
  "member": "DescribeDatahubTopicResp",
7436
7436
  "name": "Result",
7437
- "required": true,
7437
+ "output_required": true,
7438
7438
  "type": "object",
7439
7439
  "value_allowed_null": false
7440
7440
  },
@@ -9938,7 +9938,7 @@
9938
9938
  "example": "无",
9939
9939
  "member": "ConsumerRecord",
9940
9940
  "name": "Result",
9941
- "required": true,
9941
+ "output_required": true,
9942
9942
  "type": "list",
9943
9943
  "value_allowed_null": false
9944
9944
  },
@@ -12974,7 +12974,7 @@
12974
12974
  "example": "xxx",
12975
12975
  "member": "DatahubTaskIdRes",
12976
12976
  "name": "Result",
12977
- "required": true,
12977
+ "output_required": true,
12978
12978
  "type": "object",
12979
12979
  "value_allowed_null": true
12980
12980
  },
@@ -13038,7 +13038,7 @@
13038
13038
  "example": "无",
13039
13039
  "member": "JgwOperateResponse",
13040
13040
  "name": "Result",
13041
- "required": true,
13041
+ "output_required": true,
13042
13042
  "type": "object",
13043
13043
  "value_allowed_null": false
13044
13044
  },