tencentcloud-sdk-python-kms 3.0.1359__tar.gz → 3.0.1361__tar.gz

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 (16) hide show
  1. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/setup.py +1 -1
  3. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/tencentcloud/kms/v20190118/models.py +71 -0
  5. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/tencentcloud_sdk_python_kms.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-kms-3.0.1361/tencentcloud_sdk_python_kms.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-kms-3.0.1359/tencentcloud_sdk_python_kms.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/README.rst +0 -0
  9. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/tencentcloud/kms/__init__.py +0 -0
  11. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/tencentcloud/kms/v20190118/__init__.py +0 -0
  12. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/tencentcloud/kms/v20190118/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/tencentcloud/kms/v20190118/kms_client.py +0 -0
  14. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/tencentcloud_sdk_python_kms.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/tencentcloud_sdk_python_kms.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-kms-3.0.1359 → tencentcloud-sdk-python-kms-3.0.1361}/tencentcloud_sdk_python_kms.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-kms
3
- Version: 3.0.1359
3
+ Version: 3.0.1361
4
4
  Summary: Tencent Cloud Kms SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-kms',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.1359"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1361"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Kms SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1359'
17
+ __version__ = '3.0.1361'
@@ -2901,6 +2901,57 @@ class EncryptResponse(AbstractModel):
2901
2901
  self._RequestId = params.get("RequestId")
2902
2902
 
2903
2903
 
2904
+ class ExclusiveHSM(AbstractModel):
2905
+ """独享版集群
2906
+
2907
+ """
2908
+
2909
+ def __init__(self):
2910
+ r"""
2911
+ :param _HsmClusterId: 独享集群Id
2912
+ :type HsmClusterId: str
2913
+ :param _HsmClusterName: 独享集群名称
2914
+ :type HsmClusterName: str
2915
+ """
2916
+ self._HsmClusterId = None
2917
+ self._HsmClusterName = None
2918
+
2919
+ @property
2920
+ def HsmClusterId(self):
2921
+ """独享集群Id
2922
+ :rtype: str
2923
+ """
2924
+ return self._HsmClusterId
2925
+
2926
+ @HsmClusterId.setter
2927
+ def HsmClusterId(self, HsmClusterId):
2928
+ self._HsmClusterId = HsmClusterId
2929
+
2930
+ @property
2931
+ def HsmClusterName(self):
2932
+ """独享集群名称
2933
+ :rtype: str
2934
+ """
2935
+ return self._HsmClusterName
2936
+
2937
+ @HsmClusterName.setter
2938
+ def HsmClusterName(self, HsmClusterName):
2939
+ self._HsmClusterName = HsmClusterName
2940
+
2941
+
2942
+ def _deserialize(self, params):
2943
+ self._HsmClusterId = params.get("HsmClusterId")
2944
+ self._HsmClusterName = params.get("HsmClusterName")
2945
+ memeber_set = set(params.keys())
2946
+ for name, value in vars(self).items():
2947
+ property_name = name[1:]
2948
+ if property_name in memeber_set:
2949
+ memeber_set.remove(property_name)
2950
+ if len(memeber_set) > 0:
2951
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
2952
+
2953
+
2954
+
2904
2955
  class GenerateDataKeyRequest(AbstractModel):
2905
2956
  """GenerateDataKey请求参数结构体
2906
2957
 
@@ -3592,6 +3643,8 @@ class GetServiceStatusResponse(AbstractModel):
3592
3643
  :type CmkUserCount: int
3593
3644
  :param _CmkLimit: 返回KMS用户密钥规格数量
3594
3645
  :type CmkLimit: int
3646
+ :param _ExclusiveHSMList: 返回独享集群组
3647
+ :type ExclusiveHSMList: list of ExclusiveHSM
3595
3648
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3596
3649
  :type RequestId: str
3597
3650
  """
@@ -3606,6 +3659,7 @@ class GetServiceStatusResponse(AbstractModel):
3606
3659
  self._SubscriptionInfo = None
3607
3660
  self._CmkUserCount = None
3608
3661
  self._CmkLimit = None
3662
+ self._ExclusiveHSMList = None
3609
3663
  self._RequestId = None
3610
3664
 
3611
3665
  @property
@@ -3729,6 +3783,17 @@ class GetServiceStatusResponse(AbstractModel):
3729
3783
  def CmkLimit(self, CmkLimit):
3730
3784
  self._CmkLimit = CmkLimit
3731
3785
 
3786
+ @property
3787
+ def ExclusiveHSMList(self):
3788
+ """返回独享集群组
3789
+ :rtype: list of ExclusiveHSM
3790
+ """
3791
+ return self._ExclusiveHSMList
3792
+
3793
+ @ExclusiveHSMList.setter
3794
+ def ExclusiveHSMList(self, ExclusiveHSMList):
3795
+ self._ExclusiveHSMList = ExclusiveHSMList
3796
+
3732
3797
  @property
3733
3798
  def RequestId(self):
3734
3799
  """唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -3753,6 +3818,12 @@ class GetServiceStatusResponse(AbstractModel):
3753
3818
  self._SubscriptionInfo = params.get("SubscriptionInfo")
3754
3819
  self._CmkUserCount = params.get("CmkUserCount")
3755
3820
  self._CmkLimit = params.get("CmkLimit")
3821
+ if params.get("ExclusiveHSMList") is not None:
3822
+ self._ExclusiveHSMList = []
3823
+ for item in params.get("ExclusiveHSMList"):
3824
+ obj = ExclusiveHSM()
3825
+ obj._deserialize(item)
3826
+ self._ExclusiveHSMList.append(obj)
3756
3827
  self._RequestId = params.get("RequestId")
3757
3828
 
3758
3829
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-kms
3
- Version: 3.0.1359
3
+ Version: 3.0.1361
4
4
  Summary: Tencent Cloud Kms SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1361
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1359