byteplus-python-sdk-v2 3.0.59__py2.py3-none-any.whl → 3.0.61__py2.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 (102) hide show
  1. {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/METADATA +3 -1
  2. {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/RECORD +102 -63
  3. byteplussdkaidap/__init__.py +35 -0
  4. byteplussdkaidap/api/aidap_api.py +1177 -13
  5. byteplussdkaidap/models/__init__.py +35 -0
  6. byteplussdkaidap/models/bind_pages_project_request.py +230 -0
  7. byteplussdkaidap/models/bind_pages_project_response.py +95 -0
  8. byteplussdkaidap/models/binding_for_describe_pages_binding_output.py +253 -0
  9. byteplussdkaidap/models/branch_settings_for_create_branch_input.py +29 -3
  10. byteplussdkaidap/models/branch_usage_for_create_branch_output.py +79 -1
  11. byteplussdkaidap/models/branch_usage_for_describe_branch_detail_output.py +79 -1
  12. byteplussdkaidap/models/branch_usage_for_describe_branches_list_output.py +79 -1
  13. byteplussdkaidap/models/branch_usage_for_describe_branches_output.py +79 -1
  14. byteplussdkaidap/models/branch_usage_for_describe_child_branches_output.py +79 -1
  15. byteplussdkaidap/models/branch_usage_for_describe_default_branch_list_output.py +79 -1
  16. byteplussdkaidap/models/branch_usage_for_describe_default_branch_output.py +79 -1
  17. byteplussdkaidap/models/branch_usage_for_describe_restorable_branches_output.py +79 -1
  18. byteplussdkaidap/models/branch_usage_for_reset_branch_output.py +79 -1
  19. byteplussdkaidap/models/branch_usage_for_set_as_default_branch_output.py +79 -1
  20. byteplussdkaidap/models/branch_usage_for_update_branch_output.py +79 -1
  21. byteplussdkaidap/models/create_sql_concurrency_control_rule_request.py +442 -0
  22. byteplussdkaidap/models/create_sql_concurrency_control_rule_response.py +175 -0
  23. byteplussdkaidap/models/custom_quota_for_describe_baas_ai_user_summaries_output.py +27 -1
  24. byteplussdkaidap/models/custom_quota_for_modify_baas_ai_user_quotas_input.py +27 -1
  25. byteplussdkaidap/models/delete_sql_concurrency_control_rule_request.py +238 -0
  26. byteplussdkaidap/models/delete_sql_concurrency_control_rule_response.py +149 -0
  27. byteplussdkaidap/models/describe_pages_binding_request.py +151 -0
  28. byteplussdkaidap/models/describe_pages_binding_response.py +149 -0
  29. byteplussdkaidap/models/describe_sql_concurrency_control_rules_request.py +466 -0
  30. byteplussdkaidap/models/describe_sql_concurrency_control_rules_response.py +201 -0
  31. byteplussdkaidap/models/describe_workspaces_request.py +27 -1
  32. byteplussdkaidap/models/describe_workspaces_response.py +53 -1
  33. byteplussdkaidap/models/limit_config_for_create_sql_concurrency_control_rule_input.py +260 -0
  34. byteplussdkaidap/models/limit_config_for_modify_sql_concurrency_control_rule_input.py +260 -0
  35. byteplussdkaidap/models/list_pages_project_request.py +227 -0
  36. byteplussdkaidap/models/list_pages_project_response.py +201 -0
  37. byteplussdkaidap/models/match_for_create_sql_concurrency_control_rule_input.py +182 -0
  38. byteplussdkaidap/models/modify_compute_parameters_request.py +243 -0
  39. byteplussdkaidap/models/modify_compute_parameters_response.py +95 -0
  40. byteplussdkaidap/models/modify_compute_spec_request.py +34 -1
  41. byteplussdkaidap/models/modify_sql_concurrency_control_rule_request.py +264 -0
  42. byteplussdkaidap/models/modify_sql_concurrency_control_rule_response.py +149 -0
  43. byteplussdkaidap/models/pages_project_for_describe_pages_binding_output.py +357 -0
  44. byteplussdkaidap/models/parameter_for_modify_compute_parameters_input.py +149 -0
  45. byteplussdkaidap/models/project_for_list_pages_project_output.py +357 -0
  46. byteplussdkaidap/models/restore_settings_for_branch_restore_input.py +27 -1
  47. byteplussdkaidap/models/rule_for_describe_sql_concurrency_control_rules_output.py +565 -0
  48. byteplussdkaidap/models/start_workspace_request.py +27 -1
  49. byteplussdkaidap/models/supabase_binding_for_describe_pages_binding_output.py +253 -0
  50. byteplussdkaidap/models/supabase_binding_for_list_pages_project_output.py +253 -0
  51. byteplussdkaidap/models/suspend_workspace_request.py +124 -0
  52. byteplussdkaidap/models/suspend_workspace_response.py +95 -0
  53. byteplussdkaidap/models/switch_sql_concurrency_control_rule_request.py +265 -0
  54. byteplussdkaidap/models/switch_sql_concurrency_control_rule_response.py +149 -0
  55. byteplussdkaidap/models/sync_pages_deploy_env_vars_request.py +178 -0
  56. byteplussdkaidap/models/sync_pages_deploy_env_vars_response.py +95 -0
  57. byteplussdkaidap/models/unbind_pages_project_request.py +151 -0
  58. byteplussdkaidap/models/unbind_pages_project_response.py +95 -0
  59. byteplussdkaidap/models/usage_for_describe_baas_ai_user_summaries_output.py +53 -1
  60. byteplussdkaidap/models/user_default_quota_for_describe_baas_ai_global_quota_output.py +27 -1
  61. byteplussdkaidap/models/user_default_quota_for_modify_baas_ai_global_quota_input.py +27 -1
  62. byteplussdkaidap/models/volc_supabase_filter_for_list_pages_project_input.py +149 -0
  63. byteplussdkaidap/models/workspace_usage_for_create_workspace_output.py +81 -3
  64. byteplussdkaidap/models/workspace_usage_for_describe_workspace_detail_list_output.py +81 -3
  65. byteplussdkaidap/models/workspace_usage_for_describe_workspace_detail_output.py +81 -3
  66. byteplussdkaidap/models/workspace_usage_for_describe_workspaces_output.py +81 -3
  67. byteplussdkaidap/models/workspace_usage_for_list_workspace_usage_top_output.py +81 -3
  68. byteplussdkaidap/models/workspace_usage_for_modify_compute_settings_output.py +81 -3
  69. byteplussdkaidap/models/workspace_usage_for_modify_workspace_name_output.py +81 -3
  70. byteplussdkaidap/models/workspace_usage_for_modify_workspace_settings_output.py +81 -3
  71. byteplussdkcore/api_client.py +18 -14
  72. byteplussdkcore/auth/providers/sts_provider.py +0 -2
  73. byteplussdkcore/configuration.py +91 -21
  74. byteplussdkcore/interceptor/chain.py +23 -0
  75. byteplussdkcore/interceptor/interceptors/build_request_interceptor.py +2 -0
  76. byteplussdkcore/interceptor/interceptors/interceptor.py +2 -0
  77. byteplussdkcore/interceptor/interceptors/request.py +7 -2
  78. byteplussdkcore/interceptor/interceptors/resolve_endpoint_interceptor.py +2 -0
  79. byteplussdkcore/interceptor/interceptors/runtime_options_interceptor.py +28 -15
  80. byteplussdkcore/interceptor/interceptors/sign_request_interceptor.py +20 -0
  81. byteplussdkcore/retryer/retryer.py +89 -10
  82. byteplussdkcr/__init__.py +4 -0
  83. byteplussdkcr/api/cr_api.py +194 -0
  84. byteplussdkcr/models/__init__.py +4 -0
  85. byteplussdkcr/models/create_namespace_request.py +55 -3
  86. byteplussdkcr/models/create_registry_response.py +29 -1
  87. byteplussdkcr/models/filter_for_list_registries_input.py +27 -1
  88. byteplussdkcr/models/get_authorization_token_request.py +27 -1
  89. byteplussdkcr/models/proxy_cache_for_list_registries_output.py +81 -3
  90. byteplussdkcr/models/update_public_endpoint_request.py +27 -1
  91. byteplussdkcr/models/update_registry_request.py +176 -0
  92. byteplussdkcr/models/update_registry_response.py +95 -0
  93. byteplussdkcr/models/update_tag_description_request.py +244 -0
  94. byteplussdkcr/models/update_tag_description_response.py +95 -0
  95. byteplussdkcr/models/vpc_for_update_vpc_endpoint_input.py +27 -1
  96. byteplussdkllmshield/__init__.py +8 -0
  97. byteplussdkllmshield/api/llm_shield_sdk_v2.py +53 -5
  98. byteplussdkllmshield/models/llm_shield_sign.py +3 -3
  99. {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/WHEEL +0 -0
  100. {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/licenses/LICENSE.txt +0 -0
  101. {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/licenses/NOTICE.md +0 -0
  102. {byteplus_python_sdk_v2-3.0.59.dist-info → byteplus_python_sdk_v2-3.0.61.dist-info}/top_level.txt +0 -0
@@ -227,6 +227,103 @@ class AIDAPApi(object):
227
227
  _request_timeout=params.get('_request_timeout'),
228
228
  collection_formats=collection_formats)
229
229
 
230
+ def bind_pages_project(self, body, **kwargs): # noqa: E501
231
+ """bind_pages_project # noqa: E501
232
+
233
+ This method makes a synchronous HTTP request by default. To make an
234
+ asynchronous HTTP request, please pass async_req=True
235
+ >>> thread = api.bind_pages_project(body, async_req=True)
236
+ >>> result = thread.get()
237
+
238
+ :param async_req bool
239
+ :param BindPagesProjectRequest body: (required)
240
+ :return: BindPagesProjectResponse
241
+ If the method is called asynchronously,
242
+ returns the request thread.
243
+ """
244
+ kwargs['_return_http_data_only'] = True
245
+ if kwargs.get('async_req'):
246
+ return self.bind_pages_project_with_http_info(body, **kwargs) # noqa: E501
247
+ else:
248
+ (data) = self.bind_pages_project_with_http_info(body, **kwargs) # noqa: E501
249
+ return data
250
+
251
+ def bind_pages_project_with_http_info(self, body, **kwargs): # noqa: E501
252
+ """bind_pages_project # noqa: E501
253
+
254
+ This method makes a synchronous HTTP request by default. To make an
255
+ asynchronous HTTP request, please pass async_req=True
256
+ >>> thread = api.bind_pages_project_with_http_info(body, async_req=True)
257
+ >>> result = thread.get()
258
+
259
+ :param async_req bool
260
+ :param BindPagesProjectRequest body: (required)
261
+ :return: BindPagesProjectResponse
262
+ If the method is called asynchronously,
263
+ returns the request thread.
264
+ """
265
+
266
+ all_params = ['body'] # noqa: E501
267
+ all_params.append('async_req')
268
+ all_params.append('_return_http_data_only')
269
+ all_params.append('_preload_content')
270
+ all_params.append('_request_timeout')
271
+
272
+ params = locals()
273
+ for key, val in six.iteritems(params['kwargs']):
274
+ if key not in all_params:
275
+ raise TypeError(
276
+ "Got an unexpected keyword argument '%s'"
277
+ " to method bind_pages_project" % key
278
+ )
279
+ params[key] = val
280
+ del params['kwargs']
281
+ # verify the required parameter 'body' is set
282
+ if self.api_client.client_side_validation and ('body' not in params or
283
+ params['body'] is None): # noqa: E501
284
+ raise ValueError("Missing the required parameter `body` when calling `bind_pages_project`") # noqa: E501
285
+
286
+ collection_formats = {}
287
+
288
+ path_params = {}
289
+
290
+ query_params = []
291
+
292
+ header_params = {}
293
+
294
+ form_params = []
295
+ local_var_files = {}
296
+
297
+ body_params = None
298
+ if 'body' in params:
299
+ body_params = params['body']
300
+ # HTTP header `Accept`
301
+ header_params['Accept'] = self.api_client.select_header_accept(
302
+ ['application/json']) # noqa: E501
303
+
304
+ # HTTP header `Content-Type`
305
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
306
+ ['application/json']) # noqa: E501
307
+
308
+ # Authentication setting
309
+ auth_settings = ['byteplusSign'] # noqa: E501
310
+
311
+ return self.api_client.call_api(
312
+ '/BindPagesProject/2025-10-01/aidap/post/application_json/', 'POST',
313
+ path_params,
314
+ query_params,
315
+ header_params,
316
+ body=body_params,
317
+ post_params=form_params,
318
+ files=local_var_files,
319
+ response_type='BindPagesProjectResponse', # noqa: E501
320
+ auth_settings=auth_settings,
321
+ async_req=params.get('async_req'),
322
+ _return_http_data_only=params.get('_return_http_data_only'),
323
+ _preload_content=params.get('_preload_content', True),
324
+ _request_timeout=params.get('_request_timeout'),
325
+ collection_formats=collection_formats)
326
+
230
327
  def branch_restore(self, body, **kwargs): # noqa: E501
231
328
  """branch_restore # noqa: E501
232
329
 
@@ -1197,6 +1294,103 @@ class AIDAPApi(object):
1197
1294
  _request_timeout=params.get('_request_timeout'),
1198
1295
  collection_formats=collection_formats)
1199
1296
 
1297
+ def create_sql_concurrency_control_rule(self, body, **kwargs): # noqa: E501
1298
+ """create_sql_concurrency_control_rule # noqa: E501
1299
+
1300
+ This method makes a synchronous HTTP request by default. To make an
1301
+ asynchronous HTTP request, please pass async_req=True
1302
+ >>> thread = api.create_sql_concurrency_control_rule(body, async_req=True)
1303
+ >>> result = thread.get()
1304
+
1305
+ :param async_req bool
1306
+ :param CreateSQLConcurrencyControlRuleRequest body: (required)
1307
+ :return: CreateSQLConcurrencyControlRuleResponse
1308
+ If the method is called asynchronously,
1309
+ returns the request thread.
1310
+ """
1311
+ kwargs['_return_http_data_only'] = True
1312
+ if kwargs.get('async_req'):
1313
+ return self.create_sql_concurrency_control_rule_with_http_info(body, **kwargs) # noqa: E501
1314
+ else:
1315
+ (data) = self.create_sql_concurrency_control_rule_with_http_info(body, **kwargs) # noqa: E501
1316
+ return data
1317
+
1318
+ def create_sql_concurrency_control_rule_with_http_info(self, body, **kwargs): # noqa: E501
1319
+ """create_sql_concurrency_control_rule # noqa: E501
1320
+
1321
+ This method makes a synchronous HTTP request by default. To make an
1322
+ asynchronous HTTP request, please pass async_req=True
1323
+ >>> thread = api.create_sql_concurrency_control_rule_with_http_info(body, async_req=True)
1324
+ >>> result = thread.get()
1325
+
1326
+ :param async_req bool
1327
+ :param CreateSQLConcurrencyControlRuleRequest body: (required)
1328
+ :return: CreateSQLConcurrencyControlRuleResponse
1329
+ If the method is called asynchronously,
1330
+ returns the request thread.
1331
+ """
1332
+
1333
+ all_params = ['body'] # noqa: E501
1334
+ all_params.append('async_req')
1335
+ all_params.append('_return_http_data_only')
1336
+ all_params.append('_preload_content')
1337
+ all_params.append('_request_timeout')
1338
+
1339
+ params = locals()
1340
+ for key, val in six.iteritems(params['kwargs']):
1341
+ if key not in all_params:
1342
+ raise TypeError(
1343
+ "Got an unexpected keyword argument '%s'"
1344
+ " to method create_sql_concurrency_control_rule" % key
1345
+ )
1346
+ params[key] = val
1347
+ del params['kwargs']
1348
+ # verify the required parameter 'body' is set
1349
+ if self.api_client.client_side_validation and ('body' not in params or
1350
+ params['body'] is None): # noqa: E501
1351
+ raise ValueError("Missing the required parameter `body` when calling `create_sql_concurrency_control_rule`") # noqa: E501
1352
+
1353
+ collection_formats = {}
1354
+
1355
+ path_params = {}
1356
+
1357
+ query_params = []
1358
+
1359
+ header_params = {}
1360
+
1361
+ form_params = []
1362
+ local_var_files = {}
1363
+
1364
+ body_params = None
1365
+ if 'body' in params:
1366
+ body_params = params['body']
1367
+ # HTTP header `Accept`
1368
+ header_params['Accept'] = self.api_client.select_header_accept(
1369
+ ['application/json']) # noqa: E501
1370
+
1371
+ # HTTP header `Content-Type`
1372
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1373
+ ['application/json']) # noqa: E501
1374
+
1375
+ # Authentication setting
1376
+ auth_settings = ['byteplusSign'] # noqa: E501
1377
+
1378
+ return self.api_client.call_api(
1379
+ '/CreateSQLConcurrencyControlRule/2025-10-01/aidap/post/application_json/', 'POST',
1380
+ path_params,
1381
+ query_params,
1382
+ header_params,
1383
+ body=body_params,
1384
+ post_params=form_params,
1385
+ files=local_var_files,
1386
+ response_type='CreateSQLConcurrencyControlRuleResponse', # noqa: E501
1387
+ auth_settings=auth_settings,
1388
+ async_req=params.get('async_req'),
1389
+ _return_http_data_only=params.get('_return_http_data_only'),
1390
+ _preload_content=params.get('_preload_content', True),
1391
+ _request_timeout=params.get('_request_timeout'),
1392
+ collection_formats=collection_formats)
1393
+
1200
1394
  def create_workspace(self, body, **kwargs): # noqa: E501
1201
1395
  """create_workspace # noqa: E501
1202
1396
 
@@ -1876,6 +2070,103 @@ class AIDAPApi(object):
1876
2070
  _request_timeout=params.get('_request_timeout'),
1877
2071
  collection_formats=collection_formats)
1878
2072
 
2073
+ def delete_sql_concurrency_control_rule(self, body, **kwargs): # noqa: E501
2074
+ """delete_sql_concurrency_control_rule # noqa: E501
2075
+
2076
+ This method makes a synchronous HTTP request by default. To make an
2077
+ asynchronous HTTP request, please pass async_req=True
2078
+ >>> thread = api.delete_sql_concurrency_control_rule(body, async_req=True)
2079
+ >>> result = thread.get()
2080
+
2081
+ :param async_req bool
2082
+ :param DeleteSQLConcurrencyControlRuleRequest body: (required)
2083
+ :return: DeleteSQLConcurrencyControlRuleResponse
2084
+ If the method is called asynchronously,
2085
+ returns the request thread.
2086
+ """
2087
+ kwargs['_return_http_data_only'] = True
2088
+ if kwargs.get('async_req'):
2089
+ return self.delete_sql_concurrency_control_rule_with_http_info(body, **kwargs) # noqa: E501
2090
+ else:
2091
+ (data) = self.delete_sql_concurrency_control_rule_with_http_info(body, **kwargs) # noqa: E501
2092
+ return data
2093
+
2094
+ def delete_sql_concurrency_control_rule_with_http_info(self, body, **kwargs): # noqa: E501
2095
+ """delete_sql_concurrency_control_rule # noqa: E501
2096
+
2097
+ This method makes a synchronous HTTP request by default. To make an
2098
+ asynchronous HTTP request, please pass async_req=True
2099
+ >>> thread = api.delete_sql_concurrency_control_rule_with_http_info(body, async_req=True)
2100
+ >>> result = thread.get()
2101
+
2102
+ :param async_req bool
2103
+ :param DeleteSQLConcurrencyControlRuleRequest body: (required)
2104
+ :return: DeleteSQLConcurrencyControlRuleResponse
2105
+ If the method is called asynchronously,
2106
+ returns the request thread.
2107
+ """
2108
+
2109
+ all_params = ['body'] # noqa: E501
2110
+ all_params.append('async_req')
2111
+ all_params.append('_return_http_data_only')
2112
+ all_params.append('_preload_content')
2113
+ all_params.append('_request_timeout')
2114
+
2115
+ params = locals()
2116
+ for key, val in six.iteritems(params['kwargs']):
2117
+ if key not in all_params:
2118
+ raise TypeError(
2119
+ "Got an unexpected keyword argument '%s'"
2120
+ " to method delete_sql_concurrency_control_rule" % key
2121
+ )
2122
+ params[key] = val
2123
+ del params['kwargs']
2124
+ # verify the required parameter 'body' is set
2125
+ if self.api_client.client_side_validation and ('body' not in params or
2126
+ params['body'] is None): # noqa: E501
2127
+ raise ValueError("Missing the required parameter `body` when calling `delete_sql_concurrency_control_rule`") # noqa: E501
2128
+
2129
+ collection_formats = {}
2130
+
2131
+ path_params = {}
2132
+
2133
+ query_params = []
2134
+
2135
+ header_params = {}
2136
+
2137
+ form_params = []
2138
+ local_var_files = {}
2139
+
2140
+ body_params = None
2141
+ if 'body' in params:
2142
+ body_params = params['body']
2143
+ # HTTP header `Accept`
2144
+ header_params['Accept'] = self.api_client.select_header_accept(
2145
+ ['application/json']) # noqa: E501
2146
+
2147
+ # HTTP header `Content-Type`
2148
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2149
+ ['application/json']) # noqa: E501
2150
+
2151
+ # Authentication setting
2152
+ auth_settings = ['byteplusSign'] # noqa: E501
2153
+
2154
+ return self.api_client.call_api(
2155
+ '/DeleteSQLConcurrencyControlRule/2025-10-01/aidap/post/application_json/', 'POST',
2156
+ path_params,
2157
+ query_params,
2158
+ header_params,
2159
+ body=body_params,
2160
+ post_params=form_params,
2161
+ files=local_var_files,
2162
+ response_type='DeleteSQLConcurrencyControlRuleResponse', # noqa: E501
2163
+ auth_settings=auth_settings,
2164
+ async_req=params.get('async_req'),
2165
+ _return_http_data_only=params.get('_return_http_data_only'),
2166
+ _preload_content=params.get('_preload_content', True),
2167
+ _request_timeout=params.get('_request_timeout'),
2168
+ collection_formats=collection_formats)
2169
+
1879
2170
  def delete_workspace(self, body, **kwargs): # noqa: E501
1880
2171
  """delete_workspace # noqa: E501
1881
2172
 
@@ -3913,38 +4204,38 @@ class AIDAPApi(object):
3913
4204
  _request_timeout=params.get('_request_timeout'),
3914
4205
  collection_formats=collection_formats)
3915
4206
 
3916
- def describe_restorable_branches(self, body, **kwargs): # noqa: E501
3917
- """describe_restorable_branches # noqa: E501
4207
+ def describe_pages_binding(self, body, **kwargs): # noqa: E501
4208
+ """describe_pages_binding # noqa: E501
3918
4209
 
3919
4210
  This method makes a synchronous HTTP request by default. To make an
3920
4211
  asynchronous HTTP request, please pass async_req=True
3921
- >>> thread = api.describe_restorable_branches(body, async_req=True)
4212
+ >>> thread = api.describe_pages_binding(body, async_req=True)
3922
4213
  >>> result = thread.get()
3923
4214
 
3924
4215
  :param async_req bool
3925
- :param DescribeRestorableBranchesRequest body: (required)
3926
- :return: DescribeRestorableBranchesResponse
4216
+ :param DescribePagesBindingRequest body: (required)
4217
+ :return: DescribePagesBindingResponse
3927
4218
  If the method is called asynchronously,
3928
4219
  returns the request thread.
3929
4220
  """
3930
4221
  kwargs['_return_http_data_only'] = True
3931
4222
  if kwargs.get('async_req'):
3932
- return self.describe_restorable_branches_with_http_info(body, **kwargs) # noqa: E501
4223
+ return self.describe_pages_binding_with_http_info(body, **kwargs) # noqa: E501
3933
4224
  else:
3934
- (data) = self.describe_restorable_branches_with_http_info(body, **kwargs) # noqa: E501
4225
+ (data) = self.describe_pages_binding_with_http_info(body, **kwargs) # noqa: E501
3935
4226
  return data
3936
4227
 
3937
- def describe_restorable_branches_with_http_info(self, body, **kwargs): # noqa: E501
3938
- """describe_restorable_branches # noqa: E501
4228
+ def describe_pages_binding_with_http_info(self, body, **kwargs): # noqa: E501
4229
+ """describe_pages_binding # noqa: E501
3939
4230
 
3940
4231
  This method makes a synchronous HTTP request by default. To make an
3941
4232
  asynchronous HTTP request, please pass async_req=True
3942
- >>> thread = api.describe_restorable_branches_with_http_info(body, async_req=True)
4233
+ >>> thread = api.describe_pages_binding_with_http_info(body, async_req=True)
3943
4234
  >>> result = thread.get()
3944
4235
 
3945
4236
  :param async_req bool
3946
- :param DescribeRestorableBranchesRequest body: (required)
3947
- :return: DescribeRestorableBranchesResponse
4237
+ :param DescribePagesBindingRequest body: (required)
4238
+ :return: DescribePagesBindingResponse
3948
4239
  If the method is called asynchronously,
3949
4240
  returns the request thread.
3950
4241
  """
@@ -3960,7 +4251,104 @@ class AIDAPApi(object):
3960
4251
  if key not in all_params:
3961
4252
  raise TypeError(
3962
4253
  "Got an unexpected keyword argument '%s'"
3963
- " to method describe_restorable_branches" % key
4254
+ " to method describe_pages_binding" % key
4255
+ )
4256
+ params[key] = val
4257
+ del params['kwargs']
4258
+ # verify the required parameter 'body' is set
4259
+ if self.api_client.client_side_validation and ('body' not in params or
4260
+ params['body'] is None): # noqa: E501
4261
+ raise ValueError("Missing the required parameter `body` when calling `describe_pages_binding`") # noqa: E501
4262
+
4263
+ collection_formats = {}
4264
+
4265
+ path_params = {}
4266
+
4267
+ query_params = []
4268
+
4269
+ header_params = {}
4270
+
4271
+ form_params = []
4272
+ local_var_files = {}
4273
+
4274
+ body_params = None
4275
+ if 'body' in params:
4276
+ body_params = params['body']
4277
+ # HTTP header `Accept`
4278
+ header_params['Accept'] = self.api_client.select_header_accept(
4279
+ ['application/json']) # noqa: E501
4280
+
4281
+ # HTTP header `Content-Type`
4282
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4283
+ ['application/json']) # noqa: E501
4284
+
4285
+ # Authentication setting
4286
+ auth_settings = ['byteplusSign'] # noqa: E501
4287
+
4288
+ return self.api_client.call_api(
4289
+ '/DescribePagesBinding/2025-10-01/aidap/post/application_json/', 'POST',
4290
+ path_params,
4291
+ query_params,
4292
+ header_params,
4293
+ body=body_params,
4294
+ post_params=form_params,
4295
+ files=local_var_files,
4296
+ response_type='DescribePagesBindingResponse', # noqa: E501
4297
+ auth_settings=auth_settings,
4298
+ async_req=params.get('async_req'),
4299
+ _return_http_data_only=params.get('_return_http_data_only'),
4300
+ _preload_content=params.get('_preload_content', True),
4301
+ _request_timeout=params.get('_request_timeout'),
4302
+ collection_formats=collection_formats)
4303
+
4304
+ def describe_restorable_branches(self, body, **kwargs): # noqa: E501
4305
+ """describe_restorable_branches # noqa: E501
4306
+
4307
+ This method makes a synchronous HTTP request by default. To make an
4308
+ asynchronous HTTP request, please pass async_req=True
4309
+ >>> thread = api.describe_restorable_branches(body, async_req=True)
4310
+ >>> result = thread.get()
4311
+
4312
+ :param async_req bool
4313
+ :param DescribeRestorableBranchesRequest body: (required)
4314
+ :return: DescribeRestorableBranchesResponse
4315
+ If the method is called asynchronously,
4316
+ returns the request thread.
4317
+ """
4318
+ kwargs['_return_http_data_only'] = True
4319
+ if kwargs.get('async_req'):
4320
+ return self.describe_restorable_branches_with_http_info(body, **kwargs) # noqa: E501
4321
+ else:
4322
+ (data) = self.describe_restorable_branches_with_http_info(body, **kwargs) # noqa: E501
4323
+ return data
4324
+
4325
+ def describe_restorable_branches_with_http_info(self, body, **kwargs): # noqa: E501
4326
+ """describe_restorable_branches # noqa: E501
4327
+
4328
+ This method makes a synchronous HTTP request by default. To make an
4329
+ asynchronous HTTP request, please pass async_req=True
4330
+ >>> thread = api.describe_restorable_branches_with_http_info(body, async_req=True)
4331
+ >>> result = thread.get()
4332
+
4333
+ :param async_req bool
4334
+ :param DescribeRestorableBranchesRequest body: (required)
4335
+ :return: DescribeRestorableBranchesResponse
4336
+ If the method is called asynchronously,
4337
+ returns the request thread.
4338
+ """
4339
+
4340
+ all_params = ['body'] # noqa: E501
4341
+ all_params.append('async_req')
4342
+ all_params.append('_return_http_data_only')
4343
+ all_params.append('_preload_content')
4344
+ all_params.append('_request_timeout')
4345
+
4346
+ params = locals()
4347
+ for key, val in six.iteritems(params['kwargs']):
4348
+ if key not in all_params:
4349
+ raise TypeError(
4350
+ "Got an unexpected keyword argument '%s'"
4351
+ " to method describe_restorable_branches" % key
3964
4352
  )
3965
4353
  params[key] = val
3966
4354
  del params['kwargs']
@@ -4398,6 +4786,103 @@ class AIDAPApi(object):
4398
4786
  _request_timeout=params.get('_request_timeout'),
4399
4787
  collection_formats=collection_formats)
4400
4788
 
4789
+ def describe_sql_concurrency_control_rules(self, body, **kwargs): # noqa: E501
4790
+ """describe_sql_concurrency_control_rules # noqa: E501
4791
+
4792
+ This method makes a synchronous HTTP request by default. To make an
4793
+ asynchronous HTTP request, please pass async_req=True
4794
+ >>> thread = api.describe_sql_concurrency_control_rules(body, async_req=True)
4795
+ >>> result = thread.get()
4796
+
4797
+ :param async_req bool
4798
+ :param DescribeSQLConcurrencyControlRulesRequest body: (required)
4799
+ :return: DescribeSQLConcurrencyControlRulesResponse
4800
+ If the method is called asynchronously,
4801
+ returns the request thread.
4802
+ """
4803
+ kwargs['_return_http_data_only'] = True
4804
+ if kwargs.get('async_req'):
4805
+ return self.describe_sql_concurrency_control_rules_with_http_info(body, **kwargs) # noqa: E501
4806
+ else:
4807
+ (data) = self.describe_sql_concurrency_control_rules_with_http_info(body, **kwargs) # noqa: E501
4808
+ return data
4809
+
4810
+ def describe_sql_concurrency_control_rules_with_http_info(self, body, **kwargs): # noqa: E501
4811
+ """describe_sql_concurrency_control_rules # noqa: E501
4812
+
4813
+ This method makes a synchronous HTTP request by default. To make an
4814
+ asynchronous HTTP request, please pass async_req=True
4815
+ >>> thread = api.describe_sql_concurrency_control_rules_with_http_info(body, async_req=True)
4816
+ >>> result = thread.get()
4817
+
4818
+ :param async_req bool
4819
+ :param DescribeSQLConcurrencyControlRulesRequest body: (required)
4820
+ :return: DescribeSQLConcurrencyControlRulesResponse
4821
+ If the method is called asynchronously,
4822
+ returns the request thread.
4823
+ """
4824
+
4825
+ all_params = ['body'] # noqa: E501
4826
+ all_params.append('async_req')
4827
+ all_params.append('_return_http_data_only')
4828
+ all_params.append('_preload_content')
4829
+ all_params.append('_request_timeout')
4830
+
4831
+ params = locals()
4832
+ for key, val in six.iteritems(params['kwargs']):
4833
+ if key not in all_params:
4834
+ raise TypeError(
4835
+ "Got an unexpected keyword argument '%s'"
4836
+ " to method describe_sql_concurrency_control_rules" % key
4837
+ )
4838
+ params[key] = val
4839
+ del params['kwargs']
4840
+ # verify the required parameter 'body' is set
4841
+ if self.api_client.client_side_validation and ('body' not in params or
4842
+ params['body'] is None): # noqa: E501
4843
+ raise ValueError("Missing the required parameter `body` when calling `describe_sql_concurrency_control_rules`") # noqa: E501
4844
+
4845
+ collection_formats = {}
4846
+
4847
+ path_params = {}
4848
+
4849
+ query_params = []
4850
+
4851
+ header_params = {}
4852
+
4853
+ form_params = []
4854
+ local_var_files = {}
4855
+
4856
+ body_params = None
4857
+ if 'body' in params:
4858
+ body_params = params['body']
4859
+ # HTTP header `Accept`
4860
+ header_params['Accept'] = self.api_client.select_header_accept(
4861
+ ['application/json']) # noqa: E501
4862
+
4863
+ # HTTP header `Content-Type`
4864
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
4865
+ ['application/json']) # noqa: E501
4866
+
4867
+ # Authentication setting
4868
+ auth_settings = ['byteplusSign'] # noqa: E501
4869
+
4870
+ return self.api_client.call_api(
4871
+ '/DescribeSQLConcurrencyControlRules/2025-10-01/aidap/post/application_json/', 'POST',
4872
+ path_params,
4873
+ query_params,
4874
+ header_params,
4875
+ body=body_params,
4876
+ post_params=form_params,
4877
+ files=local_var_files,
4878
+ response_type='DescribeSQLConcurrencyControlRulesResponse', # noqa: E501
4879
+ auth_settings=auth_settings,
4880
+ async_req=params.get('async_req'),
4881
+ _return_http_data_only=params.get('_return_http_data_only'),
4882
+ _preload_content=params.get('_preload_content', True),
4883
+ _request_timeout=params.get('_request_timeout'),
4884
+ collection_formats=collection_formats)
4885
+
4401
4886
  def describe_supabase_deploy_env_vars(self, body, **kwargs): # noqa: E501
4402
4887
  """describe_supabase_deploy_env_vars # noqa: E501
4403
4888
 
@@ -5465,6 +5950,103 @@ class AIDAPApi(object):
5465
5950
  _request_timeout=params.get('_request_timeout'),
5466
5951
  collection_formats=collection_formats)
5467
5952
 
5953
+ def list_pages_project(self, body, **kwargs): # noqa: E501
5954
+ """list_pages_project # noqa: E501
5955
+
5956
+ This method makes a synchronous HTTP request by default. To make an
5957
+ asynchronous HTTP request, please pass async_req=True
5958
+ >>> thread = api.list_pages_project(body, async_req=True)
5959
+ >>> result = thread.get()
5960
+
5961
+ :param async_req bool
5962
+ :param ListPagesProjectRequest body: (required)
5963
+ :return: ListPagesProjectResponse
5964
+ If the method is called asynchronously,
5965
+ returns the request thread.
5966
+ """
5967
+ kwargs['_return_http_data_only'] = True
5968
+ if kwargs.get('async_req'):
5969
+ return self.list_pages_project_with_http_info(body, **kwargs) # noqa: E501
5970
+ else:
5971
+ (data) = self.list_pages_project_with_http_info(body, **kwargs) # noqa: E501
5972
+ return data
5973
+
5974
+ def list_pages_project_with_http_info(self, body, **kwargs): # noqa: E501
5975
+ """list_pages_project # noqa: E501
5976
+
5977
+ This method makes a synchronous HTTP request by default. To make an
5978
+ asynchronous HTTP request, please pass async_req=True
5979
+ >>> thread = api.list_pages_project_with_http_info(body, async_req=True)
5980
+ >>> result = thread.get()
5981
+
5982
+ :param async_req bool
5983
+ :param ListPagesProjectRequest body: (required)
5984
+ :return: ListPagesProjectResponse
5985
+ If the method is called asynchronously,
5986
+ returns the request thread.
5987
+ """
5988
+
5989
+ all_params = ['body'] # noqa: E501
5990
+ all_params.append('async_req')
5991
+ all_params.append('_return_http_data_only')
5992
+ all_params.append('_preload_content')
5993
+ all_params.append('_request_timeout')
5994
+
5995
+ params = locals()
5996
+ for key, val in six.iteritems(params['kwargs']):
5997
+ if key not in all_params:
5998
+ raise TypeError(
5999
+ "Got an unexpected keyword argument '%s'"
6000
+ " to method list_pages_project" % key
6001
+ )
6002
+ params[key] = val
6003
+ del params['kwargs']
6004
+ # verify the required parameter 'body' is set
6005
+ if self.api_client.client_side_validation and ('body' not in params or
6006
+ params['body'] is None): # noqa: E501
6007
+ raise ValueError("Missing the required parameter `body` when calling `list_pages_project`") # noqa: E501
6008
+
6009
+ collection_formats = {}
6010
+
6011
+ path_params = {}
6012
+
6013
+ query_params = []
6014
+
6015
+ header_params = {}
6016
+
6017
+ form_params = []
6018
+ local_var_files = {}
6019
+
6020
+ body_params = None
6021
+ if 'body' in params:
6022
+ body_params = params['body']
6023
+ # HTTP header `Accept`
6024
+ header_params['Accept'] = self.api_client.select_header_accept(
6025
+ ['application/json']) # noqa: E501
6026
+
6027
+ # HTTP header `Content-Type`
6028
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
6029
+ ['application/json']) # noqa: E501
6030
+
6031
+ # Authentication setting
6032
+ auth_settings = ['byteplusSign'] # noqa: E501
6033
+
6034
+ return self.api_client.call_api(
6035
+ '/ListPagesProject/2025-10-01/aidap/post/application_json/', 'POST',
6036
+ path_params,
6037
+ query_params,
6038
+ header_params,
6039
+ body=body_params,
6040
+ post_params=form_params,
6041
+ files=local_var_files,
6042
+ response_type='ListPagesProjectResponse', # noqa: E501
6043
+ auth_settings=auth_settings,
6044
+ async_req=params.get('async_req'),
6045
+ _return_http_data_only=params.get('_return_http_data_only'),
6046
+ _preload_content=params.get('_preload_content', True),
6047
+ _request_timeout=params.get('_request_timeout'),
6048
+ collection_formats=collection_formats)
6049
+
5468
6050
  def list_workspace_usage_top(self, body, **kwargs): # noqa: E501
5469
6051
  """list_workspace_usage_top # noqa: E501
5470
6052
 
@@ -6047,6 +6629,103 @@ class AIDAPApi(object):
6047
6629
  _request_timeout=params.get('_request_timeout'),
6048
6630
  collection_formats=collection_formats)
6049
6631
 
6632
+ def modify_compute_parameters(self, body, **kwargs): # noqa: E501
6633
+ """modify_compute_parameters # noqa: E501
6634
+
6635
+ This method makes a synchronous HTTP request by default. To make an
6636
+ asynchronous HTTP request, please pass async_req=True
6637
+ >>> thread = api.modify_compute_parameters(body, async_req=True)
6638
+ >>> result = thread.get()
6639
+
6640
+ :param async_req bool
6641
+ :param ModifyComputeParametersRequest body: (required)
6642
+ :return: ModifyComputeParametersResponse
6643
+ If the method is called asynchronously,
6644
+ returns the request thread.
6645
+ """
6646
+ kwargs['_return_http_data_only'] = True
6647
+ if kwargs.get('async_req'):
6648
+ return self.modify_compute_parameters_with_http_info(body, **kwargs) # noqa: E501
6649
+ else:
6650
+ (data) = self.modify_compute_parameters_with_http_info(body, **kwargs) # noqa: E501
6651
+ return data
6652
+
6653
+ def modify_compute_parameters_with_http_info(self, body, **kwargs): # noqa: E501
6654
+ """modify_compute_parameters # noqa: E501
6655
+
6656
+ This method makes a synchronous HTTP request by default. To make an
6657
+ asynchronous HTTP request, please pass async_req=True
6658
+ >>> thread = api.modify_compute_parameters_with_http_info(body, async_req=True)
6659
+ >>> result = thread.get()
6660
+
6661
+ :param async_req bool
6662
+ :param ModifyComputeParametersRequest body: (required)
6663
+ :return: ModifyComputeParametersResponse
6664
+ If the method is called asynchronously,
6665
+ returns the request thread.
6666
+ """
6667
+
6668
+ all_params = ['body'] # noqa: E501
6669
+ all_params.append('async_req')
6670
+ all_params.append('_return_http_data_only')
6671
+ all_params.append('_preload_content')
6672
+ all_params.append('_request_timeout')
6673
+
6674
+ params = locals()
6675
+ for key, val in six.iteritems(params['kwargs']):
6676
+ if key not in all_params:
6677
+ raise TypeError(
6678
+ "Got an unexpected keyword argument '%s'"
6679
+ " to method modify_compute_parameters" % key
6680
+ )
6681
+ params[key] = val
6682
+ del params['kwargs']
6683
+ # verify the required parameter 'body' is set
6684
+ if self.api_client.client_side_validation and ('body' not in params or
6685
+ params['body'] is None): # noqa: E501
6686
+ raise ValueError("Missing the required parameter `body` when calling `modify_compute_parameters`") # noqa: E501
6687
+
6688
+ collection_formats = {}
6689
+
6690
+ path_params = {}
6691
+
6692
+ query_params = []
6693
+
6694
+ header_params = {}
6695
+
6696
+ form_params = []
6697
+ local_var_files = {}
6698
+
6699
+ body_params = None
6700
+ if 'body' in params:
6701
+ body_params = params['body']
6702
+ # HTTP header `Accept`
6703
+ header_params['Accept'] = self.api_client.select_header_accept(
6704
+ ['application/json']) # noqa: E501
6705
+
6706
+ # HTTP header `Content-Type`
6707
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
6708
+ ['application/json']) # noqa: E501
6709
+
6710
+ # Authentication setting
6711
+ auth_settings = ['byteplusSign'] # noqa: E501
6712
+
6713
+ return self.api_client.call_api(
6714
+ '/ModifyComputeParameters/2025-10-01/aidap/post/application_json/', 'POST',
6715
+ path_params,
6716
+ query_params,
6717
+ header_params,
6718
+ body=body_params,
6719
+ post_params=form_params,
6720
+ files=local_var_files,
6721
+ response_type='ModifyComputeParametersResponse', # noqa: E501
6722
+ auth_settings=auth_settings,
6723
+ async_req=params.get('async_req'),
6724
+ _return_http_data_only=params.get('_return_http_data_only'),
6725
+ _preload_content=params.get('_preload_content', True),
6726
+ _request_timeout=params.get('_request_timeout'),
6727
+ collection_formats=collection_formats)
6728
+
6050
6729
  def modify_compute_settings(self, body, **kwargs): # noqa: E501
6051
6730
  """modify_compute_settings # noqa: E501
6052
6731
 
@@ -6241,6 +6920,103 @@ class AIDAPApi(object):
6241
6920
  _request_timeout=params.get('_request_timeout'),
6242
6921
  collection_formats=collection_formats)
6243
6922
 
6923
+ def modify_sql_concurrency_control_rule(self, body, **kwargs): # noqa: E501
6924
+ """modify_sql_concurrency_control_rule # noqa: E501
6925
+
6926
+ This method makes a synchronous HTTP request by default. To make an
6927
+ asynchronous HTTP request, please pass async_req=True
6928
+ >>> thread = api.modify_sql_concurrency_control_rule(body, async_req=True)
6929
+ >>> result = thread.get()
6930
+
6931
+ :param async_req bool
6932
+ :param ModifySQLConcurrencyControlRuleRequest body: (required)
6933
+ :return: ModifySQLConcurrencyControlRuleResponse
6934
+ If the method is called asynchronously,
6935
+ returns the request thread.
6936
+ """
6937
+ kwargs['_return_http_data_only'] = True
6938
+ if kwargs.get('async_req'):
6939
+ return self.modify_sql_concurrency_control_rule_with_http_info(body, **kwargs) # noqa: E501
6940
+ else:
6941
+ (data) = self.modify_sql_concurrency_control_rule_with_http_info(body, **kwargs) # noqa: E501
6942
+ return data
6943
+
6944
+ def modify_sql_concurrency_control_rule_with_http_info(self, body, **kwargs): # noqa: E501
6945
+ """modify_sql_concurrency_control_rule # noqa: E501
6946
+
6947
+ This method makes a synchronous HTTP request by default. To make an
6948
+ asynchronous HTTP request, please pass async_req=True
6949
+ >>> thread = api.modify_sql_concurrency_control_rule_with_http_info(body, async_req=True)
6950
+ >>> result = thread.get()
6951
+
6952
+ :param async_req bool
6953
+ :param ModifySQLConcurrencyControlRuleRequest body: (required)
6954
+ :return: ModifySQLConcurrencyControlRuleResponse
6955
+ If the method is called asynchronously,
6956
+ returns the request thread.
6957
+ """
6958
+
6959
+ all_params = ['body'] # noqa: E501
6960
+ all_params.append('async_req')
6961
+ all_params.append('_return_http_data_only')
6962
+ all_params.append('_preload_content')
6963
+ all_params.append('_request_timeout')
6964
+
6965
+ params = locals()
6966
+ for key, val in six.iteritems(params['kwargs']):
6967
+ if key not in all_params:
6968
+ raise TypeError(
6969
+ "Got an unexpected keyword argument '%s'"
6970
+ " to method modify_sql_concurrency_control_rule" % key
6971
+ )
6972
+ params[key] = val
6973
+ del params['kwargs']
6974
+ # verify the required parameter 'body' is set
6975
+ if self.api_client.client_side_validation and ('body' not in params or
6976
+ params['body'] is None): # noqa: E501
6977
+ raise ValueError("Missing the required parameter `body` when calling `modify_sql_concurrency_control_rule`") # noqa: E501
6978
+
6979
+ collection_formats = {}
6980
+
6981
+ path_params = {}
6982
+
6983
+ query_params = []
6984
+
6985
+ header_params = {}
6986
+
6987
+ form_params = []
6988
+ local_var_files = {}
6989
+
6990
+ body_params = None
6991
+ if 'body' in params:
6992
+ body_params = params['body']
6993
+ # HTTP header `Accept`
6994
+ header_params['Accept'] = self.api_client.select_header_accept(
6995
+ ['application/json']) # noqa: E501
6996
+
6997
+ # HTTP header `Content-Type`
6998
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
6999
+ ['application/json']) # noqa: E501
7000
+
7001
+ # Authentication setting
7002
+ auth_settings = ['byteplusSign'] # noqa: E501
7003
+
7004
+ return self.api_client.call_api(
7005
+ '/ModifySQLConcurrencyControlRule/2025-10-01/aidap/post/application_json/', 'POST',
7006
+ path_params,
7007
+ query_params,
7008
+ header_params,
7009
+ body=body_params,
7010
+ post_params=form_params,
7011
+ files=local_var_files,
7012
+ response_type='ModifySQLConcurrencyControlRuleResponse', # noqa: E501
7013
+ auth_settings=auth_settings,
7014
+ async_req=params.get('async_req'),
7015
+ _return_http_data_only=params.get('_return_http_data_only'),
7016
+ _preload_content=params.get('_preload_content', True),
7017
+ _request_timeout=params.get('_request_timeout'),
7018
+ collection_formats=collection_formats)
7019
+
6244
7020
  def modify_vpc_settings(self, body, **kwargs): # noqa: E501
6245
7021
  """modify_vpc_settings # noqa: E501
6246
7022
 
@@ -7502,6 +8278,394 @@ class AIDAPApi(object):
7502
8278
  _request_timeout=params.get('_request_timeout'),
7503
8279
  collection_formats=collection_formats)
7504
8280
 
8281
+ def suspend_workspace(self, body, **kwargs): # noqa: E501
8282
+ """suspend_workspace # noqa: E501
8283
+
8284
+ This method makes a synchronous HTTP request by default. To make an
8285
+ asynchronous HTTP request, please pass async_req=True
8286
+ >>> thread = api.suspend_workspace(body, async_req=True)
8287
+ >>> result = thread.get()
8288
+
8289
+ :param async_req bool
8290
+ :param SuspendWorkspaceRequest body: (required)
8291
+ :return: SuspendWorkspaceResponse
8292
+ If the method is called asynchronously,
8293
+ returns the request thread.
8294
+ """
8295
+ kwargs['_return_http_data_only'] = True
8296
+ if kwargs.get('async_req'):
8297
+ return self.suspend_workspace_with_http_info(body, **kwargs) # noqa: E501
8298
+ else:
8299
+ (data) = self.suspend_workspace_with_http_info(body, **kwargs) # noqa: E501
8300
+ return data
8301
+
8302
+ def suspend_workspace_with_http_info(self, body, **kwargs): # noqa: E501
8303
+ """suspend_workspace # noqa: E501
8304
+
8305
+ This method makes a synchronous HTTP request by default. To make an
8306
+ asynchronous HTTP request, please pass async_req=True
8307
+ >>> thread = api.suspend_workspace_with_http_info(body, async_req=True)
8308
+ >>> result = thread.get()
8309
+
8310
+ :param async_req bool
8311
+ :param SuspendWorkspaceRequest body: (required)
8312
+ :return: SuspendWorkspaceResponse
8313
+ If the method is called asynchronously,
8314
+ returns the request thread.
8315
+ """
8316
+
8317
+ all_params = ['body'] # noqa: E501
8318
+ all_params.append('async_req')
8319
+ all_params.append('_return_http_data_only')
8320
+ all_params.append('_preload_content')
8321
+ all_params.append('_request_timeout')
8322
+
8323
+ params = locals()
8324
+ for key, val in six.iteritems(params['kwargs']):
8325
+ if key not in all_params:
8326
+ raise TypeError(
8327
+ "Got an unexpected keyword argument '%s'"
8328
+ " to method suspend_workspace" % key
8329
+ )
8330
+ params[key] = val
8331
+ del params['kwargs']
8332
+ # verify the required parameter 'body' is set
8333
+ if self.api_client.client_side_validation and ('body' not in params or
8334
+ params['body'] is None): # noqa: E501
8335
+ raise ValueError("Missing the required parameter `body` when calling `suspend_workspace`") # noqa: E501
8336
+
8337
+ collection_formats = {}
8338
+
8339
+ path_params = {}
8340
+
8341
+ query_params = []
8342
+
8343
+ header_params = {}
8344
+
8345
+ form_params = []
8346
+ local_var_files = {}
8347
+
8348
+ body_params = None
8349
+ if 'body' in params:
8350
+ body_params = params['body']
8351
+ # HTTP header `Accept`
8352
+ header_params['Accept'] = self.api_client.select_header_accept(
8353
+ ['application/json']) # noqa: E501
8354
+
8355
+ # HTTP header `Content-Type`
8356
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
8357
+ ['application/json']) # noqa: E501
8358
+
8359
+ # Authentication setting
8360
+ auth_settings = ['byteplusSign'] # noqa: E501
8361
+
8362
+ return self.api_client.call_api(
8363
+ '/SuspendWorkspace/2025-10-01/aidap/post/application_json/', 'POST',
8364
+ path_params,
8365
+ query_params,
8366
+ header_params,
8367
+ body=body_params,
8368
+ post_params=form_params,
8369
+ files=local_var_files,
8370
+ response_type='SuspendWorkspaceResponse', # noqa: E501
8371
+ auth_settings=auth_settings,
8372
+ async_req=params.get('async_req'),
8373
+ _return_http_data_only=params.get('_return_http_data_only'),
8374
+ _preload_content=params.get('_preload_content', True),
8375
+ _request_timeout=params.get('_request_timeout'),
8376
+ collection_formats=collection_formats)
8377
+
8378
+ def switch_sql_concurrency_control_rule(self, body, **kwargs): # noqa: E501
8379
+ """switch_sql_concurrency_control_rule # noqa: E501
8380
+
8381
+ This method makes a synchronous HTTP request by default. To make an
8382
+ asynchronous HTTP request, please pass async_req=True
8383
+ >>> thread = api.switch_sql_concurrency_control_rule(body, async_req=True)
8384
+ >>> result = thread.get()
8385
+
8386
+ :param async_req bool
8387
+ :param SwitchSQLConcurrencyControlRuleRequest body: (required)
8388
+ :return: SwitchSQLConcurrencyControlRuleResponse
8389
+ If the method is called asynchronously,
8390
+ returns the request thread.
8391
+ """
8392
+ kwargs['_return_http_data_only'] = True
8393
+ if kwargs.get('async_req'):
8394
+ return self.switch_sql_concurrency_control_rule_with_http_info(body, **kwargs) # noqa: E501
8395
+ else:
8396
+ (data) = self.switch_sql_concurrency_control_rule_with_http_info(body, **kwargs) # noqa: E501
8397
+ return data
8398
+
8399
+ def switch_sql_concurrency_control_rule_with_http_info(self, body, **kwargs): # noqa: E501
8400
+ """switch_sql_concurrency_control_rule # noqa: E501
8401
+
8402
+ This method makes a synchronous HTTP request by default. To make an
8403
+ asynchronous HTTP request, please pass async_req=True
8404
+ >>> thread = api.switch_sql_concurrency_control_rule_with_http_info(body, async_req=True)
8405
+ >>> result = thread.get()
8406
+
8407
+ :param async_req bool
8408
+ :param SwitchSQLConcurrencyControlRuleRequest body: (required)
8409
+ :return: SwitchSQLConcurrencyControlRuleResponse
8410
+ If the method is called asynchronously,
8411
+ returns the request thread.
8412
+ """
8413
+
8414
+ all_params = ['body'] # noqa: E501
8415
+ all_params.append('async_req')
8416
+ all_params.append('_return_http_data_only')
8417
+ all_params.append('_preload_content')
8418
+ all_params.append('_request_timeout')
8419
+
8420
+ params = locals()
8421
+ for key, val in six.iteritems(params['kwargs']):
8422
+ if key not in all_params:
8423
+ raise TypeError(
8424
+ "Got an unexpected keyword argument '%s'"
8425
+ " to method switch_sql_concurrency_control_rule" % key
8426
+ )
8427
+ params[key] = val
8428
+ del params['kwargs']
8429
+ # verify the required parameter 'body' is set
8430
+ if self.api_client.client_side_validation and ('body' not in params or
8431
+ params['body'] is None): # noqa: E501
8432
+ raise ValueError("Missing the required parameter `body` when calling `switch_sql_concurrency_control_rule`") # noqa: E501
8433
+
8434
+ collection_formats = {}
8435
+
8436
+ path_params = {}
8437
+
8438
+ query_params = []
8439
+
8440
+ header_params = {}
8441
+
8442
+ form_params = []
8443
+ local_var_files = {}
8444
+
8445
+ body_params = None
8446
+ if 'body' in params:
8447
+ body_params = params['body']
8448
+ # HTTP header `Accept`
8449
+ header_params['Accept'] = self.api_client.select_header_accept(
8450
+ ['application/json']) # noqa: E501
8451
+
8452
+ # HTTP header `Content-Type`
8453
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
8454
+ ['application/json']) # noqa: E501
8455
+
8456
+ # Authentication setting
8457
+ auth_settings = ['byteplusSign'] # noqa: E501
8458
+
8459
+ return self.api_client.call_api(
8460
+ '/SwitchSQLConcurrencyControlRule/2025-10-01/aidap/post/application_json/', 'POST',
8461
+ path_params,
8462
+ query_params,
8463
+ header_params,
8464
+ body=body_params,
8465
+ post_params=form_params,
8466
+ files=local_var_files,
8467
+ response_type='SwitchSQLConcurrencyControlRuleResponse', # noqa: E501
8468
+ auth_settings=auth_settings,
8469
+ async_req=params.get('async_req'),
8470
+ _return_http_data_only=params.get('_return_http_data_only'),
8471
+ _preload_content=params.get('_preload_content', True),
8472
+ _request_timeout=params.get('_request_timeout'),
8473
+ collection_formats=collection_formats)
8474
+
8475
+ def sync_pages_deploy_env_vars(self, body, **kwargs): # noqa: E501
8476
+ """sync_pages_deploy_env_vars # noqa: E501
8477
+
8478
+ This method makes a synchronous HTTP request by default. To make an
8479
+ asynchronous HTTP request, please pass async_req=True
8480
+ >>> thread = api.sync_pages_deploy_env_vars(body, async_req=True)
8481
+ >>> result = thread.get()
8482
+
8483
+ :param async_req bool
8484
+ :param SyncPagesDeployEnvVarsRequest body: (required)
8485
+ :return: SyncPagesDeployEnvVarsResponse
8486
+ If the method is called asynchronously,
8487
+ returns the request thread.
8488
+ """
8489
+ kwargs['_return_http_data_only'] = True
8490
+ if kwargs.get('async_req'):
8491
+ return self.sync_pages_deploy_env_vars_with_http_info(body, **kwargs) # noqa: E501
8492
+ else:
8493
+ (data) = self.sync_pages_deploy_env_vars_with_http_info(body, **kwargs) # noqa: E501
8494
+ return data
8495
+
8496
+ def sync_pages_deploy_env_vars_with_http_info(self, body, **kwargs): # noqa: E501
8497
+ """sync_pages_deploy_env_vars # noqa: E501
8498
+
8499
+ This method makes a synchronous HTTP request by default. To make an
8500
+ asynchronous HTTP request, please pass async_req=True
8501
+ >>> thread = api.sync_pages_deploy_env_vars_with_http_info(body, async_req=True)
8502
+ >>> result = thread.get()
8503
+
8504
+ :param async_req bool
8505
+ :param SyncPagesDeployEnvVarsRequest body: (required)
8506
+ :return: SyncPagesDeployEnvVarsResponse
8507
+ If the method is called asynchronously,
8508
+ returns the request thread.
8509
+ """
8510
+
8511
+ all_params = ['body'] # noqa: E501
8512
+ all_params.append('async_req')
8513
+ all_params.append('_return_http_data_only')
8514
+ all_params.append('_preload_content')
8515
+ all_params.append('_request_timeout')
8516
+
8517
+ params = locals()
8518
+ for key, val in six.iteritems(params['kwargs']):
8519
+ if key not in all_params:
8520
+ raise TypeError(
8521
+ "Got an unexpected keyword argument '%s'"
8522
+ " to method sync_pages_deploy_env_vars" % key
8523
+ )
8524
+ params[key] = val
8525
+ del params['kwargs']
8526
+ # verify the required parameter 'body' is set
8527
+ if self.api_client.client_side_validation and ('body' not in params or
8528
+ params['body'] is None): # noqa: E501
8529
+ raise ValueError("Missing the required parameter `body` when calling `sync_pages_deploy_env_vars`") # noqa: E501
8530
+
8531
+ collection_formats = {}
8532
+
8533
+ path_params = {}
8534
+
8535
+ query_params = []
8536
+
8537
+ header_params = {}
8538
+
8539
+ form_params = []
8540
+ local_var_files = {}
8541
+
8542
+ body_params = None
8543
+ if 'body' in params:
8544
+ body_params = params['body']
8545
+ # HTTP header `Accept`
8546
+ header_params['Accept'] = self.api_client.select_header_accept(
8547
+ ['application/json']) # noqa: E501
8548
+
8549
+ # HTTP header `Content-Type`
8550
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
8551
+ ['application/json']) # noqa: E501
8552
+
8553
+ # Authentication setting
8554
+ auth_settings = ['byteplusSign'] # noqa: E501
8555
+
8556
+ return self.api_client.call_api(
8557
+ '/SyncPagesDeployEnvVars/2025-10-01/aidap/post/application_json/', 'POST',
8558
+ path_params,
8559
+ query_params,
8560
+ header_params,
8561
+ body=body_params,
8562
+ post_params=form_params,
8563
+ files=local_var_files,
8564
+ response_type='SyncPagesDeployEnvVarsResponse', # noqa: E501
8565
+ auth_settings=auth_settings,
8566
+ async_req=params.get('async_req'),
8567
+ _return_http_data_only=params.get('_return_http_data_only'),
8568
+ _preload_content=params.get('_preload_content', True),
8569
+ _request_timeout=params.get('_request_timeout'),
8570
+ collection_formats=collection_formats)
8571
+
8572
+ def unbind_pages_project(self, body, **kwargs): # noqa: E501
8573
+ """unbind_pages_project # noqa: E501
8574
+
8575
+ This method makes a synchronous HTTP request by default. To make an
8576
+ asynchronous HTTP request, please pass async_req=True
8577
+ >>> thread = api.unbind_pages_project(body, async_req=True)
8578
+ >>> result = thread.get()
8579
+
8580
+ :param async_req bool
8581
+ :param UnbindPagesProjectRequest body: (required)
8582
+ :return: UnbindPagesProjectResponse
8583
+ If the method is called asynchronously,
8584
+ returns the request thread.
8585
+ """
8586
+ kwargs['_return_http_data_only'] = True
8587
+ if kwargs.get('async_req'):
8588
+ return self.unbind_pages_project_with_http_info(body, **kwargs) # noqa: E501
8589
+ else:
8590
+ (data) = self.unbind_pages_project_with_http_info(body, **kwargs) # noqa: E501
8591
+ return data
8592
+
8593
+ def unbind_pages_project_with_http_info(self, body, **kwargs): # noqa: E501
8594
+ """unbind_pages_project # noqa: E501
8595
+
8596
+ This method makes a synchronous HTTP request by default. To make an
8597
+ asynchronous HTTP request, please pass async_req=True
8598
+ >>> thread = api.unbind_pages_project_with_http_info(body, async_req=True)
8599
+ >>> result = thread.get()
8600
+
8601
+ :param async_req bool
8602
+ :param UnbindPagesProjectRequest body: (required)
8603
+ :return: UnbindPagesProjectResponse
8604
+ If the method is called asynchronously,
8605
+ returns the request thread.
8606
+ """
8607
+
8608
+ all_params = ['body'] # noqa: E501
8609
+ all_params.append('async_req')
8610
+ all_params.append('_return_http_data_only')
8611
+ all_params.append('_preload_content')
8612
+ all_params.append('_request_timeout')
8613
+
8614
+ params = locals()
8615
+ for key, val in six.iteritems(params['kwargs']):
8616
+ if key not in all_params:
8617
+ raise TypeError(
8618
+ "Got an unexpected keyword argument '%s'"
8619
+ " to method unbind_pages_project" % key
8620
+ )
8621
+ params[key] = val
8622
+ del params['kwargs']
8623
+ # verify the required parameter 'body' is set
8624
+ if self.api_client.client_side_validation and ('body' not in params or
8625
+ params['body'] is None): # noqa: E501
8626
+ raise ValueError("Missing the required parameter `body` when calling `unbind_pages_project`") # noqa: E501
8627
+
8628
+ collection_formats = {}
8629
+
8630
+ path_params = {}
8631
+
8632
+ query_params = []
8633
+
8634
+ header_params = {}
8635
+
8636
+ form_params = []
8637
+ local_var_files = {}
8638
+
8639
+ body_params = None
8640
+ if 'body' in params:
8641
+ body_params = params['body']
8642
+ # HTTP header `Accept`
8643
+ header_params['Accept'] = self.api_client.select_header_accept(
8644
+ ['application/json']) # noqa: E501
8645
+
8646
+ # HTTP header `Content-Type`
8647
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
8648
+ ['application/json']) # noqa: E501
8649
+
8650
+ # Authentication setting
8651
+ auth_settings = ['byteplusSign'] # noqa: E501
8652
+
8653
+ return self.api_client.call_api(
8654
+ '/UnbindPagesProject/2025-10-01/aidap/post/application_json/', 'POST',
8655
+ path_params,
8656
+ query_params,
8657
+ header_params,
8658
+ body=body_params,
8659
+ post_params=form_params,
8660
+ files=local_var_files,
8661
+ response_type='UnbindPagesProjectResponse', # noqa: E501
8662
+ auth_settings=auth_settings,
8663
+ async_req=params.get('async_req'),
8664
+ _return_http_data_only=params.get('_return_http_data_only'),
8665
+ _preload_content=params.get('_preload_content', True),
8666
+ _request_timeout=params.get('_request_timeout'),
8667
+ collection_formats=collection_formats)
8668
+
7505
8669
  def update_branch(self, body, **kwargs): # noqa: E501
7506
8670
  """update_branch # noqa: E501
7507
8671