cribl-control-plane 0.0.39__py3-none-any.whl → 0.5.0b3__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 +92 -42
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +21 -9
- cribl_control_plane/auth_sdk.py +6 -3
- cribl_control_plane/basesdk.py +17 -1
- cribl_control_plane/branches.py +28 -8
- cribl_control_plane/collectors_sdk.py +993 -0
- cribl_control_plane/commits.py +119 -47
- cribl_control_plane/commits_files.py +44 -24
- cribl_control_plane/configs_versions.py +16 -10
- cribl_control_plane/cribl.py +495 -0
- cribl_control_plane/destinations.py +86 -34
- cribl_control_plane/destinations_pq.py +34 -14
- cribl_control_plane/errors/__init__.py +23 -8
- 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 +8 -3
- cribl_control_plane/groups_sdk.py +156 -94
- cribl_control_plane/health.py +34 -14
- cribl_control_plane/hectokens.py +44 -20
- cribl_control_plane/httpclient.py +0 -1
- cribl_control_plane/lakedatasets.py +156 -62
- cribl_control_plane/models/__init__.py +4736 -490
- 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/{routecloneconf.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 +65 -8
- 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/{createinputop.py → countedgitdiffresult.py} +5 -9
- 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/{createoutputop.py → countedoutputsamplesresponse.py} +5 -9
- 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/countedsavedjob.py +20 -0
- 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 +26 -27
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -19
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +4 -22
- cribl_control_plane/models/createsavedjobop.py +30 -0
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +3 -21
- cribl_control_plane/models/createversionundoop.py +1 -18
- 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/datasetmetadata.py +18 -2
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +18 -21
- cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/deleteinputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputbyidop.py +1 -20
- cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
- cribl_control_plane/models/deletepacksbyidop.py +1 -20
- cribl_control_plane/models/deletepipelinebyidop.py +3 -22
- cribl_control_plane/models/deletesavedjobbyidop.py +42 -0
- 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 +69 -0
- cribl_control_plane/models/functionaggregation.py +69 -0
- cribl_control_plane/models/functionautotimestamp.py +69 -0
- cribl_control_plane/models/functioncef.py +66 -0
- cribl_control_plane/models/functionchain.py +69 -0
- cribl_control_plane/models/functionclone.py +69 -0
- cribl_control_plane/models/functioncode.py +69 -0
- cribl_control_plane/models/functioncomment.py +69 -0
- cribl_control_plane/models/functionconfschemaaggregatemetrics.py +153 -0
- cribl_control_plane/models/functionconfschemaaggregation.py +114 -0
- cribl_control_plane/models/functionconfschemaautotimestamp.py +116 -0
- cribl_control_plane/models/functionconfschemacef.py +83 -0
- cribl_control_plane/models/functionconfschemachain.py +16 -0
- cribl_control_plane/models/functionconfschemaclone.py +16 -0
- cribl_control_plane/models/functionconfschemacode.py +38 -0
- cribl_control_plane/models/functionconfschemacomment.py +16 -0
- cribl_control_plane/models/functionconfschemadistinct.py +41 -0
- cribl_control_plane/models/functionconfschemadnslookup.py +193 -0
- cribl_control_plane/models/{lookupversions.py → functionconfschemadrop.py} +2 -2
- cribl_control_plane/models/functionconfschemadropdimensions.py +31 -0
- cribl_control_plane/models/functionconfschemadynamicsampling.py +67 -0
- cribl_control_plane/models/functionconfschemaeval.py +44 -0
- cribl_control_plane/models/functionconfschemaeventbreaker.py +51 -0
- cribl_control_plane/models/functionconfschemaeventstats.py +34 -0
- cribl_control_plane/models/functionconfschemaexternaldata.py +13 -0
- cribl_control_plane/models/functionconfschemaflatten.py +31 -0
- cribl_control_plane/models/functionconfschemafoldkeys.py +31 -0
- cribl_control_plane/models/functionconfschemagenstats.py +14 -0
- cribl_control_plane/models/functionconfschemageoip.py +66 -0
- cribl_control_plane/models/functionconfschemagrok.py +38 -0
- cribl_control_plane/models/functionconfschemahandlebar.py +56 -0
- cribl_control_plane/models/functionconfschemajoin.py +55 -0
- cribl_control_plane/models/functionconfschemajsonunroll.py +21 -0
- cribl_control_plane/models/functionconfschemalakeexport.py +44 -0
- cribl_control_plane/models/functionconfschemalimit.py +16 -0
- cribl_control_plane/models/functionconfschemalocalsearchdatatypeparser.py +17 -0
- cribl_control_plane/models/functionconfschemalocalsearchrulesetrunner.py +40 -0
- cribl_control_plane/models/functionconfschemalookup.py +92 -0
- cribl_control_plane/models/functionconfschemamask.py +63 -0
- cribl_control_plane/models/functionconfschemamvexpand.py +76 -0
- cribl_control_plane/models/functionconfschemamvpull.py +45 -0
- cribl_control_plane/models/functionconfschemanotificationpolicies.py +129 -0
- cribl_control_plane/models/functionconfschemanotifications.py +26 -0
- cribl_control_plane/models/functionconfschemanotify.py +149 -0
- cribl_control_plane/models/functionconfschemanumerify.py +63 -0
- cribl_control_plane/models/functionconfschemaotlplogs.py +24 -0
- cribl_control_plane/models/functionconfschemaotlpmetrics.py +61 -0
- cribl_control_plane/models/functionconfschemaotlptraces.py +54 -0
- cribl_control_plane/models/functionconfschemapack.py +24 -0
- cribl_control_plane/models/functionconfschemapivot.py +31 -0
- cribl_control_plane/models/functionconfschemapublishmetrics.py +98 -0
- cribl_control_plane/models/functionconfschemaredis.py +121 -0
- cribl_control_plane/models/functionconfschemaregexextract.py +55 -0
- cribl_control_plane/models/functionconfschemaregexfilter.py +38 -0
- cribl_control_plane/models/functionconfschemarename.py +49 -0
- cribl_control_plane/models/functionconfschemarollupmetrics.py +57 -0
- cribl_control_plane/models/functionconfschemasampling.py +32 -0
- cribl_control_plane/models/functionconfschemasend.py +84 -0
- cribl_control_plane/models/functionconfschemasensitivedatascanner.py +75 -0
- cribl_control_plane/models/functionconfschemaserde.py +105 -0
- cribl_control_plane/models/functionconfschemaserialize.py +78 -0
- cribl_control_plane/models/functionconfschemasidlookup.py +34 -0
- cribl_control_plane/models/functionconfschemasnmptrapserialize.py +92 -0
- cribl_control_plane/models/functionconfschemasort.py +41 -0
- cribl_control_plane/models/functionconfschemastore.py +75 -0
- cribl_control_plane/models/functionconfschemasuppress.py +57 -0
- cribl_control_plane/models/functionconfschematee.py +32 -0
- cribl_control_plane/models/functionconfschematrimtimestamp.py +16 -0
- cribl_control_plane/models/functionconfschemaunion.py +22 -0
- cribl_control_plane/models/functionconfschemaunroll.py +22 -0
- cribl_control_plane/models/functionconfschemawindow.py +40 -0
- cribl_control_plane/models/functionconfschemaxmlunroll.py +34 -0
- cribl_control_plane/models/functiondistinct.py +69 -0
- cribl_control_plane/models/functiondnslookup.py +69 -0
- cribl_control_plane/models/functiondrop.py +69 -0
- cribl_control_plane/models/functiondropdimensions.py +69 -0
- cribl_control_plane/models/functiondynamicsampling.py +69 -0
- cribl_control_plane/models/functioneval.py +69 -0
- cribl_control_plane/models/functioneventbreaker.py +69 -0
- cribl_control_plane/models/functioneventstats.py +69 -0
- cribl_control_plane/models/functionexternaldata.py +69 -0
- cribl_control_plane/models/functionflatten.py +69 -0
- cribl_control_plane/models/functionfoldkeys.py +69 -0
- cribl_control_plane/models/functiongenstats.py +69 -0
- cribl_control_plane/models/functiongeoip.py +69 -0
- cribl_control_plane/models/functiongrok.py +69 -0
- cribl_control_plane/models/functionhandlebar.py +69 -0
- cribl_control_plane/models/functionjoin.py +69 -0
- cribl_control_plane/models/functionjsonunroll.py +69 -0
- cribl_control_plane/models/functionlakeexport.py +69 -0
- cribl_control_plane/models/functionlimit.py +69 -0
- cribl_control_plane/models/functionlocalsearchdatatypeparser.py +70 -0
- cribl_control_plane/models/functionlocalsearchrulesetrunner.py +70 -0
- cribl_control_plane/models/functionlookup.py +69 -0
- cribl_control_plane/models/functionmask.py +69 -0
- cribl_control_plane/models/functionmvexpand.py +69 -0
- cribl_control_plane/models/functionmvpull.py +69 -0
- cribl_control_plane/models/functionnotificationpolicies.py +69 -0
- cribl_control_plane/models/functionnotifications.py +69 -0
- cribl_control_plane/models/functionnotify.py +69 -0
- cribl_control_plane/models/functionnumerify.py +69 -0
- cribl_control_plane/models/functionotlplogs.py +69 -0
- cribl_control_plane/models/functionotlpmetrics.py +69 -0
- cribl_control_plane/models/functionotlptraces.py +69 -0
- cribl_control_plane/models/functionpack.py +69 -0
- cribl_control_plane/models/functionpivot.py +69 -0
- cribl_control_plane/models/functionpublishmetrics.py +69 -0
- cribl_control_plane/models/functionredis.py +69 -0
- cribl_control_plane/models/functionregexextract.py +69 -0
- cribl_control_plane/models/functionregexfilter.py +69 -0
- cribl_control_plane/models/functionrename.py +69 -0
- cribl_control_plane/models/functionresponse.py +242 -0
- cribl_control_plane/models/functionrollupmetrics.py +69 -0
- cribl_control_plane/models/functionsampling.py +69 -0
- cribl_control_plane/models/functionsend.py +69 -0
- cribl_control_plane/models/functionsensitivedatascanner.py +69 -0
- cribl_control_plane/models/functionserde.py +69 -0
- cribl_control_plane/models/functionserialize.py +69 -0
- cribl_control_plane/models/functionsidlookup.py +69 -0
- cribl_control_plane/models/functionsnmptrapserialize.py +69 -0
- cribl_control_plane/models/functionsort.py +69 -0
- cribl_control_plane/models/functionstore.py +69 -0
- cribl_control_plane/models/functionsuppress.py +69 -0
- cribl_control_plane/models/functiontee.py +66 -0
- cribl_control_plane/models/functiontrimtimestamp.py +69 -0
- cribl_control_plane/models/functionunion.py +69 -0
- cribl_control_plane/models/functionunroll.py +69 -0
- cribl_control_plane/models/functionwindow.py +69 -0
- cribl_control_plane/models/functionxmlunroll.py +69 -0
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +24 -20
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +24 -20
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +14 -19
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +18 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +54 -14
- cribl_control_plane/models/getfunctionsbyidop.py +18 -0
- cribl_control_plane/models/getinputbyidop.py +1 -20
- cribl_control_plane/models/getmasterworkerentryop.py +1 -18
- cribl_control_plane/models/getoutputbyidop.py +1 -20
- cribl_control_plane/models/getoutputpqbyidop.py +1 -19
- cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
- cribl_control_plane/models/getpacksbyidop.py +1 -20
- cribl_control_plane/models/getpacksop.py +1 -19
- cribl_control_plane/models/getpipelinebyidop.py +3 -22
- cribl_control_plane/models/getroutesbyidop.py +3 -22
- cribl_control_plane/models/getsavedjobbyidop.py +33 -0
- cribl_control_plane/models/getsavedjobop.py +40 -0
- cribl_control_plane/models/getsummaryop.py +18 -20
- cribl_control_plane/models/getversioncountop.py +3 -21
- cribl_control_plane/models/getversiondiffop.py +1 -18
- cribl_control_plane/models/getversionfilesop.py +3 -22
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -18
- cribl_control_plane/models/getversionstatusop.py +1 -19
- cribl_control_plane/models/gitcountresult.py +13 -0
- cribl_control_plane/models/gitdiffresult.py +16 -0
- cribl_control_plane/models/gitinfo.py +14 -3
- cribl_control_plane/models/gitshowresult.py +19 -0
- cribl_control_plane/models/groupcreaterequest.py +175 -0
- cribl_control_plane/models/hbcriblinfo.py +42 -7
- cribl_control_plane/models/healthserverstatus.py +55 -0
- cribl_control_plane/models/heartbeatmetadata.py +48 -11
- cribl_control_plane/models/input.py +83 -78
- cribl_control_plane/models/inputappscope.py +126 -30
- cribl_control_plane/models/inputazureblob.py +62 -6
- cribl_control_plane/models/inputcloudflarehec.py +518 -0
- cribl_control_plane/models/inputcollection.py +47 -4
- cribl_control_plane/models/inputconfluentcloud.py +258 -32
- cribl_control_plane/models/inputcribl.py +47 -4
- cribl_control_plane/models/inputcriblhttp.py +121 -30
- cribl_control_plane/models/inputcribllakehttp.py +136 -30
- cribl_control_plane/models/inputcriblmetrics.py +48 -4
- cribl_control_plane/models/inputcribltcp.py +122 -24
- cribl_control_plane/models/inputcrowdstrike.py +92 -10
- cribl_control_plane/models/inputdatadogagent.py +98 -24
- cribl_control_plane/models/inputdatagen.py +47 -4
- cribl_control_plane/models/inputedgeprometheus.py +218 -58
- cribl_control_plane/models/inputelastic.py +167 -36
- cribl_control_plane/models/inputeventhub.py +209 -6
- cribl_control_plane/models/inputexec.py +59 -6
- cribl_control_plane/models/inputfile.py +78 -10
- cribl_control_plane/models/inputfirehose.py +97 -24
- cribl_control_plane/models/inputgooglepubsub.py +67 -6
- cribl_control_plane/models/inputgrafana.py +251 -71
- cribl_control_plane/models/inputhttp.py +97 -24
- cribl_control_plane/models/inputhttpraw.py +97 -24
- cribl_control_plane/models/inputjournalfiles.py +48 -4
- cribl_control_plane/models/inputkafka.py +252 -28
- cribl_control_plane/models/inputkinesis.py +130 -14
- cribl_control_plane/models/inputkubeevents.py +47 -4
- cribl_control_plane/models/inputkubelogs.py +61 -8
- cribl_control_plane/models/inputkubemetrics.py +61 -8
- cribl_control_plane/models/inputloki.py +113 -34
- cribl_control_plane/models/inputmetrics.py +97 -24
- cribl_control_plane/models/inputmodeldriventelemetry.py +107 -26
- cribl_control_plane/models/inputmsk.py +145 -32
- cribl_control_plane/models/inputnetflow.py +47 -4
- cribl_control_plane/models/inputoffice365mgmt.py +112 -14
- cribl_control_plane/models/inputoffice365msgtrace.py +114 -16
- cribl_control_plane/models/inputoffice365service.py +114 -16
- cribl_control_plane/models/inputopentelemetry.py +143 -32
- cribl_control_plane/models/inputprometheus.py +211 -57
- cribl_control_plane/models/inputprometheusrw.py +114 -27
- cribl_control_plane/models/inputrawudp.py +47 -4
- cribl_control_plane/models/inputs3.py +78 -8
- cribl_control_plane/models/inputs3inventory.py +92 -10
- cribl_control_plane/models/inputsecuritylake.py +93 -10
- cribl_control_plane/models/inputsnmp.py +112 -21
- cribl_control_plane/models/inputsplunk.py +130 -28
- cribl_control_plane/models/inputsplunkhec.py +119 -29
- cribl_control_plane/models/inputsplunksearch.py +112 -15
- cribl_control_plane/models/inputsqs.py +99 -16
- cribl_control_plane/models/inputsyslog.py +189 -47
- cribl_control_plane/models/inputsystemmetrics.py +202 -32
- cribl_control_plane/models/inputsystemstate.py +61 -8
- cribl_control_plane/models/inputtcp.py +122 -26
- cribl_control_plane/models/inputtcpjson.py +112 -26
- cribl_control_plane/models/inputwef.py +144 -15
- cribl_control_plane/models/inputwindowsmetrics.py +186 -33
- cribl_control_plane/models/inputwineventlogs.py +93 -11
- cribl_control_plane/models/inputwiz.py +173 -8
- cribl_control_plane/models/inputwizwebhook.py +97 -24
- cribl_control_plane/models/inputzscalerhec.py +119 -29
- 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 +14 -19
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- 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 +55 -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 +111 -91
- cribl_control_plane/models/outputazureblob.py +171 -18
- cribl_control_plane/models/outputazuredataexplorer.py +514 -90
- cribl_control_plane/models/outputazureeventhub.py +315 -31
- cribl_control_plane/models/outputazurelogs.py +145 -26
- cribl_control_plane/models/outputchronicle.py +532 -0
- cribl_control_plane/models/outputclickhouse.py +236 -34
- cribl_control_plane/models/outputcloudflarer2.py +632 -0
- cribl_control_plane/models/outputcloudwatch.py +129 -23
- cribl_control_plane/models/outputconfluentcloud.py +384 -57
- cribl_control_plane/models/outputcriblhttp.py +205 -31
- cribl_control_plane/models/outputcribllake.py +156 -16
- cribl_control_plane/models/outputcriblsearchengine.py +655 -0
- cribl_control_plane/models/outputcribltcp.py +194 -29
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +172 -28
- cribl_control_plane/models/outputdatabricks.py +501 -0
- cribl_control_plane/models/outputdatadog.py +199 -31
- cribl_control_plane/models/outputdataset.py +181 -29
- cribl_control_plane/models/outputdiskspool.py +17 -2
- cribl_control_plane/models/outputdls3.py +233 -24
- cribl_control_plane/models/outputdynatracehttp.py +208 -34
- cribl_control_plane/models/outputdynatraceotlp.py +210 -36
- cribl_control_plane/models/outputelastic.py +199 -30
- cribl_control_plane/models/outputelasticcloud.py +171 -26
- cribl_control_plane/models/outputexabeam.py +96 -10
- cribl_control_plane/models/outputfilesystem.py +139 -14
- cribl_control_plane/models/outputgooglechronicle.py +216 -35
- cribl_control_plane/models/outputgooglecloudlogging.py +174 -31
- cribl_control_plane/models/outputgooglecloudstorage.py +215 -24
- cribl_control_plane/models/outputgooglepubsub.py +131 -23
- cribl_control_plane/models/outputgrafanacloud.py +376 -74
- cribl_control_plane/models/outputgraphite.py +128 -25
- cribl_control_plane/models/outputhoneycomb.py +145 -26
- cribl_control_plane/models/outputhumiohec.py +162 -28
- cribl_control_plane/models/outputinfluxdb.py +165 -28
- cribl_control_plane/models/outputkafka.py +375 -52
- cribl_control_plane/models/outputkinesis.py +165 -27
- cribl_control_plane/models/outputloki.py +164 -34
- cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
- cribl_control_plane/models/outputminio.py +225 -25
- cribl_control_plane/models/outputmsk.py +267 -54
- cribl_control_plane/models/outputnetflow.py +16 -2
- cribl_control_plane/models/outputnewrelic.py +171 -29
- cribl_control_plane/models/outputnewrelicevents.py +163 -28
- cribl_control_plane/models/outputopentelemetry.py +240 -40
- cribl_control_plane/models/outputprometheus.py +145 -26
- cribl_control_plane/models/outputring.py +49 -8
- cribl_control_plane/models/outputs3.py +233 -26
- cribl_control_plane/models/outputsecuritylake.py +179 -18
- cribl_control_plane/models/outputsentinel.py +172 -29
- cribl_control_plane/models/outputsentineloneaisiem.py +178 -32
- cribl_control_plane/models/outputservicenow.py +223 -38
- cribl_control_plane/models/outputsignalfx.py +145 -26
- cribl_control_plane/models/outputsns.py +143 -25
- cribl_control_plane/models/outputsplunk.py +206 -36
- cribl_control_plane/models/outputsplunkhec.py +238 -26
- cribl_control_plane/models/outputsplunklb.py +262 -42
- cribl_control_plane/models/outputsqs.py +163 -33
- cribl_control_plane/models/outputstatsd.py +127 -25
- cribl_control_plane/models/outputstatsdext.py +128 -25
- cribl_control_plane/models/outputsumologic.py +146 -25
- cribl_control_plane/models/outputsyslog.py +318 -46
- cribl_control_plane/models/outputtcpjson.py +186 -32
- cribl_control_plane/models/outputwavefront.py +145 -26
- cribl_control_plane/models/outputwebhook.py +211 -33
- cribl_control_plane/models/outputxsiam.py +143 -26
- cribl_control_plane/models/packinfo.py +8 -5
- cribl_control_plane/models/packinstallinfo.py +11 -8
- cribl_control_plane/models/piisettings_union.py +31 -0
- cribl_control_plane/models/pipeline.py +52 -4
- cribl_control_plane/models/pipelinefunctionaggregatemetrics.py +195 -0
- cribl_control_plane/models/pipelinefunctionaggregation.py +159 -0
- cribl_control_plane/models/pipelinefunctionautotimestamp.py +56 -0
- cribl_control_plane/models/pipelinefunctioncef.py +96 -0
- cribl_control_plane/models/pipelinefunctionchain.py +62 -0
- cribl_control_plane/models/pipelinefunctionclone.py +56 -0
- cribl_control_plane/models/pipelinefunctioncode.py +56 -0
- cribl_control_plane/models/pipelinefunctioncomment.py +56 -0
- cribl_control_plane/models/pipelinefunctionconf.py +343 -46
- cribl_control_plane/models/pipelinefunctionconf_input.py +353 -0
- cribl_control_plane/models/pipelinefunctiondistinct.py +86 -0
- cribl_control_plane/models/pipelinefunctiondnslookup.py +56 -0
- cribl_control_plane/models/pipelinefunctiondrop.py +56 -0
- cribl_control_plane/models/pipelinefunctiondropdimensions.py +74 -0
- cribl_control_plane/models/pipelinefunctiondynamicsampling.py +111 -0
- cribl_control_plane/models/pipelinefunctioneval.py +56 -0
- cribl_control_plane/models/pipelinefunctioneventbreaker.py +95 -0
- cribl_control_plane/models/pipelinefunctioneventstats.py +79 -0
- cribl_control_plane/models/pipelinefunctionexternaldata.py +56 -0
- cribl_control_plane/models/pipelinefunctionflatten.py +56 -0
- cribl_control_plane/models/pipelinefunctionfoldkeys.py +56 -0
- cribl_control_plane/models/pipelinefunctiongenstats.py +56 -0
- cribl_control_plane/models/pipelinefunctiongeoip.py +109 -0
- cribl_control_plane/models/pipelinefunctiongrok.py +83 -0
- cribl_control_plane/models/pipelinefunctionhandlebar.py +99 -0
- cribl_control_plane/models/pipelinefunctionjoin.py +100 -0
- cribl_control_plane/models/pipelinefunctionjsonunroll.py +67 -0
- cribl_control_plane/models/pipelinefunctionlakeexport.py +89 -0
- cribl_control_plane/models/pipelinefunctionlimit.py +56 -0
- cribl_control_plane/models/pipelinefunctionlocalsearchdatatypeparser.py +62 -0
- cribl_control_plane/models/pipelinefunctionlocalsearchrulesetrunner.py +56 -0
- cribl_control_plane/models/pipelinefunctionlookup.py +136 -0
- cribl_control_plane/models/pipelinefunctionmask.py +108 -0
- cribl_control_plane/models/pipelinefunctionmvexpand.py +116 -0
- cribl_control_plane/models/pipelinefunctionmvpull.py +86 -0
- cribl_control_plane/models/pipelinefunctionnotificationpolicies.py +56 -0
- cribl_control_plane/models/pipelinefunctionnotifications.py +72 -0
- cribl_control_plane/models/pipelinefunctionnotify.py +189 -0
- cribl_control_plane/models/pipelinefunctionnumerify.py +56 -0
- cribl_control_plane/models/pipelinefunctionotlplogs.py +56 -0
- cribl_control_plane/models/pipelinefunctionotlpmetrics.py +56 -0
- cribl_control_plane/models/pipelinefunctionotlptraces.py +56 -0
- cribl_control_plane/models/pipelinefunctionpack.py +67 -0
- cribl_control_plane/models/pipelinefunctionpivot.py +72 -0
- cribl_control_plane/models/pipelinefunctionpublishmetrics.py +56 -0
- cribl_control_plane/models/pipelinefunctionredis.py +165 -0
- cribl_control_plane/models/pipelinefunctionregexextract.py +100 -0
- cribl_control_plane/models/pipelinefunctionregexfilter.py +56 -0
- cribl_control_plane/models/pipelinefunctionrename.py +56 -0
- cribl_control_plane/models/pipelinefunctionrollupmetrics.py +56 -0
- cribl_control_plane/models/pipelinefunctionsampling.py +56 -0
- cribl_control_plane/models/pipelinefunctionsend.py +128 -0
- cribl_control_plane/models/pipelinefunctionsensitivedatascanner.py +120 -0
- cribl_control_plane/models/pipelinefunctionserde.py +149 -0
- cribl_control_plane/models/pipelinefunctionserialize.py +122 -0
- cribl_control_plane/models/pipelinefunctionsidlookup.py +56 -0
- cribl_control_plane/models/pipelinefunctionsnmptrapserialize.py +56 -0
- cribl_control_plane/models/pipelinefunctionsort.py +84 -0
- cribl_control_plane/models/pipelinefunctionstore.py +120 -0
- cribl_control_plane/models/pipelinefunctionsuppress.py +102 -0
- cribl_control_plane/models/pipelinefunctiontee.py +77 -0
- cribl_control_plane/models/pipelinefunctiontrimtimestamp.py +56 -0
- cribl_control_plane/models/pipelinefunctionunion.py +67 -0
- cribl_control_plane/models/pipelinefunctionunroll.py +67 -0
- cribl_control_plane/models/pipelinefunctionwindow.py +83 -0
- cribl_control_plane/models/pipelinefunctionxmlunroll.py +79 -0
- cribl_control_plane/models/productscore.py +2 -1
- 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/runnablejob.py +27 -0
- cribl_control_plane/models/runnablejobcollection.py +629 -0
- cribl_control_plane/models/runnablejobexecutor.py +360 -0
- cribl_control_plane/models/runnablejobscheduledsearch.py +279 -0
- cribl_control_plane/models/savedjob.py +26 -0
- cribl_control_plane/models/savedjobcollection.py +411 -0
- cribl_control_plane/models/savedjobexecutor.py +301 -0
- cribl_control_plane/models/savedjobscheduledsearch.py +278 -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 +19 -20
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +19 -21
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +10 -25
- cribl_control_plane/models/updatehectokenrequest.py +7 -1
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -19
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepacksop.py +25 -0
- cribl_control_plane/models/updatepipelinebyidop.py +9 -26
- cribl_control_plane/models/updateroutesbyidop.py +3 -21
- cribl_control_plane/models/updatesavedjobbyidop.py +42 -0
- 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/workertypes.py +2 -1
- cribl_control_plane/nodes.py +37 -23
- cribl_control_plane/packs.py +292 -37
- cribl_control_plane/pipelines.py +114 -64
- cribl_control_plane/routes_sdk.py +86 -50
- cribl_control_plane/samples.py +32 -16
- cribl_control_plane/sdk.py +30 -6
- cribl_control_plane/settings.py +20 -0
- cribl_control_plane/sources.py +85 -33
- cribl_control_plane/statuses.py +16 -6
- cribl_control_plane/summaries.py +16 -6
- cribl_control_plane/system_sdk.py +20 -0
- cribl_control_plane/teams.py +16 -6
- cribl_control_plane/tokens.py +49 -21
- cribl_control_plane/utils/__init__.py +15 -3
- 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/unmarshal_json_response.py +15 -1
- cribl_control_plane/versions.py +11 -6
- cribl_control_plane/versions_configs.py +16 -6
- {cribl_control_plane-0.0.39.dist-info → cribl_control_plane-0.5.0b3.dist-info}/METADATA +106 -42
- cribl_control_plane-0.5.0b3.dist-info/RECORD +591 -0
- {cribl_control_plane-0.0.39.dist-info → cribl_control_plane-0.5.0b3.dist-info}/WHEEL +1 -1
- cribl_control_plane-0.5.0b3.dist-info/licenses/LICENSE +201 -0
- cribl_control_plane/errors/healthstatus_error.py +0 -32
- cribl_control_plane/models/appmode.py +0 -13
- cribl_control_plane/models/createpipelineop.py +0 -24
- cribl_control_plane/models/createversionpushop.py +0 -23
- cribl_control_plane/models/healthstatus.py +0 -33
- cribl_control_plane-0.0.39.dist-info/RECORD +0 -315
|
@@ -24,6 +24,9 @@ class LakeDatasets(BaseSDK):
|
|
|
24
24
|
description: Optional[str] = None,
|
|
25
25
|
format_: Optional[models.CriblLakeDatasetFormat] = None,
|
|
26
26
|
http_da_used: Optional[bool] = None,
|
|
27
|
+
metrics: Optional[
|
|
28
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
29
|
+
] = None,
|
|
27
30
|
retention_period_in_days: Optional[float] = None,
|
|
28
31
|
search_config: Optional[
|
|
29
32
|
Union[
|
|
@@ -36,7 +39,7 @@ class LakeDatasets(BaseSDK):
|
|
|
36
39
|
server_url: Optional[str] = None,
|
|
37
40
|
timeout_ms: Optional[int] = None,
|
|
38
41
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
39
|
-
) -> models.
|
|
42
|
+
) -> models.CountedCriblLakeDataset:
|
|
40
43
|
r"""Create a Lake Dataset
|
|
41
44
|
|
|
42
45
|
Create a new Lake Dataset in the specified Lake.
|
|
@@ -50,6 +53,7 @@ class LakeDatasets(BaseSDK):
|
|
|
50
53
|
:param description:
|
|
51
54
|
:param format_:
|
|
52
55
|
:param http_da_used:
|
|
56
|
+
:param metrics:
|
|
53
57
|
:param retention_period_in_days:
|
|
54
58
|
:param search_config:
|
|
55
59
|
:param storage_location_id:
|
|
@@ -82,6 +86,9 @@ class LakeDatasets(BaseSDK):
|
|
|
82
86
|
format_=format_,
|
|
83
87
|
http_da_used=http_da_used,
|
|
84
88
|
id=id,
|
|
89
|
+
metrics=utils.get_pydantic_model(
|
|
90
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
91
|
+
),
|
|
85
92
|
retention_period_in_days=retention_period_in_days,
|
|
86
93
|
search_config=utils.get_pydantic_model(
|
|
87
94
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -111,16 +118,21 @@ class LakeDatasets(BaseSDK):
|
|
|
111
118
|
"json",
|
|
112
119
|
models.CriblLakeDataset,
|
|
113
120
|
),
|
|
121
|
+
allow_empty_value=None,
|
|
114
122
|
timeout_ms=timeout_ms,
|
|
115
123
|
)
|
|
116
124
|
|
|
117
125
|
if retries == UNSET:
|
|
118
126
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
119
127
|
retries = self.sdk_configuration.retry_config
|
|
128
|
+
else:
|
|
129
|
+
retries = utils.RetryConfig(
|
|
130
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
131
|
+
)
|
|
120
132
|
|
|
121
133
|
retry_config = None
|
|
122
134
|
if isinstance(retries, utils.RetryConfig):
|
|
123
|
-
retry_config = (retries, ["429"
|
|
135
|
+
retry_config = (retries, ["429"])
|
|
124
136
|
|
|
125
137
|
http_res = self.do_request(
|
|
126
138
|
hook_ctx=HookContext(
|
|
@@ -139,9 +151,7 @@ class LakeDatasets(BaseSDK):
|
|
|
139
151
|
|
|
140
152
|
response_data: Any = None
|
|
141
153
|
if utils.match_response(http_res, "200", "application/json"):
|
|
142
|
-
return unmarshal_json_response(
|
|
143
|
-
models.CreateCriblLakeDatasetByLakeIDResponse, http_res
|
|
144
|
-
)
|
|
154
|
+
return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
|
|
145
155
|
if utils.match_response(http_res, "500", "application/json"):
|
|
146
156
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
147
157
|
raise errors.Error(response_data, http_res)
|
|
@@ -168,6 +178,9 @@ class LakeDatasets(BaseSDK):
|
|
|
168
178
|
description: Optional[str] = None,
|
|
169
179
|
format_: Optional[models.CriblLakeDatasetFormat] = None,
|
|
170
180
|
http_da_used: Optional[bool] = None,
|
|
181
|
+
metrics: Optional[
|
|
182
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
183
|
+
] = None,
|
|
171
184
|
retention_period_in_days: Optional[float] = None,
|
|
172
185
|
search_config: Optional[
|
|
173
186
|
Union[
|
|
@@ -180,7 +193,7 @@ class LakeDatasets(BaseSDK):
|
|
|
180
193
|
server_url: Optional[str] = None,
|
|
181
194
|
timeout_ms: Optional[int] = None,
|
|
182
195
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
183
|
-
) -> models.
|
|
196
|
+
) -> models.CountedCriblLakeDataset:
|
|
184
197
|
r"""Create a Lake Dataset
|
|
185
198
|
|
|
186
199
|
Create a new Lake Dataset in the specified Lake.
|
|
@@ -194,6 +207,7 @@ class LakeDatasets(BaseSDK):
|
|
|
194
207
|
:param description:
|
|
195
208
|
:param format_:
|
|
196
209
|
:param http_da_used:
|
|
210
|
+
:param metrics:
|
|
197
211
|
:param retention_period_in_days:
|
|
198
212
|
:param search_config:
|
|
199
213
|
:param storage_location_id:
|
|
@@ -226,6 +240,9 @@ class LakeDatasets(BaseSDK):
|
|
|
226
240
|
format_=format_,
|
|
227
241
|
http_da_used=http_da_used,
|
|
228
242
|
id=id,
|
|
243
|
+
metrics=utils.get_pydantic_model(
|
|
244
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
245
|
+
),
|
|
229
246
|
retention_period_in_days=retention_period_in_days,
|
|
230
247
|
search_config=utils.get_pydantic_model(
|
|
231
248
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -255,16 +272,21 @@ class LakeDatasets(BaseSDK):
|
|
|
255
272
|
"json",
|
|
256
273
|
models.CriblLakeDataset,
|
|
257
274
|
),
|
|
275
|
+
allow_empty_value=None,
|
|
258
276
|
timeout_ms=timeout_ms,
|
|
259
277
|
)
|
|
260
278
|
|
|
261
279
|
if retries == UNSET:
|
|
262
280
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
263
281
|
retries = self.sdk_configuration.retry_config
|
|
282
|
+
else:
|
|
283
|
+
retries = utils.RetryConfig(
|
|
284
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
285
|
+
)
|
|
264
286
|
|
|
265
287
|
retry_config = None
|
|
266
288
|
if isinstance(retries, utils.RetryConfig):
|
|
267
|
-
retry_config = (retries, ["429"
|
|
289
|
+
retry_config = (retries, ["429"])
|
|
268
290
|
|
|
269
291
|
http_res = await self.do_request_async(
|
|
270
292
|
hook_ctx=HookContext(
|
|
@@ -283,9 +305,7 @@ class LakeDatasets(BaseSDK):
|
|
|
283
305
|
|
|
284
306
|
response_data: Any = None
|
|
285
307
|
if utils.match_response(http_res, "200", "application/json"):
|
|
286
|
-
return unmarshal_json_response(
|
|
287
|
-
models.CreateCriblLakeDatasetByLakeIDResponse, http_res
|
|
288
|
-
)
|
|
308
|
+
return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
|
|
289
309
|
if utils.match_response(http_res, "500", "application/json"):
|
|
290
310
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
291
311
|
raise errors.Error(response_data, http_res)
|
|
@@ -302,16 +322,28 @@ class LakeDatasets(BaseSDK):
|
|
|
302
322
|
self,
|
|
303
323
|
*,
|
|
304
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,
|
|
305
331
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
306
332
|
server_url: Optional[str] = None,
|
|
307
333
|
timeout_ms: Optional[int] = None,
|
|
308
334
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
309
|
-
) -> models.
|
|
335
|
+
) -> models.CountedCriblLakeDataset:
|
|
310
336
|
r"""List all Lake Datasets
|
|
311
337
|
|
|
312
338
|
Get a list of all Lake Datasets in the specified Lake.
|
|
313
339
|
|
|
314
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.
|
|
315
347
|
:param retries: Override the default retry configuration for this method
|
|
316
348
|
:param server_url: Override the default server URL for this method
|
|
317
349
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -329,6 +361,12 @@ class LakeDatasets(BaseSDK):
|
|
|
329
361
|
|
|
330
362
|
request = models.GetCriblLakeDatasetByLakeIDRequest(
|
|
331
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,
|
|
332
370
|
)
|
|
333
371
|
|
|
334
372
|
req = self._build_request(
|
|
@@ -344,16 +382,21 @@ class LakeDatasets(BaseSDK):
|
|
|
344
382
|
accept_header_value="application/json",
|
|
345
383
|
http_headers=http_headers,
|
|
346
384
|
security=self.sdk_configuration.security,
|
|
385
|
+
allow_empty_value=None,
|
|
347
386
|
timeout_ms=timeout_ms,
|
|
348
387
|
)
|
|
349
388
|
|
|
350
389
|
if retries == UNSET:
|
|
351
390
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
352
391
|
retries = self.sdk_configuration.retry_config
|
|
392
|
+
else:
|
|
393
|
+
retries = utils.RetryConfig(
|
|
394
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
395
|
+
)
|
|
353
396
|
|
|
354
397
|
retry_config = None
|
|
355
398
|
if isinstance(retries, utils.RetryConfig):
|
|
356
|
-
retry_config = (retries, ["429"
|
|
399
|
+
retry_config = (retries, ["429"])
|
|
357
400
|
|
|
358
401
|
http_res = self.do_request(
|
|
359
402
|
hook_ctx=HookContext(
|
|
@@ -372,9 +415,7 @@ class LakeDatasets(BaseSDK):
|
|
|
372
415
|
|
|
373
416
|
response_data: Any = None
|
|
374
417
|
if utils.match_response(http_res, "200", "application/json"):
|
|
375
|
-
return unmarshal_json_response(
|
|
376
|
-
models.GetCriblLakeDatasetByLakeIDResponse, http_res
|
|
377
|
-
)
|
|
418
|
+
return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
|
|
378
419
|
if utils.match_response(http_res, "500", "application/json"):
|
|
379
420
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
380
421
|
raise errors.Error(response_data, http_res)
|
|
@@ -391,16 +432,28 @@ class LakeDatasets(BaseSDK):
|
|
|
391
432
|
self,
|
|
392
433
|
*,
|
|
393
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,
|
|
394
441
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
395
442
|
server_url: Optional[str] = None,
|
|
396
443
|
timeout_ms: Optional[int] = None,
|
|
397
444
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
398
|
-
) -> models.
|
|
445
|
+
) -> models.CountedCriblLakeDataset:
|
|
399
446
|
r"""List all Lake Datasets
|
|
400
447
|
|
|
401
448
|
Get a list of all Lake Datasets in the specified Lake.
|
|
402
449
|
|
|
403
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.
|
|
404
457
|
:param retries: Override the default retry configuration for this method
|
|
405
458
|
:param server_url: Override the default server URL for this method
|
|
406
459
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -418,6 +471,12 @@ class LakeDatasets(BaseSDK):
|
|
|
418
471
|
|
|
419
472
|
request = models.GetCriblLakeDatasetByLakeIDRequest(
|
|
420
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,
|
|
421
480
|
)
|
|
422
481
|
|
|
423
482
|
req = self._build_request_async(
|
|
@@ -433,16 +492,21 @@ class LakeDatasets(BaseSDK):
|
|
|
433
492
|
accept_header_value="application/json",
|
|
434
493
|
http_headers=http_headers,
|
|
435
494
|
security=self.sdk_configuration.security,
|
|
495
|
+
allow_empty_value=None,
|
|
436
496
|
timeout_ms=timeout_ms,
|
|
437
497
|
)
|
|
438
498
|
|
|
439
499
|
if retries == UNSET:
|
|
440
500
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
441
501
|
retries = self.sdk_configuration.retry_config
|
|
502
|
+
else:
|
|
503
|
+
retries = utils.RetryConfig(
|
|
504
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
505
|
+
)
|
|
442
506
|
|
|
443
507
|
retry_config = None
|
|
444
508
|
if isinstance(retries, utils.RetryConfig):
|
|
445
|
-
retry_config = (retries, ["429"
|
|
509
|
+
retry_config = (retries, ["429"])
|
|
446
510
|
|
|
447
511
|
http_res = await self.do_request_async(
|
|
448
512
|
hook_ctx=HookContext(
|
|
@@ -461,9 +525,7 @@ class LakeDatasets(BaseSDK):
|
|
|
461
525
|
|
|
462
526
|
response_data: Any = None
|
|
463
527
|
if utils.match_response(http_res, "200", "application/json"):
|
|
464
|
-
return unmarshal_json_response(
|
|
465
|
-
models.GetCriblLakeDatasetByLakeIDResponse, http_res
|
|
466
|
-
)
|
|
528
|
+
return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
|
|
467
529
|
if utils.match_response(http_res, "500", "application/json"):
|
|
468
530
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
469
531
|
raise errors.Error(response_data, http_res)
|
|
@@ -485,7 +547,7 @@ class LakeDatasets(BaseSDK):
|
|
|
485
547
|
server_url: Optional[str] = None,
|
|
486
548
|
timeout_ms: Optional[int] = None,
|
|
487
549
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
488
|
-
) -> models.
|
|
550
|
+
) -> models.CountedCriblLakeDataset:
|
|
489
551
|
r"""Delete a Lake Dataset
|
|
490
552
|
|
|
491
553
|
Delete the specified Lake Dataset in the specified Lake
|
|
@@ -525,16 +587,21 @@ class LakeDatasets(BaseSDK):
|
|
|
525
587
|
accept_header_value="application/json",
|
|
526
588
|
http_headers=http_headers,
|
|
527
589
|
security=self.sdk_configuration.security,
|
|
590
|
+
allow_empty_value=None,
|
|
528
591
|
timeout_ms=timeout_ms,
|
|
529
592
|
)
|
|
530
593
|
|
|
531
594
|
if retries == UNSET:
|
|
532
595
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
533
596
|
retries = self.sdk_configuration.retry_config
|
|
597
|
+
else:
|
|
598
|
+
retries = utils.RetryConfig(
|
|
599
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
600
|
+
)
|
|
534
601
|
|
|
535
602
|
retry_config = None
|
|
536
603
|
if isinstance(retries, utils.RetryConfig):
|
|
537
|
-
retry_config = (retries, ["429"
|
|
604
|
+
retry_config = (retries, ["429"])
|
|
538
605
|
|
|
539
606
|
http_res = self.do_request(
|
|
540
607
|
hook_ctx=HookContext(
|
|
@@ -553,9 +620,7 @@ class LakeDatasets(BaseSDK):
|
|
|
553
620
|
|
|
554
621
|
response_data: Any = None
|
|
555
622
|
if utils.match_response(http_res, "200", "application/json"):
|
|
556
|
-
return unmarshal_json_response(
|
|
557
|
-
models.DeleteCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
558
|
-
)
|
|
623
|
+
return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
|
|
559
624
|
if utils.match_response(http_res, "500", "application/json"):
|
|
560
625
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
561
626
|
raise errors.Error(response_data, http_res)
|
|
@@ -577,7 +642,7 @@ class LakeDatasets(BaseSDK):
|
|
|
577
642
|
server_url: Optional[str] = None,
|
|
578
643
|
timeout_ms: Optional[int] = None,
|
|
579
644
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
580
|
-
) -> models.
|
|
645
|
+
) -> models.CountedCriblLakeDataset:
|
|
581
646
|
r"""Delete a Lake Dataset
|
|
582
647
|
|
|
583
648
|
Delete the specified Lake Dataset in the specified Lake
|
|
@@ -617,16 +682,21 @@ class LakeDatasets(BaseSDK):
|
|
|
617
682
|
accept_header_value="application/json",
|
|
618
683
|
http_headers=http_headers,
|
|
619
684
|
security=self.sdk_configuration.security,
|
|
685
|
+
allow_empty_value=None,
|
|
620
686
|
timeout_ms=timeout_ms,
|
|
621
687
|
)
|
|
622
688
|
|
|
623
689
|
if retries == UNSET:
|
|
624
690
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
625
691
|
retries = self.sdk_configuration.retry_config
|
|
692
|
+
else:
|
|
693
|
+
retries = utils.RetryConfig(
|
|
694
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
695
|
+
)
|
|
626
696
|
|
|
627
697
|
retry_config = None
|
|
628
698
|
if isinstance(retries, utils.RetryConfig):
|
|
629
|
-
retry_config = (retries, ["429"
|
|
699
|
+
retry_config = (retries, ["429"])
|
|
630
700
|
|
|
631
701
|
http_res = await self.do_request_async(
|
|
632
702
|
hook_ctx=HookContext(
|
|
@@ -645,9 +715,7 @@ class LakeDatasets(BaseSDK):
|
|
|
645
715
|
|
|
646
716
|
response_data: Any = None
|
|
647
717
|
if utils.match_response(http_res, "200", "application/json"):
|
|
648
|
-
return unmarshal_json_response(
|
|
649
|
-
models.DeleteCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
650
|
-
)
|
|
718
|
+
return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
|
|
651
719
|
if utils.match_response(http_res, "500", "application/json"):
|
|
652
720
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
653
721
|
raise errors.Error(response_data, http_res)
|
|
@@ -669,7 +737,7 @@ class LakeDatasets(BaseSDK):
|
|
|
669
737
|
server_url: Optional[str] = None,
|
|
670
738
|
timeout_ms: Optional[int] = None,
|
|
671
739
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
672
|
-
) -> models.
|
|
740
|
+
) -> models.CountedCriblLakeDataset:
|
|
673
741
|
r"""Get a Lake Dataset
|
|
674
742
|
|
|
675
743
|
Get the specified Lake Dataset in the specified Lake.
|
|
@@ -709,16 +777,21 @@ class LakeDatasets(BaseSDK):
|
|
|
709
777
|
accept_header_value="application/json",
|
|
710
778
|
http_headers=http_headers,
|
|
711
779
|
security=self.sdk_configuration.security,
|
|
780
|
+
allow_empty_value=None,
|
|
712
781
|
timeout_ms=timeout_ms,
|
|
713
782
|
)
|
|
714
783
|
|
|
715
784
|
if retries == UNSET:
|
|
716
785
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
717
786
|
retries = self.sdk_configuration.retry_config
|
|
787
|
+
else:
|
|
788
|
+
retries = utils.RetryConfig(
|
|
789
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
790
|
+
)
|
|
718
791
|
|
|
719
792
|
retry_config = None
|
|
720
793
|
if isinstance(retries, utils.RetryConfig):
|
|
721
|
-
retry_config = (retries, ["429"
|
|
794
|
+
retry_config = (retries, ["429"])
|
|
722
795
|
|
|
723
796
|
http_res = self.do_request(
|
|
724
797
|
hook_ctx=HookContext(
|
|
@@ -737,9 +810,7 @@ class LakeDatasets(BaseSDK):
|
|
|
737
810
|
|
|
738
811
|
response_data: Any = None
|
|
739
812
|
if utils.match_response(http_res, "200", "application/json"):
|
|
740
|
-
return unmarshal_json_response(
|
|
741
|
-
models.GetCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
742
|
-
)
|
|
813
|
+
return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
|
|
743
814
|
if utils.match_response(http_res, "500", "application/json"):
|
|
744
815
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
745
816
|
raise errors.Error(response_data, http_res)
|
|
@@ -761,7 +832,7 @@ class LakeDatasets(BaseSDK):
|
|
|
761
832
|
server_url: Optional[str] = None,
|
|
762
833
|
timeout_ms: Optional[int] = None,
|
|
763
834
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
764
|
-
) -> models.
|
|
835
|
+
) -> models.CountedCriblLakeDataset:
|
|
765
836
|
r"""Get a Lake Dataset
|
|
766
837
|
|
|
767
838
|
Get the specified Lake Dataset in the specified Lake.
|
|
@@ -801,16 +872,21 @@ class LakeDatasets(BaseSDK):
|
|
|
801
872
|
accept_header_value="application/json",
|
|
802
873
|
http_headers=http_headers,
|
|
803
874
|
security=self.sdk_configuration.security,
|
|
875
|
+
allow_empty_value=None,
|
|
804
876
|
timeout_ms=timeout_ms,
|
|
805
877
|
)
|
|
806
878
|
|
|
807
879
|
if retries == UNSET:
|
|
808
880
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
809
881
|
retries = self.sdk_configuration.retry_config
|
|
882
|
+
else:
|
|
883
|
+
retries = utils.RetryConfig(
|
|
884
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
885
|
+
)
|
|
810
886
|
|
|
811
887
|
retry_config = None
|
|
812
888
|
if isinstance(retries, utils.RetryConfig):
|
|
813
|
-
retry_config = (retries, ["429"
|
|
889
|
+
retry_config = (retries, ["429"])
|
|
814
890
|
|
|
815
891
|
http_res = await self.do_request_async(
|
|
816
892
|
hook_ctx=HookContext(
|
|
@@ -829,9 +905,7 @@ class LakeDatasets(BaseSDK):
|
|
|
829
905
|
|
|
830
906
|
response_data: Any = None
|
|
831
907
|
if utils.match_response(http_res, "200", "application/json"):
|
|
832
|
-
return unmarshal_json_response(
|
|
833
|
-
models.GetCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
834
|
-
)
|
|
908
|
+
return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
|
|
835
909
|
if utils.match_response(http_res, "500", "application/json"):
|
|
836
910
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
837
911
|
raise errors.Error(response_data, http_res)
|
|
@@ -849,7 +923,6 @@ class LakeDatasets(BaseSDK):
|
|
|
849
923
|
*,
|
|
850
924
|
lake_id: str,
|
|
851
925
|
id_param: str,
|
|
852
|
-
id: str,
|
|
853
926
|
accelerated_fields: Optional[List[str]] = None,
|
|
854
927
|
bucket_name: Optional[str] = None,
|
|
855
928
|
cache_connection: Optional[
|
|
@@ -857,8 +930,12 @@ class LakeDatasets(BaseSDK):
|
|
|
857
930
|
] = None,
|
|
858
931
|
deletion_started_at: Optional[float] = None,
|
|
859
932
|
description: Optional[str] = None,
|
|
860
|
-
format_: Optional[models.
|
|
933
|
+
format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
|
|
861
934
|
http_da_used: Optional[bool] = None,
|
|
935
|
+
id: Optional[str] = None,
|
|
936
|
+
metrics: Optional[
|
|
937
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
938
|
+
] = None,
|
|
862
939
|
retention_period_in_days: Optional[float] = None,
|
|
863
940
|
search_config: Optional[
|
|
864
941
|
Union[
|
|
@@ -871,14 +948,13 @@ class LakeDatasets(BaseSDK):
|
|
|
871
948
|
server_url: Optional[str] = None,
|
|
872
949
|
timeout_ms: Optional[int] = None,
|
|
873
950
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
874
|
-
) -> models.
|
|
951
|
+
) -> models.CountedCriblLakeDataset:
|
|
875
952
|
r"""Update a Lake Dataset
|
|
876
953
|
|
|
877
954
|
Update the specified Lake Dataset in the specified Lake.
|
|
878
955
|
|
|
879
956
|
:param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to update.
|
|
880
957
|
:param id_param: The <code>id</code> of the Lake Dataset to update.
|
|
881
|
-
:param id:
|
|
882
958
|
:param accelerated_fields:
|
|
883
959
|
:param bucket_name:
|
|
884
960
|
:param cache_connection:
|
|
@@ -886,6 +962,8 @@ class LakeDatasets(BaseSDK):
|
|
|
886
962
|
:param description:
|
|
887
963
|
:param format_:
|
|
888
964
|
:param http_da_used:
|
|
965
|
+
:param id:
|
|
966
|
+
:param metrics:
|
|
889
967
|
:param retention_period_in_days:
|
|
890
968
|
:param search_config:
|
|
891
969
|
:param storage_location_id:
|
|
@@ -908,7 +986,7 @@ class LakeDatasets(BaseSDK):
|
|
|
908
986
|
request = models.UpdateCriblLakeDatasetByLakeIDAndIDRequest(
|
|
909
987
|
lake_id=lake_id,
|
|
910
988
|
id_param=id_param,
|
|
911
|
-
|
|
989
|
+
cribl_lake_dataset_update=models.CriblLakeDatasetUpdate(
|
|
912
990
|
accelerated_fields=accelerated_fields,
|
|
913
991
|
bucket_name=bucket_name,
|
|
914
992
|
cache_connection=utils.get_pydantic_model(
|
|
@@ -919,6 +997,9 @@ class LakeDatasets(BaseSDK):
|
|
|
919
997
|
format_=format_,
|
|
920
998
|
http_da_used=http_da_used,
|
|
921
999
|
id=id,
|
|
1000
|
+
metrics=utils.get_pydantic_model(
|
|
1001
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
1002
|
+
),
|
|
922
1003
|
retention_period_in_days=retention_period_in_days,
|
|
923
1004
|
search_config=utils.get_pydantic_model(
|
|
924
1005
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -942,22 +1023,27 @@ class LakeDatasets(BaseSDK):
|
|
|
942
1023
|
http_headers=http_headers,
|
|
943
1024
|
security=self.sdk_configuration.security,
|
|
944
1025
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
945
|
-
request.
|
|
1026
|
+
request.cribl_lake_dataset_update,
|
|
946
1027
|
False,
|
|
947
1028
|
False,
|
|
948
1029
|
"json",
|
|
949
|
-
models.
|
|
1030
|
+
models.CriblLakeDatasetUpdate,
|
|
950
1031
|
),
|
|
1032
|
+
allow_empty_value=None,
|
|
951
1033
|
timeout_ms=timeout_ms,
|
|
952
1034
|
)
|
|
953
1035
|
|
|
954
1036
|
if retries == UNSET:
|
|
955
1037
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
956
1038
|
retries = self.sdk_configuration.retry_config
|
|
1039
|
+
else:
|
|
1040
|
+
retries = utils.RetryConfig(
|
|
1041
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
1042
|
+
)
|
|
957
1043
|
|
|
958
1044
|
retry_config = None
|
|
959
1045
|
if isinstance(retries, utils.RetryConfig):
|
|
960
|
-
retry_config = (retries, ["429"
|
|
1046
|
+
retry_config = (retries, ["429"])
|
|
961
1047
|
|
|
962
1048
|
http_res = self.do_request(
|
|
963
1049
|
hook_ctx=HookContext(
|
|
@@ -976,9 +1062,7 @@ class LakeDatasets(BaseSDK):
|
|
|
976
1062
|
|
|
977
1063
|
response_data: Any = None
|
|
978
1064
|
if utils.match_response(http_res, "200", "application/json"):
|
|
979
|
-
return unmarshal_json_response(
|
|
980
|
-
models.UpdateCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
981
|
-
)
|
|
1065
|
+
return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
|
|
982
1066
|
if utils.match_response(http_res, "500", "application/json"):
|
|
983
1067
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
984
1068
|
raise errors.Error(response_data, http_res)
|
|
@@ -996,7 +1080,6 @@ class LakeDatasets(BaseSDK):
|
|
|
996
1080
|
*,
|
|
997
1081
|
lake_id: str,
|
|
998
1082
|
id_param: str,
|
|
999
|
-
id: str,
|
|
1000
1083
|
accelerated_fields: Optional[List[str]] = None,
|
|
1001
1084
|
bucket_name: Optional[str] = None,
|
|
1002
1085
|
cache_connection: Optional[
|
|
@@ -1004,8 +1087,12 @@ class LakeDatasets(BaseSDK):
|
|
|
1004
1087
|
] = None,
|
|
1005
1088
|
deletion_started_at: Optional[float] = None,
|
|
1006
1089
|
description: Optional[str] = None,
|
|
1007
|
-
format_: Optional[models.
|
|
1090
|
+
format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
|
|
1008
1091
|
http_da_used: Optional[bool] = None,
|
|
1092
|
+
id: Optional[str] = None,
|
|
1093
|
+
metrics: Optional[
|
|
1094
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
1095
|
+
] = None,
|
|
1009
1096
|
retention_period_in_days: Optional[float] = None,
|
|
1010
1097
|
search_config: Optional[
|
|
1011
1098
|
Union[
|
|
@@ -1018,14 +1105,13 @@ class LakeDatasets(BaseSDK):
|
|
|
1018
1105
|
server_url: Optional[str] = None,
|
|
1019
1106
|
timeout_ms: Optional[int] = None,
|
|
1020
1107
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1021
|
-
) -> models.
|
|
1108
|
+
) -> models.CountedCriblLakeDataset:
|
|
1022
1109
|
r"""Update a Lake Dataset
|
|
1023
1110
|
|
|
1024
1111
|
Update the specified Lake Dataset in the specified Lake.
|
|
1025
1112
|
|
|
1026
1113
|
:param lake_id: The <code>id</code> of the Lake that contains the Lake Dataset to update.
|
|
1027
1114
|
:param id_param: The <code>id</code> of the Lake Dataset to update.
|
|
1028
|
-
:param id:
|
|
1029
1115
|
:param accelerated_fields:
|
|
1030
1116
|
:param bucket_name:
|
|
1031
1117
|
:param cache_connection:
|
|
@@ -1033,6 +1119,8 @@ class LakeDatasets(BaseSDK):
|
|
|
1033
1119
|
:param description:
|
|
1034
1120
|
:param format_:
|
|
1035
1121
|
:param http_da_used:
|
|
1122
|
+
:param id:
|
|
1123
|
+
:param metrics:
|
|
1036
1124
|
:param retention_period_in_days:
|
|
1037
1125
|
:param search_config:
|
|
1038
1126
|
:param storage_location_id:
|
|
@@ -1055,7 +1143,7 @@ class LakeDatasets(BaseSDK):
|
|
|
1055
1143
|
request = models.UpdateCriblLakeDatasetByLakeIDAndIDRequest(
|
|
1056
1144
|
lake_id=lake_id,
|
|
1057
1145
|
id_param=id_param,
|
|
1058
|
-
|
|
1146
|
+
cribl_lake_dataset_update=models.CriblLakeDatasetUpdate(
|
|
1059
1147
|
accelerated_fields=accelerated_fields,
|
|
1060
1148
|
bucket_name=bucket_name,
|
|
1061
1149
|
cache_connection=utils.get_pydantic_model(
|
|
@@ -1066,6 +1154,9 @@ class LakeDatasets(BaseSDK):
|
|
|
1066
1154
|
format_=format_,
|
|
1067
1155
|
http_da_used=http_da_used,
|
|
1068
1156
|
id=id,
|
|
1157
|
+
metrics=utils.get_pydantic_model(
|
|
1158
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
1159
|
+
),
|
|
1069
1160
|
retention_period_in_days=retention_period_in_days,
|
|
1070
1161
|
search_config=utils.get_pydantic_model(
|
|
1071
1162
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -1089,22 +1180,27 @@ class LakeDatasets(BaseSDK):
|
|
|
1089
1180
|
http_headers=http_headers,
|
|
1090
1181
|
security=self.sdk_configuration.security,
|
|
1091
1182
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
1092
|
-
request.
|
|
1183
|
+
request.cribl_lake_dataset_update,
|
|
1093
1184
|
False,
|
|
1094
1185
|
False,
|
|
1095
1186
|
"json",
|
|
1096
|
-
models.
|
|
1187
|
+
models.CriblLakeDatasetUpdate,
|
|
1097
1188
|
),
|
|
1189
|
+
allow_empty_value=None,
|
|
1098
1190
|
timeout_ms=timeout_ms,
|
|
1099
1191
|
)
|
|
1100
1192
|
|
|
1101
1193
|
if retries == UNSET:
|
|
1102
1194
|
if self.sdk_configuration.retry_config is not UNSET:
|
|
1103
1195
|
retries = self.sdk_configuration.retry_config
|
|
1196
|
+
else:
|
|
1197
|
+
retries = utils.RetryConfig(
|
|
1198
|
+
"backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
|
|
1199
|
+
)
|
|
1104
1200
|
|
|
1105
1201
|
retry_config = None
|
|
1106
1202
|
if isinstance(retries, utils.RetryConfig):
|
|
1107
|
-
retry_config = (retries, ["429"
|
|
1203
|
+
retry_config = (retries, ["429"])
|
|
1108
1204
|
|
|
1109
1205
|
http_res = await self.do_request_async(
|
|
1110
1206
|
hook_ctx=HookContext(
|
|
@@ -1123,9 +1219,7 @@ class LakeDatasets(BaseSDK):
|
|
|
1123
1219
|
|
|
1124
1220
|
response_data: Any = None
|
|
1125
1221
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1126
|
-
return unmarshal_json_response(
|
|
1127
|
-
models.UpdateCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
1128
|
-
)
|
|
1222
|
+
return unmarshal_json_response(models.CountedCriblLakeDataset, http_res)
|
|
1129
1223
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1130
1224
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1131
1225
|
raise errors.Error(response_data, http_res)
|