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
@@ -38,7 +38,7 @@ class GroupsSDK(BaseSDK):
38
38
  server_url: Optional[str] = None,
39
39
  timeout_ms: Optional[int] = None,
40
40
  http_headers: Optional[Mapping[str, str]] = None,
41
- ) -> models.ListConfigGroupByProductResponse:
41
+ ) -> models.CountedConfigGroup:
42
42
  r"""List all Worker Groups or Edge Fleets for the specified Cribl product
43
43
 
44
44
  Get a list of all Worker Groups or Edge Fleets for the specified Cribl product.
@@ -85,10 +85,14 @@ class GroupsSDK(BaseSDK):
85
85
  if retries == UNSET:
86
86
  if self.sdk_configuration.retry_config is not UNSET:
87
87
  retries = self.sdk_configuration.retry_config
88
+ else:
89
+ retries = utils.RetryConfig(
90
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
91
+ )
88
92
 
89
93
  retry_config = None
90
94
  if isinstance(retries, utils.RetryConfig):
91
- retry_config = (retries, ["429", "500", "502", "503", "504"])
95
+ retry_config = (retries, ["429"])
92
96
 
93
97
  http_res = self.do_request(
94
98
  hook_ctx=HookContext(
@@ -107,9 +111,7 @@ class GroupsSDK(BaseSDK):
107
111
 
108
112
  response_data: Any = None
109
113
  if utils.match_response(http_res, "200", "application/json"):
110
- return unmarshal_json_response(
111
- models.ListConfigGroupByProductResponse, http_res
112
- )
114
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
113
115
  if utils.match_response(http_res, "500", "application/json"):
114
116
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
115
117
  raise errors.Error(response_data, http_res)
@@ -131,7 +133,7 @@ class GroupsSDK(BaseSDK):
131
133
  server_url: Optional[str] = None,
132
134
  timeout_ms: Optional[int] = None,
133
135
  http_headers: Optional[Mapping[str, str]] = None,
134
- ) -> models.ListConfigGroupByProductResponse:
136
+ ) -> models.CountedConfigGroup:
135
137
  r"""List all Worker Groups or Edge Fleets for the specified Cribl product
136
138
 
137
139
  Get a list of all Worker Groups or Edge Fleets for the specified Cribl product.
@@ -178,10 +180,14 @@ class GroupsSDK(BaseSDK):
178
180
  if retries == UNSET:
179
181
  if self.sdk_configuration.retry_config is not UNSET:
180
182
  retries = self.sdk_configuration.retry_config
183
+ else:
184
+ retries = utils.RetryConfig(
185
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
186
+ )
181
187
 
182
188
  retry_config = None
183
189
  if isinstance(retries, utils.RetryConfig):
184
- retry_config = (retries, ["429", "500", "502", "503", "504"])
190
+ retry_config = (retries, ["429"])
185
191
 
186
192
  http_res = await self.do_request_async(
187
193
  hook_ctx=HookContext(
@@ -200,9 +206,7 @@ class GroupsSDK(BaseSDK):
200
206
 
201
207
  response_data: Any = None
202
208
  if utils.match_response(http_res, "200", "application/json"):
203
- return unmarshal_json_response(
204
- models.ListConfigGroupByProductResponse, http_res
205
- )
209
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
206
210
  if utils.match_response(http_res, "500", "application/json"):
207
211
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
208
212
  raise errors.Error(response_data, http_res)
@@ -256,7 +260,7 @@ class GroupsSDK(BaseSDK):
256
260
  server_url: Optional[str] = None,
257
261
  timeout_ms: Optional[int] = None,
258
262
  http_headers: Optional[Mapping[str, str]] = None,
259
- ) -> models.CreateConfigGroupByProductResponse:
263
+ ) -> models.CountedConfigGroup:
260
264
  r"""Create a Worker Group or Edge Fleet for the specified Cribl product
261
265
 
262
266
  Create a new Worker Group or Edge Fleet for the specified Cribl product.
@@ -360,10 +364,14 @@ class GroupsSDK(BaseSDK):
360
364
  if retries == UNSET:
361
365
  if self.sdk_configuration.retry_config is not UNSET:
362
366
  retries = self.sdk_configuration.retry_config
367
+ else:
368
+ retries = utils.RetryConfig(
369
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
370
+ )
363
371
 
364
372
  retry_config = None
365
373
  if isinstance(retries, utils.RetryConfig):
366
- retry_config = (retries, ["429", "500", "502", "503", "504"])
374
+ retry_config = (retries, ["429"])
367
375
 
368
376
  http_res = self.do_request(
369
377
  hook_ctx=HookContext(
@@ -382,9 +390,7 @@ class GroupsSDK(BaseSDK):
382
390
 
383
391
  response_data: Any = None
384
392
  if utils.match_response(http_res, "200", "application/json"):
385
- return unmarshal_json_response(
386
- models.CreateConfigGroupByProductResponse, http_res
387
- )
393
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
388
394
  if utils.match_response(http_res, "500", "application/json"):
389
395
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
390
396
  raise errors.Error(response_data, http_res)
@@ -438,7 +444,7 @@ class GroupsSDK(BaseSDK):
438
444
  server_url: Optional[str] = None,
439
445
  timeout_ms: Optional[int] = None,
440
446
  http_headers: Optional[Mapping[str, str]] = None,
441
- ) -> models.CreateConfigGroupByProductResponse:
447
+ ) -> models.CountedConfigGroup:
442
448
  r"""Create a Worker Group or Edge Fleet for the specified Cribl product
443
449
 
444
450
  Create a new Worker Group or Edge Fleet for the specified Cribl product.
@@ -542,10 +548,14 @@ class GroupsSDK(BaseSDK):
542
548
  if retries == UNSET:
543
549
  if self.sdk_configuration.retry_config is not UNSET:
544
550
  retries = self.sdk_configuration.retry_config
551
+ else:
552
+ retries = utils.RetryConfig(
553
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
554
+ )
545
555
 
546
556
  retry_config = None
547
557
  if isinstance(retries, utils.RetryConfig):
548
- retry_config = (retries, ["429", "500", "502", "503", "504"])
558
+ retry_config = (retries, ["429"])
549
559
 
550
560
  http_res = await self.do_request_async(
551
561
  hook_ctx=HookContext(
@@ -564,9 +574,7 @@ class GroupsSDK(BaseSDK):
564
574
 
565
575
  response_data: Any = None
566
576
  if utils.match_response(http_res, "200", "application/json"):
567
- return unmarshal_json_response(
568
- models.CreateConfigGroupByProductResponse, http_res
569
- )
577
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
570
578
  if utils.match_response(http_res, "500", "application/json"):
571
579
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
572
580
  raise errors.Error(response_data, http_res)
@@ -589,7 +597,7 @@ class GroupsSDK(BaseSDK):
589
597
  server_url: Optional[str] = None,
590
598
  timeout_ms: Optional[int] = None,
591
599
  http_headers: Optional[Mapping[str, str]] = None,
592
- ) -> models.GetConfigGroupByProductAndIDResponse:
600
+ ) -> models.CountedConfigGroup:
593
601
  r"""Get a Worker Group or Edge Fleet
594
602
 
595
603
  Get the specified Worker Group or Edge Fleet.
@@ -638,10 +646,14 @@ class GroupsSDK(BaseSDK):
638
646
  if retries == UNSET:
639
647
  if self.sdk_configuration.retry_config is not UNSET:
640
648
  retries = self.sdk_configuration.retry_config
649
+ else:
650
+ retries = utils.RetryConfig(
651
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
652
+ )
641
653
 
642
654
  retry_config = None
643
655
  if isinstance(retries, utils.RetryConfig):
644
- retry_config = (retries, ["429", "500", "502", "503", "504"])
656
+ retry_config = (retries, ["429"])
645
657
 
646
658
  http_res = self.do_request(
647
659
  hook_ctx=HookContext(
@@ -660,9 +672,7 @@ class GroupsSDK(BaseSDK):
660
672
 
661
673
  response_data: Any = None
662
674
  if utils.match_response(http_res, "200", "application/json"):
663
- return unmarshal_json_response(
664
- models.GetConfigGroupByProductAndIDResponse, http_res
665
- )
675
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
666
676
  if utils.match_response(http_res, "500", "application/json"):
667
677
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
668
678
  raise errors.Error(response_data, http_res)
@@ -685,7 +695,7 @@ class GroupsSDK(BaseSDK):
685
695
  server_url: Optional[str] = None,
686
696
  timeout_ms: Optional[int] = None,
687
697
  http_headers: Optional[Mapping[str, str]] = None,
688
- ) -> models.GetConfigGroupByProductAndIDResponse:
698
+ ) -> models.CountedConfigGroup:
689
699
  r"""Get a Worker Group or Edge Fleet
690
700
 
691
701
  Get the specified Worker Group or Edge Fleet.
@@ -734,10 +744,14 @@ class GroupsSDK(BaseSDK):
734
744
  if retries == UNSET:
735
745
  if self.sdk_configuration.retry_config is not UNSET:
736
746
  retries = self.sdk_configuration.retry_config
747
+ else:
748
+ retries = utils.RetryConfig(
749
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
750
+ )
737
751
 
738
752
  retry_config = None
739
753
  if isinstance(retries, utils.RetryConfig):
740
- retry_config = (retries, ["429", "500", "502", "503", "504"])
754
+ retry_config = (retries, ["429"])
741
755
 
742
756
  http_res = await self.do_request_async(
743
757
  hook_ctx=HookContext(
@@ -756,9 +770,7 @@ class GroupsSDK(BaseSDK):
756
770
 
757
771
  response_data: Any = None
758
772
  if utils.match_response(http_res, "200", "application/json"):
759
- return unmarshal_json_response(
760
- models.GetConfigGroupByProductAndIDResponse, http_res
761
- )
773
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
762
774
  if utils.match_response(http_res, "500", "application/json"):
763
775
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
764
776
  raise errors.Error(response_data, http_res)
@@ -811,7 +823,7 @@ class GroupsSDK(BaseSDK):
811
823
  server_url: Optional[str] = None,
812
824
  timeout_ms: Optional[int] = None,
813
825
  http_headers: Optional[Mapping[str, str]] = None,
814
- ) -> models.UpdateConfigGroupByProductAndIDResponse:
826
+ ) -> models.CountedConfigGroup:
815
827
  r"""Update a Worker Group or Edge Fleet
816
828
 
817
829
  Update the specified Worker Group or Edge Fleet.
@@ -911,10 +923,14 @@ class GroupsSDK(BaseSDK):
911
923
  if retries == UNSET:
912
924
  if self.sdk_configuration.retry_config is not UNSET:
913
925
  retries = self.sdk_configuration.retry_config
926
+ else:
927
+ retries = utils.RetryConfig(
928
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
929
+ )
914
930
 
915
931
  retry_config = None
916
932
  if isinstance(retries, utils.RetryConfig):
917
- retry_config = (retries, ["429", "500", "502", "503", "504"])
933
+ retry_config = (retries, ["429"])
918
934
 
919
935
  http_res = self.do_request(
920
936
  hook_ctx=HookContext(
@@ -933,9 +949,7 @@ class GroupsSDK(BaseSDK):
933
949
 
934
950
  response_data: Any = None
935
951
  if utils.match_response(http_res, "200", "application/json"):
936
- return unmarshal_json_response(
937
- models.UpdateConfigGroupByProductAndIDResponse, http_res
938
- )
952
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
939
953
  if utils.match_response(http_res, "500", "application/json"):
940
954
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
941
955
  raise errors.Error(response_data, http_res)
@@ -988,7 +1002,7 @@ class GroupsSDK(BaseSDK):
988
1002
  server_url: Optional[str] = None,
989
1003
  timeout_ms: Optional[int] = None,
990
1004
  http_headers: Optional[Mapping[str, str]] = None,
991
- ) -> models.UpdateConfigGroupByProductAndIDResponse:
1005
+ ) -> models.CountedConfigGroup:
992
1006
  r"""Update a Worker Group or Edge Fleet
993
1007
 
994
1008
  Update the specified Worker Group or Edge Fleet.
@@ -1088,10 +1102,14 @@ class GroupsSDK(BaseSDK):
1088
1102
  if retries == UNSET:
1089
1103
  if self.sdk_configuration.retry_config is not UNSET:
1090
1104
  retries = self.sdk_configuration.retry_config
1105
+ else:
1106
+ retries = utils.RetryConfig(
1107
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
1108
+ )
1091
1109
 
1092
1110
  retry_config = None
1093
1111
  if isinstance(retries, utils.RetryConfig):
1094
- retry_config = (retries, ["429", "500", "502", "503", "504"])
1112
+ retry_config = (retries, ["429"])
1095
1113
 
1096
1114
  http_res = await self.do_request_async(
1097
1115
  hook_ctx=HookContext(
@@ -1110,9 +1128,7 @@ class GroupsSDK(BaseSDK):
1110
1128
 
1111
1129
  response_data: Any = None
1112
1130
  if utils.match_response(http_res, "200", "application/json"):
1113
- return unmarshal_json_response(
1114
- models.UpdateConfigGroupByProductAndIDResponse, http_res
1115
- )
1131
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
1116
1132
  if utils.match_response(http_res, "500", "application/json"):
1117
1133
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
1118
1134
  raise errors.Error(response_data, http_res)
@@ -1134,7 +1150,7 @@ class GroupsSDK(BaseSDK):
1134
1150
  server_url: Optional[str] = None,
1135
1151
  timeout_ms: Optional[int] = None,
1136
1152
  http_headers: Optional[Mapping[str, str]] = None,
1137
- ) -> models.DeleteConfigGroupByProductAndIDResponse:
1153
+ ) -> models.CountedConfigGroup:
1138
1154
  r"""Delete a Worker Group or Edge Fleet
1139
1155
 
1140
1156
  Delete the specified Worker Group or Edge Fleet.
@@ -1181,10 +1197,14 @@ class GroupsSDK(BaseSDK):
1181
1197
  if retries == UNSET:
1182
1198
  if self.sdk_configuration.retry_config is not UNSET:
1183
1199
  retries = self.sdk_configuration.retry_config
1200
+ else:
1201
+ retries = utils.RetryConfig(
1202
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
1203
+ )
1184
1204
 
1185
1205
  retry_config = None
1186
1206
  if isinstance(retries, utils.RetryConfig):
1187
- retry_config = (retries, ["429", "500", "502", "503", "504"])
1207
+ retry_config = (retries, ["429"])
1188
1208
 
1189
1209
  http_res = self.do_request(
1190
1210
  hook_ctx=HookContext(
@@ -1203,9 +1223,7 @@ class GroupsSDK(BaseSDK):
1203
1223
 
1204
1224
  response_data: Any = None
1205
1225
  if utils.match_response(http_res, "200", "application/json"):
1206
- return unmarshal_json_response(
1207
- models.DeleteConfigGroupByProductAndIDResponse, http_res
1208
- )
1226
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
1209
1227
  if utils.match_response(http_res, "500", "application/json"):
1210
1228
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
1211
1229
  raise errors.Error(response_data, http_res)
@@ -1227,7 +1245,7 @@ class GroupsSDK(BaseSDK):
1227
1245
  server_url: Optional[str] = None,
1228
1246
  timeout_ms: Optional[int] = None,
1229
1247
  http_headers: Optional[Mapping[str, str]] = None,
1230
- ) -> models.DeleteConfigGroupByProductAndIDResponse:
1248
+ ) -> models.CountedConfigGroup:
1231
1249
  r"""Delete a Worker Group or Edge Fleet
1232
1250
 
1233
1251
  Delete the specified Worker Group or Edge Fleet.
@@ -1274,10 +1292,14 @@ class GroupsSDK(BaseSDK):
1274
1292
  if retries == UNSET:
1275
1293
  if self.sdk_configuration.retry_config is not UNSET:
1276
1294
  retries = self.sdk_configuration.retry_config
1295
+ else:
1296
+ retries = utils.RetryConfig(
1297
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
1298
+ )
1277
1299
 
1278
1300
  retry_config = None
1279
1301
  if isinstance(retries, utils.RetryConfig):
1280
- retry_config = (retries, ["429", "500", "502", "503", "504"])
1302
+ retry_config = (retries, ["429"])
1281
1303
 
1282
1304
  http_res = await self.do_request_async(
1283
1305
  hook_ctx=HookContext(
@@ -1296,9 +1318,7 @@ class GroupsSDK(BaseSDK):
1296
1318
 
1297
1319
  response_data: Any = None
1298
1320
  if utils.match_response(http_res, "200", "application/json"):
1299
- return unmarshal_json_response(
1300
- models.DeleteConfigGroupByProductAndIDResponse, http_res
1301
- )
1321
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
1302
1322
  if utils.match_response(http_res, "500", "application/json"):
1303
1323
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
1304
1324
  raise errors.Error(response_data, http_res)
@@ -1327,7 +1347,7 @@ class GroupsSDK(BaseSDK):
1327
1347
  server_url: Optional[str] = None,
1328
1348
  timeout_ms: Optional[int] = None,
1329
1349
  http_headers: Optional[Mapping[str, str]] = None,
1330
- ) -> models.UpdateConfigGroupDeployByProductAndIDResponse:
1350
+ ) -> models.CountedConfigGroup:
1331
1351
  r"""Deploy commits to a Worker Group or Edge Fleet
1332
1352
 
1333
1353
  Deploy commits to the specified Worker Group or Edge Fleet.
@@ -1385,10 +1405,14 @@ class GroupsSDK(BaseSDK):
1385
1405
  if retries == UNSET:
1386
1406
  if self.sdk_configuration.retry_config is not UNSET:
1387
1407
  retries = self.sdk_configuration.retry_config
1408
+ else:
1409
+ retries = utils.RetryConfig(
1410
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
1411
+ )
1388
1412
 
1389
1413
  retry_config = None
1390
1414
  if isinstance(retries, utils.RetryConfig):
1391
- retry_config = (retries, ["429", "500", "502", "503", "504"])
1415
+ retry_config = (retries, ["429"])
1392
1416
 
1393
1417
  http_res = self.do_request(
1394
1418
  hook_ctx=HookContext(
@@ -1407,9 +1431,7 @@ class GroupsSDK(BaseSDK):
1407
1431
 
1408
1432
  response_data: Any = None
1409
1433
  if utils.match_response(http_res, "200", "application/json"):
1410
- return unmarshal_json_response(
1411
- models.UpdateConfigGroupDeployByProductAndIDResponse, http_res
1412
- )
1434
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
1413
1435
  if utils.match_response(http_res, "500", "application/json"):
1414
1436
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
1415
1437
  raise errors.Error(response_data, http_res)
@@ -1438,7 +1460,7 @@ class GroupsSDK(BaseSDK):
1438
1460
  server_url: Optional[str] = None,
1439
1461
  timeout_ms: Optional[int] = None,
1440
1462
  http_headers: Optional[Mapping[str, str]] = None,
1441
- ) -> models.UpdateConfigGroupDeployByProductAndIDResponse:
1463
+ ) -> models.CountedConfigGroup:
1442
1464
  r"""Deploy commits to a Worker Group or Edge Fleet
1443
1465
 
1444
1466
  Deploy commits to the specified Worker Group or Edge Fleet.
@@ -1496,10 +1518,14 @@ class GroupsSDK(BaseSDK):
1496
1518
  if retries == UNSET:
1497
1519
  if self.sdk_configuration.retry_config is not UNSET:
1498
1520
  retries = self.sdk_configuration.retry_config
1521
+ else:
1522
+ retries = utils.RetryConfig(
1523
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
1524
+ )
1499
1525
 
1500
1526
  retry_config = None
1501
1527
  if isinstance(retries, utils.RetryConfig):
1502
- retry_config = (retries, ["429", "500", "502", "503", "504"])
1528
+ retry_config = (retries, ["429"])
1503
1529
 
1504
1530
  http_res = await self.do_request_async(
1505
1531
  hook_ctx=HookContext(
@@ -1518,9 +1544,7 @@ class GroupsSDK(BaseSDK):
1518
1544
 
1519
1545
  response_data: Any = None
1520
1546
  if utils.match_response(http_res, "200", "application/json"):
1521
- return unmarshal_json_response(
1522
- models.UpdateConfigGroupDeployByProductAndIDResponse, http_res
1523
- )
1547
+ return unmarshal_json_response(models.CountedConfigGroup, http_res)
1524
1548
  if utils.match_response(http_res, "500", "application/json"):
1525
1549
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
1526
1550
  raise errors.Error(response_data, http_res)
@@ -56,10 +56,14 @@ class Health(BaseSDK):
56
56
  if retries == UNSET:
57
57
  if self.sdk_configuration.retry_config is not UNSET:
58
58
  retries = self.sdk_configuration.retry_config
59
+ else:
60
+ retries = utils.RetryConfig(
61
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
62
+ )
59
63
 
60
64
  retry_config = None
61
65
  if isinstance(retries, utils.RetryConfig):
62
- retry_config = (retries, ["429", "500", "502", "503", "504"])
66
+ retry_config = (retries, ["429"])
63
67
 
64
68
  http_res = self.do_request(
65
69
  hook_ctx=HookContext(
@@ -139,10 +143,14 @@ class Health(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(
@@ -15,7 +15,6 @@ class HecTokens(BaseSDK):
15
15
  *,
16
16
  id: str,
17
17
  token: str,
18
- allowed_indexes_at_token: Optional[List[str]] = None,
19
18
  description: Optional[str] = None,
20
19
  enabled: Optional[bool] = None,
21
20
  metadata: Optional[
@@ -28,14 +27,13 @@ class HecTokens(BaseSDK):
28
27
  server_url: Optional[str] = None,
29
28
  timeout_ms: Optional[int] = None,
30
29
  http_headers: Optional[Mapping[str, str]] = None,
31
- ) -> models.CreateInputHecTokenByIDResponse:
30
+ ) -> models.CountedInputSplunkHec:
32
31
  r"""Add an HEC token and optional metadata to a Splunk HEC Source
33
32
 
34
33
  Add an HEC token and optional metadata to the specified Splunk HEC Source.
35
34
 
36
35
  :param id: The <code>id</code> of the Splunk HEC Source.
37
36
  :param token:
38
- :param allowed_indexes_at_token:
39
37
  :param description:
40
38
  :param enabled:
41
39
  :param metadata:
@@ -57,7 +55,6 @@ class HecTokens(BaseSDK):
57
55
  request = models.CreateInputHecTokenByIDRequest(
58
56
  id=id,
59
57
  add_hec_token_request=models.AddHecTokenRequest(
60
- allowed_indexes_at_token=allowed_indexes_at_token,
61
58
  description=description,
62
59
  enabled=enabled,
63
60
  metadata=utils.get_pydantic_model(
@@ -94,10 +91,14 @@ class HecTokens(BaseSDK):
94
91
  if retries == UNSET:
95
92
  if self.sdk_configuration.retry_config is not UNSET:
96
93
  retries = self.sdk_configuration.retry_config
94
+ else:
95
+ retries = utils.RetryConfig(
96
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
97
+ )
97
98
 
98
99
  retry_config = None
99
100
  if isinstance(retries, utils.RetryConfig):
100
- retry_config = (retries, ["429", "500", "502", "503", "504"])
101
+ retry_config = (retries, ["429"])
101
102
 
102
103
  http_res = self.do_request(
103
104
  hook_ctx=HookContext(
@@ -116,9 +117,7 @@ class HecTokens(BaseSDK):
116
117
 
117
118
  response_data: Any = None
118
119
  if utils.match_response(http_res, "200", "application/json"):
119
- return unmarshal_json_response(
120
- models.CreateInputHecTokenByIDResponse, http_res
121
- )
120
+ return unmarshal_json_response(models.CountedInputSplunkHec, http_res)
122
121
  if utils.match_response(http_res, "500", "application/json"):
123
122
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
124
123
  raise errors.Error(response_data, http_res)
@@ -136,7 +135,6 @@ class HecTokens(BaseSDK):
136
135
  *,
137
136
  id: str,
138
137
  token: str,
139
- allowed_indexes_at_token: Optional[List[str]] = None,
140
138
  description: Optional[str] = None,
141
139
  enabled: Optional[bool] = None,
142
140
  metadata: Optional[
@@ -149,14 +147,13 @@ class HecTokens(BaseSDK):
149
147
  server_url: Optional[str] = None,
150
148
  timeout_ms: Optional[int] = None,
151
149
  http_headers: Optional[Mapping[str, str]] = None,
152
- ) -> models.CreateInputHecTokenByIDResponse:
150
+ ) -> models.CountedInputSplunkHec:
153
151
  r"""Add an HEC token and optional metadata to a Splunk HEC Source
154
152
 
155
153
  Add an HEC token and optional metadata to the specified Splunk HEC Source.
156
154
 
157
155
  :param id: The <code>id</code> of the Splunk HEC Source.
158
156
  :param token:
159
- :param allowed_indexes_at_token:
160
157
  :param description:
161
158
  :param enabled:
162
159
  :param metadata:
@@ -178,7 +175,6 @@ class HecTokens(BaseSDK):
178
175
  request = models.CreateInputHecTokenByIDRequest(
179
176
  id=id,
180
177
  add_hec_token_request=models.AddHecTokenRequest(
181
- allowed_indexes_at_token=allowed_indexes_at_token,
182
178
  description=description,
183
179
  enabled=enabled,
184
180
  metadata=utils.get_pydantic_model(
@@ -215,10 +211,14 @@ class HecTokens(BaseSDK):
215
211
  if retries == UNSET:
216
212
  if self.sdk_configuration.retry_config is not UNSET:
217
213
  retries = self.sdk_configuration.retry_config
214
+ else:
215
+ retries = utils.RetryConfig(
216
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
217
+ )
218
218
 
219
219
  retry_config = None
220
220
  if isinstance(retries, utils.RetryConfig):
221
- retry_config = (retries, ["429", "500", "502", "503", "504"])
221
+ retry_config = (retries, ["429"])
222
222
 
223
223
  http_res = await self.do_request_async(
224
224
  hook_ctx=HookContext(
@@ -237,9 +237,7 @@ class HecTokens(BaseSDK):
237
237
 
238
238
  response_data: Any = None
239
239
  if utils.match_response(http_res, "200", "application/json"):
240
- return unmarshal_json_response(
241
- models.CreateInputHecTokenByIDResponse, http_res
242
- )
240
+ return unmarshal_json_response(models.CountedInputSplunkHec, http_res)
243
241
  if utils.match_response(http_res, "500", "application/json"):
244
242
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
245
243
  raise errors.Error(response_data, http_res)
@@ -257,7 +255,6 @@ class HecTokens(BaseSDK):
257
255
  *,
258
256
  id: str,
259
257
  token: str,
260
- allowed_indexes_at_token: Optional[List[str]] = None,
261
258
  description: Optional[str] = None,
262
259
  enabled: Optional[bool] = None,
263
260
  metadata: Optional[
@@ -270,14 +267,13 @@ class HecTokens(BaseSDK):
270
267
  server_url: Optional[str] = None,
271
268
  timeout_ms: Optional[int] = None,
272
269
  http_headers: Optional[Mapping[str, str]] = None,
273
- ) -> models.UpdateInputHecTokenByIDAndTokenResponse:
270
+ ) -> models.CountedInputSplunkHec:
274
271
  r"""Update metadata for an HEC token for a Splunk HEC Source
275
272
 
276
273
  Update the metadata for the specified HEC token for the specified Splunk HEC Source.
277
274
 
278
275
  :param id: The <code>id</code> of the Splunk HEC Source.
279
276
  :param token: The <code>id</code> of the HEC token to update.
280
- :param allowed_indexes_at_token:
281
277
  :param description:
282
278
  :param enabled:
283
279
  :param metadata:
@@ -300,7 +296,6 @@ class HecTokens(BaseSDK):
300
296
  id=id,
301
297
  token=token,
302
298
  update_hec_token_request=models.UpdateHecTokenRequest(
303
- allowed_indexes_at_token=allowed_indexes_at_token,
304
299
  description=description,
305
300
  enabled=enabled,
306
301
  metadata=utils.get_pydantic_model(
@@ -336,10 +331,14 @@ class HecTokens(BaseSDK):
336
331
  if retries == UNSET:
337
332
  if self.sdk_configuration.retry_config is not UNSET:
338
333
  retries = self.sdk_configuration.retry_config
334
+ else:
335
+ retries = utils.RetryConfig(
336
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
337
+ )
339
338
 
340
339
  retry_config = None
341
340
  if isinstance(retries, utils.RetryConfig):
342
- retry_config = (retries, ["429", "500", "502", "503", "504"])
341
+ retry_config = (retries, ["429"])
343
342
 
344
343
  http_res = self.do_request(
345
344
  hook_ctx=HookContext(
@@ -358,9 +357,7 @@ class HecTokens(BaseSDK):
358
357
 
359
358
  response_data: Any = None
360
359
  if utils.match_response(http_res, "200", "application/json"):
361
- return unmarshal_json_response(
362
- models.UpdateInputHecTokenByIDAndTokenResponse, http_res
363
- )
360
+ return unmarshal_json_response(models.CountedInputSplunkHec, http_res)
364
361
  if utils.match_response(http_res, "500", "application/json"):
365
362
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
366
363
  raise errors.Error(response_data, http_res)
@@ -378,7 +375,6 @@ class HecTokens(BaseSDK):
378
375
  *,
379
376
  id: str,
380
377
  token: str,
381
- allowed_indexes_at_token: Optional[List[str]] = None,
382
378
  description: Optional[str] = None,
383
379
  enabled: Optional[bool] = None,
384
380
  metadata: Optional[
@@ -391,14 +387,13 @@ class HecTokens(BaseSDK):
391
387
  server_url: Optional[str] = None,
392
388
  timeout_ms: Optional[int] = None,
393
389
  http_headers: Optional[Mapping[str, str]] = None,
394
- ) -> models.UpdateInputHecTokenByIDAndTokenResponse:
390
+ ) -> models.CountedInputSplunkHec:
395
391
  r"""Update metadata for an HEC token for a Splunk HEC Source
396
392
 
397
393
  Update the metadata for the specified HEC token for the specified Splunk HEC Source.
398
394
 
399
395
  :param id: The <code>id</code> of the Splunk HEC Source.
400
396
  :param token: The <code>id</code> of the HEC token to update.
401
- :param allowed_indexes_at_token:
402
397
  :param description:
403
398
  :param enabled:
404
399
  :param metadata:
@@ -421,7 +416,6 @@ class HecTokens(BaseSDK):
421
416
  id=id,
422
417
  token=token,
423
418
  update_hec_token_request=models.UpdateHecTokenRequest(
424
- allowed_indexes_at_token=allowed_indexes_at_token,
425
419
  description=description,
426
420
  enabled=enabled,
427
421
  metadata=utils.get_pydantic_model(
@@ -457,10 +451,14 @@ class HecTokens(BaseSDK):
457
451
  if retries == UNSET:
458
452
  if self.sdk_configuration.retry_config is not UNSET:
459
453
  retries = self.sdk_configuration.retry_config
454
+ else:
455
+ retries = utils.RetryConfig(
456
+ "backoff", utils.BackoffStrategy(500, 60000, 1.5, 3600000), True
457
+ )
460
458
 
461
459
  retry_config = None
462
460
  if isinstance(retries, utils.RetryConfig):
463
- retry_config = (retries, ["429", "500", "502", "503", "504"])
461
+ retry_config = (retries, ["429"])
464
462
 
465
463
  http_res = await self.do_request_async(
466
464
  hook_ctx=HookContext(
@@ -479,9 +477,7 @@ class HecTokens(BaseSDK):
479
477
 
480
478
  response_data: Any = None
481
479
  if utils.match_response(http_res, "200", "application/json"):
482
- return unmarshal_json_response(
483
- models.UpdateInputHecTokenByIDAndTokenResponse, http_res
484
- )
480
+ return unmarshal_json_response(models.CountedInputSplunkHec, http_res)
485
481
  if utils.match_response(http_res, "500", "application/json"):
486
482
  response_data = unmarshal_json_response(errors.ErrorData, http_res)
487
483
  raise errors.Error(response_data, http_res)