alibabacloud-ehpcinstant20230701 1.2.0__py3-none-any.whl → 2.0.1__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 alibabacloud-ehpcinstant20230701 might be problematic. Click here for more details.
- alibabacloud_ehpcinstant20230701/__init__.py +1 -1
- alibabacloud_ehpcinstant20230701/client.py +428 -168
- alibabacloud_ehpcinstant20230701/models.py +127 -14
- {alibabacloud_ehpcinstant20230701-1.2.0.dist-info → alibabacloud_ehpcinstant20230701-2.0.1.dist-info}/METADATA +1 -1
- alibabacloud_ehpcinstant20230701-2.0.1.dist-info/RECORD +8 -0
- alibabacloud_ehpcinstant20230701-1.2.0.dist-info/RECORD +0 -8
- {alibabacloud_ehpcinstant20230701-1.2.0.dist-info → alibabacloud_ehpcinstant20230701-2.0.1.dist-info}/LICENSE +0 -0
- {alibabacloud_ehpcinstant20230701-1.2.0.dist-info → alibabacloud_ehpcinstant20230701-2.0.1.dist-info}/WHEEL +0 -0
- {alibabacloud_ehpcinstant20230701-1.2.0.dist-info → alibabacloud_ehpcinstant20230701-2.0.1.dist-info}/top_level.txt +0 -0
|
@@ -87,10 +87,16 @@ class Client(OpenApiClient):
|
|
|
87
87
|
req_body_type='formData',
|
|
88
88
|
body_type='json'
|
|
89
89
|
)
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
90
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
91
|
+
return TeaCore.from_map(
|
|
92
|
+
ehpc_instant_20230701_models.AddImageResponse(),
|
|
93
|
+
self.call_api(params, req, runtime)
|
|
94
|
+
)
|
|
95
|
+
else:
|
|
96
|
+
return TeaCore.from_map(
|
|
97
|
+
ehpc_instant_20230701_models.AddImageResponse(),
|
|
98
|
+
self.execute(params, req, runtime)
|
|
99
|
+
)
|
|
94
100
|
|
|
95
101
|
async def add_image_with_options_async(
|
|
96
102
|
self,
|
|
@@ -138,10 +144,16 @@ class Client(OpenApiClient):
|
|
|
138
144
|
req_body_type='formData',
|
|
139
145
|
body_type='json'
|
|
140
146
|
)
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
147
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
148
|
+
return TeaCore.from_map(
|
|
149
|
+
ehpc_instant_20230701_models.AddImageResponse(),
|
|
150
|
+
await self.call_api_async(params, req, runtime)
|
|
151
|
+
)
|
|
152
|
+
else:
|
|
153
|
+
return TeaCore.from_map(
|
|
154
|
+
ehpc_instant_20230701_models.AddImageResponse(),
|
|
155
|
+
await self.execute_async(params, req, runtime)
|
|
156
|
+
)
|
|
145
157
|
|
|
146
158
|
def add_image(
|
|
147
159
|
self,
|
|
@@ -186,6 +198,8 @@ class Client(OpenApiClient):
|
|
|
186
198
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
187
199
|
if not UtilClient.is_unset(tmp_req.deployment_policy):
|
|
188
200
|
request.deployment_policy_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.deployment_policy, 'DeploymentPolicy', 'json')
|
|
201
|
+
if not UtilClient.is_unset(tmp_req.security_policy):
|
|
202
|
+
request.security_policy_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.security_policy, 'SecurityPolicy', 'json')
|
|
189
203
|
if not UtilClient.is_unset(tmp_req.tasks):
|
|
190
204
|
request.tasks_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tasks, 'Tasks', 'json')
|
|
191
205
|
query = {}
|
|
@@ -197,6 +211,8 @@ class Client(OpenApiClient):
|
|
|
197
211
|
query['JobName'] = request.job_name
|
|
198
212
|
if not UtilClient.is_unset(request.job_scheduler):
|
|
199
213
|
query['JobScheduler'] = request.job_scheduler
|
|
214
|
+
if not UtilClient.is_unset(request.security_policy_shrink):
|
|
215
|
+
query['SecurityPolicy'] = request.security_policy_shrink
|
|
200
216
|
if not UtilClient.is_unset(request.tasks_shrink):
|
|
201
217
|
query['Tasks'] = request.tasks_shrink
|
|
202
218
|
req = open_api_models.OpenApiRequest(
|
|
@@ -213,10 +229,16 @@ class Client(OpenApiClient):
|
|
|
213
229
|
req_body_type='formData',
|
|
214
230
|
body_type='json'
|
|
215
231
|
)
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
232
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
233
|
+
return TeaCore.from_map(
|
|
234
|
+
ehpc_instant_20230701_models.CreateJobResponse(),
|
|
235
|
+
self.call_api(params, req, runtime)
|
|
236
|
+
)
|
|
237
|
+
else:
|
|
238
|
+
return TeaCore.from_map(
|
|
239
|
+
ehpc_instant_20230701_models.CreateJobResponse(),
|
|
240
|
+
self.execute(params, req, runtime)
|
|
241
|
+
)
|
|
220
242
|
|
|
221
243
|
async def create_job_with_options_async(
|
|
222
244
|
self,
|
|
@@ -235,6 +257,8 @@ class Client(OpenApiClient):
|
|
|
235
257
|
OpenApiUtilClient.convert(tmp_req, request)
|
|
236
258
|
if not UtilClient.is_unset(tmp_req.deployment_policy):
|
|
237
259
|
request.deployment_policy_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.deployment_policy, 'DeploymentPolicy', 'json')
|
|
260
|
+
if not UtilClient.is_unset(tmp_req.security_policy):
|
|
261
|
+
request.security_policy_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.security_policy, 'SecurityPolicy', 'json')
|
|
238
262
|
if not UtilClient.is_unset(tmp_req.tasks):
|
|
239
263
|
request.tasks_shrink = OpenApiUtilClient.array_to_string_with_specified_style(tmp_req.tasks, 'Tasks', 'json')
|
|
240
264
|
query = {}
|
|
@@ -246,6 +270,8 @@ class Client(OpenApiClient):
|
|
|
246
270
|
query['JobName'] = request.job_name
|
|
247
271
|
if not UtilClient.is_unset(request.job_scheduler):
|
|
248
272
|
query['JobScheduler'] = request.job_scheduler
|
|
273
|
+
if not UtilClient.is_unset(request.security_policy_shrink):
|
|
274
|
+
query['SecurityPolicy'] = request.security_policy_shrink
|
|
249
275
|
if not UtilClient.is_unset(request.tasks_shrink):
|
|
250
276
|
query['Tasks'] = request.tasks_shrink
|
|
251
277
|
req = open_api_models.OpenApiRequest(
|
|
@@ -262,10 +288,16 @@ class Client(OpenApiClient):
|
|
|
262
288
|
req_body_type='formData',
|
|
263
289
|
body_type='json'
|
|
264
290
|
)
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
291
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
292
|
+
return TeaCore.from_map(
|
|
293
|
+
ehpc_instant_20230701_models.CreateJobResponse(),
|
|
294
|
+
await self.call_api_async(params, req, runtime)
|
|
295
|
+
)
|
|
296
|
+
else:
|
|
297
|
+
return TeaCore.from_map(
|
|
298
|
+
ehpc_instant_20230701_models.CreateJobResponse(),
|
|
299
|
+
await self.execute_async(params, req, runtime)
|
|
300
|
+
)
|
|
269
301
|
|
|
270
302
|
def create_job(
|
|
271
303
|
self,
|
|
@@ -331,10 +363,16 @@ class Client(OpenApiClient):
|
|
|
331
363
|
req_body_type='formData',
|
|
332
364
|
body_type='json'
|
|
333
365
|
)
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
366
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
367
|
+
return TeaCore.from_map(
|
|
368
|
+
ehpc_instant_20230701_models.CreatePoolResponse(),
|
|
369
|
+
self.call_api(params, req, runtime)
|
|
370
|
+
)
|
|
371
|
+
else:
|
|
372
|
+
return TeaCore.from_map(
|
|
373
|
+
ehpc_instant_20230701_models.CreatePoolResponse(),
|
|
374
|
+
self.execute(params, req, runtime)
|
|
375
|
+
)
|
|
338
376
|
|
|
339
377
|
async def create_pool_with_options_async(
|
|
340
378
|
self,
|
|
@@ -374,10 +412,16 @@ class Client(OpenApiClient):
|
|
|
374
412
|
req_body_type='formData',
|
|
375
413
|
body_type='json'
|
|
376
414
|
)
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
415
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
416
|
+
return TeaCore.from_map(
|
|
417
|
+
ehpc_instant_20230701_models.CreatePoolResponse(),
|
|
418
|
+
await self.call_api_async(params, req, runtime)
|
|
419
|
+
)
|
|
420
|
+
else:
|
|
421
|
+
return TeaCore.from_map(
|
|
422
|
+
ehpc_instant_20230701_models.CreatePoolResponse(),
|
|
423
|
+
await self.execute_async(params, req, runtime)
|
|
424
|
+
)
|
|
381
425
|
|
|
382
426
|
def create_pool(
|
|
383
427
|
self,
|
|
@@ -443,10 +487,16 @@ class Client(OpenApiClient):
|
|
|
443
487
|
req_body_type='formData',
|
|
444
488
|
body_type='json'
|
|
445
489
|
)
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
490
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
491
|
+
return TeaCore.from_map(
|
|
492
|
+
ehpc_instant_20230701_models.DeleteJobsResponse(),
|
|
493
|
+
self.call_api(params, req, runtime)
|
|
494
|
+
)
|
|
495
|
+
else:
|
|
496
|
+
return TeaCore.from_map(
|
|
497
|
+
ehpc_instant_20230701_models.DeleteJobsResponse(),
|
|
498
|
+
self.execute(params, req, runtime)
|
|
499
|
+
)
|
|
450
500
|
|
|
451
501
|
async def delete_jobs_with_options_async(
|
|
452
502
|
self,
|
|
@@ -486,10 +536,16 @@ class Client(OpenApiClient):
|
|
|
486
536
|
req_body_type='formData',
|
|
487
537
|
body_type='json'
|
|
488
538
|
)
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
539
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
540
|
+
return TeaCore.from_map(
|
|
541
|
+
ehpc_instant_20230701_models.DeleteJobsResponse(),
|
|
542
|
+
await self.call_api_async(params, req, runtime)
|
|
543
|
+
)
|
|
544
|
+
else:
|
|
545
|
+
return TeaCore.from_map(
|
|
546
|
+
ehpc_instant_20230701_models.DeleteJobsResponse(),
|
|
547
|
+
await self.execute_async(params, req, runtime)
|
|
548
|
+
)
|
|
493
549
|
|
|
494
550
|
def delete_jobs(
|
|
495
551
|
self,
|
|
@@ -547,10 +603,16 @@ class Client(OpenApiClient):
|
|
|
547
603
|
req_body_type='formData',
|
|
548
604
|
body_type='json'
|
|
549
605
|
)
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
606
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
607
|
+
return TeaCore.from_map(
|
|
608
|
+
ehpc_instant_20230701_models.DeletePoolResponse(),
|
|
609
|
+
self.call_api(params, req, runtime)
|
|
610
|
+
)
|
|
611
|
+
else:
|
|
612
|
+
return TeaCore.from_map(
|
|
613
|
+
ehpc_instant_20230701_models.DeletePoolResponse(),
|
|
614
|
+
self.execute(params, req, runtime)
|
|
615
|
+
)
|
|
554
616
|
|
|
555
617
|
async def delete_pool_with_options_async(
|
|
556
618
|
self,
|
|
@@ -582,10 +644,16 @@ class Client(OpenApiClient):
|
|
|
582
644
|
req_body_type='formData',
|
|
583
645
|
body_type='json'
|
|
584
646
|
)
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
647
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
648
|
+
return TeaCore.from_map(
|
|
649
|
+
ehpc_instant_20230701_models.DeletePoolResponse(),
|
|
650
|
+
await self.call_api_async(params, req, runtime)
|
|
651
|
+
)
|
|
652
|
+
else:
|
|
653
|
+
return TeaCore.from_map(
|
|
654
|
+
ehpc_instant_20230701_models.DeletePoolResponse(),
|
|
655
|
+
await self.execute_async(params, req, runtime)
|
|
656
|
+
)
|
|
589
657
|
|
|
590
658
|
def delete_pool(
|
|
591
659
|
self,
|
|
@@ -653,10 +721,16 @@ class Client(OpenApiClient):
|
|
|
653
721
|
req_body_type='formData',
|
|
654
722
|
body_type='json'
|
|
655
723
|
)
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
724
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
725
|
+
return TeaCore.from_map(
|
|
726
|
+
ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
|
|
727
|
+
self.call_api(params, req, runtime)
|
|
728
|
+
)
|
|
729
|
+
else:
|
|
730
|
+
return TeaCore.from_map(
|
|
731
|
+
ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
|
|
732
|
+
self.execute(params, req, runtime)
|
|
733
|
+
)
|
|
660
734
|
|
|
661
735
|
async def describe_job_metric_data_with_options_async(
|
|
662
736
|
self,
|
|
@@ -698,10 +772,16 @@ class Client(OpenApiClient):
|
|
|
698
772
|
req_body_type='formData',
|
|
699
773
|
body_type='json'
|
|
700
774
|
)
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
775
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
776
|
+
return TeaCore.from_map(
|
|
777
|
+
ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
|
|
778
|
+
await self.call_api_async(params, req, runtime)
|
|
779
|
+
)
|
|
780
|
+
else:
|
|
781
|
+
return TeaCore.from_map(
|
|
782
|
+
ehpc_instant_20230701_models.DescribeJobMetricDataResponse(),
|
|
783
|
+
await self.execute_async(params, req, runtime)
|
|
784
|
+
)
|
|
705
785
|
|
|
706
786
|
def describe_job_metric_data(
|
|
707
787
|
self,
|
|
@@ -767,10 +847,16 @@ class Client(OpenApiClient):
|
|
|
767
847
|
req_body_type='formData',
|
|
768
848
|
body_type='json'
|
|
769
849
|
)
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
850
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
851
|
+
return TeaCore.from_map(
|
|
852
|
+
ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
|
|
853
|
+
self.call_api(params, req, runtime)
|
|
854
|
+
)
|
|
855
|
+
else:
|
|
856
|
+
return TeaCore.from_map(
|
|
857
|
+
ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
|
|
858
|
+
self.execute(params, req, runtime)
|
|
859
|
+
)
|
|
774
860
|
|
|
775
861
|
async def describe_job_metric_last_with_options_async(
|
|
776
862
|
self,
|
|
@@ -810,10 +896,16 @@ class Client(OpenApiClient):
|
|
|
810
896
|
req_body_type='formData',
|
|
811
897
|
body_type='json'
|
|
812
898
|
)
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
899
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
900
|
+
return TeaCore.from_map(
|
|
901
|
+
ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
|
|
902
|
+
await self.call_api_async(params, req, runtime)
|
|
903
|
+
)
|
|
904
|
+
else:
|
|
905
|
+
return TeaCore.from_map(
|
|
906
|
+
ehpc_instant_20230701_models.DescribeJobMetricLastResponse(),
|
|
907
|
+
await self.execute_async(params, req, runtime)
|
|
908
|
+
)
|
|
817
909
|
|
|
818
910
|
def describe_job_metric_last(
|
|
819
911
|
self,
|
|
@@ -879,10 +971,16 @@ class Client(OpenApiClient):
|
|
|
879
971
|
req_body_type='formData',
|
|
880
972
|
body_type='json'
|
|
881
973
|
)
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
974
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
975
|
+
return TeaCore.from_map(
|
|
976
|
+
ehpc_instant_20230701_models.GetAppVersionsResponse(),
|
|
977
|
+
self.call_api(params, req, runtime)
|
|
978
|
+
)
|
|
979
|
+
else:
|
|
980
|
+
return TeaCore.from_map(
|
|
981
|
+
ehpc_instant_20230701_models.GetAppVersionsResponse(),
|
|
982
|
+
self.execute(params, req, runtime)
|
|
983
|
+
)
|
|
886
984
|
|
|
887
985
|
async def get_app_versions_with_options_async(
|
|
888
986
|
self,
|
|
@@ -922,10 +1020,16 @@ class Client(OpenApiClient):
|
|
|
922
1020
|
req_body_type='formData',
|
|
923
1021
|
body_type='json'
|
|
924
1022
|
)
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
1023
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1024
|
+
return TeaCore.from_map(
|
|
1025
|
+
ehpc_instant_20230701_models.GetAppVersionsResponse(),
|
|
1026
|
+
await self.call_api_async(params, req, runtime)
|
|
1027
|
+
)
|
|
1028
|
+
else:
|
|
1029
|
+
return TeaCore.from_map(
|
|
1030
|
+
ehpc_instant_20230701_models.GetAppVersionsResponse(),
|
|
1031
|
+
await self.execute_async(params, req, runtime)
|
|
1032
|
+
)
|
|
929
1033
|
|
|
930
1034
|
def get_app_versions(
|
|
931
1035
|
self,
|
|
@@ -987,10 +1091,16 @@ class Client(OpenApiClient):
|
|
|
987
1091
|
req_body_type='formData',
|
|
988
1092
|
body_type='json'
|
|
989
1093
|
)
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
1094
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1095
|
+
return TeaCore.from_map(
|
|
1096
|
+
ehpc_instant_20230701_models.GetImageResponse(),
|
|
1097
|
+
self.call_api(params, req, runtime)
|
|
1098
|
+
)
|
|
1099
|
+
else:
|
|
1100
|
+
return TeaCore.from_map(
|
|
1101
|
+
ehpc_instant_20230701_models.GetImageResponse(),
|
|
1102
|
+
self.execute(params, req, runtime)
|
|
1103
|
+
)
|
|
994
1104
|
|
|
995
1105
|
async def get_image_with_options_async(
|
|
996
1106
|
self,
|
|
@@ -1026,10 +1136,16 @@ class Client(OpenApiClient):
|
|
|
1026
1136
|
req_body_type='formData',
|
|
1027
1137
|
body_type='json'
|
|
1028
1138
|
)
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1139
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1140
|
+
return TeaCore.from_map(
|
|
1141
|
+
ehpc_instant_20230701_models.GetImageResponse(),
|
|
1142
|
+
await self.call_api_async(params, req, runtime)
|
|
1143
|
+
)
|
|
1144
|
+
else:
|
|
1145
|
+
return TeaCore.from_map(
|
|
1146
|
+
ehpc_instant_20230701_models.GetImageResponse(),
|
|
1147
|
+
await self.execute_async(params, req, runtime)
|
|
1148
|
+
)
|
|
1033
1149
|
|
|
1034
1150
|
def get_image(
|
|
1035
1151
|
self,
|
|
@@ -1087,10 +1203,16 @@ class Client(OpenApiClient):
|
|
|
1087
1203
|
req_body_type='formData',
|
|
1088
1204
|
body_type='json'
|
|
1089
1205
|
)
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1206
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1207
|
+
return TeaCore.from_map(
|
|
1208
|
+
ehpc_instant_20230701_models.GetJobResponse(),
|
|
1209
|
+
self.call_api(params, req, runtime)
|
|
1210
|
+
)
|
|
1211
|
+
else:
|
|
1212
|
+
return TeaCore.from_map(
|
|
1213
|
+
ehpc_instant_20230701_models.GetJobResponse(),
|
|
1214
|
+
self.execute(params, req, runtime)
|
|
1215
|
+
)
|
|
1094
1216
|
|
|
1095
1217
|
async def get_job_with_options_async(
|
|
1096
1218
|
self,
|
|
@@ -1122,10 +1244,16 @@ class Client(OpenApiClient):
|
|
|
1122
1244
|
req_body_type='formData',
|
|
1123
1245
|
body_type='json'
|
|
1124
1246
|
)
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1247
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1248
|
+
return TeaCore.from_map(
|
|
1249
|
+
ehpc_instant_20230701_models.GetJobResponse(),
|
|
1250
|
+
await self.call_api_async(params, req, runtime)
|
|
1251
|
+
)
|
|
1252
|
+
else:
|
|
1253
|
+
return TeaCore.from_map(
|
|
1254
|
+
ehpc_instant_20230701_models.GetJobResponse(),
|
|
1255
|
+
await self.execute_async(params, req, runtime)
|
|
1256
|
+
)
|
|
1129
1257
|
|
|
1130
1258
|
def get_job(
|
|
1131
1259
|
self,
|
|
@@ -1183,10 +1311,16 @@ class Client(OpenApiClient):
|
|
|
1183
1311
|
req_body_type='formData',
|
|
1184
1312
|
body_type='json'
|
|
1185
1313
|
)
|
|
1186
|
-
|
|
1187
|
-
|
|
1188
|
-
|
|
1189
|
-
|
|
1314
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1315
|
+
return TeaCore.from_map(
|
|
1316
|
+
ehpc_instant_20230701_models.GetPoolResponse(),
|
|
1317
|
+
self.call_api(params, req, runtime)
|
|
1318
|
+
)
|
|
1319
|
+
else:
|
|
1320
|
+
return TeaCore.from_map(
|
|
1321
|
+
ehpc_instant_20230701_models.GetPoolResponse(),
|
|
1322
|
+
self.execute(params, req, runtime)
|
|
1323
|
+
)
|
|
1190
1324
|
|
|
1191
1325
|
async def get_pool_with_options_async(
|
|
1192
1326
|
self,
|
|
@@ -1218,10 +1352,16 @@ class Client(OpenApiClient):
|
|
|
1218
1352
|
req_body_type='formData',
|
|
1219
1353
|
body_type='json'
|
|
1220
1354
|
)
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1355
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1356
|
+
return TeaCore.from_map(
|
|
1357
|
+
ehpc_instant_20230701_models.GetPoolResponse(),
|
|
1358
|
+
await self.call_api_async(params, req, runtime)
|
|
1359
|
+
)
|
|
1360
|
+
else:
|
|
1361
|
+
return TeaCore.from_map(
|
|
1362
|
+
ehpc_instant_20230701_models.GetPoolResponse(),
|
|
1363
|
+
await self.execute_async(params, req, runtime)
|
|
1364
|
+
)
|
|
1225
1365
|
|
|
1226
1366
|
def get_pool(
|
|
1227
1367
|
self,
|
|
@@ -1287,10 +1427,16 @@ class Client(OpenApiClient):
|
|
|
1287
1427
|
req_body_type='formData',
|
|
1288
1428
|
body_type='json'
|
|
1289
1429
|
)
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1430
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1431
|
+
return TeaCore.from_map(
|
|
1432
|
+
ehpc_instant_20230701_models.ListExecutorsResponse(),
|
|
1433
|
+
self.call_api(params, req, runtime)
|
|
1434
|
+
)
|
|
1435
|
+
else:
|
|
1436
|
+
return TeaCore.from_map(
|
|
1437
|
+
ehpc_instant_20230701_models.ListExecutorsResponse(),
|
|
1438
|
+
self.execute(params, req, runtime)
|
|
1439
|
+
)
|
|
1294
1440
|
|
|
1295
1441
|
async def list_executors_with_options_async(
|
|
1296
1442
|
self,
|
|
@@ -1330,10 +1476,16 @@ class Client(OpenApiClient):
|
|
|
1330
1476
|
req_body_type='formData',
|
|
1331
1477
|
body_type='json'
|
|
1332
1478
|
)
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1479
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1480
|
+
return TeaCore.from_map(
|
|
1481
|
+
ehpc_instant_20230701_models.ListExecutorsResponse(),
|
|
1482
|
+
await self.call_api_async(params, req, runtime)
|
|
1483
|
+
)
|
|
1484
|
+
else:
|
|
1485
|
+
return TeaCore.from_map(
|
|
1486
|
+
ehpc_instant_20230701_models.ListExecutorsResponse(),
|
|
1487
|
+
await self.execute_async(params, req, runtime)
|
|
1488
|
+
)
|
|
1337
1489
|
|
|
1338
1490
|
def list_executors(
|
|
1339
1491
|
self,
|
|
@@ -1409,10 +1561,16 @@ class Client(OpenApiClient):
|
|
|
1409
1561
|
req_body_type='formData',
|
|
1410
1562
|
body_type='json'
|
|
1411
1563
|
)
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1564
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1565
|
+
return TeaCore.from_map(
|
|
1566
|
+
ehpc_instant_20230701_models.ListImagesResponse(),
|
|
1567
|
+
self.call_api(params, req, runtime)
|
|
1568
|
+
)
|
|
1569
|
+
else:
|
|
1570
|
+
return TeaCore.from_map(
|
|
1571
|
+
ehpc_instant_20230701_models.ListImagesResponse(),
|
|
1572
|
+
self.execute(params, req, runtime)
|
|
1573
|
+
)
|
|
1416
1574
|
|
|
1417
1575
|
async def list_images_with_options_async(
|
|
1418
1576
|
self,
|
|
@@ -1462,10 +1620,16 @@ class Client(OpenApiClient):
|
|
|
1462
1620
|
req_body_type='formData',
|
|
1463
1621
|
body_type='json'
|
|
1464
1622
|
)
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1623
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1624
|
+
return TeaCore.from_map(
|
|
1625
|
+
ehpc_instant_20230701_models.ListImagesResponse(),
|
|
1626
|
+
await self.call_api_async(params, req, runtime)
|
|
1627
|
+
)
|
|
1628
|
+
else:
|
|
1629
|
+
return TeaCore.from_map(
|
|
1630
|
+
ehpc_instant_20230701_models.ListImagesResponse(),
|
|
1631
|
+
await self.execute_async(params, req, runtime)
|
|
1632
|
+
)
|
|
1469
1633
|
|
|
1470
1634
|
def list_images(
|
|
1471
1635
|
self,
|
|
@@ -1529,10 +1693,16 @@ class Client(OpenApiClient):
|
|
|
1529
1693
|
req_body_type='formData',
|
|
1530
1694
|
body_type='json'
|
|
1531
1695
|
)
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1696
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1697
|
+
return TeaCore.from_map(
|
|
1698
|
+
ehpc_instant_20230701_models.ListJobExecutorsResponse(),
|
|
1699
|
+
self.call_api(params, req, runtime)
|
|
1700
|
+
)
|
|
1701
|
+
else:
|
|
1702
|
+
return TeaCore.from_map(
|
|
1703
|
+
ehpc_instant_20230701_models.ListJobExecutorsResponse(),
|
|
1704
|
+
self.execute(params, req, runtime)
|
|
1705
|
+
)
|
|
1536
1706
|
|
|
1537
1707
|
async def list_job_executors_with_options_async(
|
|
1538
1708
|
self,
|
|
@@ -1570,10 +1740,16 @@ class Client(OpenApiClient):
|
|
|
1570
1740
|
req_body_type='formData',
|
|
1571
1741
|
body_type='json'
|
|
1572
1742
|
)
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1743
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1744
|
+
return TeaCore.from_map(
|
|
1745
|
+
ehpc_instant_20230701_models.ListJobExecutorsResponse(),
|
|
1746
|
+
await self.call_api_async(params, req, runtime)
|
|
1747
|
+
)
|
|
1748
|
+
else:
|
|
1749
|
+
return TeaCore.from_map(
|
|
1750
|
+
ehpc_instant_20230701_models.ListJobExecutorsResponse(),
|
|
1751
|
+
await self.execute_async(params, req, runtime)
|
|
1752
|
+
)
|
|
1577
1753
|
|
|
1578
1754
|
def list_job_executors(
|
|
1579
1755
|
self,
|
|
@@ -1643,10 +1819,16 @@ class Client(OpenApiClient):
|
|
|
1643
1819
|
req_body_type='formData',
|
|
1644
1820
|
body_type='json'
|
|
1645
1821
|
)
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1822
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1823
|
+
return TeaCore.from_map(
|
|
1824
|
+
ehpc_instant_20230701_models.ListJobsResponse(),
|
|
1825
|
+
self.call_api(params, req, runtime)
|
|
1826
|
+
)
|
|
1827
|
+
else:
|
|
1828
|
+
return TeaCore.from_map(
|
|
1829
|
+
ehpc_instant_20230701_models.ListJobsResponse(),
|
|
1830
|
+
self.execute(params, req, runtime)
|
|
1831
|
+
)
|
|
1650
1832
|
|
|
1651
1833
|
async def list_jobs_with_options_async(
|
|
1652
1834
|
self,
|
|
@@ -1690,10 +1872,16 @@ class Client(OpenApiClient):
|
|
|
1690
1872
|
req_body_type='formData',
|
|
1691
1873
|
body_type='json'
|
|
1692
1874
|
)
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1875
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1876
|
+
return TeaCore.from_map(
|
|
1877
|
+
ehpc_instant_20230701_models.ListJobsResponse(),
|
|
1878
|
+
await self.call_api_async(params, req, runtime)
|
|
1879
|
+
)
|
|
1880
|
+
else:
|
|
1881
|
+
return TeaCore.from_map(
|
|
1882
|
+
ehpc_instant_20230701_models.ListJobsResponse(),
|
|
1883
|
+
await self.execute_async(params, req, runtime)
|
|
1884
|
+
)
|
|
1697
1885
|
|
|
1698
1886
|
def list_jobs(
|
|
1699
1887
|
self,
|
|
@@ -1759,10 +1947,16 @@ class Client(OpenApiClient):
|
|
|
1759
1947
|
req_body_type='formData',
|
|
1760
1948
|
body_type='json'
|
|
1761
1949
|
)
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1950
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
1951
|
+
return TeaCore.from_map(
|
|
1952
|
+
ehpc_instant_20230701_models.ListPoolsResponse(),
|
|
1953
|
+
self.call_api(params, req, runtime)
|
|
1954
|
+
)
|
|
1955
|
+
else:
|
|
1956
|
+
return TeaCore.from_map(
|
|
1957
|
+
ehpc_instant_20230701_models.ListPoolsResponse(),
|
|
1958
|
+
self.execute(params, req, runtime)
|
|
1959
|
+
)
|
|
1766
1960
|
|
|
1767
1961
|
async def list_pools_with_options_async(
|
|
1768
1962
|
self,
|
|
@@ -1802,10 +1996,16 @@ class Client(OpenApiClient):
|
|
|
1802
1996
|
req_body_type='formData',
|
|
1803
1997
|
body_type='json'
|
|
1804
1998
|
)
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1999
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2000
|
+
return TeaCore.from_map(
|
|
2001
|
+
ehpc_instant_20230701_models.ListPoolsResponse(),
|
|
2002
|
+
await self.call_api_async(params, req, runtime)
|
|
2003
|
+
)
|
|
2004
|
+
else:
|
|
2005
|
+
return TeaCore.from_map(
|
|
2006
|
+
ehpc_instant_20230701_models.ListPoolsResponse(),
|
|
2007
|
+
await self.execute_async(params, req, runtime)
|
|
2008
|
+
)
|
|
1809
2009
|
|
|
1810
2010
|
def list_pools(
|
|
1811
2011
|
self,
|
|
@@ -1871,10 +2071,16 @@ class Client(OpenApiClient):
|
|
|
1871
2071
|
req_body_type='formData',
|
|
1872
2072
|
body_type='json'
|
|
1873
2073
|
)
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
2074
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2075
|
+
return TeaCore.from_map(
|
|
2076
|
+
ehpc_instant_20230701_models.ListTagResourcesResponse(),
|
|
2077
|
+
self.call_api(params, req, runtime)
|
|
2078
|
+
)
|
|
2079
|
+
else:
|
|
2080
|
+
return TeaCore.from_map(
|
|
2081
|
+
ehpc_instant_20230701_models.ListTagResourcesResponse(),
|
|
2082
|
+
self.execute(params, req, runtime)
|
|
2083
|
+
)
|
|
1878
2084
|
|
|
1879
2085
|
async def list_tag_resources_with_options_async(
|
|
1880
2086
|
self,
|
|
@@ -1914,10 +2120,16 @@ class Client(OpenApiClient):
|
|
|
1914
2120
|
req_body_type='formData',
|
|
1915
2121
|
body_type='json'
|
|
1916
2122
|
)
|
|
1917
|
-
|
|
1918
|
-
|
|
1919
|
-
|
|
1920
|
-
|
|
2123
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2124
|
+
return TeaCore.from_map(
|
|
2125
|
+
ehpc_instant_20230701_models.ListTagResourcesResponse(),
|
|
2126
|
+
await self.call_api_async(params, req, runtime)
|
|
2127
|
+
)
|
|
2128
|
+
else:
|
|
2129
|
+
return TeaCore.from_map(
|
|
2130
|
+
ehpc_instant_20230701_models.ListTagResourcesResponse(),
|
|
2131
|
+
await self.execute_async(params, req, runtime)
|
|
2132
|
+
)
|
|
1921
2133
|
|
|
1922
2134
|
def list_tag_resources(
|
|
1923
2135
|
self,
|
|
@@ -1977,10 +2189,16 @@ class Client(OpenApiClient):
|
|
|
1977
2189
|
req_body_type='formData',
|
|
1978
2190
|
body_type='json'
|
|
1979
2191
|
)
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
2192
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2193
|
+
return TeaCore.from_map(
|
|
2194
|
+
ehpc_instant_20230701_models.RemoveImageResponse(),
|
|
2195
|
+
self.call_api(params, req, runtime)
|
|
2196
|
+
)
|
|
2197
|
+
else:
|
|
2198
|
+
return TeaCore.from_map(
|
|
2199
|
+
ehpc_instant_20230701_models.RemoveImageResponse(),
|
|
2200
|
+
self.execute(params, req, runtime)
|
|
2201
|
+
)
|
|
1984
2202
|
|
|
1985
2203
|
async def remove_image_with_options_async(
|
|
1986
2204
|
self,
|
|
@@ -2014,10 +2232,16 @@ class Client(OpenApiClient):
|
|
|
2014
2232
|
req_body_type='formData',
|
|
2015
2233
|
body_type='json'
|
|
2016
2234
|
)
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2235
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2236
|
+
return TeaCore.from_map(
|
|
2237
|
+
ehpc_instant_20230701_models.RemoveImageResponse(),
|
|
2238
|
+
await self.call_api_async(params, req, runtime)
|
|
2239
|
+
)
|
|
2240
|
+
else:
|
|
2241
|
+
return TeaCore.from_map(
|
|
2242
|
+
ehpc_instant_20230701_models.RemoveImageResponse(),
|
|
2243
|
+
await self.execute_async(params, req, runtime)
|
|
2244
|
+
)
|
|
2021
2245
|
|
|
2022
2246
|
def remove_image(
|
|
2023
2247
|
self,
|
|
@@ -2079,10 +2303,16 @@ class Client(OpenApiClient):
|
|
|
2079
2303
|
req_body_type='formData',
|
|
2080
2304
|
body_type='json'
|
|
2081
2305
|
)
|
|
2082
|
-
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2306
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2307
|
+
return TeaCore.from_map(
|
|
2308
|
+
ehpc_instant_20230701_models.TagResourcesResponse(),
|
|
2309
|
+
self.call_api(params, req, runtime)
|
|
2310
|
+
)
|
|
2311
|
+
else:
|
|
2312
|
+
return TeaCore.from_map(
|
|
2313
|
+
ehpc_instant_20230701_models.TagResourcesResponse(),
|
|
2314
|
+
self.execute(params, req, runtime)
|
|
2315
|
+
)
|
|
2086
2316
|
|
|
2087
2317
|
async def tag_resources_with_options_async(
|
|
2088
2318
|
self,
|
|
@@ -2118,10 +2348,16 @@ class Client(OpenApiClient):
|
|
|
2118
2348
|
req_body_type='formData',
|
|
2119
2349
|
body_type='json'
|
|
2120
2350
|
)
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2351
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2352
|
+
return TeaCore.from_map(
|
|
2353
|
+
ehpc_instant_20230701_models.TagResourcesResponse(),
|
|
2354
|
+
await self.call_api_async(params, req, runtime)
|
|
2355
|
+
)
|
|
2356
|
+
else:
|
|
2357
|
+
return TeaCore.from_map(
|
|
2358
|
+
ehpc_instant_20230701_models.TagResourcesResponse(),
|
|
2359
|
+
await self.execute_async(params, req, runtime)
|
|
2360
|
+
)
|
|
2125
2361
|
|
|
2126
2362
|
def tag_resources(
|
|
2127
2363
|
self,
|
|
@@ -2185,10 +2421,16 @@ class Client(OpenApiClient):
|
|
|
2185
2421
|
req_body_type='formData',
|
|
2186
2422
|
body_type='json'
|
|
2187
2423
|
)
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2424
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2425
|
+
return TeaCore.from_map(
|
|
2426
|
+
ehpc_instant_20230701_models.UnTagResourcesResponse(),
|
|
2427
|
+
self.call_api(params, req, runtime)
|
|
2428
|
+
)
|
|
2429
|
+
else:
|
|
2430
|
+
return TeaCore.from_map(
|
|
2431
|
+
ehpc_instant_20230701_models.UnTagResourcesResponse(),
|
|
2432
|
+
self.execute(params, req, runtime)
|
|
2433
|
+
)
|
|
2192
2434
|
|
|
2193
2435
|
async def un_tag_resources_with_options_async(
|
|
2194
2436
|
self,
|
|
@@ -2226,10 +2468,16 @@ class Client(OpenApiClient):
|
|
|
2226
2468
|
req_body_type='formData',
|
|
2227
2469
|
body_type='json'
|
|
2228
2470
|
)
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2471
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2472
|
+
return TeaCore.from_map(
|
|
2473
|
+
ehpc_instant_20230701_models.UnTagResourcesResponse(),
|
|
2474
|
+
await self.call_api_async(params, req, runtime)
|
|
2475
|
+
)
|
|
2476
|
+
else:
|
|
2477
|
+
return TeaCore.from_map(
|
|
2478
|
+
ehpc_instant_20230701_models.UnTagResourcesResponse(),
|
|
2479
|
+
await self.execute_async(params, req, runtime)
|
|
2480
|
+
)
|
|
2233
2481
|
|
|
2234
2482
|
def un_tag_resources(
|
|
2235
2483
|
self,
|
|
@@ -2295,10 +2543,16 @@ class Client(OpenApiClient):
|
|
|
2295
2543
|
req_body_type='formData',
|
|
2296
2544
|
body_type='json'
|
|
2297
2545
|
)
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2546
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2547
|
+
return TeaCore.from_map(
|
|
2548
|
+
ehpc_instant_20230701_models.UpdatePoolResponse(),
|
|
2549
|
+
self.call_api(params, req, runtime)
|
|
2550
|
+
)
|
|
2551
|
+
else:
|
|
2552
|
+
return TeaCore.from_map(
|
|
2553
|
+
ehpc_instant_20230701_models.UpdatePoolResponse(),
|
|
2554
|
+
self.execute(params, req, runtime)
|
|
2555
|
+
)
|
|
2302
2556
|
|
|
2303
2557
|
async def update_pool_with_options_async(
|
|
2304
2558
|
self,
|
|
@@ -2338,10 +2592,16 @@ class Client(OpenApiClient):
|
|
|
2338
2592
|
req_body_type='formData',
|
|
2339
2593
|
body_type='json'
|
|
2340
2594
|
)
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2595
|
+
if UtilClient.is_unset(self._signature_version) or not UtilClient.equal_string(self._signature_version, 'v4'):
|
|
2596
|
+
return TeaCore.from_map(
|
|
2597
|
+
ehpc_instant_20230701_models.UpdatePoolResponse(),
|
|
2598
|
+
await self.call_api_async(params, req, runtime)
|
|
2599
|
+
)
|
|
2600
|
+
else:
|
|
2601
|
+
return TeaCore.from_map(
|
|
2602
|
+
ehpc_instant_20230701_models.UpdatePoolResponse(),
|
|
2603
|
+
await self.execute_async(params, req, runtime)
|
|
2604
|
+
)
|
|
2345
2605
|
|
|
2346
2606
|
def update_pool(
|
|
2347
2607
|
self,
|