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.
- cribl_control_plane/_hooks/clientcredentials.py +113 -48
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +225 -0
- cribl_control_plane/auth_sdk.py +12 -176
- cribl_control_plane/basesdk.py +17 -1
- cribl_control_plane/branches.py +351 -0
- cribl_control_plane/commits.py +1403 -0
- cribl_control_plane/commits_files.py +391 -0
- cribl_control_plane/configs_versions.py +201 -0
- cribl_control_plane/cribl.py +495 -0
- cribl_control_plane/destinations.py +146 -805
- cribl_control_plane/destinations_pq.py +379 -0
- cribl_control_plane/errors/__init__.py +26 -10
- cribl_control_plane/errors/apierror.py +2 -0
- cribl_control_plane/errors/criblcontrolplaneerror.py +11 -7
- cribl_control_plane/errors/error.py +4 -2
- cribl_control_plane/errors/healthserverstatus_error.py +41 -0
- cribl_control_plane/errors/no_response_error.py +5 -1
- cribl_control_plane/errors/responsevalidationerror.py +2 -0
- cribl_control_plane/functions.py +367 -0
- cribl_control_plane/groups_configs.py +22 -0
- cribl_control_plane/groups_sdk.py +333 -578
- cribl_control_plane/health.py +38 -18
- cribl_control_plane/hectokens.py +503 -0
- cribl_control_plane/httpclient.py +0 -1
- cribl_control_plane/{lake.py → lakedatasets.py} +207 -115
- cribl_control_plane/models/__init__.py +3644 -5986
- cribl_control_plane/models/addhectokenrequest.py +7 -1
- cribl_control_plane/models/authtoken.py +5 -1
- cribl_control_plane/models/backupssettings_union.py +37 -0
- cribl_control_plane/models/{lookupversions.py → branchinfo.py} +4 -4
- cribl_control_plane/models/cacheconnection.py +30 -2
- cribl_control_plane/models/cacheconnectionbackfillstatus.py +2 -1
- cribl_control_plane/models/cloudprovider.py +2 -1
- cribl_control_plane/models/collectorazureblob.py +130 -0
- cribl_control_plane/models/collectorconf.py +56 -0
- cribl_control_plane/models/collectorcribllake.py +27 -0
- cribl_control_plane/models/collectordatabase.py +92 -0
- cribl_control_plane/models/collectorfilesystem.py +66 -0
- cribl_control_plane/models/collectorgooglecloudstorage.py +131 -0
- cribl_control_plane/models/collectorhealthcheck.py +269 -0
- cribl_control_plane/models/collectorrest.py +340 -0
- cribl_control_plane/models/collectors3.py +239 -0
- cribl_control_plane/models/collectorscript.py +59 -0
- cribl_control_plane/models/collectorsplunk.py +253 -0
- cribl_control_plane/models/configgroup.py +67 -11
- cribl_control_plane/models/configgroupcloud.py +17 -3
- cribl_control_plane/models/countedbranchinfo.py +20 -0
- cribl_control_plane/models/countedconfiggroup.py +20 -0
- cribl_control_plane/models/countedcribllakedataset.py +20 -0
- cribl_control_plane/models/counteddistributedsummary.py +20 -0
- cribl_control_plane/models/countedfunctionresponse.py +20 -0
- cribl_control_plane/models/countedgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedgitcountresult.py +20 -0
- cribl_control_plane/models/countedgitdiffresult.py +20 -0
- cribl_control_plane/models/countedgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedgitinfo.py} +2 -6
- cribl_control_plane/models/countedgitlogresult.py +20 -0
- cribl_control_plane/models/countedgitrevertresult.py +20 -0
- cribl_control_plane/models/countedgitshowresult.py +20 -0
- cribl_control_plane/models/countedgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedinput.py} +2 -6
- cribl_control_plane/models/countedinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedjobinfo.py +20 -0
- cribl_control_plane/models/countedmasterworkerentry.py +20 -0
- cribl_control_plane/models/countednumber.py +19 -0
- cribl_control_plane/models/{getversionbranchop.py → countedobject.py} +2 -6
- cribl_control_plane/models/{listoutputop.py → countedoutput.py} +2 -6
- cribl_control_plane/models/countedoutputsamplesresponse.py +20 -0
- cribl_control_plane/models/countedoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedroutes.py} +2 -6
- cribl_control_plane/models/countedstring.py +19 -0
- cribl_control_plane/models/countedsystemsettingsconf.py +20 -0
- cribl_control_plane/models/countedteamaccesscontrollist.py +20 -0
- cribl_control_plane/models/counteduseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createauthloginop.py +18 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +46 -0
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +3 -21
- cribl_control_plane/models/createinputhectokenbyidop.py +3 -21
- cribl_control_plane/models/createoutputtestbyidop.py +3 -22
- cribl_control_plane/models/createroutesappendbyidop.py +4 -21
- cribl_control_plane/models/createversioncommitop.py +27 -20
- cribl_control_plane/models/createversionrevertop.py +7 -23
- cribl_control_plane/models/createversionundoop.py +7 -22
- cribl_control_plane/models/criblevent.py +15 -0
- cribl_control_plane/models/cribllakedataset.py +23 -3
- cribl_control_plane/models/cribllakedatasetupdate.py +95 -0
- cribl_control_plane/models/currentbranchresult.py +13 -0
- cribl_control_plane/models/datasetmetadata.py +18 -2
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +43 -0
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +5 -24
- cribl_control_plane/models/deleteinputbyidop.py +3 -22
- cribl_control_plane/models/deleteoutputbyidop.py +3 -22
- cribl_control_plane/models/deleteoutputpqbyidop.py +3 -21
- cribl_control_plane/models/deletepacksbyidop.py +3 -22
- cribl_control_plane/models/deletepipelinebyidop.py +3 -22
- cribl_control_plane/models/difffiles.py +130 -0
- cribl_control_plane/models/diffline.py +26 -0
- cribl_control_plane/models/difflinecontext.py +28 -0
- cribl_control_plane/models/difflinedelete.py +25 -0
- cribl_control_plane/models/difflineinsert.py +25 -0
- cribl_control_plane/models/distributedsummary.py +6 -0
- cribl_control_plane/models/functionaggregatemetrics.py +206 -0
- cribl_control_plane/models/functionaggregation.py +172 -0
- cribl_control_plane/models/functionautotimestamp.py +173 -0
- cribl_control_plane/models/functioncef.py +111 -0
- cribl_control_plane/models/functionchain.py +75 -0
- cribl_control_plane/models/functionclone.py +75 -0
- cribl_control_plane/models/functioncode.py +96 -0
- cribl_control_plane/models/functioncomment.py +75 -0
- cribl_control_plane/models/functiondistinct.py +99 -0
- cribl_control_plane/models/functiondnslookup.py +250 -0
- cribl_control_plane/models/functiondrop.py +73 -0
- cribl_control_plane/models/functiondropdimensions.py +87 -0
- cribl_control_plane/models/functiondynamicsampling.py +121 -0
- cribl_control_plane/models/functioneval.py +103 -0
- cribl_control_plane/models/functioneventbreaker.py +103 -0
- cribl_control_plane/models/functioneventstats.py +92 -0
- cribl_control_plane/models/functionexternaldata.py +73 -0
- cribl_control_plane/models/functionflatten.py +90 -0
- cribl_control_plane/models/functionfoldkeys.py +89 -0
- cribl_control_plane/models/functiongenstats.py +73 -0
- cribl_control_plane/models/functiongeoip.py +120 -0
- cribl_control_plane/models/functiongrok.py +95 -0
- cribl_control_plane/models/functionhandlebar.py +112 -0
- cribl_control_plane/models/functionjoin.py +112 -0
- cribl_control_plane/models/functionjsonunroll.py +80 -0
- cribl_control_plane/models/functionlakeexport.py +102 -0
- cribl_control_plane/models/functionlimit.py +75 -0
- cribl_control_plane/models/functionlocalsearchdatatypeparser.py +76 -0
- cribl_control_plane/models/functionlocalsearchrulesetrunner.py +97 -0
- cribl_control_plane/models/functionlookup.py +148 -0
- cribl_control_plane/models/functionmask.py +121 -0
- cribl_control_plane/models/functionmvexpand.py +128 -0
- cribl_control_plane/models/functionmvpull.py +99 -0
- cribl_control_plane/models/functionnotificationpolicies.py +186 -0
- cribl_control_plane/models/functionnotifications.py +85 -0
- cribl_control_plane/models/functionnotify.py +196 -0
- cribl_control_plane/models/functionnumerify.py +119 -0
- cribl_control_plane/models/functionotlplogs.py +82 -0
- cribl_control_plane/models/functionotlpmetrics.py +118 -0
- cribl_control_plane/models/functionotlptraces.py +111 -0
- cribl_control_plane/models/functionpack.py +80 -0
- cribl_control_plane/models/functionpivot.py +85 -0
- cribl_control_plane/models/functionpublishmetrics.py +153 -0
- cribl_control_plane/models/functionredis.py +173 -0
- cribl_control_plane/models/functionregexextract.py +112 -0
- cribl_control_plane/models/functionregexfilter.py +95 -0
- cribl_control_plane/models/functionrename.py +107 -0
- cribl_control_plane/models/functionresponse.py +242 -0
- cribl_control_plane/models/functionrollupmetrics.py +114 -0
- cribl_control_plane/models/functionsampling.py +90 -0
- cribl_control_plane/models/functionsend.py +141 -0
- cribl_control_plane/models/functionsensitivedatascanner.py +128 -0
- cribl_control_plane/models/functionserde.py +161 -0
- cribl_control_plane/models/functionserialize.py +134 -0
- cribl_control_plane/models/functionsidlookup.py +93 -0
- cribl_control_plane/models/functionsnmptrapserialize.py +144 -0
- cribl_control_plane/models/functionsort.py +97 -0
- cribl_control_plane/models/functionstore.py +132 -0
- cribl_control_plane/models/functionsuppress.py +115 -0
- cribl_control_plane/models/functiontee.py +90 -0
- cribl_control_plane/models/functiontrimtimestamp.py +75 -0
- cribl_control_plane/models/functionunion.py +80 -0
- cribl_control_plane/models/functionunroll.py +80 -0
- cribl_control_plane/models/functionwindow.py +96 -0
- cribl_control_plane/models/functionxmlunroll.py +92 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +63 -0
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +63 -0
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +53 -0
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +43 -0
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +5 -24
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +56 -16
- cribl_control_plane/models/getfunctionsbyidop.py +18 -0
- cribl_control_plane/models/getinputbyidop.py +3 -22
- cribl_control_plane/models/getmasterworkerentryop.py +22 -0
- cribl_control_plane/models/getoutputbyidop.py +3 -22
- cribl_control_plane/models/getoutputpqbyidop.py +3 -21
- cribl_control_plane/models/getoutputsamplesbyidop.py +3 -22
- cribl_control_plane/models/getpacksbyidop.py +18 -0
- cribl_control_plane/models/getpacksop.py +3 -21
- cribl_control_plane/models/getpipelinebyidop.py +3 -22
- cribl_control_plane/models/getroutesbyidop.py +3 -22
- cribl_control_plane/models/getsummaryop.py +23 -32
- cribl_control_plane/models/getversioncountop.py +10 -27
- cribl_control_plane/models/getversiondiffop.py +12 -28
- cribl_control_plane/models/getversionfilesop.py +10 -28
- cribl_control_plane/models/getversionop.py +30 -0
- cribl_control_plane/models/getversionshowop.py +12 -28
- cribl_control_plane/models/getversionstatusop.py +7 -23
- cribl_control_plane/models/gitcommitsummary.py +3 -3
- cribl_control_plane/models/{routecloneconf.py → gitcountresult.py} +4 -4
- cribl_control_plane/models/gitdiffresult.py +16 -0
- cribl_control_plane/models/gitfilesresponse.py +7 -5
- cribl_control_plane/models/gitinfo.py +14 -3
- cribl_control_plane/models/gitlogresult.py +33 -0
- cribl_control_plane/models/gitrevertparams.py +3 -3
- cribl_control_plane/models/gitrevertresult.py +5 -5
- cribl_control_plane/models/gitshowresult.py +19 -0
- cribl_control_plane/models/gitstatusresult.py +0 -3
- cribl_control_plane/models/groupcreaterequest.py +172 -0
- cribl_control_plane/models/hbcriblinfo.py +42 -7
- cribl_control_plane/models/healthserverstatus.py +55 -0
- cribl_control_plane/models/heartbeatmetadata.py +6 -11
- cribl_control_plane/models/input.py +89 -81
- cribl_control_plane/models/inputappscope.py +131 -35
- cribl_control_plane/models/inputazureblob.py +62 -6
- cribl_control_plane/models/inputcloudflarehec.py +518 -0
- cribl_control_plane/models/inputcollection.py +49 -6
- cribl_control_plane/models/inputconfluentcloud.py +262 -22
- cribl_control_plane/models/inputcribl.py +52 -9
- cribl_control_plane/models/inputcriblhttp.py +124 -33
- cribl_control_plane/models/inputcribllakehttp.py +199 -29
- cribl_control_plane/models/inputcriblmetrics.py +53 -9
- cribl_control_plane/models/inputcribltcp.py +125 -27
- cribl_control_plane/models/inputcrowdstrike.py +99 -10
- cribl_control_plane/models/inputdatadogagent.py +101 -27
- cribl_control_plane/models/inputdatagen.py +47 -4
- cribl_control_plane/models/inputedgeprometheus.py +215 -58
- cribl_control_plane/models/inputelastic.py +170 -39
- cribl_control_plane/models/inputeventhub.py +212 -9
- cribl_control_plane/models/inputexec.py +59 -6
- cribl_control_plane/models/inputfile.py +83 -15
- cribl_control_plane/models/inputfirehose.py +100 -27
- cribl_control_plane/models/inputgooglepubsub.py +83 -15
- cribl_control_plane/models/{inputgrafana_union.py → inputgrafana.py} +261 -67
- cribl_control_plane/models/inputhttp.py +100 -27
- cribl_control_plane/models/inputhttpraw.py +100 -27
- cribl_control_plane/models/inputjournalfiles.py +51 -7
- cribl_control_plane/models/inputkafka.py +257 -19
- cribl_control_plane/models/inputkinesis.py +133 -17
- cribl_control_plane/models/inputkubeevents.py +52 -9
- cribl_control_plane/models/inputkubelogs.py +66 -13
- cribl_control_plane/models/inputkubemetrics.py +66 -13
- cribl_control_plane/models/inputloki.py +116 -30
- cribl_control_plane/models/inputmetrics.py +97 -24
- cribl_control_plane/models/inputmodeldriventelemetry.py +110 -29
- cribl_control_plane/models/inputmsk.py +148 -21
- cribl_control_plane/models/inputnetflow.py +50 -7
- cribl_control_plane/models/inputoffice365mgmt.py +115 -17
- cribl_control_plane/models/inputoffice365msgtrace.py +117 -19
- cribl_control_plane/models/inputoffice365service.py +117 -19
- cribl_control_plane/models/inputopentelemetry.py +146 -35
- cribl_control_plane/models/inputprometheus.py +196 -47
- cribl_control_plane/models/inputprometheusrw.py +117 -30
- cribl_control_plane/models/inputrawudp.py +50 -7
- cribl_control_plane/models/inputs3.py +85 -8
- cribl_control_plane/models/inputs3inventory.py +99 -10
- cribl_control_plane/models/inputsecuritylake.py +100 -10
- cribl_control_plane/models/inputsnmp.py +115 -24
- cribl_control_plane/models/inputsplunk.py +133 -31
- cribl_control_plane/models/inputsplunkhec.py +122 -32
- cribl_control_plane/models/inputsplunksearch.py +115 -18
- cribl_control_plane/models/inputsqs.py +102 -19
- cribl_control_plane/models/{inputsyslog_union.py → inputsyslog.py} +193 -51
- cribl_control_plane/models/inputsystemmetrics.py +207 -37
- cribl_control_plane/models/inputsystemstate.py +66 -13
- cribl_control_plane/models/inputtcp.py +125 -29
- cribl_control_plane/models/inputtcpjson.py +115 -29
- cribl_control_plane/models/inputwef.py +151 -22
- cribl_control_plane/models/inputwindowsmetrics.py +191 -38
- cribl_control_plane/models/inputwineventlogs.py +93 -11
- cribl_control_plane/models/inputwiz.py +176 -11
- cribl_control_plane/models/inputwizwebhook.py +466 -0
- cribl_control_plane/models/inputzscalerhec.py +122 -32
- cribl_control_plane/models/jobinfo.py +34 -0
- cribl_control_plane/models/jobstatus.py +48 -0
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/lakehouseconnectiontype.py +2 -1
- cribl_control_plane/models/listconfiggroupbyproductop.py +46 -0
- cribl_control_plane/models/listmasterworkerentryop.py +64 -0
- cribl_control_plane/models/logininfo.py +3 -3
- cribl_control_plane/models/masterworkerentry.py +20 -13
- cribl_control_plane/models/nodeactiveupgradestatus.py +2 -1
- cribl_control_plane/models/nodefailedupgradestatus.py +2 -1
- cribl_control_plane/models/nodeprovidedinfo.py +13 -11
- cribl_control_plane/models/nodeskippedupgradestatus.py +2 -1
- cribl_control_plane/models/nodeupgradestate.py +2 -1
- cribl_control_plane/models/nodeupgradestatus.py +51 -5
- cribl_control_plane/models/outpostnodeinfo.py +16 -0
- cribl_control_plane/models/output.py +103 -89
- cribl_control_plane/models/outputazureblob.py +174 -21
- cribl_control_plane/models/outputazuredataexplorer.py +517 -93
- cribl_control_plane/models/outputazureeventhub.py +318 -34
- cribl_control_plane/models/outputazurelogs.py +145 -26
- cribl_control_plane/models/outputchronicle.py +532 -0
- cribl_control_plane/models/outputclickhouse.py +208 -37
- cribl_control_plane/models/outputcloudflarer2.py +632 -0
- cribl_control_plane/models/outputcloudwatch.py +132 -26
- cribl_control_plane/models/outputconfluentcloud.py +387 -46
- cribl_control_plane/models/outputcriblhttp.py +203 -36
- cribl_control_plane/models/outputcribllake.py +161 -21
- cribl_control_plane/models/outputcribltcp.py +199 -34
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +176 -32
- cribl_control_plane/models/outputdatabricks.py +501 -0
- cribl_control_plane/models/outputdatadog.py +204 -36
- cribl_control_plane/models/outputdataset.py +186 -34
- cribl_control_plane/models/outputdevnull.py +5 -5
- cribl_control_plane/models/outputdiskspool.py +22 -7
- cribl_control_plane/models/outputdls3.py +238 -29
- cribl_control_plane/models/outputdynatracehttp.py +211 -37
- cribl_control_plane/models/outputdynatraceotlp.py +213 -39
- cribl_control_plane/models/outputelastic.py +199 -30
- cribl_control_plane/models/outputelasticcloud.py +174 -29
- cribl_control_plane/models/outputexabeam.py +99 -13
- cribl_control_plane/models/outputfilesystem.py +139 -14
- cribl_control_plane/models/outputgooglechronicle.py +216 -35
- cribl_control_plane/models/outputgooglecloudlogging.py +177 -34
- cribl_control_plane/models/outputgooglecloudstorage.py +220 -29
- cribl_control_plane/models/outputgooglepubsub.py +138 -51
- cribl_control_plane/models/outputgrafanacloud.py +386 -70
- cribl_control_plane/models/outputgraphite.py +131 -28
- cribl_control_plane/models/outputhoneycomb.py +145 -26
- cribl_control_plane/models/outputhumiohec.py +165 -31
- cribl_control_plane/models/outputinfluxdb.py +165 -28
- cribl_control_plane/models/outputkafka.py +378 -41
- cribl_control_plane/models/outputkinesis.py +168 -30
- cribl_control_plane/models/outputloki.py +171 -27
- cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
- cribl_control_plane/models/outputminio.py +228 -28
- cribl_control_plane/models/outputmsk.py +270 -43
- cribl_control_plane/models/outputnewrelic.py +176 -34
- cribl_control_plane/models/outputnewrelicevents.py +166 -31
- cribl_control_plane/models/outputopentelemetry.py +240 -40
- cribl_control_plane/models/outputprometheus.py +145 -26
- cribl_control_plane/models/outputring.py +54 -13
- cribl_control_plane/models/outputs3.py +238 -31
- cribl_control_plane/models/outputsecuritylake.py +182 -21
- cribl_control_plane/models/outputsentinel.py +175 -32
- cribl_control_plane/models/outputsentineloneaisiem.py +184 -38
- cribl_control_plane/models/outputservicenow.py +226 -41
- cribl_control_plane/models/outputsignalfx.py +145 -26
- cribl_control_plane/models/outputsns.py +146 -28
- cribl_control_plane/models/outputsplunk.py +209 -39
- cribl_control_plane/models/outputsplunkhec.py +243 -31
- cribl_control_plane/models/outputsplunklb.py +266 -46
- cribl_control_plane/models/outputsqs.py +166 -36
- cribl_control_plane/models/outputstatsd.py +130 -28
- cribl_control_plane/models/outputstatsdext.py +131 -28
- cribl_control_plane/models/outputsumologic.py +146 -25
- cribl_control_plane/models/outputsyslog.py +323 -51
- cribl_control_plane/models/outputtcpjson.py +191 -37
- cribl_control_plane/models/outputwavefront.py +145 -26
- cribl_control_plane/models/outputwebhook.py +216 -38
- cribl_control_plane/models/outputxsiam.py +148 -31
- cribl_control_plane/models/packinfo.py +11 -8
- cribl_control_plane/models/packinstallinfo.py +14 -11
- cribl_control_plane/models/packrequestbody_union.py +140 -0
- cribl_control_plane/models/packupgraderequest.py +26 -0
- cribl_control_plane/models/piisettings_union.py +31 -0
- cribl_control_plane/models/productscore.py +10 -0
- cribl_control_plane/models/rbacresource.py +2 -1
- cribl_control_plane/models/resourcepolicy.py +15 -2
- cribl_control_plane/models/rollbacksettings_union.py +44 -0
- cribl_control_plane/models/routeconf.py +3 -4
- cribl_control_plane/models/routes.py +0 -24
- cribl_control_plane/models/runnablejob.py +27 -0
- cribl_control_plane/models/runnablejobcollection.py +628 -0
- cribl_control_plane/models/runnablejobexecutor.py +360 -0
- cribl_control_plane/models/runnablejobscheduledsearch.py +279 -0
- cribl_control_plane/models/schemeclientoauth.py +5 -0
- cribl_control_plane/models/snisettings_union.py +31 -0
- cribl_control_plane/models/systemsettingsconf.py +291 -0
- cribl_control_plane/models/tlssettings_union.py +43 -0
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +56 -0
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +53 -0
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +14 -29
- cribl_control_plane/models/updatehectokenrequest.py +7 -1
- cribl_control_plane/models/updateinputbyidop.py +5 -23
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +5 -23
- cribl_control_plane/models/updateoutputbyidop.py +5 -23
- cribl_control_plane/models/updatepacksbyidop.py +12 -50
- cribl_control_plane/models/updatepacksop.py +12 -24
- cribl_control_plane/models/updatepipelinebyidop.py +5 -23
- cribl_control_plane/models/updateroutesbyidop.py +8 -27
- cribl_control_plane/models/upgradegroupsettings_union.py +43 -0
- cribl_control_plane/models/upgradepackageurls.py +20 -0
- cribl_control_plane/models/upgradesettings.py +38 -0
- cribl_control_plane/models/uploadpackresponse.py +13 -0
- cribl_control_plane/models/{appmode.py → workertypes.py} +2 -5
- cribl_control_plane/{workers_sdk.py → nodes.py} +102 -234
- cribl_control_plane/packs.py +385 -184
- cribl_control_plane/pipelines.py +116 -66
- cribl_control_plane/routes_sdk.py +102 -70
- cribl_control_plane/samples.py +407 -0
- cribl_control_plane/sdk.py +35 -25
- cribl_control_plane/settings.py +20 -0
- cribl_control_plane/sources.py +143 -545
- cribl_control_plane/statuses.py +195 -0
- cribl_control_plane/summaries.py +195 -0
- cribl_control_plane/system_sdk.py +20 -0
- cribl_control_plane/teams.py +36 -28
- cribl_control_plane/tokens.py +210 -0
- cribl_control_plane/utils/__init__.py +18 -5
- cribl_control_plane/utils/annotations.py +32 -8
- cribl_control_plane/utils/eventstreaming.py +10 -0
- cribl_control_plane/utils/forms.py +21 -10
- cribl_control_plane/utils/queryparams.py +14 -2
- cribl_control_plane/utils/retries.py +69 -5
- cribl_control_plane/utils/security.py +5 -0
- cribl_control_plane/utils/unmarshal_json_response.py +15 -1
- cribl_control_plane/versions.py +31 -0
- cribl_control_plane/{distributed.py → versions_configs.py} +29 -35
- cribl_control_plane-0.4.0b23.dist-info/METADATA +855 -0
- cribl_control_plane-0.4.0b23.dist-info/RECORD +450 -0
- {cribl_control_plane-0.0.21.dist-info → cribl_control_plane-0.4.0b23.dist-info}/WHEEL +1 -1
- cribl_control_plane-0.4.0b23.dist-info/licenses/LICENSE +201 -0
- cribl_control_plane/errors/healthstatus_error.py +0 -32
- cribl_control_plane/models/createinputop.py +0 -18238
- cribl_control_plane/models/createoutputop.py +0 -18437
- cribl_control_plane/models/createpipelineop.py +0 -24
- cribl_control_plane/models/createproductsgroupsbyproductop.py +0 -54
- cribl_control_plane/models/createversionpushop.py +0 -23
- cribl_control_plane/models/createversionsyncop.py +0 -23
- cribl_control_plane/models/deletegroupsbyidop.py +0 -37
- cribl_control_plane/models/getgroupsaclbyidop.py +0 -63
- cribl_control_plane/models/getgroupsbyidop.py +0 -49
- cribl_control_plane/models/getgroupsconfigversionbyidop.py +0 -36
- cribl_control_plane/models/getproductsgroupsaclteamsbyproductandidop.py +0 -78
- cribl_control_plane/models/getproductsgroupsbyproductop.py +0 -58
- cribl_control_plane/models/getsummaryworkersop.py +0 -39
- cribl_control_plane/models/getversioncurrentbranchop.py +0 -23
- cribl_control_plane/models/getworkersop.py +0 -82
- cribl_control_plane/models/healthstatus.py +0 -33
- cribl_control_plane/models/packrequestbody.py +0 -75
- cribl_control_plane/models/restartresponse.py +0 -26
- cribl_control_plane/models/routesroute_input.py +0 -67
- cribl_control_plane/models/updategroupsbyidop.py +0 -48
- cribl_control_plane/models/updategroupsdeploybyidop.py +0 -46
- cribl_control_plane/models/updateworkersrestartop.py +0 -24
- cribl_control_plane/versioning.py +0 -2309
- cribl_control_plane-0.0.21.dist-info/METADATA +0 -561
- 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
|
|
13
|
-
|
|
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.
|
|
42
|
-
r"""Create a Dataset
|
|
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:
|
|
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"
|
|
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
|
|
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.
|
|
186
|
-
r"""Create a Dataset
|
|
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:
|
|
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"
|
|
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
|
|
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.
|
|
312
|
-
r"""
|
|
313
|
-
|
|
314
|
-
Get
|
|
315
|
-
|
|
316
|
-
:param lake_id:
|
|
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"
|
|
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
|
|
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.
|
|
401
|
-
r"""
|
|
402
|
-
|
|
403
|
-
Get
|
|
404
|
-
|
|
405
|
-
:param lake_id:
|
|
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"
|
|
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
|
|
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.
|
|
491
|
-
r"""Delete a Dataset
|
|
550
|
+
) -> models.CountedCriblLakeDataset:
|
|
551
|
+
r"""Delete a Lake Dataset
|
|
492
552
|
|
|
493
|
-
Delete
|
|
553
|
+
Delete the specified Lake Dataset in the specified Lake
|
|
494
554
|
|
|
495
|
-
:param lake_id:
|
|
496
|
-
:param id:
|
|
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"
|
|
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
|
|
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.
|
|
583
|
-
r"""Delete a Dataset
|
|
645
|
+
) -> models.CountedCriblLakeDataset:
|
|
646
|
+
r"""Delete a Lake Dataset
|
|
584
647
|
|
|
585
|
-
Delete
|
|
648
|
+
Delete the specified Lake Dataset in the specified Lake
|
|
586
649
|
|
|
587
|
-
:param lake_id:
|
|
588
|
-
:param id:
|
|
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"
|
|
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
|
|
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.
|
|
675
|
-
r"""Get a Dataset
|
|
740
|
+
) -> models.CountedCriblLakeDataset:
|
|
741
|
+
r"""Get a Lake Dataset
|
|
676
742
|
|
|
677
|
-
Get
|
|
743
|
+
Get the specified Lake Dataset in the specified Lake.
|
|
678
744
|
|
|
679
|
-
:param lake_id:
|
|
680
|
-
:param id:
|
|
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"
|
|
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
|
|
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.
|
|
767
|
-
r"""Get a Dataset
|
|
835
|
+
) -> models.CountedCriblLakeDataset:
|
|
836
|
+
r"""Get a Lake Dataset
|
|
768
837
|
|
|
769
|
-
Get
|
|
838
|
+
Get the specified Lake Dataset in the specified Lake.
|
|
770
839
|
|
|
771
|
-
:param lake_id:
|
|
772
|
-
:param id:
|
|
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"
|
|
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
|
|
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.
|
|
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.
|
|
877
|
-
r"""Update a Dataset
|
|
951
|
+
) -> models.CountedCriblLakeDataset:
|
|
952
|
+
r"""Update a Lake Dataset
|
|
878
953
|
|
|
879
|
-
Update
|
|
954
|
+
Update the specified Lake Dataset in the specified Lake.
|
|
880
955
|
|
|
881
|
-
:param lake_id:
|
|
882
|
-
:param id_param:
|
|
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
|
-
|
|
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.
|
|
1026
|
+
request.cribl_lake_dataset_update,
|
|
948
1027
|
False,
|
|
949
1028
|
False,
|
|
950
1029
|
"json",
|
|
951
|
-
models.
|
|
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"
|
|
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
|
|
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.
|
|
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.
|
|
1024
|
-
r"""Update a Dataset
|
|
1108
|
+
) -> models.CountedCriblLakeDataset:
|
|
1109
|
+
r"""Update a Lake Dataset
|
|
1025
1110
|
|
|
1026
|
-
Update
|
|
1111
|
+
Update the specified Lake Dataset in the specified Lake.
|
|
1027
1112
|
|
|
1028
|
-
:param lake_id:
|
|
1029
|
-
:param id_param:
|
|
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
|
-
|
|
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.
|
|
1183
|
+
request.cribl_lake_dataset_update,
|
|
1095
1184
|
False,
|
|
1096
1185
|
False,
|
|
1097
1186
|
"json",
|
|
1098
|
-
models.
|
|
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"
|
|
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)
|