volcengine-python-sdk 4.0.23__py2.py3-none-any.whl → 4.0.24__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.
Potentially problematic release.
This version of volcengine-python-sdk might be problematic. Click here for more details.
- {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/METADATA +1 -1
- {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/RECORD +208 -37
- {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/top_level.txt +3 -0
- volcenginesdkcore/api_client.py +1 -1
- volcenginesdkcore/configuration.py +1 -1
- volcenginesdkdirectconnect/models/create_direct_connect_gateway_request.py +27 -1
- volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_request.py +16 -16
- volcenginesdkdirectconnect/models/describe_direct_connect_gateway_attributes_response.py +27 -1
- volcenginesdkdirectconnect/models/models.py +192 -192
- volcenginesdkdms20250101/__init__.py +85 -0
- volcenginesdkdms20250101/api/__init__.py +6 -0
- volcenginesdkdms20250101/api/dms20250101_api.py +1974 -0
- volcenginesdkdms20250101/models/__init__.py +81 -0
- volcenginesdkdms20250101/models/address_access_config_for_create_address_input.py +149 -0
- volcenginesdkdms20250101/models/address_access_config_for_get_address_output.py +149 -0
- volcenginesdkdms20250101/models/address_access_config_for_list_addresses_output.py +149 -0
- volcenginesdkdms20250101/models/create_address_request.py +211 -0
- volcenginesdkdms20250101/models/create_address_response.py +149 -0
- volcenginesdkdms20250101/models/create_agent_group_request.py +226 -0
- volcenginesdkdms20250101/models/create_agent_group_response.py +149 -0
- volcenginesdkdms20250101/models/create_agent_request.py +185 -0
- volcenginesdkdms20250101/models/create_agent_response.py +149 -0
- volcenginesdkdms20250101/models/create_task_request.py +264 -0
- volcenginesdkdms20250101/models/create_task_response.py +149 -0
- volcenginesdkdms20250101/models/delete_address_request.py +124 -0
- volcenginesdkdms20250101/models/delete_address_response.py +149 -0
- volcenginesdkdms20250101/models/delete_agent_group_request.py +124 -0
- volcenginesdkdms20250101/models/delete_agent_group_response.py +149 -0
- volcenginesdkdms20250101/models/delete_agent_request.py +124 -0
- volcenginesdkdms20250101/models/delete_agent_response.py +149 -0
- volcenginesdkdms20250101/models/delete_task_request.py +124 -0
- volcenginesdkdms20250101/models/delete_task_response.py +149 -0
- volcenginesdkdms20250101/models/get_address_request.py +124 -0
- volcenginesdkdms20250101/models/get_address_response.py +305 -0
- volcenginesdkdms20250101/models/get_agent_group_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_group_response.py +305 -0
- volcenginesdkdms20250101/models/get_agent_group_status_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_group_status_response.py +149 -0
- volcenginesdkdms20250101/models/get_agent_request.py +124 -0
- volcenginesdkdms20250101/models/get_agent_response.py +331 -0
- volcenginesdkdms20250101/models/get_real_time_statistics_request.py +150 -0
- volcenginesdkdms20250101/models/get_real_time_statistics_response.py +487 -0
- volcenginesdkdms20250101/models/get_task_request.py +124 -0
- volcenginesdkdms20250101/models/get_task_response.py +409 -0
- volcenginesdkdms20250101/models/item_list_for_list_addresses_output.py +305 -0
- volcenginesdkdms20250101/models/item_list_for_list_agent_groups_output.py +279 -0
- volcenginesdkdms20250101/models/item_list_for_list_agents_output.py +331 -0
- volcenginesdkdms20250101/models/item_list_for_list_tasks_output.py +409 -0
- volcenginesdkdms20250101/models/list_addresses_request.py +203 -0
- volcenginesdkdms20250101/models/list_addresses_response.py +175 -0
- volcenginesdkdms20250101/models/list_agent_groups_request.py +204 -0
- volcenginesdkdms20250101/models/list_agent_groups_response.py +175 -0
- volcenginesdkdms20250101/models/list_agents_request.py +204 -0
- volcenginesdkdms20250101/models/list_agents_response.py +175 -0
- volcenginesdkdms20250101/models/list_config_for_create_task_input.py +227 -0
- volcenginesdkdms20250101/models/list_config_for_get_task_output.py +227 -0
- volcenginesdkdms20250101/models/list_config_for_list_tasks_output.py +227 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_create_task_input.py +201 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_get_task_output.py +201 -0
- volcenginesdkdms20250101/models/list_include_bucket_keys_for_list_tasks_output.py +201 -0
- volcenginesdkdms20250101/models/list_tasks_request.py +204 -0
- volcenginesdkdms20250101/models/list_tasks_response.py +175 -0
- volcenginesdkdms20250101/models/local_fs_for_create_address_input.py +123 -0
- volcenginesdkdms20250101/models/local_fs_for_get_address_output.py +123 -0
- volcenginesdkdms20250101/models/local_fs_for_list_addresses_output.py +123 -0
- volcenginesdkdms20250101/models/retry_failed_task_request.py +124 -0
- volcenginesdkdms20250101/models/retry_failed_task_response.py +149 -0
- volcenginesdkdms20250101/models/task_config_for_create_task_input.py +215 -0
- volcenginesdkdms20250101/models/task_config_for_get_task_output.py +201 -0
- volcenginesdkdms20250101/models/task_config_for_list_tasks_output.py +201 -0
- volcenginesdkdms20250101/models/task_context_for_get_task_output.py +149 -0
- volcenginesdkdms20250101/models/task_context_for_list_tasks_output.py +149 -0
- volcenginesdkdms20250101/models/tos_for_create_address_input.py +201 -0
- volcenginesdkdms20250101/models/tos_for_get_address_output.py +201 -0
- volcenginesdkdms20250101/models/tos_for_list_addresses_output.py +201 -0
- volcenginesdkdms20250101/models/update_task_request.py +183 -0
- volcenginesdkdms20250101/models/update_task_response.py +149 -0
- volcenginesdkdts20180101/__init__.py +32 -0
- volcenginesdkdts20180101/api/__init__.py +6 -0
- volcenginesdkdts20180101/api/dts20180101_api.py +422 -0
- volcenginesdkdts20180101/models/__init__.py +28 -0
- volcenginesdkdts20180101/models/data_for_list_vpc_output.py +149 -0
- volcenginesdkdts20180101/models/get_async_pre_check_result_request.py +124 -0
- volcenginesdkdts20180101/models/get_async_pre_check_result_response.py +201 -0
- volcenginesdkdts20180101/models/list_vpc_request.py +95 -0
- volcenginesdkdts20180101/models/list_vpc_response.py +149 -0
- volcenginesdkdts20180101/models/list_vpc_subnets_request.py +124 -0
- volcenginesdkdts20180101/models/list_vpc_subnets_response.py +149 -0
- volcenginesdkdts20180101/models/pre_check_async_request.py +124 -0
- volcenginesdkdts20180101/models/pre_check_async_response.py +123 -0
- volcenginesdkdts20180101/models/pre_check_for_get_async_pre_check_result_output.py +227 -0
- volcenginesdkdts20180101/models/vpc_subnet_info_for_list_vpc_subnets_output.py +149 -0
- volcenginesdkna/__init__.py +33 -0
- volcenginesdkna/api/__init__.py +6 -0
- volcenginesdkna/api/na_api.py +422 -0
- volcenginesdkna/models/__init__.py +29 -0
- volcenginesdkna/models/create_diagnosis_instance_request.py +178 -0
- volcenginesdkna/models/create_diagnosis_instance_response.py +149 -0
- volcenginesdkna/models/describe_diagnosis_instance_detail_request.py +124 -0
- volcenginesdkna/models/describe_diagnosis_instance_detail_response.py +383 -0
- volcenginesdkna/models/describe_diagnosis_instances_request.py +149 -0
- volcenginesdkna/models/describe_diagnosis_instances_response.py +227 -0
- volcenginesdkna/models/describe_history_diagnosis_request.py +124 -0
- volcenginesdkna/models/describe_history_diagnosis_response.py +123 -0
- volcenginesdkna/models/diagnosis_category_item_for_describe_diagnosis_instance_detail_output.py +149 -0
- volcenginesdkna/models/diagnosis_instance_for_describe_diagnosis_instances_output.py +357 -0
- volcenginesdkna/models/diagnosis_item_for_describe_diagnosis_instance_detail_output.py +201 -0
- volcenginesdkna/models/history_diagnosis_for_describe_history_diagnosis_output.py +175 -0
- volcenginesdkvefaas/models/create_function_request.py +53 -1
- volcenginesdkvefaas/models/create_function_response.py +53 -1
- volcenginesdkvefaas/models/get_function_response.py +53 -1
- volcenginesdkvefaas/models/item_for_list_functions_output.py +27 -1
- volcenginesdkvefaas/models/update_function_request.py +53 -1
- volcenginesdkvefaas/models/update_function_response.py +27 -1
- volcenginesdkvmp/__init__.py +72 -0
- volcenginesdkvmp/api/vmp_api.py +1339 -78
- volcenginesdkvmp/models/__init__.py +72 -0
- volcenginesdkvmp/models/cal_charge_item_list_for_get_workspace_output.py +149 -0
- volcenginesdkvmp/models/cal_charge_item_list_for_list_workspace_instance_types_output.py +149 -0
- volcenginesdkvmp/models/calculate_price_param_for_get_workspace_output.py +175 -0
- volcenginesdkvmp/models/calculate_price_param_for_list_workspace_instance_types_output.py +175 -0
- volcenginesdkvmp/models/conditions_for_list_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/create_alerting_rule_request.py +53 -1
- volcenginesdkvmp/models/create_integration_task_request.py +334 -0
- volcenginesdkvmp/models/create_integration_task_response.py +123 -0
- volcenginesdkvmp/models/create_rule_file_request.py +27 -1
- volcenginesdkvmp/models/create_silence_policy_request.py +202 -0
- volcenginesdkvmp/models/create_silence_policy_response.py +123 -0
- volcenginesdkvmp/models/create_workspace_request.py +27 -1
- volcenginesdkvmp/models/data_for_delete_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/data_for_disable_integration_tasks_output.py +95 -0
- volcenginesdkvmp/models/data_for_disable_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/data_for_enable_integration_tasks_output.py +95 -0
- volcenginesdkvmp/models/data_for_enable_silence_policies_output.py +95 -0
- volcenginesdkvmp/models/delete_integration_task_request.py +124 -0
- volcenginesdkvmp/models/delete_integration_task_response.py +123 -0
- volcenginesdkvmp/models/delete_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/delete_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/disable_integration_tasks_request.py +123 -0
- volcenginesdkvmp/models/disable_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/disable_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/disable_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/enable_integration_tasks_request.py +123 -0
- volcenginesdkvmp/models/enable_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/enable_silence_policies_request.py +123 -0
- volcenginesdkvmp/models/enable_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/error_for_delete_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/error_for_disable_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/error_for_disable_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/error_for_enable_integration_tasks_output.py +175 -0
- volcenginesdkvmp/models/error_for_enable_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/filter_for_list_silence_policies_input.py +201 -0
- volcenginesdkvmp/models/filters_for_list_integration_tasks_input.py +279 -0
- volcenginesdkvmp/models/get_alerting_rule_response.py +53 -1
- volcenginesdkvmp/models/get_integration_task_request.py +124 -0
- volcenginesdkvmp/models/get_integration_task_response.py +409 -0
- volcenginesdkvmp/models/get_rule_file_response.py +29 -3
- volcenginesdkvmp/models/get_workspace_response.py +105 -1
- volcenginesdkvmp/models/instance_type_for_get_workspace_output.py +27 -1
- volcenginesdkvmp/models/item_for_list_alerting_rules_output.py +53 -1
- volcenginesdkvmp/models/item_for_list_integration_tasks_output.py +409 -0
- volcenginesdkvmp/models/item_for_list_rule_files_output.py +29 -3
- volcenginesdkvmp/models/item_for_list_silence_policies_output.py +357 -0
- volcenginesdkvmp/models/item_for_list_workspace_instance_types_output.py +27 -1
- volcenginesdkvmp/models/item_for_list_workspaces_output.py +131 -1
- volcenginesdkvmp/models/list_alerting_rules_request.py +55 -3
- volcenginesdkvmp/models/list_integration_tasks_request.py +227 -0
- volcenginesdkvmp/models/list_integration_tasks_response.py +149 -0
- volcenginesdkvmp/models/list_silence_policies_request.py +227 -0
- volcenginesdkvmp/models/list_silence_policies_response.py +149 -0
- volcenginesdkvmp/models/matcher_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/matcher_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/matcher_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/metric_label_matcher_for_create_silence_policy_input.py +123 -0
- volcenginesdkvmp/models/metric_label_matcher_for_list_silence_policies_output.py +123 -0
- volcenginesdkvmp/models/metric_label_matcher_for_update_silence_policy_input.py +123 -0
- volcenginesdkvmp/models/periodic_date_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/periodic_date_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/periodic_date_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/quota_for_get_workspace_output.py +53 -1
- volcenginesdkvmp/models/quota_for_update_workspace_input.py +53 -1
- volcenginesdkvmp/models/tag_filter_for_list_alerting_rules_input.py +149 -0
- volcenginesdkvmp/models/tag_filter_for_list_integration_tasks_input.py +149 -0
- volcenginesdkvmp/models/tag_for_create_alerting_rule_input.py +149 -0
- volcenginesdkvmp/models/tag_for_create_integration_task_input.py +149 -0
- volcenginesdkvmp/models/tag_for_get_alerting_rule_output.py +149 -0
- volcenginesdkvmp/models/tag_for_get_integration_task_output.py +149 -0
- volcenginesdkvmp/models/tag_for_list_alerting_rules_output.py +149 -0
- volcenginesdkvmp/models/tag_for_list_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/time_range_matcher_for_create_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/time_range_matcher_for_list_silence_policies_output.py +175 -0
- volcenginesdkvmp/models/time_range_matcher_for_update_silence_policy_input.py +175 -0
- volcenginesdkvmp/models/unsuccessful_item_for_delete_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_disable_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_disable_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_enable_integration_tasks_output.py +149 -0
- volcenginesdkvmp/models/unsuccessful_item_for_enable_silence_policies_output.py +149 -0
- volcenginesdkvmp/models/update_integration_task_request.py +202 -0
- volcenginesdkvmp/models/update_integration_task_response.py +123 -0
- volcenginesdkvmp/models/update_rule_file_request.py +27 -1
- volcenginesdkvmp/models/update_silence_policy_request.py +228 -0
- volcenginesdkvmp/models/update_silence_policy_response.py +123 -0
- volcenginesdkvmp/models/update_workspace_request.py +131 -1
- volcenginesdkvmp/models/vke_cluster_info_for_get_integration_task_output.py +149 -0
- volcenginesdkvmp/models/vke_cluster_info_for_list_integration_tasks_output.py +149 -0
- {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/WHEEL +0 -0
- {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/LICENSE.txt +0 -0
- {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/NOTICE.md +0 -0
|
@@ -0,0 +1,1974 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
dms20250101
|
|
5
|
+
|
|
6
|
+
No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: common-version
|
|
9
|
+
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from __future__ import absolute_import
|
|
15
|
+
|
|
16
|
+
import re # noqa: F401
|
|
17
|
+
|
|
18
|
+
# python 2 and python 3 compatibility library
|
|
19
|
+
import six
|
|
20
|
+
|
|
21
|
+
import volcenginesdkcore
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class DMS20250101Api(object):
|
|
25
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
26
|
+
|
|
27
|
+
Do not edit the class manually.
|
|
28
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
29
|
+
"""
|
|
30
|
+
|
|
31
|
+
def __init__(self, api_client=None):
|
|
32
|
+
if api_client is None:
|
|
33
|
+
api_client = volcenginesdkcore.ApiClient()
|
|
34
|
+
self.api_client = api_client
|
|
35
|
+
|
|
36
|
+
def create_address(self, body, **kwargs): # noqa: E501
|
|
37
|
+
"""create_address # noqa: E501
|
|
38
|
+
|
|
39
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
40
|
+
asynchronous HTTP request, please pass async_req=True
|
|
41
|
+
>>> thread = api.create_address(body, async_req=True)
|
|
42
|
+
>>> result = thread.get()
|
|
43
|
+
|
|
44
|
+
:param async_req bool
|
|
45
|
+
:param CreateAddressRequest body: (required)
|
|
46
|
+
:return: CreateAddressResponse
|
|
47
|
+
If the method is called asynchronously,
|
|
48
|
+
returns the request thread.
|
|
49
|
+
"""
|
|
50
|
+
kwargs['_return_http_data_only'] = True
|
|
51
|
+
if kwargs.get('async_req'):
|
|
52
|
+
return self.create_address_with_http_info(body, **kwargs) # noqa: E501
|
|
53
|
+
else:
|
|
54
|
+
(data) = self.create_address_with_http_info(body, **kwargs) # noqa: E501
|
|
55
|
+
return data
|
|
56
|
+
|
|
57
|
+
def create_address_with_http_info(self, body, **kwargs): # noqa: E501
|
|
58
|
+
"""create_address # noqa: E501
|
|
59
|
+
|
|
60
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
61
|
+
asynchronous HTTP request, please pass async_req=True
|
|
62
|
+
>>> thread = api.create_address_with_http_info(body, async_req=True)
|
|
63
|
+
>>> result = thread.get()
|
|
64
|
+
|
|
65
|
+
:param async_req bool
|
|
66
|
+
:param CreateAddressRequest body: (required)
|
|
67
|
+
:return: CreateAddressResponse
|
|
68
|
+
If the method is called asynchronously,
|
|
69
|
+
returns the request thread.
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
all_params = ['body'] # noqa: E501
|
|
73
|
+
all_params.append('async_req')
|
|
74
|
+
all_params.append('_return_http_data_only')
|
|
75
|
+
all_params.append('_preload_content')
|
|
76
|
+
all_params.append('_request_timeout')
|
|
77
|
+
|
|
78
|
+
params = locals()
|
|
79
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
80
|
+
if key not in all_params:
|
|
81
|
+
raise TypeError(
|
|
82
|
+
"Got an unexpected keyword argument '%s'"
|
|
83
|
+
" to method create_address" % key
|
|
84
|
+
)
|
|
85
|
+
params[key] = val
|
|
86
|
+
del params['kwargs']
|
|
87
|
+
# verify the required parameter 'body' is set
|
|
88
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
89
|
+
params['body'] is None): # noqa: E501
|
|
90
|
+
raise ValueError("Missing the required parameter `body` when calling `create_address`") # noqa: E501
|
|
91
|
+
|
|
92
|
+
collection_formats = {}
|
|
93
|
+
|
|
94
|
+
path_params = {}
|
|
95
|
+
|
|
96
|
+
query_params = []
|
|
97
|
+
|
|
98
|
+
header_params = {}
|
|
99
|
+
|
|
100
|
+
form_params = []
|
|
101
|
+
local_var_files = {}
|
|
102
|
+
|
|
103
|
+
body_params = None
|
|
104
|
+
if 'body' in params:
|
|
105
|
+
body_params = params['body']
|
|
106
|
+
# HTTP header `Accept`
|
|
107
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
108
|
+
['application/json']) # noqa: E501
|
|
109
|
+
|
|
110
|
+
# HTTP header `Content-Type`
|
|
111
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
112
|
+
['application/json']) # noqa: E501
|
|
113
|
+
|
|
114
|
+
# Authentication setting
|
|
115
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
116
|
+
|
|
117
|
+
return self.api_client.call_api(
|
|
118
|
+
'/CreateAddress/2025-01-01/dms/post/application_json/', 'POST',
|
|
119
|
+
path_params,
|
|
120
|
+
query_params,
|
|
121
|
+
header_params,
|
|
122
|
+
body=body_params,
|
|
123
|
+
post_params=form_params,
|
|
124
|
+
files=local_var_files,
|
|
125
|
+
response_type='CreateAddressResponse', # noqa: E501
|
|
126
|
+
auth_settings=auth_settings,
|
|
127
|
+
async_req=params.get('async_req'),
|
|
128
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
129
|
+
_preload_content=params.get('_preload_content', True),
|
|
130
|
+
_request_timeout=params.get('_request_timeout'),
|
|
131
|
+
collection_formats=collection_formats)
|
|
132
|
+
|
|
133
|
+
def create_agent(self, body, **kwargs): # noqa: E501
|
|
134
|
+
"""create_agent # noqa: E501
|
|
135
|
+
|
|
136
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
137
|
+
asynchronous HTTP request, please pass async_req=True
|
|
138
|
+
>>> thread = api.create_agent(body, async_req=True)
|
|
139
|
+
>>> result = thread.get()
|
|
140
|
+
|
|
141
|
+
:param async_req bool
|
|
142
|
+
:param CreateAgentRequest body: (required)
|
|
143
|
+
:return: CreateAgentResponse
|
|
144
|
+
If the method is called asynchronously,
|
|
145
|
+
returns the request thread.
|
|
146
|
+
"""
|
|
147
|
+
kwargs['_return_http_data_only'] = True
|
|
148
|
+
if kwargs.get('async_req'):
|
|
149
|
+
return self.create_agent_with_http_info(body, **kwargs) # noqa: E501
|
|
150
|
+
else:
|
|
151
|
+
(data) = self.create_agent_with_http_info(body, **kwargs) # noqa: E501
|
|
152
|
+
return data
|
|
153
|
+
|
|
154
|
+
def create_agent_with_http_info(self, body, **kwargs): # noqa: E501
|
|
155
|
+
"""create_agent # noqa: E501
|
|
156
|
+
|
|
157
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
158
|
+
asynchronous HTTP request, please pass async_req=True
|
|
159
|
+
>>> thread = api.create_agent_with_http_info(body, async_req=True)
|
|
160
|
+
>>> result = thread.get()
|
|
161
|
+
|
|
162
|
+
:param async_req bool
|
|
163
|
+
:param CreateAgentRequest body: (required)
|
|
164
|
+
:return: CreateAgentResponse
|
|
165
|
+
If the method is called asynchronously,
|
|
166
|
+
returns the request thread.
|
|
167
|
+
"""
|
|
168
|
+
|
|
169
|
+
all_params = ['body'] # noqa: E501
|
|
170
|
+
all_params.append('async_req')
|
|
171
|
+
all_params.append('_return_http_data_only')
|
|
172
|
+
all_params.append('_preload_content')
|
|
173
|
+
all_params.append('_request_timeout')
|
|
174
|
+
|
|
175
|
+
params = locals()
|
|
176
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
177
|
+
if key not in all_params:
|
|
178
|
+
raise TypeError(
|
|
179
|
+
"Got an unexpected keyword argument '%s'"
|
|
180
|
+
" to method create_agent" % key
|
|
181
|
+
)
|
|
182
|
+
params[key] = val
|
|
183
|
+
del params['kwargs']
|
|
184
|
+
# verify the required parameter 'body' is set
|
|
185
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
186
|
+
params['body'] is None): # noqa: E501
|
|
187
|
+
raise ValueError("Missing the required parameter `body` when calling `create_agent`") # noqa: E501
|
|
188
|
+
|
|
189
|
+
collection_formats = {}
|
|
190
|
+
|
|
191
|
+
path_params = {}
|
|
192
|
+
|
|
193
|
+
query_params = []
|
|
194
|
+
|
|
195
|
+
header_params = {}
|
|
196
|
+
|
|
197
|
+
form_params = []
|
|
198
|
+
local_var_files = {}
|
|
199
|
+
|
|
200
|
+
body_params = None
|
|
201
|
+
if 'body' in params:
|
|
202
|
+
body_params = params['body']
|
|
203
|
+
# HTTP header `Accept`
|
|
204
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
205
|
+
['application/json']) # noqa: E501
|
|
206
|
+
|
|
207
|
+
# HTTP header `Content-Type`
|
|
208
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
209
|
+
['application/json']) # noqa: E501
|
|
210
|
+
|
|
211
|
+
# Authentication setting
|
|
212
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
213
|
+
|
|
214
|
+
return self.api_client.call_api(
|
|
215
|
+
'/CreateAgent/2025-01-01/dms/post/application_json/', 'POST',
|
|
216
|
+
path_params,
|
|
217
|
+
query_params,
|
|
218
|
+
header_params,
|
|
219
|
+
body=body_params,
|
|
220
|
+
post_params=form_params,
|
|
221
|
+
files=local_var_files,
|
|
222
|
+
response_type='CreateAgentResponse', # noqa: E501
|
|
223
|
+
auth_settings=auth_settings,
|
|
224
|
+
async_req=params.get('async_req'),
|
|
225
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
226
|
+
_preload_content=params.get('_preload_content', True),
|
|
227
|
+
_request_timeout=params.get('_request_timeout'),
|
|
228
|
+
collection_formats=collection_formats)
|
|
229
|
+
|
|
230
|
+
def create_agent_group(self, body, **kwargs): # noqa: E501
|
|
231
|
+
"""create_agent_group # 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.create_agent_group(body, async_req=True)
|
|
236
|
+
>>> result = thread.get()
|
|
237
|
+
|
|
238
|
+
:param async_req bool
|
|
239
|
+
:param CreateAgentGroupRequest body: (required)
|
|
240
|
+
:return: CreateAgentGroupResponse
|
|
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.create_agent_group_with_http_info(body, **kwargs) # noqa: E501
|
|
247
|
+
else:
|
|
248
|
+
(data) = self.create_agent_group_with_http_info(body, **kwargs) # noqa: E501
|
|
249
|
+
return data
|
|
250
|
+
|
|
251
|
+
def create_agent_group_with_http_info(self, body, **kwargs): # noqa: E501
|
|
252
|
+
"""create_agent_group # 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.create_agent_group_with_http_info(body, async_req=True)
|
|
257
|
+
>>> result = thread.get()
|
|
258
|
+
|
|
259
|
+
:param async_req bool
|
|
260
|
+
:param CreateAgentGroupRequest body: (required)
|
|
261
|
+
:return: CreateAgentGroupResponse
|
|
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 create_agent_group" % 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 `create_agent_group`") # 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 = ['volcengineSign'] # noqa: E501
|
|
310
|
+
|
|
311
|
+
return self.api_client.call_api(
|
|
312
|
+
'/CreateAgentGroup/2025-01-01/dms/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='CreateAgentGroupResponse', # 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
|
+
|
|
327
|
+
def create_task(self, body, **kwargs): # noqa: E501
|
|
328
|
+
"""create_task # noqa: E501
|
|
329
|
+
|
|
330
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
331
|
+
asynchronous HTTP request, please pass async_req=True
|
|
332
|
+
>>> thread = api.create_task(body, async_req=True)
|
|
333
|
+
>>> result = thread.get()
|
|
334
|
+
|
|
335
|
+
:param async_req bool
|
|
336
|
+
:param CreateTaskRequest body: (required)
|
|
337
|
+
:return: CreateTaskResponse
|
|
338
|
+
If the method is called asynchronously,
|
|
339
|
+
returns the request thread.
|
|
340
|
+
"""
|
|
341
|
+
kwargs['_return_http_data_only'] = True
|
|
342
|
+
if kwargs.get('async_req'):
|
|
343
|
+
return self.create_task_with_http_info(body, **kwargs) # noqa: E501
|
|
344
|
+
else:
|
|
345
|
+
(data) = self.create_task_with_http_info(body, **kwargs) # noqa: E501
|
|
346
|
+
return data
|
|
347
|
+
|
|
348
|
+
def create_task_with_http_info(self, body, **kwargs): # noqa: E501
|
|
349
|
+
"""create_task # noqa: E501
|
|
350
|
+
|
|
351
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
352
|
+
asynchronous HTTP request, please pass async_req=True
|
|
353
|
+
>>> thread = api.create_task_with_http_info(body, async_req=True)
|
|
354
|
+
>>> result = thread.get()
|
|
355
|
+
|
|
356
|
+
:param async_req bool
|
|
357
|
+
:param CreateTaskRequest body: (required)
|
|
358
|
+
:return: CreateTaskResponse
|
|
359
|
+
If the method is called asynchronously,
|
|
360
|
+
returns the request thread.
|
|
361
|
+
"""
|
|
362
|
+
|
|
363
|
+
all_params = ['body'] # noqa: E501
|
|
364
|
+
all_params.append('async_req')
|
|
365
|
+
all_params.append('_return_http_data_only')
|
|
366
|
+
all_params.append('_preload_content')
|
|
367
|
+
all_params.append('_request_timeout')
|
|
368
|
+
|
|
369
|
+
params = locals()
|
|
370
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
371
|
+
if key not in all_params:
|
|
372
|
+
raise TypeError(
|
|
373
|
+
"Got an unexpected keyword argument '%s'"
|
|
374
|
+
" to method create_task" % key
|
|
375
|
+
)
|
|
376
|
+
params[key] = val
|
|
377
|
+
del params['kwargs']
|
|
378
|
+
# verify the required parameter 'body' is set
|
|
379
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
380
|
+
params['body'] is None): # noqa: E501
|
|
381
|
+
raise ValueError("Missing the required parameter `body` when calling `create_task`") # noqa: E501
|
|
382
|
+
|
|
383
|
+
collection_formats = {}
|
|
384
|
+
|
|
385
|
+
path_params = {}
|
|
386
|
+
|
|
387
|
+
query_params = []
|
|
388
|
+
|
|
389
|
+
header_params = {}
|
|
390
|
+
|
|
391
|
+
form_params = []
|
|
392
|
+
local_var_files = {}
|
|
393
|
+
|
|
394
|
+
body_params = None
|
|
395
|
+
if 'body' in params:
|
|
396
|
+
body_params = params['body']
|
|
397
|
+
# HTTP header `Accept`
|
|
398
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
399
|
+
['application/json']) # noqa: E501
|
|
400
|
+
|
|
401
|
+
# HTTP header `Content-Type`
|
|
402
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
403
|
+
['application/json']) # noqa: E501
|
|
404
|
+
|
|
405
|
+
# Authentication setting
|
|
406
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
407
|
+
|
|
408
|
+
return self.api_client.call_api(
|
|
409
|
+
'/CreateTask/2025-01-01/dms/post/application_json/', 'POST',
|
|
410
|
+
path_params,
|
|
411
|
+
query_params,
|
|
412
|
+
header_params,
|
|
413
|
+
body=body_params,
|
|
414
|
+
post_params=form_params,
|
|
415
|
+
files=local_var_files,
|
|
416
|
+
response_type='CreateTaskResponse', # noqa: E501
|
|
417
|
+
auth_settings=auth_settings,
|
|
418
|
+
async_req=params.get('async_req'),
|
|
419
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
420
|
+
_preload_content=params.get('_preload_content', True),
|
|
421
|
+
_request_timeout=params.get('_request_timeout'),
|
|
422
|
+
collection_formats=collection_formats)
|
|
423
|
+
|
|
424
|
+
def delete_address(self, body, **kwargs): # noqa: E501
|
|
425
|
+
"""delete_address # noqa: E501
|
|
426
|
+
|
|
427
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
428
|
+
asynchronous HTTP request, please pass async_req=True
|
|
429
|
+
>>> thread = api.delete_address(body, async_req=True)
|
|
430
|
+
>>> result = thread.get()
|
|
431
|
+
|
|
432
|
+
:param async_req bool
|
|
433
|
+
:param DeleteAddressRequest body: (required)
|
|
434
|
+
:return: DeleteAddressResponse
|
|
435
|
+
If the method is called asynchronously,
|
|
436
|
+
returns the request thread.
|
|
437
|
+
"""
|
|
438
|
+
kwargs['_return_http_data_only'] = True
|
|
439
|
+
if kwargs.get('async_req'):
|
|
440
|
+
return self.delete_address_with_http_info(body, **kwargs) # noqa: E501
|
|
441
|
+
else:
|
|
442
|
+
(data) = self.delete_address_with_http_info(body, **kwargs) # noqa: E501
|
|
443
|
+
return data
|
|
444
|
+
|
|
445
|
+
def delete_address_with_http_info(self, body, **kwargs): # noqa: E501
|
|
446
|
+
"""delete_address # noqa: E501
|
|
447
|
+
|
|
448
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
449
|
+
asynchronous HTTP request, please pass async_req=True
|
|
450
|
+
>>> thread = api.delete_address_with_http_info(body, async_req=True)
|
|
451
|
+
>>> result = thread.get()
|
|
452
|
+
|
|
453
|
+
:param async_req bool
|
|
454
|
+
:param DeleteAddressRequest body: (required)
|
|
455
|
+
:return: DeleteAddressResponse
|
|
456
|
+
If the method is called asynchronously,
|
|
457
|
+
returns the request thread.
|
|
458
|
+
"""
|
|
459
|
+
|
|
460
|
+
all_params = ['body'] # noqa: E501
|
|
461
|
+
all_params.append('async_req')
|
|
462
|
+
all_params.append('_return_http_data_only')
|
|
463
|
+
all_params.append('_preload_content')
|
|
464
|
+
all_params.append('_request_timeout')
|
|
465
|
+
|
|
466
|
+
params = locals()
|
|
467
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
468
|
+
if key not in all_params:
|
|
469
|
+
raise TypeError(
|
|
470
|
+
"Got an unexpected keyword argument '%s'"
|
|
471
|
+
" to method delete_address" % key
|
|
472
|
+
)
|
|
473
|
+
params[key] = val
|
|
474
|
+
del params['kwargs']
|
|
475
|
+
# verify the required parameter 'body' is set
|
|
476
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
477
|
+
params['body'] is None): # noqa: E501
|
|
478
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_address`") # noqa: E501
|
|
479
|
+
|
|
480
|
+
collection_formats = {}
|
|
481
|
+
|
|
482
|
+
path_params = {}
|
|
483
|
+
|
|
484
|
+
query_params = []
|
|
485
|
+
|
|
486
|
+
header_params = {}
|
|
487
|
+
|
|
488
|
+
form_params = []
|
|
489
|
+
local_var_files = {}
|
|
490
|
+
|
|
491
|
+
body_params = None
|
|
492
|
+
if 'body' in params:
|
|
493
|
+
body_params = params['body']
|
|
494
|
+
# HTTP header `Accept`
|
|
495
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
496
|
+
['application/json']) # noqa: E501
|
|
497
|
+
|
|
498
|
+
# HTTP header `Content-Type`
|
|
499
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
500
|
+
['application/json']) # noqa: E501
|
|
501
|
+
|
|
502
|
+
# Authentication setting
|
|
503
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
504
|
+
|
|
505
|
+
return self.api_client.call_api(
|
|
506
|
+
'/DeleteAddress/2025-01-01/dms/post/application_json/', 'POST',
|
|
507
|
+
path_params,
|
|
508
|
+
query_params,
|
|
509
|
+
header_params,
|
|
510
|
+
body=body_params,
|
|
511
|
+
post_params=form_params,
|
|
512
|
+
files=local_var_files,
|
|
513
|
+
response_type='DeleteAddressResponse', # noqa: E501
|
|
514
|
+
auth_settings=auth_settings,
|
|
515
|
+
async_req=params.get('async_req'),
|
|
516
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
517
|
+
_preload_content=params.get('_preload_content', True),
|
|
518
|
+
_request_timeout=params.get('_request_timeout'),
|
|
519
|
+
collection_formats=collection_formats)
|
|
520
|
+
|
|
521
|
+
def delete_agent(self, body, **kwargs): # noqa: E501
|
|
522
|
+
"""delete_agent # noqa: E501
|
|
523
|
+
|
|
524
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
525
|
+
asynchronous HTTP request, please pass async_req=True
|
|
526
|
+
>>> thread = api.delete_agent(body, async_req=True)
|
|
527
|
+
>>> result = thread.get()
|
|
528
|
+
|
|
529
|
+
:param async_req bool
|
|
530
|
+
:param DeleteAgentRequest body: (required)
|
|
531
|
+
:return: DeleteAgentResponse
|
|
532
|
+
If the method is called asynchronously,
|
|
533
|
+
returns the request thread.
|
|
534
|
+
"""
|
|
535
|
+
kwargs['_return_http_data_only'] = True
|
|
536
|
+
if kwargs.get('async_req'):
|
|
537
|
+
return self.delete_agent_with_http_info(body, **kwargs) # noqa: E501
|
|
538
|
+
else:
|
|
539
|
+
(data) = self.delete_agent_with_http_info(body, **kwargs) # noqa: E501
|
|
540
|
+
return data
|
|
541
|
+
|
|
542
|
+
def delete_agent_with_http_info(self, body, **kwargs): # noqa: E501
|
|
543
|
+
"""delete_agent # noqa: E501
|
|
544
|
+
|
|
545
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
546
|
+
asynchronous HTTP request, please pass async_req=True
|
|
547
|
+
>>> thread = api.delete_agent_with_http_info(body, async_req=True)
|
|
548
|
+
>>> result = thread.get()
|
|
549
|
+
|
|
550
|
+
:param async_req bool
|
|
551
|
+
:param DeleteAgentRequest body: (required)
|
|
552
|
+
:return: DeleteAgentResponse
|
|
553
|
+
If the method is called asynchronously,
|
|
554
|
+
returns the request thread.
|
|
555
|
+
"""
|
|
556
|
+
|
|
557
|
+
all_params = ['body'] # noqa: E501
|
|
558
|
+
all_params.append('async_req')
|
|
559
|
+
all_params.append('_return_http_data_only')
|
|
560
|
+
all_params.append('_preload_content')
|
|
561
|
+
all_params.append('_request_timeout')
|
|
562
|
+
|
|
563
|
+
params = locals()
|
|
564
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
565
|
+
if key not in all_params:
|
|
566
|
+
raise TypeError(
|
|
567
|
+
"Got an unexpected keyword argument '%s'"
|
|
568
|
+
" to method delete_agent" % key
|
|
569
|
+
)
|
|
570
|
+
params[key] = val
|
|
571
|
+
del params['kwargs']
|
|
572
|
+
# verify the required parameter 'body' is set
|
|
573
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
574
|
+
params['body'] is None): # noqa: E501
|
|
575
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_agent`") # noqa: E501
|
|
576
|
+
|
|
577
|
+
collection_formats = {}
|
|
578
|
+
|
|
579
|
+
path_params = {}
|
|
580
|
+
|
|
581
|
+
query_params = []
|
|
582
|
+
|
|
583
|
+
header_params = {}
|
|
584
|
+
|
|
585
|
+
form_params = []
|
|
586
|
+
local_var_files = {}
|
|
587
|
+
|
|
588
|
+
body_params = None
|
|
589
|
+
if 'body' in params:
|
|
590
|
+
body_params = params['body']
|
|
591
|
+
# HTTP header `Accept`
|
|
592
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
593
|
+
['application/json']) # noqa: E501
|
|
594
|
+
|
|
595
|
+
# HTTP header `Content-Type`
|
|
596
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
597
|
+
['application/json']) # noqa: E501
|
|
598
|
+
|
|
599
|
+
# Authentication setting
|
|
600
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
601
|
+
|
|
602
|
+
return self.api_client.call_api(
|
|
603
|
+
'/DeleteAgent/2025-01-01/dms/post/application_json/', 'POST',
|
|
604
|
+
path_params,
|
|
605
|
+
query_params,
|
|
606
|
+
header_params,
|
|
607
|
+
body=body_params,
|
|
608
|
+
post_params=form_params,
|
|
609
|
+
files=local_var_files,
|
|
610
|
+
response_type='DeleteAgentResponse', # noqa: E501
|
|
611
|
+
auth_settings=auth_settings,
|
|
612
|
+
async_req=params.get('async_req'),
|
|
613
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
614
|
+
_preload_content=params.get('_preload_content', True),
|
|
615
|
+
_request_timeout=params.get('_request_timeout'),
|
|
616
|
+
collection_formats=collection_formats)
|
|
617
|
+
|
|
618
|
+
def delete_agent_group(self, body, **kwargs): # noqa: E501
|
|
619
|
+
"""delete_agent_group # noqa: E501
|
|
620
|
+
|
|
621
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
622
|
+
asynchronous HTTP request, please pass async_req=True
|
|
623
|
+
>>> thread = api.delete_agent_group(body, async_req=True)
|
|
624
|
+
>>> result = thread.get()
|
|
625
|
+
|
|
626
|
+
:param async_req bool
|
|
627
|
+
:param DeleteAgentGroupRequest body: (required)
|
|
628
|
+
:return: DeleteAgentGroupResponse
|
|
629
|
+
If the method is called asynchronously,
|
|
630
|
+
returns the request thread.
|
|
631
|
+
"""
|
|
632
|
+
kwargs['_return_http_data_only'] = True
|
|
633
|
+
if kwargs.get('async_req'):
|
|
634
|
+
return self.delete_agent_group_with_http_info(body, **kwargs) # noqa: E501
|
|
635
|
+
else:
|
|
636
|
+
(data) = self.delete_agent_group_with_http_info(body, **kwargs) # noqa: E501
|
|
637
|
+
return data
|
|
638
|
+
|
|
639
|
+
def delete_agent_group_with_http_info(self, body, **kwargs): # noqa: E501
|
|
640
|
+
"""delete_agent_group # noqa: E501
|
|
641
|
+
|
|
642
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
643
|
+
asynchronous HTTP request, please pass async_req=True
|
|
644
|
+
>>> thread = api.delete_agent_group_with_http_info(body, async_req=True)
|
|
645
|
+
>>> result = thread.get()
|
|
646
|
+
|
|
647
|
+
:param async_req bool
|
|
648
|
+
:param DeleteAgentGroupRequest body: (required)
|
|
649
|
+
:return: DeleteAgentGroupResponse
|
|
650
|
+
If the method is called asynchronously,
|
|
651
|
+
returns the request thread.
|
|
652
|
+
"""
|
|
653
|
+
|
|
654
|
+
all_params = ['body'] # noqa: E501
|
|
655
|
+
all_params.append('async_req')
|
|
656
|
+
all_params.append('_return_http_data_only')
|
|
657
|
+
all_params.append('_preload_content')
|
|
658
|
+
all_params.append('_request_timeout')
|
|
659
|
+
|
|
660
|
+
params = locals()
|
|
661
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
662
|
+
if key not in all_params:
|
|
663
|
+
raise TypeError(
|
|
664
|
+
"Got an unexpected keyword argument '%s'"
|
|
665
|
+
" to method delete_agent_group" % key
|
|
666
|
+
)
|
|
667
|
+
params[key] = val
|
|
668
|
+
del params['kwargs']
|
|
669
|
+
# verify the required parameter 'body' is set
|
|
670
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
671
|
+
params['body'] is None): # noqa: E501
|
|
672
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_agent_group`") # noqa: E501
|
|
673
|
+
|
|
674
|
+
collection_formats = {}
|
|
675
|
+
|
|
676
|
+
path_params = {}
|
|
677
|
+
|
|
678
|
+
query_params = []
|
|
679
|
+
|
|
680
|
+
header_params = {}
|
|
681
|
+
|
|
682
|
+
form_params = []
|
|
683
|
+
local_var_files = {}
|
|
684
|
+
|
|
685
|
+
body_params = None
|
|
686
|
+
if 'body' in params:
|
|
687
|
+
body_params = params['body']
|
|
688
|
+
# HTTP header `Accept`
|
|
689
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
690
|
+
['application/json']) # noqa: E501
|
|
691
|
+
|
|
692
|
+
# HTTP header `Content-Type`
|
|
693
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
694
|
+
['application/json']) # noqa: E501
|
|
695
|
+
|
|
696
|
+
# Authentication setting
|
|
697
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
698
|
+
|
|
699
|
+
return self.api_client.call_api(
|
|
700
|
+
'/DeleteAgentGroup/2025-01-01/dms/post/application_json/', 'POST',
|
|
701
|
+
path_params,
|
|
702
|
+
query_params,
|
|
703
|
+
header_params,
|
|
704
|
+
body=body_params,
|
|
705
|
+
post_params=form_params,
|
|
706
|
+
files=local_var_files,
|
|
707
|
+
response_type='DeleteAgentGroupResponse', # noqa: E501
|
|
708
|
+
auth_settings=auth_settings,
|
|
709
|
+
async_req=params.get('async_req'),
|
|
710
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
711
|
+
_preload_content=params.get('_preload_content', True),
|
|
712
|
+
_request_timeout=params.get('_request_timeout'),
|
|
713
|
+
collection_formats=collection_formats)
|
|
714
|
+
|
|
715
|
+
def delete_task(self, body, **kwargs): # noqa: E501
|
|
716
|
+
"""delete_task # noqa: E501
|
|
717
|
+
|
|
718
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
719
|
+
asynchronous HTTP request, please pass async_req=True
|
|
720
|
+
>>> thread = api.delete_task(body, async_req=True)
|
|
721
|
+
>>> result = thread.get()
|
|
722
|
+
|
|
723
|
+
:param async_req bool
|
|
724
|
+
:param DeleteTaskRequest body: (required)
|
|
725
|
+
:return: DeleteTaskResponse
|
|
726
|
+
If the method is called asynchronously,
|
|
727
|
+
returns the request thread.
|
|
728
|
+
"""
|
|
729
|
+
kwargs['_return_http_data_only'] = True
|
|
730
|
+
if kwargs.get('async_req'):
|
|
731
|
+
return self.delete_task_with_http_info(body, **kwargs) # noqa: E501
|
|
732
|
+
else:
|
|
733
|
+
(data) = self.delete_task_with_http_info(body, **kwargs) # noqa: E501
|
|
734
|
+
return data
|
|
735
|
+
|
|
736
|
+
def delete_task_with_http_info(self, body, **kwargs): # noqa: E501
|
|
737
|
+
"""delete_task # noqa: E501
|
|
738
|
+
|
|
739
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
740
|
+
asynchronous HTTP request, please pass async_req=True
|
|
741
|
+
>>> thread = api.delete_task_with_http_info(body, async_req=True)
|
|
742
|
+
>>> result = thread.get()
|
|
743
|
+
|
|
744
|
+
:param async_req bool
|
|
745
|
+
:param DeleteTaskRequest body: (required)
|
|
746
|
+
:return: DeleteTaskResponse
|
|
747
|
+
If the method is called asynchronously,
|
|
748
|
+
returns the request thread.
|
|
749
|
+
"""
|
|
750
|
+
|
|
751
|
+
all_params = ['body'] # noqa: E501
|
|
752
|
+
all_params.append('async_req')
|
|
753
|
+
all_params.append('_return_http_data_only')
|
|
754
|
+
all_params.append('_preload_content')
|
|
755
|
+
all_params.append('_request_timeout')
|
|
756
|
+
|
|
757
|
+
params = locals()
|
|
758
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
759
|
+
if key not in all_params:
|
|
760
|
+
raise TypeError(
|
|
761
|
+
"Got an unexpected keyword argument '%s'"
|
|
762
|
+
" to method delete_task" % key
|
|
763
|
+
)
|
|
764
|
+
params[key] = val
|
|
765
|
+
del params['kwargs']
|
|
766
|
+
# verify the required parameter 'body' is set
|
|
767
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
768
|
+
params['body'] is None): # noqa: E501
|
|
769
|
+
raise ValueError("Missing the required parameter `body` when calling `delete_task`") # noqa: E501
|
|
770
|
+
|
|
771
|
+
collection_formats = {}
|
|
772
|
+
|
|
773
|
+
path_params = {}
|
|
774
|
+
|
|
775
|
+
query_params = []
|
|
776
|
+
|
|
777
|
+
header_params = {}
|
|
778
|
+
|
|
779
|
+
form_params = []
|
|
780
|
+
local_var_files = {}
|
|
781
|
+
|
|
782
|
+
body_params = None
|
|
783
|
+
if 'body' in params:
|
|
784
|
+
body_params = params['body']
|
|
785
|
+
# HTTP header `Accept`
|
|
786
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
787
|
+
['application/json']) # noqa: E501
|
|
788
|
+
|
|
789
|
+
# HTTP header `Content-Type`
|
|
790
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
791
|
+
['application/json']) # noqa: E501
|
|
792
|
+
|
|
793
|
+
# Authentication setting
|
|
794
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
795
|
+
|
|
796
|
+
return self.api_client.call_api(
|
|
797
|
+
'/DeleteTask/2025-01-01/dms/post/application_json/', 'POST',
|
|
798
|
+
path_params,
|
|
799
|
+
query_params,
|
|
800
|
+
header_params,
|
|
801
|
+
body=body_params,
|
|
802
|
+
post_params=form_params,
|
|
803
|
+
files=local_var_files,
|
|
804
|
+
response_type='DeleteTaskResponse', # noqa: E501
|
|
805
|
+
auth_settings=auth_settings,
|
|
806
|
+
async_req=params.get('async_req'),
|
|
807
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
808
|
+
_preload_content=params.get('_preload_content', True),
|
|
809
|
+
_request_timeout=params.get('_request_timeout'),
|
|
810
|
+
collection_formats=collection_formats)
|
|
811
|
+
|
|
812
|
+
def get_address(self, body, **kwargs): # noqa: E501
|
|
813
|
+
"""get_address # noqa: E501
|
|
814
|
+
|
|
815
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
816
|
+
asynchronous HTTP request, please pass async_req=True
|
|
817
|
+
>>> thread = api.get_address(body, async_req=True)
|
|
818
|
+
>>> result = thread.get()
|
|
819
|
+
|
|
820
|
+
:param async_req bool
|
|
821
|
+
:param GetAddressRequest body: (required)
|
|
822
|
+
:return: GetAddressResponse
|
|
823
|
+
If the method is called asynchronously,
|
|
824
|
+
returns the request thread.
|
|
825
|
+
"""
|
|
826
|
+
kwargs['_return_http_data_only'] = True
|
|
827
|
+
if kwargs.get('async_req'):
|
|
828
|
+
return self.get_address_with_http_info(body, **kwargs) # noqa: E501
|
|
829
|
+
else:
|
|
830
|
+
(data) = self.get_address_with_http_info(body, **kwargs) # noqa: E501
|
|
831
|
+
return data
|
|
832
|
+
|
|
833
|
+
def get_address_with_http_info(self, body, **kwargs): # noqa: E501
|
|
834
|
+
"""get_address # noqa: E501
|
|
835
|
+
|
|
836
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
837
|
+
asynchronous HTTP request, please pass async_req=True
|
|
838
|
+
>>> thread = api.get_address_with_http_info(body, async_req=True)
|
|
839
|
+
>>> result = thread.get()
|
|
840
|
+
|
|
841
|
+
:param async_req bool
|
|
842
|
+
:param GetAddressRequest body: (required)
|
|
843
|
+
:return: GetAddressResponse
|
|
844
|
+
If the method is called asynchronously,
|
|
845
|
+
returns the request thread.
|
|
846
|
+
"""
|
|
847
|
+
|
|
848
|
+
all_params = ['body'] # noqa: E501
|
|
849
|
+
all_params.append('async_req')
|
|
850
|
+
all_params.append('_return_http_data_only')
|
|
851
|
+
all_params.append('_preload_content')
|
|
852
|
+
all_params.append('_request_timeout')
|
|
853
|
+
|
|
854
|
+
params = locals()
|
|
855
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
856
|
+
if key not in all_params:
|
|
857
|
+
raise TypeError(
|
|
858
|
+
"Got an unexpected keyword argument '%s'"
|
|
859
|
+
" to method get_address" % key
|
|
860
|
+
)
|
|
861
|
+
params[key] = val
|
|
862
|
+
del params['kwargs']
|
|
863
|
+
# verify the required parameter 'body' is set
|
|
864
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
865
|
+
params['body'] is None): # noqa: E501
|
|
866
|
+
raise ValueError("Missing the required parameter `body` when calling `get_address`") # noqa: E501
|
|
867
|
+
|
|
868
|
+
collection_formats = {}
|
|
869
|
+
|
|
870
|
+
path_params = {}
|
|
871
|
+
|
|
872
|
+
query_params = []
|
|
873
|
+
|
|
874
|
+
header_params = {}
|
|
875
|
+
|
|
876
|
+
form_params = []
|
|
877
|
+
local_var_files = {}
|
|
878
|
+
|
|
879
|
+
body_params = None
|
|
880
|
+
if 'body' in params:
|
|
881
|
+
body_params = params['body']
|
|
882
|
+
# HTTP header `Accept`
|
|
883
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
884
|
+
['application/json']) # noqa: E501
|
|
885
|
+
|
|
886
|
+
# HTTP header `Content-Type`
|
|
887
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
888
|
+
['text/plain']) # noqa: E501
|
|
889
|
+
|
|
890
|
+
# Authentication setting
|
|
891
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
892
|
+
|
|
893
|
+
return self.api_client.call_api(
|
|
894
|
+
'/GetAddress/2025-01-01/dms/get/text_plain/', 'GET',
|
|
895
|
+
path_params,
|
|
896
|
+
query_params,
|
|
897
|
+
header_params,
|
|
898
|
+
body=body_params,
|
|
899
|
+
post_params=form_params,
|
|
900
|
+
files=local_var_files,
|
|
901
|
+
response_type='GetAddressResponse', # noqa: E501
|
|
902
|
+
auth_settings=auth_settings,
|
|
903
|
+
async_req=params.get('async_req'),
|
|
904
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
905
|
+
_preload_content=params.get('_preload_content', True),
|
|
906
|
+
_request_timeout=params.get('_request_timeout'),
|
|
907
|
+
collection_formats=collection_formats)
|
|
908
|
+
|
|
909
|
+
def get_agent(self, body, **kwargs): # noqa: E501
|
|
910
|
+
"""get_agent # noqa: E501
|
|
911
|
+
|
|
912
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
913
|
+
asynchronous HTTP request, please pass async_req=True
|
|
914
|
+
>>> thread = api.get_agent(body, async_req=True)
|
|
915
|
+
>>> result = thread.get()
|
|
916
|
+
|
|
917
|
+
:param async_req bool
|
|
918
|
+
:param GetAgentRequest body: (required)
|
|
919
|
+
:return: GetAgentResponse
|
|
920
|
+
If the method is called asynchronously,
|
|
921
|
+
returns the request thread.
|
|
922
|
+
"""
|
|
923
|
+
kwargs['_return_http_data_only'] = True
|
|
924
|
+
if kwargs.get('async_req'):
|
|
925
|
+
return self.get_agent_with_http_info(body, **kwargs) # noqa: E501
|
|
926
|
+
else:
|
|
927
|
+
(data) = self.get_agent_with_http_info(body, **kwargs) # noqa: E501
|
|
928
|
+
return data
|
|
929
|
+
|
|
930
|
+
def get_agent_with_http_info(self, body, **kwargs): # noqa: E501
|
|
931
|
+
"""get_agent # noqa: E501
|
|
932
|
+
|
|
933
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
934
|
+
asynchronous HTTP request, please pass async_req=True
|
|
935
|
+
>>> thread = api.get_agent_with_http_info(body, async_req=True)
|
|
936
|
+
>>> result = thread.get()
|
|
937
|
+
|
|
938
|
+
:param async_req bool
|
|
939
|
+
:param GetAgentRequest body: (required)
|
|
940
|
+
:return: GetAgentResponse
|
|
941
|
+
If the method is called asynchronously,
|
|
942
|
+
returns the request thread.
|
|
943
|
+
"""
|
|
944
|
+
|
|
945
|
+
all_params = ['body'] # noqa: E501
|
|
946
|
+
all_params.append('async_req')
|
|
947
|
+
all_params.append('_return_http_data_only')
|
|
948
|
+
all_params.append('_preload_content')
|
|
949
|
+
all_params.append('_request_timeout')
|
|
950
|
+
|
|
951
|
+
params = locals()
|
|
952
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
953
|
+
if key not in all_params:
|
|
954
|
+
raise TypeError(
|
|
955
|
+
"Got an unexpected keyword argument '%s'"
|
|
956
|
+
" to method get_agent" % key
|
|
957
|
+
)
|
|
958
|
+
params[key] = val
|
|
959
|
+
del params['kwargs']
|
|
960
|
+
# verify the required parameter 'body' is set
|
|
961
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
962
|
+
params['body'] is None): # noqa: E501
|
|
963
|
+
raise ValueError("Missing the required parameter `body` when calling `get_agent`") # noqa: E501
|
|
964
|
+
|
|
965
|
+
collection_formats = {}
|
|
966
|
+
|
|
967
|
+
path_params = {}
|
|
968
|
+
|
|
969
|
+
query_params = []
|
|
970
|
+
|
|
971
|
+
header_params = {}
|
|
972
|
+
|
|
973
|
+
form_params = []
|
|
974
|
+
local_var_files = {}
|
|
975
|
+
|
|
976
|
+
body_params = None
|
|
977
|
+
if 'body' in params:
|
|
978
|
+
body_params = params['body']
|
|
979
|
+
# HTTP header `Accept`
|
|
980
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
981
|
+
['application/json']) # noqa: E501
|
|
982
|
+
|
|
983
|
+
# HTTP header `Content-Type`
|
|
984
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
985
|
+
['text/plain']) # noqa: E501
|
|
986
|
+
|
|
987
|
+
# Authentication setting
|
|
988
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
989
|
+
|
|
990
|
+
return self.api_client.call_api(
|
|
991
|
+
'/GetAgent/2025-01-01/dms/get/text_plain/', 'GET',
|
|
992
|
+
path_params,
|
|
993
|
+
query_params,
|
|
994
|
+
header_params,
|
|
995
|
+
body=body_params,
|
|
996
|
+
post_params=form_params,
|
|
997
|
+
files=local_var_files,
|
|
998
|
+
response_type='GetAgentResponse', # noqa: E501
|
|
999
|
+
auth_settings=auth_settings,
|
|
1000
|
+
async_req=params.get('async_req'),
|
|
1001
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1002
|
+
_preload_content=params.get('_preload_content', True),
|
|
1003
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1004
|
+
collection_formats=collection_formats)
|
|
1005
|
+
|
|
1006
|
+
def get_agent_group(self, body, **kwargs): # noqa: E501
|
|
1007
|
+
"""get_agent_group # noqa: E501
|
|
1008
|
+
|
|
1009
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1010
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1011
|
+
>>> thread = api.get_agent_group(body, async_req=True)
|
|
1012
|
+
>>> result = thread.get()
|
|
1013
|
+
|
|
1014
|
+
:param async_req bool
|
|
1015
|
+
:param GetAgentGroupRequest body: (required)
|
|
1016
|
+
:return: GetAgentGroupResponse
|
|
1017
|
+
If the method is called asynchronously,
|
|
1018
|
+
returns the request thread.
|
|
1019
|
+
"""
|
|
1020
|
+
kwargs['_return_http_data_only'] = True
|
|
1021
|
+
if kwargs.get('async_req'):
|
|
1022
|
+
return self.get_agent_group_with_http_info(body, **kwargs) # noqa: E501
|
|
1023
|
+
else:
|
|
1024
|
+
(data) = self.get_agent_group_with_http_info(body, **kwargs) # noqa: E501
|
|
1025
|
+
return data
|
|
1026
|
+
|
|
1027
|
+
def get_agent_group_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1028
|
+
"""get_agent_group # noqa: E501
|
|
1029
|
+
|
|
1030
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1031
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1032
|
+
>>> thread = api.get_agent_group_with_http_info(body, async_req=True)
|
|
1033
|
+
>>> result = thread.get()
|
|
1034
|
+
|
|
1035
|
+
:param async_req bool
|
|
1036
|
+
:param GetAgentGroupRequest body: (required)
|
|
1037
|
+
:return: GetAgentGroupResponse
|
|
1038
|
+
If the method is called asynchronously,
|
|
1039
|
+
returns the request thread.
|
|
1040
|
+
"""
|
|
1041
|
+
|
|
1042
|
+
all_params = ['body'] # noqa: E501
|
|
1043
|
+
all_params.append('async_req')
|
|
1044
|
+
all_params.append('_return_http_data_only')
|
|
1045
|
+
all_params.append('_preload_content')
|
|
1046
|
+
all_params.append('_request_timeout')
|
|
1047
|
+
|
|
1048
|
+
params = locals()
|
|
1049
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1050
|
+
if key not in all_params:
|
|
1051
|
+
raise TypeError(
|
|
1052
|
+
"Got an unexpected keyword argument '%s'"
|
|
1053
|
+
" to method get_agent_group" % key
|
|
1054
|
+
)
|
|
1055
|
+
params[key] = val
|
|
1056
|
+
del params['kwargs']
|
|
1057
|
+
# verify the required parameter 'body' is set
|
|
1058
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1059
|
+
params['body'] is None): # noqa: E501
|
|
1060
|
+
raise ValueError("Missing the required parameter `body` when calling `get_agent_group`") # noqa: E501
|
|
1061
|
+
|
|
1062
|
+
collection_formats = {}
|
|
1063
|
+
|
|
1064
|
+
path_params = {}
|
|
1065
|
+
|
|
1066
|
+
query_params = []
|
|
1067
|
+
|
|
1068
|
+
header_params = {}
|
|
1069
|
+
|
|
1070
|
+
form_params = []
|
|
1071
|
+
local_var_files = {}
|
|
1072
|
+
|
|
1073
|
+
body_params = None
|
|
1074
|
+
if 'body' in params:
|
|
1075
|
+
body_params = params['body']
|
|
1076
|
+
# HTTP header `Accept`
|
|
1077
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1078
|
+
['application/json']) # noqa: E501
|
|
1079
|
+
|
|
1080
|
+
# HTTP header `Content-Type`
|
|
1081
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1082
|
+
['text/plain']) # noqa: E501
|
|
1083
|
+
|
|
1084
|
+
# Authentication setting
|
|
1085
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1086
|
+
|
|
1087
|
+
return self.api_client.call_api(
|
|
1088
|
+
'/GetAgentGroup/2025-01-01/dms/get/text_plain/', 'GET',
|
|
1089
|
+
path_params,
|
|
1090
|
+
query_params,
|
|
1091
|
+
header_params,
|
|
1092
|
+
body=body_params,
|
|
1093
|
+
post_params=form_params,
|
|
1094
|
+
files=local_var_files,
|
|
1095
|
+
response_type='GetAgentGroupResponse', # noqa: E501
|
|
1096
|
+
auth_settings=auth_settings,
|
|
1097
|
+
async_req=params.get('async_req'),
|
|
1098
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1099
|
+
_preload_content=params.get('_preload_content', True),
|
|
1100
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1101
|
+
collection_formats=collection_formats)
|
|
1102
|
+
|
|
1103
|
+
def get_agent_group_status(self, body, **kwargs): # noqa: E501
|
|
1104
|
+
"""get_agent_group_status # noqa: E501
|
|
1105
|
+
|
|
1106
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1107
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1108
|
+
>>> thread = api.get_agent_group_status(body, async_req=True)
|
|
1109
|
+
>>> result = thread.get()
|
|
1110
|
+
|
|
1111
|
+
:param async_req bool
|
|
1112
|
+
:param GetAgentGroupStatusRequest body: (required)
|
|
1113
|
+
:return: GetAgentGroupStatusResponse
|
|
1114
|
+
If the method is called asynchronously,
|
|
1115
|
+
returns the request thread.
|
|
1116
|
+
"""
|
|
1117
|
+
kwargs['_return_http_data_only'] = True
|
|
1118
|
+
if kwargs.get('async_req'):
|
|
1119
|
+
return self.get_agent_group_status_with_http_info(body, **kwargs) # noqa: E501
|
|
1120
|
+
else:
|
|
1121
|
+
(data) = self.get_agent_group_status_with_http_info(body, **kwargs) # noqa: E501
|
|
1122
|
+
return data
|
|
1123
|
+
|
|
1124
|
+
def get_agent_group_status_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1125
|
+
"""get_agent_group_status # noqa: E501
|
|
1126
|
+
|
|
1127
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1128
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1129
|
+
>>> thread = api.get_agent_group_status_with_http_info(body, async_req=True)
|
|
1130
|
+
>>> result = thread.get()
|
|
1131
|
+
|
|
1132
|
+
:param async_req bool
|
|
1133
|
+
:param GetAgentGroupStatusRequest body: (required)
|
|
1134
|
+
:return: GetAgentGroupStatusResponse
|
|
1135
|
+
If the method is called asynchronously,
|
|
1136
|
+
returns the request thread.
|
|
1137
|
+
"""
|
|
1138
|
+
|
|
1139
|
+
all_params = ['body'] # noqa: E501
|
|
1140
|
+
all_params.append('async_req')
|
|
1141
|
+
all_params.append('_return_http_data_only')
|
|
1142
|
+
all_params.append('_preload_content')
|
|
1143
|
+
all_params.append('_request_timeout')
|
|
1144
|
+
|
|
1145
|
+
params = locals()
|
|
1146
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1147
|
+
if key not in all_params:
|
|
1148
|
+
raise TypeError(
|
|
1149
|
+
"Got an unexpected keyword argument '%s'"
|
|
1150
|
+
" to method get_agent_group_status" % key
|
|
1151
|
+
)
|
|
1152
|
+
params[key] = val
|
|
1153
|
+
del params['kwargs']
|
|
1154
|
+
# verify the required parameter 'body' is set
|
|
1155
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1156
|
+
params['body'] is None): # noqa: E501
|
|
1157
|
+
raise ValueError("Missing the required parameter `body` when calling `get_agent_group_status`") # noqa: E501
|
|
1158
|
+
|
|
1159
|
+
collection_formats = {}
|
|
1160
|
+
|
|
1161
|
+
path_params = {}
|
|
1162
|
+
|
|
1163
|
+
query_params = []
|
|
1164
|
+
|
|
1165
|
+
header_params = {}
|
|
1166
|
+
|
|
1167
|
+
form_params = []
|
|
1168
|
+
local_var_files = {}
|
|
1169
|
+
|
|
1170
|
+
body_params = None
|
|
1171
|
+
if 'body' in params:
|
|
1172
|
+
body_params = params['body']
|
|
1173
|
+
# HTTP header `Accept`
|
|
1174
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1175
|
+
['application/json']) # noqa: E501
|
|
1176
|
+
|
|
1177
|
+
# HTTP header `Content-Type`
|
|
1178
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1179
|
+
['text/plain']) # noqa: E501
|
|
1180
|
+
|
|
1181
|
+
# Authentication setting
|
|
1182
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1183
|
+
|
|
1184
|
+
return self.api_client.call_api(
|
|
1185
|
+
'/GetAgentGroupStatus/2025-01-01/dms/get/text_plain/', 'GET',
|
|
1186
|
+
path_params,
|
|
1187
|
+
query_params,
|
|
1188
|
+
header_params,
|
|
1189
|
+
body=body_params,
|
|
1190
|
+
post_params=form_params,
|
|
1191
|
+
files=local_var_files,
|
|
1192
|
+
response_type='GetAgentGroupStatusResponse', # noqa: E501
|
|
1193
|
+
auth_settings=auth_settings,
|
|
1194
|
+
async_req=params.get('async_req'),
|
|
1195
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1196
|
+
_preload_content=params.get('_preload_content', True),
|
|
1197
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1198
|
+
collection_formats=collection_formats)
|
|
1199
|
+
|
|
1200
|
+
def get_real_time_statistics(self, body, **kwargs): # noqa: E501
|
|
1201
|
+
"""get_real_time_statistics # noqa: E501
|
|
1202
|
+
|
|
1203
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1204
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1205
|
+
>>> thread = api.get_real_time_statistics(body, async_req=True)
|
|
1206
|
+
>>> result = thread.get()
|
|
1207
|
+
|
|
1208
|
+
:param async_req bool
|
|
1209
|
+
:param GetRealTimeStatisticsRequest body: (required)
|
|
1210
|
+
:return: GetRealTimeStatisticsResponse
|
|
1211
|
+
If the method is called asynchronously,
|
|
1212
|
+
returns the request thread.
|
|
1213
|
+
"""
|
|
1214
|
+
kwargs['_return_http_data_only'] = True
|
|
1215
|
+
if kwargs.get('async_req'):
|
|
1216
|
+
return self.get_real_time_statistics_with_http_info(body, **kwargs) # noqa: E501
|
|
1217
|
+
else:
|
|
1218
|
+
(data) = self.get_real_time_statistics_with_http_info(body, **kwargs) # noqa: E501
|
|
1219
|
+
return data
|
|
1220
|
+
|
|
1221
|
+
def get_real_time_statistics_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1222
|
+
"""get_real_time_statistics # noqa: E501
|
|
1223
|
+
|
|
1224
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1225
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1226
|
+
>>> thread = api.get_real_time_statistics_with_http_info(body, async_req=True)
|
|
1227
|
+
>>> result = thread.get()
|
|
1228
|
+
|
|
1229
|
+
:param async_req bool
|
|
1230
|
+
:param GetRealTimeStatisticsRequest body: (required)
|
|
1231
|
+
:return: GetRealTimeStatisticsResponse
|
|
1232
|
+
If the method is called asynchronously,
|
|
1233
|
+
returns the request thread.
|
|
1234
|
+
"""
|
|
1235
|
+
|
|
1236
|
+
all_params = ['body'] # noqa: E501
|
|
1237
|
+
all_params.append('async_req')
|
|
1238
|
+
all_params.append('_return_http_data_only')
|
|
1239
|
+
all_params.append('_preload_content')
|
|
1240
|
+
all_params.append('_request_timeout')
|
|
1241
|
+
|
|
1242
|
+
params = locals()
|
|
1243
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1244
|
+
if key not in all_params:
|
|
1245
|
+
raise TypeError(
|
|
1246
|
+
"Got an unexpected keyword argument '%s'"
|
|
1247
|
+
" to method get_real_time_statistics" % key
|
|
1248
|
+
)
|
|
1249
|
+
params[key] = val
|
|
1250
|
+
del params['kwargs']
|
|
1251
|
+
# verify the required parameter 'body' is set
|
|
1252
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1253
|
+
params['body'] is None): # noqa: E501
|
|
1254
|
+
raise ValueError("Missing the required parameter `body` when calling `get_real_time_statistics`") # noqa: E501
|
|
1255
|
+
|
|
1256
|
+
collection_formats = {}
|
|
1257
|
+
|
|
1258
|
+
path_params = {}
|
|
1259
|
+
|
|
1260
|
+
query_params = []
|
|
1261
|
+
|
|
1262
|
+
header_params = {}
|
|
1263
|
+
|
|
1264
|
+
form_params = []
|
|
1265
|
+
local_var_files = {}
|
|
1266
|
+
|
|
1267
|
+
body_params = None
|
|
1268
|
+
if 'body' in params:
|
|
1269
|
+
body_params = params['body']
|
|
1270
|
+
# HTTP header `Accept`
|
|
1271
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1272
|
+
['application/json']) # noqa: E501
|
|
1273
|
+
|
|
1274
|
+
# HTTP header `Content-Type`
|
|
1275
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1276
|
+
['application/json']) # noqa: E501
|
|
1277
|
+
|
|
1278
|
+
# Authentication setting
|
|
1279
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1280
|
+
|
|
1281
|
+
return self.api_client.call_api(
|
|
1282
|
+
'/GetRealTimeStatistics/2025-01-01/dms/post/application_json/', 'POST',
|
|
1283
|
+
path_params,
|
|
1284
|
+
query_params,
|
|
1285
|
+
header_params,
|
|
1286
|
+
body=body_params,
|
|
1287
|
+
post_params=form_params,
|
|
1288
|
+
files=local_var_files,
|
|
1289
|
+
response_type='GetRealTimeStatisticsResponse', # noqa: E501
|
|
1290
|
+
auth_settings=auth_settings,
|
|
1291
|
+
async_req=params.get('async_req'),
|
|
1292
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1293
|
+
_preload_content=params.get('_preload_content', True),
|
|
1294
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1295
|
+
collection_formats=collection_formats)
|
|
1296
|
+
|
|
1297
|
+
def get_task(self, body, **kwargs): # noqa: E501
|
|
1298
|
+
"""get_task # 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.get_task(body, async_req=True)
|
|
1303
|
+
>>> result = thread.get()
|
|
1304
|
+
|
|
1305
|
+
:param async_req bool
|
|
1306
|
+
:param GetTaskRequest body: (required)
|
|
1307
|
+
:return: GetTaskResponse
|
|
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.get_task_with_http_info(body, **kwargs) # noqa: E501
|
|
1314
|
+
else:
|
|
1315
|
+
(data) = self.get_task_with_http_info(body, **kwargs) # noqa: E501
|
|
1316
|
+
return data
|
|
1317
|
+
|
|
1318
|
+
def get_task_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1319
|
+
"""get_task # 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.get_task_with_http_info(body, async_req=True)
|
|
1324
|
+
>>> result = thread.get()
|
|
1325
|
+
|
|
1326
|
+
:param async_req bool
|
|
1327
|
+
:param GetTaskRequest body: (required)
|
|
1328
|
+
:return: GetTaskResponse
|
|
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 get_task" % 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 `get_task`") # 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
|
+
['text/plain']) # noqa: E501
|
|
1374
|
+
|
|
1375
|
+
# Authentication setting
|
|
1376
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1377
|
+
|
|
1378
|
+
return self.api_client.call_api(
|
|
1379
|
+
'/GetTask/2025-01-01/dms/get/text_plain/', 'GET',
|
|
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='GetTaskResponse', # 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
|
+
|
|
1394
|
+
def list_addresses(self, body, **kwargs): # noqa: E501
|
|
1395
|
+
"""list_addresses # noqa: E501
|
|
1396
|
+
|
|
1397
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1398
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1399
|
+
>>> thread = api.list_addresses(body, async_req=True)
|
|
1400
|
+
>>> result = thread.get()
|
|
1401
|
+
|
|
1402
|
+
:param async_req bool
|
|
1403
|
+
:param ListAddressesRequest body: (required)
|
|
1404
|
+
:return: ListAddressesResponse
|
|
1405
|
+
If the method is called asynchronously,
|
|
1406
|
+
returns the request thread.
|
|
1407
|
+
"""
|
|
1408
|
+
kwargs['_return_http_data_only'] = True
|
|
1409
|
+
if kwargs.get('async_req'):
|
|
1410
|
+
return self.list_addresses_with_http_info(body, **kwargs) # noqa: E501
|
|
1411
|
+
else:
|
|
1412
|
+
(data) = self.list_addresses_with_http_info(body, **kwargs) # noqa: E501
|
|
1413
|
+
return data
|
|
1414
|
+
|
|
1415
|
+
def list_addresses_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1416
|
+
"""list_addresses # noqa: E501
|
|
1417
|
+
|
|
1418
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1419
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1420
|
+
>>> thread = api.list_addresses_with_http_info(body, async_req=True)
|
|
1421
|
+
>>> result = thread.get()
|
|
1422
|
+
|
|
1423
|
+
:param async_req bool
|
|
1424
|
+
:param ListAddressesRequest body: (required)
|
|
1425
|
+
:return: ListAddressesResponse
|
|
1426
|
+
If the method is called asynchronously,
|
|
1427
|
+
returns the request thread.
|
|
1428
|
+
"""
|
|
1429
|
+
|
|
1430
|
+
all_params = ['body'] # noqa: E501
|
|
1431
|
+
all_params.append('async_req')
|
|
1432
|
+
all_params.append('_return_http_data_only')
|
|
1433
|
+
all_params.append('_preload_content')
|
|
1434
|
+
all_params.append('_request_timeout')
|
|
1435
|
+
|
|
1436
|
+
params = locals()
|
|
1437
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1438
|
+
if key not in all_params:
|
|
1439
|
+
raise TypeError(
|
|
1440
|
+
"Got an unexpected keyword argument '%s'"
|
|
1441
|
+
" to method list_addresses" % key
|
|
1442
|
+
)
|
|
1443
|
+
params[key] = val
|
|
1444
|
+
del params['kwargs']
|
|
1445
|
+
# verify the required parameter 'body' is set
|
|
1446
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1447
|
+
params['body'] is None): # noqa: E501
|
|
1448
|
+
raise ValueError("Missing the required parameter `body` when calling `list_addresses`") # noqa: E501
|
|
1449
|
+
|
|
1450
|
+
collection_formats = {}
|
|
1451
|
+
|
|
1452
|
+
path_params = {}
|
|
1453
|
+
|
|
1454
|
+
query_params = []
|
|
1455
|
+
|
|
1456
|
+
header_params = {}
|
|
1457
|
+
|
|
1458
|
+
form_params = []
|
|
1459
|
+
local_var_files = {}
|
|
1460
|
+
|
|
1461
|
+
body_params = None
|
|
1462
|
+
if 'body' in params:
|
|
1463
|
+
body_params = params['body']
|
|
1464
|
+
# HTTP header `Accept`
|
|
1465
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1466
|
+
['application/json']) # noqa: E501
|
|
1467
|
+
|
|
1468
|
+
# HTTP header `Content-Type`
|
|
1469
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1470
|
+
['text/plain']) # noqa: E501
|
|
1471
|
+
|
|
1472
|
+
# Authentication setting
|
|
1473
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1474
|
+
|
|
1475
|
+
return self.api_client.call_api(
|
|
1476
|
+
'/ListAddresses/2025-01-01/dms/get/text_plain/', 'GET',
|
|
1477
|
+
path_params,
|
|
1478
|
+
query_params,
|
|
1479
|
+
header_params,
|
|
1480
|
+
body=body_params,
|
|
1481
|
+
post_params=form_params,
|
|
1482
|
+
files=local_var_files,
|
|
1483
|
+
response_type='ListAddressesResponse', # noqa: E501
|
|
1484
|
+
auth_settings=auth_settings,
|
|
1485
|
+
async_req=params.get('async_req'),
|
|
1486
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1487
|
+
_preload_content=params.get('_preload_content', True),
|
|
1488
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1489
|
+
collection_formats=collection_formats)
|
|
1490
|
+
|
|
1491
|
+
def list_agent_groups(self, body, **kwargs): # noqa: E501
|
|
1492
|
+
"""list_agent_groups # noqa: E501
|
|
1493
|
+
|
|
1494
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1495
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1496
|
+
>>> thread = api.list_agent_groups(body, async_req=True)
|
|
1497
|
+
>>> result = thread.get()
|
|
1498
|
+
|
|
1499
|
+
:param async_req bool
|
|
1500
|
+
:param ListAgentGroupsRequest body: (required)
|
|
1501
|
+
:return: ListAgentGroupsResponse
|
|
1502
|
+
If the method is called asynchronously,
|
|
1503
|
+
returns the request thread.
|
|
1504
|
+
"""
|
|
1505
|
+
kwargs['_return_http_data_only'] = True
|
|
1506
|
+
if kwargs.get('async_req'):
|
|
1507
|
+
return self.list_agent_groups_with_http_info(body, **kwargs) # noqa: E501
|
|
1508
|
+
else:
|
|
1509
|
+
(data) = self.list_agent_groups_with_http_info(body, **kwargs) # noqa: E501
|
|
1510
|
+
return data
|
|
1511
|
+
|
|
1512
|
+
def list_agent_groups_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1513
|
+
"""list_agent_groups # noqa: E501
|
|
1514
|
+
|
|
1515
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1516
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1517
|
+
>>> thread = api.list_agent_groups_with_http_info(body, async_req=True)
|
|
1518
|
+
>>> result = thread.get()
|
|
1519
|
+
|
|
1520
|
+
:param async_req bool
|
|
1521
|
+
:param ListAgentGroupsRequest body: (required)
|
|
1522
|
+
:return: ListAgentGroupsResponse
|
|
1523
|
+
If the method is called asynchronously,
|
|
1524
|
+
returns the request thread.
|
|
1525
|
+
"""
|
|
1526
|
+
|
|
1527
|
+
all_params = ['body'] # noqa: E501
|
|
1528
|
+
all_params.append('async_req')
|
|
1529
|
+
all_params.append('_return_http_data_only')
|
|
1530
|
+
all_params.append('_preload_content')
|
|
1531
|
+
all_params.append('_request_timeout')
|
|
1532
|
+
|
|
1533
|
+
params = locals()
|
|
1534
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1535
|
+
if key not in all_params:
|
|
1536
|
+
raise TypeError(
|
|
1537
|
+
"Got an unexpected keyword argument '%s'"
|
|
1538
|
+
" to method list_agent_groups" % key
|
|
1539
|
+
)
|
|
1540
|
+
params[key] = val
|
|
1541
|
+
del params['kwargs']
|
|
1542
|
+
# verify the required parameter 'body' is set
|
|
1543
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1544
|
+
params['body'] is None): # noqa: E501
|
|
1545
|
+
raise ValueError("Missing the required parameter `body` when calling `list_agent_groups`") # noqa: E501
|
|
1546
|
+
|
|
1547
|
+
collection_formats = {}
|
|
1548
|
+
|
|
1549
|
+
path_params = {}
|
|
1550
|
+
|
|
1551
|
+
query_params = []
|
|
1552
|
+
|
|
1553
|
+
header_params = {}
|
|
1554
|
+
|
|
1555
|
+
form_params = []
|
|
1556
|
+
local_var_files = {}
|
|
1557
|
+
|
|
1558
|
+
body_params = None
|
|
1559
|
+
if 'body' in params:
|
|
1560
|
+
body_params = params['body']
|
|
1561
|
+
# HTTP header `Accept`
|
|
1562
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1563
|
+
['application/json']) # noqa: E501
|
|
1564
|
+
|
|
1565
|
+
# HTTP header `Content-Type`
|
|
1566
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1567
|
+
['text/plain']) # noqa: E501
|
|
1568
|
+
|
|
1569
|
+
# Authentication setting
|
|
1570
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1571
|
+
|
|
1572
|
+
return self.api_client.call_api(
|
|
1573
|
+
'/ListAgentGroups/2025-01-01/dms/get/text_plain/', 'GET',
|
|
1574
|
+
path_params,
|
|
1575
|
+
query_params,
|
|
1576
|
+
header_params,
|
|
1577
|
+
body=body_params,
|
|
1578
|
+
post_params=form_params,
|
|
1579
|
+
files=local_var_files,
|
|
1580
|
+
response_type='ListAgentGroupsResponse', # noqa: E501
|
|
1581
|
+
auth_settings=auth_settings,
|
|
1582
|
+
async_req=params.get('async_req'),
|
|
1583
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1584
|
+
_preload_content=params.get('_preload_content', True),
|
|
1585
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1586
|
+
collection_formats=collection_formats)
|
|
1587
|
+
|
|
1588
|
+
def list_agents(self, body, **kwargs): # noqa: E501
|
|
1589
|
+
"""list_agents # noqa: E501
|
|
1590
|
+
|
|
1591
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1592
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1593
|
+
>>> thread = api.list_agents(body, async_req=True)
|
|
1594
|
+
>>> result = thread.get()
|
|
1595
|
+
|
|
1596
|
+
:param async_req bool
|
|
1597
|
+
:param ListAgentsRequest body: (required)
|
|
1598
|
+
:return: ListAgentsResponse
|
|
1599
|
+
If the method is called asynchronously,
|
|
1600
|
+
returns the request thread.
|
|
1601
|
+
"""
|
|
1602
|
+
kwargs['_return_http_data_only'] = True
|
|
1603
|
+
if kwargs.get('async_req'):
|
|
1604
|
+
return self.list_agents_with_http_info(body, **kwargs) # noqa: E501
|
|
1605
|
+
else:
|
|
1606
|
+
(data) = self.list_agents_with_http_info(body, **kwargs) # noqa: E501
|
|
1607
|
+
return data
|
|
1608
|
+
|
|
1609
|
+
def list_agents_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1610
|
+
"""list_agents # noqa: E501
|
|
1611
|
+
|
|
1612
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1613
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1614
|
+
>>> thread = api.list_agents_with_http_info(body, async_req=True)
|
|
1615
|
+
>>> result = thread.get()
|
|
1616
|
+
|
|
1617
|
+
:param async_req bool
|
|
1618
|
+
:param ListAgentsRequest body: (required)
|
|
1619
|
+
:return: ListAgentsResponse
|
|
1620
|
+
If the method is called asynchronously,
|
|
1621
|
+
returns the request thread.
|
|
1622
|
+
"""
|
|
1623
|
+
|
|
1624
|
+
all_params = ['body'] # noqa: E501
|
|
1625
|
+
all_params.append('async_req')
|
|
1626
|
+
all_params.append('_return_http_data_only')
|
|
1627
|
+
all_params.append('_preload_content')
|
|
1628
|
+
all_params.append('_request_timeout')
|
|
1629
|
+
|
|
1630
|
+
params = locals()
|
|
1631
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1632
|
+
if key not in all_params:
|
|
1633
|
+
raise TypeError(
|
|
1634
|
+
"Got an unexpected keyword argument '%s'"
|
|
1635
|
+
" to method list_agents" % key
|
|
1636
|
+
)
|
|
1637
|
+
params[key] = val
|
|
1638
|
+
del params['kwargs']
|
|
1639
|
+
# verify the required parameter 'body' is set
|
|
1640
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1641
|
+
params['body'] is None): # noqa: E501
|
|
1642
|
+
raise ValueError("Missing the required parameter `body` when calling `list_agents`") # noqa: E501
|
|
1643
|
+
|
|
1644
|
+
collection_formats = {}
|
|
1645
|
+
|
|
1646
|
+
path_params = {}
|
|
1647
|
+
|
|
1648
|
+
query_params = []
|
|
1649
|
+
|
|
1650
|
+
header_params = {}
|
|
1651
|
+
|
|
1652
|
+
form_params = []
|
|
1653
|
+
local_var_files = {}
|
|
1654
|
+
|
|
1655
|
+
body_params = None
|
|
1656
|
+
if 'body' in params:
|
|
1657
|
+
body_params = params['body']
|
|
1658
|
+
# HTTP header `Accept`
|
|
1659
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1660
|
+
['application/json']) # noqa: E501
|
|
1661
|
+
|
|
1662
|
+
# HTTP header `Content-Type`
|
|
1663
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1664
|
+
['text/plain']) # noqa: E501
|
|
1665
|
+
|
|
1666
|
+
# Authentication setting
|
|
1667
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1668
|
+
|
|
1669
|
+
return self.api_client.call_api(
|
|
1670
|
+
'/ListAgents/2025-01-01/dms/get/text_plain/', 'GET',
|
|
1671
|
+
path_params,
|
|
1672
|
+
query_params,
|
|
1673
|
+
header_params,
|
|
1674
|
+
body=body_params,
|
|
1675
|
+
post_params=form_params,
|
|
1676
|
+
files=local_var_files,
|
|
1677
|
+
response_type='ListAgentsResponse', # noqa: E501
|
|
1678
|
+
auth_settings=auth_settings,
|
|
1679
|
+
async_req=params.get('async_req'),
|
|
1680
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1681
|
+
_preload_content=params.get('_preload_content', True),
|
|
1682
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1683
|
+
collection_formats=collection_formats)
|
|
1684
|
+
|
|
1685
|
+
def list_tasks(self, body, **kwargs): # noqa: E501
|
|
1686
|
+
"""list_tasks # noqa: E501
|
|
1687
|
+
|
|
1688
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1689
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1690
|
+
>>> thread = api.list_tasks(body, async_req=True)
|
|
1691
|
+
>>> result = thread.get()
|
|
1692
|
+
|
|
1693
|
+
:param async_req bool
|
|
1694
|
+
:param ListTasksRequest body: (required)
|
|
1695
|
+
:return: ListTasksResponse
|
|
1696
|
+
If the method is called asynchronously,
|
|
1697
|
+
returns the request thread.
|
|
1698
|
+
"""
|
|
1699
|
+
kwargs['_return_http_data_only'] = True
|
|
1700
|
+
if kwargs.get('async_req'):
|
|
1701
|
+
return self.list_tasks_with_http_info(body, **kwargs) # noqa: E501
|
|
1702
|
+
else:
|
|
1703
|
+
(data) = self.list_tasks_with_http_info(body, **kwargs) # noqa: E501
|
|
1704
|
+
return data
|
|
1705
|
+
|
|
1706
|
+
def list_tasks_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1707
|
+
"""list_tasks # noqa: E501
|
|
1708
|
+
|
|
1709
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1710
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1711
|
+
>>> thread = api.list_tasks_with_http_info(body, async_req=True)
|
|
1712
|
+
>>> result = thread.get()
|
|
1713
|
+
|
|
1714
|
+
:param async_req bool
|
|
1715
|
+
:param ListTasksRequest body: (required)
|
|
1716
|
+
:return: ListTasksResponse
|
|
1717
|
+
If the method is called asynchronously,
|
|
1718
|
+
returns the request thread.
|
|
1719
|
+
"""
|
|
1720
|
+
|
|
1721
|
+
all_params = ['body'] # noqa: E501
|
|
1722
|
+
all_params.append('async_req')
|
|
1723
|
+
all_params.append('_return_http_data_only')
|
|
1724
|
+
all_params.append('_preload_content')
|
|
1725
|
+
all_params.append('_request_timeout')
|
|
1726
|
+
|
|
1727
|
+
params = locals()
|
|
1728
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1729
|
+
if key not in all_params:
|
|
1730
|
+
raise TypeError(
|
|
1731
|
+
"Got an unexpected keyword argument '%s'"
|
|
1732
|
+
" to method list_tasks" % key
|
|
1733
|
+
)
|
|
1734
|
+
params[key] = val
|
|
1735
|
+
del params['kwargs']
|
|
1736
|
+
# verify the required parameter 'body' is set
|
|
1737
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1738
|
+
params['body'] is None): # noqa: E501
|
|
1739
|
+
raise ValueError("Missing the required parameter `body` when calling `list_tasks`") # noqa: E501
|
|
1740
|
+
|
|
1741
|
+
collection_formats = {}
|
|
1742
|
+
|
|
1743
|
+
path_params = {}
|
|
1744
|
+
|
|
1745
|
+
query_params = []
|
|
1746
|
+
|
|
1747
|
+
header_params = {}
|
|
1748
|
+
|
|
1749
|
+
form_params = []
|
|
1750
|
+
local_var_files = {}
|
|
1751
|
+
|
|
1752
|
+
body_params = None
|
|
1753
|
+
if 'body' in params:
|
|
1754
|
+
body_params = params['body']
|
|
1755
|
+
# HTTP header `Accept`
|
|
1756
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1757
|
+
['application/json']) # noqa: E501
|
|
1758
|
+
|
|
1759
|
+
# HTTP header `Content-Type`
|
|
1760
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1761
|
+
['text/plain']) # noqa: E501
|
|
1762
|
+
|
|
1763
|
+
# Authentication setting
|
|
1764
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1765
|
+
|
|
1766
|
+
return self.api_client.call_api(
|
|
1767
|
+
'/ListTasks/2025-01-01/dms/get/text_plain/', 'GET',
|
|
1768
|
+
path_params,
|
|
1769
|
+
query_params,
|
|
1770
|
+
header_params,
|
|
1771
|
+
body=body_params,
|
|
1772
|
+
post_params=form_params,
|
|
1773
|
+
files=local_var_files,
|
|
1774
|
+
response_type='ListTasksResponse', # noqa: E501
|
|
1775
|
+
auth_settings=auth_settings,
|
|
1776
|
+
async_req=params.get('async_req'),
|
|
1777
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1778
|
+
_preload_content=params.get('_preload_content', True),
|
|
1779
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1780
|
+
collection_formats=collection_formats)
|
|
1781
|
+
|
|
1782
|
+
def retry_failed_task(self, body, **kwargs): # noqa: E501
|
|
1783
|
+
"""retry_failed_task # noqa: E501
|
|
1784
|
+
|
|
1785
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1786
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1787
|
+
>>> thread = api.retry_failed_task(body, async_req=True)
|
|
1788
|
+
>>> result = thread.get()
|
|
1789
|
+
|
|
1790
|
+
:param async_req bool
|
|
1791
|
+
:param RetryFailedTaskRequest body: (required)
|
|
1792
|
+
:return: RetryFailedTaskResponse
|
|
1793
|
+
If the method is called asynchronously,
|
|
1794
|
+
returns the request thread.
|
|
1795
|
+
"""
|
|
1796
|
+
kwargs['_return_http_data_only'] = True
|
|
1797
|
+
if kwargs.get('async_req'):
|
|
1798
|
+
return self.retry_failed_task_with_http_info(body, **kwargs) # noqa: E501
|
|
1799
|
+
else:
|
|
1800
|
+
(data) = self.retry_failed_task_with_http_info(body, **kwargs) # noqa: E501
|
|
1801
|
+
return data
|
|
1802
|
+
|
|
1803
|
+
def retry_failed_task_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1804
|
+
"""retry_failed_task # noqa: E501
|
|
1805
|
+
|
|
1806
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1807
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1808
|
+
>>> thread = api.retry_failed_task_with_http_info(body, async_req=True)
|
|
1809
|
+
>>> result = thread.get()
|
|
1810
|
+
|
|
1811
|
+
:param async_req bool
|
|
1812
|
+
:param RetryFailedTaskRequest body: (required)
|
|
1813
|
+
:return: RetryFailedTaskResponse
|
|
1814
|
+
If the method is called asynchronously,
|
|
1815
|
+
returns the request thread.
|
|
1816
|
+
"""
|
|
1817
|
+
|
|
1818
|
+
all_params = ['body'] # noqa: E501
|
|
1819
|
+
all_params.append('async_req')
|
|
1820
|
+
all_params.append('_return_http_data_only')
|
|
1821
|
+
all_params.append('_preload_content')
|
|
1822
|
+
all_params.append('_request_timeout')
|
|
1823
|
+
|
|
1824
|
+
params = locals()
|
|
1825
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1826
|
+
if key not in all_params:
|
|
1827
|
+
raise TypeError(
|
|
1828
|
+
"Got an unexpected keyword argument '%s'"
|
|
1829
|
+
" to method retry_failed_task" % key
|
|
1830
|
+
)
|
|
1831
|
+
params[key] = val
|
|
1832
|
+
del params['kwargs']
|
|
1833
|
+
# verify the required parameter 'body' is set
|
|
1834
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1835
|
+
params['body'] is None): # noqa: E501
|
|
1836
|
+
raise ValueError("Missing the required parameter `body` when calling `retry_failed_task`") # noqa: E501
|
|
1837
|
+
|
|
1838
|
+
collection_formats = {}
|
|
1839
|
+
|
|
1840
|
+
path_params = {}
|
|
1841
|
+
|
|
1842
|
+
query_params = []
|
|
1843
|
+
|
|
1844
|
+
header_params = {}
|
|
1845
|
+
|
|
1846
|
+
form_params = []
|
|
1847
|
+
local_var_files = {}
|
|
1848
|
+
|
|
1849
|
+
body_params = None
|
|
1850
|
+
if 'body' in params:
|
|
1851
|
+
body_params = params['body']
|
|
1852
|
+
# HTTP header `Accept`
|
|
1853
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1854
|
+
['application/json']) # noqa: E501
|
|
1855
|
+
|
|
1856
|
+
# HTTP header `Content-Type`
|
|
1857
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1858
|
+
['application/json']) # noqa: E501
|
|
1859
|
+
|
|
1860
|
+
# Authentication setting
|
|
1861
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1862
|
+
|
|
1863
|
+
return self.api_client.call_api(
|
|
1864
|
+
'/RetryFailedTask/2025-01-01/dms/post/application_json/', 'POST',
|
|
1865
|
+
path_params,
|
|
1866
|
+
query_params,
|
|
1867
|
+
header_params,
|
|
1868
|
+
body=body_params,
|
|
1869
|
+
post_params=form_params,
|
|
1870
|
+
files=local_var_files,
|
|
1871
|
+
response_type='RetryFailedTaskResponse', # noqa: E501
|
|
1872
|
+
auth_settings=auth_settings,
|
|
1873
|
+
async_req=params.get('async_req'),
|
|
1874
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1875
|
+
_preload_content=params.get('_preload_content', True),
|
|
1876
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1877
|
+
collection_formats=collection_formats)
|
|
1878
|
+
|
|
1879
|
+
def update_task(self, body, **kwargs): # noqa: E501
|
|
1880
|
+
"""update_task # noqa: E501
|
|
1881
|
+
|
|
1882
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1883
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1884
|
+
>>> thread = api.update_task(body, async_req=True)
|
|
1885
|
+
>>> result = thread.get()
|
|
1886
|
+
|
|
1887
|
+
:param async_req bool
|
|
1888
|
+
:param UpdateTaskRequest body: (required)
|
|
1889
|
+
:return: UpdateTaskResponse
|
|
1890
|
+
If the method is called asynchronously,
|
|
1891
|
+
returns the request thread.
|
|
1892
|
+
"""
|
|
1893
|
+
kwargs['_return_http_data_only'] = True
|
|
1894
|
+
if kwargs.get('async_req'):
|
|
1895
|
+
return self.update_task_with_http_info(body, **kwargs) # noqa: E501
|
|
1896
|
+
else:
|
|
1897
|
+
(data) = self.update_task_with_http_info(body, **kwargs) # noqa: E501
|
|
1898
|
+
return data
|
|
1899
|
+
|
|
1900
|
+
def update_task_with_http_info(self, body, **kwargs): # noqa: E501
|
|
1901
|
+
"""update_task # noqa: E501
|
|
1902
|
+
|
|
1903
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1904
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1905
|
+
>>> thread = api.update_task_with_http_info(body, async_req=True)
|
|
1906
|
+
>>> result = thread.get()
|
|
1907
|
+
|
|
1908
|
+
:param async_req bool
|
|
1909
|
+
:param UpdateTaskRequest body: (required)
|
|
1910
|
+
:return: UpdateTaskResponse
|
|
1911
|
+
If the method is called asynchronously,
|
|
1912
|
+
returns the request thread.
|
|
1913
|
+
"""
|
|
1914
|
+
|
|
1915
|
+
all_params = ['body'] # noqa: E501
|
|
1916
|
+
all_params.append('async_req')
|
|
1917
|
+
all_params.append('_return_http_data_only')
|
|
1918
|
+
all_params.append('_preload_content')
|
|
1919
|
+
all_params.append('_request_timeout')
|
|
1920
|
+
|
|
1921
|
+
params = locals()
|
|
1922
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1923
|
+
if key not in all_params:
|
|
1924
|
+
raise TypeError(
|
|
1925
|
+
"Got an unexpected keyword argument '%s'"
|
|
1926
|
+
" to method update_task" % key
|
|
1927
|
+
)
|
|
1928
|
+
params[key] = val
|
|
1929
|
+
del params['kwargs']
|
|
1930
|
+
# verify the required parameter 'body' is set
|
|
1931
|
+
if self.api_client.client_side_validation and ('body' not in params or
|
|
1932
|
+
params['body'] is None): # noqa: E501
|
|
1933
|
+
raise ValueError("Missing the required parameter `body` when calling `update_task`") # noqa: E501
|
|
1934
|
+
|
|
1935
|
+
collection_formats = {}
|
|
1936
|
+
|
|
1937
|
+
path_params = {}
|
|
1938
|
+
|
|
1939
|
+
query_params = []
|
|
1940
|
+
|
|
1941
|
+
header_params = {}
|
|
1942
|
+
|
|
1943
|
+
form_params = []
|
|
1944
|
+
local_var_files = {}
|
|
1945
|
+
|
|
1946
|
+
body_params = None
|
|
1947
|
+
if 'body' in params:
|
|
1948
|
+
body_params = params['body']
|
|
1949
|
+
# HTTP header `Accept`
|
|
1950
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1951
|
+
['application/json']) # noqa: E501
|
|
1952
|
+
|
|
1953
|
+
# HTTP header `Content-Type`
|
|
1954
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1955
|
+
['application/json']) # noqa: E501
|
|
1956
|
+
|
|
1957
|
+
# Authentication setting
|
|
1958
|
+
auth_settings = ['volcengineSign'] # noqa: E501
|
|
1959
|
+
|
|
1960
|
+
return self.api_client.call_api(
|
|
1961
|
+
'/UpdateTask/2025-01-01/dms/post/application_json/', 'POST',
|
|
1962
|
+
path_params,
|
|
1963
|
+
query_params,
|
|
1964
|
+
header_params,
|
|
1965
|
+
body=body_params,
|
|
1966
|
+
post_params=form_params,
|
|
1967
|
+
files=local_var_files,
|
|
1968
|
+
response_type='UpdateTaskResponse', # noqa: E501
|
|
1969
|
+
auth_settings=auth_settings,
|
|
1970
|
+
async_req=params.get('async_req'),
|
|
1971
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1972
|
+
_preload_content=params.get('_preload_content', True),
|
|
1973
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1974
|
+
collection_formats=collection_formats)
|