diff --git a/CHANGELOG.md b/CHANGELOG.md index f66b80b114..fa010d4474 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,90 @@ +# Release 3.0.1180.1 + +## 腾讯云数据仓库 TCHouse-D(cdwdoris) 版本:2021-12-28 + +### 第 21 次发布 + +发布时间:2024-08-26 01:17:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [UserInfo](https://cloud.tencent.com/document/api/1387/102385#UserInfo) + + * 新增成员:CamUin + + + + +## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 + +### 第 100 次发布 + +发布时间:2024-08-26 01:31:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ClusterInstanceDetail](https://cloud.tencent.com/document/api/1003/48097#ClusterInstanceDetail) + + * 新增成员:InstanceStorageType + +* [CynosdbInstance](https://cloud.tencent.com/document/api/1003/48097#CynosdbInstance) + + * 新增成员:InstanceStorageType + + + + +## 实时互动-教育版(lcic) 版本:2022-08-17 + +### 第 60 次发布 + +发布时间:2024-08-26 02:00:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [DescribeRecordStream](https://cloud.tencent.com/document/api/1639/110339) + +新增数据结构: + +* [SingleStreamInfo](https://cloud.tencent.com/document/api/1639/81423#SingleStreamInfo) + + + +## 云数据库 MongoDB(mongodb) 版本:2019-07-25 + +### 第 45 次发布 + +发布时间:2024-08-26 02:06:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/240/38565) + + * **修改入参**:Memory, Volume + + + + +## 云数据库 MongoDB(mongodb) 版本:2018-04-08 + + + # Release 3.0.1179.1 ## 主机安全(cwp) 版本:2018-02-28 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index db2d8998ff..ea9a472ed8 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,53 +1,29 @@ # 本版本更新包含以下内容: -## 主机安全(cwp) 版本:2018-02-28 +## 腾讯云数据仓库 TCHouse-D(cdwdoris) 版本:2021-12-28 -### 第 122 次发布 +### 第 21 次发布 -发布时间:2024-08-23 01:22:42 +发布时间:2024-08-26 01:17:26 本次发布包含了以下内容: 改善已有的文档。 -修改接口: - -* [CreateMalwareWhiteList](https://cloud.tencent.com/document/api/296/99674) - - * 新增入参:IsHandleHistoryEvents - -* [DescribeScanVulSetting](https://cloud.tencent.com/document/api/296/58237) - - * 新增出参:ScanMethod - -* [DescribeWarningHostConfig](https://cloud.tencent.com/document/api/296/99596) - - * 新增出参:ExcludedQuuids - -* [ModifyWarningHostConfig](https://cloud.tencent.com/document/api/296/99583) - - * 新增入参:ExcludedQuuids - -* [ModifyWebHookPolicy](https://cloud.tencent.com/document/api/296/99582) - - * 新增入参:ExcludedQuuids - -* [ScanVul](https://cloud.tencent.com/document/api/296/57375) - - * 新增入参:ScanMethod +修改数据结构: -* [ScanVulSetting](https://cloud.tencent.com/document/api/296/58235) +* [UserInfo](https://cloud.tencent.com/document/api/1387/102385#UserInfo) - * 新增入参:ScanMethod + * 新增成员:CamUin -## 多网聚合加速(mna) 版本:2021-01-19 +## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 -### 第 23 次发布 +### 第 100 次发布 -发布时间:2024-08-23 01:55:12 +发布时间:2024-08-26 01:31:38 本次发布包含了以下内容: @@ -55,37 +31,42 @@ 修改数据结构: -* [DeviceBaseInfo](https://cloud.tencent.com/document/api/1385/55846#DeviceBaseInfo) +* [ClusterInstanceDetail](https://cloud.tencent.com/document/api/1003/48097#ClusterInstanceDetail) - * 新增成员:Sn, Vendor + * 新增成员:InstanceStorageType +* [CynosdbInstance](https://cloud.tencent.com/document/api/1003/48097#CynosdbInstance) + * 新增成员:InstanceStorageType -## 腾讯云可观测平台(monitor) 版本:2018-07-24 -### 第 120 次发布 -发布时间:2024-08-23 01:56:12 +## 实时互动-教育版(lcic) 版本:2022-08-17 + +### 第 60 次发布 + +发布时间:2024-08-26 02:00:18 本次发布包含了以下内容: 改善已有的文档。 -修改数据结构: +新增接口: -* [UserNotice](https://cloud.tencent.com/document/api/248/30354#UserNotice) +* [DescribeRecordStream](https://cloud.tencent.com/document/api/1639/110339) - * 新增成员:VoiceConfirmKey +新增数据结构: +* [SingleStreamInfo](https://cloud.tencent.com/document/api/1639/81423#SingleStreamInfo) -## 文字识别(ocr) 版本:2018-11-19 +## 云数据库 MongoDB(mongodb) 版本:2019-07-25 -### 第 147 次发布 +### 第 45 次发布 -发布时间:2024-08-23 02:00:20 +发布时间:2024-08-26 02:06:18 本次发布包含了以下内容: @@ -93,29 +74,14 @@ 修改接口: -* [DriverLicenseOCR](https://cloud.tencent.com/document/api/866/36213) - - * 新增出参:DriverLicenseType - - - - -## 前端性能监控(rum) 版本:2021-06-22 +* [ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/240/38565) -### 第 36 次发布 + * **修改入参**:Memory, Volume -发布时间:2024-08-23 02:05:36 -本次发布包含了以下内容: -改善已有的文档。 - -修改接口: - -* [DescribeDataLogUrlStatistics](https://cloud.tencent.com/document/api/1464/60495) - - * 新增入参:ErrorMsg +## 云数据库 MongoDB(mongodb) 版本:2018-04-08 @@ -23679,6 +23645,21 @@ ## 腾讯云数据仓库 TCHouse-D(cdwdoris) 版本:2021-12-28 +### 第 21 次发布 + +发布时间:2024-08-26 01:17:26 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [UserInfo](https://cloud.tencent.com/document/api/1387/102385#UserInfo) + + * 新增成员:CamUin + + ### 第 20 次发布 发布时间:2024-08-22 01:14:33 @@ -46238,6 +46219,25 @@ ## TDSQL-C MySQL 版(cynosdb) 版本:2019-01-07 +### 第 100 次发布 + +发布时间:2024-08-26 01:31:38 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [ClusterInstanceDetail](https://cloud.tencent.com/document/api/1003/48097#ClusterInstanceDetail) + + * 新增成员:InstanceStorageType + +* [CynosdbInstance](https://cloud.tencent.com/document/api/1003/48097#CynosdbInstance) + + * 新增成员:InstanceStorageType + + ### 第 99 次发布 发布时间:2024-08-20 01:26:47 @@ -85215,6 +85215,22 @@ ## 实时互动-教育版(lcic) 版本:2022-08-17 +### 第 60 次发布 + +发布时间:2024-08-26 02:00:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[DescribeRecordStream](https://cloud.tencent.com/document/api/1639/110339)](https://cloud.tencent.com/document/api/#/#) + +新增数据结构: + +* [[SingleStreamInfo](https://cloud.tencent.com/document/api/1639/81423#SingleStreamInfo)](https://cloud.tencent.com/document/api/1639/81423#[SingleStreamInfo](https://cloud.tencent.com/document/api/1639/81423#SingleStreamInfo)) + ### 第 59 次发布 发布时间:2024-08-01 01:53:15 @@ -93034,6 +93050,21 @@ ## 云数据库 MongoDB(mongodb) 版本:2019-07-25 +### 第 45 次发布 + +发布时间:2024-08-26 02:06:18 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改接口: + +* [ModifyDBInstanceSpec](https://cloud.tencent.com/document/api/240/38565) + + * **修改入参**:Memory, Volume + + ### 第 44 次发布 发布时间:2024-07-25 01:56:02 @@ -142247,7 +142278,7 @@ 新增接口: -* [AnswerQuestion](https://cloud.tencent.com/document/api/1124/105753) +* [AnswerQuestion](https://cloud.tencent.com/document/api/#/#) ### 第 9 次发布 diff --git a/products.md b/products.md index f73892468a..2dd0fe0e72 100644 --- a/products.md +++ b/products.md @@ -45,7 +45,7 @@ | cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-07-26 01:17:46 | | cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-06-18 01:18:51 | | cdwch | [腾讯云数据仓库TCHouse-C](https://cloud.tencent.com/document/product/1299) | 2024-07-24 01:18:03 | -| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-08-23 01:14:34 | +| cdwdoris | [腾讯云数据仓库 TCHouse-D](https://cloud.tencent.com/document/product/1387) | 2024-08-26 01:17:26 | | cdwpg | [云数据仓库 PostgreSQL](https://cloud.tencent.com/document/product/878) | 2024-03-28 01:10:53 | | cdz | [专属可用区](https://cloud.tencent.com/document/product/1629) | 2024-07-15 09:37:14 | | cfg | [混沌演练平台](https://cloud.tencent.com/document/product/1500) | 2024-08-22 01:15:51 | @@ -74,7 +74,7 @@ | cvm | [云服务器](https://cloud.tencent.com/document/product/213) | 2024-08-20 01:21:52 | | cwp | [主机安全](https://cloud.tencent.com/document/product/296) | 2024-08-23 01:22:42 | | cws | [漏洞扫描服务](https://cloud.tencent.com/document/product) | 2019-11-22 12:16:15 | -| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-08-20 01:26:47 | +| cynosdb | [TDSQL-C MySQL 版](https://cloud.tencent.com/document/product/1003) | 2024-08-26 01:31:38 | | dasb | [运维安全中心(堡垒机)](https://cloud.tencent.com/document/product/1025) | 2024-07-16 01:13:41 | | dataintegration | [数据接入平台](https://cloud.tencent.com/document/product/1591) | 2022-07-26 15:32:15 | | dayu | [DDoS 高防包](https://cloud.tencent.com/document/product/1021) | 2023-05-18 01:20:11 | @@ -101,7 +101,7 @@ | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-08-19 01:39:34 | | essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-08-22 01:40:00 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2024-08-22 18:47:28 | -| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-08-21 01:40:11 | +| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-08-23 10:53:58 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2024-07-05 01:10:44 | | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2024-03-20 01:17:13 | | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2024-07-23 01:36:12 | @@ -134,7 +134,7 @@ | ivld | [媒体智能标签](https://cloud.tencent.com/document/product/1509) | 2024-07-09 14:27:21 | | keewidb | [云数据库 KeeWiDB](https://cloud.tencent.com/document/product/1520) | 2024-03-20 01:19:20 | | kms | [密钥管理系统](https://cloud.tencent.com/document/product/573) | 2024-04-17 01:17:16 | -| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-08-01 01:53:15 | +| lcic | [实时互动-教育版](https://cloud.tencent.com/document/product/1639) | 2024-08-26 02:00:18 | | lighthouse | [轻量应用服务器](https://cloud.tencent.com/document/product/1207) | 2024-08-16 01:55:21 | | live | [云直播CSS](https://cloud.tencent.com/document/product/267) | 2024-08-14 02:01:47 | | lke | [大模型知识引擎](https://cloud.tencent.com/document/product/1759) | 2024-08-22 01:54:06 | @@ -143,11 +143,11 @@ | mall | [商场客留大数据](https://cloud.tencent.com/document/product/1707) | 2024-03-20 01:20:11 | | mariadb | [云数据库 MariaDB](https://cloud.tencent.com/document/product/237) | 2024-07-12 01:20:13 | | market | [云市场](https://cloud.tencent.com/document/product/306) | 2024-03-20 01:20:21 | -| memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-03-20 01:20:22 | +| memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2024-08-26 02:05:26 | | mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 | | mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2024-07-02 01:19:41 | | mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-08-23 01:55:12 | -| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-08-14 02:06:02 | +| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-08-26 02:06:18 | | monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-08-23 01:56:12 | | mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-08-20 01:57:54 | | mrs | [医疗报告结构化](https://cloud.tencent.com/document/product/1314) | 2024-08-22 01:59:34 | @@ -240,7 +240,7 @@ | vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2024-07-26 02:26:34 | | vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2024-03-20 01:30:13 | | vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-08-23 02:29:04 | -| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-08-21 02:29:48 | +| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-08-26 02:47:23 | | vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2024-08-07 02:38:54 | | vtc | [视频转译](https://cloud.tencent.com/document/product/1769) | 2024-07-31 02:26:05 | | waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-08-09 02:30:19 | diff --git a/pyproject.toml b/pyproject.toml index 30aed97327..91635f9a79 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ exclude = ["tccli/examples"] [project] name = "tccli" -version = "3.0.1179.1" +version = "3.0.1180.1" authors = [ { name="tencentcloudapi", email="tencentcloudapi@tencent.com" }, ] @@ -24,7 +24,7 @@ classifiers = [ dependencies = [ "jmespath==0.10.0", "six==1.16.0", - "tencentcloud-sdk-python>=3.0.1179", + "tencentcloud-sdk-python>=3.0.1180", ] [project.urls] diff --git a/tccli/__init__.py b/tccli/__init__.py index 762499ac9e..85450c771a 100644 --- a/tccli/__init__.py +++ b/tccli/__init__.py @@ -1 +1 @@ -__version__ = '3.0.1179.1' +__version__ = '3.0.1180.1' diff --git a/tccli/examples/lcic/v20220817/DescribeRecordStream.md b/tccli/examples/lcic/v20220817/DescribeRecordStream.md new file mode 100644 index 0000000000..04ba27d17e --- /dev/null +++ b/tccli/examples/lcic/v20220817/DescribeRecordStream.md @@ -0,0 +1,37 @@ +**Example 1: DescribeRecordStream** + +获取流信息 + +Input: + +``` +tccli lcic DescribeRecordStream --cli-unfold-argument \ + --SdkAppId 1 \ + --RoomId 1 +``` + +Output: +``` +{ + "Response": { + "ClassId": 3211258275, + "ClassType": 2, + "RequestId": "6a0cd621-e6df-46a5-8ce8-29800e49679d", + "SchoolId": 39233193, + "StreamInfo": [ + { + "Duration": 224, + "FileFormat": "mp4", + "RecordSize": 14966923, + "RecordUrl": "https://20910970.vod2.myqcloud.com/6cac6e5evodcq100915970/adcjfhbshgahd87/f0.mp4", + "Role": "main", + "StartTime": 1721099743, + "StopTime": 1721099964, + "UserId": "2TW2Kv091028NAmYkCQlsrT1lXgk", + "VideoId": "125312342212911616" + } + ] + } +} +``` + diff --git a/tccli/examples/vpc/v20170312/DownloadVpnGatewaySslClientCert.md b/tccli/examples/vpc/v20170312/DownloadVpnGatewaySslClientCert.md index b1f4113293..1a4a078346 100644 --- a/tccli/examples/vpc/v20170312/DownloadVpnGatewaySslClientCert.md +++ b/tccli/examples/vpc/v20170312/DownloadVpnGatewaySslClientCert.md @@ -13,17 +13,18 @@ Output: ``` { "Response": { + "SslClientConfigsSet": "abc", "SslClientConfig": [ { - "SslVpnCert": "-----BEGIN CERTIFICATE-----......", - "SslVpnKey": "-----BEGIN PRIVATE KEY-----......", - "SslVpnRootCert": "-----BEGIN CERTIFICATE-----......", - "SslVpnClientConfiguration": "client\ndev tun\nproto udp\nremote......" + "SslVpnClientConfiguration": "abc", + "SslVpnRootCert": "abc", + "SslVpnKey": "abc", + "SslVpnCert": "abc", + "SslVpnClientId": "abc" } ], "Authenticated": 1, - "RequestId": "d3c01d8b-0363-41d4-a8be-3cfcf2c69711", - "SslClientConfigsSet": "${SslClientConfigsSet}" + "RequestId": "abc" } } ``` diff --git a/tccli/services/cdwdoris/v20211228/api.json b/tccli/services/cdwdoris/v20211228/api.json index 48f2787783..8c957a0511 100644 --- a/tccli/services/cdwdoris/v20211228/api.json +++ b/tccli/services/cdwdoris/v20211228/api.json @@ -3661,7 +3661,7 @@ }, { "disabled": false, - "document": "\"\" 或者 某个集群Id", + "document": "为空:代表当前appId下所有集群 或者 某个集群Id", "example": "\"\"", "member": "string", "name": "Input", @@ -3676,7 +3676,7 @@ "members": [ { "disabled": false, - "document": "出参\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "base64编码后的数据,包含了集群的健康信息\n注意:此字段可能返回 null,表示取不到有效值。", "example": "xxx", "member": "string", "name": "Data", @@ -7957,6 +7957,15 @@ "name": "OldPwd", "required": false, "type": "string" + }, + { + "disabled": false, + "document": "绑定的子用户uin", + "example": "123124123", + "member": "string", + "name": "CamUin", + "required": false, + "type": "string" } ], "usage": "in" diff --git a/tccli/services/cynosdb/v20190107/api.json b/tccli/services/cynosdb/v20190107/api.json index 786f0a5aeb..4355913a16 100644 --- a/tccli/services/cynosdb/v20190107/api.json +++ b/tccli/services/cynosdb/v20190107/api.json @@ -3382,6 +3382,16 @@ "output_required": false, "type": "string", "value_allowed_null": true + }, + { + "disabled": false, + "document": "实例存储类型\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "InstanceStorageType", + "output_required": false, + "type": "string", + "value_allowed_null": true } ], "usage": "out" @@ -6597,6 +6607,16 @@ "output_required": false, "type": "string", "value_allowed_null": true + }, + { + "disabled": false, + "document": "实例存储类型\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "无", + "member": "string", + "name": "InstanceStorageType", + "output_required": false, + "type": "string", + "value_allowed_null": true } ], "usage": "out" diff --git a/tccli/services/lcic/lcic_client.py b/tccli/services/lcic/lcic_client.py index c7bcd68cbf..faa3fc621a 100644 --- a/tccli/services/lcic/lcic_client.py +++ b/tccli/services/lcic/lcic_client.py @@ -173,7 +173,7 @@ def doAddGroupMember(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doGetRoomMessage(args, parsed_globals): +def doDescribeRecordStream(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -202,11 +202,11 @@ def doGetRoomMessage(args, parsed_globals): client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.GetRoomMessageRequest() + model = models.DescribeRecordStreamRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.GetRoomMessage(model) + rsp = client.DescribeRecordStream(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -1629,7 +1629,7 @@ def doCreateGroupWithSubGroup(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeGroupList(args, parsed_globals): +def doGetRoomMessage(args, parsed_globals): g_param = parse_global_arg(parsed_globals) if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: @@ -1658,11 +1658,11 @@ def doDescribeGroupList(args, parsed_globals): client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile) client._sdkVersion += ("_CLI_" + __version__) models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeGroupListRequest() + model = models.GetRoomMessageRequest() model.from_json_string(json.dumps(args)) start_time = time.time() while True: - rsp = client.DescribeGroupList(model) + rsp = client.GetRoomMessage(model) result = rsp.to_json_string() try: json_obj = json.loads(result) @@ -2045,6 +2045,58 @@ def doForbidSendMsg(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doDescribeGroupList(args, parsed_globals): + g_param = parse_global_arg(parsed_globals) + + if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]: + cred = credential.CVMRoleCredential() + elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]: + cred = credential.STSAssumeRoleCredential( + g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')], + g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"] + ) + elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN): + cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials() + else: + cred = credential.Credential( + g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token] + ) + http_profile = HttpProfile( + reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]), + reqMethod="POST", + endpoint=g_param[OptionsDefine.Endpoint], + proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')] + ) + profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256") + if g_param[OptionsDefine.Language]: + profile.language = g_param[OptionsDefine.Language] + mod = CLIENT_MAP[g_param[OptionsDefine.Version]] + client = mod.LcicClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.DescribeGroupListRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.DescribeGroupList(model) + result = rsp.to_json_string() + try: + json_obj = json.loads(result) + except TypeError as e: + json_obj = json.loads(result.decode('utf-8')) # python3.3 + if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']: + break + cur_time = time.time() + if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']: + raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' % + (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'], + search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))) + else: + print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)) + time.sleep(g_param['OptionsDefine.WaiterInfo']['interval']) + FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) + + def doLoginUser(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -3203,7 +3255,7 @@ def doDescribeDeveloper(args, parsed_globals): "DeleteRecord": doDeleteRecord, "DescribeRoomForbiddenUser": doDescribeRoomForbiddenUser, "AddGroupMember": doAddGroupMember, - "GetRoomMessage": doGetRoomMessage, + "DescribeRecordStream": doDescribeRecordStream, "SetWatermark": doSetWatermark, "DescribeDocumentsByRoom": doDescribeDocumentsByRoom, "DeleteGroup": doDeleteGroup, @@ -3231,7 +3283,7 @@ def doDescribeDeveloper(args, parsed_globals): "DescribeDocuments": doDescribeDocuments, "SendRoomNormalMessage": doSendRoomNormalMessage, "CreateGroupWithSubGroup": doCreateGroupWithSubGroup, - "DescribeGroupList": doDescribeGroupList, + "GetRoomMessage": doGetRoomMessage, "DeleteSupervisor": doDeleteSupervisor, "DeleteUser": doDeleteUser, "RegisterUser": doRegisterUser, @@ -3239,6 +3291,7 @@ def doDescribeDeveloper(args, parsed_globals): "BindDocumentToRoom": doBindDocumentToRoom, "LoginOriginId": doLoginOriginId, "ForbidSendMsg": doForbidSendMsg, + "DescribeGroupList": doDescribeGroupList, "LoginUser": doLoginUser, "CreateGroupWithMembers": doCreateGroupWithMembers, "BatchAddGroupMember": doBatchAddGroupMember, diff --git a/tccli/services/lcic/v20220817/api.json b/tccli/services/lcic/v20220817/api.json index 52e852c768..717ff32678 100644 --- a/tccli/services/lcic/v20220817/api.json +++ b/tccli/services/lcic/v20220817/api.json @@ -231,6 +231,13 @@ "output": "DescribeQuestionListResponse", "status": "online" }, + "DescribeRecordStream": { + "document": "录制流查询", + "input": "DescribeRecordStreamRequest", + "name": "获取流信息", + "output": "DescribeRecordStreamResponse", + "status": "online" + }, "DescribeRoom": { "document": "获取房间配置信息", "input": "DescribeRoomRequest", @@ -3089,6 +3096,82 @@ ], "type": "object" }, + "DescribeRecordStreamRequest": { + "document": "DescribeRecordStream请求参数结构体", + "members": [ + { + "disabled": false, + "document": "学校ID", + "example": "12345", + "member": "uint64", + "name": "SdkAppId", + "required": true, + "type": "int" + }, + { + "disabled": false, + "document": "房间ID", + "example": "9090", + "member": "uint64", + "name": "RoomId", + "required": true, + "type": "int" + } + ], + "type": "object" + }, + "DescribeRecordStreamResponse": { + "document": "DescribeRecordStream返回参数结构体", + "members": [ + { + "disabled": false, + "document": "学校ID", + "example": "328910", + "member": "uint64", + "name": "SchoolId", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "课堂ID", + "example": "123", + "member": "uint64", + "name": "ClassId", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "课堂类型", + "example": "2", + "member": "uint64", + "name": "ClassType", + "output_required": false, + "type": "int", + "value_allowed_null": false + }, + { + "disabled": false, + "document": "用户流信息", + "example": "无", + "member": "SingleStreamInfo", + "name": "StreamInfo", + "output_required": false, + "type": "list", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "DescribeRoomForbiddenUserRequest": { "document": "DescribeRoomForbiddenUser请求参数结构体", "members": [ @@ -6764,6 +6847,111 @@ ], "type": "object" }, + "SingleStreamInfo": { + "document": "录制流信息", + "members": [ + { + "disabled": false, + "document": "用户ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "123", + "member": "string", + "name": "UserId", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "开始时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1233", + "member": "uint64", + "name": "StartTime", + "output_required": false, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "结束时间\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "21412", + "member": "uint64", + "name": "StopTime", + "output_required": false, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "总时长\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "12", + "member": "uint64", + "name": "Duration", + "output_required": false, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "文件格式\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "mp4", + "member": "string", + "name": "FileFormat", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "流url\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "http://123.com", + "member": "string", + "name": "RecordUrl", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "流大小\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "123", + "member": "uint64", + "name": "RecordSize", + "output_required": false, + "required": false, + "type": "int", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "流ID\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "1238392", + "member": "string", + "name": "VideoId", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + }, + { + "disabled": false, + "document": "流类型\n注意:此字段可能返回 null,表示取不到有效值。", + "example": "mix", + "member": "string", + "name": "Role", + "output_required": false, + "required": false, + "type": "string", + "value_allowed_null": true + } + ], + "usage": "both" + }, "StartRoomRequest": { "document": "StartRoom请求参数结构体", "members": [ diff --git a/tccli/services/lcic/v20220817/examples.json b/tccli/services/lcic/v20220817/examples.json index 3d989176b0..6c9dd5af35 100644 --- a/tccli/services/lcic/v20220817/examples.json +++ b/tccli/services/lcic/v20220817/examples.json @@ -282,6 +282,14 @@ "title": "示例" } ], + "DescribeRecordStream": [ + { + "document": "获取流信息", + "input": "POST / HTTP/1.1\nHost: lcic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRecordStream\n<公共请求参数>\n\n{\n \"SdkAppId\": 1,\n \"RoomId\": 1\n}", + "output": "{\n \"Response\": {\n \"ClassId\": 3211258275,\n \"ClassType\": 2,\n \"RequestId\": \"6a0cd621-e6df-46a5-8ce8-29800e49679d\",\n \"SchoolId\": 39233193,\n \"StreamInfo\": [\n {\n \"Duration\": 224,\n \"FileFormat\": \"mp4\",\n \"RecordSize\": 14966923,\n \"RecordUrl\": \"https://20910970.vod2.myqcloud.com/6cac6e5evodcq100915970/adcjfhbshgahd87/f0.mp4\",\n \"Role\": \"main\",\n \"StartTime\": 1721099743,\n \"StopTime\": 1721099964,\n \"UserId\": \"2TW2Kv091028NAmYkCQlsrT1lXgk\",\n \"VideoId\": \"125312342212911616\"\n }\n ]\n }\n}", + "title": "DescribeRecordStream" + } + ], "DescribeRoom": [ { "document": "获取房间信息", diff --git a/tccli/services/mongodb/v20190725/api.json b/tccli/services/mongodb/v20190725/api.json index abb0e204a1..0aebdc3910 100644 --- a/tccli/services/mongodb/v20190725/api.json +++ b/tccli/services/mongodb/v20190725/api.json @@ -5010,20 +5010,20 @@ }, { "disabled": false, - "document": "实例配置变更后的内存大小。- 单位:GB。- 内存和磁盘必须同时升配或同时降配,即 Memory 与 Volume 需同时配置变更。
注意:节点变更时,输入实例当前的内存配置。", + "document": "实例配置变更后的内存大小。- 单位:GB。为空时,默认取实例当前的内存大小。
注意:内存和磁盘必须同时升配或同时降配,即 Memory 与 Volume 需同时配置变更。", "example": "4", "member": "uint64", "name": "Memory", - "required": true, + "required": false, "type": "int" }, { "disabled": false, - "document": "实例配置变更后的硬盘大小,单位:GB。 注意:节点变更时,输入实例当前的硬盘配置。", + "document": "实例配置变更后的硬盘大小,单位:GB。为空时,默认取当前实例的磁盘大小。\n- 内存和磁盘必须同时升配或同时降配,即 Memory 与 Volume 需同时配置变更。\n- 降配时,变更后的磁盘容量必须大于已用磁盘容量的1.2倍。", "example": "250", "member": "uint64", "name": "Volume", - "required": true, + "required": false, "type": "int" }, { @@ -5037,7 +5037,7 @@ }, { "disabled": false, - "document": "实例变更后的节点数。- 变更节点类型包含:mongod节点 或 readonly 节点,mongos节点变更无需填写。变更节点类型,请查询参数**AddNodeList**或**RemoveNodeList**指定的类型。- 副本集节点数:取值范围请通过云数据库的售卖规格 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 接口返回的参数**MinNodeNum**与 **MaxNodeNum**获取。- 分片集群每个分片节点数:取值范围请通过云数据库的售卖规格 [DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 接口返回的参数**MinReplicateSetNodeNum**与**MaxReplicateSetNodeNum**获取。", + "document": "实例变更后mongod的节点数(不包含readonly节点数)。\n- 变更mongod CPU与内存规格时,该参数可以不配置或者输入当前 mongod(不包含readonly) 节点数量。\n- 变更 mongos CPU与内存规格时,该参数可以不配置或者输入当前 mongod(不包含readonly) 节点数量。\n- 节点变更时(全部类型),该参数可不配置或输入变更后的 mongod(不包含readonl) 节点数量。\n- 副本集节点数:请确认节点数量取值范围,通过云数据库的售卖规格 [DescribeSpecInfo ](https://cloud.tencent.com/document/product/240/38565)接口返回的参数 MinNodeNum 与 MaxNodeNum 获取。\n- 分片集群每个分片节点数:请确认节点数量取值范围,通过云数据库的售卖规格 [DescribeSpecInfo ](https://cloud.tencent.com/document/product/240/38565)接口返回的参数 MinReplicateSetNodeNum 与 MaxReplicateSetNodeNum 获取。", "example": "3", "member": "uint64", "name": "NodeNum", @@ -5046,7 +5046,7 @@ }, { "disabled": false, - "document": "实例变更后的分片数。", + "document": "实例变更后的分片数。\n- 取值范围请通过云数据库的售卖规格[DescribeSpecInfo](https://cloud.tencent.com/document/product/240/38567) 接口返回的参数**MinReplicateSetNum**与**MaxReplicateSetNum**获取。- 该参数只能增加不能减少。", "example": "3", "member": "uint64", "name": "ReplicateSetNum", @@ -5064,7 +5064,7 @@ }, { "disabled": false, - "document": "分片实例配置变更后的mongos内存大小。- 单位:GB。", + "document": "分片实例配置变更后的mongos内存大小。单位:GB。", "example": "2", "member": "string", "name": "MongosMemory", diff --git a/tccli/services/vpc/v20170312/api.json b/tccli/services/vpc/v20170312/api.json index 4458ecedab..b97deed8bb 100644 --- a/tccli/services/vpc/v20170312/api.json +++ b/tccli/services/vpc/v20170312/api.json @@ -20042,6 +20042,7 @@ "example": "无", "member": "string", "name": "SslClientConfigsSet", + "output_required": true, "type": "string", "value_allowed_null": false }, @@ -20051,6 +20052,7 @@ "example": "无", "member": "SslClientConfig", "name": "SslClientConfig", + "output_required": true, "type": "list", "value_allowed_null": false }, @@ -20060,6 +20062,7 @@ "example": "1", "member": "uint64", "name": "Authenticated", + "output_required": true, "type": "int", "value_allowed_null": false }, diff --git a/tccli/services/vpc/v20170312/examples.json b/tccli/services/vpc/v20170312/examples.json index 9de3bf6573..0ceca997f2 100644 --- a/tccli/services/vpc/v20170312/examples.json +++ b/tccli/services/vpc/v20170312/examples.json @@ -2208,7 +2208,7 @@ { "document": "下载SSL-VPN-CLIENT配置", "input": "https://vpc.tencentcloudapi.com/?Action=DownloadVpnGatewaySslClientCert\n&SslVpnClientId=vpnc--84tby4k2\n&<公共请求参数>", - "output": "{\n \"Response\": {\n \"SslClientConfig\": [\n {\n \"SslVpnCert\": \"-----BEGIN CERTIFICATE-----......\",\n \"SslVpnKey\": \"-----BEGIN PRIVATE KEY-----......\",\n \"SslVpnRootCert\": \"-----BEGIN CERTIFICATE-----......\",\n \"SslVpnClientConfiguration\": \"client\\ndev tun\\nproto udp\\nremote......\"\n }\n ],\n \"Authenticated\": 1,\n \"RequestId\": \"d3c01d8b-0363-41d4-a8be-3cfcf2c69711\",\n \"SslClientConfigsSet\": \"${SslClientConfigsSet}\"\n }\n}", + "output": "{\n \"Response\": {\n \"SslClientConfigsSet\": \"abc\",\n \"SslClientConfig\": [\n {\n \"SslVpnClientConfiguration\": \"abc\",\n \"SslVpnRootCert\": \"abc\",\n \"SslVpnKey\": \"abc\",\n \"SslVpnCert\": \"abc\",\n \"SslVpnClientId\": \"abc\"\n }\n ],\n \"Authenticated\": 1,\n \"RequestId\": \"abc\"\n }\n}", "title": "下载SSL-VPN-CLIENT配置" } ],