kingsoftcloud-sdk-python 1.5.8.46__py2.py3-none-any.whl → 1.5.8.47__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 (115) hide show
  1. {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.47.dist-info}/METADATA +24 -13
  2. {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.47.dist-info}/RECORD +111 -115
  3. {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.47.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 +53 -55
  7. ksyun/client/aicp/v20251212/client.py +2 -4
  8. ksyun/client/bill/v20180601/client.py +3 -5
  9. ksyun/client/bill/v20220601/client.py +2 -4
  10. ksyun/client/bill_union/v20200101/client.py +9 -11
  11. ksyun/client/bill_union/v20200101/models.py +5 -5
  12. ksyun/client/bill_union/v20221222/client.py +6 -8
  13. ksyun/client/bill_union/v20250801/client.py +2 -4
  14. ksyun/client/bill_union/v20250801/models.py +1 -1
  15. ksyun/client/bws/v20160304/client.py +7 -9
  16. ksyun/client/cdn/v20160901/client.py +3 -5
  17. ksyun/client/cdn/v20200630/client.py +17 -19
  18. ksyun/client/cdn/v20200901/client.py +7 -9
  19. ksyun/client/cdn/v20211201/client.py +1 -3
  20. ksyun/client/cdn/v3/client.py +43 -45
  21. ksyun/client/cdn/v3/models.py +11 -11
  22. ksyun/client/cen/v20160304/client.py +26 -28
  23. ksyun/client/clickhouse/v20210101/client.py +39 -41
  24. ksyun/client/cloud_advisor/v20250610/client.py +3 -5
  25. ksyun/client/dmp/v20240101/client.py +20 -22
  26. ksyun/client/dts/v20180108/client.py +19 -21
  27. ksyun/client/ebs/v20160304/client.py +28 -30
  28. ksyun/client/ebs/v20160304/models.py +1 -1
  29. ksyun/client/eip/v20160304/client.py +12 -14
  30. ksyun/client/epc/v20151101/client.py +104 -106
  31. ksyun/client/iam/v20151101/client.py +65 -67
  32. ksyun/client/iam/v20240513/client.py +1 -3
  33. ksyun/client/iam/v20240703/client.py +1 -3
  34. ksyun/client/influxdb/v20191010/client.py +27 -29
  35. ksyun/client/kad/v20161122/client.py +8 -10
  36. ksyun/client/kce/v20180314/client.py +17 -19
  37. ksyun/client/kce/v20190806/client.py +34 -36
  38. ksyun/client/kce/v20201231/client.py +1 -3
  39. ksyun/client/kce/v20230101/client.py +9 -11
  40. ksyun/client/kce/v20230306/client.py +22 -24
  41. ksyun/client/kce/v20231115/client.py +2 -4
  42. ksyun/client/kce2/v20230101/client.py +15 -17
  43. ksyun/client/kcf/v20211215/client.py +9 -11
  44. ksyun/client/kci/v20200702/client.py +15 -17
  45. ksyun/client/kci/v20200702/models.py +1 -1
  46. ksyun/client/kcm/v20160304/client.py +10 -12
  47. ksyun/client/kcrs/v20211109/client.py +44 -46
  48. ksyun/client/kcs/v20160701/client.py +66 -68
  49. ksyun/client/kcs/v20170401/client.py +1 -3
  50. ksyun/client/kcs/v20240701/client.py +1 -3
  51. ksyun/client/kead/v20200101/client.py +3 -5
  52. ksyun/client/kec/v20160304/client.py +565 -105
  53. ksyun/client/kec/v20160304/models.py +689 -22
  54. ksyun/client/ked/v1/client.py +44 -46
  55. ksyun/client/kes/v20201215/client.py +8 -10
  56. ksyun/client/ket/v20170101/client.py +8 -10
  57. ksyun/client/kfw/v20160304/client.py +648 -12
  58. ksyun/client/kfw/v20160304/models.py +1003 -9
  59. ksyun/client/kingpay/v1/client.py +1 -3
  60. ksyun/client/kkms/v20160304/client.py +8 -10
  61. ksyun/client/klog/v20200731/client.py +16 -18
  62. ksyun/client/kls/v20170101/client.py +8 -10
  63. ksyun/client/kmr/v20210902/client.py +23 -25
  64. ksyun/client/kmr/v20231231/client.py +7 -9
  65. ksyun/client/kmr/v20240814/client.py +19 -21
  66. ksyun/client/knad/v20230323/client.py +17 -19
  67. ksyun/client/krds/v20160701/client.py +91 -93
  68. ksyun/client/krds/v20200825/client.py +10 -12
  69. ksyun/client/memcached/v20180627/client.py +13 -15
  70. ksyun/client/milvus/v20231010/client.py +19 -21
  71. ksyun/client/mongodb/v20170101/client.py +44 -46
  72. ksyun/client/mongodb/v20250101/client.py +1 -3
  73. ksyun/client/monitor/v20100525/client.py +2 -4
  74. ksyun/client/monitor/v20181114/client.py +1 -3
  75. ksyun/client/monitor/v20210101/client.py +12 -14
  76. ksyun/client/monitor/v20220101/client.py +2 -4
  77. ksyun/client/monitor/v20250101/client.py +45 -3
  78. ksyun/client/monitor/v20250101/models.py +34 -2
  79. ksyun/client/pdns/v20160304/client.py +35 -37
  80. ksyun/client/postgresql/v20181225/client.py +50 -52
  81. ksyun/client/postgresql/v20181225/models.py +1 -1
  82. ksyun/client/rabbitmq/v20191017/client.py +19 -21
  83. ksyun/client/relyt/v20240117/client.py +1 -3
  84. ksyun/client/resourcemanager/v20210320/client.py +8 -10
  85. ksyun/client/sks/v20151101/client.py +5 -7
  86. ksyun/client/slb/v20160304/client.py +93 -95
  87. ksyun/client/slb/v20160304/models.py +5 -5
  88. ksyun/client/slb/v20250430/client.py +35 -37
  89. ksyun/client/sqlserver/v20190425/client.py +46 -48
  90. ksyun/client/sts/v20151101/client.py +2 -4
  91. ksyun/client/tagv2/v20200901/client.py +10 -12
  92. ksyun/client/ter/v20240415/client.py +5 -7
  93. ksyun/client/tidb/v20210520/client.py +40 -42
  94. ksyun/client/trade/v20200114/client.py +1 -3
  95. ksyun/client/trade/v20200831/client.py +1 -3
  96. ksyun/client/trade/v20250220/client.py +4 -6
  97. ksyun/client/trade/v20250321/client.py +4 -6
  98. ksyun/client/trade/v20250828/client.py +1 -3
  99. ksyun/client/trade/v20250828/models.py +1 -1
  100. ksyun/client/vpc/v20160304/client.py +132 -134
  101. ksyun/client/waf/v20200707/client.py +20 -22
  102. ksyun/common/abstract_client.py +15 -3
  103. ksyun/common/abstract_model.py +3 -3
  104. ksyun/common/common_client.py +2 -0
  105. ksyun/common/credential.py +2 -0
  106. ksyun/common/exception/ksyun_sdk_exception.py +11 -7
  107. ksyun/common/http/request.py +2 -0
  108. ksyun/common/profile/client_profile.py +3 -0
  109. ksyun/common/profile/http_profile.py +2 -0
  110. ksyun/client/kpfs/__init__.py +0 -0
  111. ksyun/client/kpfs/v20240930/__init__.py +0 -0
  112. ksyun/client/kpfs/v20240930/client.py +0 -217
  113. ksyun/client/kpfs/v20240930/models.py +0 -191
  114. {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.47.dist-info}/licenses/LICENSE +0 -0
  115. {kingsoftcloud_sdk_python-1.5.8.46.dist-info → kingsoftcloud_sdk_python-1.5.8.47.dist-info}/top_level.txt +0 -0
@@ -76,7 +76,7 @@ class ModifyListenersRequest(AbstractModel):
76
76
  :param SessionState: 会话保持的状态
77
77
  :type PathPrefix: String
78
78
  :param SessionPersistencePeriod: 会话保持超时时间
79
- :type PathPrefix: Int
79
+ :type PathPrefix: Long
80
80
  :param CookieType: 会话类型
81
81
  :type PathPrefix: String
82
82
  :param CookieName: Cookie的名称
@@ -1342,7 +1342,7 @@ class CreateSlbRuleRequest(AbstractModel):
1342
1342
  :param SessionState: 会话保持的状态,在ListenerSync为off时有效
1343
1343
  :type PathPrefix: String
1344
1344
  :param SessionPersistencePeriod: 会话保持超时时间
1345
- :type PathPrefix: Int
1345
+ :type PathPrefix: Long
1346
1346
  :param cookieType: 会话类型(ImplantCookie|RewriteCookie)
1347
1347
  :type PathPrefix: String
1348
1348
  :param CookieName: cookie名字
@@ -1433,7 +1433,7 @@ class ModifySlbRuleRequest(AbstractModel):
1433
1433
  :param SessionState: 会话保持的状态,在ListenerSync为off时有效
1434
1434
  :type PathPrefix: String
1435
1435
  :param SessionPersistencePeriod: 会话保持超时时间
1436
- :type PathPrefix: Int
1436
+ :type PathPrefix: Long
1437
1437
  :param cookieType: 会话类型(ImplantCookie|RewriteCookie)
1438
1438
  :type PathPrefix: String
1439
1439
  :param CookieName: cookie名字
@@ -1754,7 +1754,7 @@ class RejectPrivateLinkRequest(AbstractModel):
1754
1754
  """
1755
1755
 
1756
1756
  def __init__(self):
1757
- r"""RejectPrivateLink
1757
+ r"""拒绝PrivateLink申请RejectPrivateLink
1758
1758
  :param PrivateLinkId: PrivateLink的ID
1759
1759
  :type PathPrefix: String
1760
1760
  """
@@ -1791,7 +1791,7 @@ class RemovePrivateLinkRequest(AbstractModel):
1791
1791
  """
1792
1792
 
1793
1793
  def __init__(self):
1794
- r"""RemovePrivateLink
1794
+ r"""删除已建立的RemovePrivateLink
1795
1795
  :param PrivateLinkServerId: PrivateLinkServer的ID
1796
1796
  :type PathPrefix: String
1797
1797
  :param PrivateLinkId: PrivateLink的ID
@@ -28,7 +28,7 @@ class SlbClient(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 ModifyBackendServer(self, request):
@@ -51,7 +51,7 @@ class SlbClient(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 DeregisterBackendServer(self, request):
@@ -74,7 +74,7 @@ class SlbClient(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 RegisterBackendServer(self, request):
@@ -97,7 +97,7 @@ class SlbClient(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 DescribeBackendServerGroups(self, request):
@@ -120,7 +120,7 @@ class SlbClient(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 ModifyBackendServerGroup(self, request):
@@ -143,7 +143,7 @@ class SlbClient(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 DeleteBackendServerGroup(self, request):
@@ -166,7 +166,7 @@ class SlbClient(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 CreateBackendServerGroup(self, request):
@@ -189,7 +189,7 @@ class SlbClient(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 DescribeListeners(self, request):
@@ -212,7 +212,7 @@ class SlbClient(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 ModifyListener(self, request):
@@ -235,7 +235,7 @@ class SlbClient(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 DeleteListener(self, request):
@@ -258,7 +258,7 @@ class SlbClient(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 CreateListener(self, request):
@@ -281,7 +281,7 @@ class SlbClient(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 SetAccessLog(self, request):
@@ -304,7 +304,7 @@ class SlbClient(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 SetEnableAccessLog(self, request):
@@ -327,7 +327,7 @@ class SlbClient(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 SetLbProtocolLayers(self, request):
@@ -350,7 +350,7 @@ class SlbClient(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 SetLoadBalancerStatus(self, request):
@@ -373,7 +373,7 @@ class SlbClient(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 SetLoadBalancerName(self, request):
@@ -396,7 +396,7 @@ class SlbClient(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 DescribeLoadBalancers(self, request):
@@ -419,7 +419,7 @@ class SlbClient(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 DeleteLoadBalancer(self, request):
@@ -442,7 +442,7 @@ class SlbClient(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 CreateLoadBalancer(self, request):
@@ -465,7 +465,7 @@ class SlbClient(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 ModifyCertificateWithGroup(self, request):
@@ -488,7 +488,7 @@ class SlbClient(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 DissociateCertificateWithGroup(self, request):
@@ -511,7 +511,7 @@ class SlbClient(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 AssociateCertificateWithGroup(self, request):
@@ -534,7 +534,7 @@ class SlbClient(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 DescribeListenerCertGroups(self, request):
@@ -557,7 +557,7 @@ class SlbClient(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 DeleteListenerCertGroup(self, request):
@@ -580,7 +580,7 @@ class SlbClient(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 CreateListenerCertGroup(self, request):
@@ -603,7 +603,7 @@ class SlbClient(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 AddRules(self, request):
@@ -626,7 +626,7 @@ class SlbClient(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 DeleteRule(self, request):
@@ -649,7 +649,7 @@ class SlbClient(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 AddRule(self, request):
@@ -672,7 +672,7 @@ class SlbClient(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 ModifyRuleGroup(self, request):
@@ -695,7 +695,7 @@ class SlbClient(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 DescribeRuleGroups(self, request):
@@ -718,7 +718,7 @@ class SlbClient(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 DeleteRuleGroup(self, request):
@@ -741,7 +741,7 @@ class SlbClient(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 CreateRuleGroup(self, request):
@@ -764,7 +764,7 @@ class SlbClient(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 SetLBModificationProtection(self, request):
@@ -787,7 +787,7 @@ class SlbClient(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 SetLBDeleteProtection(self, request):
@@ -810,6 +810,4 @@ class SlbClient(AbstractClient):
810
810
  if isinstance(e, KsyunSDKException):
811
811
  raise
812
812
  else:
813
- raise KsyunSDKException(e.message, e.message)
814
-
815
-
813
+ raise KsyunSDKException(message=str(e))