tccli 3.0.1127.1__py2.py3-none-any.whl → 3.0.1128.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/asr/v20190614/api.json +7 -7
  3. tccli/services/asr/v20190614/examples.json +1 -1
  4. tccli/services/ccc/v20200210/api.json +1 -1
  5. tccli/services/cls/v20201016/api.json +9 -0
  6. tccli/services/domain/v20180808/api.json +16 -16
  7. tccli/services/domain/v20180808/examples.json +9 -9
  8. tccli/services/dsgc/v20190723/api.json +10 -1
  9. tccli/services/dts/v20180330/api.json +2 -2
  10. tccli/services/emr/emr_client.py +53 -0
  11. tccli/services/emr/v20190103/api.json +354 -0
  12. tccli/services/emr/v20190103/examples.json +8 -0
  13. tccli/services/ess/v20201111/api.json +4 -4
  14. tccli/services/ess/v20201111/examples.json +0 -6
  15. tccli/services/essbasic/v20210526/api.json +5 -5
  16. tccli/services/hunyuan/hunyuan_client.py +12 -118
  17. tccli/services/hunyuan/v20230901/api.json +0 -260
  18. tccli/services/hunyuan/v20230901/examples.json +0 -58
  19. tccli/services/iotexplorer/v20190423/api.json +9 -0
  20. tccli/services/monitor/v20180724/api.json +6 -5
  21. tccli/services/monitor/v20180724/examples.json +1 -1
  22. tccli/services/tse/v20201207/api.json +2 -2
  23. tccli/services/tse/v20201207/examples.json +2 -2
  24. tccli/services/waf/v20180125/api.json +94 -0
  25. tccli/services/waf/v20180125/examples.json +16 -0
  26. tccli/services/waf/waf_client.py +106 -0
  27. {tccli-3.0.1127.1.dist-info → tccli-3.0.1128.1.dist-info}/METADATA +2 -2
  28. {tccli-3.0.1127.1.dist-info → tccli-3.0.1128.1.dist-info}/RECORD +31 -31
  29. {tccli-3.0.1127.1.dist-info → tccli-3.0.1128.1.dist-info}/WHEEL +0 -0
  30. {tccli-3.0.1127.1.dist-info → tccli-3.0.1128.1.dist-info}/entry_points.txt +0 -0
  31. {tccli-3.0.1127.1.dist-info → tccli-3.0.1128.1.dist-info}/license_files/LICENSE +0 -0
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1127.1'
1
+ __version__ = '3.0.1128.1'
@@ -29,7 +29,7 @@
29
29
  "status": "online"
30
30
  },
31
31
  "CreateRecTask": {
32
- "document": "本接口可对较长的录音文件进行识别。如希望直接使用带界面的语音识别产品,请访问[产品体验中心](https://console.cloud.tencent.com/asr/demonstrate)。产品计费标准请查阅 [计费概述(在线版)](https://cloud.tencent.com/document/product/1093/35686)\n• 接口默认限频:20次/秒。此处仅限制任务提交频次,与识别结果返回时效无关\n• 返回时效:异步回调,非实时返回。最长3小时返回识别结果,**大多数情况下,1小时的音频1-3分钟即可完成识别**。请注意:上述返回时长不含音频下载时延,且30分钟内发送超过1000小时录音或2万条任务的情况除外\n• 音频格式:wav、mp3、m4a、flv、mp4、wma、3gp、amr、aac、ogg-opus、flac\n• 支持语言:在本页面上搜索 **EngineModelType**,或前往 [产品功能](https://cloud.tencent.com/document/product/1093/35682) 查看\n• 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL并提交任务,此种方式将不产生外网和流量下行费用,可节约成本、提升任务速度(COS桶权限需要设置公有读私有写,或URL设置外部可访问)\n• 音频限制:音频 URL 时长不能大于5小时,文件大小不超过1GB;本地音频文件不能大于5MB\n• 如何获取识别结果:支持**回调或轮询**的方式获取结果,具体请参考 [录音文件识别结果查询](https://cloud.tencent.com/document/product/1093/37822)\n• 识别结果有效时间:在服务端保存7天\n• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法 v3",
32
+ "document": "本接口可对较长的录音文件进行识别。如希望直接使用带界面的语音识别产品,请访问[产品体验中心](https://console.cloud.tencent.com/asr/demonstrate)。产品计费标准请查阅 [计费概述(在线版)](https://cloud.tencent.com/document/product/1093/35686)\n• 接口默认限频:20次/秒。此处仅限制任务提交频次,与识别结果返回时效无关\n• 返回时效:异步回调,非实时返回。最长3小时返回识别结果,**大多数情况下,1小时的音频1-3分钟即可完成识别**。请注意:上述返回时长不含音频下载时延,且30分钟内发送超过1000小时录音或2万条任务的情况除外\n• 音频格式:wav、mp3、m4a、flv、mp4、wma、3gp、amr、aac、ogg-opus、flac\n• 支持语言:在本页面上搜索 **EngineModelType**,或前往 [产品功能](https://cloud.tencent.com/document/product/1093/35682) 查看\n• 音频提交方式:本接口支持**音频 URL 、本地音频文件**两种请求方式。推荐使用 [腾讯云COS](https://cloud.tencent.com/document/product/436/38484) 来存储、生成URL并提交任务,此种方式将不产生外网和流量下行费用,可节约成本、提升任务速度(COS桶权限需要设置公有读私有写,或URL设置外部可访问)\n• 音频限制:音频 URL 时长不能大于5小时,文件大小不超过1GB;本地音频文件不能大于5MB\n• 如何获取识别结果:支持**回调或轮询**的方式获取结果,具体请参考 [录音文件识别结果查询](https://cloud.tencent.com/document/product/1093/37822)\n• 识别结果有效时间:识别结果在服务端保存24小时\n• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法 v3",
33
33
  "input": "CreateRecTaskRequest",
34
34
  "name": "录音文件识别请求",
35
35
  "output": "CreateRecTaskResponse",
@@ -57,7 +57,7 @@
57
57
  "status": "online"
58
58
  },
59
59
  "DescribeTaskStatus": {
60
- "document": "在调用录音文件识别请求接口后,有回调和轮询两种方式获取识别结果。\n<br>• 当采用回调方式时,识别完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL,具体请参见[ 录音识别结果回调 ](https://cloud.tencent.com/document/product/1093/52632)。\n<br>• 当采用轮询方式时,需要主动提交任务ID来轮询识别结果,共有任务成功、等待、执行中和失败四种结果,具体信息请参见下文说明。\n<br>• 请求方法为 HTTP POST , Content-Type为\"application/json; charset=utf-8\"\n<br>• 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。\n<br>• 默认接口请求频率限制:50次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。",
60
+ "document": "调用录音文件识别请求接口后,有回调和轮询两种方式获取识别结果。\n **注意任务有效期为24小时,超过24小时的任务请不要再查询,且不要依赖TaskId作为业务唯一ID,不同日期可能出现重复TaskId。**\n• 当采用回调方式时,识别完成后会将结果通过 POST 请求的形式通知到用户在请求时填写的回调 URL,具体请参见[ 录音识别结果回调 ](https://cloud.tencent.com/document/product/1093/52632)。\n 当采用轮询方式时,需要主动提交任务ID来轮询识别结果,共有任务成功、等待、执行中和失败四种结果,具体信息请参见下文说明。\n 请求方法为 HTTP POST , Content-Type为\"application/json; charset=utf-8\"\n 签名方法参考 [公共参数](https://cloud.tencent.com/document/api/1093/35640) 中签名方法v3。\n 默认接口请求频率限制:50次/秒,如您有提高请求频率限制的需求,请提[工单](https://console.cloud.tencent.com/workorder/category)进行咨询。",
61
61
  "input": "DescribeTaskStatusRequest",
62
62
  "name": "录音文件识别结果查询",
63
63
  "output": "DescribeTaskStatusResponse",
@@ -582,7 +582,7 @@
582
582
  },
583
583
  {
584
584
  "disabled": false,
585
- "document": "回调 URL\n用户自行搭建的用于接收识别结果的服务URL\n回调格式和内容详见:[录音识别回调说明](https://cloud.tencent.com/document/product/1093/52632)\n\n注意:\n如果用户使用轮询方式获取识别结果,则无需提交该参数",
585
+ "document": "回调 URL\n用户自行搭建的用于接收识别结果的服务URL\n回调格式和内容详见:[录音识别回调说明](https://cloud.tencent.com/document/product/1093/52632)\n\n注意:\n\n- 如果用户使用轮询方式获取识别结果,则无需提交该参数\n- 建议在回调URL中带上您的业务ID等信息,以便处理业务逻辑",
586
586
  "example": "无",
587
587
  "member": "string",
588
588
  "name": "CallbackUrl",
@@ -714,7 +714,7 @@
714
714
  "members": [
715
715
  {
716
716
  "disabled": false,
717
- "document": "录音文件识别的请求返回结果,包含结果查询需要的TaskId",
717
+ "document": "录音文件识别的请求返回结果,包含结果查询需要的TaskId。\n**注意:TaskId有效期为24小时,不同日期可能出现重复TaskId,请不要依赖TaskId作为您业务系统里的唯一ID。**\n",
718
718
  "example": "无",
719
719
  "member": "Task",
720
720
  "name": "Data",
@@ -816,7 +816,7 @@
816
816
  "members": [
817
817
  {
818
818
  "disabled": false,
819
- "document": "从CreateRecTask接口获取的TaskId,用于获取任务状态与结果。",
819
+ "document": "从CreateRecTask接口获取的TaskId,用于获取任务状态与结果。\n**注意:TaskId有效期为24小时,超过24小时的TaskId请不要再查询。**",
820
820
  "example": "4500055927",
821
821
  "member": "uint64",
822
822
  "name": "TaskId",
@@ -835,7 +835,7 @@
835
835
  "example": "{ \"Response\": { \"RequestId\": \"8824366f-0e8f-4bd4-892",
836
836
  "member": "TaskStatus",
837
837
  "name": "Data",
838
- "required": true,
838
+ "output_required": true,
839
839
  "type": "object",
840
840
  "value_allowed_null": false
841
841
  },
@@ -1888,7 +1888,7 @@
1888
1888
  "members": [
1889
1889
  {
1890
1890
  "disabled": false,
1891
- "document": "任务ID,可通过此ID在轮询接口获取识别状态与结果。注意:TaskId数据类型为uint64",
1891
+ "document": "任务ID,可通过此ID在轮询接口获取识别状态与结果。TaskId数据类型为**uint64**。\n**注意:TaskId有效期为24小时,不同日期可能出现重复TaskId,请不要依赖TaskId作为您业务系统里的唯一ID。**",
1892
1892
  "example": "400000000",
1893
1893
  "member": "uint64",
1894
1894
  "name": "TaskId",
@@ -80,7 +80,7 @@
80
80
  {
81
81
  "document": "用户通过轮询方式获取识别结果,任务成功,并返回识别结果。",
82
82
  "input": "POST / HTTP/1.1\nHost: asr.tencentcloudapi.com\nContent-Type: application/json; charset=utf-8\nX-TC-Version: 2019-06-14\nX-TC-Region: ap-shanghai\nX-TC-Action: DescribeTaskStatus\nX-TC-Timestamp: 1599142563\nAuthorization: TC3-HMAC-SHA256 Credential=AKIDYu6A16GdCxUlnbTSVItxvhOr6Bxxxxx2/2020-09-03/asr/tc3_request, SignedHeaders=content-type;host, Signature=6647fa852c9329ac5aa355c68c838358139c2d941f4ed175dd5858978f5d79c8\nContent-Length: 21\n<公共请求参数>\n\n{\n \"TaskId\": 522931820\n}",
83
- "output": "{\n \"Response\": {\n \"RequestId\": \"a73b14a6-5044-41cb-bf32-e735d5bd69de\",\n \"Data\": {\n \"TaskId\": 9266418,\n \"Status\": 2,\n \"StatusStr\": \"success\",\n \"AudioDuration\": 2.38,\n \"Result\": \"[0:0.020,0:2.380] 腾讯云语音识别欢迎您。\\n\",\n \"ResultDetail\": [\n {\n \"FinalSentence\": \"腾讯云语音识别欢迎您。\",\n \"SliceSentence\": \"腾讯云 语音识别 欢迎 您\",\n \"StartMs\": 20,\n \"EndMs\": 2380,\n \"SpeechSpeed\": 5.9,\n \"WordsNum\": 4,\n \"Words\": [\n {\n \"OffsetStartMs\": 120,\n \"OffsetEndMs\": 780,\n \"Word\": \"腾讯云\"\n },\n {\n \"OffsetStartMs\": 780,\n \"OffsetEndMs\": 1530,\n \"Word\": \"语音识别\"\n },\n {\n \"OffsetStartMs\": 1530,\n \"OffsetEndMs\": 1860,\n \"Word\": \"欢迎\"\n },\n {\n \"OffsetStartMs\": 1860,\n \"OffsetEndMs\": 2250,\n \"Word\": \"您\"\n }\n ]\n }\n ],\n \"ErrorMsg\": \"\"\n }\n }\n}",
83
+ "output": "{\n \"Response\": {\n \"RequestId\": \"a73b14a6-5044-41cb-bf32-e735d5bd69de\",\n \"Data\": {\n \"TaskId\": 9266418,\n \"Status\": 2,\n \"StatusStr\": \"success\",\n \"AudioDuration\": 2.38,\n \"Result\": \"[0:0.020,0:2.380] 腾讯云语音识别欢迎您。\\n\",\n \"ResultDetail\": [\n {\n \"FinalSentence\": \"腾讯云语音识别欢迎您。\",\n \"SliceSentence\": \"腾讯云 语音识别 欢迎 您\",\n \"StartMs\": 20,\n \"EndMs\": 2380,\n \"SpeechSpeed\": 5.9,\n \"WordsNum\": 4,\n \"EmotionalEnergy\": 0,\n \"SpeakerId\": 0,\n \"SilenceTime\": 0,\n \"EmotionType\": [\n \"happy\"\n ],\n \"Words\": [\n {\n \"OffsetStartMs\": 120,\n \"OffsetEndMs\": 780,\n \"Word\": \"腾讯云\"\n },\n {\n \"OffsetStartMs\": 780,\n \"OffsetEndMs\": 1530,\n \"Word\": \"语音识别\"\n },\n {\n \"OffsetStartMs\": 1530,\n \"OffsetEndMs\": 1860,\n \"Word\": \"欢迎\"\n },\n {\n \"OffsetStartMs\": 1860,\n \"OffsetEndMs\": 2250,\n \"Word\": \"您\"\n }\n ]\n }\n ],\n \"ErrorMsg\": \"\"\n }\n }\n}",
84
84
  "title": "轮询结果——任务成功"
85
85
  },
86
86
  {
@@ -1546,7 +1546,7 @@
1546
1546
  },
1547
1547
  {
1548
1548
  "disabled": false,
1549
- "document": "最大尝试次数",
1549
+ "document": "最大尝试次数,1-3 次",
1550
1550
  "example": "1",
1551
1551
  "member": "uint64",
1552
1552
  "name": "Tries",
@@ -11382,6 +11382,15 @@
11382
11382
  "name": "IsWebTracking",
11383
11383
  "required": false,
11384
11384
  "type": "bool"
11385
+ },
11386
+ {
11387
+ "disabled": false,
11388
+ "document": "日志主题分区数量",
11389
+ "example": "10",
11390
+ "member": "uint64",
11391
+ "name": "PartitionCount",
11392
+ "required": false,
11393
+ "type": "int"
11385
11394
  }
11386
11395
  ],
11387
11396
  "type": "object"
@@ -234,7 +234,7 @@
234
234
  "DescribePreDomainList": {
235
235
  "document": "用户服务商提前获取预释放域名数据,查询数据根据结束时间进行倒序。",
236
236
  "input": "DescribePreDomainListRequest",
237
- "name": "提前获取域释放域名数据",
237
+ "name": "提前获取预释放域名数据",
238
238
  "output": "DescribePreDomainListResponse",
239
239
  "status": "online"
240
240
  },
@@ -323,7 +323,7 @@
323
323
  "status": "online"
324
324
  },
325
325
  "RenewDomainBatch": {
326
- "document": "本接口 ( RenewDomainBatch ) 用于批量续费域名 。\n",
326
+ "document": "本接口 ( RenewDomainBatch ) 用于批量续费域名 ",
327
327
  "input": "RenewDomainBatchRequest",
328
328
  "name": "批量域名续费",
329
329
  "output": "RenewDomainBatchResponse",
@@ -453,8 +453,8 @@
453
453
  },
454
454
  {
455
455
  "disabled": false,
456
- "document": "模板ID",
457
- "example": "tmpl-xxxxx",
456
+ "document": "模板ID(可从模板列表接口获取)",
457
+ "example": "tmpl-xxxxxxxx",
458
458
  "member": "string",
459
459
  "name": "TemplateId",
460
460
  "required": true,
@@ -481,7 +481,7 @@
481
481
  "example": "318",
482
482
  "member": "int64",
483
483
  "name": "LogId",
484
- "required": true,
484
+ "output_required": true,
485
485
  "type": "int",
486
486
  "value_allowed_null": false
487
487
  },
@@ -1594,7 +1594,7 @@
1594
1594
  },
1595
1595
  {
1596
1596
  "disabled": false,
1597
- "document": "验证码",
1597
+ "document": "验证码(通过SendPhoneEmailCode发送到手机或邮箱的验证码)",
1598
1598
  "example": "234567",
1599
1599
  "member": "string",
1600
1600
  "name": "VerifyCode",
@@ -1829,8 +1829,8 @@
1829
1829
  "members": [
1830
1830
  {
1831
1831
  "disabled": false,
1832
- "document": "模板ID",
1833
- "example": "模板ID",
1832
+ "document": "模板ID(可通过模板信息列表获取)",
1833
+ "example": "tmpl-itxxxxxx",
1834
1834
  "member": "string",
1835
1835
  "name": "TemplateId",
1836
1836
  "required": true,
@@ -2749,7 +2749,7 @@
2749
2749
  "members": [
2750
2750
  {
2751
2751
  "disabled": false,
2752
- "document": "域名实例ID",
2752
+ "document": "域名实例ID(域名基本信息或我的域名列表接口可获取)",
2753
2753
  "example": "domain-7312mrgq",
2754
2754
  "member": "string",
2755
2755
  "name": "DomainId",
@@ -2759,7 +2759,7 @@
2759
2759
  {
2760
2760
  "disabled": false,
2761
2761
  "document": "返回数量,默认为20,取值范围[1,100]",
2762
- "example": "0",
2762
+ "example": "1",
2763
2763
  "member": "uint64",
2764
2764
  "name": "Limit",
2765
2765
  "required": true,
@@ -3236,8 +3236,8 @@
3236
3236
  "members": [
3237
3237
  {
3238
3238
  "disabled": false,
3239
- "document": "页码",
3240
- "example": "20",
3239
+ "document": "页码,默认为1",
3240
+ "example": "1",
3241
3241
  "member": "int64",
3242
3242
  "name": "Page",
3243
3243
  "required": false,
@@ -3245,8 +3245,8 @@
3245
3245
  },
3246
3246
  {
3247
3247
  "disabled": false,
3248
- "document": "条数",
3249
- "example": "0",
3248
+ "document": "条数,默认为20",
3249
+ "example": "20",
3250
3250
  "member": "int64",
3251
3251
  "name": "Size",
3252
3252
  "required": false,
@@ -5279,7 +5279,7 @@
5279
5279
  {
5280
5280
  "disabled": false,
5281
5281
  "document": "特惠包ID",
5282
- "example": "XXX",
5282
+ "example": "E065785299",
5283
5283
  "member": "string",
5284
5284
  "name": "PackageResourceId",
5285
5285
  "required": false,
@@ -5324,7 +5324,7 @@
5324
5324
  "example": "318",
5325
5325
  "member": "int64",
5326
5326
  "name": "LogId",
5327
- "required": true,
5327
+ "output_required": true,
5328
5328
  "type": "int",
5329
5329
  "value_allowed_null": false
5330
5330
  },
@@ -59,8 +59,8 @@
59
59
  "CreateDomainBatch": [
60
60
  {
61
61
  "document": "",
62
- "input": "POST / HTTP/1.1\nHost:domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDomainBatch\n<公共请求参数>\n\n{\n \"TemplateId\": \"abc\",\n \"Period\": 0,\n \"Domains\": [\n \"abc\"\n ],\n \"PayMode\": 0,\n \"AutoRenewFlag\": 0,\n \"PackageResourceId\": \"abc\",\n \"UpdateProhibition\": 0,\n \"TransferProhibition\": 0,\n \"ChannelFrom\": \"abc\",\n \"OrderFrom\": \"abc\",\n \"ActivityId\": \"abc\"\n}",
63
- "output": "{\n \"Response\": {\n \"LogId\": 318,\n \"RequestId\": \"1684afa4-0bf7-49f8-a630-ab460e5c038e\"\n },\n \"ResultStatus\": true\n}",
62
+ "input": "POST / HTTP/1.1\nHost:domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateDomainBatch\n<公共请求参数>\n\n{\n \"TemplateId\": \"tmpl-acxxxxxx\",\n \"Period\": 1,\n \"Domains\": [\n \"abcd.xyz\"\n ],\n \"PayMode\": 0,\n \"AutoRenewFlag\": 0,\n \"PackageResourceId\": \"\",\n \"UpdateProhibition\": 0,\n \"TransferProhibition\": 0,\n \"ChannelFrom\": \"ChannelFrom\",\n \"OrderFrom\": \"OrderFrom\",\n \"ActivityId\": \"10001\"\n}",
63
+ "output": "{\n \"Response\": {\n \"LogId\": 318,\n \"RequestId\": \"1684afa4-0bf7-49f8-a630-ab460e5c038e\"\n }\n}",
64
64
  "title": "批量域名注册"
65
65
  }
66
66
  ],
@@ -252,7 +252,7 @@
252
252
  {
253
253
  "document": "默认",
254
254
  "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePhoneEmailList\n<公共请求参数>\n\n{\n \"Type\": 1,\n \"Offset\": 0,\n \"Limit\": 10\n}",
255
- "output": "{\n \"Response\": {\n \"PhoneEmailList\": [\n {\n \"Code\": \"abc\",\n \"Type\": 1,\n \"CreatedOn\": \"abc\",\n \"CheckStatus\": 0\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"abc\"\n }\n}",
255
+ "output": "{\n \"Response\": {\n \"PhoneEmailList\": [\n {\n \"Code\": \"137***3434\",\n \"Type\": 1,\n \"CreatedOn\": \"2023-03-10 10:00:00\",\n \"CheckStatus\": 1\n }\n ],\n \"TotalCount\": 1,\n \"RequestId\": \"xxxx-xxx-xxx-xxxx\"\n }\n}",
256
256
  "title": "获取已验证的手机邮箱列表"
257
257
  }
258
258
  ],
@@ -268,7 +268,7 @@
268
268
  {
269
269
  "document": "",
270
270
  "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribePreDomainList\n<公共请求参数>\n\n{\n \"Page\": 0,\n \"Size\": 0\n}",
271
- "output": "{\n \"Response\": {\n \"ReservedDomainList\": [\n {\n \"Domain\": \"abc\",\n \"RegTime\": \"abc\",\n \"ExpireTime\": \"abc\",\n \"RenewEndTime\": \"abc\",\n \"RestoreEndTime\": \"abc\",\n \"ReservedEndTime\": \"abc\"\n }\n ],\n \"Total\": 0,\n \"RequestId\": \"abc\"\n }\n}",
271
+ "output": "{\n \"Response\": {\n \"ReservedDomainList\": [\n {\n \"Domain\": \"tencent.com\",\n \"RegTime\": \"2006-01-02 15:04:05\",\n \"ExpireTime\": \"2006-01-02 15:04:05\",\n \"RenewEndTime\": \"2006-01-02 15:04:05\",\n \"RestoreEndTime\": \"2006-01-02 15:04:05\",\n \"ReservedEndTime\": \"2006-01-02 15:04:05\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"abc\"\n }\n}",
272
272
  "title": "成功示例"
273
273
  }
274
274
  ],
@@ -291,14 +291,14 @@
291
291
  "DescribeReservedPreDomainInfo": [
292
292
  {
293
293
  "document": "",
294
- "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedPreDomainInfo\n<公共请求参数>\n\n{\n \"DomainList\": [\n \"abc\"\n ],\n \"ReservedStatus\": 0,\n \"ReservedTimeSort\": \"abc\",\n \"Limit\": 0,\n \"Offset\": 0\n}",
295
- "output": "{\n \"Response\": {\n \"ReservedPreDomainInfoList\": [\n {\n \"Domain\": \"abc\",\n \"ReservedStatus\": 0,\n \"FailReason\": \"abc\",\n \"ChangeOwnerTime\": \"abc\",\n \"RegTime\": \"abc\",\n \"ExpireTime\": \"abc\",\n \"ResourceId\": \"abc\"\n }\n ],\n \"Total\": 0,\n \"RequestId\": \"abc\"\n }\n}",
294
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedPreDomainInfo\n<公共请求参数>\n\n{\n \"DomainList\": [\n \"abdwww.cn\"\n ],\n \"ReservedStatus\": 0,\n \"ReservedTimeSort\": \"asc\",\n \"Limit\": 10,\n \"Offset\": 0\n}",
295
+ "output": "{\n \"Response\": {\n \"ReservedPreDomainInfoList\": [\n {\n \"Domain\": \"abdwww.cn\",\n \"ReservedStatus\": 0,\n \"FailReason\": \"\",\n \"ChangeOwnerTime\": \"2024-03-01 20:13:23\",\n \"RegTime\": \"2022-03-01 20:13:23\",\n \"ExpireTime\": \"2024-03-01 20:13:23\",\n \"ResourceId\": \"domain-dfo23req\"\n }\n ],\n \"Total\": 1,\n \"RequestId\": \"xxxx-xxx-xxx-xxxx\"\n }\n}",
296
296
  "title": "成功示例"
297
297
  },
298
298
  {
299
299
  "document": "请求成功获取参数示例",
300
300
  "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeReservedPreDomainInfo\n<公共请求参数>\n\n{}",
301
- "output": "{\n \"Response\": {\n \"RequestId\": \"a6bd9e77-517f-4fd8-9ee9-f7042b7ae847\",\n \"ReservedPreDomainInfoList\": [\n {\n \"BusinessId\": \"P0011712734968570466\",\n \"ChangeOwnerTime\": \"2024-03-15 08:40:34\",\n \"Domain\": \"fdasfasfdsaf.com\",\n \"ExpireTime\": \"2024-01-14 08:40:34\",\n \"FailReason\": \"\",\n \"RegTime\": \"2020-01-14 08:40:34\",\n \"ReservedStatus\": 6,\n \"ResourceId\": \"R0011712734968672830\"\n }\n ],\n \"Total\": 1\n }\n}",
301
+ "output": "{\n \"Response\": {\n \"RequestId\": \"xxxx-xxx-xxx-xxxx\",\n \"ReservedPreDomainInfoList\": [\n {\n \"BusinessId\": \"P0011712734968570466\",\n \"ChangeOwnerTime\": \"2024-03-15 08:40:34\",\n \"Domain\": \"fdasfasfdsaf.com\",\n \"ExpireTime\": \"2024-01-14 08:40:34\",\n \"FailReason\": \"\",\n \"RegTime\": \"2020-01-14 08:40:34\",\n \"ReservedStatus\": 6,\n \"ResourceId\": \"R0011712734968672830\"\n }\n ],\n \"Total\": 1\n }\n}",
302
302
  "title": "请求成功示例"
303
303
  }
304
304
  ],
@@ -385,8 +385,8 @@
385
385
  "ReservedPreDomains": [
386
386
  {
387
387
  "document": "",
388
- "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReservedPreDomains\n<公共请求参数>\n\n{\n \"DomainList\": [\n \"abc\"\n ],\n \"TemplateId\": \"abc\"\n}",
389
- "output": "{\n \"Response\": {\n \"SucDomainList\": [\n \"abc\"\n ],\n \"FailDomainList\": [\n {\n \"Domain\": \"abc\",\n \"FailReason\": \"abc\"\n }\n ],\n \"RequestId\": \"abc\"\n }\n}",
388
+ "input": "POST / HTTP/1.1\nHost: domain.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ReservedPreDomains\n<公共请求参数>\n\n{\n \"DomainList\": [\n \"aksdwe1.cn\",\n \"aksdwe2.cn\"\n ],\n \"TemplateId\": \"tmpl-abxxxxxx\"\n}",
389
+ "output": "{\n \"Response\": {\n \"SucDomainList\": [\n \"aksdwe1.cn\"\n ],\n \"FailDomainList\": [\n {\n \"Domain\": \"aksdwe2.cn\",\n \"FailReason\": \"域名下架\"\n }\n ],\n \"RequestId\": \"xxxx-xxx-xxx-xxxx\"\n }\n}",
390
390
  "title": "成功示例"
391
391
  }
392
392
  ],
@@ -14425,6 +14425,15 @@
14425
14425
  "name": "Filters",
14426
14426
  "required": false,
14427
14427
  "type": "list"
14428
+ },
14429
+ {
14430
+ "disabled": false,
14431
+ "document": "casbId",
14432
+ "example": "casb-tlqkc3r0",
14433
+ "member": "string",
14434
+ "name": "CasbId",
14435
+ "required": false,
14436
+ "type": "string"
14428
14437
  }
14429
14438
  ],
14430
14439
  "type": "object"
@@ -14438,7 +14447,7 @@
14438
14447
  "example": "1",
14439
14448
  "member": "uint64",
14440
14449
  "name": "ExportTaskId",
14441
- "required": true,
14450
+ "output_required": true,
14442
14451
  "type": "int",
14443
14452
  "value_allowed_null": false
14444
14453
  },
@@ -64,11 +64,11 @@
64
64
  "status": "online"
65
65
  },
66
66
  "DescribeRegionConf": {
67
- "document": "本接口(DescribeRegionConf)用于查询可售卖订阅实例的地域",
67
+ "document": "接口不再使用\n\n本接口(DescribeRegionConf)用于查询可售卖订阅实例的地域",
68
68
  "input": "DescribeRegionConfRequest",
69
69
  "name": "查询可售卖订阅地域",
70
70
  "output": "DescribeRegionConfResponse",
71
- "status": "online"
71
+ "status": "deprecated"
72
72
  },
73
73
  "DescribeSubscribeConf": {
74
74
  "document": "本接口(DescribeSubscribeConf)用于查询订阅实例配置",
@@ -433,6 +433,58 @@ def doInquirePriceRenewEmr(args, parsed_globals):
433
433
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
434
434
 
435
435
 
436
+ def doDescribeClusterFlowStatusDetail(args, parsed_globals):
437
+ g_param = parse_global_arg(parsed_globals)
438
+
439
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
440
+ cred = credential.CVMRoleCredential()
441
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
442
+ cred = credential.STSAssumeRoleCredential(
443
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
444
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
445
+ )
446
+ 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):
447
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
448
+ else:
449
+ cred = credential.Credential(
450
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
451
+ )
452
+ http_profile = HttpProfile(
453
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
454
+ reqMethod="POST",
455
+ endpoint=g_param[OptionsDefine.Endpoint],
456
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
457
+ )
458
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
459
+ if g_param[OptionsDefine.Language]:
460
+ profile.language = g_param[OptionsDefine.Language]
461
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
462
+ client = mod.EmrClient(cred, g_param[OptionsDefine.Region], profile)
463
+ client._sdkVersion += ("_CLI_" + __version__)
464
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
465
+ model = models.DescribeClusterFlowStatusDetailRequest()
466
+ model.from_json_string(json.dumps(args))
467
+ start_time = time.time()
468
+ while True:
469
+ rsp = client.DescribeClusterFlowStatusDetail(model)
470
+ result = rsp.to_json_string()
471
+ try:
472
+ json_obj = json.loads(result)
473
+ except TypeError as e:
474
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
475
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
476
+ break
477
+ cur_time = time.time()
478
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
479
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
480
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
481
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
482
+ else:
483
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
484
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
485
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
486
+
487
+
436
488
  def doInquiryPriceScaleOutInstance(args, parsed_globals):
437
489
  g_param = parse_global_arg(parsed_globals)
438
490
 
@@ -2272,6 +2324,7 @@ ACTION_MAP = {
2272
2324
  "DescribeImpalaQueries": doDescribeImpalaQueries,
2273
2325
  "DescribeJobFlow": doDescribeJobFlow,
2274
2326
  "InquirePriceRenewEmr": doInquirePriceRenewEmr,
2327
+ "DescribeClusterFlowStatusDetail": doDescribeClusterFlowStatusDetail,
2275
2328
  "InquiryPriceScaleOutInstance": doInquiryPriceScaleOutInstance,
2276
2329
  "DescribeAutoScaleRecords": doDescribeAutoScaleRecords,
2277
2330
  "DescribeCvmQuota": doDescribeCvmQuota,