cribl-control-plane 0.0.21__py3-none-any.whl → 0.4.0b23__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 (436) hide show
  1. cribl_control_plane/_hooks/clientcredentials.py +113 -48
  2. cribl_control_plane/_version.py +4 -4
  3. cribl_control_plane/acl.py +225 -0
  4. cribl_control_plane/auth_sdk.py +12 -176
  5. cribl_control_plane/basesdk.py +17 -1
  6. cribl_control_plane/branches.py +351 -0
  7. cribl_control_plane/commits.py +1403 -0
  8. cribl_control_plane/commits_files.py +391 -0
  9. cribl_control_plane/configs_versions.py +201 -0
  10. cribl_control_plane/cribl.py +495 -0
  11. cribl_control_plane/destinations.py +146 -805
  12. cribl_control_plane/destinations_pq.py +379 -0
  13. cribl_control_plane/errors/__init__.py +26 -10
  14. cribl_control_plane/errors/apierror.py +2 -0
  15. cribl_control_plane/errors/criblcontrolplaneerror.py +11 -7
  16. cribl_control_plane/errors/error.py +4 -2
  17. cribl_control_plane/errors/healthserverstatus_error.py +41 -0
  18. cribl_control_plane/errors/no_response_error.py +5 -1
  19. cribl_control_plane/errors/responsevalidationerror.py +2 -0
  20. cribl_control_plane/functions.py +367 -0
  21. cribl_control_plane/groups_configs.py +22 -0
  22. cribl_control_plane/groups_sdk.py +333 -578
  23. cribl_control_plane/health.py +38 -18
  24. cribl_control_plane/hectokens.py +503 -0
  25. cribl_control_plane/httpclient.py +0 -1
  26. cribl_control_plane/{lake.py → lakedatasets.py} +207 -115
  27. cribl_control_plane/models/__init__.py +3644 -5986
  28. cribl_control_plane/models/addhectokenrequest.py +7 -1
  29. cribl_control_plane/models/authtoken.py +5 -1
  30. cribl_control_plane/models/backupssettings_union.py +37 -0
  31. cribl_control_plane/models/{lookupversions.py → branchinfo.py} +4 -4
  32. cribl_control_plane/models/cacheconnection.py +30 -2
  33. cribl_control_plane/models/cacheconnectionbackfillstatus.py +2 -1
  34. cribl_control_plane/models/cloudprovider.py +2 -1
  35. cribl_control_plane/models/collectorazureblob.py +130 -0
  36. cribl_control_plane/models/collectorconf.py +56 -0
  37. cribl_control_plane/models/collectorcribllake.py +27 -0
  38. cribl_control_plane/models/collectordatabase.py +92 -0
  39. cribl_control_plane/models/collectorfilesystem.py +66 -0
  40. cribl_control_plane/models/collectorgooglecloudstorage.py +131 -0
  41. cribl_control_plane/models/collectorhealthcheck.py +269 -0
  42. cribl_control_plane/models/collectorrest.py +340 -0
  43. cribl_control_plane/models/collectors3.py +239 -0
  44. cribl_control_plane/models/collectorscript.py +59 -0
  45. cribl_control_plane/models/collectorsplunk.py +253 -0
  46. cribl_control_plane/models/configgroup.py +67 -11
  47. cribl_control_plane/models/configgroupcloud.py +17 -3
  48. cribl_control_plane/models/countedbranchinfo.py +20 -0
  49. cribl_control_plane/models/countedconfiggroup.py +20 -0
  50. cribl_control_plane/models/countedcribllakedataset.py +20 -0
  51. cribl_control_plane/models/counteddistributedsummary.py +20 -0
  52. cribl_control_plane/models/countedfunctionresponse.py +20 -0
  53. cribl_control_plane/models/countedgitcommitsummary.py +20 -0
  54. cribl_control_plane/models/countedgitcountresult.py +20 -0
  55. cribl_control_plane/models/countedgitdiffresult.py +20 -0
  56. cribl_control_plane/models/countedgitfilesresponse.py +20 -0
  57. cribl_control_plane/models/{getversioninfoop.py → countedgitinfo.py} +2 -6
  58. cribl_control_plane/models/countedgitlogresult.py +20 -0
  59. cribl_control_plane/models/countedgitrevertresult.py +20 -0
  60. cribl_control_plane/models/countedgitshowresult.py +20 -0
  61. cribl_control_plane/models/countedgitstatusresult.py +20 -0
  62. cribl_control_plane/models/{listinputop.py → countedinput.py} +2 -6
  63. cribl_control_plane/models/countedinputsplunkhec.py +20 -0
  64. cribl_control_plane/models/countedjobinfo.py +20 -0
  65. cribl_control_plane/models/countedmasterworkerentry.py +20 -0
  66. cribl_control_plane/models/countednumber.py +19 -0
  67. cribl_control_plane/models/{getversionbranchop.py → countedobject.py} +2 -6
  68. cribl_control_plane/models/{listoutputop.py → countedoutput.py} +2 -6
  69. cribl_control_plane/models/countedoutputsamplesresponse.py +20 -0
  70. cribl_control_plane/models/countedoutputtestresponse.py +20 -0
  71. cribl_control_plane/models/countedpackinfo.py +20 -0
  72. cribl_control_plane/models/{createpacksop.py → countedpackinstallinfo.py} +2 -6
  73. cribl_control_plane/models/{listpipelineop.py → countedpipeline.py} +2 -6
  74. cribl_control_plane/models/{listroutesop.py → countedroutes.py} +2 -6
  75. cribl_control_plane/models/countedstring.py +19 -0
  76. cribl_control_plane/models/countedsystemsettingsconf.py +20 -0
  77. cribl_control_plane/models/countedteamaccesscontrollist.py +20 -0
  78. cribl_control_plane/models/counteduseraccesscontrollist.py +20 -0
  79. cribl_control_plane/models/createauthloginop.py +18 -0
  80. cribl_control_plane/models/createconfiggroupbyproductop.py +46 -0
  81. cribl_control_plane/models/createcribllakedatasetbylakeidop.py +3 -21
  82. cribl_control_plane/models/createinputhectokenbyidop.py +3 -21
  83. cribl_control_plane/models/createoutputtestbyidop.py +3 -22
  84. cribl_control_plane/models/createroutesappendbyidop.py +4 -21
  85. cribl_control_plane/models/createversioncommitop.py +27 -20
  86. cribl_control_plane/models/createversionrevertop.py +7 -23
  87. cribl_control_plane/models/createversionundoop.py +7 -22
  88. cribl_control_plane/models/criblevent.py +15 -0
  89. cribl_control_plane/models/cribllakedataset.py +23 -3
  90. cribl_control_plane/models/cribllakedatasetupdate.py +95 -0
  91. cribl_control_plane/models/currentbranchresult.py +13 -0
  92. cribl_control_plane/models/datasetmetadata.py +18 -2
  93. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +43 -0
  94. cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +5 -24
  95. cribl_control_plane/models/deleteinputbyidop.py +3 -22
  96. cribl_control_plane/models/deleteoutputbyidop.py +3 -22
  97. cribl_control_plane/models/deleteoutputpqbyidop.py +3 -21
  98. cribl_control_plane/models/deletepacksbyidop.py +3 -22
  99. cribl_control_plane/models/deletepipelinebyidop.py +3 -22
  100. cribl_control_plane/models/difffiles.py +130 -0
  101. cribl_control_plane/models/diffline.py +26 -0
  102. cribl_control_plane/models/difflinecontext.py +28 -0
  103. cribl_control_plane/models/difflinedelete.py +25 -0
  104. cribl_control_plane/models/difflineinsert.py +25 -0
  105. cribl_control_plane/models/distributedsummary.py +6 -0
  106. cribl_control_plane/models/functionaggregatemetrics.py +206 -0
  107. cribl_control_plane/models/functionaggregation.py +172 -0
  108. cribl_control_plane/models/functionautotimestamp.py +173 -0
  109. cribl_control_plane/models/functioncef.py +111 -0
  110. cribl_control_plane/models/functionchain.py +75 -0
  111. cribl_control_plane/models/functionclone.py +75 -0
  112. cribl_control_plane/models/functioncode.py +96 -0
  113. cribl_control_plane/models/functioncomment.py +75 -0
  114. cribl_control_plane/models/functiondistinct.py +99 -0
  115. cribl_control_plane/models/functiondnslookup.py +250 -0
  116. cribl_control_plane/models/functiondrop.py +73 -0
  117. cribl_control_plane/models/functiondropdimensions.py +87 -0
  118. cribl_control_plane/models/functiondynamicsampling.py +121 -0
  119. cribl_control_plane/models/functioneval.py +103 -0
  120. cribl_control_plane/models/functioneventbreaker.py +103 -0
  121. cribl_control_plane/models/functioneventstats.py +92 -0
  122. cribl_control_plane/models/functionexternaldata.py +73 -0
  123. cribl_control_plane/models/functionflatten.py +90 -0
  124. cribl_control_plane/models/functionfoldkeys.py +89 -0
  125. cribl_control_plane/models/functiongenstats.py +73 -0
  126. cribl_control_plane/models/functiongeoip.py +120 -0
  127. cribl_control_plane/models/functiongrok.py +95 -0
  128. cribl_control_plane/models/functionhandlebar.py +112 -0
  129. cribl_control_plane/models/functionjoin.py +112 -0
  130. cribl_control_plane/models/functionjsonunroll.py +80 -0
  131. cribl_control_plane/models/functionlakeexport.py +102 -0
  132. cribl_control_plane/models/functionlimit.py +75 -0
  133. cribl_control_plane/models/functionlocalsearchdatatypeparser.py +76 -0
  134. cribl_control_plane/models/functionlocalsearchrulesetrunner.py +97 -0
  135. cribl_control_plane/models/functionlookup.py +148 -0
  136. cribl_control_plane/models/functionmask.py +121 -0
  137. cribl_control_plane/models/functionmvexpand.py +128 -0
  138. cribl_control_plane/models/functionmvpull.py +99 -0
  139. cribl_control_plane/models/functionnotificationpolicies.py +186 -0
  140. cribl_control_plane/models/functionnotifications.py +85 -0
  141. cribl_control_plane/models/functionnotify.py +196 -0
  142. cribl_control_plane/models/functionnumerify.py +119 -0
  143. cribl_control_plane/models/functionotlplogs.py +82 -0
  144. cribl_control_plane/models/functionotlpmetrics.py +118 -0
  145. cribl_control_plane/models/functionotlptraces.py +111 -0
  146. cribl_control_plane/models/functionpack.py +80 -0
  147. cribl_control_plane/models/functionpivot.py +85 -0
  148. cribl_control_plane/models/functionpublishmetrics.py +153 -0
  149. cribl_control_plane/models/functionredis.py +173 -0
  150. cribl_control_plane/models/functionregexextract.py +112 -0
  151. cribl_control_plane/models/functionregexfilter.py +95 -0
  152. cribl_control_plane/models/functionrename.py +107 -0
  153. cribl_control_plane/models/functionresponse.py +242 -0
  154. cribl_control_plane/models/functionrollupmetrics.py +114 -0
  155. cribl_control_plane/models/functionsampling.py +90 -0
  156. cribl_control_plane/models/functionsend.py +141 -0
  157. cribl_control_plane/models/functionsensitivedatascanner.py +128 -0
  158. cribl_control_plane/models/functionserde.py +161 -0
  159. cribl_control_plane/models/functionserialize.py +134 -0
  160. cribl_control_plane/models/functionsidlookup.py +93 -0
  161. cribl_control_plane/models/functionsnmptrapserialize.py +144 -0
  162. cribl_control_plane/models/functionsort.py +97 -0
  163. cribl_control_plane/models/functionstore.py +132 -0
  164. cribl_control_plane/models/functionsuppress.py +115 -0
  165. cribl_control_plane/models/functiontee.py +90 -0
  166. cribl_control_plane/models/functiontrimtimestamp.py +75 -0
  167. cribl_control_plane/models/functionunion.py +80 -0
  168. cribl_control_plane/models/functionunroll.py +80 -0
  169. cribl_control_plane/models/functionwindow.py +96 -0
  170. cribl_control_plane/models/functionxmlunroll.py +92 -0
  171. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +63 -0
  172. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +63 -0
  173. cribl_control_plane/models/getconfiggroupbyproductandidop.py +53 -0
  174. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +43 -0
  175. cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +5 -24
  176. cribl_control_plane/models/getcribllakedatasetbylakeidop.py +56 -16
  177. cribl_control_plane/models/getfunctionsbyidop.py +18 -0
  178. cribl_control_plane/models/getinputbyidop.py +3 -22
  179. cribl_control_plane/models/getmasterworkerentryop.py +22 -0
  180. cribl_control_plane/models/getoutputbyidop.py +3 -22
  181. cribl_control_plane/models/getoutputpqbyidop.py +3 -21
  182. cribl_control_plane/models/getoutputsamplesbyidop.py +3 -22
  183. cribl_control_plane/models/getpacksbyidop.py +18 -0
  184. cribl_control_plane/models/getpacksop.py +3 -21
  185. cribl_control_plane/models/getpipelinebyidop.py +3 -22
  186. cribl_control_plane/models/getroutesbyidop.py +3 -22
  187. cribl_control_plane/models/getsummaryop.py +23 -32
  188. cribl_control_plane/models/getversioncountop.py +10 -27
  189. cribl_control_plane/models/getversiondiffop.py +12 -28
  190. cribl_control_plane/models/getversionfilesop.py +10 -28
  191. cribl_control_plane/models/getversionop.py +30 -0
  192. cribl_control_plane/models/getversionshowop.py +12 -28
  193. cribl_control_plane/models/getversionstatusop.py +7 -23
  194. cribl_control_plane/models/gitcommitsummary.py +3 -3
  195. cribl_control_plane/models/{routecloneconf.py → gitcountresult.py} +4 -4
  196. cribl_control_plane/models/gitdiffresult.py +16 -0
  197. cribl_control_plane/models/gitfilesresponse.py +7 -5
  198. cribl_control_plane/models/gitinfo.py +14 -3
  199. cribl_control_plane/models/gitlogresult.py +33 -0
  200. cribl_control_plane/models/gitrevertparams.py +3 -3
  201. cribl_control_plane/models/gitrevertresult.py +5 -5
  202. cribl_control_plane/models/gitshowresult.py +19 -0
  203. cribl_control_plane/models/gitstatusresult.py +0 -3
  204. cribl_control_plane/models/groupcreaterequest.py +172 -0
  205. cribl_control_plane/models/hbcriblinfo.py +42 -7
  206. cribl_control_plane/models/healthserverstatus.py +55 -0
  207. cribl_control_plane/models/heartbeatmetadata.py +6 -11
  208. cribl_control_plane/models/input.py +89 -81
  209. cribl_control_plane/models/inputappscope.py +131 -35
  210. cribl_control_plane/models/inputazureblob.py +62 -6
  211. cribl_control_plane/models/inputcloudflarehec.py +518 -0
  212. cribl_control_plane/models/inputcollection.py +49 -6
  213. cribl_control_plane/models/inputconfluentcloud.py +262 -22
  214. cribl_control_plane/models/inputcribl.py +52 -9
  215. cribl_control_plane/models/inputcriblhttp.py +124 -33
  216. cribl_control_plane/models/inputcribllakehttp.py +199 -29
  217. cribl_control_plane/models/inputcriblmetrics.py +53 -9
  218. cribl_control_plane/models/inputcribltcp.py +125 -27
  219. cribl_control_plane/models/inputcrowdstrike.py +99 -10
  220. cribl_control_plane/models/inputdatadogagent.py +101 -27
  221. cribl_control_plane/models/inputdatagen.py +47 -4
  222. cribl_control_plane/models/inputedgeprometheus.py +215 -58
  223. cribl_control_plane/models/inputelastic.py +170 -39
  224. cribl_control_plane/models/inputeventhub.py +212 -9
  225. cribl_control_plane/models/inputexec.py +59 -6
  226. cribl_control_plane/models/inputfile.py +83 -15
  227. cribl_control_plane/models/inputfirehose.py +100 -27
  228. cribl_control_plane/models/inputgooglepubsub.py +83 -15
  229. cribl_control_plane/models/{inputgrafana_union.py → inputgrafana.py} +261 -67
  230. cribl_control_plane/models/inputhttp.py +100 -27
  231. cribl_control_plane/models/inputhttpraw.py +100 -27
  232. cribl_control_plane/models/inputjournalfiles.py +51 -7
  233. cribl_control_plane/models/inputkafka.py +257 -19
  234. cribl_control_plane/models/inputkinesis.py +133 -17
  235. cribl_control_plane/models/inputkubeevents.py +52 -9
  236. cribl_control_plane/models/inputkubelogs.py +66 -13
  237. cribl_control_plane/models/inputkubemetrics.py +66 -13
  238. cribl_control_plane/models/inputloki.py +116 -30
  239. cribl_control_plane/models/inputmetrics.py +97 -24
  240. cribl_control_plane/models/inputmodeldriventelemetry.py +110 -29
  241. cribl_control_plane/models/inputmsk.py +148 -21
  242. cribl_control_plane/models/inputnetflow.py +50 -7
  243. cribl_control_plane/models/inputoffice365mgmt.py +115 -17
  244. cribl_control_plane/models/inputoffice365msgtrace.py +117 -19
  245. cribl_control_plane/models/inputoffice365service.py +117 -19
  246. cribl_control_plane/models/inputopentelemetry.py +146 -35
  247. cribl_control_plane/models/inputprometheus.py +196 -47
  248. cribl_control_plane/models/inputprometheusrw.py +117 -30
  249. cribl_control_plane/models/inputrawudp.py +50 -7
  250. cribl_control_plane/models/inputs3.py +85 -8
  251. cribl_control_plane/models/inputs3inventory.py +99 -10
  252. cribl_control_plane/models/inputsecuritylake.py +100 -10
  253. cribl_control_plane/models/inputsnmp.py +115 -24
  254. cribl_control_plane/models/inputsplunk.py +133 -31
  255. cribl_control_plane/models/inputsplunkhec.py +122 -32
  256. cribl_control_plane/models/inputsplunksearch.py +115 -18
  257. cribl_control_plane/models/inputsqs.py +102 -19
  258. cribl_control_plane/models/{inputsyslog_union.py → inputsyslog.py} +193 -51
  259. cribl_control_plane/models/inputsystemmetrics.py +207 -37
  260. cribl_control_plane/models/inputsystemstate.py +66 -13
  261. cribl_control_plane/models/inputtcp.py +125 -29
  262. cribl_control_plane/models/inputtcpjson.py +115 -29
  263. cribl_control_plane/models/inputwef.py +151 -22
  264. cribl_control_plane/models/inputwindowsmetrics.py +191 -38
  265. cribl_control_plane/models/inputwineventlogs.py +93 -11
  266. cribl_control_plane/models/inputwiz.py +176 -11
  267. cribl_control_plane/models/inputwizwebhook.py +466 -0
  268. cribl_control_plane/models/inputzscalerhec.py +122 -32
  269. cribl_control_plane/models/jobinfo.py +34 -0
  270. cribl_control_plane/models/jobstatus.py +48 -0
  271. cribl_control_plane/models/lakedatasetmetrics.py +17 -0
  272. cribl_control_plane/models/lakehouseconnectiontype.py +2 -1
  273. cribl_control_plane/models/listconfiggroupbyproductop.py +46 -0
  274. cribl_control_plane/models/listmasterworkerentryop.py +64 -0
  275. cribl_control_plane/models/logininfo.py +3 -3
  276. cribl_control_plane/models/masterworkerentry.py +20 -13
  277. cribl_control_plane/models/nodeactiveupgradestatus.py +2 -1
  278. cribl_control_plane/models/nodefailedupgradestatus.py +2 -1
  279. cribl_control_plane/models/nodeprovidedinfo.py +13 -11
  280. cribl_control_plane/models/nodeskippedupgradestatus.py +2 -1
  281. cribl_control_plane/models/nodeupgradestate.py +2 -1
  282. cribl_control_plane/models/nodeupgradestatus.py +51 -5
  283. cribl_control_plane/models/outpostnodeinfo.py +16 -0
  284. cribl_control_plane/models/output.py +103 -89
  285. cribl_control_plane/models/outputazureblob.py +174 -21
  286. cribl_control_plane/models/outputazuredataexplorer.py +517 -93
  287. cribl_control_plane/models/outputazureeventhub.py +318 -34
  288. cribl_control_plane/models/outputazurelogs.py +145 -26
  289. cribl_control_plane/models/outputchronicle.py +532 -0
  290. cribl_control_plane/models/outputclickhouse.py +208 -37
  291. cribl_control_plane/models/outputcloudflarer2.py +632 -0
  292. cribl_control_plane/models/outputcloudwatch.py +132 -26
  293. cribl_control_plane/models/outputconfluentcloud.py +387 -46
  294. cribl_control_plane/models/outputcriblhttp.py +203 -36
  295. cribl_control_plane/models/outputcribllake.py +161 -21
  296. cribl_control_plane/models/outputcribltcp.py +199 -34
  297. cribl_control_plane/models/outputcrowdstrikenextgensiem.py +176 -32
  298. cribl_control_plane/models/outputdatabricks.py +501 -0
  299. cribl_control_plane/models/outputdatadog.py +204 -36
  300. cribl_control_plane/models/outputdataset.py +186 -34
  301. cribl_control_plane/models/outputdevnull.py +5 -5
  302. cribl_control_plane/models/outputdiskspool.py +22 -7
  303. cribl_control_plane/models/outputdls3.py +238 -29
  304. cribl_control_plane/models/outputdynatracehttp.py +211 -37
  305. cribl_control_plane/models/outputdynatraceotlp.py +213 -39
  306. cribl_control_plane/models/outputelastic.py +199 -30
  307. cribl_control_plane/models/outputelasticcloud.py +174 -29
  308. cribl_control_plane/models/outputexabeam.py +99 -13
  309. cribl_control_plane/models/outputfilesystem.py +139 -14
  310. cribl_control_plane/models/outputgooglechronicle.py +216 -35
  311. cribl_control_plane/models/outputgooglecloudlogging.py +177 -34
  312. cribl_control_plane/models/outputgooglecloudstorage.py +220 -29
  313. cribl_control_plane/models/outputgooglepubsub.py +138 -51
  314. cribl_control_plane/models/outputgrafanacloud.py +386 -70
  315. cribl_control_plane/models/outputgraphite.py +131 -28
  316. cribl_control_plane/models/outputhoneycomb.py +145 -26
  317. cribl_control_plane/models/outputhumiohec.py +165 -31
  318. cribl_control_plane/models/outputinfluxdb.py +165 -28
  319. cribl_control_plane/models/outputkafka.py +378 -41
  320. cribl_control_plane/models/outputkinesis.py +168 -30
  321. cribl_control_plane/models/outputloki.py +171 -27
  322. cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
  323. cribl_control_plane/models/outputminio.py +228 -28
  324. cribl_control_plane/models/outputmsk.py +270 -43
  325. cribl_control_plane/models/outputnewrelic.py +176 -34
  326. cribl_control_plane/models/outputnewrelicevents.py +166 -31
  327. cribl_control_plane/models/outputopentelemetry.py +240 -40
  328. cribl_control_plane/models/outputprometheus.py +145 -26
  329. cribl_control_plane/models/outputring.py +54 -13
  330. cribl_control_plane/models/outputs3.py +238 -31
  331. cribl_control_plane/models/outputsecuritylake.py +182 -21
  332. cribl_control_plane/models/outputsentinel.py +175 -32
  333. cribl_control_plane/models/outputsentineloneaisiem.py +184 -38
  334. cribl_control_plane/models/outputservicenow.py +226 -41
  335. cribl_control_plane/models/outputsignalfx.py +145 -26
  336. cribl_control_plane/models/outputsns.py +146 -28
  337. cribl_control_plane/models/outputsplunk.py +209 -39
  338. cribl_control_plane/models/outputsplunkhec.py +243 -31
  339. cribl_control_plane/models/outputsplunklb.py +266 -46
  340. cribl_control_plane/models/outputsqs.py +166 -36
  341. cribl_control_plane/models/outputstatsd.py +130 -28
  342. cribl_control_plane/models/outputstatsdext.py +131 -28
  343. cribl_control_plane/models/outputsumologic.py +146 -25
  344. cribl_control_plane/models/outputsyslog.py +323 -51
  345. cribl_control_plane/models/outputtcpjson.py +191 -37
  346. cribl_control_plane/models/outputwavefront.py +145 -26
  347. cribl_control_plane/models/outputwebhook.py +216 -38
  348. cribl_control_plane/models/outputxsiam.py +148 -31
  349. cribl_control_plane/models/packinfo.py +11 -8
  350. cribl_control_plane/models/packinstallinfo.py +14 -11
  351. cribl_control_plane/models/packrequestbody_union.py +140 -0
  352. cribl_control_plane/models/packupgraderequest.py +26 -0
  353. cribl_control_plane/models/piisettings_union.py +31 -0
  354. cribl_control_plane/models/productscore.py +10 -0
  355. cribl_control_plane/models/rbacresource.py +2 -1
  356. cribl_control_plane/models/resourcepolicy.py +15 -2
  357. cribl_control_plane/models/rollbacksettings_union.py +44 -0
  358. cribl_control_plane/models/routeconf.py +3 -4
  359. cribl_control_plane/models/routes.py +0 -24
  360. cribl_control_plane/models/runnablejob.py +27 -0
  361. cribl_control_plane/models/runnablejobcollection.py +628 -0
  362. cribl_control_plane/models/runnablejobexecutor.py +360 -0
  363. cribl_control_plane/models/runnablejobscheduledsearch.py +279 -0
  364. cribl_control_plane/models/schemeclientoauth.py +5 -0
  365. cribl_control_plane/models/snisettings_union.py +31 -0
  366. cribl_control_plane/models/systemsettingsconf.py +291 -0
  367. cribl_control_plane/models/tlssettings_union.py +43 -0
  368. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +56 -0
  369. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +53 -0
  370. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +14 -29
  371. cribl_control_plane/models/updatehectokenrequest.py +7 -1
  372. cribl_control_plane/models/updateinputbyidop.py +5 -23
  373. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +5 -23
  374. cribl_control_plane/models/updateoutputbyidop.py +5 -23
  375. cribl_control_plane/models/updatepacksbyidop.py +12 -50
  376. cribl_control_plane/models/updatepacksop.py +12 -24
  377. cribl_control_plane/models/updatepipelinebyidop.py +5 -23
  378. cribl_control_plane/models/updateroutesbyidop.py +8 -27
  379. cribl_control_plane/models/upgradegroupsettings_union.py +43 -0
  380. cribl_control_plane/models/upgradepackageurls.py +20 -0
  381. cribl_control_plane/models/upgradesettings.py +38 -0
  382. cribl_control_plane/models/uploadpackresponse.py +13 -0
  383. cribl_control_plane/models/{appmode.py → workertypes.py} +2 -5
  384. cribl_control_plane/{workers_sdk.py → nodes.py} +102 -234
  385. cribl_control_plane/packs.py +385 -184
  386. cribl_control_plane/pipelines.py +116 -66
  387. cribl_control_plane/routes_sdk.py +102 -70
  388. cribl_control_plane/samples.py +407 -0
  389. cribl_control_plane/sdk.py +35 -25
  390. cribl_control_plane/settings.py +20 -0
  391. cribl_control_plane/sources.py +143 -545
  392. cribl_control_plane/statuses.py +195 -0
  393. cribl_control_plane/summaries.py +195 -0
  394. cribl_control_plane/system_sdk.py +20 -0
  395. cribl_control_plane/teams.py +36 -28
  396. cribl_control_plane/tokens.py +210 -0
  397. cribl_control_plane/utils/__init__.py +18 -5
  398. cribl_control_plane/utils/annotations.py +32 -8
  399. cribl_control_plane/utils/eventstreaming.py +10 -0
  400. cribl_control_plane/utils/forms.py +21 -10
  401. cribl_control_plane/utils/queryparams.py +14 -2
  402. cribl_control_plane/utils/retries.py +69 -5
  403. cribl_control_plane/utils/security.py +5 -0
  404. cribl_control_plane/utils/unmarshal_json_response.py +15 -1
  405. cribl_control_plane/versions.py +31 -0
  406. cribl_control_plane/{distributed.py → versions_configs.py} +29 -35
  407. cribl_control_plane-0.4.0b23.dist-info/METADATA +855 -0
  408. cribl_control_plane-0.4.0b23.dist-info/RECORD +450 -0
  409. {cribl_control_plane-0.0.21.dist-info → cribl_control_plane-0.4.0b23.dist-info}/WHEEL +1 -1
  410. cribl_control_plane-0.4.0b23.dist-info/licenses/LICENSE +201 -0
  411. cribl_control_plane/errors/healthstatus_error.py +0 -32
  412. cribl_control_plane/models/createinputop.py +0 -18238
  413. cribl_control_plane/models/createoutputop.py +0 -18437
  414. cribl_control_plane/models/createpipelineop.py +0 -24
  415. cribl_control_plane/models/createproductsgroupsbyproductop.py +0 -54
  416. cribl_control_plane/models/createversionpushop.py +0 -23
  417. cribl_control_plane/models/createversionsyncop.py +0 -23
  418. cribl_control_plane/models/deletegroupsbyidop.py +0 -37
  419. cribl_control_plane/models/getgroupsaclbyidop.py +0 -63
  420. cribl_control_plane/models/getgroupsbyidop.py +0 -49
  421. cribl_control_plane/models/getgroupsconfigversionbyidop.py +0 -36
  422. cribl_control_plane/models/getproductsgroupsaclteamsbyproductandidop.py +0 -78
  423. cribl_control_plane/models/getproductsgroupsbyproductop.py +0 -58
  424. cribl_control_plane/models/getsummaryworkersop.py +0 -39
  425. cribl_control_plane/models/getversioncurrentbranchop.py +0 -23
  426. cribl_control_plane/models/getworkersop.py +0 -82
  427. cribl_control_plane/models/healthstatus.py +0 -33
  428. cribl_control_plane/models/packrequestbody.py +0 -75
  429. cribl_control_plane/models/restartresponse.py +0 -26
  430. cribl_control_plane/models/routesroute_input.py +0 -67
  431. cribl_control_plane/models/updategroupsbyidop.py +0 -48
  432. cribl_control_plane/models/updategroupsdeploybyidop.py +0 -46
  433. cribl_control_plane/models/updateworkersrestartop.py +0 -24
  434. cribl_control_plane/versioning.py +0 -2309
  435. cribl_control_plane-0.0.21.dist-info/METADATA +0 -561
  436. cribl_control_plane-0.0.21.dist-info/RECORD +0 -301
@@ -9,10 +9,8 @@ from cribl_control_plane.utils.unmarshal_json_response import unmarshal_json_res
9
9
  from typing import Any, List, Mapping, Optional, Union
10
10
 
11
11
 
12
- class Lake(BaseSDK):
13
- r"""Actions related to Lake"""
14
-
15
- def create_cribl_lake_dataset_by_lake_id(
12
+ class LakeDatasets(BaseSDK):
13
+ def create(
16
14
  self,
17
15
  *,
18
16
  lake_id: str,
@@ -26,6 +24,9 @@ class Lake(BaseSDK):
26
24
  description: Optional[str] = None,
27
25
  format_: Optional[models.CriblLakeDatasetFormat] = None,
28
26
  http_da_used: Optional[bool] = None,
27
+ metrics: Optional[
28
+ Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
29
+ ] = None,
29
30
  retention_period_in_days: Optional[float] = None,
30
31
  search_config: Optional[
31
32
  Union[
@@ -38,12 +39,12 @@ class Lake(BaseSDK):
38
39
  server_url: Optional[str] = None,
39
40
  timeout_ms: Optional[int] = None,
40
41
  http_headers: Optional[Mapping[str, str]] = None,
41
- ) -> models.CreateCriblLakeDatasetByLakeIDResponse:
42
- r"""Create a Dataset in the specified Lake
42
+ ) -> models.CountedCriblLakeDataset:
43
+ r"""Create a Lake Dataset
43
44
 
44
- Create a Dataset in the specified Lake
45
+ Create a new Lake Dataset in the specified Lake.
45
46
 
46
- :param lake_id: lake id that contains the Datasets
47
+ :param lake_id: The <code>id</code> of the Lake to create the Lake Dataset in.
47
48
  :param id:
48
49
  :param accelerated_fields:
49
50
  :param bucket_name:
@@ -52,6 +53,7 @@ class Lake(BaseSDK):
52
53
  :param description:
53
54
  :param format_:
54
55
  :param http_da_used:
56
+ :param metrics:
55
57
  :param retention_period_in_days:
56
58
  :param search_config:
57
59
  :param storage_location_id:
@@ -84,6 +86,9 @@ class Lake(BaseSDK):
84
86
  format_=format_,
85
87
  http_da_used=http_da_used,
86
88
  id=id,
89
+ metrics=utils.get_pydantic_model(
90
+ metrics, Optional[models.LakeDatasetMetrics]
91
+ ),
87
92
  retention_period_in_days=retention_period_in_days,
88
93
  search_config=utils.get_pydantic_model(
89
94
  search_config, Optional[models.LakeDatasetSearchConfig]
@@ -113,16 +118,21 @@ class Lake(BaseSDK):
113
118
  "json",
114
119
  models.CriblLakeDataset,
115
120
  ),
121
+ allow_empty_value=None,
116
122
  timeout_ms=timeout_ms,
117
123
  )
118
124
 
119
125
  if retries == UNSET:
120
126
  if self.sdk_configuration.retry_config is not UNSET:
121
127
  retries = self.sdk_configuration.retry_config
128
+ else:
129
+ retries = utils.RetryConfig(
130
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
131
+ )
122
132
 
123
133
  retry_config = None
124
134
  if isinstance(retries, utils.RetryConfig):
125
- retry_config = (retries, ["429", "500", "502", "503", "504"])
135
+ retry_config = (retries, ["429"])
126
136
 
127
137
  http_res = self.do_request(
128
138
  hook_ctx=HookContext(
@@ -141,9 +151,7 @@ class Lake(BaseSDK):
141
151
 
142
152
  response_data: Any = None
143
153
  if utils.match_response(http_res, "200", "application/json"):
144
- return unmarshal_json_response(
145
- models.CreateCriblLakeDatasetByLakeIDResponse, http_res
146
- )
154
+ return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
147
155
  if utils.match_response(http_res, "500", "application/json"):
148
156
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
149
157
  raise errors.Error(response_data, http_res)
@@ -156,7 +164,7 @@ class Lake(BaseSDK):
156
164
 
157
165
  raise errors.APIError("Unexpected response received", http_res)
158
166
 
159
- async def create_cribl_lake_dataset_by_lake_id_async(
167
+ async def create_async(
160
168
  self,
161
169
  *,
162
170
  lake_id: str,
@@ -170,6 +178,9 @@ class Lake(BaseSDK):
170
178
  description: Optional[str] = None,
171
179
  format_: Optional[models.CriblLakeDatasetFormat] = None,
172
180
  http_da_used: Optional[bool] = None,
181
+ metrics: Optional[
182
+ Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
183
+ ] = None,
173
184
  retention_period_in_days: Optional[float] = None,
174
185
  search_config: Optional[
175
186
  Union[
@@ -182,12 +193,12 @@ class Lake(BaseSDK):
182
193
  server_url: Optional[str] = None,
183
194
  timeout_ms: Optional[int] = None,
184
195
  http_headers: Optional[Mapping[str, str]] = None,
185
- ) -> models.CreateCriblLakeDatasetByLakeIDResponse:
186
- r"""Create a Dataset in the specified Lake
196
+ ) -> models.CountedCriblLakeDataset:
197
+ r"""Create a Lake Dataset
187
198
 
188
- Create a Dataset in the specified Lake
199
+ Create a new Lake Dataset in the specified Lake.
189
200
 
190
- :param lake_id: lake id that contains the Datasets
201
+ :param lake_id: The <code>id</code> of the Lake to create the Lake Dataset in.
191
202
  :param id:
192
203
  :param accelerated_fields:
193
204
  :param bucket_name:
@@ -196,6 +207,7 @@ class Lake(BaseSDK):
196
207
  :param description:
197
208
  :param format_:
198
209
  :param http_da_used:
210
+ :param metrics:
199
211
  :param retention_period_in_days:
200
212
  :param search_config:
201
213
  :param storage_location_id:
@@ -228,6 +240,9 @@ class Lake(BaseSDK):
228
240
  format_=format_,
229
241
  http_da_used=http_da_used,
230
242
  id=id,
243
+ metrics=utils.get_pydantic_model(
244
+ metrics, Optional[models.LakeDatasetMetrics]
245
+ ),
231
246
  retention_period_in_days=retention_period_in_days,
232
247
  search_config=utils.get_pydantic_model(
233
248
  search_config, Optional[models.LakeDatasetSearchConfig]
@@ -257,16 +272,21 @@ class Lake(BaseSDK):
257
272
  "json",
258
273
  models.CriblLakeDataset,
259
274
  ),
275
+ allow_empty_value=None,
260
276
  timeout_ms=timeout_ms,
261
277
  )
262
278
 
263
279
  if retries == UNSET:
264
280
  if self.sdk_configuration.retry_config is not UNSET:
265
281
  retries = self.sdk_configuration.retry_config
282
+ else:
283
+ retries = utils.RetryConfig(
284
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
285
+ )
266
286
 
267
287
  retry_config = None
268
288
  if isinstance(retries, utils.RetryConfig):
269
- retry_config = (retries, ["429", "500", "502", "503", "504"])
289
+ retry_config = (retries, ["429"])
270
290
 
271
291
  http_res = await self.do_request_async(
272
292
  hook_ctx=HookContext(
@@ -285,9 +305,7 @@ class Lake(BaseSDK):
285
305
 
286
306
  response_data: Any = None
287
307
  if utils.match_response(http_res, "200", "application/json"):
288
- return unmarshal_json_response(
289
- models.CreateCriblLakeDatasetByLakeIDResponse, http_res
290
- )
308
+ return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
291
309
  if utils.match_response(http_res, "500", "application/json"):
292
310
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
293
311
  raise errors.Error(response_data, http_res)
@@ -300,20 +318,32 @@ class Lake(BaseSDK):
300
318
 
301
319
  raise errors.APIError("Unexpected response received", http_res)
302
320
 
303
- def get_cribl_lake_dataset_by_lake_id(
321
+ def list(
304
322
  self,
305
323
  *,
306
324
  lake_id: str,
325
+ storage_location_id: Optional[str] = None,
326
+ format_: Optional[str] = None,
327
+ exclude_ddss: Optional[bool] = None,
328
+ exclude_deleted: Optional[bool] = None,
329
+ exclude_internal: Optional[bool] = None,
330
+ exclude_byos: Optional[bool] = None,
307
331
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
308
332
  server_url: Optional[str] = None,
309
333
  timeout_ms: Optional[int] = None,
310
334
  http_headers: Optional[Mapping[str, str]] = None,
311
- ) -> models.GetCriblLakeDatasetByLakeIDResponse:
312
- r"""Get the list of Dataset contained in the specified Lake
313
-
314
- Get the list of Dataset contained in the specified Lake
315
-
316
- :param lake_id: lake id that contains the Datasets
335
+ ) -> models.CountedCriblLakeDataset:
336
+ r"""List all Lake Datasets
337
+
338
+ Get a list of all Lake Datasets in the specified Lake.
339
+
340
+ :param lake_id: The <code>id</code> of the Lake that contains the Lake Datasets to list.
341
+ :param storage_location_id: Filter datasets by storage location ID. Use <code>default</code> for default storage location.
342
+ :param format_: Filter datasets by format. Set to <code>ddss</code> to return only DDSS datasets.
343
+ :param exclude_ddss: Exclude DDSS format datasets from the response.
344
+ :param exclude_deleted: Exclude deleted datasets from the response.
345
+ :param exclude_internal: Exclude internal datasets (those with IDs starting with <code>cribl_</code>) from the response.
346
+ :param exclude_byos: Exclude BYOS (Bring Your Own Storage) datasets from the response.
317
347
  :param retries: Override the default retry configuration for this method
318
348
  :param server_url: Override the default server URL for this method
319
349
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -331,6 +361,12 @@ class Lake(BaseSDK):
331
361
 
332
362
  request = models.GetCriblLakeDatasetByLakeIDRequest(
333
363
  lake_id=lake_id,
364
+ storage_location_id=storage_location_id,
365
+ format_=format_,
366
+ exclude_ddss=exclude_ddss,
367
+ exclude_deleted=exclude_deleted,
368
+ exclude_internal=exclude_internal,
369
+ exclude_byos=exclude_byos,
334
370
  )
335
371
 
336
372
  req = self._build_request(
@@ -346,16 +382,21 @@ class Lake(BaseSDK):
346
382
  accept_header_value="application/json",
347
383
  http_headers=http_headers,
348
384
  security=self.sdk_configuration.security,
385
+ allow_empty_value=None,
349
386
  timeout_ms=timeout_ms,
350
387
  )
351
388
 
352
389
  if retries == UNSET:
353
390
  if self.sdk_configuration.retry_config is not UNSET:
354
391
  retries = self.sdk_configuration.retry_config
392
+ else:
393
+ retries = utils.RetryConfig(
394
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
395
+ )
355
396
 
356
397
  retry_config = None
357
398
  if isinstance(retries, utils.RetryConfig):
358
- retry_config = (retries, ["429", "500", "502", "503", "504"])
399
+ retry_config = (retries, ["429"])
359
400
 
360
401
  http_res = self.do_request(
361
402
  hook_ctx=HookContext(
@@ -374,9 +415,7 @@ class Lake(BaseSDK):
374
415
 
375
416
  response_data: Any = None
376
417
  if utils.match_response(http_res, "200", "application/json"):
377
- return unmarshal_json_response(
378
- models.GetCriblLakeDatasetByLakeIDResponse, http_res
379
- )
418
+ return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
380
419
  if utils.match_response(http_res, "500", "application/json"):
381
420
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
382
421
  raise errors.Error(response_data, http_res)
@@ -389,20 +428,32 @@ class Lake(BaseSDK):
389
428
 
390
429
  raise errors.APIError("Unexpected response received", http_res)
391
430
 
392
- async def get_cribl_lake_dataset_by_lake_id_async(
431
+ async def list_async(
393
432
  self,
394
433
  *,
395
434
  lake_id: str,
435
+ storage_location_id: Optional[str] = None,
436
+ format_: Optional[str] = None,
437
+ exclude_ddss: Optional[bool] = None,
438
+ exclude_deleted: Optional[bool] = None,
439
+ exclude_internal: Optional[bool] = None,
440
+ exclude_byos: Optional[bool] = None,
396
441
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
397
442
  server_url: Optional[str] = None,
398
443
  timeout_ms: Optional[int] = None,
399
444
  http_headers: Optional[Mapping[str, str]] = None,
400
- ) -> models.GetCriblLakeDatasetByLakeIDResponse:
401
- r"""Get the list of Dataset contained in the specified Lake
402
-
403
- Get the list of Dataset contained in the specified Lake
404
-
405
- :param lake_id: lake id that contains the Datasets
445
+ ) -> models.CountedCriblLakeDataset:
446
+ r"""List all Lake Datasets
447
+
448
+ Get a list of all Lake Datasets in the specified Lake.
449
+
450
+ :param lake_id: The <code>id</code> of the Lake that contains the Lake Datasets to list.
451
+ :param storage_location_id: Filter datasets by storage location ID. Use <code>default</code> for default storage location.
452
+ :param format_: Filter datasets by format. Set to <code>ddss</code> to return only DDSS datasets.
453
+ :param exclude_ddss: Exclude DDSS format datasets from the response.
454
+ :param exclude_deleted: Exclude deleted datasets from the response.
455
+ :param exclude_internal: Exclude internal datasets (those with IDs starting with <code>cribl_</code>) from the response.
456
+ :param exclude_byos: Exclude BYOS (Bring Your Own Storage) datasets from the response.
406
457
  :param retries: Override the default retry configuration for this method
407
458
  :param server_url: Override the default server URL for this method
408
459
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -420,6 +471,12 @@ class Lake(BaseSDK):
420
471
 
421
472
  request = models.GetCriblLakeDatasetByLakeIDRequest(
422
473
  lake_id=lake_id,
474
+ storage_location_id=storage_location_id,
475
+ format_=format_,
476
+ exclude_ddss=exclude_ddss,
477
+ exclude_deleted=exclude_deleted,
478
+ exclude_internal=exclude_internal,
479
+ exclude_byos=exclude_byos,
423
480
  )
424
481
 
425
482
  req = self._build_request_async(
@@ -435,16 +492,21 @@ class Lake(BaseSDK):
435
492
  accept_header_value="application/json",
436
493
  http_headers=http_headers,
437
494
  security=self.sdk_configuration.security,
495
+ allow_empty_value=None,
438
496
  timeout_ms=timeout_ms,
439
497
  )
440
498
 
441
499
  if retries == UNSET:
442
500
  if self.sdk_configuration.retry_config is not UNSET:
443
501
  retries = self.sdk_configuration.retry_config
502
+ else:
503
+ retries = utils.RetryConfig(
504
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
505
+ )
444
506
 
445
507
  retry_config = None
446
508
  if isinstance(retries, utils.RetryConfig):
447
- retry_config = (retries, ["429", "500", "502", "503", "504"])
509
+ retry_config = (retries, ["429"])
448
510
 
449
511
  http_res = await self.do_request_async(
450
512
  hook_ctx=HookContext(
@@ -463,9 +525,7 @@ class Lake(BaseSDK):
463
525
 
464
526
  response_data: Any = None
465
527
  if utils.match_response(http_res, "200", "application/json"):
466
- return unmarshal_json_response(
467
- models.GetCriblLakeDatasetByLakeIDResponse, http_res
468
- )
528
+ return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
469
529
  if utils.match_response(http_res, "500", "application/json"):
470
530
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
471
531
  raise errors.Error(response_data, http_res)
@@ -478,7 +538,7 @@ class Lake(BaseSDK):
478
538
 
479
539
  raise errors.APIError("Unexpected response received", http_res)
480
540
 
481
- def delete_cribl_lake_dataset_by_lake_id_and_id(
541
+ def delete(
482
542
  self,
483
543
  *,
484
544
  lake_id: str,
@@ -487,13 +547,13 @@ class Lake(BaseSDK):
487
547
  server_url: Optional[str] = None,
488
548
  timeout_ms: Optional[int] = None,
489
549
  http_headers: Optional[Mapping[str, str]] = None,
490
- ) -> models.DeleteCriblLakeDatasetByLakeIDAndIDResponse:
491
- r"""Delete a Dataset in the specified Lake
550
+ ) -> models.CountedCriblLakeDataset:
551
+ r"""Delete a Lake Dataset
492
552
 
493
- Delete a Dataset in the specified Lake
553
+ Delete the specified Lake Dataset in the specified Lake
494
554
 
495
- :param lake_id: lake id that contains the Datasets
496
- :param id: dataset id to delete
555
+ :param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to delete.
556
+ :param id: The <code>id</code> of the Lake Dataset to delete.
497
557
  :param retries: Override the default retry configuration for this method
498
558
  :param server_url: Override the default server URL for this method
499
559
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -527,16 +587,21 @@ class Lake(BaseSDK):
527
587
  accept_header_value="application/json",
528
588
  http_headers=http_headers,
529
589
  security=self.sdk_configuration.security,
590
+ allow_empty_value=None,
530
591
  timeout_ms=timeout_ms,
531
592
  )
532
593
 
533
594
  if retries == UNSET:
534
595
  if self.sdk_configuration.retry_config is not UNSET:
535
596
  retries = self.sdk_configuration.retry_config
597
+ else:
598
+ retries = utils.RetryConfig(
599
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
600
+ )
536
601
 
537
602
  retry_config = None
538
603
  if isinstance(retries, utils.RetryConfig):
539
- retry_config = (retries, ["429", "500", "502", "503", "504"])
604
+ retry_config = (retries, ["429"])
540
605
 
541
606
  http_res = self.do_request(
542
607
  hook_ctx=HookContext(
@@ -555,9 +620,7 @@ class Lake(BaseSDK):
555
620
 
556
621
  response_data: Any = None
557
622
  if utils.match_response(http_res, "200", "application/json"):
558
- return unmarshal_json_response(
559
- models.DeleteCriblLakeDatasetByLakeIDAndIDResponse, http_res
560
- )
623
+ return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
561
624
  if utils.match_response(http_res, "500", "application/json"):
562
625
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
563
626
  raise errors.Error(response_data, http_res)
@@ -570,7 +633,7 @@ class Lake(BaseSDK):
570
633
 
571
634
  raise errors.APIError("Unexpected response received", http_res)
572
635
 
573
- async def delete_cribl_lake_dataset_by_lake_id_and_id_async(
636
+ async def delete_async(
574
637
  self,
575
638
  *,
576
639
  lake_id: str,
@@ -579,13 +642,13 @@ class Lake(BaseSDK):
579
642
  server_url: Optional[str] = None,
580
643
  timeout_ms: Optional[int] = None,
581
644
  http_headers: Optional[Mapping[str, str]] = None,
582
- ) -> models.DeleteCriblLakeDatasetByLakeIDAndIDResponse:
583
- r"""Delete a Dataset in the specified Lake
645
+ ) -> models.CountedCriblLakeDataset:
646
+ r"""Delete a Lake Dataset
584
647
 
585
- Delete a Dataset in the specified Lake
648
+ Delete the specified Lake Dataset in the specified Lake
586
649
 
587
- :param lake_id: lake id that contains the Datasets
588
- :param id: dataset id to delete
650
+ :param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to delete.
651
+ :param id: The <code>id</code> of the Lake Dataset to delete.
589
652
  :param retries: Override the default retry configuration for this method
590
653
  :param server_url: Override the default server URL for this method
591
654
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -619,16 +682,21 @@ class Lake(BaseSDK):
619
682
  accept_header_value="application/json",
620
683
  http_headers=http_headers,
621
684
  security=self.sdk_configuration.security,
685
+ allow_empty_value=None,
622
686
  timeout_ms=timeout_ms,
623
687
  )
624
688
 
625
689
  if retries == UNSET:
626
690
  if self.sdk_configuration.retry_config is not UNSET:
627
691
  retries = self.sdk_configuration.retry_config
692
+ else:
693
+ retries = utils.RetryConfig(
694
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
695
+ )
628
696
 
629
697
  retry_config = None
630
698
  if isinstance(retries, utils.RetryConfig):
631
- retry_config = (retries, ["429", "500", "502", "503", "504"])
699
+ retry_config = (retries, ["429"])
632
700
 
633
701
  http_res = await self.do_request_async(
634
702
  hook_ctx=HookContext(
@@ -647,9 +715,7 @@ class Lake(BaseSDK):
647
715
 
648
716
  response_data: Any = None
649
717
  if utils.match_response(http_res, "200", "application/json"):
650
- return unmarshal_json_response(
651
- models.DeleteCriblLakeDatasetByLakeIDAndIDResponse, http_res
652
- )
718
+ return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
653
719
  if utils.match_response(http_res, "500", "application/json"):
654
720
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
655
721
  raise errors.Error(response_data, http_res)
@@ -662,7 +728,7 @@ class Lake(BaseSDK):
662
728
 
663
729
  raise errors.APIError("Unexpected response received", http_res)
664
730
 
665
- def get_cribl_lake_dataset_by_lake_id_and_id(
731
+ def get(
666
732
  self,
667
733
  *,
668
734
  lake_id: str,
@@ -671,13 +737,13 @@ class Lake(BaseSDK):
671
737
  server_url: Optional[str] = None,
672
738
  timeout_ms: Optional[int] = None,
673
739
  http_headers: Optional[Mapping[str, str]] = None,
674
- ) -> models.GetCriblLakeDatasetByLakeIDAndIDResponse:
675
- r"""Get a Dataset in the specified Lake
740
+ ) -> models.CountedCriblLakeDataset:
741
+ r"""Get a Lake Dataset
676
742
 
677
- Get a Dataset in the specified Lake
743
+ Get the specified Lake Dataset in the specified Lake.
678
744
 
679
- :param lake_id: lake id that contains the Datasets
680
- :param id: dataset id to get
745
+ :param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to get.
746
+ :param id: The <code>id</code> of the Lake Dataset to get.
681
747
  :param retries: Override the default retry configuration for this method
682
748
  :param server_url: Override the default server URL for this method
683
749
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -711,16 +777,21 @@ class Lake(BaseSDK):
711
777
  accept_header_value="application/json",
712
778
  http_headers=http_headers,
713
779
  security=self.sdk_configuration.security,
780
+ allow_empty_value=None,
714
781
  timeout_ms=timeout_ms,
715
782
  )
716
783
 
717
784
  if retries == UNSET:
718
785
  if self.sdk_configuration.retry_config is not UNSET:
719
786
  retries = self.sdk_configuration.retry_config
787
+ else:
788
+ retries = utils.RetryConfig(
789
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
790
+ )
720
791
 
721
792
  retry_config = None
722
793
  if isinstance(retries, utils.RetryConfig):
723
- retry_config = (retries, ["429", "500", "502", "503", "504"])
794
+ retry_config = (retries, ["429"])
724
795
 
725
796
  http_res = self.do_request(
726
797
  hook_ctx=HookContext(
@@ -739,9 +810,7 @@ class Lake(BaseSDK):
739
810
 
740
811
  response_data: Any = None
741
812
  if utils.match_response(http_res, "200", "application/json"):
742
- return unmarshal_json_response(
743
- models.GetCriblLakeDatasetByLakeIDAndIDResponse, http_res
744
- )
813
+ return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
745
814
  if utils.match_response(http_res, "500", "application/json"):
746
815
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
747
816
  raise errors.Error(response_data, http_res)
@@ -754,7 +823,7 @@ class Lake(BaseSDK):
754
823
 
755
824
  raise errors.APIError("Unexpected response received", http_res)
756
825
 
757
- async def get_cribl_lake_dataset_by_lake_id_and_id_async(
826
+ async def get_async(
758
827
  self,
759
828
  *,
760
829
  lake_id: str,
@@ -763,13 +832,13 @@ class Lake(BaseSDK):
763
832
  server_url: Optional[str] = None,
764
833
  timeout_ms: Optional[int] = None,
765
834
  http_headers: Optional[Mapping[str, str]] = None,
766
- ) -> models.GetCriblLakeDatasetByLakeIDAndIDResponse:
767
- r"""Get a Dataset in the specified Lake
835
+ ) -> models.CountedCriblLakeDataset:
836
+ r"""Get a Lake Dataset
768
837
 
769
- Get a Dataset in the specified Lake
838
+ Get the specified Lake Dataset in the specified Lake.
770
839
 
771
- :param lake_id: lake id that contains the Datasets
772
- :param id: dataset id to get
840
+ :param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to get.
841
+ :param id: The <code>id</code> of the Lake Dataset to get.
773
842
  :param retries: Override the default retry configuration for this method
774
843
  :param server_url: Override the default server URL for this method
775
844
  :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
@@ -803,16 +872,21 @@ class Lake(BaseSDK):
803
872
  accept_header_value="application/json",
804
873
  http_headers=http_headers,
805
874
  security=self.sdk_configuration.security,
875
+ allow_empty_value=None,
806
876
  timeout_ms=timeout_ms,
807
877
  )
808
878
 
809
879
  if retries == UNSET:
810
880
  if self.sdk_configuration.retry_config is not UNSET:
811
881
  retries = self.sdk_configuration.retry_config
882
+ else:
883
+ retries = utils.RetryConfig(
884
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
885
+ )
812
886
 
813
887
  retry_config = None
814
888
  if isinstance(retries, utils.RetryConfig):
815
- retry_config = (retries, ["429", "500", "502", "503", "504"])
889
+ retry_config = (retries, ["429"])
816
890
 
817
891
  http_res = await self.do_request_async(
818
892
  hook_ctx=HookContext(
@@ -831,9 +905,7 @@ class Lake(BaseSDK):
831
905
 
832
906
  response_data: Any = None
833
907
  if utils.match_response(http_res, "200", "application/json"):
834
- return unmarshal_json_response(
835
- models.GetCriblLakeDatasetByLakeIDAndIDResponse, http_res
836
- )
908
+ return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
837
909
  if utils.match_response(http_res, "500", "application/json"):
838
910
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
839
911
  raise errors.Error(response_data, http_res)
@@ -846,12 +918,11 @@ class Lake(BaseSDK):
846
918
 
847
919
  raise errors.APIError("Unexpected response received", http_res)
848
920
 
849
- def update_cribl_lake_dataset_by_lake_id_and_id(
921
+ def update(
850
922
  self,
851
923
  *,
852
924
  lake_id: str,
853
925
  id_param: str,
854
- id: str,
855
926
  accelerated_fields: Optional[List[str]] = None,
856
927
  bucket_name: Optional[str] = None,
857
928
  cache_connection: Optional[
@@ -859,8 +930,12 @@ class Lake(BaseSDK):
859
930
  ] = None,
860
931
  deletion_started_at: Optional[float] = None,
861
932
  description: Optional[str] = None,
862
- format_: Optional[models.CriblLakeDatasetFormat] = None,
933
+ format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
863
934
  http_da_used: Optional[bool] = None,
935
+ id: Optional[str] = None,
936
+ metrics: Optional[
937
+ Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
938
+ ] = None,
864
939
  retention_period_in_days: Optional[float] = None,
865
940
  search_config: Optional[
866
941
  Union[
@@ -873,14 +948,13 @@ class Lake(BaseSDK):
873
948
  server_url: Optional[str] = None,
874
949
  timeout_ms: Optional[int] = None,
875
950
  http_headers: Optional[Mapping[str, str]] = None,
876
- ) -> models.UpdateCriblLakeDatasetByLakeIDAndIDResponse:
877
- r"""Update a Dataset in the specified Lake
951
+ ) -> models.CountedCriblLakeDataset:
952
+ r"""Update a Lake Dataset
878
953
 
879
- Update a Dataset in the specified Lake
954
+ Update the specified Lake Dataset in the specified Lake.
880
955
 
881
- :param lake_id: lake id that contains the Datasets
882
- :param id_param: dataset id to update
883
- :param id:
956
+ :param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to update.
957
+ :param id_param: The <code>id</code> of the Lake Dataset to update.
884
958
  :param accelerated_fields:
885
959
  :param bucket_name:
886
960
  :param cache_connection:
@@ -888,6 +962,8 @@ class Lake(BaseSDK):
888
962
  :param description:
889
963
  :param format_:
890
964
  :param http_da_used:
965
+ :param id:
966
+ :param metrics:
891
967
  :param retention_period_in_days:
892
968
  :param search_config:
893
969
  :param storage_location_id:
@@ -910,7 +986,7 @@ class Lake(BaseSDK):
910
986
  request = models.UpdateCriblLakeDatasetByLakeIDAndIDRequest(
911
987
  lake_id=lake_id,
912
988
  id_param=id_param,
913
- cribl_lake_dataset=models.CriblLakeDataset(
989
+ cribl_lake_dataset_update=models.CriblLakeDatasetUpdate(
914
990
  accelerated_fields=accelerated_fields,
915
991
  bucket_name=bucket_name,
916
992
  cache_connection=utils.get_pydantic_model(
@@ -921,6 +997,9 @@ class Lake(BaseSDK):
921
997
  format_=format_,
922
998
  http_da_used=http_da_used,
923
999
  id=id,
1000
+ metrics=utils.get_pydantic_model(
1001
+ metrics, Optional[models.LakeDatasetMetrics]
1002
+ ),
924
1003
  retention_period_in_days=retention_period_in_days,
925
1004
  search_config=utils.get_pydantic_model(
926
1005
  search_config, Optional[models.LakeDatasetSearchConfig]
@@ -944,22 +1023,27 @@ class Lake(BaseSDK):
944
1023
  http_headers=http_headers,
945
1024
  security=self.sdk_configuration.security,
946
1025
  get_serialized_body=lambda: utils.serialize_request_body(
947
- request.cribl_lake_dataset,
1026
+ request.cribl_lake_dataset_update,
948
1027
  False,
949
1028
  False,
950
1029
  "json",
951
- models.CriblLakeDataset,
1030
+ models.CriblLakeDatasetUpdate,
952
1031
  ),
1032
+ allow_empty_value=None,
953
1033
  timeout_ms=timeout_ms,
954
1034
  )
955
1035
 
956
1036
  if retries == UNSET:
957
1037
  if self.sdk_configuration.retry_config is not UNSET:
958
1038
  retries = self.sdk_configuration.retry_config
1039
+ else:
1040
+ retries = utils.RetryConfig(
1041
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
1042
+ )
959
1043
 
960
1044
  retry_config = None
961
1045
  if isinstance(retries, utils.RetryConfig):
962
- retry_config = (retries, ["429", "500", "502", "503", "504"])
1046
+ retry_config = (retries, ["429"])
963
1047
 
964
1048
  http_res = self.do_request(
965
1049
  hook_ctx=HookContext(
@@ -978,9 +1062,7 @@ class Lake(BaseSDK):
978
1062
 
979
1063
  response_data: Any = None
980
1064
  if utils.match_response(http_res, "200", "application/json"):
981
- return unmarshal_json_response(
982
- models.UpdateCriblLakeDatasetByLakeIDAndIDResponse, http_res
983
- )
1065
+ return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
984
1066
  if utils.match_response(http_res, "500", "application/json"):
985
1067
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
986
1068
  raise errors.Error(response_data, http_res)
@@ -993,12 +1075,11 @@ class Lake(BaseSDK):
993
1075
 
994
1076
  raise errors.APIError("Unexpected response received", http_res)
995
1077
 
996
- async def update_cribl_lake_dataset_by_lake_id_and_id_async(
1078
+ async def update_async(
997
1079
  self,
998
1080
  *,
999
1081
  lake_id: str,
1000
1082
  id_param: str,
1001
- id: str,
1002
1083
  accelerated_fields: Optional[List[str]] = None,
1003
1084
  bucket_name: Optional[str] = None,
1004
1085
  cache_connection: Optional[
@@ -1006,8 +1087,12 @@ class Lake(BaseSDK):
1006
1087
  ] = None,
1007
1088
  deletion_started_at: Optional[float] = None,
1008
1089
  description: Optional[str] = None,
1009
- format_: Optional[models.CriblLakeDatasetFormat] = None,
1090
+ format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
1010
1091
  http_da_used: Optional[bool] = None,
1092
+ id: Optional[str] = None,
1093
+ metrics: Optional[
1094
+ Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
1095
+ ] = None,
1011
1096
  retention_period_in_days: Optional[float] = None,
1012
1097
  search_config: Optional[
1013
1098
  Union[
@@ -1020,14 +1105,13 @@ class Lake(BaseSDK):
1020
1105
  server_url: Optional[str] = None,
1021
1106
  timeout_ms: Optional[int] = None,
1022
1107
  http_headers: Optional[Mapping[str, str]] = None,
1023
- ) -> models.UpdateCriblLakeDatasetByLakeIDAndIDResponse:
1024
- r"""Update a Dataset in the specified Lake
1108
+ ) -> models.CountedCriblLakeDataset:
1109
+ r"""Update a Lake Dataset
1025
1110
 
1026
- Update a Dataset in the specified Lake
1111
+ Update the specified Lake Dataset in the specified Lake.
1027
1112
 
1028
- :param lake_id: lake id that contains the Datasets
1029
- :param id_param: dataset id to update
1030
- :param id:
1113
+ :param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to update.
1114
+ :param id_param: The <code>id</code> of the Lake Dataset to update.
1031
1115
  :param accelerated_fields:
1032
1116
  :param bucket_name:
1033
1117
  :param cache_connection:
@@ -1035,6 +1119,8 @@ class Lake(BaseSDK):
1035
1119
  :param description:
1036
1120
  :param format_:
1037
1121
  :param http_da_used:
1122
+ :param id:
1123
+ :param metrics:
1038
1124
  :param retention_period_in_days:
1039
1125
  :param search_config:
1040
1126
  :param storage_location_id:
@@ -1057,7 +1143,7 @@ class Lake(BaseSDK):
1057
1143
  request = models.UpdateCriblLakeDatasetByLakeIDAndIDRequest(
1058
1144
  lake_id=lake_id,
1059
1145
  id_param=id_param,
1060
- cribl_lake_dataset=models.CriblLakeDataset(
1146
+ cribl_lake_dataset_update=models.CriblLakeDatasetUpdate(
1061
1147
  accelerated_fields=accelerated_fields,
1062
1148
  bucket_name=bucket_name,
1063
1149
  cache_connection=utils.get_pydantic_model(
@@ -1068,6 +1154,9 @@ class Lake(BaseSDK):
1068
1154
  format_=format_,
1069
1155
  http_da_used=http_da_used,
1070
1156
  id=id,
1157
+ metrics=utils.get_pydantic_model(
1158
+ metrics, Optional[models.LakeDatasetMetrics]
1159
+ ),
1071
1160
  retention_period_in_days=retention_period_in_days,
1072
1161
  search_config=utils.get_pydantic_model(
1073
1162
  search_config, Optional[models.LakeDatasetSearchConfig]
@@ -1091,22 +1180,27 @@ class Lake(BaseSDK):
1091
1180
  http_headers=http_headers,
1092
1181
  security=self.sdk_configuration.security,
1093
1182
  get_serialized_body=lambda: utils.serialize_request_body(
1094
- request.cribl_lake_dataset,
1183
+ request.cribl_lake_dataset_update,
1095
1184
  False,
1096
1185
  False,
1097
1186
  "json",
1098
- models.CriblLakeDataset,
1187
+ models.CriblLakeDatasetUpdate,
1099
1188
  ),
1189
+ allow_empty_value=None,
1100
1190
  timeout_ms=timeout_ms,
1101
1191
  )
1102
1192
 
1103
1193
  if retries == UNSET:
1104
1194
  if self.sdk_configuration.retry_config is not UNSET:
1105
1195
  retries = self.sdk_configuration.retry_config
1196
+ else:
1197
+ retries = utils.RetryConfig(
1198
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
1199
+ )
1106
1200
 
1107
1201
  retry_config = None
1108
1202
  if isinstance(retries, utils.RetryConfig):
1109
- retry_config = (retries, ["429", "500", "502", "503", "504"])
1203
+ retry_config = (retries, ["429"])
1110
1204
 
1111
1205
  http_res = await self.do_request_async(
1112
1206
  hook_ctx=HookContext(
@@ -1125,9 +1219,7 @@ class Lake(BaseSDK):
1125
1219
 
1126
1220
  response_data: Any = None
1127
1221
  if utils.match_response(http_res, "200", "application/json"):
1128
- return unmarshal_json_response(
1129
- models.UpdateCriblLakeDatasetByLakeIDAndIDResponse, http_res
1130
- )
1222
+ return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
1131
1223
  if utils.match_response(http_res, "500", "application/json"):
1132
1224
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
1133
1225
  raise errors.Error(response_data, http_res)