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
@@ -19,7 +19,7 @@ class Pipelines(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.ListPipelineResponse:
22
+ ) -> models.CountedPipeline:
23
23
  r"""List all Pipelines
24
24
 
25
25
  Get a list of all Pipelines.
@@ -58,10 +58,14 @@ class Pipelines(BaseSDK):
58
58
  if retries == UNSET:
59
59
  if self.sdk_configuration.retry_config is not UNSET:
60
60
  retries = self.sdk_configuration.retry_config
61
+ else:
62
+ retries = utils.RetryConfig(
63
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
64
+ )
61
65
 
62
66
  retry_config = None
63
67
  if isinstance(retries, utils.RetryConfig):
64
- retry_config = (retries, ["429", "500", "502", "503", "504"])
68
+ retry_config = (retries, ["429"])
65
69
 
66
70
  http_res = self.do_request(
67
71
  hook_ctx=HookContext(
@@ -80,7 +84,7 @@ class Pipelines(BaseSDK):
80
84
 
81
85
  response_data: Any = None
82
86
  if utils.match_response(http_res, "200", "application/json"):
83
- return unmarshal_json_response(models.ListPipelineResponse, http_res)
87
+ return unmarshal_json_response(models.CountedPipeline, http_res)
84
88
  if utils.match_response(http_res, "500", "application/json"):
85
89
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
86
90
  raise errors.Error(response_data, http_res)
@@ -100,7 +104,7 @@ class Pipelines(BaseSDK):
100
104
  server_url: Optional[str] = None,
101
105
  timeout_ms: Optional[int] = None,
102
106
  http_headers: Optional[Mapping[str, str]] = None,
103
- ) -> models.ListPipelineResponse:
107
+ ) -> models.CountedPipeline:
104
108
  r"""List all Pipelines
105
109
 
106
110
  Get a list of all Pipelines.
@@ -139,10 +143,14 @@ class Pipelines(BaseSDK):
139
143
  if retries == UNSET:
140
144
  if self.sdk_configuration.retry_config is not UNSET:
141
145
  retries = self.sdk_configuration.retry_config
146
+ else:
147
+ retries = utils.RetryConfig(
148
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
149
+ )
142
150
 
143
151
  retry_config = None
144
152
  if isinstance(retries, utils.RetryConfig):
145
- retry_config = (retries, ["429", "500", "502", "503", "504"])
153
+ retry_config = (retries, ["429"])
146
154
 
147
155
  http_res = await self.do_request_async(
148
156
  hook_ctx=HookContext(
@@ -161,7 +169,7 @@ class Pipelines(BaseSDK):
161
169
 
162
170
  response_data: Any = None
163
171
  if utils.match_response(http_res, "200", "application/json"):
164
- return unmarshal_json_response(models.ListPipelineResponse, http_res)
172
+ return unmarshal_json_response(models.CountedPipeline, http_res)
165
173
  if utils.match_response(http_res, "500", "application/json"):
166
174
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
167
175
  raise errors.Error(response_data, http_res)
@@ -183,7 +191,7 @@ class Pipelines(BaseSDK):
183
191
  server_url: Optional[str] = None,
184
192
  timeout_ms: Optional[int] = None,
185
193
  http_headers: Optional[Mapping[str, str]] = None,
186
- ) -> models.CreatePipelineResponse:
194
+ ) -> models.CountedPipeline:
187
195
  r"""Create a Pipeline
188
196
 
189
197
  Create a new Pipeline.
@@ -233,10 +241,14 @@ class Pipelines(BaseSDK):
233
241
  if retries == UNSET:
234
242
  if self.sdk_configuration.retry_config is not UNSET:
235
243
  retries = self.sdk_configuration.retry_config
244
+ else:
245
+ retries = utils.RetryConfig(
246
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
247
+ )
236
248
 
237
249
  retry_config = None
238
250
  if isinstance(retries, utils.RetryConfig):
239
- retry_config = (retries, ["429", "500", "502", "503", "504"])
251
+ retry_config = (retries, ["429"])
240
252
 
241
253
  http_res = self.do_request(
242
254
  hook_ctx=HookContext(
@@ -255,7 +267,7 @@ class Pipelines(BaseSDK):
255
267
 
256
268
  response_data: Any = None
257
269
  if utils.match_response(http_res, "200", "application/json"):
258
- return unmarshal_json_response(models.CreatePipelineResponse, http_res)
270
+ return unmarshal_json_response(models.CountedPipeline, http_res)
259
271
  if utils.match_response(http_res, "500", "application/json"):
260
272
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
261
273
  raise errors.Error(response_data, http_res)
@@ -277,7 +289,7 @@ class Pipelines(BaseSDK):
277
289
  server_url: Optional[str] = None,
278
290
  timeout_ms: Optional[int] = None,
279
291
  http_headers: Optional[Mapping[str, str]] = None,
280
- ) -> models.CreatePipelineResponse:
292
+ ) -> models.CountedPipeline:
281
293
  r"""Create a Pipeline
282
294
 
283
295
  Create a new Pipeline.
@@ -327,10 +339,14 @@ class Pipelines(BaseSDK):
327
339
  if retries == UNSET:
328
340
  if self.sdk_configuration.retry_config is not UNSET:
329
341
  retries = self.sdk_configuration.retry_config
342
+ else:
343
+ retries = utils.RetryConfig(
344
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
345
+ )
330
346
 
331
347
  retry_config = None
332
348
  if isinstance(retries, utils.RetryConfig):
333
- retry_config = (retries, ["429", "500", "502", "503", "504"])
349
+ retry_config = (retries, ["429"])
334
350
 
335
351
  http_res = await self.do_request_async(
336
352
  hook_ctx=HookContext(
@@ -349,7 +365,7 @@ class Pipelines(BaseSDK):
349
365
 
350
366
  response_data: Any = None
351
367
  if utils.match_response(http_res, "200", "application/json"):
352
- return unmarshal_json_response(models.CreatePipelineResponse, http_res)
368
+ return unmarshal_json_response(models.CountedPipeline, http_res)
353
369
  if utils.match_response(http_res, "500", "application/json"):
354
370
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
355
371
  raise errors.Error(response_data, http_res)
@@ -370,7 +386,7 @@ class Pipelines(BaseSDK):
370
386
  server_url: Optional[str] = None,
371
387
  timeout_ms: Optional[int] = None,
372
388
  http_headers: Optional[Mapping[str, str]] = None,
373
- ) -> models.GetPipelineByIDResponse:
389
+ ) -> models.CountedPipeline:
374
390
  r"""Get a Pipeline
375
391
 
376
392
  Get the specified Pipeline.
@@ -415,10 +431,14 @@ class Pipelines(BaseSDK):
415
431
  if retries == UNSET:
416
432
  if self.sdk_configuration.retry_config is not UNSET:
417
433
  retries = self.sdk_configuration.retry_config
434
+ else:
435
+ retries = utils.RetryConfig(
436
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
437
+ )
418
438
 
419
439
  retry_config = None
420
440
  if isinstance(retries, utils.RetryConfig):
421
- retry_config = (retries, ["429", "500", "502", "503", "504"])
441
+ retry_config = (retries, ["429"])
422
442
 
423
443
  http_res = self.do_request(
424
444
  hook_ctx=HookContext(
@@ -437,7 +457,7 @@ class Pipelines(BaseSDK):
437
457
 
438
458
  response_data: Any = None
439
459
  if utils.match_response(http_res, "200", "application/json"):
440
- return unmarshal_json_response(models.GetPipelineByIDResponse, http_res)
460
+ return unmarshal_json_response(models.CountedPipeline, http_res)
441
461
  if utils.match_response(http_res, "500", "application/json"):
442
462
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
443
463
  raise errors.Error(response_data, http_res)
@@ -458,7 +478,7 @@ class Pipelines(BaseSDK):
458
478
  server_url: Optional[str] = None,
459
479
  timeout_ms: Optional[int] = None,
460
480
  http_headers: Optional[Mapping[str, str]] = None,
461
- ) -> models.GetPipelineByIDResponse:
481
+ ) -> models.CountedPipeline:
462
482
  r"""Get a Pipeline
463
483
 
464
484
  Get the specified Pipeline.
@@ -503,10 +523,14 @@ class Pipelines(BaseSDK):
503
523
  if retries == UNSET:
504
524
  if self.sdk_configuration.retry_config is not UNSET:
505
525
  retries = self.sdk_configuration.retry_config
526
+ else:
527
+ retries = utils.RetryConfig(
528
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
529
+ )
506
530
 
507
531
  retry_config = None
508
532
  if isinstance(retries, utils.RetryConfig):
509
- retry_config = (retries, ["429", "500", "502", "503", "504"])
533
+ retry_config = (retries, ["429"])
510
534
 
511
535
  http_res = await self.do_request_async(
512
536
  hook_ctx=HookContext(
@@ -525,7 +549,7 @@ class Pipelines(BaseSDK):
525
549
 
526
550
  response_data: Any = None
527
551
  if utils.match_response(http_res, "200", "application/json"):
528
- return unmarshal_json_response(models.GetPipelineByIDResponse, http_res)
552
+ return unmarshal_json_response(models.CountedPipeline, http_res)
529
553
  if utils.match_response(http_res, "500", "application/json"):
530
554
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
531
555
  raise errors.Error(response_data, http_res)
@@ -548,7 +572,7 @@ class Pipelines(BaseSDK):
548
572
  server_url: Optional[str] = None,
549
573
  timeout_ms: Optional[int] = None,
550
574
  http_headers: Optional[Mapping[str, str]] = None,
551
- ) -> models.UpdatePipelineByIDResponse:
575
+ ) -> models.CountedPipeline:
552
576
  r"""Update a Pipeline
553
577
 
554
578
  Update the specified Pipeline.</br></br>Provide a complete representation of the Pipeline that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Pipeline.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Pipeline might not function as expected.
@@ -602,10 +626,14 @@ class Pipelines(BaseSDK):
602
626
  if retries == UNSET:
603
627
  if self.sdk_configuration.retry_config is not UNSET:
604
628
  retries = self.sdk_configuration.retry_config
629
+ else:
630
+ retries = utils.RetryConfig(
631
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
632
+ )
605
633
 
606
634
  retry_config = None
607
635
  if isinstance(retries, utils.RetryConfig):
608
- retry_config = (retries, ["429", "500", "502", "503", "504"])
636
+ retry_config = (retries, ["429"])
609
637
 
610
638
  http_res = self.do_request(
611
639
  hook_ctx=HookContext(
@@ -624,7 +652,7 @@ class Pipelines(BaseSDK):
624
652
 
625
653
  response_data: Any = None
626
654
  if utils.match_response(http_res, "200", "application/json"):
627
- return unmarshal_json_response(models.UpdatePipelineByIDResponse, http_res)
655
+ return unmarshal_json_response(models.CountedPipeline, http_res)
628
656
  if utils.match_response(http_res, "500", "application/json"):
629
657
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
630
658
  raise errors.Error(response_data, http_res)
@@ -647,7 +675,7 @@ class Pipelines(BaseSDK):
647
675
  server_url: Optional[str] = None,
648
676
  timeout_ms: Optional[int] = None,
649
677
  http_headers: Optional[Mapping[str, str]] = None,
650
- ) -> models.UpdatePipelineByIDResponse:
678
+ ) -> models.CountedPipeline:
651
679
  r"""Update a Pipeline
652
680
 
653
681
  Update the specified Pipeline.</br></br>Provide a complete representation of the Pipeline that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Pipeline.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Pipeline might not function as expected.
@@ -701,10 +729,14 @@ class Pipelines(BaseSDK):
701
729
  if retries == UNSET:
702
730
  if self.sdk_configuration.retry_config is not UNSET:
703
731
  retries = self.sdk_configuration.retry_config
732
+ else:
733
+ retries = utils.RetryConfig(
734
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
735
+ )
704
736
 
705
737
  retry_config = None
706
738
  if isinstance(retries, utils.RetryConfig):
707
- retry_config = (retries, ["429", "500", "502", "503", "504"])
739
+ retry_config = (retries, ["429"])
708
740
 
709
741
  http_res = await self.do_request_async(
710
742
  hook_ctx=HookContext(
@@ -723,7 +755,7 @@ class Pipelines(BaseSDK):
723
755
 
724
756
  response_data: Any = None
725
757
  if utils.match_response(http_res, "200", "application/json"):
726
- return unmarshal_json_response(models.UpdatePipelineByIDResponse, http_res)
758
+ return unmarshal_json_response(models.CountedPipeline, http_res)
727
759
  if utils.match_response(http_res, "500", "application/json"):
728
760
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
729
761
  raise errors.Error(response_data, http_res)
@@ -744,7 +776,7 @@ class Pipelines(BaseSDK):
744
776
  server_url: Optional[str] = None,
745
777
  timeout_ms: Optional[int] = None,
746
778
  http_headers: Optional[Mapping[str, str]] = None,
747
- ) -> models.DeletePipelineByIDResponse:
779
+ ) -> models.CountedPipeline:
748
780
  r"""Delete a Pipeline
749
781
 
750
782
  Delete the specified Pipeline.
@@ -789,10 +821,14 @@ class Pipelines(BaseSDK):
789
821
  if retries == UNSET:
790
822
  if self.sdk_configuration.retry_config is not UNSET:
791
823
  retries = self.sdk_configuration.retry_config
824
+ else:
825
+ retries = utils.RetryConfig(
826
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
827
+ )
792
828
 
793
829
  retry_config = None
794
830
  if isinstance(retries, utils.RetryConfig):
795
- retry_config = (retries, ["429", "500", "502", "503", "504"])
831
+ retry_config = (retries, ["429"])
796
832
 
797
833
  http_res = self.do_request(
798
834
  hook_ctx=HookContext(
@@ -811,7 +847,7 @@ class Pipelines(BaseSDK):
811
847
 
812
848
  response_data: Any = None
813
849
  if utils.match_response(http_res, "200", "application/json"):
814
- return unmarshal_json_response(models.DeletePipelineByIDResponse, http_res)
850
+ return unmarshal_json_response(models.CountedPipeline, http_res)
815
851
  if utils.match_response(http_res, "500", "application/json"):
816
852
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
817
853
  raise errors.Error(response_data, http_res)
@@ -832,7 +868,7 @@ class Pipelines(BaseSDK):
832
868
  server_url: Optional[str] = None,
833
869
  timeout_ms: Optional[int] = None,
834
870
  http_headers: Optional[Mapping[str, str]] = None,
835
- ) -> models.DeletePipelineByIDResponse:
871
+ ) -> models.CountedPipeline:
836
872
  r"""Delete a Pipeline
837
873
 
838
874
  Delete the specified Pipeline.
@@ -877,10 +913,14 @@ class Pipelines(BaseSDK):
877
913
  if retries == UNSET:
878
914
  if self.sdk_configuration.retry_config is not UNSET:
879
915
  retries = self.sdk_configuration.retry_config
916
+ else:
917
+ retries = utils.RetryConfig(
918
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
919
+ )
880
920
 
881
921
  retry_config = None
882
922
  if isinstance(retries, utils.RetryConfig):
883
- retry_config = (retries, ["429", "500", "502", "503", "504"])
923
+ retry_config = (retries, ["429"])
884
924
 
885
925
  http_res = await self.do_request_async(
886
926
  hook_ctx=HookContext(
@@ -899,7 +939,7 @@ class Pipelines(BaseSDK):
899
939
 
900
940
  response_data: Any = None
901
941
  if utils.match_response(http_res, "200", "application/json"):
902
- return unmarshal_json_response(models.DeletePipelineByIDResponse, http_res)
942
+ return unmarshal_json_response(models.CountedPipeline, http_res)
903
943
  if utils.match_response(http_res, "500", "application/json"):
904
944
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
905
945
  raise errors.Error(response_data, http_res)
@@ -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.ListRoutesResponse:
22
+ ) -> models.CountedRoutes:
23
23
  r"""List all Routes
24
24
 
25
25
  Get a list of all Routes.
@@ -58,10 +58,14 @@ class RoutesSDK(BaseSDK):
58
58
  if retries == UNSET:
59
59
  if self.sdk_configuration.retry_config is not UNSET:
60
60
  retries = self.sdk_configuration.retry_config
61
+ else:
62
+ retries = utils.RetryConfig(
63
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
64
+ )
61
65
 
62
66
  retry_config = None
63
67
  if isinstance(retries, utils.RetryConfig):
64
- retry_config = (retries, ["429", "500", "502", "503", "504"])
68
+ retry_config = (retries, ["429"])
65
69
 
66
70
  http_res = self.do_request(
67
71
  hook_ctx=HookContext(
@@ -80,7 +84,7 @@ class RoutesSDK(BaseSDK):
80
84
 
81
85
  response_data: Any = None
82
86
  if utils.match_response(http_res, "200", "application/json"):
83
- return unmarshal_json_response(models.ListRoutesResponse, http_res)
87
+ return unmarshal_json_response(models.CountedRoutes, http_res)
84
88
  if utils.match_response(http_res, "500", "application/json"):
85
89
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
86
90
  raise errors.Error(response_data, http_res)
@@ -100,7 +104,7 @@ class RoutesSDK(BaseSDK):
100
104
  server_url: Optional[str] = None,
101
105
  timeout_ms: Optional[int] = None,
102
106
  http_headers: Optional[Mapping[str, str]] = None,
103
- ) -> models.ListRoutesResponse:
107
+ ) -> models.CountedRoutes:
104
108
  r"""List all Routes
105
109
 
106
110
  Get a list of all Routes.
@@ -139,10 +143,14 @@ class RoutesSDK(BaseSDK):
139
143
  if retries == UNSET:
140
144
  if self.sdk_configuration.retry_config is not UNSET:
141
145
  retries = self.sdk_configuration.retry_config
146
+ else:
147
+ retries = utils.RetryConfig(
148
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
149
+ )
142
150
 
143
151
  retry_config = None
144
152
  if isinstance(retries, utils.RetryConfig):
145
- retry_config = (retries, ["429", "500", "502", "503", "504"])
153
+ retry_config = (retries, ["429"])
146
154
 
147
155
  http_res = await self.do_request_async(
148
156
  hook_ctx=HookContext(
@@ -161,7 +169,7 @@ class RoutesSDK(BaseSDK):
161
169
 
162
170
  response_data: Any = None
163
171
  if utils.match_response(http_res, "200", "application/json"):
164
- return unmarshal_json_response(models.ListRoutesResponse, http_res)
172
+ return unmarshal_json_response(models.CountedRoutes, http_res)
165
173
  if utils.match_response(http_res, "500", "application/json"):
166
174
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
167
175
  raise errors.Error(response_data, http_res)
@@ -182,7 +190,7 @@ class RoutesSDK(BaseSDK):
182
190
  server_url: Optional[str] = None,
183
191
  timeout_ms: Optional[int] = None,
184
192
  http_headers: Optional[Mapping[str, str]] = None,
185
- ) -> models.GetRoutesByIDResponse:
193
+ ) -> models.CountedRoutes:
186
194
  r"""Get a Routing table
187
195
 
188
196
  Get the specified Routing table.
@@ -227,10 +235,14 @@ class RoutesSDK(BaseSDK):
227
235
  if retries == UNSET:
228
236
  if self.sdk_configuration.retry_config is not UNSET:
229
237
  retries = self.sdk_configuration.retry_config
238
+ else:
239
+ retries = utils.RetryConfig(
240
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
241
+ )
230
242
 
231
243
  retry_config = None
232
244
  if isinstance(retries, utils.RetryConfig):
233
- retry_config = (retries, ["429", "500", "502", "503", "504"])
245
+ retry_config = (retries, ["429"])
234
246
 
235
247
  http_res = self.do_request(
236
248
  hook_ctx=HookContext(
@@ -249,7 +261,7 @@ class RoutesSDK(BaseSDK):
249
261
 
250
262
  response_data: Any = None
251
263
  if utils.match_response(http_res, "200", "application/json"):
252
- return unmarshal_json_response(models.GetRoutesByIDResponse, http_res)
264
+ return unmarshal_json_response(models.CountedRoutes, http_res)
253
265
  if utils.match_response(http_res, "500", "application/json"):
254
266
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
255
267
  raise errors.Error(response_data, http_res)
@@ -270,7 +282,7 @@ class RoutesSDK(BaseSDK):
270
282
  server_url: Optional[str] = None,
271
283
  timeout_ms: Optional[int] = None,
272
284
  http_headers: Optional[Mapping[str, str]] = None,
273
- ) -> models.GetRoutesByIDResponse:
285
+ ) -> models.CountedRoutes:
274
286
  r"""Get a Routing table
275
287
 
276
288
  Get the specified Routing table.
@@ -315,10 +327,14 @@ class RoutesSDK(BaseSDK):
315
327
  if retries == UNSET:
316
328
  if self.sdk_configuration.retry_config is not UNSET:
317
329
  retries = self.sdk_configuration.retry_config
330
+ else:
331
+ retries = utils.RetryConfig(
332
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
333
+ )
318
334
 
319
335
  retry_config = None
320
336
  if isinstance(retries, utils.RetryConfig):
321
- retry_config = (retries, ["429", "500", "502", "503", "504"])
337
+ retry_config = (retries, ["429"])
322
338
 
323
339
  http_res = await self.do_request_async(
324
340
  hook_ctx=HookContext(
@@ -337,7 +353,7 @@ class RoutesSDK(BaseSDK):
337
353
 
338
354
  response_data: Any = None
339
355
  if utils.match_response(http_res, "200", "application/json"):
340
- return unmarshal_json_response(models.GetRoutesByIDResponse, http_res)
356
+ return unmarshal_json_response(models.CountedRoutes, http_res)
341
357
  if utils.match_response(http_res, "500", "application/json"):
342
358
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
343
359
  raise errors.Error(response_data, http_res)
@@ -368,7 +384,7 @@ class RoutesSDK(BaseSDK):
368
384
  server_url: Optional[str] = None,
369
385
  timeout_ms: Optional[int] = None,
370
386
  http_headers: Optional[Mapping[str, str]] = None,
371
- ) -> models.UpdateRoutesByIDResponse:
387
+ ) -> models.CountedRoutes:
372
388
  r"""Update a Route
373
389
 
374
390
  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.
@@ -430,10 +446,14 @@ class RoutesSDK(BaseSDK):
430
446
  if retries == UNSET:
431
447
  if self.sdk_configuration.retry_config is not UNSET:
432
448
  retries = self.sdk_configuration.retry_config
449
+ else:
450
+ retries = utils.RetryConfig(
451
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
452
+ )
433
453
 
434
454
  retry_config = None
435
455
  if isinstance(retries, utils.RetryConfig):
436
- retry_config = (retries, ["429", "500", "502", "503", "504"])
456
+ retry_config = (retries, ["429"])
437
457
 
438
458
  http_res = self.do_request(
439
459
  hook_ctx=HookContext(
@@ -452,7 +472,7 @@ class RoutesSDK(BaseSDK):
452
472
 
453
473
  response_data: Any = None
454
474
  if utils.match_response(http_res, "200", "application/json"):
455
- return unmarshal_json_response(models.UpdateRoutesByIDResponse, http_res)
475
+ return unmarshal_json_response(models.CountedRoutes, http_res)
456
476
  if utils.match_response(http_res, "500", "application/json"):
457
477
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
458
478
  raise errors.Error(response_data, http_res)
@@ -483,7 +503,7 @@ class RoutesSDK(BaseSDK):
483
503
  server_url: Optional[str] = None,
484
504
  timeout_ms: Optional[int] = None,
485
505
  http_headers: Optional[Mapping[str, str]] = None,
486
- ) -> models.UpdateRoutesByIDResponse:
506
+ ) -> models.CountedRoutes:
487
507
  r"""Update a Route
488
508
 
489
509
  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.
@@ -545,10 +565,14 @@ class RoutesSDK(BaseSDK):
545
565
  if retries == UNSET:
546
566
  if self.sdk_configuration.retry_config is not UNSET:
547
567
  retries = self.sdk_configuration.retry_config
568
+ else:
569
+ retries = utils.RetryConfig(
570
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
571
+ )
548
572
 
549
573
  retry_config = None
550
574
  if isinstance(retries, utils.RetryConfig):
551
- retry_config = (retries, ["429", "500", "502", "503", "504"])
575
+ retry_config = (retries, ["429"])
552
576
 
553
577
  http_res = await self.do_request_async(
554
578
  hook_ctx=HookContext(
@@ -567,7 +591,7 @@ class RoutesSDK(BaseSDK):
567
591
 
568
592
  response_data: Any = None
569
593
  if utils.match_response(http_res, "200", "application/json"):
570
- return unmarshal_json_response(models.UpdateRoutesByIDResponse, http_res)
594
+ return unmarshal_json_response(models.CountedRoutes, http_res)
571
595
  if utils.match_response(http_res, "500", "application/json"):
572
596
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
573
597
  raise errors.Error(response_data, http_res)
@@ -589,7 +613,7 @@ class RoutesSDK(BaseSDK):
589
613
  server_url: Optional[str] = None,
590
614
  timeout_ms: Optional[int] = None,
591
615
  http_headers: Optional[Mapping[str, str]] = None,
592
- ) -> models.CreateRoutesAppendByIDResponse:
616
+ ) -> models.CountedRoutes:
593
617
  r"""Add a Route to the end of the Routing table
594
618
 
595
619
  Add a Route to the end of the specified Routing table.
@@ -639,10 +663,14 @@ class RoutesSDK(BaseSDK):
639
663
  if retries == UNSET:
640
664
  if self.sdk_configuration.retry_config is not UNSET:
641
665
  retries = self.sdk_configuration.retry_config
666
+ else:
667
+ retries = utils.RetryConfig(
668
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
669
+ )
642
670
 
643
671
  retry_config = None
644
672
  if isinstance(retries, utils.RetryConfig):
645
- retry_config = (retries, ["429", "500", "502", "503", "504"])
673
+ retry_config = (retries, ["429"])
646
674
 
647
675
  http_res = self.do_request(
648
676
  hook_ctx=HookContext(
@@ -661,9 +689,7 @@ class RoutesSDK(BaseSDK):
661
689
 
662
690
  response_data: Any = None
663
691
  if utils.match_response(http_res, "200", "application/json"):
664
- return unmarshal_json_response(
665
- models.CreateRoutesAppendByIDResponse, http_res
666
- )
692
+ return unmarshal_json_response(models.CountedRoutes, http_res)
667
693
  if utils.match_response(http_res, "500", "application/json"):
668
694
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
669
695
  raise errors.Error(response_data, http_res)
@@ -685,7 +711,7 @@ class RoutesSDK(BaseSDK):
685
711
  server_url: Optional[str] = None,
686
712
  timeout_ms: Optional[int] = None,
687
713
  http_headers: Optional[Mapping[str, str]] = None,
688
- ) -> models.CreateRoutesAppendByIDResponse:
714
+ ) -> models.CountedRoutes:
689
715
  r"""Add a Route to the end of the Routing table
690
716
 
691
717
  Add a Route to the end of the specified Routing table.
@@ -735,10 +761,14 @@ class RoutesSDK(BaseSDK):
735
761
  if retries == UNSET:
736
762
  if self.sdk_configuration.retry_config is not UNSET:
737
763
  retries = self.sdk_configuration.retry_config
764
+ else:
765
+ retries = utils.RetryConfig(
766
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
767
+ )
738
768
 
739
769
  retry_config = None
740
770
  if isinstance(retries, utils.RetryConfig):
741
- retry_config = (retries, ["429", "500", "502", "503", "504"])
771
+ retry_config = (retries, ["429"])
742
772
 
743
773
  http_res = await self.do_request_async(
744
774
  hook_ctx=HookContext(
@@ -757,9 +787,7 @@ class RoutesSDK(BaseSDK):
757
787
 
758
788
  response_data: Any = None
759
789
  if utils.match_response(http_res, "200", "application/json"):
760
- return unmarshal_json_response(
761
- models.CreateRoutesAppendByIDResponse, http_res
762
- )
790
+ return unmarshal_json_response(models.CountedRoutes, http_res)
763
791
  if utils.match_response(http_res, "500", "application/json"):
764
792
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
765
793
  raise errors.Error(response_data, http_res)