cribl-control-plane 0.2.1rc4__py3-none-any.whl → 0.2.1rc11__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.
Potentially problematic release.
This version of cribl-control-plane might be problematic. Click here for more details.
- cribl_control_plane/_version.py +4 -4
- cribl_control_plane/acl.py +4 -4
- cribl_control_plane/branches.py +4 -4
- cribl_control_plane/commits.py +28 -28
- cribl_control_plane/commits_files.py +8 -8
- cribl_control_plane/configs_versions.py +4 -8
- cribl_control_plane/destinations.py +20 -20
- cribl_control_plane/destinations_pq.py +8 -8
- cribl_control_plane/groups_sdk.py +26 -50
- cribl_control_plane/hectokens.py +8 -16
- cribl_control_plane/lakedatasets.py +48 -40
- cribl_control_plane/models/__init__.py +260 -393
- cribl_control_plane/models/cacheconnection.py +20 -0
- cribl_control_plane/models/configgroup.py +20 -1
- cribl_control_plane/models/configgroupcloud.py +11 -1
- cribl_control_plane/models/{getversionbranchop.py → countedlistbranchinfo.py} +2 -6
- cribl_control_plane/models/countedlistconfiggroup.py +20 -0
- cribl_control_plane/models/countedlistcribllakedataset.py +20 -0
- cribl_control_plane/models/countedlistdistributedsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcommitsummary.py +20 -0
- cribl_control_plane/models/countedlistgitcountresult.py +20 -0
- cribl_control_plane/models/{createinputop.py → countedlistgitdiffresult.py} +5 -9
- cribl_control_plane/models/countedlistgitfilesresponse.py +20 -0
- cribl_control_plane/models/{getversioninfoop.py → countedlistgitinfo.py} +2 -6
- cribl_control_plane/models/countedlistgitlogresult.py +20 -0
- cribl_control_plane/models/countedlistgitrevertresult.py +20 -0
- cribl_control_plane/models/countedlistgitshowresult.py +20 -0
- cribl_control_plane/models/countedlistgitstatusresult.py +20 -0
- cribl_control_plane/models/{listinputop.py → countedlistinput.py} +2 -6
- cribl_control_plane/models/countedlistinputsplunkhec.py +20 -0
- cribl_control_plane/models/countedlistjobinfo.py +20 -0
- cribl_control_plane/models/countedlistmasterworkerentry.py +20 -0
- cribl_control_plane/models/countedlistnumber.py +19 -0
- cribl_control_plane/models/countedlistobject.py +19 -0
- cribl_control_plane/models/{listoutputop.py → countedlistoutput.py} +2 -6
- cribl_control_plane/models/{createoutputop.py → countedlistoutputsamplesresponse.py} +5 -9
- cribl_control_plane/models/countedlistoutputtestresponse.py +20 -0
- cribl_control_plane/models/countedlistpackinfo.py +20 -0
- cribl_control_plane/models/{createpacksop.py → countedlistpackinstallinfo.py} +2 -6
- cribl_control_plane/models/{listpipelineop.py → countedlistpipeline.py} +2 -6
- cribl_control_plane/models/{listroutesop.py → countedlistroutes.py} +2 -6
- cribl_control_plane/models/{createversionpushop.py → countedliststring.py} +2 -6
- cribl_control_plane/models/{createpipelineop.py → countedlistteamaccesscontrollist.py} +5 -9
- cribl_control_plane/models/countedlistuseraccesscontrollist.py +20 -0
- cribl_control_plane/models/createconfiggroupbyproductop.py +13 -21
- cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
- cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
- cribl_control_plane/models/createoutputtestbyidop.py +1 -20
- cribl_control_plane/models/createroutesappendbyidop.py +2 -20
- cribl_control_plane/models/createversioncommitop.py +1 -19
- cribl_control_plane/models/createversionrevertop.py +1 -19
- cribl_control_plane/models/createversionundoop.py +1 -18
- cribl_control_plane/models/cribllakedataset.py +15 -1
- cribl_control_plane/models/cribllakedatasetupdate.py +15 -1
- cribl_control_plane/models/datasetmetadata.py +11 -1
- cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +11 -19
- 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 +1 -20
- cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +20 -18
- cribl_control_plane/models/getconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +11 -18
- cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/getcribllakedatasetbylakeidop.py +1 -20
- 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 -20
- 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 +1 -20
- cribl_control_plane/models/getroutesbyidop.py +1 -20
- cribl_control_plane/models/getsummaryop.py +11 -18
- cribl_control_plane/models/getversioncountop.py +1 -19
- cribl_control_plane/models/getversiondiffop.py +1 -19
- cribl_control_plane/models/getversionfilesop.py +1 -19
- cribl_control_plane/models/getversionop.py +1 -19
- cribl_control_plane/models/getversionshowop.py +1 -19
- cribl_control_plane/models/getversionstatusop.py +1 -19
- cribl_control_plane/models/groupcreaterequest.py +20 -1
- cribl_control_plane/models/hbcriblinfo.py +11 -1
- cribl_control_plane/models/healthserverstatus.py +20 -1
- cribl_control_plane/models/input.py +2 -2
- cribl_control_plane/models/inputappscope.py +56 -1
- cribl_control_plane/models/inputazureblob.py +29 -1
- cribl_control_plane/models/inputcollection.py +20 -1
- cribl_control_plane/models/inputconfluentcloud.py +78 -1
- cribl_control_plane/models/inputcribl.py +20 -1
- cribl_control_plane/models/inputcriblhttp.py +62 -7
- cribl_control_plane/models/inputcribllakehttp.py +38 -1
- cribl_control_plane/models/inputcriblmetrics.py +20 -1
- cribl_control_plane/models/inputcribltcp.py +63 -1
- cribl_control_plane/models/inputcrowdstrike.py +47 -1
- cribl_control_plane/models/inputdatadogagent.py +38 -1
- cribl_control_plane/models/inputdatagen.py +20 -1
- cribl_control_plane/models/inputedgeprometheus.py +94 -1
- cribl_control_plane/models/inputelastic.py +65 -1
- cribl_control_plane/models/inputeventhub.py +58 -1
- cribl_control_plane/models/inputexec.py +29 -1
- cribl_control_plane/models/inputfile.py +40 -7
- cribl_control_plane/models/inputfirehose.py +38 -1
- cribl_control_plane/models/inputgooglepubsub.py +29 -1
- cribl_control_plane/models/inputgrafana.py +110 -1
- cribl_control_plane/models/inputhttp.py +38 -1
- cribl_control_plane/models/inputhttpraw.py +38 -1
- cribl_control_plane/models/inputjournalfiles.py +20 -1
- cribl_control_plane/models/inputkafka.py +74 -1
- cribl_control_plane/models/inputkinesis.py +65 -1
- cribl_control_plane/models/inputkubeevents.py +20 -1
- cribl_control_plane/models/inputkubelogs.py +29 -1
- cribl_control_plane/models/inputkubemetrics.py +29 -1
- cribl_control_plane/models/inputloki.py +47 -1
- cribl_control_plane/models/inputmetrics.py +38 -1
- cribl_control_plane/models/inputmodeldriventelemetry.py +38 -1
- cribl_control_plane/models/inputmsk.py +74 -1
- cribl_control_plane/models/inputnetflow.py +20 -1
- cribl_control_plane/models/inputoffice365mgmt.py +56 -1
- cribl_control_plane/models/inputoffice365msgtrace.py +56 -1
- cribl_control_plane/models/inputoffice365service.py +56 -1
- cribl_control_plane/models/inputopentelemetry.py +65 -1
- cribl_control_plane/models/inputprometheus.py +87 -1
- cribl_control_plane/models/inputprometheusrw.py +47 -1
- cribl_control_plane/models/inputrawudp.py +20 -1
- cribl_control_plane/models/inputs3.py +38 -1
- cribl_control_plane/models/inputs3inventory.py +47 -1
- cribl_control_plane/models/inputsecuritylake.py +47 -1
- cribl_control_plane/models/inputsnmp.py +29 -1
- cribl_control_plane/models/inputsplunk.py +56 -1
- cribl_control_plane/models/inputsplunkhec.py +47 -1
- cribl_control_plane/models/inputsplunksearch.py +56 -1
- cribl_control_plane/models/inputsqs.py +47 -1
- cribl_control_plane/models/inputsyslog.py +74 -1
- cribl_control_plane/models/inputsystemmetrics.py +92 -1
- cribl_control_plane/models/inputsystemstate.py +29 -1
- cribl_control_plane/models/inputtcp.py +47 -1
- cribl_control_plane/models/inputtcpjson.py +47 -1
- cribl_control_plane/models/inputwef.py +65 -1
- cribl_control_plane/models/inputwindowsmetrics.py +83 -1
- cribl_control_plane/models/inputwineventlogs.py +38 -1
- cribl_control_plane/models/inputwiz.py +38 -1
- cribl_control_plane/models/inputwizwebhook.py +38 -1
- cribl_control_plane/models/inputzscalerhec.py +47 -1
- cribl_control_plane/models/jobinfo.py +10 -4
- cribl_control_plane/models/jobstatus.py +34 -3
- cribl_control_plane/models/lakedatasetmetrics.py +17 -0
- cribl_control_plane/models/listconfiggroupbyproductop.py +11 -18
- cribl_control_plane/models/listmasterworkerentryop.py +1 -19
- cribl_control_plane/models/masterworkerentry.py +11 -1
- cribl_control_plane/models/nodeupgradestatus.py +38 -0
- cribl_control_plane/models/output.py +13 -13
- cribl_control_plane/models/outputazureblob.py +83 -1
- cribl_control_plane/models/outputazuredataexplorer.py +148 -1
- cribl_control_plane/models/outputazureeventhub.py +98 -1
- cribl_control_plane/models/outputazurelogs.py +56 -1
- cribl_control_plane/models/outputchronicle.py +56 -1
- cribl_control_plane/models/outputclickhouse.py +92 -1
- cribl_control_plane/models/outputcloudwatch.py +47 -1
- cribl_control_plane/models/outputconfluentcloud.py +125 -1
- cribl_control_plane/models/outputcriblhttp.py +97 -1
- cribl_control_plane/models/outputcribllake.py +76 -1
- cribl_control_plane/models/outputcribltcp.py +99 -1
- cribl_control_plane/models/outputcrowdstrikenextgensiem.py +67 -1
- cribl_control_plane/models/outputdatabricks.py +69 -5
- cribl_control_plane/models/outputdatadog.py +83 -1
- cribl_control_plane/models/outputdataset.py +74 -1
- cribl_control_plane/models/outputdiskspool.py +11 -1
- cribl_control_plane/models/outputdls3.py +110 -1
- cribl_control_plane/models/outputdynatracehttp.py +92 -1
- cribl_control_plane/models/outputdynatraceotlp.py +92 -1
- cribl_control_plane/models/outputelastic.py +74 -1
- cribl_control_plane/models/outputelasticcloud.py +56 -1
- cribl_control_plane/models/outputexabeam.py +47 -1
- cribl_control_plane/models/outputfilesystem.py +65 -1
- cribl_control_plane/models/outputgooglechronicle.py +83 -1
- cribl_control_plane/models/outputgooglecloudlogging.py +65 -1
- cribl_control_plane/models/outputgooglecloudstorage.py +101 -1
- cribl_control_plane/models/outputgooglepubsub.py +47 -1
- cribl_control_plane/models/outputgrafanacloud.py +146 -1
- cribl_control_plane/models/outputgraphite.py +47 -1
- cribl_control_plane/models/outputhoneycomb.py +56 -1
- cribl_control_plane/models/outputhumiohec.py +65 -1
- cribl_control_plane/models/outputinfluxdb.py +65 -1
- cribl_control_plane/models/outputkafka.py +121 -1
- cribl_control_plane/models/outputkinesis.py +65 -1
- cribl_control_plane/models/outputloki.py +65 -1
- cribl_control_plane/models/outputminio.py +110 -1
- cribl_control_plane/models/outputmsk.py +121 -1
- cribl_control_plane/models/outputnewrelic.py +74 -1
- cribl_control_plane/models/outputnewrelicevents.py +65 -1
- cribl_control_plane/models/outputopentelemetry.py +110 -1
- cribl_control_plane/models/outputprometheus.py +56 -1
- cribl_control_plane/models/outputring.py +29 -1
- cribl_control_plane/models/outputs3.py +110 -1
- cribl_control_plane/models/outputsecuritylake.py +85 -1
- cribl_control_plane/models/outputsentinel.py +74 -1
- cribl_control_plane/models/outputsentineloneaisiem.py +74 -1
- cribl_control_plane/models/outputservicenow.py +101 -1
- cribl_control_plane/models/outputsignalfx.py +56 -1
- cribl_control_plane/models/outputsns.py +56 -1
- cribl_control_plane/models/outputsplunk.py +92 -1
- cribl_control_plane/models/outputsplunkhec.py +149 -1
- cribl_control_plane/models/outputsplunklb.py +121 -1
- cribl_control_plane/models/outputsqs.py +65 -1
- cribl_control_plane/models/outputstatsd.py +47 -1
- cribl_control_plane/models/outputstatsdext.py +47 -1
- cribl_control_plane/models/outputsumologic.py +56 -1
- cribl_control_plane/models/outputsyslog.py +110 -1
- cribl_control_plane/models/outputtcpjson.py +83 -1
- cribl_control_plane/models/outputwavefront.py +56 -1
- cribl_control_plane/models/outputwebhook.py +92 -1
- cribl_control_plane/models/outputxsiam.py +56 -1
- cribl_control_plane/models/resourcepolicy.py +11 -0
- cribl_control_plane/models/runnablejobcollection.py +64 -1
- cribl_control_plane/models/runnablejobexecutor.py +24 -1
- cribl_control_plane/models/runnablejobscheduledsearch.py +15 -1
- cribl_control_plane/models/updateconfiggroupbyproductandidop.py +11 -18
- cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +11 -19
- cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
- cribl_control_plane/models/updateinputbyidop.py +1 -19
- cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
- cribl_control_plane/models/updateoutputbyidop.py +1 -19
- cribl_control_plane/models/updatepacksbyidop.py +1 -20
- cribl_control_plane/models/updatepipelinebyidop.py +1 -19
- cribl_control_plane/models/updateroutesbyidop.py +1 -19
- cribl_control_plane/nodes.py +8 -12
- cribl_control_plane/packs.py +20 -20
- cribl_control_plane/pipelines.py +20 -20
- cribl_control_plane/routes_sdk.py +16 -20
- cribl_control_plane/samples.py +8 -8
- cribl_control_plane/sdk.py +2 -2
- cribl_control_plane/sources.py +20 -20
- cribl_control_plane/statuses.py +4 -4
- cribl_control_plane/summaries.py +8 -4
- cribl_control_plane/teams.py +4 -4
- cribl_control_plane/versions_configs.py +4 -4
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/METADATA +25 -7
- cribl_control_plane-0.2.1rc11.dist-info/RECORD +350 -0
- cribl_control_plane-0.2.1rc4.dist-info/RECORD +0 -331
- {cribl_control_plane-0.2.1rc4.dist-info → cribl_control_plane-0.2.1rc11.dist-info}/WHEEL +0 -0
|
@@ -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.CountedListCriblLakeDataset:
|
|
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]
|
|
@@ -139,9 +146,7 @@ class LakeDatasets(BaseSDK):
|
|
|
139
146
|
|
|
140
147
|
response_data: Any = None
|
|
141
148
|
if utils.match_response(http_res, "200", "application/json"):
|
|
142
|
-
return unmarshal_json_response(
|
|
143
|
-
models.CreateCriblLakeDatasetByLakeIDResponse, http_res
|
|
144
|
-
)
|
|
149
|
+
return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
|
|
145
150
|
if utils.match_response(http_res, "500", "application/json"):
|
|
146
151
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
147
152
|
raise errors.Error(response_data, http_res)
|
|
@@ -168,6 +173,9 @@ class LakeDatasets(BaseSDK):
|
|
|
168
173
|
description: Optional[str] = None,
|
|
169
174
|
format_: Optional[models.CriblLakeDatasetFormat] = None,
|
|
170
175
|
http_da_used: Optional[bool] = None,
|
|
176
|
+
metrics: Optional[
|
|
177
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
178
|
+
] = None,
|
|
171
179
|
retention_period_in_days: Optional[float] = None,
|
|
172
180
|
search_config: Optional[
|
|
173
181
|
Union[
|
|
@@ -180,7 +188,7 @@ class LakeDatasets(BaseSDK):
|
|
|
180
188
|
server_url: Optional[str] = None,
|
|
181
189
|
timeout_ms: Optional[int] = None,
|
|
182
190
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
183
|
-
) -> models.
|
|
191
|
+
) -> models.CountedListCriblLakeDataset:
|
|
184
192
|
r"""Create a Lake Dataset
|
|
185
193
|
|
|
186
194
|
Create a new Lake Dataset in the specified Lake.
|
|
@@ -194,6 +202,7 @@ class LakeDatasets(BaseSDK):
|
|
|
194
202
|
:param description:
|
|
195
203
|
:param format_:
|
|
196
204
|
:param http_da_used:
|
|
205
|
+
:param metrics:
|
|
197
206
|
:param retention_period_in_days:
|
|
198
207
|
:param search_config:
|
|
199
208
|
:param storage_location_id:
|
|
@@ -226,6 +235,9 @@ class LakeDatasets(BaseSDK):
|
|
|
226
235
|
format_=format_,
|
|
227
236
|
http_da_used=http_da_used,
|
|
228
237
|
id=id,
|
|
238
|
+
metrics=utils.get_pydantic_model(
|
|
239
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
240
|
+
),
|
|
229
241
|
retention_period_in_days=retention_period_in_days,
|
|
230
242
|
search_config=utils.get_pydantic_model(
|
|
231
243
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -283,9 +295,7 @@ class LakeDatasets(BaseSDK):
|
|
|
283
295
|
|
|
284
296
|
response_data: Any = None
|
|
285
297
|
if utils.match_response(http_res, "200", "application/json"):
|
|
286
|
-
return unmarshal_json_response(
|
|
287
|
-
models.CreateCriblLakeDatasetByLakeIDResponse, http_res
|
|
288
|
-
)
|
|
298
|
+
return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
|
|
289
299
|
if utils.match_response(http_res, "500", "application/json"):
|
|
290
300
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
291
301
|
raise errors.Error(response_data, http_res)
|
|
@@ -306,7 +316,7 @@ class LakeDatasets(BaseSDK):
|
|
|
306
316
|
server_url: Optional[str] = None,
|
|
307
317
|
timeout_ms: Optional[int] = None,
|
|
308
318
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
309
|
-
) -> models.
|
|
319
|
+
) -> models.CountedListCriblLakeDataset:
|
|
310
320
|
r"""List all Lake Datasets
|
|
311
321
|
|
|
312
322
|
Get a list of all Lake Datasets in the specified Lake.
|
|
@@ -372,9 +382,7 @@ class LakeDatasets(BaseSDK):
|
|
|
372
382
|
|
|
373
383
|
response_data: Any = None
|
|
374
384
|
if utils.match_response(http_res, "200", "application/json"):
|
|
375
|
-
return unmarshal_json_response(
|
|
376
|
-
models.GetCriblLakeDatasetByLakeIDResponse, http_res
|
|
377
|
-
)
|
|
385
|
+
return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
|
|
378
386
|
if utils.match_response(http_res, "500", "application/json"):
|
|
379
387
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
380
388
|
raise errors.Error(response_data, http_res)
|
|
@@ -395,7 +403,7 @@ class LakeDatasets(BaseSDK):
|
|
|
395
403
|
server_url: Optional[str] = None,
|
|
396
404
|
timeout_ms: Optional[int] = None,
|
|
397
405
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
398
|
-
) -> models.
|
|
406
|
+
) -> models.CountedListCriblLakeDataset:
|
|
399
407
|
r"""List all Lake Datasets
|
|
400
408
|
|
|
401
409
|
Get a list of all Lake Datasets in the specified Lake.
|
|
@@ -461,9 +469,7 @@ class LakeDatasets(BaseSDK):
|
|
|
461
469
|
|
|
462
470
|
response_data: Any = None
|
|
463
471
|
if utils.match_response(http_res, "200", "application/json"):
|
|
464
|
-
return unmarshal_json_response(
|
|
465
|
-
models.GetCriblLakeDatasetByLakeIDResponse, http_res
|
|
466
|
-
)
|
|
472
|
+
return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
|
|
467
473
|
if utils.match_response(http_res, "500", "application/json"):
|
|
468
474
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
469
475
|
raise errors.Error(response_data, http_res)
|
|
@@ -485,7 +491,7 @@ class LakeDatasets(BaseSDK):
|
|
|
485
491
|
server_url: Optional[str] = None,
|
|
486
492
|
timeout_ms: Optional[int] = None,
|
|
487
493
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
488
|
-
) -> models.
|
|
494
|
+
) -> models.CountedListCriblLakeDataset:
|
|
489
495
|
r"""Delete a Lake Dataset
|
|
490
496
|
|
|
491
497
|
Delete the specified Lake Dataset in the specified Lake
|
|
@@ -553,9 +559,7 @@ class LakeDatasets(BaseSDK):
|
|
|
553
559
|
|
|
554
560
|
response_data: Any = None
|
|
555
561
|
if utils.match_response(http_res, "200", "application/json"):
|
|
556
|
-
return unmarshal_json_response(
|
|
557
|
-
models.DeleteCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
558
|
-
)
|
|
562
|
+
return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
|
|
559
563
|
if utils.match_response(http_res, "500", "application/json"):
|
|
560
564
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
561
565
|
raise errors.Error(response_data, http_res)
|
|
@@ -577,7 +581,7 @@ class LakeDatasets(BaseSDK):
|
|
|
577
581
|
server_url: Optional[str] = None,
|
|
578
582
|
timeout_ms: Optional[int] = None,
|
|
579
583
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
580
|
-
) -> models.
|
|
584
|
+
) -> models.CountedListCriblLakeDataset:
|
|
581
585
|
r"""Delete a Lake Dataset
|
|
582
586
|
|
|
583
587
|
Delete the specified Lake Dataset in the specified Lake
|
|
@@ -645,9 +649,7 @@ class LakeDatasets(BaseSDK):
|
|
|
645
649
|
|
|
646
650
|
response_data: Any = None
|
|
647
651
|
if utils.match_response(http_res, "200", "application/json"):
|
|
648
|
-
return unmarshal_json_response(
|
|
649
|
-
models.DeleteCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
650
|
-
)
|
|
652
|
+
return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
|
|
651
653
|
if utils.match_response(http_res, "500", "application/json"):
|
|
652
654
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
653
655
|
raise errors.Error(response_data, http_res)
|
|
@@ -669,7 +671,7 @@ class LakeDatasets(BaseSDK):
|
|
|
669
671
|
server_url: Optional[str] = None,
|
|
670
672
|
timeout_ms: Optional[int] = None,
|
|
671
673
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
672
|
-
) -> models.
|
|
674
|
+
) -> models.CountedListCriblLakeDataset:
|
|
673
675
|
r"""Get a Lake Dataset
|
|
674
676
|
|
|
675
677
|
Get the specified Lake Dataset in the specified Lake.
|
|
@@ -737,9 +739,7 @@ class LakeDatasets(BaseSDK):
|
|
|
737
739
|
|
|
738
740
|
response_data: Any = None
|
|
739
741
|
if utils.match_response(http_res, "200", "application/json"):
|
|
740
|
-
return unmarshal_json_response(
|
|
741
|
-
models.GetCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
742
|
-
)
|
|
742
|
+
return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
|
|
743
743
|
if utils.match_response(http_res, "500", "application/json"):
|
|
744
744
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
745
745
|
raise errors.Error(response_data, http_res)
|
|
@@ -761,7 +761,7 @@ class LakeDatasets(BaseSDK):
|
|
|
761
761
|
server_url: Optional[str] = None,
|
|
762
762
|
timeout_ms: Optional[int] = None,
|
|
763
763
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
764
|
-
) -> models.
|
|
764
|
+
) -> models.CountedListCriblLakeDataset:
|
|
765
765
|
r"""Get a Lake Dataset
|
|
766
766
|
|
|
767
767
|
Get the specified Lake Dataset in the specified Lake.
|
|
@@ -829,9 +829,7 @@ class LakeDatasets(BaseSDK):
|
|
|
829
829
|
|
|
830
830
|
response_data: Any = None
|
|
831
831
|
if utils.match_response(http_res, "200", "application/json"):
|
|
832
|
-
return unmarshal_json_response(
|
|
833
|
-
models.GetCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
834
|
-
)
|
|
832
|
+
return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
|
|
835
833
|
if utils.match_response(http_res, "500", "application/json"):
|
|
836
834
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
837
835
|
raise errors.Error(response_data, http_res)
|
|
@@ -859,6 +857,9 @@ class LakeDatasets(BaseSDK):
|
|
|
859
857
|
format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
|
|
860
858
|
http_da_used: Optional[bool] = None,
|
|
861
859
|
id: Optional[str] = None,
|
|
860
|
+
metrics: Optional[
|
|
861
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
862
|
+
] = None,
|
|
862
863
|
retention_period_in_days: Optional[float] = None,
|
|
863
864
|
search_config: Optional[
|
|
864
865
|
Union[
|
|
@@ -871,7 +872,7 @@ class LakeDatasets(BaseSDK):
|
|
|
871
872
|
server_url: Optional[str] = None,
|
|
872
873
|
timeout_ms: Optional[int] = None,
|
|
873
874
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
874
|
-
) -> models.
|
|
875
|
+
) -> models.CountedListCriblLakeDataset:
|
|
875
876
|
r"""Update a Lake Dataset
|
|
876
877
|
|
|
877
878
|
Update the specified Lake Dataset in the specified Lake.
|
|
@@ -886,6 +887,7 @@ class LakeDatasets(BaseSDK):
|
|
|
886
887
|
:param format_:
|
|
887
888
|
:param http_da_used:
|
|
888
889
|
:param id:
|
|
890
|
+
:param metrics:
|
|
889
891
|
:param retention_period_in_days:
|
|
890
892
|
:param search_config:
|
|
891
893
|
:param storage_location_id:
|
|
@@ -919,6 +921,9 @@ class LakeDatasets(BaseSDK):
|
|
|
919
921
|
format_=format_,
|
|
920
922
|
http_da_used=http_da_used,
|
|
921
923
|
id=id,
|
|
924
|
+
metrics=utils.get_pydantic_model(
|
|
925
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
926
|
+
),
|
|
922
927
|
retention_period_in_days=retention_period_in_days,
|
|
923
928
|
search_config=utils.get_pydantic_model(
|
|
924
929
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -976,9 +981,7 @@ class LakeDatasets(BaseSDK):
|
|
|
976
981
|
|
|
977
982
|
response_data: Any = None
|
|
978
983
|
if utils.match_response(http_res, "200", "application/json"):
|
|
979
|
-
return unmarshal_json_response(
|
|
980
|
-
models.UpdateCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
981
|
-
)
|
|
984
|
+
return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
|
|
982
985
|
if utils.match_response(http_res, "500", "application/json"):
|
|
983
986
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
984
987
|
raise errors.Error(response_data, http_res)
|
|
@@ -1006,6 +1009,9 @@ class LakeDatasets(BaseSDK):
|
|
|
1006
1009
|
format_: Optional[models.CriblLakeDatasetUpdateFormat] = None,
|
|
1007
1010
|
http_da_used: Optional[bool] = None,
|
|
1008
1011
|
id: Optional[str] = None,
|
|
1012
|
+
metrics: Optional[
|
|
1013
|
+
Union[models.LakeDatasetMetrics, models.LakeDatasetMetricsTypedDict]
|
|
1014
|
+
] = None,
|
|
1009
1015
|
retention_period_in_days: Optional[float] = None,
|
|
1010
1016
|
search_config: Optional[
|
|
1011
1017
|
Union[
|
|
@@ -1018,7 +1024,7 @@ class LakeDatasets(BaseSDK):
|
|
|
1018
1024
|
server_url: Optional[str] = None,
|
|
1019
1025
|
timeout_ms: Optional[int] = None,
|
|
1020
1026
|
http_headers: Optional[Mapping[str, str]] = None,
|
|
1021
|
-
) -> models.
|
|
1027
|
+
) -> models.CountedListCriblLakeDataset:
|
|
1022
1028
|
r"""Update a Lake Dataset
|
|
1023
1029
|
|
|
1024
1030
|
Update the specified Lake Dataset in the specified Lake.
|
|
@@ -1033,6 +1039,7 @@ class LakeDatasets(BaseSDK):
|
|
|
1033
1039
|
:param format_:
|
|
1034
1040
|
:param http_da_used:
|
|
1035
1041
|
:param id:
|
|
1042
|
+
:param metrics:
|
|
1036
1043
|
:param retention_period_in_days:
|
|
1037
1044
|
:param search_config:
|
|
1038
1045
|
:param storage_location_id:
|
|
@@ -1066,6 +1073,9 @@ class LakeDatasets(BaseSDK):
|
|
|
1066
1073
|
format_=format_,
|
|
1067
1074
|
http_da_used=http_da_used,
|
|
1068
1075
|
id=id,
|
|
1076
|
+
metrics=utils.get_pydantic_model(
|
|
1077
|
+
metrics, Optional[models.LakeDatasetMetrics]
|
|
1078
|
+
),
|
|
1069
1079
|
retention_period_in_days=retention_period_in_days,
|
|
1070
1080
|
search_config=utils.get_pydantic_model(
|
|
1071
1081
|
search_config, Optional[models.LakeDatasetSearchConfig]
|
|
@@ -1123,9 +1133,7 @@ class LakeDatasets(BaseSDK):
|
|
|
1123
1133
|
|
|
1124
1134
|
response_data: Any = None
|
|
1125
1135
|
if utils.match_response(http_res, "200", "application/json"):
|
|
1126
|
-
return unmarshal_json_response(
|
|
1127
|
-
models.UpdateCriblLakeDatasetByLakeIDAndIDResponse, http_res
|
|
1128
|
-
)
|
|
1136
|
+
return unmarshal_json_response(models.CountedListCriblLakeDataset, http_res)
|
|
1129
1137
|
if utils.match_response(http_res, "500", "application/json"):
|
|
1130
1138
|
response_data = unmarshal_json_response(errors.ErrorData, http_res)
|
|
1131
1139
|
raise errors.Error(response_data, http_res)
|