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.

Files changed (208) hide show
  1. {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/METADATA +1 -1
  2. {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/RECORD +208 -37
  3. {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/top_level.txt +3 -0
  4. volcenginesdkcore/api_client.py +1 -1
  5. volcenginesdkcore/configuration.py +1 -1
  6. volcenginesdkdirectconnect/models/create_direct_connect_gateway_request.py +27 -1
  7. volcenginesdkdirectconnect/models/delete_direct_connect_traffic_qos_queue_request.py +16 -16
  8. volcenginesdkdirectconnect/models/describe_direct_connect_gateway_attributes_response.py +27 -1
  9. volcenginesdkdirectconnect/models/models.py +192 -192
  10. volcenginesdkdms20250101/__init__.py +85 -0
  11. volcenginesdkdms20250101/api/__init__.py +6 -0
  12. volcenginesdkdms20250101/api/dms20250101_api.py +1974 -0
  13. volcenginesdkdms20250101/models/__init__.py +81 -0
  14. volcenginesdkdms20250101/models/address_access_config_for_create_address_input.py +149 -0
  15. volcenginesdkdms20250101/models/address_access_config_for_get_address_output.py +149 -0
  16. volcenginesdkdms20250101/models/address_access_config_for_list_addresses_output.py +149 -0
  17. volcenginesdkdms20250101/models/create_address_request.py +211 -0
  18. volcenginesdkdms20250101/models/create_address_response.py +149 -0
  19. volcenginesdkdms20250101/models/create_agent_group_request.py +226 -0
  20. volcenginesdkdms20250101/models/create_agent_group_response.py +149 -0
  21. volcenginesdkdms20250101/models/create_agent_request.py +185 -0
  22. volcenginesdkdms20250101/models/create_agent_response.py +149 -0
  23. volcenginesdkdms20250101/models/create_task_request.py +264 -0
  24. volcenginesdkdms20250101/models/create_task_response.py +149 -0
  25. volcenginesdkdms20250101/models/delete_address_request.py +124 -0
  26. volcenginesdkdms20250101/models/delete_address_response.py +149 -0
  27. volcenginesdkdms20250101/models/delete_agent_group_request.py +124 -0
  28. volcenginesdkdms20250101/models/delete_agent_group_response.py +149 -0
  29. volcenginesdkdms20250101/models/delete_agent_request.py +124 -0
  30. volcenginesdkdms20250101/models/delete_agent_response.py +149 -0
  31. volcenginesdkdms20250101/models/delete_task_request.py +124 -0
  32. volcenginesdkdms20250101/models/delete_task_response.py +149 -0
  33. volcenginesdkdms20250101/models/get_address_request.py +124 -0
  34. volcenginesdkdms20250101/models/get_address_response.py +305 -0
  35. volcenginesdkdms20250101/models/get_agent_group_request.py +124 -0
  36. volcenginesdkdms20250101/models/get_agent_group_response.py +305 -0
  37. volcenginesdkdms20250101/models/get_agent_group_status_request.py +124 -0
  38. volcenginesdkdms20250101/models/get_agent_group_status_response.py +149 -0
  39. volcenginesdkdms20250101/models/get_agent_request.py +124 -0
  40. volcenginesdkdms20250101/models/get_agent_response.py +331 -0
  41. volcenginesdkdms20250101/models/get_real_time_statistics_request.py +150 -0
  42. volcenginesdkdms20250101/models/get_real_time_statistics_response.py +487 -0
  43. volcenginesdkdms20250101/models/get_task_request.py +124 -0
  44. volcenginesdkdms20250101/models/get_task_response.py +409 -0
  45. volcenginesdkdms20250101/models/item_list_for_list_addresses_output.py +305 -0
  46. volcenginesdkdms20250101/models/item_list_for_list_agent_groups_output.py +279 -0
  47. volcenginesdkdms20250101/models/item_list_for_list_agents_output.py +331 -0
  48. volcenginesdkdms20250101/models/item_list_for_list_tasks_output.py +409 -0
  49. volcenginesdkdms20250101/models/list_addresses_request.py +203 -0
  50. volcenginesdkdms20250101/models/list_addresses_response.py +175 -0
  51. volcenginesdkdms20250101/models/list_agent_groups_request.py +204 -0
  52. volcenginesdkdms20250101/models/list_agent_groups_response.py +175 -0
  53. volcenginesdkdms20250101/models/list_agents_request.py +204 -0
  54. volcenginesdkdms20250101/models/list_agents_response.py +175 -0
  55. volcenginesdkdms20250101/models/list_config_for_create_task_input.py +227 -0
  56. volcenginesdkdms20250101/models/list_config_for_get_task_output.py +227 -0
  57. volcenginesdkdms20250101/models/list_config_for_list_tasks_output.py +227 -0
  58. volcenginesdkdms20250101/models/list_include_bucket_keys_for_create_task_input.py +201 -0
  59. volcenginesdkdms20250101/models/list_include_bucket_keys_for_get_task_output.py +201 -0
  60. volcenginesdkdms20250101/models/list_include_bucket_keys_for_list_tasks_output.py +201 -0
  61. volcenginesdkdms20250101/models/list_tasks_request.py +204 -0
  62. volcenginesdkdms20250101/models/list_tasks_response.py +175 -0
  63. volcenginesdkdms20250101/models/local_fs_for_create_address_input.py +123 -0
  64. volcenginesdkdms20250101/models/local_fs_for_get_address_output.py +123 -0
  65. volcenginesdkdms20250101/models/local_fs_for_list_addresses_output.py +123 -0
  66. volcenginesdkdms20250101/models/retry_failed_task_request.py +124 -0
  67. volcenginesdkdms20250101/models/retry_failed_task_response.py +149 -0
  68. volcenginesdkdms20250101/models/task_config_for_create_task_input.py +215 -0
  69. volcenginesdkdms20250101/models/task_config_for_get_task_output.py +201 -0
  70. volcenginesdkdms20250101/models/task_config_for_list_tasks_output.py +201 -0
  71. volcenginesdkdms20250101/models/task_context_for_get_task_output.py +149 -0
  72. volcenginesdkdms20250101/models/task_context_for_list_tasks_output.py +149 -0
  73. volcenginesdkdms20250101/models/tos_for_create_address_input.py +201 -0
  74. volcenginesdkdms20250101/models/tos_for_get_address_output.py +201 -0
  75. volcenginesdkdms20250101/models/tos_for_list_addresses_output.py +201 -0
  76. volcenginesdkdms20250101/models/update_task_request.py +183 -0
  77. volcenginesdkdms20250101/models/update_task_response.py +149 -0
  78. volcenginesdkdts20180101/__init__.py +32 -0
  79. volcenginesdkdts20180101/api/__init__.py +6 -0
  80. volcenginesdkdts20180101/api/dts20180101_api.py +422 -0
  81. volcenginesdkdts20180101/models/__init__.py +28 -0
  82. volcenginesdkdts20180101/models/data_for_list_vpc_output.py +149 -0
  83. volcenginesdkdts20180101/models/get_async_pre_check_result_request.py +124 -0
  84. volcenginesdkdts20180101/models/get_async_pre_check_result_response.py +201 -0
  85. volcenginesdkdts20180101/models/list_vpc_request.py +95 -0
  86. volcenginesdkdts20180101/models/list_vpc_response.py +149 -0
  87. volcenginesdkdts20180101/models/list_vpc_subnets_request.py +124 -0
  88. volcenginesdkdts20180101/models/list_vpc_subnets_response.py +149 -0
  89. volcenginesdkdts20180101/models/pre_check_async_request.py +124 -0
  90. volcenginesdkdts20180101/models/pre_check_async_response.py +123 -0
  91. volcenginesdkdts20180101/models/pre_check_for_get_async_pre_check_result_output.py +227 -0
  92. volcenginesdkdts20180101/models/vpc_subnet_info_for_list_vpc_subnets_output.py +149 -0
  93. volcenginesdkna/__init__.py +33 -0
  94. volcenginesdkna/api/__init__.py +6 -0
  95. volcenginesdkna/api/na_api.py +422 -0
  96. volcenginesdkna/models/__init__.py +29 -0
  97. volcenginesdkna/models/create_diagnosis_instance_request.py +178 -0
  98. volcenginesdkna/models/create_diagnosis_instance_response.py +149 -0
  99. volcenginesdkna/models/describe_diagnosis_instance_detail_request.py +124 -0
  100. volcenginesdkna/models/describe_diagnosis_instance_detail_response.py +383 -0
  101. volcenginesdkna/models/describe_diagnosis_instances_request.py +149 -0
  102. volcenginesdkna/models/describe_diagnosis_instances_response.py +227 -0
  103. volcenginesdkna/models/describe_history_diagnosis_request.py +124 -0
  104. volcenginesdkna/models/describe_history_diagnosis_response.py +123 -0
  105. volcenginesdkna/models/diagnosis_category_item_for_describe_diagnosis_instance_detail_output.py +149 -0
  106. volcenginesdkna/models/diagnosis_instance_for_describe_diagnosis_instances_output.py +357 -0
  107. volcenginesdkna/models/diagnosis_item_for_describe_diagnosis_instance_detail_output.py +201 -0
  108. volcenginesdkna/models/history_diagnosis_for_describe_history_diagnosis_output.py +175 -0
  109. volcenginesdkvefaas/models/create_function_request.py +53 -1
  110. volcenginesdkvefaas/models/create_function_response.py +53 -1
  111. volcenginesdkvefaas/models/get_function_response.py +53 -1
  112. volcenginesdkvefaas/models/item_for_list_functions_output.py +27 -1
  113. volcenginesdkvefaas/models/update_function_request.py +53 -1
  114. volcenginesdkvefaas/models/update_function_response.py +27 -1
  115. volcenginesdkvmp/__init__.py +72 -0
  116. volcenginesdkvmp/api/vmp_api.py +1339 -78
  117. volcenginesdkvmp/models/__init__.py +72 -0
  118. volcenginesdkvmp/models/cal_charge_item_list_for_get_workspace_output.py +149 -0
  119. volcenginesdkvmp/models/cal_charge_item_list_for_list_workspace_instance_types_output.py +149 -0
  120. volcenginesdkvmp/models/calculate_price_param_for_get_workspace_output.py +175 -0
  121. volcenginesdkvmp/models/calculate_price_param_for_list_workspace_instance_types_output.py +175 -0
  122. volcenginesdkvmp/models/conditions_for_list_integration_tasks_output.py +175 -0
  123. volcenginesdkvmp/models/create_alerting_rule_request.py +53 -1
  124. volcenginesdkvmp/models/create_integration_task_request.py +334 -0
  125. volcenginesdkvmp/models/create_integration_task_response.py +123 -0
  126. volcenginesdkvmp/models/create_rule_file_request.py +27 -1
  127. volcenginesdkvmp/models/create_silence_policy_request.py +202 -0
  128. volcenginesdkvmp/models/create_silence_policy_response.py +123 -0
  129. volcenginesdkvmp/models/create_workspace_request.py +27 -1
  130. volcenginesdkvmp/models/data_for_delete_silence_policies_output.py +95 -0
  131. volcenginesdkvmp/models/data_for_disable_integration_tasks_output.py +95 -0
  132. volcenginesdkvmp/models/data_for_disable_silence_policies_output.py +95 -0
  133. volcenginesdkvmp/models/data_for_enable_integration_tasks_output.py +95 -0
  134. volcenginesdkvmp/models/data_for_enable_silence_policies_output.py +95 -0
  135. volcenginesdkvmp/models/delete_integration_task_request.py +124 -0
  136. volcenginesdkvmp/models/delete_integration_task_response.py +123 -0
  137. volcenginesdkvmp/models/delete_silence_policies_request.py +123 -0
  138. volcenginesdkvmp/models/delete_silence_policies_response.py +149 -0
  139. volcenginesdkvmp/models/disable_integration_tasks_request.py +123 -0
  140. volcenginesdkvmp/models/disable_integration_tasks_response.py +149 -0
  141. volcenginesdkvmp/models/disable_silence_policies_request.py +123 -0
  142. volcenginesdkvmp/models/disable_silence_policies_response.py +149 -0
  143. volcenginesdkvmp/models/enable_integration_tasks_request.py +123 -0
  144. volcenginesdkvmp/models/enable_integration_tasks_response.py +149 -0
  145. volcenginesdkvmp/models/enable_silence_policies_request.py +123 -0
  146. volcenginesdkvmp/models/enable_silence_policies_response.py +149 -0
  147. volcenginesdkvmp/models/error_for_delete_silence_policies_output.py +175 -0
  148. volcenginesdkvmp/models/error_for_disable_integration_tasks_output.py +175 -0
  149. volcenginesdkvmp/models/error_for_disable_silence_policies_output.py +175 -0
  150. volcenginesdkvmp/models/error_for_enable_integration_tasks_output.py +175 -0
  151. volcenginesdkvmp/models/error_for_enable_silence_policies_output.py +175 -0
  152. volcenginesdkvmp/models/filter_for_list_silence_policies_input.py +201 -0
  153. volcenginesdkvmp/models/filters_for_list_integration_tasks_input.py +279 -0
  154. volcenginesdkvmp/models/get_alerting_rule_response.py +53 -1
  155. volcenginesdkvmp/models/get_integration_task_request.py +124 -0
  156. volcenginesdkvmp/models/get_integration_task_response.py +409 -0
  157. volcenginesdkvmp/models/get_rule_file_response.py +29 -3
  158. volcenginesdkvmp/models/get_workspace_response.py +105 -1
  159. volcenginesdkvmp/models/instance_type_for_get_workspace_output.py +27 -1
  160. volcenginesdkvmp/models/item_for_list_alerting_rules_output.py +53 -1
  161. volcenginesdkvmp/models/item_for_list_integration_tasks_output.py +409 -0
  162. volcenginesdkvmp/models/item_for_list_rule_files_output.py +29 -3
  163. volcenginesdkvmp/models/item_for_list_silence_policies_output.py +357 -0
  164. volcenginesdkvmp/models/item_for_list_workspace_instance_types_output.py +27 -1
  165. volcenginesdkvmp/models/item_for_list_workspaces_output.py +131 -1
  166. volcenginesdkvmp/models/list_alerting_rules_request.py +55 -3
  167. volcenginesdkvmp/models/list_integration_tasks_request.py +227 -0
  168. volcenginesdkvmp/models/list_integration_tasks_response.py +149 -0
  169. volcenginesdkvmp/models/list_silence_policies_request.py +227 -0
  170. volcenginesdkvmp/models/list_silence_policies_response.py +149 -0
  171. volcenginesdkvmp/models/matcher_for_create_silence_policy_input.py +175 -0
  172. volcenginesdkvmp/models/matcher_for_list_silence_policies_output.py +175 -0
  173. volcenginesdkvmp/models/matcher_for_update_silence_policy_input.py +175 -0
  174. volcenginesdkvmp/models/metric_label_matcher_for_create_silence_policy_input.py +123 -0
  175. volcenginesdkvmp/models/metric_label_matcher_for_list_silence_policies_output.py +123 -0
  176. volcenginesdkvmp/models/metric_label_matcher_for_update_silence_policy_input.py +123 -0
  177. volcenginesdkvmp/models/periodic_date_for_create_silence_policy_input.py +175 -0
  178. volcenginesdkvmp/models/periodic_date_for_list_silence_policies_output.py +175 -0
  179. volcenginesdkvmp/models/periodic_date_for_update_silence_policy_input.py +175 -0
  180. volcenginesdkvmp/models/quota_for_get_workspace_output.py +53 -1
  181. volcenginesdkvmp/models/quota_for_update_workspace_input.py +53 -1
  182. volcenginesdkvmp/models/tag_filter_for_list_alerting_rules_input.py +149 -0
  183. volcenginesdkvmp/models/tag_filter_for_list_integration_tasks_input.py +149 -0
  184. volcenginesdkvmp/models/tag_for_create_alerting_rule_input.py +149 -0
  185. volcenginesdkvmp/models/tag_for_create_integration_task_input.py +149 -0
  186. volcenginesdkvmp/models/tag_for_get_alerting_rule_output.py +149 -0
  187. volcenginesdkvmp/models/tag_for_get_integration_task_output.py +149 -0
  188. volcenginesdkvmp/models/tag_for_list_alerting_rules_output.py +149 -0
  189. volcenginesdkvmp/models/tag_for_list_integration_tasks_output.py +149 -0
  190. volcenginesdkvmp/models/time_range_matcher_for_create_silence_policy_input.py +175 -0
  191. volcenginesdkvmp/models/time_range_matcher_for_list_silence_policies_output.py +175 -0
  192. volcenginesdkvmp/models/time_range_matcher_for_update_silence_policy_input.py +175 -0
  193. volcenginesdkvmp/models/unsuccessful_item_for_delete_silence_policies_output.py +149 -0
  194. volcenginesdkvmp/models/unsuccessful_item_for_disable_integration_tasks_output.py +149 -0
  195. volcenginesdkvmp/models/unsuccessful_item_for_disable_silence_policies_output.py +149 -0
  196. volcenginesdkvmp/models/unsuccessful_item_for_enable_integration_tasks_output.py +149 -0
  197. volcenginesdkvmp/models/unsuccessful_item_for_enable_silence_policies_output.py +149 -0
  198. volcenginesdkvmp/models/update_integration_task_request.py +202 -0
  199. volcenginesdkvmp/models/update_integration_task_response.py +123 -0
  200. volcenginesdkvmp/models/update_rule_file_request.py +27 -1
  201. volcenginesdkvmp/models/update_silence_policy_request.py +228 -0
  202. volcenginesdkvmp/models/update_silence_policy_response.py +123 -0
  203. volcenginesdkvmp/models/update_workspace_request.py +131 -1
  204. volcenginesdkvmp/models/vke_cluster_info_for_get_integration_task_output.py +149 -0
  205. volcenginesdkvmp/models/vke_cluster_info_for_list_integration_tasks_output.py +149 -0
  206. {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/WHEEL +0 -0
  207. {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/LICENSE.txt +0 -0
  208. {volcengine_python_sdk-4.0.23.dist-info → volcengine_python_sdk-4.0.24.dist-info}/licenses/NOTICE.md +0 -0
@@ -0,0 +1,149 @@
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
+ import pprint
15
+ import re # noqa: F401
16
+
17
+ import six
18
+
19
+ from volcenginesdkcore.configuration import Configuration
20
+
21
+
22
+ class UpdateTaskResponse(object):
23
+ """NOTE: This class is auto generated by the swagger code generator program.
24
+
25
+ Do not edit the class manually.
26
+ """
27
+
28
+ """
29
+ Attributes:
30
+ swagger_types (dict): The key is attribute name
31
+ and the value is attribute type.
32
+ attribute_map (dict): The key is attribute name
33
+ and the value is json key in definition.
34
+ """
35
+ swagger_types = {
36
+ 'account_id': 'str',
37
+ 'id': 'str'
38
+ }
39
+
40
+ attribute_map = {
41
+ 'account_id': 'AccountId',
42
+ 'id': 'Id'
43
+ }
44
+
45
+ def __init__(self, account_id=None, id=None, _configuration=None): # noqa: E501
46
+ """UpdateTaskResponse - a model defined in Swagger""" # noqa: E501
47
+ if _configuration is None:
48
+ _configuration = Configuration()
49
+ self._configuration = _configuration
50
+
51
+ self._account_id = None
52
+ self._id = None
53
+ self.discriminator = None
54
+
55
+ if account_id is not None:
56
+ self.account_id = account_id
57
+ if id is not None:
58
+ self.id = id
59
+
60
+ @property
61
+ def account_id(self):
62
+ """Gets the account_id of this UpdateTaskResponse. # noqa: E501
63
+
64
+
65
+ :return: The account_id of this UpdateTaskResponse. # noqa: E501
66
+ :rtype: str
67
+ """
68
+ return self._account_id
69
+
70
+ @account_id.setter
71
+ def account_id(self, account_id):
72
+ """Sets the account_id of this UpdateTaskResponse.
73
+
74
+
75
+ :param account_id: The account_id of this UpdateTaskResponse. # noqa: E501
76
+ :type: str
77
+ """
78
+
79
+ self._account_id = account_id
80
+
81
+ @property
82
+ def id(self):
83
+ """Gets the id of this UpdateTaskResponse. # noqa: E501
84
+
85
+
86
+ :return: The id of this UpdateTaskResponse. # noqa: E501
87
+ :rtype: str
88
+ """
89
+ return self._id
90
+
91
+ @id.setter
92
+ def id(self, id):
93
+ """Sets the id of this UpdateTaskResponse.
94
+
95
+
96
+ :param id: The id of this UpdateTaskResponse. # noqa: E501
97
+ :type: str
98
+ """
99
+
100
+ self._id = id
101
+
102
+ def to_dict(self):
103
+ """Returns the model properties as a dict"""
104
+ result = {}
105
+
106
+ for attr, _ in six.iteritems(self.swagger_types):
107
+ value = getattr(self, attr)
108
+ if isinstance(value, list):
109
+ result[attr] = list(map(
110
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
111
+ value
112
+ ))
113
+ elif hasattr(value, "to_dict"):
114
+ result[attr] = value.to_dict()
115
+ elif isinstance(value, dict):
116
+ result[attr] = dict(map(
117
+ lambda item: (item[0], item[1].to_dict())
118
+ if hasattr(item[1], "to_dict") else item,
119
+ value.items()
120
+ ))
121
+ else:
122
+ result[attr] = value
123
+ if issubclass(UpdateTaskResponse, dict):
124
+ for key, value in self.items():
125
+ result[key] = value
126
+
127
+ return result
128
+
129
+ def to_str(self):
130
+ """Returns the string representation of the model"""
131
+ return pprint.pformat(self.to_dict())
132
+
133
+ def __repr__(self):
134
+ """For `print` and `pprint`"""
135
+ return self.to_str()
136
+
137
+ def __eq__(self, other):
138
+ """Returns true if both objects are equal"""
139
+ if not isinstance(other, UpdateTaskResponse):
140
+ return False
141
+
142
+ return self.to_dict() == other.to_dict()
143
+
144
+ def __ne__(self, other):
145
+ """Returns true if both objects are not equal"""
146
+ if not isinstance(other, UpdateTaskResponse):
147
+ return True
148
+
149
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+
5
+ """
6
+ dts20180101
7
+
8
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
9
+
10
+ OpenAPI spec version: common-version
11
+
12
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
13
+ """
14
+
15
+
16
+ from __future__ import absolute_import
17
+
18
+ # import apis into sdk package
19
+ from volcenginesdkdts20180101.api.dts20180101_api import DTS20180101Api
20
+
21
+ # import models into sdk package
22
+ from volcenginesdkdts20180101.models.data_for_list_vpc_output import DataForListVPCOutput
23
+ from volcenginesdkdts20180101.models.get_async_pre_check_result_request import GetAsyncPreCheckResultRequest
24
+ from volcenginesdkdts20180101.models.get_async_pre_check_result_response import GetAsyncPreCheckResultResponse
25
+ from volcenginesdkdts20180101.models.list_vpc_request import ListVPCRequest
26
+ from volcenginesdkdts20180101.models.list_vpc_response import ListVPCResponse
27
+ from volcenginesdkdts20180101.models.list_vpc_subnets_request import ListVPCSubnetsRequest
28
+ from volcenginesdkdts20180101.models.list_vpc_subnets_response import ListVPCSubnetsResponse
29
+ from volcenginesdkdts20180101.models.pre_check_async_request import PreCheckAsyncRequest
30
+ from volcenginesdkdts20180101.models.pre_check_async_response import PreCheckAsyncResponse
31
+ from volcenginesdkdts20180101.models.pre_check_for_get_async_pre_check_result_output import PreCheckForGetAsyncPreCheckResultOutput
32
+ from volcenginesdkdts20180101.models.vpc_subnet_info_for_list_vpc_subnets_output import VpcSubnetInfoForListVPCSubnetsOutput
@@ -0,0 +1,6 @@
1
+ from __future__ import absolute_import
2
+
3
+ # flake8: noqa
4
+
5
+ # import apis into api package
6
+ from volcenginesdkdts20180101.api.dts20180101_api import DTS20180101Api
@@ -0,0 +1,422 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ dts20180101
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 DTS20180101Api(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 get_async_pre_check_result(self, body, **kwargs): # noqa: E501
37
+ """get_async_pre_check_result # 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.get_async_pre_check_result(body, async_req=True)
42
+ >>> result = thread.get()
43
+
44
+ :param async_req bool
45
+ :param GetAsyncPreCheckResultRequest body: (required)
46
+ :return: GetAsyncPreCheckResultResponse
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.get_async_pre_check_result_with_http_info(body, **kwargs) # noqa: E501
53
+ else:
54
+ (data) = self.get_async_pre_check_result_with_http_info(body, **kwargs) # noqa: E501
55
+ return data
56
+
57
+ def get_async_pre_check_result_with_http_info(self, body, **kwargs): # noqa: E501
58
+ """get_async_pre_check_result # 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.get_async_pre_check_result_with_http_info(body, async_req=True)
63
+ >>> result = thread.get()
64
+
65
+ :param async_req bool
66
+ :param GetAsyncPreCheckResultRequest body: (required)
67
+ :return: GetAsyncPreCheckResultResponse
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 get_async_pre_check_result" % 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 `get_async_pre_check_result`") # 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
+ '/GetAsyncPreCheckResult/2018-01-01/dts/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='GetAsyncPreCheckResultResponse', # 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 list_vpc(self, body, **kwargs): # noqa: E501
134
+ """list_vpc # 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.list_vpc(body, async_req=True)
139
+ >>> result = thread.get()
140
+
141
+ :param async_req bool
142
+ :param ListVPCRequest body: (required)
143
+ :return: ListVPCResponse
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.list_vpc_with_http_info(body, **kwargs) # noqa: E501
150
+ else:
151
+ (data) = self.list_vpc_with_http_info(body, **kwargs) # noqa: E501
152
+ return data
153
+
154
+ def list_vpc_with_http_info(self, body, **kwargs): # noqa: E501
155
+ """list_vpc # 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.list_vpc_with_http_info(body, async_req=True)
160
+ >>> result = thread.get()
161
+
162
+ :param async_req bool
163
+ :param ListVPCRequest body: (required)
164
+ :return: ListVPCResponse
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 list_vpc" % 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 `list_vpc`") # 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
+ '/ListVPC/2018-01-01/dts/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='ListVPCResponse', # 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 list_vpc_subnets(self, body, **kwargs): # noqa: E501
231
+ """list_vpc_subnets # 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.list_vpc_subnets(body, async_req=True)
236
+ >>> result = thread.get()
237
+
238
+ :param async_req bool
239
+ :param ListVPCSubnetsRequest body: (required)
240
+ :return: ListVPCSubnetsResponse
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.list_vpc_subnets_with_http_info(body, **kwargs) # noqa: E501
247
+ else:
248
+ (data) = self.list_vpc_subnets_with_http_info(body, **kwargs) # noqa: E501
249
+ return data
250
+
251
+ def list_vpc_subnets_with_http_info(self, body, **kwargs): # noqa: E501
252
+ """list_vpc_subnets # 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.list_vpc_subnets_with_http_info(body, async_req=True)
257
+ >>> result = thread.get()
258
+
259
+ :param async_req bool
260
+ :param ListVPCSubnetsRequest body: (required)
261
+ :return: ListVPCSubnetsResponse
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 list_vpc_subnets" % 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 `list_vpc_subnets`") # 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
+ '/ListVPCSubnets/2018-01-01/dts/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='ListVPCSubnetsResponse', # 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 pre_check_async(self, body, **kwargs): # noqa: E501
328
+ """pre_check_async # 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.pre_check_async(body, async_req=True)
333
+ >>> result = thread.get()
334
+
335
+ :param async_req bool
336
+ :param PreCheckAsyncRequest body: (required)
337
+ :return: PreCheckAsyncResponse
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.pre_check_async_with_http_info(body, **kwargs) # noqa: E501
344
+ else:
345
+ (data) = self.pre_check_async_with_http_info(body, **kwargs) # noqa: E501
346
+ return data
347
+
348
+ def pre_check_async_with_http_info(self, body, **kwargs): # noqa: E501
349
+ """pre_check_async # 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.pre_check_async_with_http_info(body, async_req=True)
354
+ >>> result = thread.get()
355
+
356
+ :param async_req bool
357
+ :param PreCheckAsyncRequest body: (required)
358
+ :return: PreCheckAsyncResponse
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 pre_check_async" % 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 `pre_check_async`") # 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
+ '/PreCheckAsync/2018-01-01/dts/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='PreCheckAsyncResponse', # 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)
@@ -0,0 +1,28 @@
1
+ # coding: utf-8
2
+
3
+ # flake8: noqa
4
+ """
5
+ dts20180101
6
+
7
+ No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501
8
+
9
+ OpenAPI spec version: common-version
10
+
11
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
12
+ """
13
+
14
+
15
+ from __future__ import absolute_import
16
+
17
+ # import models into model package
18
+ from volcenginesdkdts20180101.models.data_for_list_vpc_output import DataForListVPCOutput
19
+ from volcenginesdkdts20180101.models.get_async_pre_check_result_request import GetAsyncPreCheckResultRequest
20
+ from volcenginesdkdts20180101.models.get_async_pre_check_result_response import GetAsyncPreCheckResultResponse
21
+ from volcenginesdkdts20180101.models.list_vpc_request import ListVPCRequest
22
+ from volcenginesdkdts20180101.models.list_vpc_response import ListVPCResponse
23
+ from volcenginesdkdts20180101.models.list_vpc_subnets_request import ListVPCSubnetsRequest
24
+ from volcenginesdkdts20180101.models.list_vpc_subnets_response import ListVPCSubnetsResponse
25
+ from volcenginesdkdts20180101.models.pre_check_async_request import PreCheckAsyncRequest
26
+ from volcenginesdkdts20180101.models.pre_check_async_response import PreCheckAsyncResponse
27
+ from volcenginesdkdts20180101.models.pre_check_for_get_async_pre_check_result_output import PreCheckForGetAsyncPreCheckResultOutput
28
+ from volcenginesdkdts20180101.models.vpc_subnet_info_for_list_vpc_subnets_output import VpcSubnetInfoForListVPCSubnetsOutput