cribl-control-plane 0.4.0a6__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 +16 -6
  3. cribl_control_plane/basesdk.py +6 -0
  4. cribl_control_plane/branches.py +28 -8
  5. cribl_control_plane/commits.py +112 -42
  6. cribl_control_plane/commits_files.py +32 -12
  7. cribl_control_plane/configs_versions.py +16 -10
  8. cribl_control_plane/destinations.py +80 -30
  9. cribl_control_plane/destinations_pq.py +32 -12
  10. cribl_control_plane/groups_sdk.py +96 -60
  11. cribl_control_plane/health.py +12 -2
  12. cribl_control_plane/hectokens.py +32 -20
  13. cribl_control_plane/lakedatasets.py +80 -50
  14. cribl_control_plane/models/__init__.py +266 -438
  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 +1 -20
  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/outputsplunklb.py +10 -0
  107. cribl_control_plane/models/runnablejobcollection.py +0 -56
  108. cribl_control_plane/models/runnablejobexecutor.py +0 -28
  109. cribl_control_plane/models/runnablejobscheduledsearch.py +0 -28
  110. cribl_control_plane/models/updateconfiggroupbyproductandidop.py +1 -19
  111. cribl_control_plane/models/updateconfiggroupdeploybyproductandidop.py +1 -20
  112. cribl_control_plane/models/updatecribllakedatasetbylakeidandidop.py +1 -20
  113. cribl_control_plane/models/updateinputbyidop.py +1 -19
  114. cribl_control_plane/models/updateinputhectokenbyidandtokenop.py +1 -20
  115. cribl_control_plane/models/updateoutputbyidop.py +1 -19
  116. cribl_control_plane/models/updatepacksbyidop.py +1 -20
  117. cribl_control_plane/models/updatepipelinebyidop.py +1 -19
  118. cribl_control_plane/models/updateroutesbyidop.py +1 -19
  119. cribl_control_plane/nodes.py +32 -20
  120. cribl_control_plane/packs.py +92 -32
  121. cribl_control_plane/pipelines.py +80 -30
  122. cribl_control_plane/routes_sdk.py +64 -28
  123. cribl_control_plane/samples.py +32 -16
  124. cribl_control_plane/sources.py +80 -30
  125. cribl_control_plane/statuses.py +16 -6
  126. cribl_control_plane/summaries.py +16 -6
  127. cribl_control_plane/teams.py +16 -6
  128. cribl_control_plane/tokens.py +28 -8
  129. cribl_control_plane/utils/forms.py +21 -10
  130. cribl_control_plane/utils/queryparams.py +14 -2
  131. cribl_control_plane/versions_configs.py +16 -6
  132. {cribl_control_plane-0.4.0a6.dist-info → cribl_control_plane-0.4.0b12.dist-info}/METADATA +1 -1
  133. {cribl_control_plane-0.4.0a6.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.0a6.dist-info → cribl_control_plane-0.4.0b12.dist-info}/WHEEL +0 -0
  137. {cribl_control_plane-0.4.0a6.dist-info → cribl_control_plane-0.4.0b12.dist-info}/licenses/LICENSE +0 -0
@@ -19,7 +19,7 @@ class CommitsFiles(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.GetVersionCountResponse:
22
+ ) -> models.CountedGitCountResult:
23
23
  r"""Get a count of files that changed since a commit
24
24
 
25
25
  Get a count of the files that changed since a commit. Default is the latest commit (HEAD).
@@ -59,16 +59,21 @@ class CommitsFiles(BaseSDK):
59
59
  accept_header_value="application/json",
60
60
  http_headers=http_headers,
61
61
  security=self.sdk_configuration.security,
62
+ allow_empty_value=None,
62
63
  timeout_ms=timeout_ms,
63
64
  )
64
65
 
65
66
  if retries == UNSET:
66
67
  if self.sdk_configuration.retry_config is not UNSET:
67
68
  retries = self.sdk_configuration.retry_config
69
+ else:
70
+ retries = utils.RetryConfig(
71
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
72
+ )
68
73
 
69
74
  retry_config = None
70
75
  if isinstance(retries, utils.RetryConfig):
71
- retry_config = (retries, ["429", "500", "502", "503", "504"])
76
+ retry_config = (retries, ["429"])
72
77
 
73
78
  http_res = self.do_request(
74
79
  hook_ctx=HookContext(
@@ -87,7 +92,7 @@ class CommitsFiles(BaseSDK):
87
92
 
88
93
  response_data: Any = None
89
94
  if utils.match_response(http_res, "200", "application/json"):
90
- return unmarshal_json_response(models.GetVersionCountResponse, http_res)
95
+ return unmarshal_json_response(models.CountedGitCountResult, http_res)
91
96
  if utils.match_response(http_res, "500", "application/json"):
92
97
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
93
98
  raise errors.Error(response_data, http_res)
@@ -109,7 +114,7 @@ class CommitsFiles(BaseSDK):
109
114
  server_url: Optional[str] = None,
110
115
  timeout_ms: Optional[int] = None,
111
116
  http_headers: Optional[Mapping[str, str]] = None,
112
- ) -> models.GetVersionCountResponse:
117
+ ) -> models.CountedGitCountResult:
113
118
  r"""Get a count of files that changed since a commit
114
119
 
115
120
  Get a count of the files that changed since a commit. Default is the latest commit (HEAD).
@@ -149,16 +154,21 @@ class CommitsFiles(BaseSDK):
149
154
  accept_header_value="application/json",
150
155
  http_headers=http_headers,
151
156
  security=self.sdk_configuration.security,
157
+ allow_empty_value=None,
152
158
  timeout_ms=timeout_ms,
153
159
  )
154
160
 
155
161
  if retries == UNSET:
156
162
  if self.sdk_configuration.retry_config is not UNSET:
157
163
  retries = self.sdk_configuration.retry_config
164
+ else:
165
+ retries = utils.RetryConfig(
166
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
167
+ )
158
168
 
159
169
  retry_config = None
160
170
  if isinstance(retries, utils.RetryConfig):
161
- retry_config = (retries, ["429", "500", "502", "503", "504"])
171
+ retry_config = (retries, ["429"])
162
172
 
163
173
  http_res = await self.do_request_async(
164
174
  hook_ctx=HookContext(
@@ -177,7 +187,7 @@ class CommitsFiles(BaseSDK):
177
187
 
178
188
  response_data: Any = None
179
189
  if utils.match_response(http_res, "200", "application/json"):
180
- return unmarshal_json_response(models.GetVersionCountResponse, http_res)
190
+ return unmarshal_json_response(models.CountedGitCountResult, http_res)
181
191
  if utils.match_response(http_res, "500", "application/json"):
182
192
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
183
193
  raise errors.Error(response_data, http_res)
@@ -199,7 +209,7 @@ class CommitsFiles(BaseSDK):
199
209
  server_url: Optional[str] = None,
200
210
  timeout_ms: Optional[int] = None,
201
211
  http_headers: Optional[Mapping[str, str]] = None,
202
- ) -> models.GetVersionFilesResponse:
212
+ ) -> models.CountedGitFilesResponse:
203
213
  r"""Get the names and statuses of files that changed since a commit
204
214
 
205
215
  Get the names and statuses of files that changed since a commit. Default is the latest commit (HEAD).
@@ -239,16 +249,21 @@ class CommitsFiles(BaseSDK):
239
249
  accept_header_value="application/json",
240
250
  http_headers=http_headers,
241
251
  security=self.sdk_configuration.security,
252
+ allow_empty_value=None,
242
253
  timeout_ms=timeout_ms,
243
254
  )
244
255
 
245
256
  if retries == UNSET:
246
257
  if self.sdk_configuration.retry_config is not UNSET:
247
258
  retries = self.sdk_configuration.retry_config
259
+ else:
260
+ retries = utils.RetryConfig(
261
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
262
+ )
248
263
 
249
264
  retry_config = None
250
265
  if isinstance(retries, utils.RetryConfig):
251
- retry_config = (retries, ["429", "500", "502", "503", "504"])
266
+ retry_config = (retries, ["429"])
252
267
 
253
268
  http_res = self.do_request(
254
269
  hook_ctx=HookContext(
@@ -267,7 +282,7 @@ class CommitsFiles(BaseSDK):
267
282
 
268
283
  response_data: Any = None
269
284
  if utils.match_response(http_res, "200", "application/json"):
270
- return unmarshal_json_response(models.GetVersionFilesResponse, http_res)
285
+ return unmarshal_json_response(models.CountedGitFilesResponse, http_res)
271
286
  if utils.match_response(http_res, "500", "application/json"):
272
287
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
273
288
  raise errors.Error(response_data, http_res)
@@ -289,7 +304,7 @@ class CommitsFiles(BaseSDK):
289
304
  server_url: Optional[str] = None,
290
305
  timeout_ms: Optional[int] = None,
291
306
  http_headers: Optional[Mapping[str, str]] = None,
292
- ) -> models.GetVersionFilesResponse:
307
+ ) -> models.CountedGitFilesResponse:
293
308
  r"""Get the names and statuses of files that changed since a commit
294
309
 
295
310
  Get the names and statuses of files that changed since a commit. Default is the latest commit (HEAD).
@@ -329,16 +344,21 @@ class CommitsFiles(BaseSDK):
329
344
  accept_header_value="application/json",
330
345
  http_headers=http_headers,
331
346
  security=self.sdk_configuration.security,
347
+ allow_empty_value=None,
332
348
  timeout_ms=timeout_ms,
333
349
  )
334
350
 
335
351
  if retries == UNSET:
336
352
  if self.sdk_configuration.retry_config is not UNSET:
337
353
  retries = self.sdk_configuration.retry_config
354
+ else:
355
+ retries = utils.RetryConfig(
356
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
357
+ )
338
358
 
339
359
  retry_config = None
340
360
  if isinstance(retries, utils.RetryConfig):
341
- retry_config = (retries, ["429", "500", "502", "503", "504"])
361
+ retry_config = (retries, ["429"])
342
362
 
343
363
  http_res = await self.do_request_async(
344
364
  hook_ctx=HookContext(
@@ -357,7 +377,7 @@ class CommitsFiles(BaseSDK):
357
377
 
358
378
  response_data: Any = None
359
379
  if utils.match_response(http_res, "200", "application/json"):
360
- return unmarshal_json_response(models.GetVersionFilesResponse, http_res)
380
+ return unmarshal_json_response(models.CountedGitFilesResponse, http_res)
361
381
  if utils.match_response(http_res, "500", "application/json"):
362
382
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
363
383
  raise errors.Error(response_data, http_res)
@@ -19,7 +19,7 @@ class ConfigsVersions(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.GetConfigGroupConfigVersionByProductAndIDResponse:
22
+ ) -> models.CountedString:
23
23
  r"""Get the configuration version for a Worker Group or Edge Fleet
24
24
 
25
25
  Get the configuration version for the specified Worker Group or Edge Fleet.
@@ -59,16 +59,21 @@ class ConfigsVersions(BaseSDK):
59
59
  accept_header_value="application/json",
60
60
  http_headers=http_headers,
61
61
  security=self.sdk_configuration.security,
62
+ allow_empty_value=None,
62
63
  timeout_ms=timeout_ms,
63
64
  )
64
65
 
65
66
  if retries == UNSET:
66
67
  if self.sdk_configuration.retry_config is not UNSET:
67
68
  retries = self.sdk_configuration.retry_config
69
+ else:
70
+ retries = utils.RetryConfig(
71
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
72
+ )
68
73
 
69
74
  retry_config = None
70
75
  if isinstance(retries, utils.RetryConfig):
71
- retry_config = (retries, ["429", "500", "502", "503", "504"])
76
+ retry_config = (retries, ["429"])
72
77
 
73
78
  http_res = self.do_request(
74
79
  hook_ctx=HookContext(
@@ -87,9 +92,7 @@ class ConfigsVersions(BaseSDK):
87
92
 
88
93
  response_data: Any = None
89
94
  if utils.match_response(http_res, "200", "application/json"):
90
- return unmarshal_json_response(
91
- models.GetConfigGroupConfigVersionByProductAndIDResponse, http_res
92
- )
95
+ return unmarshal_json_response(models.CountedString, http_res)
93
96
  if utils.match_response(http_res, "500", "application/json"):
94
97
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
95
98
  raise errors.Error(response_data, http_res)
@@ -111,7 +114,7 @@ class ConfigsVersions(BaseSDK):
111
114
  server_url: Optional[str] = None,
112
115
  timeout_ms: Optional[int] = None,
113
116
  http_headers: Optional[Mapping[str, str]] = None,
114
- ) -> models.GetConfigGroupConfigVersionByProductAndIDResponse:
117
+ ) -> models.CountedString:
115
118
  r"""Get the configuration version for a Worker Group or Edge Fleet
116
119
 
117
120
  Get the configuration version for the specified Worker Group or Edge Fleet.
@@ -151,16 +154,21 @@ class ConfigsVersions(BaseSDK):
151
154
  accept_header_value="application/json",
152
155
  http_headers=http_headers,
153
156
  security=self.sdk_configuration.security,
157
+ allow_empty_value=None,
154
158
  timeout_ms=timeout_ms,
155
159
  )
156
160
 
157
161
  if retries == UNSET:
158
162
  if self.sdk_configuration.retry_config is not UNSET:
159
163
  retries = self.sdk_configuration.retry_config
164
+ else:
165
+ retries = utils.RetryConfig(
166
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
167
+ )
160
168
 
161
169
  retry_config = None
162
170
  if isinstance(retries, utils.RetryConfig):
163
- retry_config = (retries, ["429", "500", "502", "503", "504"])
171
+ retry_config = (retries, ["429"])
164
172
 
165
173
  http_res = await self.do_request_async(
166
174
  hook_ctx=HookContext(
@@ -179,9 +187,7 @@ class ConfigsVersions(BaseSDK):
179
187
 
180
188
  response_data: Any = None
181
189
  if utils.match_response(http_res, "200", "application/json"):
182
- return unmarshal_json_response(
183
- models.GetConfigGroupConfigVersionByProductAndIDResponse, http_res
184
- )
190
+ return unmarshal_json_response(models.CountedString, http_res)
185
191
  if utils.match_response(http_res, "500", "application/json"):
186
192
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
187
193
  raise errors.Error(response_data, http_res)
@@ -36,7 +36,7 @@ class Destinations(BaseSDK):
36
36
  server_url: Optional[str] = None,
37
37
  timeout_ms: Optional[int] = None,
38
38
  http_headers: Optional[Mapping[str, str]] = None,
39
- ) -> models.ListOutputResponse:
39
+ ) -> models.CountedOutput:
40
40
  r"""List all Destinations
41
41
 
42
42
  Get a list of all Destinations.
@@ -68,16 +68,21 @@ class Destinations(BaseSDK):
68
68
  accept_header_value="application/json",
69
69
  http_headers=http_headers,
70
70
  security=self.sdk_configuration.security,
71
+ allow_empty_value=None,
71
72
  timeout_ms=timeout_ms,
72
73
  )
73
74
 
74
75
  if retries == UNSET:
75
76
  if self.sdk_configuration.retry_config is not UNSET:
76
77
  retries = self.sdk_configuration.retry_config
78
+ else:
79
+ retries = utils.RetryConfig(
80
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
81
+ )
77
82
 
78
83
  retry_config = None
79
84
  if isinstance(retries, utils.RetryConfig):
80
- retry_config = (retries, ["429", "500", "502", "503", "504"])
85
+ retry_config = (retries, ["429"])
81
86
 
82
87
  http_res = self.do_request(
83
88
  hook_ctx=HookContext(
@@ -96,7 +101,7 @@ class Destinations(BaseSDK):
96
101
 
97
102
  response_data: Any = None
98
103
  if utils.match_response(http_res, "200", "application/json"):
99
- return unmarshal_json_response(models.ListOutputResponse, http_res)
104
+ return unmarshal_json_response(models.CountedOutput, http_res)
100
105
  if utils.match_response(http_res, "500", "application/json"):
101
106
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
102
107
  raise errors.Error(response_data, http_res)
@@ -116,7 +121,7 @@ class Destinations(BaseSDK):
116
121
  server_url: Optional[str] = None,
117
122
  timeout_ms: Optional[int] = None,
118
123
  http_headers: Optional[Mapping[str, str]] = None,
119
- ) -> models.ListOutputResponse:
124
+ ) -> models.CountedOutput:
120
125
  r"""List all Destinations
121
126
 
122
127
  Get a list of all Destinations.
@@ -148,16 +153,21 @@ class Destinations(BaseSDK):
148
153
  accept_header_value="application/json",
149
154
  http_headers=http_headers,
150
155
  security=self.sdk_configuration.security,
156
+ allow_empty_value=None,
151
157
  timeout_ms=timeout_ms,
152
158
  )
153
159
 
154
160
  if retries == UNSET:
155
161
  if self.sdk_configuration.retry_config is not UNSET:
156
162
  retries = self.sdk_configuration.retry_config
163
+ else:
164
+ retries = utils.RetryConfig(
165
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
166
+ )
157
167
 
158
168
  retry_config = None
159
169
  if isinstance(retries, utils.RetryConfig):
160
- retry_config = (retries, ["429", "500", "502", "503", "504"])
170
+ retry_config = (retries, ["429"])
161
171
 
162
172
  http_res = await self.do_request_async(
163
173
  hook_ctx=HookContext(
@@ -176,7 +186,7 @@ class Destinations(BaseSDK):
176
186
 
177
187
  response_data: Any = None
178
188
  if utils.match_response(http_res, "200", "application/json"):
179
- return unmarshal_json_response(models.ListOutputResponse, http_res)
189
+ return unmarshal_json_response(models.CountedOutput, http_res)
180
190
  if utils.match_response(http_res, "500", "application/json"):
181
191
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
182
192
  raise errors.Error(response_data, http_res)
@@ -197,7 +207,7 @@ class Destinations(BaseSDK):
197
207
  server_url: Optional[str] = None,
198
208
  timeout_ms: Optional[int] = None,
199
209
  http_headers: Optional[Mapping[str, str]] = None,
200
- ) -> models.CreateOutputResponse:
210
+ ) -> models.CountedOutput:
201
211
  r"""Create a Destination
202
212
 
203
213
  Create a new Destination.
@@ -238,16 +248,21 @@ class Destinations(BaseSDK):
238
248
  get_serialized_body=lambda: utils.serialize_request_body(
239
249
  request, False, False, "json", models.Output
240
250
  ),
251
+ allow_empty_value=None,
241
252
  timeout_ms=timeout_ms,
242
253
  )
243
254
 
244
255
  if retries == UNSET:
245
256
  if self.sdk_configuration.retry_config is not UNSET:
246
257
  retries = self.sdk_configuration.retry_config
258
+ else:
259
+ retries = utils.RetryConfig(
260
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
261
+ )
247
262
 
248
263
  retry_config = None
249
264
  if isinstance(retries, utils.RetryConfig):
250
- retry_config = (retries, ["429", "500", "502", "503", "504"])
265
+ retry_config = (retries, ["429"])
251
266
 
252
267
  http_res = self.do_request(
253
268
  hook_ctx=HookContext(
@@ -266,7 +281,7 @@ class Destinations(BaseSDK):
266
281
 
267
282
  response_data: Any = None
268
283
  if utils.match_response(http_res, "200", "application/json"):
269
- return unmarshal_json_response(models.CreateOutputResponse, http_res)
284
+ return unmarshal_json_response(models.CountedOutput, http_res)
270
285
  if utils.match_response(http_res, "500", "application/json"):
271
286
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
272
287
  raise errors.Error(response_data, http_res)
@@ -287,7 +302,7 @@ class Destinations(BaseSDK):
287
302
  server_url: Optional[str] = None,
288
303
  timeout_ms: Optional[int] = None,
289
304
  http_headers: Optional[Mapping[str, str]] = None,
290
- ) -> models.CreateOutputResponse:
305
+ ) -> models.CountedOutput:
291
306
  r"""Create a Destination
292
307
 
293
308
  Create a new Destination.
@@ -328,16 +343,21 @@ class Destinations(BaseSDK):
328
343
  get_serialized_body=lambda: utils.serialize_request_body(
329
344
  request, False, False, "json", models.Output
330
345
  ),
346
+ allow_empty_value=None,
331
347
  timeout_ms=timeout_ms,
332
348
  )
333
349
 
334
350
  if retries == UNSET:
335
351
  if self.sdk_configuration.retry_config is not UNSET:
336
352
  retries = self.sdk_configuration.retry_config
353
+ else:
354
+ retries = utils.RetryConfig(
355
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
356
+ )
337
357
 
338
358
  retry_config = None
339
359
  if isinstance(retries, utils.RetryConfig):
340
- retry_config = (retries, ["429", "500", "502", "503", "504"])
360
+ retry_config = (retries, ["429"])
341
361
 
342
362
  http_res = await self.do_request_async(
343
363
  hook_ctx=HookContext(
@@ -356,7 +376,7 @@ class Destinations(BaseSDK):
356
376
 
357
377
  response_data: Any = None
358
378
  if utils.match_response(http_res, "200", "application/json"):
359
- return unmarshal_json_response(models.CreateOutputResponse, http_res)
379
+ return unmarshal_json_response(models.CountedOutput, http_res)
360
380
  if utils.match_response(http_res, "500", "application/json"):
361
381
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
362
382
  raise errors.Error(response_data, http_res)
@@ -377,7 +397,7 @@ class Destinations(BaseSDK):
377
397
  server_url: Optional[str] = None,
378
398
  timeout_ms: Optional[int] = None,
379
399
  http_headers: Optional[Mapping[str, str]] = None,
380
- ) -> models.GetOutputByIDResponse:
400
+ ) -> models.CountedOutput:
381
401
  r"""Get a Destination
382
402
 
383
403
  Get the specified Destination.
@@ -415,16 +435,21 @@ class Destinations(BaseSDK):
415
435
  accept_header_value="application/json",
416
436
  http_headers=http_headers,
417
437
  security=self.sdk_configuration.security,
438
+ allow_empty_value=None,
418
439
  timeout_ms=timeout_ms,
419
440
  )
420
441
 
421
442
  if retries == UNSET:
422
443
  if self.sdk_configuration.retry_config is not UNSET:
423
444
  retries = self.sdk_configuration.retry_config
445
+ else:
446
+ retries = utils.RetryConfig(
447
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
448
+ )
424
449
 
425
450
  retry_config = None
426
451
  if isinstance(retries, utils.RetryConfig):
427
- retry_config = (retries, ["429", "500", "502", "503", "504"])
452
+ retry_config = (retries, ["429"])
428
453
 
429
454
  http_res = self.do_request(
430
455
  hook_ctx=HookContext(
@@ -443,7 +468,7 @@ class Destinations(BaseSDK):
443
468
 
444
469
  response_data: Any = None
445
470
  if utils.match_response(http_res, "200", "application/json"):
446
- return unmarshal_json_response(models.GetOutputByIDResponse, http_res)
471
+ return unmarshal_json_response(models.CountedOutput, http_res)
447
472
  if utils.match_response(http_res, "500", "application/json"):
448
473
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
449
474
  raise errors.Error(response_data, http_res)
@@ -464,7 +489,7 @@ class Destinations(BaseSDK):
464
489
  server_url: Optional[str] = None,
465
490
  timeout_ms: Optional[int] = None,
466
491
  http_headers: Optional[Mapping[str, str]] = None,
467
- ) -> models.GetOutputByIDResponse:
492
+ ) -> models.CountedOutput:
468
493
  r"""Get a Destination
469
494
 
470
495
  Get the specified Destination.
@@ -502,16 +527,21 @@ class Destinations(BaseSDK):
502
527
  accept_header_value="application/json",
503
528
  http_headers=http_headers,
504
529
  security=self.sdk_configuration.security,
530
+ allow_empty_value=None,
505
531
  timeout_ms=timeout_ms,
506
532
  )
507
533
 
508
534
  if retries == UNSET:
509
535
  if self.sdk_configuration.retry_config is not UNSET:
510
536
  retries = self.sdk_configuration.retry_config
537
+ else:
538
+ retries = utils.RetryConfig(
539
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
540
+ )
511
541
 
512
542
  retry_config = None
513
543
  if isinstance(retries, utils.RetryConfig):
514
- retry_config = (retries, ["429", "500", "502", "503", "504"])
544
+ retry_config = (retries, ["429"])
515
545
 
516
546
  http_res = await self.do_request_async(
517
547
  hook_ctx=HookContext(
@@ -530,7 +560,7 @@ class Destinations(BaseSDK):
530
560
 
531
561
  response_data: Any = None
532
562
  if utils.match_response(http_res, "200", "application/json"):
533
- return unmarshal_json_response(models.GetOutputByIDResponse, http_res)
563
+ return unmarshal_json_response(models.CountedOutput, http_res)
534
564
  if utils.match_response(http_res, "500", "application/json"):
535
565
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
536
566
  raise errors.Error(response_data, http_res)
@@ -552,7 +582,7 @@ class Destinations(BaseSDK):
552
582
  server_url: Optional[str] = None,
553
583
  timeout_ms: Optional[int] = None,
554
584
  http_headers: Optional[Mapping[str, str]] = None,
555
- ) -> models.UpdateOutputByIDResponse:
585
+ ) -> models.CountedOutput:
556
586
  r"""Update a Destination
557
587
 
558
588
  Update the specified Destination.</br></br>Provide a complete representation of the Destination that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Destination.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Destination might not function as expected.
@@ -595,16 +625,21 @@ class Destinations(BaseSDK):
595
625
  get_serialized_body=lambda: utils.serialize_request_body(
596
626
  request.output, False, False, "json", models.Output
597
627
  ),
628
+ allow_empty_value=None,
598
629
  timeout_ms=timeout_ms,
599
630
  )
600
631
 
601
632
  if retries == UNSET:
602
633
  if self.sdk_configuration.retry_config is not UNSET:
603
634
  retries = self.sdk_configuration.retry_config
635
+ else:
636
+ retries = utils.RetryConfig(
637
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
638
+ )
604
639
 
605
640
  retry_config = None
606
641
  if isinstance(retries, utils.RetryConfig):
607
- retry_config = (retries, ["429", "500", "502", "503", "504"])
642
+ retry_config = (retries, ["429"])
608
643
 
609
644
  http_res = self.do_request(
610
645
  hook_ctx=HookContext(
@@ -623,7 +658,7 @@ class Destinations(BaseSDK):
623
658
 
624
659
  response_data: Any = None
625
660
  if utils.match_response(http_res, "200", "application/json"):
626
- return unmarshal_json_response(models.UpdateOutputByIDResponse, http_res)
661
+ return unmarshal_json_response(models.CountedOutput, http_res)
627
662
  if utils.match_response(http_res, "500", "application/json"):
628
663
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
629
664
  raise errors.Error(response_data, http_res)
@@ -645,7 +680,7 @@ class Destinations(BaseSDK):
645
680
  server_url: Optional[str] = None,
646
681
  timeout_ms: Optional[int] = None,
647
682
  http_headers: Optional[Mapping[str, str]] = None,
648
- ) -> models.UpdateOutputByIDResponse:
683
+ ) -> models.CountedOutput:
649
684
  r"""Update a Destination
650
685
 
651
686
  Update the specified Destination.</br></br>Provide a complete representation of the Destination that you want to update in the request body. This endpoint does not support partial updates. Cribl removes any omitted fields when updating the Destination.</br></br>Confirm that the configuration in your request body is correct before sending the request. If the configuration is incorrect, the updated Destination might not function as expected.
@@ -688,16 +723,21 @@ class Destinations(BaseSDK):
688
723
  get_serialized_body=lambda: utils.serialize_request_body(
689
724
  request.output, False, False, "json", models.Output
690
725
  ),
726
+ allow_empty_value=None,
691
727
  timeout_ms=timeout_ms,
692
728
  )
693
729
 
694
730
  if retries == UNSET:
695
731
  if self.sdk_configuration.retry_config is not UNSET:
696
732
  retries = self.sdk_configuration.retry_config
733
+ else:
734
+ retries = utils.RetryConfig(
735
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
736
+ )
697
737
 
698
738
  retry_config = None
699
739
  if isinstance(retries, utils.RetryConfig):
700
- retry_config = (retries, ["429", "500", "502", "503", "504"])
740
+ retry_config = (retries, ["429"])
701
741
 
702
742
  http_res = await self.do_request_async(
703
743
  hook_ctx=HookContext(
@@ -716,7 +756,7 @@ class Destinations(BaseSDK):
716
756
 
717
757
  response_data: Any = None
718
758
  if utils.match_response(http_res, "200", "application/json"):
719
- return unmarshal_json_response(models.UpdateOutputByIDResponse, http_res)
759
+ return unmarshal_json_response(models.CountedOutput, http_res)
720
760
  if utils.match_response(http_res, "500", "application/json"):
721
761
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
722
762
  raise errors.Error(response_data, http_res)
@@ -737,7 +777,7 @@ class Destinations(BaseSDK):
737
777
  server_url: Optional[str] = None,
738
778
  timeout_ms: Optional[int] = None,
739
779
  http_headers: Optional[Mapping[str, str]] = None,
740
- ) -> models.DeleteOutputByIDResponse:
780
+ ) -> models.CountedOutput:
741
781
  r"""Delete a Destination
742
782
 
743
783
  Delete the specified Destination.
@@ -775,16 +815,21 @@ class Destinations(BaseSDK):
775
815
  accept_header_value="application/json",
776
816
  http_headers=http_headers,
777
817
  security=self.sdk_configuration.security,
818
+ allow_empty_value=None,
778
819
  timeout_ms=timeout_ms,
779
820
  )
780
821
 
781
822
  if retries == UNSET:
782
823
  if self.sdk_configuration.retry_config is not UNSET:
783
824
  retries = self.sdk_configuration.retry_config
825
+ else:
826
+ retries = utils.RetryConfig(
827
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
828
+ )
784
829
 
785
830
  retry_config = None
786
831
  if isinstance(retries, utils.RetryConfig):
787
- retry_config = (retries, ["429", "500", "502", "503", "504"])
832
+ retry_config = (retries, ["429"])
788
833
 
789
834
  http_res = self.do_request(
790
835
  hook_ctx=HookContext(
@@ -803,7 +848,7 @@ class Destinations(BaseSDK):
803
848
 
804
849
  response_data: Any = None
805
850
  if utils.match_response(http_res, "200", "application/json"):
806
- return unmarshal_json_response(models.DeleteOutputByIDResponse, http_res)
851
+ return unmarshal_json_response(models.CountedOutput, http_res)
807
852
  if utils.match_response(http_res, "500", "application/json"):
808
853
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
809
854
  raise errors.Error(response_data, http_res)
@@ -824,7 +869,7 @@ class Destinations(BaseSDK):
824
869
  server_url: Optional[str] = None,
825
870
  timeout_ms: Optional[int] = None,
826
871
  http_headers: Optional[Mapping[str, str]] = None,
827
- ) -> models.DeleteOutputByIDResponse:
872
+ ) -> models.CountedOutput:
828
873
  r"""Delete a Destination
829
874
 
830
875
  Delete the specified Destination.
@@ -862,16 +907,21 @@ class Destinations(BaseSDK):
862
907
  accept_header_value="application/json",
863
908
  http_headers=http_headers,
864
909
  security=self.sdk_configuration.security,
910
+ allow_empty_value=None,
865
911
  timeout_ms=timeout_ms,
866
912
  )
867
913
 
868
914
  if retries == UNSET:
869
915
  if self.sdk_configuration.retry_config is not UNSET:
870
916
  retries = self.sdk_configuration.retry_config
917
+ else:
918
+ retries = utils.RetryConfig(
919
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
920
+ )
871
921
 
872
922
  retry_config = None
873
923
  if isinstance(retries, utils.RetryConfig):
874
- retry_config = (retries, ["429", "500", "502", "503", "504"])
924
+ retry_config = (retries, ["429"])
875
925
 
876
926
  http_res = await self.do_request_async(
877
927
  hook_ctx=HookContext(
@@ -890,7 +940,7 @@ class Destinations(BaseSDK):
890
940
 
891
941
  response_data: Any = None
892
942
  if utils.match_response(http_res, "200", "application/json"):
893
- return unmarshal_json_response(models.DeleteOutputByIDResponse, http_res)
943
+ return unmarshal_json_response(models.CountedOutput, http_res)
894
944
  if utils.match_response(http_res, "500", "application/json"):
895
945
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
896
946
  raise errors.Error(response_data, http_res)