tencentcloud-sdk-python-kms 3.1.53__tar.gz → 3.1.131__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 (17) hide show
  1. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/PKG-INFO +2 -2
  2. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/setup.py +1 -1
  3. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud/kms/v20190118/models.py +201 -100
  5. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud_sdk_python_kms.egg-info/PKG-INFO +2 -2
  6. tencentcloud_sdk_python_kms-3.1.131/tencentcloud_sdk_python_kms.egg-info/requires.txt +1 -0
  7. tencentcloud_sdk_python_kms-3.1.53/tencentcloud_sdk_python_kms.egg-info/requires.txt +0 -1
  8. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/README.rst +0 -0
  9. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/setup.cfg +0 -0
  10. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud/kms/__init__.py +0 -0
  11. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud/kms/v20190118/__init__.py +0 -0
  12. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud/kms/v20190118/errorcodes.py +0 -0
  13. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud/kms/v20190118/kms_client.py +0 -0
  14. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud/kms/v20190118/kms_client_async.py +0 -0
  15. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud_sdk_python_kms.egg-info/SOURCES.txt +0 -0
  16. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud_sdk_python_kms.egg-info/dependency_links.txt +0 -0
  17. {tencentcloud_sdk_python_kms-3.1.53 → tencentcloud_sdk_python_kms-3.1.131}/tencentcloud_sdk_python_kms.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-kms
3
- Version: 3.1.53
3
+ Version: 3.1.131
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.53
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.131
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -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.1.53,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.1.131,<4.0.0"],
12
12
 
13
13
  version=tencentcloud.__version__,
14
14
  description='Tencent Cloud Kms SDK for Python',
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.53'
17
+ __version__ = '3.1.131'
@@ -5242,42 +5242,48 @@ class GetServiceStatusResponse(AbstractModel):
5242
5242
 
5243
5243
  def __init__(self):
5244
5244
  r"""
5245
- :param _ServiceEnabled: KMS服务是否开通, true 表示已开通
5245
+ :param _ServiceEnabled: <p>KMS服务是否开通, true 表示已开通</p>
5246
5246
  :type ServiceEnabled: bool
5247
- :param _InvalidType: 服务不可用类型: 0-未购买,1-正常, 2-欠费停服, 3-资源释放
5247
+ :param _InvalidType: <p>服务不可用类型: 0-未购买,1-正常, 2-欠费停服, 3-资源释放</p>
5248
5248
  :type InvalidType: int
5249
- :param _UserLevel: 0-普通版,1-旗舰版
5249
+ :param _UserLevel: <p>0-普通版,1-旗舰版</p>
5250
5250
  :type UserLevel: int
5251
- :param _ProExpireTime: 旗舰版到期时间(Epoch Unix Timestamp)。
5251
+ :param _ProExpireTime: <p>旗舰版到期时间(Epoch Unix Timestamp)。</p>
5252
5252
  :type ProExpireTime: int
5253
- :param _ProRenewFlag: 旗舰版是否自动续费:0-不自动续费,1-自动续费
5253
+ :param _ProRenewFlag: <p>旗舰版是否自动续费:0-不自动续费,1-自动续费</p>
5254
5254
  :type ProRenewFlag: int
5255
- :param _ProResourceId: 旗舰版购买记录的唯一性标识。如果未开通旗舰版,则返回值为空
5255
+ :param _ProResourceId: <p>旗舰版购买记录的唯一性标识。如果未开通旗舰版,则返回值为空</p>
5256
5256
  :type ProResourceId: str
5257
- :param _ExclusiveVSMEnabled: 是否开通 KMS 托管版
5257
+ :param _ExclusiveVSMEnabled: <p>是否开通 KMS 托管版</p>
5258
5258
  :type ExclusiveVSMEnabled: bool
5259
- :param _ExclusiveHSMEnabled: 是否开通 KMS 独享版
5259
+ :param _ExclusiveHSMEnabled: <p>是否开通 KMS 独享版</p>
5260
5260
  :type ExclusiveHSMEnabled: bool
5261
- :param _SubscriptionInfo: KMS 订阅信息。
5261
+ :param _SubscriptionInfo: <p>KMS 订阅信息。</p>
5262
5262
  :type SubscriptionInfo: str
5263
- :param _CmkUserCount: 返回KMS用户密钥使用数量
5263
+ :param _CmkUserCount: <p>返回KMS用户密钥使用数量</p>
5264
5264
  :type CmkUserCount: int
5265
- :param _CmkLimit: 返回KMS用户密钥规格数量
5265
+ :param _CmkLimit: <p>返回KMS用户密钥规格数量</p>
5266
5266
  :type CmkLimit: int
5267
- :param _ExclusiveHSMList: 返回独享集群组
5267
+ :param _ExclusiveHSMList: <p>返回独享集群组</p>
5268
5268
  :type ExclusiveHSMList: list of ExclusiveHSM
5269
- :param _IsAllowedDataKeyHosted: 是否支持数据密钥托管。1:支持,0:不支持。
5269
+ :param _IsAllowedDataKeyHosted: <p>是否支持数据密钥托管。1:支持,0:不支持。</p>
5270
5270
  :type IsAllowedDataKeyHosted: bool
5271
- :param _DataKeyLimit: IsAllowedDataKeyHosted为1时有效,数据密钥的购买额度
5271
+ :param _DataKeyLimit: <p>IsAllowedDataKeyHosted为1时有效,数据密钥的购买额度</p>
5272
5272
  :type DataKeyLimit: int
5273
- :param _FreeDataKeyLimit: IsAllowedDataKeyHosted为1时有效,数据密钥免费额度。
5273
+ :param _FreeDataKeyLimit: <p>IsAllowedDataKeyHosted为1时有效,数据密钥免费额度。</p>
5274
5274
  :type FreeDataKeyLimit: int
5275
- :param _DataKeyUsedCount: IsAllowedDataKeyHosted为1时有效,已使用的数据密钥数量。
5275
+ :param _DataKeyUsedCount: <p>IsAllowedDataKeyHosted为1时有效,已使用的数据密钥数量。</p>
5276
5276
  :type DataKeyUsedCount: int
5277
- :param _SyncTaskList: 同步任务的目标地域信息
5277
+ :param _SyncTaskList: <p>同步任务的目标地域信息</p>
5278
5278
  :type SyncTaskList: list of DestinationSyncConfig
5279
- :param _IsAllowedSync: 是否支持同步任务。true:支持,false:不支持。
5279
+ :param _IsAllowedSync: <p>是否支持同步任务。true:支持,false:不支持。</p>
5280
5280
  :type IsAllowedSync: bool
5281
+ :param _QpsLimit: <p>地域下的QPS</p>
5282
+ :type QpsLimit: int
5283
+ :param _QpsTotalLimit: <p>总的QPS值</p>
5284
+ :type QpsTotalLimit: int
5285
+ :param _RegionsQps: <p>地域下的QPS</p>
5286
+ :type RegionsQps: list of RegionQps
5281
5287
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
5282
5288
  :type RequestId: str
5283
5289
  """
@@ -5299,11 +5305,14 @@ class GetServiceStatusResponse(AbstractModel):
5299
5305
  self._DataKeyUsedCount = None
5300
5306
  self._SyncTaskList = None
5301
5307
  self._IsAllowedSync = None
5308
+ self._QpsLimit = None
5309
+ self._QpsTotalLimit = None
5310
+ self._RegionsQps = None
5302
5311
  self._RequestId = None
5303
5312
 
5304
5313
  @property
5305
5314
  def ServiceEnabled(self):
5306
- r"""KMS服务是否开通, true 表示已开通
5315
+ r"""<p>KMS服务是否开通, true 表示已开通</p>
5307
5316
  :rtype: bool
5308
5317
  """
5309
5318
  return self._ServiceEnabled
@@ -5314,7 +5323,7 @@ class GetServiceStatusResponse(AbstractModel):
5314
5323
 
5315
5324
  @property
5316
5325
  def InvalidType(self):
5317
- r"""服务不可用类型: 0-未购买,1-正常, 2-欠费停服, 3-资源释放
5326
+ r"""<p>服务不可用类型: 0-未购买,1-正常, 2-欠费停服, 3-资源释放</p>
5318
5327
  :rtype: int
5319
5328
  """
5320
5329
  return self._InvalidType
@@ -5325,7 +5334,7 @@ class GetServiceStatusResponse(AbstractModel):
5325
5334
 
5326
5335
  @property
5327
5336
  def UserLevel(self):
5328
- r"""0-普通版,1-旗舰版
5337
+ r"""<p>0-普通版,1-旗舰版</p>
5329
5338
  :rtype: int
5330
5339
  """
5331
5340
  return self._UserLevel
@@ -5336,7 +5345,7 @@ class GetServiceStatusResponse(AbstractModel):
5336
5345
 
5337
5346
  @property
5338
5347
  def ProExpireTime(self):
5339
- r"""旗舰版到期时间(Epoch Unix Timestamp)。
5348
+ r"""<p>旗舰版到期时间(Epoch Unix Timestamp)。</p>
5340
5349
  :rtype: int
5341
5350
  """
5342
5351
  return self._ProExpireTime
@@ -5347,7 +5356,7 @@ class GetServiceStatusResponse(AbstractModel):
5347
5356
 
5348
5357
  @property
5349
5358
  def ProRenewFlag(self):
5350
- r"""旗舰版是否自动续费:0-不自动续费,1-自动续费
5359
+ r"""<p>旗舰版是否自动续费:0-不自动续费,1-自动续费</p>
5351
5360
  :rtype: int
5352
5361
  """
5353
5362
  return self._ProRenewFlag
@@ -5358,7 +5367,7 @@ class GetServiceStatusResponse(AbstractModel):
5358
5367
 
5359
5368
  @property
5360
5369
  def ProResourceId(self):
5361
- r"""旗舰版购买记录的唯一性标识。如果未开通旗舰版,则返回值为空
5370
+ r"""<p>旗舰版购买记录的唯一性标识。如果未开通旗舰版,则返回值为空</p>
5362
5371
  :rtype: str
5363
5372
  """
5364
5373
  return self._ProResourceId
@@ -5369,7 +5378,7 @@ class GetServiceStatusResponse(AbstractModel):
5369
5378
 
5370
5379
  @property
5371
5380
  def ExclusiveVSMEnabled(self):
5372
- r"""是否开通 KMS 托管版
5381
+ r"""<p>是否开通 KMS 托管版</p>
5373
5382
  :rtype: bool
5374
5383
  """
5375
5384
  return self._ExclusiveVSMEnabled
@@ -5380,7 +5389,7 @@ class GetServiceStatusResponse(AbstractModel):
5380
5389
 
5381
5390
  @property
5382
5391
  def ExclusiveHSMEnabled(self):
5383
- r"""是否开通 KMS 独享版
5392
+ r"""<p>是否开通 KMS 独享版</p>
5384
5393
  :rtype: bool
5385
5394
  """
5386
5395
  return self._ExclusiveHSMEnabled
@@ -5391,7 +5400,7 @@ class GetServiceStatusResponse(AbstractModel):
5391
5400
 
5392
5401
  @property
5393
5402
  def SubscriptionInfo(self):
5394
- r"""KMS 订阅信息。
5403
+ r"""<p>KMS 订阅信息。</p>
5395
5404
  :rtype: str
5396
5405
  """
5397
5406
  return self._SubscriptionInfo
@@ -5402,7 +5411,7 @@ class GetServiceStatusResponse(AbstractModel):
5402
5411
 
5403
5412
  @property
5404
5413
  def CmkUserCount(self):
5405
- r"""返回KMS用户密钥使用数量
5414
+ r"""<p>返回KMS用户密钥使用数量</p>
5406
5415
  :rtype: int
5407
5416
  """
5408
5417
  return self._CmkUserCount
@@ -5413,7 +5422,7 @@ class GetServiceStatusResponse(AbstractModel):
5413
5422
 
5414
5423
  @property
5415
5424
  def CmkLimit(self):
5416
- r"""返回KMS用户密钥规格数量
5425
+ r"""<p>返回KMS用户密钥规格数量</p>
5417
5426
  :rtype: int
5418
5427
  """
5419
5428
  return self._CmkLimit
@@ -5424,7 +5433,7 @@ class GetServiceStatusResponse(AbstractModel):
5424
5433
 
5425
5434
  @property
5426
5435
  def ExclusiveHSMList(self):
5427
- r"""返回独享集群组
5436
+ r"""<p>返回独享集群组</p>
5428
5437
  :rtype: list of ExclusiveHSM
5429
5438
  """
5430
5439
  return self._ExclusiveHSMList
@@ -5435,7 +5444,7 @@ class GetServiceStatusResponse(AbstractModel):
5435
5444
 
5436
5445
  @property
5437
5446
  def IsAllowedDataKeyHosted(self):
5438
- r"""是否支持数据密钥托管。1:支持,0:不支持。
5447
+ r"""<p>是否支持数据密钥托管。1:支持,0:不支持。</p>
5439
5448
  :rtype: bool
5440
5449
  """
5441
5450
  return self._IsAllowedDataKeyHosted
@@ -5446,7 +5455,7 @@ class GetServiceStatusResponse(AbstractModel):
5446
5455
 
5447
5456
  @property
5448
5457
  def DataKeyLimit(self):
5449
- r"""IsAllowedDataKeyHosted为1时有效,数据密钥的购买额度
5458
+ r"""<p>IsAllowedDataKeyHosted为1时有效,数据密钥的购买额度</p>
5450
5459
  :rtype: int
5451
5460
  """
5452
5461
  return self._DataKeyLimit
@@ -5457,7 +5466,7 @@ class GetServiceStatusResponse(AbstractModel):
5457
5466
 
5458
5467
  @property
5459
5468
  def FreeDataKeyLimit(self):
5460
- r"""IsAllowedDataKeyHosted为1时有效,数据密钥免费额度。
5469
+ r"""<p>IsAllowedDataKeyHosted为1时有效,数据密钥免费额度。</p>
5461
5470
  :rtype: int
5462
5471
  """
5463
5472
  return self._FreeDataKeyLimit
@@ -5468,7 +5477,7 @@ class GetServiceStatusResponse(AbstractModel):
5468
5477
 
5469
5478
  @property
5470
5479
  def DataKeyUsedCount(self):
5471
- r"""IsAllowedDataKeyHosted为1时有效,已使用的数据密钥数量。
5480
+ r"""<p>IsAllowedDataKeyHosted为1时有效,已使用的数据密钥数量。</p>
5472
5481
  :rtype: int
5473
5482
  """
5474
5483
  return self._DataKeyUsedCount
@@ -5479,7 +5488,7 @@ class GetServiceStatusResponse(AbstractModel):
5479
5488
 
5480
5489
  @property
5481
5490
  def SyncTaskList(self):
5482
- r"""同步任务的目标地域信息
5491
+ r"""<p>同步任务的目标地域信息</p>
5483
5492
  :rtype: list of DestinationSyncConfig
5484
5493
  """
5485
5494
  return self._SyncTaskList
@@ -5490,7 +5499,7 @@ class GetServiceStatusResponse(AbstractModel):
5490
5499
 
5491
5500
  @property
5492
5501
  def IsAllowedSync(self):
5493
- r"""是否支持同步任务。true:支持,false:不支持。
5502
+ r"""<p>是否支持同步任务。true:支持,false:不支持。</p>
5494
5503
  :rtype: bool
5495
5504
  """
5496
5505
  return self._IsAllowedSync
@@ -5499,6 +5508,39 @@ class GetServiceStatusResponse(AbstractModel):
5499
5508
  def IsAllowedSync(self, IsAllowedSync):
5500
5509
  self._IsAllowedSync = IsAllowedSync
5501
5510
 
5511
+ @property
5512
+ def QpsLimit(self):
5513
+ r"""<p>地域下的QPS</p>
5514
+ :rtype: int
5515
+ """
5516
+ return self._QpsLimit
5517
+
5518
+ @QpsLimit.setter
5519
+ def QpsLimit(self, QpsLimit):
5520
+ self._QpsLimit = QpsLimit
5521
+
5522
+ @property
5523
+ def QpsTotalLimit(self):
5524
+ r"""<p>总的QPS值</p>
5525
+ :rtype: int
5526
+ """
5527
+ return self._QpsTotalLimit
5528
+
5529
+ @QpsTotalLimit.setter
5530
+ def QpsTotalLimit(self, QpsTotalLimit):
5531
+ self._QpsTotalLimit = QpsTotalLimit
5532
+
5533
+ @property
5534
+ def RegionsQps(self):
5535
+ r"""<p>地域下的QPS</p>
5536
+ :rtype: list of RegionQps
5537
+ """
5538
+ return self._RegionsQps
5539
+
5540
+ @RegionsQps.setter
5541
+ def RegionsQps(self, RegionsQps):
5542
+ self._RegionsQps = RegionsQps
5543
+
5502
5544
  @property
5503
5545
  def RequestId(self):
5504
5546
  r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
@@ -5540,6 +5582,14 @@ class GetServiceStatusResponse(AbstractModel):
5540
5582
  obj._deserialize(item)
5541
5583
  self._SyncTaskList.append(obj)
5542
5584
  self._IsAllowedSync = params.get("IsAllowedSync")
5585
+ self._QpsLimit = params.get("QpsLimit")
5586
+ self._QpsTotalLimit = params.get("QpsTotalLimit")
5587
+ if params.get("RegionsQps") is not None:
5588
+ self._RegionsQps = []
5589
+ for item in params.get("RegionsQps"):
5590
+ obj = RegionQps()
5591
+ obj._deserialize(item)
5592
+ self._RegionsQps.append(obj)
5543
5593
  self._RequestId = params.get("RequestId")
5544
5594
 
5545
5595
 
@@ -5771,13 +5821,13 @@ class ImportKeyMaterialRequest(AbstractModel):
5771
5821
 
5772
5822
  def __init__(self):
5773
5823
  r"""
5774
- :param _EncryptedKeyMaterial: 使用GetParametersForImport 返回的PublicKey加密后的密钥材料base64编码。对于国密版本region的KMS,导入的密钥材料长度要求为 128 bit,FIPS版本region的KMS, 导入的密钥材料长度要求为 256 bit。
5824
+ :param _EncryptedKeyMaterial: <p>使用GetParametersForImport 返回的PublicKey加密后的密钥材料base64编码。对于国密版本region的KMS,导入的密钥材料长度要求为 128 bit,FIPS 140-2版本region的KMS, 导入的密钥材料长度要求为 256 bit。</p>
5775
5825
  :type EncryptedKeyMaterial: str
5776
- :param _ImportToken: 通过调用GetParametersForImport获得的导入令牌。
5826
+ :param _ImportToken: <p>通过调用GetParametersForImport获得的导入令牌。</p>
5777
5827
  :type ImportToken: str
5778
- :param _KeyId: 指定导入密钥材料的CMK,需要和GetParametersForImport 指定的CMK相同。
5828
+ :param _KeyId: <p>指定导入密钥材料的CMK,需要和GetParametersForImport 指定的CMK相同。</p>
5779
5829
  :type KeyId: str
5780
- :param _ValidTo: 密钥材料过期时间 unix 时间戳,不指定或者 0 表示密钥材料不会过期,若指定过期时间,需要大于当前时间点,最大支持 2147443200。
5830
+ :param _ValidTo: <p>密钥材料过期时间 unix 时间戳,不指定或者 0 表示密钥材料不会过期,若指定过期时间,需要大于当前时间点,最大支持 2147443200。</p>
5781
5831
  :type ValidTo: int
5782
5832
  """
5783
5833
  self._EncryptedKeyMaterial = None
@@ -5787,7 +5837,7 @@ class ImportKeyMaterialRequest(AbstractModel):
5787
5837
 
5788
5838
  @property
5789
5839
  def EncryptedKeyMaterial(self):
5790
- r"""使用GetParametersForImport 返回的PublicKey加密后的密钥材料base64编码。对于国密版本region的KMS,导入的密钥材料长度要求为 128 bit,FIPS版本region的KMS, 导入的密钥材料长度要求为 256 bit。
5840
+ r"""<p>使用GetParametersForImport 返回的PublicKey加密后的密钥材料base64编码。对于国密版本region的KMS,导入的密钥材料长度要求为 128 bit,FIPS 140-2版本region的KMS, 导入的密钥材料长度要求为 256 bit。</p>
5791
5841
  :rtype: str
5792
5842
  """
5793
5843
  return self._EncryptedKeyMaterial
@@ -5798,7 +5848,7 @@ class ImportKeyMaterialRequest(AbstractModel):
5798
5848
 
5799
5849
  @property
5800
5850
  def ImportToken(self):
5801
- r"""通过调用GetParametersForImport获得的导入令牌。
5851
+ r"""<p>通过调用GetParametersForImport获得的导入令牌。</p>
5802
5852
  :rtype: str
5803
5853
  """
5804
5854
  return self._ImportToken
@@ -5809,7 +5859,7 @@ class ImportKeyMaterialRequest(AbstractModel):
5809
5859
 
5810
5860
  @property
5811
5861
  def KeyId(self):
5812
- r"""指定导入密钥材料的CMK,需要和GetParametersForImport 指定的CMK相同。
5862
+ r"""<p>指定导入密钥材料的CMK,需要和GetParametersForImport 指定的CMK相同。</p>
5813
5863
  :rtype: str
5814
5864
  """
5815
5865
  return self._KeyId
@@ -5820,7 +5870,7 @@ class ImportKeyMaterialRequest(AbstractModel):
5820
5870
 
5821
5871
  @property
5822
5872
  def ValidTo(self):
5823
- r"""密钥材料过期时间 unix 时间戳,不指定或者 0 表示密钥材料不会过期,若指定过期时间,需要大于当前时间点,最大支持 2147443200。
5873
+ r"""<p>密钥材料过期时间 unix 时间戳,不指定或者 0 表示密钥材料不会过期,若指定过期时间,需要大于当前时间点,最大支持 2147443200。</p>
5824
5874
  :rtype: int
5825
5875
  """
5826
5876
  return self._ValidTo
@@ -5916,61 +5966,61 @@ class KeyMetadata(AbstractModel):
5916
5966
 
5917
5967
  def __init__(self):
5918
5968
  r"""
5919
- :param _KeyId: CMK的全局唯一标识
5969
+ :param _KeyId: <p>CMK的全局唯一标识</p>
5920
5970
  :type KeyId: str
5921
- :param _Alias: 作为密钥更容易辨识,更容易被人看懂的别名
5971
+ :param _Alias: <p>作为密钥更容易辨识,更容易被人看懂的别名</p>
5922
5972
  :type Alias: str
5923
- :param _CreateTime: 密钥创建时间
5973
+ :param _CreateTime: <p>密钥创建时间</p>
5924
5974
  :type CreateTime: int
5925
- :param _Description: CMK的描述
5975
+ :param _Description: <p>CMK的描述</p>
5926
5976
  :type Description: str
5927
- :param _KeyState: CMK的状态, 取值为:Enabled | Disabled | PendingDelete | PendingImport | Archived
5977
+ :param _KeyState: <p>CMK的状态, 取值为:Enabled | Disabled | PendingDelete | PendingImport | Archived</p>
5928
5978
  :type KeyState: str
5929
- :param _KeyUsage: CMK用途,取值为: ENCRYPT_DECRYPT | ASYMMETRIC_DECRYPT_RSA_2048 | ASYMMETRIC_DECRYPT_SM2 | ASYMMETRIC_SIGN_VERIFY_SM2 | ASYMMETRIC_SIGN_VERIFY_RSA_2048 | ASYMMETRIC_SIGN_VERIFY_ECC
5979
+ :param _KeyUsage: <p>CMK用途,取值为: ENCRYPT_DECRYPT | ASYMMETRIC_DECRYPT_RSA_2048 | ASYMMETRIC_DECRYPT_SM2 | ASYMMETRIC_SIGN_VERIFY_SM2 | ASYMMETRIC_SIGN_VERIFY_RSA_2048 | ASYMMETRIC_SIGN_VERIFY_ECC</p>
5930
5980
  :type KeyUsage: str
5931
- :param _Type: CMK类型,2 表示符合FIPS标准,4表示符合国密标准
5981
+ :param _Type: <p>CMK类型,2 表示符合FIPS 140-2标准,4表示符合国密标准</p><p>枚举值:</p><ul><li>2: 表示符合FIPS 140-2标准</li><li>4: 表示符合国密标准</li></ul>
5932
5982
  :type Type: int
5933
- :param _CreatorUin: 创建者
5983
+ :param _CreatorUin: <p>创建者</p>
5934
5984
  :type CreatorUin: int
5935
- :param _KeyRotationEnabled: 是否开启了密钥轮换功能
5985
+ :param _KeyRotationEnabled: <p>是否开启了密钥轮换功能</p>
5936
5986
  :type KeyRotationEnabled: bool
5937
- :param _Owner: CMK的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名
5987
+ :param _Owner: <p>CMK的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名</p>
5938
5988
  :type Owner: str
5939
- :param _NextRotateTime: 在密钥轮换开启状态下,下次轮换的时间
5989
+ :param _NextRotateTime: <p>在密钥轮换开启状态下,下次轮换的时间</p>
5940
5990
  :type NextRotateTime: int
5941
- :param _DeletionDate: 计划删除的时间
5991
+ :param _DeletionDate: <p>计划删除的时间</p>
5942
5992
  :type DeletionDate: int
5943
- :param _Origin: CMK 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL
5993
+ :param _Origin: <p>CMK 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL</p>
5944
5994
  :type Origin: str
5945
- :param _ValidTo: 在Origin为 EXTERNAL 时有效,表示密钥材料的有效日期, 0 表示不过期
5995
+ :param _ValidTo: <p>在Origin为 EXTERNAL 时有效,表示密钥材料的有效日期, 0 表示不过期</p>
5946
5996
  :type ValidTo: int
5947
- :param _ResourceId: 资源ID,格式:creatorUin/$creatorUin/$keyId
5997
+ :param _ResourceId: <p>资源ID,格式:creatorUin/$creatorUin/$keyId</p>
5948
5998
  :type ResourceId: str
5949
- :param _HsmClusterId: HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
5999
+ :param _HsmClusterId: <p>HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)</p>
5950
6000
  :type HsmClusterId: str
5951
- :param _RotateDays: 密钥轮转周期(天)
6001
+ :param _RotateDays: <p>密钥轮转周期(天)</p>
5952
6002
  :type RotateDays: int
5953
- :param _LastRotateTime: 上次乱转时间(Unix timestamp)
6003
+ :param _LastRotateTime: <p>上次轮转时间(Unix timestamp)</p>
5954
6004
  :type LastRotateTime: int
5955
- :param _IsSyncReplica: 密钥是否是主副本。0:主本,1:同步副本。
6005
+ :param _IsSyncReplica: <p>密钥是否是主副本。0:主本,1:同步副本。</p>
5956
6006
  :type IsSyncReplica: int
5957
- :param _SourceRegion: 同步的原始地域
6007
+ :param _SourceRegion: <p>同步的原始地域</p>
5958
6008
  :type SourceRegion: str
5959
- :param _SyncStatus: 密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。
6009
+ :param _SyncStatus: <p>密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。</p>
5960
6010
  :type SyncStatus: int
5961
- :param _SyncMessages: 同步的结果描述
6011
+ :param _SyncMessages: <p>同步的结果描述</p>
5962
6012
  :type SyncMessages: str
5963
- :param _SyncStartTime: 同步的开始时间
6013
+ :param _SyncStartTime: <p>同步的开始时间</p>
5964
6014
  :type SyncStartTime: int
5965
- :param _SyncEndTime: 同步的结束时间
6015
+ :param _SyncEndTime: <p>同步的结束时间</p>
5966
6016
  :type SyncEndTime: int
5967
- :param _SourceHsmClusterId: 同步的原始集群,如果为空,是公有云公共集群
6017
+ :param _SourceHsmClusterId: <p>同步的原始集群,如果为空,是公有云公共集群</p>
5968
6018
  :type SourceHsmClusterId: str
5969
- :param _AccountAppId: 成员账号appId
6019
+ :param _AccountAppId: <p>成员账号appId</p>
5970
6020
  :type AccountAppId: int
5971
- :param _AccountUin: 成员账号uin
6021
+ :param _AccountUin: <p>成员账号uin</p>
5972
6022
  :type AccountUin: int
5973
- :param _AccountName: 成员账号名称
6023
+ :param _AccountName: <p>成员账号名称</p>
5974
6024
  :type AccountName: str
5975
6025
  """
5976
6026
  self._KeyId = None
@@ -6004,7 +6054,7 @@ class KeyMetadata(AbstractModel):
6004
6054
 
6005
6055
  @property
6006
6056
  def KeyId(self):
6007
- r"""CMK的全局唯一标识
6057
+ r"""<p>CMK的全局唯一标识</p>
6008
6058
  :rtype: str
6009
6059
  """
6010
6060
  return self._KeyId
@@ -6015,7 +6065,7 @@ class KeyMetadata(AbstractModel):
6015
6065
 
6016
6066
  @property
6017
6067
  def Alias(self):
6018
- r"""作为密钥更容易辨识,更容易被人看懂的别名
6068
+ r"""<p>作为密钥更容易辨识,更容易被人看懂的别名</p>
6019
6069
  :rtype: str
6020
6070
  """
6021
6071
  return self._Alias
@@ -6026,7 +6076,7 @@ class KeyMetadata(AbstractModel):
6026
6076
 
6027
6077
  @property
6028
6078
  def CreateTime(self):
6029
- r"""密钥创建时间
6079
+ r"""<p>密钥创建时间</p>
6030
6080
  :rtype: int
6031
6081
  """
6032
6082
  return self._CreateTime
@@ -6037,7 +6087,7 @@ class KeyMetadata(AbstractModel):
6037
6087
 
6038
6088
  @property
6039
6089
  def Description(self):
6040
- r"""CMK的描述
6090
+ r"""<p>CMK的描述</p>
6041
6091
  :rtype: str
6042
6092
  """
6043
6093
  return self._Description
@@ -6048,7 +6098,7 @@ class KeyMetadata(AbstractModel):
6048
6098
 
6049
6099
  @property
6050
6100
  def KeyState(self):
6051
- r"""CMK的状态, 取值为:Enabled | Disabled | PendingDelete | PendingImport | Archived
6101
+ r"""<p>CMK的状态, 取值为:Enabled | Disabled | PendingDelete | PendingImport | Archived</p>
6052
6102
  :rtype: str
6053
6103
  """
6054
6104
  return self._KeyState
@@ -6059,7 +6109,7 @@ class KeyMetadata(AbstractModel):
6059
6109
 
6060
6110
  @property
6061
6111
  def KeyUsage(self):
6062
- r"""CMK用途,取值为: ENCRYPT_DECRYPT | ASYMMETRIC_DECRYPT_RSA_2048 | ASYMMETRIC_DECRYPT_SM2 | ASYMMETRIC_SIGN_VERIFY_SM2 | ASYMMETRIC_SIGN_VERIFY_RSA_2048 | ASYMMETRIC_SIGN_VERIFY_ECC
6112
+ r"""<p>CMK用途,取值为: ENCRYPT_DECRYPT | ASYMMETRIC_DECRYPT_RSA_2048 | ASYMMETRIC_DECRYPT_SM2 | ASYMMETRIC_SIGN_VERIFY_SM2 | ASYMMETRIC_SIGN_VERIFY_RSA_2048 | ASYMMETRIC_SIGN_VERIFY_ECC</p>
6063
6113
  :rtype: str
6064
6114
  """
6065
6115
  return self._KeyUsage
@@ -6070,7 +6120,7 @@ class KeyMetadata(AbstractModel):
6070
6120
 
6071
6121
  @property
6072
6122
  def Type(self):
6073
- r"""CMK类型,2 表示符合FIPS标准,4表示符合国密标准
6123
+ r"""<p>CMK类型,2 表示符合FIPS 140-2标准,4表示符合国密标准</p><p>枚举值:</p><ul><li>2: 表示符合FIPS 140-2标准</li><li>4: 表示符合国密标准</li></ul>
6074
6124
  :rtype: int
6075
6125
  """
6076
6126
  return self._Type
@@ -6081,7 +6131,7 @@ class KeyMetadata(AbstractModel):
6081
6131
 
6082
6132
  @property
6083
6133
  def CreatorUin(self):
6084
- r"""创建者
6134
+ r"""<p>创建者</p>
6085
6135
  :rtype: int
6086
6136
  """
6087
6137
  return self._CreatorUin
@@ -6092,7 +6142,7 @@ class KeyMetadata(AbstractModel):
6092
6142
 
6093
6143
  @property
6094
6144
  def KeyRotationEnabled(self):
6095
- r"""是否开启了密钥轮换功能
6145
+ r"""<p>是否开启了密钥轮换功能</p>
6096
6146
  :rtype: bool
6097
6147
  """
6098
6148
  return self._KeyRotationEnabled
@@ -6103,7 +6153,7 @@ class KeyMetadata(AbstractModel):
6103
6153
 
6104
6154
  @property
6105
6155
  def Owner(self):
6106
- r"""CMK的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名
6156
+ r"""<p>CMK的创建者,用户创建的为 user,授权各云产品自动创建的为对应的产品名</p>
6107
6157
  :rtype: str
6108
6158
  """
6109
6159
  return self._Owner
@@ -6114,7 +6164,7 @@ class KeyMetadata(AbstractModel):
6114
6164
 
6115
6165
  @property
6116
6166
  def NextRotateTime(self):
6117
- r"""在密钥轮换开启状态下,下次轮换的时间
6167
+ r"""<p>在密钥轮换开启状态下,下次轮换的时间</p>
6118
6168
  :rtype: int
6119
6169
  """
6120
6170
  return self._NextRotateTime
@@ -6125,7 +6175,7 @@ class KeyMetadata(AbstractModel):
6125
6175
 
6126
6176
  @property
6127
6177
  def DeletionDate(self):
6128
- r"""计划删除的时间
6178
+ r"""<p>计划删除的时间</p>
6129
6179
  :rtype: int
6130
6180
  """
6131
6181
  return self._DeletionDate
@@ -6136,7 +6186,7 @@ class KeyMetadata(AbstractModel):
6136
6186
 
6137
6187
  @property
6138
6188
  def Origin(self):
6139
- r"""CMK 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL
6189
+ r"""<p>CMK 密钥材料类型,由KMS创建的为: TENCENT_KMS, 由用户导入的类型为:EXTERNAL</p>
6140
6190
  :rtype: str
6141
6191
  """
6142
6192
  return self._Origin
@@ -6147,7 +6197,7 @@ class KeyMetadata(AbstractModel):
6147
6197
 
6148
6198
  @property
6149
6199
  def ValidTo(self):
6150
- r"""在Origin为 EXTERNAL 时有效,表示密钥材料的有效日期, 0 表示不过期
6200
+ r"""<p>在Origin为 EXTERNAL 时有效,表示密钥材料的有效日期, 0 表示不过期</p>
6151
6201
  :rtype: int
6152
6202
  """
6153
6203
  return self._ValidTo
@@ -6158,7 +6208,7 @@ class KeyMetadata(AbstractModel):
6158
6208
 
6159
6209
  @property
6160
6210
  def ResourceId(self):
6161
- r"""资源ID,格式:creatorUin/$creatorUin/$keyId
6211
+ r"""<p>资源ID,格式:creatorUin/$creatorUin/$keyId</p>
6162
6212
  :rtype: str
6163
6213
  """
6164
6214
  return self._ResourceId
@@ -6169,7 +6219,7 @@ class KeyMetadata(AbstractModel):
6169
6219
 
6170
6220
  @property
6171
6221
  def HsmClusterId(self):
6172
- r"""HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)
6222
+ r"""<p>HSM 集群 ID(仅对 KMS 独占版/托管版服务实例有效)</p>
6173
6223
  :rtype: str
6174
6224
  """
6175
6225
  return self._HsmClusterId
@@ -6180,7 +6230,7 @@ class KeyMetadata(AbstractModel):
6180
6230
 
6181
6231
  @property
6182
6232
  def RotateDays(self):
6183
- r"""密钥轮转周期(天)
6233
+ r"""<p>密钥轮转周期(天)</p>
6184
6234
  :rtype: int
6185
6235
  """
6186
6236
  return self._RotateDays
@@ -6191,7 +6241,7 @@ class KeyMetadata(AbstractModel):
6191
6241
 
6192
6242
  @property
6193
6243
  def LastRotateTime(self):
6194
- r"""上次乱转时间(Unix timestamp)
6244
+ r"""<p>上次轮转时间(Unix timestamp)</p>
6195
6245
  :rtype: int
6196
6246
  """
6197
6247
  return self._LastRotateTime
@@ -6202,7 +6252,7 @@ class KeyMetadata(AbstractModel):
6202
6252
 
6203
6253
  @property
6204
6254
  def IsSyncReplica(self):
6205
- r""" 密钥是否是主副本。0:主本,1:同步副本。
6255
+ r"""<p>密钥是否是主副本。0:主本,1:同步副本。</p>
6206
6256
  :rtype: int
6207
6257
  """
6208
6258
  return self._IsSyncReplica
@@ -6213,7 +6263,7 @@ class KeyMetadata(AbstractModel):
6213
6263
 
6214
6264
  @property
6215
6265
  def SourceRegion(self):
6216
- r"""同步的原始地域
6266
+ r"""<p>同步的原始地域</p>
6217
6267
  :rtype: str
6218
6268
  """
6219
6269
  return self._SourceRegion
@@ -6224,7 +6274,7 @@ class KeyMetadata(AbstractModel):
6224
6274
 
6225
6275
  @property
6226
6276
  def SyncStatus(self):
6227
- r"""密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。
6277
+ r"""<p>密钥同步的状态,0:未同步,1:同步成功,2:同步失败,3:同步中。</p>
6228
6278
  :rtype: int
6229
6279
  """
6230
6280
  return self._SyncStatus
@@ -6235,7 +6285,7 @@ class KeyMetadata(AbstractModel):
6235
6285
 
6236
6286
  @property
6237
6287
  def SyncMessages(self):
6238
- r"""同步的结果描述
6288
+ r"""<p>同步的结果描述</p>
6239
6289
  :rtype: str
6240
6290
  """
6241
6291
  return self._SyncMessages
@@ -6246,7 +6296,7 @@ class KeyMetadata(AbstractModel):
6246
6296
 
6247
6297
  @property
6248
6298
  def SyncStartTime(self):
6249
- r"""同步的开始时间
6299
+ r"""<p>同步的开始时间</p>
6250
6300
  :rtype: int
6251
6301
  """
6252
6302
  return self._SyncStartTime
@@ -6257,7 +6307,7 @@ class KeyMetadata(AbstractModel):
6257
6307
 
6258
6308
  @property
6259
6309
  def SyncEndTime(self):
6260
- r"""同步的结束时间
6310
+ r"""<p>同步的结束时间</p>
6261
6311
  :rtype: int
6262
6312
  """
6263
6313
  return self._SyncEndTime
@@ -6268,7 +6318,7 @@ class KeyMetadata(AbstractModel):
6268
6318
 
6269
6319
  @property
6270
6320
  def SourceHsmClusterId(self):
6271
- r"""同步的原始集群,如果为空,是公有云公共集群
6321
+ r"""<p>同步的原始集群,如果为空,是公有云公共集群</p>
6272
6322
  :rtype: str
6273
6323
  """
6274
6324
  return self._SourceHsmClusterId
@@ -6279,7 +6329,7 @@ class KeyMetadata(AbstractModel):
6279
6329
 
6280
6330
  @property
6281
6331
  def AccountAppId(self):
6282
- r"""成员账号appId
6332
+ r"""<p>成员账号appId</p>
6283
6333
  :rtype: int
6284
6334
  """
6285
6335
  return self._AccountAppId
@@ -6290,7 +6340,7 @@ class KeyMetadata(AbstractModel):
6290
6340
 
6291
6341
  @property
6292
6342
  def AccountUin(self):
6293
- r"""成员账号uin
6343
+ r"""<p>成员账号uin</p>
6294
6344
  :rtype: int
6295
6345
  """
6296
6346
  return self._AccountUin
@@ -6301,7 +6351,7 @@ class KeyMetadata(AbstractModel):
6301
6351
 
6302
6352
  @property
6303
6353
  def AccountName(self):
6304
- r"""成员账号名称
6354
+ r"""<p>成员账号名称</p>
6305
6355
  :rtype: str
6306
6356
  """
6307
6357
  return self._AccountName
@@ -8009,6 +8059,57 @@ class ReEncryptResponse(AbstractModel):
8009
8059
  self._RequestId = params.get("RequestId")
8010
8060
 
8011
8061
 
8062
+ class RegionQps(AbstractModel):
8063
+ r"""地域的QPS扩展包
8064
+
8065
+ """
8066
+
8067
+ def __init__(self):
8068
+ r"""
8069
+ :param _Region: <p>地域</p>
8070
+ :type Region: str
8071
+ :param _Qps: <p>qps的大小</p>
8072
+ :type Qps: int
8073
+ """
8074
+ self._Region = None
8075
+ self._Qps = None
8076
+
8077
+ @property
8078
+ def Region(self):
8079
+ r"""<p>地域</p>
8080
+ :rtype: str
8081
+ """
8082
+ return self._Region
8083
+
8084
+ @Region.setter
8085
+ def Region(self, Region):
8086
+ self._Region = Region
8087
+
8088
+ @property
8089
+ def Qps(self):
8090
+ r"""<p>qps的大小</p>
8091
+ :rtype: int
8092
+ """
8093
+ return self._Qps
8094
+
8095
+ @Qps.setter
8096
+ def Qps(self, Qps):
8097
+ self._Qps = Qps
8098
+
8099
+
8100
+ def _deserialize(self, params):
8101
+ self._Region = params.get("Region")
8102
+ self._Qps = params.get("Qps")
8103
+ memeber_set = set(params.keys())
8104
+ for name, value in vars(self).items():
8105
+ property_name = name[1:]
8106
+ if property_name in memeber_set:
8107
+ memeber_set.remove(property_name)
8108
+ if len(memeber_set) > 0:
8109
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
8110
+
8111
+
8112
+
8012
8113
  class ScheduleDataKeyDeletionRequest(AbstractModel):
8013
8114
  r"""ScheduleDataKeyDeletion请求参数结构体
8014
8115
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-kms
3
- Version: 3.1.53
3
+ Version: 3.1.131
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
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
15
15
  Classifier: Programming Language :: Python :: 3
16
16
  Classifier: Programming Language :: Python :: 3.6
17
17
  Classifier: Programming Language :: Python :: 3.7
18
- Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.53
18
+ Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.131
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.1.131
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.1.53