From c9da29aec5dbae56e304cd3308a34f25a08deca4 Mon Sep 17 00:00:00 2001 From: tencentcloudapi Date: Tue, 20 Feb 2024 10:22:13 +0800 Subject: [PATCH] release 3.0.1058.1 --- CHANGELOG.md | 61 +++++ SERVICE_CHANGELOG.md | 103 ++++++-- products.md | 12 +- pyproject.toml | 4 +- tccli/__init__.py | 2 +- .../v20190924/ModifyServiceAccountPassword.md | 47 ++++ tccli/services/ecm/v20190719/api.json | 105 +++++---- tccli/services/essbasic/essbasic_client.py | 53 ----- tccli/services/essbasic/v20210526/api.json | 223 +----------------- .../services/essbasic/v20210526/examples.json | 14 -- tccli/services/faceid/v20180301/api.json | 2 +- tccli/services/ocr/v20181119/api.json | 2 +- tccli/services/rce/v20201103/api.json | 2 +- tccli/services/tcr/tcr_client.py | 53 +++++ tccli/services/tcr/v20190924/api.json | 71 ++++++ tccli/services/tcr/v20190924/examples.json | 14 ++ 16 files changed, 397 insertions(+), 371 deletions(-) create mode 100644 tccli/examples/tcr/v20190924/ModifyServiceAccountPassword.md diff --git a/CHANGELOG.md b/CHANGELOG.md index f80b3b180..55b41a52f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,64 @@ +# Release 3.0.1058.1 + +## 边缘计算机器(ecm) 版本:2019-07-19 + +### 第 73 次发布 + +发布时间:2024-02-20 01:15:12 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [Node](https://cloud.tencent.com/document/api/1108/42574#Node) + + * **修改成员**:LBSupported + + + + +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 + +### 第 153 次发布 + +发布时间:2024-02-20 01:16:04 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* DescribeBillUsageDetail + +**删除数据结构**: + +* BillUsageDetail + + + +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 + + + +## 容器镜像服务(tcr) 版本:2019-09-24 + +### 第 65 次发布 + +发布时间:2024-02-19 10:37:21 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [ModifyServiceAccountPassword](https://cloud.tencent.com/document/api/1141/103857) + + + # Release 3.0.1057.1 ## 日志服务(cls) 版本:2020-10-16 diff --git a/SERVICE_CHANGELOG.md b/SERVICE_CHANGELOG.md index 87ae16d2f..d3e81fff7 100644 --- a/SERVICE_CHANGELOG.md +++ b/SERVICE_CHANGELOG.md @@ -1,47 +1,61 @@ # 本版本更新包含以下内容: -## 日志服务(cls) 版本:2020-10-16 +## 边缘计算机器(ecm) 版本:2019-07-19 -### 第 81 次发布 +### 第 73 次发布 -发布时间:2024-02-05 10:48:52 +发布时间:2024-02-20 01:15:12 本次发布包含了以下内容: 改善已有的文档。 -新增数据结构: - -* [HighLightItem](https://cloud.tencent.com/document/api/614/56471#HighLightItem) - 修改数据结构: -* [LogContextInfo](https://cloud.tencent.com/document/api/614/56471#LogContextInfo) +* [Node](https://cloud.tencent.com/document/api/1108/42574#Node) - * 新增成员:HighLights + * **修改成员**:LBSupported -## 流量反欺诈(taf) 版本:2020-02-10 +## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 -### 第 18 次发布 +### 第 153 次发布 -发布时间:2024-02-05 01:21:52 +发布时间:2024-02-20 01:16:04 本次发布包含了以下内容: 改善已有的文档。 -新增接口: +**删除接口**: -* [ManagePortraitRisk](https://cloud.tencent.com/document/api/1031/103776) +* DescribeBillUsageDetail -新增数据结构: +**删除数据结构**: -* [ManagePortraitRiskInput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskInput) -* [ManagePortraitRiskOutput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskOutput) -* [ManagePortraitRiskValueOutput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskValueOutput) +* BillUsageDetail + + + +## 腾讯电子签(基础版)(essbasic) 版本:2020-12-22 + + + +## 容器镜像服务(tcr) 版本:2019-09-24 + +### 第 65 次发布 + +发布时间:2024-02-19 10:37:21 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [ModifyServiceAccountPassword](https://cloud.tencent.com/document/api/1141/103857) @@ -29866,7 +29880,7 @@ 新增数据结构: -* [[HighLightItem](https://cloud.tencent.com/document/api/614/56471#HighLightItem)](https://cloud.tencent.com/document/api/614/56471#[HighLightItem](https://cloud.tencent.com/document/api/614/56471#HighLightItem)) +* [HighLightItem](https://cloud.tencent.com/document/api/614/56471#HighLightItem) 修改数据结构: @@ -53292,6 +53306,21 @@ ## 边缘计算机器(ecm) 版本:2019-07-19 +### 第 73 次发布 + +发布时间:2024-02-20 01:15:12 + +本次发布包含了以下内容: + +改善已有的文档。 + +修改数据结构: + +* [Node](https://cloud.tencent.com/document/api/1108/42574#Node) + + * **修改成员**:LBSupported + + ### 第 72 次发布 发布时间:2023-10-23 00:10:30 @@ -60860,6 +60889,22 @@ ## 腾讯电子签(基础版)(essbasic) 版本:2021-05-26 +### 第 153 次发布 + +发布时间:2024-02-20 01:16:04 + +本次发布包含了以下内容: + +改善已有的文档。 + +**删除接口**: + +* DescribeBillUsageDetail + +**删除数据结构**: + +* BillUsageDetail + ### 第 152 次发布 发布时间:2024-02-02 01:13:44 @@ -104689,13 +104734,13 @@ 新增接口: -* [[ManagePortraitRisk](https://cloud.tencent.com/document/api/1031/103776)](https://cloud.tencent.com/document/api/#/#) +* [ManagePortraitRisk](https://cloud.tencent.com/document/api/1031/103776) 新增数据结构: -* [[ManagePortraitRiskInput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskInput)](https://cloud.tencent.com/document/api/1031/43310#[ManagePortraitRiskInput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskInput)) -* [[ManagePortraitRiskOutput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskOutput)](https://cloud.tencent.com/document/api/1031/43310#[ManagePortraitRiskOutput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskOutput)) -* [[ManagePortraitRiskValueOutput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskValueOutput)](https://cloud.tencent.com/document/api/1031/43310#[ManagePortraitRiskValueOutput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskValueOutput)) +* [ManagePortraitRiskInput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskInput) +* [ManagePortraitRiskOutput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskOutput) +* [ManagePortraitRiskValueOutput](https://cloud.tencent.com/document/api/1031/43310#ManagePortraitRiskValueOutput) ### 第 17 次发布 @@ -109884,6 +109929,18 @@ ## 容器镜像服务(tcr) 版本:2019-09-24 +### 第 65 次发布 + +发布时间:2024-02-19 10:37:21 + +本次发布包含了以下内容: + +改善已有的文档。 + +新增接口: + +* [[ModifyServiceAccountPassword](https://cloud.tencent.com/document/api/1141/103857)](https://cloud.tencent.com/document/api/#/#) + ### 第 64 次发布 发布时间:2023-12-12 02:27:39 diff --git a/products.md b/products.md index f95fd4271..7c5b95d58 100644 --- a/products.md +++ b/products.md @@ -91,15 +91,15 @@ | eb | [事件总线](https://cloud.tencent.com/document/product/1359) | 2024-01-17 01:14:14 | | ecc | [英文作文批改](https://cloud.tencent.com/document/product/1076) | 2023-09-13 01:42:58 | | ecdn | [全站加速网络](https://cloud.tencent.com/document/product/570) | 2023-08-17 03:03:04 | -| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-12-20 01:36:00 | +| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2024-02-20 01:15:12 | | eiam | [数字身份管控平台(员工版)](https://cloud.tencent.com/document/product/1442) | 2023-05-18 01:25:40 | | eis | [数据连接器](https://cloud.tencent.com/document/product/1270) | 2023-08-10 01:17:44 | | emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-02-02 01:13:14 | | es | [Elasticsearch Service](https://cloud.tencent.com/document/product/845) | 2024-01-25 01:13:20 | | ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-02-05 01:14:36 | -| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-02-05 01:14:50 | +| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-02-20 01:16:04 | | facefusion | [人脸融合](https://cloud.tencent.com/document/product/670) | 2023-12-15 19:41:44 | -| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-01-12 01:15:37 | +| faceid | [人脸核身](https://cloud.tencent.com/document/product/1007) | 2024-02-20 01:16:27 | | fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-12-25 00:11:01 | | ft | [人像变换](https://cloud.tencent.com/document/product/1202) | 2023-08-17 03:12:58 | | gaap | [全球应用加速](https://cloud.tencent.com/document/product/608) | 2023-11-14 01:16:54 | @@ -154,7 +154,7 @@ | nlp | [NLP 服务](https://cloud.tencent.com/document/product/271) | 2023-09-15 02:14:19 | | npp | [号码保护](https://cloud.tencent.com/document/product) | 2020-04-22 08:00:22 | | oceanus | [流计算 Oceanus](https://cloud.tencent.com/document/product/849) | 2024-01-19 01:18:01 | -| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-02-05 01:19:36 | +| ocr | [文字识别](https://cloud.tencent.com/document/product/866) | 2024-02-19 10:34:29 | | omics | [腾讯健康组学平台](https://cloud.tencent.com/document/product/1643) | 2024-01-05 01:21:57 | | organization | [集团账号管理](https://cloud.tencent.com/document/product/850) | 2024-01-17 01:19:45 | | partners | [渠道合作伙伴](https://cloud.tencent.com/document/product/563) | 2024-01-23 01:25:29 | @@ -162,7 +162,7 @@ | postgres | [云数据库 PostgreSQL](https://cloud.tencent.com/document/product/409) | 2024-01-24 01:33:35 | | privatedns | [私有域解析 Private DNS](https://cloud.tencent.com/document/product/1338) | 2024-01-19 01:18:43 | | pts | [云压测](https://cloud.tencent.com/document/product/1484) | 2023-12-12 02:16:34 | -| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-02-05 01:20:26 | +| rce | [全栈式风控引擎](https://cloud.tencent.com/document/product/1343) | 2024-02-19 10:35:18 | | redis | [云数据库Redis](https://cloud.tencent.com/document/product/239) | 2024-01-29 01:18:51 | | region | [地域管理系统](https://cloud.tencent.com/document/product/1596) | 2023-10-13 01:22:28 | | rkp | [风险探针](https://cloud.tencent.com/document/product/1169) | 2023-12-25 00:16:39 | @@ -198,7 +198,7 @@ | tchd | [腾讯云健康看板](https://cloud.tencent.com/document/product/1688) | 2023-11-28 01:24:39 | | tci | [腾讯智学课堂分析](https://cloud.tencent.com/document/product) | 2020-08-24 08:06:03 | | tcm | [服务网格](https://cloud.tencent.com/document/product/1261) | 2023-10-09 01:23:14 | -| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2023-12-12 02:27:39 | +| tcr | [容器镜像服务](https://cloud.tencent.com/document/product/1141) | 2024-02-19 10:37:21 | | tcss | [容器安全服务](https://cloud.tencent.com/document/product/1285) | 2024-02-02 01:21:42 | | tdcpg | [TDSQL-C PostgreSQL 版](https://cloud.tencent.com/document/product/1556) | 2023-06-21 01:36:25 | | tdid | [分布式身份](https://cloud.tencent.com/document/product/1439) | 2024-01-23 01:28:41 | diff --git a/pyproject.toml b/pyproject.toml index ca85994e0..2dc87b899 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "tccli" -version = "3.0.1057.1" +version = "3.0.1058.1" authors = [ { name="tencentcloudapi", email="tencentcloudapi@tencent.com" }, ] @@ -21,7 +21,7 @@ classifiers = [ dependencies = [ "jmespath==0.10.0", "six==1.16.0", - "tencentcloud-sdk-python>=3.0.1057", + "tencentcloud-sdk-python>=3.0.1058", ] [project.urls] diff --git a/tccli/__init__.py b/tccli/__init__.py index 364b9b2c9..63585e440 100644 --- a/tccli/__init__.py +++ b/tccli/__init__.py @@ -1 +1 @@ -__version__ = '3.0.1057.1' +__version__ = '3.0.1058.1' diff --git a/tccli/examples/tcr/v20190924/ModifyServiceAccountPassword.md b/tccli/examples/tcr/v20190924/ModifyServiceAccountPassword.md new file mode 100644 index 000000000..df4dfb134 --- /dev/null +++ b/tccli/examples/tcr/v20190924/ModifyServiceAccountPassword.md @@ -0,0 +1,47 @@ +**Example 1: 自定义服务级账号密码** + +自定义服务级账号密码 + +Input: + +``` +tccli tcr ModifyServiceAccountPassword --cli-unfold-argument \ + --RegistryId tcr-gijwqid7 \ + --Name robot \ + --Random False \ + --Password NewPass123 +``` + +Output: +``` +{ + "Response": { + "Password": "NewPass123", + "RequestId": "8c63b1e6-02b8-48af-94c2-416aa71e0c12" + } +} +``` + +**Example 2: 重置服务级账号密码** + +重置服务级账号密码 + +Input: + +``` +tccli tcr ModifyServiceAccountPassword --cli-unfold-argument \ + --RegistryId tcr-gijwqid7 \ + --Name robot \ + --Random True +``` + +Output: +``` +{ + "Response": { + "Password": "kukui1ECDL8kr9cm6W66Me8PlhHemFmC", + "RequestId": "60e7d0ce-c8ed-4495-9814-9397482f0d4a" + } +} +``` + diff --git a/tccli/services/ecm/v20190719/api.json b/tccli/services/ecm/v20190719/api.json index 47eafa102..efd85b532 100644 --- a/tccli/services/ecm/v20190719/api.json +++ b/tccli/services/ecm/v20190719/api.json @@ -7657,7 +7657,7 @@ { "disabled": false, "document": "镜像ID", - "example": "无", + "example": "img-gfoqboh1", "member": "string", "name": "ImageId", "output_required": true, @@ -7667,7 +7667,7 @@ { "disabled": false, "document": "镜像名称", - "example": "无", + "example": "测试镜像", "member": "string", "name": "ImageName", "output_required": true, @@ -7677,7 +7677,7 @@ { "disabled": false, "document": "镜像状态", - "example": "无", + "example": "NORMAL", "member": "string", "name": "ImageState", "output_required": true, @@ -7687,7 +7687,7 @@ { "disabled": false, "document": "镜像类型", - "example": "无", + "example": "PRIVATE_IMAGE", "member": "string", "name": "ImageType", "output_required": true, @@ -7697,7 +7697,7 @@ { "disabled": false, "document": "操作系统名称", - "example": "无", + "example": "CentOS 7.6.0 64位", "member": "string", "name": "ImageOsName", "output_required": true, @@ -7707,7 +7707,7 @@ { "disabled": false, "document": "镜像描述", - "example": "无", + "example": "测试用", "member": "string", "name": "ImageDescription", "output_required": true, @@ -7717,7 +7717,7 @@ { "disabled": false, "document": "镜像导入时间", - "example": "无", + "example": "2024-02-06 12:32:47", "member": "string", "name": "ImageCreateTime", "output_required": true, @@ -7727,7 +7727,7 @@ { "disabled": false, "document": "操作系统位数", - "example": "无", + "example": "x86_64", "member": "string", "name": "Architecture", "output_required": true, @@ -7737,7 +7737,7 @@ { "disabled": false, "document": "操作系统类型", - "example": "无", + "example": "linux", "member": "string", "name": "OsType", "output_required": true, @@ -7747,7 +7747,7 @@ { "disabled": false, "document": "操作系统版本", - "example": "无", + "example": "16.0", "member": "string", "name": "OsVersion", "output_required": true, @@ -7757,7 +7757,7 @@ { "disabled": false, "document": "操作系统平台", - "example": "无", + "example": "Ubuntu", "member": "string", "name": "Platform", "output_required": true, @@ -7777,7 +7777,7 @@ { "disabled": false, "document": "镜像大小。单位:GB", - "example": "无", + "example": "50", "member": "int64", "name": "ImageSize", "output_required": true, @@ -7797,7 +7797,7 @@ { "disabled": false, "document": "镜像来源类型", - "example": "无", + "example": "EXTERNAL_IMPORT", "member": "string", "name": "ImageSource", "output_required": true, @@ -7807,7 +7807,7 @@ { "disabled": false, "document": "中间态和失败时候的任务ID", - "example": "无", + "example": "1234", "member": "string", "name": "TaskId", "output_required": true, @@ -7817,7 +7817,7 @@ { "disabled": false, "document": "是否支持CloudInit", - "example": "无", + "example": "true", "member": "bool", "name": "IsSupportCloudInit", "output_required": true, @@ -8881,80 +8881,80 @@ { "disabled": false, "document": "密钥对的ID,是密钥对的唯一标识。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "skey-mv9yzyjj", "member": "string", "name": "KeyId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "密钥对名称。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "TencentKeyp", "member": "string", "name": "KeyName", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "密钥对所属的项目ID。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "null", "member": "int64", "name": "ProjectId", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": true }, { "disabled": false, "document": "密钥对描述信息。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "test", "member": "string", "name": "Description", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "密钥对的纯文本公钥。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "ssh-rsa AAAA**123== skey_437619", "member": "string", "name": "PublicKey", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "钥对的纯文本私钥。腾讯云不会保管私钥,请用户自行妥善保存。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "null", "member": "string", "name": "PrivateKey", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "钥关联的实例ID列表。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "[]", "member": "string", "name": "AssociatedInstanceIds", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": true }, { "disabled": false, "document": "创建时间。按照ISO8601标准表示,并且使用UTC时间。格式为:YYYY-MM-DDThh:mm:ssZ。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "2019-08-12T02:53:39Z", "member": "datetime_iso", "name": "CreatedTime", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true } @@ -11501,7 +11501,7 @@ "example": "无", "member": "ZoneInfo", "name": "ZoneInfo", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -11511,7 +11511,7 @@ "example": "无", "member": "Country", "name": "Country", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -11521,7 +11521,7 @@ "example": "无", "member": "Area", "name": "Area", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -11531,7 +11531,7 @@ "example": "无", "member": "Province", "name": "Province", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -11541,7 +11541,7 @@ "example": "无", "member": "City", "name": "City", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -11551,7 +11551,7 @@ "example": "无", "member": "RegionInfo", "name": "RegionInfo", - "required": true, + "output_required": true, "type": "object", "value_allowed_null": false }, @@ -11561,17 +11561,17 @@ "example": "无", "member": "ISP", "name": "ISPSet", - "required": true, + "output_required": true, "type": "list", "value_allowed_null": false }, { "disabled": false, "document": "运营商数量。", - "example": "无", + "example": "1", "member": "int64", "name": "ISPNum", - "required": true, + "output_required": true, "type": "int", "value_allowed_null": false }, @@ -11581,7 +11581,7 @@ "example": "无", "member": "bool", "name": "LBSupported", - "required": false, + "output_required": true, "type": "bool", "value_allowed_null": false } @@ -11908,30 +11908,30 @@ { "disabled": false, "document": "机位\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "B90CEE7*******2455CA9F1A", "member": "string", "name": "PosId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "机架\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "18C8C045F6AFD0965*******20127A9", "member": "string", "name": "RackId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true }, { "disabled": false, "document": "交换机\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "99563FCAD565AC179*******4EA92123", "member": "string", "name": "SwitchId", - "required": true, + "output_required": true, "type": "string", "value_allowed_null": true } @@ -14558,6 +14558,7 @@ "example": "CLOUD_PREMIUM", "member": "string", "name": "DiskType", + "output_required": true, "required": false, "type": "string", "value_allowed_null": false @@ -14565,9 +14566,10 @@ { "disabled": false, "document": "硬盘ID。此参数暂不可用。", - "example": "无", + "example": "ldisk-1ly4f53h", "member": "string", "name": "DiskId", + "output_required": true, "required": false, "type": "string", "value_allowed_null": false @@ -14578,6 +14580,7 @@ "example": "100", "member": "int64", "name": "DiskSize", + "output_required": true, "required": false, "type": "int", "value_allowed_null": false @@ -14591,9 +14594,10 @@ { "disabled": false, "document": "标签健。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "tag-key", "member": "string", "name": "Key", + "output_required": true, "required": true, "type": "string", "value_allowed_null": true @@ -14601,9 +14605,10 @@ { "disabled": false, "document": "标签值。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", + "example": "tag-val", "member": "string", "name": "Value", + "output_required": true, "required": true, "type": "string", "value_allowed_null": true diff --git a/tccli/services/essbasic/essbasic_client.py b/tccli/services/essbasic/essbasic_client.py index 939126357..ae3455c69 100644 --- a/tccli/services/essbasic/essbasic_client.py +++ b/tccli/services/essbasic/essbasic_client.py @@ -2567,58 +2567,6 @@ def doDescribeChannelOrganizations(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) -def doDescribeBillUsageDetail(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.EssbasicClient(cred, g_param[OptionsDefine.Region], profile) - client._sdkVersion += ("_CLI_" + __version__) - models = MODELS_MAP[g_param[OptionsDefine.Version]] - model = models.DescribeBillUsageDetailRequest() - model.from_json_string(json.dumps(args)) - start_time = time.time() - while True: - rsp = client.DescribeBillUsageDetail(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 doSendFlow(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -6477,7 +6425,6 @@ def doCreateServerFlowSign(args, parsed_globals): "ChannelDescribeRoles": doChannelDescribeRoles, "DescribeResourceUrlsByFlows": doDescribeResourceUrlsByFlows, "DescribeChannelOrganizations": doDescribeChannelOrganizations, - "DescribeBillUsageDetail": doDescribeBillUsageDetail, "SendFlow": doSendFlow, "DescribeFaceIdPhotos": doDescribeFaceIdPhotos, "ChannelDescribeFlowComponents": doChannelDescribeFlowComponents, diff --git a/tccli/services/essbasic/v20210526/api.json b/tccli/services/essbasic/v20210526/api.json index f288f66c8..7fcc5a7fd 100644 --- a/tccli/services/essbasic/v20210526/api.json +++ b/tccli/services/essbasic/v20210526/api.json @@ -358,7 +358,7 @@ "status": "online" }, "CreateSignUrls": { - "document": "创建跳转小程序查看或签署的链接\n\n**腾讯电子签小程序的AppID 和 原始Id如下:**\n\n| 小程序 | AppID | 原始ID |\n| ------------ | ------------ | ------------ |\n| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |\n| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |\n\n**主要使用场景可以更加EndPoint分类如下**\n\n|EndPoint| 场景| 说明和示例|\n| ---- | ---- | --- |\n| WEIXINAPP | 短链跳转腾讯电子签小程序签署场景 | 点击链接打开电子签小程序(与腾讯电子签官方短信提醒用户签署形式一样)
示例: https://essurl.cn/x9nvWU8fTg|\n| LONGURL2WEIXINAPP | 长链跳转腾讯电子签小程序签署场景 | 点击链接打开电子签小程序, 是WEIXINAPP生成短链代表的那个长链|\n| CHANNEL | 带有H5引导页的跳转腾讯电子签小程序签署场景 | 点击链接打开一个H5引导页面, 页面中有个\"前往小程序\"的按钮, 点击后会跳转到腾讯电子签小程序签署场景; 签署完成会回到H5引导页面, 然后跳转到指定创建链接指定的JumpUrl
示例: https://res.ess.tencent.cn/cdn/h5-activity-beta/jump-mp.html?use=channel-guide&type=warning&token=uIFKIU8fTd |\n|APP| 贵方APP跳转腾讯电子签小程序签署场景| 贵方App直接跳转到小程序后, 在腾讯电子签小程序签署完成后返回贵方App的场景
跳转到腾讯电子签小程序的实现可以参考微信的官方文档:开放能力/打开 App
示例: pages/guide?from=default&where=mini& to=CONTRACT_DETAIL& id=yDwiBUUc*duRvquCSX8wd& shortKey=yDwivUA**W1yRsTre3 |\n|APP| 贵方小程序跳转腾讯电子签小程序签署场景| 贵方小程序直接跳转到小程序后, 在腾讯电子签小程序签署完成后返回贵方小程序的场景
跳转到腾讯电子签小程序的实现可以参考微信官方文档全屏方式半屏方式
此时返回的SignUrl就是官方文档中的path
示例:pages/guide?from=default&where=mini& to=CONTRACT_DETAIL& id=yDwiBUUc*duRvquCSX8wd& shortKey=yDwivUA**W1yRsTre3 |", + "document": "创建跳转小程序查看或签署的链接\n\n**腾讯电子签小程序的AppID 和 原始Id如下:**\n\n| 小程序 | AppID | 原始ID |\n| ------------ | ------------ | ------------ |\n| 腾讯电子签(正式版) | wxa023b292fd19d41d | gh_da88f6188665 |\n| 腾讯电子签Demo | wx371151823f6f3edf | gh_39a5d3de69fa |\n\n**主要使用场景EndPoint分类**\n\n|EndPoint| 场景| 说明和示例|\n| ---- | ---- | --- |\n| WEIXINAPP | 短链跳转腾讯电子签小程序签署场景 | 点击链接打开电子签小程序(与腾讯电子签官方短信提醒用户签署形式一样)
示例: https://essurl.cn/x9nvWU8fTg|\n| LONGURL2WEIXINAPP | 长链跳转腾讯电子签小程序签署场景 | 点击链接打开电子签小程序, 是WEIXINAPP生成短链代表的那个长链|\n| CHANNEL | 带有H5引导页的跳转腾讯电子签小程序签署场景 | 点击链接打开一个H5引导页面, 页面中有个\"前往小程序\"的按钮, 点击后会跳转到腾讯电子签小程序签署场景; 签署完成会回到H5引导页面, 然后跳转到指定创建链接指定的JumpUrl
示例: https://res.ess.tencent.cn/cdn/h5-activity-beta/jump-mp.html?use=channel-guide&type=warning&token=uIFKIU8fTd |\n|APP| 贵方APP跳转腾讯电子签小程序签署场景| 贵方App直接跳转到小程序后, 在腾讯电子签小程序签署完成后返回贵方App的场景
跳转到腾讯电子签小程序的实现可以参考微信的官方文档:开放能力/打开 App
示例: pages/guide?from=default&where=mini& to=CONTRACT_DETAIL& id=yDwiBUUc*duRvquCSX8wd& shortKey=yDwivUA**W1yRsTre3 |\n|APP| 贵方小程序跳转腾讯电子签小程序签署场景| 贵方小程序直接跳转到小程序后, 在腾讯电子签小程序签署完成后返回贵方小程序的场景
跳转到腾讯电子签小程序的实现可以参考微信官方文档全屏方式半屏方式
此时返回的SignUrl就是官方文档中的path
示例:pages/guide?from=default&where=mini& to=CONTRACT_DETAIL& id=yDwiBUUc*duRvquCSX8wd& shortKey=yDwivUA**W1yRsTre3 |", "input": "CreateSignUrlsRequest", "name": "获取跳转至腾讯电子签小程序的签署链接", "output": "CreateSignUrlsResponse", @@ -371,13 +371,6 @@ "output": "DescribeBatchOrganizationRegistrationUrlsResponse", "status": "online" }, - "DescribeBillUsageDetail": { - "document": "废弃接口\n\n通过此接口(DescribeBillUsageDetail)查询该第三方平台子客企业的套餐消耗详情。", - "input": "DescribeBillUsageDetailRequest", - "name": "[废弃]查询计费消耗情况", - "output": "DescribeBillUsageDetailResponse", - "status": "deprecated" - }, "DescribeChannelFlowEvidenceReport": { "document": "获取出证报告任务执行结果,返回报告 URL。\n\n注意:\n\n- 使用此功能`需搭配出证套餐` ,使用前请联系对接的客户经理沟通。\n- 需调用创建并返回出证报告接口提交申请出证报告任务获取报告编号后调用当前接口获取报告链接。\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/1b4307ed143a992940c41d61192d3a0f/channel_CreateChannelFlowEvidenceReport.png)", "input": "DescribeChannelFlowEvidenceReportRequest", @@ -484,7 +477,7 @@ "status": "online" }, "SyncProxyOrganizationOperators": { - "document": "此接口(SyncProxyOrganizationOperators)用于同步 第三方平台子客企业经办人列表,主要是同步经办人的离职状态。子客Web控制台的组织架构管理,是依赖于第三方应用平台的,无法针对员工做新增/更新/离职等操作。 \n\n- **新增员工的场景**: 通过本接口提前导入员工列表, 然后调用生成子客登录链接分享给对应的员工进行实名, 新增员工后员工的状态为**未实名**, 通过链接实名后状态变为**已实名**, 已实名员工就可以参与合同的发起和签署\n\n- **员工离职的场景**: 通过本接口将员工置为离职, 员工无法登录控制台和腾讯电子签小程序进行操作了, 同时给此员工分配的openid会被回收可以给其他新员工使用 (离职后员工数据会被置空, 再次加入公司会从零开始) , 若员工信息有误可通过离职后在新增来解决, 离职员工状态为**离职**\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/7a27a6bb0e4d39c2f6aa2a0b39946181/channel_SyncProxyOrganizationOperators.png)\n\n**注**: \n- 新增员工可以配置白名单限制注册使用对应openid的员工必须满足SyncProxyOrganizationOperators导入的(默认生成子客登录链接生成的链接可以任意员工点击注册绑定对应的openid), 此白名单需要咨询接入经理\n- 超管和法人无法通过此接口离职, 需要超管和法人将权限转移给其他人后才可通过此接口离职\n- 新增员工的场景同ID不同员工会覆盖掉上一个同ID的员工, 如果上一个员工已经实名则不会被覆盖", + "document": "此接口(SyncProxyOrganizationOperators)用于同步 第三方平台子客企业经办人列表,主要是同步经办人的离职状态。\n子客Web控制台的组织架构管理,依赖于第三方应用平台的,无法在页面针对员工做新增/更新/离职等操作, 必须通过 API 来操作。 \n\n- **新增员工的场景**: 通过本接口提前导入员工列表, 然后调用生成子客登录链接分享给对应的员工进行实名, 新增员工后员工的状态为**未实名**, 通过链接实名后状态变为**已实名**, 已实名员工就可以参与合同的发起。\n\n- **员工离职的场景**: 通过本接口将员工置为离职, 员工无法登录控制台和腾讯电子签小程序进行操作了, 同时给此员工分配的openid会被回收可以给其他新员工使用 (离职后员工数据会被置空, 再次加入公司会从零开始) , 若员工信息有误可通过离职后在新增来解决, 离职员工状态为**离职**。\n\n![image](https://qcloudimg.tencent-cloud.cn/raw/7a27a6bb0e4d39c2f6aa2a0b39946181/channel_SyncProxyOrganizationOperators.png)\n\n**注**: \n- 新增员工可以配置白名单限制注册使用对应openid的员工必须满足SyncProxyOrganizationOperators导入的(默认生成子客登录链接生成的链接可以任意员工点击注册绑定对应的openid), 此白名单需要咨询接入经理\n- 超管和法人无法通过此接口离职, 需要超管和法人将权限转移给其他人后才可通过此接口离职\n- 新增员工的场景同ID不同员工会覆盖掉上一个同ID的员工, 如果上一个员工已经实名则不会被覆盖", "input": "SyncProxyOrganizationOperatorsRequest", "name": "企业员工新增或离职", "output": "SyncProxyOrganizationOperatorsResponse", @@ -1010,122 +1003,6 @@ ], "usage": "in" }, - "BillUsageDetail": { - "document": "用户计费使用情况详情", - "members": [ - { - "disabled": false, - "document": "合同流程ID,为32位字符串。\n建议开发者妥善保存此流程ID,以便于顺利进行后续操作。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "ydxxxxxxxx", - "member": "string", - "name": "FlowId", - "output_required": false, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "合同经办人名称\n如果有多个经办人用分号隔开。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "刘二;张三", - "member": "string", - "name": "OperatorName", - "output_required": false, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "发起方组织机构名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "张三公司", - "member": "string", - "name": "CreateOrganizationName", - "output_required": false, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "合同流程的名称(可自定义此名称),长度不能超过200,只能由中文、字母、数字和下划线组成。\n该名称还将用于合同签署完成后的下载文件名。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "张三发起的合同", - "member": "string", - "name": "FlowName", - "output_required": false, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "当前合同状态,如下是状态码对应的状态。\n0-还没有发起\n1-等待签署\n2-部分签署 \n3-拒签\n4-已签署 \n5-已过期 \n6-已撤销 \n7-还没有预发起\n8-等待填写\n9-部分填写 \n10-拒填\n11-已解除\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "4", - "member": "int64", - "name": "Status", - "output_required": false, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "套餐类型\n对应关系如下\nCloudEnterprise-企业版合同\nSingleSignature-单方签章\nCloudProve-签署报告\nCloudOnlineSign-腾讯会议在线签约\nChannelWeCard-微工卡\nSignFlow-合同套餐\nSignFace-签署意愿(人脸识别)\nSignPassword-签署意愿(密码)\nSignSMS-签署意愿(短信)\nPersonalEssAuth-签署人实名(腾讯电子签认证)\nPersonalThirdAuth-签署人实名(信任第三方认证)\nOrgEssAuth-签署企业实名\nFlowNotify-短信通知\nAuthService-企业工商信息查询\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "CloudEnterprise", - "member": "string", - "name": "QuotaType", - "output_required": false, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "合同使用量\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "int64", - "name": "UseCount", - "output_required": false, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "消耗的时间戳,格式为Unix标准时间戳(秒)。\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1680162193", - "member": "int64", - "name": "CostTime", - "output_required": false, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "消耗的套餐名称\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "企业版运营礼包", - "member": "string", - "name": "QuotaName", - "output_required": false, - "type": "string", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "消耗类型\n1.扣费 2.撤销返还\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "1", - "member": "int64", - "name": "CostType", - "output_required": false, - "type": "int", - "value_allowed_null": true - }, - { - "disabled": false, - "document": "备注\n注意:此字段可能返回 null,表示取不到有效值。", - "example": "无", - "member": "string", - "name": "Remark", - "output_required": false, - "type": "string", - "value_allowed_null": true - } - ], - "usage": "out" - }, "CcInfo": { "document": "抄送信息", "members": [ @@ -3830,7 +3707,7 @@ }, { "disabled": false, - "document": "主题类型
EMBED_WEB_THEME:嵌入式主题\n
目前只支持EMBED_WEB_THEME,web页面嵌入的主题风格配置", + "document": "主题类型
EMBED_WEB_THEME:嵌入式主题\n", "example": "无", "member": "string", "name": "ThemeType", @@ -6513,7 +6390,7 @@ }, { "disabled": false, - "document": "签署链接类型,可以设置的参数如下\n\n\n**注:**动态签署人场景,如果签署链接类型设置为`APP`,则仅支持跳转到封面页。\n\n详细使用场景可以参数接口说明中的 **主要使用场景可以更加EndPoint分类如下**", + "document": "签署链接类型,可以设置的参数如下\n\n\n**注:**动态签署人场景,如果签署链接类型设置为`APP`,则仅支持跳转到封面页。\n\n详细使用场景可以参考接口描述说明中的 **主要使用场景EndPoint分类**\n", "example": "”WEIXINAPP“", "member": "string", "name": "Endpoint", @@ -6744,98 +6621,6 @@ ], "type": "object" }, - "DescribeBillUsageDetailRequest": { - "document": "DescribeBillUsageDetail请求参数结构体", - "members": [ - { - "disabled": false, - "document": "关于渠道应用的相关信息,包括渠道应用标识、第三方平台子客企业标识及第三方平台子客企业中的员工标识等内容,您可以参阅开发者中心所提供的 Agent 结构体以获取详细定义。", - "example": "无", - "member": "Agent", - "name": "Agent", - "required": true, - "type": "object" - }, - { - "disabled": false, - "document": "查询开始时间字符串,格式为yyyymmdd,时间跨度不能大于31天", - "example": "20231101", - "member": "string", - "name": "StartTime", - "required": true, - "type": "string" - }, - { - "disabled": false, - "document": "查询结束时间字符串,格式为yyyymmdd,时间跨度不能大于31天", - "example": "20231108", - "member": "string", - "name": "EndTime", - "required": true, - "type": "string" - }, - { - "disabled": false, - "document": "查询的套餐类型 (选填 )不传则查询所有套餐;\n对应关系如下\nCloudEnterprise-企业版合同\nSingleSignature-单方签章\nCloudProve-签署报告\nCloudOnlineSign-腾讯会议在线签约\nChannelWeCard-微工卡\nSignFlow-合同套餐\nSignFace-签署意愿(人脸识别)\nSignPassword-签署意愿(密码)\nSignSMS-签署意愿(短信)\nPersonalEssAuth-签署人实名(腾讯电子签认证)\nPersonalThirdAuth-签署人实名(信任第三方认证)\nOrgEssAuth-签署企业实名\nFlowNotify-短信通知\nAuthService-企业工商信息查询", - "example": "CloudEnterprise", - "member": "string", - "name": "QuotaType", - "required": false, - "type": "string" - }, - { - "disabled": false, - "document": "指定分页返回第几页的数据,如果不传默认返回第一页,页码从 0 开始,即首页为 0", - "example": "0", - "member": "int64", - "name": "Offset", - "required": false, - "type": "int" - }, - { - "disabled": false, - "document": "指定分页每页返回的数据条数,如果不传默认为 50,单页最大支持 50。", - "example": "20", - "member": "int64", - "name": "Limit", - "required": false, - "type": "int" - } - ], - "type": "object" - }, - "DescribeBillUsageDetailResponse": { - "document": "DescribeBillUsageDetail返回参数结构体", - "members": [ - { - "disabled": false, - "document": "返回查询记录总数", - "example": "100", - "member": "int64", - "name": "Total", - "output_required": false, - "type": "int", - "value_allowed_null": false - }, - { - "disabled": false, - "document": "消耗记录详情", - "example": "无", - "member": "BillUsageDetail", - "name": "Details", - "output_required": false, - "type": "list", - "value_allowed_null": false - }, - { - "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。", - "member": "string", - "name": "RequestId", - "type": "string" - } - ], - "type": "object" - }, "DescribeChannelFlowEvidenceReportRequest": { "document": "DescribeChannelFlowEvidenceReport请求参数结构体", "members": [ diff --git a/tccli/services/essbasic/v20210526/examples.json b/tccli/services/essbasic/v20210526/examples.json index 3e3606cdf..761c43415 100644 --- a/tccli/services/essbasic/v20210526/examples.json +++ b/tccli/services/essbasic/v20210526/examples.json @@ -796,20 +796,6 @@ "title": "查询批量企业认证" } ], - "DescribeBillUsageDetail": [ - { - "document": "", - "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillUsageDetail\n<公共请求参数>\n\n{\n \"Agent\": {\n \"AppId\": \"ydxxxxxx\",\n \"ProxyOrganizationOpenId\": \"orgxxxx\"\n },\n \"StartTime\": \"20230902\",\n \"EndTime\": \"20230930\",\n \"Offset\": 0,\n \"Limit\": 1000\n}", - "output": "{\n \"Response\": {\n \"Error\": {\n \"Code\": \"InvalidParameter.Limit\",\n \"Message\": \"分页参数不合法\"\n },\n \"RequestId\": \"s169935778xxxxxxx\"\n }\n}", - "title": "查询失败样例" - }, - { - "document": "", - "input": "POST / HTTP/1.1\nHost: essbasic.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeBillUsageDetail\n<公共请求参数>\n\n{\n \"StartTime\": \"20230902\",\n \"EndTime\": \"20230930\",\n \"Offset\": 0,\n \"Limit\": 1000,\n \"Agent\": {\n \"AppId\": \"ydxxxxxx\",\n \"ProxyOrganizationOpenId\": \"orgxxxx\"\n }\n}", - "output": "{\n \"Response\": {\n \"Details\": [\n {\n \"CostTime\": 1695037514,\n \"CostType\": 1,\n \"FlowId\": \"yDwJOU5e7ikveIUxMW0p2uJxxxxxxxxxx\",\n \"FlowName\": \"腾讯电子签xxxxx合同\",\n \"OperatorName\": \"张三;李斯\",\n \"QuotaName\": \"签署报告(出证服务)\",\n \"QuotaType\": \"CloudProve\",\n \"Remark\": \"\",\n \"Status\": 4,\n \"UseCount\": 1\n }\n ],\n \"RequestId\": \"s16992572741898xxxx\",\n \"Total\": 1\n }\n}", - "title": "查询渠道客户消耗" - } - ], "DescribeChannelFlowEvidenceReport": [ { "document": "获取全部签署完成的合同的公证处核验报告,返回报告 URL", diff --git a/tccli/services/faceid/v20180301/api.json b/tccli/services/faceid/v20180301/api.json index 2d31e130a..115720c89 100644 --- a/tccli/services/faceid/v20180301/api.json +++ b/tccli/services/faceid/v20180301/api.json @@ -1521,7 +1521,7 @@ "members": [ { "disabled": false, - "document": "本次流程最终验证结果。0为成功\n注意:此字段可能返回 null,表示取不到有效值。", + "document": "本次流程最终验证结果。0为成功(仅包含活体人脸核身结果,不包含意愿核身结果)\n注意:此字段可能返回 null,表示取不到有效值。", "example": "0", "member": "int64", "name": "ErrCode", diff --git a/tccli/services/ocr/v20181119/api.json b/tccli/services/ocr/v20181119/api.json index 34745e30d..8f0dc58e9 100644 --- a/tccli/services/ocr/v20181119/api.json +++ b/tccli/services/ocr/v20181119/api.json @@ -14029,7 +14029,7 @@ }, { "disabled": false, - "document": "配置id支持:\nGeneral -- 通用场景\nOnlineTaxiItinerary -- 网约车行程单\nRideHailingDriverLicense -- 网约车驾驶证\nRideHailingTransportLicense -- 网约车运输证\nWayBill -- 快递运单\nAccountOpeningPermit -- 银行开户许可证\nInvoiceEng -- 海外发票模版\nCoin --钱币识别模板\nOnboardingDocuments -- 入职材料识别", + "document": "配置id支持:\nGeneral -- 通用场景\nOnlineTaxiItinerary -- 网约车行程单\nRideHailingDriverLicense -- 网约车驾驶证\nRideHailingTransportLicense -- 网约车运输证\nWayBill -- 快递运单\nAccountOpeningPermit -- 银行开户许可证\nInvoiceEng -- 海外发票模版\nCoin --钱币识别模板\nOnboardingDocuments -- 入职材料识别\nPropertyOwnershipCertificate -- 房产证识别\nRealEstateCertificate --不动产权证识别\nHouseEncumbranceCertificate -- 他权证识别", "example": "无", "member": "string", "name": "ConfigId", diff --git a/tccli/services/rce/v20201103/api.json b/tccli/services/rce/v20201103/api.json index 5080cc07f..60caa6b9b 100644 --- a/tccli/services/rce/v20201103/api.json +++ b/tccli/services/rce/v20201103/api.json @@ -266,7 +266,7 @@ }, { "disabled": false, - "document": "场景码,用于识别和区分不同的业务场景,可在控制台上新建和管理\n控制台链接:https://console.cloud.tencent.com/rce/risk/strategy/scene-root\n活动防刷默认场景码:e_activity_antirush \n登陆保护默认场景码:e_login_protection\n注册保护默认场景码:e_register_protection", + "document": "场景码,用于识别和区分不同的业务场景,可在控制台上新建和管理\n控制台链接:https://console.cloud.tencent.com/rce/risk/strategy/scene-root\n活动防刷默认场景码:e_activity_antirush \n登录保护默认场景码:e_login_protection\n注册保护默认场景码:e_register_protection", "example": "e_activity_antirush", "member": "string", "name": "SceneCode", diff --git a/tccli/services/tcr/tcr_client.py b/tccli/services/tcr/tcr_client.py index 2d6d89c38..aad208fda 100644 --- a/tccli/services/tcr/tcr_client.py +++ b/tccli/services/tcr/tcr_client.py @@ -1733,6 +1733,58 @@ def doDescribeApplicationTriggerPersonal(args, parsed_globals): FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter]) +def doModifyServiceAccountPassword(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.TcrClient(cred, g_param[OptionsDefine.Region], profile) + client._sdkVersion += ("_CLI_" + __version__) + models = MODELS_MAP[g_param[OptionsDefine.Version]] + model = models.ModifyServiceAccountPasswordRequest() + model.from_json_string(json.dumps(args)) + start_time = time.time() + while True: + rsp = client.ModifyServiceAccountPassword(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 doDescribeTagRetentionExecution(args, parsed_globals): g_param = parse_global_arg(parsed_globals) @@ -5729,6 +5781,7 @@ def doCreateInstanceToken(args, parsed_globals): "ModifyRepositoryAccessPersonal": doModifyRepositoryAccessPersonal, "ModifyInstance": doModifyInstance, "DescribeApplicationTriggerPersonal": doDescribeApplicationTriggerPersonal, + "ModifyServiceAccountPassword": doModifyServiceAccountPassword, "DescribeTagRetentionExecution": doDescribeTagRetentionExecution, "DeleteInstanceCustomizedDomain": doDeleteInstanceCustomizedDomain, "DescribeGCJobs": doDescribeGCJobs, diff --git a/tccli/services/tcr/v20190924/api.json b/tccli/services/tcr/v20190924/api.json index 2192bbe5e..98ad6bbda 100644 --- a/tccli/services/tcr/v20190924/api.json +++ b/tccli/services/tcr/v20190924/api.json @@ -721,6 +721,13 @@ "output": "ModifyServiceAccountResponse", "status": "online" }, + "ModifyServiceAccountPassword": { + "document": "更新服务级账号密码", + "input": "ModifyServiceAccountPasswordRequest", + "name": "更新服务级账号密码", + "output": "ModifyServiceAccountPasswordResponse", + "status": "online" + }, "ModifyTagRetentionRule": { "document": "更新版本保留规则", "input": "ModifyTagRetentionRuleRequest", @@ -7268,6 +7275,70 @@ ], "type": "object" }, + "ModifyServiceAccountPasswordRequest": { + "document": "ModifyServiceAccountPassword请求参数结构体", + "members": [ + { + "disabled": false, + "document": "实例Id", + "example": "tcr-xxx", + "member": "string", + "name": "RegistryId", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "服务级账号名", + "example": "tcr$robot", + "member": "string", + "name": "Name", + "required": true, + "type": "string" + }, + { + "disabled": false, + "document": "是否随机生成密码", + "example": "true", + "member": "bool", + "name": "Random", + "required": true, + "type": "bool" + }, + { + "disabled": false, + "document": "服务级账号密码,长度在8到20之间且需包含至少一个大写字符,一个小写字符和一个数字", + "example": "MyPass", + "member": "string", + "name": "Password", + "required": false, + "type": "string" + } + ], + "type": "object" + }, + "ModifyServiceAccountPasswordResponse": { + "document": "ModifyServiceAccountPassword返回参数结构体", + "members": [ + { + "disabled": false, + "document": "自定义用户密码,仅展示一次,请注意留存\t", + "example": "kiHUaTAmF6a94mNzhZWDans3dYahHQNE", + "member": "string", + "name": "Password", + "output_required": false, + "type": "string", + "value_allowed_null": false + }, + { + "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。", + "member": "string", + "name": "RequestId", + "type": "string" + } + ], + "type": "object" + }, "ModifyServiceAccountRequest": { "document": "ModifyServiceAccount请求参数结构体", "members": [ diff --git a/tccli/services/tcr/v20190924/examples.json b/tccli/services/tcr/v20190924/examples.json index 2f362f276..525c623fb 100644 --- a/tccli/services/tcr/v20190924/examples.json +++ b/tccli/services/tcr/v20190924/examples.json @@ -854,6 +854,20 @@ "title": "更新服务级账号" } ], + "ModifyServiceAccountPassword": [ + { + "document": "自定义服务级账号密码", + "input": "POST / HTTP/1.1\nHost: tcr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyServiceAccountPassword\n<公共请求参数>\n\n{\n \"RegistryId\": \"tcr-gijwqid7\",\n \"Name\": \"robot\",\n \"Random\": false,\n \"Password\": \"NewPass123\"\n}", + "output": "{\n \"Response\": {\n \"Password\": \"NewPass123\",\n \"RequestId\": \"8c63b1e6-02b8-48af-94c2-416aa71e0c12\"\n }\n}", + "title": "自定义服务级账号密码" + }, + { + "document": "重置服务级账号密码", + "input": "POST / HTTP/1.1\nHost: tcr.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyServiceAccountPassword\n<公共请求参数>\n\n{\n \"RegistryId\": \"tcr-gijwqid7\",\n \"Name\": \"robot\",\n \"Random\": true\n}", + "output": "{\n \"Response\": {\n \"Password\": \"kukui1ECDL8kr9cm6W66Me8PlhHemFmC\",\n \"RequestId\": \"60e7d0ce-c8ed-4495-9814-9397482f0d4a\"\n }\n}", + "title": "重置服务级账号密码" + } + ], "ModifyTagRetentionRule": [ { "document": "",