tccli 3.0.898.1__py2.py3-none-any.whl → 3.0.899.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/examples/cfs/v20190719/CreateMigrationTask.md +1 -1
- tccli/examples/cfs/v20190719/DeleteMigrationTask.md +1 -1
- tccli/examples/cfs/v20190719/ModifyFileSystemAutoScaleUpRule.md +1 -1
- tccli/examples/cfs/v20190719/ScaleUpFileSystem.md +1 -1
- tccli/examples/cls/v20201016/DeleteShipper.md +2 -2
- tccli/examples/cls/v20201016/ModifyShipper.md +2 -2
- tccli/examples/live/v20180801/DescribeLiveDomains.md +1 -1
- tccli/examples/nlp/v20190408/AnalyzeSentiment.md +24 -0
- tccli/examples/nlp/v20190408/ClassifyContent.md +39 -0
- tccli/examples/nlp/v20190408/ComposeCouplet.md +27 -0
- tccli/examples/nlp/v20190408/ComposePoetry.md +29 -0
- tccli/examples/waf/v20180125/ModifySpartaProtection.md +154 -0
- tccli/examples/wedata/v20210820/DescribeDimensionScore.md +15 -3
- tccli/examples/wedata/v20210820/DescribeQualityScore.md +1 -1
- tccli/examples/wedata/v20210820/DescribeQualityScoreTrend.md +10 -2
- tccli/examples/wedata/v20210820/DescribeTableQualityDetails.md +1 -1
- tccli/examples/wedata/v20210820/DescribeTableScoreTrend.md +10 -2
- tccli/services/antiddos/v20200309/api.json +45 -26
- tccli/services/apigateway/v20180808/api.json +17 -28
- tccli/services/asr/v20190614/api.json +3 -2
- tccli/services/cdb/v20170320/api.json +16 -11
- tccli/services/cfs/v20190719/api.json +7 -0
- tccli/services/cfs/v20190719/examples.json +4 -4
- tccli/services/ckafka/v20190819/api.json +20 -8
- tccli/services/cls/v20201016/api.json +3 -4
- tccli/services/cls/v20201016/examples.json +4 -4
- tccli/services/ess/v20201111/api.json +2 -0
- tccli/services/live/v20180801/api.json +4 -11
- tccli/services/live/v20180801/examples.json +1 -1
- tccli/services/nlp/nlp_client.py +216 -4
- tccli/services/nlp/v20190408/api.json +329 -0
- tccli/services/nlp/v20190408/examples.json +32 -0
- tccli/services/tbaas/v20180416/api.json +16 -16
- tccli/services/tdid/tdid_client.py +0 -106
- tccli/services/tdid/v20210519/api.json +25 -306
- tccli/services/tdid/v20210519/examples.json +0 -16
- tccli/services/tts/v20190823/api.json +7 -3
- tccli/services/waf/v20180125/api.json +401 -0
- tccli/services/waf/v20180125/examples.json +26 -0
- tccli/services/waf/waf_client.py +57 -4
- tccli/services/wedata/v20210820/api.json +151 -83
- tccli/services/wedata/v20210820/examples.json +8 -8
- {tccli-3.0.898.1.dist-info → tccli-3.0.899.1.dist-info}/METADATA +2 -2
- {tccli-3.0.898.1.dist-info → tccli-3.0.899.1.dist-info}/RECORD +48 -43
- {tccli-3.0.898.1.dist-info → tccli-3.0.899.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.898.1.dist-info → tccli-3.0.899.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.898.1.dist-info → tccli-3.0.899.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py
CHANGED
@@ -1 +1 @@
|
|
1
|
-
__version__ = '3.0.
|
1
|
+
__version__ = '3.0.899.1'
|
@@ -0,0 +1,24 @@
|
|
1
|
+
**Example 1: 情感分析调用示例**
|
2
|
+
|
3
|
+
情感分析。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli nlp AnalyzeSentiment --cli-unfold-argument \
|
9
|
+
--Text 我真开心。
|
10
|
+
```
|
11
|
+
|
12
|
+
Output:
|
13
|
+
```
|
14
|
+
{
|
15
|
+
"Response": {
|
16
|
+
"Negative": 0.004367333836853504,
|
17
|
+
"Neutral": 0.06927284598350525,
|
18
|
+
"Positive": 0.9263598322868347,
|
19
|
+
"RequestId": "848b909b-5ed7-44ad-b4d0-72bcf0be4f2a",
|
20
|
+
"Sentiment": "positive"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
```
|
24
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
**Example 1: 文本分类调用示例**
|
2
|
+
|
3
|
+
文本分类。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli nlp ClassifyContent --cli-unfold-argument \
|
9
|
+
--Title 巴萨队内危机重重,曝梅西跟董事会已决裂,巴托梅乌留他目的不纯 \
|
10
|
+
--Content 甘伯杯比赛,巴萨1-0击败艾尔切拿到了冠军,这是球队在甘伯杯上第43次拿下冠军,也是实现了8连冠的伟业,这支巴萨用一个冠军开启了新赛季的征途,本赛季能否从皇马手中夺得西甲冠军,非常让人期待。 目前这支巴萨,虽然用冠军拉开了新赛季的帷幕,但谁都知道,球队问题依然很大,内部目前是危机重重,第一个是转会市场动作缓慢,第二个是球队更新换代几乎为零,第三个是新帅更换,战术体系重新调整,第四个就是高层面临调整,第五个就是梅西的心情问题。 这5个问题里面,最后一个尤其重要,梅西的状态决定着这支巴萨的上限和未来。大家都知道,梅西这个夏天闹出离队,折腾了11天,最终是在合同约束下留在了巴萨,但回来后的他,在训练场及热身赛里,基本是没有笑容。 没有人能知道梅西目前的心情,他似乎是不开心的,而一个不开心的梅西,对于巴萨来说,等于是没有牙和爪子的老虎,没有太多的威胁力,而来自零点电台的消息,梅西跟巴萨董事会的关系已经决裂,有球是跟巴托梅乌,至今没跟巴托梅乌说过话。 巴托梅乌最近在接受采访的时候表示“不会和梅西介入冲突,坚决不会卖掉梅西,要让梅西在巴萨终老。”这番言论为巴托梅乌引来吐槽声音,事实上巴托梅乌不卖梅西的原因是一己私利而已,他不想在自己做主席的时候让梅西离开,这样他会成为千古罪人,所以他态度十分强硬,如果不是这个原因,早就卖掉梅西了。 在梅西留队后,巴托梅乌试图去缓解董事会跟梅西的关系,但双方裂痕已经产生了,根本就无法愈合了,接下来摆在巴萨面前的只有两个选择:要不本赛季跟梅西续约,要不梅西下赛季自由身离队了。
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"FirstClassification": {
|
18
|
+
"Id": 110,
|
19
|
+
"Label": "sports",
|
20
|
+
"Name": "体育",
|
21
|
+
"Score": 0.9999808073043823
|
22
|
+
},
|
23
|
+
"RequestId": "cb3fe220-82f5-4359-9a48-9450573186e8",
|
24
|
+
"SecondClassification": {
|
25
|
+
"Id": 11004,
|
26
|
+
"Label": "sports_footballexternal",
|
27
|
+
"Name": "体育_国际足球",
|
28
|
+
"Score": 0.8565764427185059
|
29
|
+
},
|
30
|
+
"ThirdClassification": {
|
31
|
+
"Id": 11004002,
|
32
|
+
"Label": "sports_footballexternal_xijia",
|
33
|
+
"Name": "体育_国际足球_西甲",
|
34
|
+
"Score": 0.8565764427185059
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
```
|
39
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
**Example 1: 对联生成调用示例**
|
2
|
+
|
3
|
+
对联生成。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli nlp ComposeCouplet --cli-unfold-argument \
|
9
|
+
--Text 阳光 \
|
10
|
+
--TargetType 0
|
11
|
+
```
|
12
|
+
|
13
|
+
Output:
|
14
|
+
```
|
15
|
+
{
|
16
|
+
"Response": {
|
17
|
+
"Content": [
|
18
|
+
"阳春白雪江山秀",
|
19
|
+
"光彩红梅岁月长"
|
20
|
+
],
|
21
|
+
"RandomCause": "",
|
22
|
+
"RequestId": "e9cc9a63-e2e9-4f92-a419-0fd8bf25cdf6",
|
23
|
+
"TopScroll": "盛世新春"
|
24
|
+
}
|
25
|
+
}
|
26
|
+
```
|
27
|
+
|
@@ -0,0 +1,29 @@
|
|
1
|
+
**Example 1: 诗词生成调用示例**
|
2
|
+
|
3
|
+
诗词生成。
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli nlp ComposePoetry --cli-unfold-argument \
|
9
|
+
--Text 阳光 \
|
10
|
+
--PoetryType 2 \
|
11
|
+
--Genre 5
|
12
|
+
```
|
13
|
+
|
14
|
+
Output:
|
15
|
+
```
|
16
|
+
{
|
17
|
+
"Response": {
|
18
|
+
"Content": [
|
19
|
+
"洛阳无人见",
|
20
|
+
"江城日光流",
|
21
|
+
"月明山上路",
|
22
|
+
"柳暗水中洲"
|
23
|
+
],
|
24
|
+
"RequestId": "a4878a27-7a5c-4cd4-b17d-6a1ff403f626",
|
25
|
+
"Title": "阳光"
|
26
|
+
}
|
27
|
+
}
|
28
|
+
```
|
29
|
+
|
@@ -0,0 +1,154 @@
|
|
1
|
+
**Example 1: 修改域名配置**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
Input:
|
6
|
+
|
7
|
+
```
|
8
|
+
tccli waf ModifySpartaProtection --cli-unfold-argument \
|
9
|
+
--Domain www.test.com \
|
10
|
+
--LoadBalance 0 \
|
11
|
+
--UpstreamType 0 \
|
12
|
+
--CertType 0 \
|
13
|
+
--Ports.0.NginxServerId 0 \
|
14
|
+
--Ports.0.Protocol http \
|
15
|
+
--Ports.0.Port 80 \
|
16
|
+
--Ports.0.UpstreamPort 80 \
|
17
|
+
--Ports.0.UpstreamProtocol http \
|
18
|
+
--SrcList 1.1.1.1 \
|
19
|
+
--IsCdn 0 \
|
20
|
+
--IsWebsocket 0 \
|
21
|
+
--IsGray 0 \
|
22
|
+
--IsHttp2 0
|
23
|
+
```
|
24
|
+
|
25
|
+
Output:
|
26
|
+
```
|
27
|
+
{
|
28
|
+
"Response": {
|
29
|
+
"RequestId": "9ee8be5b-6caa-4c39-ab70-890e0e673515"
|
30
|
+
}
|
31
|
+
}
|
32
|
+
```
|
33
|
+
|
34
|
+
**Example 2: 修改域名接入配置**
|
35
|
+
|
36
|
+
|
37
|
+
|
38
|
+
Input:
|
39
|
+
|
40
|
+
```
|
41
|
+
tccli waf ModifySpartaProtection --cli-unfold-argument \
|
42
|
+
--Domain lucas0407-1.qcloudwaf.com \
|
43
|
+
--LoadBalance 0 \
|
44
|
+
--InstanceID waf_2kuj60v200b09bsr \
|
45
|
+
--UpstreamType 0 \
|
46
|
+
--IsWebsocket 0 \
|
47
|
+
--IsHttp2 0 \
|
48
|
+
--SrcList 11.148.84.137 \
|
49
|
+
--CertType 0 \
|
50
|
+
--DomainId eb454223185451fe8b255a82b9d4bf94 \
|
51
|
+
--Weights 100 \
|
52
|
+
--IsKeepAlive 1 \
|
53
|
+
--IsCdn 1 \
|
54
|
+
--IsGray 0 \
|
55
|
+
--Anycast 0 \
|
56
|
+
--Ports.0.NginxServerId 62094 \
|
57
|
+
--Ports.0.Protocol http \
|
58
|
+
--Ports.0.Port 80 \
|
59
|
+
--Ports.0.UpstreamPort 80 \
|
60
|
+
--Ports.0.UpstreamProtocol http \
|
61
|
+
--ActiveCheck 1
|
62
|
+
```
|
63
|
+
|
64
|
+
Output:
|
65
|
+
```
|
66
|
+
{
|
67
|
+
"Response": {
|
68
|
+
"RequestId": "9c553d61-526a-44cf-a874-b24956033973"
|
69
|
+
}
|
70
|
+
}
|
71
|
+
```
|
72
|
+
|
73
|
+
**Example 3: ts**
|
74
|
+
|
75
|
+
|
76
|
+
|
77
|
+
Input:
|
78
|
+
|
79
|
+
```
|
80
|
+
tccli waf ModifySpartaProtection --cli-unfold-argument \
|
81
|
+
--IsGray 0 \
|
82
|
+
--Domain lucas0407-1.qcloudwaf.com \
|
83
|
+
--LoadBalance 0 \
|
84
|
+
--CipherTemplate 0 \
|
85
|
+
--InstanceID waf_2kuj60v200b09bsr \
|
86
|
+
--UpstreamType 0 \
|
87
|
+
--IsWebsocket 0 \
|
88
|
+
--IsHttp2 0 \
|
89
|
+
--SrcList 114.132.223.23 \
|
90
|
+
--CertType 0 \
|
91
|
+
--DomainId eb454223185451fe8b255a82b9d4bf94 \
|
92
|
+
--Weights 100 \
|
93
|
+
--IsKeepAlive 1 \
|
94
|
+
--IsCdn 1 \
|
95
|
+
--TLSVersion 3 \
|
96
|
+
--Anycast 0 \
|
97
|
+
--Ports.0.NginxServerId 62094 \
|
98
|
+
--Ports.0.Protocol http \
|
99
|
+
--Ports.0.Port 80 \
|
100
|
+
--Ports.0.UpstreamPort 80 \
|
101
|
+
--Ports.0.UpstreamProtocol http \
|
102
|
+
--ActiveCheck 1
|
103
|
+
```
|
104
|
+
|
105
|
+
Output:
|
106
|
+
```
|
107
|
+
{
|
108
|
+
"Response": {
|
109
|
+
"RequestId": "13b8a309-3e7d-4393-91a4-271bf6d5dd71"
|
110
|
+
}
|
111
|
+
}
|
112
|
+
```
|
113
|
+
|
114
|
+
**Example 4: Modify-Host-1**
|
115
|
+
|
116
|
+
|
117
|
+
|
118
|
+
Input:
|
119
|
+
|
120
|
+
```
|
121
|
+
tccli waf ModifySpartaProtection --cli-unfold-argument \
|
122
|
+
--IsGray 0 \
|
123
|
+
--Domain lucas0919.qcloudwaf.com \
|
124
|
+
--LoadBalance 0 \
|
125
|
+
--CipherTemplate 0 \
|
126
|
+
--InstanceID lucas \
|
127
|
+
--UpstreamType 0 \
|
128
|
+
--IsWebsocket 0 \
|
129
|
+
--IsHttp2 0 \
|
130
|
+
--SrcList 114.132.223.23 \
|
131
|
+
--CertType 0 \
|
132
|
+
--DomainId e801733b69605960a17388999868512a \
|
133
|
+
--Weights 100 \
|
134
|
+
--IsKeepAlive 1 \
|
135
|
+
--IsCdn 1 \
|
136
|
+
--TLSVersion 3 \
|
137
|
+
--Anycast 0 \
|
138
|
+
--Ports.0.NginxServerId 63953 \
|
139
|
+
--Ports.0.Protocol http \
|
140
|
+
--Ports.0.Port 80 \
|
141
|
+
--Ports.0.UpstreamPort 80 \
|
142
|
+
--Ports.0.UpstreamProtocol http \
|
143
|
+
--ActiveCheck 1
|
144
|
+
```
|
145
|
+
|
146
|
+
Output:
|
147
|
+
```
|
148
|
+
{
|
149
|
+
"Response": {
|
150
|
+
"RequestId": "d6bd6f14-926e-4a3e-9a34-bb1dd7d9a51d"
|
151
|
+
}
|
152
|
+
}
|
153
|
+
```
|
154
|
+
|
@@ -1,6 +1,6 @@
|
|
1
1
|
**Example 1: 查询维度评分**
|
2
2
|
|
3
|
-
|
3
|
+
查询维度评分
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
@@ -15,8 +15,20 @@ Output:
|
|
15
15
|
```
|
16
16
|
{
|
17
17
|
"Response": {
|
18
|
-
"
|
19
|
-
|
18
|
+
"Data": {
|
19
|
+
"DimensionScoreList": [
|
20
|
+
{
|
21
|
+
"Name": "abc",
|
22
|
+
"Weight": 0,
|
23
|
+
"UserId": 0,
|
24
|
+
"UserName": "abc",
|
25
|
+
"UpdateTime": 0,
|
26
|
+
"JoinTableNumber": 0,
|
27
|
+
"Score": 0
|
28
|
+
}
|
29
|
+
]
|
30
|
+
},
|
31
|
+
"RequestId": "abc"
|
20
32
|
}
|
21
33
|
}
|
22
34
|
```
|
@@ -1,6 +1,6 @@
|
|
1
1
|
**Example 1: 质量评分趋势**
|
2
2
|
|
3
|
-
|
3
|
+
质量评分趋势
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
@@ -17,7 +17,15 @@ Output:
|
|
17
17
|
{
|
18
18
|
"Response": {
|
19
19
|
"RequestId": "8f440fef-24c6-4f5c-a58e-7e0aa7aa19d7",
|
20
|
-
"Data": {
|
20
|
+
"Data": {
|
21
|
+
"AverageScore": 0.0,
|
22
|
+
"DailyScoreList": [
|
23
|
+
{
|
24
|
+
"StatisticsDate": 0,
|
25
|
+
"Score": 0.0
|
26
|
+
}
|
27
|
+
]
|
28
|
+
}
|
21
29
|
}
|
22
30
|
}
|
23
31
|
```
|
@@ -1,6 +1,6 @@
|
|
1
1
|
**Example 1: 查询表得分趋势**
|
2
2
|
|
3
|
-
|
3
|
+
查询表得分趋势
|
4
4
|
|
5
5
|
Input:
|
6
6
|
|
@@ -17,7 +17,15 @@ Output:
|
|
17
17
|
{
|
18
18
|
"Response": {
|
19
19
|
"RequestId": "8f440fef-24c6-4f5c-a58e-7e0aa7aa19d7",
|
20
|
-
"Data": {
|
20
|
+
"Data": {
|
21
|
+
"AverageScore": 0.0,
|
22
|
+
"DailyScoreList": [
|
23
|
+
{
|
24
|
+
"StatisticsDate": 0,
|
25
|
+
"Score": 0.0
|
26
|
+
}
|
27
|
+
]
|
28
|
+
}
|
21
29
|
}
|
22
30
|
}
|
23
31
|
```
|