tccli 3.0.947.1__py2.py3-none-any.whl → 3.0.949.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 (84) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/apigateway/v20180808/DescribeService.md +1 -0
  3. tccli/examples/bma/v20221115/CreateBPWhiteList.md +5 -1
  4. tccli/examples/bma/v20221115/DescribeBPWhiteLists.md +14 -1
  5. tccli/examples/cdwch/v20200915/DeleteBackUpData.md +21 -0
  6. tccli/examples/cdwch/v20200915/DescribeBackUpJob.md +32 -0
  7. tccli/examples/cdwch/v20200915/DescribeBackUpJobDetail.md +30 -0
  8. tccli/examples/cdwch/v20200915/DescribeCkSqlApis.md +2 -32
  9. tccli/examples/cdwch/v20200915/RecoverBackUpJob.md +21 -0
  10. tccli/examples/cfw/v20190904/DescribeNatAcRule.md +31 -22
  11. tccli/examples/csip/v20221121/DescribeListenerList.md +35 -3
  12. tccli/examples/cvm/v20170312/ModifyImageSharePermission.md +2 -2
  13. tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskSideDistributed.md +35 -0
  14. tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskSideList.md +27 -0
  15. tccli/examples/dsgc/v20190723/DescribeDSPAAssessmentRiskTemplateVulnerableList.md +2 -1
  16. tccli/examples/dsgc/v20190723/DescribeDSPAESDiscoveryTaskResultDetail.md +8 -2
  17. tccli/examples/faceid/v20180301/GetEidResult.md +55 -24
  18. tccli/examples/lcic/v20220817/DescribeGroupList.md +79 -9
  19. tccli/examples/vpc/v20170312/CreateNetworkAclEntries.md +30 -0
  20. tccli/examples/vpc/v20170312/DeleteNetworkAclEntries.md +22 -0
  21. tccli/examples/vpc/v20170312/ModifyNetworkAclEntries.md +0 -5
  22. tccli/examples/waf/v20180125/AddAntiFakeUrl.md +46 -0
  23. tccli/examples/waf/v20180125/AddAntiInfoLeakRules.md +26 -0
  24. tccli/examples/waf/v20180125/DeleteAntiFakeUrl.md +21 -0
  25. tccli/examples/waf/v20180125/DeleteAntiInfoLeakRule.md +21 -0
  26. tccli/examples/waf/v20180125/DeleteCCRule.md +23 -0
  27. tccli/examples/waf/v20180125/DescribeAntiFakeRules.md +28 -0
  28. tccli/examples/waf/v20180125/DescribeAntiFakeUrl.md +57 -0
  29. tccli/examples/waf/v20180125/DescribeAntiInfoLeakRules.md +40 -0
  30. tccli/examples/waf/v20180125/DescribeAntiInfoLeakageRules.md +38 -0
  31. tccli/examples/waf/v20180125/DescribeBatchIpAccessControl.md +42 -0
  32. tccli/examples/waf/v20180125/DescribeCCRule.md +71 -0
  33. tccli/examples/waf/v20180125/DescribeCCRuleList.md +36 -0
  34. tccli/examples/waf/v20180125/DescribeSession.md +51 -0
  35. tccli/examples/waf/v20180125/ModifyAntiFakeUrl.md +24 -0
  36. tccli/examples/waf/v20180125/ModifyAntiFakeUrlStatus.md +22 -0
  37. tccli/examples/waf/v20180125/ModifyAntiInfoLeakRuleStatus.md +22 -0
  38. tccli/examples/waf/v20180125/ModifyAntiInfoLeakRules.md +26 -0
  39. tccli/examples/waf/v20180125/ModifyCustomWhiteRuleStatus.md +26 -0
  40. tccli/examples/waf/v20180125/UpsertCCRule.md +95 -0
  41. tccli/examples/waf/v20180125/UpsertSession.md +25 -0
  42. tccli/services/apigateway/v20180808/api.json +22 -2
  43. tccli/services/apigateway/v20180808/examples.json +1 -1
  44. tccli/services/asr/v20190614/api.json +3 -3
  45. tccli/services/bma/v20221115/api.json +27 -6
  46. tccli/services/bma/v20221115/examples.json +2 -2
  47. tccli/services/cdwch/cdwch_client.py +278 -66
  48. tccli/services/cdwch/v20200915/api.json +314 -1
  49. tccli/services/cdwch/v20200915/examples.json +33 -1
  50. tccli/services/cfw/v20190904/api.json +3 -0
  51. tccli/services/cfw/v20190904/examples.json +2 -2
  52. tccli/services/ckafka/v20190819/api.json +83 -15
  53. tccli/services/csip/v20221121/api.json +24 -12
  54. tccli/services/csip/v20221121/examples.json +1 -1
  55. tccli/services/cvm/v20170312/api.json +4 -4
  56. tccli/services/cvm/v20170312/examples.json +1 -1
  57. tccli/services/cwp/v20180228/api.json +20 -2
  58. tccli/services/cynosdb/v20190107/api.json +3 -3
  59. tccli/services/dbbrain/v20210527/api.json +53 -33
  60. tccli/services/dsgc/dsgc_client.py +106 -0
  61. tccli/services/dsgc/v20190723/api.json +414 -46
  62. tccli/services/dsgc/v20190723/examples.json +18 -2
  63. tccli/services/ess/v20201111/api.json +1 -1
  64. tccli/services/faceid/v20180301/api.json +26 -7
  65. tccli/services/faceid/v20180301/examples.json +1 -1
  66. tccli/services/lcic/v20220817/api.json +2 -0
  67. tccli/services/lcic/v20220817/examples.json +10 -4
  68. tccli/services/lighthouse/v20200324/api.json +1 -1
  69. tccli/services/oceanus/v20190422/api.json +122 -36
  70. tccli/services/trtc/v20190722/api.json +3 -3
  71. tccli/services/tsf/v20180326/api.json +26 -8
  72. tccli/services/vod/v20180717/api.json +57 -11
  73. tccli/services/vpc/v20170312/api.json +155 -18
  74. tccli/services/vpc/v20170312/examples.json +19 -3
  75. tccli/services/vpc/vpc_client.py +195 -89
  76. tccli/services/waf/v20180125/api.json +2671 -582
  77. tccli/services/waf/v20180125/examples.json +202 -0
  78. tccli/services/waf/waf_client.py +1365 -305
  79. tccli/services/wedata/v20210820/api.json +40 -30
  80. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/METADATA +2 -2
  81. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/RECORD +84 -56
  82. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/WHEEL +0 -0
  83. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/entry_points.txt +0 -0
  84. {tccli-3.0.947.1.dist-info → tccli-3.0.949.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,51 @@
1
+ **Example 1: Waf 会话定义查询接口**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf DescribeSession --cli-unfold-argument \
9
+ --Domain test.com \
10
+ --Edition clb-waf
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Res": [
17
+ {
18
+ "Category": "match",
19
+ "EndMat": "&",
20
+ "EndOffset": "-1",
21
+ "KeyOrStartMat": "hashId",
22
+ "Source": "get",
23
+ "StartOffset": "-1",
24
+ "TsVersion": "1578366436093"
25
+ }
26
+ ]
27
+ }
28
+ ```
29
+
30
+ **Example 2: 没有设置Seesion的场景**
31
+
32
+
33
+
34
+ Input:
35
+
36
+ ```
37
+ tccli waf DescribeSession --cli-unfold-argument \
38
+ --Domain test.com \
39
+ --Edition clb-waf
40
+ ```
41
+
42
+ Output:
43
+ ```
44
+ {
45
+ "Response": {
46
+ "Data": null,
47
+ "RequestId": "e08991ed-f8f8-4a6e-b8be-74f1a34eab5f"
48
+ }
49
+ }
50
+ ```
51
+
@@ -0,0 +1,24 @@
1
+ **Example 1: 编辑防篡改url**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf ModifyAntiFakeUrl --cli-unfold-argument \
9
+ --Domain www.test.com \
10
+ --Name test \
11
+ --Uri http://zanyang.qcloudwaf.com/index.html \
12
+ --Id 123
13
+ ```
14
+
15
+ Output:
16
+ ```
17
+ {
18
+ "Response": {
19
+ "RequestId": "32e5e790-5999-4aa6-a3cb-34ed4c570d14",
20
+ "Result": "success"
21
+ }
22
+ }
23
+ ```
24
+
@@ -0,0 +1,22 @@
1
+ **Example 1: 切换防篡改开关**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf ModifyAntiFakeUrlStatus --cli-unfold-argument \
9
+ --Domain test.com \
10
+ --Status 0 \
11
+ --Ids 123 345
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "c68bdee7-2c14-4bd3-ba41-cdf1421c0d0c"
19
+ }
20
+ }
21
+ ```
22
+
@@ -0,0 +1,22 @@
1
+ **Example 1: 信息防泄漏切换规则开关**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf ModifyAntiInfoLeakRuleStatus --cli-unfold-argument \
9
+ --Domain www.test.com \
10
+ --RuleId 123 \
11
+ --Status 1
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "800f0a0c-6f8b-409a-af67-ccd12354e8f4"
19
+ }
20
+ }
21
+ ```
22
+
@@ -0,0 +1,26 @@
1
+ **Example 1: 编辑信息防泄漏规则**
2
+
3
+ 编辑信息防泄漏规则
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf ModifyAntiInfoLeakRules --cli-unfold-argument \
9
+ --RuleId 167 \
10
+ --Name test1 \
11
+ --Domain www.test1.com \
12
+ --ActionType 0 \
13
+ --Strategies.0.Field information \
14
+ --Strategies.0.CompareFunc contains \
15
+ --Strategies.0.Content phone
16
+ ```
17
+
18
+ Output:
19
+ ```
20
+ {
21
+ "Response": {
22
+ "RequestId": "640e40da-d57a-4402-8e3d-39c5bed8addd"
23
+ }
24
+ }
25
+ ```
26
+
@@ -0,0 +1,26 @@
1
+ **Example 1: 切换精准白名单规则的开关**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf ModifyCustomWhiteRuleStatus --cli-unfold-argument \
9
+ --RuleId 1100000001 \
10
+ --Domain waf.tencentcloudapi.com \
11
+ --Status 1
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "5d207f4f-0d41-4f5d-bce2-0320090c98d8",
19
+ "Success": {
20
+ "Message": "Success",
21
+ "Code": "Success"
22
+ }
23
+ }
24
+ }
25
+ ```
26
+
@@ -0,0 +1,95 @@
1
+ **Example 1: Waf CC V2 Upsert接口**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf UpsertCCRule --cli-unfold-argument \
9
+ --Status 0 \
10
+ --Advance 0 \
11
+ --Domain test.com \
12
+ --Name test2 \
13
+ --Url /test \
14
+ --Priority 50 \
15
+ --Interval 60 \
16
+ --MatchFunc 0 \
17
+ --ValidTime 600
18
+ \
19
+ --Limit 60 \
20
+ --ActionType 22 \
21
+ --OptionsArr [{"key":"get","args":["a=12"]}]
22
+ ```
23
+
24
+ Output:
25
+ ```
26
+ {
27
+ "Response": {
28
+ "Data": null,
29
+ "RequestId": "5029e2b0-493c-4dcc-9e4e-d53ab98ede99"
30
+ }
31
+ }
32
+ ```
33
+
34
+ **Example 2: test**
35
+
36
+
37
+
38
+ Input:
39
+
40
+ ```
41
+ tccli waf UpsertCCRule --cli-unfold-argument \
42
+ --Status 0 \
43
+ --MatchFunc 0 \
44
+ --Domain hzh.qcloud.com \
45
+ --Name ddp \
46
+ --Advance 0 \
47
+ --ValidTime 61 \
48
+ --Interval 10 \
49
+ --Priority 1 \
50
+ --Url /test \
51
+ --Limit 10 \
52
+ --ActionType 20
53
+ ```
54
+
55
+ Output:
56
+ ```
57
+ {
58
+ "Response": {
59
+ "RequestId": "2ca5c6bb-05b7-4183-bbf2-3c7059544317",
60
+ "Data": ""
61
+ }
62
+ }
63
+ ```
64
+
65
+ **Example 3: test1**
66
+
67
+
68
+
69
+ Input:
70
+
71
+ ```
72
+ tccli waf UpsertCCRule --cli-unfold-argument \
73
+ --Status 0 \
74
+ --MatchFunc 0 \
75
+ --Domain hzh.qcloud.com \
76
+ --Name ddp \
77
+ --Advance 0 \
78
+ --ValidTime 61 \
79
+ --Interval 10 \
80
+ --Priority 1 \
81
+ --Url /test \
82
+ --Limit 10 \
83
+ --ActionType 20
84
+ ```
85
+
86
+ Output:
87
+ ```
88
+ {
89
+ "Response": {
90
+ "RequestId": "2ca5c6bb-05b7-4183-bbf2-3c7059544317",
91
+ "Data": ""
92
+ }
93
+ }
94
+ ```
95
+
@@ -0,0 +1,25 @@
1
+ **Example 1: Waf 会话定义 Upsert接口**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli waf UpsertSession --cli-unfold-argument \
9
+ --Domain test.com \
10
+ --Category match \
11
+ --KeyOrStartMat hashId \
12
+ --EndMat 12 \
13
+ --Source get \
14
+ --StartOffset -1 \
15
+ --EndOffset -1 \
16
+ --Edition clb-waf
17
+ ```
18
+
19
+ Output:
20
+ ```
21
+ {
22
+ "Data": null
23
+ }
24
+ ```
25
+
@@ -4187,7 +4187,7 @@
4187
4187
  },
4188
4188
  {
4189
4189
  "disabled": false,
4190
- "document": "vpc属性",
4190
+ "document": "vpc属性,选择VPC后不可修改,为服务选择VPC后,可对接该VPC下的后端资源",
4191
4191
  "example": "vpc-quyenan",
4192
4192
  "member": "string",
4193
4193
  "name": "UniqVpcId",
@@ -4294,7 +4294,7 @@
4294
4294
  "members": [
4295
4295
  {
4296
4296
  "disabled": false,
4297
- "document": "后端协议,取值范围:HTTP, HTTPS",
4297
+ "document": "后端协议,取值范围:HTTP, HTTPS,gRPC,gRPCs",
4298
4298
  "example": "HTTP",
4299
4299
  "member": "string",
4300
4300
  "name": "Scheme",
@@ -4412,6 +4412,7 @@
4412
4412
  "example": "upstream-0c96l2bo",
4413
4413
  "member": "string",
4414
4414
  "name": "UpstreamId",
4415
+ "output_required": true,
4415
4416
  "type": "string",
4416
4417
  "value_allowed_null": true
4417
4418
  },
@@ -7725,6 +7726,16 @@
7725
7726
  "type": "string",
7726
7727
  "value_allowed_null": true
7727
7728
  },
7729
+ {
7730
+ "disabled": false,
7731
+ "document": "vpc属性,存量可能为空字符串\n注意:此字段可能返回 null,表示取不到有效值。",
7732
+ "example": "vpc-syandask",
7733
+ "member": "string",
7734
+ "name": "UniqVpcId",
7735
+ "output_required": true,
7736
+ "type": "string",
7737
+ "value_allowed_null": true
7738
+ },
7728
7739
  {
7729
7740
  "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
7730
7741
  "member": "string",
@@ -10639,6 +10650,15 @@
10639
10650
  "name": "NetTypes",
10640
10651
  "required": false,
10641
10652
  "type": "list"
10653
+ },
10654
+ {
10655
+ "disabled": false,
10656
+ "document": "vpc属性,选择VPC后不可修改。为服务选择VPC后,可对接该VPC下的后端资源",
10657
+ "example": "vpc-adsada",
10658
+ "member": "string",
10659
+ "name": "UniqVpcId",
10660
+ "required": false,
10661
+ "type": "string"
10642
10662
  }
10643
10663
  ],
10644
10664
  "type": "object"
@@ -432,7 +432,7 @@
432
432
  {
433
433
  "document": "无",
434
434
  "input": "POST / HTTP/1.1\nHost: apigateway.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeService\n<公共请求参数>\n\n{\n \"ServiceId\": \"service-rypiqi13\"\n}",
435
- "output": "{\n \"Response\": {\n \"ServiceDesc\": \"sesrxx\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"SetId\": 1,\n \"InnerHttpsPort\": 0,\n \"InnerHttpPort\": 0,\n \"Tags\": [\n {\n \"Value\": \"test\",\n \"Key\": \"test\"\n }\n ],\n \"NetTypes\": [\n \"OUTER\"\n ],\n \"IpVersion\": \"\",\n \"UserType\": \"\",\n \"UsagePlanList\": [\n {\n \"MaxRequestNumPreSec\": 0,\n \"UsagePlanId\": \"\",\n \"ModifiedTime\": \"2020-09-22T00:00:00+00:00\",\n \"UsagePlanDesc\": \"test\",\n \"Environment\": \"test\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"UsagePlanName\": \"sdfafxx\"\n }\n ],\n \"OuterSubDomain\": \"domain.com\",\n \"UsagePlanTotalCount\": 0,\n \"SetType\": \"\",\n \"ApiIdStatusSet\": [\n {\n \"AuthType\": \"\",\n \"Protocol\": \"\",\n \"UniqVpcId\": \"\",\n \"ModifiedTime\": \"2020-09-22T00:00:00+00:00\",\n \"OauthConfig\": {\n \"PublicKey\": \"\",\n \"LoginRedirectUrl\": \"\",\n \"TokenLocation\": \"\"\n },\n \"ApiId\": \"\",\n \"AuthRelationApiId\": \"\",\n \"ApiDesc\": \"\",\n \"ApiType\": \"\",\n \"ApiBusinessType\": \"\",\n \"ServiceId\": \"\",\n \"ApiName\": \"\",\n \"Path\": \"\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"RelationBuniessApiIds\": [\n \"\"\n ],\n \"IsDebugAfterCharge\": false,\n \"Method\": \"\",\n \"TokenLocation\": \"\"\n }\n ],\n \"ServiceName\": \"\",\n \"RequestId\": \"\",\n \"InstanceName\": \"\",\n \"Protocol\": \"\",\n \"ApiTotalCount\": 1,\n \"ModifiedTime\": \"2020-09-22T00:00:00+00:00\",\n \"DeploymentType\": \"DEFAULT\",\n \"SpecialUse\": \"DEFAULT\",\n \"InstanceId\": \"\",\n \"AvailableEnvironments\": [\n \"release\"\n ],\n \"ServiceId\": \"\",\n \"InternalSubDomain\": \"\"\n }\n}",
435
+ "output": "{\n \"Response\": {\n \"ServiceDesc\": \"sesrxx\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"SetId\": 1,\n \"InnerHttpsPort\": 0,\n \"InnerHttpPort\": 0,\n \"UniqVpcId\": \"vpc-abc\",\n \"Tags\": [\n {\n \"Value\": \"test\",\n \"Key\": \"test\"\n }\n ],\n \"NetTypes\": [\n \"OUTER\"\n ],\n \"IpVersion\": \"\",\n \"UserType\": \"\",\n \"UsagePlanList\": [\n {\n \"MaxRequestNumPreSec\": 0,\n \"UsagePlanId\": \"\",\n \"ModifiedTime\": \"2020-09-22T00:00:00+00:00\",\n \"UsagePlanDesc\": \"test\",\n \"Environment\": \"test\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"UsagePlanName\": \"sdfafxx\"\n }\n ],\n \"OuterSubDomain\": \"domain.com\",\n \"UsagePlanTotalCount\": 0,\n \"SetType\": \"\",\n \"ApiIdStatusSet\": [\n {\n \"AuthType\": \"\",\n \"Protocol\": \"\",\n \"UniqVpcId\": \"\",\n \"ModifiedTime\": \"2020-09-22T00:00:00+00:00\",\n \"OauthConfig\": {\n \"PublicKey\": \"\",\n \"LoginRedirectUrl\": \"\",\n \"TokenLocation\": \"\"\n },\n \"ApiId\": \"\",\n \"AuthRelationApiId\": \"\",\n \"ApiDesc\": \"\",\n \"ApiType\": \"\",\n \"ApiBusinessType\": \"\",\n \"ServiceId\": \"\",\n \"ApiName\": \"\",\n \"Path\": \"\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"RelationBuniessApiIds\": [\n \"\"\n ],\n \"IsDebugAfterCharge\": false,\n \"Method\": \"\",\n \"TokenLocation\": \"\"\n }\n ],\n \"ServiceName\": \"\",\n \"RequestId\": \"\",\n \"InstanceName\": \"\",\n \"Protocol\": \"\",\n \"ApiTotalCount\": 1,\n \"ModifiedTime\": \"2020-09-22T00:00:00+00:00\",\n \"DeploymentType\": \"DEFAULT\",\n \"SpecialUse\": \"DEFAULT\",\n \"InstanceId\": \"\",\n \"AvailableEnvironments\": [\n \"release\"\n ],\n \"ServiceId\": \"\",\n \"InternalSubDomain\": \"\"\n }\n}",
436
436
  "title": "用于查询服务详情"
437
437
  }
438
438
  ],
@@ -8,7 +8,7 @@
8
8
  "status": "online"
9
9
  },
10
10
  "CreateAsrVocab": {
11
- "document": "用户通过本接口进行热词表的创建。\n<br>• 默认最多可创建30个热词表。\n<br>• 每个热词表最多可添加128个词,每个词最长10个汉字或30个英文字符,不能超出限制。\n<br>• 热词表可以通过数组或者本地文件形式上传。\n<br>• 本地文件必须为UTF-8编码格式,每行仅添加一个热词且不能包含标点和特殊字符。\n<br>• 热词权重取值范围为[1,10]之间的整数,权重越大代表该词被识别出来的概率越大。",
11
+ "document": "用户通过本接口进行热词表的创建。\n<br>• 默认最多可创建30个热词表。\n<br>• 每个热词表最多可添加1000个词,每个词最长10个汉字或30个英文字符,不能超出限制。\n<br>• 热词表可以通过数组或者本地文件形式上传。\n<br>• 本地文件必须为UTF-8编码格式,每行仅添加一个热词且不能包含标点和特殊字符。\n<br>• 热词权重取值范围为[1,10]之间的整数,权重越大代表该词被识别出来的概率越大。",
12
12
  "input": "CreateAsrVocabRequest",
13
13
  "name": "创建热词表",
14
14
  "output": "CreateAsrVocabResponse",
@@ -275,7 +275,7 @@
275
275
  },
276
276
  {
277
277
  "disabled": false,
278
- "document": "词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,10]之间整数,数组长度不大于128",
278
+ "document": "词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,10]之间整数,数组长度不大于1000",
279
279
  "example": "1",
280
280
  "member": "HotWord",
281
281
  "name": "WordWeights",
@@ -1981,7 +1981,7 @@
1981
1981
  },
1982
1982
  {
1983
1983
  "disabled": false,
1984
- "document": "词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10,权重为[1,10]之间整数,数组长度不大于128",
1984
+ "document": "词权重数组,包含全部的热词和对应的权重。每个热词的长度不大于10个汉字或30个英文字符,权重为[1,10]之间整数,数组长度不大于1000",
1985
1985
  "example": "无",
1986
1986
  "member": "HotWord",
1987
1987
  "name": "WordWeights",
@@ -620,6 +620,15 @@
620
620
  "name": "WhiteLists",
621
621
  "required": true,
622
622
  "type": "list"
623
+ },
624
+ {
625
+ "disabled": false,
626
+ "document": "白名单备注",
627
+ "example": "无",
628
+ "member": "string",
629
+ "name": "Remark",
630
+ "required": false,
631
+ "type": "string"
623
632
  }
624
633
  ],
625
634
  "type": "object"
@@ -868,6 +877,7 @@
868
877
  "example": "无",
869
878
  "member": "WhiteListData",
870
879
  "name": "WhiteLists",
880
+ "output_required": true,
871
881
  "type": "list",
872
882
  "value_allowed_null": false
873
883
  },
@@ -877,6 +887,7 @@
877
887
  "example": "无",
878
888
  "member": "int64",
879
889
  "name": "TotalCount",
890
+ "output_required": true,
880
891
  "type": "int",
881
892
  "value_allowed_null": false
882
893
  },
@@ -1508,7 +1519,7 @@
1508
1519
  "example": "无",
1509
1520
  "member": "int64",
1510
1521
  "name": "WhiteListId",
1511
- "required": false,
1522
+ "output_required": true,
1512
1523
  "type": "int",
1513
1524
  "value_allowed_null": true
1514
1525
  },
@@ -1518,7 +1529,7 @@
1518
1529
  "example": "无",
1519
1530
  "member": "int64",
1520
1531
  "name": "CompanyId",
1521
- "required": false,
1532
+ "output_required": true,
1522
1533
  "type": "int",
1523
1534
  "value_allowed_null": true
1524
1535
  },
@@ -1528,7 +1539,7 @@
1528
1539
  "example": "无",
1529
1540
  "member": "string",
1530
1541
  "name": "BrandName",
1531
- "required": false,
1542
+ "output_required": true,
1532
1543
  "type": "string",
1533
1544
  "value_allowed_null": true
1534
1545
  },
@@ -1538,7 +1549,7 @@
1538
1549
  "example": "无",
1539
1550
  "member": "int64",
1540
1551
  "name": "AssetsType",
1541
- "required": false,
1552
+ "output_required": true,
1542
1553
  "type": "int",
1543
1554
  "value_allowed_null": true
1544
1555
  },
@@ -1548,7 +1559,17 @@
1548
1559
  "example": "无",
1549
1560
  "member": "string",
1550
1561
  "name": "WhiteList",
1551
- "required": false,
1562
+ "output_required": true,
1563
+ "type": "string",
1564
+ "value_allowed_null": true
1565
+ },
1566
+ {
1567
+ "disabled": false,
1568
+ "document": "白名单备注\n注意:此字段可能返回 null,表示取不到有效值。",
1569
+ "example": "无",
1570
+ "member": "string",
1571
+ "name": "Remark",
1572
+ "output_required": false,
1552
1573
  "type": "string",
1553
1574
  "value_allowed_null": true
1554
1575
  },
@@ -1558,7 +1579,7 @@
1558
1579
  "example": "无",
1559
1580
  "member": "string",
1560
1581
  "name": "InsertTime",
1561
- "required": false,
1582
+ "output_required": true,
1562
1583
  "type": "string",
1563
1584
  "value_allowed_null": true
1564
1585
  }
@@ -43,7 +43,7 @@
43
43
  "CreateBPWhiteList": [
44
44
  {
45
45
  "document": "添加白名单",
46
- "input": "{\n \"CompanyId\": 123,\n \"WhiteListType\": 0,\n \"WhiteLists\": [\n \"xxx\"\n ]\n}",
46
+ "input": "POST / HTTP/1.1\nHost: bma.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBPWhiteList\n<公共请求参数>\n\n{\n \"CompanyId\": 123,\n \"WhiteListType\": 0,\n \"WhiteLists\": [\n \"xxx\"\n ]\n}",
47
47
  "output": "{\n \"Response\": {\n \"RequestId\": \"xxx\"\n }\n}",
48
48
  "title": "添加白名单"
49
49
  }
@@ -83,7 +83,7 @@
83
83
  "DescribeBPWhiteLists": [
84
84
  {
85
85
  "document": "查询白名单列表",
86
- "input": "{\n \"Filters\": [\n {\n \"Name\": \"CompanyId\",\n \"Value\": \"123\"\n },\n {\n \"Name\": \"AssetsType\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"WhiteList\",\n \"Value\": \"白名单名称\"\n },\n {\n \"Name\": \"StartTime\",\n \"Value\": \"2022-10-01 00:00:00\"\n },\n {\n \"Name\": \"EndTime\",\n \"Value\": \"2022-10-01 23:59:59\"\n }\n ],\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
86
+ "input": "POST / HTTP/1.1\nHost: bma.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBPWhiteLists\n<公共请求参数>\n\n{\n \"Filters\": [\n {\n \"Name\": \"CompanyId\",\n \"Value\": \"123\"\n },\n {\n \"Name\": \"AssetsType\",\n \"Value\": \"0\"\n },\n {\n \"Name\": \"WhiteList\",\n \"Value\": \"白名单名称\"\n },\n {\n \"Name\": \"StartTime\",\n \"Value\": \"2022-10-01 00:00:00\"\n },\n {\n \"Name\": \"EndTime\",\n \"Value\": \"2022-10-01 23:59:59\"\n }\n ],\n \"PageSize\": 10,\n \"PageNumber\": 1\n}",
87
87
  "output": "{\n \"Response\": {\n \"WhiteLists\": [\n {\n \"WhiteListId\": 123,\n \"CompanyId\": 123,\n \"BrandName\": \"品牌名称\",\n \"AssetsType\": 0,\n \"WhiteList\": \"白名单名称\",\n \"InsertTime\": \"2022-10-01 00:00:00\"\n }\n ],\n \"TotalCount\": 10,\n \"RequestId\": \"xxx\"\n }\n}",
88
88
  "title": "查询白名单列表"
89
89
  }