tccli 3.0.1215.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 (282) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/argparser.py +1 -1
  3. tccli/command.py +2 -2
  4. tccli/configure.py +46 -1
  5. tccli/credentials.py +25 -0
  6. tccli/main.py +6 -2
  7. tccli/plugins/sso/__init__.py +61 -0
  8. tccli/plugins/sso/configs.py +4 -0
  9. tccli/plugins/sso/configure.py +45 -0
  10. tccli/plugins/sso/login.py +144 -0
  11. tccli/plugins/sso/logout.py +21 -0
  12. tccli/plugins/sso/terminal.py +161 -0
  13. tccli/plugins/sso/texts.py +40 -0
  14. tccli/services/__init__.py +6 -3
  15. tccli/services/acp/v20220105/api.json +7 -7
  16. tccli/services/acp/v20220105/examples.json +2 -2
  17. tccli/services/aiart/v20221229/api.json +29 -29
  18. tccli/services/aiart/v20221229/examples.json +8 -8
  19. tccli/services/apigateway/v20180808/api.json +18 -17
  20. tccli/services/apigateway/v20180808/examples.json +12 -12
  21. tccli/services/apm/v20210622/api.json +118 -4
  22. tccli/services/asr/v20190614/api.json +21 -20
  23. tccli/services/asr/v20190614/examples.json +13 -13
  24. tccli/services/autoscaling/v20180419/api.json +371 -309
  25. tccli/services/autoscaling/v20180419/examples.json +17 -17
  26. tccli/services/batch/v20170312/api.json +7 -7
  27. tccli/services/bda/v20200324/api.json +39 -31
  28. tccli/services/bda/v20200324/examples.json +9 -9
  29. tccli/services/bh/__init__.py +4 -0
  30. tccli/services/bh/bh_client.py +3428 -0
  31. tccli/services/bh/v20230418/api.json +8180 -0
  32. tccli/services/bh/v20230418/examples.json +519 -0
  33. tccli/services/bi/v20220105/api.json +80 -4
  34. tccli/services/bi/v20220105/examples.json +1 -1
  35. tccli/services/billing/billing_client.py +53 -0
  36. tccli/services/billing/v20180709/api.json +330 -24
  37. tccli/services/billing/v20180709/examples.json +8 -0
  38. tccli/services/bsca/v20210811/api.json +223 -18
  39. tccli/services/bsca/v20210811/examples.json +4 -4
  40. tccli/services/btoe/v20210514/api.json +4 -4
  41. tccli/services/btoe/v20210514/examples.json +2 -2
  42. tccli/services/ca/v20230228/api.json +60 -0
  43. tccli/services/cam/v20190116/api.json +11 -11
  44. tccli/services/cat/v20180409/api.json +9 -0
  45. tccli/services/cbs/v20170312/api.json +200 -188
  46. tccli/services/cbs/v20170312/examples.json +4 -4
  47. tccli/services/ccc/ccc_client.py +53 -0
  48. tccli/services/ccc/v20200210/api.json +541 -325
  49. tccli/services/ccc/v20200210/examples.json +26 -18
  50. tccli/services/cdb/cdb_client.py +13 -13
  51. tccli/services/cdb/v20170320/api.json +308 -274
  52. tccli/services/cdb/v20170320/examples.json +38 -38
  53. tccli/services/cdc/v20201214/api.json +283 -270
  54. tccli/services/cdc/v20201214/examples.json +26 -26
  55. tccli/services/cdn/v20180606/api.json +5 -3
  56. tccli/services/cds/v20180420/api.json +82 -76
  57. tccli/services/cds/v20180420/examples.json +1 -1
  58. tccli/services/cdwch/v20200915/api.json +1 -1
  59. tccli/services/cdwdoris/v20211228/api.json +54 -4
  60. tccli/services/cdz/v20221123/api.json +41 -5
  61. tccli/services/cfg/v20210820/api.json +31 -0
  62. tccli/services/cfs/v20190719/api.json +89 -1
  63. tccli/services/cfs/v20190719/examples.json +1 -1
  64. tccli/services/cfw/cfw_client.py +0 -53
  65. tccli/services/cfw/v20190904/api.json +1895 -2011
  66. tccli/services/cfw/v20190904/examples.json +175 -171
  67. tccli/services/ciam/v20220331/api.json +316 -315
  68. tccli/services/ciam/v20220331/examples.json +49 -49
  69. tccli/services/ckafka/v20190819/api.json +104 -75
  70. tccli/services/clb/v20180317/api.json +48 -26
  71. tccli/services/clb/v20180317/examples.json +1 -1
  72. tccli/services/cloudapp/v20220530/api.json +5 -1
  73. tccli/services/cloudaudit/cloudaudit_client.py +30 -30
  74. tccli/services/cloudaudit/v20190319/api.json +254 -211
  75. tccli/services/cloudaudit/v20190319/examples.json +19 -19
  76. tccli/services/cloudstudio/v20230508/api.json +38 -37
  77. tccli/services/cloudstudio/v20230508/examples.json +4 -4
  78. tccli/services/cls/cls_client.py +216 -4
  79. tccli/services/cls/v20201016/api.json +935 -147
  80. tccli/services/cls/v20201016/examples.json +43 -5
  81. tccli/services/csip/v20221121/api.json +2566 -2386
  82. tccli/services/csip/v20221121/examples.json +108 -108
  83. tccli/services/cvm/v20170312/api.json +191 -112
  84. tccli/services/cvm/v20170312/examples.json +2 -2
  85. tccli/services/cwp/cwp_client.py +4 -110
  86. tccli/services/cwp/v20180228/api.json +6498 -6252
  87. tccli/services/cwp/v20180228/examples.json +372 -412
  88. tccli/services/cynosdb/v20190107/api.json +170 -110
  89. tccli/services/cynosdb/v20190107/examples.json +91 -91
  90. tccli/services/dasb/v20191018/api.json +859 -637
  91. tccli/services/dasb/v20191018/examples.json +101 -101
  92. tccli/services/dcdb/dcdb_client.py +114 -61
  93. tccli/services/dcdb/v20180411/api.json +141 -7
  94. tccli/services/dcdb/v20180411/examples.json +32 -0
  95. tccli/services/dlc/v20210125/api.json +21 -11
  96. tccli/services/dnspod/dnspod_client.py +417 -46
  97. tccli/services/dnspod/v20210323/api.json +751 -30
  98. tccli/services/dnspod/v20210323/examples.json +62 -0
  99. tccli/services/domain/v20180808/api.json +3 -3
  100. tccli/services/domain/v20180808/examples.json +3 -3
  101. tccli/services/dts/v20211206/api.json +4 -4
  102. tccli/services/eb/v20210416/api.json +15 -15
  103. tccli/services/eb/v20210416/examples.json +1 -1
  104. tccli/services/ecm/v20190719/api.json +2 -2
  105. tccli/services/emr/v20190103/api.json +339 -114
  106. tccli/services/emr/v20190103/examples.json +64 -82
  107. tccli/services/es/es_client.py +249 -37
  108. tccli/services/es/v20180416/api.json +550 -0
  109. tccli/services/es/v20180416/examples.json +33 -1
  110. tccli/services/ess/ess_client.py +53 -0
  111. tccli/services/ess/v20201111/api.json +192 -38
  112. tccli/services/ess/v20201111/examples.json +35 -9
  113. tccli/services/essbasic/essbasic_client.py +106 -0
  114. tccli/services/essbasic/v20210526/api.json +287 -60
  115. tccli/services/essbasic/v20210526/examples.json +58 -18
  116. tccli/services/facefusion/v20181201/api.json +47 -45
  117. tccli/services/facefusion/v20181201/examples.json +2 -2
  118. tccli/services/facefusion/v20220927/api.json +54 -48
  119. tccli/services/facefusion/v20220927/examples.json +5 -5
  120. tccli/services/faceid/v20180301/api.json +497 -496
  121. tccli/services/faceid/v20180301/examples.json +219 -101
  122. tccli/services/fmu/v20191213/api.json +59 -67
  123. tccli/services/fmu/v20191213/examples.json +22 -22
  124. tccli/services/ft/v20200304/api.json +53 -57
  125. tccli/services/ft/v20200304/examples.json +14 -14
  126. tccli/services/gaap/v20180529/api.json +44 -26
  127. tccli/services/gaap/v20180529/examples.json +24 -30
  128. tccli/services/gme/v20180711/api.json +21 -11
  129. tccli/services/gme/v20180711/examples.json +1 -1
  130. tccli/services/hai/v20230812/api.json +116 -9
  131. tccli/services/hai/v20230812/examples.json +4 -4
  132. tccli/services/hunyuan/hunyuan_client.py +436 -12
  133. tccli/services/hunyuan/v20230901/api.json +1482 -118
  134. tccli/services/hunyuan/v20230901/examples.json +82 -18
  135. tccli/services/iai/v20180301/api.json +23 -19
  136. tccli/services/iai/v20180301/examples.json +2 -2
  137. tccli/services/iai/v20200303/api.json +530 -511
  138. tccli/services/iai/v20200303/examples.json +116 -86
  139. tccli/services/ig/__init__.py +4 -0
  140. tccli/services/ig/ig_client.py +195 -0
  141. tccli/services/ig/v20210518/api.json +83 -0
  142. tccli/services/ig/v20210518/examples.json +13 -0
  143. tccli/services/ioa/ioa_client.py +53 -0
  144. tccli/services/ioa/v20220601/api.json +662 -413
  145. tccli/services/ioa/v20220601/examples.json +24 -10
  146. tccli/services/iotexplorer/v20190423/api.json +73 -13
  147. tccli/services/iotexplorer/v20190423/examples.json +3 -3
  148. tccli/services/iotvideo/iotvideo_client.py +106 -0
  149. tccli/services/iotvideo/v20191126/api.json +256 -24
  150. tccli/services/iotvideo/v20191126/examples.json +19 -3
  151. tccli/services/iotvideo/v20201215/api.json +1 -1
  152. tccli/services/iotvideo/v20201215/examples.json +1 -1
  153. tccli/services/iotvideo/v20211125/api.json +1 -1
  154. tccli/services/iotvideo/v20211125/examples.json +2 -2
  155. tccli/services/iss/iss_client.py +69 -122
  156. tccli/services/iss/v20230517/api.json +10 -54
  157. tccli/services/iss/v20230517/examples.json +0 -14
  158. tccli/services/kms/v20190118/api.json +301 -268
  159. tccli/services/kms/v20190118/examples.json +45 -51
  160. tccli/services/lcic/lcic_client.py +159 -0
  161. tccli/services/lcic/v20220817/api.json +273 -1
  162. tccli/services/lcic/v20220817/examples.json +24 -0
  163. tccli/services/lighthouse/v20200324/api.json +56 -0
  164. tccli/services/live/live_client.py +159 -0
  165. tccli/services/live/v20180801/api.json +279 -9
  166. tccli/services/live/v20180801/examples.json +24 -0
  167. tccli/services/lke/v20231130/api.json +17 -17
  168. tccli/services/lke/v20231130/examples.json +19 -25
  169. tccli/services/mariadb/v20170312/api.json +7 -7
  170. tccli/services/market/v20191010/api.json +3 -3
  171. tccli/services/market/v20191010/examples.json +2 -2
  172. tccli/services/mmps/v20200710/api.json +47 -47
  173. tccli/services/mmps/v20200710/examples.json +3 -3
  174. tccli/services/mongodb/v20190725/api.json +10 -12
  175. tccli/services/monitor/v20180724/api.json +46 -19
  176. tccli/services/mps/v20190612/api.json +282 -5
  177. tccli/services/mps/v20190612/examples.json +25 -1
  178. tccli/services/mqtt/v20240516/api.json +2 -2
  179. tccli/services/mrs/v20200910/api.json +72 -34
  180. tccli/services/mrs/v20200910/examples.json +2 -2
  181. tccli/services/ms/v20180408/api.json +535 -506
  182. tccli/services/ms/v20180408/examples.json +25 -25
  183. tccli/services/oceanus/v20190422/api.json +130 -0
  184. tccli/services/ocr/ocr_client.py +232 -20
  185. tccli/services/ocr/v20181119/api.json +2263 -758
  186. tccli/services/ocr/v20181119/examples.json +200 -180
  187. tccli/services/omics/v20221128/api.json +614 -553
  188. tccli/services/omics/v20221128/examples.json +9 -9
  189. tccli/services/organization/organization_client.py +352 -34
  190. tccli/services/organization/v20210331/api.json +464 -4
  191. tccli/services/organization/v20210331/examples.json +49 -1
  192. tccli/services/partners/v20180321/api.json +244 -234
  193. tccli/services/partners/v20180321/examples.json +19 -19
  194. tccli/services/privatedns/privatedns_client.py +428 -4
  195. tccli/services/privatedns/v20201028/api.json +815 -11
  196. tccli/services/privatedns/v20201028/examples.json +64 -0
  197. tccli/services/pts/v20210728/api.json +18 -0
  198. tccli/services/pts/v20210728/examples.json +1 -1
  199. tccli/services/rce/rce_client.py +53 -0
  200. tccli/services/rce/v20201103/api.json +146 -0
  201. tccli/services/rce/v20201103/examples.json +8 -0
  202. tccli/services/redis/v20180412/api.json +42 -42
  203. tccli/services/redis/v20180412/examples.json +19 -19
  204. tccli/services/region/v20220627/api.json +1 -1
  205. tccli/services/rum/v20210622/api.json +9 -0
  206. tccli/services/scf/scf_client.py +269 -4
  207. tccli/services/scf/v20180416/api.json +569 -15
  208. tccli/services/scf/v20180416/examples.json +47 -1
  209. tccli/services/smop/v20201203/api.json +46 -42
  210. tccli/services/smop/v20201203/examples.json +2 -2
  211. tccli/services/soe/v20180724/api.json +10 -10
  212. tccli/services/sqlserver/v20180328/api.json +21 -8
  213. tccli/services/sqlserver/v20180328/examples.json +5 -5
  214. tccli/services/ssl/v20191205/api.json +98 -5
  215. tccli/services/ssm/v20190923/api.json +292 -231
  216. tccli/services/ssm/v20190923/examples.json +42 -42
  217. tccli/services/tat/v20201028/api.json +124 -122
  218. tccli/services/tat/v20201028/examples.json +24 -30
  219. tccli/services/tchd/v20230306/api.json +5 -5
  220. tccli/services/tchd/v20230306/examples.json +3 -3
  221. tccli/services/tcr/v20190924/api.json +1 -1
  222. tccli/services/tcr/v20190924/examples.json +1 -1
  223. tccli/services/tcss/v20201101/api.json +1984 -1437
  224. tccli/services/tcss/v20201101/examples.json +350 -368
  225. tccli/services/tdmq/v20200217/api.json +603 -464
  226. tccli/services/tdmq/v20200217/examples.json +105 -105
  227. tccli/services/tds/v20220801/api.json +4 -4
  228. tccli/services/tem/v20210701/api.json +429 -372
  229. tccli/services/tem/v20210701/examples.json +85 -85
  230. tccli/services/teo/teo_client.py +277 -12
  231. tccli/services/teo/v20220901/api.json +1029 -124
  232. tccli/services/teo/v20220901/examples.json +84 -8
  233. tccli/services/thpc/v20230321/api.json +5 -5
  234. tccli/services/tke/tke_client.py +270 -58
  235. tccli/services/tke/v20180525/api.json +79 -27
  236. tccli/services/tke/v20180525/examples.json +9 -1
  237. tccli/services/tke/v20220501/api.json +176 -0
  238. tccli/services/tke/v20220501/examples.json +24 -0
  239. tccli/services/tms/tms_client.py +4 -57
  240. tccli/services/tms/v20201229/api.json +0 -354
  241. tccli/services/tms/v20201229/examples.json +0 -8
  242. tccli/services/tmt/v20180321/api.json +38 -8
  243. tccli/services/trp/v20210515/api.json +86 -74
  244. tccli/services/trp/v20210515/examples.json +65 -65
  245. tccli/services/trro/v20220325/api.json +72 -71
  246. tccli/services/trro/v20220325/examples.json +8 -8
  247. tccli/services/trtc/trtc_client.py +8 -61
  248. tccli/services/trtc/v20190722/api.json +293 -52
  249. tccli/services/trtc/v20190722/examples.json +3 -11
  250. tccli/services/tse/tse_client.py +110 -4
  251. tccli/services/tse/v20201207/api.json +122 -7
  252. tccli/services/tse/v20201207/examples.json +25 -9
  253. tccli/services/vclm/v20240523/api.json +225 -82
  254. tccli/services/vclm/v20240523/examples.json +13 -19
  255. tccli/services/vod/v20180717/api.json +431 -4
  256. tccli/services/vod/v20180717/examples.json +25 -5
  257. tccli/services/vod/v20240718/api.json +11 -11
  258. tccli/services/vod/v20240718/examples.json +4 -4
  259. tccli/services/vod/vod_client.py +53 -0
  260. tccli/services/vpc/v20170312/api.json +1195 -892
  261. tccli/services/vpc/v20170312/examples.json +84 -68
  262. tccli/services/vpc/vpc_client.py +168 -62
  263. tccli/services/waf/v20180125/api.json +2611 -2187
  264. tccli/services/waf/v20180125/examples.json +224 -284
  265. tccli/services/waf/waf_client.py +225 -119
  266. tccli/services/wav/v20210129/api.json +48 -48
  267. tccli/services/wav/v20210129/examples.json +4 -4
  268. tccli/services/wedata/v20210820/api.json +1595 -25
  269. tccli/services/wedata/v20210820/examples.json +44 -4
  270. tccli/services/wedata/wedata_client.py +265 -0
  271. tccli/services/weilingwith/v20230427/api.json +6 -6
  272. tccli/services/weilingwith/v20230427/examples.json +3 -3
  273. tccli/sso.py +229 -0
  274. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +6 -2
  275. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +278 -265
  276. tccli/services/cr/__init__.py +0 -4
  277. tccli/services/cr/cr_client.py +0 -1626
  278. tccli/services/cr/v20180321/api.json +0 -2829
  279. tccli/services/cr/v20180321/examples.json +0 -235
  280. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
  281. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
  282. {tccli-3.0.1215.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -14,6 +14,13 @@
14
14
  "output": "CreateAliasResponse",
15
15
  "status": "online"
16
16
  },
17
+ "CreateCustomDomain": {
18
+ "document": "创建自定义域名",
19
+ "input": "CreateCustomDomainRequest",
20
+ "name": "创建云函数自定义域名",
21
+ "output": "CreateCustomDomainResponse",
22
+ "status": "online"
23
+ },
17
24
  "CreateFunction": {
18
25
  "document": "该接口根据传入参数创建新的函数。",
19
26
  "input": "CreateFunctionRequest",
@@ -42,6 +49,13 @@
42
49
  "output": "DeleteAliasResponse",
43
50
  "status": "online"
44
51
  },
52
+ "DeleteCustomDomain": {
53
+ "document": "删除自定义域名",
54
+ "input": "DeleteCustomDomainRequest",
55
+ "name": "删除云函数自定义域名",
56
+ "output": "DeleteCustomDomainResponse",
57
+ "status": "online"
58
+ },
45
59
  "DeleteFunction": {
46
60
  "document": "该接口根据传入参数删除函数。",
47
61
  "input": "DeleteFunctionRequest",
@@ -105,6 +119,13 @@
105
119
  "output": "GetAsyncEventStatusResponse",
106
120
  "status": "online"
107
121
  },
122
+ "GetCustomDomain": {
123
+ "document": "查看云函数自定义域名详情",
124
+ "input": "GetCustomDomainRequest",
125
+ "name": "查看云函数自定义域名详情",
126
+ "output": "GetCustomDomainResponse",
127
+ "status": "online"
128
+ },
108
129
  "GetFunction": {
109
130
  "document": "该接口获取某个函数的详细信息,包括名称、代码、处理方法、关联触发器和超时时间等字段。",
110
131
  "input": "GetFunctionRequest",
@@ -189,6 +210,13 @@
189
210
  "output": "ListAsyncEventsResponse",
190
211
  "status": "online"
191
212
  },
213
+ "ListCustomDomains": {
214
+ "document": "遍历域名列表信息",
215
+ "input": "ListCustomDomainsRequest",
216
+ "name": "获取云函数自定义域名列表",
217
+ "output": "ListCustomDomainsResponse",
218
+ "status": "online"
219
+ },
192
220
  "ListFunctions": {
193
221
  "document": "该接口根据传入的查询参数返回相关函数信息。",
194
222
  "input": "ListFunctionsRequest",
@@ -280,6 +308,13 @@
280
308
  "output": "UpdateAliasResponse",
281
309
  "status": "online"
282
310
  },
311
+ "UpdateCustomDomain": {
312
+ "document": "更新自定义域名相关配置",
313
+ "input": "UpdateCustomDomainRequest",
314
+ "name": "更新云函数自定义域名",
315
+ "output": "UpdateCustomDomainResponse",
316
+ "status": "online"
317
+ },
283
318
  "UpdateFunctionCode": {
284
319
  "document": "该接口根据传入参数更新函数代码。",
285
320
  "input": "UpdateFunctionCodeRequest",
@@ -550,6 +585,23 @@
550
585
  ],
551
586
  "usage": "both"
552
587
  },
588
+ "CertConf": {
589
+ "document": "证书配置",
590
+ "members": [
591
+ {
592
+ "disabled": false,
593
+ "document": "ssl证书ID\n注意:此字段可能返回 null,表示取不到有效值。",
594
+ "example": "无",
595
+ "member": "string",
596
+ "name": "CertificateId",
597
+ "output_required": false,
598
+ "required": false,
599
+ "type": "string",
600
+ "value_allowed_null": true
601
+ }
602
+ ],
603
+ "usage": "both"
604
+ },
553
605
  "CfsConfig": {
554
606
  "document": "文件系统(cfs)配置描述",
555
607
  "members": [
@@ -989,6 +1041,69 @@
989
1041
  ],
990
1042
  "type": "object"
991
1043
  },
1044
+ "CreateCustomDomainRequest": {
1045
+ "document": "CreateCustomDomain请求参数结构体",
1046
+ "members": [
1047
+ {
1048
+ "disabled": false,
1049
+ "document": "域名,不支持泛域名",
1050
+ "example": "www.xxx.com",
1051
+ "member": "string",
1052
+ "name": "Domain",
1053
+ "required": true,
1054
+ "type": "string"
1055
+ },
1056
+ {
1057
+ "disabled": false,
1058
+ "document": "协议,取值范围:HTTP, HTTPS, HTTP&HTTPS",
1059
+ "example": "无",
1060
+ "member": "string",
1061
+ "name": "Protocol",
1062
+ "required": true,
1063
+ "type": "string"
1064
+ },
1065
+ {
1066
+ "disabled": false,
1067
+ "document": "路由配置",
1068
+ "example": "无",
1069
+ "member": "EndpointsConf",
1070
+ "name": "EndpointsConfig",
1071
+ "required": true,
1072
+ "type": "list"
1073
+ },
1074
+ {
1075
+ "disabled": false,
1076
+ "document": "证书配置信息,HTTPS协议必穿",
1077
+ "example": "无",
1078
+ "member": "CertConf",
1079
+ "name": "CertConfig",
1080
+ "required": false,
1081
+ "type": "object"
1082
+ },
1083
+ {
1084
+ "disabled": false,
1085
+ "document": "web 应用防火墙配置",
1086
+ "example": "无",
1087
+ "member": "WafConf",
1088
+ "name": "WafConfig",
1089
+ "required": false,
1090
+ "type": "object"
1091
+ }
1092
+ ],
1093
+ "type": "object"
1094
+ },
1095
+ "CreateCustomDomainResponse": {
1096
+ "document": "CreateCustomDomain返回参数结构体",
1097
+ "members": [
1098
+ {
1099
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1100
+ "member": "string",
1101
+ "name": "RequestId",
1102
+ "type": "string"
1103
+ }
1104
+ ],
1105
+ "type": "object"
1106
+ },
992
1107
  "CreateFunctionRequest": {
993
1108
  "document": "CreateFunction请求参数结构体",
994
1109
  "members": [
@@ -1521,6 +1636,33 @@
1521
1636
  ],
1522
1637
  "type": "object"
1523
1638
  },
1639
+ "DeleteCustomDomainRequest": {
1640
+ "document": "DeleteCustomDomain请求参数结构体",
1641
+ "members": [
1642
+ {
1643
+ "disabled": false,
1644
+ "document": "域名",
1645
+ "example": "无",
1646
+ "member": "string",
1647
+ "name": "Domain",
1648
+ "required": false,
1649
+ "type": "string"
1650
+ }
1651
+ ],
1652
+ "type": "object"
1653
+ },
1654
+ "DeleteCustomDomainResponse": {
1655
+ "document": "DeleteCustomDomain返回参数结构体",
1656
+ "members": [
1657
+ {
1658
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
1659
+ "member": "string",
1660
+ "name": "RequestId",
1661
+ "type": "string"
1662
+ }
1663
+ ],
1664
+ "type": "object"
1665
+ },
1524
1666
  "DeleteFunctionRequest": {
1525
1667
  "document": "DeleteFunction请求参数结构体",
1526
1668
  "members": [
@@ -1782,6 +1924,67 @@
1782
1924
  ],
1783
1925
  "type": "object"
1784
1926
  },
1927
+ "DomainInfo": {
1928
+ "document": "云函数自定义域名详情",
1929
+ "members": [
1930
+ {
1931
+ "disabled": false,
1932
+ "document": "域名,不支持泛域名",
1933
+ "example": "无",
1934
+ "member": "string",
1935
+ "name": "Domain",
1936
+ "output_required": false,
1937
+ "required": true,
1938
+ "type": "string",
1939
+ "value_allowed_null": false
1940
+ },
1941
+ {
1942
+ "disabled": false,
1943
+ "document": "协议,取值范围:HTTP, HTTPS, HTTP&HTTPS",
1944
+ "example": "无",
1945
+ "member": "string",
1946
+ "name": "Protocol",
1947
+ "output_required": false,
1948
+ "required": false,
1949
+ "type": "string",
1950
+ "value_allowed_null": false
1951
+ },
1952
+ {
1953
+ "disabled": false,
1954
+ "document": "路由配置信息\n注意:此字段可能返回 null,表示取不到有效值。",
1955
+ "example": "无",
1956
+ "member": "EndpointsConf",
1957
+ "name": "EndpointsConfig",
1958
+ "output_required": false,
1959
+ "required": false,
1960
+ "type": "list",
1961
+ "value_allowed_null": true
1962
+ },
1963
+ {
1964
+ "disabled": false,
1965
+ "document": "证书配置信息,HTTPS协议必传路由配置\n注意:此字段可能返回 null,表示取不到有效值。",
1966
+ "example": "无",
1967
+ "member": "CertConf",
1968
+ "name": "CertConfig",
1969
+ "output_required": false,
1970
+ "required": false,
1971
+ "type": "object",
1972
+ "value_allowed_null": true
1973
+ },
1974
+ {
1975
+ "disabled": false,
1976
+ "document": "web 应用防火墙配置\n注意:此字段可能返回 null,表示取不到有效值。",
1977
+ "example": "无",
1978
+ "member": "WafConf",
1979
+ "name": "WafConfig",
1980
+ "output_required": false,
1981
+ "required": false,
1982
+ "type": "object",
1983
+ "value_allowed_null": true
1984
+ }
1985
+ ],
1986
+ "usage": "both"
1987
+ },
1785
1988
  "EipConfigIn": {
1786
1989
  "document": "公网访问固定ip配置",
1787
1990
  "members": [
@@ -1850,6 +2053,67 @@
1850
2053
  ],
1851
2054
  "usage": "out"
1852
2055
  },
2056
+ "EndpointsConf": {
2057
+ "document": "后端路由配置信息",
2058
+ "members": [
2059
+ {
2060
+ "disabled": false,
2061
+ "document": "函数命名空间\n注意:此字段可能返回 null,表示取不到有效值。",
2062
+ "example": "无",
2063
+ "member": "string",
2064
+ "name": "Namespace",
2065
+ "output_required": false,
2066
+ "required": true,
2067
+ "type": "string",
2068
+ "value_allowed_null": true
2069
+ },
2070
+ {
2071
+ "disabled": false,
2072
+ "document": "函数名\n注意:此字段可能返回 null,表示取不到有效值。",
2073
+ "example": "无",
2074
+ "member": "string",
2075
+ "name": "FunctionName",
2076
+ "output_required": false,
2077
+ "required": true,
2078
+ "type": "string",
2079
+ "value_allowed_null": true
2080
+ },
2081
+ {
2082
+ "disabled": false,
2083
+ "document": "函数别名或版本\n注意:此字段可能返回 null,表示取不到有效值。",
2084
+ "example": "无",
2085
+ "member": "string",
2086
+ "name": "Qualifier",
2087
+ "output_required": false,
2088
+ "required": true,
2089
+ "type": "string",
2090
+ "value_allowed_null": true
2091
+ },
2092
+ {
2093
+ "disabled": false,
2094
+ "document": "路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*\"\n注意:此字段可能返回 null,表示取不到有效值。",
2095
+ "example": "无",
2096
+ "member": "string",
2097
+ "name": "PathMatch",
2098
+ "output_required": false,
2099
+ "required": true,
2100
+ "type": "string",
2101
+ "value_allowed_null": true
2102
+ },
2103
+ {
2104
+ "disabled": false,
2105
+ "document": "路径重写策略\n注意:此字段可能返回 null,表示取不到有效值。",
2106
+ "example": "无",
2107
+ "member": "PathRewriteRule",
2108
+ "name": "PathRewrite",
2109
+ "output_required": false,
2110
+ "required": false,
2111
+ "type": "list",
2112
+ "value_allowed_null": true
2113
+ }
2114
+ ],
2115
+ "usage": "both"
2116
+ },
1853
2117
  "Environment": {
1854
2118
  "document": "函数的环境变量参数",
1855
2119
  "members": [
@@ -2067,7 +2331,7 @@
2067
2331
  "example": "无",
2068
2332
  "member": "string",
2069
2333
  "name": "FunctionName",
2070
- "required": true,
2334
+ "output_required": true,
2071
2335
  "type": "string",
2072
2336
  "value_allowed_null": false
2073
2337
  },
@@ -2077,7 +2341,7 @@
2077
2341
  "example": "无",
2078
2342
  "member": "string",
2079
2343
  "name": "RetMsg",
2080
- "required": true,
2344
+ "output_required": true,
2081
2345
  "type": "string",
2082
2346
  "value_allowed_null": false
2083
2347
  },
@@ -2087,7 +2351,7 @@
2087
2351
  "example": "无",
2088
2352
  "member": "string",
2089
2353
  "name": "RequestId",
2090
- "required": true,
2354
+ "output_required": true,
2091
2355
  "type": "string",
2092
2356
  "value_allowed_null": false
2093
2357
  },
@@ -2097,17 +2361,17 @@
2097
2361
  "example": "无",
2098
2362
  "member": "string",
2099
2363
  "name": "StartTime",
2100
- "required": true,
2364
+ "output_required": true,
2101
2365
  "type": "string",
2102
2366
  "value_allowed_null": false
2103
2367
  },
2104
2368
  {
2105
2369
  "disabled": false,
2106
- "document": "函数执行结果,如果是 0 表示执行成功,其他值表示失败",
2370
+ "document": "函数执行结果,如果是 0 表示执行成功,2表示函数运行中,3表示函数执行中断,其他值表示失败",
2107
2371
  "example": "无",
2108
2372
  "member": "int64",
2109
2373
  "name": "RetCode",
2110
- "required": true,
2374
+ "output_required": true,
2111
2375
  "type": "int",
2112
2376
  "value_allowed_null": false
2113
2377
  },
@@ -2117,7 +2381,7 @@
2117
2381
  "example": "无",
2118
2382
  "member": "int64",
2119
2383
  "name": "InvokeFinished",
2120
- "required": true,
2384
+ "output_required": true,
2121
2385
  "type": "int",
2122
2386
  "value_allowed_null": false
2123
2387
  },
@@ -2127,7 +2391,7 @@
2127
2391
  "example": "无",
2128
2392
  "member": "float",
2129
2393
  "name": "Duration",
2130
- "required": true,
2394
+ "output_required": true,
2131
2395
  "type": "float",
2132
2396
  "value_allowed_null": false
2133
2397
  },
@@ -2137,7 +2401,7 @@
2137
2401
  "example": "无",
2138
2402
  "member": "int64",
2139
2403
  "name": "BillDuration",
2140
- "required": true,
2404
+ "output_required": true,
2141
2405
  "type": "int",
2142
2406
  "value_allowed_null": false
2143
2407
  },
@@ -2147,7 +2411,7 @@
2147
2411
  "example": "无",
2148
2412
  "member": "int64",
2149
2413
  "name": "MemUsage",
2150
- "required": true,
2414
+ "output_required": true,
2151
2415
  "type": "int",
2152
2416
  "value_allowed_null": false
2153
2417
  },
@@ -2157,7 +2421,7 @@
2157
2421
  "example": "无",
2158
2422
  "member": "string",
2159
2423
  "name": "Log",
2160
- "required": true,
2424
+ "output_required": true,
2161
2425
  "type": "string",
2162
2426
  "value_allowed_null": false
2163
2427
  },
@@ -2167,7 +2431,7 @@
2167
2431
  "example": "无",
2168
2432
  "member": "string",
2169
2433
  "name": "Level",
2170
- "required": true,
2434
+ "output_required": true,
2171
2435
  "type": "string",
2172
2436
  "value_allowed_null": false
2173
2437
  },
@@ -2177,7 +2441,7 @@
2177
2441
  "example": "无",
2178
2442
  "member": "string",
2179
2443
  "name": "Source",
2180
- "required": true,
2444
+ "output_required": true,
2181
2445
  "type": "string",
2182
2446
  "value_allowed_null": false
2183
2447
  },
@@ -2187,7 +2451,7 @@
2187
2451
  "example": "无",
2188
2452
  "member": "uint64",
2189
2453
  "name": "RetryNum",
2190
- "required": true,
2454
+ "output_required": true,
2191
2455
  "type": "int",
2192
2456
  "value_allowed_null": false
2193
2457
  }
@@ -2428,6 +2692,83 @@
2428
2692
  ],
2429
2693
  "type": "object"
2430
2694
  },
2695
+ "GetCustomDomainRequest": {
2696
+ "document": "GetCustomDomain请求参数结构体",
2697
+ "members": [
2698
+ {
2699
+ "disabled": false,
2700
+ "document": "域名",
2701
+ "example": "无",
2702
+ "member": "string",
2703
+ "name": "Domain",
2704
+ "required": false,
2705
+ "type": "string"
2706
+ }
2707
+ ],
2708
+ "type": "object"
2709
+ },
2710
+ "GetCustomDomainResponse": {
2711
+ "document": "GetCustomDomain返回参数结构体",
2712
+ "members": [
2713
+ {
2714
+ "disabled": false,
2715
+ "document": "域名",
2716
+ "example": "无",
2717
+ "member": "string",
2718
+ "name": "Domain",
2719
+ "output_required": false,
2720
+ "type": "string",
2721
+ "value_allowed_null": false
2722
+ },
2723
+ {
2724
+ "disabled": false,
2725
+ "document": "协议",
2726
+ "example": "无",
2727
+ "member": "string",
2728
+ "name": "Protocol",
2729
+ "output_required": false,
2730
+ "type": "string",
2731
+ "value_allowed_null": false
2732
+ },
2733
+ {
2734
+ "disabled": false,
2735
+ "document": "路由配置",
2736
+ "example": "无",
2737
+ "member": "EndpointsConf",
2738
+ "name": "EndpointsConfig",
2739
+ "output_required": false,
2740
+ "type": "list",
2741
+ "value_allowed_null": false
2742
+ },
2743
+ {
2744
+ "disabled": false,
2745
+ "document": "证书配置信息",
2746
+ "example": "无",
2747
+ "member": "CertConf",
2748
+ "name": "CertConfig",
2749
+ "output_required": false,
2750
+ "type": "object",
2751
+ "value_allowed_null": false
2752
+ },
2753
+ {
2754
+ "disabled": false,
2755
+ "document": "web 应用防火墙配置",
2756
+ "example": "无",
2757
+ "member": "WafConf",
2758
+ "name": "WafConfig",
2759
+ "output_required": false,
2760
+ "type": "object",
2761
+ "value_allowed_null": false
2762
+ },
2763
+ {
2764
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
2765
+ "member": "string",
2766
+ "name": "RequestId",
2767
+ "type": "string"
2768
+ }
2769
+ ],
2770
+ "type": "object"
2771
+ },
2431
2772
  "GetFunctionAddressRequest": {
2432
2773
  "document": "GetFunctionAddress请求参数结构体",
2433
2774
  "members": [
@@ -3294,7 +3635,7 @@
3294
3635
  },
3295
3636
  {
3296
3637
  "disabled": false,
3297
- "document": "版本的描述",
3638
+ "document": "版本的描述信息",
3298
3639
  "example": "demo",
3299
3640
  "member": "string",
3300
3641
  "name": "Description",
@@ -4342,6 +4683,89 @@
4342
4683
  ],
4343
4684
  "type": "object"
4344
4685
  },
4686
+ "ListCustomDomainsRequest": {
4687
+ "document": "ListCustomDomains请求参数结构体",
4688
+ "members": [
4689
+ {
4690
+ "disabled": false,
4691
+ "document": "偏移量,默认0",
4692
+ "example": "无",
4693
+ "member": "uint64",
4694
+ "name": "Offset",
4695
+ "required": false,
4696
+ "type": "int"
4697
+ },
4698
+ {
4699
+ "disabled": false,
4700
+ "document": "容量,默认20",
4701
+ "example": "无",
4702
+ "member": "uint64",
4703
+ "name": "Limit",
4704
+ "required": false,
4705
+ "type": "int"
4706
+ },
4707
+ {
4708
+ "disabled": false,
4709
+ "document": "取值范围:AddTime,ModTime, 默认AddTime",
4710
+ "example": "无",
4711
+ "member": "string",
4712
+ "name": "OrderBy",
4713
+ "required": false,
4714
+ "type": "string"
4715
+ },
4716
+ {
4717
+ "disabled": false,
4718
+ "document": "取值范围:DESC, ASC 默认DESC",
4719
+ "example": "无",
4720
+ "member": "string",
4721
+ "name": "Order",
4722
+ "required": false,
4723
+ "type": "string"
4724
+ },
4725
+ {
4726
+ "disabled": false,
4727
+ "document": "过滤条件",
4728
+ "example": "无",
4729
+ "member": "Filter",
4730
+ "name": "Filters",
4731
+ "required": false,
4732
+ "type": "list"
4733
+ }
4734
+ ],
4735
+ "type": "object"
4736
+ },
4737
+ "ListCustomDomainsResponse": {
4738
+ "document": "ListCustomDomains返回参数结构体",
4739
+ "members": [
4740
+ {
4741
+ "disabled": false,
4742
+ "document": "总数",
4743
+ "example": "1",
4744
+ "member": "uint64",
4745
+ "name": "Total",
4746
+ "output_required": false,
4747
+ "type": "int",
4748
+ "value_allowed_null": false
4749
+ },
4750
+ {
4751
+ "disabled": false,
4752
+ "document": "域名列表信息\n注意:此字段可能返回 null,表示取不到有效值。",
4753
+ "example": "无",
4754
+ "member": "DomainInfo",
4755
+ "name": "Domains",
4756
+ "output_required": false,
4757
+ "type": "list",
4758
+ "value_allowed_null": true
4759
+ },
4760
+ {
4761
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
4762
+ "member": "string",
4763
+ "name": "RequestId",
4764
+ "type": "string"
4765
+ }
4766
+ ],
4767
+ "type": "object"
4768
+ },
4345
4769
  "ListFunctionsRequest": {
4346
4770
  "document": "ListFunctions请求参数结构体",
4347
4771
  "members": [
@@ -5255,6 +5679,45 @@
5255
5679
  ],
5256
5680
  "usage": "out"
5257
5681
  },
5682
+ "PathRewriteRule": {
5683
+ "document": "路径路由重写规则",
5684
+ "members": [
5685
+ {
5686
+ "disabled": false,
5687
+ "document": "需要重路由的路径,取值规范:/,/*,/xxx,/xxx/a,/xxx/*\n注意:此字段可能返回 null,表示取不到有效值。",
5688
+ "example": "/aa/",
5689
+ "member": "string",
5690
+ "name": "Path",
5691
+ "output_required": false,
5692
+ "required": true,
5693
+ "type": "string",
5694
+ "value_allowed_null": true
5695
+ },
5696
+ {
5697
+ "disabled": false,
5698
+ "document": "匹配规,取值范围: WildcardRules 通配符匹配, ExactRules 精确匹配\n注意:此字段可能返回 null,表示取不到有效值。",
5699
+ "example": "ExactRules",
5700
+ "member": "string",
5701
+ "name": "Type",
5702
+ "output_required": false,
5703
+ "required": true,
5704
+ "type": "string",
5705
+ "value_allowed_null": true
5706
+ },
5707
+ {
5708
+ "disabled": false,
5709
+ "document": "替换值:比如/, /$\n注意:此字段可能返回 null,表示取不到有效值。",
5710
+ "example": "/",
5711
+ "member": "string",
5712
+ "name": "Rewrite",
5713
+ "output_required": false,
5714
+ "required": true,
5715
+ "type": "string",
5716
+ "value_allowed_null": true
5717
+ }
5718
+ ],
5719
+ "usage": "both"
5720
+ },
5258
5721
  "ProtocolParams": {
5259
5722
  "document": "HTTP函数支持其他访问协议的参数",
5260
5723
  "members": [
@@ -6600,6 +7063,69 @@
6600
7063
  ],
6601
7064
  "type": "object"
6602
7065
  },
7066
+ "UpdateCustomDomainRequest": {
7067
+ "document": "UpdateCustomDomain请求参数结构体",
7068
+ "members": [
7069
+ {
7070
+ "disabled": false,
7071
+ "document": "自定义域名",
7072
+ "example": "无",
7073
+ "member": "string",
7074
+ "name": "Domain",
7075
+ "required": true,
7076
+ "type": "string"
7077
+ },
7078
+ {
7079
+ "disabled": false,
7080
+ "document": "协议,取值范围:HTTP, HTTPS, HTTP&HTTPS",
7081
+ "example": "无",
7082
+ "member": "string",
7083
+ "name": "Protocol",
7084
+ "required": false,
7085
+ "type": "string"
7086
+ },
7087
+ {
7088
+ "disabled": false,
7089
+ "document": "证书配置信息,HTTPS协议必穿",
7090
+ "example": "无",
7091
+ "member": "CertConf",
7092
+ "name": "CertConfig",
7093
+ "required": false,
7094
+ "type": "object"
7095
+ },
7096
+ {
7097
+ "disabled": false,
7098
+ "document": "web 应用防火墙配置",
7099
+ "example": "无",
7100
+ "member": "WafConf",
7101
+ "name": "WafConfig",
7102
+ "required": false,
7103
+ "type": "object"
7104
+ },
7105
+ {
7106
+ "disabled": false,
7107
+ "document": "\t路由配置",
7108
+ "example": "无",
7109
+ "member": "EndpointsConf",
7110
+ "name": "EndpointsConfig",
7111
+ "required": false,
7112
+ "type": "list"
7113
+ }
7114
+ ],
7115
+ "type": "object"
7116
+ },
7117
+ "UpdateCustomDomainResponse": {
7118
+ "document": "UpdateCustomDomain返回参数结构体",
7119
+ "members": [
7120
+ {
7121
+ "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
7122
+ "member": "string",
7123
+ "name": "RequestId",
7124
+ "type": "string"
7125
+ }
7126
+ ],
7127
+ "type": "object"
7128
+ },
6603
7129
  "UpdateFunctionCodeRequest": {
6604
7130
  "document": "UpdateFunctionCode请求参数结构体",
6605
7131
  "members": [
@@ -7484,6 +8010,34 @@
7484
8010
  }
7485
8011
  ],
7486
8012
  "usage": "both"
8013
+ },
8014
+ "WafConf": {
8015
+ "document": "web应用防火墙配置信息",
8016
+ "members": [
8017
+ {
8018
+ "disabled": false,
8019
+ "document": "web应用防火墙是否打开, 取值范围:OPEN, CLOSE\n注意:此字段可能返回 null,表示取不到有效值。",
8020
+ "example": "无",
8021
+ "member": "string",
8022
+ "name": "WafOpen",
8023
+ "output_required": false,
8024
+ "required": false,
8025
+ "type": "string",
8026
+ "value_allowed_null": true
8027
+ },
8028
+ {
8029
+ "disabled": false,
8030
+ "document": "web应用防火墙实例ID\n注意:此字段可能返回 null,表示取不到有效值。",
8031
+ "example": "无",
8032
+ "member": "string",
8033
+ "name": "WafInstanceId",
8034
+ "output_required": false,
8035
+ "required": false,
8036
+ "type": "string",
8037
+ "value_allowed_null": true
8038
+ }
8039
+ ],
8040
+ "usage": "both"
7487
8041
  }
7488
8042
  },
7489
8043
  "version": "1.0"