anyscale 0.26.1__py3-none-any.whl → 0.26.3__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 (44) hide show
  1. anyscale/_private/anyscale_client/anyscale_client.py +13 -1
  2. anyscale/_private/anyscale_client/common.py +1 -1
  3. anyscale/_private/docgen/models.md +2 -2
  4. anyscale/client/README.md +11 -33
  5. anyscale/client/openapi_client/__init__.py +9 -20
  6. anyscale/client/openapi_client/api/default_api.py +226 -1544
  7. anyscale/client/openapi_client/models/__init__.py +9 -20
  8. anyscale/client/openapi_client/models/{aica_endpoint_scope.py → actor_status.py} +7 -9
  9. anyscale/client/openapi_client/models/baseimagesenum.py +59 -1
  10. anyscale/client/openapi_client/models/{named_entity.py → job_details.py} +60 -35
  11. anyscale/client/openapi_client/models/resource_alert_event_type.py +2 -1
  12. anyscale/client/openapi_client/models/{aica_endpoint_event_level.py → run_attempt_status.py} +10 -10
  13. anyscale/client/openapi_client/models/{aicamodel_response.py → run_status.py} +19 -34
  14. anyscale/client/openapi_client/models/supportedbaseimagesenum.py +59 -1
  15. anyscale/client/openapi_client/models/{aicaendpoint_response.py → train_resources.py} +22 -22
  16. anyscale/client/openapi_client/models/train_run.py +387 -0
  17. anyscale/client/openapi_client/models/train_run_attempt.py +308 -0
  18. anyscale/client/openapi_client/models/train_worker.py +363 -0
  19. anyscale/client/openapi_client/models/{aicamodel_list_response.py → trainrun_list_response.py} +15 -15
  20. anyscale/sdk/anyscale_client/models/baseimagesenum.py +59 -1
  21. anyscale/sdk/anyscale_client/models/supportedbaseimagesenum.py +59 -1
  22. anyscale/shared_anyscale_utils/latest_ray_version.py +1 -1
  23. anyscale/version.py +1 -1
  24. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/METADATA +1 -1
  25. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/RECORD +30 -41
  26. anyscale/client/openapi_client/models/aica_endpoint.py +0 -527
  27. anyscale/client/openapi_client/models/aica_endpoint_event.py +0 -433
  28. anyscale/client/openapi_client/models/aica_endpoint_event_type.py +0 -120
  29. anyscale/client/openapi_client/models/aica_model.py +0 -398
  30. anyscale/client/openapi_client/models/aica_model_accelerator_map.py +0 -123
  31. anyscale/client/openapi_client/models/aica_model_configuration.py +0 -209
  32. anyscale/client/openapi_client/models/aica_observability_urls.py +0 -178
  33. anyscale/client/openapi_client/models/aicaendpoint_list_response.py +0 -147
  34. anyscale/client/openapi_client/models/aicaendpointevent_list_response.py +0 -147
  35. anyscale/client/openapi_client/models/aws_credentials.py +0 -181
  36. anyscale/client/openapi_client/models/create_aica_endpoint.py +0 -210
  37. anyscale/client/openapi_client/models/import_aica_model.py +0 -241
  38. anyscale/client/openapi_client/models/update_endpoint.py +0 -152
  39. anyscale/client/openapi_client/models/update_model_deployment.py +0 -152
  40. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/LICENSE +0 -0
  41. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/NOTICE +0 -0
  42. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/WHEEL +0 -0
  43. {anyscale-0.26.1.dist-info → anyscale-0.26.3.dist-info}/entry_points.txt +0 -0
  44. {anyscale-0.26.1.dist-info → anyscale-0.26.3.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
 
@@ -14509,6 +14277,120 @@ class DefaultApi(object):
14509
14277
  _request_timeout=local_var_params.get('_request_timeout'),
14510
14278
  collection_formats=collection_formats)
14511
14279
 
14280
+ def get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get(self, cluster_id, **kwargs): # noqa: E501
14281
+ """Get Cluster Access Token # noqa: E501
14282
+
14283
+ 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
14284
+ This method makes a synchronous HTTP request by default. To make an
14285
+ asynchronous HTTP request, please pass async_req=True
14286
+ >>> thread = api.get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get(cluster_id, async_req=True)
14287
+ >>> result = thread.get()
14288
+
14289
+ :param async_req bool: execute request asynchronously
14290
+ :param str cluster_id: (required)
14291
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
14292
+ be returned without reading/decoding response
14293
+ data. Default is True.
14294
+ :param _request_timeout: timeout setting for this request. If one
14295
+ number provided, it will be total request
14296
+ timeout. It can also be a pair (tuple) of
14297
+ (connection, read) timeouts.
14298
+ :return: str
14299
+ If the method is called asynchronously,
14300
+ returns the request thread.
14301
+ """
14302
+ kwargs['_return_http_data_only'] = True
14303
+ return self.get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get_with_http_info(cluster_id, **kwargs) # noqa: E501
14304
+
14305
+ def get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
14306
+ """Get Cluster Access Token # noqa: E501
14307
+
14308
+ 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
14309
+ This method makes a synchronous HTTP request by default. To make an
14310
+ asynchronous HTTP request, please pass async_req=True
14311
+ >>> thread = api.get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get_with_http_info(cluster_id, async_req=True)
14312
+ >>> result = thread.get()
14313
+
14314
+ :param async_req bool: execute request asynchronously
14315
+ :param str cluster_id: (required)
14316
+ :param _return_http_data_only: response data without head status code
14317
+ and headers
14318
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
14319
+ be returned without reading/decoding response
14320
+ data. Default is True.
14321
+ :param _request_timeout: timeout setting for this request. If one
14322
+ number provided, it will be total request
14323
+ timeout. It can also be a pair (tuple) of
14324
+ (connection, read) timeouts.
14325
+ :return: tuple(str, status_code(int), headers(HTTPHeaderDict))
14326
+ If the method is called asynchronously,
14327
+ returns the request thread.
14328
+ """
14329
+
14330
+ local_var_params = locals()
14331
+
14332
+ all_params = [
14333
+ 'cluster_id'
14334
+ ]
14335
+ all_params.extend(
14336
+ [
14337
+ 'async_req',
14338
+ '_return_http_data_only',
14339
+ '_preload_content',
14340
+ '_request_timeout'
14341
+ ]
14342
+ )
14343
+
14344
+ for key, val in six.iteritems(local_var_params['kwargs']):
14345
+ if key not in all_params:
14346
+ raise ApiTypeError(
14347
+ "Got an unexpected keyword argument '%s'"
14348
+ " to method get_cluster_access_token_api_v2_authentication_cluster_id_cluster_access_token_get" % key
14349
+ )
14350
+ local_var_params[key] = val
14351
+ del local_var_params['kwargs']
14352
+ # verify the required parameter 'cluster_id' is set
14353
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
14354
+ local_var_params['cluster_id'] is None): # noqa: E501
14355
+ 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
14356
+
14357
+ collection_formats = {}
14358
+
14359
+ path_params = {}
14360
+ if 'cluster_id' in local_var_params:
14361
+ path_params['cluster_id'] = local_var_params['cluster_id'] # noqa: E501
14362
+
14363
+ query_params = []
14364
+
14365
+ header_params = {}
14366
+
14367
+ form_params = []
14368
+ local_var_files = {}
14369
+
14370
+ body_params = None
14371
+ # HTTP header `Accept`
14372
+ header_params['Accept'] = self.api_client.select_header_accept(
14373
+ ['application/json']) # noqa: E501
14374
+
14375
+ # Authentication setting
14376
+ auth_settings = [] # noqa: E501
14377
+
14378
+ return self.api_client.call_api(
14379
+ '/api/v2/authentication/{cluster_id}/cluster_access_token', 'GET',
14380
+ path_params,
14381
+ query_params,
14382
+ header_params,
14383
+ body=body_params,
14384
+ post_params=form_params,
14385
+ files=local_var_files,
14386
+ response_type='str', # noqa: E501
14387
+ auth_settings=auth_settings,
14388
+ async_req=local_var_params.get('async_req'),
14389
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
14390
+ _preload_content=local_var_params.get('_preload_content', True),
14391
+ _request_timeout=local_var_params.get('_request_timeout'),
14392
+ collection_formats=collection_formats)
14393
+
14512
14394
  def get_cluster_events_api_v2_sessions_session_id_cluster_events_get(self, session_id, **kwargs): # noqa: E501
14513
14395
  """Get Cluster Events # noqa: E501
14514
14396
 
@@ -17184,120 +17066,6 @@ class DefaultApi(object):
17184
17066
  _request_timeout=local_var_params.get('_request_timeout'),
17185
17067
  collection_formats=collection_formats)
17186
17068
 
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
17069
  def get_events_api_v2_sessions_session_id_events_get(self, session_id, start_index, end_index, **kwargs): # noqa: E501
17302
17070
  """Get Events # noqa: E501
17303
17071
 
@@ -20026,248 +19794,6 @@ class DefaultApi(object):
20026
19794
  _request_timeout=local_var_params.get('_request_timeout'),
20027
19795
  collection_formats=collection_formats)
20028
19796
 
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
19797
  def get_monitor_logs_api_v2_sessions_session_id_monitor_logs_get(self, session_id, start_line, end_line, **kwargs): # noqa: E501
20272
19798
  """Get Monitor Logs # noqa: E501
20273
19799
 
@@ -25399,6 +24925,118 @@ class DefaultApi(object):
25399
24925
  _request_timeout=local_var_params.get('_request_timeout'),
25400
24926
  collection_formats=collection_formats)
25401
24927
 
24928
+ def get_train_runs_api_v2_train_runs_get(self, cluster_id, **kwargs): # noqa: E501
24929
+ """Get Train Runs # noqa: E501
24930
+
24931
+ This method makes a synchronous HTTP request by default. To make an
24932
+ asynchronous HTTP request, please pass async_req=True
24933
+ >>> thread = api.get_train_runs_api_v2_train_runs_get(cluster_id, async_req=True)
24934
+ >>> result = thread.get()
24935
+
24936
+ :param async_req bool: execute request asynchronously
24937
+ :param str cluster_id: (required)
24938
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
24939
+ be returned without reading/decoding response
24940
+ data. Default is True.
24941
+ :param _request_timeout: timeout setting for this request. If one
24942
+ number provided, it will be total request
24943
+ timeout. It can also be a pair (tuple) of
24944
+ (connection, read) timeouts.
24945
+ :return: TrainrunListResponse
24946
+ If the method is called asynchronously,
24947
+ returns the request thread.
24948
+ """
24949
+ kwargs['_return_http_data_only'] = True
24950
+ return self.get_train_runs_api_v2_train_runs_get_with_http_info(cluster_id, **kwargs) # noqa: E501
24951
+
24952
+ def get_train_runs_api_v2_train_runs_get_with_http_info(self, cluster_id, **kwargs): # noqa: E501
24953
+ """Get Train Runs # noqa: E501
24954
+
24955
+ This method makes a synchronous HTTP request by default. To make an
24956
+ asynchronous HTTP request, please pass async_req=True
24957
+ >>> thread = api.get_train_runs_api_v2_train_runs_get_with_http_info(cluster_id, async_req=True)
24958
+ >>> result = thread.get()
24959
+
24960
+ :param async_req bool: execute request asynchronously
24961
+ :param str cluster_id: (required)
24962
+ :param _return_http_data_only: response data without head status code
24963
+ and headers
24964
+ :param _preload_content: if False, the urllib3.HTTPResponse object will
24965
+ be returned without reading/decoding response
24966
+ data. Default is True.
24967
+ :param _request_timeout: timeout setting for this request. If one
24968
+ number provided, it will be total request
24969
+ timeout. It can also be a pair (tuple) of
24970
+ (connection, read) timeouts.
24971
+ :return: tuple(TrainrunListResponse, status_code(int), headers(HTTPHeaderDict))
24972
+ If the method is called asynchronously,
24973
+ returns the request thread.
24974
+ """
24975
+
24976
+ local_var_params = locals()
24977
+
24978
+ all_params = [
24979
+ 'cluster_id'
24980
+ ]
24981
+ all_params.extend(
24982
+ [
24983
+ 'async_req',
24984
+ '_return_http_data_only',
24985
+ '_preload_content',
24986
+ '_request_timeout'
24987
+ ]
24988
+ )
24989
+
24990
+ for key, val in six.iteritems(local_var_params['kwargs']):
24991
+ if key not in all_params:
24992
+ raise ApiTypeError(
24993
+ "Got an unexpected keyword argument '%s'"
24994
+ " to method get_train_runs_api_v2_train_runs_get" % key
24995
+ )
24996
+ local_var_params[key] = val
24997
+ del local_var_params['kwargs']
24998
+ # verify the required parameter 'cluster_id' is set
24999
+ if self.api_client.client_side_validation and ('cluster_id' not in local_var_params or # noqa: E501
25000
+ local_var_params['cluster_id'] is None): # noqa: E501
25001
+ raise ApiValueError("Missing the required parameter `cluster_id` when calling `get_train_runs_api_v2_train_runs_get`") # noqa: E501
25002
+
25003
+ collection_formats = {}
25004
+
25005
+ path_params = {}
25006
+
25007
+ query_params = []
25008
+ if 'cluster_id' in local_var_params and local_var_params['cluster_id'] is not None: # noqa: E501
25009
+ query_params.append(('cluster_id', local_var_params['cluster_id'])) # noqa: E501
25010
+
25011
+ header_params = {}
25012
+
25013
+ form_params = []
25014
+ local_var_files = {}
25015
+
25016
+ body_params = None
25017
+ # HTTP header `Accept`
25018
+ header_params['Accept'] = self.api_client.select_header_accept(
25019
+ ['application/json']) # noqa: E501
25020
+
25021
+ # Authentication setting
25022
+ auth_settings = [] # noqa: E501
25023
+
25024
+ return self.api_client.call_api(
25025
+ '/api/v2/train_runs/', 'GET',
25026
+ path_params,
25027
+ query_params,
25028
+ header_params,
25029
+ body=body_params,
25030
+ post_params=form_params,
25031
+ files=local_var_files,
25032
+ response_type='TrainrunListResponse', # noqa: E501
25033
+ auth_settings=auth_settings,
25034
+ async_req=local_var_params.get('async_req'),
25035
+ _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
25036
+ _preload_content=local_var_params.get('_preload_content', True),
25037
+ _request_timeout=local_var_params.get('_request_timeout'),
25038
+ collection_formats=collection_formats)
25039
+
25402
25040
  def get_user_info_api_v2_userinfo_get(self, **kwargs): # noqa: E501
25403
25041
  """Get User Info # noqa: E501
25404
25042
 
@@ -26815,124 +26453,6 @@ class DefaultApi(object):
26815
26453
  _request_timeout=local_var_params.get('_request_timeout'),
26816
26454
  collection_formats=collection_formats)
26817
26455
 
26818
- def import_model_api_v2_aica_endpoints_import_model_post(self, import_aica_model, **kwargs): # noqa: E501
26819
- """Import Model # noqa: E501
26820
-
26821
- Imports a model. # noqa: E501
26822
- This method makes a synchronous HTTP request by default. To make an
26823
- asynchronous HTTP request, please pass async_req=True
26824
- >>> thread = api.import_model_api_v2_aica_endpoints_import_model_post(import_aica_model, async_req=True)
26825
- >>> result = thread.get()
26826
-
26827
- :param async_req bool: execute request asynchronously
26828
- :param ImportAicaModel import_aica_model: (required)
26829
- :param _preload_content: if False, the urllib3.HTTPResponse object will
26830
- be returned without reading/decoding response
26831
- data. Default is True.
26832
- :param _request_timeout: timeout setting for this request. If one
26833
- number provided, it will be total request
26834
- timeout. It can also be a pair (tuple) of
26835
- (connection, read) timeouts.
26836
- :return: AicamodelResponse
26837
- If the method is called asynchronously,
26838
- returns the request thread.
26839
- """
26840
- kwargs['_return_http_data_only'] = True
26841
- return self.import_model_api_v2_aica_endpoints_import_model_post_with_http_info(import_aica_model, **kwargs) # noqa: E501
26842
-
26843
- def import_model_api_v2_aica_endpoints_import_model_post_with_http_info(self, import_aica_model, **kwargs): # noqa: E501
26844
- """Import Model # noqa: E501
26845
-
26846
- Imports a model. # noqa: E501
26847
- This method makes a synchronous HTTP request by default. To make an
26848
- asynchronous HTTP request, please pass async_req=True
26849
- >>> thread = api.import_model_api_v2_aica_endpoints_import_model_post_with_http_info(import_aica_model, async_req=True)
26850
- >>> result = thread.get()
26851
-
26852
- :param async_req bool: execute request asynchronously
26853
- :param ImportAicaModel import_aica_model: (required)
26854
- :param _return_http_data_only: response data without head status code
26855
- and headers
26856
- :param _preload_content: if False, the urllib3.HTTPResponse object will
26857
- be returned without reading/decoding response
26858
- data. Default is True.
26859
- :param _request_timeout: timeout setting for this request. If one
26860
- number provided, it will be total request
26861
- timeout. It can also be a pair (tuple) of
26862
- (connection, read) timeouts.
26863
- :return: tuple(AicamodelResponse, status_code(int), headers(HTTPHeaderDict))
26864
- If the method is called asynchronously,
26865
- returns the request thread.
26866
- """
26867
-
26868
- local_var_params = locals()
26869
-
26870
- all_params = [
26871
- 'import_aica_model'
26872
- ]
26873
- all_params.extend(
26874
- [
26875
- 'async_req',
26876
- '_return_http_data_only',
26877
- '_preload_content',
26878
- '_request_timeout'
26879
- ]
26880
- )
26881
-
26882
- for key, val in six.iteritems(local_var_params['kwargs']):
26883
- if key not in all_params:
26884
- raise ApiTypeError(
26885
- "Got an unexpected keyword argument '%s'"
26886
- " to method import_model_api_v2_aica_endpoints_import_model_post" % key
26887
- )
26888
- local_var_params[key] = val
26889
- del local_var_params['kwargs']
26890
- # verify the required parameter 'import_aica_model' is set
26891
- if self.api_client.client_side_validation and ('import_aica_model' not in local_var_params or # noqa: E501
26892
- local_var_params['import_aica_model'] is None): # noqa: E501
26893
- raise ApiValueError("Missing the required parameter `import_aica_model` when calling `import_model_api_v2_aica_endpoints_import_model_post`") # noqa: E501
26894
-
26895
- collection_formats = {}
26896
-
26897
- path_params = {}
26898
-
26899
- query_params = []
26900
-
26901
- header_params = {}
26902
-
26903
- form_params = []
26904
- local_var_files = {}
26905
-
26906
- body_params = None
26907
- if 'import_aica_model' in local_var_params:
26908
- body_params = local_var_params['import_aica_model']
26909
- # HTTP header `Accept`
26910
- header_params['Accept'] = self.api_client.select_header_accept(
26911
- ['application/json']) # noqa: E501
26912
-
26913
- # HTTP header `Content-Type`
26914
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
26915
- ['application/json']) # noqa: E501
26916
-
26917
- # Authentication setting
26918
- auth_settings = [] # noqa: E501
26919
-
26920
- return self.api_client.call_api(
26921
- '/api/v2/aica_endpoints/import_model', 'POST',
26922
- path_params,
26923
- query_params,
26924
- header_params,
26925
- body=body_params,
26926
- post_params=form_params,
26927
- files=local_var_files,
26928
- response_type='AicamodelResponse', # noqa: E501
26929
- auth_settings=auth_settings,
26930
- async_req=local_var_params.get('async_req'),
26931
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
26932
- _preload_content=local_var_params.get('_preload_content', True),
26933
- _request_timeout=local_var_params.get('_request_timeout'),
26934
- collection_formats=collection_formats)
26935
-
26936
26456
  def invalidate_invitation_api_v2_organization_invitations_invitation_id_invalidate_post(self, invitation_id, **kwargs): # noqa: E501
26937
26457
  """Invalidate Invitation # noqa: E501
26938
26458
 
@@ -27271,254 +26791,6 @@ class DefaultApi(object):
27271
26791
  _request_timeout=local_var_params.get('_request_timeout'),
27272
26792
  collection_formats=collection_formats)
27273
26793
 
27274
- def list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get(self, endpoint_id, **kwargs): # noqa: E501
27275
- """List Aica Endpoint Events # noqa: E501
27276
-
27277
- Lists up to 1000 events of the AICA endpoint. # noqa: E501
27278
- This method makes a synchronous HTTP request by default. To make an
27279
- asynchronous HTTP request, please pass async_req=True
27280
- >>> thread = api.list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get(endpoint_id, async_req=True)
27281
- >>> result = thread.get()
27282
-
27283
- :param async_req bool: execute request asynchronously
27284
- :param str endpoint_id: (required)
27285
- :param _preload_content: if False, the urllib3.HTTPResponse object will
27286
- be returned without reading/decoding response
27287
- data. Default is True.
27288
- :param _request_timeout: timeout setting for this request. If one
27289
- number provided, it will be total request
27290
- timeout. It can also be a pair (tuple) of
27291
- (connection, read) timeouts.
27292
- :return: AicaendpointeventListResponse
27293
- If the method is called asynchronously,
27294
- returns the request thread.
27295
- """
27296
- kwargs['_return_http_data_only'] = True
27297
- return self.list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get_with_http_info(endpoint_id, **kwargs) # noqa: E501
27298
-
27299
- def list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get_with_http_info(self, endpoint_id, **kwargs): # noqa: E501
27300
- """List Aica Endpoint Events # noqa: E501
27301
-
27302
- Lists up to 1000 events of the AICA endpoint. # noqa: E501
27303
- This method makes a synchronous HTTP request by default. To make an
27304
- asynchronous HTTP request, please pass async_req=True
27305
- >>> thread = api.list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get_with_http_info(endpoint_id, async_req=True)
27306
- >>> result = thread.get()
27307
-
27308
- :param async_req bool: execute request asynchronously
27309
- :param str endpoint_id: (required)
27310
- :param _return_http_data_only: response data without head status code
27311
- and headers
27312
- :param _preload_content: if False, the urllib3.HTTPResponse object will
27313
- be returned without reading/decoding response
27314
- data. Default is True.
27315
- :param _request_timeout: timeout setting for this request. If one
27316
- number provided, it will be total request
27317
- timeout. It can also be a pair (tuple) of
27318
- (connection, read) timeouts.
27319
- :return: tuple(AicaendpointeventListResponse, status_code(int), headers(HTTPHeaderDict))
27320
- If the method is called asynchronously,
27321
- returns the request thread.
27322
- """
27323
-
27324
- local_var_params = locals()
27325
-
27326
- all_params = [
27327
- 'endpoint_id'
27328
- ]
27329
- all_params.extend(
27330
- [
27331
- 'async_req',
27332
- '_return_http_data_only',
27333
- '_preload_content',
27334
- '_request_timeout'
27335
- ]
27336
- )
27337
-
27338
- for key, val in six.iteritems(local_var_params['kwargs']):
27339
- if key not in all_params:
27340
- raise ApiTypeError(
27341
- "Got an unexpected keyword argument '%s'"
27342
- " to method list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get" % key
27343
- )
27344
- local_var_params[key] = val
27345
- del local_var_params['kwargs']
27346
- # verify the required parameter 'endpoint_id' is set
27347
- if self.api_client.client_side_validation and ('endpoint_id' not in local_var_params or # noqa: E501
27348
- local_var_params['endpoint_id'] is None): # noqa: E501
27349
- raise ApiValueError("Missing the required parameter `endpoint_id` when calling `list_aica_endpoint_events_api_v2_aica_endpoints_endpoint_id_events_get`") # noqa: E501
27350
-
27351
- collection_formats = {}
27352
-
27353
- path_params = {}
27354
- if 'endpoint_id' in local_var_params:
27355
- path_params['endpoint_id'] = local_var_params['endpoint_id'] # noqa: E501
27356
-
27357
- query_params = []
27358
-
27359
- header_params = {}
27360
-
27361
- form_params = []
27362
- local_var_files = {}
27363
-
27364
- body_params = None
27365
- # HTTP header `Accept`
27366
- header_params['Accept'] = self.api_client.select_header_accept(
27367
- ['application/json']) # noqa: E501
27368
-
27369
- # Authentication setting
27370
- auth_settings = [] # noqa: E501
27371
-
27372
- return self.api_client.call_api(
27373
- '/api/v2/aica_endpoints/{endpoint_id}/events', 'GET',
27374
- path_params,
27375
- query_params,
27376
- header_params,
27377
- body=body_params,
27378
- post_params=form_params,
27379
- files=local_var_files,
27380
- response_type='AicaendpointeventListResponse', # noqa: E501
27381
- auth_settings=auth_settings,
27382
- async_req=local_var_params.get('async_req'),
27383
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
27384
- _preload_content=local_var_params.get('_preload_content', True),
27385
- _request_timeout=local_var_params.get('_request_timeout'),
27386
- collection_formats=collection_formats)
27387
-
27388
- def list_aica_endpoints_api_v2_aica_endpoints_get(self, **kwargs): # noqa: E501
27389
- """List Aica Endpoints # noqa: E501
27390
-
27391
- Lists all endpoints the user has access to # noqa: E501
27392
- This method makes a synchronous HTTP request by default. To make an
27393
- asynchronous HTTP request, please pass async_req=True
27394
- >>> thread = api.list_aica_endpoints_api_v2_aica_endpoints_get(async_req=True)
27395
- >>> result = thread.get()
27396
-
27397
- :param async_req bool: execute request asynchronously
27398
- :param str name: Search for endpoints with a name that equals the provided value
27399
- :param str name_contains: Search for endpoints with a name that contains the provided value
27400
- :param str creator_id: List endpoints created by a given user
27401
- :param str paging_token:
27402
- :param int count:
27403
- :param _preload_content: if False, the urllib3.HTTPResponse object will
27404
- be returned without reading/decoding response
27405
- data. Default is True.
27406
- :param _request_timeout: timeout setting for this request. If one
27407
- number provided, it will be total request
27408
- timeout. It can also be a pair (tuple) of
27409
- (connection, read) timeouts.
27410
- :return: AicaendpointListResponse
27411
- If the method is called asynchronously,
27412
- returns the request thread.
27413
- """
27414
- kwargs['_return_http_data_only'] = True
27415
- return self.list_aica_endpoints_api_v2_aica_endpoints_get_with_http_info(**kwargs) # noqa: E501
27416
-
27417
- def list_aica_endpoints_api_v2_aica_endpoints_get_with_http_info(self, **kwargs): # noqa: E501
27418
- """List Aica Endpoints # noqa: E501
27419
-
27420
- Lists all endpoints the user has access to # noqa: E501
27421
- This method makes a synchronous HTTP request by default. To make an
27422
- asynchronous HTTP request, please pass async_req=True
27423
- >>> thread = api.list_aica_endpoints_api_v2_aica_endpoints_get_with_http_info(async_req=True)
27424
- >>> result = thread.get()
27425
-
27426
- :param async_req bool: execute request asynchronously
27427
- :param str name: Search for endpoints with a name that equals the provided value
27428
- :param str name_contains: Search for endpoints with a name that contains the provided value
27429
- :param str creator_id: List endpoints created by a given user
27430
- :param str paging_token:
27431
- :param int count:
27432
- :param _return_http_data_only: response data without head status code
27433
- and headers
27434
- :param _preload_content: if False, the urllib3.HTTPResponse object will
27435
- be returned without reading/decoding response
27436
- data. Default is True.
27437
- :param _request_timeout: timeout setting for this request. If one
27438
- number provided, it will be total request
27439
- timeout. It can also be a pair (tuple) of
27440
- (connection, read) timeouts.
27441
- :return: tuple(AicaendpointListResponse, status_code(int), headers(HTTPHeaderDict))
27442
- If the method is called asynchronously,
27443
- returns the request thread.
27444
- """
27445
-
27446
- local_var_params = locals()
27447
-
27448
- all_params = [
27449
- 'name',
27450
- 'name_contains',
27451
- 'creator_id',
27452
- 'paging_token',
27453
- 'count'
27454
- ]
27455
- all_params.extend(
27456
- [
27457
- 'async_req',
27458
- '_return_http_data_only',
27459
- '_preload_content',
27460
- '_request_timeout'
27461
- ]
27462
- )
27463
-
27464
- for key, val in six.iteritems(local_var_params['kwargs']):
27465
- if key not in all_params:
27466
- raise ApiTypeError(
27467
- "Got an unexpected keyword argument '%s'"
27468
- " to method list_aica_endpoints_api_v2_aica_endpoints_get" % key
27469
- )
27470
- local_var_params[key] = val
27471
- del local_var_params['kwargs']
27472
-
27473
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 50: # noqa: E501
27474
- 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
27475
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
27476
- 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
27477
- collection_formats = {}
27478
-
27479
- path_params = {}
27480
-
27481
- query_params = []
27482
- if 'name' in local_var_params and local_var_params['name'] is not None: # noqa: E501
27483
- query_params.append(('name', local_var_params['name'])) # noqa: E501
27484
- if 'name_contains' in local_var_params and local_var_params['name_contains'] is not None: # noqa: E501
27485
- query_params.append(('name_contains', local_var_params['name_contains'])) # noqa: E501
27486
- if 'creator_id' in local_var_params and local_var_params['creator_id'] is not None: # noqa: E501
27487
- query_params.append(('creator_id', local_var_params['creator_id'])) # noqa: E501
27488
- if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
27489
- query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
27490
- if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
27491
- query_params.append(('count', local_var_params['count'])) # noqa: E501
27492
-
27493
- header_params = {}
27494
-
27495
- form_params = []
27496
- local_var_files = {}
27497
-
27498
- body_params = None
27499
- # HTTP header `Accept`
27500
- header_params['Accept'] = self.api_client.select_header_accept(
27501
- ['application/json']) # noqa: E501
27502
-
27503
- # Authentication setting
27504
- auth_settings = [] # noqa: E501
27505
-
27506
- return self.api_client.call_api(
27507
- '/api/v2/aica_endpoints/', 'GET',
27508
- path_params,
27509
- query_params,
27510
- header_params,
27511
- body=body_params,
27512
- post_params=form_params,
27513
- files=local_var_files,
27514
- response_type='AicaendpointListResponse', # noqa: E501
27515
- auth_settings=auth_settings,
27516
- async_req=local_var_params.get('async_req'),
27517
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
27518
- _preload_content=local_var_params.get('_preload_content', True),
27519
- _request_timeout=local_var_params.get('_request_timeout'),
27520
- collection_formats=collection_formats)
27521
-
27522
26794
  def list_application_templates_api_v2_application_templates_get(self, **kwargs): # noqa: E501
27523
26795
  """List Application Templates # noqa: E501
27524
26796
 
@@ -30621,145 +29893,6 @@ class DefaultApi(object):
30621
29893
  _request_timeout=local_var_params.get('_request_timeout'),
30622
29894
  collection_formats=collection_formats)
30623
29895
 
30624
- def list_models_api_v2_aica_endpoints_models_get(self, **kwargs): # noqa: E501
30625
- """List Models # noqa: E501
30626
-
30627
- Lists all models # noqa: E501
30628
- This method makes a synchronous HTTP request by default. To make an
30629
- asynchronous HTTP request, please pass async_req=True
30630
- >>> thread = api.list_models_api_v2_aica_endpoints_models_get(async_req=True)
30631
- >>> result = thread.get()
30632
-
30633
- :param async_req bool: execute request asynchronously
30634
- :param str id_contains: Search for models with a name that contains the provided value
30635
- :param str cloud_id: Search for models under the specified cloud. Note that base models are supported under all clouds.
30636
- :param str aviary_version: Search for models available under the specified aviary version.
30637
- :param bool exclude_base_models: Exclude base models from the results.
30638
- :param str paging_token:
30639
- :param int count:
30640
- :param _preload_content: if False, the urllib3.HTTPResponse object will
30641
- be returned without reading/decoding response
30642
- data. Default is True.
30643
- :param _request_timeout: timeout setting for this request. If one
30644
- number provided, it will be total request
30645
- timeout. It can also be a pair (tuple) of
30646
- (connection, read) timeouts.
30647
- :return: AicamodelListResponse
30648
- If the method is called asynchronously,
30649
- returns the request thread.
30650
- """
30651
- kwargs['_return_http_data_only'] = True
30652
- return self.list_models_api_v2_aica_endpoints_models_get_with_http_info(**kwargs) # noqa: E501
30653
-
30654
- def list_models_api_v2_aica_endpoints_models_get_with_http_info(self, **kwargs): # noqa: E501
30655
- """List Models # noqa: E501
30656
-
30657
- Lists all models # noqa: E501
30658
- This method makes a synchronous HTTP request by default. To make an
30659
- asynchronous HTTP request, please pass async_req=True
30660
- >>> thread = api.list_models_api_v2_aica_endpoints_models_get_with_http_info(async_req=True)
30661
- >>> result = thread.get()
30662
-
30663
- :param async_req bool: execute request asynchronously
30664
- :param str id_contains: Search for models with a name that contains the provided value
30665
- :param str cloud_id: Search for models under the specified cloud. Note that base models are supported under all clouds.
30666
- :param str aviary_version: Search for models available under the specified aviary version.
30667
- :param bool exclude_base_models: Exclude base models from the results.
30668
- :param str paging_token:
30669
- :param int count:
30670
- :param _return_http_data_only: response data without head status code
30671
- and headers
30672
- :param _preload_content: if False, the urllib3.HTTPResponse object will
30673
- be returned without reading/decoding response
30674
- data. Default is True.
30675
- :param _request_timeout: timeout setting for this request. If one
30676
- number provided, it will be total request
30677
- timeout. It can also be a pair (tuple) of
30678
- (connection, read) timeouts.
30679
- :return: tuple(AicamodelListResponse, status_code(int), headers(HTTPHeaderDict))
30680
- If the method is called asynchronously,
30681
- returns the request thread.
30682
- """
30683
-
30684
- local_var_params = locals()
30685
-
30686
- all_params = [
30687
- 'id_contains',
30688
- 'cloud_id',
30689
- 'aviary_version',
30690
- 'exclude_base_models',
30691
- 'paging_token',
30692
- 'count'
30693
- ]
30694
- all_params.extend(
30695
- [
30696
- 'async_req',
30697
- '_return_http_data_only',
30698
- '_preload_content',
30699
- '_request_timeout'
30700
- ]
30701
- )
30702
-
30703
- for key, val in six.iteritems(local_var_params['kwargs']):
30704
- if key not in all_params:
30705
- raise ApiTypeError(
30706
- "Got an unexpected keyword argument '%s'"
30707
- " to method list_models_api_v2_aica_endpoints_models_get" % key
30708
- )
30709
- local_var_params[key] = val
30710
- del local_var_params['kwargs']
30711
-
30712
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] > 1000: # noqa: E501
30713
- 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
30714
- if self.api_client.client_side_validation and 'count' in local_var_params and local_var_params['count'] < 0: # noqa: E501
30715
- 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
30716
- collection_formats = {}
30717
-
30718
- path_params = {}
30719
-
30720
- query_params = []
30721
- if 'id_contains' in local_var_params and local_var_params['id_contains'] is not None: # noqa: E501
30722
- query_params.append(('id_contains', local_var_params['id_contains'])) # noqa: E501
30723
- if 'cloud_id' in local_var_params and local_var_params['cloud_id'] is not None: # noqa: E501
30724
- query_params.append(('cloud_id', local_var_params['cloud_id'])) # noqa: E501
30725
- if 'aviary_version' in local_var_params and local_var_params['aviary_version'] is not None: # noqa: E501
30726
- query_params.append(('aviary_version', local_var_params['aviary_version'])) # noqa: E501
30727
- if 'exclude_base_models' in local_var_params and local_var_params['exclude_base_models'] is not None: # noqa: E501
30728
- query_params.append(('exclude_base_models', local_var_params['exclude_base_models'])) # noqa: E501
30729
- if 'paging_token' in local_var_params and local_var_params['paging_token'] is not None: # noqa: E501
30730
- query_params.append(('paging_token', local_var_params['paging_token'])) # noqa: E501
30731
- if 'count' in local_var_params and local_var_params['count'] is not None: # noqa: E501
30732
- query_params.append(('count', local_var_params['count'])) # noqa: E501
30733
-
30734
- header_params = {}
30735
-
30736
- form_params = []
30737
- local_var_files = {}
30738
-
30739
- body_params = None
30740
- # HTTP header `Accept`
30741
- header_params['Accept'] = self.api_client.select_header_accept(
30742
- ['application/json']) # noqa: E501
30743
-
30744
- # Authentication setting
30745
- auth_settings = [] # noqa: E501
30746
-
30747
- return self.api_client.call_api(
30748
- '/api/v2/aica_endpoints/models', 'GET',
30749
- path_params,
30750
- query_params,
30751
- header_params,
30752
- body=body_params,
30753
- post_params=form_params,
30754
- files=local_var_files,
30755
- response_type='AicamodelListResponse', # noqa: E501
30756
- auth_settings=auth_settings,
30757
- async_req=local_var_params.get('async_req'),
30758
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
30759
- _preload_content=local_var_params.get('_preload_content', True),
30760
- _request_timeout=local_var_params.get('_request_timeout'),
30761
- collection_formats=collection_formats)
30762
-
30763
29896
  def list_models_api_v2_llm_models_get(self, **kwargs): # noqa: E501
30764
29897
  """List Models # noqa: E501
30765
29898
 
@@ -31754,111 +30887,6 @@ class DefaultApi(object):
31754
30887
  _request_timeout=local_var_params.get('_request_timeout'),
31755
30888
  collection_formats=collection_formats)
31756
30889
 
31757
- def list_versions_api_v2_aica_endpoints_versions_get(self, **kwargs): # noqa: E501
31758
- """List Versions # noqa: E501
31759
-
31760
- Lists all aviary versions # noqa: E501
31761
- This method makes a synchronous HTTP request by default. To make an
31762
- asynchronous HTTP request, please pass async_req=True
31763
- >>> thread = api.list_versions_api_v2_aica_endpoints_versions_get(async_req=True)
31764
- >>> result = thread.get()
31765
-
31766
- :param async_req bool: execute request asynchronously
31767
- :param _preload_content: if False, the urllib3.HTTPResponse object will
31768
- be returned without reading/decoding response
31769
- data. Default is True.
31770
- :param _request_timeout: timeout setting for this request. If one
31771
- number provided, it will be total request
31772
- timeout. It can also be a pair (tuple) of
31773
- (connection, read) timeouts.
31774
- :return: list[str]
31775
- If the method is called asynchronously,
31776
- returns the request thread.
31777
- """
31778
- kwargs['_return_http_data_only'] = True
31779
- return self.list_versions_api_v2_aica_endpoints_versions_get_with_http_info(**kwargs) # noqa: E501
31780
-
31781
- def list_versions_api_v2_aica_endpoints_versions_get_with_http_info(self, **kwargs): # noqa: E501
31782
- """List Versions # noqa: E501
31783
-
31784
- Lists all aviary versions # noqa: E501
31785
- This method makes a synchronous HTTP request by default. To make an
31786
- asynchronous HTTP request, please pass async_req=True
31787
- >>> thread = api.list_versions_api_v2_aica_endpoints_versions_get_with_http_info(async_req=True)
31788
- >>> result = thread.get()
31789
-
31790
- :param async_req bool: execute request asynchronously
31791
- :param _return_http_data_only: response data without head status code
31792
- and headers
31793
- :param _preload_content: if False, the urllib3.HTTPResponse object will
31794
- be returned without reading/decoding response
31795
- data. Default is True.
31796
- :param _request_timeout: timeout setting for this request. If one
31797
- number provided, it will be total request
31798
- timeout. It can also be a pair (tuple) of
31799
- (connection, read) timeouts.
31800
- :return: tuple(list[str], status_code(int), headers(HTTPHeaderDict))
31801
- If the method is called asynchronously,
31802
- returns the request thread.
31803
- """
31804
-
31805
- local_var_params = locals()
31806
-
31807
- all_params = [
31808
- ]
31809
- all_params.extend(
31810
- [
31811
- 'async_req',
31812
- '_return_http_data_only',
31813
- '_preload_content',
31814
- '_request_timeout'
31815
- ]
31816
- )
31817
-
31818
- for key, val in six.iteritems(local_var_params['kwargs']):
31819
- if key not in all_params:
31820
- raise ApiTypeError(
31821
- "Got an unexpected keyword argument '%s'"
31822
- " to method list_versions_api_v2_aica_endpoints_versions_get" % key
31823
- )
31824
- local_var_params[key] = val
31825
- del local_var_params['kwargs']
31826
-
31827
- collection_formats = {}
31828
-
31829
- path_params = {}
31830
-
31831
- query_params = []
31832
-
31833
- header_params = {}
31834
-
31835
- form_params = []
31836
- local_var_files = {}
31837
-
31838
- body_params = None
31839
- # HTTP header `Accept`
31840
- header_params['Accept'] = self.api_client.select_header_accept(
31841
- ['application/json']) # noqa: E501
31842
-
31843
- # Authentication setting
31844
- auth_settings = [] # noqa: E501
31845
-
31846
- return self.api_client.call_api(
31847
- '/api/v2/aica_endpoints/versions', 'GET',
31848
- path_params,
31849
- query_params,
31850
- header_params,
31851
- body=body_params,
31852
- post_params=form_params,
31853
- files=local_var_files,
31854
- response_type='list[str]', # noqa: E501
31855
- auth_settings=auth_settings,
31856
- async_req=local_var_params.get('async_req'),
31857
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
31858
- _preload_content=local_var_params.get('_preload_content', True),
31859
- _request_timeout=local_var_params.get('_request_timeout'),
31860
- collection_formats=collection_formats)
31861
-
31862
30890
  def list_web_terminals_api_v2_sessions_session_id_web_terminals_get(self, session_id, **kwargs): # noqa: E501
31863
30891
  """List Web Terminals # noqa: E501
31864
30892
 
@@ -32476,120 +31504,6 @@ class DefaultApi(object):
32476
31504
  _request_timeout=local_var_params.get('_request_timeout'),
32477
31505
  collection_formats=collection_formats)
32478
31506
 
32479
- def model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post(self, model_id, **kwargs): # noqa: E501
32480
- """Model S3 Mirror Credentials # noqa: E501
32481
-
32482
- create s3 credential for model weights # noqa: E501
32483
- This method makes a synchronous HTTP request by default. To make an
32484
- asynchronous HTTP request, please pass async_req=True
32485
- >>> thread = api.model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post(model_id, async_req=True)
32486
- >>> result = thread.get()
32487
-
32488
- :param async_req bool: execute request asynchronously
32489
- :param str model_id: (required)
32490
- :param _preload_content: if False, the urllib3.HTTPResponse object will
32491
- be returned without reading/decoding response
32492
- data. Default is True.
32493
- :param _request_timeout: timeout setting for this request. If one
32494
- number provided, it will be total request
32495
- timeout. It can also be a pair (tuple) of
32496
- (connection, read) timeouts.
32497
- :return: AWSCredentials
32498
- If the method is called asynchronously,
32499
- returns the request thread.
32500
- """
32501
- kwargs['_return_http_data_only'] = True
32502
- return self.model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post_with_http_info(model_id, **kwargs) # noqa: E501
32503
-
32504
- def model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post_with_http_info(self, model_id, **kwargs): # noqa: E501
32505
- """Model S3 Mirror Credentials # noqa: E501
32506
-
32507
- create s3 credential for model weights # noqa: E501
32508
- This method makes a synchronous HTTP request by default. To make an
32509
- asynchronous HTTP request, please pass async_req=True
32510
- >>> thread = api.model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post_with_http_info(model_id, async_req=True)
32511
- >>> result = thread.get()
32512
-
32513
- :param async_req bool: execute request asynchronously
32514
- :param str model_id: (required)
32515
- :param _return_http_data_only: response data without head status code
32516
- and headers
32517
- :param _preload_content: if False, the urllib3.HTTPResponse object will
32518
- be returned without reading/decoding response
32519
- data. Default is True.
32520
- :param _request_timeout: timeout setting for this request. If one
32521
- number provided, it will be total request
32522
- timeout. It can also be a pair (tuple) of
32523
- (connection, read) timeouts.
32524
- :return: tuple(AWSCredentials, status_code(int), headers(HTTPHeaderDict))
32525
- If the method is called asynchronously,
32526
- returns the request thread.
32527
- """
32528
-
32529
- local_var_params = locals()
32530
-
32531
- all_params = [
32532
- 'model_id'
32533
- ]
32534
- all_params.extend(
32535
- [
32536
- 'async_req',
32537
- '_return_http_data_only',
32538
- '_preload_content',
32539
- '_request_timeout'
32540
- ]
32541
- )
32542
-
32543
- for key, val in six.iteritems(local_var_params['kwargs']):
32544
- if key not in all_params:
32545
- raise ApiTypeError(
32546
- "Got an unexpected keyword argument '%s'"
32547
- " to method model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post" % key
32548
- )
32549
- local_var_params[key] = val
32550
- del local_var_params['kwargs']
32551
- # verify the required parameter 'model_id' is set
32552
- if self.api_client.client_side_validation and ('model_id' not in local_var_params or # noqa: E501
32553
- local_var_params['model_id'] is None): # noqa: E501
32554
- raise ApiValueError("Missing the required parameter `model_id` when calling `model_s3_mirror_credentials_api_v2_aica_endpoints_model_s3_credentials_post`") # noqa: E501
32555
-
32556
- collection_formats = {}
32557
-
32558
- path_params = {}
32559
-
32560
- query_params = []
32561
- if 'model_id' in local_var_params and local_var_params['model_id'] is not None: # noqa: E501
32562
- query_params.append(('model_id', local_var_params['model_id'])) # noqa: E501
32563
-
32564
- header_params = {}
32565
-
32566
- form_params = []
32567
- local_var_files = {}
32568
-
32569
- body_params = None
32570
- # HTTP header `Accept`
32571
- header_params['Accept'] = self.api_client.select_header_accept(
32572
- ['application/json']) # noqa: E501
32573
-
32574
- # Authentication setting
32575
- auth_settings = [] # noqa: E501
32576
-
32577
- return self.api_client.call_api(
32578
- '/api/v2/aica_endpoints/model_s3_credentials', 'POST',
32579
- path_params,
32580
- query_params,
32581
- header_params,
32582
- body=body_params,
32583
- post_params=form_params,
32584
- files=local_var_files,
32585
- response_type='AWSCredentials', # noqa: E501
32586
- auth_settings=auth_settings,
32587
- async_req=local_var_params.get('async_req'),
32588
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
32589
- _preload_content=local_var_params.get('_preload_content', True),
32590
- _request_timeout=local_var_params.get('_request_timeout'),
32591
- collection_formats=collection_formats)
32592
-
32593
31507
  def organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get(self, organization_id, **kwargs): # noqa: E501
32594
31508
  """Organization Valid For Migration # noqa: E501
32595
31509
 
@@ -38088,120 +37002,6 @@ class DefaultApi(object):
38088
37002
  _request_timeout=local_var_params.get('_request_timeout'),
38089
37003
  collection_formats=collection_formats)
38090
37004
 
38091
- def start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post(self, endpoint_id, **kwargs): # noqa: E501
38092
- """Start Endpoint # noqa: E501
38093
-
38094
- Start an endpoint # noqa: E501
38095
- This method makes a synchronous HTTP request by default. To make an
38096
- asynchronous HTTP request, please pass async_req=True
38097
- >>> thread = api.start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post(endpoint_id, async_req=True)
38098
- >>> result = thread.get()
38099
-
38100
- :param async_req bool: execute request asynchronously
38101
- :param str endpoint_id: (required)
38102
- :param _preload_content: if False, the urllib3.HTTPResponse object will
38103
- be returned without reading/decoding response
38104
- data. Default is True.
38105
- :param _request_timeout: timeout setting for this request. If one
38106
- number provided, it will be total request
38107
- timeout. It can also be a pair (tuple) of
38108
- (connection, read) timeouts.
38109
- :return: None
38110
- If the method is called asynchronously,
38111
- returns the request thread.
38112
- """
38113
- kwargs['_return_http_data_only'] = True
38114
- return self.start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post_with_http_info(endpoint_id, **kwargs) # noqa: E501
38115
-
38116
- def start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post_with_http_info(self, endpoint_id, **kwargs): # noqa: E501
38117
- """Start Endpoint # noqa: E501
38118
-
38119
- Start an endpoint # noqa: E501
38120
- This method makes a synchronous HTTP request by default. To make an
38121
- asynchronous HTTP request, please pass async_req=True
38122
- >>> thread = api.start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post_with_http_info(endpoint_id, async_req=True)
38123
- >>> result = thread.get()
38124
-
38125
- :param async_req bool: execute request asynchronously
38126
- :param str endpoint_id: (required)
38127
- :param _return_http_data_only: response data without head status code
38128
- and headers
38129
- :param _preload_content: if False, the urllib3.HTTPResponse object will
38130
- be returned without reading/decoding response
38131
- data. Default is True.
38132
- :param _request_timeout: timeout setting for this request. If one
38133
- number provided, it will be total request
38134
- timeout. It can also be a pair (tuple) of
38135
- (connection, read) timeouts.
38136
- :return: None
38137
- If the method is called asynchronously,
38138
- returns the request thread.
38139
- """
38140
-
38141
- local_var_params = locals()
38142
-
38143
- all_params = [
38144
- 'endpoint_id'
38145
- ]
38146
- all_params.extend(
38147
- [
38148
- 'async_req',
38149
- '_return_http_data_only',
38150
- '_preload_content',
38151
- '_request_timeout'
38152
- ]
38153
- )
38154
-
38155
- for key, val in six.iteritems(local_var_params['kwargs']):
38156
- if key not in all_params:
38157
- raise ApiTypeError(
38158
- "Got an unexpected keyword argument '%s'"
38159
- " to method start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post" % key
38160
- )
38161
- local_var_params[key] = val
38162
- del local_var_params['kwargs']
38163
- # verify the required parameter 'endpoint_id' is set
38164
- if self.api_client.client_side_validation and ('endpoint_id' not in local_var_params or # noqa: E501
38165
- local_var_params['endpoint_id'] is None): # noqa: E501
38166
- raise ApiValueError("Missing the required parameter `endpoint_id` when calling `start_endpoint_api_v2_aica_endpoints_endpoint_id_start_post`") # noqa: E501
38167
-
38168
- collection_formats = {}
38169
-
38170
- path_params = {}
38171
- if 'endpoint_id' in local_var_params:
38172
- path_params['endpoint_id'] = local_var_params['endpoint_id'] # noqa: E501
38173
-
38174
- query_params = []
38175
-
38176
- header_params = {}
38177
-
38178
- form_params = []
38179
- local_var_files = {}
38180
-
38181
- body_params = None
38182
- # HTTP header `Accept`
38183
- header_params['Accept'] = self.api_client.select_header_accept(
38184
- ['application/json']) # noqa: E501
38185
-
38186
- # Authentication setting
38187
- auth_settings = [] # noqa: E501
38188
-
38189
- return self.api_client.call_api(
38190
- '/api/v2/aica_endpoints/{endpoint_id}/start', 'POST',
38191
- path_params,
38192
- query_params,
38193
- header_params,
38194
- body=body_params,
38195
- post_params=form_params,
38196
- files=local_var_files,
38197
- response_type=None, # noqa: E501
38198
- auth_settings=auth_settings,
38199
- async_req=local_var_params.get('async_req'),
38200
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
38201
- _preload_content=local_var_params.get('_preload_content', True),
38202
- _request_timeout=local_var_params.get('_request_timeout'),
38203
- collection_formats=collection_formats)
38204
-
38205
37005
  def start_session_api_v2_sessions_session_id_start_post(self, session_id, start_session_options, **kwargs): # noqa: E501
38206
37006
  """Start Session # noqa: E501
38207
37007
 
@@ -39476,124 +38276,6 @@ class DefaultApi(object):
39476
38276
  _request_timeout=local_var_params.get('_request_timeout'),
39477
38277
  collection_formats=collection_formats)
39478
38278
 
39479
- def update_aica_endpoint_api_v2_aica_endpoints_put(self, update_endpoint, **kwargs): # noqa: E501
39480
- """Update Aica Endpoint # noqa: E501
39481
-
39482
- Updates an AICA endpoint. # noqa: E501
39483
- This method makes a synchronous HTTP request by default. To make an
39484
- asynchronous HTTP request, please pass async_req=True
39485
- >>> thread = api.update_aica_endpoint_api_v2_aica_endpoints_put(update_endpoint, async_req=True)
39486
- >>> result = thread.get()
39487
-
39488
- :param async_req bool: execute request asynchronously
39489
- :param UpdateEndpoint update_endpoint: (required)
39490
- :param _preload_content: if False, the urllib3.HTTPResponse object will
39491
- be returned without reading/decoding response
39492
- data. Default is True.
39493
- :param _request_timeout: timeout setting for this request. If one
39494
- number provided, it will be total request
39495
- timeout. It can also be a pair (tuple) of
39496
- (connection, read) timeouts.
39497
- :return: AicaendpointResponse
39498
- If the method is called asynchronously,
39499
- returns the request thread.
39500
- """
39501
- kwargs['_return_http_data_only'] = True
39502
- return self.update_aica_endpoint_api_v2_aica_endpoints_put_with_http_info(update_endpoint, **kwargs) # noqa: E501
39503
-
39504
- def update_aica_endpoint_api_v2_aica_endpoints_put_with_http_info(self, update_endpoint, **kwargs): # noqa: E501
39505
- """Update Aica Endpoint # noqa: E501
39506
-
39507
- Updates an AICA endpoint. # noqa: E501
39508
- This method makes a synchronous HTTP request by default. To make an
39509
- asynchronous HTTP request, please pass async_req=True
39510
- >>> thread = api.update_aica_endpoint_api_v2_aica_endpoints_put_with_http_info(update_endpoint, async_req=True)
39511
- >>> result = thread.get()
39512
-
39513
- :param async_req bool: execute request asynchronously
39514
- :param UpdateEndpoint update_endpoint: (required)
39515
- :param _return_http_data_only: response data without head status code
39516
- and headers
39517
- :param _preload_content: if False, the urllib3.HTTPResponse object will
39518
- be returned without reading/decoding response
39519
- data. Default is True.
39520
- :param _request_timeout: timeout setting for this request. If one
39521
- number provided, it will be total request
39522
- timeout. It can also be a pair (tuple) of
39523
- (connection, read) timeouts.
39524
- :return: tuple(AicaendpointResponse, status_code(int), headers(HTTPHeaderDict))
39525
- If the method is called asynchronously,
39526
- returns the request thread.
39527
- """
39528
-
39529
- local_var_params = locals()
39530
-
39531
- all_params = [
39532
- 'update_endpoint'
39533
- ]
39534
- all_params.extend(
39535
- [
39536
- 'async_req',
39537
- '_return_http_data_only',
39538
- '_preload_content',
39539
- '_request_timeout'
39540
- ]
39541
- )
39542
-
39543
- for key, val in six.iteritems(local_var_params['kwargs']):
39544
- if key not in all_params:
39545
- raise ApiTypeError(
39546
- "Got an unexpected keyword argument '%s'"
39547
- " to method update_aica_endpoint_api_v2_aica_endpoints_put" % key
39548
- )
39549
- local_var_params[key] = val
39550
- del local_var_params['kwargs']
39551
- # verify the required parameter 'update_endpoint' is set
39552
- if self.api_client.client_side_validation and ('update_endpoint' not in local_var_params or # noqa: E501
39553
- local_var_params['update_endpoint'] is None): # noqa: E501
39554
- raise ApiValueError("Missing the required parameter `update_endpoint` when calling `update_aica_endpoint_api_v2_aica_endpoints_put`") # noqa: E501
39555
-
39556
- collection_formats = {}
39557
-
39558
- path_params = {}
39559
-
39560
- query_params = []
39561
-
39562
- header_params = {}
39563
-
39564
- form_params = []
39565
- local_var_files = {}
39566
-
39567
- body_params = None
39568
- if 'update_endpoint' in local_var_params:
39569
- body_params = local_var_params['update_endpoint']
39570
- # HTTP header `Accept`
39571
- header_params['Accept'] = self.api_client.select_header_accept(
39572
- ['application/json']) # noqa: E501
39573
-
39574
- # HTTP header `Content-Type`
39575
- header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
39576
- ['application/json']) # noqa: E501
39577
-
39578
- # Authentication setting
39579
- auth_settings = [] # noqa: E501
39580
-
39581
- return self.api_client.call_api(
39582
- '/api/v2/aica_endpoints/', 'PUT',
39583
- path_params,
39584
- query_params,
39585
- header_params,
39586
- body=body_params,
39587
- post_params=form_params,
39588
- files=local_var_files,
39589
- response_type='AicaendpointResponse', # noqa: E501
39590
- auth_settings=auth_settings,
39591
- async_req=local_var_params.get('async_req'),
39592
- _return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
39593
- _preload_content=local_var_params.get('_preload_content', True),
39594
- _request_timeout=local_var_params.get('_request_timeout'),
39595
- collection_formats=collection_formats)
39596
-
39597
38279
  def update_cloud_auto_add_user_api_v2_clouds_cloud_id_auto_add_user_put(self, cloud_id, auto_add_user, **kwargs): # noqa: E501
39598
38280
  """Update Cloud Auto Add User # noqa: E501
39599
38281