anyscale 0.26.2__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.
- anyscale/client/README.md +1 -33
- anyscale/client/openapi_client/__init__.py +0 -20
- anyscale/client/openapi_client/api/default_api.py +114 -1544
- anyscale/client/openapi_client/models/__init__.py +0 -20
- anyscale/version.py +1 -1
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/METADATA +1 -1
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/RECORD +12 -32
- anyscale/client/openapi_client/models/aica_endpoint.py +0 -527
- anyscale/client/openapi_client/models/aica_endpoint_event.py +0 -433
- anyscale/client/openapi_client/models/aica_endpoint_event_level.py +0 -103
- anyscale/client/openapi_client/models/aica_endpoint_event_type.py +0 -120
- anyscale/client/openapi_client/models/aica_endpoint_scope.py +0 -102
- anyscale/client/openapi_client/models/aica_model.py +0 -398
- anyscale/client/openapi_client/models/aica_model_accelerator_map.py +0 -123
- anyscale/client/openapi_client/models/aica_model_configuration.py +0 -209
- anyscale/client/openapi_client/models/aica_observability_urls.py +0 -178
- anyscale/client/openapi_client/models/aicaendpoint_list_response.py +0 -147
- anyscale/client/openapi_client/models/aicaendpoint_response.py +0 -121
- anyscale/client/openapi_client/models/aicaendpointevent_list_response.py +0 -147
- anyscale/client/openapi_client/models/aicamodel_list_response.py +0 -147
- anyscale/client/openapi_client/models/aicamodel_response.py +0 -121
- anyscale/client/openapi_client/models/aws_credentials.py +0 -181
- anyscale/client/openapi_client/models/create_aica_endpoint.py +0 -210
- anyscale/client/openapi_client/models/import_aica_model.py +0 -241
- anyscale/client/openapi_client/models/named_entity.py +0 -148
- anyscale/client/openapi_client/models/update_endpoint.py +0 -152
- anyscale/client/openapi_client/models/update_model_deployment.py +0 -152
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/LICENSE +0 -0
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/NOTICE +0 -0
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/WHEEL +0 -0
- {anyscale-0.26.2.dist-info → anyscale-0.26.3.dist-info}/entry_points.txt +0 -0
- {anyscale-0.26.2.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
|
|
@@ -26927,124 +26453,6 @@ class DefaultApi(object):
|
|
26927
26453
|
_request_timeout=local_var_params.get('_request_timeout'),
|
26928
26454
|
collection_formats=collection_formats)
|
26929
26455
|
|
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
26456
|
def invalidate_invitation_api_v2_organization_invitations_invitation_id_invalidate_post(self, invitation_id, **kwargs): # noqa: E501
|
27049
26457
|
"""Invalidate Invitation # noqa: E501
|
27050
26458
|
|
@@ -27383,254 +26791,6 @@ class DefaultApi(object):
|
|
27383
26791
|
_request_timeout=local_var_params.get('_request_timeout'),
|
27384
26792
|
collection_formats=collection_formats)
|
27385
26793
|
|
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
26794
|
def list_application_templates_api_v2_application_templates_get(self, **kwargs): # noqa: E501
|
27635
26795
|
"""List Application Templates # noqa: E501
|
27636
26796
|
|
@@ -30733,145 +29893,6 @@ class DefaultApi(object):
|
|
30733
29893
|
_request_timeout=local_var_params.get('_request_timeout'),
|
30734
29894
|
collection_formats=collection_formats)
|
30735
29895
|
|
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
29896
|
def list_models_api_v2_llm_models_get(self, **kwargs): # noqa: E501
|
30876
29897
|
"""List Models # noqa: E501
|
30877
29898
|
|
@@ -31866,111 +30887,6 @@ class DefaultApi(object):
|
|
31866
30887
|
_request_timeout=local_var_params.get('_request_timeout'),
|
31867
30888
|
collection_formats=collection_formats)
|
31868
30889
|
|
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
30890
|
def list_web_terminals_api_v2_sessions_session_id_web_terminals_get(self, session_id, **kwargs): # noqa: E501
|
31975
30891
|
"""List Web Terminals # noqa: E501
|
31976
30892
|
|
@@ -32588,120 +31504,6 @@ class DefaultApi(object):
|
|
32588
31504
|
_request_timeout=local_var_params.get('_request_timeout'),
|
32589
31505
|
collection_formats=collection_formats)
|
32590
31506
|
|
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
31507
|
def organization_valid_for_migration_api_v2_access_controls_migration_organization_id_organization_valid_for_migration_get(self, organization_id, **kwargs): # noqa: E501
|
32706
31508
|
"""Organization Valid For Migration # noqa: E501
|
32707
31509
|
|
@@ -38200,120 +37002,6 @@ class DefaultApi(object):
|
|
38200
37002
|
_request_timeout=local_var_params.get('_request_timeout'),
|
38201
37003
|
collection_formats=collection_formats)
|
38202
37004
|
|
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
37005
|
def start_session_api_v2_sessions_session_id_start_post(self, session_id, start_session_options, **kwargs): # noqa: E501
|
38318
37006
|
"""Start Session # noqa: E501
|
38319
37007
|
|
@@ -39588,124 +38276,6 @@ class DefaultApi(object):
|
|
39588
38276
|
_request_timeout=local_var_params.get('_request_timeout'),
|
39589
38277
|
collection_formats=collection_formats)
|
39590
38278
|
|
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
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
|
39710
38280
|
"""Update Cloud Auto Add User # noqa: E501
|
39711
38281
|
|