tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.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 (252) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/credentials.py +25 -0
  5. tccli/main.py +6 -2
  6. tccli/plugins/sso/__init__.py +61 -0
  7. tccli/plugins/sso/configs.py +4 -0
  8. tccli/plugins/sso/configure.py +45 -0
  9. tccli/plugins/sso/login.py +144 -0
  10. tccli/plugins/sso/logout.py +21 -0
  11. tccli/plugins/sso/terminal.py +161 -0
  12. tccli/plugins/sso/texts.py +40 -0
  13. tccli/services/__init__.py +6 -0
  14. tccli/services/acp/v20220105/api.json +7 -7
  15. tccli/services/acp/v20220105/examples.json +2 -2
  16. tccli/services/aiart/v20221229/api.json +29 -29
  17. tccli/services/aiart/v20221229/examples.json +8 -8
  18. tccli/services/apigateway/v20180808/api.json +18 -17
  19. tccli/services/apigateway/v20180808/examples.json +12 -12
  20. tccli/services/apm/v20210622/api.json +98 -4
  21. tccli/services/asr/v20190614/api.json +18 -17
  22. tccli/services/asr/v20190614/examples.json +13 -13
  23. tccli/services/autoscaling/v20180419/api.json +371 -309
  24. tccli/services/autoscaling/v20180419/examples.json +17 -17
  25. tccli/services/batch/v20170312/api.json +7 -7
  26. tccli/services/bda/v20200324/api.json +39 -31
  27. tccli/services/bda/v20200324/examples.json +9 -9
  28. tccli/services/bh/__init__.py +4 -0
  29. tccli/services/bh/bh_client.py +3428 -0
  30. tccli/services/bh/v20230418/api.json +8180 -0
  31. tccli/services/bh/v20230418/examples.json +519 -0
  32. tccli/services/bi/v20220105/api.json +48 -0
  33. tccli/services/billing/v20180709/api.json +26 -24
  34. tccli/services/bsca/v20210811/api.json +1 -1
  35. tccli/services/btoe/v20210514/api.json +4 -4
  36. tccli/services/btoe/v20210514/examples.json +2 -2
  37. tccli/services/ca/v20230228/api.json +60 -0
  38. tccli/services/cam/v20190116/api.json +11 -11
  39. tccli/services/cat/v20180409/api.json +9 -0
  40. tccli/services/cbs/v20170312/api.json +200 -188
  41. tccli/services/cbs/v20170312/examples.json +4 -4
  42. tccli/services/ccc/v20200210/api.json +390 -323
  43. tccli/services/ccc/v20200210/examples.json +15 -15
  44. tccli/services/cdb/cdb_client.py +13 -13
  45. tccli/services/cdb/v20170320/api.json +295 -270
  46. tccli/services/cdb/v20170320/examples.json +38 -38
  47. tccli/services/cdc/v20201214/api.json +283 -270
  48. tccli/services/cdc/v20201214/examples.json +26 -26
  49. tccli/services/cds/v20180420/api.json +82 -76
  50. tccli/services/cds/v20180420/examples.json +1 -1
  51. tccli/services/cdwch/v20200915/api.json +1 -1
  52. tccli/services/cdwdoris/v20211228/api.json +42 -2
  53. tccli/services/cdz/v20221123/api.json +41 -5
  54. tccli/services/cfg/v20210820/api.json +31 -0
  55. tccli/services/cfs/v20190719/api.json +89 -1
  56. tccli/services/cfs/v20190719/examples.json +1 -1
  57. tccli/services/cfw/cfw_client.py +0 -53
  58. tccli/services/cfw/v20190904/api.json +1849 -1999
  59. tccli/services/cfw/v20190904/examples.json +157 -159
  60. tccli/services/ckafka/v20190819/api.json +104 -75
  61. tccli/services/clb/v20180317/api.json +48 -26
  62. tccli/services/clb/v20180317/examples.json +1 -1
  63. tccli/services/cloudapp/v20220530/api.json +5 -1
  64. tccli/services/cloudaudit/v20190319/api.json +58 -44
  65. tccli/services/cloudaudit/v20190319/examples.json +6 -6
  66. tccli/services/cloudstudio/v20230508/api.json +38 -37
  67. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  68. tccli/services/cls/cls_client.py +216 -4
  69. tccli/services/cls/v20201016/api.json +536 -47
  70. tccli/services/cls/v20201016/examples.json +34 -2
  71. tccli/services/csip/v20221121/api.json +2562 -2382
  72. tccli/services/csip/v20221121/examples.json +108 -108
  73. tccli/services/cvm/v20170312/api.json +149 -112
  74. tccli/services/cvm/v20170312/examples.json +2 -2
  75. tccli/services/cwp/cwp_client.py +4 -110
  76. tccli/services/cwp/v20180228/api.json +6338 -6146
  77. tccli/services/cwp/v20180228/examples.json +342 -370
  78. tccli/services/cynosdb/v20190107/api.json +93 -81
  79. tccli/services/cynosdb/v20190107/examples.json +70 -70
  80. tccli/services/dasb/v20191018/api.json +796 -651
  81. tccli/services/dasb/v20191018/examples.json +101 -101
  82. tccli/services/dcdb/dcdb_client.py +114 -61
  83. tccli/services/dcdb/v20180411/api.json +141 -7
  84. tccli/services/dcdb/v20180411/examples.json +32 -0
  85. tccli/services/dlc/v20210125/api.json +21 -11
  86. tccli/services/dnspod/dnspod_client.py +417 -46
  87. tccli/services/dnspod/v20210323/api.json +751 -30
  88. tccli/services/dnspod/v20210323/examples.json +62 -0
  89. tccli/services/dts/v20211206/api.json +4 -4
  90. tccli/services/ecm/v20190719/api.json +2 -2
  91. tccli/services/emr/v20190103/api.json +339 -114
  92. tccli/services/emr/v20190103/examples.json +64 -82
  93. tccli/services/es/v20180416/api.json +29 -0
  94. tccli/services/es/v20180416/examples.json +1 -1
  95. tccli/services/ess/v20201111/api.json +49 -31
  96. tccli/services/ess/v20201111/examples.json +20 -8
  97. tccli/services/essbasic/v20210526/api.json +54 -49
  98. tccli/services/essbasic/v20210526/examples.json +36 -18
  99. tccli/services/facefusion/v20181201/api.json +47 -45
  100. tccli/services/facefusion/v20181201/examples.json +2 -2
  101. tccli/services/facefusion/v20220927/api.json +54 -48
  102. tccli/services/facefusion/v20220927/examples.json +5 -5
  103. tccli/services/faceid/v20180301/api.json +497 -496
  104. tccli/services/faceid/v20180301/examples.json +219 -101
  105. tccli/services/fmu/v20191213/api.json +59 -67
  106. tccli/services/fmu/v20191213/examples.json +22 -22
  107. tccli/services/ft/v20200304/api.json +53 -57
  108. tccli/services/ft/v20200304/examples.json +14 -14
  109. tccli/services/gme/v20180711/api.json +21 -11
  110. tccli/services/gme/v20180711/examples.json +1 -1
  111. tccli/services/hai/v20230812/api.json +116 -9
  112. tccli/services/hai/v20230812/examples.json +4 -4
  113. tccli/services/hunyuan/hunyuan_client.py +436 -12
  114. tccli/services/hunyuan/v20230901/api.json +1482 -118
  115. tccli/services/hunyuan/v20230901/examples.json +82 -18
  116. tccli/services/iai/v20180301/api.json +23 -19
  117. tccli/services/iai/v20180301/examples.json +2 -2
  118. tccli/services/iai/v20200303/api.json +530 -511
  119. tccli/services/iai/v20200303/examples.json +116 -86
  120. tccli/services/ig/__init__.py +4 -0
  121. tccli/services/ig/ig_client.py +195 -0
  122. tccli/services/ig/v20210518/api.json +83 -0
  123. tccli/services/ig/v20210518/examples.json +13 -0
  124. tccli/services/ioa/ioa_client.py +53 -0
  125. tccli/services/ioa/v20220601/api.json +662 -413
  126. tccli/services/ioa/v20220601/examples.json +24 -10
  127. tccli/services/iotexplorer/v20190423/api.json +33 -13
  128. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  129. tccli/services/iotvideo/iotvideo_client.py +106 -0
  130. tccli/services/iotvideo/v20191126/api.json +256 -24
  131. tccli/services/iotvideo/v20191126/examples.json +19 -3
  132. tccli/services/iotvideo/v20201215/api.json +1 -1
  133. tccli/services/iotvideo/v20201215/examples.json +1 -1
  134. tccli/services/iotvideo/v20211125/api.json +1 -1
  135. tccli/services/iotvideo/v20211125/examples.json +2 -2
  136. tccli/services/iss/iss_client.py +69 -122
  137. tccli/services/iss/v20230517/api.json +10 -54
  138. tccli/services/iss/v20230517/examples.json +0 -14
  139. tccli/services/kms/v20190118/api.json +301 -268
  140. tccli/services/kms/v20190118/examples.json +45 -51
  141. tccli/services/lcic/lcic_client.py +159 -0
  142. tccli/services/lcic/v20220817/api.json +273 -1
  143. tccli/services/lcic/v20220817/examples.json +24 -0
  144. tccli/services/lighthouse/v20200324/api.json +56 -0
  145. tccli/services/live/live_client.py +159 -0
  146. tccli/services/live/v20180801/api.json +244 -0
  147. tccli/services/live/v20180801/examples.json +24 -0
  148. tccli/services/lke/v20231130/api.json +17 -17
  149. tccli/services/lke/v20231130/examples.json +19 -25
  150. tccli/services/mariadb/v20170312/api.json +7 -7
  151. tccli/services/market/v20191010/api.json +3 -3
  152. tccli/services/market/v20191010/examples.json +2 -2
  153. tccli/services/mmps/v20200710/api.json +47 -47
  154. tccli/services/mmps/v20200710/examples.json +3 -3
  155. tccli/services/mongodb/v20190725/api.json +4 -4
  156. tccli/services/monitor/v20180724/api.json +46 -19
  157. tccli/services/mps/v20190612/api.json +282 -5
  158. tccli/services/mps/v20190612/examples.json +25 -1
  159. tccli/services/mqtt/v20240516/api.json +2 -2
  160. tccli/services/mrs/v20200910/api.json +72 -34
  161. tccli/services/mrs/v20200910/examples.json +2 -2
  162. tccli/services/ms/v20180408/api.json +535 -506
  163. tccli/services/ms/v20180408/examples.json +25 -25
  164. tccli/services/oceanus/v20190422/api.json +130 -0
  165. tccli/services/ocr/ocr_client.py +232 -20
  166. tccli/services/ocr/v20181119/api.json +2265 -760
  167. tccli/services/ocr/v20181119/examples.json +200 -180
  168. tccli/services/omics/v20221128/api.json +614 -553
  169. tccli/services/omics/v20221128/examples.json +9 -9
  170. tccli/services/organization/v20210331/api.json +13 -4
  171. tccli/services/organization/v20210331/examples.json +2 -2
  172. tccli/services/partners/v20180321/api.json +244 -234
  173. tccli/services/partners/v20180321/examples.json +19 -19
  174. tccli/services/privatedns/privatedns_client.py +428 -4
  175. tccli/services/privatedns/v20201028/api.json +815 -11
  176. tccli/services/privatedns/v20201028/examples.json +64 -0
  177. tccli/services/pts/v20210728/api.json +18 -0
  178. tccli/services/pts/v20210728/examples.json +1 -1
  179. tccli/services/rce/rce_client.py +53 -0
  180. tccli/services/rce/v20201103/api.json +146 -0
  181. tccli/services/rce/v20201103/examples.json +8 -0
  182. tccli/services/redis/v20180412/api.json +42 -42
  183. tccli/services/redis/v20180412/examples.json +19 -19
  184. tccli/services/rum/v20210622/api.json +9 -0
  185. tccli/services/scf/v20180416/api.json +15 -15
  186. tccli/services/scf/v20180416/examples.json +1 -1
  187. tccli/services/smop/v20201203/api.json +46 -42
  188. tccli/services/smop/v20201203/examples.json +2 -2
  189. tccli/services/soe/v20180724/api.json +10 -10
  190. tccli/services/sqlserver/v20180328/api.json +21 -8
  191. tccli/services/sqlserver/v20180328/examples.json +5 -5
  192. tccli/services/ssl/v20191205/api.json +97 -4
  193. tccli/services/ssm/v20190923/api.json +292 -231
  194. tccli/services/ssm/v20190923/examples.json +42 -42
  195. tccli/services/tat/v20201028/api.json +97 -97
  196. tccli/services/tat/v20201028/examples.json +20 -26
  197. tccli/services/tchd/v20230306/api.json +5 -5
  198. tccli/services/tchd/v20230306/examples.json +3 -3
  199. tccli/services/tcr/v20190924/api.json +1 -1
  200. tccli/services/tcr/v20190924/examples.json +1 -1
  201. tccli/services/tcss/v20201101/api.json +1973 -1426
  202. tccli/services/tcss/v20201101/examples.json +346 -364
  203. tccli/services/tdmq/v20200217/api.json +539 -401
  204. tccli/services/tdmq/v20200217/examples.json +104 -104
  205. tccli/services/tds/v20220801/api.json +4 -4
  206. tccli/services/tem/v20210701/api.json +287 -271
  207. tccli/services/tem/v20210701/examples.json +59 -59
  208. tccli/services/teo/v20220901/api.json +37 -9
  209. tccli/services/teo/v20220901/examples.json +13 -7
  210. tccli/services/thpc/v20230321/api.json +5 -5
  211. tccli/services/tke/tke_client.py +217 -58
  212. tccli/services/tke/v20180525/api.json +36 -27
  213. tccli/services/tke/v20180525/examples.json +1 -1
  214. tccli/services/tke/v20220501/api.json +176 -0
  215. tccli/services/tke/v20220501/examples.json +24 -0
  216. tccli/services/tmt/v20180321/api.json +38 -8
  217. tccli/services/trp/v20210515/api.json +86 -74
  218. tccli/services/trp/v20210515/examples.json +65 -65
  219. tccli/services/trro/v20220325/api.json +72 -71
  220. tccli/services/trro/v20220325/examples.json +8 -8
  221. tccli/services/trtc/trtc_client.py +8 -61
  222. tccli/services/trtc/v20190722/api.json +72 -30
  223. tccli/services/trtc/v20190722/examples.json +3 -11
  224. tccli/services/tse/tse_client.py +110 -4
  225. tccli/services/tse/v20201207/api.json +122 -7
  226. tccli/services/tse/v20201207/examples.json +25 -9
  227. tccli/services/vclm/v20240523/api.json +225 -82
  228. tccli/services/vclm/v20240523/examples.json +13 -19
  229. tccli/services/vod/v20180717/api.json +431 -4
  230. tccli/services/vod/v20180717/examples.json +25 -5
  231. tccli/services/vod/v20240718/api.json +11 -11
  232. tccli/services/vod/v20240718/examples.json +4 -4
  233. tccli/services/vod/vod_client.py +53 -0
  234. tccli/services/vpc/v20170312/api.json +1090 -862
  235. tccli/services/vpc/v20170312/examples.json +74 -66
  236. tccli/services/vpc/vpc_client.py +61 -8
  237. tccli/services/waf/v20180125/api.json +2540 -2177
  238. tccli/services/waf/v20180125/examples.json +216 -284
  239. tccli/services/waf/waf_client.py +172 -119
  240. tccli/services/wav/v20210129/api.json +48 -48
  241. tccli/services/wav/v20210129/examples.json +4 -4
  242. tccli/services/wedata/v20210820/api.json +909 -25
  243. tccli/services/wedata/v20210820/examples.json +28 -4
  244. tccli/services/wedata/wedata_client.py +159 -0
  245. tccli/services/weilingwith/v20230427/api.json +6 -6
  246. tccli/services/weilingwith/v20230427/examples.json +3 -3
  247. tccli/sso.py +229 -0
  248. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
  249. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
  250. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  251. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  252. {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -1525,58 +1525,6 @@ def doStopWebRecord(args, parsed_globals):
1525
1525
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1526
1526
 
1527
1527
 
1528
- def doControlAIConversation(args, parsed_globals):
1529
- g_param = parse_global_arg(parsed_globals)
1530
-
1531
- if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
1532
- cred = credential.CVMRoleCredential()
1533
- elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
1534
- cred = credential.STSAssumeRoleCredential(
1535
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
1536
- g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
1537
- )
1538
- 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):
1539
- cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
1540
- else:
1541
- cred = credential.Credential(
1542
- g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
1543
- )
1544
- http_profile = HttpProfile(
1545
- reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
1546
- reqMethod="POST",
1547
- endpoint=g_param[OptionsDefine.Endpoint],
1548
- proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
1549
- )
1550
- profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
1551
- if g_param[OptionsDefine.Language]:
1552
- profile.language = g_param[OptionsDefine.Language]
1553
- mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
1554
- client = mod.TrtcClient(cred, g_param[OptionsDefine.Region], profile)
1555
- client._sdkVersion += ("_CLI_" + __version__)
1556
- models = MODELS_MAP[g_param[OptionsDefine.Version]]
1557
- model = models.ControlAIConversationRequest()
1558
- model.from_json_string(json.dumps(args))
1559
- start_time = time.time()
1560
- while True:
1561
- rsp = client.ControlAIConversation(model)
1562
- result = rsp.to_json_string()
1563
- try:
1564
- json_obj = json.loads(result)
1565
- except TypeError as e:
1566
- json_obj = json.loads(result.decode('utf-8')) # python3.3
1567
- if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
1568
- break
1569
- cur_time = time.time()
1570
- if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
1571
- raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
1572
- (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
1573
- search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
1574
- else:
1575
- print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
1576
- time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
1577
- FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1578
-
1579
-
1580
1528
  def doCreateCloudRecording(args, parsed_globals):
1581
1529
  g_param = parse_global_arg(parsed_globals)
1582
1530
 
@@ -1889,7 +1837,7 @@ def doStopMCUMixTranscodeByStrRoomId(args, parsed_globals):
1889
1837
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1890
1838
 
1891
1839
 
1892
- def doSummarizeTranscription(args, parsed_globals):
1840
+ def doStopStreamIngest(args, parsed_globals):
1893
1841
  g_param = parse_global_arg(parsed_globals)
1894
1842
 
1895
1843
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1918,11 +1866,11 @@ def doSummarizeTranscription(args, parsed_globals):
1918
1866
  client = mod.TrtcClient(cred, g_param[OptionsDefine.Region], profile)
1919
1867
  client._sdkVersion += ("_CLI_" + __version__)
1920
1868
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1921
- model = models.SummarizeTranscriptionRequest()
1869
+ model = models.StopStreamIngestRequest()
1922
1870
  model.from_json_string(json.dumps(args))
1923
1871
  start_time = time.time()
1924
1872
  while True:
1925
- rsp = client.SummarizeTranscription(model)
1873
+ rsp = client.StopStreamIngest(model)
1926
1874
  result = rsp.to_json_string()
1927
1875
  try:
1928
1876
  json_obj = json.loads(result)
@@ -2721,7 +2669,7 @@ def doDescribeTRTCMarketQualityData(args, parsed_globals):
2721
2669
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
2722
2670
 
2723
2671
 
2724
- def doStopStreamIngest(args, parsed_globals):
2672
+ def doControlAIConversation(args, parsed_globals):
2725
2673
  g_param = parse_global_arg(parsed_globals)
2726
2674
 
2727
2675
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -2750,11 +2698,11 @@ def doStopStreamIngest(args, parsed_globals):
2750
2698
  client = mod.TrtcClient(cred, g_param[OptionsDefine.Region], profile)
2751
2699
  client._sdkVersion += ("_CLI_" + __version__)
2752
2700
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
2753
- model = models.StopStreamIngestRequest()
2701
+ model = models.ControlAIConversationRequest()
2754
2702
  model.from_json_string(json.dumps(args))
2755
2703
  start_time = time.time()
2756
2704
  while True:
2757
- rsp = client.StopStreamIngest(model)
2705
+ rsp = client.ControlAIConversation(model)
2758
2706
  result = rsp.to_json_string()
2759
2707
  try:
2760
2708
  json_obj = json.loads(result)
@@ -2969,14 +2917,13 @@ ACTION_MAP = {
2969
2917
  "StartAITranscription": doStartAITranscription,
2970
2918
  "DescribeTRTCMarketScaleData": doDescribeTRTCMarketScaleData,
2971
2919
  "StopWebRecord": doStopWebRecord,
2972
- "ControlAIConversation": doControlAIConversation,
2973
2920
  "CreateCloudRecording": doCreateCloudRecording,
2974
2921
  "DescribeScaleInfo": doDescribeScaleInfo,
2975
2922
  "DescribeRelayUsage": doDescribeRelayUsage,
2976
2923
  "DescribeUserInfo": doDescribeUserInfo,
2977
2924
  "DescribeTrtcMcuTranscodeTime": doDescribeTrtcMcuTranscodeTime,
2978
2925
  "StopMCUMixTranscodeByStrRoomId": doStopMCUMixTranscodeByStrRoomId,
2979
- "SummarizeTranscription": doSummarizeTranscription,
2926
+ "StopStreamIngest": doStopStreamIngest,
2980
2927
  "StartMCUMixTranscodeByStrRoomId": doStartMCUMixTranscodeByStrRoomId,
2981
2928
  "RemoveUserByStrRoomId": doRemoveUserByStrRoomId,
2982
2929
  "DescribeMixTranscodingUsage": doDescribeMixTranscodingUsage,
@@ -2992,7 +2939,7 @@ ACTION_MAP = {
2992
2939
  "DescribeWebRecord": doDescribeWebRecord,
2993
2940
  "DescribePicture": doDescribePicture,
2994
2941
  "DescribeTRTCMarketQualityData": doDescribeTRTCMarketQualityData,
2995
- "StopStreamIngest": doStopStreamIngest,
2942
+ "ControlAIConversation": doControlAIConversation,
2996
2943
  "StopPublishCdnStream": doStopPublishCdnStream,
2997
2944
  "DescribeUnusualEvent": doDescribeUnusualEvent,
2998
2945
  "DescribeTRTCRealTimeScaleMetricData": doDescribeTRTCRealTimeScaleMetricData,
@@ -364,13 +364,6 @@
364
364
  "output": "StopWebRecordResponse",
365
365
  "status": "online"
366
366
  },
367
- "SummarizeTranscription": {
368
- "document": "接口不再支持\n\n对转录的文本进行总结。",
369
- "input": "SummarizeTranscriptionRequest",
370
- "name": "总结转录文本",
371
- "output": "SummarizeTranscriptionResponse",
372
- "status": "deprecated"
373
- },
374
367
  "UpdateAIConversation": {
375
368
  "document": "更新AIConversation参数",
376
369
  "input": "UpdateAIConversationRequest",
@@ -1481,13 +1474,13 @@
1481
1474
  },
1482
1475
  {
1483
1476
  "disabled": false,
1484
- "document": "录制文件信息。\n注意:此字段可能返回 null,表示取不到有效值。",
1485
- "example": "",
1477
+ "document": "录制文件信息。",
1478
+ "example": "[{\"FileName\": \"1400188366_555666__UserId_s_amVmZjM.__UserId_e_main_audiovideo.m3u8\",\"UserId\": \"jeff3\",\"TrackType\": \"audio_video\",\"BeginTimeStamp\": 1730087526709}]",
1486
1479
  "member": "StorageFile",
1487
1480
  "name": "StorageFileList",
1488
1481
  "output_required": true,
1489
1482
  "type": "list",
1490
- "value_allowed_null": true
1483
+ "value_allowed_null": false
1491
1484
  },
1492
1485
  {
1493
1486
  "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
@@ -3122,6 +3115,34 @@
3122
3115
  ],
3123
3116
  "type": "object"
3124
3117
  },
3118
+ "EmulateMobileParams": {
3119
+ "document": "渲染移动模式参数,不渲染移动模式时,请勿设置此参数。",
3120
+ "members": [
3121
+ {
3122
+ "disabled": false,
3123
+ "document": "移动设备类型,\n0: 手机\n1: 平板\n注意:此字段可能返回 null,表示取不到有效值。",
3124
+ "example": "0",
3125
+ "member": "uint64",
3126
+ "name": "MobileDeviceType",
3127
+ "output_required": false,
3128
+ "required": false,
3129
+ "type": "int",
3130
+ "value_allowed_null": true
3131
+ },
3132
+ {
3133
+ "disabled": false,
3134
+ "document": "屏幕方向,\n0: 竖屏,\n1: 横屏\n注意:此字段可能返回 null,表示取不到有效值。",
3135
+ "example": "0",
3136
+ "member": "uint64",
3137
+ "name": "ScreenOrientation",
3138
+ "output_required": false,
3139
+ "required": false,
3140
+ "type": "int",
3141
+ "value_allowed_null": true
3142
+ }
3143
+ ],
3144
+ "usage": "both"
3145
+ },
3125
3146
  "EncodeParams": {
3126
3147
  "document": "MCU混流输出流编码参数",
3127
3148
  "members": [
@@ -5532,6 +5553,17 @@
5532
5553
  "type": "list",
5533
5554
  "value_allowed_null": false
5534
5555
  },
5556
+ {
5557
+ "disabled": false,
5558
+ "document": "自定义参数,联系后台使用\n",
5559
+ "example": "无",
5560
+ "member": "string",
5561
+ "name": "CustomParam",
5562
+ "output_required": false,
5563
+ "required": false,
5564
+ "type": "string",
5565
+ "value_allowed_null": false
5566
+ },
5535
5567
  {
5536
5568
  "disabled": false,
5537
5569
  "document": "语音识别vad的时间,范围为240-2000,默认为1000,单位为ms。更小的值会让语音识别分句更快。",
@@ -5920,7 +5952,7 @@
5920
5952
  {
5921
5953
  "disabled": false,
5922
5954
  "document": "TTS配置,为JSON字符串,腾讯云TTS示例如下:\n <pre>{ <br> &emsp; \"AppId\": 您的应用ID, // Integer 必填<br> &emsp; \"TTSType\": \"TTS类型\", // String TTS类型, 固定为\"tencent\"<br> &emsp; \"SecretId\": \"您的密钥ID\", // String 必填<br> &emsp; \"SecretKey\": \"您的密钥Key\", // String 必填<br> &emsp; \"VoiceType\": 101001, // Integer 必填,音色 ID,包括标准音色与精品音色,精品音色拟真度更高,价格不同于标准音色,请参见<a href=\"https://cloud.tencent.com/document/product/1073/34112\">语音合成计费概述</a>。完整的音色 ID 列表请参见<a href=\"https://cloud.tencent.com/document/product/1073/92668#55924b56-1a73-4663-a7a1-a8dd82d6e823\">语音合成音色列表</a>。<br> &emsp; \"Speed\": 1.25, // Integer 非必填,语速,范围:[-2,6],分别对应不同语速: -2: 代表0.6倍 -1: 代表0.8倍 0: 代表1.0倍(默认) 1: 代表1.2倍 2: 代表1.5倍 6: 代表2.5倍 如果需要更细化的语速,可以保留小数点后 2 位,例如0.5/1.25/2.81等。 参数值与实际语速转换,可参考 <a href=\"https://sdk-1300466766.cos.ap-shanghai.myqcloud.com/sample/speed_sample.tar.gz\">语速转换</a><br> &emsp; \"Volume\": 5, // Integer 非必填,音量大小,范围:[0,10],分别对应11个等级的音量,默认值为0,代表正常音量。<br> &emsp; \"PrimaryLanguage\": \"zh-CN\" // String 非必填,主要语言<br> &emsp;}</pre>",
5923
- "example": "{\\\"TTSType\\\": \\\"tencent\\\", \\\"AppId\\\": 136666666, \\\"SecretId\\\": \\\"AKIxxxx\\\", \\\"SecretKey\\\": \\\"Hlxxxxx\\\", \\\"VoiceType\\\": 1008, \\\"Speed\\\": 1}",
5955
+ "example": "{\\\"TTSType\\\": \\\"tencent\\\", \\\"AppId\\\": 136666666, \\\"SecretId\\\": \\\"xxxxxxx\\\", \\\"SecretKey\\\": \\\"xxxxxxx\\\", \\\"VoiceType\\\": 1008, \\\"Speed\\\": 1}",
5924
5956
  "member": "string",
5925
5957
  "name": "TTSConfig",
5926
5958
  "required": false,
@@ -6441,6 +6473,15 @@
6441
6473
  "name": "MaxDuration",
6442
6474
  "required": false,
6443
6475
  "type": "int"
6476
+ },
6477
+ {
6478
+ "disabled": false,
6479
+ "document": "音量,取值范围[0, 100],默认100,表示原音量。",
6480
+ "example": "90",
6481
+ "member": "uint64",
6482
+ "name": "Volume",
6483
+ "required": false,
6484
+ "type": "int"
6444
6485
  }
6445
6486
  ],
6446
6487
  "type": "object"
@@ -6541,6 +6582,15 @@
6541
6582
  "name": "ReadyTimeout",
6542
6583
  "required": false,
6543
6584
  "type": "int"
6585
+ },
6586
+ {
6587
+ "disabled": false,
6588
+ "document": "渲染移动模式参数;不准备渲染移动模式页面时,请勿设置此参数。",
6589
+ "example": "无",
6590
+ "member": "EmulateMobileParams",
6591
+ "name": "EmulateMobileParams",
6592
+ "required": false,
6593
+ "type": "object"
6544
6594
  }
6545
6595
  ],
6546
6596
  "type": "object"
@@ -6927,23 +6977,6 @@
6927
6977
  ],
6928
6978
  "usage": "in"
6929
6979
  },
6930
- "SummarizeTranscriptionRequest": {
6931
- "document": "SummarizeTranscription请求参数结构体",
6932
- "members": [],
6933
- "type": "object"
6934
- },
6935
- "SummarizeTranscriptionResponse": {
6936
- "document": "SummarizeTranscription返回参数结构体",
6937
- "members": [
6938
- {
6939
- "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
6940
- "member": "string",
6941
- "name": "RequestId",
6942
- "type": "string"
6943
- }
6944
- ],
6945
- "type": "object"
6946
- },
6947
6980
  "TRTCDataResp": {
6948
6981
  "document": "TRTC数据大盘/实时监控 API接口数据出参",
6949
6982
  "members": [
@@ -7456,12 +7489,21 @@
7456
7489
  },
7457
7490
  {
7458
7491
  "disabled": false,
7459
- "document": "源流URL【必填】。",
7492
+ "document": "源流URL",
7460
7493
  "example": "https://a.b/test.mp4",
7461
7494
  "member": "string",
7462
7495
  "name": "StreamUrl",
7463
- "required": true,
7496
+ "required": false,
7464
7497
  "type": "string"
7498
+ },
7499
+ {
7500
+ "disabled": false,
7501
+ "document": "音量,取值范围[0, 100],默认100,表示原音量。",
7502
+ "example": "90",
7503
+ "member": "uint64",
7504
+ "name": "Volume",
7505
+ "required": false,
7506
+ "type": "int"
7465
7507
  }
7466
7508
  ],
7467
7509
  "type": "object"
@@ -67,9 +67,9 @@
67
67
  "DescribeCloudRecording": [
68
68
  {
69
69
  "document": "",
70
- "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRecording\n<公共请求参数>\n\n{\n \"TaskId\": \"abc\",\n \"SdkAppId\": 1234\n}",
71
- "output": "{\n \"Response\": {\n \"Status\": \"InProgress\",\n \"StorageFileList\": [],\n \"RequestId\": \"aaa\",\n \"TaskId\": \"abc\"\n }\n}",
72
- "title": "查询SdkAppId 为 1234 TaskId 为 xx 的录制状态。"
70
+ "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeCloudRecording\n<公共请求参数>\n\n{\n \"TaskId\": \"m9-bVVU7nhKM5X3GsED6KNGVG********ndibWSn631uT6pbhE4PcPDSsggE.\",\n \"SdkAppId\": 1400188366\n}",
71
+ "output": "{\n \"Response\": {\n \"Status\": \"InProgress\",\n \"StorageFileList\": [],\n \"RequestId\": \"c4536bd1-c3ea-4e84-b2dd-a8491d2057e2\",\n \"TaskId\": \"m9-bVVU7nhKM5X3GsED6KNGVG********ndibWSn631uT6pbhE4PcPDSsggE.\"\n }\n}",
72
+ "title": "查询SdkAppId 为 1400***366 TaskId 为 m9-bVVU7nhKM5X3GsED6KNGVG********ndibWSn631uT6pbhE4PcPDSsggE.的录制状态。"
73
73
  }
74
74
  ],
75
75
  "DescribeMixTranscodingUsage": [
@@ -446,14 +446,6 @@
446
446
  "title": "停止页面录制任务"
447
447
  }
448
448
  ],
449
- "SummarizeTranscription": [
450
- {
451
- "document": "",
452
- "input": "POST / HTTP/1.1\nHost: trtc.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SummarizeTranscription\n<公共请求参数>\n\n{}",
453
- "output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
454
- "title": "样例"
455
- }
456
- ],
457
449
  "UpdateAIConversation": [
458
450
  {
459
451
  "document": "在对话过程中,想要动态更新tts的音色",
@@ -173,6 +173,58 @@ def doDescribeCloudNativeAPIGatewayServiceRateLimit(args, parsed_globals):
173
173
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
174
174
 
175
175
 
176
+ def doModifyCloudNativeAPIGatewayCertificate(args, parsed_globals):
177
+ g_param = parse_global_arg(parsed_globals)
178
+
179
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
180
+ cred = credential.CVMRoleCredential()
181
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
182
+ cred = credential.STSAssumeRoleCredential(
183
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
184
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
185
+ )
186
+ 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):
187
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
188
+ else:
189
+ cred = credential.Credential(
190
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
191
+ )
192
+ http_profile = HttpProfile(
193
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
194
+ reqMethod="POST",
195
+ endpoint=g_param[OptionsDefine.Endpoint],
196
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
197
+ )
198
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
199
+ if g_param[OptionsDefine.Language]:
200
+ profile.language = g_param[OptionsDefine.Language]
201
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
202
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
203
+ client._sdkVersion += ("_CLI_" + __version__)
204
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
205
+ model = models.ModifyCloudNativeAPIGatewayCertificateRequest()
206
+ model.from_json_string(json.dumps(args))
207
+ start_time = time.time()
208
+ while True:
209
+ rsp = client.ModifyCloudNativeAPIGatewayCertificate(model)
210
+ result = rsp.to_json_string()
211
+ try:
212
+ json_obj = json.loads(result)
213
+ except TypeError as e:
214
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
215
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
216
+ break
217
+ cur_time = time.time()
218
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
219
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
220
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
221
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
222
+ else:
223
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
224
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
225
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
226
+
227
+
176
228
  def doDeleteCloudNativeAPIGatewayPublicNetwork(args, parsed_globals):
177
229
  g_param = parse_global_arg(parsed_globals)
178
230
 
@@ -1629,7 +1681,7 @@ def doModifyAutoScalerResourceStrategy(args, parsed_globals):
1629
1681
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
1630
1682
 
1631
1683
 
1632
- def doModifyCloudNativeAPIGatewayCertificate(args, parsed_globals):
1684
+ def doDescribeInstanceTagInfos(args, parsed_globals):
1633
1685
  g_param = parse_global_arg(parsed_globals)
1634
1686
 
1635
1687
  if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
@@ -1658,11 +1710,11 @@ def doModifyCloudNativeAPIGatewayCertificate(args, parsed_globals):
1658
1710
  client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
1659
1711
  client._sdkVersion += ("_CLI_" + __version__)
1660
1712
  models = MODELS_MAP[g_param[OptionsDefine.Version]]
1661
- model = models.ModifyCloudNativeAPIGatewayCertificateRequest()
1713
+ model = models.DescribeInstanceTagInfosRequest()
1662
1714
  model.from_json_string(json.dumps(args))
1663
1715
  start_time = time.time()
1664
1716
  while True:
1665
- rsp = client.ModifyCloudNativeAPIGatewayCertificate(model)
1717
+ rsp = client.DescribeInstanceTagInfos(model)
1666
1718
  result = rsp.to_json_string()
1667
1719
  try:
1668
1720
  json_obj = json.loads(result)
@@ -3189,6 +3241,58 @@ def doDeleteGovernanceServices(args, parsed_globals):
3189
3241
  FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3190
3242
 
3191
3243
 
3244
+ def doRestartSREInstance(args, parsed_globals):
3245
+ g_param = parse_global_arg(parsed_globals)
3246
+
3247
+ if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
3248
+ cred = credential.CVMRoleCredential()
3249
+ elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
3250
+ cred = credential.STSAssumeRoleCredential(
3251
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
3252
+ g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
3253
+ )
3254
+ 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):
3255
+ cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
3256
+ else:
3257
+ cred = credential.Credential(
3258
+ g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
3259
+ )
3260
+ http_profile = HttpProfile(
3261
+ reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
3262
+ reqMethod="POST",
3263
+ endpoint=g_param[OptionsDefine.Endpoint],
3264
+ proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
3265
+ )
3266
+ profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
3267
+ if g_param[OptionsDefine.Language]:
3268
+ profile.language = g_param[OptionsDefine.Language]
3269
+ mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
3270
+ client = mod.TseClient(cred, g_param[OptionsDefine.Region], profile)
3271
+ client._sdkVersion += ("_CLI_" + __version__)
3272
+ models = MODELS_MAP[g_param[OptionsDefine.Version]]
3273
+ model = models.RestartSREInstanceRequest()
3274
+ model.from_json_string(json.dumps(args))
3275
+ start_time = time.time()
3276
+ while True:
3277
+ rsp = client.RestartSREInstance(model)
3278
+ result = rsp.to_json_string()
3279
+ try:
3280
+ json_obj = json.loads(result)
3281
+ except TypeError as e:
3282
+ json_obj = json.loads(result.decode('utf-8')) # python3.3
3283
+ if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
3284
+ break
3285
+ cur_time = time.time()
3286
+ if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
3287
+ raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
3288
+ (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
3289
+ search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
3290
+ else:
3291
+ print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
3292
+ time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
3293
+ FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
3294
+
3295
+
3192
3296
  def doCreateGovernanceAlias(args, parsed_globals):
3193
3297
  g_param = parse_global_arg(parsed_globals)
3194
3298
 
@@ -5855,6 +5959,7 @@ ACTION_MAP = {
5855
5959
  "DescribeOneCloudNativeAPIGatewayService": doDescribeOneCloudNativeAPIGatewayService,
5856
5960
  "UpdateEngineInternetAccess": doUpdateEngineInternetAccess,
5857
5961
  "DescribeCloudNativeAPIGatewayServiceRateLimit": doDescribeCloudNativeAPIGatewayServiceRateLimit,
5962
+ "ModifyCloudNativeAPIGatewayCertificate": doModifyCloudNativeAPIGatewayCertificate,
5858
5963
  "DeleteCloudNativeAPIGatewayPublicNetwork": doDeleteCloudNativeAPIGatewayPublicNetwork,
5859
5964
  "DescribeGovernanceAliases": doDescribeGovernanceAliases,
5860
5965
  "DeleteConfigFileGroup": doDeleteConfigFileGroup,
@@ -5883,7 +5988,7 @@ ACTION_MAP = {
5883
5988
  "DescribeZookeeperServerInterfaces": doDescribeZookeeperServerInterfaces,
5884
5989
  "DeleteConfigFiles": doDeleteConfigFiles,
5885
5990
  "ModifyAutoScalerResourceStrategy": doModifyAutoScalerResourceStrategy,
5886
- "ModifyCloudNativeAPIGatewayCertificate": doModifyCloudNativeAPIGatewayCertificate,
5991
+ "DescribeInstanceTagInfos": doDescribeInstanceTagInfos,
5887
5992
  "PublishConfigFiles": doPublishConfigFiles,
5888
5993
  "DescribeConfigFile": doDescribeConfigFile,
5889
5994
  "DescribeConfigFileReleases": doDescribeConfigFileReleases,
@@ -5913,6 +6018,7 @@ ACTION_MAP = {
5913
6018
  "DescribeCloudNativeAPIGatewayCertificates": doDescribeCloudNativeAPIGatewayCertificates,
5914
6019
  "ModifyCloudNativeAPIGatewayServiceRateLimit": doModifyCloudNativeAPIGatewayServiceRateLimit,
5915
6020
  "DeleteGovernanceServices": doDeleteGovernanceServices,
6021
+ "RestartSREInstance": doRestartSREInstance,
5916
6022
  "CreateGovernanceAlias": doCreateGovernanceAlias,
5917
6023
  "DescribeGovernanceInstances": doDescribeGovernanceInstances,
5918
6024
  "DescribeGovernanceServices": doDescribeGovernanceServices,