cribl-control-plane 0.0.23__py3-none-any.whl → 0.0.24__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.

@@ -3,10 +3,10 @@
3
3
  import importlib.metadata
4
4
 
5
5
  __title__: str = "cribl-control-plane"
6
- __version__: str = "0.0.23"
7
- __openapi_doc_version__: str = "4.14.0-alpha.1754409810030-3ae86276"
6
+ __version__: str = "0.0.24"
7
+ __openapi_doc_version__: str = "4.14.0-alpha.1754581489015-f79f2920"
8
8
  __gen_version__: str = "2.660.0"
9
- __user_agent__: str = "speakeasy-sdk/python 0.0.23 2.660.0 4.14.0-alpha.1754409810030-3ae86276 cribl-control-plane"
9
+ __user_agent__: str = "speakeasy-sdk/python 0.0.24 2.660.0 4.14.0-alpha.1754581489015-f79f2920 cribl-control-plane"
10
10
 
11
11
  try:
12
12
  if __package__ is not None:
@@ -11,7 +11,7 @@ from typing import Mapping, Optional
11
11
  class AuthSDK(BaseSDK):
12
12
  r"""Actions related to authentication. Do not use the /auth endpoints in Cribl.Cloud deployments. Instead, follow the instructions at https://docs.cribl.io/stream/api-tutorials/#criblcloud to authenticate for Cribl.Cloud."""
13
13
 
14
- def login(
14
+ def fetch_token(
15
15
  self,
16
16
  *,
17
17
  username: str,
@@ -21,7 +21,7 @@ class AuthSDK(BaseSDK):
21
21
  timeout_ms: Optional[int] = None,
22
22
  http_headers: Optional[Mapping[str, str]] = None,
23
23
  ) -> models.AuthToken:
24
- r"""Log in and obtain Auth token
24
+ r"""Log in and fetch an authentication token
25
25
 
26
26
  This endpoint is unavailable on Cribl.Cloud. Instead, follow the instructions at https://docs.cribl.io/stream/api-tutorials/#criblcloud to get an Auth token for Cribl.Cloud.
27
27
 
@@ -97,7 +97,7 @@ class AuthSDK(BaseSDK):
97
97
 
98
98
  raise errors.APIError("Unexpected response received", http_res)
99
99
 
100
- async def login_async(
100
+ async def fetch_token_async(
101
101
  self,
102
102
  *,
103
103
  username: str,
@@ -107,7 +107,7 @@ class AuthSDK(BaseSDK):
107
107
  timeout_ms: Optional[int] = None,
108
108
  http_headers: Optional[Mapping[str, str]] = None,
109
109
  ) -> models.AuthToken:
110
- r"""Log in and obtain Auth token
110
+ r"""Log in and fetch an authentication token
111
111
 
112
112
  This endpoint is unavailable on Cribl.Cloud. Instead, follow the instructions at https://docs.cribl.io/stream/api-tutorials/#criblcloud to get an Auth token for Cribl.Cloud.
113
113
 
@@ -9,9 +9,7 @@ from cribl_control_plane.utils.unmarshal_json_response import unmarshal_json_res
9
9
  from typing import Any, Mapping, Optional
10
10
 
11
11
 
12
- class Distributed(BaseSDK):
13
- r"""Actions related to Distributed"""
14
-
12
+ class Deployments(BaseSDK):
15
13
  def get_summary(
16
14
  self,
17
15
  *,
@@ -21,7 +19,7 @@ class Distributed(BaseSDK):
21
19
  timeout_ms: Optional[int] = None,
22
20
  http_headers: Optional[Mapping[str, str]] = None,
23
21
  ) -> models.GetSummaryResponse:
24
- r"""Get summary of Distributed deployment
22
+ r"""Retrieve a summary of the Distributed deployment
25
23
 
26
24
  Get summary of Distributed deployment
27
25
 
@@ -108,7 +106,7 @@ class Distributed(BaseSDK):
108
106
  timeout_ms: Optional[int] = None,
109
107
  http_headers: Optional[Mapping[str, str]] = None,
110
108
  ) -> models.GetSummaryResponse:
111
- r"""Get summary of Distributed deployment
109
+ r"""Retrieve a summary of the Distributed deployment
112
110
 
113
111
  Get summary of Distributed deployment
114
112
 
@@ -10,7 +10,7 @@ from typing import Any, List, Mapping, Optional, Union, cast
10
10
 
11
11
 
12
12
  class Destinations(BaseSDK):
13
- def list_destination(
13
+ def list(
14
14
  self,
15
15
  *,
16
16
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -18,7 +18,7 @@ class Destinations(BaseSDK):
18
18
  timeout_ms: Optional[int] = None,
19
19
  http_headers: Optional[Mapping[str, str]] = None,
20
20
  ) -> models.ListOutputResponse:
21
- r"""Get a list of Destination objects
21
+ r"""List all Destinations
22
22
 
23
23
  Get a list of Destination objects
24
24
 
@@ -90,7 +90,7 @@ class Destinations(BaseSDK):
90
90
 
91
91
  raise errors.APIError("Unexpected response received", http_res)
92
92
 
93
- async def list_destination_async(
93
+ async def list_async(
94
94
  self,
95
95
  *,
96
96
  retries: OptionalNullable[utils.RetryConfig] = UNSET,
@@ -98,7 +98,7 @@ class Destinations(BaseSDK):
98
98
  timeout_ms: Optional[int] = None,
99
99
  http_headers: Optional[Mapping[str, str]] = None,
100
100
  ) -> models.ListOutputResponse:
101
- r"""Get a list of Destination objects
101
+ r"""List all Destinations
102
102
 
103
103
  Get a list of Destination objects
104
104
 
@@ -170,7 +170,7 @@ class Destinations(BaseSDK):
170
170
 
171
171
  raise errors.APIError("Unexpected response received", http_res)
172
172
 
173
- def create_destination(
173
+ def create(
174
174
  self,
175
175
  *,
176
176
  request: Union[models.Output, models.OutputTypedDict],
@@ -179,7 +179,7 @@ class Destinations(BaseSDK):
179
179
  timeout_ms: Optional[int] = None,
180
180
  http_headers: Optional[Mapping[str, str]] = None,
181
181
  ) -> models.CreateOutputResponse:
182
- r"""Create Destination
182
+ r"""Create a Destination
183
183
 
184
184
  Create Destination
185
185
 
@@ -260,7 +260,7 @@ class Destinations(BaseSDK):
260
260
 
261
261
  raise errors.APIError("Unexpected response received", http_res)
262
262
 
263
- async def create_destination_async(
263
+ async def create_async(
264
264
  self,
265
265
  *,
266
266
  request: Union[models.Output, models.OutputTypedDict],
@@ -269,7 +269,7 @@ class Destinations(BaseSDK):
269
269
  timeout_ms: Optional[int] = None,
270
270
  http_headers: Optional[Mapping[str, str]] = None,
271
271
  ) -> models.CreateOutputResponse:
272
- r"""Create Destination
272
+ r"""Create a Destination
273
273
 
274
274
  Create Destination
275
275
 
@@ -350,7 +350,7 @@ class Destinations(BaseSDK):
350
350
 
351
351
  raise errors.APIError("Unexpected response received", http_res)
352
352
 
353
- def get_destination_by_id(
353
+ def get(
354
354
  self,
355
355
  *,
356
356
  id: str,
@@ -359,7 +359,7 @@ class Destinations(BaseSDK):
359
359
  timeout_ms: Optional[int] = None,
360
360
  http_headers: Optional[Mapping[str, str]] = None,
361
361
  ) -> models.GetOutputByIDResponse:
362
- r"""Get Destination by ID
362
+ r"""Retrieve a Destination
363
363
 
364
364
  Get Destination by ID
365
365
 
@@ -437,7 +437,7 @@ class Destinations(BaseSDK):
437
437
 
438
438
  raise errors.APIError("Unexpected response received", http_res)
439
439
 
440
- async def get_destination_by_id_async(
440
+ async def get_async(
441
441
  self,
442
442
  *,
443
443
  id: str,
@@ -446,7 +446,7 @@ class Destinations(BaseSDK):
446
446
  timeout_ms: Optional[int] = None,
447
447
  http_headers: Optional[Mapping[str, str]] = None,
448
448
  ) -> models.GetOutputByIDResponse:
449
- r"""Get Destination by ID
449
+ r"""Retrieve a Destination
450
450
 
451
451
  Get Destination by ID
452
452
 
@@ -524,7 +524,7 @@ class Destinations(BaseSDK):
524
524
 
525
525
  raise errors.APIError("Unexpected response received", http_res)
526
526
 
527
- def update_destination_by_id(
527
+ def update(
528
528
  self,
529
529
  *,
530
530
  id: str,
@@ -534,7 +534,7 @@ class Destinations(BaseSDK):
534
534
  timeout_ms: Optional[int] = None,
535
535
  http_headers: Optional[Mapping[str, str]] = None,
536
536
  ) -> models.UpdateOutputByIDResponse:
537
- r"""Update Destination
537
+ r"""Update a Destination
538
538
 
539
539
  Update Destination
540
540
 
@@ -617,7 +617,7 @@ class Destinations(BaseSDK):
617
617
 
618
618
  raise errors.APIError("Unexpected response received", http_res)
619
619
 
620
- async def update_destination_by_id_async(
620
+ async def update_async(
621
621
  self,
622
622
  *,
623
623
  id: str,
@@ -627,7 +627,7 @@ class Destinations(BaseSDK):
627
627
  timeout_ms: Optional[int] = None,
628
628
  http_headers: Optional[Mapping[str, str]] = None,
629
629
  ) -> models.UpdateOutputByIDResponse:
630
- r"""Update Destination
630
+ r"""Update a Destination
631
631
 
632
632
  Update Destination
633
633
 
@@ -710,7 +710,7 @@ class Destinations(BaseSDK):
710
710
 
711
711
  raise errors.APIError("Unexpected response received", http_res)
712
712
 
713
- def delete_destination_by_id(
713
+ def delete(
714
714
  self,
715
715
  *,
716
716
  id: str,
@@ -719,7 +719,7 @@ class Destinations(BaseSDK):
719
719
  timeout_ms: Optional[int] = None,
720
720
  http_headers: Optional[Mapping[str, str]] = None,
721
721
  ) -> models.DeleteOutputByIDResponse:
722
- r"""Delete Destination
722
+ r"""Delete a Destination
723
723
 
724
724
  Delete Destination
725
725
 
@@ -797,7 +797,7 @@ class Destinations(BaseSDK):
797
797
 
798
798
  raise errors.APIError("Unexpected response received", http_res)
799
799
 
800
- async def delete_destination_by_id_async(
800
+ async def delete_async(
801
801
  self,
802
802
  *,
803
803
  id: str,
@@ -806,7 +806,7 @@ class Destinations(BaseSDK):
806
806
  timeout_ms: Optional[int] = None,
807
807
  http_headers: Optional[Mapping[str, str]] = None,
808
808
  ) -> models.DeleteOutputByIDResponse:
809
- r"""Delete Destination
809
+ r"""Delete a Destination
810
810
 
811
811
  Delete Destination
812
812
 
@@ -884,7 +884,7 @@ class Destinations(BaseSDK):
884
884
 
885
885
  raise errors.APIError("Unexpected response received", http_res)
886
886
 
887
- def delete_destination_pq_by_id(
887
+ def clear_persistent_queue(
888
888
  self,
889
889
  *,
890
890
  id: str,
@@ -893,7 +893,7 @@ class Destinations(BaseSDK):
893
893
  timeout_ms: Optional[int] = None,
894
894
  http_headers: Optional[Mapping[str, str]] = None,
895
895
  ) -> models.DeleteOutputPqByIDResponse:
896
- r"""Clears destination persistent queue
896
+ r"""Clear the persistent queue for a Destination
897
897
 
898
898
  Clears destination persistent queue
899
899
 
@@ -971,7 +971,7 @@ class Destinations(BaseSDK):
971
971
 
972
972
  raise errors.APIError("Unexpected response received", http_res)
973
973
 
974
- async def delete_destination_pq_by_id_async(
974
+ async def clear_persistent_queue_async(
975
975
  self,
976
976
  *,
977
977
  id: str,
@@ -980,7 +980,7 @@ class Destinations(BaseSDK):
980
980
  timeout_ms: Optional[int] = None,
981
981
  http_headers: Optional[Mapping[str, str]] = None,
982
982
  ) -> models.DeleteOutputPqByIDResponse:
983
- r"""Clears destination persistent queue
983
+ r"""Clear the persistent queue for a Destination
984
984
 
985
985
  Clears destination persistent queue
986
986
 
@@ -1058,7 +1058,7 @@ class Destinations(BaseSDK):
1058
1058
 
1059
1059
  raise errors.APIError("Unexpected response received", http_res)
1060
1060
 
1061
- def get_destination_pq_by_id(
1061
+ def get_persistent_queue_status(
1062
1062
  self,
1063
1063
  *,
1064
1064
  id: str,
@@ -1067,7 +1067,7 @@ class Destinations(BaseSDK):
1067
1067
  timeout_ms: Optional[int] = None,
1068
1068
  http_headers: Optional[Mapping[str, str]] = None,
1069
1069
  ) -> models.GetOutputPqByIDResponse:
1070
- r"""Retrieves status of latest clear PQ job for a destination
1070
+ r"""Retrieve information about the latest job to clear the persistent queue for a Destination
1071
1071
 
1072
1072
  Retrieves status of latest clear PQ job for a destination
1073
1073
 
@@ -1145,7 +1145,7 @@ class Destinations(BaseSDK):
1145
1145
 
1146
1146
  raise errors.APIError("Unexpected response received", http_res)
1147
1147
 
1148
- async def get_destination_pq_by_id_async(
1148
+ async def get_persistent_queue_status_async(
1149
1149
  self,
1150
1150
  *,
1151
1151
  id: str,
@@ -1154,7 +1154,7 @@ class Destinations(BaseSDK):
1154
1154
  timeout_ms: Optional[int] = None,
1155
1155
  http_headers: Optional[Mapping[str, str]] = None,
1156
1156
  ) -> models.GetOutputPqByIDResponse:
1157
- r"""Retrieves status of latest clear PQ job for a destination
1157
+ r"""Retrieve information about the latest job to clear the persistent queue for a Destination
1158
1158
 
1159
1159
  Retrieves status of latest clear PQ job for a destination
1160
1160
 
@@ -1232,7 +1232,7 @@ class Destinations(BaseSDK):
1232
1232
 
1233
1233
  raise errors.APIError("Unexpected response received", http_res)
1234
1234
 
1235
- def get_destination_samples_by_id(
1235
+ def get_sample_data(
1236
1236
  self,
1237
1237
  *,
1238
1238
  id: str,
@@ -1241,7 +1241,7 @@ class Destinations(BaseSDK):
1241
1241
  timeout_ms: Optional[int] = None,
1242
1242
  http_headers: Optional[Mapping[str, str]] = None,
1243
1243
  ) -> models.GetOutputSamplesByIDResponse:
1244
- r"""Retrieve samples data for the specified destination. Used to get sample data for the test action.
1244
+ r"""Retrieve sample event data for a Destination
1245
1245
 
1246
1246
  Retrieve samples data for the specified destination. Used to get sample data for the test action.
1247
1247
 
@@ -1321,7 +1321,7 @@ class Destinations(BaseSDK):
1321
1321
 
1322
1322
  raise errors.APIError("Unexpected response received", http_res)
1323
1323
 
1324
- async def get_destination_samples_by_id_async(
1324
+ async def get_sample_data_async(
1325
1325
  self,
1326
1326
  *,
1327
1327
  id: str,
@@ -1330,7 +1330,7 @@ class Destinations(BaseSDK):
1330
1330
  timeout_ms: Optional[int] = None,
1331
1331
  http_headers: Optional[Mapping[str, str]] = None,
1332
1332
  ) -> models.GetOutputSamplesByIDResponse:
1333
- r"""Retrieve samples data for the specified destination. Used to get sample data for the test action.
1333
+ r"""Retrieve sample event data for a Destination
1334
1334
 
1335
1335
  Retrieve samples data for the specified destination. Used to get sample data for the test action.
1336
1336
 
@@ -1410,7 +1410,7 @@ class Destinations(BaseSDK):
1410
1410
 
1411
1411
  raise errors.APIError("Unexpected response received", http_res)
1412
1412
 
1413
- def create_destination_test_by_id(
1413
+ def create_sample_data(
1414
1414
  self,
1415
1415
  *,
1416
1416
  id: str,
@@ -1420,7 +1420,7 @@ class Destinations(BaseSDK):
1420
1420
  timeout_ms: Optional[int] = None,
1421
1421
  http_headers: Optional[Mapping[str, str]] = None,
1422
1422
  ) -> models.CreateOutputTestByIDResponse:
1423
- r"""Send sample data to a destination to validate configuration or test connectivity
1423
+ r"""Send sample event data to a Destination
1424
1424
 
1425
1425
  Send sample data to a destination to validate configuration or test connectivity
1426
1426
 
@@ -1511,7 +1511,7 @@ class Destinations(BaseSDK):
1511
1511
 
1512
1512
  raise errors.APIError("Unexpected response received", http_res)
1513
1513
 
1514
- async def create_destination_test_by_id_async(
1514
+ async def create_sample_data_async(
1515
1515
  self,
1516
1516
  *,
1517
1517
  id: str,
@@ -1521,7 +1521,7 @@ class Destinations(BaseSDK):
1521
1521
  timeout_ms: Optional[int] = None,
1522
1522
  http_headers: Optional[Mapping[str, str]] = None,
1523
1523
  ) -> models.CreateOutputTestByIDResponse:
1524
- r"""Send sample data to a destination to validate configuration or test connectivity
1524
+ r"""Send sample event data to a Destination
1525
1525
 
1526
1526
  Send sample data to a destination to validate configuration or test connectivity
1527
1527