cribl-control-plane 0.2.1rc11__py3-none-any.whl → 0.4.0a12__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.

Files changed (136) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/acl.py +6 -4
  3. cribl_control_plane/basesdk.py +6 -0
  4. cribl_control_plane/branches.py +8 -4
  5. cribl_control_plane/commits.py +42 -28
  6. cribl_control_plane/commits_files.py +12 -8
  7. cribl_control_plane/configs_versions.py +10 -4
  8. cribl_control_plane/destinations.py +30 -20
  9. cribl_control_plane/destinations_pq.py +12 -8
  10. cribl_control_plane/groups_sdk.py +60 -24
  11. cribl_control_plane/health.py +2 -0
  12. cribl_control_plane/hectokens.py +32 -8
  13. cribl_control_plane/lakedatasets.py +86 -20
  14. cribl_control_plane/models/__init__.py +568 -214
  15. cribl_control_plane/models/addhectokenrequest.py +7 -1
  16. cribl_control_plane/models/createconfiggroupbyproductop.py +20 -1
  17. cribl_control_plane/models/createcribllakedatasetbylakeidop.py +19 -1
  18. cribl_control_plane/models/createinputhectokenbyidop.py +20 -1
  19. cribl_control_plane/models/{countedlistgitdiffresult.py → createinputop.py} +9 -5
  20. cribl_control_plane/models/{countedlistgitshowresult.py → createoutputop.py} +9 -5
  21. cribl_control_plane/models/createoutputtestbyidop.py +20 -1
  22. cribl_control_plane/models/{countedlistpackinstallinfo.py → createpacksop.py} +6 -2
  23. cribl_control_plane/models/createpipelineop.py +24 -0
  24. cribl_control_plane/models/createroutesappendbyidop.py +20 -2
  25. cribl_control_plane/models/createversioncommitop.py +19 -1
  26. cribl_control_plane/models/{countedliststring.py → createversionpushop.py} +6 -2
  27. cribl_control_plane/models/createversionrevertop.py +19 -1
  28. cribl_control_plane/models/createversionundoop.py +18 -1
  29. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +20 -1
  30. cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +20 -1
  31. cribl_control_plane/models/deleteinputbyidop.py +20 -1
  32. cribl_control_plane/models/deleteoutputbyidop.py +20 -1
  33. cribl_control_plane/models/deleteoutputpqbyidop.py +19 -1
  34. cribl_control_plane/models/deletepacksbyidop.py +20 -1
  35. cribl_control_plane/models/deletepipelinebyidop.py +20 -1
  36. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +19 -1
  37. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +19 -1
  38. cribl_control_plane/models/getconfiggroupbyproductandidop.py +19 -1
  39. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +19 -1
  40. cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +20 -1
  41. cribl_control_plane/models/getcribllakedatasetbylakeidop.py +79 -2
  42. cribl_control_plane/models/getinputbyidop.py +20 -1
  43. cribl_control_plane/models/getmasterworkerentryop.py +18 -1
  44. cribl_control_plane/models/getoutputbyidop.py +20 -1
  45. cribl_control_plane/models/getoutputpqbyidop.py +20 -1
  46. cribl_control_plane/models/getoutputsamplesbyidop.py +20 -1
  47. cribl_control_plane/models/getpacksbyidop.py +20 -1
  48. cribl_control_plane/models/getpacksop.py +19 -1
  49. cribl_control_plane/models/getpipelinebyidop.py +20 -1
  50. cribl_control_plane/models/getroutesbyidop.py +20 -1
  51. cribl_control_plane/models/getsummaryop.py +19 -1
  52. cribl_control_plane/models/{countedlistbranchinfo.py → getversionbranchop.py} +6 -2
  53. cribl_control_plane/models/getversioncountop.py +19 -1
  54. cribl_control_plane/models/getversiondiffop.py +19 -1
  55. cribl_control_plane/models/getversionfilesop.py +19 -1
  56. cribl_control_plane/models/{countedlistgitinfo.py → getversioninfoop.py} +6 -2
  57. cribl_control_plane/models/getversionop.py +19 -1
  58. cribl_control_plane/models/getversionshowop.py +19 -1
  59. cribl_control_plane/models/getversionstatusop.py +19 -1
  60. cribl_control_plane/models/input.py +18 -15
  61. cribl_control_plane/models/inputcloudflarehec.py +513 -0
  62. cribl_control_plane/models/inputfile.py +7 -0
  63. cribl_control_plane/models/listconfiggroupbyproductop.py +19 -1
  64. cribl_control_plane/models/{countedlistinput.py → listinputop.py} +6 -2
  65. cribl_control_plane/models/listmasterworkerentryop.py +19 -1
  66. cribl_control_plane/models/{countedlistoutput.py → listoutputop.py} +6 -2
  67. cribl_control_plane/models/{countedlistpipeline.py → listpipelineop.py} +6 -2
  68. cribl_control_plane/models/{countedlistroutes.py → listroutesop.py} +6 -2
  69. cribl_control_plane/models/output.py +23 -17
  70. cribl_control_plane/models/outputazureblob.py +14 -0
  71. cribl_control_plane/models/outputazuredataexplorer.py +7 -0
  72. cribl_control_plane/models/outputchronicle.py +5 -0
  73. cribl_control_plane/models/outputcloudflarer2.py +632 -0
  74. cribl_control_plane/models/outputcribllake.py +14 -0
  75. cribl_control_plane/models/outputdatabricks.py +19 -0
  76. cribl_control_plane/models/outputdls3.py +14 -0
  77. cribl_control_plane/models/outputexabeam.py +7 -0
  78. cribl_control_plane/models/outputfilesystem.py +14 -0
  79. cribl_control_plane/models/outputgooglecloudstorage.py +14 -0
  80. cribl_control_plane/models/outputmicrosoftfabric.py +540 -0
  81. cribl_control_plane/models/outputminio.py +19 -4
  82. cribl_control_plane/models/outputnetflow.py +7 -0
  83. cribl_control_plane/models/outputs3.py +14 -0
  84. cribl_control_plane/models/outputsecuritylake.py +14 -0
  85. cribl_control_plane/models/outputsyslog.py +7 -0
  86. cribl_control_plane/models/runnablejobcollection.py +0 -8
  87. cribl_control_plane/models/runnablejobexecutor.py +0 -4
  88. cribl_control_plane/models/runnablejobscheduledsearch.py +0 -4
  89. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +19 -1
  90. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +20 -1
  91. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +20 -1
  92. cribl_control_plane/models/updatehectokenrequest.py +7 -1
  93. cribl_control_plane/models/updateinputbyidop.py +19 -1
  94. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +20 -1
  95. cribl_control_plane/models/updateoutputbyidop.py +19 -1
  96. cribl_control_plane/models/updatepacksbyidop.py +20 -1
  97. cribl_control_plane/models/updatepipelinebyidop.py +19 -1
  98. cribl_control_plane/models/updateroutesbyidop.py +19 -1
  99. cribl_control_plane/nodes.py +16 -8
  100. cribl_control_plane/packs.py +32 -20
  101. cribl_control_plane/pipelines.py +30 -20
  102. cribl_control_plane/routes_sdk.py +28 -16
  103. cribl_control_plane/samples.py +12 -8
  104. cribl_control_plane/sources.py +30 -20
  105. cribl_control_plane/statuses.py +6 -4
  106. cribl_control_plane/summaries.py +6 -8
  107. cribl_control_plane/teams.py +6 -4
  108. cribl_control_plane/tokens.py +2 -0
  109. cribl_control_plane/utils/forms.py +21 -10
  110. cribl_control_plane/utils/queryparams.py +14 -2
  111. cribl_control_plane/utils/retries.py +69 -5
  112. cribl_control_plane/utils/unmarshal_json_response.py +15 -1
  113. cribl_control_plane/versions_configs.py +6 -4
  114. {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/METADATA +28 -36
  115. {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/RECORD +117 -131
  116. cribl_control_plane-0.4.0a12.dist-info/licenses/LICENSE +201 -0
  117. cribl_control_plane/models/countedlistconfiggroup.py +0 -20
  118. cribl_control_plane/models/countedlistcribllakedataset.py +0 -20
  119. cribl_control_plane/models/countedlistdistributedsummary.py +0 -20
  120. cribl_control_plane/models/countedlistgitcommitsummary.py +0 -20
  121. cribl_control_plane/models/countedlistgitcountresult.py +0 -20
  122. cribl_control_plane/models/countedlistgitfilesresponse.py +0 -20
  123. cribl_control_plane/models/countedlistgitlogresult.py +0 -20
  124. cribl_control_plane/models/countedlistgitrevertresult.py +0 -20
  125. cribl_control_plane/models/countedlistgitstatusresult.py +0 -20
  126. cribl_control_plane/models/countedlistinputsplunkhec.py +0 -20
  127. cribl_control_plane/models/countedlistjobinfo.py +0 -20
  128. cribl_control_plane/models/countedlistmasterworkerentry.py +0 -20
  129. cribl_control_plane/models/countedlistnumber.py +0 -19
  130. cribl_control_plane/models/countedlistobject.py +0 -19
  131. cribl_control_plane/models/countedlistoutputsamplesresponse.py +0 -20
  132. cribl_control_plane/models/countedlistoutputtestresponse.py +0 -20
  133. cribl_control_plane/models/countedlistpackinfo.py +0 -20
  134. cribl_control_plane/models/countedlistteamaccesscontrollist.py +0 -20
  135. cribl_control_plane/models/countedlistuseraccesscontrollist.py +0 -20
  136. {cribl_control_plane-0.2.1rc11.dist-info → cribl_control_plane-0.4.0a12.dist-info}/WHEEL +0 -0
@@ -19,7 +19,7 @@ class RoutesSDK(BaseSDK):
19
19
  server_url: Optional[str] = None,
20
20
  timeout_ms: Optional[int] = None,
21
21
  http_headers: Optional[Mapping[str, str]] = None,
22
- ) -> models.CountedListRoutes:
22
+ ) -> models.ListRoutesResponse:
23
23
  r"""List all Routes
24
24
 
25
25
  Get a list of all Routes.
@@ -51,6 +51,7 @@ class RoutesSDK(BaseSDK):
51
51
  accept_header_value="application/json",
52
52
  http_headers=http_headers,
53
53
  security=self.sdk_configuration.security,
54
+ allow_empty_value=None,
54
55
  timeout_ms=timeout_ms,
55
56
  )
56
57
 
@@ -79,7 +80,7 @@ class RoutesSDK(BaseSDK):
79
80
 
80
81
  response_data: Any = None
81
82
  if utils.match_response(http_res, "200", "application/json"):
82
- return unmarshal_json_response(models.CountedListRoutes, http_res)
83
+ return unmarshal_json_response(models.ListRoutesResponse, http_res)
83
84
  if utils.match_response(http_res, "500", "application/json"):
84
85
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
85
86
  raise errors.Error(response_data, http_res)
@@ -99,7 +100,7 @@ class RoutesSDK(BaseSDK):
99
100
  server_url: Optional[str] = None,
100
101
  timeout_ms: Optional[int] = None,
101
102
  http_headers: Optional[Mapping[str, str]] = None,
102
- ) -> models.CountedListRoutes:
103
+ ) -> models.ListRoutesResponse:
103
104
  r"""List all Routes
104
105
 
105
106
  Get a list of all Routes.
@@ -131,6 +132,7 @@ class RoutesSDK(BaseSDK):
131
132
  accept_header_value="application/json",
132
133
  http_headers=http_headers,
133
134
  security=self.sdk_configuration.security,
135
+ allow_empty_value=None,
134
136
  timeout_ms=timeout_ms,
135
137
  )
136
138
 
@@ -159,7 +161,7 @@ class RoutesSDK(BaseSDK):
159
161
 
160
162
  response_data: Any = None
161
163
  if utils.match_response(http_res, "200", "application/json"):
162
- return unmarshal_json_response(models.CountedListRoutes, http_res)
164
+ return unmarshal_json_response(models.ListRoutesResponse, http_res)
163
165
  if utils.match_response(http_res, "500", "application/json"):
164
166
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
165
167
  raise errors.Error(response_data, http_res)
@@ -180,7 +182,7 @@ class RoutesSDK(BaseSDK):
180
182
  server_url: Optional[str] = None,
181
183
  timeout_ms: Optional[int] = None,
182
184
  http_headers: Optional[Mapping[str, str]] = None,
183
- ) -> models.CountedListRoutes:
185
+ ) -> models.GetRoutesByIDResponse:
184
186
  r"""Get a Routing table
185
187
 
186
188
  Get the specified Routing table.
@@ -218,6 +220,7 @@ class RoutesSDK(BaseSDK):
218
220
  accept_header_value="application/json",
219
221
  http_headers=http_headers,
220
222
  security=self.sdk_configuration.security,
223
+ allow_empty_value=None,
221
224
  timeout_ms=timeout_ms,
222
225
  )
223
226
 
@@ -246,7 +249,7 @@ class RoutesSDK(BaseSDK):
246
249
 
247
250
  response_data: Any = None
248
251
  if utils.match_response(http_res, "200", "application/json"):
249
- return unmarshal_json_response(models.CountedListRoutes, http_res)
252
+ return unmarshal_json_response(models.GetRoutesByIDResponse, http_res)
250
253
  if utils.match_response(http_res, "500", "application/json"):
251
254
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
252
255
  raise errors.Error(response_data, http_res)
@@ -267,7 +270,7 @@ class RoutesSDK(BaseSDK):
267
270
  server_url: Optional[str] = None,
268
271
  timeout_ms: Optional[int] = None,
269
272
  http_headers: Optional[Mapping[str, str]] = None,
270
- ) -> models.CountedListRoutes:
273
+ ) -> models.GetRoutesByIDResponse:
271
274
  r"""Get a Routing table
272
275
 
273
276
  Get the specified Routing table.
@@ -305,6 +308,7 @@ class RoutesSDK(BaseSDK):
305
308
  accept_header_value="application/json",
306
309
  http_headers=http_headers,
307
310
  security=self.sdk_configuration.security,
311
+ allow_empty_value=None,
308
312
  timeout_ms=timeout_ms,
309
313
  )
310
314
 
@@ -333,7 +337,7 @@ class RoutesSDK(BaseSDK):
333
337
 
334
338
  response_data: Any = None
335
339
  if utils.match_response(http_res, "200", "application/json"):
336
- return unmarshal_json_response(models.CountedListRoutes, http_res)
340
+ return unmarshal_json_response(models.GetRoutesByIDResponse, http_res)
337
341
  if utils.match_response(http_res, "500", "application/json"):
338
342
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
339
343
  raise errors.Error(response_data, http_res)
@@ -364,7 +368,7 @@ class RoutesSDK(BaseSDK):
364
368
  server_url: Optional[str] = None,
365
369
  timeout_ms: Optional[int] = None,
366
370
  http_headers: Optional[Mapping[str, str]] = None,
367
- ) -> models.CountedListRoutes:
371
+ ) -> models.UpdateRoutesByIDResponse:
368
372
  r"""Update a Route
369
373
 
370
374
  Update a Route in the specified Routing table.</br></br>Provide a complete representation of the Routing table, including the Route that you want to update, in the request body. This endpoint does not support partial updates. Cribl removes any omitted Routes and fields when updating.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the Routing table might not function as expected.
@@ -419,6 +423,7 @@ class RoutesSDK(BaseSDK):
419
423
  get_serialized_body=lambda: utils.serialize_request_body(
420
424
  request.routes, False, False, "json", models.Routes
421
425
  ),
426
+ allow_empty_value=None,
422
427
  timeout_ms=timeout_ms,
423
428
  )
424
429
 
@@ -447,7 +452,7 @@ class RoutesSDK(BaseSDK):
447
452
 
448
453
  response_data: Any = None
449
454
  if utils.match_response(http_res, "200", "application/json"):
450
- return unmarshal_json_response(models.CountedListRoutes, http_res)
455
+ return unmarshal_json_response(models.UpdateRoutesByIDResponse, http_res)
451
456
  if utils.match_response(http_res, "500", "application/json"):
452
457
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
453
458
  raise errors.Error(response_data, http_res)
@@ -478,7 +483,7 @@ class RoutesSDK(BaseSDK):
478
483
  server_url: Optional[str] = None,
479
484
  timeout_ms: Optional[int] = None,
480
485
  http_headers: Optional[Mapping[str, str]] = None,
481
- ) -> models.CountedListRoutes:
486
+ ) -> models.UpdateRoutesByIDResponse:
482
487
  r"""Update a Route
483
488
 
484
489
  Update a Route in the specified Routing table.</br></br>Provide a complete representation of the Routing table, including the Route that you want to update, in the request body. This endpoint does not support partial updates. Cribl removes any omitted Routes and fields when updating.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the Routing table might not function as expected.
@@ -533,6 +538,7 @@ class RoutesSDK(BaseSDK):
533
538
  get_serialized_body=lambda: utils.serialize_request_body(
534
539
  request.routes, False, False, "json", models.Routes
535
540
  ),
541
+ allow_empty_value=None,
536
542
  timeout_ms=timeout_ms,
537
543
  )
538
544
 
@@ -561,7 +567,7 @@ class RoutesSDK(BaseSDK):
561
567
 
562
568
  response_data: Any = None
563
569
  if utils.match_response(http_res, "200", "application/json"):
564
- return unmarshal_json_response(models.CountedListRoutes, http_res)
570
+ return unmarshal_json_response(models.UpdateRoutesByIDResponse, http_res)
565
571
  if utils.match_response(http_res, "500", "application/json"):
566
572
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
567
573
  raise errors.Error(response_data, http_res)
@@ -583,7 +589,7 @@ class RoutesSDK(BaseSDK):
583
589
  server_url: Optional[str] = None,
584
590
  timeout_ms: Optional[int] = None,
585
591
  http_headers: Optional[Mapping[str, str]] = None,
586
- ) -> models.CountedListRoutes:
592
+ ) -> models.CreateRoutesAppendByIDResponse:
587
593
  r"""Add a Route to the end of the Routing table
588
594
 
589
595
  Add a Route to the end of the specified Routing table.
@@ -626,6 +632,7 @@ class RoutesSDK(BaseSDK):
626
632
  get_serialized_body=lambda: utils.serialize_request_body(
627
633
  request.request_body, False, False, "json", List[models.RouteConf]
628
634
  ),
635
+ allow_empty_value=None,
629
636
  timeout_ms=timeout_ms,
630
637
  )
631
638
 
@@ -654,7 +661,9 @@ class RoutesSDK(BaseSDK):
654
661
 
655
662
  response_data: Any = None
656
663
  if utils.match_response(http_res, "200", "application/json"):
657
- return unmarshal_json_response(models.CountedListRoutes, http_res)
664
+ return unmarshal_json_response(
665
+ models.CreateRoutesAppendByIDResponse, http_res
666
+ )
658
667
  if utils.match_response(http_res, "500", "application/json"):
659
668
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
660
669
  raise errors.Error(response_data, http_res)
@@ -676,7 +685,7 @@ class RoutesSDK(BaseSDK):
676
685
  server_url: Optional[str] = None,
677
686
  timeout_ms: Optional[int] = None,
678
687
  http_headers: Optional[Mapping[str, str]] = None,
679
- ) -> models.CountedListRoutes:
688
+ ) -> models.CreateRoutesAppendByIDResponse:
680
689
  r"""Add a Route to the end of the Routing table
681
690
 
682
691
  Add a Route to the end of the specified Routing table.
@@ -719,6 +728,7 @@ class RoutesSDK(BaseSDK):
719
728
  get_serialized_body=lambda: utils.serialize_request_body(
720
729
  request.request_body, False, False, "json", List[models.RouteConf]
721
730
  ),
731
+ allow_empty_value=None,
722
732
  timeout_ms=timeout_ms,
723
733
  )
724
734
 
@@ -747,7 +757,9 @@ class RoutesSDK(BaseSDK):
747
757
 
748
758
  response_data: Any = None
749
759
  if utils.match_response(http_res, "200", "application/json"):
750
- return unmarshal_json_response(models.CountedListRoutes, http_res)
760
+ return unmarshal_json_response(
761
+ models.CreateRoutesAppendByIDResponse, http_res
762
+ )
751
763
  if utils.match_response(http_res, "500", "application/json"):
752
764
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
753
765
  raise errors.Error(response_data, http_res)
@@ -18,7 +18,7 @@ class Samples(BaseSDK):
18
18
  server_url: Optional[str] = None,
19
19
  timeout_ms: Optional[int] = None,
20
20
  http_headers: Optional[Mapping[str, str]] = None,
21
- ) -> models.CountedListOutputSamplesResponse:
21
+ ) -> models.GetOutputSamplesByIDResponse:
22
22
  r"""Get sample event data for a Destination
23
23
 
24
24
  Get sample event data for the specified Destination to validate the configuration or test connectivity.
@@ -56,6 +56,7 @@ class Samples(BaseSDK):
56
56
  accept_header_value="application/json",
57
57
  http_headers=http_headers,
58
58
  security=self.sdk_configuration.security,
59
+ allow_empty_value=None,
59
60
  timeout_ms=timeout_ms,
60
61
  )
61
62
 
@@ -85,7 +86,7 @@ class Samples(BaseSDK):
85
86
  response_data: Any = None
86
87
  if utils.match_response(http_res, "200", "application/json"):
87
88
  return unmarshal_json_response(
88
- models.CountedListOutputSamplesResponse, http_res
89
+ models.GetOutputSamplesByIDResponse, http_res
89
90
  )
90
91
  if utils.match_response(http_res, "500", "application/json"):
91
92
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -107,7 +108,7 @@ class Samples(BaseSDK):
107
108
  server_url: Optional[str] = None,
108
109
  timeout_ms: Optional[int] = None,
109
110
  http_headers: Optional[Mapping[str, str]] = None,
110
- ) -> models.CountedListOutputSamplesResponse:
111
+ ) -> models.GetOutputSamplesByIDResponse:
111
112
  r"""Get sample event data for a Destination
112
113
 
113
114
  Get sample event data for the specified Destination to validate the configuration or test connectivity.
@@ -145,6 +146,7 @@ class Samples(BaseSDK):
145
146
  accept_header_value="application/json",
146
147
  http_headers=http_headers,
147
148
  security=self.sdk_configuration.security,
149
+ allow_empty_value=None,
148
150
  timeout_ms=timeout_ms,
149
151
  )
150
152
 
@@ -174,7 +176,7 @@ class Samples(BaseSDK):
174
176
  response_data: Any = None
175
177
  if utils.match_response(http_res, "200", "application/json"):
176
178
  return unmarshal_json_response(
177
- models.CountedListOutputSamplesResponse, http_res
179
+ models.GetOutputSamplesByIDResponse, http_res
178
180
  )
179
181
  if utils.match_response(http_res, "500", "application/json"):
180
182
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -197,7 +199,7 @@ class Samples(BaseSDK):
197
199
  server_url: Optional[str] = None,
198
200
  timeout_ms: Optional[int] = None,
199
201
  http_headers: Optional[Mapping[str, str]] = None,
200
- ) -> models.CountedListOutputTestResponse:
202
+ ) -> models.CreateOutputTestByIDResponse:
201
203
  r"""Send sample event data to a Destination
202
204
 
203
205
  Send sample event data to the specified Destination to validate the configuration or test connectivity.
@@ -246,6 +248,7 @@ class Samples(BaseSDK):
246
248
  "json",
247
249
  models.OutputTestRequest,
248
250
  ),
251
+ allow_empty_value=None,
249
252
  timeout_ms=timeout_ms,
250
253
  )
251
254
 
@@ -275,7 +278,7 @@ class Samples(BaseSDK):
275
278
  response_data: Any = None
276
279
  if utils.match_response(http_res, "200", "application/json"):
277
280
  return unmarshal_json_response(
278
- models.CountedListOutputTestResponse, http_res
281
+ models.CreateOutputTestByIDResponse, http_res
279
282
  )
280
283
  if utils.match_response(http_res, "500", "application/json"):
281
284
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -298,7 +301,7 @@ class Samples(BaseSDK):
298
301
  server_url: Optional[str] = None,
299
302
  timeout_ms: Optional[int] = None,
300
303
  http_headers: Optional[Mapping[str, str]] = None,
301
- ) -> models.CountedListOutputTestResponse:
304
+ ) -> models.CreateOutputTestByIDResponse:
302
305
  r"""Send sample event data to a Destination
303
306
 
304
307
  Send sample event data to the specified Destination to validate the configuration or test connectivity.
@@ -347,6 +350,7 @@ class Samples(BaseSDK):
347
350
  "json",
348
351
  models.OutputTestRequest,
349
352
  ),
353
+ allow_empty_value=None,
350
354
  timeout_ms=timeout_ms,
351
355
  )
352
356
 
@@ -376,7 +380,7 @@ class Samples(BaseSDK):
376
380
  response_data: Any = None
377
381
  if utils.match_response(http_res, "200", "application/json"):
378
382
  return unmarshal_json_response(
379
- models.CountedListOutputTestResponse, http_res
383
+ models.CreateOutputTestByIDResponse, http_res
380
384
  )
381
385
  if utils.match_response(http_res, "500", "application/json"):
382
386
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -33,7 +33,7 @@ class Sources(BaseSDK):
33
33
  server_url: Optional[str] = None,
34
34
  timeout_ms: Optional[int] = None,
35
35
  http_headers: Optional[Mapping[str, str]] = None,
36
- ) -> models.CountedListInput:
36
+ ) -> models.ListInputResponse:
37
37
  r"""List all Sources
38
38
 
39
39
  Get a list of all Sources.
@@ -65,6 +65,7 @@ class Sources(BaseSDK):
65
65
  accept_header_value="application/json",
66
66
  http_headers=http_headers,
67
67
  security=self.sdk_configuration.security,
68
+ allow_empty_value=None,
68
69
  timeout_ms=timeout_ms,
69
70
  )
70
71
 
@@ -93,7 +94,7 @@ class Sources(BaseSDK):
93
94
 
94
95
  response_data: Any = None
95
96
  if utils.match_response(http_res, "200", "application/json"):
96
- return unmarshal_json_response(models.CountedListInput, http_res)
97
+ return unmarshal_json_response(models.ListInputResponse, http_res)
97
98
  if utils.match_response(http_res, "500", "application/json"):
98
99
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
99
100
  raise errors.Error(response_data, http_res)
@@ -113,7 +114,7 @@ class Sources(BaseSDK):
113
114
  server_url: Optional[str] = None,
114
115
  timeout_ms: Optional[int] = None,
115
116
  http_headers: Optional[Mapping[str, str]] = None,
116
- ) -> models.CountedListInput:
117
+ ) -> models.ListInputResponse:
117
118
  r"""List all Sources
118
119
 
119
120
  Get a list of all Sources.
@@ -145,6 +146,7 @@ class Sources(BaseSDK):
145
146
  accept_header_value="application/json",
146
147
  http_headers=http_headers,
147
148
  security=self.sdk_configuration.security,
149
+ allow_empty_value=None,
148
150
  timeout_ms=timeout_ms,
149
151
  )
150
152
 
@@ -173,7 +175,7 @@ class Sources(BaseSDK):
173
175
 
174
176
  response_data: Any = None
175
177
  if utils.match_response(http_res, "200", "application/json"):
176
- return unmarshal_json_response(models.CountedListInput, http_res)
178
+ return unmarshal_json_response(models.ListInputResponse, http_res)
177
179
  if utils.match_response(http_res, "500", "application/json"):
178
180
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
179
181
  raise errors.Error(response_data, http_res)
@@ -194,7 +196,7 @@ class Sources(BaseSDK):
194
196
  server_url: Optional[str] = None,
195
197
  timeout_ms: Optional[int] = None,
196
198
  http_headers: Optional[Mapping[str, str]] = None,
197
- ) -> models.CountedListInput:
199
+ ) -> models.CreateInputResponse:
198
200
  r"""Create a Source
199
201
 
200
202
  Create a new Source.
@@ -235,6 +237,7 @@ class Sources(BaseSDK):
235
237
  get_serialized_body=lambda: utils.serialize_request_body(
236
238
  request, False, False, "json", models.Input
237
239
  ),
240
+ allow_empty_value=None,
238
241
  timeout_ms=timeout_ms,
239
242
  )
240
243
 
@@ -263,7 +266,7 @@ class Sources(BaseSDK):
263
266
 
264
267
  response_data: Any = None
265
268
  if utils.match_response(http_res, "200", "application/json"):
266
- return unmarshal_json_response(models.CountedListInput, http_res)
269
+ return unmarshal_json_response(models.CreateInputResponse, http_res)
267
270
  if utils.match_response(http_res, "500", "application/json"):
268
271
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
269
272
  raise errors.Error(response_data, http_res)
@@ -284,7 +287,7 @@ class Sources(BaseSDK):
284
287
  server_url: Optional[str] = None,
285
288
  timeout_ms: Optional[int] = None,
286
289
  http_headers: Optional[Mapping[str, str]] = None,
287
- ) -> models.CountedListInput:
290
+ ) -> models.CreateInputResponse:
288
291
  r"""Create a Source
289
292
 
290
293
  Create a new Source.
@@ -325,6 +328,7 @@ class Sources(BaseSDK):
325
328
  get_serialized_body=lambda: utils.serialize_request_body(
326
329
  request, False, False, "json", models.Input
327
330
  ),
331
+ allow_empty_value=None,
328
332
  timeout_ms=timeout_ms,
329
333
  )
330
334
 
@@ -353,7 +357,7 @@ class Sources(BaseSDK):
353
357
 
354
358
  response_data: Any = None
355
359
  if utils.match_response(http_res, "200", "application/json"):
356
- return unmarshal_json_response(models.CountedListInput, http_res)
360
+ return unmarshal_json_response(models.CreateInputResponse, http_res)
357
361
  if utils.match_response(http_res, "500", "application/json"):
358
362
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
359
363
  raise errors.Error(response_data, http_res)
@@ -374,7 +378,7 @@ class Sources(BaseSDK):
374
378
  server_url: Optional[str] = None,
375
379
  timeout_ms: Optional[int] = None,
376
380
  http_headers: Optional[Mapping[str, str]] = None,
377
- ) -> models.CountedListInput:
381
+ ) -> models.GetInputByIDResponse:
378
382
  r"""Get a Source
379
383
 
380
384
  Get the specified Source.
@@ -412,6 +416,7 @@ class Sources(BaseSDK):
412
416
  accept_header_value="application/json",
413
417
  http_headers=http_headers,
414
418
  security=self.sdk_configuration.security,
419
+ allow_empty_value=None,
415
420
  timeout_ms=timeout_ms,
416
421
  )
417
422
 
@@ -440,7 +445,7 @@ class Sources(BaseSDK):
440
445
 
441
446
  response_data: Any = None
442
447
  if utils.match_response(http_res, "200", "application/json"):
443
- return unmarshal_json_response(models.CountedListInput, http_res)
448
+ return unmarshal_json_response(models.GetInputByIDResponse, http_res)
444
449
  if utils.match_response(http_res, "500", "application/json"):
445
450
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
446
451
  raise errors.Error(response_data, http_res)
@@ -461,7 +466,7 @@ class Sources(BaseSDK):
461
466
  server_url: Optional[str] = None,
462
467
  timeout_ms: Optional[int] = None,
463
468
  http_headers: Optional[Mapping[str, str]] = None,
464
- ) -> models.CountedListInput:
469
+ ) -> models.GetInputByIDResponse:
465
470
  r"""Get a Source
466
471
 
467
472
  Get the specified Source.
@@ -499,6 +504,7 @@ class Sources(BaseSDK):
499
504
  accept_header_value="application/json",
500
505
  http_headers=http_headers,
501
506
  security=self.sdk_configuration.security,
507
+ allow_empty_value=None,
502
508
  timeout_ms=timeout_ms,
503
509
  )
504
510
 
@@ -527,7 +533,7 @@ class Sources(BaseSDK):
527
533
 
528
534
  response_data: Any = None
529
535
  if utils.match_response(http_res, "200", "application/json"):
530
- return unmarshal_json_response(models.CountedListInput, http_res)
536
+ return unmarshal_json_response(models.GetInputByIDResponse, http_res)
531
537
  if utils.match_response(http_res, "500", "application/json"):
532
538
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
533
539
  raise errors.Error(response_data, http_res)
@@ -549,7 +555,7 @@ class Sources(BaseSDK):
549
555
  server_url: Optional[str] = None,
550
556
  timeout_ms: Optional[int] = None,
551
557
  http_headers: Optional[Mapping[str, str]] = None,
552
- ) -> models.CountedListInput:
558
+ ) -> models.UpdateInputByIDResponse:
553
559
  r"""Update a Source
554
560
 
555
561
  Update the specified Source.</br></br>Provide a complete representation of the Source that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Source.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Source might not function as expected.
@@ -592,6 +598,7 @@ class Sources(BaseSDK):
592
598
  get_serialized_body=lambda: utils.serialize_request_body(
593
599
  request.input, False, False, "json", models.Input
594
600
  ),
601
+ allow_empty_value=None,
595
602
  timeout_ms=timeout_ms,
596
603
  )
597
604
 
@@ -620,7 +627,7 @@ class Sources(BaseSDK):
620
627
 
621
628
  response_data: Any = None
622
629
  if utils.match_response(http_res, "200", "application/json"):
623
- return unmarshal_json_response(models.CountedListInput, http_res)
630
+ return unmarshal_json_response(models.UpdateInputByIDResponse, http_res)
624
631
  if utils.match_response(http_res, "500", "application/json"):
625
632
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
626
633
  raise errors.Error(response_data, http_res)
@@ -642,7 +649,7 @@ class Sources(BaseSDK):
642
649
  server_url: Optional[str] = None,
643
650
  timeout_ms: Optional[int] = None,
644
651
  http_headers: Optional[Mapping[str, str]] = None,
645
- ) -> models.CountedListInput:
652
+ ) -> models.UpdateInputByIDResponse:
646
653
  r"""Update a Source
647
654
 
648
655
  Update the specified Source.</br></br>Provide a complete representation of the Source that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Source.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Source might not function as expected.
@@ -685,6 +692,7 @@ class Sources(BaseSDK):
685
692
  get_serialized_body=lambda: utils.serialize_request_body(
686
693
  request.input, False, False, "json", models.Input
687
694
  ),
695
+ allow_empty_value=None,
688
696
  timeout_ms=timeout_ms,
689
697
  )
690
698
 
@@ -713,7 +721,7 @@ class Sources(BaseSDK):
713
721
 
714
722
  response_data: Any = None
715
723
  if utils.match_response(http_res, "200", "application/json"):
716
- return unmarshal_json_response(models.CountedListInput, http_res)
724
+ return unmarshal_json_response(models.UpdateInputByIDResponse, http_res)
717
725
  if utils.match_response(http_res, "500", "application/json"):
718
726
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
719
727
  raise errors.Error(response_data, http_res)
@@ -734,7 +742,7 @@ class Sources(BaseSDK):
734
742
  server_url: Optional[str] = None,
735
743
  timeout_ms: Optional[int] = None,
736
744
  http_headers: Optional[Mapping[str, str]] = None,
737
- ) -> models.CountedListInput:
745
+ ) -> models.DeleteInputByIDResponse:
738
746
  r"""Delete a Source
739
747
 
740
748
  Delete the specified Source.
@@ -772,6 +780,7 @@ class Sources(BaseSDK):
772
780
  accept_header_value="application/json",
773
781
  http_headers=http_headers,
774
782
  security=self.sdk_configuration.security,
783
+ allow_empty_value=None,
775
784
  timeout_ms=timeout_ms,
776
785
  )
777
786
 
@@ -800,7 +809,7 @@ class Sources(BaseSDK):
800
809
 
801
810
  response_data: Any = None
802
811
  if utils.match_response(http_res, "200", "application/json"):
803
- return unmarshal_json_response(models.CountedListInput, http_res)
812
+ return unmarshal_json_response(models.DeleteInputByIDResponse, http_res)
804
813
  if utils.match_response(http_res, "500", "application/json"):
805
814
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
806
815
  raise errors.Error(response_data, http_res)
@@ -821,7 +830,7 @@ class Sources(BaseSDK):
821
830
  server_url: Optional[str] = None,
822
831
  timeout_ms: Optional[int] = None,
823
832
  http_headers: Optional[Mapping[str, str]] = None,
824
- ) -> models.CountedListInput:
833
+ ) -> models.DeleteInputByIDResponse:
825
834
  r"""Delete a Source
826
835
 
827
836
  Delete the specified Source.
@@ -859,6 +868,7 @@ class Sources(BaseSDK):
859
868
  accept_header_value="application/json",
860
869
  http_headers=http_headers,
861
870
  security=self.sdk_configuration.security,
871
+ allow_empty_value=None,
862
872
  timeout_ms=timeout_ms,
863
873
  )
864
874
 
@@ -887,7 +897,7 @@ class Sources(BaseSDK):
887
897
 
888
898
  response_data: Any = None
889
899
  if utils.match_response(http_res, "200", "application/json"):
890
- return unmarshal_json_response(models.CountedListInput, http_res)
900
+ return unmarshal_json_response(models.DeleteInputByIDResponse, http_res)
891
901
  if utils.match_response(http_res, "500", "application/json"):
892
902
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
893
903
  raise errors.Error(response_data, http_res)
@@ -18,7 +18,7 @@ class Statuses(BaseSDK):
18
18
  server_url: Optional[str] = None,
19
19
  timeout_ms: Optional[int] = None,
20
20
  http_headers: Optional[Mapping[str, str]] = None,
21
- ) -> models.CountedListGitStatusResult:
21
+ ) -> models.GetVersionStatusResponse:
22
22
  r"""Get the status of the current working tree
23
23
 
24
24
  Get the status of the current working tree of the Git repository used for Cribl configuration. The response includes details about modified, staged, untracked, and conflicted files, as well as branch and remote tracking information.
@@ -56,6 +56,7 @@ class Statuses(BaseSDK):
56
56
  accept_header_value="application/json",
57
57
  http_headers=http_headers,
58
58
  security=self.sdk_configuration.security,
59
+ allow_empty_value=None,
59
60
  timeout_ms=timeout_ms,
60
61
  )
61
62
 
@@ -84,7 +85,7 @@ class Statuses(BaseSDK):
84
85
 
85
86
  response_data: Any = None
86
87
  if utils.match_response(http_res, "200", "application/json"):
87
- return unmarshal_json_response(models.CountedListGitStatusResult, http_res)
88
+ return unmarshal_json_response(models.GetVersionStatusResponse, http_res)
88
89
  if utils.match_response(http_res, "500", "application/json"):
89
90
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
90
91
  raise errors.Error(response_data, http_res)
@@ -105,7 +106,7 @@ class Statuses(BaseSDK):
105
106
  server_url: Optional[str] = None,
106
107
  timeout_ms: Optional[int] = None,
107
108
  http_headers: Optional[Mapping[str, str]] = None,
108
- ) -> models.CountedListGitStatusResult:
109
+ ) -> models.GetVersionStatusResponse:
109
110
  r"""Get the status of the current working tree
110
111
 
111
112
  Get the status of the current working tree of the Git repository used for Cribl configuration. The response includes details about modified, staged, untracked, and conflicted files, as well as branch and remote tracking information.
@@ -143,6 +144,7 @@ class Statuses(BaseSDK):
143
144
  accept_header_value="application/json",
144
145
  http_headers=http_headers,
145
146
  security=self.sdk_configuration.security,
147
+ allow_empty_value=None,
146
148
  timeout_ms=timeout_ms,
147
149
  )
148
150
 
@@ -171,7 +173,7 @@ class Statuses(BaseSDK):
171
173
 
172
174
  response_data: Any = None
173
175
  if utils.match_response(http_res, "200", "application/json"):
174
- return unmarshal_json_response(models.CountedListGitStatusResult, http_res)
176
+ return unmarshal_json_response(models.GetVersionStatusResponse, http_res)
175
177
  if utils.match_response(http_res, "500", "application/json"):
176
178
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
177
179
  raise errors.Error(response_data, http_res)
@@ -18,7 +18,7 @@ class Summaries(BaseSDK):
18
18
  server_url: Optional[str] = None,
19
19
  timeout_ms: Optional[int] = None,
20
20
  http_headers: Optional[Mapping[str, str]] = None,
21
- ) -> models.CountedListDistributedSummary:
21
+ ) -> models.GetSummaryResponse:
22
22
  r"""Get a summary of the Distributed deployment
23
23
 
24
24
  Get a summary of the Distributed deployment. The response includes counts of Worker Groups, Edge Fleets, Pipelines, Routes, Sources, Destinations, and Worker and Edge Nodes, as well as statistics for the Worker and Edge Nodes.
@@ -56,6 +56,7 @@ class Summaries(BaseSDK):
56
56
  accept_header_value="application/json",
57
57
  http_headers=http_headers,
58
58
  security=self.sdk_configuration.security,
59
+ allow_empty_value=None,
59
60
  timeout_ms=timeout_ms,
60
61
  )
61
62
 
@@ -84,9 +85,7 @@ class Summaries(BaseSDK):
84
85
 
85
86
  response_data: Any = None
86
87
  if utils.match_response(http_res, "200", "application/json"):
87
- return unmarshal_json_response(
88
- models.CountedListDistributedSummary, http_res
89
- )
88
+ return unmarshal_json_response(models.GetSummaryResponse, http_res)
90
89
  if utils.match_response(http_res, "500", "application/json"):
91
90
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
92
91
  raise errors.Error(response_data, http_res)
@@ -107,7 +106,7 @@ class Summaries(BaseSDK):
107
106
  server_url: Optional[str] = None,
108
107
  timeout_ms: Optional[int] = None,
109
108
  http_headers: Optional[Mapping[str, str]] = None,
110
- ) -> models.CountedListDistributedSummary:
109
+ ) -> models.GetSummaryResponse:
111
110
  r"""Get a summary of the Distributed deployment
112
111
 
113
112
  Get a summary of the Distributed deployment. The response includes counts of Worker Groups, Edge Fleets, Pipelines, Routes, Sources, Destinations, and Worker and Edge Nodes, as well as statistics for the Worker and Edge Nodes.
@@ -145,6 +144,7 @@ class Summaries(BaseSDK):
145
144
  accept_header_value="application/json",
146
145
  http_headers=http_headers,
147
146
  security=self.sdk_configuration.security,
147
+ allow_empty_value=None,
148
148
  timeout_ms=timeout_ms,
149
149
  )
150
150
 
@@ -173,9 +173,7 @@ class Summaries(BaseSDK):
173
173
 
174
174
  response_data: Any = None
175
175
  if utils.match_response(http_res, "200", "application/json"):
176
- return unmarshal_json_response(
177
- models.CountedListDistributedSummary, http_res
178
- )
176
+ return unmarshal_json_response(models.GetSummaryResponse, http_res)
179
177
  if utils.match_response(http_res, "500", "application/json"):
180
178
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
181
179
  raise errors.Error(response_data, http_res)