kingsoftcloud-sdk-python 1.5.8.46__py2.py3-none-any.whl → 1.5.8.48__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.48.dist-info}/METADATA +24 -13
  2. {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.48.dist-info}/RECORD +112 -116
  3. {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.48.dist-info}/WHEEL +1 -1
  4. ksyun/__init__.py +1 -1
  5. ksyun/client/actiontrail/v20190401/client.py +1 -3
  6. ksyun/client/aicp/v20240612/client.py +168 -53
  7. ksyun/client/aicp/v20240612/models.py +185 -0
  8. ksyun/client/aicp/v20251212/client.py +2 -2
  9. ksyun/client/bill/v20180601/client.py +3 -5
  10. ksyun/client/bill/v20220601/client.py +2 -4
  11. ksyun/client/bill_union/v20200101/client.py +9 -11
  12. ksyun/client/bill_union/v20200101/models.py +5 -5
  13. ksyun/client/bill_union/v20221222/client.py +6 -8
  14. ksyun/client/bill_union/v20250801/client.py +2 -4
  15. ksyun/client/bill_union/v20250801/models.py +1 -1
  16. ksyun/client/bws/v20160304/client.py +7 -9
  17. ksyun/client/cdn/v20160901/client.py +3 -5
  18. ksyun/client/cdn/v20200630/client.py +17 -19
  19. ksyun/client/cdn/v20200901/client.py +7 -9
  20. ksyun/client/cdn/v20211201/client.py +1 -3
  21. ksyun/client/cdn/v3/client.py +43 -45
  22. ksyun/client/cdn/v3/models.py +11 -11
  23. ksyun/client/cen/v20160304/client.py +26 -28
  24. ksyun/client/clickhouse/v20210101/client.py +39 -41
  25. ksyun/client/cloud_advisor/v20250610/client.py +3 -5
  26. ksyun/client/dmp/v20240101/client.py +20 -22
  27. ksyun/client/dts/v20180108/client.py +19 -21
  28. ksyun/client/ebs/v20160304/client.py +28 -30
  29. ksyun/client/ebs/v20160304/models.py +1 -1
  30. ksyun/client/eip/v20160304/client.py +12 -14
  31. ksyun/client/epc/v20151101/client.py +104 -106
  32. ksyun/client/iam/v20151101/client.py +65 -67
  33. ksyun/client/iam/v20240513/client.py +1 -3
  34. ksyun/client/iam/v20240703/client.py +1 -3
  35. ksyun/client/influxdb/v20191010/client.py +27 -29
  36. ksyun/client/kad/v20161122/client.py +8 -10
  37. ksyun/client/kce/v20180314/client.py +17 -19
  38. ksyun/client/kce/v20190806/client.py +34 -36
  39. ksyun/client/kce/v20201231/client.py +1 -3
  40. ksyun/client/kce/v20230101/client.py +9 -11
  41. ksyun/client/kce/v20230306/client.py +22 -24
  42. ksyun/client/kce/v20231115/client.py +2 -4
  43. ksyun/client/kce2/v20230101/client.py +15 -17
  44. ksyun/client/kcf/v20211215/client.py +9 -11
  45. ksyun/client/kci/v20200702/client.py +15 -17
  46. ksyun/client/kci/v20200702/models.py +1 -1
  47. ksyun/client/kcm/v20160304/client.py +10 -12
  48. ksyun/client/kcrs/v20211109/client.py +44 -46
  49. ksyun/client/kcs/v20160701/client.py +66 -68
  50. ksyun/client/kcs/v20170401/client.py +1 -3
  51. ksyun/client/kcs/v20240701/client.py +1 -3
  52. ksyun/client/kead/v20200101/client.py +3 -5
  53. ksyun/client/kec/v20160304/client.py +565 -105
  54. ksyun/client/kec/v20160304/models.py +689 -22
  55. ksyun/client/ked/v1/client.py +44 -46
  56. ksyun/client/kes/v20201215/client.py +8 -10
  57. ksyun/client/ket/v20170101/client.py +8 -10
  58. ksyun/client/kfw/v20160304/client.py +648 -12
  59. ksyun/client/kfw/v20160304/models.py +1003 -9
  60. ksyun/client/kingpay/v1/client.py +1 -3
  61. ksyun/client/kkms/v20160304/client.py +8 -10
  62. ksyun/client/klog/v20200731/client.py +16 -18
  63. ksyun/client/kls/v20170101/client.py +8 -10
  64. ksyun/client/kmr/v20210902/client.py +23 -25
  65. ksyun/client/kmr/v20231231/client.py +7 -9
  66. ksyun/client/kmr/v20240814/client.py +19 -21
  67. ksyun/client/knad/v20230323/client.py +17 -19
  68. ksyun/client/krds/v20160701/client.py +91 -93
  69. ksyun/client/krds/v20200825/client.py +10 -12
  70. ksyun/client/memcached/v20180627/client.py +13 -15
  71. ksyun/client/milvus/v20231010/client.py +19 -21
  72. ksyun/client/mongodb/v20170101/client.py +44 -46
  73. ksyun/client/mongodb/v20250101/client.py +1 -3
  74. ksyun/client/monitor/v20100525/client.py +2 -4
  75. ksyun/client/monitor/v20181114/client.py +1 -3
  76. ksyun/client/monitor/v20210101/client.py +12 -14
  77. ksyun/client/monitor/v20220101/client.py +2 -4
  78. ksyun/client/monitor/v20250101/client.py +45 -3
  79. ksyun/client/monitor/v20250101/models.py +34 -2
  80. ksyun/client/pdns/v20160304/client.py +35 -37
  81. ksyun/client/postgresql/v20181225/client.py +50 -52
  82. ksyun/client/postgresql/v20181225/models.py +1 -1
  83. ksyun/client/rabbitmq/v20191017/client.py +19 -21
  84. ksyun/client/relyt/v20240117/client.py +1 -3
  85. ksyun/client/resourcemanager/v20210320/client.py +8 -10
  86. ksyun/client/sks/v20151101/client.py +5 -7
  87. ksyun/client/slb/v20160304/client.py +93 -95
  88. ksyun/client/slb/v20160304/models.py +5 -5
  89. ksyun/client/slb/v20250430/client.py +35 -37
  90. ksyun/client/sqlserver/v20190425/client.py +46 -48
  91. ksyun/client/sts/v20151101/client.py +2 -4
  92. ksyun/client/tagv2/v20200901/client.py +10 -12
  93. ksyun/client/ter/v20240415/client.py +5 -7
  94. ksyun/client/tidb/v20210520/client.py +40 -42
  95. ksyun/client/trade/v20200114/client.py +1 -3
  96. ksyun/client/trade/v20200831/client.py +1 -3
  97. ksyun/client/trade/v20250220/client.py +4 -6
  98. ksyun/client/trade/v20250321/client.py +4 -6
  99. ksyun/client/trade/v20250828/client.py +1 -3
  100. ksyun/client/trade/v20250828/models.py +1 -1
  101. ksyun/client/vpc/v20160304/client.py +132 -134
  102. ksyun/client/waf/v20200707/client.py +20 -22
  103. ksyun/common/abstract_client.py +15 -3
  104. ksyun/common/abstract_model.py +3 -3
  105. ksyun/common/common_client.py +2 -0
  106. ksyun/common/credential.py +2 -0
  107. ksyun/common/exception/ksyun_sdk_exception.py +11 -7
  108. ksyun/common/http/request.py +2 -0
  109. ksyun/common/profile/client_profile.py +3 -0
  110. ksyun/common/profile/http_profile.py +2 -0
  111. ksyun/client/kpfs/__init__.py +0 -0
  112. ksyun/client/kpfs/v20240930/__init__.py +0 -0
  113. ksyun/client/kpfs/v20240930/client.py +0 -217
  114. ksyun/client/kpfs/v20240930/models.py +0 -191
  115. {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.48.dist-info}/licenses/LICENSE +0 -0
  116. {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.48.dist-info}/top_level.txt +0 -0
@@ -28,7 +28,7 @@ class VpcClient(AbstractClient):
28
28
  if isinstance(e, KsyunSDKException):
29
29
  raise
30
30
  else:
31
- raise KsyunSDKException(e.message, e.message)
31
+ raise KsyunSDKException(message=str(e))
32
32
 
33
33
 
34
34
  def DeleteVpc(self, request):
@@ -51,7 +51,7 @@ class VpcClient(AbstractClient):
51
51
  if isinstance(e, KsyunSDKException):
52
52
  raise
53
53
  else:
54
- raise KsyunSDKException(e.message, e.message)
54
+ raise KsyunSDKException(message=str(e))
55
55
 
56
56
 
57
57
  def DescribeVpcs(self, request):
@@ -74,7 +74,7 @@ class VpcClient(AbstractClient):
74
74
  if isinstance(e, KsyunSDKException):
75
75
  raise
76
76
  else:
77
- raise KsyunSDKException(e.message, e.message)
77
+ raise KsyunSDKException(message=str(e))
78
78
 
79
79
 
80
80
  def CreateSubnet(self, request):
@@ -97,7 +97,7 @@ class VpcClient(AbstractClient):
97
97
  if isinstance(e, KsyunSDKException):
98
98
  raise
99
99
  else:
100
- raise KsyunSDKException(e.message, e.message)
100
+ raise KsyunSDKException(message=str(e))
101
101
 
102
102
 
103
103
  def DeleteSubnet(self, request):
@@ -120,7 +120,7 @@ class VpcClient(AbstractClient):
120
120
  if isinstance(e, KsyunSDKException):
121
121
  raise
122
122
  else:
123
- raise KsyunSDKException(e.message, e.message)
123
+ raise KsyunSDKException(message=str(e))
124
124
 
125
125
 
126
126
  def DescribeSubnets(self, request):
@@ -143,7 +143,7 @@ class VpcClient(AbstractClient):
143
143
  if isinstance(e, KsyunSDKException):
144
144
  raise
145
145
  else:
146
- raise KsyunSDKException(e.message, e.message)
146
+ raise KsyunSDKException(message=str(e))
147
147
 
148
148
 
149
149
  def AssociateNetworkAcl(self, request):
@@ -166,7 +166,7 @@ class VpcClient(AbstractClient):
166
166
  if isinstance(e, KsyunSDKException):
167
167
  raise
168
168
  else:
169
- raise KsyunSDKException(e.message, e.message)
169
+ raise KsyunSDKException(message=str(e))
170
170
 
171
171
 
172
172
  def DisassociateNetworkAcl(self, request):
@@ -189,7 +189,7 @@ class VpcClient(AbstractClient):
189
189
  if isinstance(e, KsyunSDKException):
190
190
  raise
191
191
  else:
192
- raise KsyunSDKException(e.message, e.message)
192
+ raise KsyunSDKException(message=str(e))
193
193
 
194
194
 
195
195
  def CreateRoute(self, request):
@@ -212,7 +212,7 @@ class VpcClient(AbstractClient):
212
212
  if isinstance(e, KsyunSDKException):
213
213
  raise
214
214
  else:
215
- raise KsyunSDKException(e.message, e.message)
215
+ raise KsyunSDKException(message=str(e))
216
216
 
217
217
 
218
218
  def DeleteRoute(self, request):
@@ -235,7 +235,7 @@ class VpcClient(AbstractClient):
235
235
  if isinstance(e, KsyunSDKException):
236
236
  raise
237
237
  else:
238
- raise KsyunSDKException(e.message, e.message)
238
+ raise KsyunSDKException(message=str(e))
239
239
 
240
240
 
241
241
  def DescribeRoutes(self, request):
@@ -258,7 +258,7 @@ class VpcClient(AbstractClient):
258
258
  if isinstance(e, KsyunSDKException):
259
259
  raise
260
260
  else:
261
- raise KsyunSDKException(e.message, e.message)
261
+ raise KsyunSDKException(message=str(e))
262
262
 
263
263
 
264
264
  def CreateNetworkAcl(self, request):
@@ -281,7 +281,7 @@ class VpcClient(AbstractClient):
281
281
  if isinstance(e, KsyunSDKException):
282
282
  raise
283
283
  else:
284
- raise KsyunSDKException(e.message, e.message)
284
+ raise KsyunSDKException(message=str(e))
285
285
 
286
286
 
287
287
  def DeleteNetworkAcl(self, request):
@@ -304,7 +304,7 @@ class VpcClient(AbstractClient):
304
304
  if isinstance(e, KsyunSDKException):
305
305
  raise
306
306
  else:
307
- raise KsyunSDKException(e.message, e.message)
307
+ raise KsyunSDKException(message=str(e))
308
308
 
309
309
 
310
310
  def CreateNetworkAclEntry(self, request):
@@ -327,7 +327,7 @@ class VpcClient(AbstractClient):
327
327
  if isinstance(e, KsyunSDKException):
328
328
  raise
329
329
  else:
330
- raise KsyunSDKException(e.message, e.message)
330
+ raise KsyunSDKException(message=str(e))
331
331
 
332
332
 
333
333
  def DeleteNetworkAclEntry(self, request):
@@ -350,7 +350,7 @@ class VpcClient(AbstractClient):
350
350
  if isinstance(e, KsyunSDKException):
351
351
  raise
352
352
  else:
353
- raise KsyunSDKException(e.message, e.message)
353
+ raise KsyunSDKException(message=str(e))
354
354
 
355
355
 
356
356
  def DescribeNetworkAcls(self, request):
@@ -373,7 +373,7 @@ class VpcClient(AbstractClient):
373
373
  if isinstance(e, KsyunSDKException):
374
374
  raise
375
375
  else:
376
- raise KsyunSDKException(e.message, e.message)
376
+ raise KsyunSDKException(message=str(e))
377
377
 
378
378
 
379
379
  def CreateSecurityGroup(self, request):
@@ -396,7 +396,7 @@ class VpcClient(AbstractClient):
396
396
  if isinstance(e, KsyunSDKException):
397
397
  raise
398
398
  else:
399
- raise KsyunSDKException(e.message, e.message)
399
+ raise KsyunSDKException(message=str(e))
400
400
 
401
401
 
402
402
  def DeleteSecurityGroup(self, request):
@@ -419,7 +419,7 @@ class VpcClient(AbstractClient):
419
419
  if isinstance(e, KsyunSDKException):
420
420
  raise
421
421
  else:
422
- raise KsyunSDKException(e.message, e.message)
422
+ raise KsyunSDKException(message=str(e))
423
423
 
424
424
 
425
425
  def AuthorizeSecurityGroupEntry(self, request):
@@ -442,7 +442,7 @@ class VpcClient(AbstractClient):
442
442
  if isinstance(e, KsyunSDKException):
443
443
  raise
444
444
  else:
445
- raise KsyunSDKException(e.message, e.message)
445
+ raise KsyunSDKException(message=str(e))
446
446
 
447
447
 
448
448
  def RevokeSecurityGroupEntry(self, request):
@@ -465,7 +465,7 @@ class VpcClient(AbstractClient):
465
465
  if isinstance(e, KsyunSDKException):
466
466
  raise
467
467
  else:
468
- raise KsyunSDKException(e.message, e.message)
468
+ raise KsyunSDKException(message=str(e))
469
469
 
470
470
 
471
471
  def DescribeSecurityGroups(self, request):
@@ -488,7 +488,7 @@ class VpcClient(AbstractClient):
488
488
  if isinstance(e, KsyunSDKException):
489
489
  raise
490
490
  else:
491
- raise KsyunSDKException(e.message, e.message)
491
+ raise KsyunSDKException(message=str(e))
492
492
 
493
493
 
494
494
  def CreateNat(self, request):
@@ -511,7 +511,7 @@ class VpcClient(AbstractClient):
511
511
  if isinstance(e, KsyunSDKException):
512
512
  raise
513
513
  else:
514
- raise KsyunSDKException(e.message, e.message)
514
+ raise KsyunSDKException(message=str(e))
515
515
 
516
516
 
517
517
  def DeleteNat(self, request):
@@ -534,7 +534,7 @@ class VpcClient(AbstractClient):
534
534
  if isinstance(e, KsyunSDKException):
535
535
  raise
536
536
  else:
537
- raise KsyunSDKException(e.message, e.message)
537
+ raise KsyunSDKException(message=str(e))
538
538
 
539
539
 
540
540
  def DescribeNats(self, request):
@@ -557,7 +557,7 @@ class VpcClient(AbstractClient):
557
557
  if isinstance(e, KsyunSDKException):
558
558
  raise
559
559
  else:
560
- raise KsyunSDKException(e.message, e.message)
560
+ raise KsyunSDKException(message=str(e))
561
561
 
562
562
 
563
563
  def AssociateNat(self, request):
@@ -580,7 +580,7 @@ class VpcClient(AbstractClient):
580
580
  if isinstance(e, KsyunSDKException):
581
581
  raise
582
582
  else:
583
- raise KsyunSDKException(e.message, e.message)
583
+ raise KsyunSDKException(message=str(e))
584
584
 
585
585
 
586
586
  def DisassociateNat(self, request):
@@ -603,7 +603,7 @@ class VpcClient(AbstractClient):
603
603
  if isinstance(e, KsyunSDKException):
604
604
  raise
605
605
  else:
606
- raise KsyunSDKException(e.message, e.message)
606
+ raise KsyunSDKException(message=str(e))
607
607
 
608
608
 
609
609
  def DescribeInternetGateways(self, request):
@@ -626,7 +626,7 @@ class VpcClient(AbstractClient):
626
626
  if isinstance(e, KsyunSDKException):
627
627
  raise
628
628
  else:
629
- raise KsyunSDKException(e.message, e.message)
629
+ raise KsyunSDKException(message=str(e))
630
630
 
631
631
 
632
632
  def CreateVpcPeeringConnection(self, request):
@@ -649,7 +649,7 @@ class VpcClient(AbstractClient):
649
649
  if isinstance(e, KsyunSDKException):
650
650
  raise
651
651
  else:
652
- raise KsyunSDKException(e.message, e.message)
652
+ raise KsyunSDKException(message=str(e))
653
653
 
654
654
 
655
655
  def DeleteVpcPeeringConnection(self, request):
@@ -672,7 +672,7 @@ class VpcClient(AbstractClient):
672
672
  if isinstance(e, KsyunSDKException):
673
673
  raise
674
674
  else:
675
- raise KsyunSDKException(e.message, e.message)
675
+ raise KsyunSDKException(message=str(e))
676
676
 
677
677
 
678
678
  def DescribeVpcPeeringConnections(self, request):
@@ -695,7 +695,7 @@ class VpcClient(AbstractClient):
695
695
  if isinstance(e, KsyunSDKException):
696
696
  raise
697
697
  else:
698
- raise KsyunSDKException(e.message, e.message)
698
+ raise KsyunSDKException(message=str(e))
699
699
 
700
700
 
701
701
  def ModifyNetworkAcl(self, request):
@@ -718,7 +718,7 @@ class VpcClient(AbstractClient):
718
718
  if isinstance(e, KsyunSDKException):
719
719
  raise
720
720
  else:
721
- raise KsyunSDKException(e.message, e.message)
721
+ raise KsyunSDKException(message=str(e))
722
722
 
723
723
 
724
724
  def ModifySecurityGroup(self, request):
@@ -741,7 +741,7 @@ class VpcClient(AbstractClient):
741
741
  if isinstance(e, KsyunSDKException):
742
742
  raise
743
743
  else:
744
- raise KsyunSDKException(e.message, e.message)
744
+ raise KsyunSDKException(message=str(e))
745
745
 
746
746
 
747
747
  def ModifySubnet(self, request):
@@ -764,7 +764,7 @@ class VpcClient(AbstractClient):
764
764
  if isinstance(e, KsyunSDKException):
765
765
  raise
766
766
  else:
767
- raise KsyunSDKException(e.message, e.message)
767
+ raise KsyunSDKException(message=str(e))
768
768
 
769
769
 
770
770
  def ModifyNat(self, request):
@@ -787,7 +787,7 @@ class VpcClient(AbstractClient):
787
787
  if isinstance(e, KsyunSDKException):
788
788
  raise
789
789
  else:
790
- raise KsyunSDKException(e.message, e.message)
790
+ raise KsyunSDKException(message=str(e))
791
791
 
792
792
 
793
793
  def DescribeNetworkInterfaces(self, request):
@@ -810,7 +810,7 @@ class VpcClient(AbstractClient):
810
810
  if isinstance(e, KsyunSDKException):
811
811
  raise
812
812
  else:
813
- raise KsyunSDKException(e.message, e.message)
813
+ raise KsyunSDKException(message=str(e))
814
814
 
815
815
 
816
816
  def DescribeSubnetAvailableAddresses(self, request):
@@ -833,7 +833,7 @@ class VpcClient(AbstractClient):
833
833
  if isinstance(e, KsyunSDKException):
834
834
  raise
835
835
  else:
836
- raise KsyunSDKException(e.message, e.message)
836
+ raise KsyunSDKException(message=str(e))
837
837
 
838
838
 
839
839
  def ModifyVpc(self, request):
@@ -856,7 +856,7 @@ class VpcClient(AbstractClient):
856
856
  if isinstance(e, KsyunSDKException):
857
857
  raise
858
858
  else:
859
- raise KsyunSDKException(e.message, e.message)
859
+ raise KsyunSDKException(message=str(e))
860
860
 
861
861
 
862
862
  def AcceptVpcPeeringConnection(self, request):
@@ -879,7 +879,7 @@ class VpcClient(AbstractClient):
879
879
  if isinstance(e, KsyunSDKException):
880
880
  raise
881
881
  else:
882
- raise KsyunSDKException(e.message, e.message)
882
+ raise KsyunSDKException(message=str(e))
883
883
 
884
884
 
885
885
  def RejectVpcPeeringConnection(self, request):
@@ -902,7 +902,7 @@ class VpcClient(AbstractClient):
902
902
  if isinstance(e, KsyunSDKException):
903
903
  raise
904
904
  else:
905
- raise KsyunSDKException(e.message, e.message)
905
+ raise KsyunSDKException(message=str(e))
906
906
 
907
907
 
908
908
  def ModifyVpcPeeringConnection(self, request):
@@ -925,7 +925,7 @@ class VpcClient(AbstractClient):
925
925
  if isinstance(e, KsyunSDKException):
926
926
  raise
927
927
  else:
928
- raise KsyunSDKException(e.message, e.message)
928
+ raise KsyunSDKException(message=str(e))
929
929
 
930
930
 
931
931
  def DescribeAvailabilityZones(self, request):
@@ -948,7 +948,7 @@ class VpcClient(AbstractClient):
948
948
  if isinstance(e, KsyunSDKException):
949
949
  raise
950
950
  else:
951
- raise KsyunSDKException(e.message, e.message)
951
+ raise KsyunSDKException(message=str(e))
952
952
 
953
953
 
954
954
  def DescribeDirectConnects(self, request):
@@ -971,7 +971,7 @@ class VpcClient(AbstractClient):
971
971
  if isinstance(e, KsyunSDKException):
972
972
  raise
973
973
  else:
974
- raise KsyunSDKException(e.message, e.message)
974
+ raise KsyunSDKException(message=str(e))
975
975
 
976
976
 
977
977
  def CreateDirectConnectInterface(self, request):
@@ -994,7 +994,7 @@ class VpcClient(AbstractClient):
994
994
  if isinstance(e, KsyunSDKException):
995
995
  raise
996
996
  else:
997
- raise KsyunSDKException(e.message, e.message)
997
+ raise KsyunSDKException(message=str(e))
998
998
 
999
999
 
1000
1000
  def DeleteDirectConnectInterface(self, request):
@@ -1017,7 +1017,7 @@ class VpcClient(AbstractClient):
1017
1017
  if isinstance(e, KsyunSDKException):
1018
1018
  raise
1019
1019
  else:
1020
- raise KsyunSDKException(e.message, e.message)
1020
+ raise KsyunSDKException(message=str(e))
1021
1021
 
1022
1022
 
1023
1023
  def DescribeDirectConnectInterfaces(self, request):
@@ -1040,7 +1040,7 @@ class VpcClient(AbstractClient):
1040
1040
  if isinstance(e, KsyunSDKException):
1041
1041
  raise
1042
1042
  else:
1043
- raise KsyunSDKException(e.message, e.message)
1043
+ raise KsyunSDKException(message=str(e))
1044
1044
 
1045
1045
 
1046
1046
  def CreateDirectConnectGateway(self, request):
@@ -1063,7 +1063,7 @@ class VpcClient(AbstractClient):
1063
1063
  if isinstance(e, KsyunSDKException):
1064
1064
  raise
1065
1065
  else:
1066
- raise KsyunSDKException(e.message, e.message)
1066
+ raise KsyunSDKException(message=str(e))
1067
1067
 
1068
1068
 
1069
1069
  def DeleteDirectConnectGateway(self, request):
@@ -1086,7 +1086,7 @@ class VpcClient(AbstractClient):
1086
1086
  if isinstance(e, KsyunSDKException):
1087
1087
  raise
1088
1088
  else:
1089
- raise KsyunSDKException(e.message, e.message)
1089
+ raise KsyunSDKException(message=str(e))
1090
1090
 
1091
1091
 
1092
1092
  def DescribeDirectConnectGateways(self, request):
@@ -1109,7 +1109,7 @@ class VpcClient(AbstractClient):
1109
1109
  if isinstance(e, KsyunSDKException):
1110
1110
  raise
1111
1111
  else:
1112
- raise KsyunSDKException(e.message, e.message)
1112
+ raise KsyunSDKException(message=str(e))
1113
1113
 
1114
1114
 
1115
1115
  def AttachDirectConnectGateway(self, request):
@@ -1132,7 +1132,7 @@ class VpcClient(AbstractClient):
1132
1132
  if isinstance(e, KsyunSDKException):
1133
1133
  raise
1134
1134
  else:
1135
- raise KsyunSDKException(e.message, e.message)
1135
+ raise KsyunSDKException(message=str(e))
1136
1136
 
1137
1137
 
1138
1138
  def DetachDirectConnectGateway(self, request):
@@ -1155,7 +1155,7 @@ class VpcClient(AbstractClient):
1155
1155
  if isinstance(e, KsyunSDKException):
1156
1156
  raise
1157
1157
  else:
1158
- raise KsyunSDKException(e.message, e.message)
1158
+ raise KsyunSDKException(message=str(e))
1159
1159
 
1160
1160
 
1161
1161
  def ModifyDirectConnectInterface(self, request):
@@ -1178,7 +1178,7 @@ class VpcClient(AbstractClient):
1178
1178
  if isinstance(e, KsyunSDKException):
1179
1179
  raise
1180
1180
  else:
1181
- raise KsyunSDKException(e.message, e.message)
1181
+ raise KsyunSDKException(message=str(e))
1182
1182
 
1183
1183
 
1184
1184
  def ModifyDirectConnectGateway(self, request):
@@ -1201,7 +1201,7 @@ class VpcClient(AbstractClient):
1201
1201
  if isinstance(e, KsyunSDKException):
1202
1202
  raise
1203
1203
  else:
1204
- raise KsyunSDKException(e.message, e.message)
1204
+ raise KsyunSDKException(message=str(e))
1205
1205
 
1206
1206
 
1207
1207
  def CreateVpnGateway(self, request):
@@ -1224,7 +1224,7 @@ class VpcClient(AbstractClient):
1224
1224
  if isinstance(e, KsyunSDKException):
1225
1225
  raise
1226
1226
  else:
1227
- raise KsyunSDKException(e.message, e.message)
1227
+ raise KsyunSDKException(message=str(e))
1228
1228
 
1229
1229
 
1230
1230
  def ModifyVpnGateway(self, request):
@@ -1247,7 +1247,7 @@ class VpcClient(AbstractClient):
1247
1247
  if isinstance(e, KsyunSDKException):
1248
1248
  raise
1249
1249
  else:
1250
- raise KsyunSDKException(e.message, e.message)
1250
+ raise KsyunSDKException(message=str(e))
1251
1251
 
1252
1252
 
1253
1253
  def DeleteVpnGateway(self, request):
@@ -1270,7 +1270,7 @@ class VpcClient(AbstractClient):
1270
1270
  if isinstance(e, KsyunSDKException):
1271
1271
  raise
1272
1272
  else:
1273
- raise KsyunSDKException(e.message, e.message)
1273
+ raise KsyunSDKException(message=str(e))
1274
1274
 
1275
1275
 
1276
1276
  def DescribeVpnGateways(self, request):
@@ -1293,7 +1293,7 @@ class VpcClient(AbstractClient):
1293
1293
  if isinstance(e, KsyunSDKException):
1294
1294
  raise
1295
1295
  else:
1296
- raise KsyunSDKException(e.message, e.message)
1296
+ raise KsyunSDKException(message=str(e))
1297
1297
 
1298
1298
 
1299
1299
  def CreateVpnTunnel(self, request):
@@ -1316,7 +1316,7 @@ class VpcClient(AbstractClient):
1316
1316
  if isinstance(e, KsyunSDKException):
1317
1317
  raise
1318
1318
  else:
1319
- raise KsyunSDKException(e.message, e.message)
1319
+ raise KsyunSDKException(message=str(e))
1320
1320
 
1321
1321
 
1322
1322
  def ModifyVpnTunnel(self, request):
@@ -1339,7 +1339,7 @@ class VpcClient(AbstractClient):
1339
1339
  if isinstance(e, KsyunSDKException):
1340
1340
  raise
1341
1341
  else:
1342
- raise KsyunSDKException(e.message, e.message)
1342
+ raise KsyunSDKException(message=str(e))
1343
1343
 
1344
1344
 
1345
1345
  def DeleteVpnTunnel(self, request):
@@ -1362,7 +1362,7 @@ class VpcClient(AbstractClient):
1362
1362
  if isinstance(e, KsyunSDKException):
1363
1363
  raise
1364
1364
  else:
1365
- raise KsyunSDKException(e.message, e.message)
1365
+ raise KsyunSDKException(message=str(e))
1366
1366
 
1367
1367
 
1368
1368
  def DescribeVpnTunnels(self, request):
@@ -1385,7 +1385,7 @@ class VpcClient(AbstractClient):
1385
1385
  if isinstance(e, KsyunSDKException):
1386
1386
  raise
1387
1387
  else:
1388
- raise KsyunSDKException(e.message, e.message)
1388
+ raise KsyunSDKException(message=str(e))
1389
1389
 
1390
1390
 
1391
1391
  def CreateCustomerGateway(self, request):
@@ -1408,7 +1408,7 @@ class VpcClient(AbstractClient):
1408
1408
  if isinstance(e, KsyunSDKException):
1409
1409
  raise
1410
1410
  else:
1411
- raise KsyunSDKException(e.message, e.message)
1411
+ raise KsyunSDKException(message=str(e))
1412
1412
 
1413
1413
 
1414
1414
  def ModifyCustomerGateway(self, request):
@@ -1431,7 +1431,7 @@ class VpcClient(AbstractClient):
1431
1431
  if isinstance(e, KsyunSDKException):
1432
1432
  raise
1433
1433
  else:
1434
- raise KsyunSDKException(e.message, e.message)
1434
+ raise KsyunSDKException(message=str(e))
1435
1435
 
1436
1436
 
1437
1437
  def DeleteCustomerGateway(self, request):
@@ -1454,7 +1454,7 @@ class VpcClient(AbstractClient):
1454
1454
  if isinstance(e, KsyunSDKException):
1455
1455
  raise
1456
1456
  else:
1457
- raise KsyunSDKException(e.message, e.message)
1457
+ raise KsyunSDKException(message=str(e))
1458
1458
 
1459
1459
 
1460
1460
  def ModifyDirectConnect(self, request):
@@ -1477,7 +1477,7 @@ class VpcClient(AbstractClient):
1477
1477
  if isinstance(e, KsyunSDKException):
1478
1478
  raise
1479
1479
  else:
1480
- raise KsyunSDKException(e.message, e.message)
1480
+ raise KsyunSDKException(message=str(e))
1481
1481
 
1482
1482
 
1483
1483
  def DescribeCustomerGateways(self, request):
@@ -1500,7 +1500,7 @@ class VpcClient(AbstractClient):
1500
1500
  if isinstance(e, KsyunSDKException):
1501
1501
  raise
1502
1502
  else:
1503
- raise KsyunSDKException(e.message, e.message)
1503
+ raise KsyunSDKException(message=str(e))
1504
1504
 
1505
1505
 
1506
1506
  def DescribeSubnetAllocatedIpAddresses(self, request):
@@ -1523,7 +1523,7 @@ class VpcClient(AbstractClient):
1523
1523
  if isinstance(e, KsyunSDKException):
1524
1524
  raise
1525
1525
  else:
1526
- raise KsyunSDKException(e.message, e.message)
1526
+ raise KsyunSDKException(message=str(e))
1527
1527
 
1528
1528
 
1529
1529
  def AddNatIp(self, request):
@@ -1546,7 +1546,7 @@ class VpcClient(AbstractClient):
1546
1546
  if isinstance(e, KsyunSDKException):
1547
1547
  raise
1548
1548
  else:
1549
- raise KsyunSDKException(e.message, e.message)
1549
+ raise KsyunSDKException(message=str(e))
1550
1550
 
1551
1551
 
1552
1552
  def DeleteNatIp(self, request):
@@ -1569,7 +1569,7 @@ class VpcClient(AbstractClient):
1569
1569
  if isinstance(e, KsyunSDKException):
1570
1570
  raise
1571
1571
  else:
1572
- raise KsyunSDKException(e.message, e.message)
1572
+ raise KsyunSDKException(message=str(e))
1573
1573
 
1574
1574
 
1575
1575
  def AssociateVpcCidrBlock(self, request):
@@ -1592,7 +1592,7 @@ class VpcClient(AbstractClient):
1592
1592
  if isinstance(e, KsyunSDKException):
1593
1593
  raise
1594
1594
  else:
1595
- raise KsyunSDKException(e.message, e.message)
1595
+ raise KsyunSDKException(message=str(e))
1596
1596
 
1597
1597
 
1598
1598
  def DescribeIpv6PublicIpAddresses(self, request):
@@ -1615,7 +1615,7 @@ class VpcClient(AbstractClient):
1615
1615
  if isinstance(e, KsyunSDKException):
1616
1616
  raise
1617
1617
  else:
1618
- raise KsyunSDKException(e.message, e.message)
1618
+ raise KsyunSDKException(message=str(e))
1619
1619
 
1620
1620
 
1621
1621
  def DescribeIpv6NetworkInterfaces(self, request):
@@ -1638,7 +1638,7 @@ class VpcClient(AbstractClient):
1638
1638
  if isinstance(e, KsyunSDKException):
1639
1639
  raise
1640
1640
  else:
1641
- raise KsyunSDKException(e.message, e.message)
1641
+ raise KsyunSDKException(message=str(e))
1642
1642
 
1643
1643
 
1644
1644
  def CreateIpv6PublicIp(self, request):
@@ -1661,7 +1661,7 @@ class VpcClient(AbstractClient):
1661
1661
  if isinstance(e, KsyunSDKException):
1662
1662
  raise
1663
1663
  else:
1664
- raise KsyunSDKException(e.message, e.message)
1664
+ raise KsyunSDKException(message=str(e))
1665
1665
 
1666
1666
 
1667
1667
  def ReleaseIpv6PublicIp(self, request):
@@ -1684,7 +1684,7 @@ class VpcClient(AbstractClient):
1684
1684
  if isinstance(e, KsyunSDKException):
1685
1685
  raise
1686
1686
  else:
1687
- raise KsyunSDKException(e.message, e.message)
1687
+ raise KsyunSDKException(message=str(e))
1688
1688
 
1689
1689
 
1690
1690
  def AlterIpv6PublicIpState(self, request):
@@ -1707,7 +1707,7 @@ class VpcClient(AbstractClient):
1707
1707
  if isinstance(e, KsyunSDKException):
1708
1708
  raise
1709
1709
  else:
1710
- raise KsyunSDKException(e.message, e.message)
1710
+ raise KsyunSDKException(message=str(e))
1711
1711
 
1712
1712
 
1713
1713
  def ModifyIpv6PublicIp(self, request):
@@ -1730,7 +1730,7 @@ class VpcClient(AbstractClient):
1730
1730
  if isinstance(e, KsyunSDKException):
1731
1731
  raise
1732
1732
  else:
1733
- raise KsyunSDKException(e.message, e.message)
1733
+ raise KsyunSDKException(message=str(e))
1734
1734
 
1735
1735
 
1736
1736
  def ModifyPrivateIpAddressAttribute(self, request):
@@ -1753,7 +1753,7 @@ class VpcClient(AbstractClient):
1753
1753
  if isinstance(e, KsyunSDKException):
1754
1754
  raise
1755
1755
  else:
1756
- raise KsyunSDKException(e.message, e.message)
1756
+ raise KsyunSDKException(message=str(e))
1757
1757
 
1758
1758
 
1759
1759
  def DescribeDirectConnectRoutes(self, request):
@@ -1776,7 +1776,7 @@ class VpcClient(AbstractClient):
1776
1776
  if isinstance(e, KsyunSDKException):
1777
1777
  raise
1778
1778
  else:
1779
- raise KsyunSDKException(e.message, e.message)
1779
+ raise KsyunSDKException(message=str(e))
1780
1780
 
1781
1781
 
1782
1782
  def PublishDirectConnectRouteToBgp(self, request):
@@ -1799,7 +1799,7 @@ class VpcClient(AbstractClient):
1799
1799
  if isinstance(e, KsyunSDKException):
1800
1800
  raise
1801
1801
  else:
1802
- raise KsyunSDKException(e.message, e.message)
1802
+ raise KsyunSDKException(message=str(e))
1803
1803
 
1804
1804
 
1805
1805
  def CancelDirectConnectRouteToBgp(self, request):
@@ -1822,7 +1822,7 @@ class VpcClient(AbstractClient):
1822
1822
  if isinstance(e, KsyunSDKException):
1823
1823
  raise
1824
1824
  else:
1825
- raise KsyunSDKException(e.message, e.message)
1825
+ raise KsyunSDKException(message=str(e))
1826
1826
 
1827
1827
 
1828
1828
  def DetachDirectConnectGatewayWithVpc(self, request):
@@ -1845,7 +1845,7 @@ class VpcClient(AbstractClient):
1845
1845
  if isinstance(e, KsyunSDKException):
1846
1846
  raise
1847
1847
  else:
1848
- raise KsyunSDKException(e.message, e.message)
1848
+ raise KsyunSDKException(message=str(e))
1849
1849
 
1850
1850
 
1851
1851
  def AttachDirectConnectGatewayWithVpc(self, request):
@@ -1868,7 +1868,7 @@ class VpcClient(AbstractClient):
1868
1868
  if isinstance(e, KsyunSDKException):
1869
1869
  raise
1870
1870
  else:
1871
- raise KsyunSDKException(e.message, e.message)
1871
+ raise KsyunSDKException(message=str(e))
1872
1872
 
1873
1873
 
1874
1874
  def AllocateSubnetIpv6CidrBlock(self, request):
@@ -1891,7 +1891,7 @@ class VpcClient(AbstractClient):
1891
1891
  if isinstance(e, KsyunSDKException):
1892
1892
  raise
1893
1893
  else:
1894
- raise KsyunSDKException(e.message, e.message)
1894
+ raise KsyunSDKException(message=str(e))
1895
1895
 
1896
1896
 
1897
1897
  def CreateRouteTable(self, request):
@@ -1914,7 +1914,7 @@ class VpcClient(AbstractClient):
1914
1914
  if isinstance(e, KsyunSDKException):
1915
1915
  raise
1916
1916
  else:
1917
- raise KsyunSDKException(e.message, e.message)
1917
+ raise KsyunSDKException(message=str(e))
1918
1918
 
1919
1919
 
1920
1920
  def DeleteRouteTable(self, request):
@@ -1937,7 +1937,7 @@ class VpcClient(AbstractClient):
1937
1937
  if isinstance(e, KsyunSDKException):
1938
1938
  raise
1939
1939
  else:
1940
- raise KsyunSDKException(e.message, e.message)
1940
+ raise KsyunSDKException(message=str(e))
1941
1941
 
1942
1942
 
1943
1943
  def ModifyRouteTable(self, request):
@@ -1960,7 +1960,7 @@ class VpcClient(AbstractClient):
1960
1960
  if isinstance(e, KsyunSDKException):
1961
1961
  raise
1962
1962
  else:
1963
- raise KsyunSDKException(e.message, e.message)
1963
+ raise KsyunSDKException(message=str(e))
1964
1964
 
1965
1965
 
1966
1966
  def DescribeRouteTables(self, request):
@@ -1983,7 +1983,7 @@ class VpcClient(AbstractClient):
1983
1983
  if isinstance(e, KsyunSDKException):
1984
1984
  raise
1985
1985
  else:
1986
- raise KsyunSDKException(e.message, e.message)
1986
+ raise KsyunSDKException(message=str(e))
1987
1987
 
1988
1988
 
1989
1989
  def AssociateRouteTable(self, request):
@@ -2006,7 +2006,7 @@ class VpcClient(AbstractClient):
2006
2006
  if isinstance(e, KsyunSDKException):
2007
2007
  raise
2008
2008
  else:
2009
- raise KsyunSDKException(e.message, e.message)
2009
+ raise KsyunSDKException(message=str(e))
2010
2010
 
2011
2011
 
2012
2012
  def DeleteNetworkInterface(self, request):
@@ -2029,7 +2029,7 @@ class VpcClient(AbstractClient):
2029
2029
  if isinstance(e, KsyunSDKException):
2030
2030
  raise
2031
2031
  else:
2032
- raise KsyunSDKException(e.message, e.message)
2032
+ raise KsyunSDKException(message=str(e))
2033
2033
 
2034
2034
 
2035
2035
  def CreateNetworkInterface(self, request):
@@ -2052,7 +2052,7 @@ class VpcClient(AbstractClient):
2052
2052
  if isinstance(e, KsyunSDKException):
2053
2053
  raise
2054
2054
  else:
2055
- raise KsyunSDKException(e.message, e.message)
2055
+ raise KsyunSDKException(message=str(e))
2056
2056
 
2057
2057
 
2058
2058
  def ModifyNetworkInterface(self, request):
@@ -2075,7 +2075,7 @@ class VpcClient(AbstractClient):
2075
2075
  if isinstance(e, KsyunSDKException):
2076
2076
  raise
2077
2077
  else:
2078
- raise KsyunSDKException(e.message, e.message)
2078
+ raise KsyunSDKException(message=str(e))
2079
2079
 
2080
2080
 
2081
2081
  def CreateNatRateLimit(self, request):
@@ -2098,7 +2098,7 @@ class VpcClient(AbstractClient):
2098
2098
  if isinstance(e, KsyunSDKException):
2099
2099
  raise
2100
2100
  else:
2101
- raise KsyunSDKException(e.message, e.message)
2101
+ raise KsyunSDKException(message=str(e))
2102
2102
 
2103
2103
 
2104
2104
  def DescribeNatRateLimit(self, request):
@@ -2121,7 +2121,7 @@ class VpcClient(AbstractClient):
2121
2121
  if isinstance(e, KsyunSDKException):
2122
2122
  raise
2123
2123
  else:
2124
- raise KsyunSDKException(e.message, e.message)
2124
+ raise KsyunSDKException(message=str(e))
2125
2125
 
2126
2126
 
2127
2127
  def ModifyNatRateLimit(self, request):
@@ -2144,7 +2144,7 @@ class VpcClient(AbstractClient):
2144
2144
  if isinstance(e, KsyunSDKException):
2145
2145
  raise
2146
2146
  else:
2147
- raise KsyunSDKException(e.message, e.message)
2147
+ raise KsyunSDKException(message=str(e))
2148
2148
 
2149
2149
 
2150
2150
  def DeleteNatRateLimit(self, request):
@@ -2167,7 +2167,7 @@ class VpcClient(AbstractClient):
2167
2167
  if isinstance(e, KsyunSDKException):
2168
2168
  raise
2169
2169
  else:
2170
- raise KsyunSDKException(e.message, e.message)
2170
+ raise KsyunSDKException(message=str(e))
2171
2171
 
2172
2172
 
2173
2173
  def CreateDnat(self, request):
@@ -2190,7 +2190,7 @@ class VpcClient(AbstractClient):
2190
2190
  if isinstance(e, KsyunSDKException):
2191
2191
  raise
2192
2192
  else:
2193
- raise KsyunSDKException(e.message, e.message)
2193
+ raise KsyunSDKException(message=str(e))
2194
2194
 
2195
2195
 
2196
2196
  def DeleteDnat(self, request):
@@ -2213,7 +2213,7 @@ class VpcClient(AbstractClient):
2213
2213
  if isinstance(e, KsyunSDKException):
2214
2214
  raise
2215
2215
  else:
2216
- raise KsyunSDKException(e.message, e.message)
2216
+ raise KsyunSDKException(message=str(e))
2217
2217
 
2218
2218
 
2219
2219
  def DescribeDnats(self, request):
@@ -2236,7 +2236,7 @@ class VpcClient(AbstractClient):
2236
2236
  if isinstance(e, KsyunSDKException):
2237
2237
  raise
2238
2238
  else:
2239
- raise KsyunSDKException(e.message, e.message)
2239
+ raise KsyunSDKException(message=str(e))
2240
2240
 
2241
2241
 
2242
2242
  def ModifyDnat(self, request):
@@ -2259,7 +2259,7 @@ class VpcClient(AbstractClient):
2259
2259
  if isinstance(e, KsyunSDKException):
2260
2260
  raise
2261
2261
  else:
2262
- raise KsyunSDKException(e.message, e.message)
2262
+ raise KsyunSDKException(message=str(e))
2263
2263
 
2264
2264
 
2265
2265
  def AssociateInstance(self, request):
@@ -2282,7 +2282,7 @@ class VpcClient(AbstractClient):
2282
2282
  if isinstance(e, KsyunSDKException):
2283
2283
  raise
2284
2284
  else:
2285
- raise KsyunSDKException(e.message, e.message)
2285
+ raise KsyunSDKException(message=str(e))
2286
2286
 
2287
2287
 
2288
2288
  def DisassociateInstance(self, request):
@@ -2305,7 +2305,7 @@ class VpcClient(AbstractClient):
2305
2305
  if isinstance(e, KsyunSDKException):
2306
2306
  raise
2307
2307
  else:
2308
- raise KsyunSDKException(e.message, e.message)
2308
+ raise KsyunSDKException(message=str(e))
2309
2309
 
2310
2310
 
2311
2311
  def CreateHaVip(self, request):
@@ -2328,7 +2328,7 @@ class VpcClient(AbstractClient):
2328
2328
  if isinstance(e, KsyunSDKException):
2329
2329
  raise
2330
2330
  else:
2331
- raise KsyunSDKException(e.message, e.message)
2331
+ raise KsyunSDKException(message=str(e))
2332
2332
 
2333
2333
 
2334
2334
  def DeleteHaVip(self, request):
@@ -2351,7 +2351,7 @@ class VpcClient(AbstractClient):
2351
2351
  if isinstance(e, KsyunSDKException):
2352
2352
  raise
2353
2353
  else:
2354
- raise KsyunSDKException(e.message, e.message)
2354
+ raise KsyunSDKException(message=str(e))
2355
2355
 
2356
2356
 
2357
2357
  def AssociateHaVip(self, request):
@@ -2374,7 +2374,7 @@ class VpcClient(AbstractClient):
2374
2374
  if isinstance(e, KsyunSDKException):
2375
2375
  raise
2376
2376
  else:
2377
- raise KsyunSDKException(e.message, e.message)
2377
+ raise KsyunSDKException(message=str(e))
2378
2378
 
2379
2379
 
2380
2380
  def UnAssociateHaVip(self, request):
@@ -2397,7 +2397,7 @@ class VpcClient(AbstractClient):
2397
2397
  if isinstance(e, KsyunSDKException):
2398
2398
  raise
2399
2399
  else:
2400
- raise KsyunSDKException(e.message, e.message)
2400
+ raise KsyunSDKException(message=str(e))
2401
2401
 
2402
2402
 
2403
2403
  def DescribeHaVip(self, request):
@@ -2420,7 +2420,7 @@ class VpcClient(AbstractClient):
2420
2420
  if isinstance(e, KsyunSDKException):
2421
2421
  raise
2422
2422
  else:
2423
- raise KsyunSDKException(e.message, e.message)
2423
+ raise KsyunSDKException(message=str(e))
2424
2424
 
2425
2425
 
2426
2426
  def CreateDirectConnectGatewayRoute(self, request):
@@ -2443,7 +2443,7 @@ class VpcClient(AbstractClient):
2443
2443
  if isinstance(e, KsyunSDKException):
2444
2444
  raise
2445
2445
  else:
2446
- raise KsyunSDKException(e.message, e.message)
2446
+ raise KsyunSDKException(message=str(e))
2447
2447
 
2448
2448
 
2449
2449
  def DeleteDirectConnectGatewayRoute(self, request):
@@ -2466,7 +2466,7 @@ class VpcClient(AbstractClient):
2466
2466
  if isinstance(e, KsyunSDKException):
2467
2467
  raise
2468
2468
  else:
2469
- raise KsyunSDKException(e.message, e.message)
2469
+ raise KsyunSDKException(message=str(e))
2470
2470
 
2471
2471
 
2472
2472
  def DescribeDirectConnectGatewayRoute(self, request):
@@ -2489,7 +2489,7 @@ class VpcClient(AbstractClient):
2489
2489
  if isinstance(e, KsyunSDKException):
2490
2490
  raise
2491
2491
  else:
2492
- raise KsyunSDKException(e.message, e.message)
2492
+ raise KsyunSDKException(message=str(e))
2493
2493
 
2494
2494
 
2495
2495
  def PublishDirectConnectRoute(self, request):
@@ -2512,7 +2512,7 @@ class VpcClient(AbstractClient):
2512
2512
  if isinstance(e, KsyunSDKException):
2513
2513
  raise
2514
2514
  else:
2515
- raise KsyunSDKException(e.message, e.message)
2515
+ raise KsyunSDKException(message=str(e))
2516
2516
 
2517
2517
 
2518
2518
  def UnpublishDirectConnectRoute(self, request):
@@ -2535,7 +2535,7 @@ class VpcClient(AbstractClient):
2535
2535
  if isinstance(e, KsyunSDKException):
2536
2536
  raise
2537
2537
  else:
2538
- raise KsyunSDKException(e.message, e.message)
2538
+ raise KsyunSDKException(message=str(e))
2539
2539
 
2540
2540
 
2541
2541
  def AddSecondaryCidrBlock(self, request):
@@ -2558,7 +2558,7 @@ class VpcClient(AbstractClient):
2558
2558
  if isinstance(e, KsyunSDKException):
2559
2559
  raise
2560
2560
  else:
2561
- raise KsyunSDKException(e.message, e.message)
2561
+ raise KsyunSDKException(message=str(e))
2562
2562
 
2563
2563
 
2564
2564
  def DeleteSecondaryCidrBlock(self, request):
@@ -2581,7 +2581,7 @@ class VpcClient(AbstractClient):
2581
2581
  if isinstance(e, KsyunSDKException):
2582
2582
  raise
2583
2583
  else:
2584
- raise KsyunSDKException(e.message, e.message)
2584
+ raise KsyunSDKException(message=str(e))
2585
2585
 
2586
2586
 
2587
2587
  def AssignPrivateIpAddress(self, request):
@@ -2604,7 +2604,7 @@ class VpcClient(AbstractClient):
2604
2604
  if isinstance(e, KsyunSDKException):
2605
2605
  raise
2606
2606
  else:
2607
- raise KsyunSDKException(e.message, e.message)
2607
+ raise KsyunSDKException(message=str(e))
2608
2608
 
2609
2609
 
2610
2610
  def UnassignPrivateIpAddress(self, request):
@@ -2627,7 +2627,7 @@ class VpcClient(AbstractClient):
2627
2627
  if isinstance(e, KsyunSDKException):
2628
2628
  raise
2629
2629
  else:
2630
- raise KsyunSDKException(e.message, e.message)
2630
+ raise KsyunSDKException(message=str(e))
2631
2631
 
2632
2632
 
2633
2633
  def BatchCreateNatRateLimit(self, request):
@@ -2650,7 +2650,7 @@ class VpcClient(AbstractClient):
2650
2650
  if isinstance(e, KsyunSDKException):
2651
2651
  raise
2652
2652
  else:
2653
- raise KsyunSDKException(e.message, e.message)
2653
+ raise KsyunSDKException(message=str(e))
2654
2654
 
2655
2655
 
2656
2656
  def BatchModifyNatRateLimit(self, request):
@@ -2673,7 +2673,7 @@ class VpcClient(AbstractClient):
2673
2673
  if isinstance(e, KsyunSDKException):
2674
2674
  raise
2675
2675
  else:
2676
- raise KsyunSDKException(e.message, e.message)
2676
+ raise KsyunSDKException(message=str(e))
2677
2677
 
2678
2678
 
2679
2679
  def BatchDeleteNatRateLimit(self, request):
@@ -2696,7 +2696,7 @@ class VpcClient(AbstractClient):
2696
2696
  if isinstance(e, KsyunSDKException):
2697
2697
  raise
2698
2698
  else:
2699
- raise KsyunSDKException(e.message, e.message)
2699
+ raise KsyunSDKException(message=str(e))
2700
2700
 
2701
2701
 
2702
2702
  def DescribeVpnGatewayRoutes(self, request):
@@ -2719,7 +2719,7 @@ class VpcClient(AbstractClient):
2719
2719
  if isinstance(e, KsyunSDKException):
2720
2720
  raise
2721
2721
  else:
2722
- raise KsyunSDKException(e.message, e.message)
2722
+ raise KsyunSDKException(message=str(e))
2723
2723
 
2724
2724
 
2725
2725
  def CreateVpnGatewayRoute(self, request):
@@ -2742,7 +2742,7 @@ class VpcClient(AbstractClient):
2742
2742
  if isinstance(e, KsyunSDKException):
2743
2743
  raise
2744
2744
  else:
2745
- raise KsyunSDKException(e.message, e.message)
2745
+ raise KsyunSDKException(message=str(e))
2746
2746
 
2747
2747
 
2748
2748
  def DeleteVpnGatewayRoute(self, request):
@@ -2765,7 +2765,7 @@ class VpcClient(AbstractClient):
2765
2765
  if isinstance(e, KsyunSDKException):
2766
2766
  raise
2767
2767
  else:
2768
- raise KsyunSDKException(e.message, e.message)
2768
+ raise KsyunSDKException(message=str(e))
2769
2769
 
2770
2770
 
2771
2771
  def DescribeVpnTunnelIpsecStatus(self, request):
@@ -2788,7 +2788,7 @@ class VpcClient(AbstractClient):
2788
2788
  if isinstance(e, KsyunSDKException):
2789
2789
  raise
2790
2790
  else:
2791
- raise KsyunSDKException(e.message, e.message)
2791
+ raise KsyunSDKException(message=str(e))
2792
2792
 
2793
2793
 
2794
2794
  def QueryNatTopVifMonitor(self, request):
@@ -2811,7 +2811,7 @@ class VpcClient(AbstractClient):
2811
2811
  if isinstance(e, KsyunSDKException):
2812
2812
  raise
2813
2813
  else:
2814
- raise KsyunSDKException(e.message, e.message)
2814
+ raise KsyunSDKException(message=str(e))
2815
2815
 
2816
2816
 
2817
2817
  def ModifyNatIpStatus(self, request):
@@ -2834,7 +2834,7 @@ class VpcClient(AbstractClient):
2834
2834
  if isinstance(e, KsyunSDKException):
2835
2835
  raise
2836
2836
  else:
2837
- raise KsyunSDKException(e.message, e.message)
2837
+ raise KsyunSDKException(message=str(e))
2838
2838
 
2839
2839
 
2840
2840
  def QueryPeerTopVifMonitor(self, request):
@@ -2857,7 +2857,7 @@ class VpcClient(AbstractClient):
2857
2857
  if isinstance(e, KsyunSDKException):
2858
2858
  raise
2859
2859
  else:
2860
- raise KsyunSDKException(e.message, e.message)
2860
+ raise KsyunSDKException(message=str(e))
2861
2861
 
2862
2862
 
2863
2863
  def ModifyVpnGatewayRoute(self, request):
@@ -2880,7 +2880,7 @@ class VpcClient(AbstractClient):
2880
2880
  if isinstance(e, KsyunSDKException):
2881
2881
  raise
2882
2882
  else:
2883
- raise KsyunSDKException(e.message, e.message)
2883
+ raise KsyunSDKException(message=str(e))
2884
2884
 
2885
2885
 
2886
2886
  def DescribeDirectConnectInterfacesBgpStatus(self, request):
@@ -2903,7 +2903,7 @@ class VpcClient(AbstractClient):
2903
2903
  if isinstance(e, KsyunSDKException):
2904
2904
  raise
2905
2905
  else:
2906
- raise KsyunSDKException(e.message, e.message)
2906
+ raise KsyunSDKException(message=str(e))
2907
2907
 
2908
2908
 
2909
2909
  def DeactiveFlowLog(self, request):
@@ -2926,7 +2926,7 @@ class VpcClient(AbstractClient):
2926
2926
  if isinstance(e, KsyunSDKException):
2927
2927
  raise
2928
2928
  else:
2929
- raise KsyunSDKException(e.message, e.message)
2929
+ raise KsyunSDKException(message=str(e))
2930
2930
 
2931
2931
 
2932
2932
  def ActiveFlowLog(self, request):
@@ -2949,7 +2949,7 @@ class VpcClient(AbstractClient):
2949
2949
  if isinstance(e, KsyunSDKException):
2950
2950
  raise
2951
2951
  else:
2952
- raise KsyunSDKException(e.message, e.message)
2952
+ raise KsyunSDKException(message=str(e))
2953
2953
 
2954
2954
 
2955
2955
  def DeleteFlowLog(self, request):
@@ -2972,7 +2972,7 @@ class VpcClient(AbstractClient):
2972
2972
  if isinstance(e, KsyunSDKException):
2973
2973
  raise
2974
2974
  else:
2975
- raise KsyunSDKException(e.message, e.message)
2975
+ raise KsyunSDKException(message=str(e))
2976
2976
 
2977
2977
 
2978
2978
  def ModifyFlowLog(self, request):
@@ -2995,7 +2995,7 @@ class VpcClient(AbstractClient):
2995
2995
  if isinstance(e, KsyunSDKException):
2996
2996
  raise
2997
2997
  else:
2998
- raise KsyunSDKException(e.message, e.message)
2998
+ raise KsyunSDKException(message=str(e))
2999
2999
 
3000
3000
 
3001
3001
  def DescribeFlowLogs(self, request):
@@ -3018,7 +3018,7 @@ class VpcClient(AbstractClient):
3018
3018
  if isinstance(e, KsyunSDKException):
3019
3019
  raise
3020
3020
  else:
3021
- raise KsyunSDKException(e.message, e.message)
3021
+ raise KsyunSDKException(message=str(e))
3022
3022
 
3023
3023
 
3024
3024
  def CreateFlowLog(self, request):
@@ -3041,6 +3041,4 @@ class VpcClient(AbstractClient):
3041
3041
  if isinstance(e, KsyunSDKException):
3042
3042
  raise
3043
3043
  else:
3044
- raise KsyunSDKException(e.message, e.message)
3045
-
3046
-
3044
+ raise KsyunSDKException(message=str(e))