tccli 3.0.1028.1__py2.py3-none-any.whl → 3.0.1030.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 (61) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/asr/v20190614/CreateAsyncRecognitionTask.md +1 -1
  3. tccli/examples/ccc/v20200210/CreateCarrierPrivilegeNumberApplicant.md +5 -1
  4. tccli/examples/ccc/v20200210/DescribeAutoCalloutTask.md +7 -4
  5. tccli/examples/ccc/v20200210/DescribeAutoCalloutTasks.md +3 -3
  6. tccli/examples/ccc/v20200210/DescribeCarrierPrivilegeNumberApplicants.md +4 -1
  7. tccli/examples/ccc/v20200210/DescribeChatMessages.md +27 -2
  8. tccli/examples/ccc/v20200210/DescribeExtensions.md +2 -2
  9. tccli/examples/ccc/v20200210/DescribePSTNActiveSessionList.md +2 -2
  10. tccli/examples/ccc/v20200210/DescribeProtectedTelCdr.md +2 -0
  11. tccli/examples/ccc/v20200210/DescribeSkillGroupInfoList.md +1 -0
  12. tccli/examples/ccc/v20200210/DescribeTelCdr.md +2 -0
  13. tccli/examples/cvm/v20170312/InquiryPriceTerminateInstances.md +2 -1
  14. tccli/examples/cvm/v20170312/ModifyInstanceDiskType.md +1 -1
  15. tccli/examples/ocr/v20181119/VatInvoiceVerifyNew.md +56 -0
  16. tccli/examples/tdmq/v20200217/DescribeNamespaceBundlesOpt.md +1 -23
  17. tccli/examples/teo/v20220901/ModifyAccelerationDomainStatuses.md +1 -1
  18. tccli/examples/tione/v20211111/DescribeBillingResourceGroups.md +72 -22
  19. tccli/examples/trp/v20210515/DescribePlanQRCodeScanRecords.md +36 -0
  20. tccli/examples/vod/v20180717/EnhanceMediaQuality.md +22 -0
  21. tccli/services/ams/v20201229/api.json +143 -2
  22. tccli/services/asr/v20190614/api.json +1 -1
  23. tccli/services/asr/v20190614/examples.json +1 -1
  24. tccli/services/bi/v20220105/api.json +10 -0
  25. tccli/services/ccc/v20200210/api.json +88 -74
  26. tccli/services/ccc/v20200210/examples.json +11 -11
  27. tccli/services/cdb/v20170320/api.json +45 -24
  28. tccli/services/cdwdoris/v20211228/api.json +10 -0
  29. tccli/services/cvm/v20170312/api.json +23 -21
  30. tccli/services/cvm/v20170312/examples.json +2 -2
  31. tccli/services/dlc/v20210125/api.json +7 -4
  32. tccli/services/dnspod/v20210323/api.json +10 -0
  33. tccli/services/dts/v20211206/api.json +5 -1
  34. tccli/services/ess/v20201111/api.json +69 -69
  35. tccli/services/essbasic/v20210526/api.json +13 -13
  36. tccli/services/essbasic/v20210526/examples.json +1 -1
  37. tccli/services/faceid/v20180301/api.json +62 -0
  38. tccli/services/lcic/v20220817/api.json +13 -4
  39. tccli/services/lighthouse/v20200324/api.json +1 -1
  40. tccli/services/ocr/v20181119/api.json +548 -10
  41. tccli/services/ocr/v20181119/examples.json +1 -1
  42. tccli/services/redis/v20180412/api.json +27 -15
  43. tccli/services/tag/v20180813/api.json +14 -14
  44. tccli/services/tdmq/v20200217/api.json +2 -15
  45. tccli/services/tdmq/v20200217/examples.json +1 -1
  46. tccli/services/teo/v20220901/examples.json +1 -1
  47. tccli/services/tione/v20211111/api.json +18 -18
  48. tccli/services/tione/v20211111/examples.json +2 -2
  49. tccli/services/trp/trp_client.py +69 -16
  50. tccli/services/trp/v20210515/api.json +207 -22
  51. tccli/services/trp/v20210515/examples.json +8 -0
  52. tccli/services/vm/v20210922/api.json +141 -0
  53. tccli/services/vod/v20180717/api.json +131 -0
  54. tccli/services/vod/v20180717/examples.json +8 -0
  55. tccli/services/vod/vod_client.py +53 -0
  56. tccli/services/vpc/v20170312/api.json +8 -8
  57. {tccli-3.0.1028.1.dist-info → tccli-3.0.1030.1.dist-info}/METADATA +2 -2
  58. {tccli-3.0.1028.1.dist-info → tccli-3.0.1030.1.dist-info}/RECORD +61 -59
  59. {tccli-3.0.1028.1.dist-info → tccli-3.0.1030.1.dist-info}/WHEEL +0 -0
  60. {tccli-3.0.1028.1.dist-info → tccli-3.0.1030.1.dist-info}/entry_points.txt +0 -0
  61. {tccli-3.0.1028.1.dist-info → tccli-3.0.1030.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1028.1'
1
+ __version__ = '3.0.1030.1'
@@ -7,7 +7,7 @@ Input:
7
7
  ```
8
8
  tccli asr CreateAsyncRecognitionTask --cli-unfold-argument \
9
9
  --EngineType 16k_zh \
10
- --Url http://tes.cos.ap-guangzhou.myqcloud.com/test.wav \
10
+ --Url rtmp://test.com/test_stream \
11
11
  --CallbackUrl http://test.com/callback \
12
12
  --SignToken
13
13
  ```
@@ -5,7 +5,11 @@
5
5
  Input:
6
6
 
7
7
  ```
8
- tccli ccc CreateCarrierPrivilegeNumberApplicant --cli-unfold-argument ```
8
+ tccli ccc CreateCarrierPrivilegeNumberApplicant --cli-unfold-argument \
9
+ --SdkAppId 14000000 \
10
+ --Callers 008601012345678 \
11
+ --Callees 008618612345678
12
+ ```
9
13
 
10
14
  Output:
11
15
  ```
@@ -15,21 +15,24 @@ Output:
15
15
  {
16
16
  "Response": {
17
17
  "IvrId": 1,
18
- "Name": "xx",
18
+ "Name": "foobar",
19
19
  "NotBefore": 1,
20
20
  "NotAfter": 0,
21
21
  "State": 1,
22
22
  "Callers": [
23
23
  "008610086"
24
24
  ],
25
- "RequestId": "xx",
25
+ "RequestId": "foobar",
26
26
  "Callees": [
27
27
  {
28
28
  "State": 1,
29
- "Callee": "xx"
29
+ "Callee": "foobar",
30
+ "Sessions": [
31
+ "foobar"
32
+ ]
30
33
  }
31
34
  ],
32
- "Description": "xx"
35
+ "Description": "foobar"
33
36
  }
34
37
  }
35
38
  ```
@@ -21,16 +21,16 @@ Output:
21
21
  "TaskId": 3241,
22
22
  "IvrId": 1,
23
23
  "CalleeCount": 1,
24
- "Name": "xx",
24
+ "Name": "foobar",
25
25
  "NotBefore": 0,
26
26
  "NotAfter": 0,
27
27
  "State": 1,
28
28
  "Callers": [
29
- "xx"
29
+ "123456"
30
30
  ]
31
31
  }
32
32
  ],
33
- "RequestId": "xx"
33
+ "RequestId": "123456"
34
34
  }
35
35
  }
36
36
  ```
@@ -5,7 +5,9 @@
5
5
  Input:
6
6
 
7
7
  ```
8
- tccli ccc DescribeCarrierPrivilegeNumberApplicants --cli-unfold-argument ```
8
+ tccli ccc DescribeCarrierPrivilegeNumberApplicants --cli-unfold-argument \
9
+ --SdkAppId 14000000
10
+ ```
9
11
 
10
12
  Output:
11
13
  ```
@@ -24,6 +26,7 @@ Output:
24
26
  "008618612345678"
25
27
  ],
26
28
  "State": 1,
29
+ "Description": "foobar",
27
30
  "CreateTime": 1623145120,
28
31
  "UpdateTime": 1623145120
29
32
  }
@@ -15,8 +15,33 @@ Output:
15
15
  {
16
16
  "Response": {
17
17
  "RequestId": "48edd236-7ef1-45af-9e12-fc376ba355bf",
18
- "TotalCount": 0,
19
- "Messages": []
18
+ "TotalCount": 2,
19
+ "Messages": [
20
+ {
21
+ "Timestamp": 1600007226,
22
+ "From": "John",
23
+ "Messages": [
24
+ {
25
+ "Type": "Text",
26
+ "Content": "Hello, how are you?"
27
+ },
28
+ {
29
+ "Type": "Image",
30
+ "Content": "https://example.com/image.jpg"
31
+ }
32
+ ]
33
+ },
34
+ {
35
+ "Timestamp": 1400753150,
36
+ "From": "Alice",
37
+ "Messages": [
38
+ {
39
+ "Type": "Text",
40
+ "Content": "Hi there!"
41
+ }
42
+ ]
43
+ }
44
+ ]
20
45
  }
21
46
  }
22
47
  ```
@@ -29,8 +29,8 @@ Output:
29
29
  "ModifyTime": 0,
30
30
  "Status": 0,
31
31
  "Register": false,
32
- "Relation": "xx",
33
- "RelationName": "xxx"
32
+ "Relation": "123456",
33
+ "RelationName": "foobar"
34
34
  }
35
35
  ]
36
36
  }
@@ -20,10 +20,10 @@ Output:
20
20
  "Sessions": [
21
21
  {
22
22
  "Direction": 1,
23
- "AcceptTimestamp": 1607702329,
23
+ "AcceptTimestamp": "1607702329",
24
24
  "ProtectedCaller": "",
25
25
  "RoomID": "32929373",
26
- "StartTimestamp": 1607702199,
26
+ "StartTimestamp": "1607702199",
27
27
  "Caller": "00864009282737",
28
28
  "ProtectedCallee": "",
29
29
  "StaffNumber": "1007",
@@ -79,6 +79,7 @@ Output:
79
79
  ]
80
80
  },
81
81
  "RecordURL": "abc",
82
+ "RecordId": "abc",
82
83
  "QueuedTimestamp": 1610627284,
83
84
  "ProtectedCallee": "abc",
84
85
  "IVRDuration": 5,
@@ -159,6 +160,7 @@ Output:
159
160
  ]
160
161
  },
161
162
  "RecordURL": "abc",
163
+ "RecordId": "abc",
162
164
  "QueuedTimestamp": 1610627284,
163
165
  "ProtectedCallee": "abc",
164
166
  "IVRDuration": 5,
@@ -23,6 +23,7 @@ Output:
23
23
  {
24
24
  "SkillGroupId": 1115,
25
25
  "SkillGroupName": "luluttt",
26
+ "SkillGroupType": 1,
26
27
  "Type": "TEL",
27
28
  "RoutePolicy": "firstCreate",
28
29
  "UsingLastSeat": 0,
@@ -24,6 +24,7 @@ Output:
24
24
  "EndStatus": 1,
25
25
  "SessionId": "abc",
26
26
  "CustomRecordURL": "abc",
27
+ "RecordId": "abc",
27
28
  "SkillGroupId": 100,
28
29
  "Direction": 0,
29
30
  "StartTimestamp": 1590547606,
@@ -104,6 +105,7 @@ Output:
104
105
  "EndStatus": 1,
105
106
  "SessionId": "abc",
106
107
  "CustomRecordURL": "abc",
108
+ "RecordId": "abc",
107
109
  "SkillGroupId": 100,
108
110
  "Direction": 0,
109
111
  "StartTimestamp": 1590547630,
@@ -16,7 +16,8 @@ Output:
16
16
  "InstanceRefundsSet": [
17
17
  {
18
18
  "InstanceId": "ins-rfmme2si",
19
- "Refunds": 0
19
+ "Refunds": 2644.44,
20
+ "PriceDetail": "退款:2644.44元,现金券: 0元,代金券/折扣券不退(全额退款;'}"
20
21
  }
21
22
  ],
22
23
  "RequestId": "75731c35-e2ad-4721-b4bc-8cdb6c2ad2a5"
@@ -7,7 +7,7 @@ Input:
7
7
  ```
8
8
  tccli cvm ModifyInstanceDiskType --cli-unfold-argument \
9
9
  --InstanceId ins-r8hr2upy \
10
- --SystemDisk.DiskType CLOUD_BASIC
10
+ --SystemDisk.DiskType CLOUD_PREMIUM
11
11
  ```
12
12
 
13
13
  Output:
@@ -30,6 +30,7 @@ Output:
30
30
  "CheckCode": "",
31
31
  "Code": "144002288010",
32
32
  "Date": "",
33
+ "ElectronicType": "",
33
34
  "HasSellerList": "",
34
35
  "IsAbandoned": "N",
35
36
  "Items": [],
@@ -99,6 +100,61 @@ Output:
99
100
  "TaxtationOrgName": "",
100
101
  "Tonnage": "",
101
102
  "VinNo": ""
103
+ },
104
+ "ElectronicTrainTicket": {
105
+ "BuyerName": "abc",
106
+ "BuyerTaxCode": "abc",
107
+ "Number": "abc",
108
+ "Date": "abc",
109
+ "TotalCN": "abc",
110
+ "Tax": "abc",
111
+ "ServiceType": "abc",
112
+ "TimeGetOn": "abc",
113
+ "TrainNumber": "abc",
114
+ "Code": "abc",
115
+ "SeatType": "abc",
116
+ "DateGetOn": "abc",
117
+ "TrainCabin": "abc",
118
+ "StationGetOn": "abc",
119
+ "ElectronicNumber": "abc",
120
+ "PassengerName": "abc",
121
+ "PassengerNo": "abc",
122
+ "Amount": "abc",
123
+ "StationGetOff": "abc",
124
+ "TaxRate": "abc",
125
+ "Seat": "abc",
126
+ "Total": "abc",
127
+ "CheckCode": "abc",
128
+ "StateCode": "0"
129
+ },
130
+ "ElectronicAirTransport": {
131
+ "Code": "abc",
132
+ "Number": "abc",
133
+ "Date": "abc",
134
+ "Amount": "abc",
135
+ "CheckCode": "abc",
136
+ "Total": "abc",
137
+ "DeductionMark": "abc",
138
+ "StateCode": "abc",
139
+ "BuyerTaxCode": "abc",
140
+ "BuyerName": "abc",
141
+ "DomesticInternationalMark": "abc",
142
+ "PassengerName": "abc",
143
+ "PassengerNo": "abc",
144
+ "ElectronicNumber": "abc",
145
+ "ElectronicAirTransportDetails": [
146
+ {
147
+ "FlightSegment": "abc",
148
+ "StationGetOn": "abc",
149
+ "StationGetOff": "abc",
150
+ "Carrier": "abc",
151
+ "FlightNumber": "abc",
152
+ "SeatLevel": "abc",
153
+ "FlightDate": "abc",
154
+ "DepartureTime": "abc",
155
+ "FareBasis": "abc"
156
+ }
157
+ ]
102
158
  }
103
159
  }
104
160
  }
@@ -19,29 +19,7 @@ Output:
19
19
  {
20
20
  "Response": {
21
21
  "RequestId": "d2d3e253-3b1d-4471-a350-25e6ae20916c",
22
- "TotalCount": 30,
23
- "BundleSet": [
24
- {},
25
- {},
26
- {},
27
- {},
28
- {},
29
- {},
30
- {},
31
- {},
32
- {},
33
- {},
34
- {},
35
- {},
36
- {},
37
- {},
38
- {},
39
- {},
40
- {},
41
- {},
42
- {},
43
- {}
44
- ]
22
+ "TotalCount": 30
45
23
  }
46
24
  }
47
25
  ```
@@ -1,6 +1,6 @@
1
1
  **Example 1: 批量修改加速域名状态**
2
2
 
3
- 停用指定DomainId的加速域名。
3
+ 停用指定名称的加速域名。
4
4
 
5
5
  Input:
6
6
 
@@ -6,47 +6,97 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli tione DescribeBillingResourceGroups --cli-unfold-argument \
9
- --Filters.0.Fuzzy True \
10
- --Filters.0.Values ems-dn6bqflh \
11
- --Filters.0.Name xx \
9
+ --Type abc \
10
+ --Filters.0.Name abc \
11
+ --Filters.0.Values abc \
12
12
  --Filters.0.Negative True \
13
- --TagFilters.0.TagValues xx \
14
- --TagFilters.0.TagKey xx \
15
- --Limit 0 \
16
- --SearchWord xx \
13
+ --Filters.0.Fuzzy True \
14
+ --TagFilters.0.TagKey abc \
15
+ --TagFilters.0.TagValues abc \
17
16
  --Offset 0 \
18
- --Type xx
17
+ --Limit 0 \
18
+ --SearchWord abc \
19
+ --DontShowInstanceSet True
19
20
  ```
20
21
 
21
22
  Output:
22
23
  ```
23
24
  {
24
25
  "Response": {
25
- "RequestId": "02be3c0f-d1f1-4a8e-97bd-38128985baa7",
26
26
  "TotalCount": 1,
27
27
  "ResourceGroupSet": [
28
28
  {
29
- "ResourceGroupId": "ersg-69q4tmjm",
30
- "ResourceGroupName": "hayescao_test",
29
+ "ResourceGroupId": "abc",
30
+ "ResourceGroupName": "abc",
31
+ "FreeInstance": 1,
31
32
  "TotalInstance": 1,
32
- "UsedResource": {},
33
- "TotalResource": {},
33
+ "UsedResource": {
34
+ "Cpu": 1,
35
+ "Memory": 1,
36
+ "Gpu": 1,
37
+ "GpuDetailSet": [
38
+ {
39
+ "Name": "abc",
40
+ "Value": 1
41
+ }
42
+ ]
43
+ },
44
+ "TotalResource": {
45
+ "Cpu": 1,
46
+ "Memory": 1,
47
+ "Gpu": 1,
48
+ "GpuDetailSet": [
49
+ {
50
+ "Name": "abc",
51
+ "Value": 1
52
+ }
53
+ ]
54
+ },
34
55
  "InstanceSet": [
35
56
  {
36
- "InstanceId": "eins-343vo66vf91c",
37
- "UsedResource": {},
57
+ "InstanceId": "abc",
58
+ "UsedResource": {
59
+ "Cpu": 1,
60
+ "Memory": 1,
61
+ "Gpu": 1,
62
+ "GpuType": "abc",
63
+ "RealGpu": 1,
64
+ "RealGpuDetailSet": [
65
+ {
66
+ "Name": "abc",
67
+ "Value": 1
68
+ }
69
+ ]
70
+ },
38
71
  "TotalResource": {
39
- "Cpu": 2000,
40
- "Memory": 4096
72
+ "Cpu": 1,
73
+ "Memory": 1,
74
+ "Gpu": 1,
75
+ "GpuType": "abc",
76
+ "RealGpu": 1
41
77
  },
42
- "InstanceStatus": "RUNNING",
43
- "AutoRenewFlag": "NOTIFY_AND_MANUAL_RENEW",
44
- "SpecId": "sv_tio_platform_cloud_pre_cpu_2c4g",
45
- "SpecAlias": "2核4G"
78
+ "InstanceStatus": "abc",
79
+ "SubUin": "abc",
80
+ "CreateTime": "abc",
81
+ "ExpireTime": "abc",
82
+ "AutoRenewFlag": "abc",
83
+ "SpecId": "abc",
84
+ "SpecAlias": "abc",
85
+ "SpecFeatures": [
86
+ "abc"
87
+ ],
88
+ "CvmInstanceId": "abc"
89
+ }
90
+ ],
91
+ "TagSet": [
92
+ {
93
+ "TagKey": "abc",
94
+ "TagValue": "abc"
46
95
  }
47
96
  ]
48
97
  }
49
- ]
98
+ ],
99
+ "RequestId": "abc"
50
100
  }
51
101
  }
52
102
  ```
@@ -0,0 +1,36 @@
1
+ **Example 1: 查询安心计划二维码扫码记录**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli trp DescribePlanQRCodeScanRecords --cli-unfold-argument \
9
+ --StartTime 2023-10-10 00:00:00 \
10
+ --EndTime 2023-10-10 23:59:59 \
11
+ --PageNo 1 \
12
+ --PageSize 10
13
+ ```
14
+
15
+ Output:
16
+ ```
17
+ {
18
+ "Response": {
19
+ "Ret": 0,
20
+ "Total": 1,
21
+ "Data": [
22
+ {
23
+ "Url": "xxx",
24
+ "OpenId": "",
25
+ "ScanTime": "2023-10-10 00:00:00",
26
+ "Ip": "",
27
+ "Country": "",
28
+ "Province": "",
29
+ "City": ""
30
+ }
31
+ ],
32
+ "RequestId": "abc"
33
+ }
34
+ }
35
+ ```
36
+
@@ -0,0 +1,22 @@
1
+ **Example 1: 发起音画质重生任务**
2
+
3
+ 对 fileId 为 5285485487985271487 的视频发起音画质重生任务。
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli vod EnhanceMediaQuality --cli-unfold-argument \
9
+ --FileId 5285485487985271487 \
10
+ --Definition 10
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "RequestId": "6ca31e3a-6b8e-4b4e-9256-fdc700064ef3",
18
+ "TaskId": "125xxx65-EnhanceMediaQuality-bffb15f07530b57bc1aabb01fac74bcc"
19
+ }
20
+ }
21
+ ```
22
+