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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: cribl-control-plane
3
- Version: 0.0.23
3
+ Version: 0.0.24
4
4
  Summary: Python Client SDK Generated by Speakeasy.
5
5
  Author: Speakeasy
6
6
  Requires-Python: >=3.9.2
@@ -125,7 +125,7 @@ with CriblControlPlane(
125
125
  ),
126
126
  ) as ccp_client:
127
127
 
128
- res = ccp_client.lake.create_cribl_lake_dataset_by_lake_id(lake_id="<id>", id="<id>", accelerated_fields=[
128
+ res = ccp_client.lake_datasets.create(lake_id="<id>", id="<id>", accelerated_fields=[
129
129
  "<value 1>",
130
130
  "<value 2>",
131
131
  ], bucket_name="<value>", cache_connection={
@@ -182,7 +182,7 @@ async def main():
182
182
  ),
183
183
  ) as ccp_client:
184
184
 
185
- res = await ccp_client.lake.create_cribl_lake_dataset_by_lake_id_async(lake_id="<id>", id="<id>", accelerated_fields=[
185
+ res = await ccp_client.lake_datasets.create_async(lake_id="<id>", id="<id>", accelerated_fields=[
186
186
  "<value 1>",
187
187
  "<value 2>",
188
188
  ], bucket_name="<value>", cache_connection={
@@ -249,7 +249,7 @@ with CriblControlPlane(
249
249
  ),
250
250
  ) as ccp_client:
251
251
 
252
- res = ccp_client.lake.create_cribl_lake_dataset_by_lake_id(lake_id="<id>", id="<id>", accelerated_fields=[
252
+ res = ccp_client.lake_datasets.create(lake_id="<id>", id="<id>", accelerated_fields=[
253
253
  "<value 1>",
254
254
  "<value 2>",
255
255
  ], bucket_name="<value>", cache_connection={
@@ -298,105 +298,102 @@ with CriblControlPlane(
298
298
 
299
299
  ### [auth](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/authsdk/README.md)
300
300
 
301
- * [login](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/authsdk/README.md#login) - Log in and obtain Auth token
301
+ * [fetch_token](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/authsdk/README.md#fetch_token) - Log in and fetch an authentication token
302
302
 
303
303
 
304
- ### [destinations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md)
304
+ ### [deployments](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/deployments/README.md)
305
305
 
306
- * [list_destination](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#list_destination) - Get a list of Destination objects
307
- * [create_destination](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#create_destination) - Create Destination
308
- * [get_destination_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get_destination_by_id) - Get Destination by ID
309
- * [update_destination_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#update_destination_by_id) - Update Destination
310
- * [delete_destination_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#delete_destination_by_id) - Delete Destination
311
- * [delete_destination_pq_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#delete_destination_pq_by_id) - Clears destination persistent queue
312
- * [get_destination_pq_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get_destination_pq_by_id) - Retrieves status of latest clear PQ job for a destination
313
- * [get_destination_samples_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get_destination_samples_by_id) - Retrieve samples data for the specified destination. Used to get sample data for the test action.
314
- * [create_destination_test_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#create_destination_test_by_id) - Send sample data to a destination to validate configuration or test connectivity
306
+ * [get_summary](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/deployments/README.md#get_summary) - Retrieve a summary of the Distributed deployment
315
307
 
316
- ### [distributed](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/distributed/README.md)
308
+ ### [destinations](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md)
317
309
 
318
- * [get_summary](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/distributed/README.md#get_summary) - Get summary of Distributed deployment
310
+ * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#list) - List all Destinations
311
+ * [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#create) - Create a Destination
312
+ * [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get) - Retrieve a Destination
313
+ * [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#update) - Update a Destination
314
+ * [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#delete) - Delete a Destination
315
+ * [clear_persistent_queue](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#clear_persistent_queue) - Clear the persistent queue for a Destination
316
+ * [get_persistent_queue_status](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get_persistent_queue_status) - Retrieve information about the latest job to clear the persistent queue for a Destination
317
+ * [get_sample_data](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#get_sample_data) - Retrieve sample event data for a Destination
318
+ * [create_sample_data](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/destinations/README.md#create_sample_data) - Send sample event data to a Destination
319
319
 
320
320
  ### [groups](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md)
321
321
 
322
- * [get_groups_config_version_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_groups_config_version_by_id) - Get effective bundle version for given Group
323
- * [create_products_groups_by_product](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#create_products_groups_by_product) - Create a Fleet or Worker Group
324
- * [get_products_groups_by_product](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_products_groups_by_product) - Get a list of ConfigGroup objects
325
- * [delete_groups_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#delete_groups_by_id) - Delete a Fleet or Worker Group
326
- * [get_groups_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_groups_by_id) - Get a specific ConfigGroup object
327
- * [update_groups_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#update_groups_by_id) - Update a Fleet or Worker Group
328
- * [update_groups_deploy_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#update_groups_deploy_by_id) - Deploy commits for a Fleet or Worker Group
329
- * [get_groups_acl_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_groups_acl_by_id) - ACL of members with permissions for resources in this Group
322
+ * [get_config_version](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_config_version) - Retrieve the configuration version for a Worker Group or Edge Fleet
323
+ * [create_by_product](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#create_by_product) - Create a Worker Group or Edge Fleet for the specified Cribl product
324
+ * [get_by_product](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_by_product) - List all Worker Groups or Edge Fleets for the specified Cribl product
325
+ * [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#delete) - Delete a Worker Group or Edge Fleet
326
+ * [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get) - Retrieve a Worker Group or Edge Fleet
327
+ * [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#update) - Update a Worker Group or Edge Fleet
328
+ * [deploy_commits](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#deploy_commits) - Deploy commits to a Worker Group or Edge Fleet
329
+ * [get_team_access_control_list_by_product](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_team_access_control_list_by_product) - Retrieve the Access Control List (ACL) for teams with permissions on a Worker Group or Edge Fleet for the specified Cribl product
330
+ * [get_access_control_list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/groupssdk/README.md#get_access_control_list) - Retrieve the Access Control List (ACL) for a Worker Group or Edge Fleet
331
+
332
+ ### [health_info](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/healthinfo/README.md)
330
333
 
331
- ### [health](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/health/README.md)
334
+ * [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/healthinfo/README.md#get) - Retrieve health status of the server
332
335
 
333
- * [get_health_info](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/health/README.md#get_health_info) - Provides health info for REST server
336
+ ### [lake_datasets](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md)
334
337
 
335
- ### [lake](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lake/README.md)
338
+ * [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md#create) - Create a Lake Dataset in the specified Lake
339
+ * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md#list) - List all Lake Datasets in the specified Lake
340
+ * [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md#delete) - Delete a Lake Dataset in the specified Lake
341
+ * [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md#get) - Retrieve a Lake Dataset in the specified Lake
342
+ * [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lakedatasets/README.md#update) - Update a Lake Dataset in the specified Lake
336
343
 
337
- * [create_cribl_lake_dataset_by_lake_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lake/README.md#create_cribl_lake_dataset_by_lake_id) - Create a Dataset in the specified Lake
338
- * [get_cribl_lake_dataset_by_lake_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lake/README.md#get_cribl_lake_dataset_by_lake_id) - Get the list of Dataset contained in the specified Lake
339
- * [delete_cribl_lake_dataset_by_lake_id_and_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lake/README.md#delete_cribl_lake_dataset_by_lake_id_and_id) - Delete a Dataset in the specified Lake
340
- * [get_cribl_lake_dataset_by_lake_id_and_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lake/README.md#get_cribl_lake_dataset_by_lake_id_and_id) - Get a Dataset in the specified Lake
341
- * [update_cribl_lake_dataset_by_lake_id_and_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/lake/README.md#update_cribl_lake_dataset_by_lake_id_and_id) - Update a Dataset in the specified Lake
344
+ ### [nodes](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md)
345
+
346
+ * [get_count](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md#get_count) - Retrieve a count of Worker and Edge Nodes
347
+ * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md#list) - Retrieve detailed metadata for Worker and Edge Nodes
348
+ * [restart](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/nodes/README.md#restart) - Restart Worker and Edge Nodes
342
349
 
343
350
  ### [packs](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md)
344
351
 
345
- * [create_packs](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#create_packs) - Install Pack
346
- * [get_packs](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#get_packs) - Get info on packs
347
- * [delete_packs_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#delete_packs_by_id) - Uninstall Pack from the system
348
- * [update_packs_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#update_packs_by_id) - Upgrade Pack
352
+ * [install](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#install) - Install a Pack
353
+ * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#list) - List all Packs
354
+ * [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#delete) - Uninstall a Pack
355
+ * [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/packs/README.md#update) - Update a Pack
349
356
 
350
357
  ### [pipelines](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md)
351
358
 
352
359
  * [list_pipeline](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#list_pipeline) - Get a list of Pipeline objects
353
- * [create_pipeline](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#create_pipeline) - Create Pipeline
360
+ * [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#create) - Create a Pipeline
354
361
  * [get_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#get_pipeline_by_id) - Get Pipeline by ID
355
- * [update_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#update_pipeline_by_id) - Update Pipeline
362
+ * [update_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#update_pipeline_by_id) - Update a Pipeline
356
363
  * [delete_pipeline_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/pipelines/README.md#delete_pipeline_by_id) - Delete Pipeline
357
364
 
358
365
  ### [routes](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md)
359
366
 
360
- * [list_routes](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#list_routes) - Get a list of Routes objects
361
- * [get_routes_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#get_routes_by_id) - Get Routes by ID
362
- * [update_routes_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#update_routes_by_id) - Update Routes
363
- * [create_routes_append_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#create_routes_append_by_id) - Appends routes to the end of the routing table
367
+ * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#list) - Get a list of Routes objects
368
+ * [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#get) - Get Routes by ID
369
+ * [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#update) - Update Routes
370
+ * [append](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/routessdk/README.md#append) - Append Routes to the end of the Routing table
364
371
 
365
372
  ### [sources](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md)
366
373
 
367
- * [list_source](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#list_source) - Get a list of Source objects
368
- * [create_source](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#create_source) - Create Source
369
- * [get_source_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#get_source_by_id) - Get Source by ID
370
- * [update_source_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#update_source_by_id) - Update Source
371
- * [delete_source_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#delete_source_by_id) - Delete Source
372
- * [create_source_hec_token_by_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#create_source_hec_token_by_id) - Add token and optional metadata to an existing HEC Source
373
- * [update_source_hec_token_by_id_and_token](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#update_source_hec_token_by_id_and_token) - Update token metadata on existing HEC Source
374
-
375
- ### [teams](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/teams/README.md)
376
-
377
- * [get_products_groups_acl_teams_by_product_and_id](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/teams/README.md#get_products_groups_acl_teams_by_product_and_id) - ACL of team with permissions for resources in this Group
374
+ * [list](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#list) - List all Sources
375
+ * [create](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#create) - Create a Source
376
+ * [get](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#get) - Retrieve a Source
377
+ * [update](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#update) - Update a Source
378
+ * [delete](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#delete) - Delete a Source
379
+ * [create_hec_token](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#create_hec_token) - Add an HEC token and optional metadata to a Splunk HEC Source
380
+ * [update_hec_token_metadata](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/sources/README.md#update_hec_token_metadata) - Update metadata for an HEC token for a Splunk HEC Source
378
381
 
379
382
  ### [versioning](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md)
380
383
 
381
- * [get_version_branch](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_version_branch) - get the list of branches
382
- * [create_version_commit](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#create_version_commit) - create a new commit containing the current configs the given log message describing the changes.
383
- * [get_version_count](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_version_count) - get the count of files of changed
384
- * [get_version_current_branch](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_version_current_branch) - returns git branch that the config is checked out to, if any
385
- * [get_version_diff](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_version_diff) - get the textual diff for given commit
386
- * [get_version_files](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_version_files) - get the files changed
387
- * [get_version_info](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_version_info) - Get info about versioning availability
388
- * [create_version_push](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#create_version_push) - push the current configs to the remote repository.
389
- * [create_version_revert](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#create_version_revert) - revert a commit
390
- * [get_version_show](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_version_show) - get the log message and textual diff for given commit
391
- * [get_version_status](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_version_status) - get the the working tree status
392
- * [create_version_sync](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#create_version_sync) - syncs with remote repo via POST requests
393
- * [create_version_undo](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#create_version_undo) - undo the last commit
394
-
395
- ### [workers](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/workerssdk/README.md)
396
-
397
- * [get_summary_workers](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/workerssdk/README.md#get_summary_workers) - get worker and edge nodes count
398
- * [get_workers](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/workerssdk/README.md#get_workers) - get worker and edge nodes
399
- * [update_workers_restart](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/workerssdk/README.md#update_workers_restart) - restarts worker nodes
384
+ * [get_branch](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_branch) - List all branches in the Git repository used for Cribl configuration
385
+ * [create_commit](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#create_commit) - Create a new commit for pending changes to the Cribl configuration
386
+ * [get_file_count](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_file_count) - Retrieve a count of files that changed since a commit
387
+ * [get_branch_name](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_branch_name) - Retrieve the name of the Git branch that the Cribl configuration is checked out to
388
+ * [get_diff](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_diff) - Retrieve the diff for a commit
389
+ * [get_file_info](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_file_info) - Retrieve the names and statuses of files that changed since a commit
390
+ * [get_config_status](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_config_status) - Retrieve the configuration and status for the Git integration
391
+ * [push_commit](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#push_commit) - Push a commit from the local repository to the remote repository
392
+ * [revert_commit](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#revert_commit) - Revert a commit in the local repository
393
+ * [show_commit](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#show_commit) - Retrieve the diff and log message for a commit
394
+ * [get_current_status](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#get_current_status) - Retrieve the status of the current working tree
395
+ * [sync_local_remote](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#sync_local_remote) - Synchronize the local branch with the remote repository
396
+ * [clean_working_dir](https://github.com/criblio/cribl_control_plane_sdk_python/blob/master/docs/sdks/versioning/README.md#clean_working_dir) - Undo the most recent commit and restore the local repository to the previous commit
400
397
 
401
398
  </details>
402
399
  <!-- End Available Resources and Operations [operations] -->
@@ -420,7 +417,7 @@ with CriblControlPlane(
420
417
  ),
421
418
  ) as ccp_client:
422
419
 
423
- res = ccp_client.lake.create_cribl_lake_dataset_by_lake_id(lake_id="<id>", id="<id>", accelerated_fields=[
420
+ res = ccp_client.lake_datasets.create(lake_id="<id>", id="<id>", accelerated_fields=[
424
421
  "<value 1>",
425
422
  "<value 2>",
426
423
  ], bucket_name="<value>", cache_connection={
@@ -476,7 +473,7 @@ with CriblControlPlane(
476
473
  ),
477
474
  ) as ccp_client:
478
475
 
479
- res = ccp_client.lake.create_cribl_lake_dataset_by_lake_id(lake_id="<id>", id="<id>", accelerated_fields=[
476
+ res = ccp_client.lake_datasets.create(lake_id="<id>", id="<id>", accelerated_fields=[
480
477
  "<value 1>",
481
478
  "<value 2>",
482
479
  ], bucket_name="<value>", cache_connection={
@@ -546,7 +543,7 @@ with CriblControlPlane(
546
543
  res = None
547
544
  try:
548
545
 
549
- res = ccp_client.lake.create_cribl_lake_dataset_by_lake_id(lake_id="<id>", id="<id>", accelerated_fields=[
546
+ res = ccp_client.lake_datasets.create(lake_id="<id>", id="<id>", accelerated_fields=[
550
547
  "<value 1>",
551
548
  "<value 2>",
552
549
  ], bucket_name="<value>", cache_connection={
@@ -4,11 +4,11 @@ cribl_control_plane/_hooks/clientcredentials.py,sha256=gVQkktlv3q4-AHOdbQl5r8i-G
4
4
  cribl_control_plane/_hooks/registration.py,sha256=1QZB41w6If7I9dXiOSQx6dhSc6BPWrnI5Q5bMOr4iVA,624
5
5
  cribl_control_plane/_hooks/sdkhooks.py,sha256=ggXjME1_Rdv8CVCg1XHqB83eYtbxzKyhXyfQ36Yc1gA,2816
6
6
  cribl_control_plane/_hooks/types.py,sha256=Tw_C4zTZm01rW_89VDEUpvQ8KQr1WxN0Gu_-s_fYSPc,2998
7
- cribl_control_plane/_version.py,sha256=cgVLQJDNQmrSJ7JHZ5Lxo7mPea-mdceK4-EeszQwAnw,542
8
- cribl_control_plane/auth_sdk.py,sha256=Jxw8hPHbBFay5eXcaRBtgdCC06mh5XHkRbZcIM0vvB8,7431
7
+ cribl_control_plane/_version.py,sha256=LTLOFLxsK0EM3ArhsGTujhND6g8XYsC9WU3tJ9DQC8I,542
8
+ cribl_control_plane/auth_sdk.py,sha256=4-cZmuGLihXpQTr3cI6cNo_MW3ucph8Dzq1DSijUZQk,7467
9
9
  cribl_control_plane/basesdk.py,sha256=amvvB5iPT7c-L6NLo2Rhu2f7xWaapsa6OfQ37SICXOw,11954
10
- cribl_control_plane/destinations.py,sha256=T-jyMaiocU9pCzBymc4K7lxlx3LH2XKKNxR17fi1ixg,65565
11
- cribl_control_plane/distributed.py,sha256=l_XY710__p9Ghju9CTYT9fYBGvfoitqbStY3gC9cayE,7507
10
+ cribl_control_plane/deployments.py,sha256=cYDu7W6IRec0-urpDXLNNUtoFdxsle2XV_i1cwB1aI4,7486
11
+ cribl_control_plane/destinations.py,sha256=-jTXxdmKWCZZS030t5J1uoe09rOU_hUwPXJkueUQ4xY,65239
12
12
  cribl_control_plane/errors/__init__.py,sha256=Xyh3WNPYYsJGQfGBLeaaK6eqwsJOtx-__zmvwwr4Mns,1833
13
13
  cribl_control_plane/errors/apierror.py,sha256=Z3b3zk672zHljcdijGLJeJ2LiP1f3VpVDEqUuF7LDAA,1253
14
14
  cribl_control_plane/errors/criblcontrolplaneerror.py,sha256=P9SU33LkmvyURdJbndHJxXu2KW_3u059peZJ8C80LfM,724
@@ -16,10 +16,10 @@ cribl_control_plane/errors/error.py,sha256=fZ72R_qeZ0-xd514dVqKKiqh7zzLmnkpPJfck
16
16
  cribl_control_plane/errors/healthstatus_error.py,sha256=euamtBp065afnXzeaBMjGlQGAN3ONZfDK-RR--FOIzo,962
17
17
  cribl_control_plane/errors/no_response_error.py,sha256=FQG44Lq6uF7uUlzbUYfM3dJon6sbqXzJ0Ri6YrDdsEs,380
18
18
  cribl_control_plane/errors/responsevalidationerror.py,sha256=TvZ9dOsy-oFBYA_wZCOOEXeGKMBQtzCVX-1-i7epQTE,720
19
- cribl_control_plane/groups_sdk.py,sha256=VHmHxqR66luhwZlEaz5EfOdmpc8elKjK8j3UYcOkFAg,72331
20
- cribl_control_plane/health.py,sha256=nK_Q4lDXi8zkfAqcIv9X4zBGi8BzomaBQWBD7TsSwLk,6743
19
+ cribl_control_plane/groups_sdk.py,sha256=rkyVzmd9PJmCzipIIX-mbdtUJiPH35Raxxoo8S5WOW4,80527
20
+ cribl_control_plane/healthinfo.py,sha256=R3WlFwiuXNcsITJEoAxLZGYwLJa7HYHosZDCb6LD6q8,6673
21
21
  cribl_control_plane/httpclient.py,sha256=Eu73urOAiZQtdUIyOUnPccxCiBbWEKrXG-JrRG3SLM4,3946
22
- cribl_control_plane/lake.py,sha256=dHWnoO4KKOO8fncrdOqnc2sN4nGAWc6nX4UdNP4kx40,46484
22
+ cribl_control_plane/lakedatasets.py,sha256=Y0sEW-RZIbgKuDeAAhf7m4q8iNRJn1hg38sARR3eBfQ,46144
23
23
  cribl_control_plane/models/__init__.py,sha256=_BNkonhbdD1yPYE4Yh8qza0kSiYxgDGC5dfXraN7Ck8,353083
24
24
  cribl_control_plane/models/addhectokenrequest.py,sha256=mzQLKrMWlwxNheqEs5SM_yrT-gyenfCWgHKhmb5oXFQ,800
25
25
  cribl_control_plane/models/appmode.py,sha256=5xRJz9oP5ah4b6dcay4Q1IbQ9irm6k6x2BrTNysIMY4,300
@@ -37,7 +37,7 @@ cribl_control_plane/models/createinputop.py,sha256=l5Hz9ANzw4Gjh25FVf_okFzXxZWjA
37
37
  cribl_control_plane/models/createoutputop.py,sha256=lWgs9T_pZR5bHcA0SZndbLuUPjVa_D_uFpqTuM7JiPc,718
38
38
  cribl_control_plane/models/createoutputtestbyidop.py,sha256=2ll9hE3r0VTgyOD7U2obiQFQF4NlbrlEBG3lPXsI5Y8,1533
39
39
  cribl_control_plane/models/createpacksop.py,sha256=ZWmUQ9KU6XbSh_oL7-txQw-7esp-yLexHQvgL2Aw9Mw,769
40
- cribl_control_plane/models/createpipelineop.py,sha256=JNTwQf1nQk5kCYbAvSlLex2X9sTzjwIHoeMeIUbD-NE,726
40
+ cribl_control_plane/models/createpipelineop.py,sha256=vUHkNhYvYqhSAte_1jeBqry7tUL7W6T_s1M7vivuKwg,728
41
41
  cribl_control_plane/models/createproductsgroupsbyproductop.py,sha256=PfVpkgs9imEG2udLXoLB7kTaD2dzOLtI8Ao5MDWyGJE,1633
42
42
  cribl_control_plane/models/createroutesappendbyidop.py,sha256=_Fo5lDkv-lqPxS2R59cIBP9A9jnc9SpPjAwNg1dCLI8,1515
43
43
  cribl_control_plane/models/createversioncommitop.py,sha256=Fez4Jsmqc7H8VJctK6UR-ay7ZihL7dNg5zPBLOeDK4E,792
@@ -261,18 +261,18 @@ cribl_control_plane/models/updateinputbyidop.py,sha256=RgxKN5ev3gImWuRZGHFXOE9nA
261
261
  cribl_control_plane/models/updateinputhectokenbyidandtokenop.py,sha256=-Q8ZP1yDmQmB9aylQNTs4zR1q6NH-Gi2fhlyiDyqWKI,1677
262
262
  cribl_control_plane/models/updateoutputbyidop.py,sha256=JMdnqmkiXN2tQj0VWfj9q0CrsJXqI452KD-mdg6wPdQ,1295
263
263
  cribl_control_plane/models/updatepacksbyidop.py,sha256=nQeRQF-NTOCRMWz_gXfYlN0-I2OMM8Rovh_vAq73wzw,1965
264
- cribl_control_plane/models/updatepipelinebyidop.py,sha256=CPCiszliWVcewMyZ26_R8OvtbJA8RwrEj_XQFoZTSJg,1420
265
- cribl_control_plane/models/updateroutesbyidop.py,sha256=JwhFyXiq36Fcu6hyU0U1gF2N9dcLLX8iXjg-7njSPxQ,1386
264
+ cribl_control_plane/models/updatepipelinebyidop.py,sha256=B13h6gadw4NV7waH6yoDKCR2YCzVS8XZrzB_5PG9CmE,1410
265
+ cribl_control_plane/models/updateroutesbyidop.py,sha256=CoEURdSBZ4-pp1WSncdT_oZCbx3o7MlmMSDY0D44D_o,1358
266
266
  cribl_control_plane/models/updateworkersrestartop.py,sha256=OwX1snIrUTfghc0Pb2PpI5IO6NS-aL0BOMzWqLl8GAA,787
267
267
  cribl_control_plane/models/useraccesscontrollist.py,sha256=UNM3mdqFByd9GAovAi26z9y-5H15hrKDzw0M-f-Pn2o,483
268
- cribl_control_plane/packs.py,sha256=N9j_Y4kb-ncuUFUTt174L4V-2edU-UnYJyEpQUFzdA0,31960
269
- cribl_control_plane/pipelines.py,sha256=L-HbP4gyl05hxb4-HNvkFrk1w6xFccfNr4-AJy3Vjxo,36038
268
+ cribl_control_plane/nodes.py,sha256=UDrbXsAMTm2b_xvlmaL0lyj2nL2EEHYYnWuE98GOhfs,22648
269
+ cribl_control_plane/packs.py,sha256=Ka1zVuKCDO4Wi6Z8PWYh8KMdVoLSdO6_Mec2rgqg8Ao,31864
270
+ cribl_control_plane/pipelines.py,sha256=BCmw0DylPH4o-4wcRqfPhJdTsFwvw5UTG-ZMtkqwKi0,36036
270
271
  cribl_control_plane/py.typed,sha256=zrp19r0G21lr2yRiMC0f8MFkQFGj9wMpSbboePMg8KM,59
271
- cribl_control_plane/routes_sdk.py,sha256=MI8jeyMT7DHXqktzpmgvsKmFSkm9luYcYySPXYsdzX0,31133
272
- cribl_control_plane/sdk.py,sha256=KETenTkN2K1Z_0HLjbxKW27vF6MOU7dVDbBan1VsiMI,8080
272
+ cribl_control_plane/routes_sdk.py,sha256=Snb8Dmim7Fm9EsMqbyjuPnXKmqhJ10L_t1bujJUWTyM,31025
273
+ cribl_control_plane/sdk.py,sha256=ReApgzvqf_k4lhUwPwHaFd4XCxFIpgHgxcqAlyIGfJw,7813
273
274
  cribl_control_plane/sdkconfiguration.py,sha256=bit6SSOyHqvibdtgNad5_ZcgMotk8NJfgHpKsBK8HFg,1259
274
- cribl_control_plane/sources.py,sha256=xRjphI7sdE9v8bWPX8AThbRq-Bl3N6oTDEV9d8-EWek,54120
275
- cribl_control_plane/teams.py,sha256=nE97lQfpbbjJ12TbEir1B7swkhXOz5bj7aFVSImyry0,8517
275
+ cribl_control_plane/sources.py,sha256=Q1frEfitda-Xayiv4p6fHJmmZlKwm0daWt53hmhe8Sw,53982
276
276
  cribl_control_plane/types/__init__.py,sha256=RArOwSgeeTIva6h-4ttjXwMUeCkz10nAFBL9D-QljI4,377
277
277
  cribl_control_plane/types/basemodel.py,sha256=L79WXvTECbSqaJzs8D3ud_KdIWkU7Cx2wbohDAktE9E,1127
278
278
  cribl_control_plane/utils/__init__.py,sha256=BQt6xIdX86A6mOHAnxAXBXaPgdUJtDy2-_4ymAsII_Y,5436
@@ -292,8 +292,7 @@ cribl_control_plane/utils/serializers.py,sha256=Hndks5M_rJXVub_N5lu0gKZQUoEmWrn6
292
292
  cribl_control_plane/utils/unmarshal_json_response.py,sha256=yxi3F_O3SCU0SrexiR3BvQS-E81pW2siLgpTXYegAyg,595
293
293
  cribl_control_plane/utils/url.py,sha256=BgGPgcTA6MRK4bF8fjP2dUopN3NzEzxWMXPBVg8NQUA,5254
294
294
  cribl_control_plane/utils/values.py,sha256=CcaCXEa3xHhkUDROyXZocN8f0bdITftv9Y0P9lTf0YM,3517
295
- cribl_control_plane/versioning.py,sha256=-bUutXEf__ewPHzgZshBImZZyQILigzXp1H8ZBCFBbQ,93847
296
- cribl_control_plane/workers_sdk.py,sha256=qEt_s-Zfg8zyzWEHnOtqYzTiNzFSwEalG-1lSYzVJWc,22666
297
- cribl_control_plane-0.0.23.dist-info/METADATA,sha256=dilK3c7wuEhD7V1IiLiH2_czuUMUInjZ_UTnTFtTfVM,39276
298
- cribl_control_plane-0.0.23.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
299
- cribl_control_plane-0.0.23.dist-info/RECORD,,
295
+ cribl_control_plane/versioning.py,sha256=ZbIdPT5o0vG40_LlhB6aLC9eJYkY7t0BfObSIEJNNRU,94203
296
+ cribl_control_plane-0.0.24.dist-info/METADATA,sha256=ueVUzW9MW5F_2NktXNbamkX5a9mgypa1NFB9Xh35Oek,38246
297
+ cribl_control_plane-0.0.24.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
298
+ cribl_control_plane-0.0.24.dist-info/RECORD,,
@@ -1,203 +0,0 @@
1
- """Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
2
-
3
- from .basesdk import BaseSDK
4
- from cribl_control_plane import errors, models, utils
5
- from cribl_control_plane._hooks import HookContext
6
- from cribl_control_plane.types import OptionalNullable, UNSET
7
- from cribl_control_plane.utils import get_security_from_env
8
- from cribl_control_plane.utils.unmarshal_json_response import unmarshal_json_response
9
- from typing import Any, Mapping, Optional
10
-
11
-
12
- class Teams(BaseSDK):
13
- r"""Actions related to Teams"""
14
-
15
- def get_products_groups_acl_teams_by_product_and_id(
16
- self,
17
- *,
18
- product: models.GetProductsGroupsACLTeamsByProductAndIDProduct,
19
- id: str,
20
- type_: Optional[models.GetProductsGroupsACLTeamsByProductAndIDType] = None,
21
- retries: OptionalNullable[utils.RetryConfig] = UNSET,
22
- server_url: Optional[str] = None,
23
- timeout_ms: Optional[int] = None,
24
- http_headers: Optional[Mapping[str, str]] = None,
25
- ) -> models.GetProductsGroupsACLTeamsByProductAndIDResponse:
26
- r"""ACL of team with permissions for resources in this Group
27
-
28
- ACL of team with permissions for resources in this Group
29
-
30
- :param product: Cribl Product
31
- :param id: Group ID
32
- :param type: resource type by which to filter access levels
33
- :param retries: Override the default retry configuration for this method
34
- :param server_url: Override the default server URL for this method
35
- :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
36
- :param http_headers: Additional headers to set or replace on requests.
37
- """
38
- base_url = None
39
- url_variables = None
40
- if timeout_ms is None:
41
- timeout_ms = self.sdk_configuration.timeout_ms
42
-
43
- if server_url is not None:
44
- base_url = server_url
45
- else:
46
- base_url = self._get_url(base_url, url_variables)
47
-
48
- request = models.GetProductsGroupsACLTeamsByProductAndIDRequest(
49
- product=product,
50
- id=id,
51
- type=type_,
52
- )
53
-
54
- req = self._build_request(
55
- method="GET",
56
- path="/products/{product}/groups/{id}/acl/teams",
57
- base_url=base_url,
58
- url_variables=url_variables,
59
- request=request,
60
- request_body_required=False,
61
- request_has_path_params=True,
62
- request_has_query_params=True,
63
- user_agent_header="user-agent",
64
- accept_header_value="application/json",
65
- http_headers=http_headers,
66
- security=self.sdk_configuration.security,
67
- timeout_ms=timeout_ms,
68
- )
69
-
70
- if retries == UNSET:
71
- if self.sdk_configuration.retry_config is not UNSET:
72
- retries = self.sdk_configuration.retry_config
73
-
74
- retry_config = None
75
- if isinstance(retries, utils.RetryConfig):
76
- retry_config = (retries, ["429", "500", "502", "503", "504"])
77
-
78
- http_res = self.do_request(
79
- hook_ctx=HookContext(
80
- config=self.sdk_configuration,
81
- base_url=base_url or "",
82
- operation_id="getProductsGroupsAclTeamsByProductAndId",
83
- oauth2_scopes=[],
84
- security_source=get_security_from_env(
85
- self.sdk_configuration.security, models.Security
86
- ),
87
- ),
88
- request=req,
89
- error_status_codes=["401", "4XX", "500", "5XX"],
90
- retry_config=retry_config,
91
- )
92
-
93
- response_data: Any = None
94
- if utils.match_response(http_res, "200", "application/json"):
95
- return unmarshal_json_response(
96
- models.GetProductsGroupsACLTeamsByProductAndIDResponse, http_res
97
- )
98
- if utils.match_response(http_res, "500", "application/json"):
99
- response_data = unmarshal_json_response(errors.ErrorData, http_res)
100
- raise errors.Error(response_data, http_res)
101
- if utils.match_response(http_res, ["401", "4XX"], "*"):
102
- http_res_text = utils.stream_to_text(http_res)
103
- raise errors.APIError("API error occurred", http_res, http_res_text)
104
- if utils.match_response(http_res, "5XX", "*"):
105
- http_res_text = utils.stream_to_text(http_res)
106
- raise errors.APIError("API error occurred", http_res, http_res_text)
107
-
108
- raise errors.APIError("Unexpected response received", http_res)
109
-
110
- async def get_products_groups_acl_teams_by_product_and_id_async(
111
- self,
112
- *,
113
- product: models.GetProductsGroupsACLTeamsByProductAndIDProduct,
114
- id: str,
115
- type_: Optional[models.GetProductsGroupsACLTeamsByProductAndIDType] = None,
116
- retries: OptionalNullable[utils.RetryConfig] = UNSET,
117
- server_url: Optional[str] = None,
118
- timeout_ms: Optional[int] = None,
119
- http_headers: Optional[Mapping[str, str]] = None,
120
- ) -> models.GetProductsGroupsACLTeamsByProductAndIDResponse:
121
- r"""ACL of team with permissions for resources in this Group
122
-
123
- ACL of team with permissions for resources in this Group
124
-
125
- :param product: Cribl Product
126
- :param id: Group ID
127
- :param type: resource type by which to filter access levels
128
- :param retries: Override the default retry configuration for this method
129
- :param server_url: Override the default server URL for this method
130
- :param timeout_ms: Override the default request timeout configuration for this method in milliseconds
131
- :param http_headers: Additional headers to set or replace on requests.
132
- """
133
- base_url = None
134
- url_variables = None
135
- if timeout_ms is None:
136
- timeout_ms = self.sdk_configuration.timeout_ms
137
-
138
- if server_url is not None:
139
- base_url = server_url
140
- else:
141
- base_url = self._get_url(base_url, url_variables)
142
-
143
- request = models.GetProductsGroupsACLTeamsByProductAndIDRequest(
144
- product=product,
145
- id=id,
146
- type=type_,
147
- )
148
-
149
- req = self._build_request_async(
150
- method="GET",
151
- path="/products/{product}/groups/{id}/acl/teams",
152
- base_url=base_url,
153
- url_variables=url_variables,
154
- request=request,
155
- request_body_required=False,
156
- request_has_path_params=True,
157
- request_has_query_params=True,
158
- user_agent_header="user-agent",
159
- accept_header_value="application/json",
160
- http_headers=http_headers,
161
- security=self.sdk_configuration.security,
162
- timeout_ms=timeout_ms,
163
- )
164
-
165
- if retries == UNSET:
166
- if self.sdk_configuration.retry_config is not UNSET:
167
- retries = self.sdk_configuration.retry_config
168
-
169
- retry_config = None
170
- if isinstance(retries, utils.RetryConfig):
171
- retry_config = (retries, ["429", "500", "502", "503", "504"])
172
-
173
- http_res = await self.do_request_async(
174
- hook_ctx=HookContext(
175
- config=self.sdk_configuration,
176
- base_url=base_url or "",
177
- operation_id="getProductsGroupsAclTeamsByProductAndId",
178
- oauth2_scopes=[],
179
- security_source=get_security_from_env(
180
- self.sdk_configuration.security, models.Security
181
- ),
182
- ),
183
- request=req,
184
- error_status_codes=["401", "4XX", "500", "5XX"],
185
- retry_config=retry_config,
186
- )
187
-
188
- response_data: Any = None
189
- if utils.match_response(http_res, "200", "application/json"):
190
- return unmarshal_json_response(
191
- models.GetProductsGroupsACLTeamsByProductAndIDResponse, http_res
192
- )
193
- if utils.match_response(http_res, "500", "application/json"):
194
- response_data = unmarshal_json_response(errors.ErrorData, http_res)
195
- raise errors.Error(response_data, http_res)
196
- if utils.match_response(http_res, ["401", "4XX"], "*"):
197
- http_res_text = await utils.stream_to_text_async(http_res)
198
- raise errors.APIError("API error occurred", http_res, http_res_text)
199
- if utils.match_response(http_res, "5XX", "*"):
200
- http_res_text = await utils.stream_to_text_async(http_res)
201
- raise errors.APIError("API error occurred", http_res, http_res_text)
202
-
203
- raise errors.APIError("Unexpected response received", http_res)