tccli 3.0.1315.1__py2.py3-none-any.whl → 3.0.1316.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 (41) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/bh/v20230418/api.json +2 -2
  3. tccli/services/cbs/v20170312/api.json +51 -40
  4. tccli/services/cbs/v20170312/examples.json +7 -7
  5. tccli/services/cdb/v20170320/api.json +32 -19
  6. tccli/services/cdwdoris/v20211228/api.json +20 -0
  7. tccli/services/cfs/v20190719/api.json +39 -39
  8. tccli/services/cfs/v20190719/examples.json +10 -10
  9. tccli/services/cfw/v20190904/api.json +4 -4
  10. tccli/services/cvm/v20170312/api.json +9 -9
  11. tccli/services/cynosdb/v20190107/api.json +139 -2
  12. tccli/services/dnspod/v20210323/api.json +17 -17
  13. tccli/services/emr/v20190103/api.json +10 -0
  14. tccli/services/ess/v20201111/api.json +29 -11
  15. tccli/services/ess/v20201111/examples.json +1 -1
  16. tccli/services/essbasic/v20210526/api.json +23 -5
  17. tccli/services/essbasic/v20210526/examples.json +1 -1
  18. tccli/services/gs/v20191118/api.json +22 -0
  19. tccli/services/hai/v20230812/api.json +58 -58
  20. tccli/services/hai/v20230812/examples.json +6 -6
  21. tccli/services/lke/v20231130/api.json +401 -7
  22. tccli/services/postgres/postgres_client.py +16 -122
  23. tccli/services/postgres/v20170312/api.json +0 -86
  24. tccli/services/postgres/v20170312/examples.json +0 -22
  25. tccli/services/privatedns/v20201028/api.json +4 -4
  26. tccli/services/privatedns/v20201028/examples.json +2 -2
  27. tccli/services/pts/v20210728/api.json +10 -0
  28. tccli/services/ssl/v20191205/api.json +4 -4
  29. tccli/services/teo/v20220901/api.json +5 -5
  30. tccli/services/tke/tke_client.py +8 -61
  31. tccli/services/tke/v20180525/api.json +10 -108
  32. tccli/services/tke/v20180525/examples.json +0 -8
  33. tccli/services/tms/v20201229/api.json +27 -8
  34. tccli/services/tms/v20201229/examples.json +2 -2
  35. tccli/services/vpc/v20170312/api.json +11 -11
  36. tccli/services/vpc/v20170312/examples.json +2 -2
  37. {tccli-3.0.1315.1.dist-info → tccli-3.0.1316.1.dist-info}/METADATA +2 -2
  38. {tccli-3.0.1315.1.dist-info → tccli-3.0.1316.1.dist-info}/RECORD +41 -41
  39. {tccli-3.0.1315.1.dist-info → tccli-3.0.1316.1.dist-info}/WHEEL +0 -0
  40. {tccli-3.0.1315.1.dist-info → tccli-3.0.1316.1.dist-info}/entry_points.txt +0 -0
  41. {tccli-3.0.1315.1.dist-info → tccli-3.0.1316.1.dist-info}/license_files/LICENSE +0 -0
@@ -3139,7 +3139,7 @@ def doInstallAddon(args, parsed_globals):
3139
3139
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3140
3140
 
3141
3141
 
3142
- def doForwardApplicationRequestV3(args, parsed_globals):
3142
+ def doDeleteECMInstances(args, parsed_globals):
3143
3143
  g_param = parse_global_arg(parsed_globals)
3144
3144
 
3145
3145
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -3168,11 +3168,11 @@ def doForwardApplicationRequestV3(args, parsed_globals):
3168
3168
  client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
3169
3169
  client._sdkVersion += ("_CLI_" + __version__)
3170
3170
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
3171
- model = models.ForwardApplicationRequestV3Request()
3171
+ model = models.DeleteECMInstancesRequest()
3172
3172
  model.from_json_string(json.dumps(args))
3173
3173
  start_time = time.time()
3174
3174
  while True:
3175
- rsp = client.ForwardApplicationRequestV3(model)
3175
+ rsp = client.DeleteECMInstances(model)
3176
3176
  result = rsp.to_json_string()
3177
3177
  try:
3178
3178
  json_obj = json.loads(result)
@@ -7715,7 +7715,7 @@ def doModifyPrometheusGlobalNotification(args, parsed_globals):
7715
7715
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
7716
7716
 
7717
7717
 
7718
- def doDeleteECMInstances(args, parsed_globals):
7718
+ def doDescribeClusterStatus(args, parsed_globals):
7719
7719
  g_param = parse_global_arg(parsed_globals)
7720
7720
 
7721
7721
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -7744,11 +7744,11 @@ def doDeleteECMInstances(args, parsed_globals):
7744
7744
  client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
7745
7745
  client._sdkVersion += ("_CLI_" + __version__)
7746
7746
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
7747
- model = models.DeleteECMInstancesRequest()
7747
+ model = models.DescribeClusterStatusRequest()
7748
7748
  model.from_json_string(json.dumps(args))
7749
7749
  start_time = time.time()
7750
7750
  while True:
7751
- rsp = client.DeleteECMInstances(model)
7751
+ rsp = client.DescribeClusterStatus(model)
7752
7752
  result = rsp.to_json_string()
7753
7753
  try:
7754
7754
  json_obj = json.loads(result)
@@ -10991,58 +10991,6 @@ def doCreatePrometheusRecordRuleYaml(args, parsed_globals):
10991
10991
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
10992
10992
 
10993
10993
 
10994
- def doDescribeClusterStatus(args, parsed_globals):
10995
- g_param = parse_global_arg(parsed_globals)
10996
-
10997
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
10998
- cred = credential.CVMRoleCredential()
10999
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
11000
- cred = credential.STSAssumeRoleCredential(
11001
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
11002
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
11003
- )
11004
- 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):
11005
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
11006
- else:
11007
- cred = credential.Credential(
11008
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
11009
- )
11010
- http_profile = HttpProfile(
11011
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
11012
- reqMethod="POST",
11013
- endpoint=g_param[OptionsDefine.Endpoint],
11014
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
11015
- )
11016
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
11017
- if g_param[OptionsDefine.Language]:
11018
- profile.language = g_param[OptionsDefine.Language]
11019
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
11020
- client = mod.TkeClient(cred, g_param[OptionsDefine.Region], profile)
11021
- client._sdkVersion += ("_CLI_" + __version__)
11022
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
11023
- model = models.DescribeClusterStatusRequest()
11024
- model.from_json_string(json.dumps(args))
11025
- start_time = time.time()
11026
- while True:
11027
- rsp = client.DescribeClusterStatus(model)
11028
- result = rsp.to_json_string()
11029
- try:
11030
- json_obj = json.loads(result)
11031
- except TypeError as e:
11032
- json_obj = json.loads(result.decode('utf-8')) # python3.3
11033
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
11034
- break
11035
- cur_time = time.time()
11036
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
11037
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
11038
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
11039
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
11040
- else:
11041
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
11042
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
11043
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
11044
-
11045
-
11046
10994
  def doDescribeClusterInspectionResultsOverview(args, parsed_globals):
11047
10995
  g_param = parse_global_arg(parsed_globals)
11048
10996
 
@@ -12676,7 +12624,7 @@ ACTION_MAP = {
12676
12624
  "DescribeClusterAuthenticationOptions": doDescribeClusterAuthenticationOptions,
12677
12625
  "DescribeLogConfigs": doDescribeLogConfigs,
12678
12626
  "InstallAddon": doInstallAddon,
12679
- "ForwardApplicationRequestV3": doForwardApplicationRequestV3,
12627
+ "DeleteECMInstances": doDeleteECMInstances,
12680
12628
  "StartMachines": doStartMachines,
12681
12629
  "DeletePrometheusTemp": doDeletePrometheusTemp,
12682
12630
  "DeletePrometheusTemplateSync": doDeletePrometheusTemplateSync,
@@ -12764,7 +12712,7 @@ ACTION_MAP = {
12764
12712
  "CreateClusterEndpoint": doCreateClusterEndpoint,
12765
12713
  "ListClusterInspectionResults": doListClusterInspectionResults,
12766
12714
  "ModifyPrometheusGlobalNotification": doModifyPrometheusGlobalNotification,
12767
- "DeleteECMInstances": doDeleteECMInstances,
12715
+ "DescribeClusterStatus": doDescribeClusterStatus,
12768
12716
  "DescribePrometheusAgentInstances": doDescribePrometheusAgentInstances,
12769
12717
  "ScaleOutClusterMaster": doScaleOutClusterMaster,
12770
12718
  "DeleteHealthCheckPolicy": doDeleteHealthCheckPolicy,
@@ -12827,7 +12775,6 @@ ACTION_MAP = {
12827
12775
  "InstallEdgeLogAgent": doInstallEdgeLogAgent,
12828
12776
  "UpdateClusterVersion": doUpdateClusterVersion,
12829
12777
  "CreatePrometheusRecordRuleYaml": doCreatePrometheusRecordRuleYaml,
12830
- "DescribeClusterStatus": doDescribeClusterStatus,
12831
12778
  "DescribeClusterInspectionResultsOverview": doDescribeClusterInspectionResultsOverview,
12832
12779
  "DescribePrometheusTemplates": doDescribePrometheusTemplates,
12833
12780
  "DeletePrometheusConfig": doDeletePrometheusConfig,
@@ -1211,13 +1211,6 @@
1211
1211
  "output": "EnableVpcCniNetworkTypeResponse",
1212
1212
  "status": "online"
1213
1213
  },
1214
- "ForwardApplicationRequestV3": {
1215
- "document": "操作TKE集群的addon",
1216
- "input": "ForwardApplicationRequestV3Request",
1217
- "name": "操作TKE集群的addon",
1218
- "output": "ForwardApplicationRequestV3Response",
1219
- "status": "online"
1220
- },
1221
1214
  "ForwardTKEEdgeApplicationRequestV3": {
1222
1215
  "document": "操作TKEEdge集群的addon",
1223
1216
  "input": "ForwardTKEEdgeApplicationRequestV3Request",
@@ -16534,97 +16527,6 @@
16534
16527
  ],
16535
16528
  "usage": "in"
16536
16529
  },
16537
- "ForwardApplicationRequestV3Request": {
16538
- "document": "ForwardApplicationRequestV3请求参数结构体",
16539
- "members": [
16540
- {
16541
- "disabled": false,
16542
- "document": "请求集群addon的访问",
16543
- "example": "GET",
16544
- "member": "string",
16545
- "name": "Method",
16546
- "required": true,
16547
- "type": "string"
16548
- },
16549
- {
16550
- "disabled": false,
16551
- "document": "请求集群addon的路径",
16552
- "example": "\"/apis/application.tkestack.io/v1/namespaces/cls-0975tg3b/apps/cbs\"",
16553
- "member": "string",
16554
- "name": "Path",
16555
- "required": true,
16556
- "type": "string"
16557
- },
16558
- {
16559
- "disabled": false,
16560
- "document": "请求集群addon后允许接收的数据格式",
16561
- "example": "\"application/json\"",
16562
- "member": "string",
16563
- "name": "Accept",
16564
- "required": false,
16565
- "type": "string"
16566
- },
16567
- {
16568
- "disabled": false,
16569
- "document": "请求集群addon的数据格式",
16570
- "example": "\"application/merge-patch+json\"",
16571
- "member": "string",
16572
- "name": "ContentType",
16573
- "required": false,
16574
- "type": "string"
16575
- },
16576
- {
16577
- "disabled": false,
16578
- "document": "请求集群addon的数据",
16579
- "example": "{\"kind\":\"App\",\"spec\":{}}",
16580
- "member": "string",
16581
- "name": "RequestBody",
16582
- "required": false,
16583
- "type": "string"
16584
- },
16585
- {
16586
- "disabled": false,
16587
- "document": "集群名称",
16588
- "example": "\"cls-0975tg3b\"",
16589
- "member": "string",
16590
- "name": "ClusterName",
16591
- "required": false,
16592
- "type": "string"
16593
- },
16594
- {
16595
- "disabled": false,
16596
- "document": "是否编码请求内容",
16597
- "example": "e30K",
16598
- "member": "string",
16599
- "name": "EncodedBody",
16600
- "required": false,
16601
- "type": "string"
16602
- }
16603
- ],
16604
- "type": "object"
16605
- },
16606
- "ForwardApplicationRequestV3Response": {
16607
- "document": "ForwardApplicationRequestV3返回参数结构体",
16608
- "members": [
16609
- {
16610
- "disabled": false,
16611
- "document": "请求集群addon后返回的数据",
16612
- "example": "{\"kind\":\"App\",\"spec\":{}}",
16613
- "member": "string",
16614
- "name": "ResponseBody",
16615
- "output_required": true,
16616
- "type": "string",
16617
- "value_allowed_null": false
16618
- },
16619
- {
16620
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
16621
- "member": "string",
16622
- "name": "RequestId",
16623
- "type": "string"
16624
- }
16625
- ],
16626
- "type": "object"
16627
- },
16628
16530
  "ForwardTKEEdgeApplicationRequestV3Request": {
16629
16531
  "document": "ForwardTKEEdgeApplicationRequestV3请求参数结构体",
16630
16532
  "members": [
@@ -20540,24 +20442,24 @@
20540
20442
  "members": [
20541
20443
  {
20542
20444
  "disabled": false,
20543
- "document": "策略实例名称",
20544
- "example": "block-namespace-deletion-rule",
20545
- "member": "string",
20546
- "name": "Name",
20445
+ "document": "策略实例关联事件数",
20446
+ "example": "3",
20447
+ "member": "uint64",
20448
+ "name": "EventNums",
20547
20449
  "output_required": false,
20548
20450
  "required": false,
20549
- "type": "string",
20451
+ "type": "int",
20550
20452
  "value_allowed_null": false
20551
20453
  },
20552
20454
  {
20553
20455
  "disabled": false,
20554
- "document": "策略实例关联事件数",
20555
- "example": "3",
20556
- "member": "uint64",
20557
- "name": "EventNums",
20456
+ "document": "策略实例名称",
20457
+ "example": "block-namespace-deletion-rule",
20458
+ "member": "string",
20459
+ "name": "Name",
20558
20460
  "output_required": false,
20559
20461
  "required": false,
20560
- "type": "int",
20462
+ "type": "string",
20561
20463
  "value_allowed_null": false
20562
20464
  },
20563
20465
  {
@@ -1504,14 +1504,6 @@
1504
1504
  "title": "启用vpc-cni网络"
1505
1505
  }
1506
1506
  ],
1507
- "ForwardApplicationRequestV3": [
1508
- {
1509
- "document": "",
1510
- "input": "https://tke.tencentcloudapi.com/?Action=ForwardApplicationRequestV3\n&Method=GET\n&Path=/apis/application.tkestack.io/v1/namespaces/cls-gk7cm35k/apps/\n&ClusterName=cls-gk7cm35k\n&<公共请求参数>",
1511
- "output": "{\n \"Response\": {\n \"ResponseBody\": \"{\\\"kind\\\":\\\"App\\\"}\",\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
1512
- "title": "操作TKE集群的addon"
1513
- }
1514
- ],
1515
1507
  "ForwardTKEEdgeApplicationRequestV3": [
1516
1508
  {
1517
1509
  "document": "",
@@ -427,8 +427,8 @@
427
427
  },
428
428
  {
429
429
  "disabled": false,
430
- "document": "该字段表示策略的具体编号,用于接口调度,在内容安全控制台中可配置。若不传入Biztype参数(留空),则代表采用默认的识别策略;传入则会在审核时根据业务场景采取不同的审核策略。<br>备注:Biztype仅为数字、字母与下划线的组合,长度为3-32个字符;不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype",
431
- "example": "182600012300002017",
430
+ "document": "该字段表示使用的策略的具体编号,该字段需要先在[内容安全控制台](#https://console.cloud.tencent.com/cms/clouds/manage)中配置,控制台访问地址:。\n备注:不同Biztype关联不同的业务场景与识别能力策略,调用前请确认正确的Biztype",
431
+ "example": "TencentCloudDefault",
432
432
  "member": "string",
433
433
  "name": "BizType",
434
434
  "required": false,
@@ -463,12 +463,21 @@
463
463
  },
464
464
  {
465
465
  "disabled": false,
466
- "document": "Content的原始语种,比如en,zh",
467
- "example": "en",
466
+ "document": "表示Content的原始语种,枚举值(\"en\",\"zh\",\"\")en表示英文,zh表示中文,空字符表示默认语种中文,非中文场景耗时会更高,具体由送审文本内容决定,非中文场景需要联系客服确认",
467
+ "example": "zh",
468
468
  "member": "string",
469
469
  "name": "SourceLanguage",
470
470
  "required": false,
471
471
  "type": "string"
472
+ },
473
+ {
474
+ "disabled": false,
475
+ "document": "审核的业务类型,枚举值有{\"\",\"TEXT\",\"TEXT_AIGC\"},缺省值\"\"和\"TEXT\"标识传统文本审核,\"TEXT_AIGC\"标识文本AIGC审核",
476
+ "example": "TEXT",
477
+ "member": "string",
478
+ "name": "Type",
479
+ "required": false,
480
+ "type": "string"
472
481
  }
473
482
  ],
474
483
  "type": "object"
@@ -479,7 +488,7 @@
479
488
  {
480
489
  "disabled": false,
481
490
  "document": "该字段用于返回请求参数中的BizType参数",
482
- "example": "182600012300002017",
491
+ "example": "TencentCloudDefault",
483
492
  "member": "string",
484
493
  "name": "BizType",
485
494
  "output_required": true,
@@ -509,7 +518,7 @@
509
518
  {
510
519
  "disabled": false,
511
520
  "document": "该字段用于返回当前标签(Label)下被检测文本命中的关键词信息,用于标注文本违规的具体原因(如:*加我微信*)。该参数可能会有多个返回值,代表命中的多个关键词;如返回值为空且Score不为空,则代表识别结果所对应的恶意标签(Label)是来自于语义模型判断的返回值\n注意:此字段可能返回 null,表示取不到有效值。",
512
- "example": "",
521
+ "example": "加好友",
513
522
  "member": "string",
514
523
  "name": "Keywords",
515
524
  "output_required": true,
@@ -549,7 +558,7 @@
549
558
  {
550
559
  "disabled": false,
551
560
  "document": "该字段用于返回根据您的需求配置的额外附加信息(Extra),如未配置则默认返回值为空。<br>备注:不同客户或Biztype下返回信息不同,如需配置该字段请提交工单咨询或联系售后专员处理\n注意:此字段可能返回 null,表示取不到有效值。",
552
- "example": "",
561
+ "example": "{ad}",
553
562
  "member": "string",
554
563
  "name": "Extra",
555
564
  "output_required": true,
@@ -579,7 +588,7 @@
579
588
  {
580
589
  "disabled": false,
581
590
  "document": "该字段用于返回上下文关联文本\n注意:此字段可能返回 null,表示取不到有效值。",
582
- "example": "",
591
+ "example": "加好友",
583
592
  "member": "string",
584
593
  "name": "ContextText",
585
594
  "output_required": true,
@@ -596,6 +605,16 @@
596
605
  "type": "object",
597
606
  "value_allowed_null": true
598
607
  },
608
+ {
609
+ "disabled": false,
610
+ "document": "该字段用于标识本次审核决策归因,比如text_nlp_tianji标识是由nlp tianji模型给出的审核决策,text_keyword_public标识命中了业务的关键词库",
611
+ "example": "text_nlp_tianji",
612
+ "member": "string",
613
+ "name": "HitType",
614
+ "output_required": false,
615
+ "type": "string",
616
+ "value_allowed_null": false
617
+ },
599
618
  {
600
619
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
601
620
  "member": "string",
@@ -3,8 +3,8 @@
3
3
  "TextModeration": [
4
4
  {
5
5
  "document": "",
6
- "input": "POST / HTTP/1.1\nHost: tms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TextModeration\n<公共请求参数>\n\n{\n \"Content\": \"5Yqg5oiR5aW95Y+LIOe7meS9oOS8mOaDoOWIuA==\",\n \"BizType\": \"test\"\n}",
7
- "output": "{\n \"Response\": {\n \"RequestId\": \"123\",\n \"BizType\": \"test\",\n \"Label\": \"Ad\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Block\",\n \"Keywords\": [\n \"优惠券\"\n ],\n \"Score\": 100,\n \"DataId\": \"CSFb_MJRV5piaczW\",\n \"DetailResults\": [\n {\n \"Label\": \"Polity\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Pass\",\n \"Keywords\": [],\n \"Score\": 0,\n \"LibType\": 0,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": []\n },\n {\n \"Label\": \"Ad\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Block\",\n \"Keywords\": [\n \"优惠券\"\n ],\n \"Score\": 100,\n \"LibType\": 2,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": [\n {\n \"Type\": \"Keyword\",\n \"Keyword\": \"优惠券\",\n \"LibName\": \"default_1_0_1256309736_100004528167\",\n \"Positions\": [\n {\n \"Start\": 7,\n \"End\": 10\n }\n ]\n }\n ]\n },\n {\n \"Label\": \"Abuse\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Pass\",\n \"Keywords\": [],\n \"Score\": 0,\n \"LibType\": 0,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": []\n },\n {\n \"Label\": \"Illegal\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Pass\",\n \"Keywords\": [],\n \"Score\": 0,\n \"LibType\": 0,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": []\n },\n {\n \"Label\": \"Terror\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Pass\",\n \"Keywords\": [],\n \"Score\": 0,\n \"LibType\": 0,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": []\n },\n {\n \"Label\": \"Porn\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Pass\",\n \"Keywords\": [],\n \"Score\": 2,\n \"LibType\": 0,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": []\n }\n ],\n \"RiskDetails\": null,\n \"Extra\": \"\",\n \"ContextText\": \"\",\n \"SentimentAnalysis\": {}\n }\n}",
6
+ "input": "POST / HTTP/1.1\nHost: tms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: TextModeration\n<公共请求参数>\n\n{\n \"Content\": \"5Yqg5oiR5aW95Y+LIOe7meS9oOS8mOaDoOWIuA==\",\n \"BizType\": \"TencentCloudDefault\"\n}",
7
+ "output": "{\n \"Response\": {\n \"RequestId\": \"d636333a-0d14-4962-8287-e6e8af0a10f2\",\n \"BizType\": \"test\",\n \"Label\": \"Ad\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Block\",\n \"Keywords\": [\n \"优惠券\"\n ],\n \"Score\": 100,\n \"DataId\": \"CSFb_MJRV5piaczW\",\n \"DetailResults\": [\n {\n \"Label\": \"Polity\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Pass\",\n \"Keywords\": [],\n \"Score\": 0,\n \"LibType\": 0,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": []\n },\n {\n \"Label\": \"Ad\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Block\",\n \"Keywords\": [\n \"优惠券\"\n ],\n \"Score\": 100,\n \"LibType\": 2,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": [\n {\n \"Type\": \"Keyword\",\n \"Keyword\": \"优惠券\",\n \"LibName\": \"default_1_0_1256309736_100004528167\",\n \"Positions\": [\n {\n \"Start\": 7,\n \"End\": 10\n }\n ]\n }\n ]\n },\n {\n \"Label\": \"Abuse\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Pass\",\n \"Keywords\": [],\n \"Score\": 0,\n \"LibType\": 0,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": []\n },\n {\n \"Label\": \"Illegal\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Pass\",\n \"Keywords\": [],\n \"Score\": 0,\n \"LibType\": 0,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": []\n },\n {\n \"Label\": \"Terror\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Pass\",\n \"Keywords\": [],\n \"Score\": 0,\n \"LibType\": 0,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": []\n },\n {\n \"Label\": \"Porn\",\n \"SubLabel\": \"\",\n \"Suggestion\": \"Pass\",\n \"Keywords\": [],\n \"Score\": 2,\n \"LibType\": 0,\n \"LibId\": \"\",\n \"LibName\": \"\",\n \"Tags\": null,\n \"HitInfos\": []\n }\n ],\n \"RiskDetails\": null,\n \"Extra\": \"\",\n \"ContextText\": \"\",\n \"SentimentAnalysis\": {}\n }\n}",
8
8
  "title": "文本内容安全"
9
9
  }
10
10
  ]
@@ -8388,7 +8388,7 @@
8388
8388
  "members": [
8389
8389
  {
8390
8390
  "disabled": false,
8391
- "document": "流日志实例名字。长度为不超过60个字节。",
8391
+ "document": "流日志实例名称。长度为不超过60个字符。",
8392
8392
  "example": "check-flowlog",
8393
8393
  "member": "string",
8394
8394
  "name": "FlowLogName",
@@ -8397,7 +8397,7 @@
8397
8397
  },
8398
8398
  {
8399
8399
  "disabled": false,
8400
- "document": "流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择VPC, SUBNET,CCN,DCG时,请通过工单加入白名单。",
8400
+ "document": "流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择VPC,SUBNET,CCN,DCG时,请通过工单加入白名单。",
8401
8401
  "example": "NETWORKINTERFACE",
8402
8402
  "member": "string",
8403
8403
  "name": "ResourceType",
@@ -8433,7 +8433,7 @@
8433
8433
  },
8434
8434
  {
8435
8435
  "disabled": false,
8436
- "document": "流日志实例描述。",
8436
+ "document": "流日志实例描述。长度不超过512个字符。",
8437
8437
  "example": "check-flowlog",
8438
8438
  "member": "string",
8439
8439
  "name": "FlowLogDescription",
@@ -8442,7 +8442,7 @@
8442
8442
  },
8443
8443
  {
8444
8444
  "disabled": false,
8445
- "document": "流日志存储ID(cls的日志主题ID,\n可通过[DescribeTopics](https://cloud.tencent.com/document/api/1179/46086)接口获取。\n)。当StorageType为cls时,CloudLogId为必选。",
8445
+ "document": "流日志存储ID(cls的日志主题ID,\n可通过[DescribeTopics](https://cloud.tencent.com/document/product/614/56454)接口获取。\n)。当StorageType为cls时,CloudLogId为必选。",
8446
8446
  "example": "99991111-2222-4444-9999-222266663333",
8447
8447
  "member": "string",
8448
8448
  "name": "CloudLogId",
@@ -8460,7 +8460,7 @@
8460
8460
  },
8461
8461
  {
8462
8462
  "disabled": false,
8463
- "document": "消费端类型:cls、ckafka。默认值cls。当选择kafka时,请通过工单加入白名单。",
8463
+ "document": "消费端类型:cls、ckafka。默认值cls。当选择ckafka时,请通过工单加入白名单。",
8464
8464
  "example": "cls",
8465
8465
  "member": "string",
8466
8466
  "name": "StorageType",
@@ -16073,8 +16073,8 @@
16073
16073
  },
16074
16074
  {
16075
16075
  "disabled": false,
16076
- "document": "流日志实例名字。",
16077
- "example": "demo",
16076
+ "document": "流日志实例名称。长度不超过60个字符。",
16077
+ "example": "FlowLogName1",
16078
16078
  "member": "string",
16079
16079
  "name": "FlowLogName",
16080
16080
  "required": false,
@@ -16082,7 +16082,7 @@
16082
16082
  },
16083
16083
  {
16084
16084
  "disabled": false,
16085
- "document": "流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。\n",
16085
+ "document": "流日志所属资源类型,VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。\n",
16086
16086
  "example": "VPC",
16087
16087
  "member": "string",
16088
16088
  "name": "ResourceType",
@@ -16188,7 +16188,7 @@
16188
16188
  {
16189
16189
  "disabled": false,
16190
16190
  "document": "流日志实例集合。",
16191
- "example": "[{\"ResourceId\": \"eni-78ysaex1\", \"VpcId\": \"vpc-pq9vxykj\", \"ResourceType\": \"NETWORKINTERFACE\", \"TrafficType\": \"ACCEPT\", \"StorageType\": \"kafka\", \"FlowLogId\": \"fl-2edhcclz\", \"FlowLogStorage\": {\"StorageTopic\": \"topic-siqmaox1\", \"StorageId\": \"ckafka-akwiqms1\"}}]",
16191
+ "example": "[{\"ResourceId\": \"eni-78ysaex1\", \"VpcId\": \"vpc-pq9vxykj\", \"ResourceType\": \"NETWORKINTERFACE\", \"StorageType\": \"ckafka\", \"FlowLogId\": \"fl-2edhcclz\", \"FlowLogStorage\": {\"StorageTopic\": \"topic-siqmaox1\", \"StorageId\": \"ckafka-akwiqms1\"}}]",
16192
16192
  "member": "FlowLog",
16193
16193
  "name": "FlowLog",
16194
16194
  "output_required": true,
@@ -27437,7 +27437,7 @@
27437
27437
  },
27438
27438
  {
27439
27439
  "disabled": false,
27440
- "document": "流日志实例名字。长度为不超过60字节。",
27440
+ "document": "流日志实例名称。长度为不超过60字符。",
27441
27441
  "example": "FlowLogName1",
27442
27442
  "member": "string",
27443
27443
  "name": "FlowLogName",
@@ -27446,7 +27446,7 @@
27446
27446
  },
27447
27447
  {
27448
27448
  "disabled": false,
27449
- "document": "流日志实例描述。长度为不超过512字节。",
27449
+ "document": "流日志实例描述。长度为不超过512个字符。",
27450
27450
  "example": "FlowLogDescription1",
27451
27451
  "member": "string",
27452
27452
  "name": "FlowLogDescription",
@@ -1588,7 +1588,7 @@
1588
1588
  {
1589
1589
  "document": "查询流日志实例信息",
1590
1590
  "input": "https://vpc.tencentcloudapi.com/?Action=DescribeFlowLog\n&VpcId=vpc-pq9vxykj\n&FlowLogId=fl-f42uhpkj\n&<公共请求参数>",
1591
- "output": "{\n \"Response\": {\n \"FlowLog\": [\n {\n \"CloudLogId\": \"dfb8f1a2-8522-47c1-8571-67905167ab3f\",\n \"CloudLogState\": \"SUCCESS\",\n \"CreatedTime\": \"2019-05-08 10:48:26\",\n \"FlowLogDescription\": \"\",\n \"FlowLogId\": \"fl-f42uhpkj\",\n \"FlowLogName\": \"demo\",\n \"ResourceId\": \"eni-78ysaex1\",\n \"ResourceType\": \"NETWORKINTERFACE\",\n \"TrafficType\": \"ACCEPT\",\n \"VpcId\": \"vpc-pq9vxykj\",\n \"StorageType\": \"cls\",\n \"FlowLogStorage\": {\n \"StorageTopic\": \"topic-siqmaox1\",\n \"StorageId\": \"ckafka-akwiqms1\"\n },\n \"TagSet\": [],\n \"Enable\": true,\n \"CloudLogRegion\": \"\"\n }\n ],\n \"RequestId\": \"404428db-f850-40c2-803d-0aae49aba43a\"\n }\n}",
1591
+ "output": "{\n \"Response\": {\n \"FlowLog\": [\n {\n \"CloudLogId\": \"dfb8f1a2-8522-47c1-8571-67905167ab3f\",\n \"CloudLogState\": \"SUCCESS\",\n \"CreatedTime\": \"2019-05-08 10:48:26\",\n \"FlowLogDescription\": \"\",\n \"FlowLogId\": \"fl-f42uhpkj\",\n \"FlowLogName\": \"demo\",\n \"ResourceId\": \"eni-78ysaex1\",\n \"ResourceType\": \"NETWORKINTERFACE\",\n \"TrafficType\": \"ACCEPT\",\n \"VpcId\": \"vpc-pq9vxykj\",\n \"StorageType\": \"ckafka\",\n \"FlowLogStorage\": {\n \"StorageTopic\": \"topic-siqmaox1\",\n \"StorageId\": \"ckafka-akwiqms1\"\n },\n \"TagSet\": [],\n \"Enable\": true,\n \"CloudLogRegion\": \"\"\n }\n ],\n \"RequestId\": \"404428db-f850-40c2-803d-0aae49aba43a\"\n }\n}",
1592
1592
  "title": "查询流日志实例信息"
1593
1593
  }
1594
1594
  ],
@@ -1596,7 +1596,7 @@
1596
1596
  {
1597
1597
  "document": "查询流日志集合",
1598
1598
  "input": "POST / HTTP/1.1\nHost: vpc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeFlowLogs\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0\n}",
1599
- "output": "{\n \"Response\": {\n \"FlowLog\": [\n {\n \"CloudLogId\": \"dfb8f1a2-8522-47c1-8571-67905167ab3f\",\n \"CloudLogRegion\": \"ap-guangzhou\",\n \"CloudLogState\": \"SUCCESS\",\n \"CreatedTime\": \"2019-05-07 18:00:26\",\n \"FlowLogDescription\": \"\",\n \"FlowLogId\": \"fl-2edhcclz\",\n \"FlowLogName\": \"demo\",\n \"ResourceId\": \"eni-78ysaex1\",\n \"ResourceType\": \"NETWORKINTERFACE\",\n \"TrafficType\": \"ACCEPT\",\n \"VpcId\": \"vpc-pq9vxykj\",\n \"StorageType\": \"cls\",\n \"FlowLogStorage\": {\n \"StorageTopic\": \"topic-siqmaox1\",\n \"StorageId\": \"ckafka-akwiqms1\"\n },\n \"TagSet\": [],\n \"Enable\": true\n },\n {\n \"CloudLogId\": \"dfb8f1a2-8522-47c1-8571-67905167ab3f\",\n \"CloudLogRegion\": \"ap-guangzhou\",\n \"CloudLogState\": \"SUCCESS\",\n \"CreatedTime\": \"2019-05-08 10:48:26\",\n \"FlowLogDescription\": \"\",\n \"FlowLogId\": \"fl-f42uhpkj\",\n \"FlowLogName\": \"demo\",\n \"ResourceId\": \"eni-78ysaex1\",\n \"ResourceType\": \"NETWORKINTERFACE\",\n \"TrafficType\": \"ACCEPT\",\n \"VpcId\": \"vpc-pq9vxykj\",\n \"StorageType\": \"cls\",\n \"FlowLogStorage\": {\n \"StorageTopic\": \"topic-siqmaox1\",\n \"StorageId\": \"ckafka-akwiqms1\"\n },\n \"TagSet\": [],\n \"Enable\": true\n }\n ],\n \"TotalNum\": 2,\n \"RequestId\": \"404428db-f850-40c2-803d-0aae49aba43a\"\n }\n}",
1599
+ "output": "{\n \"Response\": {\n \"FlowLog\": [\n {\n \"CloudLogId\": \"dfb8f1a2-8522-47c1-8571-67905167ab3f\",\n \"CloudLogRegion\": \"ap-guangzhou\",\n \"CloudLogState\": \"SUCCESS\",\n \"CreatedTime\": \"2019-05-07 18:00:26\",\n \"FlowLogDescription\": \"\",\n \"FlowLogId\": \"fl-2edhcclz\",\n \"FlowLogName\": \"FlowLogName1\",\n \"ResourceId\": \"eni-78ysaex1\",\n \"ResourceType\": \"NETWORKINTERFACE\",\n \"TrafficType\": \"ACCEPT\",\n \"VpcId\": \"vpc-pq9vxykj\",\n \"StorageType\": \"ckafka\",\n \"FlowLogStorage\": {\n \"StorageTopic\": \"topic-siqmaox1\",\n \"StorageId\": \"ckafka-akwiqms1\"\n },\n \"TagSet\": [],\n \"Enable\": true\n },\n {\n \"CloudLogId\": \"dfb8f1a2-8522-47c1-8571-67905167ab3f\",\n \"CloudLogRegion\": \"ap-guangzhou\",\n \"CloudLogState\": \"SUCCESS\",\n \"CreatedTime\": \"2019-05-08 10:48:26\",\n \"FlowLogDescription\": \"\",\n \"FlowLogId\": \"fl-f42uhpkj\",\n \"FlowLogName\": \"FlowLogName2\",\n \"ResourceId\": \"eni-78ysaex1\",\n \"ResourceType\": \"NETWORKINTERFACE\",\n \"TrafficType\": \"ACCEPT\",\n \"VpcId\": \"vpc-pq9vxykj\",\n \"StorageType\": \"ckafka\",\n \"FlowLogStorage\": {\n \"StorageTopic\": \"topic-siqmaox1\",\n \"StorageId\": \"ckafka-akwiqms1\"\n },\n \"TagSet\": [],\n \"Enable\": true\n }\n ],\n \"TotalNum\": 2,\n \"RequestId\": \"404428db-f850-40c2-803d-0aae49aba43a\"\n }\n}",
1600
1600
  "title": "查询流日志集合"
1601
1601
  },
1602
1602
  {
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tccli
3
- Version: 3.0.1315.1
3
+ Version: 3.0.1316.1
4
4
  Summary: Universal Command Line Environment for Tencent Cloud
5
5
  Project-URL: Bug Tracker, https://github.com/TencentCloud/tencentcloud-cli/issues
6
6
  Project-URL: Homepage, https://github.com/TencentCloud/tencentcloud-cli
@@ -13,7 +13,7 @@ Classifier: Programming Language :: Python :: 2.7
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Requires-Dist: jmespath==0.10.0
15
15
  Requires-Dist: six==1.16.0
16
- Requires-Dist: tencentcloud-sdk-python>=3.0.1315
16
+ Requires-Dist: tencentcloud-sdk-python>=3.0.1316
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # 命令行工具简介