Skip to content

Commit

Permalink
release 3.0.1053.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tencentcloudapi committed Jan 29, 2024
1 parent 1528754 commit e630ae9
Show file tree
Hide file tree
Showing 24 changed files with 27,609 additions and 68,160 deletions.
414 changes: 414 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

1,199 changes: 939 additions & 260 deletions SERVICE_CHANGELOG.md

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions products.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
| cat | [云拨测](https://cloud.tencent.com/document/product/280) | 2023-12-29 01:09:11 |
| cbs | [云硬盘](https://cloud.tencent.com/document/product/362) | 2023-12-27 01:08:57 |
| ccc | [云联络中心](https://cloud.tencent.com/document/product/679) | 2024-01-25 15:34:29 |
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-01-24 01:22:49 |
| cdb | [云数据库 MySQL](https://cloud.tencent.com/document/product/236) | 2024-01-30 01:08:20 |
| cdc | [本地专用集群](https://cloud.tencent.com/document/product/1346) | 2024-01-15 01:08:17 |
| cdn | [内容分发网络 CDN](https://cloud.tencent.com/document/product/228) | 2024-01-17 01:09:06 |
| cds | [T-Sec-数据安全审计(DSA)](https://cloud.tencent.com/document/product/856) | 2024-01-24 01:23:26 |
Expand Down Expand Up @@ -94,10 +94,10 @@
| ecm | [边缘计算机器](https://cloud.tencent.com/document/product/1108) | 2023-12-20 01:36:00 |
| 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-01-29 01:13:24 |
| emr | [弹性 MapReduce](https://cloud.tencent.com/document/product/589) | 2024-01-30 01:14:22 |
| 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-01-26 01:13:26 |
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-01-26 01:13:42 |
| ess | [腾讯电子签企业版](https://cloud.tencent.com/document/product/1323) | 2024-01-30 01:14:38 |
| essbasic | [腾讯电子签(基础版)](https://cloud.tencent.com/document/product/1420) | 2024-01-30 01:14:52 |
| 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 |
| fmu | [人脸试妆](https://cloud.tencent.com/document/product/1172) | 2023-12-25 00:11:01 |
Expand Down Expand Up @@ -125,7 +125,7 @@
| iotcloud | [物联网通信](https://cloud.tencent.com/document/product/634) | 2023-11-06 00:11:14 |
| iotexplorer | [物联网开发平台](https://cloud.tencent.com/document/product/1081) | 2023-10-16 01:17:51 |
| iottid | [物联网设备身份认证](https://cloud.tencent.com/document/product/1086) | 2023-05-18 01:33:02 |
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-01-23 01:20:20 |
| iotvideo | [物联网智能视频服务](https://cloud.tencent.com/document/product/1131) | 2024-01-30 01:16:52 |
| iotvideoindustry | [物联网智能视频服务(行业版)](https://cloud.tencent.com/document/product/1361) | 2023-08-17 03:44:44 |
| irp | [智能推荐平台](https://cloud.tencent.com/document/product/1541) | 2023-09-22 02:00:51 |
| iss | [智能视图计算平台](https://cloud.tencent.com/document/product/1344) | 2024-01-26 01:15:52 |
Expand All @@ -143,7 +143,7 @@
| memcached | [云数据库Memcached](https://cloud.tencent.com/document/product/241) | 2023-10-20 01:19:21 |
| mgobe | [游戏联机对战引擎](https://cloud.tencent.com/document/product/1038) | 2022-07-08 06:11:32 |
| mmps | [小程序安全](https://cloud.tencent.com/document/product/1223) | 2023-05-18 01:39:20 |
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2023-12-01 01:19:47 |
| mna | [多网聚合加速](https://cloud.tencent.com/document/product/1385) | 2024-01-30 01:18:35 |
| mongodb | [云数据库 MongoDB](https://cloud.tencent.com/document/product/240) | 2024-01-29 01:17:07 |
| monitor | [腾讯云可观测平台](https://cloud.tencent.com/document/product/248) | 2024-01-29 01:17:14 |
| mps | [媒体处理](https://cloud.tencent.com/document/product/862) | 2024-01-26 01:17:35 |
Expand All @@ -167,7 +167,7 @@
| 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 |
| rp | [注册保护](https://cloud.tencent.com/document/product/1191) | 2022-04-04 07:04:06 |
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-01-23 01:26:09 |
| rum | [前端性能监控](https://cloud.tencent.com/document/product/1464) | 2024-01-30 01:20:45 |
| scf | [云函数](https://cloud.tencent.com/document/product/583) | 2024-01-24 01:34:14 |
| ses | [邮件推送](https://cloud.tencent.com/document/product/1288) | 2023-12-25 00:16:59 |
| smh | [智能媒资托管](https://cloud.tencent.com/document/product/1339) | 2023-07-11 01:37:49 |
Expand All @@ -178,7 +178,7 @@
| solar | [智汇零售](https://cloud.tencent.com/document/product) | 2020-03-19 08:01:59 |
| sqlserver | [云数据库 SQL Server](https://cloud.tencent.com/document/product/238) | 2024-01-17 01:21:16 |
| ssa | [安全运营中心](https://cloud.tencent.com/document/product/664) | 2023-11-15 02:18:28 |
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-01-29 01:19:48 |
| ssl | [SSL 证书](https://cloud.tencent.com/document/product/400) | 2024-01-30 01:21:39 |
| sslpod | [证书监控 SSLPod](https://cloud.tencent.com/document/product/1084) | 2023-08-17 04:46:28 |
| ssm | [凭据管理系统](https://cloud.tencent.com/document/product/1140) | 2023-12-28 01:23:11 |
| sts | [安全凭证服务](https://cloud.tencent.com/document/product/1312) | 2024-01-17 01:21:44 |
Expand All @@ -205,7 +205,7 @@
| tdmq | [消息队列 TDMQ](https://cloud.tencent.com/document/product/1179) | 2024-01-12 01:24:10 |
| tds | [设备安全](https://cloud.tencent.com/document/product/1628) | 2023-11-15 02:26:59 |
| tem | [弹性微服务](https://cloud.tencent.com/document/product/1371) | 2023-12-20 02:13:36 |
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-01-27 19:39:47 |
| teo | [边缘安全加速平台](https://cloud.tencent.com/document/product/1552) | 2024-01-30 01:24:01 |
| thpc | [高性能计算平台](https://cloud.tencent.com/document/product/1527) | 2023-11-27 00:20:12 |
| tia | [智能钛机器学习](https://cloud.tencent.com/document/product/851) | 2021-10-21 11:12:52 |
| tic | [资源编排 TIC](https://cloud.tencent.com/document/product/1213) | 2023-08-17 05:26:08 |
Expand All @@ -218,7 +218,7 @@
| tke | [容器服务](https://cloud.tencent.com/document/product/457) | 2024-01-22 11:36:09 |
| tkgdq | [腾讯知识图谱数据查询](https://cloud.tencent.com/document/product) | 2020-03-10 00:51:44 |
| tms | [文本内容安全](https://cloud.tencent.com/document/product/1124) | 2024-01-12 01:25:58 |
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-01-25 01:24:16 |
| tmt | [机器翻译](https://cloud.tencent.com/document/product/551) | 2024-01-30 01:25:25 |
| tourism | [文旅客情大数据](https://cloud.tencent.com/document/product/1684) | 2023-08-10 01:43:37 |
| trdp | [流量风险决策平台](https://cloud.tencent.com/document/product/1604) | 2023-05-18 02:01:19 |
| trocket | [消息队列 RocketMQ 版](https://cloud.tencent.com/document/product/1493) | 2024-01-23 01:30:19 |
Expand All @@ -233,11 +233,11 @@
| vm | [视频内容安全](https://cloud.tencent.com/document/product/1265) | 2023-12-22 01:27:31 |
| vms | [语音消息](https://cloud.tencent.com/document/product/1128) | 2023-08-17 05:50:56 |
| vod | [云点播](https://cloud.tencent.com/document/product/266) | 2024-01-25 01:25:21 |
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-01-26 01:24:53 |
| vpc | [私有网络](https://cloud.tencent.com/document/product/215) | 2024-01-30 01:27:12 |
| vrs | [声音复刻](https://cloud.tencent.com/document/product/1283) | 2023-11-27 00:23:42 |
| waf | [Web 应用防火墙](https://cloud.tencent.com/document/product/627) | 2024-01-26 01:25:28 |
| wav | [企业微信汽车行业版](https://cloud.tencent.com/document/product/1318) | 2023-11-15 02:42:49 |
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-01-26 10:56:08 |
| wedata | [数据开发治理平台 WeData](https://cloud.tencent.com/document/product/1267) | 2024-01-30 01:28:12 |
| weilingwith | [微瓴同业开放平台](https://cloud.tencent.com/document/product/1693) | 2024-01-17 01:27:53 |
| wss | [SSL证书管理服务](https://cloud.tencent.com/document/product) | 2020-04-01 08:53:44 |
| yinsuda | [音速达直播音乐版权引擎](https://cloud.tencent.com/document/product/1592) | 2023-12-26 02:06:57 |
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "tccli"
version = "3.0.1052.1"
version = "3.0.1053.1"
authors = [
{ name="tencentcloudapi", email="tencentcloudapi@tencent.com" },
]
Expand All @@ -21,7 +21,7 @@ classifiers = [
dependencies = [
"jmespath==0.10.0",
"six==1.16.0",
"tencentcloud-sdk-python>=3.0.1052",
"tencentcloud-sdk-python>=3.0.1053",
]

[project.urls]
Expand Down
2 changes: 1 addition & 1 deletion tccli/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.0.1052.1'
__version__ = '3.0.1053.1'
18 changes: 18 additions & 0 deletions tccli/examples/cdb/v20170320/DescribeInstanceAlarmEvents.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
**Example 1: 查询实例事件信息**



Input:

```
tccli cdb DescribeInstanceAlarmEvents --cli-unfold-argument ```
Output:
```
{
"Response": {
"RequestId": "mnksadas-cb0d-4943-9b17-c3306ed3d"
}
}
```
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Output:
"CSType": 1,
"CSShiftDuration": 1,
"CSExpiredTime": 0,
"ChannelId": 1,
"CreatedAt": 0,
"UpdatedAt": 0
}
Expand Down
53 changes: 53 additions & 0 deletions tccli/services/cdb/cdb_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -6309,6 +6309,58 @@ def doModifyAccountPassword(args, parsed_globals):
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])


def doDescribeInstanceAlarmEvents(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.CdbClient(cred, g_param[OptionsDefine.Region], profile)
client._sdkVersion += ("_CLI_" + __version__)
models = MODELS_MAP[g_param[OptionsDefine.Version]]
model = models.DescribeInstanceAlarmEventsRequest()
model.from_json_string(json.dumps(args))
start_time = time.time()
while True:
rsp = client.DescribeInstanceAlarmEvents(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 doDescribeUploadedFiles(args, parsed_globals):
g_param = parse_global_arg(parsed_globals)

Expand Down Expand Up @@ -8365,6 +8417,7 @@ def doModifyAccountMaxUserConnections(args, parsed_globals):
"ResetRootAccount": doResetRootAccount,
"ModifyAuditRuleTemplates": doModifyAuditRuleTemplates,
"ModifyAccountPassword": doModifyAccountPassword,
"DescribeInstanceAlarmEvents": doDescribeInstanceAlarmEvents,
"DescribeUploadedFiles": doDescribeUploadedFiles,
"ModifyAccountDescription": doModifyAccountDescription,
"DescribeSlowLogData": doDescribeSlowLogData,
Expand Down
24 changes: 24 additions & 0 deletions tccli/services/cdb/v20170320/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,13 @@
"output": "DescribeErrorLogDataResponse",
"status": "online"
},
"DescribeInstanceAlarmEvents": {
"document": "查询实例发生的事件信息",
"input": "DescribeInstanceAlarmEventsRequest",
"name": "查询实例发生的事件信息",
"output": "DescribeInstanceAlarmEventsResponse",
"status": "online"
},
"DescribeInstanceParamRecords": {
"document": "该接口(DescribeInstanceParamRecords)用于查询实例参数修改历史。",
"input": "DescribeInstanceParamRecordsRequest",
Expand Down Expand Up @@ -10322,6 +10329,23 @@
],
"type": "object"
},
"DescribeInstanceAlarmEventsRequest": {
"document": "DescribeInstanceAlarmEvents请求参数结构体",
"members": [],
"type": "object"
},
"DescribeInstanceAlarmEventsResponse": {
"document": "DescribeInstanceAlarmEvents返回参数结构体",
"members": [
{
"document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
"member": "string",
"name": "RequestId",
"type": "string"
}
],
"type": "object"
},
"DescribeInstanceParamRecordsRequest": {
"document": "DescribeInstanceParamRecords请求参数结构体",
"members": [
Expand Down
8 changes: 8 additions & 0 deletions tccli/services/cdb/v20170320/examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -666,6 +666,14 @@
"title": "查询实例错误日志"
}
],
"DescribeInstanceAlarmEvents": [
{
"document": "",
"input": "POST / HTTP/1.1\nHost: cdb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeInstanceAlarmEvents\n<公共请求参数>\n\n{}",
"output": "{\n \"Response\": {\n \"RequestId\": \"mnksadas-cb0d-4943-9b17-c3306ed3d\"\n }\n}",
"title": "查询实例事件信息"
}
],
"DescribeInstanceParamRecords": [
{
"document": "",
Expand Down
18 changes: 9 additions & 9 deletions tccli/services/emr/v20190103/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1916,8 +1916,8 @@
},
{
"disabled": false,
"document": "客户端Token。",
"example": "sdcdwxxxws",
"document": "唯一随机标识,时效5分钟,需要调用者指定 防止客户端重新创建资源,例如 a9a90aa6-751a-41b6-aad6-fae36063280",
"example": "a9a90aa6-751a-41b6-aad6-fae36063280",
"member": "string",
"name": "ClientToken",
"required": false,
Expand Down Expand Up @@ -9072,8 +9072,8 @@
},
{
"disabled": false,
"document": "客户端Token。",
"example": "\"\"",
"document": "唯一随机标识,时效5分钟,需要调用者指定 防止客户端重新创建资源,例如 a9a90aa6-751a-41b6-aad6-fae36063280",
"example": "a9a90aa6-751a-41b6-aad6-fae36063280",
"member": "string",
"name": "ClientToken",
"required": false,
Expand Down Expand Up @@ -9280,7 +9280,7 @@
"example": "emr-5n3l5c83",
"member": "string",
"name": "InstanceId",
"required": true,
"output_required": true,
"type": "string",
"value_allowed_null": false
},
Expand All @@ -9290,7 +9290,7 @@
"example": "[\"20200309357833\",\"20200309357834\",\"20200309357835\",\"20200309357836\"]",
"member": "string",
"name": "DealNames",
"required": true,
"output_required": true,
"type": "list",
"value_allowed_null": true
},
Expand All @@ -9300,7 +9300,7 @@
"example": "\"\"",
"member": "string",
"name": "ClientToken",
"required": true,
"output_required": true,
"type": "string",
"value_allowed_null": true
},
Expand All @@ -9310,7 +9310,7 @@
"example": "0",
"member": "int64",
"name": "FlowId",
"required": true,
"output_required": true,
"type": "int",
"value_allowed_null": true
},
Expand All @@ -9320,7 +9320,7 @@
"example": "\"\"",
"member": "string",
"name": "BillId",
"required": true,
"output_required": true,
"type": "string",
"value_allowed_null": true
},
Expand Down
Loading

0 comments on commit e630ae9

Please sign in to comment.