lightning-sdk 0.1.3__py3-none-any.whl → 0.1.47__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 (503) hide show
  1. lightning_sdk/__init__.py +12 -2
  2. lightning_sdk/agents.py +46 -0
  3. lightning_sdk/ai_hub.py +185 -0
  4. lightning_sdk/api/__init__.py +4 -0
  5. lightning_sdk/api/agents_api.py +107 -0
  6. lightning_sdk/api/ai_hub_api.py +130 -0
  7. lightning_sdk/api/deployment_api.py +574 -0
  8. lightning_sdk/api/job_api.py +328 -0
  9. lightning_sdk/api/lit_registry_api.py +12 -0
  10. lightning_sdk/api/mmt_api.py +205 -0
  11. lightning_sdk/api/org_api.py +1 -3
  12. lightning_sdk/api/studio_api.py +172 -81
  13. lightning_sdk/api/teamspace_api.py +237 -20
  14. lightning_sdk/api/user_api.py +24 -9
  15. lightning_sdk/api/utils.py +429 -48
  16. lightning_sdk/cli/ai_hub.py +49 -0
  17. lightning_sdk/cli/download.py +132 -0
  18. lightning_sdk/cli/entrypoint.py +13 -3
  19. lightning_sdk/cli/list.py +54 -0
  20. lightning_sdk/cli/run.py +206 -0
  21. lightning_sdk/cli/serve.py +218 -0
  22. lightning_sdk/cli/studios_menu.py +78 -0
  23. lightning_sdk/cli/teamspace_menu.py +94 -0
  24. lightning_sdk/cli/upload.py +79 -89
  25. lightning_sdk/constants.py +29 -1
  26. lightning_sdk/deployment/__init__.py +25 -0
  27. lightning_sdk/deployment/deployment.py +389 -0
  28. lightning_sdk/helpers.py +49 -0
  29. lightning_sdk/job/__init__.py +5 -0
  30. lightning_sdk/job/base.py +359 -0
  31. lightning_sdk/job/job.py +291 -0
  32. lightning_sdk/job/v1.py +269 -0
  33. lightning_sdk/job/v2.py +221 -0
  34. lightning_sdk/job/work.py +81 -0
  35. lightning_sdk/lightning_cloud/__version__.py +1 -1
  36. lightning_sdk/lightning_cloud/cli/__main__.py +15 -13
  37. lightning_sdk/lightning_cloud/env.py +1 -0
  38. lightning_sdk/lightning_cloud/login.py +12 -8
  39. lightning_sdk/lightning_cloud/openapi/__init__.py +289 -42
  40. lightning_sdk/lightning_cloud/openapi/api/__init__.py +10 -0
  41. lightning_sdk/lightning_cloud/openapi/api/analytics_service_api.py +141 -0
  42. lightning_sdk/lightning_cloud/openapi/api/assistants_service_api.py +1075 -227
  43. lightning_sdk/lightning_cloud/openapi/api/billing_service_api.py +9 -1
  44. lightning_sdk/lightning_cloud/openapi/api/cloud_space_service_api.py +992 -233
  45. lightning_sdk/lightning_cloud/openapi/api/cluster_service_api.py +883 -120
  46. lightning_sdk/lightning_cloud/openapi/api/data_connection_service_api.py +10 -5
  47. lightning_sdk/lightning_cloud/openapi/api/deployment_templates_service_api.py +756 -0
  48. lightning_sdk/lightning_cloud/openapi/api/endpoint_service_api.py +422 -1
  49. lightning_sdk/lightning_cloud/openapi/api/experiments_service_api.py +242 -0
  50. lightning_sdk/lightning_cloud/openapi/api/file_system_service_api.py +674 -0
  51. lightning_sdk/lightning_cloud/openapi/api/jobs_service_api.py +3823 -0
  52. lightning_sdk/lightning_cloud/openapi/api/lightningapp_instance_service_api.py +158 -594
  53. lightning_sdk/lightning_cloud/openapi/api/lightningapp_v2_service_api.py +0 -1086
  54. lightning_sdk/lightning_cloud/openapi/api/lightningwork_service_api.py +113 -0
  55. lightning_sdk/lightning_cloud/openapi/api/lit_logger_service_api.py +1753 -0
  56. lightning_sdk/lightning_cloud/openapi/api/lit_registry_service_api.py +343 -0
  57. lightning_sdk/lightning_cloud/openapi/api/models_store_api.py +1423 -108
  58. lightning_sdk/lightning_cloud/openapi/api/organizations_service_api.py +421 -1
  59. lightning_sdk/lightning_cloud/openapi/api/profiler_service_api.py +663 -0
  60. lightning_sdk/lightning_cloud/openapi/api/projects_service_api.py +5 -1
  61. lightning_sdk/lightning_cloud/openapi/api/secret_service_api.py +478 -1
  62. lightning_sdk/lightning_cloud/openapi/api/slurm_jobs_user_service_api.py +9 -5
  63. lightning_sdk/lightning_cloud/openapi/api/snowflake_service_api.py +686 -0
  64. lightning_sdk/lightning_cloud/openapi/api/storage_service_api.py +1094 -0
  65. lightning_sdk/lightning_cloud/openapi/api/studio_jobs_service_api.py +4 -4
  66. lightning_sdk/lightning_cloud/openapi/api/user_service_api.py +1081 -34
  67. lightning_sdk/lightning_cloud/openapi/models/__init__.py +279 -40
  68. lightning_sdk/lightning_cloud/openapi/models/affiliatelinks_id_body.py +149 -0
  69. lightning_sdk/lightning_cloud/openapi/models/agentmanagedendpoints_id_body.py +305 -0
  70. lightning_sdk/lightning_cloud/openapi/models/{assistants_id_body.py → agents_id_body.py} +201 -71
  71. lightning_sdk/lightning_cloud/openapi/models/app_id_works_body.py +149 -0
  72. lightning_sdk/lightning_cloud/openapi/models/approveautojoindomain_domain_body.py +123 -0
  73. lightning_sdk/lightning_cloud/openapi/models/apps_id_body1.py +107 -3
  74. lightning_sdk/lightning_cloud/openapi/models/assistant_id_conversations_body.py +1 -27
  75. lightning_sdk/lightning_cloud/openapi/models/{v1_get_cluster_health_response.py → captures_id_body.py} +16 -16
  76. lightning_sdk/lightning_cloud/openapi/models/cloud_space_id_versionpublications_body1.py +27 -1
  77. lightning_sdk/lightning_cloud/openapi/models/cloudspace_id_runs_body.py +27 -1
  78. lightning_sdk/lightning_cloud/openapi/models/cloudspaces_id_body.py +58 -6
  79. lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityblock_body.py +253 -0
  80. lightning_sdk/lightning_cloud/openapi/models/cluster_id_capacityreservations_body.py +55 -3
  81. lightning_sdk/lightning_cloud/openapi/models/cluster_id_proxies_body.py +123 -0
  82. lightning_sdk/lightning_cloud/openapi/models/create.py +157 -1
  83. lightning_sdk/lightning_cloud/openapi/models/create_deployment_request_defines_a_spec_for_the_job_that_allows_for_autoscaling_jobs.py +383 -0
  84. lightning_sdk/lightning_cloud/openapi/models/deployments_id_body.py +565 -0
  85. lightning_sdk/lightning_cloud/openapi/models/deploymenttemplates_id_body.py +513 -0
  86. lightning_sdk/lightning_cloud/openapi/models/endpoints_id_body.py +43 -17
  87. lightning_sdk/lightning_cloud/openapi/models/experiment_name_variant_name_body.py +123 -0
  88. lightning_sdk/lightning_cloud/openapi/models/externalv1_cloud_space_instance_status.py +107 -1
  89. lightning_sdk/lightning_cloud/openapi/models/externalv1_lightningapp_instance.py +27 -1
  90. lightning_sdk/lightning_cloud/openapi/models/externalv1_user_status.py +27 -1
  91. lightning_sdk/lightning_cloud/openapi/models/fileendpoints_id_body.py +79 -1
  92. lightning_sdk/lightning_cloud/openapi/models/id_codeconfig_body.py +29 -55
  93. lightning_sdk/lightning_cloud/openapi/models/id_engage_body.py +3 -29
  94. lightning_sdk/lightning_cloud/openapi/models/id_engage_body1.py +149 -0
  95. lightning_sdk/lightning_cloud/openapi/models/id_execute_body.py +3 -55
  96. lightning_sdk/lightning_cloud/openapi/models/id_execute_body1.py +175 -0
  97. lightning_sdk/lightning_cloud/openapi/models/id_get_body.py +133 -3
  98. lightning_sdk/lightning_cloud/openapi/models/id_index_body.py +67 -15
  99. lightning_sdk/lightning_cloud/openapi/models/id_index_body2.py +123 -0
  100. lightning_sdk/lightning_cloud/openapi/models/id_index_body3.py +175 -0
  101. lightning_sdk/lightning_cloud/openapi/models/id_reportlogsactivity_body.py +123 -0
  102. lightning_sdk/lightning_cloud/openapi/models/id_start_body.py +29 -3
  103. lightning_sdk/lightning_cloud/openapi/models/id_storage_body.py +52 -26
  104. lightning_sdk/lightning_cloud/openapi/models/id_visibility_body.py +123 -0
  105. lightning_sdk/lightning_cloud/openapi/models/jobs_id_body1.py +27 -1
  106. lightning_sdk/lightning_cloud/openapi/models/jobs_id_body2.py +17 -43
  107. lightning_sdk/lightning_cloud/openapi/models/jobs_id_body3.py +149 -0
  108. lightning_sdk/lightning_cloud/openapi/models/litloggermetrics_id_body.py +175 -0
  109. lightning_sdk/lightning_cloud/openapi/models/litpages_id_body.py +27 -1
  110. lightning_sdk/lightning_cloud/openapi/models/loggermetrics_id_body.py +123 -0
  111. lightning_sdk/lightning_cloud/openapi/models/metrics_stream_id_loggerartifacts_body.py +123 -0
  112. lightning_sdk/lightning_cloud/openapi/models/metricsstream_create_body.py +383 -0
  113. lightning_sdk/lightning_cloud/openapi/models/{v1_cloud_space_id_list.py → metricsstream_delete_body.py} +10 -10
  114. lightning_sdk/lightning_cloud/openapi/models/metricsstream_id_body.py +175 -0
  115. lightning_sdk/lightning_cloud/openapi/models/{v1_upload_model_response.py → model_id_versions_body.py} +25 -51
  116. lightning_sdk/lightning_cloud/openapi/models/model_id_visibility_body.py +123 -0
  117. lightning_sdk/lightning_cloud/openapi/models/models_model_id_body.py +149 -0
  118. lightning_sdk/lightning_cloud/openapi/models/multimachinejobs_id_body.py +123 -0
  119. lightning_sdk/lightning_cloud/openapi/models/org_id_memberships_body.py +27 -1
  120. lightning_sdk/lightning_cloud/openapi/models/orgs_id_body.py +183 -1
  121. lightning_sdk/lightning_cloud/openapi/models/profiler_captures_body.py +279 -0
  122. lightning_sdk/lightning_cloud/openapi/models/profiler_enabled_body.py +149 -0
  123. lightning_sdk/lightning_cloud/openapi/models/project_id_agentmanagedendpoints_body.py +149 -0
  124. lightning_sdk/lightning_cloud/openapi/models/{project_id_assistants_body.py → project_id_agents_body.py} +159 -55
  125. lightning_sdk/lightning_cloud/openapi/models/project_id_cloudspaces_body.py +71 -19
  126. lightning_sdk/lightning_cloud/openapi/models/project_id_fileendpoints_body.py +27 -1
  127. lightning_sdk/lightning_cloud/openapi/models/project_id_jobs_body.py +175 -0
  128. lightning_sdk/lightning_cloud/openapi/models/project_id_litregistry_body.py +123 -0
  129. lightning_sdk/lightning_cloud/openapi/models/project_id_memberships_body.py +53 -1
  130. lightning_sdk/lightning_cloud/openapi/models/{v1_upload_model_request.py → project_id_models_body.py} +70 -70
  131. lightning_sdk/lightning_cloud/openapi/models/project_id_multimachinejobs_body.py +227 -0
  132. lightning_sdk/lightning_cloud/openapi/models/project_id_secrets_body.py +27 -1
  133. lightning_sdk/lightning_cloud/openapi/models/project_id_snowflake_body.py +123 -0
  134. lightning_sdk/lightning_cloud/openapi/models/projects_id_body.py +29 -3
  135. lightning_sdk/lightning_cloud/openapi/models/query_query_id_body.py +175 -0
  136. lightning_sdk/lightning_cloud/openapi/models/secrets_id_body1.py +123 -0
  137. lightning_sdk/lightning_cloud/openapi/models/servers_server_id_body.py +123 -0
  138. lightning_sdk/lightning_cloud/openapi/models/service_artifact_artifact_kind.py +104 -0
  139. lightning_sdk/lightning_cloud/openapi/models/serviceexecution_id_body.py +43 -43
  140. lightning_sdk/lightning_cloud/openapi/models/slurm_jobs_body.py +79 -1
  141. lightning_sdk/lightning_cloud/openapi/models/snowflake_export_body.py +305 -0
  142. lightning_sdk/lightning_cloud/openapi/models/{v1_download_model_response.py → snowflake_query_body.py} +51 -51
  143. lightning_sdk/lightning_cloud/openapi/models/storage_complete_body.py +27 -1
  144. lightning_sdk/lightning_cloud/openapi/models/update.py +105 -1
  145. lightning_sdk/lightning_cloud/openapi/models/upload_id_complete_body.py +149 -0
  146. lightning_sdk/lightning_cloud/openapi/models/upload_id_parts_body.py +149 -0
  147. lightning_sdk/lightning_cloud/openapi/models/user_id_affiliatelinks_body.py +149 -0
  148. lightning_sdk/lightning_cloud/openapi/models/v1_accelerator_quota_info.py +201 -0
  149. lightning_sdk/lightning_cloud/openapi/models/v1_ack_user_storage_violation_response.py +97 -0
  150. lightning_sdk/lightning_cloud/openapi/models/v1_add_job_timing_response.py +97 -0
  151. lightning_sdk/lightning_cloud/openapi/models/v1_affiliate_link.py +435 -0
  152. lightning_sdk/lightning_cloud/openapi/models/v1_agent_job.py +131 -1
  153. lightning_sdk/lightning_cloud/openapi/models/v1_api_pricing_spec.py +149 -0
  154. lightning_sdk/lightning_cloud/openapi/models/v1_app_type.py +104 -0
  155. lightning_sdk/lightning_cloud/openapi/models/v1_append_logger_metrics_response.py +97 -0
  156. lightning_sdk/lightning_cloud/openapi/models/v1_approve_auto_join_domain_response.py +123 -0
  157. lightning_sdk/lightning_cloud/openapi/models/v1_assign_variant_response.py +97 -0
  158. lightning_sdk/lightning_cloud/openapi/models/v1_assistant.py +131 -1
  159. lightning_sdk/lightning_cloud/openapi/models/v1_assistant_knowledge_item_status.py +253 -0
  160. lightning_sdk/lightning_cloud/openapi/models/v1_assistant_knowledge_status.py +123 -0
  161. lightning_sdk/lightning_cloud/openapi/models/v1_assistant_model_status.py +104 -0
  162. lightning_sdk/lightning_cloud/openapi/models/v1_auto_join_domain_validation.py +175 -0
  163. lightning_sdk/lightning_cloud/openapi/models/v1_auto_join_org_response.py +149 -0
  164. lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_spec.py +305 -0
  165. lightning_sdk/lightning_cloud/openapi/models/v1_autoscaling_target_metric.py +149 -0
  166. lightning_sdk/lightning_cloud/openapi/models/v1_aws_direct_v1.py +133 -3
  167. lightning_sdk/lightning_cloud/openapi/models/v1_batch_update_lightningwork_response.py +97 -0
  168. lightning_sdk/lightning_cloud/openapi/models/v1_body.py +123 -0
  169. lightning_sdk/lightning_cloud/openapi/models/v1_cancellation_metadata.py +149 -0
  170. lightning_sdk/lightning_cloud/openapi/models/v1_capacity_block_offering.py +383 -0
  171. lightning_sdk/lightning_cloud/openapi/models/v1_check_snowflake_connection_response.py +123 -0
  172. lightning_sdk/lightning_cloud/openapi/models/v1_checkbox.py +201 -0
  173. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space.py +136 -6
  174. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_code_version.py +27 -1
  175. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_config.py +1 -53
  176. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_instance_startup_status.py +79 -1
  177. lightning_sdk/lightning_cloud/openapi/models/{v1_cluster_log_service.py → v1_cloud_space_session.py} +49 -49
  178. lightning_sdk/lightning_cloud/openapi/models/v1_cloud_space_version.py +53 -1
  179. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_accelerator.py +445 -3
  180. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_capacity_reservation.py +55 -3
  181. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_names.py +123 -0
  182. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_proxy.py +201 -0
  183. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_resource_tag.py +149 -0
  184. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_security_options.py +357 -0
  185. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_spec.py +157 -107
  186. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_state.py +1 -0
  187. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_status.py +17 -43
  188. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_tagging_options.py +175 -0
  189. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_type.py +0 -1
  190. lightning_sdk/lightning_cloud/openapi/models/v1_command_argument.py +79 -1
  191. lightning_sdk/lightning_cloud/openapi/models/v1_complete_model_upload_response.py +97 -0
  192. lightning_sdk/lightning_cloud/openapi/models/v1_complete_multi_part_upload_response.py +97 -0
  193. lightning_sdk/lightning_cloud/openapi/models/v1_completed_part.py +149 -0
  194. lightning_sdk/lightning_cloud/openapi/models/v1_conversation.py +15 -15
  195. lightning_sdk/lightning_cloud/openapi/models/v1_conversation_response_chunk.py +26 -26
  196. lightning_sdk/lightning_cloud/openapi/models/v1_count_metrics_streams_response.py +123 -0
  197. lightning_sdk/lightning_cloud/openapi/models/v1_create_checkout_session_request.py +53 -1
  198. lightning_sdk/lightning_cloud/openapi/models/v1_create_cluster_request.py +27 -1
  199. lightning_sdk/lightning_cloud/openapi/models/v1_create_deployment_template_request.py +539 -0
  200. lightning_sdk/lightning_cloud/openapi/models/v1_create_multi_part_upload_response.py +123 -0
  201. lightning_sdk/lightning_cloud/openapi/models/v1_create_organization_request.py +159 -3
  202. lightning_sdk/lightning_cloud/openapi/models/v1_create_project_request.py +27 -1
  203. lightning_sdk/lightning_cloud/openapi/models/v1_create_shared_metrics_stream_request.py +201 -0
  204. lightning_sdk/lightning_cloud/openapi/models/v1_create_shared_metrics_stream_response.py +123 -0
  205. lightning_sdk/lightning_cloud/openapi/models/v1_create_snowflake_connection_response.py +123 -0
  206. lightning_sdk/lightning_cloud/openapi/models/v1_create_user_secret_request.py +149 -0
  207. lightning_sdk/lightning_cloud/openapi/models/v1_data_connection.py +365 -1
  208. lightning_sdk/lightning_cloud/openapi/models/{v1_cluster_performance_profile.py → v1_data_connection_state.py} +11 -9
  209. lightning_sdk/lightning_cloud/openapi/models/v1_data_path.py +201 -0
  210. lightning_sdk/lightning_cloud/openapi/models/v1_delete_affiliate_link_response.py +97 -0
  211. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cloud_space_session_response.py +97 -0
  212. lightning_sdk/lightning_cloud/openapi/models/v1_delete_cluster_proxy_response.py +97 -0
  213. lightning_sdk/lightning_cloud/openapi/models/v1_delete_container_response.py +97 -0
  214. lightning_sdk/lightning_cloud/openapi/models/v1_delete_deployment_release_response.py +97 -0
  215. lightning_sdk/lightning_cloud/openapi/models/{v1_azure_cluster_driver_status.py → v1_delete_deployment_response.py} +6 -6
  216. lightning_sdk/lightning_cloud/openapi/models/v1_delete_index_response.py +97 -0
  217. lightning_sdk/lightning_cloud/openapi/models/{v1_byom_cluster_driver.py → v1_delete_job_response.py} +6 -6
  218. lightning_sdk/lightning_cloud/openapi/models/{v1_delete_lightningapp_v2_response.py → v1_delete_logger_artifact_response.py} +6 -6
  219. lightning_sdk/lightning_cloud/openapi/models/v1_delete_managed_endpoint_response.py +97 -0
  220. lightning_sdk/lightning_cloud/openapi/models/v1_delete_metrics_stream_response.py +97 -0
  221. lightning_sdk/lightning_cloud/openapi/models/v1_delete_multi_machine_job_response.py +97 -0
  222. lightning_sdk/lightning_cloud/openapi/models/v1_delete_profiler_capture_response.py +97 -0
  223. lightning_sdk/lightning_cloud/openapi/models/{v1_delete_lightningapp_release_response.py → v1_delete_shared_metrics_stream_response.py} +6 -6
  224. lightning_sdk/lightning_cloud/openapi/models/v1_deployment.py +617 -0
  225. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_api.py +253 -0
  226. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event.py +357 -0
  227. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_event_type.py +104 -0
  228. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_metrics.py +149 -0
  229. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_performance.py +305 -0
  230. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_release.py +331 -0
  231. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_spec.py +201 -0
  232. lightning_sdk/lightning_cloud/openapi/models/{get_cluster_health_response_health_status.py → v1_deployment_state.py} +11 -9
  233. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_status.py +279 -0
  234. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_strategy.py +149 -0
  235. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template.py +721 -0
  236. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_engagement_response.py +97 -0
  237. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_gallery_response.py +591 -0
  238. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter.py +435 -0
  239. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_placement.py +106 -0
  240. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_parameter_type.py +106 -0
  241. lightning_sdk/lightning_cloud/openapi/models/v1_deployment_template_summary.py +591 -0
  242. lightning_sdk/lightning_cloud/openapi/models/{instance_type_availability.py → v1_deployment_template_type.py} +10 -10
  243. lightning_sdk/lightning_cloud/openapi/models/{v1_get_lightningapp_source_code_download_url_response.py → v1_download_job_logs_response.py} +10 -10
  244. lightning_sdk/lightning_cloud/openapi/models/v1_download_service_execution_artifact_response.py +175 -0
  245. lightning_sdk/lightning_cloud/openapi/models/v1_ebs.py +279 -0
  246. lightning_sdk/lightning_cloud/openapi/models/v1_efs_config.py +201 -0
  247. lightning_sdk/lightning_cloud/openapi/models/v1_endpoint.py +53 -27
  248. lightning_sdk/lightning_cloud/openapi/models/v1_endpoint_auth.py +27 -1
  249. lightning_sdk/lightning_cloud/openapi/models/v1_endpoint_type.py +104 -0
  250. lightning_sdk/lightning_cloud/openapi/models/v1_execute_cloud_space_command_response.py +29 -3
  251. lightning_sdk/lightning_cloud/openapi/models/v1_execute_in_cloud_space_session_response.py +97 -0
  252. lightning_sdk/lightning_cloud/openapi/models/v1_execute_snowflake_query_response.py +149 -0
  253. lightning_sdk/lightning_cloud/openapi/models/v1_experiment.py +409 -0
  254. lightning_sdk/lightning_cloud/openapi/models/v1_export_snowflake_query_response.py +123 -0
  255. lightning_sdk/lightning_cloud/openapi/models/v1_file_endpoint.py +79 -1
  256. lightning_sdk/lightning_cloud/openapi/models/{v1_instance_spec.py → v1_filesystem_app.py} +85 -59
  257. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_cloud_space.py +149 -0
  258. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_dataset.py +123 -0
  259. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_job.py +175 -0
  260. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_slurm_job.py +149 -0
  261. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_snowflake_connection.py +123 -0
  262. lightning_sdk/lightning_cloud/openapi/models/v1_filesystem_work.py +149 -0
  263. lightning_sdk/lightning_cloud/openapi/models/v1_find_capacity_block_offering_response.py +123 -0
  264. lightning_sdk/lightning_cloud/openapi/models/v1_gcp_data_connection.py +27 -1
  265. lightning_sdk/lightning_cloud/openapi/models/v1_gcs_folder_data_connection.py +123 -0
  266. lightning_sdk/lightning_cloud/openapi/models/v1_get_affiliate_link_response.py +123 -0
  267. lightning_sdk/lightning_cloud/openapi/models/{v1_list_cluster_instance_types_response.py → v1_get_deployment_routing_telemetry_aggregated_response.py} +23 -23
  268. lightning_sdk/lightning_cloud/openapi/models/v1_get_deployment_routing_telemetry_response.py +123 -0
  269. lightning_sdk/lightning_cloud/openapi/models/v1_get_folder_index_response.py +27 -1
  270. lightning_sdk/lightning_cloud/openapi/models/{v1_cluster_driver_status.py → v1_get_job_stats_response.py} +39 -39
  271. lightning_sdk/lightning_cloud/openapi/models/v1_get_job_system_metrics_response.py +123 -0
  272. lightning_sdk/lightning_cloud/openapi/models/v1_get_lightningapp_instance_open_ports_response.py +123 -0
  273. lightning_sdk/lightning_cloud/openapi/models/v1_get_logger_metrics_response.py +123 -0
  274. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_file_upload_urls_response.py +123 -0
  275. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_file_url_response.py +175 -0
  276. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_response.py +279 -0
  277. lightning_sdk/lightning_cloud/openapi/models/v1_get_model_files_url_response.py +149 -0
  278. lightning_sdk/lightning_cloud/openapi/models/{v1_lightningwork_cluster_driver.py → v1_get_project_artifact_response.py} +33 -14
  279. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_balance_response.py +27 -1
  280. lightning_sdk/lightning_cloud/openapi/models/v1_get_project_storage_metadata_response.py +383 -0
  281. lightning_sdk/lightning_cloud/openapi/models/v1_get_service_execution_status_response.py +67 -15
  282. lightning_sdk/lightning_cloud/openapi/models/v1_get_snowflake_query_response.py +149 -0
  283. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_balance_response.py +27 -1
  284. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_response.py +105 -1
  285. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_breakdown_response.py +279 -0
  286. lightning_sdk/lightning_cloud/openapi/models/v1_get_user_storage_response.py +201 -0
  287. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1.py +137 -3
  288. lightning_sdk/lightning_cloud/openapi/models/v1_google_cloud_direct_v1_status.py +123 -0
  289. lightning_sdk/lightning_cloud/openapi/models/v1_header.py +175 -0
  290. lightning_sdk/lightning_cloud/openapi/models/{v1_external_kubeconfig.py → v1_health_check_exec.py} +21 -21
  291. lightning_sdk/lightning_cloud/openapi/models/v1_health_check_http_get.py +149 -0
  292. lightning_sdk/lightning_cloud/openapi/models/v1_ids_logger_metrics.py +123 -0
  293. lightning_sdk/lightning_cloud/openapi/models/v1_input.py +175 -0
  294. lightning_sdk/lightning_cloud/openapi/models/v1_interrupt_server_response.py +97 -0
  295. lightning_sdk/lightning_cloud/openapi/models/v1_job.py +723 -0
  296. lightning_sdk/lightning_cloud/openapi/models/v1_job_health_check_config.py +253 -0
  297. lightning_sdk/lightning_cloud/openapi/models/v1_job_log_entry.py +175 -0
  298. lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_page.py +227 -0
  299. lightning_sdk/lightning_cloud/openapi/models/v1_job_logs_response.py +149 -0
  300. lightning_sdk/lightning_cloud/openapi/models/v1_job_spec.py +669 -0
  301. lightning_sdk/lightning_cloud/openapi/models/v1_job_timing.py +201 -0
  302. lightning_sdk/lightning_cloud/openapi/models/v1_joinable_organization.py +331 -0
  303. lightning_sdk/lightning_cloud/openapi/models/v1_knowledge_configuration.py +279 -0
  304. lightning_sdk/lightning_cloud/openapi/models/v1_lambda_labs_direct_v1.py +125 -0
  305. lightning_sdk/lightning_cloud/openapi/models/v1_lightning_run.py +27 -1
  306. lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_spec.py +105 -27
  307. lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_instance_status.py +53 -1
  308. lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_spec.py +27 -27
  309. lightning_sdk/lightning_cloud/openapi/models/v1_lightningwork_status.py +81 -3
  310. lightning_sdk/lightning_cloud/openapi/models/v1_list_affiliate_links_response.py +123 -0
  311. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_python_versions_response.py +123 -0
  312. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_sessions_response.py +123 -0
  313. lightning_sdk/lightning_cloud/openapi/models/v1_list_cloud_space_tags_response.py +6 -6
  314. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_availabilities_response.py +123 -0
  315. lightning_sdk/lightning_cloud/openapi/models/v1_list_cluster_proxies_response.py +123 -0
  316. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_events_response.py +123 -0
  317. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_releases_response.py +123 -0
  318. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_tags_response.py +123 -0
  319. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployment_templates_response.py +175 -0
  320. lightning_sdk/lightning_cloud/openapi/models/v1_list_deployments_response.py +123 -0
  321. lightning_sdk/lightning_cloud/openapi/models/v1_list_experiments_response.py +149 -0
  322. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_apps_response.py +123 -0
  323. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_cloud_spaces_response.py +123 -0
  324. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_datasets_response.py +123 -0
  325. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_jobs_response.py +123 -0
  326. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_slurm_jobs_response.py +123 -0
  327. lightning_sdk/lightning_cloud/openapi/models/v1_list_filesystem_snowflake_response.py +123 -0
  328. lightning_sdk/lightning_cloud/openapi/models/{v1_list_lightningapps_v2_response.py → v1_list_jobs_response.py} +31 -31
  329. lightning_sdk/lightning_cloud/openapi/models/v1_list_joinable_organizations_response.py +123 -0
  330. lightning_sdk/lightning_cloud/openapi/models/v1_list_logger_artifact_response.py +123 -0
  331. lightning_sdk/lightning_cloud/openapi/models/v1_list_metrics_streams_response.py +123 -0
  332. lightning_sdk/lightning_cloud/openapi/models/v1_list_multi_machine_job_events_response.py +123 -0
  333. lightning_sdk/lightning_cloud/openapi/models/v1_list_multi_machine_jobs_response.py +123 -0
  334. lightning_sdk/lightning_cloud/openapi/models/v1_list_new_features_for_user_response.py +123 -0
  335. lightning_sdk/lightning_cloud/openapi/models/v1_list_profiler_captures_response.py +123 -0
  336. lightning_sdk/lightning_cloud/openapi/models/v1_list_project_locked_resources_response.py +123 -0
  337. lightning_sdk/lightning_cloud/openapi/models/v1_list_published_cloud_spaces_response.py +3 -29
  338. lightning_sdk/lightning_cloud/openapi/models/v1_list_published_deployment_templates_response.py +175 -0
  339. lightning_sdk/lightning_cloud/openapi/models/v1_list_service_execution_lightningapp_instances_response.py +175 -0
  340. lightning_sdk/lightning_cloud/openapi/models/v1_lit_page.py +27 -1
  341. lightning_sdk/lightning_cloud/openapi/models/v1_lit_registry_project.py +227 -0
  342. lightning_sdk/lightning_cloud/openapi/models/v1_lit_repository.py +279 -0
  343. lightning_sdk/lightning_cloud/openapi/models/v1_locked_resource.py +227 -0
  344. lightning_sdk/lightning_cloud/openapi/models/v1_logger_artifact.py +227 -0
  345. lightning_sdk/lightning_cloud/openapi/models/v1_machines_selector.py +149 -0
  346. lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_request.py +81 -3
  347. lightning_sdk/lightning_cloud/openapi/models/v1_magic_link_login_response.py +53 -1
  348. lightning_sdk/lightning_cloud/openapi/models/v1_managed_endpoint.py +175 -19
  349. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model.py +305 -0
  350. lightning_sdk/lightning_cloud/openapi/models/v1_managed_model_abilities.py +175 -0
  351. lightning_sdk/lightning_cloud/openapi/models/v1_membership.py +79 -1
  352. lightning_sdk/lightning_cloud/openapi/models/v1_message.py +138 -8
  353. lightning_sdk/lightning_cloud/openapi/models/v1_message_content.py +6 -6
  354. lightning_sdk/lightning_cloud/openapi/models/v1_message_content_type.py +103 -0
  355. lightning_sdk/lightning_cloud/openapi/models/v1_metadata.py +131 -1
  356. lightning_sdk/lightning_cloud/openapi/models/v1_metric_value.py +175 -0
  357. lightning_sdk/lightning_cloud/openapi/models/v1_metrics.py +175 -0
  358. lightning_sdk/lightning_cloud/openapi/models/v1_metrics_stream.py +799 -0
  359. lightning_sdk/lightning_cloud/openapi/models/v1_metrics_tags.py +201 -0
  360. lightning_sdk/lightning_cloud/openapi/models/v1_metrics_tracker.py +383 -0
  361. lightning_sdk/lightning_cloud/openapi/models/v1_model.py +95 -17
  362. lightning_sdk/lightning_cloud/openapi/models/v1_model_file.py +175 -0
  363. lightning_sdk/lightning_cloud/openapi/models/v1_model_version_archive.py +131 -1
  364. lightning_sdk/lightning_cloud/openapi/models/v1_mount_target.py +201 -0
  365. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job.py +487 -0
  366. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_event.py +331 -0
  367. lightning_sdk/lightning_cloud/openapi/models/{v1_lightningapp_cluster_driver.py → v1_multi_machine_job_event_type.py} +9 -9
  368. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_fault_tolerance.py +149 -0
  369. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_fault_tolerance_strategy.py +105 -0
  370. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_state.py +108 -0
  371. lightning_sdk/lightning_cloud/openapi/models/v1_multi_machine_job_status.py +305 -0
  372. lightning_sdk/lightning_cloud/openapi/models/v1_named_get_logger_metrics.py +123 -0
  373. lightning_sdk/lightning_cloud/openapi/models/v1_new_feature.py +383 -0
  374. lightning_sdk/lightning_cloud/openapi/models/v1_onboarding_event_request.py +175 -0
  375. lightning_sdk/lightning_cloud/openapi/models/v1_onboarding_event_response.py +97 -0
  376. lightning_sdk/lightning_cloud/openapi/models/v1_organization.py +209 -1
  377. lightning_sdk/lightning_cloud/openapi/models/v1_parameterization_spec.py +227 -0
  378. lightning_sdk/lightning_cloud/openapi/models/v1_path_telemetry.py +123 -0
  379. lightning_sdk/lightning_cloud/openapi/models/v1_phase_type.py +104 -0
  380. lightning_sdk/lightning_cloud/openapi/models/v1_profiler_capture.py +357 -0
  381. lightning_sdk/lightning_cloud/openapi/models/v1_profiler_enabled_response.py +123 -0
  382. lightning_sdk/lightning_cloud/openapi/models/v1_project.py +131 -1
  383. lightning_sdk/lightning_cloud/openapi/models/v1_project_membership.py +263 -3
  384. lightning_sdk/lightning_cloud/openapi/models/v1_project_settings.py +29 -3
  385. lightning_sdk/lightning_cloud/openapi/models/v1_project_storage.py +279 -0
  386. lightning_sdk/lightning_cloud/openapi/models/v1_published_cloud_space_response.py +188 -6
  387. lightning_sdk/lightning_cloud/openapi/models/v1_purchase_capacity_block_response.py +175 -0
  388. lightning_sdk/lightning_cloud/openapi/models/v1_query_param.py +175 -0
  389. lightning_sdk/lightning_cloud/openapi/models/v1_query_result.py +123 -0
  390. lightning_sdk/lightning_cloud/openapi/models/v1_query_result_row.py +123 -0
  391. lightning_sdk/lightning_cloud/openapi/models/v1_refresh_path_response.py +97 -0
  392. lightning_sdk/lightning_cloud/openapi/models/v1_regional_load_balancer.py +149 -0
  393. lightning_sdk/lightning_cloud/openapi/models/v1_report_logs_activity_response.py +97 -0
  394. lightning_sdk/lightning_cloud/openapi/models/v1_request_cluster_access_request.py +175 -0
  395. lightning_sdk/lightning_cloud/openapi/models/v1_request_cluster_access_response.py +97 -0
  396. lightning_sdk/lightning_cloud/openapi/models/{v1_cloud_space_tag.py → v1_resource_tag.py} +18 -18
  397. lightning_sdk/lightning_cloud/openapi/models/{appsv2_id_body.py → v1_resource_visibility.py} +37 -37
  398. lightning_sdk/lightning_cloud/openapi/models/v1_resources.py +37 -11
  399. lightning_sdk/lightning_cloud/openapi/models/v1_restore_deployment_release_response.py +97 -0
  400. lightning_sdk/lightning_cloud/openapi/models/v1_rolling_update_strategy.py +149 -0
  401. lightning_sdk/lightning_cloud/openapi/models/v1_rule_condition.py +29 -3
  402. lightning_sdk/lightning_cloud/openapi/models/v1_rule_resource.py +11 -0
  403. lightning_sdk/lightning_cloud/openapi/models/v1_s3_folder_data_connection.py +123 -0
  404. lightning_sdk/lightning_cloud/openapi/models/v1_search_job_logs_response.py +149 -0
  405. lightning_sdk/lightning_cloud/openapi/models/v1_secret.py +107 -3
  406. lightning_sdk/lightning_cloud/openapi/models/v1_secret_type.py +105 -0
  407. lightning_sdk/lightning_cloud/openapi/models/v1_select.py +149 -0
  408. lightning_sdk/lightning_cloud/openapi/models/v1_server_check_in_response.py +97 -0
  409. lightning_sdk/lightning_cloud/openapi/models/v1_service_artifact.py +201 -0
  410. lightning_sdk/lightning_cloud/openapi/models/v1_service_execution.py +43 -43
  411. lightning_sdk/lightning_cloud/openapi/models/v1_should_start_syncing_response.py +123 -0
  412. lightning_sdk/lightning_cloud/openapi/models/v1_signed_url.py +149 -0
  413. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_job.py +131 -1
  414. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_node.py +53 -1
  415. lightning_sdk/lightning_cloud/openapi/models/v1_slurm_v1.py +27 -1
  416. lightning_sdk/lightning_cloud/openapi/models/v1_snowflake_data_connection.py +253 -0
  417. lightning_sdk/lightning_cloud/openapi/models/v1_status_code_telemetry.py +123 -0
  418. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset.py +253 -0
  419. lightning_sdk/lightning_cloud/openapi/models/v1_storage_asset_type.py +105 -0
  420. lightning_sdk/lightning_cloud/openapi/models/v1_studio_job_app.py +1 -0
  421. lightning_sdk/lightning_cloud/openapi/models/v1_system_info.py +617 -0
  422. lightning_sdk/lightning_cloud/openapi/models/v1_telemetry.py +331 -0
  423. lightning_sdk/lightning_cloud/openapi/models/v1_timestamp_code_telemetry.py +123 -0
  424. lightning_sdk/lightning_cloud/openapi/models/v1_transaction.py +27 -1
  425. lightning_sdk/lightning_cloud/openapi/models/v1_transfer_user_balance_request.py +27 -1
  426. lightning_sdk/lightning_cloud/openapi/models/v1_update_billing_subscription_request.py +27 -1
  427. lightning_sdk/lightning_cloud/openapi/models/v1_update_cluster_accelerators_request.py +149 -0
  428. lightning_sdk/lightning_cloud/openapi/models/v1_update_index_response.py +97 -0
  429. lightning_sdk/lightning_cloud/openapi/models/v1_update_metrics_stream_visibility_response.py +97 -0
  430. lightning_sdk/lightning_cloud/openapi/models/v1_update_model_visibility_response.py +97 -0
  431. lightning_sdk/lightning_cloud/openapi/models/v1_update_shared_metrics_stream_response.py +97 -0
  432. lightning_sdk/lightning_cloud/openapi/models/v1_update_snowflake_query_response.py +97 -0
  433. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_request.py +53 -1
  434. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_viewed_new_features_request.py +123 -0
  435. lightning_sdk/lightning_cloud/openapi/models/v1_update_user_viewed_new_features_response.py +97 -0
  436. lightning_sdk/lightning_cloud/openapi/models/v1_upstream_cloud_space.py +97 -19
  437. lightning_sdk/lightning_cloud/openapi/models/v1_upstream_job.py +227 -0
  438. lightning_sdk/lightning_cloud/openapi/models/v1_usage.py +27 -1
  439. lightning_sdk/lightning_cloud/openapi/models/v1_usage_details.py +107 -3
  440. lightning_sdk/lightning_cloud/openapi/models/v1_user_features.py +1032 -330
  441. lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_compute_config.py +45 -45
  442. lightning_sdk/lightning_cloud/openapi/models/v1_user_requested_flow_compute_config.py +29 -29
  443. lightning_sdk/lightning_cloud/openapi/models/v1_validate_assistant_status_response.py +149 -0
  444. lightning_sdk/lightning_cloud/openapi/models/v1_validate_auto_join_domain_response.py +97 -0
  445. lightning_sdk/lightning_cloud/openapi/models/v1_validate_data_connection_response.py +107 -3
  446. lightning_sdk/lightning_cloud/openapi/models/v1_validate_deployment_image_request.py +149 -0
  447. lightning_sdk/lightning_cloud/openapi/models/v1_validate_deployment_image_response.py +97 -0
  448. lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_request.py +175 -0
  449. lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_endpoint_response.py +123 -0
  450. lightning_sdk/lightning_cloud/openapi/models/v1_validate_managed_model_response.py +123 -0
  451. lightning_sdk/lightning_cloud/openapi/models/v1_volume.py +175 -0
  452. lightning_sdk/lightning_cloud/openapi/models/v1_vultr_direct_v1.py +125 -0
  453. lightning_sdk/lightning_cloud/openapi/models/validate.py +97 -19
  454. lightning_sdk/lightning_cloud/openapi/models/validateautojoindomain_domain_body.py +123 -0
  455. lightning_sdk/lightning_cloud/openapi/models/version_uploads_body.py +123 -0
  456. lightning_sdk/lightning_cloud/rest_client.py +47 -23
  457. lightning_sdk/lightning_cloud/source_code/logs_socket_api.py +1 -1
  458. lightning_sdk/lightning_cloud/source_code/tar.py +1 -3
  459. lightning_sdk/lightning_cloud/utils/data_connection.py +144 -7
  460. lightning_sdk/lit_registry.py +39 -0
  461. lightning_sdk/machine.py +21 -4
  462. lightning_sdk/mmt/__init__.py +4 -0
  463. lightning_sdk/mmt/base.py +326 -0
  464. lightning_sdk/mmt/mmt.py +306 -0
  465. lightning_sdk/mmt/v1.py +209 -0
  466. lightning_sdk/mmt/v2.py +221 -0
  467. lightning_sdk/models.py +153 -0
  468. lightning_sdk/organization.py +1 -1
  469. lightning_sdk/plugin.py +207 -41
  470. lightning_sdk/services/__init__.py +2 -1
  471. lightning_sdk/services/file_endpoint.py +116 -213
  472. lightning_sdk/services/finetune/__init__.py +13 -15
  473. lightning_sdk/services/utilities.py +99 -26
  474. lightning_sdk/status.py +11 -6
  475. lightning_sdk/studio.py +90 -17
  476. lightning_sdk/teamspace.py +240 -12
  477. lightning_sdk/user.py +1 -1
  478. lightning_sdk/utils/__init__.py +0 -0
  479. lightning_sdk/utils/dynamic.py +61 -0
  480. lightning_sdk/utils/enum.py +116 -0
  481. lightning_sdk/{utils.py → utils/resolve.py} +41 -4
  482. lightning_sdk-0.1.47.dist-info/LICENSE +21 -0
  483. {lightning_sdk-0.1.3.dist-info → lightning_sdk-0.1.47.dist-info}/METADATA +30 -4
  484. {lightning_sdk-0.1.3.dist-info → lightning_sdk-0.1.47.dist-info}/RECORD +487 -204
  485. {lightning_sdk-0.1.3.dist-info → lightning_sdk-0.1.47.dist-info}/WHEEL +1 -1
  486. lightning_sdk/lightning_cloud/openapi/models/app_id_releases_body.py +0 -541
  487. lightning_sdk/lightning_cloud/openapi/models/id_endpoint_body.py +0 -409
  488. lightning_sdk/lightning_cloud/openapi/models/id_get_body1.py +0 -333
  489. lightning_sdk/lightning_cloud/openapi/models/project_id_appsv2_body.py +0 -201
  490. lightning_sdk/lightning_cloud/openapi/models/v1_aws_cluster_driver_spec.py +0 -1039
  491. lightning_sdk/lightning_cloud/openapi/models/v1_aws_cluster_secondary_region_spec.py +0 -253
  492. lightning_sdk/lightning_cloud/openapi/models/v1_azure_cluster_driver_spec.py +0 -227
  493. lightning_sdk/lightning_cloud/openapi/models/v1_cluster_driver.py +0 -175
  494. lightning_sdk/lightning_cloud/openapi/models/v1_container_resources.py +0 -201
  495. lightning_sdk/lightning_cloud/openapi/models/v1_eks_custer_driver_status.py +0 -387
  496. lightning_sdk/lightning_cloud/openapi/models/v1_instance_type.py +0 -305
  497. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_cluster_driver.py +0 -359
  498. lightning_sdk/lightning_cloud/openapi/models/v1_kubernetes_cluster_status.py +0 -279
  499. lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_release.py +0 -697
  500. lightning_sdk/lightning_cloud/openapi/models/v1_lightningapp_v2.py +0 -331
  501. lightning_sdk/services/uploader.py +0 -123
  502. {lightning_sdk-0.1.3.dist-info → lightning_sdk-0.1.47.dist-info}/entry_points.txt +0 -0
  503. {lightning_sdk-0.1.3.dist-info → lightning_sdk-0.1.47.dist-info}/top_level.txt +0 -0
@@ -667,6 +667,107 @@ class CloudSpaceServiceApi(object):
667
667
  _request_timeout=params.get('_request_timeout'),
668
668
  collection_formats=collection_formats)
669
669
 
670
+ def cloud_space_service_create_cloud_space_session(self, project_id: 'str', cloudspace_id: 'str', **kwargs) -> 'V1CloudSpaceSession': # noqa: E501
671
+ """cloud_space_service_create_cloud_space_session # noqa: E501
672
+
673
+ This method makes a synchronous HTTP request by default. To make an
674
+ asynchronous HTTP request, please pass async_req=True
675
+ >>> thread = api.cloud_space_service_create_cloud_space_session(project_id, cloudspace_id, async_req=True)
676
+ >>> result = thread.get()
677
+
678
+ :param async_req bool
679
+ :param str project_id: (required)
680
+ :param str cloudspace_id: (required)
681
+ :return: V1CloudSpaceSession
682
+ If the method is called asynchronously,
683
+ returns the request thread.
684
+ """
685
+ kwargs['_return_http_data_only'] = True
686
+ if kwargs.get('async_req'):
687
+ return self.cloud_space_service_create_cloud_space_session_with_http_info(project_id, cloudspace_id, **kwargs) # noqa: E501
688
+ else:
689
+ (data) = self.cloud_space_service_create_cloud_space_session_with_http_info(project_id, cloudspace_id, **kwargs) # noqa: E501
690
+ return data
691
+
692
+ def cloud_space_service_create_cloud_space_session_with_http_info(self, project_id: 'str', cloudspace_id: 'str', **kwargs) -> 'V1CloudSpaceSession': # noqa: E501
693
+ """cloud_space_service_create_cloud_space_session # noqa: E501
694
+
695
+ This method makes a synchronous HTTP request by default. To make an
696
+ asynchronous HTTP request, please pass async_req=True
697
+ >>> thread = api.cloud_space_service_create_cloud_space_session_with_http_info(project_id, cloudspace_id, async_req=True)
698
+ >>> result = thread.get()
699
+
700
+ :param async_req bool
701
+ :param str project_id: (required)
702
+ :param str cloudspace_id: (required)
703
+ :return: V1CloudSpaceSession
704
+ If the method is called asynchronously,
705
+ returns the request thread.
706
+ """
707
+
708
+ all_params = ['project_id', 'cloudspace_id'] # noqa: E501
709
+ all_params.append('async_req')
710
+ all_params.append('_return_http_data_only')
711
+ all_params.append('_preload_content')
712
+ all_params.append('_request_timeout')
713
+
714
+ params = locals()
715
+ for key, val in six.iteritems(params['kwargs']):
716
+ if key not in all_params:
717
+ raise TypeError(
718
+ "Got an unexpected keyword argument '%s'"
719
+ " to method cloud_space_service_create_cloud_space_session" % key
720
+ )
721
+ params[key] = val
722
+ del params['kwargs']
723
+ # verify the required parameter 'project_id' is set
724
+ if ('project_id' not in params or
725
+ params['project_id'] is None):
726
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_create_cloud_space_session`") # noqa: E501
727
+ # verify the required parameter 'cloudspace_id' is set
728
+ if ('cloudspace_id' not in params or
729
+ params['cloudspace_id'] is None):
730
+ raise ValueError("Missing the required parameter `cloudspace_id` when calling `cloud_space_service_create_cloud_space_session`") # noqa: E501
731
+
732
+ collection_formats = {}
733
+
734
+ path_params = {}
735
+ if 'project_id' in params:
736
+ path_params['projectId'] = params['project_id'] # noqa: E501
737
+ if 'cloudspace_id' in params:
738
+ path_params['cloudspaceId'] = params['cloudspace_id'] # noqa: E501
739
+
740
+ query_params = []
741
+
742
+ header_params = {}
743
+
744
+ form_params = []
745
+ local_var_files = {}
746
+
747
+ body_params = None
748
+ # HTTP header `Accept`
749
+ header_params['Accept'] = self.api_client.select_header_accept(
750
+ ['application/json']) # noqa: E501
751
+
752
+ # Authentication setting
753
+ auth_settings = [] # noqa: E501
754
+
755
+ return self.api_client.call_api(
756
+ '/v1/projects/{projectId}/cloudspaces/{cloudspaceId}/sessions', 'POST',
757
+ path_params,
758
+ query_params,
759
+ header_params,
760
+ body=body_params,
761
+ post_params=form_params,
762
+ files=local_var_files,
763
+ response_type='V1CloudSpaceSession', # noqa: E501
764
+ auth_settings=auth_settings,
765
+ async_req=params.get('async_req'),
766
+ _return_http_data_only=params.get('_return_http_data_only'),
767
+ _preload_content=params.get('_preload_content', True),
768
+ _request_timeout=params.get('_request_timeout'),
769
+ collection_formats=collection_formats)
770
+
670
771
  def cloud_space_service_create_cloud_space_version(self, body: 'CloudSpaceIdVersionsBody', project_id: 'str', cloud_space_id: 'str', **kwargs) -> 'V1CloudSpaceVersion': # noqa: E501
671
772
  """cloud_space_service_create_cloud_space_version # noqa: E501
672
773
 
@@ -1006,7 +1107,7 @@ class CloudSpaceServiceApi(object):
1006
1107
  _request_timeout=params.get('_request_timeout'),
1007
1108
  collection_formats=collection_formats)
1008
1109
 
1009
- def cloud_space_service_create_lightning_run_instance(self, body: 'IdGetBody1', project_id: 'str', cloudspace_id: 'str', id: 'str', **kwargs) -> 'Externalv1LightningappInstance': # noqa: E501
1110
+ def cloud_space_service_create_lightning_run_instance(self, body: 'IdGetBody', project_id: 'str', cloudspace_id: 'str', id: 'str', **kwargs) -> 'Externalv1LightningappInstance': # noqa: E501
1010
1111
  """cloud_space_service_create_lightning_run_instance # noqa: E501
1011
1112
 
1012
1113
  This method makes a synchronous HTTP request by default. To make an
@@ -1015,7 +1116,7 @@ class CloudSpaceServiceApi(object):
1015
1116
  >>> result = thread.get()
1016
1117
 
1017
1118
  :param async_req bool
1018
- :param IdGetBody1 body: (required)
1119
+ :param IdGetBody body: (required)
1019
1120
  :param str project_id: (required)
1020
1121
  :param str cloudspace_id: (required)
1021
1122
  :param str id: (required)
@@ -1030,7 +1131,7 @@ class CloudSpaceServiceApi(object):
1030
1131
  (data) = self.cloud_space_service_create_lightning_run_instance_with_http_info(body, project_id, cloudspace_id, id, **kwargs) # noqa: E501
1031
1132
  return data
1032
1133
 
1033
- def cloud_space_service_create_lightning_run_instance_with_http_info(self, body: 'IdGetBody1', project_id: 'str', cloudspace_id: 'str', id: 'str', **kwargs) -> 'Externalv1LightningappInstance': # noqa: E501
1134
+ def cloud_space_service_create_lightning_run_instance_with_http_info(self, body: 'IdGetBody', project_id: 'str', cloudspace_id: 'str', id: 'str', **kwargs) -> 'Externalv1LightningappInstance': # noqa: E501
1034
1135
  """cloud_space_service_create_lightning_run_instance # noqa: E501
1035
1136
 
1036
1137
  This method makes a synchronous HTTP request by default. To make an
@@ -1039,7 +1140,7 @@ class CloudSpaceServiceApi(object):
1039
1140
  >>> result = thread.get()
1040
1141
 
1041
1142
  :param async_req bool
1042
- :param IdGetBody1 body: (required)
1143
+ :param IdGetBody body: (required)
1043
1144
  :param str project_id: (required)
1044
1145
  :param str cloudspace_id: (required)
1045
1146
  :param str id: (required)
@@ -1321,6 +1422,216 @@ class CloudSpaceServiceApi(object):
1321
1422
  _request_timeout=params.get('_request_timeout'),
1322
1423
  collection_formats=collection_formats)
1323
1424
 
1425
+ def cloud_space_service_delete_cloud_space_index(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteIndexResponse': # noqa: E501
1426
+ """cloud_space_service_delete_cloud_space_index # noqa: E501
1427
+
1428
+ This method makes a synchronous HTTP request by default. To make an
1429
+ asynchronous HTTP request, please pass async_req=True
1430
+ >>> thread = api.cloud_space_service_delete_cloud_space_index(project_id, id, async_req=True)
1431
+ >>> result = thread.get()
1432
+
1433
+ :param async_req bool
1434
+ :param str project_id: (required)
1435
+ :param str id: (required)
1436
+ :return: V1DeleteIndexResponse
1437
+ If the method is called asynchronously,
1438
+ returns the request thread.
1439
+ """
1440
+ kwargs['_return_http_data_only'] = True
1441
+ if kwargs.get('async_req'):
1442
+ return self.cloud_space_service_delete_cloud_space_index_with_http_info(project_id, id, **kwargs) # noqa: E501
1443
+ else:
1444
+ (data) = self.cloud_space_service_delete_cloud_space_index_with_http_info(project_id, id, **kwargs) # noqa: E501
1445
+ return data
1446
+
1447
+ def cloud_space_service_delete_cloud_space_index_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1DeleteIndexResponse': # noqa: E501
1448
+ """cloud_space_service_delete_cloud_space_index # noqa: E501
1449
+
1450
+ This method makes a synchronous HTTP request by default. To make an
1451
+ asynchronous HTTP request, please pass async_req=True
1452
+ >>> thread = api.cloud_space_service_delete_cloud_space_index_with_http_info(project_id, id, async_req=True)
1453
+ >>> result = thread.get()
1454
+
1455
+ :param async_req bool
1456
+ :param str project_id: (required)
1457
+ :param str id: (required)
1458
+ :return: V1DeleteIndexResponse
1459
+ If the method is called asynchronously,
1460
+ returns the request thread.
1461
+ """
1462
+
1463
+ all_params = ['project_id', 'id'] # noqa: E501
1464
+ all_params.append('async_req')
1465
+ all_params.append('_return_http_data_only')
1466
+ all_params.append('_preload_content')
1467
+ all_params.append('_request_timeout')
1468
+
1469
+ params = locals()
1470
+ for key, val in six.iteritems(params['kwargs']):
1471
+ if key not in all_params:
1472
+ raise TypeError(
1473
+ "Got an unexpected keyword argument '%s'"
1474
+ " to method cloud_space_service_delete_cloud_space_index" % key
1475
+ )
1476
+ params[key] = val
1477
+ del params['kwargs']
1478
+ # verify the required parameter 'project_id' is set
1479
+ if ('project_id' not in params or
1480
+ params['project_id'] is None):
1481
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_delete_cloud_space_index`") # noqa: E501
1482
+ # verify the required parameter 'id' is set
1483
+ if ('id' not in params or
1484
+ params['id'] is None):
1485
+ raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_delete_cloud_space_index`") # noqa: E501
1486
+
1487
+ collection_formats = {}
1488
+
1489
+ path_params = {}
1490
+ if 'project_id' in params:
1491
+ path_params['projectId'] = params['project_id'] # noqa: E501
1492
+ if 'id' in params:
1493
+ path_params['id'] = params['id'] # noqa: E501
1494
+
1495
+ query_params = []
1496
+
1497
+ header_params = {}
1498
+
1499
+ form_params = []
1500
+ local_var_files = {}
1501
+
1502
+ body_params = None
1503
+ # HTTP header `Accept`
1504
+ header_params['Accept'] = self.api_client.select_header_accept(
1505
+ ['application/json']) # noqa: E501
1506
+
1507
+ # Authentication setting
1508
+ auth_settings = [] # noqa: E501
1509
+
1510
+ return self.api_client.call_api(
1511
+ '/v1/projects/{projectId}/cloudspaces/{id}/index', 'DELETE',
1512
+ path_params,
1513
+ query_params,
1514
+ header_params,
1515
+ body=body_params,
1516
+ post_params=form_params,
1517
+ files=local_var_files,
1518
+ response_type='V1DeleteIndexResponse', # noqa: E501
1519
+ auth_settings=auth_settings,
1520
+ async_req=params.get('async_req'),
1521
+ _return_http_data_only=params.get('_return_http_data_only'),
1522
+ _preload_content=params.get('_preload_content', True),
1523
+ _request_timeout=params.get('_request_timeout'),
1524
+ collection_formats=collection_formats)
1525
+
1526
+ def cloud_space_service_delete_cloud_space_session(self, project_id: 'str', cloudspace_id: 'str', id: 'str', **kwargs) -> 'V1DeleteCloudSpaceSessionResponse': # noqa: E501
1527
+ """cloud_space_service_delete_cloud_space_session # noqa: E501
1528
+
1529
+ This method makes a synchronous HTTP request by default. To make an
1530
+ asynchronous HTTP request, please pass async_req=True
1531
+ >>> thread = api.cloud_space_service_delete_cloud_space_session(project_id, cloudspace_id, id, async_req=True)
1532
+ >>> result = thread.get()
1533
+
1534
+ :param async_req bool
1535
+ :param str project_id: (required)
1536
+ :param str cloudspace_id: (required)
1537
+ :param str id: (required)
1538
+ :return: V1DeleteCloudSpaceSessionResponse
1539
+ If the method is called asynchronously,
1540
+ returns the request thread.
1541
+ """
1542
+ kwargs['_return_http_data_only'] = True
1543
+ if kwargs.get('async_req'):
1544
+ return self.cloud_space_service_delete_cloud_space_session_with_http_info(project_id, cloudspace_id, id, **kwargs) # noqa: E501
1545
+ else:
1546
+ (data) = self.cloud_space_service_delete_cloud_space_session_with_http_info(project_id, cloudspace_id, id, **kwargs) # noqa: E501
1547
+ return data
1548
+
1549
+ def cloud_space_service_delete_cloud_space_session_with_http_info(self, project_id: 'str', cloudspace_id: 'str', id: 'str', **kwargs) -> 'V1DeleteCloudSpaceSessionResponse': # noqa: E501
1550
+ """cloud_space_service_delete_cloud_space_session # noqa: E501
1551
+
1552
+ This method makes a synchronous HTTP request by default. To make an
1553
+ asynchronous HTTP request, please pass async_req=True
1554
+ >>> thread = api.cloud_space_service_delete_cloud_space_session_with_http_info(project_id, cloudspace_id, id, async_req=True)
1555
+ >>> result = thread.get()
1556
+
1557
+ :param async_req bool
1558
+ :param str project_id: (required)
1559
+ :param str cloudspace_id: (required)
1560
+ :param str id: (required)
1561
+ :return: V1DeleteCloudSpaceSessionResponse
1562
+ If the method is called asynchronously,
1563
+ returns the request thread.
1564
+ """
1565
+
1566
+ all_params = ['project_id', 'cloudspace_id', 'id'] # noqa: E501
1567
+ all_params.append('async_req')
1568
+ all_params.append('_return_http_data_only')
1569
+ all_params.append('_preload_content')
1570
+ all_params.append('_request_timeout')
1571
+
1572
+ params = locals()
1573
+ for key, val in six.iteritems(params['kwargs']):
1574
+ if key not in all_params:
1575
+ raise TypeError(
1576
+ "Got an unexpected keyword argument '%s'"
1577
+ " to method cloud_space_service_delete_cloud_space_session" % key
1578
+ )
1579
+ params[key] = val
1580
+ del params['kwargs']
1581
+ # verify the required parameter 'project_id' is set
1582
+ if ('project_id' not in params or
1583
+ params['project_id'] is None):
1584
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_delete_cloud_space_session`") # noqa: E501
1585
+ # verify the required parameter 'cloudspace_id' is set
1586
+ if ('cloudspace_id' not in params or
1587
+ params['cloudspace_id'] is None):
1588
+ raise ValueError("Missing the required parameter `cloudspace_id` when calling `cloud_space_service_delete_cloud_space_session`") # noqa: E501
1589
+ # verify the required parameter 'id' is set
1590
+ if ('id' not in params or
1591
+ params['id'] is None):
1592
+ raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_delete_cloud_space_session`") # noqa: E501
1593
+
1594
+ collection_formats = {}
1595
+
1596
+ path_params = {}
1597
+ if 'project_id' in params:
1598
+ path_params['projectId'] = params['project_id'] # noqa: E501
1599
+ if 'cloudspace_id' in params:
1600
+ path_params['cloudspaceId'] = params['cloudspace_id'] # noqa: E501
1601
+ if 'id' in params:
1602
+ path_params['id'] = params['id'] # noqa: E501
1603
+
1604
+ query_params = []
1605
+
1606
+ header_params = {}
1607
+
1608
+ form_params = []
1609
+ local_var_files = {}
1610
+
1611
+ body_params = None
1612
+ # HTTP header `Accept`
1613
+ header_params['Accept'] = self.api_client.select_header_accept(
1614
+ ['application/json']) # noqa: E501
1615
+
1616
+ # Authentication setting
1617
+ auth_settings = [] # noqa: E501
1618
+
1619
+ return self.api_client.call_api(
1620
+ '/v1/projects/{projectId}/cloudspaces/{cloudspaceId}/sessions/{id}', 'DELETE',
1621
+ path_params,
1622
+ query_params,
1623
+ header_params,
1624
+ body=body_params,
1625
+ post_params=form_params,
1626
+ files=local_var_files,
1627
+ response_type='V1DeleteCloudSpaceSessionResponse', # noqa: E501
1628
+ auth_settings=auth_settings,
1629
+ async_req=params.get('async_req'),
1630
+ _return_http_data_only=params.get('_return_http_data_only'),
1631
+ _preload_content=params.get('_preload_content', True),
1632
+ _request_timeout=params.get('_request_timeout'),
1633
+ collection_formats=collection_formats)
1634
+
1324
1635
  def cloud_space_service_delete_cloud_space_version(self, project_id: 'str', cloud_space_id: 'str', id: 'str', **kwargs) -> 'V1DeleteCloudSpaceVersionResponse': # noqa: E501
1325
1636
  """cloud_space_service_delete_cloud_space_version # noqa: E501
1326
1637
 
@@ -1442,6 +1753,7 @@ class CloudSpaceServiceApi(object):
1442
1753
  :param str project_id: (required)
1443
1754
  :param str cloud_space_id: (required)
1444
1755
  :param str org_id:
1756
+ :param str cloud_space_version_id:
1445
1757
  :return: V1DeleteCloudSpaceVersionPublicationResponse
1446
1758
  If the method is called asynchronously,
1447
1759
  returns the request thread.
@@ -1465,12 +1777,13 @@ class CloudSpaceServiceApi(object):
1465
1777
  :param str project_id: (required)
1466
1778
  :param str cloud_space_id: (required)
1467
1779
  :param str org_id:
1780
+ :param str cloud_space_version_id:
1468
1781
  :return: V1DeleteCloudSpaceVersionPublicationResponse
1469
1782
  If the method is called asynchronously,
1470
1783
  returns the request thread.
1471
1784
  """
1472
1785
 
1473
- all_params = ['project_id', 'cloud_space_id', 'org_id'] # noqa: E501
1786
+ all_params = ['project_id', 'cloud_space_id', 'org_id', 'cloud_space_version_id'] # noqa: E501
1474
1787
  all_params.append('async_req')
1475
1788
  all_params.append('_return_http_data_only')
1476
1789
  all_params.append('_preload_content')
@@ -1505,6 +1818,8 @@ class CloudSpaceServiceApi(object):
1505
1818
  query_params = []
1506
1819
  if 'org_id' in params:
1507
1820
  query_params.append(('orgId', params['org_id'])) # noqa: E501
1821
+ if 'cloud_space_version_id' in params:
1822
+ query_params.append(('cloudSpaceVersionId', params['cloud_space_version_id'])) # noqa: E501
1508
1823
 
1509
1824
  header_params = {}
1510
1825
 
@@ -1644,7 +1959,7 @@ class CloudSpaceServiceApi(object):
1644
1959
  _request_timeout=params.get('_request_timeout'),
1645
1960
  collection_formats=collection_formats)
1646
1961
 
1647
- def cloud_space_service_engage_cloud_space(self, body: 'IdEngageBody', project_id: 'str', id: 'str', **kwargs) -> 'V1CloudSpaceEngagementResponse': # noqa: E501
1962
+ def cloud_space_service_engage_cloud_space(self, body: 'IdEngageBody1', project_id: 'str', id: 'str', **kwargs) -> 'V1CloudSpaceEngagementResponse': # noqa: E501
1648
1963
  """cloud_space_service_engage_cloud_space # noqa: E501
1649
1964
 
1650
1965
  This method makes a synchronous HTTP request by default. To make an
@@ -1653,7 +1968,7 @@ class CloudSpaceServiceApi(object):
1653
1968
  >>> result = thread.get()
1654
1969
 
1655
1970
  :param async_req bool
1656
- :param IdEngageBody body: (required)
1971
+ :param IdEngageBody1 body: (required)
1657
1972
  :param str project_id: (required)
1658
1973
  :param str id: (required)
1659
1974
  :return: V1CloudSpaceEngagementResponse
@@ -1667,7 +1982,7 @@ class CloudSpaceServiceApi(object):
1667
1982
  (data) = self.cloud_space_service_engage_cloud_space_with_http_info(body, project_id, id, **kwargs) # noqa: E501
1668
1983
  return data
1669
1984
 
1670
- def cloud_space_service_engage_cloud_space_with_http_info(self, body: 'IdEngageBody', project_id: 'str', id: 'str', **kwargs) -> 'V1CloudSpaceEngagementResponse': # noqa: E501
1985
+ def cloud_space_service_engage_cloud_space_with_http_info(self, body: 'IdEngageBody1', project_id: 'str', id: 'str', **kwargs) -> 'V1CloudSpaceEngagementResponse': # noqa: E501
1671
1986
  """cloud_space_service_engage_cloud_space # noqa: E501
1672
1987
 
1673
1988
  This method makes a synchronous HTTP request by default. To make an
@@ -1676,7 +1991,7 @@ class CloudSpaceServiceApi(object):
1676
1991
  >>> result = thread.get()
1677
1992
 
1678
1993
  :param async_req bool
1679
- :param IdEngageBody body: (required)
1994
+ :param IdEngageBody1 body: (required)
1680
1995
  :param str project_id: (required)
1681
1996
  :param str id: (required)
1682
1997
  :return: V1CloudSpaceEngagementResponse
@@ -1757,7 +2072,7 @@ class CloudSpaceServiceApi(object):
1757
2072
  _request_timeout=params.get('_request_timeout'),
1758
2073
  collection_formats=collection_formats)
1759
2074
 
1760
- def cloud_space_service_execute_command_in_cloud_space(self, body: 'IdExecuteBody', project_id: 'str', id: 'str', **kwargs) -> 'V1ExecuteCloudSpaceCommandResponse': # noqa: E501
2075
+ def cloud_space_service_execute_command_in_cloud_space(self, body: 'IdExecuteBody1', project_id: 'str', id: 'str', **kwargs) -> 'V1ExecuteCloudSpaceCommandResponse': # noqa: E501
1761
2076
  """cloud_space_service_execute_command_in_cloud_space # noqa: E501
1762
2077
 
1763
2078
  This method makes a synchronous HTTP request by default. To make an
@@ -1766,7 +2081,7 @@ class CloudSpaceServiceApi(object):
1766
2081
  >>> result = thread.get()
1767
2082
 
1768
2083
  :param async_req bool
1769
- :param IdExecuteBody body: (required)
2084
+ :param IdExecuteBody1 body: (required)
1770
2085
  :param str project_id: (required)
1771
2086
  :param str id: (required)
1772
2087
  :return: V1ExecuteCloudSpaceCommandResponse
@@ -1780,7 +2095,7 @@ class CloudSpaceServiceApi(object):
1780
2095
  (data) = self.cloud_space_service_execute_command_in_cloud_space_with_http_info(body, project_id, id, **kwargs) # noqa: E501
1781
2096
  return data
1782
2097
 
1783
- def cloud_space_service_execute_command_in_cloud_space_with_http_info(self, body: 'IdExecuteBody', project_id: 'str', id: 'str', **kwargs) -> 'V1ExecuteCloudSpaceCommandResponse': # noqa: E501
2098
+ def cloud_space_service_execute_command_in_cloud_space_with_http_info(self, body: 'IdExecuteBody1', project_id: 'str', id: 'str', **kwargs) -> 'V1ExecuteCloudSpaceCommandResponse': # noqa: E501
1784
2099
  """cloud_space_service_execute_command_in_cloud_space # noqa: E501
1785
2100
 
1786
2101
  This method makes a synchronous HTTP request by default. To make an
@@ -1789,7 +2104,7 @@ class CloudSpaceServiceApi(object):
1789
2104
  >>> result = thread.get()
1790
2105
 
1791
2106
  :param async_req bool
1792
- :param IdExecuteBody body: (required)
2107
+ :param IdExecuteBody1 body: (required)
1793
2108
  :param str project_id: (required)
1794
2109
  :param str id: (required)
1795
2110
  :return: V1ExecuteCloudSpaceCommandResponse
@@ -1870,6 +2185,127 @@ class CloudSpaceServiceApi(object):
1870
2185
  _request_timeout=params.get('_request_timeout'),
1871
2186
  collection_formats=collection_formats)
1872
2187
 
2188
+ def cloud_space_service_execute_in_cloud_space_session(self, body: 'IdExecuteBody', project_id: 'str', cloudspace_id: 'str', id: 'str', **kwargs) -> 'V1ExecuteInCloudSpaceSessionResponse': # noqa: E501
2189
+ """cloud_space_service_execute_in_cloud_space_session # noqa: E501
2190
+
2191
+ This method makes a synchronous HTTP request by default. To make an
2192
+ asynchronous HTTP request, please pass async_req=True
2193
+ >>> thread = api.cloud_space_service_execute_in_cloud_space_session(body, project_id, cloudspace_id, id, async_req=True)
2194
+ >>> result = thread.get()
2195
+
2196
+ :param async_req bool
2197
+ :param IdExecuteBody body: (required)
2198
+ :param str project_id: (required)
2199
+ :param str cloudspace_id: (required)
2200
+ :param str id: (required)
2201
+ :return: V1ExecuteInCloudSpaceSessionResponse
2202
+ If the method is called asynchronously,
2203
+ returns the request thread.
2204
+ """
2205
+ kwargs['_return_http_data_only'] = True
2206
+ if kwargs.get('async_req'):
2207
+ return self.cloud_space_service_execute_in_cloud_space_session_with_http_info(body, project_id, cloudspace_id, id, **kwargs) # noqa: E501
2208
+ else:
2209
+ (data) = self.cloud_space_service_execute_in_cloud_space_session_with_http_info(body, project_id, cloudspace_id, id, **kwargs) # noqa: E501
2210
+ return data
2211
+
2212
+ def cloud_space_service_execute_in_cloud_space_session_with_http_info(self, body: 'IdExecuteBody', project_id: 'str', cloudspace_id: 'str', id: 'str', **kwargs) -> 'V1ExecuteInCloudSpaceSessionResponse': # noqa: E501
2213
+ """cloud_space_service_execute_in_cloud_space_session # noqa: E501
2214
+
2215
+ This method makes a synchronous HTTP request by default. To make an
2216
+ asynchronous HTTP request, please pass async_req=True
2217
+ >>> thread = api.cloud_space_service_execute_in_cloud_space_session_with_http_info(body, project_id, cloudspace_id, id, async_req=True)
2218
+ >>> result = thread.get()
2219
+
2220
+ :param async_req bool
2221
+ :param IdExecuteBody body: (required)
2222
+ :param str project_id: (required)
2223
+ :param str cloudspace_id: (required)
2224
+ :param str id: (required)
2225
+ :return: V1ExecuteInCloudSpaceSessionResponse
2226
+ If the method is called asynchronously,
2227
+ returns the request thread.
2228
+ """
2229
+
2230
+ all_params = ['body', 'project_id', 'cloudspace_id', 'id'] # noqa: E501
2231
+ all_params.append('async_req')
2232
+ all_params.append('_return_http_data_only')
2233
+ all_params.append('_preload_content')
2234
+ all_params.append('_request_timeout')
2235
+
2236
+ params = locals()
2237
+ for key, val in six.iteritems(params['kwargs']):
2238
+ if key not in all_params:
2239
+ raise TypeError(
2240
+ "Got an unexpected keyword argument '%s'"
2241
+ " to method cloud_space_service_execute_in_cloud_space_session" % key
2242
+ )
2243
+ params[key] = val
2244
+ del params['kwargs']
2245
+ # verify the required parameter 'body' is set
2246
+ if ('body' not in params or
2247
+ params['body'] is None):
2248
+ raise ValueError("Missing the required parameter `body` when calling `cloud_space_service_execute_in_cloud_space_session`") # noqa: E501
2249
+ # verify the required parameter 'project_id' is set
2250
+ if ('project_id' not in params or
2251
+ params['project_id'] is None):
2252
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_execute_in_cloud_space_session`") # noqa: E501
2253
+ # verify the required parameter 'cloudspace_id' is set
2254
+ if ('cloudspace_id' not in params or
2255
+ params['cloudspace_id'] is None):
2256
+ raise ValueError("Missing the required parameter `cloudspace_id` when calling `cloud_space_service_execute_in_cloud_space_session`") # noqa: E501
2257
+ # verify the required parameter 'id' is set
2258
+ if ('id' not in params or
2259
+ params['id'] is None):
2260
+ raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_execute_in_cloud_space_session`") # noqa: E501
2261
+
2262
+ collection_formats = {}
2263
+
2264
+ path_params = {}
2265
+ if 'project_id' in params:
2266
+ path_params['projectId'] = params['project_id'] # noqa: E501
2267
+ if 'cloudspace_id' in params:
2268
+ path_params['cloudspaceId'] = params['cloudspace_id'] # noqa: E501
2269
+ if 'id' in params:
2270
+ path_params['id'] = params['id'] # noqa: E501
2271
+
2272
+ query_params = []
2273
+
2274
+ header_params = {}
2275
+
2276
+ form_params = []
2277
+ local_var_files = {}
2278
+
2279
+ body_params = None
2280
+ if 'body' in params:
2281
+ body_params = params['body']
2282
+ # HTTP header `Accept`
2283
+ header_params['Accept'] = self.api_client.select_header_accept(
2284
+ ['application/json']) # noqa: E501
2285
+
2286
+ # HTTP header `Content-Type`
2287
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2288
+ ['application/json']) # noqa: E501
2289
+
2290
+ # Authentication setting
2291
+ auth_settings = [] # noqa: E501
2292
+
2293
+ return self.api_client.call_api(
2294
+ '/v1/projects/{projectId}/cloudspaces/{cloudspaceId}/sessions/{id}/execute', 'POST',
2295
+ path_params,
2296
+ query_params,
2297
+ header_params,
2298
+ body=body_params,
2299
+ post_params=form_params,
2300
+ files=local_var_files,
2301
+ response_type='V1ExecuteInCloudSpaceSessionResponse', # noqa: E501
2302
+ auth_settings=auth_settings,
2303
+ async_req=params.get('async_req'),
2304
+ _return_http_data_only=params.get('_return_http_data_only'),
2305
+ _preload_content=params.get('_preload_content', True),
2306
+ _request_timeout=params.get('_request_timeout'),
2307
+ collection_formats=collection_formats)
2308
+
1873
2309
  def cloud_space_service_execute_plugin(self, project_id: 'str', id: 'str', plugin_id: 'str', **kwargs) -> 'V1Plugin': # noqa: E501
1874
2310
  """cloud_space_service_execute_plugin # noqa: E501
1875
2311
 
@@ -2646,137 +3082,26 @@ class CloudSpaceServiceApi(object):
2646
3082
  (data) = self.cloud_space_service_get_cloud_space_by_name_with_http_info(user_name, project_name, cloudspace_name, **kwargs) # noqa: E501
2647
3083
  return data
2648
3084
 
2649
- def cloud_space_service_get_cloud_space_by_name_with_http_info(self, user_name: 'str', project_name: 'str', cloudspace_name: 'str', **kwargs) -> 'V1CloudSpaceProjectResponse': # noqa: E501
2650
- """cloud_space_service_get_cloud_space_by_name # noqa: E501
2651
-
2652
- This method makes a synchronous HTTP request by default. To make an
2653
- asynchronous HTTP request, please pass async_req=True
2654
- >>> thread = api.cloud_space_service_get_cloud_space_by_name_with_http_info(user_name, project_name, cloudspace_name, async_req=True)
2655
- >>> result = thread.get()
2656
-
2657
- :param async_req bool
2658
- :param str user_name: (required)
2659
- :param str project_name: (required)
2660
- :param str cloudspace_name: (required)
2661
- :param str project_id:
2662
- :param bool published_only:
2663
- :return: V1CloudSpaceProjectResponse
2664
- If the method is called asynchronously,
2665
- returns the request thread.
2666
- """
2667
-
2668
- all_params = ['user_name', 'project_name', 'cloudspace_name', 'project_id', 'published_only'] # noqa: E501
2669
- all_params.append('async_req')
2670
- all_params.append('_return_http_data_only')
2671
- all_params.append('_preload_content')
2672
- all_params.append('_request_timeout')
2673
-
2674
- params = locals()
2675
- for key, val in six.iteritems(params['kwargs']):
2676
- if key not in all_params:
2677
- raise TypeError(
2678
- "Got an unexpected keyword argument '%s'"
2679
- " to method cloud_space_service_get_cloud_space_by_name" % key
2680
- )
2681
- params[key] = val
2682
- del params['kwargs']
2683
- # verify the required parameter 'user_name' is set
2684
- if ('user_name' not in params or
2685
- params['user_name'] is None):
2686
- raise ValueError("Missing the required parameter `user_name` when calling `cloud_space_service_get_cloud_space_by_name`") # noqa: E501
2687
- # verify the required parameter 'project_name' is set
2688
- if ('project_name' not in params or
2689
- params['project_name'] is None):
2690
- raise ValueError("Missing the required parameter `project_name` when calling `cloud_space_service_get_cloud_space_by_name`") # noqa: E501
2691
- # verify the required parameter 'cloudspace_name' is set
2692
- if ('cloudspace_name' not in params or
2693
- params['cloudspace_name'] is None):
2694
- raise ValueError("Missing the required parameter `cloudspace_name` when calling `cloud_space_service_get_cloud_space_by_name`") # noqa: E501
2695
-
2696
- collection_formats = {}
2697
-
2698
- path_params = {}
2699
- if 'user_name' in params:
2700
- path_params['userName'] = params['user_name'] # noqa: E501
2701
- if 'project_name' in params:
2702
- path_params['projectName'] = params['project_name'] # noqa: E501
2703
- if 'cloudspace_name' in params:
2704
- path_params['cloudspaceName'] = params['cloudspace_name'] # noqa: E501
2705
-
2706
- query_params = []
2707
- if 'project_id' in params:
2708
- query_params.append(('projectId', params['project_id'])) # noqa: E501
2709
- if 'published_only' in params:
2710
- query_params.append(('publishedOnly', params['published_only'])) # noqa: E501
2711
-
2712
- header_params = {}
2713
-
2714
- form_params = []
2715
- local_var_files = {}
2716
-
2717
- body_params = None
2718
- # HTTP header `Accept`
2719
- header_params['Accept'] = self.api_client.select_header_accept(
2720
- ['application/json']) # noqa: E501
2721
-
2722
- # Authentication setting
2723
- auth_settings = [] # noqa: E501
2724
-
2725
- return self.api_client.call_api(
2726
- '/v1/users/{userName}/projects/{projectName}/cloudspaces/{cloudspaceName}/getbyname', 'GET',
2727
- path_params,
2728
- query_params,
2729
- header_params,
2730
- body=body_params,
2731
- post_params=form_params,
2732
- files=local_var_files,
2733
- response_type='V1CloudSpaceProjectResponse', # noqa: E501
2734
- auth_settings=auth_settings,
2735
- async_req=params.get('async_req'),
2736
- _return_http_data_only=params.get('_return_http_data_only'),
2737
- _preload_content=params.get('_preload_content', True),
2738
- _request_timeout=params.get('_request_timeout'),
2739
- collection_formats=collection_formats)
2740
-
2741
- def cloud_space_service_get_cloud_space_endpoint(self, project_id: 'str', id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
2742
- """cloud_space_service_get_cloud_space_endpoint # noqa: E501
2743
-
2744
- This method makes a synchronous HTTP request by default. To make an
2745
- asynchronous HTTP request, please pass async_req=True
2746
- >>> thread = api.cloud_space_service_get_cloud_space_endpoint(project_id, id, async_req=True)
2747
- >>> result = thread.get()
2748
-
2749
- :param async_req bool
2750
- :param str project_id: (required)
2751
- :param str id: (required)
2752
- :return: V1Endpoint
2753
- If the method is called asynchronously,
2754
- returns the request thread.
2755
- """
2756
- kwargs['_return_http_data_only'] = True
2757
- if kwargs.get('async_req'):
2758
- return self.cloud_space_service_get_cloud_space_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
2759
- else:
2760
- (data) = self.cloud_space_service_get_cloud_space_endpoint_with_http_info(project_id, id, **kwargs) # noqa: E501
2761
- return data
2762
-
2763
- def cloud_space_service_get_cloud_space_endpoint_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
2764
- """cloud_space_service_get_cloud_space_endpoint # noqa: E501
3085
+ def cloud_space_service_get_cloud_space_by_name_with_http_info(self, user_name: 'str', project_name: 'str', cloudspace_name: 'str', **kwargs) -> 'V1CloudSpaceProjectResponse': # noqa: E501
3086
+ """cloud_space_service_get_cloud_space_by_name # noqa: E501
2765
3087
 
2766
3088
  This method makes a synchronous HTTP request by default. To make an
2767
3089
  asynchronous HTTP request, please pass async_req=True
2768
- >>> thread = api.cloud_space_service_get_cloud_space_endpoint_with_http_info(project_id, id, async_req=True)
3090
+ >>> thread = api.cloud_space_service_get_cloud_space_by_name_with_http_info(user_name, project_name, cloudspace_name, async_req=True)
2769
3091
  >>> result = thread.get()
2770
3092
 
2771
3093
  :param async_req bool
2772
- :param str project_id: (required)
2773
- :param str id: (required)
2774
- :return: V1Endpoint
3094
+ :param str user_name: (required)
3095
+ :param str project_name: (required)
3096
+ :param str cloudspace_name: (required)
3097
+ :param str project_id:
3098
+ :param bool published_only:
3099
+ :return: V1CloudSpaceProjectResponse
2775
3100
  If the method is called asynchronously,
2776
3101
  returns the request thread.
2777
3102
  """
2778
3103
 
2779
- all_params = ['project_id', 'id'] # noqa: E501
3104
+ all_params = ['user_name', 'project_name', 'cloudspace_name', 'project_id', 'published_only'] # noqa: E501
2780
3105
  all_params.append('async_req')
2781
3106
  all_params.append('_return_http_data_only')
2782
3107
  all_params.append('_preload_content')
@@ -2787,28 +3112,38 @@ class CloudSpaceServiceApi(object):
2787
3112
  if key not in all_params:
2788
3113
  raise TypeError(
2789
3114
  "Got an unexpected keyword argument '%s'"
2790
- " to method cloud_space_service_get_cloud_space_endpoint" % key
3115
+ " to method cloud_space_service_get_cloud_space_by_name" % key
2791
3116
  )
2792
3117
  params[key] = val
2793
3118
  del params['kwargs']
2794
- # verify the required parameter 'project_id' is set
2795
- if ('project_id' not in params or
2796
- params['project_id'] is None):
2797
- raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_get_cloud_space_endpoint`") # noqa: E501
2798
- # verify the required parameter 'id' is set
2799
- if ('id' not in params or
2800
- params['id'] is None):
2801
- raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_get_cloud_space_endpoint`") # noqa: E501
3119
+ # verify the required parameter 'user_name' is set
3120
+ if ('user_name' not in params or
3121
+ params['user_name'] is None):
3122
+ raise ValueError("Missing the required parameter `user_name` when calling `cloud_space_service_get_cloud_space_by_name`") # noqa: E501
3123
+ # verify the required parameter 'project_name' is set
3124
+ if ('project_name' not in params or
3125
+ params['project_name'] is None):
3126
+ raise ValueError("Missing the required parameter `project_name` when calling `cloud_space_service_get_cloud_space_by_name`") # noqa: E501
3127
+ # verify the required parameter 'cloudspace_name' is set
3128
+ if ('cloudspace_name' not in params or
3129
+ params['cloudspace_name'] is None):
3130
+ raise ValueError("Missing the required parameter `cloudspace_name` when calling `cloud_space_service_get_cloud_space_by_name`") # noqa: E501
2802
3131
 
2803
3132
  collection_formats = {}
2804
3133
 
2805
3134
  path_params = {}
2806
- if 'project_id' in params:
2807
- path_params['projectId'] = params['project_id'] # noqa: E501
2808
- if 'id' in params:
2809
- path_params['id'] = params['id'] # noqa: E501
3135
+ if 'user_name' in params:
3136
+ path_params['userName'] = params['user_name'] # noqa: E501
3137
+ if 'project_name' in params:
3138
+ path_params['projectName'] = params['project_name'] # noqa: E501
3139
+ if 'cloudspace_name' in params:
3140
+ path_params['cloudspaceName'] = params['cloudspace_name'] # noqa: E501
2810
3141
 
2811
3142
  query_params = []
3143
+ if 'project_id' in params:
3144
+ query_params.append(('projectId', params['project_id'])) # noqa: E501
3145
+ if 'published_only' in params:
3146
+ query_params.append(('publishedOnly', params['published_only'])) # noqa: E501
2812
3147
 
2813
3148
  header_params = {}
2814
3149
 
@@ -2824,14 +3159,14 @@ class CloudSpaceServiceApi(object):
2824
3159
  auth_settings = [] # noqa: E501
2825
3160
 
2826
3161
  return self.api_client.call_api(
2827
- '/v1/projects/{projectId}/cloudspaces/{id}/endpoint', 'GET',
3162
+ '/v1/users/{userName}/projects/{projectName}/cloudspaces/{cloudspaceName}/getbyname', 'GET',
2828
3163
  path_params,
2829
3164
  query_params,
2830
3165
  header_params,
2831
3166
  body=body_params,
2832
3167
  post_params=form_params,
2833
3168
  files=local_var_files,
2834
- response_type='V1Endpoint', # noqa: E501
3169
+ response_type='V1CloudSpaceProjectResponse', # noqa: E501
2835
3170
  auth_settings=auth_settings,
2836
3171
  async_req=params.get('async_req'),
2837
3172
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -3727,6 +4062,7 @@ class CloudSpaceServiceApi(object):
3727
4062
  :param str project_id: (required)
3728
4063
  :param str cloudspace_id: (required)
3729
4064
  :param str id: (required)
4065
+ :param str unique_id:
3730
4066
  :return: V1LightningRun
3731
4067
  If the method is called asynchronously,
3732
4068
  returns the request thread.
@@ -3750,12 +4086,13 @@ class CloudSpaceServiceApi(object):
3750
4086
  :param str project_id: (required)
3751
4087
  :param str cloudspace_id: (required)
3752
4088
  :param str id: (required)
4089
+ :param str unique_id:
3753
4090
  :return: V1LightningRun
3754
4091
  If the method is called asynchronously,
3755
4092
  returns the request thread.
3756
4093
  """
3757
4094
 
3758
- all_params = ['project_id', 'cloudspace_id', 'id'] # noqa: E501
4095
+ all_params = ['project_id', 'cloudspace_id', 'id', 'unique_id'] # noqa: E501
3759
4096
  all_params.append('async_req')
3760
4097
  all_params.append('_return_http_data_only')
3761
4098
  all_params.append('_preload_content')
@@ -3794,6 +4131,8 @@ class CloudSpaceServiceApi(object):
3794
4131
  path_params['id'] = params['id'] # noqa: E501
3795
4132
 
3796
4133
  query_params = []
4134
+ if 'unique_id' in params:
4135
+ query_params.append(('uniqueId', params['unique_id'])) # noqa: E501
3797
4136
 
3798
4137
  header_params = {}
3799
4138
 
@@ -4673,44 +5012,246 @@ class CloudSpaceServiceApi(object):
4673
5012
  >>> result = thread.get()
4674
5013
 
4675
5014
  :param async_req bool
4676
- :param str user_id:
4677
- :param str org_id:
4678
- :param str project_id:
4679
- :param str cluster_id:
4680
- :param str page_token:
4681
- :param str limit:
4682
- :return: V1ListCloudSpaceInstancesResponse
5015
+ :param str user_id:
5016
+ :param str org_id:
5017
+ :param str project_id:
5018
+ :param str cluster_id:
5019
+ :param str page_token:
5020
+ :param str limit:
5021
+ :return: V1ListCloudSpaceInstancesResponse
5022
+ If the method is called asynchronously,
5023
+ returns the request thread.
5024
+ """
5025
+ kwargs['_return_http_data_only'] = True
5026
+ if kwargs.get('async_req'):
5027
+ return self.cloud_space_service_list_cloud_space_instances_with_http_info(**kwargs) # noqa: E501
5028
+ else:
5029
+ (data) = self.cloud_space_service_list_cloud_space_instances_with_http_info(**kwargs) # noqa: E501
5030
+ return data
5031
+
5032
+ def cloud_space_service_list_cloud_space_instances_with_http_info(self, **kwargs) -> 'V1ListCloudSpaceInstancesResponse': # noqa: E501
5033
+ """Returns list of all statuses of all active cloudspaces (i.e. cloudspace instance exists) according to filters specified # noqa: E501
5034
+
5035
+ This method makes a synchronous HTTP request by default. To make an
5036
+ asynchronous HTTP request, please pass async_req=True
5037
+ >>> thread = api.cloud_space_service_list_cloud_space_instances_with_http_info(async_req=True)
5038
+ >>> result = thread.get()
5039
+
5040
+ :param async_req bool
5041
+ :param str user_id:
5042
+ :param str org_id:
5043
+ :param str project_id:
5044
+ :param str cluster_id:
5045
+ :param str page_token:
5046
+ :param str limit:
5047
+ :return: V1ListCloudSpaceInstancesResponse
5048
+ If the method is called asynchronously,
5049
+ returns the request thread.
5050
+ """
5051
+
5052
+ all_params = ['user_id', 'org_id', 'project_id', 'cluster_id', 'page_token', 'limit'] # noqa: E501
5053
+ all_params.append('async_req')
5054
+ all_params.append('_return_http_data_only')
5055
+ all_params.append('_preload_content')
5056
+ all_params.append('_request_timeout')
5057
+
5058
+ params = locals()
5059
+ for key, val in six.iteritems(params['kwargs']):
5060
+ if key not in all_params:
5061
+ raise TypeError(
5062
+ "Got an unexpected keyword argument '%s'"
5063
+ " to method cloud_space_service_list_cloud_space_instances" % key
5064
+ )
5065
+ params[key] = val
5066
+ del params['kwargs']
5067
+
5068
+ collection_formats = {}
5069
+
5070
+ path_params = {}
5071
+
5072
+ query_params = []
5073
+ if 'user_id' in params:
5074
+ query_params.append(('userId', params['user_id'])) # noqa: E501
5075
+ if 'org_id' in params:
5076
+ query_params.append(('orgId', params['org_id'])) # noqa: E501
5077
+ if 'project_id' in params:
5078
+ query_params.append(('projectId', params['project_id'])) # noqa: E501
5079
+ if 'cluster_id' in params:
5080
+ query_params.append(('clusterId', params['cluster_id'])) # noqa: E501
5081
+ if 'page_token' in params:
5082
+ query_params.append(('pageToken', params['page_token'])) # noqa: E501
5083
+ if 'limit' in params:
5084
+ query_params.append(('limit', params['limit'])) # noqa: E501
5085
+
5086
+ header_params = {}
5087
+
5088
+ form_params = []
5089
+ local_var_files = {}
5090
+
5091
+ body_params = None
5092
+ # HTTP header `Accept`
5093
+ header_params['Accept'] = self.api_client.select_header_accept(
5094
+ ['application/json']) # noqa: E501
5095
+
5096
+ # Authentication setting
5097
+ auth_settings = [] # noqa: E501
5098
+
5099
+ return self.api_client.call_api(
5100
+ '/v1/cloudspaces/active', 'GET',
5101
+ path_params,
5102
+ query_params,
5103
+ header_params,
5104
+ body=body_params,
5105
+ post_params=form_params,
5106
+ files=local_var_files,
5107
+ response_type='V1ListCloudSpaceInstancesResponse', # noqa: E501
5108
+ auth_settings=auth_settings,
5109
+ async_req=params.get('async_req'),
5110
+ _return_http_data_only=params.get('_return_http_data_only'),
5111
+ _preload_content=params.get('_preload_content', True),
5112
+ _request_timeout=params.get('_request_timeout'),
5113
+ collection_formats=collection_formats)
5114
+
5115
+ def cloud_space_service_list_cloud_space_publications(self, project_id: 'str', id: 'str', **kwargs) -> 'V1ListCloudSpacePublicationsResponse': # noqa: E501
5116
+ """cloud_space_service_list_cloud_space_publications # noqa: E501
5117
+
5118
+ This method makes a synchronous HTTP request by default. To make an
5119
+ asynchronous HTTP request, please pass async_req=True
5120
+ >>> thread = api.cloud_space_service_list_cloud_space_publications(project_id, id, async_req=True)
5121
+ >>> result = thread.get()
5122
+
5123
+ :param async_req bool
5124
+ :param str project_id: (required)
5125
+ :param str id: (required)
5126
+ :return: V1ListCloudSpacePublicationsResponse
5127
+ If the method is called asynchronously,
5128
+ returns the request thread.
5129
+ """
5130
+ kwargs['_return_http_data_only'] = True
5131
+ if kwargs.get('async_req'):
5132
+ return self.cloud_space_service_list_cloud_space_publications_with_http_info(project_id, id, **kwargs) # noqa: E501
5133
+ else:
5134
+ (data) = self.cloud_space_service_list_cloud_space_publications_with_http_info(project_id, id, **kwargs) # noqa: E501
5135
+ return data
5136
+
5137
+ def cloud_space_service_list_cloud_space_publications_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1ListCloudSpacePublicationsResponse': # noqa: E501
5138
+ """cloud_space_service_list_cloud_space_publications # noqa: E501
5139
+
5140
+ This method makes a synchronous HTTP request by default. To make an
5141
+ asynchronous HTTP request, please pass async_req=True
5142
+ >>> thread = api.cloud_space_service_list_cloud_space_publications_with_http_info(project_id, id, async_req=True)
5143
+ >>> result = thread.get()
5144
+
5145
+ :param async_req bool
5146
+ :param str project_id: (required)
5147
+ :param str id: (required)
5148
+ :return: V1ListCloudSpacePublicationsResponse
5149
+ If the method is called asynchronously,
5150
+ returns the request thread.
5151
+ """
5152
+
5153
+ all_params = ['project_id', 'id'] # noqa: E501
5154
+ all_params.append('async_req')
5155
+ all_params.append('_return_http_data_only')
5156
+ all_params.append('_preload_content')
5157
+ all_params.append('_request_timeout')
5158
+
5159
+ params = locals()
5160
+ for key, val in six.iteritems(params['kwargs']):
5161
+ if key not in all_params:
5162
+ raise TypeError(
5163
+ "Got an unexpected keyword argument '%s'"
5164
+ " to method cloud_space_service_list_cloud_space_publications" % key
5165
+ )
5166
+ params[key] = val
5167
+ del params['kwargs']
5168
+ # verify the required parameter 'project_id' is set
5169
+ if ('project_id' not in params or
5170
+ params['project_id'] is None):
5171
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_list_cloud_space_publications`") # noqa: E501
5172
+ # verify the required parameter 'id' is set
5173
+ if ('id' not in params or
5174
+ params['id'] is None):
5175
+ raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_list_cloud_space_publications`") # noqa: E501
5176
+
5177
+ collection_formats = {}
5178
+
5179
+ path_params = {}
5180
+ if 'project_id' in params:
5181
+ path_params['projectId'] = params['project_id'] # noqa: E501
5182
+ if 'id' in params:
5183
+ path_params['id'] = params['id'] # noqa: E501
5184
+
5185
+ query_params = []
5186
+
5187
+ header_params = {}
5188
+
5189
+ form_params = []
5190
+ local_var_files = {}
5191
+
5192
+ body_params = None
5193
+ # HTTP header `Accept`
5194
+ header_params['Accept'] = self.api_client.select_header_accept(
5195
+ ['application/json']) # noqa: E501
5196
+
5197
+ # Authentication setting
5198
+ auth_settings = [] # noqa: E501
5199
+
5200
+ return self.api_client.call_api(
5201
+ '/v1/projects/{projectId}/cloudspaces/{id}/publications', 'GET',
5202
+ path_params,
5203
+ query_params,
5204
+ header_params,
5205
+ body=body_params,
5206
+ post_params=form_params,
5207
+ files=local_var_files,
5208
+ response_type='V1ListCloudSpacePublicationsResponse', # noqa: E501
5209
+ auth_settings=auth_settings,
5210
+ async_req=params.get('async_req'),
5211
+ _return_http_data_only=params.get('_return_http_data_only'),
5212
+ _preload_content=params.get('_preload_content', True),
5213
+ _request_timeout=params.get('_request_timeout'),
5214
+ collection_formats=collection_formats)
5215
+
5216
+ def cloud_space_service_list_cloud_space_python_versions(self, project_id: 'str', cloudspace_id: 'str', **kwargs) -> 'V1ListCloudSpacePythonVersionsResponse': # noqa: E501
5217
+ """cloud_space_service_list_cloud_space_python_versions # noqa: E501
5218
+
5219
+ This method makes a synchronous HTTP request by default. To make an
5220
+ asynchronous HTTP request, please pass async_req=True
5221
+ >>> thread = api.cloud_space_service_list_cloud_space_python_versions(project_id, cloudspace_id, async_req=True)
5222
+ >>> result = thread.get()
5223
+
5224
+ :param async_req bool
5225
+ :param str project_id: (required)
5226
+ :param str cloudspace_id: (required)
5227
+ :return: V1ListCloudSpacePythonVersionsResponse
4683
5228
  If the method is called asynchronously,
4684
5229
  returns the request thread.
4685
5230
  """
4686
5231
  kwargs['_return_http_data_only'] = True
4687
5232
  if kwargs.get('async_req'):
4688
- return self.cloud_space_service_list_cloud_space_instances_with_http_info(**kwargs) # noqa: E501
5233
+ return self.cloud_space_service_list_cloud_space_python_versions_with_http_info(project_id, cloudspace_id, **kwargs) # noqa: E501
4689
5234
  else:
4690
- (data) = self.cloud_space_service_list_cloud_space_instances_with_http_info(**kwargs) # noqa: E501
5235
+ (data) = self.cloud_space_service_list_cloud_space_python_versions_with_http_info(project_id, cloudspace_id, **kwargs) # noqa: E501
4691
5236
  return data
4692
5237
 
4693
- def cloud_space_service_list_cloud_space_instances_with_http_info(self, **kwargs) -> 'V1ListCloudSpaceInstancesResponse': # noqa: E501
4694
- """Returns list of all statuses of all active cloudspaces (i.e. cloudspace instance exists) according to filters specified # noqa: E501
5238
+ def cloud_space_service_list_cloud_space_python_versions_with_http_info(self, project_id: 'str', cloudspace_id: 'str', **kwargs) -> 'V1ListCloudSpacePythonVersionsResponse': # noqa: E501
5239
+ """cloud_space_service_list_cloud_space_python_versions # noqa: E501
4695
5240
 
4696
5241
  This method makes a synchronous HTTP request by default. To make an
4697
5242
  asynchronous HTTP request, please pass async_req=True
4698
- >>> thread = api.cloud_space_service_list_cloud_space_instances_with_http_info(async_req=True)
5243
+ >>> thread = api.cloud_space_service_list_cloud_space_python_versions_with_http_info(project_id, cloudspace_id, async_req=True)
4699
5244
  >>> result = thread.get()
4700
5245
 
4701
5246
  :param async_req bool
4702
- :param str user_id:
4703
- :param str org_id:
4704
- :param str project_id:
4705
- :param str cluster_id:
4706
- :param str page_token:
4707
- :param str limit:
4708
- :return: V1ListCloudSpaceInstancesResponse
5247
+ :param str project_id: (required)
5248
+ :param str cloudspace_id: (required)
5249
+ :return: V1ListCloudSpacePythonVersionsResponse
4709
5250
  If the method is called asynchronously,
4710
5251
  returns the request thread.
4711
5252
  """
4712
5253
 
4713
- all_params = ['user_id', 'org_id', 'project_id', 'cluster_id', 'page_token', 'limit'] # noqa: E501
5254
+ all_params = ['project_id', 'cloudspace_id'] # noqa: E501
4714
5255
  all_params.append('async_req')
4715
5256
  all_params.append('_return_http_data_only')
4716
5257
  all_params.append('_preload_content')
@@ -4721,28 +5262,28 @@ class CloudSpaceServiceApi(object):
4721
5262
  if key not in all_params:
4722
5263
  raise TypeError(
4723
5264
  "Got an unexpected keyword argument '%s'"
4724
- " to method cloud_space_service_list_cloud_space_instances" % key
5265
+ " to method cloud_space_service_list_cloud_space_python_versions" % key
4725
5266
  )
4726
5267
  params[key] = val
4727
5268
  del params['kwargs']
5269
+ # verify the required parameter 'project_id' is set
5270
+ if ('project_id' not in params or
5271
+ params['project_id'] is None):
5272
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_list_cloud_space_python_versions`") # noqa: E501
5273
+ # verify the required parameter 'cloudspace_id' is set
5274
+ if ('cloudspace_id' not in params or
5275
+ params['cloudspace_id'] is None):
5276
+ raise ValueError("Missing the required parameter `cloudspace_id` when calling `cloud_space_service_list_cloud_space_python_versions`") # noqa: E501
4728
5277
 
4729
5278
  collection_formats = {}
4730
5279
 
4731
5280
  path_params = {}
5281
+ if 'project_id' in params:
5282
+ path_params['projectId'] = params['project_id'] # noqa: E501
5283
+ if 'cloudspace_id' in params:
5284
+ path_params['cloudspaceId'] = params['cloudspace_id'] # noqa: E501
4732
5285
 
4733
5286
  query_params = []
4734
- if 'user_id' in params:
4735
- query_params.append(('userId', params['user_id'])) # noqa: E501
4736
- if 'org_id' in params:
4737
- query_params.append(('orgId', params['org_id'])) # noqa: E501
4738
- if 'project_id' in params:
4739
- query_params.append(('projectId', params['project_id'])) # noqa: E501
4740
- if 'cluster_id' in params:
4741
- query_params.append(('clusterId', params['cluster_id'])) # noqa: E501
4742
- if 'page_token' in params:
4743
- query_params.append(('pageToken', params['page_token'])) # noqa: E501
4744
- if 'limit' in params:
4745
- query_params.append(('limit', params['limit'])) # noqa: E501
4746
5287
 
4747
5288
  header_params = {}
4748
5289
 
@@ -4758,14 +5299,14 @@ class CloudSpaceServiceApi(object):
4758
5299
  auth_settings = [] # noqa: E501
4759
5300
 
4760
5301
  return self.api_client.call_api(
4761
- '/v1/cloudspaces/active', 'GET',
5302
+ '/v1/projects/{projectId}/cloudspaces/{cloudspaceId}/python-versions', 'GET',
4762
5303
  path_params,
4763
5304
  query_params,
4764
5305
  header_params,
4765
5306
  body=body_params,
4766
5307
  post_params=form_params,
4767
5308
  files=local_var_files,
4768
- response_type='V1ListCloudSpaceInstancesResponse', # noqa: E501
5309
+ response_type='V1ListCloudSpacePythonVersionsResponse', # noqa: E501
4769
5310
  auth_settings=auth_settings,
4770
5311
  async_req=params.get('async_req'),
4771
5312
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -4773,45 +5314,45 @@ class CloudSpaceServiceApi(object):
4773
5314
  _request_timeout=params.get('_request_timeout'),
4774
5315
  collection_formats=collection_formats)
4775
5316
 
4776
- def cloud_space_service_list_cloud_space_publications(self, project_id: 'str', id: 'str', **kwargs) -> 'V1ListCloudSpacePublicationsResponse': # noqa: E501
4777
- """cloud_space_service_list_cloud_space_publications # noqa: E501
5317
+ def cloud_space_service_list_cloud_space_sessions(self, project_id: 'str', cloudspace_id: 'str', **kwargs) -> 'V1ListCloudSpaceSessionsResponse': # noqa: E501
5318
+ """Session endpoints # noqa: E501
4778
5319
 
4779
5320
  This method makes a synchronous HTTP request by default. To make an
4780
5321
  asynchronous HTTP request, please pass async_req=True
4781
- >>> thread = api.cloud_space_service_list_cloud_space_publications(project_id, id, async_req=True)
5322
+ >>> thread = api.cloud_space_service_list_cloud_space_sessions(project_id, cloudspace_id, async_req=True)
4782
5323
  >>> result = thread.get()
4783
5324
 
4784
5325
  :param async_req bool
4785
5326
  :param str project_id: (required)
4786
- :param str id: (required)
4787
- :return: V1ListCloudSpacePublicationsResponse
5327
+ :param str cloudspace_id: (required)
5328
+ :return: V1ListCloudSpaceSessionsResponse
4788
5329
  If the method is called asynchronously,
4789
5330
  returns the request thread.
4790
5331
  """
4791
5332
  kwargs['_return_http_data_only'] = True
4792
5333
  if kwargs.get('async_req'):
4793
- return self.cloud_space_service_list_cloud_space_publications_with_http_info(project_id, id, **kwargs) # noqa: E501
5334
+ return self.cloud_space_service_list_cloud_space_sessions_with_http_info(project_id, cloudspace_id, **kwargs) # noqa: E501
4794
5335
  else:
4795
- (data) = self.cloud_space_service_list_cloud_space_publications_with_http_info(project_id, id, **kwargs) # noqa: E501
5336
+ (data) = self.cloud_space_service_list_cloud_space_sessions_with_http_info(project_id, cloudspace_id, **kwargs) # noqa: E501
4796
5337
  return data
4797
5338
 
4798
- def cloud_space_service_list_cloud_space_publications_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1ListCloudSpacePublicationsResponse': # noqa: E501
4799
- """cloud_space_service_list_cloud_space_publications # noqa: E501
5339
+ def cloud_space_service_list_cloud_space_sessions_with_http_info(self, project_id: 'str', cloudspace_id: 'str', **kwargs) -> 'V1ListCloudSpaceSessionsResponse': # noqa: E501
5340
+ """Session endpoints # noqa: E501
4800
5341
 
4801
5342
  This method makes a synchronous HTTP request by default. To make an
4802
5343
  asynchronous HTTP request, please pass async_req=True
4803
- >>> thread = api.cloud_space_service_list_cloud_space_publications_with_http_info(project_id, id, async_req=True)
5344
+ >>> thread = api.cloud_space_service_list_cloud_space_sessions_with_http_info(project_id, cloudspace_id, async_req=True)
4804
5345
  >>> result = thread.get()
4805
5346
 
4806
5347
  :param async_req bool
4807
5348
  :param str project_id: (required)
4808
- :param str id: (required)
4809
- :return: V1ListCloudSpacePublicationsResponse
5349
+ :param str cloudspace_id: (required)
5350
+ :return: V1ListCloudSpaceSessionsResponse
4810
5351
  If the method is called asynchronously,
4811
5352
  returns the request thread.
4812
5353
  """
4813
5354
 
4814
- all_params = ['project_id', 'id'] # noqa: E501
5355
+ all_params = ['project_id', 'cloudspace_id'] # noqa: E501
4815
5356
  all_params.append('async_req')
4816
5357
  all_params.append('_return_http_data_only')
4817
5358
  all_params.append('_preload_content')
@@ -4822,26 +5363,26 @@ class CloudSpaceServiceApi(object):
4822
5363
  if key not in all_params:
4823
5364
  raise TypeError(
4824
5365
  "Got an unexpected keyword argument '%s'"
4825
- " to method cloud_space_service_list_cloud_space_publications" % key
5366
+ " to method cloud_space_service_list_cloud_space_sessions" % key
4826
5367
  )
4827
5368
  params[key] = val
4828
5369
  del params['kwargs']
4829
5370
  # verify the required parameter 'project_id' is set
4830
5371
  if ('project_id' not in params or
4831
5372
  params['project_id'] is None):
4832
- raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_list_cloud_space_publications`") # noqa: E501
4833
- # verify the required parameter 'id' is set
4834
- if ('id' not in params or
4835
- params['id'] is None):
4836
- raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_list_cloud_space_publications`") # noqa: E501
5373
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_list_cloud_space_sessions`") # noqa: E501
5374
+ # verify the required parameter 'cloudspace_id' is set
5375
+ if ('cloudspace_id' not in params or
5376
+ params['cloudspace_id'] is None):
5377
+ raise ValueError("Missing the required parameter `cloudspace_id` when calling `cloud_space_service_list_cloud_space_sessions`") # noqa: E501
4837
5378
 
4838
5379
  collection_formats = {}
4839
5380
 
4840
5381
  path_params = {}
4841
5382
  if 'project_id' in params:
4842
5383
  path_params['projectId'] = params['project_id'] # noqa: E501
4843
- if 'id' in params:
4844
- path_params['id'] = params['id'] # noqa: E501
5384
+ if 'cloudspace_id' in params:
5385
+ path_params['cloudspaceId'] = params['cloudspace_id'] # noqa: E501
4845
5386
 
4846
5387
  query_params = []
4847
5388
 
@@ -4859,14 +5400,14 @@ class CloudSpaceServiceApi(object):
4859
5400
  auth_settings = [] # noqa: E501
4860
5401
 
4861
5402
  return self.api_client.call_api(
4862
- '/v1/projects/{projectId}/cloudspaces/{id}/publications', 'GET',
5403
+ '/v1/projects/{projectId}/cloudspaces/{cloudspaceId}/sessions', 'GET',
4863
5404
  path_params,
4864
5405
  query_params,
4865
5406
  header_params,
4866
5407
  body=body_params,
4867
5408
  post_params=form_params,
4868
5409
  files=local_var_files,
4869
- response_type='V1ListCloudSpacePublicationsResponse', # noqa: E501
5410
+ response_type='V1ListCloudSpaceSessionsResponse', # noqa: E501
4870
5411
  auth_settings=auth_settings,
4871
5412
  async_req=params.get('async_req'),
4872
5413
  _return_http_data_only=params.get('_return_http_data_only'),
@@ -5073,6 +5614,7 @@ class CloudSpaceServiceApi(object):
5073
5614
  :param str cloud_space_id: (required)
5074
5615
  :param bool draft:
5075
5616
  :param str limit:
5617
+ :param bool include_publications:
5076
5618
  :return: V1ListCloudSpaceVersionsResponse
5077
5619
  If the method is called asynchronously,
5078
5620
  returns the request thread.
@@ -5097,12 +5639,13 @@ class CloudSpaceServiceApi(object):
5097
5639
  :param str cloud_space_id: (required)
5098
5640
  :param bool draft:
5099
5641
  :param str limit:
5642
+ :param bool include_publications:
5100
5643
  :return: V1ListCloudSpaceVersionsResponse
5101
5644
  If the method is called asynchronously,
5102
5645
  returns the request thread.
5103
5646
  """
5104
5647
 
5105
- all_params = ['project_id', 'cloud_space_id', 'draft', 'limit'] # noqa: E501
5648
+ all_params = ['project_id', 'cloud_space_id', 'draft', 'limit', 'include_publications'] # noqa: E501
5106
5649
  all_params.append('async_req')
5107
5650
  all_params.append('_return_http_data_only')
5108
5651
  all_params.append('_preload_content')
@@ -5139,6 +5682,8 @@ class CloudSpaceServiceApi(object):
5139
5682
  query_params.append(('draft', params['draft'])) # noqa: E501
5140
5683
  if 'limit' in params:
5141
5684
  query_params.append(('limit', params['limit'])) # noqa: E501
5685
+ if 'include_publications' in params:
5686
+ query_params.append(('includePublications', params['include_publications'])) # noqa: E501
5142
5687
 
5143
5688
  header_params = {}
5144
5689
 
@@ -5186,6 +5731,7 @@ class CloudSpaceServiceApi(object):
5186
5731
  :param str user_id:
5187
5732
  :param bool active_only:
5188
5733
  :param bool is_favorite:
5734
+ :param bool is_locked:
5189
5735
  :return: V1ListCloudSpacesResponse
5190
5736
  If the method is called asynchronously,
5191
5737
  returns the request thread.
@@ -5214,12 +5760,13 @@ class CloudSpaceServiceApi(object):
5214
5760
  :param str user_id:
5215
5761
  :param bool active_only:
5216
5762
  :param bool is_favorite:
5763
+ :param bool is_locked:
5217
5764
  :return: V1ListCloudSpacesResponse
5218
5765
  If the method is called asynchronously,
5219
5766
  returns the request thread.
5220
5767
  """
5221
5768
 
5222
- all_params = ['project_id', 'cluster_id', 'page_token', 'limit', 'name', 'user_id', 'active_only', 'is_favorite'] # noqa: E501
5769
+ all_params = ['project_id', 'cluster_id', 'page_token', 'limit', 'name', 'user_id', 'active_only', 'is_favorite', 'is_locked'] # noqa: E501
5223
5770
  all_params.append('async_req')
5224
5771
  all_params.append('_return_http_data_only')
5225
5772
  all_params.append('_preload_content')
@@ -5260,6 +5807,8 @@ class CloudSpaceServiceApi(object):
5260
5807
  query_params.append(('activeOnly', params['active_only'])) # noqa: E501
5261
5808
  if 'is_favorite' in params:
5262
5809
  query_params.append(('isFavorite', params['is_favorite'])) # noqa: E501
5810
+ if 'is_locked' in params:
5811
+ query_params.append(('isLocked', params['is_locked'])) # noqa: E501
5263
5812
 
5264
5813
  header_params = {}
5265
5814
 
@@ -5508,6 +6057,7 @@ class CloudSpaceServiceApi(object):
5508
6057
  :param str sort_by:
5509
6058
  :param str org_id:
5510
6059
  :param str tag:
6060
+ :param str internal_name:
5511
6061
  :return: V1ListPublishedCloudSpacesResponse
5512
6062
  If the method is called asynchronously,
5513
6063
  returns the request thread.
@@ -5535,12 +6085,13 @@ class CloudSpaceServiceApi(object):
5535
6085
  :param str sort_by:
5536
6086
  :param str org_id:
5537
6087
  :param str tag:
6088
+ :param str internal_name:
5538
6089
  :return: V1ListPublishedCloudSpacesResponse
5539
6090
  If the method is called asynchronously,
5540
6091
  returns the request thread.
5541
6092
  """
5542
6093
 
5543
- all_params = ['username', 'search_query', 'page_token', 'limit', 'sort_by', 'org_id', 'tag'] # noqa: E501
6094
+ all_params = ['username', 'search_query', 'page_token', 'limit', 'sort_by', 'org_id', 'tag', 'internal_name'] # noqa: E501
5544
6095
  all_params.append('async_req')
5545
6096
  all_params.append('_return_http_data_only')
5546
6097
  all_params.append('_preload_content')
@@ -5575,6 +6126,8 @@ class CloudSpaceServiceApi(object):
5575
6126
  query_params.append(('orgId', params['org_id'])) # noqa: E501
5576
6127
  if 'tag' in params:
5577
6128
  query_params.append(('tag', params['tag'])) # noqa: E501
6129
+ if 'internal_name' in params:
6130
+ query_params.append(('internalName', params['internal_name'])) # noqa: E501
5578
6131
 
5579
6132
  header_params = {}
5580
6133
 
@@ -5718,7 +6271,7 @@ class CloudSpaceServiceApi(object):
5718
6271
  _request_timeout=params.get('_request_timeout'),
5719
6272
  collection_formats=collection_formats)
5720
6273
 
5721
- def cloud_space_service_refresh_cloud_space_index(self, body: 'IdIndexBody', project_id: 'str', id: 'str', **kwargs) -> 'V1RefreshIndexResponse': # noqa: E501
6274
+ def cloud_space_service_refresh_cloud_space_index(self, body: 'IdIndexBody1', project_id: 'str', id: 'str', **kwargs) -> 'V1RefreshIndexResponse': # noqa: E501
5722
6275
  """cloud_space_service_refresh_cloud_space_index # noqa: E501
5723
6276
 
5724
6277
  This method makes a synchronous HTTP request by default. To make an
@@ -5727,7 +6280,7 @@ class CloudSpaceServiceApi(object):
5727
6280
  >>> result = thread.get()
5728
6281
 
5729
6282
  :param async_req bool
5730
- :param IdIndexBody body: (required)
6283
+ :param IdIndexBody1 body: (required)
5731
6284
  :param str project_id: (required)
5732
6285
  :param str id: (required)
5733
6286
  :return: V1RefreshIndexResponse
@@ -5741,7 +6294,7 @@ class CloudSpaceServiceApi(object):
5741
6294
  (data) = self.cloud_space_service_refresh_cloud_space_index_with_http_info(body, project_id, id, **kwargs) # noqa: E501
5742
6295
  return data
5743
6296
 
5744
- def cloud_space_service_refresh_cloud_space_index_with_http_info(self, body: 'IdIndexBody', project_id: 'str', id: 'str', **kwargs) -> 'V1RefreshIndexResponse': # noqa: E501
6297
+ def cloud_space_service_refresh_cloud_space_index_with_http_info(self, body: 'IdIndexBody1', project_id: 'str', id: 'str', **kwargs) -> 'V1RefreshIndexResponse': # noqa: E501
5745
6298
  """cloud_space_service_refresh_cloud_space_index # noqa: E501
5746
6299
 
5747
6300
  This method makes a synchronous HTTP request by default. To make an
@@ -5750,7 +6303,7 @@ class CloudSpaceServiceApi(object):
5750
6303
  >>> result = thread.get()
5751
6304
 
5752
6305
  :param async_req bool
5753
- :param IdIndexBody body: (required)
6306
+ :param IdIndexBody1 body: (required)
5754
6307
  :param str project_id: (required)
5755
6308
  :param str id: (required)
5756
6309
  :return: V1RefreshIndexResponse
@@ -5831,6 +6384,107 @@ class CloudSpaceServiceApi(object):
5831
6384
  _request_timeout=params.get('_request_timeout'),
5832
6385
  collection_formats=collection_formats)
5833
6386
 
6387
+ def cloud_space_service_refresh_path(self, project_id: 'str', id: 'str', **kwargs) -> 'V1RefreshPathResponse': # noqa: E501
6388
+ """Refresh a (possibly) mounted path by invalidating it's cache This is important since our fuse mounts don't always reflect what's on s3 immediately to prevent too many list and head requests. Instead they cache listing results for paths in their internal vfs cache. This endpoint will allow manual refreshing # noqa: E501
6389
+
6390
+ This method makes a synchronous HTTP request by default. To make an
6391
+ asynchronous HTTP request, please pass async_req=True
6392
+ >>> thread = api.cloud_space_service_refresh_path(project_id, id, async_req=True)
6393
+ >>> result = thread.get()
6394
+
6395
+ :param async_req bool
6396
+ :param str project_id: (required)
6397
+ :param str id: (required)
6398
+ :return: V1RefreshPathResponse
6399
+ If the method is called asynchronously,
6400
+ returns the request thread.
6401
+ """
6402
+ kwargs['_return_http_data_only'] = True
6403
+ if kwargs.get('async_req'):
6404
+ return self.cloud_space_service_refresh_path_with_http_info(project_id, id, **kwargs) # noqa: E501
6405
+ else:
6406
+ (data) = self.cloud_space_service_refresh_path_with_http_info(project_id, id, **kwargs) # noqa: E501
6407
+ return data
6408
+
6409
+ def cloud_space_service_refresh_path_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1RefreshPathResponse': # noqa: E501
6410
+ """Refresh a (possibly) mounted path by invalidating it's cache This is important since our fuse mounts don't always reflect what's on s3 immediately to prevent too many list and head requests. Instead they cache listing results for paths in their internal vfs cache. This endpoint will allow manual refreshing # noqa: E501
6411
+
6412
+ This method makes a synchronous HTTP request by default. To make an
6413
+ asynchronous HTTP request, please pass async_req=True
6414
+ >>> thread = api.cloud_space_service_refresh_path_with_http_info(project_id, id, async_req=True)
6415
+ >>> result = thread.get()
6416
+
6417
+ :param async_req bool
6418
+ :param str project_id: (required)
6419
+ :param str id: (required)
6420
+ :return: V1RefreshPathResponse
6421
+ If the method is called asynchronously,
6422
+ returns the request thread.
6423
+ """
6424
+
6425
+ all_params = ['project_id', 'id'] # noqa: E501
6426
+ all_params.append('async_req')
6427
+ all_params.append('_return_http_data_only')
6428
+ all_params.append('_preload_content')
6429
+ all_params.append('_request_timeout')
6430
+
6431
+ params = locals()
6432
+ for key, val in six.iteritems(params['kwargs']):
6433
+ if key not in all_params:
6434
+ raise TypeError(
6435
+ "Got an unexpected keyword argument '%s'"
6436
+ " to method cloud_space_service_refresh_path" % key
6437
+ )
6438
+ params[key] = val
6439
+ del params['kwargs']
6440
+ # verify the required parameter 'project_id' is set
6441
+ if ('project_id' not in params or
6442
+ params['project_id'] is None):
6443
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_refresh_path`") # noqa: E501
6444
+ # verify the required parameter 'id' is set
6445
+ if ('id' not in params or
6446
+ params['id'] is None):
6447
+ raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_refresh_path`") # noqa: E501
6448
+
6449
+ collection_formats = {}
6450
+
6451
+ path_params = {}
6452
+ if 'project_id' in params:
6453
+ path_params['projectId'] = params['project_id'] # noqa: E501
6454
+ if 'id' in params:
6455
+ path_params['id'] = params['id'] # noqa: E501
6456
+
6457
+ query_params = []
6458
+
6459
+ header_params = {}
6460
+
6461
+ form_params = []
6462
+ local_var_files = {}
6463
+
6464
+ body_params = None
6465
+ # HTTP header `Accept`
6466
+ header_params['Accept'] = self.api_client.select_header_accept(
6467
+ ['application/json']) # noqa: E501
6468
+
6469
+ # Authentication setting
6470
+ auth_settings = [] # noqa: E501
6471
+
6472
+ return self.api_client.call_api(
6473
+ '/v1/projects/{projectId}/cloudspaces/{id}/refresh-path', 'POST',
6474
+ path_params,
6475
+ query_params,
6476
+ header_params,
6477
+ body=body_params,
6478
+ post_params=form_params,
6479
+ files=local_var_files,
6480
+ response_type='V1RefreshPathResponse', # noqa: E501
6481
+ auth_settings=auth_settings,
6482
+ async_req=params.get('async_req'),
6483
+ _return_http_data_only=params.get('_return_http_data_only'),
6484
+ _preload_content=params.get('_preload_content', True),
6485
+ _request_timeout=params.get('_request_timeout'),
6486
+ collection_formats=collection_formats)
6487
+
5834
6488
  def cloud_space_service_restart_cloud_space_instance(self, project_id: 'str', id: 'str', **kwargs) -> 'V1RestartCloudSpaceInstanceResponse': # noqa: E501
5835
6489
  """cloud_space_service_restart_cloud_space_instance # noqa: E501
5836
6490
 
@@ -5932,6 +6586,111 @@ class CloudSpaceServiceApi(object):
5932
6586
  _request_timeout=params.get('_request_timeout'),
5933
6587
  collection_formats=collection_formats)
5934
6588
 
6589
+ def cloud_space_service_should_start_syncing(self, project_id: 'str', id: 'str', **kwargs) -> 'V1ShouldStartSyncingResponse': # noqa: E501
6590
+ """cloud_space_service_should_start_syncing # noqa: E501
6591
+
6592
+ This method makes a synchronous HTTP request by default. To make an
6593
+ asynchronous HTTP request, please pass async_req=True
6594
+ >>> thread = api.cloud_space_service_should_start_syncing(project_id, id, async_req=True)
6595
+ >>> result = thread.get()
6596
+
6597
+ :param async_req bool
6598
+ :param str project_id: (required)
6599
+ :param str id: (required)
6600
+ :param str instance_id:
6601
+ :return: V1ShouldStartSyncingResponse
6602
+ If the method is called asynchronously,
6603
+ returns the request thread.
6604
+ """
6605
+ kwargs['_return_http_data_only'] = True
6606
+ if kwargs.get('async_req'):
6607
+ return self.cloud_space_service_should_start_syncing_with_http_info(project_id, id, **kwargs) # noqa: E501
6608
+ else:
6609
+ (data) = self.cloud_space_service_should_start_syncing_with_http_info(project_id, id, **kwargs) # noqa: E501
6610
+ return data
6611
+
6612
+ def cloud_space_service_should_start_syncing_with_http_info(self, project_id: 'str', id: 'str', **kwargs) -> 'V1ShouldStartSyncingResponse': # noqa: E501
6613
+ """cloud_space_service_should_start_syncing # noqa: E501
6614
+
6615
+ This method makes a synchronous HTTP request by default. To make an
6616
+ asynchronous HTTP request, please pass async_req=True
6617
+ >>> thread = api.cloud_space_service_should_start_syncing_with_http_info(project_id, id, async_req=True)
6618
+ >>> result = thread.get()
6619
+
6620
+ :param async_req bool
6621
+ :param str project_id: (required)
6622
+ :param str id: (required)
6623
+ :param str instance_id:
6624
+ :return: V1ShouldStartSyncingResponse
6625
+ If the method is called asynchronously,
6626
+ returns the request thread.
6627
+ """
6628
+
6629
+ all_params = ['project_id', 'id', 'instance_id'] # noqa: E501
6630
+ all_params.append('async_req')
6631
+ all_params.append('_return_http_data_only')
6632
+ all_params.append('_preload_content')
6633
+ all_params.append('_request_timeout')
6634
+
6635
+ params = locals()
6636
+ for key, val in six.iteritems(params['kwargs']):
6637
+ if key not in all_params:
6638
+ raise TypeError(
6639
+ "Got an unexpected keyword argument '%s'"
6640
+ " to method cloud_space_service_should_start_syncing" % key
6641
+ )
6642
+ params[key] = val
6643
+ del params['kwargs']
6644
+ # verify the required parameter 'project_id' is set
6645
+ if ('project_id' not in params or
6646
+ params['project_id'] is None):
6647
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_should_start_syncing`") # noqa: E501
6648
+ # verify the required parameter 'id' is set
6649
+ if ('id' not in params or
6650
+ params['id'] is None):
6651
+ raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_should_start_syncing`") # noqa: E501
6652
+
6653
+ collection_formats = {}
6654
+
6655
+ path_params = {}
6656
+ if 'project_id' in params:
6657
+ path_params['projectId'] = params['project_id'] # noqa: E501
6658
+ if 'id' in params:
6659
+ path_params['id'] = params['id'] # noqa: E501
6660
+
6661
+ query_params = []
6662
+ if 'instance_id' in params:
6663
+ query_params.append(('instanceId', params['instance_id'])) # noqa: E501
6664
+
6665
+ header_params = {}
6666
+
6667
+ form_params = []
6668
+ local_var_files = {}
6669
+
6670
+ body_params = None
6671
+ # HTTP header `Accept`
6672
+ header_params['Accept'] = self.api_client.select_header_accept(
6673
+ ['application/json']) # noqa: E501
6674
+
6675
+ # Authentication setting
6676
+ auth_settings = [] # noqa: E501
6677
+
6678
+ return self.api_client.call_api(
6679
+ '/v1/projects/{projectId}/cloudspaces/{id}/should-start-syncing', 'GET',
6680
+ path_params,
6681
+ query_params,
6682
+ header_params,
6683
+ body=body_params,
6684
+ post_params=form_params,
6685
+ files=local_var_files,
6686
+ response_type='V1ShouldStartSyncingResponse', # noqa: E501
6687
+ auth_settings=auth_settings,
6688
+ async_req=params.get('async_req'),
6689
+ _return_http_data_only=params.get('_return_http_data_only'),
6690
+ _preload_content=params.get('_preload_content', True),
6691
+ _request_timeout=params.get('_request_timeout'),
6692
+ collection_formats=collection_formats)
6693
+
5935
6694
  def cloud_space_service_start_cloud_space_instance(self, body: 'IdStartBody', project_id: 'str', id: 'str', **kwargs) -> 'V1StartCloudSpaceInstanceResponse': # noqa: E501
5936
6695
  """cloud_space_service_start_cloud_space_instance # noqa: E501
5937
6696
 
@@ -6804,42 +7563,42 @@ class CloudSpaceServiceApi(object):
6804
7563
  _request_timeout=params.get('_request_timeout'),
6805
7564
  collection_formats=collection_formats)
6806
7565
 
6807
- def cloud_space_service_update_cloud_space_endpoint(self, body: 'IdEndpointBody', project_id: 'str', id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
6808
- """cloud_space_service_update_cloud_space_endpoint # noqa: E501
7566
+ def cloud_space_service_update_cloud_space_index(self, body: 'IdIndexBody', project_id: 'str', id: 'str', **kwargs) -> 'V1UpdateIndexResponse': # noqa: E501
7567
+ """cloud_space_service_update_cloud_space_index # noqa: E501
6809
7568
 
6810
7569
  This method makes a synchronous HTTP request by default. To make an
6811
7570
  asynchronous HTTP request, please pass async_req=True
6812
- >>> thread = api.cloud_space_service_update_cloud_space_endpoint(body, project_id, id, async_req=True)
7571
+ >>> thread = api.cloud_space_service_update_cloud_space_index(body, project_id, id, async_req=True)
6813
7572
  >>> result = thread.get()
6814
7573
 
6815
7574
  :param async_req bool
6816
- :param IdEndpointBody body: (required)
7575
+ :param IdIndexBody body: (required)
6817
7576
  :param str project_id: (required)
6818
7577
  :param str id: (required)
6819
- :return: V1Endpoint
7578
+ :return: V1UpdateIndexResponse
6820
7579
  If the method is called asynchronously,
6821
7580
  returns the request thread.
6822
7581
  """
6823
7582
  kwargs['_return_http_data_only'] = True
6824
7583
  if kwargs.get('async_req'):
6825
- return self.cloud_space_service_update_cloud_space_endpoint_with_http_info(body, project_id, id, **kwargs) # noqa: E501
7584
+ return self.cloud_space_service_update_cloud_space_index_with_http_info(body, project_id, id, **kwargs) # noqa: E501
6826
7585
  else:
6827
- (data) = self.cloud_space_service_update_cloud_space_endpoint_with_http_info(body, project_id, id, **kwargs) # noqa: E501
7586
+ (data) = self.cloud_space_service_update_cloud_space_index_with_http_info(body, project_id, id, **kwargs) # noqa: E501
6828
7587
  return data
6829
7588
 
6830
- def cloud_space_service_update_cloud_space_endpoint_with_http_info(self, body: 'IdEndpointBody', project_id: 'str', id: 'str', **kwargs) -> 'V1Endpoint': # noqa: E501
6831
- """cloud_space_service_update_cloud_space_endpoint # noqa: E501
7589
+ def cloud_space_service_update_cloud_space_index_with_http_info(self, body: 'IdIndexBody', project_id: 'str', id: 'str', **kwargs) -> 'V1UpdateIndexResponse': # noqa: E501
7590
+ """cloud_space_service_update_cloud_space_index # noqa: E501
6832
7591
 
6833
7592
  This method makes a synchronous HTTP request by default. To make an
6834
7593
  asynchronous HTTP request, please pass async_req=True
6835
- >>> thread = api.cloud_space_service_update_cloud_space_endpoint_with_http_info(body, project_id, id, async_req=True)
7594
+ >>> thread = api.cloud_space_service_update_cloud_space_index_with_http_info(body, project_id, id, async_req=True)
6836
7595
  >>> result = thread.get()
6837
7596
 
6838
7597
  :param async_req bool
6839
- :param IdEndpointBody body: (required)
7598
+ :param IdIndexBody body: (required)
6840
7599
  :param str project_id: (required)
6841
7600
  :param str id: (required)
6842
- :return: V1Endpoint
7601
+ :return: V1UpdateIndexResponse
6843
7602
  If the method is called asynchronously,
6844
7603
  returns the request thread.
6845
7604
  """
@@ -6855,22 +7614,22 @@ class CloudSpaceServiceApi(object):
6855
7614
  if key not in all_params:
6856
7615
  raise TypeError(
6857
7616
  "Got an unexpected keyword argument '%s'"
6858
- " to method cloud_space_service_update_cloud_space_endpoint" % key
7617
+ " to method cloud_space_service_update_cloud_space_index" % key
6859
7618
  )
6860
7619
  params[key] = val
6861
7620
  del params['kwargs']
6862
7621
  # verify the required parameter 'body' is set
6863
7622
  if ('body' not in params or
6864
7623
  params['body'] is None):
6865
- raise ValueError("Missing the required parameter `body` when calling `cloud_space_service_update_cloud_space_endpoint`") # noqa: E501
7624
+ raise ValueError("Missing the required parameter `body` when calling `cloud_space_service_update_cloud_space_index`") # noqa: E501
6866
7625
  # verify the required parameter 'project_id' is set
6867
7626
  if ('project_id' not in params or
6868
7627
  params['project_id'] is None):
6869
- raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_update_cloud_space_endpoint`") # noqa: E501
7628
+ raise ValueError("Missing the required parameter `project_id` when calling `cloud_space_service_update_cloud_space_index`") # noqa: E501
6870
7629
  # verify the required parameter 'id' is set
6871
7630
  if ('id' not in params or
6872
7631
  params['id'] is None):
6873
- raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_update_cloud_space_endpoint`") # noqa: E501
7632
+ raise ValueError("Missing the required parameter `id` when calling `cloud_space_service_update_cloud_space_index`") # noqa: E501
6874
7633
 
6875
7634
  collection_formats = {}
6876
7635
 
@@ -6902,14 +7661,14 @@ class CloudSpaceServiceApi(object):
6902
7661
  auth_settings = [] # noqa: E501
6903
7662
 
6904
7663
  return self.api_client.call_api(
6905
- '/v1/projects/{projectId}/cloudspaces/{id}/endpoint', 'PUT',
7664
+ '/v1/projects/{projectId}/cloudspaces/{id}/index', 'PUT',
6906
7665
  path_params,
6907
7666
  query_params,
6908
7667
  header_params,
6909
7668
  body=body_params,
6910
7669
  post_params=form_params,
6911
7670
  files=local_var_files,
6912
- response_type='V1Endpoint', # noqa: E501
7671
+ response_type='V1UpdateIndexResponse', # noqa: E501
6913
7672
  auth_settings=auth_settings,
6914
7673
  async_req=params.get('async_req'),
6915
7674
  _return_http_data_only=params.get('_return_http_data_only'),