anyscale 0.26.2__py3-none-any.whl → 0.26.4__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.
Files changed (48) hide show
  1. anyscale/_private/docgen/models.md +2 -1
  2. anyscale/_private/workload/workload_config.py +11 -0
  3. anyscale/_private/workload/workload_sdk.py +4 -0
  4. anyscale/client/README.md +3 -43
  5. anyscale/client/openapi_client/__init__.py +0 -26
  6. anyscale/client/openapi_client/api/default_api.py +368 -2030
  7. anyscale/client/openapi_client/models/__init__.py +0 -26
  8. anyscale/client/openapi_client/models/node_type.py +2 -1
  9. anyscale/client/openapi_client/models/ray_runtime_env_config.py +29 -1
  10. anyscale/client/openapi_client/models/train_run.py +29 -3
  11. anyscale/client/openapi_client/models/train_worker.py +29 -3
  12. anyscale/job/_private/job_sdk.py +4 -0
  13. anyscale/sdk/anyscale_client/models/node_type.py +2 -1
  14. anyscale/sdk/anyscale_client/models/ray_runtime_env_config.py +29 -1
  15. anyscale/version.py +1 -1
  16. {anyscale-0.26.2.dist-info → anyscale-0.26.4.dist-info}/METADATA +1 -1
  17. {anyscale-0.26.2.dist-info → anyscale-0.26.4.dist-info}/RECORD +22 -48
  18. anyscale/client/openapi_client/models/aica_endpoint.py +0 -527
  19. anyscale/client/openapi_client/models/aica_endpoint_event.py +0 -433
  20. anyscale/client/openapi_client/models/aica_endpoint_event_level.py +0 -103
  21. anyscale/client/openapi_client/models/aica_endpoint_event_type.py +0 -120
  22. anyscale/client/openapi_client/models/aica_endpoint_scope.py +0 -102
  23. anyscale/client/openapi_client/models/aica_model.py +0 -398
  24. anyscale/client/openapi_client/models/aica_model_accelerator_map.py +0 -123
  25. anyscale/client/openapi_client/models/aica_model_configuration.py +0 -209
  26. anyscale/client/openapi_client/models/aica_observability_urls.py +0 -178
  27. anyscale/client/openapi_client/models/aicaendpoint_list_response.py +0 -147
  28. anyscale/client/openapi_client/models/aicaendpoint_response.py +0 -121
  29. anyscale/client/openapi_client/models/aicaendpointevent_list_response.py +0 -147
  30. anyscale/client/openapi_client/models/aicamodel_list_response.py +0 -147
  31. anyscale/client/openapi_client/models/aicamodel_response.py +0 -121
  32. anyscale/client/openapi_client/models/aws_credentials.py +0 -181
  33. anyscale/client/openapi_client/models/create_aica_endpoint.py +0 -210
  34. anyscale/client/openapi_client/models/create_cloud_with_cloud_resource.py +0 -546
  35. anyscale/client/openapi_client/models/import_aica_model.py +0 -241
  36. anyscale/client/openapi_client/models/log_detail.py +0 -187
  37. anyscale/client/openapi_client/models/log_details.py +0 -151
  38. anyscale/client/openapi_client/models/logdetails_response.py +0 -121
  39. anyscale/client/openapi_client/models/named_entity.py +0 -148
  40. anyscale/client/openapi_client/models/provider_metadata.py +0 -205
  41. anyscale/client/openapi_client/models/providermetadata_response.py +0 -121
  42. anyscale/client/openapi_client/models/update_endpoint.py +0 -152
  43. anyscale/client/openapi_client/models/update_model_deployment.py +0 -152
  44. {anyscale-0.26.2.dist-info → anyscale-0.26.4.dist-info}/LICENSE +0 -0
  45. {anyscale-0.26.2.dist-info → anyscale-0.26.4.dist-info}/NOTICE +0 -0
  46. {anyscale-0.26.2.dist-info → anyscale-0.26.4.dist-info}/WHEEL +0 -0
  47. {anyscale-0.26.2.dist-info → anyscale-0.26.4.dist-info}/entry_points.txt +0 -0
  48. {anyscale-0.26.2.dist-info → anyscale-0.26.4.dist-info}/top_level.txt +0 -0
@@ -895,120 +895,6 @@ class DefaultApi(object):
895
895
  _request_timeout=local_var_params.get('_request_timeout'),
896
896
  collection_formats=collection_formats)
897
897
 
898
- def archive_aica_endpoint_api_v2_aica_endpoints_endpoint_id_delete(self, endpoint_id, **kwargs): # noqa: E501
899
- """Archive Aica Endpoint # noqa: E501
900
-
901
- archives an AICA endpoint. # noqa: E501
902
- This method makes a synchronous HTTP request by default. To make an
903
- asynchronous HTTP request, please pass async_req=True
904
- >>> thread = api.archive_aica_endpoint_api_v2_aica_endpoints_endpoint_id_delete(endpoint_id, async_req=True)
905
- >>> result = thread.get()
906
-
907
- :param async_req bool: execute request asynchronously
908
- :param str endpoint_id: (required)
909
- :param _preload_content: if False, the urllib3.HTTPResponse object will
910
- be returned without reading/decoding response
911
- data. Default is True.
912
- :param _request_timeout: timeout setting for this request. If one
913
- number provided, it will be total request
914
- timeout. It can also be a pair (tuple) of
915
- (connection, read) timeouts.
916
- :return: None
917
- If the method is called asynchronously,
918
- returns the request thread.
919
- """
920
- kwargs['_return_http_data_only'] = True
921
- return self.archive_aica_endpoint_api_v2_aica_endpoints_endpoint_id_delete_with_http_info(endpoint_id, **kwargs) # noqa: E501
922
-
923
- def archive_aica_endpoint_api_v2_aica_endpoints_endpoint_id_delete_with_http_info(self, endpoint_id, **kwargs): # noqa: E501
924
- """Archive Aica Endpoint # noqa: E501
925
-
926
- archives an AICA endpoint. # noqa: E501
927
- This method makes a synchronous HTTP request by default. To make an
928
- asynchronous HTTP request, please pass async_req=True
929
- >>> thread = api.archive_aica_endpoint_api_v2_aica_endpoints_endpoint_id_delete_with_http_info(endpoint_id, async_req=True)
930
- >>> result = thread.get()
931
-
932
- :param async_req bool: execute request asynchronously
933
- :param str endpoint_id: (required)
934
- :param _return_http_data_only: response data without head status code
935
- and headers
936
- :param _preload_content: if False, the urllib3.HTTPResponse object will
937
- be returned without reading/decoding response
938
- data. Default is True.
939
- :param _request_timeout: timeout setting for this request. If one
940
- number provided, it will be total request
941
- timeout. It can also be a pair (tuple) of
942
- (connection, read) timeouts.
943
- :return: None
944
- If the method is called asynchronously,
945
- returns the request thread.
946
- """
947
-
948
- local_var_params = locals()
949
-
950
- all_params = [
951
- 'endpoint_id'
952
- ]
953
- all_params.extend(
954
- [
955
- 'async_req',
956
- '_return_http_data_only',
957
- '_preload_content',
958
- '_request_timeout'
959
- ]
960
- )
961
-
962
- for key, val in six.iteritems(local_var_params['kwargs']):
963
- if key not in all_params:
964
- raise ApiTypeError(
965
- "Got an unexpected keyword argument '%s'"
966
- " to method archive_aica_endpoint_api_v2_aica_endpoints_endpoint_id_delete" % key
967
- )
968
- local_var_params[key] = val
969
- del local_var_params['kwargs']
970
- # verify the required parameter 'endpoint_id' is set
971
- if self.api_client.client_side_validation and ('endpoint_id' not in local_var_params or # noqa: E501
972
- local_var_params['endpoint_id'] is None): # noqa: E501
973
- raise ApiValueError("Missing the required parameter `endpoint_id` when calling `archive_aica_endpoint_api_v2_aica_endpoints_endpoint_id_delete`") # noqa: E501
974
-
975
- collection_formats = {}
976
-
977
- path_params = {}
978
- if 'endpoint_id' in local_var_params:
979
- path_params['endpoint_id'] = local_var_params['endpoint_id'] # noqa: E501
980
-
981
- query_params = []
982
-
983
- header_params = {}
984
-
985
- form_params = []
986
- local_var_files = {}
987
-
988
- body_params = None
989
- # HTTP header `Accept`
990
- header_params['Accept'] = self.api_client.select_header_accept(
991
- ['application/json']) # noqa: E501
992
-
993
- # Authentication setting
994
- auth_settings = [] # noqa: E501
995
-
996
- return self.api_client.call_api(
997
- '/api/v2/aica_endpoints/{endpoint_id}', 'DELETE',
998
- path_params,
999
- query_params,
1000
- header_params,
1001
- body=body_params,
1002
- post_params=form_params,
1003
- files=local_var_files,
1004
- response_type=None, # noqa: E501
1005
- auth_settings=auth_settings,
1006
- async_req=local_var_params.get('async_req'),
1007
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
1008
- _preload_content=local_var_params.get('_preload_content', True),
1009
- _request_timeout=local_var_params.get('_request_timeout'),
1010
- collection_formats=collection_formats)
1011
-
1012
898
  def archive_cluster_api_v2_decorated_sessions_cluster_id_archive_post(self, cluster_id, **kwargs): # noqa: E501
1013
899
  """Archive Cluster # noqa: E501
1014
900
 
@@ -3431,124 +3317,6 @@ class DefaultApi(object):
3431
3317
  _request_timeout=local_var_params.get('_request_timeout'),
3432
3318
  collection_formats=collection_formats)
3433
3319
 
3434
- def create_aica_endpoint_api_v2_aica_endpoints_post(self, create_aica_endpoint, **kwargs): # noqa: E501
3435
- """Create Aica Endpoint # noqa: E501
3436
-
3437
- Creates an AICA endpoint. # noqa: E501
3438
- This method makes a synchronous HTTP request by default. To make an
3439
- asynchronous HTTP request, please pass async_req=True
3440
- >>> thread = api.create_aica_endpoint_api_v2_aica_endpoints_post(create_aica_endpoint, async_req=True)
3441
- >>> result = thread.get()
3442
-
3443
- :param async_req bool: execute request asynchronously
3444
- :param CreateAicaEndpoint create_aica_endpoint: (required)
3445
- :param _preload_content: if False, the urllib3.HTTPResponse object will
3446
- be returned without reading/decoding response
3447
- data. Default is True.
3448
- :param _request_timeout: timeout setting for this request. If one
3449
- number provided, it will be total request
3450
- timeout. It can also be a pair (tuple) of
3451
- (connection, read) timeouts.
3452
- :return: AicaendpointResponse
3453
- If the method is called asynchronously,
3454
- returns the request thread.
3455
- """
3456
- kwargs['_return_http_data_only'] = True
3457
- return self.create_aica_endpoint_api_v2_aica_endpoints_post_with_http_info(create_aica_endpoint, **kwargs) # noqa: E501
3458
-
3459
- def create_aica_endpoint_api_v2_aica_endpoints_post_with_http_info(self, create_aica_endpoint, **kwargs): # noqa: E501
3460
- """Create Aica Endpoint # noqa: E501
3461
-
3462
- Creates an AICA endpoint. # noqa: E501
3463
- This method makes a synchronous HTTP request by default. To make an
3464
- asynchronous HTTP request, please pass async_req=True
3465
- >>> thread = api.create_aica_endpoint_api_v2_aica_endpoints_post_with_http_info(create_aica_endpoint, async_req=True)
3466
- >>> result = thread.get()
3467
-
3468
- :param async_req bool: execute request asynchronously
3469
- :param CreateAicaEndpoint create_aica_endpoint: (required)
3470
- :param _return_http_data_only: response data without head status code
3471
- and headers
3472
- :param _preload_content: if False, the urllib3.HTTPResponse object will
3473
- be returned without reading/decoding response
3474
- data. Default is True.
3475
- :param _request_timeout: timeout setting for this request. If one
3476
- number provided, it will be total request
3477
- timeout. It can also be a pair (tuple) of
3478
- (connection, read) timeouts.
3479
- :return: tuple(AicaendpointResponse, status_code(int), headers(HTTPHeaderDict))
3480
- If the method is called asynchronously,
3481
- returns the request thread.
3482
- """
3483
-
3484
- local_var_params = locals()
3485
-
3486
- all_params = [
3487
- 'create_aica_endpoint'
3488
- ]
3489
- all_params.extend(
3490
- [
3491
- 'async_req',
3492
- '_return_http_data_only',
3493
- '_preload_content',
3494
- '_request_timeout'
3495
- ]
3496
- )
3497
-
3498
- for key, val in six.iteritems(local_var_params['kwargs']):
3499
- if key not in all_params:
3500
- raise ApiTypeError(
3501
- "Got an unexpected keyword argument '%s'"
3502
- " to method create_aica_endpoint_api_v2_aica_endpoints_post" % key
3503
- )
3504
- local_var_params[key] = val
3505
- del local_var_params['kwargs']
3506
- # verify the required parameter 'create_aica_endpoint' is set
3507
- if self.api_client.client_side_validation and ('create_aica_endpoint' not in local_var_params or # noqa: E501
3508
- local_var_params['create_aica_endpoint'] is None): # noqa: E501
3509
- raise ApiValueError("Missing the required parameter `create_aica_endpoint` when calling `create_aica_endpoint_api_v2_aica_endpoints_post`") # noqa: E501
3510
-
3511
- collection_formats = {}
3512
-
3513
- path_params = {}
3514
-
3515
- query_params = []
3516
-
3517
- header_params = {}
3518
-
3519
- form_params = []
3520
- local_var_files = {}
3521
-
3522
- body_params = None
3523
- if 'create_aica_endpoint' in local_var_params:
3524
- body_params = local_var_params['create_aica_endpoint']
3525
- # HTTP header `Accept`
3526
- header_params['Accept'] = self.api_client.select_header_accept(
3527
- ['application/json']) # noqa: E501
3528
-
3529
- # HTTP header `Content-Type`
3530
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
3531
- ['application/json']) # noqa: E501
3532
-
3533
- # Authentication setting
3534
- auth_settings = [] # noqa: E501
3535
-
3536
- return self.api_client.call_api(
3537
- '/api/v2/aica_endpoints/', 'POST',
3538
- path_params,
3539
- query_params,
3540
- header_params,
3541
- body=body_params,
3542
- post_params=form_params,
3543
- files=local_var_files,
3544
- response_type='AicaendpointResponse', # noqa: E501
3545
- auth_settings=auth_settings,
3546
- async_req=local_var_params.get('async_req'),
3547
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
3548
- _preload_content=local_var_params.get('_preload_content', True),
3549
- _request_timeout=local_var_params.get('_request_timeout'),
3550
- collection_formats=collection_formats)
3551
-
3552
3320
  def create_api_key_api_v2_users_create_api_key_post(self, api_key_parameters, **kwargs): # noqa: E501
3553
3321
  """Create Api Key # noqa: E501
3554
3322
 
@@ -4612,124 +4380,6 @@ class DefaultApi(object):
4612
4380
  _request_timeout=local_var_params.get('_request_timeout'),
4613
4381
  collection_formats=collection_formats)
4614
4382
 
4615
- def create_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_post(self, create_cloud_with_cloud_resource, **kwargs): # noqa: E501
4616
- """Create Cloud With Cloud Resource # noqa: E501
4617
-
4618
- Creates a Cloud with CloudResource. # noqa: E501
4619
- This method makes a synchronous HTTP request by default. To make an
4620
- asynchronous HTTP request, please pass async_req=True
4621
- >>> thread = api.create_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_post(create_cloud_with_cloud_resource, async_req=True)
4622
- >>> result = thread.get()
4623
-
4624
- :param async_req bool: execute request asynchronously
4625
- :param CreateCloudWithCloudResource create_cloud_with_cloud_resource: (required)
4626
- :param _preload_content: if False, the urllib3.HTTPResponse object will
4627
- be returned without reading/decoding response
4628
- data. Default is True.
4629
- :param _request_timeout: timeout setting for this request. If one
4630
- number provided, it will be total request
4631
- timeout. It can also be a pair (tuple) of
4632
- (connection, read) timeouts.
4633
- :return: CloudwithcloudresourceResponse
4634
- If the method is called asynchronously,
4635
- returns the request thread.
4636
- """
4637
- kwargs['_return_http_data_only'] = True
4638
- return self.create_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_post_with_http_info(create_cloud_with_cloud_resource, **kwargs) # noqa: E501
4639
-
4640
- def create_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_post_with_http_info(self, create_cloud_with_cloud_resource, **kwargs): # noqa: E501
4641
- """Create Cloud With Cloud Resource # noqa: E501
4642
-
4643
- Creates a Cloud with CloudResource. # noqa: E501
4644
- This method makes a synchronous HTTP request by default. To make an
4645
- asynchronous HTTP request, please pass async_req=True
4646
- >>> thread = api.create_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_post_with_http_info(create_cloud_with_cloud_resource, async_req=True)
4647
- >>> result = thread.get()
4648
-
4649
- :param async_req bool: execute request asynchronously
4650
- :param CreateCloudWithCloudResource create_cloud_with_cloud_resource: (required)
4651
- :param _return_http_data_only: response data without head status code
4652
- and headers
4653
- :param _preload_content: if False, the urllib3.HTTPResponse object will
4654
- be returned without reading/decoding response
4655
- data. Default is True.
4656
- :param _request_timeout: timeout setting for this request. If one
4657
- number provided, it will be total request
4658
- timeout. It can also be a pair (tuple) of
4659
- (connection, read) timeouts.
4660
- :return: tuple(CloudwithcloudresourceResponse, status_code(int), headers(HTTPHeaderDict))
4661
- If the method is called asynchronously,
4662
- returns the request thread.
4663
- """
4664
-
4665
- local_var_params = locals()
4666
-
4667
- all_params = [
4668
- 'create_cloud_with_cloud_resource'
4669
- ]
4670
- all_params.extend(
4671
- [
4672
- 'async_req',
4673
- '_return_http_data_only',
4674
- '_preload_content',
4675
- '_request_timeout'
4676
- ]
4677
- )
4678
-
4679
- for key, val in six.iteritems(local_var_params['kwargs']):
4680
- if key not in all_params:
4681
- raise ApiTypeError(
4682
- "Got an unexpected keyword argument '%s'"
4683
- " to method create_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_post" % key
4684
- )
4685
- local_var_params[key] = val
4686
- del local_var_params['kwargs']
4687
- # verify the required parameter 'create_cloud_with_cloud_resource' is set
4688
- if self.api_client.client_side_validation and ('create_cloud_with_cloud_resource' not in local_var_params or # noqa: E501
4689
- local_var_params['create_cloud_with_cloud_resource'] is None): # noqa: E501
4690
- raise ApiValueError("Missing the required parameter `create_cloud_with_cloud_resource` when calling `create_cloud_with_cloud_resource_api_v2_clouds_with_cloud_resource_router_post`") # noqa: E501
4691
-
4692
- collection_formats = {}
4693
-
4694
- path_params = {}
4695
-
4696
- query_params = []
4697
-
4698
- header_params = {}
4699
-
4700
- form_params = []
4701
- local_var_files = {}
4702
-
4703
- body_params = None
4704
- if 'create_cloud_with_cloud_resource' in local_var_params:
4705
- body_params = local_var_params['create_cloud_with_cloud_resource']
4706
- # HTTP header `Accept`
4707
- header_params['Accept'] = self.api_client.select_header_accept(
4708
- ['application/json']) # noqa: E501
4709
-
4710
- # HTTP header `Content-Type`
4711
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4712
- ['application/json']) # noqa: E501
4713
-
4714
- # Authentication setting
4715
- auth_settings = [] # noqa: E501
4716
-
4717
- return self.api_client.call_api(
4718
- '/api/v2/clouds_with_cloud_resource_router/', 'POST',
4719
- path_params,
4720
- query_params,
4721
- header_params,
4722
- body=body_params,
4723
- post_params=form_params,
4724
- files=local_var_files,
4725
- response_type='CloudwithcloudresourceResponse', # noqa: E501
4726
- auth_settings=auth_settings,
4727
- async_req=local_var_params.get('async_req'),
4728
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
4729
- _preload_content=local_var_params.get('_preload_content', True),
4730
- _request_timeout=local_var_params.get('_request_timeout'),
4731
- collection_formats=collection_formats)
4732
-
4733
4383
  def create_compute_template_api_v2_compute_templates_post(self, create_compute_template, **kwargs): # noqa: E501
4734
4384
  """Create Compute Template # noqa: E501
4735
4385
 
@@ -9399,6 +9049,120 @@ class DefaultApi(object):
9399
9049
  _request_timeout=local_var_params.get('_request_timeout'),
9400
9050
  collection_formats=collection_formats)
9401
9051
 
9052
+ def delete_service_api_v2_services_v2_service_id_delete(self, service_id, **kwargs): # noqa: E501
9053
+ """Delete Service # noqa: E501
9054
+
9055
+ Deletes a Service. # noqa: E501
9056
+ This method makes a synchronous HTTP request by default. To make an
9057
+ asynchronous HTTP request, please pass async_req=True
9058
+ >>> thread = api.delete_service_api_v2_services_v2_service_id_delete(service_id, async_req=True)
9059
+ >>> result = thread.get()
9060
+
9061
+ :param async_req bool: execute request asynchronously
9062
+ :param str service_id: (required)
9063
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
9064
+ be returned without reading/decoding response
9065
+ data. Default is True.
9066
+ :param _request_timeout: timeout setting for this request. If one
9067
+ number provided, it will be total request
9068
+ timeout. It can also be a pair (tuple) of
9069
+ (connection, read) timeouts.
9070
+ :return: None
9071
+ If the method is called asynchronously,
9072
+ returns the request thread.
9073
+ """
9074
+ kwargs['_return_http_data_only'] = True
9075
+ return self.delete_service_api_v2_services_v2_service_id_delete_with_http_info(service_id, **kwargs) # noqa: E501
9076
+
9077
+ def delete_service_api_v2_services_v2_service_id_delete_with_http_info(self, service_id, **kwargs): # noqa: E501
9078
+ """Delete Service # noqa: E501
9079
+
9080
+ Deletes a Service. # noqa: E501
9081
+ This method makes a synchronous HTTP request by default. To make an
9082
+ asynchronous HTTP request, please pass async_req=True
9083
+ >>> thread = api.delete_service_api_v2_services_v2_service_id_delete_with_http_info(service_id, async_req=True)
9084
+ >>> result = thread.get()
9085
+
9086
+ :param async_req bool: execute request asynchronously
9087
+ :param str service_id: (required)
9088
+ :param _return_http_data_only: response data without head status code
9089
+ and headers
9090
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
9091
+ be returned without reading/decoding response
9092
+ data. Default is True.
9093
+ :param _request_timeout: timeout setting for this request. If one
9094
+ number provided, it will be total request
9095
+ timeout. It can also be a pair (tuple) of
9096
+ (connection, read) timeouts.
9097
+ :return: None
9098
+ If the method is called asynchronously,
9099
+ returns the request thread.
9100
+ """
9101
+
9102
+ local_var_params = locals()
9103
+
9104
+ all_params = [
9105
+ 'service_id'
9106
+ ]
9107
+ all_params.extend(
9108
+ [
9109
+ 'async_req',
9110
+ '_return_http_data_only',
9111
+ '_preload_content',
9112
+ '_request_timeout'
9113
+ ]
9114
+ )
9115
+
9116
+ for key, val in six.iteritems(local_var_params['kwargs']):
9117
+ if key not in all_params:
9118
+ raise ApiTypeError(
9119
+ "Got an unexpected keyword argument '%s'"
9120
+ " to method delete_service_api_v2_services_v2_service_id_delete" % key
9121
+ )
9122
+ local_var_params[key] = val
9123
+ del local_var_params['kwargs']
9124
+ # verify the required parameter 'service_id' is set
9125
+ if self.api_client.client_side_validation and ('service_id' not in local_var_params or # noqa: E501
9126
+ local_var_params['service_id'] is None): # noqa: E501
9127
+ raise ApiValueError("Missing the required parameter `service_id` when calling `delete_service_api_v2_services_v2_service_id_delete`") # noqa: E501
9128
+
9129
+ collection_formats = {}
9130
+
9131
+ path_params = {}
9132
+ if 'service_id' in local_var_params:
9133
+ path_params['service_id'] = local_var_params['service_id'] # noqa: E501
9134
+
9135
+ query_params = []
9136
+
9137
+ header_params = {}
9138
+
9139
+ form_params = []
9140
+ local_var_files = {}
9141
+
9142
+ body_params = None
9143
+ # HTTP header `Accept`
9144
+ header_params['Accept'] = self.api_client.select_header_accept(
9145
+ ['application/json']) # noqa: E501
9146
+
9147
+ # Authentication setting
9148
+ auth_settings = [] # noqa: E501
9149
+
9150
+ return self.api_client.call_api(
9151
+ '/api/v2/services-v2/{service_id}', 'DELETE',
9152
+ path_params,
9153
+ query_params,
9154
+ header_params,
9155
+ body=body_params,
9156
+ post_params=form_params,
9157
+ files=local_var_files,
9158
+ response_type=None, # noqa: E501
9159
+ auth_settings=auth_settings,
9160
+ async_req=local_var_params.get('async_req'),
9161
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
9162
+ _preload_content=local_var_params.get('_preload_content', True),
9163
+ _request_timeout=local_var_params.get('_request_timeout'),
9164
+ collection_formats=collection_formats)
9165
+
9402
9166
  def delete_session_api_v2_sessions_session_id_delete(self, session_id, **kwargs): # noqa: E501
9403
9167
  """Delete Session # noqa: E501
9404
9168
 
@@ -14509,6 +14273,120 @@ class DefaultApi(object):
14509
14273
  _request_timeout=local_var_params.get('_request_timeout'),
14510
14274
  collection_formats=collection_formats)
14511
14275
 
14276
+ def get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get(self, cluster_id, **kwargs): # noqa: E501
14277
+ """Get Cluster Access Token # noqa: E501
14278
+
14279
+ If the browser already has a valid authentication cookie for the given cluster, return the token. If not, this helps a browser set an authentication cookie for a given cluster. # noqa: E501
14280
+ This method makes a synchronous HTTP request by default. To make an
14281
+ asynchronous HTTP request, please pass async_req=True
14282
+ >>> thread = api.get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get(cluster_id, async_req=True)
14283
+ >>> result = thread.get()
14284
+
14285
+ :param async_req bool: execute request asynchronously
14286
+ :param str cluster_id: (required)
14287
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
14288
+ be returned without reading/decoding response
14289
+ data. Default is True.
14290
+ :param _request_timeout: timeout setting for this request. If one
14291
+ number provided, it will be total request
14292
+ timeout. It can also be a pair (tuple) of
14293
+ (connection, read) timeouts.
14294
+ :return: str
14295
+ If the method is called asynchronously,
14296
+ returns the request thread.
14297
+ """
14298
+ kwargs['_return_http_data_only'] = True
14299
+ return self.get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get_with_http_info(cluster_id, **kwargs) # noqa: E501
14300
+
14301
+ def get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
14302
+ """Get Cluster Access Token # noqa: E501
14303
+
14304
+ If the browser already has a valid authentication cookie for the given cluster, return the token. If not, this helps a browser set an authentication cookie for a given cluster. # noqa: E501
14305
+ This method makes a synchronous HTTP request by default. To make an
14306
+ asynchronous HTTP request, please pass async_req=True
14307
+ >>> thread = api.get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get_with_http_info(cluster_id, async_req=True)
14308
+ >>> result = thread.get()
14309
+
14310
+ :param async_req bool: execute request asynchronously
14311
+ :param str cluster_id: (required)
14312
+ :param _return_http_data_only: response data without head status code
14313
+ and headers
14314
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
14315
+ be returned without reading/decoding response
14316
+ data. Default is True.
14317
+ :param _request_timeout: timeout setting for this request. If one
14318
+ number provided, it will be total request
14319
+ timeout. It can also be a pair (tuple) of
14320
+ (connection, read) timeouts.
14321
+ :return: tuple(str, status_code(int), headers(HTTPHeaderDict))
14322
+ If the method is called asynchronously,
14323
+ returns the request thread.
14324
+ """
14325
+
14326
+ local_var_params = locals()
14327
+
14328
+ all_params = [
14329
+ 'cluster_id'
14330
+ ]
14331
+ all_params.extend(
14332
+ [
14333
+ 'async_req',
14334
+ '_return_http_data_only',
14335
+ '_preload_content',
14336
+ '_request_timeout'
14337
+ ]
14338
+ )
14339
+
14340
+ for key, val in six.iteritems(local_var_params['kwargs']):
14341
+ if key not in all_params:
14342
+ raise ApiTypeError(
14343
+ "Got an unexpected keyword argument '%s'"
14344
+ " to method get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get" % key
14345
+ )
14346
+ local_var_params[key] = val
14347
+ del local_var_params['kwargs']
14348
+ # verify the required parameter 'cluster_id' is set
14349
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
14350
+ local_var_params['cluster_id'] is None): # noqa: E501
14351
+ raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get`") # noqa: E501
14352
+
14353
+ collection_formats = {}
14354
+
14355
+ path_params = {}
14356
+ if 'cluster_id' in local_var_params:
14357
+ path_params['cluster_id'] = local_var_params['cluster_id'] # noqa: E501
14358
+
14359
+ query_params = []
14360
+
14361
+ header_params = {}
14362
+
14363
+ form_params = []
14364
+ local_var_files = {}
14365
+
14366
+ body_params = None
14367
+ # HTTP header `Accept`
14368
+ header_params['Accept'] = self.api_client.select_header_accept(
14369
+ ['application/json']) # noqa: E501
14370
+
14371
+ # Authentication setting
14372
+ auth_settings = [] # noqa: E501
14373
+
14374
+ return self.api_client.call_api(
14375
+ '/api/v2/authentication/{cluster_id}/cluster_access_token', 'GET',
14376
+ path_params,
14377
+ query_params,
14378
+ header_params,
14379
+ body=body_params,
14380
+ post_params=form_params,
14381
+ files=local_var_files,
14382
+ response_type='str', # noqa: E501
14383
+ auth_settings=auth_settings,
14384
+ async_req=local_var_params.get('async_req'),
14385
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
14386
+ _preload_content=local_var_params.get('_preload_content', True),
14387
+ _request_timeout=local_var_params.get('_request_timeout'),
14388
+ collection_formats=collection_formats)
14389
+
14512
14390
  def get_cluster_events_api_v2_sessions_session_id_cluster_events_get(self, session_id, **kwargs): # noqa: E501
14513
14391
  """Get Cluster Events # noqa: E501
14514
14392
 
@@ -17184,120 +17062,6 @@ class DefaultApi(object):
17184
17062
  _request_timeout=local_var_params.get('_request_timeout'),
17185
17063
  collection_formats=collection_formats)
17186
17064
 
17187
- def get_endpoint_api_v2_aica_endpoints_endpoint_id_get(self, endpoint_id, **kwargs): # noqa: E501
17188
- """Get Endpoint # noqa: E501
17189
-
17190
- Get an endpoint by id # noqa: E501
17191
- This method makes a synchronous HTTP request by default. To make an
17192
- asynchronous HTTP request, please pass async_req=True
17193
- >>> thread = api.get_endpoint_api_v2_aica_endpoints_endpoint_id_get(endpoint_id, async_req=True)
17194
- >>> result = thread.get()
17195
-
17196
- :param async_req bool: execute request asynchronously
17197
- :param str endpoint_id: (required)
17198
- :param _preload_content: if False, the urllib3.HTTPResponse object will
17199
- be returned without reading/decoding response
17200
- data. Default is True.
17201
- :param _request_timeout: timeout setting for this request. If one
17202
- number provided, it will be total request
17203
- timeout. It can also be a pair (tuple) of
17204
- (connection, read) timeouts.
17205
- :return: AicaEndpoint
17206
- If the method is called asynchronously,
17207
- returns the request thread.
17208
- """
17209
- kwargs['_return_http_data_only'] = True
17210
- return self.get_endpoint_api_v2_aica_endpoints_endpoint_id_get_with_http_info(endpoint_id, **kwargs) # noqa: E501
17211
-
17212
- def get_endpoint_api_v2_aica_endpoints_endpoint_id_get_with_http_info(self, endpoint_id, **kwargs): # noqa: E501
17213
- """Get Endpoint # noqa: E501
17214
-
17215
- Get an endpoint by id # noqa: E501
17216
- This method makes a synchronous HTTP request by default. To make an
17217
- asynchronous HTTP request, please pass async_req=True
17218
- >>> thread = api.get_endpoint_api_v2_aica_endpoints_endpoint_id_get_with_http_info(endpoint_id, async_req=True)
17219
- >>> result = thread.get()
17220
-
17221
- :param async_req bool: execute request asynchronously
17222
- :param str endpoint_id: (required)
17223
- :param _return_http_data_only: response data without head status code
17224
- and headers
17225
- :param _preload_content: if False, the urllib3.HTTPResponse object will
17226
- be returned without reading/decoding response
17227
- data. Default is True.
17228
- :param _request_timeout: timeout setting for this request. If one
17229
- number provided, it will be total request
17230
- timeout. It can also be a pair (tuple) of
17231
- (connection, read) timeouts.
17232
- :return: tuple(AicaEndpoint, status_code(int), headers(HTTPHeaderDict))
17233
- If the method is called asynchronously,
17234
- returns the request thread.
17235
- """
17236
-
17237
- local_var_params = locals()
17238
-
17239
- all_params = [
17240
- 'endpoint_id'
17241
- ]
17242
- all_params.extend(
17243
- [
17244
- 'async_req',
17245
- '_return_http_data_only',
17246
- '_preload_content',
17247
- '_request_timeout'
17248
- ]
17249
- )
17250
-
17251
- for key, val in six.iteritems(local_var_params['kwargs']):
17252
- if key not in all_params:
17253
- raise ApiTypeError(
17254
- "Got an unexpected keyword argument '%s'"
17255
- " to method get_endpoint_api_v2_aica_endpoints_endpoint_id_get" % key
17256
- )
17257
- local_var_params[key] = val
17258
- del local_var_params['kwargs']
17259
- # verify the required parameter 'endpoint_id' is set
17260
- if self.api_client.client_side_validation and ('endpoint_id' not in local_var_params or # noqa: E501
17261
- local_var_params['endpoint_id'] is None): # noqa: E501
17262
- raise ApiValueError("Missing the required parameter `endpoint_id` when calling `get_endpoint_api_v2_aica_endpoints_endpoint_id_get`") # noqa: E501
17263
-
17264
- collection_formats = {}
17265
-
17266
- path_params = {}
17267
- if 'endpoint_id' in local_var_params:
17268
- path_params['endpoint_id'] = local_var_params['endpoint_id'] # noqa: E501
17269
-
17270
- query_params = []
17271
-
17272
- header_params = {}
17273
-
17274
- form_params = []
17275
- local_var_files = {}
17276
-
17277
- body_params = None
17278
- # HTTP header `Accept`
17279
- header_params['Accept'] = self.api_client.select_header_accept(
17280
- ['application/json']) # noqa: E501
17281
-
17282
- # Authentication setting
17283
- auth_settings = [] # noqa: E501
17284
-
17285
- return self.api_client.call_api(
17286
- '/api/v2/aica_endpoints/{endpoint_id}', 'GET',
17287
- path_params,
17288
- query_params,
17289
- header_params,
17290
- body=body_params,
17291
- post_params=form_params,
17292
- files=local_var_files,
17293
- response_type='AicaEndpoint', # noqa: E501
17294
- auth_settings=auth_settings,
17295
- async_req=local_var_params.get('async_req'),
17296
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
17297
- _preload_content=local_var_params.get('_preload_content', True),
17298
- _request_timeout=local_var_params.get('_request_timeout'),
17299
- collection_formats=collection_formats)
17300
-
17301
17065
  def get_events_api_v2_sessions_session_id_events_get(self, session_id, start_index, end_index, **kwargs): # noqa: E501
17302
17066
  """Get Events # noqa: E501
17303
17067
 
@@ -19221,129 +18985,6 @@ class DefaultApi(object):
19221
18985
  _request_timeout=local_var_params.get('_request_timeout'),
19222
18986
  collection_formats=collection_formats)
19223
18987
 
19224
- def get_log_files_api_v2_sessions_session_id_get_log_files_post(self, session_id, **kwargs): # noqa: E501
19225
- """Get Log Files # noqa: E501
19226
-
19227
- API for downloading logs of a session. This is a paginated api, which means that a single call to this will result in one page of results (log files). The page size and next page token (in LogDownloadRequest) can be used to list all log files, either iteratively or in a single go. Parameters ---------- session_id: str DB id of the session. This is a path parameter. If session_id is 'latest', then atleast one of job_id or job_run must be provided in LogDownloadRequest. log_download_request: Optional[LogDownloadRequest] Parameters to filter logs and control download. This is read from the request body. base_sessions_service: BaseSessionsService The session service, which provides the necessary orchestration for downloading logs. premission_service: SessionPermissionsService The permission sercice. This is used to do authorization checks. auth_context: AuthContext The auth context of the user. db_connections: Any Connection to the DB. Returns ------- Response[LogDetails] List of logs files, with their presigned URL and next page token if there are more results. Raises ------ HTTPException(401) If the user does not have access to the session. HTTPException(404) If the session or cloud could not be found in the DB. HTTPException(500) If there are any other errors while downloading logs. # noqa: E501
19228
- This method makes a synchronous HTTP request by default. To make an
19229
- asynchronous HTTP request, please pass async_req=True
19230
- >>> thread = api.get_log_files_api_v2_sessions_session_id_get_log_files_post(session_id, async_req=True)
19231
- >>> result = thread.get()
19232
-
19233
- :param async_req bool: execute request asynchronously
19234
- :param str session_id: the session id or 'latest' (required)
19235
- :param LogDownloadRequest log_download_request:
19236
- :param _preload_content: if False, the urllib3.HTTPResponse object will
19237
- be returned without reading/decoding response
19238
- data. Default is True.
19239
- :param _request_timeout: timeout setting for this request. If one
19240
- number provided, it will be total request
19241
- timeout. It can also be a pair (tuple) of
19242
- (connection, read) timeouts.
19243
- :return: LogdetailsResponse
19244
- If the method is called asynchronously,
19245
- returns the request thread.
19246
- """
19247
- kwargs['_return_http_data_only'] = True
19248
- return self.get_log_files_api_v2_sessions_session_id_get_log_files_post_with_http_info(session_id, **kwargs) # noqa: E501
19249
-
19250
- def get_log_files_api_v2_sessions_session_id_get_log_files_post_with_http_info(self, session_id, **kwargs): # noqa: E501
19251
- """Get Log Files # noqa: E501
19252
-
19253
- API for downloading logs of a session. This is a paginated api, which means that a single call to this will result in one page of results (log files). The page size and next page token (in LogDownloadRequest) can be used to list all log files, either iteratively or in a single go. Parameters ---------- session_id: str DB id of the session. This is a path parameter. If session_id is 'latest', then atleast one of job_id or job_run must be provided in LogDownloadRequest. log_download_request: Optional[LogDownloadRequest] Parameters to filter logs and control download. This is read from the request body. base_sessions_service: BaseSessionsService The session service, which provides the necessary orchestration for downloading logs. premission_service: SessionPermissionsService The permission sercice. This is used to do authorization checks. auth_context: AuthContext The auth context of the user. db_connections: Any Connection to the DB. Returns ------- Response[LogDetails] List of logs files, with their presigned URL and next page token if there are more results. Raises ------ HTTPException(401) If the user does not have access to the session. HTTPException(404) If the session or cloud could not be found in the DB. HTTPException(500) If there are any other errors while downloading logs. # noqa: E501
19254
- This method makes a synchronous HTTP request by default. To make an
19255
- asynchronous HTTP request, please pass async_req=True
19256
- >>> thread = api.get_log_files_api_v2_sessions_session_id_get_log_files_post_with_http_info(session_id, async_req=True)
19257
- >>> result = thread.get()
19258
-
19259
- :param async_req bool: execute request asynchronously
19260
- :param str session_id: the session id or 'latest' (required)
19261
- :param LogDownloadRequest log_download_request:
19262
- :param _return_http_data_only: response data without head status code
19263
- and headers
19264
- :param _preload_content: if False, the urllib3.HTTPResponse object will
19265
- be returned without reading/decoding response
19266
- data. Default is True.
19267
- :param _request_timeout: timeout setting for this request. If one
19268
- number provided, it will be total request
19269
- timeout. It can also be a pair (tuple) of
19270
- (connection, read) timeouts.
19271
- :return: tuple(LogdetailsResponse, status_code(int), headers(HTTPHeaderDict))
19272
- If the method is called asynchronously,
19273
- returns the request thread.
19274
- """
19275
-
19276
- local_var_params = locals()
19277
-
19278
- all_params = [
19279
- 'session_id',
19280
- 'log_download_request'
19281
- ]
19282
- all_params.extend(
19283
- [
19284
- 'async_req',
19285
- '_return_http_data_only',
19286
- '_preload_content',
19287
- '_request_timeout'
19288
- ]
19289
- )
19290
-
19291
- for key, val in six.iteritems(local_var_params['kwargs']):
19292
- if key not in all_params:
19293
- raise ApiTypeError(
19294
- "Got an unexpected keyword argument '%s'"
19295
- " to method get_log_files_api_v2_sessions_session_id_get_log_files_post" % key
19296
- )
19297
- local_var_params[key] = val
19298
- del local_var_params['kwargs']
19299
- # verify the required parameter 'session_id' is set
19300
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
19301
- local_var_params['session_id'] is None): # noqa: E501
19302
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_log_files_api_v2_sessions_session_id_get_log_files_post`") # noqa: E501
19303
-
19304
- collection_formats = {}
19305
-
19306
- path_params = {}
19307
- if 'session_id' in local_var_params:
19308
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
19309
-
19310
- query_params = []
19311
-
19312
- header_params = {}
19313
-
19314
- form_params = []
19315
- local_var_files = {}
19316
-
19317
- body_params = None
19318
- if 'log_download_request' in local_var_params:
19319
- body_params = local_var_params['log_download_request']
19320
- # HTTP header `Accept`
19321
- header_params['Accept'] = self.api_client.select_header_accept(
19322
- ['application/json']) # noqa: E501
19323
-
19324
- # HTTP header `Content-Type`
19325
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
19326
- ['application/json']) # noqa: E501
19327
-
19328
- # Authentication setting
19329
- auth_settings = [] # noqa: E501
19330
-
19331
- return self.api_client.call_api(
19332
- '/api/v2/sessions/{session_id}/get_log_files', 'POST',
19333
- path_params,
19334
- query_params,
19335
- header_params,
19336
- body=body_params,
19337
- post_params=form_params,
19338
- files=local_var_files,
19339
- response_type='LogdetailsResponse', # noqa: E501
19340
- auth_settings=auth_settings,
19341
- async_req=local_var_params.get('async_req'),
19342
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
19343
- _preload_content=local_var_params.get('_preload_content', True),
19344
- _request_timeout=local_var_params.get('_request_timeout'),
19345
- collection_formats=collection_formats)
19346
-
19347
18988
  def get_manage_billing_url_api_v2_organization_billing_manage_billing_url_get(self, **kwargs): # noqa: E501
19348
18989
  """Get Manage Billing Url # noqa: E501
19349
18990
 
@@ -20026,248 +19667,6 @@ class DefaultApi(object):
20026
19667
  _request_timeout=local_var_params.get('_request_timeout'),
20027
19668
  collection_formats=collection_formats)
20028
19669
 
20029
- def get_model_configuration_api_v2_aica_endpoints_model_config_get(self, aviary_version, model_name, **kwargs): # noqa: E501
20030
- """Get Model Configuration # noqa: E501
20031
-
20032
- Get model configuration # noqa: E501
20033
- This method makes a synchronous HTTP request by default. To make an
20034
- asynchronous HTTP request, please pass async_req=True
20035
- >>> thread = api.get_model_configuration_api_v2_aica_endpoints_model_config_get(aviary_version, model_name, async_req=True)
20036
- >>> result = thread.get()
20037
-
20038
- :param async_req bool: execute request asynchronously
20039
- :param str aviary_version: (required)
20040
- :param str model_name: (required)
20041
- :param str cloud_id:
20042
- :param _preload_content: if False, the urllib3.HTTPResponse object will
20043
- be returned without reading/decoding response
20044
- data. Default is True.
20045
- :param _request_timeout: timeout setting for this request. If one
20046
- number provided, it will be total request
20047
- timeout. It can also be a pair (tuple) of
20048
- (connection, read) timeouts.
20049
- :return: AicaModelAcceleratorMap
20050
- If the method is called asynchronously,
20051
- returns the request thread.
20052
- """
20053
- kwargs['_return_http_data_only'] = True
20054
- return self.get_model_configuration_api_v2_aica_endpoints_model_config_get_with_http_info(aviary_version, model_name, **kwargs) # noqa: E501
20055
-
20056
- def get_model_configuration_api_v2_aica_endpoints_model_config_get_with_http_info(self, aviary_version, model_name, **kwargs): # noqa: E501
20057
- """Get Model Configuration # noqa: E501
20058
-
20059
- Get model configuration # noqa: E501
20060
- This method makes a synchronous HTTP request by default. To make an
20061
- asynchronous HTTP request, please pass async_req=True
20062
- >>> thread = api.get_model_configuration_api_v2_aica_endpoints_model_config_get_with_http_info(aviary_version, model_name, async_req=True)
20063
- >>> result = thread.get()
20064
-
20065
- :param async_req bool: execute request asynchronously
20066
- :param str aviary_version: (required)
20067
- :param str model_name: (required)
20068
- :param str cloud_id:
20069
- :param _return_http_data_only: response data without head status code
20070
- and headers
20071
- :param _preload_content: if False, the urllib3.HTTPResponse object will
20072
- be returned without reading/decoding response
20073
- data. Default is True.
20074
- :param _request_timeout: timeout setting for this request. If one
20075
- number provided, it will be total request
20076
- timeout. It can also be a pair (tuple) of
20077
- (connection, read) timeouts.
20078
- :return: tuple(AicaModelAcceleratorMap, status_code(int), headers(HTTPHeaderDict))
20079
- If the method is called asynchronously,
20080
- returns the request thread.
20081
- """
20082
-
20083
- local_var_params = locals()
20084
-
20085
- all_params = [
20086
- 'aviary_version',
20087
- 'model_name',
20088
- 'cloud_id'
20089
- ]
20090
- all_params.extend(
20091
- [
20092
- 'async_req',
20093
- '_return_http_data_only',
20094
- '_preload_content',
20095
- '_request_timeout'
20096
- ]
20097
- )
20098
-
20099
- for key, val in six.iteritems(local_var_params['kwargs']):
20100
- if key not in all_params:
20101
- raise ApiTypeError(
20102
- "Got an unexpected keyword argument '%s'"
20103
- " to method get_model_configuration_api_v2_aica_endpoints_model_config_get" % key
20104
- )
20105
- local_var_params[key] = val
20106
- del local_var_params['kwargs']
20107
- # verify the required parameter 'aviary_version' is set
20108
- if self.api_client.client_side_validation and ('aviary_version' not in local_var_params or # noqa: E501
20109
- local_var_params['aviary_version'] is None): # noqa: E501
20110
- raise ApiValueError("Missing the required parameter `aviary_version` when calling `get_model_configuration_api_v2_aica_endpoints_model_config_get`") # noqa: E501
20111
- # verify the required parameter 'model_name' is set
20112
- if self.api_client.client_side_validation and ('model_name' not in local_var_params or # noqa: E501
20113
- local_var_params['model_name'] is None): # noqa: E501
20114
- raise ApiValueError("Missing the required parameter `model_name` when calling `get_model_configuration_api_v2_aica_endpoints_model_config_get`") # noqa: E501
20115
-
20116
- collection_formats = {}
20117
-
20118
- path_params = {}
20119
-
20120
- query_params = []
20121
- if 'aviary_version' in local_var_params and local_var_params['aviary_version'] is not None: # noqa: E501
20122
- query_params.append(('aviary_version', local_var_params['aviary_version'])) # noqa: E501
20123
- if 'model_name' in local_var_params and local_var_params['model_name'] is not None: # noqa: E501
20124
- query_params.append(('model_name', local_var_params['model_name'])) # noqa: E501
20125
- if 'cloud_id' in local_var_params and local_var_params['cloud_id'] is not None: # noqa: E501
20126
- query_params.append(('cloud_id', local_var_params['cloud_id'])) # noqa: E501
20127
-
20128
- header_params = {}
20129
-
20130
- form_params = []
20131
- local_var_files = {}
20132
-
20133
- body_params = None
20134
- # HTTP header `Accept`
20135
- header_params['Accept'] = self.api_client.select_header_accept(
20136
- ['application/json']) # noqa: E501
20137
-
20138
- # Authentication setting
20139
- auth_settings = [] # noqa: E501
20140
-
20141
- return self.api_client.call_api(
20142
- '/api/v2/aica_endpoints/model_config', 'GET',
20143
- path_params,
20144
- query_params,
20145
- header_params,
20146
- body=body_params,
20147
- post_params=form_params,
20148
- files=local_var_files,
20149
- response_type='AicaModelAcceleratorMap', # noqa: E501
20150
- auth_settings=auth_settings,
20151
- async_req=local_var_params.get('async_req'),
20152
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
20153
- _preload_content=local_var_params.get('_preload_content', True),
20154
- _request_timeout=local_var_params.get('_request_timeout'),
20155
- collection_formats=collection_formats)
20156
-
20157
- def get_model_schema_api_v2_aica_endpoints_model_schema_get(self, aviary_version, **kwargs): # noqa: E501
20158
- """Get Model Schema # noqa: E501
20159
-
20160
- Get model schema # noqa: E501
20161
- This method makes a synchronous HTTP request by default. To make an
20162
- asynchronous HTTP request, please pass async_req=True
20163
- >>> thread = api.get_model_schema_api_v2_aica_endpoints_model_schema_get(aviary_version, async_req=True)
20164
- >>> result = thread.get()
20165
-
20166
- :param async_req bool: execute request asynchronously
20167
- :param str aviary_version: (required)
20168
- :param _preload_content: if False, the urllib3.HTTPResponse object will
20169
- be returned without reading/decoding response
20170
- data. Default is True.
20171
- :param _request_timeout: timeout setting for this request. If one
20172
- number provided, it will be total request
20173
- timeout. It can also be a pair (tuple) of
20174
- (connection, read) timeouts.
20175
- :return: object
20176
- If the method is called asynchronously,
20177
- returns the request thread.
20178
- """
20179
- kwargs['_return_http_data_only'] = True
20180
- return self.get_model_schema_api_v2_aica_endpoints_model_schema_get_with_http_info(aviary_version, **kwargs) # noqa: E501
20181
-
20182
- def get_model_schema_api_v2_aica_endpoints_model_schema_get_with_http_info(self, aviary_version, **kwargs): # noqa: E501
20183
- """Get Model Schema # noqa: E501
20184
-
20185
- Get model schema # noqa: E501
20186
- This method makes a synchronous HTTP request by default. To make an
20187
- asynchronous HTTP request, please pass async_req=True
20188
- >>> thread = api.get_model_schema_api_v2_aica_endpoints_model_schema_get_with_http_info(aviary_version, async_req=True)
20189
- >>> result = thread.get()
20190
-
20191
- :param async_req bool: execute request asynchronously
20192
- :param str aviary_version: (required)
20193
- :param _return_http_data_only: response data without head status code
20194
- and headers
20195
- :param _preload_content: if False, the urllib3.HTTPResponse object will
20196
- be returned without reading/decoding response
20197
- data. Default is True.
20198
- :param _request_timeout: timeout setting for this request. If one
20199
- number provided, it will be total request
20200
- timeout. It can also be a pair (tuple) of
20201
- (connection, read) timeouts.
20202
- :return: tuple(object, status_code(int), headers(HTTPHeaderDict))
20203
- If the method is called asynchronously,
20204
- returns the request thread.
20205
- """
20206
-
20207
- local_var_params = locals()
20208
-
20209
- all_params = [
20210
- 'aviary_version'
20211
- ]
20212
- all_params.extend(
20213
- [
20214
- 'async_req',
20215
- '_return_http_data_only',
20216
- '_preload_content',
20217
- '_request_timeout'
20218
- ]
20219
- )
20220
-
20221
- for key, val in six.iteritems(local_var_params['kwargs']):
20222
- if key not in all_params:
20223
- raise ApiTypeError(
20224
- "Got an unexpected keyword argument '%s'"
20225
- " to method get_model_schema_api_v2_aica_endpoints_model_schema_get" % key
20226
- )
20227
- local_var_params[key] = val
20228
- del local_var_params['kwargs']
20229
- # verify the required parameter 'aviary_version' is set
20230
- if self.api_client.client_side_validation and ('aviary_version' not in local_var_params or # noqa: E501
20231
- local_var_params['aviary_version'] is None): # noqa: E501
20232
- raise ApiValueError("Missing the required parameter `aviary_version` when calling `get_model_schema_api_v2_aica_endpoints_model_schema_get`") # noqa: E501
20233
-
20234
- collection_formats = {}
20235
-
20236
- path_params = {}
20237
-
20238
- query_params = []
20239
- if 'aviary_version' in local_var_params and local_var_params['aviary_version'] is not None: # noqa: E501
20240
- query_params.append(('aviary_version', local_var_params['aviary_version'])) # noqa: E501
20241
-
20242
- header_params = {}
20243
-
20244
- form_params = []
20245
- local_var_files = {}
20246
-
20247
- body_params = None
20248
- # HTTP header `Accept`
20249
- header_params['Accept'] = self.api_client.select_header_accept(
20250
- ['application/json']) # noqa: E501
20251
-
20252
- # Authentication setting
20253
- auth_settings = [] # noqa: E501
20254
-
20255
- return self.api_client.call_api(
20256
- '/api/v2/aica_endpoints/model_schema', 'GET',
20257
- path_params,
20258
- query_params,
20259
- header_params,
20260
- body=body_params,
20261
- post_params=form_params,
20262
- files=local_var_files,
20263
- response_type='object', # noqa: E501
20264
- auth_settings=auth_settings,
20265
- async_req=local_var_params.get('async_req'),
20266
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
20267
- _preload_content=local_var_params.get('_preload_content', True),
20268
- _request_timeout=local_var_params.get('_request_timeout'),
20269
- collection_formats=collection_formats)
20270
-
20271
19670
  def get_monitor_logs_api_v2_sessions_session_id_monitor_logs_get(self, session_id, start_line, end_line, **kwargs): # noqa: E501
20272
19671
  """Get Monitor Logs # noqa: E501
20273
19672
 
@@ -21311,127 +20710,6 @@ class DefaultApi(object):
21311
20710
  _request_timeout=local_var_params.get('_request_timeout'),
21312
20711
  collection_formats=collection_formats)
21313
20712
 
21314
- def get_provider_metadata_api_v2_clouds_provider_metadata_cloud_id_get(self, cloud_id, max_staleness, **kwargs): # noqa: E501
21315
- """Get Provider Metadata # noqa: E501
21316
-
21317
- This method makes a synchronous HTTP request by default. To make an
21318
- asynchronous HTTP request, please pass async_req=True
21319
- >>> thread = api.get_provider_metadata_api_v2_clouds_provider_metadata_cloud_id_get(cloud_id, max_staleness, async_req=True)
21320
- >>> result = thread.get()
21321
-
21322
- :param async_req bool: execute request asynchronously
21323
- :param str cloud_id: (required)
21324
- :param float max_staleness: (required)
21325
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21326
- be returned without reading/decoding response
21327
- data. Default is True.
21328
- :param _request_timeout: timeout setting for this request. If one
21329
- number provided, it will be total request
21330
- timeout. It can also be a pair (tuple) of
21331
- (connection, read) timeouts.
21332
- :return: ProvidermetadataResponse
21333
- If the method is called asynchronously,
21334
- returns the request thread.
21335
- """
21336
- kwargs['_return_http_data_only'] = True
21337
- return self.get_provider_metadata_api_v2_clouds_provider_metadata_cloud_id_get_with_http_info(cloud_id, max_staleness, **kwargs) # noqa: E501
21338
-
21339
- def get_provider_metadata_api_v2_clouds_provider_metadata_cloud_id_get_with_http_info(self, cloud_id, max_staleness, **kwargs): # noqa: E501
21340
- """Get Provider Metadata # noqa: E501
21341
-
21342
- This method makes a synchronous HTTP request by default. To make an
21343
- asynchronous HTTP request, please pass async_req=True
21344
- >>> thread = api.get_provider_metadata_api_v2_clouds_provider_metadata_cloud_id_get_with_http_info(cloud_id, max_staleness, async_req=True)
21345
- >>> result = thread.get()
21346
-
21347
- :param async_req bool: execute request asynchronously
21348
- :param str cloud_id: (required)
21349
- :param float max_staleness: (required)
21350
- :param _return_http_data_only: response data without head status code
21351
- and headers
21352
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21353
- be returned without reading/decoding response
21354
- data. Default is True.
21355
- :param _request_timeout: timeout setting for this request. If one
21356
- number provided, it will be total request
21357
- timeout. It can also be a pair (tuple) of
21358
- (connection, read) timeouts.
21359
- :return: tuple(ProvidermetadataResponse, status_code(int), headers(HTTPHeaderDict))
21360
- If the method is called asynchronously,
21361
- returns the request thread.
21362
- """
21363
-
21364
- local_var_params = locals()
21365
-
21366
- all_params = [
21367
- 'cloud_id',
21368
- 'max_staleness'
21369
- ]
21370
- all_params.extend(
21371
- [
21372
- 'async_req',
21373
- '_return_http_data_only',
21374
- '_preload_content',
21375
- '_request_timeout'
21376
- ]
21377
- )
21378
-
21379
- for key, val in six.iteritems(local_var_params['kwargs']):
21380
- if key not in all_params:
21381
- raise ApiTypeError(
21382
- "Got an unexpected keyword argument '%s'"
21383
- " to method get_provider_metadata_api_v2_clouds_provider_metadata_cloud_id_get" % key
21384
- )
21385
- local_var_params[key] = val
21386
- del local_var_params['kwargs']
21387
- # verify the required parameter 'cloud_id' is set
21388
- if self.api_client.client_side_validation and ('cloud_id' not in local_var_params or # noqa: E501
21389
- local_var_params['cloud_id'] is None): # noqa: E501
21390
- raise ApiValueError("Missing the required parameter `cloud_id` when calling `get_provider_metadata_api_v2_clouds_provider_metadata_cloud_id_get`") # noqa: E501
21391
- # verify the required parameter 'max_staleness' is set
21392
- if self.api_client.client_side_validation and ('max_staleness' not in local_var_params or # noqa: E501
21393
- local_var_params['max_staleness'] is None): # noqa: E501
21394
- raise ApiValueError("Missing the required parameter `max_staleness` when calling `get_provider_metadata_api_v2_clouds_provider_metadata_cloud_id_get`") # noqa: E501
21395
-
21396
- collection_formats = {}
21397
-
21398
- path_params = {}
21399
- if 'cloud_id' in local_var_params:
21400
- path_params['cloud_id'] = local_var_params['cloud_id'] # noqa: E501
21401
-
21402
- query_params = []
21403
- if 'max_staleness' in local_var_params and local_var_params['max_staleness'] is not None: # noqa: E501
21404
- query_params.append(('max_staleness', local_var_params['max_staleness'])) # noqa: E501
21405
-
21406
- header_params = {}
21407
-
21408
- form_params = []
21409
- local_var_files = {}
21410
-
21411
- body_params = None
21412
- # HTTP header `Accept`
21413
- header_params['Accept'] = self.api_client.select_header_accept(
21414
- ['application/json']) # noqa: E501
21415
-
21416
- # Authentication setting
21417
- auth_settings = [] # noqa: E501
21418
-
21419
- return self.api_client.call_api(
21420
- '/api/v2/clouds/provider_metadata/{cloud_id}', 'GET',
21421
- path_params,
21422
- query_params,
21423
- header_params,
21424
- body=body_params,
21425
- post_params=form_params,
21426
- files=local_var_files,
21427
- response_type='ProvidermetadataResponse', # noqa: E501
21428
- auth_settings=auth_settings,
21429
- async_req=local_var_params.get('async_req'),
21430
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
21431
- _preload_content=local_var_params.get('_preload_content', True),
21432
- _request_timeout=local_var_params.get('_request_timeout'),
21433
- collection_formats=collection_formats)
21434
-
21435
20713
  def get_public_identifier_api_v2_organizations_public_identifier_get(self, organization_name, **kwargs): # noqa: E501
21436
20714
  """Get Public Identifier # noqa: E501
21437
20715
 
@@ -21544,130 +20822,6 @@ class DefaultApi(object):
21544
20822
  _request_timeout=local_var_params.get('_request_timeout'),
21545
20823
  collection_formats=collection_formats)
21546
20824
 
21547
- def get_ray_result_files_api_v2_sessions_session_id_get_ray_result_files_get(self, session_id, **kwargs): # noqa: E501
21548
- """Get Ray Result Files # noqa: E501
21549
-
21550
- API for downloading ray tune results of a session. Parameters ---------- session_id: str DB id of the session. This is a path parameter. If session_id is 'latest', then atleast one of production_job_id or ray_job_submission_id must be provided in the query parameters. job_id: Optional[str] DB id of the production job. This is a query parameter. job_run: Optional[str] Ray job submission id of the job run, also known as job run name in the UI. This is a query parameter. base_sessions_service: BaseSessionsService The session service, which provides the necessary orchestration for downloading logs. premission_service: SessionPermissionsService The permission sercice. This is used to do authorization checks. auth_context: AuthContext The auth context of the user. db_connections: Any Connection to the DB. Returns ------- Response[LogDetails] The ray tune results files, with their presigned URL. Raises ------ HTTPException(401) If the user does not have access to the session. HTTPException(404) If the session or cloud could not be found in the DB. HTTPException(500) If there are any other errors while downloading ray tune results. # noqa: E501
21551
- This method makes a synchronous HTTP request by default. To make an
21552
- asynchronous HTTP request, please pass async_req=True
21553
- >>> thread = api.get_ray_result_files_api_v2_sessions_session_id_get_ray_result_files_get(session_id, async_req=True)
21554
- >>> result = thread.get()
21555
-
21556
- :param async_req bool: execute request asynchronously
21557
- :param str session_id: the session id or 'latest' (required)
21558
- :param str job_id: job id to download ray results.
21559
- :param str job_run: job run name to download ray results.
21560
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21561
- be returned without reading/decoding response
21562
- data. Default is True.
21563
- :param _request_timeout: timeout setting for this request. If one
21564
- number provided, it will be total request
21565
- timeout. It can also be a pair (tuple) of
21566
- (connection, read) timeouts.
21567
- :return: LogdetailsResponse
21568
- If the method is called asynchronously,
21569
- returns the request thread.
21570
- """
21571
- kwargs['_return_http_data_only'] = True
21572
- return self.get_ray_result_files_api_v2_sessions_session_id_get_ray_result_files_get_with_http_info(session_id, **kwargs) # noqa: E501
21573
-
21574
- def get_ray_result_files_api_v2_sessions_session_id_get_ray_result_files_get_with_http_info(self, session_id, **kwargs): # noqa: E501
21575
- """Get Ray Result Files # noqa: E501
21576
-
21577
- API for downloading ray tune results of a session. Parameters ---------- session_id: str DB id of the session. This is a path parameter. If session_id is 'latest', then atleast one of production_job_id or ray_job_submission_id must be provided in the query parameters. job_id: Optional[str] DB id of the production job. This is a query parameter. job_run: Optional[str] Ray job submission id of the job run, also known as job run name in the UI. This is a query parameter. base_sessions_service: BaseSessionsService The session service, which provides the necessary orchestration for downloading logs. premission_service: SessionPermissionsService The permission sercice. This is used to do authorization checks. auth_context: AuthContext The auth context of the user. db_connections: Any Connection to the DB. Returns ------- Response[LogDetails] The ray tune results files, with their presigned URL. Raises ------ HTTPException(401) If the user does not have access to the session. HTTPException(404) If the session or cloud could not be found in the DB. HTTPException(500) If there are any other errors while downloading ray tune results. # noqa: E501
21578
- This method makes a synchronous HTTP request by default. To make an
21579
- asynchronous HTTP request, please pass async_req=True
21580
- >>> thread = api.get_ray_result_files_api_v2_sessions_session_id_get_ray_result_files_get_with_http_info(session_id, async_req=True)
21581
- >>> result = thread.get()
21582
-
21583
- :param async_req bool: execute request asynchronously
21584
- :param str session_id: the session id or 'latest' (required)
21585
- :param str job_id: job id to download ray results.
21586
- :param str job_run: job run name to download ray results.
21587
- :param _return_http_data_only: response data without head status code
21588
- and headers
21589
- :param _preload_content: if False, the urllib3.HTTPResponse object will
21590
- be returned without reading/decoding response
21591
- data. Default is True.
21592
- :param _request_timeout: timeout setting for this request. If one
21593
- number provided, it will be total request
21594
- timeout. It can also be a pair (tuple) of
21595
- (connection, read) timeouts.
21596
- :return: tuple(LogdetailsResponse, status_code(int), headers(HTTPHeaderDict))
21597
- If the method is called asynchronously,
21598
- returns the request thread.
21599
- """
21600
-
21601
- local_var_params = locals()
21602
-
21603
- all_params = [
21604
- 'session_id',
21605
- 'job_id',
21606
- 'job_run'
21607
- ]
21608
- all_params.extend(
21609
- [
21610
- 'async_req',
21611
- '_return_http_data_only',
21612
- '_preload_content',
21613
- '_request_timeout'
21614
- ]
21615
- )
21616
-
21617
- for key, val in six.iteritems(local_var_params['kwargs']):
21618
- if key not in all_params:
21619
- raise ApiTypeError(
21620
- "Got an unexpected keyword argument '%s'"
21621
- " to method get_ray_result_files_api_v2_sessions_session_id_get_ray_result_files_get" % key
21622
- )
21623
- local_var_params[key] = val
21624
- del local_var_params['kwargs']
21625
- # verify the required parameter 'session_id' is set
21626
- if self.api_client.client_side_validation and ('session_id' not in local_var_params or # noqa: E501
21627
- local_var_params['session_id'] is None): # noqa: E501
21628
- raise ApiValueError("Missing the required parameter `session_id` when calling `get_ray_result_files_api_v2_sessions_session_id_get_ray_result_files_get`") # noqa: E501
21629
-
21630
- collection_formats = {}
21631
-
21632
- path_params = {}
21633
- if 'session_id' in local_var_params:
21634
- path_params['session_id'] = local_var_params['session_id'] # noqa: E501
21635
-
21636
- query_params = []
21637
- if 'job_id' in local_var_params and local_var_params['job_id'] is not None: # noqa: E501
21638
- query_params.append(('job_id', local_var_params['job_id'])) # noqa: E501
21639
- if 'job_run' in local_var_params and local_var_params['job_run'] is not None: # noqa: E501
21640
- query_params.append(('job_run', local_var_params['job_run'])) # noqa: E501
21641
-
21642
- header_params = {}
21643
-
21644
- form_params = []
21645
- local_var_files = {}
21646
-
21647
- body_params = None
21648
- # HTTP header `Accept`
21649
- header_params['Accept'] = self.api_client.select_header_accept(
21650
- ['application/json']) # noqa: E501
21651
-
21652
- # Authentication setting
21653
- auth_settings = [] # noqa: E501
21654
-
21655
- return self.api_client.call_api(
21656
- '/api/v2/sessions/{session_id}/get_ray_result_files', 'GET',
21657
- path_params,
21658
- query_params,
21659
- header_params,
21660
- body=body_params,
21661
- post_params=form_params,
21662
- files=local_var_files,
21663
- response_type='LogdetailsResponse', # noqa: E501
21664
- auth_settings=auth_settings,
21665
- async_req=local_var_params.get('async_req'),
21666
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
21667
- _preload_content=local_var_params.get('_preload_content', True),
21668
- _request_timeout=local_var_params.get('_request_timeout'),
21669
- collection_formats=collection_formats)
21670
-
21671
20825
  def get_recent_cluster_compute_configs_api_v2_recent_activity_cluster_compute_configs_get(self, **kwargs): # noqa: E501
21672
20826
  """Get Recent Cluster Compute Configs # noqa: E501
21673
20827
 
@@ -25399,6 +24553,146 @@ class DefaultApi(object):
25399
24553
  _request_timeout=local_var_params.get('_request_timeout'),
25400
24554
  collection_formats=collection_formats)
25401
24555
 
24556
+ def get_train_logs_download_api_v2_train_runs_logs_get(self, cluster_id, log_id, **kwargs): # noqa: E501
24557
+ """Get Train Logs Download # noqa: E501
24558
+
24559
+ Fetches the serve controller logs of the cluster. The logs will be fetched from the streaming logs s3 bucket. If a pagination token is provided, we use the streaming logs or downloaded logs bucket depending on the format of the pagination token. # noqa: E501
24560
+ This method makes a synchronous HTTP request by default. To make an
24561
+ asynchronous HTTP request, please pass async_req=True
24562
+ >>> thread = api.get_train_logs_download_api_v2_train_runs_logs_get(cluster_id, log_id, async_req=True)
24563
+ >>> result = thread.get()
24564
+
24565
+ :param async_req bool: execute request asynchronously
24566
+ :param str cluster_id: (required)
24567
+ :param str log_id: (required)
24568
+ :param int page_size: Number of chunks to fetch. Defaults to 400. Max of 1000.
24569
+ :param str next_page_token: Pagination token for getting newer logs.
24570
+ :param str previous_page_token: Pagination token for getting older logs.
24571
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
24572
+ be returned without reading/decoding response
24573
+ data. Default is True.
24574
+ :param _request_timeout: timeout setting for this request. If one
24575
+ number provided, it will be total request
24576
+ timeout. It can also be a pair (tuple) of
24577
+ (connection, read) timeouts.
24578
+ :return: LogdownloadresultResponse
24579
+ If the method is called asynchronously,
24580
+ returns the request thread.
24581
+ """
24582
+ kwargs['_return_http_data_only'] = True
24583
+ return self.get_train_logs_download_api_v2_train_runs_logs_get_with_http_info(cluster_id, log_id, **kwargs) # noqa: E501
24584
+
24585
+ def get_train_logs_download_api_v2_train_runs_logs_get_with_http_info(self, cluster_id, log_id, **kwargs): # noqa: E501
24586
+ """Get Train Logs Download # noqa: E501
24587
+
24588
+ Fetches the serve controller logs of the cluster. The logs will be fetched from the streaming logs s3 bucket. If a pagination token is provided, we use the streaming logs or downloaded logs bucket depending on the format of the pagination token. # noqa: E501
24589
+ This method makes a synchronous HTTP request by default. To make an
24590
+ asynchronous HTTP request, please pass async_req=True
24591
+ >>> thread = api.get_train_logs_download_api_v2_train_runs_logs_get_with_http_info(cluster_id, log_id, async_req=True)
24592
+ >>> result = thread.get()
24593
+
24594
+ :param async_req bool: execute request asynchronously
24595
+ :param str cluster_id: (required)
24596
+ :param str log_id: (required)
24597
+ :param int page_size: Number of chunks to fetch. Defaults to 400. Max of 1000.
24598
+ :param str next_page_token: Pagination token for getting newer logs.
24599
+ :param str previous_page_token: Pagination token for getting older logs.
24600
+ :param _return_http_data_only: response data without head status code
24601
+ and headers
24602
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
24603
+ be returned without reading/decoding response
24604
+ data. Default is True.
24605
+ :param _request_timeout: timeout setting for this request. If one
24606
+ number provided, it will be total request
24607
+ timeout. It can also be a pair (tuple) of
24608
+ (connection, read) timeouts.
24609
+ :return: tuple(LogdownloadresultResponse, status_code(int), headers(HTTPHeaderDict))
24610
+ If the method is called asynchronously,
24611
+ returns the request thread.
24612
+ """
24613
+
24614
+ local_var_params = locals()
24615
+
24616
+ all_params = [
24617
+ 'cluster_id',
24618
+ 'log_id',
24619
+ 'page_size',
24620
+ 'next_page_token',
24621
+ 'previous_page_token'
24622
+ ]
24623
+ all_params.extend(
24624
+ [
24625
+ 'async_req',
24626
+ '_return_http_data_only',
24627
+ '_preload_content',
24628
+ '_request_timeout'
24629
+ ]
24630
+ )
24631
+
24632
+ for key, val in six.iteritems(local_var_params['kwargs']):
24633
+ if key not in all_params:
24634
+ raise ApiTypeError(
24635
+ "Got an unexpected keyword argument '%s'"
24636
+ " to method get_train_logs_download_api_v2_train_runs_logs_get" % key
24637
+ )
24638
+ local_var_params[key] = val
24639
+ del local_var_params['kwargs']
24640
+ # verify the required parameter 'cluster_id' is set
24641
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
24642
+ local_var_params['cluster_id'] is None): # noqa: E501
24643
+ raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_train_logs_download_api_v2_train_runs_logs_get`") # noqa: E501
24644
+ # verify the required parameter 'log_id' is set
24645
+ if self.api_client.client_side_validation and ('log_id' not in local_var_params or # noqa: E501
24646
+ local_var_params['log_id'] is None): # noqa: E501
24647
+ raise ApiValueError("Missing the required parameter `log_id` when calling `get_train_logs_download_api_v2_train_runs_logs_get`") # noqa: E501
24648
+
24649
+ if self.api_client.client_side_validation and 'page_size' in local_var_params and local_var_params['page_size'] > 1000: # noqa: E501
24650
+ raise ApiValueError("Invalid value for parameter `page_size` when calling `get_train_logs_download_api_v2_train_runs_logs_get`, must be a value less than or equal to `1000`") # noqa: E501
24651
+ collection_formats = {}
24652
+
24653
+ path_params = {}
24654
+
24655
+ query_params = []
24656
+ if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
24657
+ query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
24658
+ if 'log_id' in local_var_params and local_var_params['log_id'] is not None: # noqa: E501
24659
+ query_params.append(('log_id', local_var_params['log_id'])) # noqa: E501
24660
+ if 'page_size' in local_var_params and local_var_params['page_size'] is not None: # noqa: E501
24661
+ query_params.append(('page_size', local_var_params['page_size'])) # noqa: E501
24662
+ if 'next_page_token' in local_var_params and local_var_params['next_page_token'] is not None: # noqa: E501
24663
+ query_params.append(('next_page_token', local_var_params['next_page_token'])) # noqa: E501
24664
+ if 'previous_page_token' in local_var_params and local_var_params['previous_page_token'] is not None: # noqa: E501
24665
+ query_params.append(('previous_page_token', local_var_params['previous_page_token'])) # noqa: E501
24666
+
24667
+ header_params = {}
24668
+
24669
+ form_params = []
24670
+ local_var_files = {}
24671
+
24672
+ body_params = None
24673
+ # HTTP header `Accept`
24674
+ header_params['Accept'] = self.api_client.select_header_accept(
24675
+ ['application/json']) # noqa: E501
24676
+
24677
+ # Authentication setting
24678
+ auth_settings = [] # noqa: E501
24679
+
24680
+ return self.api_client.call_api(
24681
+ '/api/v2/train_runs/logs', 'GET',
24682
+ path_params,
24683
+ query_params,
24684
+ header_params,
24685
+ body=body_params,
24686
+ post_params=form_params,
24687
+ files=local_var_files,
24688
+ response_type='LogdownloadresultResponse', # noqa: E501
24689
+ auth_settings=auth_settings,
24690
+ async_req=local_var_params.get('async_req'),
24691
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
24692
+ _preload_content=local_var_params.get('_preload_content', True),
24693
+ _request_timeout=local_var_params.get('_request_timeout'),
24694
+ collection_formats=collection_formats)
24695
+
25402
24696
  def get_train_runs_api_v2_train_runs_get(self, cluster_id, **kwargs): # noqa: E501
25403
24697
  """Get Train Runs # noqa: E501
25404
24698
 
@@ -26927,124 +26221,6 @@ class DefaultApi(object):
26927
26221
  _request_timeout=local_var_params.get('_request_timeout'),
26928
26222
  collection_formats=collection_formats)
26929
26223
 
26930
- def import_model_api_v2_aica_endpoints_import_model_post(self, import_aica_model, **kwargs): # noqa: E501
26931
- """Import Model # noqa: E501
26932
-
26933
- Imports a model. # noqa: E501
26934
- This method makes a synchronous HTTP request by default. To make an
26935
- asynchronous HTTP request, please pass async_req=True
26936
- >>> thread = api.import_model_api_v2_aica_endpoints_import_model_post(import_aica_model, async_req=True)
26937
- >>> result = thread.get()
26938
-
26939
- :param async_req bool: execute request asynchronously
26940
- :param ImportAicaModel import_aica_model: (required)
26941
- :param _preload_content: if False, the urllib3.HTTPResponse object will
26942
- be returned without reading/decoding response
26943
- data. Default is True.
26944
- :param _request_timeout: timeout setting for this request. If one
26945
- number provided, it will be total request
26946
- timeout. It can also be a pair (tuple) of
26947
- (connection, read) timeouts.
26948
- :return: AicamodelResponse
26949
- If the method is called asynchronously,
26950
- returns the request thread.
26951
- """
26952
- kwargs['_return_http_data_only'] = True
26953
- return self.import_model_api_v2_aica_endpoints_import_model_post_with_http_info(import_aica_model, **kwargs) # noqa: E501
26954
-
26955
- def import_model_api_v2_aica_endpoints_import_model_post_with_http_info(self, import_aica_model, **kwargs): # noqa: E501
26956
- """Import Model # noqa: E501
26957
-
26958
- Imports a model. # noqa: E501
26959
- This method makes a synchronous HTTP request by default. To make an
26960
- asynchronous HTTP request, please pass async_req=True
26961
- >>> thread = api.import_model_api_v2_aica_endpoints_import_model_post_with_http_info(import_aica_model, async_req=True)
26962
- >>> result = thread.get()
26963
-
26964
- :param async_req bool: execute request asynchronously
26965
- :param ImportAicaModel import_aica_model: (required)
26966
- :param _return_http_data_only: response data without head status code
26967
- and headers
26968
- :param _preload_content: if False, the urllib3.HTTPResponse object will
26969
- be returned without reading/decoding response
26970
- data. Default is True.
26971
- :param _request_timeout: timeout setting for this request. If one
26972
- number provided, it will be total request
26973
- timeout. It can also be a pair (tuple) of
26974
- (connection, read) timeouts.
26975
- :return: tuple(AicamodelResponse, status_code(int), headers(HTTPHeaderDict))
26976
- If the method is called asynchronously,
26977
- returns the request thread.
26978
- """
26979
-
26980
- local_var_params = locals()
26981
-
26982
- all_params = [
26983
- 'import_aica_model'
26984
- ]
26985
- all_params.extend(
26986
- [
26987
- 'async_req',
26988
- '_return_http_data_only',
26989
- '_preload_content',
26990
- '_request_timeout'
26991
- ]
26992
- )
26993
-
26994
- for key, val in six.iteritems(local_var_params['kwargs']):
26995
- if key not in all_params:
26996
- raise ApiTypeError(
26997
- "Got an unexpected keyword argument '%s'"
26998
- " to method import_model_api_v2_aica_endpoints_import_model_post" % key
26999
- )
27000
- local_var_params[key] = val
27001
- del local_var_params['kwargs']
27002
- # verify the required parameter 'import_aica_model' is set
27003
- if self.api_client.client_side_validation and ('import_aica_model' not in local_var_params or # noqa: E501
27004
- local_var_params['import_aica_model'] is None): # noqa: E501
27005
- raise ApiValueError("Missing the required parameter `import_aica_model` when calling `import_model_api_v2_aica_endpoints_import_model_post`") # noqa: E501
27006
-
27007
- collection_formats = {}
27008
-
27009
- path_params = {}
27010
-
27011
- query_params = []
27012
-
27013
- header_params = {}
27014
-
27015
- form_params = []
27016
- local_var_files = {}
27017
-
27018
- body_params = None
27019
- if 'import_aica_model' in local_var_params:
27020
- body_params = local_var_params['import_aica_model']
27021
- # HTTP header `Accept`
27022
- header_params['Accept'] = self.api_client.select_header_accept(
27023
- ['application/json']) # noqa: E501
27024
-
27025
- # HTTP header `Content-Type`
27026
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
27027
- ['application/json']) # noqa: E501
27028
-
27029
- # Authentication setting
27030
- auth_settings = [] # noqa: E501
27031
-
27032
- return self.api_client.call_api(
27033
- '/api/v2/aica_endpoints/import_model', 'POST',
27034
- path_params,
27035
- query_params,
27036
- header_params,
27037
- body=body_params,
27038
- post_params=form_params,
27039
- files=local_var_files,
27040
- response_type='AicamodelResponse', # noqa: E501
27041
- auth_settings=auth_settings,
27042
- async_req=local_var_params.get('async_req'),
27043
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
27044
- _preload_content=local_var_params.get('_preload_content', True),
27045
- _request_timeout=local_var_params.get('_request_timeout'),
27046
- collection_formats=collection_formats)
27047
-
27048
26224
  def invalidate_invitation_api_v2_organization_invitations_invitation_id_invalidate_post(self, invitation_id, **kwargs): # noqa: E501
27049
26225
  """Invalidate Invitation # noqa: E501
27050
26226
 
@@ -27383,254 +26559,6 @@ class DefaultApi(object):
27383
26559
  _request_timeout=local_var_params.get('_request_timeout'),
27384
26560
  collection_formats=collection_formats)
27385
26561
 
27386
- def list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get(self, endpoint_id, **kwargs): # noqa: E501
27387
- """List Aica Endpoint Events # noqa: E501
27388
-
27389
- Lists up to 1000 events of the AICA endpoint. # noqa: E501
27390
- This method makes a synchronous HTTP request by default. To make an
27391
- asynchronous HTTP request, please pass async_req=True
27392
- >>> thread = api.list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get(endpoint_id, async_req=True)
27393
- >>> result = thread.get()
27394
-
27395
- :param async_req bool: execute request asynchronously
27396
- :param str endpoint_id: (required)
27397
- :param _preload_content: if False, the urllib3.HTTPResponse object will
27398
- be returned without reading/decoding response
27399
- data. Default is True.
27400
- :param _request_timeout: timeout setting for this request. If one
27401
- number provided, it will be total request
27402
- timeout. It can also be a pair (tuple) of
27403
- (connection, read) timeouts.
27404
- :return: AicaendpointeventListResponse
27405
- If the method is called asynchronously,
27406
- returns the request thread.
27407
- """
27408
- kwargs['_return_http_data_only'] = True
27409
- return self.list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get_with_http_info(endpoint_id, **kwargs) # noqa: E501
27410
-
27411
- def list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get_with_http_info(self, endpoint_id, **kwargs): # noqa: E501
27412
- """List Aica Endpoint Events # noqa: E501
27413
-
27414
- Lists up to 1000 events of the AICA endpoint. # noqa: E501
27415
- This method makes a synchronous HTTP request by default. To make an
27416
- asynchronous HTTP request, please pass async_req=True
27417
- >>> thread = api.list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get_with_http_info(endpoint_id, async_req=True)
27418
- >>> result = thread.get()
27419
-
27420
- :param async_req bool: execute request asynchronously
27421
- :param str endpoint_id: (required)
27422
- :param _return_http_data_only: response data without head status code
27423
- and headers
27424
- :param _preload_content: if False, the urllib3.HTTPResponse object will
27425
- be returned without reading/decoding response
27426
- data. Default is True.
27427
- :param _request_timeout: timeout setting for this request. If one
27428
- number provided, it will be total request
27429
- timeout. It can also be a pair (tuple) of
27430
- (connection, read) timeouts.
27431
- :return: tuple(AicaendpointeventListResponse, status_code(int), headers(HTTPHeaderDict))
27432
- If the method is called asynchronously,
27433
- returns the request thread.
27434
- """
27435
-
27436
- local_var_params = locals()
27437
-
27438
- all_params = [
27439
- 'endpoint_id'
27440
- ]
27441
- all_params.extend(
27442
- [
27443
- 'async_req',
27444
- '_return_http_data_only',
27445
- '_preload_content',
27446
- '_request_timeout'
27447
- ]
27448
- )
27449
-
27450
- for key, val in six.iteritems(local_var_params['kwargs']):
27451
- if key not in all_params:
27452
- raise ApiTypeError(
27453
- "Got an unexpected keyword argument '%s'"
27454
- " to method list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get" % key
27455
- )
27456
- local_var_params[key] = val
27457
- del local_var_params['kwargs']
27458
- # verify the required parameter 'endpoint_id' is set
27459
- if self.api_client.client_side_validation and ('endpoint_id' not in local_var_params or # noqa: E501
27460
- local_var_params['endpoint_id'] is None): # noqa: E501
27461
- raise ApiValueError("Missing the required parameter `endpoint_id` when calling `list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get`") # noqa: E501
27462
-
27463
- collection_formats = {}
27464
-
27465
- path_params = {}
27466
- if 'endpoint_id' in local_var_params:
27467
- path_params['endpoint_id'] = local_var_params['endpoint_id'] # noqa: E501
27468
-
27469
- query_params = []
27470
-
27471
- header_params = {}
27472
-
27473
- form_params = []
27474
- local_var_files = {}
27475
-
27476
- body_params = None
27477
- # HTTP header `Accept`
27478
- header_params['Accept'] = self.api_client.select_header_accept(
27479
- ['application/json']) # noqa: E501
27480
-
27481
- # Authentication setting
27482
- auth_settings = [] # noqa: E501
27483
-
27484
- return self.api_client.call_api(
27485
- '/api/v2/aica_endpoints/{endpoint_id}/events', 'GET',
27486
- path_params,
27487
- query_params,
27488
- header_params,
27489
- body=body_params,
27490
- post_params=form_params,
27491
- files=local_var_files,
27492
- response_type='AicaendpointeventListResponse', # noqa: E501
27493
- auth_settings=auth_settings,
27494
- async_req=local_var_params.get('async_req'),
27495
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
27496
- _preload_content=local_var_params.get('_preload_content', True),
27497
- _request_timeout=local_var_params.get('_request_timeout'),
27498
- collection_formats=collection_formats)
27499
-
27500
- def list_aica_endpoints_api_v2_aica_endpoints_get(self, **kwargs): # noqa: E501
27501
- """List Aica Endpoints # noqa: E501
27502
-
27503
- Lists all endpoints the user has access to # noqa: E501
27504
- This method makes a synchronous HTTP request by default. To make an
27505
- asynchronous HTTP request, please pass async_req=True
27506
- >>> thread = api.list_aica_endpoints_api_v2_aica_endpoints_get(async_req=True)
27507
- >>> result = thread.get()
27508
-
27509
- :param async_req bool: execute request asynchronously
27510
- :param str name: Search for endpoints with a name that equals the provided value
27511
- :param str name_contains: Search for endpoints with a name that contains the provided value
27512
- :param str creator_id: List endpoints created by a given user
27513
- :param str paging_token:
27514
- :param int count:
27515
- :param _preload_content: if False, the urllib3.HTTPResponse object will
27516
- be returned without reading/decoding response
27517
- data. Default is True.
27518
- :param _request_timeout: timeout setting for this request. If one
27519
- number provided, it will be total request
27520
- timeout. It can also be a pair (tuple) of
27521
- (connection, read) timeouts.
27522
- :return: AicaendpointListResponse
27523
- If the method is called asynchronously,
27524
- returns the request thread.
27525
- """
27526
- kwargs['_return_http_data_only'] = True
27527
- return self.list_aica_endpoints_api_v2_aica_endpoints_get_with_http_info(**kwargs) # noqa: E501
27528
-
27529
- def list_aica_endpoints_api_v2_aica_endpoints_get_with_http_info(self, **kwargs): # noqa: E501
27530
- """List Aica Endpoints # noqa: E501
27531
-
27532
- Lists all endpoints the user has access to # noqa: E501
27533
- This method makes a synchronous HTTP request by default. To make an
27534
- asynchronous HTTP request, please pass async_req=True
27535
- >>> thread = api.list_aica_endpoints_api_v2_aica_endpoints_get_with_http_info(async_req=True)
27536
- >>> result = thread.get()
27537
-
27538
- :param async_req bool: execute request asynchronously
27539
- :param str name: Search for endpoints with a name that equals the provided value
27540
- :param str name_contains: Search for endpoints with a name that contains the provided value
27541
- :param str creator_id: List endpoints created by a given user
27542
- :param str paging_token:
27543
- :param int count:
27544
- :param _return_http_data_only: response data without head status code
27545
- and headers
27546
- :param _preload_content: if False, the urllib3.HTTPResponse object will
27547
- be returned without reading/decoding response
27548
- data. Default is True.
27549
- :param _request_timeout: timeout setting for this request. If one
27550
- number provided, it will be total request
27551
- timeout. It can also be a pair (tuple) of
27552
- (connection, read) timeouts.
27553
- :return: tuple(AicaendpointListResponse, status_code(int), headers(HTTPHeaderDict))
27554
- If the method is called asynchronously,
27555
- returns the request thread.
27556
- """
27557
-
27558
- local_var_params = locals()
27559
-
27560
- all_params = [
27561
- 'name',
27562
- 'name_contains',
27563
- 'creator_id',
27564
- 'paging_token',
27565
- 'count'
27566
- ]
27567
- all_params.extend(
27568
- [
27569
- 'async_req',
27570
- '_return_http_data_only',
27571
- '_preload_content',
27572
- '_request_timeout'
27573
- ]
27574
- )
27575
-
27576
- for key, val in six.iteritems(local_var_params['kwargs']):
27577
- if key not in all_params:
27578
- raise ApiTypeError(
27579
- "Got an unexpected keyword argument '%s'"
27580
- " to method list_aica_endpoints_api_v2_aica_endpoints_get" % key
27581
- )
27582
- local_var_params[key] = val
27583
- del local_var_params['kwargs']
27584
-
27585
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
27586
- raise ApiValueError("Invalid value for parameter `count` when calling `list_aica_endpoints_api_v2_aica_endpoints_get`, must be a value less than or equal to `50`") # noqa: E501
27587
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
27588
- raise ApiValueError("Invalid value for parameter `count` when calling `list_aica_endpoints_api_v2_aica_endpoints_get`, must be a value greater than or equal to `0`") # noqa: E501
27589
- collection_formats = {}
27590
-
27591
- path_params = {}
27592
-
27593
- query_params = []
27594
- if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501
27595
- query_params.append(('name', local_var_params['name'])) # noqa: E501
27596
- if 'name_contains' in local_var_params and local_var_params['name_contains'] is not None: # noqa: E501
27597
- query_params.append(('name_contains', local_var_params['name_contains'])) # noqa: E501
27598
- if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
27599
- query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
27600
- if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
27601
- query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
27602
- if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
27603
- query_params.append(('count', local_var_params['count'])) # noqa: E501
27604
-
27605
- header_params = {}
27606
-
27607
- form_params = []
27608
- local_var_files = {}
27609
-
27610
- body_params = None
27611
- # HTTP header `Accept`
27612
- header_params['Accept'] = self.api_client.select_header_accept(
27613
- ['application/json']) # noqa: E501
27614
-
27615
- # Authentication setting
27616
- auth_settings = [] # noqa: E501
27617
-
27618
- return self.api_client.call_api(
27619
- '/api/v2/aica_endpoints/', 'GET',
27620
- path_params,
27621
- query_params,
27622
- header_params,
27623
- body=body_params,
27624
- post_params=form_params,
27625
- files=local_var_files,
27626
- response_type='AicaendpointListResponse', # noqa: E501
27627
- auth_settings=auth_settings,
27628
- async_req=local_var_params.get('async_req'),
27629
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
27630
- _preload_content=local_var_params.get('_preload_content', True),
27631
- _request_timeout=local_var_params.get('_request_timeout'),
27632
- collection_formats=collection_formats)
27633
-
27634
26562
  def list_application_templates_api_v2_application_templates_get(self, **kwargs): # noqa: E501
27635
26563
  """List Application Templates # noqa: E501
27636
26564
 
@@ -30733,145 +29661,6 @@ class DefaultApi(object):
30733
29661
  _request_timeout=local_var_params.get('_request_timeout'),
30734
29662
  collection_formats=collection_formats)
30735
29663
 
30736
- def list_models_api_v2_aica_endpoints_models_get(self, **kwargs): # noqa: E501
30737
- """List Models # noqa: E501
30738
-
30739
- Lists all models # noqa: E501
30740
- This method makes a synchronous HTTP request by default. To make an
30741
- asynchronous HTTP request, please pass async_req=True
30742
- >>> thread = api.list_models_api_v2_aica_endpoints_models_get(async_req=True)
30743
- >>> result = thread.get()
30744
-
30745
- :param async_req bool: execute request asynchronously
30746
- :param str id_contains: Search for models with a name that contains the provided value
30747
- :param str cloud_id: Search for models under the specified cloud. Note that base models are supported under all clouds.
30748
- :param str aviary_version: Search for models available under the specified aviary version.
30749
- :param bool exclude_base_models: Exclude base models from the results.
30750
- :param str paging_token:
30751
- :param int count:
30752
- :param _preload_content: if False, the urllib3.HTTPResponse object will
30753
- be returned without reading/decoding response
30754
- data. Default is True.
30755
- :param _request_timeout: timeout setting for this request. If one
30756
- number provided, it will be total request
30757
- timeout. It can also be a pair (tuple) of
30758
- (connection, read) timeouts.
30759
- :return: AicamodelListResponse
30760
- If the method is called asynchronously,
30761
- returns the request thread.
30762
- """
30763
- kwargs['_return_http_data_only'] = True
30764
- return self.list_models_api_v2_aica_endpoints_models_get_with_http_info(**kwargs) # noqa: E501
30765
-
30766
- def list_models_api_v2_aica_endpoints_models_get_with_http_info(self, **kwargs): # noqa: E501
30767
- """List Models # noqa: E501
30768
-
30769
- Lists all models # noqa: E501
30770
- This method makes a synchronous HTTP request by default. To make an
30771
- asynchronous HTTP request, please pass async_req=True
30772
- >>> thread = api.list_models_api_v2_aica_endpoints_models_get_with_http_info(async_req=True)
30773
- >>> result = thread.get()
30774
-
30775
- :param async_req bool: execute request asynchronously
30776
- :param str id_contains: Search for models with a name that contains the provided value
30777
- :param str cloud_id: Search for models under the specified cloud. Note that base models are supported under all clouds.
30778
- :param str aviary_version: Search for models available under the specified aviary version.
30779
- :param bool exclude_base_models: Exclude base models from the results.
30780
- :param str paging_token:
30781
- :param int count:
30782
- :param _return_http_data_only: response data without head status code
30783
- and headers
30784
- :param _preload_content: if False, the urllib3.HTTPResponse object will
30785
- be returned without reading/decoding response
30786
- data. Default is True.
30787
- :param _request_timeout: timeout setting for this request. If one
30788
- number provided, it will be total request
30789
- timeout. It can also be a pair (tuple) of
30790
- (connection, read) timeouts.
30791
- :return: tuple(AicamodelListResponse, status_code(int), headers(HTTPHeaderDict))
30792
- If the method is called asynchronously,
30793
- returns the request thread.
30794
- """
30795
-
30796
- local_var_params = locals()
30797
-
30798
- all_params = [
30799
- 'id_contains',
30800
- 'cloud_id',
30801
- 'aviary_version',
30802
- 'exclude_base_models',
30803
- 'paging_token',
30804
- 'count'
30805
- ]
30806
- all_params.extend(
30807
- [
30808
- 'async_req',
30809
- '_return_http_data_only',
30810
- '_preload_content',
30811
- '_request_timeout'
30812
- ]
30813
- )
30814
-
30815
- for key, val in six.iteritems(local_var_params['kwargs']):
30816
- if key not in all_params:
30817
- raise ApiTypeError(
30818
- "Got an unexpected keyword argument '%s'"
30819
- " to method list_models_api_v2_aica_endpoints_models_get" % key
30820
- )
30821
- local_var_params[key] = val
30822
- del local_var_params['kwargs']
30823
-
30824
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
30825
- raise ApiValueError("Invalid value for parameter `count` when calling `list_models_api_v2_aica_endpoints_models_get`, must be a value less than or equal to `1000`") # noqa: E501
30826
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
30827
- raise ApiValueError("Invalid value for parameter `count` when calling `list_models_api_v2_aica_endpoints_models_get`, must be a value greater than or equal to `0`") # noqa: E501
30828
- collection_formats = {}
30829
-
30830
- path_params = {}
30831
-
30832
- query_params = []
30833
- if 'id_contains' in local_var_params and local_var_params['id_contains'] is not None: # noqa: E501
30834
- query_params.append(('id_contains', local_var_params['id_contains'])) # noqa: E501
30835
- if 'cloud_id' in local_var_params and local_var_params['cloud_id'] is not None: # noqa: E501
30836
- query_params.append(('cloud_id', local_var_params['cloud_id'])) # noqa: E501
30837
- if 'aviary_version' in local_var_params and local_var_params['aviary_version'] is not None: # noqa: E501
30838
- query_params.append(('aviary_version', local_var_params['aviary_version'])) # noqa: E501
30839
- if 'exclude_base_models' in local_var_params and local_var_params['exclude_base_models'] is not None: # noqa: E501
30840
- query_params.append(('exclude_base_models', local_var_params['exclude_base_models'])) # noqa: E501
30841
- if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
30842
- query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
30843
- if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
30844
- query_params.append(('count', local_var_params['count'])) # noqa: E501
30845
-
30846
- header_params = {}
30847
-
30848
- form_params = []
30849
- local_var_files = {}
30850
-
30851
- body_params = None
30852
- # HTTP header `Accept`
30853
- header_params['Accept'] = self.api_client.select_header_accept(
30854
- ['application/json']) # noqa: E501
30855
-
30856
- # Authentication setting
30857
- auth_settings = [] # noqa: E501
30858
-
30859
- return self.api_client.call_api(
30860
- '/api/v2/aica_endpoints/models', 'GET',
30861
- path_params,
30862
- query_params,
30863
- header_params,
30864
- body=body_params,
30865
- post_params=form_params,
30866
- files=local_var_files,
30867
- response_type='AicamodelListResponse', # noqa: E501
30868
- auth_settings=auth_settings,
30869
- async_req=local_var_params.get('async_req'),
30870
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
30871
- _preload_content=local_var_params.get('_preload_content', True),
30872
- _request_timeout=local_var_params.get('_request_timeout'),
30873
- collection_formats=collection_formats)
30874
-
30875
29664
  def list_models_api_v2_llm_models_get(self, **kwargs): # noqa: E501
30876
29665
  """List Models # noqa: E501
30877
29666
 
@@ -31866,111 +30655,6 @@ class DefaultApi(object):
31866
30655
  _request_timeout=local_var_params.get('_request_timeout'),
31867
30656
  collection_formats=collection_formats)
31868
30657
 
31869
- def list_versions_api_v2_aica_endpoints_versions_get(self, **kwargs): # noqa: E501
31870
- """List Versions # noqa: E501
31871
-
31872
- Lists all aviary versions # noqa: E501
31873
- This method makes a synchronous HTTP request by default. To make an
31874
- asynchronous HTTP request, please pass async_req=True
31875
- >>> thread = api.list_versions_api_v2_aica_endpoints_versions_get(async_req=True)
31876
- >>> result = thread.get()
31877
-
31878
- :param async_req bool: execute request asynchronously
31879
- :param _preload_content: if False, the urllib3.HTTPResponse object will
31880
- be returned without reading/decoding response
31881
- data. Default is True.
31882
- :param _request_timeout: timeout setting for this request. If one
31883
- number provided, it will be total request
31884
- timeout. It can also be a pair (tuple) of
31885
- (connection, read) timeouts.
31886
- :return: list[str]
31887
- If the method is called asynchronously,
31888
- returns the request thread.
31889
- """
31890
- kwargs['_return_http_data_only'] = True
31891
- return self.list_versions_api_v2_aica_endpoints_versions_get_with_http_info(**kwargs) # noqa: E501
31892
-
31893
- def list_versions_api_v2_aica_endpoints_versions_get_with_http_info(self, **kwargs): # noqa: E501
31894
- """List Versions # noqa: E501
31895
-
31896
- Lists all aviary versions # noqa: E501
31897
- This method makes a synchronous HTTP request by default. To make an
31898
- asynchronous HTTP request, please pass async_req=True
31899
- >>> thread = api.list_versions_api_v2_aica_endpoints_versions_get_with_http_info(async_req=True)
31900
- >>> result = thread.get()
31901
-
31902
- :param async_req bool: execute request asynchronously
31903
- :param _return_http_data_only: response data without head status code
31904
- and headers
31905
- :param _preload_content: if False, the urllib3.HTTPResponse object will
31906
- be returned without reading/decoding response
31907
- data. Default is True.
31908
- :param _request_timeout: timeout setting for this request. If one
31909
- number provided, it will be total request
31910
- timeout. It can also be a pair (tuple) of
31911
- (connection, read) timeouts.
31912
- :return: tuple(list[str], status_code(int), headers(HTTPHeaderDict))
31913
- If the method is called asynchronously,
31914
- returns the request thread.
31915
- """
31916
-
31917
- local_var_params = locals()
31918
-
31919
- all_params = [
31920
- ]
31921
- all_params.extend(
31922
- [
31923
- 'async_req',
31924
- '_return_http_data_only',
31925
- '_preload_content',
31926
- '_request_timeout'
31927
- ]
31928
- )
31929
-
31930
- for key, val in six.iteritems(local_var_params['kwargs']):
31931
- if key not in all_params:
31932
- raise ApiTypeError(
31933
- "Got an unexpected keyword argument '%s'"
31934
- " to method list_versions_api_v2_aica_endpoints_versions_get" % key
31935
- )
31936
- local_var_params[key] = val
31937
- del local_var_params['kwargs']
31938
-
31939
- collection_formats = {}
31940
-
31941
- path_params = {}
31942
-
31943
- query_params = []
31944
-
31945
- header_params = {}
31946
-
31947
- form_params = []
31948
- local_var_files = {}
31949
-
31950
- body_params = None
31951
- # HTTP header `Accept`
31952
- header_params['Accept'] = self.api_client.select_header_accept(
31953
- ['application/json']) # noqa: E501
31954
-
31955
- # Authentication setting
31956
- auth_settings = [] # noqa: E501
31957
-
31958
- return self.api_client.call_api(
31959
- '/api/v2/aica_endpoints/versions', 'GET',
31960
- path_params,
31961
- query_params,
31962
- header_params,
31963
- body=body_params,
31964
- post_params=form_params,
31965
- files=local_var_files,
31966
- response_type='list[str]', # noqa: E501
31967
- auth_settings=auth_settings,
31968
- async_req=local_var_params.get('async_req'),
31969
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
31970
- _preload_content=local_var_params.get('_preload_content', True),
31971
- _request_timeout=local_var_params.get('_request_timeout'),
31972
- collection_formats=collection_formats)
31973
-
31974
30658
  def list_web_terminals_api_v2_sessions_session_id_web_terminals_get(self, session_id, **kwargs): # noqa: E501
31975
30659
  """List Web Terminals # noqa: E501
31976
30660
 
@@ -32588,120 +31272,6 @@ class DefaultApi(object):
32588
31272
  _request_timeout=local_var_params.get('_request_timeout'),
32589
31273
  collection_formats=collection_formats)
32590
31274
 
32591
- def model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post(self, model_id, **kwargs): # noqa: E501
32592
- """Model S3 Mirror Credentials # noqa: E501
32593
-
32594
- create s3 credential for model weights # noqa: E501
32595
- This method makes a synchronous HTTP request by default. To make an
32596
- asynchronous HTTP request, please pass async_req=True
32597
- >>> thread = api.model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post(model_id, async_req=True)
32598
- >>> result = thread.get()
32599
-
32600
- :param async_req bool: execute request asynchronously
32601
- :param str model_id: (required)
32602
- :param _preload_content: if False, the urllib3.HTTPResponse object will
32603
- be returned without reading/decoding response
32604
- data. Default is True.
32605
- :param _request_timeout: timeout setting for this request. If one
32606
- number provided, it will be total request
32607
- timeout. It can also be a pair (tuple) of
32608
- (connection, read) timeouts.
32609
- :return: AWSCredentials
32610
- If the method is called asynchronously,
32611
- returns the request thread.
32612
- """
32613
- kwargs['_return_http_data_only'] = True
32614
- return self.model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post_with_http_info(model_id, **kwargs) # noqa: E501
32615
-
32616
- def model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post_with_http_info(self, model_id, **kwargs): # noqa: E501
32617
- """Model S3 Mirror Credentials # noqa: E501
32618
-
32619
- create s3 credential for model weights # noqa: E501
32620
- This method makes a synchronous HTTP request by default. To make an
32621
- asynchronous HTTP request, please pass async_req=True
32622
- >>> thread = api.model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post_with_http_info(model_id, async_req=True)
32623
- >>> result = thread.get()
32624
-
32625
- :param async_req bool: execute request asynchronously
32626
- :param str model_id: (required)
32627
- :param _return_http_data_only: response data without head status code
32628
- and headers
32629
- :param _preload_content: if False, the urllib3.HTTPResponse object will
32630
- be returned without reading/decoding response
32631
- data. Default is True.
32632
- :param _request_timeout: timeout setting for this request. If one
32633
- number provided, it will be total request
32634
- timeout. It can also be a pair (tuple) of
32635
- (connection, read) timeouts.
32636
- :return: tuple(AWSCredentials, status_code(int), headers(HTTPHeaderDict))
32637
- If the method is called asynchronously,
32638
- returns the request thread.
32639
- """
32640
-
32641
- local_var_params = locals()
32642
-
32643
- all_params = [
32644
- 'model_id'
32645
- ]
32646
- all_params.extend(
32647
- [
32648
- 'async_req',
32649
- '_return_http_data_only',
32650
- '_preload_content',
32651
- '_request_timeout'
32652
- ]
32653
- )
32654
-
32655
- for key, val in six.iteritems(local_var_params['kwargs']):
32656
- if key not in all_params:
32657
- raise ApiTypeError(
32658
- "Got an unexpected keyword argument '%s'"
32659
- " to method model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post" % key
32660
- )
32661
- local_var_params[key] = val
32662
- del local_var_params['kwargs']
32663
- # verify the required parameter 'model_id' is set
32664
- if self.api_client.client_side_validation and ('model_id' not in local_var_params or # noqa: E501
32665
- local_var_params['model_id'] is None): # noqa: E501
32666
- raise ApiValueError("Missing the required parameter `model_id` when calling `model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post`") # noqa: E501
32667
-
32668
- collection_formats = {}
32669
-
32670
- path_params = {}
32671
-
32672
- query_params = []
32673
- if 'model_id' in local_var_params and local_var_params['model_id'] is not None: # noqa: E501
32674
- query_params.append(('model_id', local_var_params['model_id'])) # noqa: E501
32675
-
32676
- header_params = {}
32677
-
32678
- form_params = []
32679
- local_var_files = {}
32680
-
32681
- body_params = None
32682
- # HTTP header `Accept`
32683
- header_params['Accept'] = self.api_client.select_header_accept(
32684
- ['application/json']) # noqa: E501
32685
-
32686
- # Authentication setting
32687
- auth_settings = [] # noqa: E501
32688
-
32689
- return self.api_client.call_api(
32690
- '/api/v2/aica_endpoints/model_s3_credentials', 'POST',
32691
- path_params,
32692
- query_params,
32693
- header_params,
32694
- body=body_params,
32695
- post_params=form_params,
32696
- files=local_var_files,
32697
- response_type='AWSCredentials', # noqa: E501
32698
- auth_settings=auth_settings,
32699
- async_req=local_var_params.get('async_req'),
32700
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
32701
- _preload_content=local_var_params.get('_preload_content', True),
32702
- _request_timeout=local_var_params.get('_request_timeout'),
32703
- collection_formats=collection_formats)
32704
-
32705
31275
  def organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get(self, organization_id, **kwargs): # noqa: E501
32706
31276
  """Organization Valid For Migration # noqa: E501
32707
31277
 
@@ -38200,120 +36770,6 @@ class DefaultApi(object):
38200
36770
  _request_timeout=local_var_params.get('_request_timeout'),
38201
36771
  collection_formats=collection_formats)
38202
36772
 
38203
- def start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post(self, endpoint_id, **kwargs): # noqa: E501
38204
- """Start Endpoint # noqa: E501
38205
-
38206
- Start an endpoint # noqa: E501
38207
- This method makes a synchronous HTTP request by default. To make an
38208
- asynchronous HTTP request, please pass async_req=True
38209
- >>> thread = api.start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post(endpoint_id, async_req=True)
38210
- >>> result = thread.get()
38211
-
38212
- :param async_req bool: execute request asynchronously
38213
- :param str endpoint_id: (required)
38214
- :param _preload_content: if False, the urllib3.HTTPResponse object will
38215
- be returned without reading/decoding response
38216
- data. Default is True.
38217
- :param _request_timeout: timeout setting for this request. If one
38218
- number provided, it will be total request
38219
- timeout. It can also be a pair (tuple) of
38220
- (connection, read) timeouts.
38221
- :return: None
38222
- If the method is called asynchronously,
38223
- returns the request thread.
38224
- """
38225
- kwargs['_return_http_data_only'] = True
38226
- return self.start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post_with_http_info(endpoint_id, **kwargs) # noqa: E501
38227
-
38228
- def start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post_with_http_info(self, endpoint_id, **kwargs): # noqa: E501
38229
- """Start Endpoint # noqa: E501
38230
-
38231
- Start an endpoint # noqa: E501
38232
- This method makes a synchronous HTTP request by default. To make an
38233
- asynchronous HTTP request, please pass async_req=True
38234
- >>> thread = api.start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post_with_http_info(endpoint_id, async_req=True)
38235
- >>> result = thread.get()
38236
-
38237
- :param async_req bool: execute request asynchronously
38238
- :param str endpoint_id: (required)
38239
- :param _return_http_data_only: response data without head status code
38240
- and headers
38241
- :param _preload_content: if False, the urllib3.HTTPResponse object will
38242
- be returned without reading/decoding response
38243
- data. Default is True.
38244
- :param _request_timeout: timeout setting for this request. If one
38245
- number provided, it will be total request
38246
- timeout. It can also be a pair (tuple) of
38247
- (connection, read) timeouts.
38248
- :return: None
38249
- If the method is called asynchronously,
38250
- returns the request thread.
38251
- """
38252
-
38253
- local_var_params = locals()
38254
-
38255
- all_params = [
38256
- 'endpoint_id'
38257
- ]
38258
- all_params.extend(
38259
- [
38260
- 'async_req',
38261
- '_return_http_data_only',
38262
- '_preload_content',
38263
- '_request_timeout'
38264
- ]
38265
- )
38266
-
38267
- for key, val in six.iteritems(local_var_params['kwargs']):
38268
- if key not in all_params:
38269
- raise ApiTypeError(
38270
- "Got an unexpected keyword argument '%s'"
38271
- " to method start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post" % key
38272
- )
38273
- local_var_params[key] = val
38274
- del local_var_params['kwargs']
38275
- # verify the required parameter 'endpoint_id' is set
38276
- if self.api_client.client_side_validation and ('endpoint_id' not in local_var_params or # noqa: E501
38277
- local_var_params['endpoint_id'] is None): # noqa: E501
38278
- raise ApiValueError("Missing the required parameter `endpoint_id` when calling `start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post`") # noqa: E501
38279
-
38280
- collection_formats = {}
38281
-
38282
- path_params = {}
38283
- if 'endpoint_id' in local_var_params:
38284
- path_params['endpoint_id'] = local_var_params['endpoint_id'] # noqa: E501
38285
-
38286
- query_params = []
38287
-
38288
- header_params = {}
38289
-
38290
- form_params = []
38291
- local_var_files = {}
38292
-
38293
- body_params = None
38294
- # HTTP header `Accept`
38295
- header_params['Accept'] = self.api_client.select_header_accept(
38296
- ['application/json']) # noqa: E501
38297
-
38298
- # Authentication setting
38299
- auth_settings = [] # noqa: E501
38300
-
38301
- return self.api_client.call_api(
38302
- '/api/v2/aica_endpoints/{endpoint_id}/start', 'POST',
38303
- path_params,
38304
- query_params,
38305
- header_params,
38306
- body=body_params,
38307
- post_params=form_params,
38308
- files=local_var_files,
38309
- response_type=None, # noqa: E501
38310
- auth_settings=auth_settings,
38311
- async_req=local_var_params.get('async_req'),
38312
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
38313
- _preload_content=local_var_params.get('_preload_content', True),
38314
- _request_timeout=local_var_params.get('_request_timeout'),
38315
- collection_formats=collection_formats)
38316
-
38317
36773
  def start_session_api_v2_sessions_session_id_start_post(self, session_id, start_session_options, **kwargs): # noqa: E501
38318
36774
  """Start Session # noqa: E501
38319
36775
 
@@ -39588,124 +38044,6 @@ class DefaultApi(object):
39588
38044
  _request_timeout=local_var_params.get('_request_timeout'),
39589
38045
  collection_formats=collection_formats)
39590
38046
 
39591
- def update_aica_endpoint_api_v2_aica_endpoints_put(self, update_endpoint, **kwargs): # noqa: E501
39592
- """Update Aica Endpoint # noqa: E501
39593
-
39594
- Updates an AICA endpoint. # noqa: E501
39595
- This method makes a synchronous HTTP request by default. To make an
39596
- asynchronous HTTP request, please pass async_req=True
39597
- >>> thread = api.update_aica_endpoint_api_v2_aica_endpoints_put(update_endpoint, async_req=True)
39598
- >>> result = thread.get()
39599
-
39600
- :param async_req bool: execute request asynchronously
39601
- :param UpdateEndpoint update_endpoint: (required)
39602
- :param _preload_content: if False, the urllib3.HTTPResponse object will
39603
- be returned without reading/decoding response
39604
- data. Default is True.
39605
- :param _request_timeout: timeout setting for this request. If one
39606
- number provided, it will be total request
39607
- timeout. It can also be a pair (tuple) of
39608
- (connection, read) timeouts.
39609
- :return: AicaendpointResponse
39610
- If the method is called asynchronously,
39611
- returns the request thread.
39612
- """
39613
- kwargs['_return_http_data_only'] = True
39614
- return self.update_aica_endpoint_api_v2_aica_endpoints_put_with_http_info(update_endpoint, **kwargs) # noqa: E501
39615
-
39616
- def update_aica_endpoint_api_v2_aica_endpoints_put_with_http_info(self, update_endpoint, **kwargs): # noqa: E501
39617
- """Update Aica Endpoint # noqa: E501
39618
-
39619
- Updates an AICA endpoint. # noqa: E501
39620
- This method makes a synchronous HTTP request by default. To make an
39621
- asynchronous HTTP request, please pass async_req=True
39622
- >>> thread = api.update_aica_endpoint_api_v2_aica_endpoints_put_with_http_info(update_endpoint, async_req=True)
39623
- >>> result = thread.get()
39624
-
39625
- :param async_req bool: execute request asynchronously
39626
- :param UpdateEndpoint update_endpoint: (required)
39627
- :param _return_http_data_only: response data without head status code
39628
- and headers
39629
- :param _preload_content: if False, the urllib3.HTTPResponse object will
39630
- be returned without reading/decoding response
39631
- data. Default is True.
39632
- :param _request_timeout: timeout setting for this request. If one
39633
- number provided, it will be total request
39634
- timeout. It can also be a pair (tuple) of
39635
- (connection, read) timeouts.
39636
- :return: tuple(AicaendpointResponse, status_code(int), headers(HTTPHeaderDict))
39637
- If the method is called asynchronously,
39638
- returns the request thread.
39639
- """
39640
-
39641
- local_var_params = locals()
39642
-
39643
- all_params = [
39644
- 'update_endpoint'
39645
- ]
39646
- all_params.extend(
39647
- [
39648
- 'async_req',
39649
- '_return_http_data_only',
39650
- '_preload_content',
39651
- '_request_timeout'
39652
- ]
39653
- )
39654
-
39655
- for key, val in six.iteritems(local_var_params['kwargs']):
39656
- if key not in all_params:
39657
- raise ApiTypeError(
39658
- "Got an unexpected keyword argument '%s'"
39659
- " to method update_aica_endpoint_api_v2_aica_endpoints_put" % key
39660
- )
39661
- local_var_params[key] = val
39662
- del local_var_params['kwargs']
39663
- # verify the required parameter 'update_endpoint' is set
39664
- if self.api_client.client_side_validation and ('update_endpoint' not in local_var_params or # noqa: E501
39665
- local_var_params['update_endpoint'] is None): # noqa: E501
39666
- raise ApiValueError("Missing the required parameter `update_endpoint` when calling `update_aica_endpoint_api_v2_aica_endpoints_put`") # noqa: E501
39667
-
39668
- collection_formats = {}
39669
-
39670
- path_params = {}
39671
-
39672
- query_params = []
39673
-
39674
- header_params = {}
39675
-
39676
- form_params = []
39677
- local_var_files = {}
39678
-
39679
- body_params = None
39680
- if 'update_endpoint' in local_var_params:
39681
- body_params = local_var_params['update_endpoint']
39682
- # HTTP header `Accept`
39683
- header_params['Accept'] = self.api_client.select_header_accept(
39684
- ['application/json']) # noqa: E501
39685
-
39686
- # HTTP header `Content-Type`
39687
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
39688
- ['application/json']) # noqa: E501
39689
-
39690
- # Authentication setting
39691
- auth_settings = [] # noqa: E501
39692
-
39693
- return self.api_client.call_api(
39694
- '/api/v2/aica_endpoints/', 'PUT',
39695
- path_params,
39696
- query_params,
39697
- header_params,
39698
- body=body_params,
39699
- post_params=form_params,
39700
- files=local_var_files,
39701
- response_type='AicaendpointResponse', # noqa: E501
39702
- auth_settings=auth_settings,
39703
- async_req=local_var_params.get('async_req'),
39704
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
39705
- _preload_content=local_var_params.get('_preload_content', True),
39706
- _request_timeout=local_var_params.get('_request_timeout'),
39707
- collection_formats=collection_formats)
39708
-
39709
38047
  def update_cloud_auto_add_user_api_v2_clouds_cloud_id_auto_add_user_put(self, cloud_id, auto_add_user, **kwargs): # noqa: E501
39710
38048
  """Update Cloud Auto Add User # noqa: E501
39711
38049