tccli 3.0.1339.1__py2.py3-none-any.whl → 3.0.1341.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/bh/bh_client.py +326 -8
  3. tccli/services/bh/v20230418/api.json +547 -0
  4. tccli/services/bh/v20230418/examples.json +48 -0
  5. tccli/services/ccc/v20200210/api.json +1 -1
  6. tccli/services/cdb/v20170320/api.json +144 -144
  7. tccli/services/cdb/v20170320/examples.json +19 -19
  8. tccli/services/cdn/v20180606/examples.json +1 -1
  9. tccli/services/csip/v20221121/api.json +48 -10
  10. tccli/services/csip/v20221121/examples.json +11 -11
  11. tccli/services/cvm/v20170312/api.json +9 -0
  12. tccli/services/cwp/v20180228/api.json +106 -2
  13. tccli/services/cwp/v20180228/examples.json +12 -0
  14. tccli/services/cynosdb/v20190107/api.json +29 -2
  15. tccli/services/cynosdb/v20190107/examples.json +1 -1
  16. tccli/services/dsgc/v20190723/api.json +215 -17
  17. tccli/services/emr/emr_client.py +363 -310
  18. tccli/services/emr/v20190103/api.json +299 -0
  19. tccli/services/emr/v20190103/examples.json +8 -0
  20. tccli/services/ess/v20201111/api.json +16 -5
  21. tccli/services/essbasic/v20210526/api.json +1 -1
  22. tccli/services/gs/v20191118/api.json +10 -1
  23. tccli/services/ims/v20200713/api.json +1 -1
  24. tccli/services/ims/v20200713/examples.json +1 -1
  25. tccli/services/kms/kms_client.py +915 -120
  26. tccli/services/kms/v20190118/api.json +1104 -27
  27. tccli/services/kms/v20190118/examples.json +126 -0
  28. tccli/services/live/v20180801/api.json +9 -0
  29. tccli/services/live/v20180801/examples.json +4 -4
  30. tccli/services/lke/lke_client.py +228 -16
  31. tccli/services/lke/v20231130/api.json +1490 -217
  32. tccli/services/lke/v20231130/examples.json +33 -1
  33. tccli/services/mqtt/v20240516/api.json +80 -0
  34. tccli/services/mqtt/v20240516/examples.json +6 -0
  35. tccli/services/organization/v20210331/api.json +11 -0
  36. tccli/services/organization/v20210331/examples.json +1 -1
  37. tccli/services/partners/v20180321/api.json +2 -2
  38. tccli/services/postgres/v20170312/api.json +4 -4
  39. tccli/services/ses/v20201002/api.json +8 -8
  40. tccli/services/tcss/v20201101/api.json +10 -0
  41. tccli/services/thpc/v20230321/api.json +32 -2
  42. tccli/services/tione/v20211111/api.json +11 -0
  43. tccli/services/trocket/trocket_client.py +53 -0
  44. tccli/services/trocket/v20230308/api.json +233 -143
  45. tccli/services/trocket/v20230308/examples.json +14 -6
  46. tccli/services/vpc/v20170312/api.json +9 -0
  47. tccli/services/waf/v20180125/api.json +59 -21
  48. tccli/services/wedata/v20210820/api.json +432 -10
  49. tccli/services/wedata/v20210820/examples.json +17 -1
  50. tccli/services/wedata/wedata_client.py +114 -8
  51. {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/METADATA +2 -2
  52. {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/RECORD +55 -55
  53. {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/WHEEL +0 -0
  54. {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/entry_points.txt +0 -0
  55. {tccli-3.0.1339.1.dist-info → tccli-3.0.1341.1.dist-info}/license_files/LICENSE +0 -0
@@ -32,6 +32,14 @@
32
32
  "title": "绑定密钥和云产品资源的使用关系"
33
33
  }
34
34
  ],
35
+ "CancelDataKeyDeletion": [
36
+ {
37
+ "document": "取消计划删除数据密钥",
38
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CancelDataKeyDeletion\n<公共请求参数>\n\n{\n \"DataKeyId\": \"2a87094f-4c0e-11f0-8c25-52540073b995\"\n}",
39
+ "output": "{\n \"Response\": {\n \"DataKeyId\": \"2a87094f-4c0e-11f0-8c25-52540073b995\",\n \"RequestId\": \"9c08a46c-b2cd-448c-970b-581c1ce436c5\"\n }\n}",
40
+ "title": "取消计划删除数据密钥示例"
41
+ }
42
+ ],
35
43
  "CancelKeyArchive": [
36
44
  {
37
45
  "document": "",
@@ -88,6 +96,22 @@
88
96
  "title": "删除白盒密钥"
89
97
  }
90
98
  ],
99
+ "DescribeDataKey": [
100
+ {
101
+ "document": "",
102
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataKey\n<公共请求参数>\n\n{\n \"DataKeyId\": \"c0fb30d1-4ceb-11f0-bcaa-525400eb1719\"\n}",
103
+ "output": "{\n \"Response\": {\n \"DataKeyMetadata\": {\n \"CreateTime\": 1750323588,\n \"CreatorUin\": 100000007998,\n \"DataKeyId\": \"c0fb30d1-4ceb-11f0-bcaa-525400eb1719\",\n \"DataKeyName\": \"42tofUJQy1gVjfsuIS0sbDoSqtpKuiw3\",\n \"DeletionDate\": 0,\n \"Description\": \"TestDateKey_01\",\n \"HsmClusterId\": \"\",\n \"KeyId\": \"0397abd8-4029-11f0-aa65-52540064acab\",\n \"KeyState\": \"Enabled\",\n \"NumberOfBytes\": 1024,\n \"Origin\": \"TENCENT_KMS\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/100000007998/c0fb30d1-4ceb-11f0-bcaa-525400eb1719\"\n },\n \"RequestId\": \"46107db0-5b2b-4d1d-b71d-acfefcaf6d12\"\n }\n}",
104
+ "title": "获取数据密钥的详情"
105
+ }
106
+ ],
107
+ "DescribeDataKeys": [
108
+ {
109
+ "document": "",
110
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeDataKeys\n<公共请求参数>\n\n{\n \"DataKeyIds\": [\n \"7fe31abf-5018-11f0-b672-52540073b995\",\n \"8042dfcb-5018-11f0-b672-52540073b995\"\n ]\n}",
111
+ "output": "{\n \"Response\": {\n \"DataKeyMetadatas\": [\n {\n \"CreateTime\": 1750672660,\n \"CreatorUin\": 100000007998,\n \"DataKeyId\": \"7fe31abf-5018-11f0-b672-52540073b995\",\n \"DataKeyName\": \"Test6331120\",\n \"DeletionDate\": 0,\n \"Description\": \"\",\n \"HsmClusterId\": \"\",\n \"KeyId\": \"0397abd8-4029-11f0-aa65-52540064acab\",\n \"KeyState\": \"Enabled\",\n \"NumberOfBytes\": 32,\n \"Origin\": \"EXTERNAL\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/100000007998/7fe31abf-5018-11f0-b672-52540073b995\"\n },\n {\n \"CreateTime\": 1750672660,\n \"CreatorUin\": 100000007998,\n \"DataKeyId\": \"8042dfcb-5018-11f0-b672-52540073b995\",\n \"DataKeyName\": \"miNAmDEc09znOK7jw9Yi3L9cmq8xk6z1\",\n \"DeletionDate\": 0,\n \"Description\": \"TestDateKey_01\",\n \"HsmClusterId\": \"\",\n \"KeyId\": \"0397abd8-4029-11f0-aa65-52540064acab\",\n \"KeyState\": \"Enabled\",\n \"NumberOfBytes\": 1024,\n \"Origin\": \"TENCENT_KMS\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/100000007998/8042dfcb-5018-11f0-b672-52540073b995\"\n }\n ],\n \"RequestId\": \"33c0c722-09e0-4f19-b16b-187a5898fd66\"\n }\n}",
112
+ "title": "获取数据密钥的详情列表示例"
113
+ }
114
+ ],
91
115
  "DescribeKey": [
92
116
  {
93
117
  "document": "获取指定CMK的属性详情信息。",
@@ -144,6 +168,22 @@
144
168
  "title": "获取白盒密钥服务状态"
145
169
  }
146
170
  ],
171
+ "DisableDataKey": [
172
+ {
173
+ "document": "禁用数据密钥",
174
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisableDataKey\n<公共请求参数>\n\n{\n \"DataKeyId\": \"26299dfb-4f42-11f0-b672-52540073b995\"\n}",
175
+ "output": "{\n \"Response\": {\n \"RequestId\": \"7f4bb2ac-283f-41c0-9ff5-0f35cf551609\"\n }\n}",
176
+ "title": "禁用数据密钥示例"
177
+ }
178
+ ],
179
+ "DisableDataKeys": [
180
+ {
181
+ "document": "",
182
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DisableDataKeys\n<公共请求参数>\n\n{\n \"DataKeyIds\": [\n \"7fe31abf-5018-11f0-b672-52540073b995\",\n \"8042dfcb-5018-11f0-b672-52540073b995\"\n ]\n}",
183
+ "output": "{\n \"Response\": {\n \"RequestId\": \"1b4bfd47-df00-4494-9131-da3870a76295\"\n }\n}",
184
+ "title": "批量禁用数据密钥示例"
185
+ }
186
+ ],
147
187
  "DisableKey": [
148
188
  {
149
189
  "document": "禁用指定的CMK。",
@@ -184,6 +224,22 @@
184
224
  "title": "批量禁用白盒密钥"
185
225
  }
186
226
  ],
227
+ "EnableDataKey": [
228
+ {
229
+ "document": "",
230
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableDataKey\n<公共请求参数>\n\n{\n \"DataKeyId\": \"c0fb30d1-4ceb-11f0-bcaa-525400eb1719\"\n}",
231
+ "output": "{\n \"Response\": {\n \"RequestId\": \"93a3bea5-f32f-4319-8d8d-956540dfc422\"\n }\n}",
232
+ "title": "启用数据密钥示例"
233
+ }
234
+ ],
235
+ "EnableDataKeys": [
236
+ {
237
+ "document": "",
238
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: EnableDataKeys\n<公共请求参数>\n\n{\n \"DataKeyIds\": [\n \"eb46f9c0-5015-11f0-ace9-525400eb1719\"\n ]\n}",
239
+ "output": "{\n \"Response\": {\n \"RequestId\": \"54d25f02-cb69-4045-9fc8-433eaedcac70\"\n }\n}",
240
+ "title": "批量启用数据密钥"
241
+ }
242
+ ],
187
243
  "EnableKey": [
188
244
  {
189
245
  "document": "启用一个主密钥,允许该 CMK 被使用。",
@@ -256,6 +312,22 @@
256
312
  "title": "随机数生成接口示例"
257
313
  }
258
314
  ],
315
+ "GetDataKeyCiphertextBlob": [
316
+ {
317
+ "document": "下载数据密钥密文",
318
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetDataKeyCiphertextBlob\n<公共请求参数>\n\n{\n \"DataKeyId\": \"cb0f16e6-4f49-11f0-b672-52540073b995\"\n}",
319
+ "output": "{\n \"Response\": {\n \"CiphertextBlob\": \"KoFmB5Ro70M6wfNJe1xlzriwwyn4Ypj6cjXNUbhbEE7+cAtl4ym/EIj3aAzK0Sa6GKgPzyor+zC7bUhRyB5eeQ==-k-fKVP3WIlGpg8m9LMW4jEkQ==-k-yMhT0yaoSueIApZePMxwBZ0y6EjfaKdxvvPhk9LT1ldmhb+Z\",\n \"RequestId\": \"88d9d828-f019-4625-b0f7-75b57dd2e582\"\n }\n}",
320
+ "title": "下载数据密钥密文示例"
321
+ }
322
+ ],
323
+ "GetDataKeyPlaintext": [
324
+ {
325
+ "document": "获取数据密钥明文",
326
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetDataKeyPlaintext\n<公共请求参数>\n\n{\n \"DataKeyId\": \"cb0f16e6-4f49-11f0-b672-52540073b995\"\n}",
327
+ "output": "{\n \"Response\": {\n \"Plaintext\": \"3434\",\n \"RequestId\": \"bd05b0b7-8019-44cf-a67e-fd9a940cee82\"\n }\n}",
328
+ "title": "获取数据密钥明文示例"
329
+ }
330
+ ],
259
331
  "GetKeyRotationStatus": [
260
332
  {
261
333
  "document": "查询指定的CMK密钥轮换功能是否开启。",
@@ -296,6 +368,14 @@
296
368
  "title": "查询服务状态"
297
369
  }
298
370
  ],
371
+ "ImportDataKey": [
372
+ {
373
+ "document": "",
374
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ImportDataKey\n<公共请求参数>\n\n{\n \"DataKeyName\": \"test_weijia_0123456\",\n \"ImportKeyMaterial\": \"MTIzNAo=\",\n \"ImportType\": 2,\n \"Description\": \"数据密钥导入测试\",\n \"KeyId\": \"0397abd8-4029-11f0-aa65-52540064acab\"\n}",
375
+ "output": "{\n \"Response\": {\n \"DataKeyId\": \"eb46f9c0-5015-11f0-ace9-525400eb1719\",\n \"KeyId\": \"0397abd8-4029-11f0-aa65-52540064acab\",\n \"RequestId\": \"85568b48-a19c-43e1-9850-6d9101dc2b3a\"\n }\n}",
376
+ "title": "数据密钥导入示例"
377
+ }
378
+ ],
299
379
  "ImportKeyMaterial": [
300
380
  {
301
381
  "document": "",
@@ -312,6 +392,22 @@
312
392
  "title": "列出当前Region支持的加密方式"
313
393
  }
314
394
  ],
395
+ "ListDataKeyDetail": [
396
+ {
397
+ "document": "",
398
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDataKeyDetail\n<公共请求参数>\n\n{\n \"SearchKeyAlias\": \"e6c1f360-4ceb-11f0-8428-52540073b995\"\n}",
399
+ "output": "{\n \"Response\": {\n \"DataKeyMetadatas\": [\n {\n \"CreateTime\": 1750323652,\n \"CreatorUin\": 100000007998,\n \"DataKeyId\": \"e6c1f360-4ceb-11f0-8428-52540073b995\",\n \"DataKeyName\": \"eY66EuC61oAhm6qXyjZAPWhX0Gn9oe8g\",\n \"DeletionDate\": 1750928452,\n \"Description\": \"TestDateKey_01\",\n \"HsmClusterId\": \"\",\n \"KeyId\": \"0397abd8-4029-11f0-aa65-52540064acab\",\n \"KeyState\": \"PendingDelete\",\n \"NumberOfBytes\": 1024,\n \"Origin\": \"TENCENT_KMS\",\n \"Owner\": \"user\",\n \"ResourceId\": \"creatorUin/100000007998/e6c1f360-4ceb-11f0-8428-52540073b995\"\n }\n ],\n \"RequestId\": \"75bd39cb-1e80-4b54-9b83-b991b6f684d6\",\n \"TotalCount\": 1\n }\n}",
400
+ "title": "获取数据密钥列表详情示例"
401
+ }
402
+ ],
403
+ "ListDataKeys": [
404
+ {
405
+ "document": "获取数据密钥",
406
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ListDataKeys\n<公共请求参数>\n\n{}",
407
+ "output": "{\n \"Response\": {\n \"DataKeys\": [\n {\n \"DataKeyId\": \"50cc8e9f-4f44-11f0-ace9-525400eb1719\"\n },\n {\n \"DataKeyId\": \"32e9bd2c-4f44-11f0-ace9-525400eb1719\"\n },\n {\n \"DataKeyId\": \"d02ea923-4f43-11f0-b672-52540073b995\"\n },\n {\n \"DataKeyId\": \"1a6a8465-4dc8-11f0-b672-52540073b995\"\n },\n {\n \"DataKeyId\": \"f3fd3a12-4dba-11f0-ace9-525400eb1719\"\n },\n {\n \"DataKeyId\": \"d6e6cf2d-4ceb-11f0-8428-52540073b995\"\n },\n {\n \"DataKeyId\": \"c0fb30d1-4ceb-11f0-bcaa-525400eb1719\"\n },\n {\n \"DataKeyId\": \"72da485a-4ceb-11f0-bcaa-525400eb1719\"\n },\n {\n \"DataKeyId\": \"602b4824-4ceb-11f0-bcaa-525400eb1719\"\n },\n {\n \"DataKeyId\": \"52293da7-4cc1-11f0-a29a-525400eb1719\"\n }\n ],\n \"RequestId\": \"e9033eb2-e7ba-46a6-b83e-3bc2fc8d906c\",\n \"TotalCount\": 132\n }\n}",
408
+ "title": "获取数据密钥列表示例"
409
+ }
410
+ ],
315
411
  "ListKeyDetail": [
316
412
  {
317
413
  "document": "",
@@ -376,6 +472,14 @@
376
472
  "title": "重加密接口示例"
377
473
  }
378
474
  ],
475
+ "ScheduleDataKeyDeletion": [
476
+ {
477
+ "document": "计划删除数据密钥",
478
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ScheduleDataKeyDeletion\n<公共请求参数>\n\n{\n \"DataKeyId\": \"2a87094f-4c0e-11f0-8c25-52540073b995\",\n \"PendingWindowInDays\": 7\n}",
479
+ "output": "{\n \"Response\": {\n \"DataKeyId\": \"2a87094f-4c0e-11f0-8c25-52540073b995\",\n \"DeletionDate\": 1751276581,\n \"RequestId\": \"f610236f-580d-49d3-a766-71163d9108eb\"\n }\n}",
480
+ "title": "计划删除数据密钥示例"
481
+ }
482
+ ],
379
483
  "ScheduleKeyDeletion": [
380
484
  {
381
485
  "document": "指定CMK于累计7天后被删除",
@@ -408,6 +512,28 @@
408
512
  "title": "修改别名示例"
409
513
  }
410
514
  ],
515
+ "UpdateDataKeyDescription": [
516
+ {
517
+ "document": "修改数据密钥描述",
518
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDataKeyDescription\n<公共请求参数>\n\n{\n \"DataKeyId\": \"cb0f16e6-4f49-11f0-b672-52540073b995\",\n \"Description\": \"测试修改描述\"\n}",
519
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ea9ab121-2339-4176-b2fc-eb6f428789ec\"\n }\n}",
520
+ "title": "修改数据密钥描述示例"
521
+ },
522
+ {
523
+ "document": "修改数据密钥描述",
524
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDataKeyDescription\n<公共请求参数>\n\n{\n \"DataKeyId\": \"cb0f16e6-4f49-11f0-b672-52540073b995\",\n \"Description\": \"测试修改描述\"\n}",
525
+ "output": "{\n \"Response\": {\n \"RequestId\": \"ea9ab121-2339-4176-b2fc-eb6f428789ec\"\n }\n}",
526
+ "title": "修改数据密钥描述的示例"
527
+ }
528
+ ],
529
+ "UpdateDataKeyName": [
530
+ {
531
+ "document": "修改数据密钥名称",
532
+ "input": "POST / HTTP/1.1\nHost: kms.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateDataKeyName\n<公共请求参数>\n\n{\n \"DataKeyId\": \"cb0f16e6-4f49-11f0-b672-52540073b995\",\n \"DataKeyName\": \"updatedatakeyname\"\n}",
533
+ "output": "{\n \"Response\": {\n \"RequestId\": \"130b3e73-e6dc-4adf-b9ea-c3e087be45cb\"\n }\n}",
534
+ "title": "修改数据密钥名称示例"
535
+ }
536
+ ],
411
537
  "UpdateKeyDescription": [
412
538
  {
413
539
  "document": "对指定的CMK修改描述信息",
@@ -19673,6 +19673,15 @@
19673
19673
  "required": true,
19674
19674
  "type": "string"
19675
19675
  },
19676
+ {
19677
+ "disabled": false,
19678
+ "document": "默认随系统配置,云端特效循环 少于5次。可自定义指定礼物循环次数,不超过100次。",
19679
+ "example": "5",
19680
+ "member": "int64",
19681
+ "name": "LoopTimes",
19682
+ "required": false,
19683
+ "type": "int"
19684
+ },
19676
19685
  {
19677
19686
  "disabled": false,
19678
19687
  "document": "操作人备注信息。",
@@ -836,7 +836,7 @@
836
836
  {
837
837
  "document": "",
838
838
  "input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: DescribeLivePadStreamList\n<公共请求参数>\n\n{\n \"DomainName\": \"5000.livepush.com\"\n}",
839
- "output": "{\n \"Response\": {\n \"StreamInfoList\": [\n {\n \"DomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"test\",\n \"PublishTime\": \"2025-04-01T00:00:00Z\",\n \"PadStreamType\": \"1\"\n }\n ],\n \"TotalPage\": 1,\n \"TotalNum\": 1,\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
839
+ "output": "{\n \"Response\": {\n \"StreamInfoList\": [\n {\n \"DomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"stream\",\n \"PublishTime\": \"2025-04-01T00:00:00Z\",\n \"PadStreamType\": \"1\"\n }\n ],\n \"TotalPage\": 1,\n \"TotalNum\": 1,\n \"PageNum\": 1,\n \"PageSize\": 10,\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
840
840
  "title": "请求示例"
841
841
  }
842
842
  ],
@@ -1507,7 +1507,7 @@
1507
1507
  "SendLiveCloudEffect": [
1508
1508
  {
1509
1509
  "document": "",
1510
- "input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: SendLiveCloudEffect\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"test\",\n \"Id\": \"1001\",\n \"Operator\": \"admin\"\n}",
1510
+ "input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: SendLiveCloudEffect\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"stream\",\n \"Id\": \"1001\",\n \"Operator\": \"admin\"\n}",
1511
1511
  "output": "{\n \"Response\": {\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
1512
1512
  "title": "请求示例"
1513
1513
  }
@@ -1515,7 +1515,7 @@
1515
1515
  "StartLivePadStream": [
1516
1516
  {
1517
1517
  "document": "",
1518
- "input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: StartLivePadStream\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"test\"\n}",
1518
+ "input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: StartLivePadStream\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"stream1\"\n}",
1519
1519
  "output": "{\n \"Response\": {\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
1520
1520
  "title": "请求示例"
1521
1521
  }
@@ -1547,7 +1547,7 @@
1547
1547
  "StopLivePadStream": [
1548
1548
  {
1549
1549
  "document": "",
1550
- "input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: StopLivePadStream\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"test\"\n}",
1550
+ "input": "POST / HTTP/1.1\nHost:live.tencentcloudapi.com\nContent-Type:application/json\nX-TC-Action: StopLivePadStream\n<公共请求参数>\n\n{\n \"PushDomainName\": \"5000.livepush.com\",\n \"AppName\": \"live\",\n \"StreamName\": \"stream1\"\n}",
1551
1551
  "output": "{\n \"Response\": {\n \"RequestId\": \"1047d0dc-6dc8-4898-a7f3-03726a822b0e\"\n }\n}",
1552
1552
  "title": "请求示例"
1553
1553
  }
@@ -589,6 +589,58 @@ def doStopWorkflowRun(args, parsed_globals):
589
589
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
590
590
 
591
591
 
592
+ def doModifyAgent(args, parsed_globals):
593
+ g_param = parse_global_arg(parsed_globals)
594
+
595
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
596
+ cred = credential.CVMRoleCredential()
597
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
598
+ cred = credential.STSAssumeRoleCredential(
599
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
600
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
601
+ )
602
+ 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):
603
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
604
+ else:
605
+ cred = credential.Credential(
606
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
607
+ )
608
+ http_profile = HttpProfile(
609
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
610
+ reqMethod="POST",
611
+ endpoint=g_param[OptionsDefine.Endpoint],
612
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
613
+ )
614
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
615
+ if g_param[OptionsDefine.Language]:
616
+ profile.language = g_param[OptionsDefine.Language]
617
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
618
+ client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
619
+ client._sdkVersion += ("_CLI_" + __version__)
620
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
621
+ model = models.ModifyAgentRequest()
622
+ model.from_json_string(json.dumps(args))
623
+ start_time = time.time()
624
+ while True:
625
+ rsp = client.ModifyAgent(model)
626
+ result = rsp.to_json_string()
627
+ try:
628
+ json_obj = json.loads(result)
629
+ except TypeError as e:
630
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
631
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
632
+ break
633
+ cur_time = time.time()
634
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
635
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
636
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
637
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
638
+ else:
639
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
640
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
641
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
642
+
643
+
592
644
  def doCreateAttributeLabel(args, parsed_globals):
593
645
  g_param = parse_global_arg(parsed_globals)
594
646
 
@@ -693,7 +745,7 @@ def doListDocCate(args, parsed_globals):
693
745
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
694
746
 
695
747
 
696
- def doGenerateQA(args, parsed_globals):
748
+ def doConvertDocument(args, parsed_globals):
697
749
  g_param = parse_global_arg(parsed_globals)
698
750
 
699
751
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -722,11 +774,11 @@ def doGenerateQA(args, parsed_globals):
722
774
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
723
775
  client._sdkVersion += ("_CLI_" + __version__)
724
776
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
725
- model = models.GenerateQARequest()
777
+ model = models.ConvertDocumentRequest()
726
778
  model.from_json_string(json.dumps(args))
727
779
  start_time = time.time()
728
780
  while True:
729
- rsp = client.GenerateQA(model)
781
+ rsp = client.ConvertDocument(model)
730
782
  result = rsp.to_json_string()
731
783
  try:
732
784
  json_obj = json.loads(result)
@@ -1109,7 +1161,7 @@ def doDescribeTokenUsageGraph(args, parsed_globals):
1109
1161
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1110
1162
 
1111
1163
 
1112
- def doConvertDocument(args, parsed_globals):
1164
+ def doGenerateQA(args, parsed_globals):
1113
1165
  g_param = parse_global_arg(parsed_globals)
1114
1166
 
1115
1167
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1138,11 +1190,11 @@ def doConvertDocument(args, parsed_globals):
1138
1190
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
1139
1191
  client._sdkVersion += ("_CLI_" + __version__)
1140
1192
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1141
- model = models.ConvertDocumentRequest()
1193
+ model = models.GenerateQARequest()
1142
1194
  model.from_json_string(json.dumps(args))
1143
1195
  start_time = time.time()
1144
1196
  while True:
1145
- rsp = client.ConvertDocument(model)
1197
+ rsp = client.GenerateQA(model)
1146
1198
  result = rsp.to_json_string()
1147
1199
  try:
1148
1200
  json_obj = json.loads(result)
@@ -1473,7 +1525,7 @@ def doDescribeSearchStatsGraph(args, parsed_globals):
1473
1525
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1474
1526
 
1475
1527
 
1476
- def doDeleteDocCate(args, parsed_globals):
1528
+ def doListWorkflowRuns(args, parsed_globals):
1477
1529
  g_param = parse_global_arg(parsed_globals)
1478
1530
 
1479
1531
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1502,11 +1554,11 @@ def doDeleteDocCate(args, parsed_globals):
1502
1554
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
1503
1555
  client._sdkVersion += ("_CLI_" + __version__)
1504
1556
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1505
- model = models.DeleteDocCateRequest()
1557
+ model = models.ListWorkflowRunsRequest()
1506
1558
  model.from_json_string(json.dumps(args))
1507
1559
  start_time = time.time()
1508
1560
  while True:
1509
- rsp = client.DeleteDocCate(model)
1561
+ rsp = client.ListWorkflowRuns(model)
1510
1562
  result = rsp.to_json_string()
1511
1563
  try:
1512
1564
  json_obj = json.loads(result)
@@ -2513,7 +2565,7 @@ def doDescribeNodeRun(args, parsed_globals):
2513
2565
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2514
2566
 
2515
2567
 
2516
- def doListWorkflowRuns(args, parsed_globals):
2568
+ def doDeleteDocCate(args, parsed_globals):
2517
2569
  g_param = parse_global_arg(parsed_globals)
2518
2570
 
2519
2571
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2542,11 +2594,11 @@ def doListWorkflowRuns(args, parsed_globals):
2542
2594
  client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
2543
2595
  client._sdkVersion += ("_CLI_" + __version__)
2544
2596
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2545
- model = models.ListWorkflowRunsRequest()
2597
+ model = models.DeleteDocCateRequest()
2546
2598
  model.from_json_string(json.dumps(args))
2547
2599
  start_time = time.time()
2548
2600
  while True:
2549
- rsp = client.ListWorkflowRuns(model)
2601
+ rsp = client.DeleteDocCate(model)
2550
2602
  result = rsp.to_json_string()
2551
2603
  try:
2552
2604
  json_obj = json.loads(result)
@@ -2825,6 +2877,58 @@ def doModifyDoc(args, parsed_globals):
2825
2877
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2826
2878
 
2827
2879
 
2880
+ def doDeleteAgent(args, parsed_globals):
2881
+ g_param = parse_global_arg(parsed_globals)
2882
+
2883
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
2884
+ cred = credential.CVMRoleCredential()
2885
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
2886
+ cred = credential.STSAssumeRoleCredential(
2887
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
2888
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
2889
+ )
2890
+ 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):
2891
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
2892
+ else:
2893
+ cred = credential.Credential(
2894
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
2895
+ )
2896
+ http_profile = HttpProfile(
2897
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
2898
+ reqMethod="POST",
2899
+ endpoint=g_param[OptionsDefine.Endpoint],
2900
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
2901
+ )
2902
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
2903
+ if g_param[OptionsDefine.Language]:
2904
+ profile.language = g_param[OptionsDefine.Language]
2905
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
2906
+ client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
2907
+ client._sdkVersion += ("_CLI_" + __version__)
2908
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
2909
+ model = models.DeleteAgentRequest()
2910
+ model.from_json_string(json.dumps(args))
2911
+ start_time = time.time()
2912
+ while True:
2913
+ rsp = client.DeleteAgent(model)
2914
+ result = rsp.to_json_string()
2915
+ try:
2916
+ json_obj = json.loads(result)
2917
+ except TypeError as e:
2918
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
2919
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
2920
+ break
2921
+ cur_time = time.time()
2922
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
2923
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
2924
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
2925
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
2926
+ else:
2927
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
2928
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
2929
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2930
+
2931
+
2828
2932
  def doCreateQACate(args, parsed_globals):
2829
2933
  g_param = parse_global_arg(parsed_globals)
2830
2934
 
@@ -3553,6 +3657,58 @@ def doExportQAList(args, parsed_globals):
3553
3657
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3554
3658
 
3555
3659
 
3660
+ def doCreateAgent(args, parsed_globals):
3661
+ g_param = parse_global_arg(parsed_globals)
3662
+
3663
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3664
+ cred = credential.CVMRoleCredential()
3665
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3666
+ cred = credential.STSAssumeRoleCredential(
3667
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3668
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3669
+ )
3670
+ 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):
3671
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3672
+ else:
3673
+ cred = credential.Credential(
3674
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3675
+ )
3676
+ http_profile = HttpProfile(
3677
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3678
+ reqMethod="POST",
3679
+ endpoint=g_param[OptionsDefine.Endpoint],
3680
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3681
+ )
3682
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3683
+ if g_param[OptionsDefine.Language]:
3684
+ profile.language = g_param[OptionsDefine.Language]
3685
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3686
+ client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
3687
+ client._sdkVersion += ("_CLI_" + __version__)
3688
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3689
+ model = models.CreateAgentRequest()
3690
+ model.from_json_string(json.dumps(args))
3691
+ start_time = time.time()
3692
+ while True:
3693
+ rsp = client.CreateAgent(model)
3694
+ result = rsp.to_json_string()
3695
+ try:
3696
+ json_obj = json.loads(result)
3697
+ except TypeError as e:
3698
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3699
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3700
+ break
3701
+ cur_time = time.time()
3702
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3703
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3704
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3705
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3706
+ else:
3707
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3708
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3709
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3710
+
3711
+
3556
3712
  def doUploadAttributeLabel(args, parsed_globals):
3557
3713
  g_param = parse_global_arg(parsed_globals)
3558
3714
 
@@ -4957,6 +5113,58 @@ def doDescribeWorkflowRun(args, parsed_globals):
4957
5113
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
4958
5114
 
4959
5115
 
5116
+ def doDescribeAppAgentList(args, parsed_globals):
5117
+ g_param = parse_global_arg(parsed_globals)
5118
+
5119
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
5120
+ cred = credential.CVMRoleCredential()
5121
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
5122
+ cred = credential.STSAssumeRoleCredential(
5123
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
5124
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
5125
+ )
5126
+ 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):
5127
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
5128
+ else:
5129
+ cred = credential.Credential(
5130
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
5131
+ )
5132
+ http_profile = HttpProfile(
5133
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
5134
+ reqMethod="POST",
5135
+ endpoint=g_param[OptionsDefine.Endpoint],
5136
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
5137
+ )
5138
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
5139
+ if g_param[OptionsDefine.Language]:
5140
+ profile.language = g_param[OptionsDefine.Language]
5141
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
5142
+ client = mod.LkeClient(cred, g_param[OptionsDefine.Region], profile)
5143
+ client._sdkVersion += ("_CLI_" + __version__)
5144
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
5145
+ model = models.DescribeAppAgentListRequest()
5146
+ model.from_json_string(json.dumps(args))
5147
+ start_time = time.time()
5148
+ while True:
5149
+ rsp = client.DescribeAppAgentList(model)
5150
+ result = rsp.to_json_string()
5151
+ try:
5152
+ json_obj = json.loads(result)
5153
+ except TypeError as e:
5154
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
5155
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
5156
+ break
5157
+ cur_time = time.time()
5158
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
5159
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
5160
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
5161
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
5162
+ else:
5163
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
5164
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
5165
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
5166
+
5167
+
4960
5168
  def doRetryDocAudit(args, parsed_globals):
4961
5169
  g_param = parse_global_arg(parsed_globals)
4962
5170
 
@@ -5811,9 +6019,10 @@ ACTION_MAP = {
5811
6019
  "CreateRelease": doCreateRelease,
5812
6020
  "DeleteQA": doDeleteQA,
5813
6021
  "StopWorkflowRun": doStopWorkflowRun,
6022
+ "ModifyAgent": doModifyAgent,
5814
6023
  "CreateAttributeLabel": doCreateAttributeLabel,
5815
6024
  "ListDocCate": doListDocCate,
5816
- "GenerateQA": doGenerateQA,
6025
+ "ConvertDocument": doConvertDocument,
5817
6026
  "ListSharedKnowledge": doListSharedKnowledge,
5818
6027
  "DescribeAttributeLabel": doDescribeAttributeLabel,
5819
6028
  "ListRejectedQuestionPreview": doListRejectedQuestionPreview,
@@ -5821,14 +6030,14 @@ ACTION_MAP = {
5821
6030
  "RetryDocParse": doRetryDocParse,
5822
6031
  "CreateQA": doCreateQA,
5823
6032
  "DescribeTokenUsageGraph": doDescribeTokenUsageGraph,
5824
- "ConvertDocument": doConvertDocument,
6033
+ "GenerateQA": doGenerateQA,
5825
6034
  "DescribeApp": doDescribeApp,
5826
6035
  "GetWsToken": doGetWsToken,
5827
6036
  "ListAttributeLabel": doListAttributeLabel,
5828
6037
  "ListReleaseConfigPreview": doListReleaseConfigPreview,
5829
6038
  "ListReferShareKnowledge": doListReferShareKnowledge,
5830
6039
  "DescribeSearchStatsGraph": doDescribeSearchStatsGraph,
5831
- "DeleteDocCate": doDeleteDocCate,
6040
+ "ListWorkflowRuns": doListWorkflowRuns,
5832
6041
  "VerifyQA": doVerifyQA,
5833
6042
  "CreateDocCate": doCreateDocCate,
5834
6043
  "CheckAttributeLabelExist": doCheckAttributeLabelExist,
@@ -5848,12 +6057,13 @@ ACTION_MAP = {
5848
6057
  "ListApp": doListApp,
5849
6058
  "DescribeTokenUsage": doDescribeTokenUsage,
5850
6059
  "DescribeNodeRun": doDescribeNodeRun,
5851
- "ListWorkflowRuns": doListWorkflowRuns,
6060
+ "DeleteDocCate": doDeleteDocCate,
5852
6061
  "ListQACate": doListQACate,
5853
6062
  "ListAppCategory": doListAppCategory,
5854
6063
  "DescribeQA": doDescribeQA,
5855
6064
  "CreateApp": doCreateApp,
5856
6065
  "ModifyDoc": doModifyDoc,
6066
+ "DeleteAgent": doDeleteAgent,
5857
6067
  "CreateQACate": doCreateQACate,
5858
6068
  "UpdateSharedKnowledge": doUpdateSharedKnowledge,
5859
6069
  "ExportAttributeLabel": doExportAttributeLabel,
@@ -5868,6 +6078,7 @@ ACTION_MAP = {
5868
6078
  "GetLikeDataCount": doGetLikeDataCount,
5869
6079
  "ModifyDocCate": doModifyDocCate,
5870
6080
  "ExportQAList": doExportQAList,
6081
+ "CreateAgent": doCreateAgent,
5871
6082
  "UploadAttributeLabel": doUploadAttributeLabel,
5872
6083
  "DescribeReleaseInfo": doDescribeReleaseInfo,
5873
6084
  "GetDocPreview": doGetDocPreview,
@@ -5895,6 +6106,7 @@ ACTION_MAP = {
5895
6106
  "ModifyAttributeLabel": doModifyAttributeLabel,
5896
6107
  "GetAnswerTypeDataCount": doGetAnswerTypeDataCount,
5897
6108
  "DescribeWorkflowRun": doDescribeWorkflowRun,
6109
+ "DescribeAppAgentList": doDescribeAppAgentList,
5898
6110
  "RetryDocAudit": doRetryDocAudit,
5899
6111
  "ListReleaseDocPreview": doListReleaseDocPreview,
5900
6112
  "DescribeRelease": doDescribeRelease,