tccli 3.0.1029.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 (40) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/ccc/v20200210/CreateCarrierPrivilegeNumberApplicant.md +5 -1
  3. tccli/examples/ccc/v20200210/DescribeAutoCalloutTask.md +7 -4
  4. tccli/examples/ccc/v20200210/DescribeAutoCalloutTasks.md +3 -3
  5. tccli/examples/ccc/v20200210/DescribeCarrierPrivilegeNumberApplicants.md +4 -1
  6. tccli/examples/ccc/v20200210/DescribeChatMessages.md +27 -2
  7. tccli/examples/ccc/v20200210/DescribeExtensions.md +2 -2
  8. tccli/examples/ccc/v20200210/DescribePSTNActiveSessionList.md +2 -2
  9. tccli/examples/ccc/v20200210/DescribeProtectedTelCdr.md +2 -0
  10. tccli/examples/ccc/v20200210/DescribeSkillGroupInfoList.md +1 -0
  11. tccli/examples/ccc/v20200210/DescribeTelCdr.md +2 -0
  12. tccli/examples/cvm/v20170312/InquiryPriceTerminateInstances.md +2 -1
  13. tccli/examples/cvm/v20170312/ModifyInstanceDiskType.md +1 -1
  14. tccli/examples/trp/v20210515/DescribePlanQRCodeScanRecords.md +36 -0
  15. tccli/services/ams/v20201229/api.json +143 -2
  16. tccli/services/bi/v20220105/api.json +10 -0
  17. tccli/services/ccc/v20200210/api.json +88 -74
  18. tccli/services/ccc/v20200210/examples.json +11 -11
  19. tccli/services/cdb/v20170320/api.json +45 -24
  20. tccli/services/cdwdoris/v20211228/api.json +10 -0
  21. tccli/services/cvm/v20170312/api.json +23 -21
  22. tccli/services/cvm/v20170312/examples.json +2 -2
  23. tccli/services/dnspod/v20210323/api.json +10 -0
  24. tccli/services/dts/v20211206/api.json +5 -1
  25. tccli/services/ess/v20201111/api.json +31 -31
  26. tccli/services/essbasic/v20210526/api.json +3 -3
  27. tccli/services/faceid/v20180301/api.json +62 -0
  28. tccli/services/lighthouse/v20200324/api.json +1 -1
  29. tccli/services/redis/v20180412/api.json +27 -15
  30. tccli/services/tag/v20180813/api.json +14 -14
  31. tccli/services/trp/trp_client.py +69 -16
  32. tccli/services/trp/v20210515/api.json +207 -22
  33. tccli/services/trp/v20210515/examples.json +8 -0
  34. tccli/services/vm/v20210922/api.json +141 -0
  35. tccli/services/vpc/v20170312/api.json +8 -8
  36. {tccli-3.0.1029.1.dist-info → tccli-3.0.1030.1.dist-info}/METADATA +2 -2
  37. {tccli-3.0.1029.1.dist-info → tccli-3.0.1030.1.dist-info}/RECORD +40 -39
  38. {tccli-3.0.1029.1.dist-info → tccli-3.0.1030.1.dist-info}/WHEEL +0 -0
  39. {tccli-3.0.1029.1.dist-info → tccli-3.0.1030.1.dist-info}/entry_points.txt +0 -0
  40. {tccli-3.0.1029.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.1029.1'
1
+ __version__ = '3.0.1030.1'
@@ -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:
@@ -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
+
@@ -15,7 +15,7 @@
15
15
  "status": "online"
16
16
  },
17
17
  "CreateAudioModerationTask": {
18
- "document": "本接口(Audio Moderation)用于提交音频内容(包括音频文件或流地址)进行智能审核任务,使用前请您使用腾讯云主账号登录控制台[开通音频内容安全服务](https://console.cloud.tencent.com/cms)并调整好对应的业务配置。<br>\n\n### 功能使用说明:\n- 前往“[内容安全控制台-音频内容安全](https://console.cloud.tencent.com/cms)”开启使用音频内容安全服务,首次开通可获得**10小时**免费调用时长,有效期为1个月。\n- 默认接口请求频率限制:**20次/秒**,对于异步审核任务(点播音频),超出频率限制的请求会自动排入待审核队列,对于同步审核任务(直播音频),超出频率限制将会报错。\n- 默认并发审核路数限制:点播默认10路,异步审核任务(点播音频)数量超过并发审核路数时,将会进入排队;直播默认100路,同步审核任务(直播音频)超过并发审核路数,接口会返回错误。\n\n### 接口功能说明:\n- 支持对音频流或音频文件进行检测,判断其中是否包含违规内容;\n- 支持设置回调地址 Callback 获取检测结果(对于已在审核的任务,最长回调时间为用户配置的**切片时长 + 2s**),或通过接口(查询音频检测结果)主动轮询获取检测结果;\n- 支持识别违规内容,包括:低俗、谩骂、色情、广告等场景;\n- 支持批量提交检测任务,检测任务列表**最多支持10个**。\n\n### 音频文件调用说明:\n- 音频文件大小支持:**文件 < 500M**;\n- 音频文件时长支持:**< 1小时**;\n- 音频码率类型支持:128 Kbps - 256 Kbps ;\n- 音频文件支持格式:wav、mp3、aac、flac、amr、3gp、 m4a、wma、ogg、ape;\n- (**当输入为视频文件时**)支持分离视频文件音轨,并对音频内容进行独立审核。\n\n### 音频流调用说明:\n- 音频流时长支持:**< 3小时**;\n- 音频码率类型支持:128 Kbps - 256 Kbps ;\n- 音频流支持的传输协议:RTMP、HTTP、HTTPS;\n- 音频流格式支持的类型:rtp、srtp、rtmp、rtmps、mmsh、 mmst、hls、http、tcp、https、m3u8;\n- (**当输入为视频流时**)支持提取视频流音轨,并对音频内容进行独立审核。\n\n### 直播断流处理说明:\n- 请确认已对接[取消任务](https://cloud.tencent.com/document/product/1219/53258)。\n- 如果直播任务取消/结束,则终止直播拉流并退出审核。\n- 如果直播任务没有取消/结束,直播视频推流因故中断,产品将在将在10分钟内持续拉流重试。如果10分钟检测到音频切片数据,则恢复正常审核,反之,则终止拉流并退出审核。在拉流终止后,用户如有审核需求,需重新送审。\n\n默认接口请求频率限制:20次/秒。",
18
+ "document": "本接口(Audio Moderation)用于提交音频内容(包括音频文件或流地址)进行智能审核任务,使用前请您使用腾讯云主账号登录控制台[开通音频内容安全服务](https://console.cloud.tencent.com/cms)并调整好对应的业务配置。<br>\n\n### 功能使用说明:\n- 前往“[内容安全控制台-音频内容安全](https://console.cloud.tencent.com/cms)”开启使用音频内容安全服务,首次开通可获得**10小时**免费调用时长,有效期为1个月。\n- 默认接口请求频率限制:**20次/秒**,对于异步审核任务(点播音频),超出频率限制的请求会自动排入待审核队列,对于同步审核任务(直播音频),超出频率限制将会报错。\n- 默认并发审核路数限制:点播默认10路,异步审核任务(点播音频)数量超过并发审核路数时,将会进入排队;直播默认100路,同步审核任务(直播音频)超过并发审核路数,接口会返回错误。\n\n### 接口功能说明:\n- 支持对音频流或音频文件进行检测,判断其中是否包含违规内容;\n- 支持设置回调地址 Callback 获取检测结果(对于已在审核的任务,最长回调时间为用户配置的**切片时长 + 2s**),或通过接口(查询音频检测结果)主动轮询获取检测结果;\n- 支持识别违规内容,包括:低俗、谩骂、色情、广告等场景;\n- 支持批量提交检测任务,检测任务列表**最多支持10个**。\n\n### 音频文件调用说明:\n- 音频文件大小支持:**文件 < 500M**;\n- 音频文件时长支持:**< 1小时**;\n- 音频码率类型支持:128 Kbps - 256 Kbps ;\n- 音频文件支持格式:wav、mp3、aac、flac、amr、3gp、 m4a、wma、ogg、ape;\n- (**当输入为视频文件时**)支持分离视频文件音轨,并对音频内容进行独立审核。\n\n### 音频流调用说明:\n- 音频流时长支持:**< 3小时**;\n- 音频码率类型支持:128 Kbps - 256 Kbps ;\n- 音频流支持的传输协议:RTMP、HTTP、HTTPS;\n- 音频流格式支持的类型:rtp、srtp、rtmp、rtmps、mmsh、 mmst、hls、http、tcp、https、m3u8;\n- (**当输入为视频流时**)支持提取视频流音轨,并对音频内容进行独立审核。\n\n### 直播断流处理说明:\n- 请确认已对接[取消任务](https://cloud.tencent.com/document/product/1219/53258)。\n- 如果直播任务取消/结束,则终止直播拉流并退出审核。\n- 如果直播任务没有取消/结束,直播视频推流因故中断,产品将在将在10分钟内持续拉流重试。如果10分钟检测到音频切片数据,则恢复正常审核,反之,则终止拉流并退出审核。在拉流终止后,用户如有审核需求,需重新送审。",
19
19
  "input": "CreateAudioModerationTaskRequest",
20
20
  "name": "创建音频审核任务",
21
21
  "output": "CreateAudioModerationTaskResponse",
@@ -496,7 +496,7 @@
496
496
  },
497
497
  {
498
498
  "disabled": false,
499
- "document": "该字段用于标识腾讯云对象存储的对象Key,对象z作为基本单元被存放在存储桶中;用户可以通过腾讯云控制台、API、SDK 等多种方式管理对象。有关对象的详细描述敬请参阅相应 [产品文档](https://cloud.tencent.com/document/product/436/13324)。\n注意:此字段可能返回 null,表示取不到有效值。",
499
+ "document": "该字段用于标识腾讯云对象存储的对象Key,对象作为基本单元被存放在存储桶中;用户可以通过腾讯云控制台、API、SDK 等多种方式管理对象。有关对象的详细描述敬请参阅相应 [产品文档](https://cloud.tencent.com/document/product/436/13324)。\n注意:此字段可能返回 null,表示取不到有效值。",
500
500
  "example": "无",
501
501
  "member": "string",
502
502
  "name": "Object",
@@ -784,6 +784,15 @@
784
784
  "name": "CallbackUrl",
785
785
  "required": false,
786
786
  "type": "string"
787
+ },
788
+ {
789
+ "disabled": false,
790
+ "document": "该字段表示待检测对象对应的用户相关信息,若填入则可甄别相应违规风险用户",
791
+ "example": "无",
792
+ "member": "User",
793
+ "name": "User",
794
+ "required": false,
795
+ "type": "object"
787
796
  }
788
797
  ],
789
798
  "type": "object"
@@ -1740,6 +1749,138 @@
1740
1749
  }
1741
1750
  ],
1742
1751
  "usage": "out"
1752
+ },
1753
+ "User": {
1754
+ "document": "User结果",
1755
+ "members": [
1756
+ {
1757
+ "disabled": false,
1758
+ "document": "用户等级,默认0 未知 1 低 2 中 3 高",
1759
+ "example": "无",
1760
+ "member": "uint64",
1761
+ "name": "Level",
1762
+ "required": false,
1763
+ "type": "int"
1764
+ },
1765
+ {
1766
+ "disabled": false,
1767
+ "document": "性别 默认0 未知 1 男性 2 女性",
1768
+ "example": "无",
1769
+ "member": "uint64",
1770
+ "name": "Gender",
1771
+ "required": false,
1772
+ "type": "int"
1773
+ },
1774
+ {
1775
+ "disabled": false,
1776
+ "document": "年龄 默认0 未知",
1777
+ "example": "无",
1778
+ "member": "uint64",
1779
+ "name": "Age",
1780
+ "required": false,
1781
+ "type": "int"
1782
+ },
1783
+ {
1784
+ "disabled": false,
1785
+ "document": "业务用户ID 如填写,会根据账号历史恶意情况,判定消息有害结果,特别是有利于可疑恶意情况下的辅助判断。账号可以填写微信uin、QQ号、微信openid、QQopenid、字符串等。该字段和账号类别确定唯一账号。",
1786
+ "example": "无",
1787
+ "member": "string",
1788
+ "name": "UserId",
1789
+ "required": false,
1790
+ "type": "string"
1791
+ },
1792
+ {
1793
+ "disabled": false,
1794
+ "document": "手机号",
1795
+ "example": "无",
1796
+ "member": "string",
1797
+ "name": "Phone",
1798
+ "required": false,
1799
+ "type": "string"
1800
+ },
1801
+ {
1802
+ "disabled": false,
1803
+ "document": "业务用户ID类型 \"1-微信uin 2-QQ号 3-微信群uin 4-qq群号 5-微信openid 6-QQopenid 7-其它string\"",
1804
+ "example": "无",
1805
+ "member": "string",
1806
+ "name": "AccountType",
1807
+ "required": false,
1808
+ "type": "string"
1809
+ },
1810
+ {
1811
+ "disabled": false,
1812
+ "document": "用户昵称",
1813
+ "example": "无",
1814
+ "member": "string",
1815
+ "name": "Nickname",
1816
+ "required": false,
1817
+ "type": "string"
1818
+ },
1819
+ {
1820
+ "disabled": false,
1821
+ "document": "用户头像图片链接",
1822
+ "example": "无",
1823
+ "member": "string",
1824
+ "name": "HeadUrl",
1825
+ "required": false,
1826
+ "type": "string"
1827
+ },
1828
+ {
1829
+ "disabled": false,
1830
+ "document": "用户简介,长度不超过5000字",
1831
+ "example": "无",
1832
+ "member": "string",
1833
+ "name": "Desc",
1834
+ "required": false,
1835
+ "type": "string"
1836
+ },
1837
+ {
1838
+ "disabled": false,
1839
+ "document": "群聊场景房间ID",
1840
+ "example": "无",
1841
+ "member": "string",
1842
+ "name": "RoomId",
1843
+ "required": false,
1844
+ "type": "string"
1845
+ },
1846
+ {
1847
+ "disabled": false,
1848
+ "document": "群聊场景群ID",
1849
+ "example": "无",
1850
+ "member": "string",
1851
+ "name": "GroupId",
1852
+ "required": false,
1853
+ "type": "string"
1854
+ },
1855
+ {
1856
+ "disabled": false,
1857
+ "document": "群聊场景群用户数",
1858
+ "example": "无",
1859
+ "member": "int64",
1860
+ "name": "GroupSize",
1861
+ "required": false,
1862
+ "type": "int"
1863
+ },
1864
+ {
1865
+ "disabled": false,
1866
+ "document": "消息接收者ID",
1867
+ "example": "无",
1868
+ "member": "string",
1869
+ "name": "ReceiverId",
1870
+ "required": false,
1871
+ "type": "string"
1872
+ },
1873
+ {
1874
+ "disabled": false,
1875
+ "document": "消息生成时间,毫秒",
1876
+ "example": "无",
1877
+ "member": "string",
1878
+ "name": "SendTime",
1879
+ "required": false,
1880
+ "type": "string"
1881
+ }
1882
+ ],
1883
+ "usage": "in"
1743
1884
  }
1744
1885
  },
1745
1886
  "version": "1.0"
@@ -1625,6 +1625,16 @@
1625
1625
  "output_required": false,
1626
1626
  "type": "string",
1627
1627
  "value_allowed_null": true
1628
+ },
1629
+ {
1630
+ "disabled": false,
1631
+ "document": "集群id\n注意:此字段可能返回 null,表示取不到有效值。",
1632
+ "example": "无",
1633
+ "member": "string",
1634
+ "name": "ClusterId",
1635
+ "output_required": false,
1636
+ "type": "string",
1637
+ "value_allowed_null": true
1628
1638
  }
1629
1639
  ],
1630
1640
  "usage": "out"