tccli 3.0.1096.1__py2.py3-none-any.whl → 3.0.1097.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 (59) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/aiart/v20221229/QueryDrawPortraitJob.md +30 -0
  3. tccli/examples/aiart/v20221229/QueryTrainPortraitModelJob.md +24 -0
  4. tccli/examples/aiart/v20221229/SubmitDrawPortraitJob.md +23 -0
  5. tccli/examples/aiart/v20221229/SubmitTrainPortraitModelJob.md +20 -0
  6. tccli/examples/aiart/v20221229/UploadTrainPortraitImages.md +25 -0
  7. tccli/examples/ccc/v20200210/ModifyStaffPassword.md +22 -0
  8. tccli/examples/csip/v20221121/DescribeAlertList.md +176 -0
  9. tccli/examples/cynosdb/v20190107/ModifyInstanceUpgradeLimitDays.md +22 -0
  10. tccli/examples/dcdb/v20180411/DescribeDCDBInstances.md +4 -3
  11. tccli/examples/dlc/v20210125/DescribeNotebookSessionStatementSqlResult.md +3 -1
  12. tccli/examples/lke/v20231130/GetEmbedding.md +4 -1
  13. tccli/examples/lke/v20231130/QueryParseDocResult.md +4 -1
  14. tccli/examples/lke/v20231130/QueryRewrite.md +6 -1
  15. tccli/examples/mariadb/v20170312/DescribeDBInstanceDetail.md +2 -1
  16. tccli/examples/mariadb/v20170312/DescribeDBInstances.md +4 -3
  17. tccli/examples/tdmq/v20200217/DescribeRabbitMQQueueDetail.md +25 -22
  18. tccli/examples/vpc/v20170312/DisableVpnGatewaySslClientCert.md +2 -2
  19. tccli/services/aiart/aiart_client.py +269 -4
  20. tccli/services/aiart/v20221229/api.json +404 -0
  21. tccli/services/aiart/v20221229/examples.json +40 -0
  22. tccli/services/billing/v20180709/api.json +30 -0
  23. tccli/services/bma/v20221115/api.json +4 -6
  24. tccli/services/ccc/ccc_client.py +53 -0
  25. tccli/services/ccc/v20200210/api.json +57 -5
  26. tccli/services/ccc/v20200210/examples.json +8 -0
  27. tccli/services/cdb/v20170320/api.json +9 -0
  28. tccli/services/cdn/v20180606/api.json +1 -1
  29. tccli/services/csip/csip_client.py +53 -0
  30. tccli/services/csip/v20221121/api.json +1468 -7
  31. tccli/services/csip/v20221121/examples.json +8 -0
  32. tccli/services/cynosdb/cynosdb_client.py +53 -0
  33. tccli/services/cynosdb/v20190107/api.json +52 -0
  34. tccli/services/cynosdb/v20190107/examples.json +8 -0
  35. tccli/services/dcdb/v20180411/api.json +45 -3
  36. tccli/services/dcdb/v20180411/examples.json +1 -1
  37. tccli/services/dlc/v20210125/api.json +30 -0
  38. tccli/services/dlc/v20210125/examples.json +1 -1
  39. tccli/services/hunyuan/v20230901/api.json +14 -14
  40. tccli/services/iotexplorer/v20190423/api.json +1 -1
  41. tccli/services/lighthouse/v20200324/api.json +2 -2
  42. tccli/services/live/v20180801/api.json +7 -7
  43. tccli/services/lke/v20231130/api.json +82 -6
  44. tccli/services/lke/v20231130/examples.json +3 -3
  45. tccli/services/mariadb/v20170312/api.json +45 -2
  46. tccli/services/mariadb/v20170312/examples.json +2 -2
  47. tccli/services/ocr/v20181119/api.json +1 -1
  48. tccli/services/ssl/v20191205/api.json +50 -9
  49. tccli/services/tdmq/v20200217/api.json +64 -25
  50. tccli/services/tdmq/v20200217/examples.json +2 -2
  51. tccli/services/trtc/v20190722/api.json +34 -15
  52. tccli/services/vpc/v20170312/api.json +20 -5
  53. tccli/services/vpc/v20170312/examples.json +2 -2
  54. tccli/services/weilingwith/v20230427/api.json +11 -11
  55. {tccli-3.0.1096.1.dist-info → tccli-3.0.1097.1.dist-info}/METADATA +2 -2
  56. {tccli-3.0.1096.1.dist-info → tccli-3.0.1097.1.dist-info}/RECORD +59 -51
  57. {tccli-3.0.1096.1.dist-info → tccli-3.0.1097.1.dist-info}/WHEEL +0 -0
  58. {tccli-3.0.1096.1.dist-info → tccli-3.0.1097.1.dist-info}/entry_points.txt +0 -0
  59. {tccli-3.0.1096.1.dist-info → tccli-3.0.1097.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1096.1'
1
+ __version__ = '3.0.1097.1'
@@ -0,0 +1,30 @@
1
+ **Example 1: 成功**
2
+
3
+ 成功请求
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli aiart QueryDrawPortraitJob --cli-unfold-argument \
9
+ --JobId abc
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "JobErrorCode": "",
17
+ "JobErrorMsg": "",
18
+ "JobStatusCode": "DONE",
19
+ "JobStatusMsg": "处理完成",
20
+ "RequestId": "9202070d-02bd-4848-bf54-568a2597e400",
21
+ "ResultDetails": [
22
+ "SUCCESS"
23
+ ],
24
+ "ResultUrls": [
25
+ "https://xxx.com/a.jpg"
26
+ ]
27
+ }
28
+ }
29
+ ```
30
+
@@ -0,0 +1,24 @@
1
+ **Example 1: 查询成功**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli aiart QueryTrainPortraitModelJob --cli-unfold-argument \
9
+ --ModelId abc
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "JobErrorCode": "",
17
+ "JobErrorMsg": "",
18
+ "JobStatusCode": "DONE",
19
+ "JobStatusMsg": "处理完成",
20
+ "RequestId": "d643c325-5fe6-4d90-880c-40516ad27f8e"
21
+ }
22
+ }
23
+ ```
24
+
@@ -0,0 +1,23 @@
1
+ **Example 1: 成功**
2
+
3
+ 调用成功
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli aiart SubmitDrawPortraitJob --cli-unfold-argument \
9
+ --ModelId test \
10
+ --StyleId zhengjian_female \
11
+ --ImageNum 1
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "JobId": "abcdefg",
19
+ "RequestId": "94b5192b-b40b-4f0c-b4f8-edfa7092f8b9"
20
+ }
21
+ }
22
+ ```
23
+
@@ -0,0 +1,20 @@
1
+ **Example 1: 成功提交训练任务**
2
+
3
+ 提交训练任务成功
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli aiart SubmitTrainPortraitModelJob --cli-unfold-argument \
9
+ --ModelId abc
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "RequestId": "abc"
17
+ }
18
+ }
19
+ ```
20
+
@@ -0,0 +1,25 @@
1
+ **Example 1: 成功**
2
+
3
+ 成功调用上传
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli aiart UploadTrainPortraitImages --cli-unfold-argument \
9
+ --ModelId test \
10
+ --BaseUrl https://xxx.com/xxx.jpg \
11
+ --Urls https://xxx.com/yyy.jpg
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "948182a1-e669-42f8-a00e-fa9f5b7d287a",
19
+ "ResultDetails": [
20
+ "SUCCESS"
21
+ ]
22
+ }
23
+ }
24
+ ```
25
+
@@ -0,0 +1,22 @@
1
+ **Example 1: 修改密码**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli ccc ModifyStaffPassword --cli-unfold-argument \
9
+ --SdkAppId 1600000000 \
10
+ --Email a@qq.com \
11
+ --Password foobar
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "abc"
19
+ }
20
+ }
21
+ ```
22
+
@@ -0,0 +1,176 @@
1
+ **Example 1: 告警中心全量告警示例**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli csip DescribeAlertList --cli-unfold-argument \
9
+ --MemberId abc \
10
+ --OperatedMemberId abc \
11
+ --AssetType 0 \
12
+ --Filter.Limit 0 \
13
+ --Filter.Offset 0 \
14
+ --Filter.Order abc \
15
+ --Filter.By abc \
16
+ --Filter.Filters.0.Name abc \
17
+ --Filter.Filters.0.Values abc \
18
+ --Filter.Filters.0.OperatorType 0 \
19
+ --Filter.StartTime abc \
20
+ --Filter.EndTime abc
21
+ ```
22
+
23
+ Output:
24
+ ```
25
+ {
26
+ "Response": {
27
+ "AlertList": [
28
+ {
29
+ "ID": "abc",
30
+ "Name": "abc",
31
+ "Source": "abc",
32
+ "Level": 1,
33
+ "Attacker": {
34
+ "IP": "abc",
35
+ "HostIP": "abc",
36
+ "Port": 1,
37
+ "InstanceID": "abc",
38
+ "City": "abc",
39
+ "Province": "abc",
40
+ "Country": "abc",
41
+ "Address": "abc",
42
+ "Latitude": "abc",
43
+ "Longitude": "abc",
44
+ "Info": "abc",
45
+ "Domain": "abc",
46
+ "Name": "abc",
47
+ "Account": "abc",
48
+ "Family": "abc",
49
+ "VirusName": "abc",
50
+ "MD5": "abc",
51
+ "FileName": "abc"
52
+ },
53
+ "Victim": {
54
+ "IP": "abc",
55
+ "HostIP": "abc",
56
+ "Port": 1,
57
+ "InstanceID": "abc",
58
+ "City": "abc",
59
+ "Province": "abc",
60
+ "Country": "abc",
61
+ "Address": "abc",
62
+ "Latitude": "abc",
63
+ "Longitude": "abc",
64
+ "Info": "abc",
65
+ "Domain": "abc",
66
+ "Name": "abc",
67
+ "Account": "abc",
68
+ "Family": "abc",
69
+ "VirusName": "abc",
70
+ "MD5": "abc",
71
+ "FileName": "abc"
72
+ },
73
+ "EvidenceData": "abc",
74
+ "EvidenceLocation": "abc",
75
+ "EvidencePath": "abc",
76
+ "CreateTime": "abc",
77
+ "UpdateTime": "abc",
78
+ "Count": 1,
79
+ "UrgentSuggestion": "abc",
80
+ "RemediationSuggestion": "abc",
81
+ "RiskInvestigation": "abc",
82
+ "RiskTreatment": "abc",
83
+ "Status": 1,
84
+ "ProcessType": "abc",
85
+ "Type": "abc",
86
+ "SubType": "abc",
87
+ "ExtraInfo": {
88
+ "RelateEvent": {
89
+ "EventID": "abc",
90
+ "Description": "abc",
91
+ "RelatedCount": 0
92
+ },
93
+ "LeakContent": "abc",
94
+ "LeakAPI": "abc",
95
+ "SecretID": "abc",
96
+ "Rule": "abc",
97
+ "RuleDesc": "abc",
98
+ "ProtocolPort": "abc",
99
+ "AttackContent": "abc",
100
+ "AttackIPProfile": "abc",
101
+ "AttackIPTags": "abc",
102
+ "RequestMethod": "abc",
103
+ "HttpLog": "abc",
104
+ "AttackDomain": "abc",
105
+ "FilePath": "abc",
106
+ "UserAgent": "abc",
107
+ "RequestHeaders": "abc",
108
+ "LoginUserName": "abc",
109
+ "VulnerabilityName": "abc",
110
+ "CVE": "abc",
111
+ "ServiceProcess": "abc",
112
+ "FileName": "abc",
113
+ "FileSize": "abc",
114
+ "FileMD5": "abc",
115
+ "FileLastAccessTime": "abc",
116
+ "FileModifyTime": "abc",
117
+ "RecentAccessTime": "abc",
118
+ "RecentModifyTime": "abc",
119
+ "VirusName": "abc",
120
+ "VirusFileTags": "abc",
121
+ "BehavioralCharacteristics": "abc",
122
+ "ProcessNamePID": "abc",
123
+ "ProcessPath": "abc",
124
+ "ProcessCommandLine": "abc",
125
+ "ProcessPermissions": "abc",
126
+ "ExecutedCommand": "abc",
127
+ "AffectedFileName": "abc",
128
+ "DecoyPath": "abc",
129
+ "MaliciousProcessFileSize": "abc",
130
+ "MaliciousProcessFileMD5": "abc",
131
+ "MaliciousProcessNamePID": "abc",
132
+ "MaliciousProcessPath": "abc",
133
+ "MaliciousProcessStartTime": "abc",
134
+ "CommandContent": "abc",
135
+ "StartupUser": "abc",
136
+ "UserGroup": "abc",
137
+ "NewPermissions": "abc",
138
+ "ParentProcess": "abc",
139
+ "ClassName": "abc",
140
+ "ClassLoader": "abc",
141
+ "ClassFileSize": "abc",
142
+ "ClassFileMD5": "abc",
143
+ "ParentClassName": "abc",
144
+ "InheritedInterface": "abc",
145
+ "Comment": "abc",
146
+ "PayloadContent": "abc",
147
+ "CallbackAddressPortrait": "abc",
148
+ "CallbackAddressTag": "abc",
149
+ "ProcessMD5": "abc",
150
+ "FilePermission": "abc",
151
+ "HitProbe": "abc",
152
+ "HitHoneyPot": "abc",
153
+ "CommandList": "abc",
154
+ "AttackEventDesc": "abc",
155
+ "ProcessInfo": "abc",
156
+ "UserNameAndPwd": "abc"
157
+ },
158
+ "Key": "abc",
159
+ "Date": "abc",
160
+ "AppID": "abc",
161
+ "NickName": "abc",
162
+ "Uin": "abc"
163
+ }
164
+ ],
165
+ "AlertTypeCount": [
166
+ {
167
+ "Name": "abc",
168
+ "Count": 1
169
+ }
170
+ ],
171
+ "TotalCount": 1,
172
+ "RequestId": "abc"
173
+ }
174
+ }
175
+ ```
176
+
@@ -0,0 +1,22 @@
1
+ **Example 1: 修改实例小版本升级限制时间**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli cynosdb ModifyInstanceUpgradeLimitDays --cli-unfold-argument \
9
+ --ClusterId abc \
10
+ --InstanceId abc \
11
+ --UpgradeLimitDays 30
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "RequestId": "abc"
19
+ }
20
+ }
21
+ ```
22
+
@@ -90,10 +90,11 @@ Output:
90
90
  "Zone": "ap-guangzhou-1",
91
91
  "ResourceTags": [
92
92
  {
93
- "TagKey": "xx",
94
- "TagValue": "xx"
93
+ "TagKey": "name",
94
+ "TagValue": "liu"
95
95
  }
96
- ]
96
+ ],
97
+ "DbVersionId": "8.0"
97
98
  }
98
99
  ],
99
100
  "RequestId": "a44a3d24-1e71-4bbf-bc22-f6d583b084d8",
@@ -33,7 +33,9 @@ Output:
33
33
  ],
34
34
  "NextToken": "abc",
35
35
  "OutputPath": "abc",
36
- "RequestId": "abc"
36
+ "RequestId": "abc",
37
+ "UseTime": 10,
38
+ "AffectRows": 10
37
39
  }
38
40
  }
39
41
  ```
@@ -22,7 +22,10 @@ Output:
22
22
  ]
23
23
  }
24
24
  ],
25
- "RequestId": "abc"
25
+ "RequestId": "3c140219-cfe9-470e-b241-907877d6fb03",
26
+ "Usage": {
27
+ "TotalTokens": 3
28
+ }
26
29
  }
27
30
  }
28
31
  ```
@@ -17,7 +17,10 @@ Output:
17
17
  "Reason": "",
18
18
  "RequestId": "acd2b5f3-350f-4171-92be-e1c70f3e73d7",
19
19
  "Status": "success",
20
- "Url": "https://qidian-qbot-test-1251316161.cos.ap-guangzhou.myqcloud.com/%2Fatomic/2/D78iBBGi.zip?q-sign-algorithm=sha1&q-ak=xxxxxxxxx&q-sign-time=1706792626%3B1706796226&q-key-time=1706792626%3B1706796226&q-header-list=host&q-url-param-list=&q-signature=e3d46a97846b256ff89f3698*******************"
20
+ "Url": "https://qidian-qbot-test-1251316161.cos.ap-guangzhou.myqcloud.com/%2Fatomic/2/D78iBBGi.zip?q-sign-algorithm=sha1&q-ak=xxxxxxxxx&q-sign-time=1706792626%3B1706796226&q-key-time=1706792626%3B1706796226&q-header-list=host&q-url-param-list=&q-signature=e3d46a97846b256ff89f3698*******************",
21
+ "Usage": {
22
+ "TotalPages": 1
23
+ }
21
24
  }
22
25
  }
23
26
  ```
@@ -18,7 +18,12 @@ Output:
18
18
  {
19
19
  "Response": {
20
20
  "Content": "你家在国内哪里?",
21
- "RequestId": "4de60215-13cd-4f90-afc4-9fe4ef63e245"
21
+ "RequestId": "4de60215-13cd-4f90-afc4-9fe4ef63e245",
22
+ "Usage": {
23
+ "InputTokens": 45,
24
+ "OutputTokens": 6,
25
+ "TotalTokens": 51
26
+ }
22
27
  }
23
28
  }
24
29
  ```
@@ -93,7 +93,8 @@ Output:
93
93
  ],
94
94
  "IsPhysicalReplicationSupported": true,
95
95
  "IsDcnStrongSyncSupported": 1,
96
- "IsDcnSwitchSupported": 1
96
+ "IsDcnSwitchSupported": 1,
97
+ "ProxyVersion": "proxy-22.1.7"
97
98
  }
98
99
  }
99
100
  ```
@@ -67,10 +67,11 @@ Output:
67
67
  "Zone": "ap-guangzhou-1",
68
68
  "ResourceTags": [
69
69
  {
70
- "TagKey": "xx",
71
- "TagValue": "xx"
70
+ "TagKey": "name",
71
+ "TagValue": "liu"
72
72
  }
73
- ]
73
+ ],
74
+ "DbVersionId": "8.0"
74
75
  }
75
76
  ],
76
77
  "RequestId": "66c4d0c5-bdef-45bd-aa5b-05642802d034",
@@ -6,40 +6,43 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli tdmq DescribeRabbitMQQueueDetail --cli-unfold-argument \
9
- --InstanceId amqp-44w9928j \
10
- --VirtualHost test \
11
- --QueueName xx
9
+ --InstanceId abc \
10
+ --VirtualHost abc \
11
+ --QueueName abc
12
12
  ```
13
13
 
14
14
  Output:
15
15
  ```
16
16
  {
17
17
  "Response": {
18
+ "InstanceId": "abc",
19
+ "VirtualHost": "abc",
20
+ "QueueName": "abc",
21
+ "QueueType": "abc",
18
22
  "Consumers": 0,
19
23
  "Durable": true,
20
- "LazyMode": true,
21
- "QueueName": "xx",
22
- "QueueType": "xx",
23
- "VirtualHost": "xx",
24
- "InstanceId": "xx",
24
+ "AutoDelete": true,
25
+ "Remark": "abc",
26
+ "MessageTTL": 0,
25
27
  "AutoExpire": 0,
26
- "MaxInMemoryLength": 0,
28
+ "MaxLength": 0,
27
29
  "MaxLengthBytes": 0,
28
- "MessageTTL": 0,
29
- "SingleActiveConsumer": true,
30
- "Remark": "xx",
31
- "AutoDelete": true,
32
- "DeadLetterExchange": "xx",
33
30
  "DeliveryLimit": 0,
34
- "RequestId": "xx",
35
- "OverflowBehaviour": "xx",
36
- "MasterLocator": "xx",
37
- "MaxInMemoryBytes": 0,
31
+ "OverflowBehaviour": "abc",
32
+ "DeadLetterExchange": "abc",
33
+ "DeadLetterRoutingKey": "abc",
34
+ "SingleActiveConsumer": true,
38
35
  "MaximumPriority": 0,
39
- "DeadLetterRoutingKey": "xx",
40
- "MaxLength": 0,
41
- "Node": "xx",
42
- "CreateTime": 1669174535
36
+ "LazyMode": true,
37
+ "MasterLocator": "abc",
38
+ "MaxInMemoryLength": 0,
39
+ "MaxInMemoryBytes": 0,
40
+ "CreateTime": 0,
41
+ "Node": "abc",
42
+ "DeadLetterStrategy": "abc",
43
+ "QueueLeaderLocator": "abc",
44
+ "QuorumInitialGroupSize": 0,
45
+ "RequestId": "abc"
43
46
  }
44
47
  }
45
48
  ```
@@ -6,7 +6,7 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli vpc DisableVpnGatewaySslClientCert --cli-unfold-argument \
9
- --SslVpnClientId vpnc-xxxx
9
+ --SslVpnClientId vpnc-04ubidcy
10
10
  ```
11
11
 
12
12
  Output:
@@ -14,7 +14,7 @@ Output:
14
14
  {
15
15
  "Response": {
16
16
  "RequestId": "aeabeab6-f74b-453a-b25d-d7b460193c3b",
17
- "TaskId": 123
17
+ "TaskId": 315123
18
18
  }
19
19
  }
20
20
  ```