alibabacloud-privatelink20200415 4.0.2__py3-none-any.whl → 4.0.4__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.
- alibabacloud_privatelink20200415/__init__.py +1 -1
- alibabacloud_privatelink20200415/client.py +328 -780
- alibabacloud_privatelink20200415/models.py +129 -29
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.4.dist-info}/METADATA +3 -3
- alibabacloud_privatelink20200415-4.0.4.dist-info/RECORD +8 -0
- alibabacloud_privatelink20200415-4.0.2.dist-info/RECORD +0 -8
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.4.dist-info}/LICENSE +0 -0
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.4.dist-info}/WHEEL +0 -0
- {alibabacloud_privatelink20200415-4.0.2.dist-info → alibabacloud_privatelink20200415-4.0.4.dist-info}/top_level.txt +0 -0
|
@@ -86,16 +86,10 @@ class Client(OpenApiClient):
|
|
|
86
86
|
req_body_type='formData',
|
|
87
87
|
body_type='json'
|
|
88
88
|
)
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
)
|
|
94
|
-
else:
|
|
95
|
-
return TeaCore.from_map(
|
|
96
|
-
privatelink_20200415_models.AddUserToVpcEndpointServiceResponse(),
|
|
97
|
-
self.execute(params, req, runtime)
|
|
98
|
-
)
|
|
89
|
+
return TeaCore.from_map(
|
|
90
|
+
privatelink_20200415_models.AddUserToVpcEndpointServiceResponse(),
|
|
91
|
+
self.call_api(params, req, runtime)
|
|
92
|
+
)
|
|
99
93
|
|
|
100
94
|
async def add_user_to_vpc_endpoint_service_with_options_async(
|
|
101
95
|
self,
|
|
@@ -142,16 +136,10 @@ class Client(OpenApiClient):
|
|
|
142
136
|
req_body_type='formData',
|
|
143
137
|
body_type='json'
|
|
144
138
|
)
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
)
|
|
150
|
-
else:
|
|
151
|
-
return TeaCore.from_map(
|
|
152
|
-
privatelink_20200415_models.AddUserToVpcEndpointServiceResponse(),
|
|
153
|
-
await self.execute_async(params, req, runtime)
|
|
154
|
-
)
|
|
139
|
+
return TeaCore.from_map(
|
|
140
|
+
privatelink_20200415_models.AddUserToVpcEndpointServiceResponse(),
|
|
141
|
+
await self.call_api_async(params, req, runtime)
|
|
142
|
+
)
|
|
155
143
|
|
|
156
144
|
def add_user_to_vpc_endpoint_service(
|
|
157
145
|
self,
|
|
@@ -236,16 +224,10 @@ class Client(OpenApiClient):
|
|
|
236
224
|
req_body_type='formData',
|
|
237
225
|
body_type='json'
|
|
238
226
|
)
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
)
|
|
244
|
-
else:
|
|
245
|
-
return TeaCore.from_map(
|
|
246
|
-
privatelink_20200415_models.AddZoneToVpcEndpointResponse(),
|
|
247
|
-
self.execute(params, req, runtime)
|
|
248
|
-
)
|
|
227
|
+
return TeaCore.from_map(
|
|
228
|
+
privatelink_20200415_models.AddZoneToVpcEndpointResponse(),
|
|
229
|
+
self.call_api(params, req, runtime)
|
|
230
|
+
)
|
|
249
231
|
|
|
250
232
|
async def add_zone_to_vpc_endpoint_with_options_async(
|
|
251
233
|
self,
|
|
@@ -298,16 +280,10 @@ class Client(OpenApiClient):
|
|
|
298
280
|
req_body_type='formData',
|
|
299
281
|
body_type='json'
|
|
300
282
|
)
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
)
|
|
306
|
-
else:
|
|
307
|
-
return TeaCore.from_map(
|
|
308
|
-
privatelink_20200415_models.AddZoneToVpcEndpointResponse(),
|
|
309
|
-
await self.execute_async(params, req, runtime)
|
|
310
|
-
)
|
|
283
|
+
return TeaCore.from_map(
|
|
284
|
+
privatelink_20200415_models.AddZoneToVpcEndpointResponse(),
|
|
285
|
+
await self.call_api_async(params, req, runtime)
|
|
286
|
+
)
|
|
311
287
|
|
|
312
288
|
def add_zone_to_vpc_endpoint(
|
|
313
289
|
self,
|
|
@@ -392,16 +368,10 @@ class Client(OpenApiClient):
|
|
|
392
368
|
req_body_type='formData',
|
|
393
369
|
body_type='json'
|
|
394
370
|
)
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
)
|
|
400
|
-
else:
|
|
401
|
-
return TeaCore.from_map(
|
|
402
|
-
privatelink_20200415_models.AttachResourceToVpcEndpointServiceResponse(),
|
|
403
|
-
self.execute(params, req, runtime)
|
|
404
|
-
)
|
|
371
|
+
return TeaCore.from_map(
|
|
372
|
+
privatelink_20200415_models.AttachResourceToVpcEndpointServiceResponse(),
|
|
373
|
+
self.call_api(params, req, runtime)
|
|
374
|
+
)
|
|
405
375
|
|
|
406
376
|
async def attach_resource_to_vpc_endpoint_service_with_options_async(
|
|
407
377
|
self,
|
|
@@ -450,16 +420,10 @@ class Client(OpenApiClient):
|
|
|
450
420
|
req_body_type='formData',
|
|
451
421
|
body_type='json'
|
|
452
422
|
)
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
)
|
|
458
|
-
else:
|
|
459
|
-
return TeaCore.from_map(
|
|
460
|
-
privatelink_20200415_models.AttachResourceToVpcEndpointServiceResponse(),
|
|
461
|
-
await self.execute_async(params, req, runtime)
|
|
462
|
-
)
|
|
423
|
+
return TeaCore.from_map(
|
|
424
|
+
privatelink_20200415_models.AttachResourceToVpcEndpointServiceResponse(),
|
|
425
|
+
await self.call_api_async(params, req, runtime)
|
|
426
|
+
)
|
|
463
427
|
|
|
464
428
|
def attach_resource_to_vpc_endpoint_service(
|
|
465
429
|
self,
|
|
@@ -538,16 +502,10 @@ class Client(OpenApiClient):
|
|
|
538
502
|
req_body_type='formData',
|
|
539
503
|
body_type='json'
|
|
540
504
|
)
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
)
|
|
546
|
-
else:
|
|
547
|
-
return TeaCore.from_map(
|
|
548
|
-
privatelink_20200415_models.AttachSecurityGroupToVpcEndpointResponse(),
|
|
549
|
-
self.execute(params, req, runtime)
|
|
550
|
-
)
|
|
505
|
+
return TeaCore.from_map(
|
|
506
|
+
privatelink_20200415_models.AttachSecurityGroupToVpcEndpointResponse(),
|
|
507
|
+
self.call_api(params, req, runtime)
|
|
508
|
+
)
|
|
551
509
|
|
|
552
510
|
async def attach_security_group_to_vpc_endpoint_with_options_async(
|
|
553
511
|
self,
|
|
@@ -594,16 +552,10 @@ class Client(OpenApiClient):
|
|
|
594
552
|
req_body_type='formData',
|
|
595
553
|
body_type='json'
|
|
596
554
|
)
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
)
|
|
602
|
-
else:
|
|
603
|
-
return TeaCore.from_map(
|
|
604
|
-
privatelink_20200415_models.AttachSecurityGroupToVpcEndpointResponse(),
|
|
605
|
-
await self.execute_async(params, req, runtime)
|
|
606
|
-
)
|
|
555
|
+
return TeaCore.from_map(
|
|
556
|
+
privatelink_20200415_models.AttachSecurityGroupToVpcEndpointResponse(),
|
|
557
|
+
await self.call_api_async(params, req, runtime)
|
|
558
|
+
)
|
|
607
559
|
|
|
608
560
|
def attach_security_group_to_vpc_endpoint(
|
|
609
561
|
self,
|
|
@@ -675,16 +627,10 @@ class Client(OpenApiClient):
|
|
|
675
627
|
req_body_type='formData',
|
|
676
628
|
body_type='json'
|
|
677
629
|
)
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
)
|
|
683
|
-
else:
|
|
684
|
-
return TeaCore.from_map(
|
|
685
|
-
privatelink_20200415_models.ChangeResourceGroupResponse(),
|
|
686
|
-
self.execute(params, req, runtime)
|
|
687
|
-
)
|
|
630
|
+
return TeaCore.from_map(
|
|
631
|
+
privatelink_20200415_models.ChangeResourceGroupResponse(),
|
|
632
|
+
self.call_api(params, req, runtime)
|
|
633
|
+
)
|
|
688
634
|
|
|
689
635
|
async def change_resource_group_with_options_async(
|
|
690
636
|
self,
|
|
@@ -720,16 +666,10 @@ class Client(OpenApiClient):
|
|
|
720
666
|
req_body_type='formData',
|
|
721
667
|
body_type='json'
|
|
722
668
|
)
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
)
|
|
728
|
-
else:
|
|
729
|
-
return TeaCore.from_map(
|
|
730
|
-
privatelink_20200415_models.ChangeResourceGroupResponse(),
|
|
731
|
-
await self.execute_async(params, req, runtime)
|
|
732
|
-
)
|
|
669
|
+
return TeaCore.from_map(
|
|
670
|
+
privatelink_20200415_models.ChangeResourceGroupResponse(),
|
|
671
|
+
await self.call_api_async(params, req, runtime)
|
|
672
|
+
)
|
|
733
673
|
|
|
734
674
|
def change_resource_group(
|
|
735
675
|
self,
|
|
@@ -780,16 +720,10 @@ class Client(OpenApiClient):
|
|
|
780
720
|
req_body_type='formData',
|
|
781
721
|
body_type='json'
|
|
782
722
|
)
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
)
|
|
788
|
-
else:
|
|
789
|
-
return TeaCore.from_map(
|
|
790
|
-
privatelink_20200415_models.CheckProductOpenResponse(),
|
|
791
|
-
self.execute(params, req, runtime)
|
|
792
|
-
)
|
|
723
|
+
return TeaCore.from_map(
|
|
724
|
+
privatelink_20200415_models.CheckProductOpenResponse(),
|
|
725
|
+
self.call_api(params, req, runtime)
|
|
726
|
+
)
|
|
793
727
|
|
|
794
728
|
async def check_product_open_with_options_async(
|
|
795
729
|
self,
|
|
@@ -814,16 +748,10 @@ class Client(OpenApiClient):
|
|
|
814
748
|
req_body_type='formData',
|
|
815
749
|
body_type='json'
|
|
816
750
|
)
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
)
|
|
822
|
-
else:
|
|
823
|
-
return TeaCore.from_map(
|
|
824
|
-
privatelink_20200415_models.CheckProductOpenResponse(),
|
|
825
|
-
await self.execute_async(params, req, runtime)
|
|
826
|
-
)
|
|
751
|
+
return TeaCore.from_map(
|
|
752
|
+
privatelink_20200415_models.CheckProductOpenResponse(),
|
|
753
|
+
await self.call_api_async(params, req, runtime)
|
|
754
|
+
)
|
|
827
755
|
|
|
828
756
|
def check_product_open(self) -> privatelink_20200415_models.CheckProductOpenResponse:
|
|
829
757
|
"""
|
|
@@ -895,6 +823,8 @@ class Client(OpenApiClient):
|
|
|
895
823
|
query['VpcId'] = request.vpc_id
|
|
896
824
|
if not UtilClient.is_unset(request.zone):
|
|
897
825
|
query['Zone'] = request.zone
|
|
826
|
+
if not UtilClient.is_unset(request.zone_affinity_enabled):
|
|
827
|
+
query['ZoneAffinityEnabled'] = request.zone_affinity_enabled
|
|
898
828
|
if not UtilClient.is_unset(request.zone_private_ip_address_count):
|
|
899
829
|
query['ZonePrivateIpAddressCount'] = request.zone_private_ip_address_count
|
|
900
830
|
req = open_api_models.OpenApiRequest(
|
|
@@ -911,16 +841,10 @@ class Client(OpenApiClient):
|
|
|
911
841
|
req_body_type='formData',
|
|
912
842
|
body_type='json'
|
|
913
843
|
)
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
)
|
|
919
|
-
else:
|
|
920
|
-
return TeaCore.from_map(
|
|
921
|
-
privatelink_20200415_models.CreateVpcEndpointResponse(),
|
|
922
|
-
self.execute(params, req, runtime)
|
|
923
|
-
)
|
|
844
|
+
return TeaCore.from_map(
|
|
845
|
+
privatelink_20200415_models.CreateVpcEndpointResponse(),
|
|
846
|
+
self.call_api(params, req, runtime)
|
|
847
|
+
)
|
|
924
848
|
|
|
925
849
|
async def create_vpc_endpoint_with_options_async(
|
|
926
850
|
self,
|
|
@@ -974,6 +898,8 @@ class Client(OpenApiClient):
|
|
|
974
898
|
query['VpcId'] = request.vpc_id
|
|
975
899
|
if not UtilClient.is_unset(request.zone):
|
|
976
900
|
query['Zone'] = request.zone
|
|
901
|
+
if not UtilClient.is_unset(request.zone_affinity_enabled):
|
|
902
|
+
query['ZoneAffinityEnabled'] = request.zone_affinity_enabled
|
|
977
903
|
if not UtilClient.is_unset(request.zone_private_ip_address_count):
|
|
978
904
|
query['ZonePrivateIpAddressCount'] = request.zone_private_ip_address_count
|
|
979
905
|
req = open_api_models.OpenApiRequest(
|
|
@@ -990,16 +916,10 @@ class Client(OpenApiClient):
|
|
|
990
916
|
req_body_type='formData',
|
|
991
917
|
body_type='json'
|
|
992
918
|
)
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
)
|
|
998
|
-
else:
|
|
999
|
-
return TeaCore.from_map(
|
|
1000
|
-
privatelink_20200415_models.CreateVpcEndpointResponse(),
|
|
1001
|
-
await self.execute_async(params, req, runtime)
|
|
1002
|
-
)
|
|
919
|
+
return TeaCore.from_map(
|
|
920
|
+
privatelink_20200415_models.CreateVpcEndpointResponse(),
|
|
921
|
+
await self.call_api_async(params, req, runtime)
|
|
922
|
+
)
|
|
1003
923
|
|
|
1004
924
|
def create_vpc_endpoint(
|
|
1005
925
|
self,
|
|
@@ -1096,16 +1016,10 @@ class Client(OpenApiClient):
|
|
|
1096
1016
|
req_body_type='formData',
|
|
1097
1017
|
body_type='json'
|
|
1098
1018
|
)
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
)
|
|
1104
|
-
else:
|
|
1105
|
-
return TeaCore.from_map(
|
|
1106
|
-
privatelink_20200415_models.CreateVpcEndpointServiceResponse(),
|
|
1107
|
-
self.execute(params, req, runtime)
|
|
1108
|
-
)
|
|
1019
|
+
return TeaCore.from_map(
|
|
1020
|
+
privatelink_20200415_models.CreateVpcEndpointServiceResponse(),
|
|
1021
|
+
self.call_api(params, req, runtime)
|
|
1022
|
+
)
|
|
1109
1023
|
|
|
1110
1024
|
async def create_vpc_endpoint_service_with_options_async(
|
|
1111
1025
|
self,
|
|
@@ -1168,16 +1082,10 @@ class Client(OpenApiClient):
|
|
|
1168
1082
|
req_body_type='formData',
|
|
1169
1083
|
body_type='json'
|
|
1170
1084
|
)
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
)
|
|
1176
|
-
else:
|
|
1177
|
-
return TeaCore.from_map(
|
|
1178
|
-
privatelink_20200415_models.CreateVpcEndpointServiceResponse(),
|
|
1179
|
-
await self.execute_async(params, req, runtime)
|
|
1180
|
-
)
|
|
1085
|
+
return TeaCore.from_map(
|
|
1086
|
+
privatelink_20200415_models.CreateVpcEndpointServiceResponse(),
|
|
1087
|
+
await self.call_api_async(params, req, runtime)
|
|
1088
|
+
)
|
|
1181
1089
|
|
|
1182
1090
|
def create_vpc_endpoint_service(
|
|
1183
1091
|
self,
|
|
@@ -1258,16 +1166,10 @@ class Client(OpenApiClient):
|
|
|
1258
1166
|
req_body_type='formData',
|
|
1259
1167
|
body_type='json'
|
|
1260
1168
|
)
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
)
|
|
1266
|
-
else:
|
|
1267
|
-
return TeaCore.from_map(
|
|
1268
|
-
privatelink_20200415_models.DeleteVpcEndpointResponse(),
|
|
1269
|
-
self.execute(params, req, runtime)
|
|
1270
|
-
)
|
|
1169
|
+
return TeaCore.from_map(
|
|
1170
|
+
privatelink_20200415_models.DeleteVpcEndpointResponse(),
|
|
1171
|
+
self.call_api(params, req, runtime)
|
|
1172
|
+
)
|
|
1271
1173
|
|
|
1272
1174
|
async def delete_vpc_endpoint_with_options_async(
|
|
1273
1175
|
self,
|
|
@@ -1312,16 +1214,10 @@ class Client(OpenApiClient):
|
|
|
1312
1214
|
req_body_type='formData',
|
|
1313
1215
|
body_type='json'
|
|
1314
1216
|
)
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
)
|
|
1320
|
-
else:
|
|
1321
|
-
return TeaCore.from_map(
|
|
1322
|
-
privatelink_20200415_models.DeleteVpcEndpointResponse(),
|
|
1323
|
-
await self.execute_async(params, req, runtime)
|
|
1324
|
-
)
|
|
1217
|
+
return TeaCore.from_map(
|
|
1218
|
+
privatelink_20200415_models.DeleteVpcEndpointResponse(),
|
|
1219
|
+
await self.call_api_async(params, req, runtime)
|
|
1220
|
+
)
|
|
1325
1221
|
|
|
1326
1222
|
def delete_vpc_endpoint(
|
|
1327
1223
|
self,
|
|
@@ -1403,16 +1299,10 @@ class Client(OpenApiClient):
|
|
|
1403
1299
|
req_body_type='formData',
|
|
1404
1300
|
body_type='json'
|
|
1405
1301
|
)
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
)
|
|
1411
|
-
else:
|
|
1412
|
-
return TeaCore.from_map(
|
|
1413
|
-
privatelink_20200415_models.DeleteVpcEndpointServiceResponse(),
|
|
1414
|
-
self.execute(params, req, runtime)
|
|
1415
|
-
)
|
|
1302
|
+
return TeaCore.from_map(
|
|
1303
|
+
privatelink_20200415_models.DeleteVpcEndpointServiceResponse(),
|
|
1304
|
+
self.call_api(params, req, runtime)
|
|
1305
|
+
)
|
|
1416
1306
|
|
|
1417
1307
|
async def delete_vpc_endpoint_service_with_options_async(
|
|
1418
1308
|
self,
|
|
@@ -1458,16 +1348,10 @@ class Client(OpenApiClient):
|
|
|
1458
1348
|
req_body_type='formData',
|
|
1459
1349
|
body_type='json'
|
|
1460
1350
|
)
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
)
|
|
1466
|
-
else:
|
|
1467
|
-
return TeaCore.from_map(
|
|
1468
|
-
privatelink_20200415_models.DeleteVpcEndpointServiceResponse(),
|
|
1469
|
-
await self.execute_async(params, req, runtime)
|
|
1470
|
-
)
|
|
1351
|
+
return TeaCore.from_map(
|
|
1352
|
+
privatelink_20200415_models.DeleteVpcEndpointServiceResponse(),
|
|
1353
|
+
await self.call_api_async(params, req, runtime)
|
|
1354
|
+
)
|
|
1471
1355
|
|
|
1472
1356
|
def delete_vpc_endpoint_service(
|
|
1473
1357
|
self,
|
|
@@ -1541,16 +1425,10 @@ class Client(OpenApiClient):
|
|
|
1541
1425
|
req_body_type='formData',
|
|
1542
1426
|
body_type='json'
|
|
1543
1427
|
)
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
)
|
|
1549
|
-
else:
|
|
1550
|
-
return TeaCore.from_map(
|
|
1551
|
-
privatelink_20200415_models.DescribeRegionsResponse(),
|
|
1552
|
-
self.execute(params, req, runtime)
|
|
1553
|
-
)
|
|
1428
|
+
return TeaCore.from_map(
|
|
1429
|
+
privatelink_20200415_models.DescribeRegionsResponse(),
|
|
1430
|
+
self.call_api(params, req, runtime)
|
|
1431
|
+
)
|
|
1554
1432
|
|
|
1555
1433
|
async def describe_regions_with_options_async(
|
|
1556
1434
|
self,
|
|
@@ -1586,16 +1464,10 @@ class Client(OpenApiClient):
|
|
|
1586
1464
|
req_body_type='formData',
|
|
1587
1465
|
body_type='json'
|
|
1588
1466
|
)
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
)
|
|
1594
|
-
else:
|
|
1595
|
-
return TeaCore.from_map(
|
|
1596
|
-
privatelink_20200415_models.DescribeRegionsResponse(),
|
|
1597
|
-
await self.execute_async(params, req, runtime)
|
|
1598
|
-
)
|
|
1467
|
+
return TeaCore.from_map(
|
|
1468
|
+
privatelink_20200415_models.DescribeRegionsResponse(),
|
|
1469
|
+
await self.call_api_async(params, req, runtime)
|
|
1470
|
+
)
|
|
1599
1471
|
|
|
1600
1472
|
def describe_regions(
|
|
1601
1473
|
self,
|
|
@@ -1657,16 +1529,10 @@ class Client(OpenApiClient):
|
|
|
1657
1529
|
req_body_type='formData',
|
|
1658
1530
|
body_type='json'
|
|
1659
1531
|
)
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
)
|
|
1665
|
-
else:
|
|
1666
|
-
return TeaCore.from_map(
|
|
1667
|
-
privatelink_20200415_models.DescribeZonesResponse(),
|
|
1668
|
-
self.execute(params, req, runtime)
|
|
1669
|
-
)
|
|
1532
|
+
return TeaCore.from_map(
|
|
1533
|
+
privatelink_20200415_models.DescribeZonesResponse(),
|
|
1534
|
+
self.call_api(params, req, runtime)
|
|
1535
|
+
)
|
|
1670
1536
|
|
|
1671
1537
|
async def describe_zones_with_options_async(
|
|
1672
1538
|
self,
|
|
@@ -1702,16 +1568,10 @@ class Client(OpenApiClient):
|
|
|
1702
1568
|
req_body_type='formData',
|
|
1703
1569
|
body_type='json'
|
|
1704
1570
|
)
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
)
|
|
1710
|
-
else:
|
|
1711
|
-
return TeaCore.from_map(
|
|
1712
|
-
privatelink_20200415_models.DescribeZonesResponse(),
|
|
1713
|
-
await self.execute_async(params, req, runtime)
|
|
1714
|
-
)
|
|
1571
|
+
return TeaCore.from_map(
|
|
1572
|
+
privatelink_20200415_models.DescribeZonesResponse(),
|
|
1573
|
+
await self.call_api_async(params, req, runtime)
|
|
1574
|
+
)
|
|
1715
1575
|
|
|
1716
1576
|
def describe_zones(
|
|
1717
1577
|
self,
|
|
@@ -1786,16 +1646,10 @@ class Client(OpenApiClient):
|
|
|
1786
1646
|
req_body_type='formData',
|
|
1787
1647
|
body_type='json'
|
|
1788
1648
|
)
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
)
|
|
1794
|
-
else:
|
|
1795
|
-
return TeaCore.from_map(
|
|
1796
|
-
privatelink_20200415_models.DetachResourceFromVpcEndpointServiceResponse(),
|
|
1797
|
-
self.execute(params, req, runtime)
|
|
1798
|
-
)
|
|
1649
|
+
return TeaCore.from_map(
|
|
1650
|
+
privatelink_20200415_models.DetachResourceFromVpcEndpointServiceResponse(),
|
|
1651
|
+
self.call_api(params, req, runtime)
|
|
1652
|
+
)
|
|
1799
1653
|
|
|
1800
1654
|
async def detach_resource_from_vpc_endpoint_service_with_options_async(
|
|
1801
1655
|
self,
|
|
@@ -1844,16 +1698,10 @@ class Client(OpenApiClient):
|
|
|
1844
1698
|
req_body_type='formData',
|
|
1845
1699
|
body_type='json'
|
|
1846
1700
|
)
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
)
|
|
1852
|
-
else:
|
|
1853
|
-
return TeaCore.from_map(
|
|
1854
|
-
privatelink_20200415_models.DetachResourceFromVpcEndpointServiceResponse(),
|
|
1855
|
-
await self.execute_async(params, req, runtime)
|
|
1856
|
-
)
|
|
1701
|
+
return TeaCore.from_map(
|
|
1702
|
+
privatelink_20200415_models.DetachResourceFromVpcEndpointServiceResponse(),
|
|
1703
|
+
await self.call_api_async(params, req, runtime)
|
|
1704
|
+
)
|
|
1857
1705
|
|
|
1858
1706
|
def detach_resource_from_vpc_endpoint_service(
|
|
1859
1707
|
self,
|
|
@@ -1932,16 +1780,10 @@ class Client(OpenApiClient):
|
|
|
1932
1780
|
req_body_type='formData',
|
|
1933
1781
|
body_type='json'
|
|
1934
1782
|
)
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
)
|
|
1940
|
-
else:
|
|
1941
|
-
return TeaCore.from_map(
|
|
1942
|
-
privatelink_20200415_models.DetachSecurityGroupFromVpcEndpointResponse(),
|
|
1943
|
-
self.execute(params, req, runtime)
|
|
1944
|
-
)
|
|
1783
|
+
return TeaCore.from_map(
|
|
1784
|
+
privatelink_20200415_models.DetachSecurityGroupFromVpcEndpointResponse(),
|
|
1785
|
+
self.call_api(params, req, runtime)
|
|
1786
|
+
)
|
|
1945
1787
|
|
|
1946
1788
|
async def detach_security_group_from_vpc_endpoint_with_options_async(
|
|
1947
1789
|
self,
|
|
@@ -1988,16 +1830,10 @@ class Client(OpenApiClient):
|
|
|
1988
1830
|
req_body_type='formData',
|
|
1989
1831
|
body_type='json'
|
|
1990
1832
|
)
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
1995
|
-
)
|
|
1996
|
-
else:
|
|
1997
|
-
return TeaCore.from_map(
|
|
1998
|
-
privatelink_20200415_models.DetachSecurityGroupFromVpcEndpointResponse(),
|
|
1999
|
-
await self.execute_async(params, req, runtime)
|
|
2000
|
-
)
|
|
1833
|
+
return TeaCore.from_map(
|
|
1834
|
+
privatelink_20200415_models.DetachSecurityGroupFromVpcEndpointResponse(),
|
|
1835
|
+
await self.call_api_async(params, req, runtime)
|
|
1836
|
+
)
|
|
2001
1837
|
|
|
2002
1838
|
def detach_security_group_from_vpc_endpoint(
|
|
2003
1839
|
self,
|
|
@@ -2080,16 +1916,10 @@ class Client(OpenApiClient):
|
|
|
2080
1916
|
req_body_type='formData',
|
|
2081
1917
|
body_type='json'
|
|
2082
1918
|
)
|
|
2083
|
-
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
)
|
|
2088
|
-
else:
|
|
2089
|
-
return TeaCore.from_map(
|
|
2090
|
-
privatelink_20200415_models.DisableVpcEndpointConnectionResponse(),
|
|
2091
|
-
self.execute(params, req, runtime)
|
|
2092
|
-
)
|
|
1919
|
+
return TeaCore.from_map(
|
|
1920
|
+
privatelink_20200415_models.DisableVpcEndpointConnectionResponse(),
|
|
1921
|
+
self.call_api(params, req, runtime)
|
|
1922
|
+
)
|
|
2093
1923
|
|
|
2094
1924
|
async def disable_vpc_endpoint_connection_with_options_async(
|
|
2095
1925
|
self,
|
|
@@ -2136,16 +1966,10 @@ class Client(OpenApiClient):
|
|
|
2136
1966
|
req_body_type='formData',
|
|
2137
1967
|
body_type='json'
|
|
2138
1968
|
)
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
)
|
|
2144
|
-
else:
|
|
2145
|
-
return TeaCore.from_map(
|
|
2146
|
-
privatelink_20200415_models.DisableVpcEndpointConnectionResponse(),
|
|
2147
|
-
await self.execute_async(params, req, runtime)
|
|
2148
|
-
)
|
|
1969
|
+
return TeaCore.from_map(
|
|
1970
|
+
privatelink_20200415_models.DisableVpcEndpointConnectionResponse(),
|
|
1971
|
+
await self.call_api_async(params, req, runtime)
|
|
1972
|
+
)
|
|
2149
1973
|
|
|
2150
1974
|
def disable_vpc_endpoint_connection(
|
|
2151
1975
|
self,
|
|
@@ -2233,16 +2057,10 @@ class Client(OpenApiClient):
|
|
|
2233
2057
|
req_body_type='formData',
|
|
2234
2058
|
body_type='json'
|
|
2235
2059
|
)
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
)
|
|
2241
|
-
else:
|
|
2242
|
-
return TeaCore.from_map(
|
|
2243
|
-
privatelink_20200415_models.DisableVpcEndpointZoneConnectionResponse(),
|
|
2244
|
-
self.execute(params, req, runtime)
|
|
2245
|
-
)
|
|
2060
|
+
return TeaCore.from_map(
|
|
2061
|
+
privatelink_20200415_models.DisableVpcEndpointZoneConnectionResponse(),
|
|
2062
|
+
self.call_api(params, req, runtime)
|
|
2063
|
+
)
|
|
2246
2064
|
|
|
2247
2065
|
async def disable_vpc_endpoint_zone_connection_with_options_async(
|
|
2248
2066
|
self,
|
|
@@ -2294,16 +2112,10 @@ class Client(OpenApiClient):
|
|
|
2294
2112
|
req_body_type='formData',
|
|
2295
2113
|
body_type='json'
|
|
2296
2114
|
)
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
)
|
|
2302
|
-
else:
|
|
2303
|
-
return TeaCore.from_map(
|
|
2304
|
-
privatelink_20200415_models.DisableVpcEndpointZoneConnectionResponse(),
|
|
2305
|
-
await self.execute_async(params, req, runtime)
|
|
2306
|
-
)
|
|
2115
|
+
return TeaCore.from_map(
|
|
2116
|
+
privatelink_20200415_models.DisableVpcEndpointZoneConnectionResponse(),
|
|
2117
|
+
await self.call_api_async(params, req, runtime)
|
|
2118
|
+
)
|
|
2307
2119
|
|
|
2308
2120
|
def disable_vpc_endpoint_zone_connection(
|
|
2309
2121
|
self,
|
|
@@ -2376,6 +2188,8 @@ class Client(OpenApiClient):
|
|
|
2376
2188
|
query['RegionId'] = request.region_id
|
|
2377
2189
|
if not UtilClient.is_unset(request.service_id):
|
|
2378
2190
|
query['ServiceId'] = request.service_id
|
|
2191
|
+
if not UtilClient.is_unset(request.traffic_control_mode):
|
|
2192
|
+
query['TrafficControlMode'] = request.traffic_control_mode
|
|
2379
2193
|
req = open_api_models.OpenApiRequest(
|
|
2380
2194
|
query=OpenApiUtilClient.query(query)
|
|
2381
2195
|
)
|
|
@@ -2390,16 +2204,10 @@ class Client(OpenApiClient):
|
|
|
2390
2204
|
req_body_type='formData',
|
|
2391
2205
|
body_type='json'
|
|
2392
2206
|
)
|
|
2393
|
-
|
|
2394
|
-
|
|
2395
|
-
|
|
2396
|
-
|
|
2397
|
-
)
|
|
2398
|
-
else:
|
|
2399
|
-
return TeaCore.from_map(
|
|
2400
|
-
privatelink_20200415_models.EnableVpcEndpointConnectionResponse(),
|
|
2401
|
-
self.execute(params, req, runtime)
|
|
2402
|
-
)
|
|
2207
|
+
return TeaCore.from_map(
|
|
2208
|
+
privatelink_20200415_models.EnableVpcEndpointConnectionResponse(),
|
|
2209
|
+
self.call_api(params, req, runtime)
|
|
2210
|
+
)
|
|
2403
2211
|
|
|
2404
2212
|
async def enable_vpc_endpoint_connection_with_options_async(
|
|
2405
2213
|
self,
|
|
@@ -2434,6 +2242,8 @@ class Client(OpenApiClient):
|
|
|
2434
2242
|
query['RegionId'] = request.region_id
|
|
2435
2243
|
if not UtilClient.is_unset(request.service_id):
|
|
2436
2244
|
query['ServiceId'] = request.service_id
|
|
2245
|
+
if not UtilClient.is_unset(request.traffic_control_mode):
|
|
2246
|
+
query['TrafficControlMode'] = request.traffic_control_mode
|
|
2437
2247
|
req = open_api_models.OpenApiRequest(
|
|
2438
2248
|
query=OpenApiUtilClient.query(query)
|
|
2439
2249
|
)
|
|
@@ -2448,16 +2258,10 @@ class Client(OpenApiClient):
|
|
|
2448
2258
|
req_body_type='formData',
|
|
2449
2259
|
body_type='json'
|
|
2450
2260
|
)
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
)
|
|
2456
|
-
else:
|
|
2457
|
-
return TeaCore.from_map(
|
|
2458
|
-
privatelink_20200415_models.EnableVpcEndpointConnectionResponse(),
|
|
2459
|
-
await self.execute_async(params, req, runtime)
|
|
2460
|
-
)
|
|
2261
|
+
return TeaCore.from_map(
|
|
2262
|
+
privatelink_20200415_models.EnableVpcEndpointConnectionResponse(),
|
|
2263
|
+
await self.call_api_async(params, req, runtime)
|
|
2264
|
+
)
|
|
2461
2265
|
|
|
2462
2266
|
def enable_vpc_endpoint_connection(
|
|
2463
2267
|
self,
|
|
@@ -2543,16 +2347,10 @@ class Client(OpenApiClient):
|
|
|
2543
2347
|
req_body_type='formData',
|
|
2544
2348
|
body_type='json'
|
|
2545
2349
|
)
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
)
|
|
2551
|
-
else:
|
|
2552
|
-
return TeaCore.from_map(
|
|
2553
|
-
privatelink_20200415_models.EnableVpcEndpointZoneConnectionResponse(),
|
|
2554
|
-
self.execute(params, req, runtime)
|
|
2555
|
-
)
|
|
2350
|
+
return TeaCore.from_map(
|
|
2351
|
+
privatelink_20200415_models.EnableVpcEndpointZoneConnectionResponse(),
|
|
2352
|
+
self.call_api(params, req, runtime)
|
|
2353
|
+
)
|
|
2556
2354
|
|
|
2557
2355
|
async def enable_vpc_endpoint_zone_connection_with_options_async(
|
|
2558
2356
|
self,
|
|
@@ -2602,16 +2400,10 @@ class Client(OpenApiClient):
|
|
|
2602
2400
|
req_body_type='formData',
|
|
2603
2401
|
body_type='json'
|
|
2604
2402
|
)
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
)
|
|
2610
|
-
else:
|
|
2611
|
-
return TeaCore.from_map(
|
|
2612
|
-
privatelink_20200415_models.EnableVpcEndpointZoneConnectionResponse(),
|
|
2613
|
-
await self.execute_async(params, req, runtime)
|
|
2614
|
-
)
|
|
2403
|
+
return TeaCore.from_map(
|
|
2404
|
+
privatelink_20200415_models.EnableVpcEndpointZoneConnectionResponse(),
|
|
2405
|
+
await self.call_api_async(params, req, runtime)
|
|
2406
|
+
)
|
|
2615
2407
|
|
|
2616
2408
|
def enable_vpc_endpoint_zone_connection(
|
|
2617
2409
|
self,
|
|
@@ -2685,16 +2477,10 @@ class Client(OpenApiClient):
|
|
|
2685
2477
|
req_body_type='formData',
|
|
2686
2478
|
body_type='json'
|
|
2687
2479
|
)
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
)
|
|
2693
|
-
else:
|
|
2694
|
-
return TeaCore.from_map(
|
|
2695
|
-
privatelink_20200415_models.GetVpcEndpointAttributeResponse(),
|
|
2696
|
-
self.execute(params, req, runtime)
|
|
2697
|
-
)
|
|
2480
|
+
return TeaCore.from_map(
|
|
2481
|
+
privatelink_20200415_models.GetVpcEndpointAttributeResponse(),
|
|
2482
|
+
self.call_api(params, req, runtime)
|
|
2483
|
+
)
|
|
2698
2484
|
|
|
2699
2485
|
async def get_vpc_endpoint_attribute_with_options_async(
|
|
2700
2486
|
self,
|
|
@@ -2730,16 +2516,10 @@ class Client(OpenApiClient):
|
|
|
2730
2516
|
req_body_type='formData',
|
|
2731
2517
|
body_type='json'
|
|
2732
2518
|
)
|
|
2733
|
-
|
|
2734
|
-
|
|
2735
|
-
|
|
2736
|
-
|
|
2737
|
-
)
|
|
2738
|
-
else:
|
|
2739
|
-
return TeaCore.from_map(
|
|
2740
|
-
privatelink_20200415_models.GetVpcEndpointAttributeResponse(),
|
|
2741
|
-
await self.execute_async(params, req, runtime)
|
|
2742
|
-
)
|
|
2519
|
+
return TeaCore.from_map(
|
|
2520
|
+
privatelink_20200415_models.GetVpcEndpointAttributeResponse(),
|
|
2521
|
+
await self.call_api_async(params, req, runtime)
|
|
2522
|
+
)
|
|
2743
2523
|
|
|
2744
2524
|
def get_vpc_endpoint_attribute(
|
|
2745
2525
|
self,
|
|
@@ -2801,16 +2581,10 @@ class Client(OpenApiClient):
|
|
|
2801
2581
|
req_body_type='formData',
|
|
2802
2582
|
body_type='json'
|
|
2803
2583
|
)
|
|
2804
|
-
|
|
2805
|
-
|
|
2806
|
-
|
|
2807
|
-
|
|
2808
|
-
)
|
|
2809
|
-
else:
|
|
2810
|
-
return TeaCore.from_map(
|
|
2811
|
-
privatelink_20200415_models.GetVpcEndpointServiceAttributeResponse(),
|
|
2812
|
-
self.execute(params, req, runtime)
|
|
2813
|
-
)
|
|
2584
|
+
return TeaCore.from_map(
|
|
2585
|
+
privatelink_20200415_models.GetVpcEndpointServiceAttributeResponse(),
|
|
2586
|
+
self.call_api(params, req, runtime)
|
|
2587
|
+
)
|
|
2814
2588
|
|
|
2815
2589
|
async def get_vpc_endpoint_service_attribute_with_options_async(
|
|
2816
2590
|
self,
|
|
@@ -2846,16 +2620,10 @@ class Client(OpenApiClient):
|
|
|
2846
2620
|
req_body_type='formData',
|
|
2847
2621
|
body_type='json'
|
|
2848
2622
|
)
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
)
|
|
2854
|
-
else:
|
|
2855
|
-
return TeaCore.from_map(
|
|
2856
|
-
privatelink_20200415_models.GetVpcEndpointServiceAttributeResponse(),
|
|
2857
|
-
await self.execute_async(params, req, runtime)
|
|
2858
|
-
)
|
|
2623
|
+
return TeaCore.from_map(
|
|
2624
|
+
privatelink_20200415_models.GetVpcEndpointServiceAttributeResponse(),
|
|
2625
|
+
await self.call_api_async(params, req, runtime)
|
|
2626
|
+
)
|
|
2859
2627
|
|
|
2860
2628
|
def get_vpc_endpoint_service_attribute(
|
|
2861
2629
|
self,
|
|
@@ -2928,16 +2696,10 @@ class Client(OpenApiClient):
|
|
|
2928
2696
|
req_body_type='formData',
|
|
2929
2697
|
body_type='json'
|
|
2930
2698
|
)
|
|
2931
|
-
|
|
2932
|
-
|
|
2933
|
-
|
|
2934
|
-
|
|
2935
|
-
)
|
|
2936
|
-
else:
|
|
2937
|
-
return TeaCore.from_map(
|
|
2938
|
-
privatelink_20200415_models.ListTagResourcesResponse(),
|
|
2939
|
-
self.execute(params, req, runtime)
|
|
2940
|
-
)
|
|
2699
|
+
return TeaCore.from_map(
|
|
2700
|
+
privatelink_20200415_models.ListTagResourcesResponse(),
|
|
2701
|
+
self.call_api(params, req, runtime)
|
|
2702
|
+
)
|
|
2941
2703
|
|
|
2942
2704
|
async def list_tag_resources_with_options_async(
|
|
2943
2705
|
self,
|
|
@@ -2984,16 +2746,10 @@ class Client(OpenApiClient):
|
|
|
2984
2746
|
req_body_type='formData',
|
|
2985
2747
|
body_type='json'
|
|
2986
2748
|
)
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
)
|
|
2992
|
-
else:
|
|
2993
|
-
return TeaCore.from_map(
|
|
2994
|
-
privatelink_20200415_models.ListTagResourcesResponse(),
|
|
2995
|
-
await self.execute_async(params, req, runtime)
|
|
2996
|
-
)
|
|
2749
|
+
return TeaCore.from_map(
|
|
2750
|
+
privatelink_20200415_models.ListTagResourcesResponse(),
|
|
2751
|
+
await self.call_api_async(params, req, runtime)
|
|
2752
|
+
)
|
|
2997
2753
|
|
|
2998
2754
|
def list_tag_resources(
|
|
2999
2755
|
self,
|
|
@@ -3083,16 +2839,10 @@ class Client(OpenApiClient):
|
|
|
3083
2839
|
req_body_type='formData',
|
|
3084
2840
|
body_type='json'
|
|
3085
2841
|
)
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
)
|
|
3091
|
-
else:
|
|
3092
|
-
return TeaCore.from_map(
|
|
3093
|
-
privatelink_20200415_models.ListVpcEndpointConnectionsResponse(),
|
|
3094
|
-
self.execute(params, req, runtime)
|
|
3095
|
-
)
|
|
2842
|
+
return TeaCore.from_map(
|
|
2843
|
+
privatelink_20200415_models.ListVpcEndpointConnectionsResponse(),
|
|
2844
|
+
self.call_api(params, req, runtime)
|
|
2845
|
+
)
|
|
3096
2846
|
|
|
3097
2847
|
async def list_vpc_endpoint_connections_with_options_async(
|
|
3098
2848
|
self,
|
|
@@ -3146,16 +2896,10 @@ class Client(OpenApiClient):
|
|
|
3146
2896
|
req_body_type='formData',
|
|
3147
2897
|
body_type='json'
|
|
3148
2898
|
)
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3153
|
-
)
|
|
3154
|
-
else:
|
|
3155
|
-
return TeaCore.from_map(
|
|
3156
|
-
privatelink_20200415_models.ListVpcEndpointConnectionsResponse(),
|
|
3157
|
-
await self.execute_async(params, req, runtime)
|
|
3158
|
-
)
|
|
2899
|
+
return TeaCore.from_map(
|
|
2900
|
+
privatelink_20200415_models.ListVpcEndpointConnectionsResponse(),
|
|
2901
|
+
await self.call_api_async(params, req, runtime)
|
|
2902
|
+
)
|
|
3159
2903
|
|
|
3160
2904
|
def list_vpc_endpoint_connections(
|
|
3161
2905
|
self,
|
|
@@ -3221,16 +2965,10 @@ class Client(OpenApiClient):
|
|
|
3221
2965
|
req_body_type='formData',
|
|
3222
2966
|
body_type='json'
|
|
3223
2967
|
)
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
)
|
|
3229
|
-
else:
|
|
3230
|
-
return TeaCore.from_map(
|
|
3231
|
-
privatelink_20200415_models.ListVpcEndpointSecurityGroupsResponse(),
|
|
3232
|
-
self.execute(params, req, runtime)
|
|
3233
|
-
)
|
|
2968
|
+
return TeaCore.from_map(
|
|
2969
|
+
privatelink_20200415_models.ListVpcEndpointSecurityGroupsResponse(),
|
|
2970
|
+
self.call_api(params, req, runtime)
|
|
2971
|
+
)
|
|
3234
2972
|
|
|
3235
2973
|
async def list_vpc_endpoint_security_groups_with_options_async(
|
|
3236
2974
|
self,
|
|
@@ -3270,16 +3008,10 @@ class Client(OpenApiClient):
|
|
|
3270
3008
|
req_body_type='formData',
|
|
3271
3009
|
body_type='json'
|
|
3272
3010
|
)
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
)
|
|
3278
|
-
else:
|
|
3279
|
-
return TeaCore.from_map(
|
|
3280
|
-
privatelink_20200415_models.ListVpcEndpointSecurityGroupsResponse(),
|
|
3281
|
-
await self.execute_async(params, req, runtime)
|
|
3282
|
-
)
|
|
3011
|
+
return TeaCore.from_map(
|
|
3012
|
+
privatelink_20200415_models.ListVpcEndpointSecurityGroupsResponse(),
|
|
3013
|
+
await self.call_api_async(params, req, runtime)
|
|
3014
|
+
)
|
|
3283
3015
|
|
|
3284
3016
|
def list_vpc_endpoint_security_groups(
|
|
3285
3017
|
self,
|
|
@@ -3345,16 +3077,10 @@ class Client(OpenApiClient):
|
|
|
3345
3077
|
req_body_type='formData',
|
|
3346
3078
|
body_type='json'
|
|
3347
3079
|
)
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
)
|
|
3353
|
-
else:
|
|
3354
|
-
return TeaCore.from_map(
|
|
3355
|
-
privatelink_20200415_models.ListVpcEndpointServiceResourcesResponse(),
|
|
3356
|
-
self.execute(params, req, runtime)
|
|
3357
|
-
)
|
|
3080
|
+
return TeaCore.from_map(
|
|
3081
|
+
privatelink_20200415_models.ListVpcEndpointServiceResourcesResponse(),
|
|
3082
|
+
self.call_api(params, req, runtime)
|
|
3083
|
+
)
|
|
3358
3084
|
|
|
3359
3085
|
async def list_vpc_endpoint_service_resources_with_options_async(
|
|
3360
3086
|
self,
|
|
@@ -3394,16 +3120,10 @@ class Client(OpenApiClient):
|
|
|
3394
3120
|
req_body_type='formData',
|
|
3395
3121
|
body_type='json'
|
|
3396
3122
|
)
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
)
|
|
3402
|
-
else:
|
|
3403
|
-
return TeaCore.from_map(
|
|
3404
|
-
privatelink_20200415_models.ListVpcEndpointServiceResourcesResponse(),
|
|
3405
|
-
await self.execute_async(params, req, runtime)
|
|
3406
|
-
)
|
|
3123
|
+
return TeaCore.from_map(
|
|
3124
|
+
privatelink_20200415_models.ListVpcEndpointServiceResourcesResponse(),
|
|
3125
|
+
await self.call_api_async(params, req, runtime)
|
|
3126
|
+
)
|
|
3407
3127
|
|
|
3408
3128
|
def list_vpc_endpoint_service_resources(
|
|
3409
3129
|
self,
|
|
@@ -3473,16 +3193,10 @@ class Client(OpenApiClient):
|
|
|
3473
3193
|
req_body_type='formData',
|
|
3474
3194
|
body_type='json'
|
|
3475
3195
|
)
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
)
|
|
3481
|
-
else:
|
|
3482
|
-
return TeaCore.from_map(
|
|
3483
|
-
privatelink_20200415_models.ListVpcEndpointServiceUsersResponse(),
|
|
3484
|
-
self.execute(params, req, runtime)
|
|
3485
|
-
)
|
|
3196
|
+
return TeaCore.from_map(
|
|
3197
|
+
privatelink_20200415_models.ListVpcEndpointServiceUsersResponse(),
|
|
3198
|
+
self.call_api(params, req, runtime)
|
|
3199
|
+
)
|
|
3486
3200
|
|
|
3487
3201
|
async def list_vpc_endpoint_service_users_with_options_async(
|
|
3488
3202
|
self,
|
|
@@ -3526,16 +3240,10 @@ class Client(OpenApiClient):
|
|
|
3526
3240
|
req_body_type='formData',
|
|
3527
3241
|
body_type='json'
|
|
3528
3242
|
)
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
)
|
|
3534
|
-
else:
|
|
3535
|
-
return TeaCore.from_map(
|
|
3536
|
-
privatelink_20200415_models.ListVpcEndpointServiceUsersResponse(),
|
|
3537
|
-
await self.execute_async(params, req, runtime)
|
|
3538
|
-
)
|
|
3243
|
+
return TeaCore.from_map(
|
|
3244
|
+
privatelink_20200415_models.ListVpcEndpointServiceUsersResponse(),
|
|
3245
|
+
await self.call_api_async(params, req, runtime)
|
|
3246
|
+
)
|
|
3539
3247
|
|
|
3540
3248
|
def list_vpc_endpoint_service_users(
|
|
3541
3249
|
self,
|
|
@@ -3621,16 +3329,10 @@ class Client(OpenApiClient):
|
|
|
3621
3329
|
req_body_type='formData',
|
|
3622
3330
|
body_type='json'
|
|
3623
3331
|
)
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
)
|
|
3629
|
-
else:
|
|
3630
|
-
return TeaCore.from_map(
|
|
3631
|
-
privatelink_20200415_models.ListVpcEndpointServicesResponse(),
|
|
3632
|
-
self.execute(params, req, runtime)
|
|
3633
|
-
)
|
|
3332
|
+
return TeaCore.from_map(
|
|
3333
|
+
privatelink_20200415_models.ListVpcEndpointServicesResponse(),
|
|
3334
|
+
self.call_api(params, req, runtime)
|
|
3335
|
+
)
|
|
3634
3336
|
|
|
3635
3337
|
async def list_vpc_endpoint_services_with_options_async(
|
|
3636
3338
|
self,
|
|
@@ -3690,16 +3392,10 @@ class Client(OpenApiClient):
|
|
|
3690
3392
|
req_body_type='formData',
|
|
3691
3393
|
body_type='json'
|
|
3692
3394
|
)
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
)
|
|
3698
|
-
else:
|
|
3699
|
-
return TeaCore.from_map(
|
|
3700
|
-
privatelink_20200415_models.ListVpcEndpointServicesResponse(),
|
|
3701
|
-
await self.execute_async(params, req, runtime)
|
|
3702
|
-
)
|
|
3395
|
+
return TeaCore.from_map(
|
|
3396
|
+
privatelink_20200415_models.ListVpcEndpointServicesResponse(),
|
|
3397
|
+
await self.call_api_async(params, req, runtime)
|
|
3398
|
+
)
|
|
3703
3399
|
|
|
3704
3400
|
def list_vpc_endpoint_services(
|
|
3705
3401
|
self,
|
|
@@ -3773,16 +3469,10 @@ class Client(OpenApiClient):
|
|
|
3773
3469
|
req_body_type='formData',
|
|
3774
3470
|
body_type='json'
|
|
3775
3471
|
)
|
|
3776
|
-
|
|
3777
|
-
|
|
3778
|
-
|
|
3779
|
-
|
|
3780
|
-
)
|
|
3781
|
-
else:
|
|
3782
|
-
return TeaCore.from_map(
|
|
3783
|
-
privatelink_20200415_models.ListVpcEndpointServicesByEndUserResponse(),
|
|
3784
|
-
self.execute(params, req, runtime)
|
|
3785
|
-
)
|
|
3472
|
+
return TeaCore.from_map(
|
|
3473
|
+
privatelink_20200415_models.ListVpcEndpointServicesByEndUserResponse(),
|
|
3474
|
+
self.call_api(params, req, runtime)
|
|
3475
|
+
)
|
|
3786
3476
|
|
|
3787
3477
|
async def list_vpc_endpoint_services_by_end_user_with_options_async(
|
|
3788
3478
|
self,
|
|
@@ -3830,16 +3520,10 @@ class Client(OpenApiClient):
|
|
|
3830
3520
|
req_body_type='formData',
|
|
3831
3521
|
body_type='json'
|
|
3832
3522
|
)
|
|
3833
|
-
|
|
3834
|
-
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
)
|
|
3838
|
-
else:
|
|
3839
|
-
return TeaCore.from_map(
|
|
3840
|
-
privatelink_20200415_models.ListVpcEndpointServicesByEndUserResponse(),
|
|
3841
|
-
await self.execute_async(params, req, runtime)
|
|
3842
|
-
)
|
|
3523
|
+
return TeaCore.from_map(
|
|
3524
|
+
privatelink_20200415_models.ListVpcEndpointServicesByEndUserResponse(),
|
|
3525
|
+
await self.call_api_async(params, req, runtime)
|
|
3526
|
+
)
|
|
3843
3527
|
|
|
3844
3528
|
def list_vpc_endpoint_services_by_end_user(
|
|
3845
3529
|
self,
|
|
@@ -3905,16 +3589,10 @@ class Client(OpenApiClient):
|
|
|
3905
3589
|
req_body_type='formData',
|
|
3906
3590
|
body_type='json'
|
|
3907
3591
|
)
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
)
|
|
3913
|
-
else:
|
|
3914
|
-
return TeaCore.from_map(
|
|
3915
|
-
privatelink_20200415_models.ListVpcEndpointZonesResponse(),
|
|
3916
|
-
self.execute(params, req, runtime)
|
|
3917
|
-
)
|
|
3592
|
+
return TeaCore.from_map(
|
|
3593
|
+
privatelink_20200415_models.ListVpcEndpointZonesResponse(),
|
|
3594
|
+
self.call_api(params, req, runtime)
|
|
3595
|
+
)
|
|
3918
3596
|
|
|
3919
3597
|
async def list_vpc_endpoint_zones_with_options_async(
|
|
3920
3598
|
self,
|
|
@@ -3954,16 +3632,10 @@ class Client(OpenApiClient):
|
|
|
3954
3632
|
req_body_type='formData',
|
|
3955
3633
|
body_type='json'
|
|
3956
3634
|
)
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
)
|
|
3962
|
-
else:
|
|
3963
|
-
return TeaCore.from_map(
|
|
3964
|
-
privatelink_20200415_models.ListVpcEndpointZonesResponse(),
|
|
3965
|
-
await self.execute_async(params, req, runtime)
|
|
3966
|
-
)
|
|
3635
|
+
return TeaCore.from_map(
|
|
3636
|
+
privatelink_20200415_models.ListVpcEndpointZonesResponse(),
|
|
3637
|
+
await self.call_api_async(params, req, runtime)
|
|
3638
|
+
)
|
|
3967
3639
|
|
|
3968
3640
|
def list_vpc_endpoint_zones(
|
|
3969
3641
|
self,
|
|
@@ -4047,16 +3719,10 @@ class Client(OpenApiClient):
|
|
|
4047
3719
|
req_body_type='formData',
|
|
4048
3720
|
body_type='json'
|
|
4049
3721
|
)
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
-
|
|
4054
|
-
)
|
|
4055
|
-
else:
|
|
4056
|
-
return TeaCore.from_map(
|
|
4057
|
-
privatelink_20200415_models.ListVpcEndpointsResponse(),
|
|
4058
|
-
self.execute(params, req, runtime)
|
|
4059
|
-
)
|
|
3722
|
+
return TeaCore.from_map(
|
|
3723
|
+
privatelink_20200415_models.ListVpcEndpointsResponse(),
|
|
3724
|
+
self.call_api(params, req, runtime)
|
|
3725
|
+
)
|
|
4060
3726
|
|
|
4061
3727
|
async def list_vpc_endpoints_with_options_async(
|
|
4062
3728
|
self,
|
|
@@ -4114,16 +3780,10 @@ class Client(OpenApiClient):
|
|
|
4114
3780
|
req_body_type='formData',
|
|
4115
3781
|
body_type='json'
|
|
4116
3782
|
)
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
)
|
|
4122
|
-
else:
|
|
4123
|
-
return TeaCore.from_map(
|
|
4124
|
-
privatelink_20200415_models.ListVpcEndpointsResponse(),
|
|
4125
|
-
await self.execute_async(params, req, runtime)
|
|
4126
|
-
)
|
|
3783
|
+
return TeaCore.from_map(
|
|
3784
|
+
privatelink_20200415_models.ListVpcEndpointsResponse(),
|
|
3785
|
+
await self.call_api_async(params, req, runtime)
|
|
3786
|
+
)
|
|
4127
3787
|
|
|
4128
3788
|
def list_vpc_endpoints(
|
|
4129
3789
|
self,
|
|
@@ -4181,16 +3841,10 @@ class Client(OpenApiClient):
|
|
|
4181
3841
|
req_body_type='formData',
|
|
4182
3842
|
body_type='json'
|
|
4183
3843
|
)
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
)
|
|
4189
|
-
else:
|
|
4190
|
-
return TeaCore.from_map(
|
|
4191
|
-
privatelink_20200415_models.OpenPrivateLinkServiceResponse(),
|
|
4192
|
-
self.execute(params, req, runtime)
|
|
4193
|
-
)
|
|
3844
|
+
return TeaCore.from_map(
|
|
3845
|
+
privatelink_20200415_models.OpenPrivateLinkServiceResponse(),
|
|
3846
|
+
self.call_api(params, req, runtime)
|
|
3847
|
+
)
|
|
4194
3848
|
|
|
4195
3849
|
async def open_private_link_service_with_options_async(
|
|
4196
3850
|
self,
|
|
@@ -4222,16 +3876,10 @@ class Client(OpenApiClient):
|
|
|
4222
3876
|
req_body_type='formData',
|
|
4223
3877
|
body_type='json'
|
|
4224
3878
|
)
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
)
|
|
4230
|
-
else:
|
|
4231
|
-
return TeaCore.from_map(
|
|
4232
|
-
privatelink_20200415_models.OpenPrivateLinkServiceResponse(),
|
|
4233
|
-
await self.execute_async(params, req, runtime)
|
|
4234
|
-
)
|
|
3879
|
+
return TeaCore.from_map(
|
|
3880
|
+
privatelink_20200415_models.OpenPrivateLinkServiceResponse(),
|
|
3881
|
+
await self.call_api_async(params, req, runtime)
|
|
3882
|
+
)
|
|
4235
3883
|
|
|
4236
3884
|
def open_private_link_service(
|
|
4237
3885
|
self,
|
|
@@ -4304,16 +3952,10 @@ class Client(OpenApiClient):
|
|
|
4304
3952
|
req_body_type='formData',
|
|
4305
3953
|
body_type='json'
|
|
4306
3954
|
)
|
|
4307
|
-
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
)
|
|
4312
|
-
else:
|
|
4313
|
-
return TeaCore.from_map(
|
|
4314
|
-
privatelink_20200415_models.RemoveUserFromVpcEndpointServiceResponse(),
|
|
4315
|
-
self.execute(params, req, runtime)
|
|
4316
|
-
)
|
|
3955
|
+
return TeaCore.from_map(
|
|
3956
|
+
privatelink_20200415_models.RemoveUserFromVpcEndpointServiceResponse(),
|
|
3957
|
+
self.call_api(params, req, runtime)
|
|
3958
|
+
)
|
|
4317
3959
|
|
|
4318
3960
|
async def remove_user_from_vpc_endpoint_service_with_options_async(
|
|
4319
3961
|
self,
|
|
@@ -4360,16 +4002,10 @@ class Client(OpenApiClient):
|
|
|
4360
4002
|
req_body_type='formData',
|
|
4361
4003
|
body_type='json'
|
|
4362
4004
|
)
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
)
|
|
4368
|
-
else:
|
|
4369
|
-
return TeaCore.from_map(
|
|
4370
|
-
privatelink_20200415_models.RemoveUserFromVpcEndpointServiceResponse(),
|
|
4371
|
-
await self.execute_async(params, req, runtime)
|
|
4372
|
-
)
|
|
4005
|
+
return TeaCore.from_map(
|
|
4006
|
+
privatelink_20200415_models.RemoveUserFromVpcEndpointServiceResponse(),
|
|
4007
|
+
await self.call_api_async(params, req, runtime)
|
|
4008
|
+
)
|
|
4373
4009
|
|
|
4374
4010
|
def remove_user_from_vpc_endpoint_service(
|
|
4375
4011
|
self,
|
|
@@ -4448,16 +4084,10 @@ class Client(OpenApiClient):
|
|
|
4448
4084
|
req_body_type='formData',
|
|
4449
4085
|
body_type='json'
|
|
4450
4086
|
)
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
)
|
|
4456
|
-
else:
|
|
4457
|
-
return TeaCore.from_map(
|
|
4458
|
-
privatelink_20200415_models.RemoveZoneFromVpcEndpointResponse(),
|
|
4459
|
-
self.execute(params, req, runtime)
|
|
4460
|
-
)
|
|
4087
|
+
return TeaCore.from_map(
|
|
4088
|
+
privatelink_20200415_models.RemoveZoneFromVpcEndpointResponse(),
|
|
4089
|
+
self.call_api(params, req, runtime)
|
|
4090
|
+
)
|
|
4461
4091
|
|
|
4462
4092
|
async def remove_zone_from_vpc_endpoint_with_options_async(
|
|
4463
4093
|
self,
|
|
@@ -4504,16 +4134,10 @@ class Client(OpenApiClient):
|
|
|
4504
4134
|
req_body_type='formData',
|
|
4505
4135
|
body_type='json'
|
|
4506
4136
|
)
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
)
|
|
4512
|
-
else:
|
|
4513
|
-
return TeaCore.from_map(
|
|
4514
|
-
privatelink_20200415_models.RemoveZoneFromVpcEndpointResponse(),
|
|
4515
|
-
await self.execute_async(params, req, runtime)
|
|
4516
|
-
)
|
|
4137
|
+
return TeaCore.from_map(
|
|
4138
|
+
privatelink_20200415_models.RemoveZoneFromVpcEndpointResponse(),
|
|
4139
|
+
await self.call_api_async(params, req, runtime)
|
|
4140
|
+
)
|
|
4517
4141
|
|
|
4518
4142
|
def remove_zone_from_vpc_endpoint(
|
|
4519
4143
|
self,
|
|
@@ -4596,16 +4220,10 @@ class Client(OpenApiClient):
|
|
|
4596
4220
|
req_body_type='formData',
|
|
4597
4221
|
body_type='json'
|
|
4598
4222
|
)
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
)
|
|
4604
|
-
else:
|
|
4605
|
-
return TeaCore.from_map(
|
|
4606
|
-
privatelink_20200415_models.TagResourcesResponse(),
|
|
4607
|
-
self.execute(params, req, runtime)
|
|
4608
|
-
)
|
|
4223
|
+
return TeaCore.from_map(
|
|
4224
|
+
privatelink_20200415_models.TagResourcesResponse(),
|
|
4225
|
+
self.call_api(params, req, runtime)
|
|
4226
|
+
)
|
|
4609
4227
|
|
|
4610
4228
|
async def tag_resources_with_options_async(
|
|
4611
4229
|
self,
|
|
@@ -4652,16 +4270,10 @@ class Client(OpenApiClient):
|
|
|
4652
4270
|
req_body_type='formData',
|
|
4653
4271
|
body_type='json'
|
|
4654
4272
|
)
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
)
|
|
4660
|
-
else:
|
|
4661
|
-
return TeaCore.from_map(
|
|
4662
|
-
privatelink_20200415_models.TagResourcesResponse(),
|
|
4663
|
-
await self.execute_async(params, req, runtime)
|
|
4664
|
-
)
|
|
4273
|
+
return TeaCore.from_map(
|
|
4274
|
+
privatelink_20200415_models.TagResourcesResponse(),
|
|
4275
|
+
await self.call_api_async(params, req, runtime)
|
|
4276
|
+
)
|
|
4665
4277
|
|
|
4666
4278
|
def tag_resources(
|
|
4667
4279
|
self,
|
|
@@ -4740,16 +4352,10 @@ class Client(OpenApiClient):
|
|
|
4740
4352
|
req_body_type='formData',
|
|
4741
4353
|
body_type='json'
|
|
4742
4354
|
)
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
)
|
|
4748
|
-
else:
|
|
4749
|
-
return TeaCore.from_map(
|
|
4750
|
-
privatelink_20200415_models.UntagResourcesResponse(),
|
|
4751
|
-
self.execute(params, req, runtime)
|
|
4752
|
-
)
|
|
4355
|
+
return TeaCore.from_map(
|
|
4356
|
+
privatelink_20200415_models.UntagResourcesResponse(),
|
|
4357
|
+
self.call_api(params, req, runtime)
|
|
4358
|
+
)
|
|
4753
4359
|
|
|
4754
4360
|
async def untag_resources_with_options_async(
|
|
4755
4361
|
self,
|
|
@@ -4798,16 +4404,10 @@ class Client(OpenApiClient):
|
|
|
4798
4404
|
req_body_type='formData',
|
|
4799
4405
|
body_type='json'
|
|
4800
4406
|
)
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
)
|
|
4806
|
-
else:
|
|
4807
|
-
return TeaCore.from_map(
|
|
4808
|
-
privatelink_20200415_models.UntagResourcesResponse(),
|
|
4809
|
-
await self.execute_async(params, req, runtime)
|
|
4810
|
-
)
|
|
4407
|
+
return TeaCore.from_map(
|
|
4408
|
+
privatelink_20200415_models.UntagResourcesResponse(),
|
|
4409
|
+
await self.call_api_async(params, req, runtime)
|
|
4410
|
+
)
|
|
4811
4411
|
|
|
4812
4412
|
def untag_resources(
|
|
4813
4413
|
self,
|
|
@@ -4869,6 +4469,8 @@ class Client(OpenApiClient):
|
|
|
4869
4469
|
query['RegionId'] = request.region_id
|
|
4870
4470
|
if not UtilClient.is_unset(request.region_id):
|
|
4871
4471
|
query['RegionId'] = request.region_id
|
|
4472
|
+
if not UtilClient.is_unset(request.zone_affinity_enabled):
|
|
4473
|
+
query['ZoneAffinityEnabled'] = request.zone_affinity_enabled
|
|
4872
4474
|
req = open_api_models.OpenApiRequest(
|
|
4873
4475
|
query=OpenApiUtilClient.query(query)
|
|
4874
4476
|
)
|
|
@@ -4883,16 +4485,10 @@ class Client(OpenApiClient):
|
|
|
4883
4485
|
req_body_type='formData',
|
|
4884
4486
|
body_type='json'
|
|
4885
4487
|
)
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
)
|
|
4891
|
-
else:
|
|
4892
|
-
return TeaCore.from_map(
|
|
4893
|
-
privatelink_20200415_models.UpdateVpcEndpointAttributeResponse(),
|
|
4894
|
-
self.execute(params, req, runtime)
|
|
4895
|
-
)
|
|
4488
|
+
return TeaCore.from_map(
|
|
4489
|
+
privatelink_20200415_models.UpdateVpcEndpointAttributeResponse(),
|
|
4490
|
+
self.call_api(params, req, runtime)
|
|
4491
|
+
)
|
|
4896
4492
|
|
|
4897
4493
|
async def update_vpc_endpoint_attribute_with_options_async(
|
|
4898
4494
|
self,
|
|
@@ -4928,6 +4524,8 @@ class Client(OpenApiClient):
|
|
|
4928
4524
|
query['RegionId'] = request.region_id
|
|
4929
4525
|
if not UtilClient.is_unset(request.region_id):
|
|
4930
4526
|
query['RegionId'] = request.region_id
|
|
4527
|
+
if not UtilClient.is_unset(request.zone_affinity_enabled):
|
|
4528
|
+
query['ZoneAffinityEnabled'] = request.zone_affinity_enabled
|
|
4931
4529
|
req = open_api_models.OpenApiRequest(
|
|
4932
4530
|
query=OpenApiUtilClient.query(query)
|
|
4933
4531
|
)
|
|
@@ -4942,16 +4540,10 @@ class Client(OpenApiClient):
|
|
|
4942
4540
|
req_body_type='formData',
|
|
4943
4541
|
body_type='json'
|
|
4944
4542
|
)
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
)
|
|
4950
|
-
else:
|
|
4951
|
-
return TeaCore.from_map(
|
|
4952
|
-
privatelink_20200415_models.UpdateVpcEndpointAttributeResponse(),
|
|
4953
|
-
await self.execute_async(params, req, runtime)
|
|
4954
|
-
)
|
|
4543
|
+
return TeaCore.from_map(
|
|
4544
|
+
privatelink_20200415_models.UpdateVpcEndpointAttributeResponse(),
|
|
4545
|
+
await self.call_api_async(params, req, runtime)
|
|
4546
|
+
)
|
|
4955
4547
|
|
|
4956
4548
|
def update_vpc_endpoint_attribute(
|
|
4957
4549
|
self,
|
|
@@ -5013,6 +4605,8 @@ class Client(OpenApiClient):
|
|
|
5013
4605
|
query['RegionId'] = request.region_id
|
|
5014
4606
|
if not UtilClient.is_unset(request.service_id):
|
|
5015
4607
|
query['ServiceId'] = request.service_id
|
|
4608
|
+
if not UtilClient.is_unset(request.traffic_control_mode):
|
|
4609
|
+
query['TrafficControlMode'] = request.traffic_control_mode
|
|
5016
4610
|
req = open_api_models.OpenApiRequest(
|
|
5017
4611
|
query=OpenApiUtilClient.query(query)
|
|
5018
4612
|
)
|
|
@@ -5027,16 +4621,10 @@ class Client(OpenApiClient):
|
|
|
5027
4621
|
req_body_type='formData',
|
|
5028
4622
|
body_type='json'
|
|
5029
4623
|
)
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
)
|
|
5035
|
-
else:
|
|
5036
|
-
return TeaCore.from_map(
|
|
5037
|
-
privatelink_20200415_models.UpdateVpcEndpointConnectionAttributeResponse(),
|
|
5038
|
-
self.execute(params, req, runtime)
|
|
5039
|
-
)
|
|
4624
|
+
return TeaCore.from_map(
|
|
4625
|
+
privatelink_20200415_models.UpdateVpcEndpointConnectionAttributeResponse(),
|
|
4626
|
+
self.call_api(params, req, runtime)
|
|
4627
|
+
)
|
|
5040
4628
|
|
|
5041
4629
|
async def update_vpc_endpoint_connection_attribute_with_options_async(
|
|
5042
4630
|
self,
|
|
@@ -5068,6 +4656,8 @@ class Client(OpenApiClient):
|
|
|
5068
4656
|
query['RegionId'] = request.region_id
|
|
5069
4657
|
if not UtilClient.is_unset(request.service_id):
|
|
5070
4658
|
query['ServiceId'] = request.service_id
|
|
4659
|
+
if not UtilClient.is_unset(request.traffic_control_mode):
|
|
4660
|
+
query['TrafficControlMode'] = request.traffic_control_mode
|
|
5071
4661
|
req = open_api_models.OpenApiRequest(
|
|
5072
4662
|
query=OpenApiUtilClient.query(query)
|
|
5073
4663
|
)
|
|
@@ -5082,16 +4672,10 @@ class Client(OpenApiClient):
|
|
|
5082
4672
|
req_body_type='formData',
|
|
5083
4673
|
body_type='json'
|
|
5084
4674
|
)
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
)
|
|
5090
|
-
else:
|
|
5091
|
-
return TeaCore.from_map(
|
|
5092
|
-
privatelink_20200415_models.UpdateVpcEndpointConnectionAttributeResponse(),
|
|
5093
|
-
await self.execute_async(params, req, runtime)
|
|
5094
|
-
)
|
|
4675
|
+
return TeaCore.from_map(
|
|
4676
|
+
privatelink_20200415_models.UpdateVpcEndpointConnectionAttributeResponse(),
|
|
4677
|
+
await self.call_api_async(params, req, runtime)
|
|
4678
|
+
)
|
|
5095
4679
|
|
|
5096
4680
|
def update_vpc_endpoint_connection_attribute(
|
|
5097
4681
|
self,
|
|
@@ -5175,16 +4759,10 @@ class Client(OpenApiClient):
|
|
|
5175
4759
|
req_body_type='formData',
|
|
5176
4760
|
body_type='json'
|
|
5177
4761
|
)
|
|
5178
|
-
|
|
5179
|
-
|
|
5180
|
-
|
|
5181
|
-
|
|
5182
|
-
)
|
|
5183
|
-
else:
|
|
5184
|
-
return TeaCore.from_map(
|
|
5185
|
-
privatelink_20200415_models.UpdateVpcEndpointServiceAttributeResponse(),
|
|
5186
|
-
self.execute(params, req, runtime)
|
|
5187
|
-
)
|
|
4762
|
+
return TeaCore.from_map(
|
|
4763
|
+
privatelink_20200415_models.UpdateVpcEndpointServiceAttributeResponse(),
|
|
4764
|
+
self.call_api(params, req, runtime)
|
|
4765
|
+
)
|
|
5188
4766
|
|
|
5189
4767
|
async def update_vpc_endpoint_service_attribute_with_options_async(
|
|
5190
4768
|
self,
|
|
@@ -5238,16 +4816,10 @@ class Client(OpenApiClient):
|
|
|
5238
4816
|
req_body_type='formData',
|
|
5239
4817
|
body_type='json'
|
|
5240
4818
|
)
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
)
|
|
5246
|
-
else:
|
|
5247
|
-
return TeaCore.from_map(
|
|
5248
|
-
privatelink_20200415_models.UpdateVpcEndpointServiceAttributeResponse(),
|
|
5249
|
-
await self.execute_async(params, req, runtime)
|
|
5250
|
-
)
|
|
4819
|
+
return TeaCore.from_map(
|
|
4820
|
+
privatelink_20200415_models.UpdateVpcEndpointServiceAttributeResponse(),
|
|
4821
|
+
await self.call_api_async(params, req, runtime)
|
|
4822
|
+
)
|
|
5251
4823
|
|
|
5252
4824
|
def update_vpc_endpoint_service_attribute(
|
|
5253
4825
|
self,
|
|
@@ -5325,16 +4897,10 @@ class Client(OpenApiClient):
|
|
|
5325
4897
|
req_body_type='formData',
|
|
5326
4898
|
body_type='json'
|
|
5327
4899
|
)
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
)
|
|
5333
|
-
else:
|
|
5334
|
-
return TeaCore.from_map(
|
|
5335
|
-
privatelink_20200415_models.UpdateVpcEndpointServiceResourceAttributeResponse(),
|
|
5336
|
-
self.execute(params, req, runtime)
|
|
5337
|
-
)
|
|
4900
|
+
return TeaCore.from_map(
|
|
4901
|
+
privatelink_20200415_models.UpdateVpcEndpointServiceResourceAttributeResponse(),
|
|
4902
|
+
self.call_api(params, req, runtime)
|
|
4903
|
+
)
|
|
5338
4904
|
|
|
5339
4905
|
async def update_vpc_endpoint_service_resource_attribute_with_options_async(
|
|
5340
4906
|
self,
|
|
@@ -5382,16 +4948,10 @@ class Client(OpenApiClient):
|
|
|
5382
4948
|
req_body_type='formData',
|
|
5383
4949
|
body_type='json'
|
|
5384
4950
|
)
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
)
|
|
5390
|
-
else:
|
|
5391
|
-
return TeaCore.from_map(
|
|
5392
|
-
privatelink_20200415_models.UpdateVpcEndpointServiceResourceAttributeResponse(),
|
|
5393
|
-
await self.execute_async(params, req, runtime)
|
|
5394
|
-
)
|
|
4951
|
+
return TeaCore.from_map(
|
|
4952
|
+
privatelink_20200415_models.UpdateVpcEndpointServiceResourceAttributeResponse(),
|
|
4953
|
+
await self.call_api_async(params, req, runtime)
|
|
4954
|
+
)
|
|
5395
4955
|
|
|
5396
4956
|
def update_vpc_endpoint_service_resource_attribute(
|
|
5397
4957
|
self,
|
|
@@ -5483,16 +5043,10 @@ class Client(OpenApiClient):
|
|
|
5483
5043
|
req_body_type='formData',
|
|
5484
5044
|
body_type='json'
|
|
5485
5045
|
)
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
)
|
|
5491
|
-
else:
|
|
5492
|
-
return TeaCore.from_map(
|
|
5493
|
-
privatelink_20200415_models.UpdateVpcEndpointZoneConnectionResourceAttributeResponse(),
|
|
5494
|
-
self.execute(params, req, runtime)
|
|
5495
|
-
)
|
|
5046
|
+
return TeaCore.from_map(
|
|
5047
|
+
privatelink_20200415_models.UpdateVpcEndpointZoneConnectionResourceAttributeResponse(),
|
|
5048
|
+
self.call_api(params, req, runtime)
|
|
5049
|
+
)
|
|
5496
5050
|
|
|
5497
5051
|
async def update_vpc_endpoint_zone_connection_resource_attribute_with_options_async(
|
|
5498
5052
|
self,
|
|
@@ -5554,16 +5108,10 @@ class Client(OpenApiClient):
|
|
|
5554
5108
|
req_body_type='formData',
|
|
5555
5109
|
body_type='json'
|
|
5556
5110
|
)
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
)
|
|
5562
|
-
else:
|
|
5563
|
-
return TeaCore.from_map(
|
|
5564
|
-
privatelink_20200415_models.UpdateVpcEndpointZoneConnectionResourceAttributeResponse(),
|
|
5565
|
-
await self.execute_async(params, req, runtime)
|
|
5566
|
-
)
|
|
5111
|
+
return TeaCore.from_map(
|
|
5112
|
+
privatelink_20200415_models.UpdateVpcEndpointZoneConnectionResourceAttributeResponse(),
|
|
5113
|
+
await self.call_api_async(params, req, runtime)
|
|
5114
|
+
)
|
|
5567
5115
|
|
|
5568
5116
|
def update_vpc_endpoint_zone_connection_resource_attribute(
|
|
5569
5117
|
self,
|