tccli 3.0.1376.1__py2.py3-none-any.whl → 3.0.1377.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 (52) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/bi/bi_client.py +53 -0
  3. tccli/services/bi/v20220105/api.json +101 -0
  4. tccli/services/bi/v20220105/examples.json +8 -0
  5. tccli/services/cdb/v20170320/api.json +16 -6
  6. tccli/services/cdb/v20170320/examples.json +1 -1
  7. tccli/services/cfs/v20190719/api.json +1 -1
  8. tccli/services/cls/v20201016/api.json +13 -13
  9. tccli/services/cls/v20201016/examples.json +1 -1
  10. tccli/services/csip/v20221121/api.json +12 -12
  11. tccli/services/cwp/v20180228/api.json +39 -9
  12. tccli/services/cwp/v20180228/examples.json +6 -0
  13. tccli/services/cynosdb/v20190107/api.json +1 -1
  14. tccli/services/dc/v20180410/api.json +18 -0
  15. tccli/services/dlc/v20210125/api.json +27 -8
  16. tccli/services/dlc/v20210125/examples.json +2 -2
  17. tccli/services/dts/dts_client.py +79 -26
  18. tccli/services/dts/v20211206/api.json +34 -0
  19. tccli/services/dts/v20211206/examples.json +8 -0
  20. tccli/services/ess/ess_client.py +106 -0
  21. tccli/services/ess/v20201111/api.json +137 -2
  22. tccli/services/ess/v20201111/examples.json +16 -0
  23. tccli/services/essbasic/v20210526/api.json +6 -6
  24. tccli/services/faceid/v20180301/api.json +1 -1
  25. tccli/services/ioa/ioa_client.py +106 -0
  26. tccli/services/ioa/v20220601/api.json +498 -0
  27. tccli/services/ioa/v20220601/examples.json +16 -0
  28. tccli/services/iotexplorer/v20190423/api.json +52 -1
  29. tccli/services/iotexplorer/v20190423/examples.json +78 -6
  30. tccli/services/live/v20180801/api.json +1 -1
  31. tccli/services/lkeap/v20240522/api.json +17 -7
  32. tccli/services/mna/v20210119/api.json +1 -1
  33. tccli/services/mongodb/v20190725/api.json +22 -10
  34. tccli/services/mps/v20190612/api.json +112 -2
  35. tccli/services/mqtt/mqtt_client.py +265 -0
  36. tccli/services/mqtt/v20240516/api.json +480 -0
  37. tccli/services/mqtt/v20240516/examples.json +40 -0
  38. tccli/services/ocr/v20181119/api.json +5 -5
  39. tccli/services/partners/v20180321/api.json +5 -5
  40. tccli/services/rce/v20201103/api.json +1 -1
  41. tccli/services/tdmq/v20200217/api.json +1 -1
  42. tccli/services/tione/v20211111/api.json +200 -20
  43. tccli/services/tione/v20211111/examples.json +1 -1
  44. tccli/services/tke/v20180525/api.json +10 -0
  45. tccli/services/tke/v20220501/api.json +20 -2
  46. tccli/services/trtc/v20190722/api.json +6 -6
  47. tccli/services/vpc/v20170312/api.json +11 -2
  48. {tccli-3.0.1376.1.dist-info → tccli-3.0.1377.1.dist-info}/METADATA +2 -2
  49. {tccli-3.0.1376.1.dist-info → tccli-3.0.1377.1.dist-info}/RECORD +52 -52
  50. {tccli-3.0.1376.1.dist-info → tccli-3.0.1377.1.dist-info}/WHEEL +0 -0
  51. {tccli-3.0.1376.1.dist-info → tccli-3.0.1377.1.dist-info}/entry_points.txt +0 -0
  52. {tccli-3.0.1376.1.dist-info → tccli-3.0.1377.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1376.1'
1
+ __version__ = '3.0.1377.1'
@@ -901,6 +901,58 @@ def doModifyDatasourceCloud(args, parsed_globals):
901
901
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
902
902
 
903
903
 
904
+ def doClearEmbedToken(args, parsed_globals):
905
+ g_param = parse_global_arg(parsed_globals)
906
+
907
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
908
+ cred = credential.CVMRoleCredential()
909
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
910
+ cred = credential.STSAssumeRoleCredential(
911
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
912
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
913
+ )
914
+ 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):
915
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
916
+ else:
917
+ cred = credential.Credential(
918
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
919
+ )
920
+ http_profile = HttpProfile(
921
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
922
+ reqMethod="POST",
923
+ endpoint=g_param[OptionsDefine.Endpoint],
924
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
925
+ )
926
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
927
+ if g_param[OptionsDefine.Language]:
928
+ profile.language = g_param[OptionsDefine.Language]
929
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
930
+ client = mod.BiClient(cred, g_param[OptionsDefine.Region], profile)
931
+ client._sdkVersion += ("_CLI_" + __version__)
932
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
933
+ model = models.ClearEmbedTokenRequest()
934
+ model.from_json_string(json.dumps(args))
935
+ start_time = time.time()
936
+ while True:
937
+ rsp = client.ClearEmbedToken(model)
938
+ result = rsp.to_json_string()
939
+ try:
940
+ json_obj = json.loads(result)
941
+ except TypeError as e:
942
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
943
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
944
+ break
945
+ cur_time = time.time()
946
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
947
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
948
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
949
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
950
+ else:
951
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
952
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
953
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
954
+
955
+
904
956
  def doCreateUserRoleProject(args, parsed_globals):
905
957
  g_param = parse_global_arg(parsed_globals)
906
958
 
@@ -1293,6 +1345,7 @@ ACTION_MAP = {
1293
1345
  "DescribePageWidgetList": doDescribePageWidgetList,
1294
1346
  "DescribeUserRoleProjectList": doDescribeUserRoleProjectList,
1295
1347
  "ModifyDatasourceCloud": doModifyDatasourceCloud,
1348
+ "ClearEmbedToken": doClearEmbedToken,
1296
1349
  "CreateUserRoleProject": doCreateUserRoleProject,
1297
1350
  "DeleteUserRoleProject": doDeleteUserRoleProject,
1298
1351
  "ApplyEmbedInterval": doApplyEmbedInterval,
@@ -7,6 +7,13 @@
7
7
  "output": "ApplyEmbedIntervalResponse",
8
8
  "status": "online"
9
9
  },
10
+ "ClearEmbedToken": {
11
+ "document": "强鉴权token 清理,只有企业管理员才能调用该接口",
12
+ "input": "ClearEmbedTokenRequest",
13
+ "name": "清理强鉴权token",
14
+ "output": "ClearEmbedTokenResponse",
15
+ "status": "online"
16
+ },
10
17
  "CreateDatasource": {
11
18
  "document": "创建数据源",
12
19
  "input": "CreateDatasourceRequest",
@@ -431,6 +438,100 @@
431
438
  ],
432
439
  "usage": "both"
433
440
  },
441
+ "ClearEmbedTokenRequest": {
442
+ "document": "ClearEmbedToken请求参数结构体",
443
+ "members": [
444
+ {
445
+ "disabled": false,
446
+ "document": "项目id",
447
+ "example": "ProjectId",
448
+ "member": "string",
449
+ "name": "ProjectId",
450
+ "required": true,
451
+ "type": "string"
452
+ },
453
+ {
454
+ "disabled": false,
455
+ "document": "主账号id",
456
+ "example": "UserCorpId",
457
+ "member": "string",
458
+ "name": "UserCorpId",
459
+ "required": true,
460
+ "type": "string"
461
+ },
462
+ {
463
+ "disabled": false,
464
+ "document": "panel , page",
465
+ "example": "Scope",
466
+ "member": "string",
467
+ "name": "Scope",
468
+ "required": true,
469
+ "type": "string"
470
+ },
471
+ {
472
+ "disabled": false,
473
+ "document": "page id",
474
+ "example": "PageId",
475
+ "member": "string",
476
+ "name": "PageId",
477
+ "required": false,
478
+ "type": "string"
479
+ }
480
+ ],
481
+ "type": "object"
482
+ },
483
+ "ClearEmbedTokenResponse": {
484
+ "document": "ClearEmbedToken返回参数结构体",
485
+ "members": [
486
+ {
487
+ "disabled": false,
488
+ "document": "自定义错误信息对象\n注意:此字段可能返回 null,表示取不到有效值。",
489
+ "example": "无",
490
+ "member": "ErrorInfo",
491
+ "name": "ErrorInfo",
492
+ "output_required": false,
493
+ "type": "object",
494
+ "value_allowed_null": true
495
+ },
496
+ {
497
+ "disabled": false,
498
+ "document": "额外消息\n注意:此字段可能返回 null,表示取不到有效值。",
499
+ "example": "无",
500
+ "member": "string",
501
+ "name": "Extra",
502
+ "output_required": false,
503
+ "type": "string",
504
+ "value_allowed_null": true
505
+ },
506
+ {
507
+ "disabled": false,
508
+ "document": "提示消息\n注意:此字段可能返回 null,表示取不到有效值。",
509
+ "example": "无",
510
+ "member": "string",
511
+ "name": "Msg",
512
+ "output_required": false,
513
+ "type": "string",
514
+ "value_allowed_null": true
515
+ },
516
+ {
517
+ "disabled": false,
518
+ "document": "结果\n注意:此字段可能返回 null,表示取不到有效值。",
519
+ "example": "false",
520
+ "member": "bool",
521
+ "name": "Data",
522
+ "output_required": false,
523
+ "type": "bool",
524
+ "value_allowed_null": true
525
+ },
526
+ {
527
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
528
+ "member": "string",
529
+ "name": "RequestId",
530
+ "type": "string"
531
+ }
532
+ ],
533
+ "type": "object"
534
+ },
434
535
  "CorpUserListData": {
435
536
  "document": "企业用户列表",
436
537
  "members": [
@@ -8,6 +8,14 @@
8
8
  "title": "申请Token延期接口实例"
9
9
  }
10
10
  ],
11
+ "ClearEmbedToken": [
12
+ {
13
+ "document": "",
14
+ "input": "POST / HTTP/1.1\nHost: bi.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ClearEmbedToken\n<公共请求参数>\n\n{\n \"ProjectId\": \"889\",\n \"UserCorpId\": \"700000777778\",\n \"Scope\": \"page\",\n \"PageId\": \"8991\"\n}",
15
+ "output": "{\n \"Response\": {\n \"Extra\": \"Extra\",\n \"Msg\": \"Msg\",\n \"Data\": false,\n \"RequestId\": \"RequestId\"\n }\n}",
16
+ "title": "page token 清理"
17
+ }
18
+ ],
11
19
  "CreateDatasource": [
12
20
  {
13
21
  "document": "创建数据源",
@@ -1149,7 +1149,7 @@
1149
1149
  "status": "online"
1150
1150
  },
1151
1151
  "StopRollback": {
1152
- "document": "本接口(StopRollback) 用于撤销实例正在进行的回档任务,该接口返回一个异步任务id。 撤销结果可以通过 DescribeAsyncRequestInfo 查询任务的执行情况。",
1152
+ "document": "本接口(StopRollback)用于撤销实例正在进行的回档任务,该接口返回一个异步任务 ID。撤销结果可以通过 [DescribeAsyncRequestInfo](https://cloud.tencent.com/document/api/236/20410) 查询任务的执行情况。",
1153
1153
  "input": "StopRollbackRequest",
1154
1154
  "name": "撤销回档任务",
1155
1155
  "output": "StopRollbackResponse",
@@ -12312,7 +12312,7 @@
12312
12312
  "value_allowed_null": false
12313
12313
  },
12314
12314
  {
12315
- "disabled": false,
12315
+ "disabled": true,
12316
12316
  "document": "代理配置",
12317
12317
  "example": "无",
12318
12318
  "member": "CustomConfig",
@@ -12324,13 +12324,23 @@
12324
12324
  {
12325
12325
  "disabled": false,
12326
12326
  "document": "权重限制",
12327
- "example": "{\"LessThan\":2000,\"Weight\":1}",
12327
+ "example": "",
12328
12328
  "member": "Rule",
12329
12329
  "name": "WeightRule",
12330
12330
  "output_required": true,
12331
12331
  "type": "object",
12332
12332
  "value_allowed_null": false
12333
12333
  },
12334
+ {
12335
+ "disabled": false,
12336
+ "document": "代理配置",
12337
+ "example": "无",
12338
+ "member": "CustomConfig",
12339
+ "name": "CustomConfInfo",
12340
+ "output_required": true,
12341
+ "type": "list",
12342
+ "value_allowed_null": false
12343
+ },
12334
12344
  {
12335
12345
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
12336
12346
  "member": "string",
@@ -21109,7 +21119,7 @@
21109
21119
  "members": [
21110
21120
  {
21111
21121
  "disabled": false,
21112
- "document": "撤销回档任务对应的实例Id。",
21122
+ "document": "撤销回档任务对应的实例 ID。可通过 [DescribeDBInstances](https://cloud.tencent.com/document/api/236/15872) 接口获取。",
21113
21123
  "example": "cdb-9303wd4x",
21114
21124
  "member": "string",
21115
21125
  "name": "InstanceId",
@@ -21124,11 +21134,11 @@
21124
21134
  "members": [
21125
21135
  {
21126
21136
  "disabled": false,
21127
- "document": "执行请求的异步任务ID",
21137
+ "document": "执行请求的异步任务 ID",
21128
21138
  "example": "256117ed-efa08b54-61784d44-91781bbd",
21129
21139
  "member": "string",
21130
21140
  "name": "AsyncRequestId",
21131
- "required": true,
21141
+ "output_required": true,
21132
21142
  "type": "string",
21133
21143
  "value_allowed_null": false
21134
21144
  },
@@ -802,7 +802,7 @@
802
802
  {
803
803
  "document": "",
804
804
  "input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeProxyCustomConf\n<公共请求参数>\n\n{\n \"InstanceId\": \"cdb-2wpip1dd\",\n \"Limit\": 1,\n \"Offset\": 0\n}",
805
- "output": "{\n \"Response\": {\n \"Count\": 1,\n \"CustomConf\": {\n \"Device\": \"Z3\",\n \"Type\": \"高可用版本\",\n \"DeviceType\": \"custom\",\n \"Memory\": 4000,\n \"Cpu\": 2\n },\n \"WeightRule\": {\n \"LessThan\": 2000,\n \"Weight\": 1\n },\n \"RequestId\": \"9bd2a785-2dc0-47dc-b285-2b154a218ea1\"\n }\n}",
805
+ "output": "{\n \"Response\": {\n \"Count\": 1,\n \"CustomConfInfo\": [\n {\n \"Device\": \"Z3\",\n \"Type\": \"高可用版本\",\n \"DeviceType\": \"custom\",\n \"Memory\": 4000,\n \"Cpu\": 2\n }\n ],\n \"WeightRule\": {\n \"LessThan\": 2000,\n \"Weight\": 1\n },\n \"RequestId\": \"9bd2a785-2dc0-47dc-b285-2b154a218ea1\"\n }\n}",
806
806
  "title": "查询数据库代理规格配置"
807
807
  }
808
808
  ],
@@ -3658,7 +3658,7 @@
3658
3658
  },
3659
3659
  {
3660
3660
  "disabled": false,
3661
- "document": "create:创建目录 check:确认目录是否存在 move: 对目录做mv 操作",
3661
+ "document": "create:创建目录,等同于mkdir。\ncheck:确认目录是否存在,等同于stat。\nmove:对文件/目录进行重命名,等同于mv",
3662
3662
  "example": "check",
3663
3663
  "member": "string",
3664
3664
  "name": "OpetationType",
@@ -4730,7 +4730,7 @@
4730
4730
  },
4731
4731
  {
4732
4732
  "disabled": false,
4733
- "document": "源日志主题",
4733
+ "document": "日志主题ID\n- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。",
4734
4734
  "example": "topicid-1",
4735
4735
  "member": "string",
4736
4736
  "name": "SrcTopicId",
@@ -4739,7 +4739,7 @@
4739
4739
  },
4740
4740
  {
4741
4741
  "disabled": false,
4742
- "document": "加工任务名称",
4742
+ "document": "加工任务名称\n名称限制\n- 不能为空字符串\n- 不能包含字符'|'\n- 最长 255 个字符",
4743
4743
  "example": "task1",
4744
4744
  "member": "string",
4745
4745
  "name": "Name",
@@ -4766,8 +4766,8 @@
4766
4766
  },
4767
4767
  {
4768
4768
  "disabled": false,
4769
- "document": "加工任务目的topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写。",
4770
- "example": "{\"dst_topics\":[{\"topic_id\":\"xxx\", \"alias\":\"topic\"}]}",
4769
+ "document": "加工任务目标topic_id以及别名,当FuncType=1时,该参数必填,当FuncType=2时,无需填写。\n目标topic_id,通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。\n别名限制 1.不能为空字符串,2. 不能包含字符'|'。\n",
4770
+ "example": "",
4771
4771
  "member": "DataTransformResouceInfo",
4772
4772
  "name": "DstResources",
4773
4773
  "required": false,
@@ -4784,7 +4784,7 @@
4784
4784
  },
4785
4785
  {
4786
4786
  "disabled": false,
4787
- "document": "用于预览加工结果的测试数据",
4787
+ "document": "用于预览加工结果的测试数据\n目标日志主题ID通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。",
4788
4788
  "example": "无",
4789
4789
  "member": "PreviewLogStatistic",
4790
4790
  "name": "PreviewLogStatistics",
@@ -6484,7 +6484,7 @@
6484
6484
  },
6485
6485
  {
6486
6486
  "disabled": false,
6487
- "document": "加工任务类型,1: DSL, 2:SQL",
6487
+ "document": "加工任务类型,1: DSL(使用自定义加工语言的加工任务), 2:SQL(使用sql的加工任务)",
6488
6488
  "example": "1",
6489
6489
  "member": "int64",
6490
6490
  "name": "Type",
@@ -6524,7 +6524,7 @@
6524
6524
  },
6525
6525
  {
6526
6526
  "disabled": false,
6527
- "document": "最近修改时间",
6527
+ "document": "最近修改时间\n示例值:2025-06-18 16:55:54",
6528
6528
  "example": "2024-03-20 15:51:01",
6529
6529
  "member": "string",
6530
6530
  "name": "UpdateTime",
@@ -6534,7 +6534,7 @@
6534
6534
  },
6535
6535
  {
6536
6536
  "disabled": false,
6537
- "document": "最后启用时间,如果需要重建集群,修改该时间",
6537
+ "document": "最后启用时间,如果需要重建集群,修改该时间\n示例值:2025-06-18 19:55:54",
6538
6538
  "example": "2024-03-20 15:50:00",
6539
6539
  "member": "string",
6540
6540
  "name": "LastEnableTime",
@@ -6565,7 +6565,7 @@
6565
6565
  {
6566
6566
  "disabled": false,
6567
6567
  "document": "加工任务目的topic_id以及别名",
6568
- "example": "{\"dst_topics\":[{\"topic_id\":\"xxx\", \"alias\":\"topic\"}]}",
6568
+ "example": "",
6569
6569
  "member": "DataTransformResouceInfo",
6570
6570
  "name": "DstResources",
6571
6571
  "output_required": true,
@@ -8198,7 +8198,7 @@
8198
8198
  "members": [
8199
8199
  {
8200
8200
  "disabled": false,
8201
- "document": "- taskName\n按照【加工任务名称】进行过滤。\n类型:String\n必选:否\n\n- taskId\n按照【加工任务id】进行过滤。\n类型:String\n必选:否\n\n- topicId\n按照【源topicId】进行过滤。\n类型:String\n必选:否\n- status\n按照【 任务运行状态】进行过滤。 1:准备中,2:运行中,3:停止中,4:已停止\n类型:String\n必选:否\n- hasServiceLog\n按照【是否开启服务日志】进行过滤。 1:未开启,2:已开启\n类型:String\n必选:否\n- dstTopicType\n按照【目标topic类型】进行过滤。 1:固定,2:动态\n类型:String\n必选:否\n\n每次请求的Filters的上限为10,Filter.Values的上限为100。",
8201
+ "document": "- taskName\n按照【加工任务名称】进行过滤。\n类型:String\n必选:否\n示例:test-task\n\n- taskId\n按照【加工任务id】进行过滤。\n类型:String\n必选:否\n示例:a3622556-6402-4942-b4ff-5ae32ec29810\n数据加工任务ID- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。\n\n- topicId\n按照【源topicId】进行过滤。\n类型:String\n必选:否\n示例:756cec3e-a0a5-44c3-85a8-090870582000\n日志主题ID\n- 通过[获取日志主题列表](https://cloud.tencent.com/document/product/614/56454)获取日志主题Id。\n\n- status\n按照【 任务运行状态】进行过滤。 1:准备中,2:运行中,3:停止中,4:已停止\n类型:String\n必选:否\n示例:1\n\n- hasServiceLog\n按照【是否开启服务日志】进行过滤。 1:未开启,2:已开启\n类型:String\n必选:否\n示例:1\n\n- dstTopicType\n按照【目标topic类型】进行过滤。 1:固定,2:动态\n类型:String\n必选:否\n示例:1\n\n每次请求的Filters的上限为10,Filter.Values的上限为100。",
8202
8202
  "example": "无",
8203
8203
  "member": "Filter",
8204
8204
  "name": "Filters",
@@ -8234,7 +8234,7 @@
8234
8234
  },
8235
8235
  {
8236
8236
  "disabled": false,
8237
- "document": "Type为1, 此参数必填",
8237
+ "document": "Type为1, 此参数必填\n数据加工任务ID- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。",
8238
8238
  "example": "task-id",
8239
8239
  "member": "string",
8240
8240
  "name": "TaskId",
@@ -12782,7 +12782,7 @@
12782
12782
  "members": [
12783
12783
  {
12784
12784
  "disabled": false,
12785
- "document": "加工任务id",
12785
+ "document": "数据加工任务ID\n- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务Id。",
12786
12786
  "example": "abdeace6-9484-4d2e-b670-28289c42b60f",
12787
12787
  "member": "string",
12788
12788
  "name": "TaskId",
@@ -12791,7 +12791,7 @@
12791
12791
  },
12792
12792
  {
12793
12793
  "disabled": false,
12794
- "document": "加工任务名称",
12794
+ "document": "加工任务名称\n- 通过[获取数据加工任务列表基本信息](https://cloud.tencent.com/document/product/614/72182)获取数据加工任务名称。\n\n名称限制\n- 不能为空字符串\n- 不能包含字符'|'\n- 最长 255 个字符",
12795
12795
  "example": "task1",
12796
12796
  "member": "string",
12797
12797
  "name": "Name",
@@ -789,7 +789,7 @@
789
789
  "ModifyDataTransform": [
790
790
  {
791
791
  "document": "数据加工提供对日志数据的过滤、清洗、脱敏、富化、分发等能力,可对标开源组件 Logstash。使用数据加工DSL(Domain Specified Language )函数,底层基于 Flink 实现,您可轻松处理日志流数据。\n",
792
- "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDataTransform\n<公共请求参数>\n\n{\n \"DstResources\": [\n {\n \"TopicId\": \"81XXXXe5-e39e-4a1e-b2d4-a778df97d825\",\n \"Alias\": \"别名\"\n }\n ],\n \"EnableFlag\": 0,\n \"EtlContent\": \"fields_set()\",\n \"Name\": \"我的数据加工\",\n \"TaskId\": \"e4fcXXXX-5e8a-4fe0-b52c-76eeca53e9af\"\n}",
792
+ "input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyDataTransform\n<公共请求参数>\n\n{\n \"DstResources\": [\n {\n \"TopicId\": \"81XXXXe5-e39e-4a1e-b2d4-a778df97d825\",\n \"Alias\": \"别名\"\n }\n ],\n \"EnableFlag\": 1,\n \"EtlContent\": \"fields_set()\",\n \"Name\": \"我的数据加工\",\n \"TaskId\": \"e4fcXXXX-5e8a-4fe0-b52c-76eeca53e9af\"\n}",
793
793
  "output": "{\n \"Response\": {\n \"RequestId\": \"6ef60bec-0242-43af-bb20-270359fb54a7\"\n }\n}",
794
794
  "title": "修改数据加工任务"
795
795
  }
@@ -597,8 +597,8 @@
597
597
  },
598
598
  {
599
599
  "disabled": false,
600
- "document": "ak具体值\n临时密钥时返回临时密钥",
601
- "example": "AKID***FGAW1 ",
600
+ "document": "ak具体值\\n\n临时密钥时返回临时密钥",
601
+ "example": "AKID********",
602
602
  "member": "string",
603
603
  "name": "Name",
604
604
  "output_required": true,
@@ -19693,7 +19693,7 @@
19693
19693
  {
19694
19694
  "disabled": false,
19695
19695
  "document": "子账号UIn",
19696
- "example": "100*3**012345",
19696
+ "example": "10001**271828",
19697
19697
  "member": "string",
19698
19698
  "name": "Uin",
19699
19699
  "output_required": true,
@@ -19723,7 +19723,7 @@
19723
19723
  {
19724
19724
  "disabled": false,
19725
19725
  "document": "主账号Uin",
19726
- "example": "10033**12345",
19726
+ "example": "10002**271828",
19727
19727
  "member": "string",
19728
19728
  "name": "OwnerUin",
19729
19729
  "output_required": true,
@@ -19822,7 +19822,7 @@
19822
19822
  },
19823
19823
  {
19824
19824
  "disabled": false,
19825
- "document": "是否接入云审计日志",
19825
+ "document": "是否接入操作审计日志",
19826
19826
  "example": "false",
19827
19827
  "member": "bool",
19828
19828
  "name": "IsAccessCloudAudit",
@@ -20581,7 +20581,7 @@
20581
20581
  {
20582
20582
  "disabled": false,
20583
20583
  "document": "发生事件",
20584
- "example": "{ \"EventType\": 2, \"Content\": \"zero**\" }",
20584
+ "example": "",
20585
20585
  "member": "UebaEventContent",
20586
20586
  "name": "EventContent",
20587
20587
  "output_required": true,
@@ -20658,7 +20658,7 @@
20658
20658
  {
20659
20659
  "disabled": false,
20660
20660
  "document": "日志中文名",
20661
- "example": "云审计读日志",
20661
+ "example": "操作审计读日志",
20662
20662
  "member": "string",
20663
20663
  "name": "LogTypeStr",
20664
20664
  "output_required": true,
@@ -20725,7 +20725,7 @@
20725
20725
  {
20726
20726
  "disabled": false,
20727
20727
  "document": "策略id",
20728
- "example": "rule-abc1234",
20728
+ "example": "rule-example-271828",
20729
20729
  "member": "string",
20730
20730
  "name": "RuleID",
20731
20731
  "output_required": true,
@@ -20735,7 +20735,7 @@
20735
20735
  {
20736
20736
  "disabled": false,
20737
20737
  "document": "规则名称",
20738
- "example": "海外IP调用高危接口",
20738
+ "example": "境外IP调用高危接口",
20739
20739
  "member": "string",
20740
20740
  "name": "RuleName",
20741
20741
  "output_required": true,
@@ -20745,7 +20745,7 @@
20745
20745
  {
20746
20746
  "disabled": false,
20747
20747
  "document": "策略类型\n0:系统策略\n1:自定义策略",
20748
- "example": "系统策略",
20748
+ "example": "1",
20749
20749
  "member": "int64",
20750
20750
  "name": "RuleType",
20751
20751
  "output_required": true,
@@ -20755,7 +20755,7 @@
20755
20755
  {
20756
20756
  "disabled": false,
20757
20757
  "document": "策略等级\n0:提示\n1:低危\n2:中危\n3:高危\n4:严重",
20758
- "example": "严重",
20758
+ "example": "2",
20759
20759
  "member": "int64",
20760
20760
  "name": "RuleLevel",
20761
20761
  "output_required": true,
@@ -20835,7 +20835,7 @@
20835
20835
  {
20836
20836
  "disabled": false,
20837
20837
  "document": "自定义规则具体内容",
20838
- "example": "自定义规则具体内容",
20838
+ "example": "",
20839
20839
  "member": "UebaCustomRule",
20840
20840
  "name": "CustomRuleDetail",
20841
20841
  "output_required": true,
@@ -20476,8 +20476,8 @@
20476
20476
  "members": [
20477
20477
  {
20478
20478
  "disabled": false,
20479
- "document": "阻断开关状态:\n 0 -- 关闭 \n 1 -- 高级阻断\n 2 -- 基础阻断(只阻断情报库黑ip)",
20480
- "example": "1",
20479
+ "document": "(已废弃) 阻断开关状态: 0 -- 关闭 1 -- 高级阻断 2 -- 基础阻断(只阻断情报库黑ip)",
20480
+ "example": "0",
20481
20481
  "member": "uint64",
20482
20482
  "name": "Status",
20483
20483
  "output_required": true,
@@ -20497,13 +20497,43 @@
20497
20497
  {
20498
20498
  "disabled": false,
20499
20499
  "document": "是否开启智能过白模式",
20500
- "example": "True",
20500
+ "example": "true",
20501
20501
  "member": "bool",
20502
20502
  "name": "OpenSmartMode",
20503
20503
  "output_required": false,
20504
20504
  "type": "bool",
20505
20505
  "value_allowed_null": false
20506
20506
  },
20507
+ {
20508
+ "disabled": false,
20509
+ "document": "是否开启情报IP阻断",
20510
+ "example": "true",
20511
+ "member": "bool",
20512
+ "name": "BanBlackIp",
20513
+ "output_required": false,
20514
+ "type": "bool",
20515
+ "value_allowed_null": false
20516
+ },
20517
+ {
20518
+ "disabled": false,
20519
+ "document": "是否开启漏洞IP阻断",
20520
+ "example": "true",
20521
+ "member": "bool",
20522
+ "name": "BanVulIp",
20523
+ "output_required": false,
20524
+ "type": "bool",
20525
+ "value_allowed_null": false
20526
+ },
20527
+ {
20528
+ "disabled": false,
20529
+ "document": "是否开启规则阻断",
20530
+ "example": "true",
20531
+ "member": "bool",
20532
+ "name": "BanByRule",
20533
+ "output_required": false,
20534
+ "type": "bool",
20535
+ "value_allowed_null": false
20536
+ },
20507
20537
  {
20508
20538
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
20509
20539
  "member": "string",
@@ -42307,7 +42337,7 @@
42307
42337
  },
42308
42338
  {
42309
42339
  "disabled": false,
42310
- "document": "高危信息说明:\nABROAD - 海外IP;\nXTI - 威胁情报",
42340
+ "document": "高危信息说明:\nABROAD - 境外IP;\nXTI - 威胁情报",
42311
42341
  "example": "ABROAD",
42312
42342
  "member": "string",
42313
42343
  "name": "Desc",
@@ -42318,7 +42348,7 @@
42318
42348
  {
42319
42349
  "disabled": false,
42320
42350
  "document": "附加信息",
42321
- "example": "{\"WanIP\":\"1.1.1.1\",\"PrivateIP\":\"1.1.1.1\",\"NetworkType\":1,\"NetworkName\":\"vpc-id\",\"InstanceID\":\"ins-id\",\"HostName\":\"hn\"}",
42351
+ "example": "",
42322
42352
  "member": "MachineExtraInfo",
42323
42353
  "name": "MachineExtraInfo",
42324
42354
  "output_required": false,
@@ -44070,7 +44100,7 @@
44070
44100
  {
44071
44101
  "disabled": false,
44072
44102
  "document": "白名单地域",
44073
- "example": "[{\"CityId\":1,\"CountryId\":1,\"ProvinceId\":1},{\"CityId\":1,\"CountryId\":1,\"ProvinceId\":1}]",
44103
+ "example": "",
44074
44104
  "member": "Place",
44075
44105
  "name": "Places",
44076
44106
  "output_required": true,
@@ -44090,7 +44120,7 @@
44090
44120
  {
44091
44121
  "disabled": false,
44092
44122
  "document": "白名单IP(多个IP逗号隔开)",
44093
- "example": "19.123.**.**",
44123
+ "example": "19.*.1.**",
44094
44124
  "member": "string",
44095
44125
  "name": "SrcIp",
44096
44126
  "output_required": true,
@@ -44209,7 +44239,7 @@
44209
44239
  },
44210
44240
  {
44211
44241
  "disabled": false,
44212
- "document": "登陆地",
44242
+ "document": "登录地",
44213
44243
  "example": "shanghai",
44214
44244
  "member": "string",
44215
44245
  "name": "Locations",
@@ -50309,7 +50339,7 @@
50309
50339
  },
50310
50340
  {
50311
50341
  "disabled": false,
50312
- "document": "国家ID,暂只支持国内:1。",
50342
+ "document": "国家ID,暂只支持境内:1。",
50313
50343
  "example": "104",
50314
50344
  "member": "uint64",
50315
50345
  "name": "CountryId",
@@ -1030,6 +1030,12 @@
1030
1030
  "input": "https://cwp.tencentcloudapi.com/?Action=DescribeBanStatus\n&<公共请求参数>",
1031
1031
  "output": "{\n \"Response\": {\n \"Status\": 1,\n \"ShowTips\": false,\n \"RequestId\": \"354f4ac3-8546-4516-8c8a-69e3ab73aa8a\"\n }\n}",
1032
1032
  "title": "获取阻断按钮状态"
1033
+ },
1034
+ {
1035
+ "document": "新版BanStatus",
1036
+ "input": "POST / HTTP/1.1\nHost: cwp.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBanStatus\n<公共请求参数>\n\n{}",
1037
+ "output": "{\n \"Response\": {\n \"BanBlackIp\": true,\n \"BanByRule\": false,\n \"BanVulIp\": true,\n \"OpenSmartMode\": true,\n \"RequestId\": \"b76c888e-31cf-4dfe-b40a-0e3d30ee555e\",\n \"ShowTips\": false,\n \"Status\": 2\n }\n}",
1038
+ "title": "新版BanStatus"
1033
1039
  }
1034
1040
  ],
1035
1041
  "DescribeBanWhiteList": [
@@ -16259,7 +16259,7 @@
16259
16259
  },
16260
16260
  {
16261
16261
  "disabled": false,
16262
- "document": "要修改的安全组ID列表,一个或者多个安全组ID组成的数组。",
16262
+ "document": "要修改的安全组ID列表,一个或者多个安全组ID组成的数组。\n注意:该入参会全量替换存量已有集合,非增量更新。修改需传入预期的全量集合。",
16263
16263
  "example": "[\"sg-ajr1jzgj\\n\"]",
16264
16264
  "member": "string",
16265
16265
  "name": "SecurityGroupIds",