cribl-control-plane 0.4.0a12__py3-none-any.whl → 0.4.0b12__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 (137) hide show
  1. cribl_control_plane/_version.py +4 -4
  2. cribl_control_plane/acl.py +14 -6
  3. cribl_control_plane/branches.py +24 -8
  4. cribl_control_plane/commits.py +98 -42
  5. cribl_control_plane/commits_files.py +28 -12
  6. cribl_control_plane/configs_versions.py +14 -10
  7. cribl_control_plane/destinations.py +70 -30
  8. cribl_control_plane/destinations_pq.py +28 -12
  9. cribl_control_plane/groups_sdk.py +84 -60
  10. cribl_control_plane/health.py +10 -2
  11. cribl_control_plane/hectokens.py +28 -32
  12. cribl_control_plane/lakedatasets.py +70 -86
  13. cribl_control_plane/models/__init__.py +266 -438
  14. cribl_control_plane/models/addhectokenrequest.py +1 -7
  15. cribl_control_plane/models/configgroup.py +1 -0
  16. cribl_control_plane/models/{getversionbranchop.py → countedbranchinfo.py} +2 -6
  17. cribl_control_plane/models/countedconfiggroup.py +20 -0
  18. cribl_control_plane/models/countedcribllakedataset.py +20 -0
  19. cribl_control_plane/models/counteddistributedsummary.py +20 -0
  20. cribl_control_plane/models/countedgitcommitsummary.py +20 -0
  21. cribl_control_plane/models/countedgitcountresult.py +20 -0
  22. cribl_control_plane/models/{createinputop.py → countedgitdiffresult.py} +5 -9
  23. cribl_control_plane/models/countedgitfilesresponse.py +20 -0
  24. cribl_control_plane/models/{getversioninfoop.py → countedgitinfo.py} +2 -6
  25. cribl_control_plane/models/countedgitlogresult.py +20 -0
  26. cribl_control_plane/models/countedgitrevertresult.py +20 -0
  27. cribl_control_plane/models/countedgitshowresult.py +20 -0
  28. cribl_control_plane/models/countedgitstatusresult.py +20 -0
  29. cribl_control_plane/models/{listinputop.py → countedinput.py} +2 -6
  30. cribl_control_plane/models/countedinputsplunkhec.py +20 -0
  31. cribl_control_plane/models/countedjobinfo.py +20 -0
  32. cribl_control_plane/models/countedmasterworkerentry.py +20 -0
  33. cribl_control_plane/models/countednumber.py +19 -0
  34. cribl_control_plane/models/countedobject.py +19 -0
  35. cribl_control_plane/models/{listoutputop.py → countedoutput.py} +2 -6
  36. cribl_control_plane/models/{createoutputop.py → countedoutputsamplesresponse.py} +5 -9
  37. cribl_control_plane/models/countedoutputtestresponse.py +20 -0
  38. cribl_control_plane/models/countedpackinfo.py +20 -0
  39. cribl_control_plane/models/{createpacksop.py → countedpackinstallinfo.py} +2 -6
  40. cribl_control_plane/models/{listpipelineop.py → countedpipeline.py} +2 -6
  41. cribl_control_plane/models/{listroutesop.py → countedroutes.py} +2 -6
  42. cribl_control_plane/models/{createversionpushop.py → countedstring.py} +2 -6
  43. cribl_control_plane/models/countedteamaccesscontrollist.py +20 -0
  44. cribl_control_plane/models/counteduseraccesscontrollist.py +20 -0
  45. cribl_control_plane/models/createauthloginop.py +18 -0
  46. cribl_control_plane/models/createconfiggroupbyproductop.py +1 -20
  47. cribl_control_plane/models/createcribllakedatasetbylakeidop.py +1 -19
  48. cribl_control_plane/models/createinputhectokenbyidop.py +1 -20
  49. cribl_control_plane/models/createoutputtestbyidop.py +1 -20
  50. cribl_control_plane/models/createroutesappendbyidop.py +2 -20
  51. cribl_control_plane/models/createversioncommitop.py +1 -19
  52. cribl_control_plane/models/createversionrevertop.py +1 -19
  53. cribl_control_plane/models/createversionundoop.py +1 -18
  54. cribl_control_plane/models/criblevent.py +15 -0
  55. cribl_control_plane/models/deleteconfiggroupbyproductandidop.py +1 -20
  56. cribl_control_plane/models/deletecribllakedatasetbylakeidandidop.py +1 -20
  57. cribl_control_plane/models/deleteinputbyidop.py +1 -20
  58. cribl_control_plane/models/deleteoutputbyidop.py +1 -20
  59. cribl_control_plane/models/deleteoutputpqbyidop.py +1 -19
  60. cribl_control_plane/models/deletepacksbyidop.py +1 -20
  61. cribl_control_plane/models/deletepipelinebyidop.py +1 -20
  62. cribl_control_plane/models/difffiles.py +5 -46
  63. cribl_control_plane/models/diffline.py +26 -0
  64. cribl_control_plane/models/difflinecontext.py +28 -0
  65. cribl_control_plane/models/difflinedelete.py +25 -0
  66. cribl_control_plane/models/difflineinsert.py +25 -0
  67. cribl_control_plane/models/getconfiggroupaclbyproductandidop.py +1 -19
  68. cribl_control_plane/models/getconfiggroupaclteamsbyproductandidop.py +1 -19
  69. cribl_control_plane/models/getconfiggroupbyproductandidop.py +1 -19
  70. cribl_control_plane/models/getconfiggroupconfigversionbyproductandidop.py +1 -19
  71. cribl_control_plane/models/getcribllakedatasetbylakeidandidop.py +1 -20
  72. cribl_control_plane/models/getcribllakedatasetbylakeidop.py +2 -79
  73. cribl_control_plane/models/getinputbyidop.py +1 -20
  74. cribl_control_plane/models/getmasterworkerentryop.py +1 -18
  75. cribl_control_plane/models/getoutputbyidop.py +1 -20
  76. cribl_control_plane/models/getoutputpqbyidop.py +1 -20
  77. cribl_control_plane/models/getoutputsamplesbyidop.py +1 -20
  78. cribl_control_plane/models/getpacksbyidop.py +1 -20
  79. cribl_control_plane/models/getpacksop.py +1 -19
  80. cribl_control_plane/models/getpipelinebyidop.py +1 -20
  81. cribl_control_plane/models/getroutesbyidop.py +1 -20
  82. cribl_control_plane/models/getsummaryop.py +1 -19
  83. cribl_control_plane/models/getversioncountop.py +1 -19
  84. cribl_control_plane/models/getversiondiffop.py +1 -19
  85. cribl_control_plane/models/getversionfilesop.py +1 -19
  86. cribl_control_plane/models/getversionop.py +1 -19
  87. cribl_control_plane/models/getversionshowop.py +1 -19
  88. cribl_control_plane/models/getversionstatusop.py +1 -19
  89. cribl_control_plane/models/groupcreaterequest.py +1 -0
  90. cribl_control_plane/models/hbcriblinfo.py +3 -4
  91. cribl_control_plane/models/heartbeatmetadata.py +3 -11
  92. cribl_control_plane/models/inputcloudflarehec.py +9 -4
  93. cribl_control_plane/models/inputconfluentcloud.py +4 -2
  94. cribl_control_plane/models/inputcribllakehttp.py +15 -0
  95. cribl_control_plane/models/inputkafka.py +4 -2
  96. cribl_control_plane/models/inputmsk.py +4 -2
  97. cribl_control_plane/models/inputsnmp.py +33 -7
  98. cribl_control_plane/models/inputsplunkhec.py +8 -4
  99. cribl_control_plane/models/inputwef.py +23 -0
  100. cribl_control_plane/models/inputwiz.py +95 -0
  101. cribl_control_plane/models/inputzscalerhec.py +8 -4
  102. cribl_control_plane/models/listconfiggroupbyproductop.py +1 -19
  103. cribl_control_plane/models/listmasterworkerentryop.py +1 -19
  104. cribl_control_plane/models/masterworkerentry.py +3 -11
  105. cribl_control_plane/models/nodeprovidedinfo.py +2 -10
  106. cribl_control_plane/models/outputnetflow.py +0 -7
  107. cribl_control_plane/models/outputsplunklb.py +10 -0
  108. cribl_control_plane/models/runnablejobcollection.py +0 -56
  109. cribl_control_plane/models/runnablejobexecutor.py +0 -28
  110. cribl_control_plane/models/runnablejobscheduledsearch.py +0 -28
  111. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +1 -19
  112. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +1 -20
  113. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
  114. cribl_control_plane/models/updatehectokenrequest.py +1 -7
  115. cribl_control_plane/models/updateinputbyidop.py +1 -19
  116. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
  117. cribl_control_plane/models/updateoutputbyidop.py +1 -19
  118. cribl_control_plane/models/updatepacksbyidop.py +1 -20
  119. cribl_control_plane/models/updatepipelinebyidop.py +1 -19
  120. cribl_control_plane/models/updateroutesbyidop.py +1 -19
  121. cribl_control_plane/nodes.py +28 -20
  122. cribl_control_plane/packs.py +80 -32
  123. cribl_control_plane/pipelines.py +70 -30
  124. cribl_control_plane/routes_sdk.py +56 -28
  125. cribl_control_plane/samples.py +28 -16
  126. cribl_control_plane/sources.py +70 -30
  127. cribl_control_plane/statuses.py +14 -6
  128. cribl_control_plane/summaries.py +14 -6
  129. cribl_control_plane/teams.py +14 -6
  130. cribl_control_plane/tokens.py +26 -8
  131. cribl_control_plane/versions_configs.py +14 -6
  132. {cribl_control_plane-0.4.0a12.dist-info → cribl_control_plane-0.4.0b12.dist-info}/METADATA +23 -23
  133. {cribl_control_plane-0.4.0a12.dist-info → cribl_control_plane-0.4.0b12.dist-info}/RECORD +135 -113
  134. cribl_control_plane/models/createpipelineop.py +0 -24
  135. cribl_control_plane/models/lookupversions.py +0 -13
  136. {cribl_control_plane-0.4.0a12.dist-info → cribl_control_plane-0.4.0b12.dist-info}/WHEEL +0 -0
  137. {cribl_control_plane-0.4.0a12.dist-info → cribl_control_plane-0.4.0b12.dist-info}/licenses/LICENSE +0 -0
@@ -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.GetOutputSamplesByIDResponse:
21
+ ) -> models.CountedOutputSamplesResponse:
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.
@@ -63,10 +63,14 @@ class Samples(BaseSDK):
63
63
  if retries == UNSET:
64
64
  if self.sdk_configuration.retry_config is not UNSET:
65
65
  retries = self.sdk_configuration.retry_config
66
+ else:
67
+ retries = utils.RetryConfig(
68
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
69
+ )
66
70
 
67
71
  retry_config = None
68
72
  if isinstance(retries, utils.RetryConfig):
69
- retry_config = (retries, ["429", "500", "502", "503", "504"])
73
+ retry_config = (retries, ["429"])
70
74
 
71
75
  http_res = self.do_request(
72
76
  hook_ctx=HookContext(
@@ -86,7 +90,7 @@ class Samples(BaseSDK):
86
90
  response_data: Any = None
87
91
  if utils.match_response(http_res, "200", "application/json"):
88
92
  return unmarshal_json_response(
89
- models.GetOutputSamplesByIDResponse, http_res
93
+ models.CountedOutputSamplesResponse, http_res
90
94
  )
91
95
  if utils.match_response(http_res, "500", "application/json"):
92
96
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -108,7 +112,7 @@ class Samples(BaseSDK):
108
112
  server_url: Optional[str] = None,
109
113
  timeout_ms: Optional[int] = None,
110
114
  http_headers: Optional[Mapping[str, str]] = None,
111
- ) -> models.GetOutputSamplesByIDResponse:
115
+ ) -> models.CountedOutputSamplesResponse:
112
116
  r"""Get sample event data for a Destination
113
117
 
114
118
  Get sample event data for the specified Destination to validate the configuration or test connectivity.
@@ -153,10 +157,14 @@ class Samples(BaseSDK):
153
157
  if retries == UNSET:
154
158
  if self.sdk_configuration.retry_config is not UNSET:
155
159
  retries = self.sdk_configuration.retry_config
160
+ else:
161
+ retries = utils.RetryConfig(
162
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
163
+ )
156
164
 
157
165
  retry_config = None
158
166
  if isinstance(retries, utils.RetryConfig):
159
- retry_config = (retries, ["429", "500", "502", "503", "504"])
167
+ retry_config = (retries, ["429"])
160
168
 
161
169
  http_res = await self.do_request_async(
162
170
  hook_ctx=HookContext(
@@ -176,7 +184,7 @@ class Samples(BaseSDK):
176
184
  response_data: Any = None
177
185
  if utils.match_response(http_res, "200", "application/json"):
178
186
  return unmarshal_json_response(
179
- models.GetOutputSamplesByIDResponse, http_res
187
+ models.CountedOutputSamplesResponse, http_res
180
188
  )
181
189
  if utils.match_response(http_res, "500", "application/json"):
182
190
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -199,7 +207,7 @@ class Samples(BaseSDK):
199
207
  server_url: Optional[str] = None,
200
208
  timeout_ms: Optional[int] = None,
201
209
  http_headers: Optional[Mapping[str, str]] = None,
202
- ) -> models.CreateOutputTestByIDResponse:
210
+ ) -> models.CountedOutputTestResponse:
203
211
  r"""Send sample event data to a Destination
204
212
 
205
213
  Send sample event data to the specified Destination to validate the configuration or test connectivity.
@@ -255,10 +263,14 @@ class Samples(BaseSDK):
255
263
  if retries == UNSET:
256
264
  if self.sdk_configuration.retry_config is not UNSET:
257
265
  retries = self.sdk_configuration.retry_config
266
+ else:
267
+ retries = utils.RetryConfig(
268
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
269
+ )
258
270
 
259
271
  retry_config = None
260
272
  if isinstance(retries, utils.RetryConfig):
261
- retry_config = (retries, ["429", "500", "502", "503", "504"])
273
+ retry_config = (retries, ["429"])
262
274
 
263
275
  http_res = self.do_request(
264
276
  hook_ctx=HookContext(
@@ -277,9 +289,7 @@ class Samples(BaseSDK):
277
289
 
278
290
  response_data: Any = None
279
291
  if utils.match_response(http_res, "200", "application/json"):
280
- return unmarshal_json_response(
281
- models.CreateOutputTestByIDResponse, http_res
282
- )
292
+ return unmarshal_json_response(models.CountedOutputTestResponse, http_res)
283
293
  if utils.match_response(http_res, "500", "application/json"):
284
294
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
285
295
  raise errors.Error(response_data, http_res)
@@ -301,7 +311,7 @@ class Samples(BaseSDK):
301
311
  server_url: Optional[str] = None,
302
312
  timeout_ms: Optional[int] = None,
303
313
  http_headers: Optional[Mapping[str, str]] = None,
304
- ) -> models.CreateOutputTestByIDResponse:
314
+ ) -> models.CountedOutputTestResponse:
305
315
  r"""Send sample event data to a Destination
306
316
 
307
317
  Send sample event data to the specified Destination to validate the configuration or test connectivity.
@@ -357,10 +367,14 @@ class Samples(BaseSDK):
357
367
  if retries == UNSET:
358
368
  if self.sdk_configuration.retry_config is not UNSET:
359
369
  retries = self.sdk_configuration.retry_config
370
+ else:
371
+ retries = utils.RetryConfig(
372
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
373
+ )
360
374
 
361
375
  retry_config = None
362
376
  if isinstance(retries, utils.RetryConfig):
363
- retry_config = (retries, ["429", "500", "502", "503", "504"])
377
+ retry_config = (retries, ["429"])
364
378
 
365
379
  http_res = await self.do_request_async(
366
380
  hook_ctx=HookContext(
@@ -379,9 +393,7 @@ class Samples(BaseSDK):
379
393
 
380
394
  response_data: Any = None
381
395
  if utils.match_response(http_res, "200", "application/json"):
382
- return unmarshal_json_response(
383
- models.CreateOutputTestByIDResponse, http_res
384
- )
396
+ return unmarshal_json_response(models.CountedOutputTestResponse, http_res)
385
397
  if utils.match_response(http_res, "500", "application/json"):
386
398
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
387
399
  raise errors.Error(response_data, 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.ListInputResponse:
36
+ ) -> models.CountedInput:
37
37
  r"""List all Sources
38
38
 
39
39
  Get a list of all Sources.
@@ -72,10 +72,14 @@ class Sources(BaseSDK):
72
72
  if retries == UNSET:
73
73
  if self.sdk_configuration.retry_config is not UNSET:
74
74
  retries = self.sdk_configuration.retry_config
75
+ else:
76
+ retries = utils.RetryConfig(
77
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
78
+ )
75
79
 
76
80
  retry_config = None
77
81
  if isinstance(retries, utils.RetryConfig):
78
- retry_config = (retries, ["429", "500", "502", "503", "504"])
82
+ retry_config = (retries, ["429"])
79
83
 
80
84
  http_res = self.do_request(
81
85
  hook_ctx=HookContext(
@@ -94,7 +98,7 @@ class Sources(BaseSDK):
94
98
 
95
99
  response_data: Any = None
96
100
  if utils.match_response(http_res, "200", "application/json"):
97
- return unmarshal_json_response(models.ListInputResponse, http_res)
101
+ return unmarshal_json_response(models.CountedInput, http_res)
98
102
  if utils.match_response(http_res, "500", "application/json"):
99
103
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
100
104
  raise errors.Error(response_data, http_res)
@@ -114,7 +118,7 @@ class Sources(BaseSDK):
114
118
  server_url: Optional[str] = None,
115
119
  timeout_ms: Optional[int] = None,
116
120
  http_headers: Optional[Mapping[str, str]] = None,
117
- ) -> models.ListInputResponse:
121
+ ) -> models.CountedInput:
118
122
  r"""List all Sources
119
123
 
120
124
  Get a list of all Sources.
@@ -153,10 +157,14 @@ class Sources(BaseSDK):
153
157
  if retries == UNSET:
154
158
  if self.sdk_configuration.retry_config is not UNSET:
155
159
  retries = self.sdk_configuration.retry_config
160
+ else:
161
+ retries = utils.RetryConfig(
162
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
163
+ )
156
164
 
157
165
  retry_config = None
158
166
  if isinstance(retries, utils.RetryConfig):
159
- retry_config = (retries, ["429", "500", "502", "503", "504"])
167
+ retry_config = (retries, ["429"])
160
168
 
161
169
  http_res = await self.do_request_async(
162
170
  hook_ctx=HookContext(
@@ -175,7 +183,7 @@ class Sources(BaseSDK):
175
183
 
176
184
  response_data: Any = None
177
185
  if utils.match_response(http_res, "200", "application/json"):
178
- return unmarshal_json_response(models.ListInputResponse, http_res)
186
+ return unmarshal_json_response(models.CountedInput, http_res)
179
187
  if utils.match_response(http_res, "500", "application/json"):
180
188
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
181
189
  raise errors.Error(response_data, http_res)
@@ -196,7 +204,7 @@ class Sources(BaseSDK):
196
204
  server_url: Optional[str] = None,
197
205
  timeout_ms: Optional[int] = None,
198
206
  http_headers: Optional[Mapping[str, str]] = None,
199
- ) -> models.CreateInputResponse:
207
+ ) -> models.CountedInput:
200
208
  r"""Create a Source
201
209
 
202
210
  Create a new Source.
@@ -244,10 +252,14 @@ class Sources(BaseSDK):
244
252
  if retries == UNSET:
245
253
  if self.sdk_configuration.retry_config is not UNSET:
246
254
  retries = self.sdk_configuration.retry_config
255
+ else:
256
+ retries = utils.RetryConfig(
257
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
258
+ )
247
259
 
248
260
  retry_config = None
249
261
  if isinstance(retries, utils.RetryConfig):
250
- retry_config = (retries, ["429", "500", "502", "503", "504"])
262
+ retry_config = (retries, ["429"])
251
263
 
252
264
  http_res = self.do_request(
253
265
  hook_ctx=HookContext(
@@ -266,7 +278,7 @@ class Sources(BaseSDK):
266
278
 
267
279
  response_data: Any = None
268
280
  if utils.match_response(http_res, "200", "application/json"):
269
- return unmarshal_json_response(models.CreateInputResponse, http_res)
281
+ return unmarshal_json_response(models.CountedInput, http_res)
270
282
  if utils.match_response(http_res, "500", "application/json"):
271
283
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
272
284
  raise errors.Error(response_data, http_res)
@@ -287,7 +299,7 @@ class Sources(BaseSDK):
287
299
  server_url: Optional[str] = None,
288
300
  timeout_ms: Optional[int] = None,
289
301
  http_headers: Optional[Mapping[str, str]] = None,
290
- ) -> models.CreateInputResponse:
302
+ ) -> models.CountedInput:
291
303
  r"""Create a Source
292
304
 
293
305
  Create a new Source.
@@ -335,10 +347,14 @@ class Sources(BaseSDK):
335
347
  if retries == UNSET:
336
348
  if self.sdk_configuration.retry_config is not UNSET:
337
349
  retries = self.sdk_configuration.retry_config
350
+ else:
351
+ retries = utils.RetryConfig(
352
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
353
+ )
338
354
 
339
355
  retry_config = None
340
356
  if isinstance(retries, utils.RetryConfig):
341
- retry_config = (retries, ["429", "500", "502", "503", "504"])
357
+ retry_config = (retries, ["429"])
342
358
 
343
359
  http_res = await self.do_request_async(
344
360
  hook_ctx=HookContext(
@@ -357,7 +373,7 @@ class Sources(BaseSDK):
357
373
 
358
374
  response_data: Any = None
359
375
  if utils.match_response(http_res, "200", "application/json"):
360
- return unmarshal_json_response(models.CreateInputResponse, http_res)
376
+ return unmarshal_json_response(models.CountedInput, http_res)
361
377
  if utils.match_response(http_res, "500", "application/json"):
362
378
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
363
379
  raise errors.Error(response_data, http_res)
@@ -378,7 +394,7 @@ class Sources(BaseSDK):
378
394
  server_url: Optional[str] = None,
379
395
  timeout_ms: Optional[int] = None,
380
396
  http_headers: Optional[Mapping[str, str]] = None,
381
- ) -> models.GetInputByIDResponse:
397
+ ) -> models.CountedInput:
382
398
  r"""Get a Source
383
399
 
384
400
  Get the specified Source.
@@ -423,10 +439,14 @@ class Sources(BaseSDK):
423
439
  if retries == UNSET:
424
440
  if self.sdk_configuration.retry_config is not UNSET:
425
441
  retries = self.sdk_configuration.retry_config
442
+ else:
443
+ retries = utils.RetryConfig(
444
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
445
+ )
426
446
 
427
447
  retry_config = None
428
448
  if isinstance(retries, utils.RetryConfig):
429
- retry_config = (retries, ["429", "500", "502", "503", "504"])
449
+ retry_config = (retries, ["429"])
430
450
 
431
451
  http_res = self.do_request(
432
452
  hook_ctx=HookContext(
@@ -445,7 +465,7 @@ class Sources(BaseSDK):
445
465
 
446
466
  response_data: Any = None
447
467
  if utils.match_response(http_res, "200", "application/json"):
448
- return unmarshal_json_response(models.GetInputByIDResponse, http_res)
468
+ return unmarshal_json_response(models.CountedInput, http_res)
449
469
  if utils.match_response(http_res, "500", "application/json"):
450
470
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
451
471
  raise errors.Error(response_data, http_res)
@@ -466,7 +486,7 @@ class Sources(BaseSDK):
466
486
  server_url: Optional[str] = None,
467
487
  timeout_ms: Optional[int] = None,
468
488
  http_headers: Optional[Mapping[str, str]] = None,
469
- ) -> models.GetInputByIDResponse:
489
+ ) -> models.CountedInput:
470
490
  r"""Get a Source
471
491
 
472
492
  Get the specified Source.
@@ -511,10 +531,14 @@ class Sources(BaseSDK):
511
531
  if retries == UNSET:
512
532
  if self.sdk_configuration.retry_config is not UNSET:
513
533
  retries = self.sdk_configuration.retry_config
534
+ else:
535
+ retries = utils.RetryConfig(
536
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
537
+ )
514
538
 
515
539
  retry_config = None
516
540
  if isinstance(retries, utils.RetryConfig):
517
- retry_config = (retries, ["429", "500", "502", "503", "504"])
541
+ retry_config = (retries, ["429"])
518
542
 
519
543
  http_res = await self.do_request_async(
520
544
  hook_ctx=HookContext(
@@ -533,7 +557,7 @@ class Sources(BaseSDK):
533
557
 
534
558
  response_data: Any = None
535
559
  if utils.match_response(http_res, "200", "application/json"):
536
- return unmarshal_json_response(models.GetInputByIDResponse, http_res)
560
+ return unmarshal_json_response(models.CountedInput, http_res)
537
561
  if utils.match_response(http_res, "500", "application/json"):
538
562
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
539
563
  raise errors.Error(response_data, http_res)
@@ -555,7 +579,7 @@ class Sources(BaseSDK):
555
579
  server_url: Optional[str] = None,
556
580
  timeout_ms: Optional[int] = None,
557
581
  http_headers: Optional[Mapping[str, str]] = None,
558
- ) -> models.UpdateInputByIDResponse:
582
+ ) -> models.CountedInput:
559
583
  r"""Update a Source
560
584
 
561
585
  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.
@@ -605,10 +629,14 @@ class Sources(BaseSDK):
605
629
  if retries == UNSET:
606
630
  if self.sdk_configuration.retry_config is not UNSET:
607
631
  retries = self.sdk_configuration.retry_config
632
+ else:
633
+ retries = utils.RetryConfig(
634
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
635
+ )
608
636
 
609
637
  retry_config = None
610
638
  if isinstance(retries, utils.RetryConfig):
611
- retry_config = (retries, ["429", "500", "502", "503", "504"])
639
+ retry_config = (retries, ["429"])
612
640
 
613
641
  http_res = self.do_request(
614
642
  hook_ctx=HookContext(
@@ -627,7 +655,7 @@ class Sources(BaseSDK):
627
655
 
628
656
  response_data: Any = None
629
657
  if utils.match_response(http_res, "200", "application/json"):
630
- return unmarshal_json_response(models.UpdateInputByIDResponse, http_res)
658
+ return unmarshal_json_response(models.CountedInput, http_res)
631
659
  if utils.match_response(http_res, "500", "application/json"):
632
660
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
633
661
  raise errors.Error(response_data, http_res)
@@ -649,7 +677,7 @@ class Sources(BaseSDK):
649
677
  server_url: Optional[str] = None,
650
678
  timeout_ms: Optional[int] = None,
651
679
  http_headers: Optional[Mapping[str, str]] = None,
652
- ) -> models.UpdateInputByIDResponse:
680
+ ) -> models.CountedInput:
653
681
  r"""Update a Source
654
682
 
655
683
  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.
@@ -699,10 +727,14 @@ class Sources(BaseSDK):
699
727
  if retries == UNSET:
700
728
  if self.sdk_configuration.retry_config is not UNSET:
701
729
  retries = self.sdk_configuration.retry_config
730
+ else:
731
+ retries = utils.RetryConfig(
732
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
733
+ )
702
734
 
703
735
  retry_config = None
704
736
  if isinstance(retries, utils.RetryConfig):
705
- retry_config = (retries, ["429", "500", "502", "503", "504"])
737
+ retry_config = (retries, ["429"])
706
738
 
707
739
  http_res = await self.do_request_async(
708
740
  hook_ctx=HookContext(
@@ -721,7 +753,7 @@ class Sources(BaseSDK):
721
753
 
722
754
  response_data: Any = None
723
755
  if utils.match_response(http_res, "200", "application/json"):
724
- return unmarshal_json_response(models.UpdateInputByIDResponse, http_res)
756
+ return unmarshal_json_response(models.CountedInput, http_res)
725
757
  if utils.match_response(http_res, "500", "application/json"):
726
758
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
727
759
  raise errors.Error(response_data, http_res)
@@ -742,7 +774,7 @@ class Sources(BaseSDK):
742
774
  server_url: Optional[str] = None,
743
775
  timeout_ms: Optional[int] = None,
744
776
  http_headers: Optional[Mapping[str, str]] = None,
745
- ) -> models.DeleteInputByIDResponse:
777
+ ) -> models.CountedInput:
746
778
  r"""Delete a Source
747
779
 
748
780
  Delete the specified Source.
@@ -787,10 +819,14 @@ class Sources(BaseSDK):
787
819
  if retries == UNSET:
788
820
  if self.sdk_configuration.retry_config is not UNSET:
789
821
  retries = self.sdk_configuration.retry_config
822
+ else:
823
+ retries = utils.RetryConfig(
824
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
825
+ )
790
826
 
791
827
  retry_config = None
792
828
  if isinstance(retries, utils.RetryConfig):
793
- retry_config = (retries, ["429", "500", "502", "503", "504"])
829
+ retry_config = (retries, ["429"])
794
830
 
795
831
  http_res = self.do_request(
796
832
  hook_ctx=HookContext(
@@ -809,7 +845,7 @@ class Sources(BaseSDK):
809
845
 
810
846
  response_data: Any = None
811
847
  if utils.match_response(http_res, "200", "application/json"):
812
- return unmarshal_json_response(models.DeleteInputByIDResponse, http_res)
848
+ return unmarshal_json_response(models.CountedInput, http_res)
813
849
  if utils.match_response(http_res, "500", "application/json"):
814
850
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
815
851
  raise errors.Error(response_data, http_res)
@@ -830,7 +866,7 @@ class Sources(BaseSDK):
830
866
  server_url: Optional[str] = None,
831
867
  timeout_ms: Optional[int] = None,
832
868
  http_headers: Optional[Mapping[str, str]] = None,
833
- ) -> models.DeleteInputByIDResponse:
869
+ ) -> models.CountedInput:
834
870
  r"""Delete a Source
835
871
 
836
872
  Delete the specified Source.
@@ -875,10 +911,14 @@ class Sources(BaseSDK):
875
911
  if retries == UNSET:
876
912
  if self.sdk_configuration.retry_config is not UNSET:
877
913
  retries = self.sdk_configuration.retry_config
914
+ else:
915
+ retries = utils.RetryConfig(
916
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
917
+ )
878
918
 
879
919
  retry_config = None
880
920
  if isinstance(retries, utils.RetryConfig):
881
- retry_config = (retries, ["429", "500", "502", "503", "504"])
921
+ retry_config = (retries, ["429"])
882
922
 
883
923
  http_res = await self.do_request_async(
884
924
  hook_ctx=HookContext(
@@ -897,7 +937,7 @@ class Sources(BaseSDK):
897
937
 
898
938
  response_data: Any = None
899
939
  if utils.match_response(http_res, "200", "application/json"):
900
- return unmarshal_json_response(models.DeleteInputByIDResponse, http_res)
940
+ return unmarshal_json_response(models.CountedInput, http_res)
901
941
  if utils.match_response(http_res, "500", "application/json"):
902
942
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
903
943
  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.GetVersionStatusResponse:
21
+ ) -> models.CountedGitStatusResult:
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.
@@ -63,10 +63,14 @@ class Statuses(BaseSDK):
63
63
  if retries == UNSET:
64
64
  if self.sdk_configuration.retry_config is not UNSET:
65
65
  retries = self.sdk_configuration.retry_config
66
+ else:
67
+ retries = utils.RetryConfig(
68
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
69
+ )
66
70
 
67
71
  retry_config = None
68
72
  if isinstance(retries, utils.RetryConfig):
69
- retry_config = (retries, ["429", "500", "502", "503", "504"])
73
+ retry_config = (retries, ["429"])
70
74
 
71
75
  http_res = self.do_request(
72
76
  hook_ctx=HookContext(
@@ -85,7 +89,7 @@ class Statuses(BaseSDK):
85
89
 
86
90
  response_data: Any = None
87
91
  if utils.match_response(http_res, "200", "application/json"):
88
- return unmarshal_json_response(models.GetVersionStatusResponse, http_res)
92
+ return unmarshal_json_response(models.CountedGitStatusResult, http_res)
89
93
  if utils.match_response(http_res, "500", "application/json"):
90
94
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
91
95
  raise errors.Error(response_data, http_res)
@@ -106,7 +110,7 @@ class Statuses(BaseSDK):
106
110
  server_url: Optional[str] = None,
107
111
  timeout_ms: Optional[int] = None,
108
112
  http_headers: Optional[Mapping[str, str]] = None,
109
- ) -> models.GetVersionStatusResponse:
113
+ ) -> models.CountedGitStatusResult:
110
114
  r"""Get the status of the current working tree
111
115
 
112
116
  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.
@@ -151,10 +155,14 @@ class Statuses(BaseSDK):
151
155
  if retries == UNSET:
152
156
  if self.sdk_configuration.retry_config is not UNSET:
153
157
  retries = self.sdk_configuration.retry_config
158
+ else:
159
+ retries = utils.RetryConfig(
160
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
161
+ )
154
162
 
155
163
  retry_config = None
156
164
  if isinstance(retries, utils.RetryConfig):
157
- retry_config = (retries, ["429", "500", "502", "503", "504"])
165
+ retry_config = (retries, ["429"])
158
166
 
159
167
  http_res = await self.do_request_async(
160
168
  hook_ctx=HookContext(
@@ -173,7 +181,7 @@ class Statuses(BaseSDK):
173
181
 
174
182
  response_data: Any = None
175
183
  if utils.match_response(http_res, "200", "application/json"):
176
- return unmarshal_json_response(models.GetVersionStatusResponse, http_res)
184
+ return unmarshal_json_response(models.CountedGitStatusResult, http_res)
177
185
  if utils.match_response(http_res, "500", "application/json"):
178
186
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
179
187
  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.GetSummaryResponse:
21
+ ) -> models.CountedDistributedSummary:
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.
@@ -63,10 +63,14 @@ class Summaries(BaseSDK):
63
63
  if retries == UNSET:
64
64
  if self.sdk_configuration.retry_config is not UNSET:
65
65
  retries = self.sdk_configuration.retry_config
66
+ else:
67
+ retries = utils.RetryConfig(
68
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
69
+ )
66
70
 
67
71
  retry_config = None
68
72
  if isinstance(retries, utils.RetryConfig):
69
- retry_config = (retries, ["429", "500", "502", "503", "504"])
73
+ retry_config = (retries, ["429"])
70
74
 
71
75
  http_res = self.do_request(
72
76
  hook_ctx=HookContext(
@@ -85,7 +89,7 @@ class Summaries(BaseSDK):
85
89
 
86
90
  response_data: Any = None
87
91
  if utils.match_response(http_res, "200", "application/json"):
88
- return unmarshal_json_response(models.GetSummaryResponse, http_res)
92
+ return unmarshal_json_response(models.CountedDistributedSummary, http_res)
89
93
  if utils.match_response(http_res, "500", "application/json"):
90
94
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
91
95
  raise errors.Error(response_data, http_res)
@@ -106,7 +110,7 @@ class Summaries(BaseSDK):
106
110
  server_url: Optional[str] = None,
107
111
  timeout_ms: Optional[int] = None,
108
112
  http_headers: Optional[Mapping[str, str]] = None,
109
- ) -> models.GetSummaryResponse:
113
+ ) -> models.CountedDistributedSummary:
110
114
  r"""Get a summary of the Distributed deployment
111
115
 
112
116
  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.
@@ -151,10 +155,14 @@ class Summaries(BaseSDK):
151
155
  if retries == UNSET:
152
156
  if self.sdk_configuration.retry_config is not UNSET:
153
157
  retries = self.sdk_configuration.retry_config
158
+ else:
159
+ retries = utils.RetryConfig(
160
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
161
+ )
154
162
 
155
163
  retry_config = None
156
164
  if isinstance(retries, utils.RetryConfig):
157
- retry_config = (retries, ["429", "500", "502", "503", "504"])
165
+ retry_config = (retries, ["429"])
158
166
 
159
167
  http_res = await self.do_request_async(
160
168
  hook_ctx=HookContext(
@@ -173,7 +181,7 @@ class Summaries(BaseSDK):
173
181
 
174
182
  response_data: Any = None
175
183
  if utils.match_response(http_res, "200", "application/json"):
176
- return unmarshal_json_response(models.GetSummaryResponse, http_res)
184
+ return unmarshal_json_response(models.CountedDistributedSummary, http_res)
177
185
  if utils.match_response(http_res, "500", "application/json"):
178
186
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
179
187
  raise errors.Error(response_data, http_res)
@@ -20,7 +20,7 @@ class Teams(BaseSDK):
20
20
  server_url: Optional[str] = None,
21
21
  timeout_ms: Optional[int] = None,
22
22
  http_headers: Optional[Mapping[str, str]] = None,
23
- ) -> models.GetConfigGroupACLTeamsByProductAndIDResponse:
23
+ ) -> models.CountedTeamAccessControlList:
24
24
  r"""Get the Access Control List for teams with permissions on a Worker Group or Edge Fleet for the specified Cribl product
25
25
 
26
26
  Get the Access Control List (ACL) for teams that have permissions on a Worker Group or Edge Fleet for the specified Cribl product.
@@ -69,10 +69,14 @@ class Teams(BaseSDK):
69
69
  if retries == UNSET:
70
70
  if self.sdk_configuration.retry_config is not UNSET:
71
71
  retries = self.sdk_configuration.retry_config
72
+ else:
73
+ retries = utils.RetryConfig(
74
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
75
+ )
72
76
 
73
77
  retry_config = None
74
78
  if isinstance(retries, utils.RetryConfig):
75
- retry_config = (retries, ["429", "500", "502", "503", "504"])
79
+ retry_config = (retries, ["429"])
76
80
 
77
81
  http_res = self.do_request(
78
82
  hook_ctx=HookContext(
@@ -92,7 +96,7 @@ class Teams(BaseSDK):
92
96
  response_data: Any = None
93
97
  if utils.match_response(http_res, "200", "application/json"):
94
98
  return unmarshal_json_response(
95
- models.GetConfigGroupACLTeamsByProductAndIDResponse, http_res
99
+ models.CountedTeamAccessControlList, http_res
96
100
  )
97
101
  if utils.match_response(http_res, "500", "application/json"):
98
102
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
@@ -116,7 +120,7 @@ class Teams(BaseSDK):
116
120
  server_url: Optional[str] = None,
117
121
  timeout_ms: Optional[int] = None,
118
122
  http_headers: Optional[Mapping[str, str]] = None,
119
- ) -> models.GetConfigGroupACLTeamsByProductAndIDResponse:
123
+ ) -> models.CountedTeamAccessControlList:
120
124
  r"""Get the Access Control List for teams with permissions on a Worker Group or Edge Fleet for the specified Cribl product
121
125
 
122
126
  Get the Access Control List (ACL) for teams that have permissions on a Worker Group or Edge Fleet for the specified Cribl product.
@@ -165,10 +169,14 @@ class Teams(BaseSDK):
165
169
  if retries == UNSET:
166
170
  if self.sdk_configuration.retry_config is not UNSET:
167
171
  retries = self.sdk_configuration.retry_config
172
+ else:
173
+ retries = utils.RetryConfig(
174
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
175
+ )
168
176
 
169
177
  retry_config = None
170
178
  if isinstance(retries, utils.RetryConfig):
171
- retry_config = (retries, ["429", "500", "502", "503", "504"])
179
+ retry_config = (retries, ["429"])
172
180
 
173
181
  http_res = await self.do_request_async(
174
182
  hook_ctx=HookContext(
@@ -188,7 +196,7 @@ class Teams(BaseSDK):
188
196
  response_data: Any = None
189
197
  if utils.match_response(http_res, "200", "application/json"):
190
198
  return unmarshal_json_response(
191
- models.GetConfigGroupACLTeamsByProductAndIDResponse, http_res
199
+ models.CountedTeamAccessControlList, http_res
192
200
  )
193
201
  if utils.match_response(http_res, "500", "application/json"):
194
202
  response_data = unmarshal_json_response(errors.ErrorData, http_res)