tencentcloud-sdk-python-kms 3.1.53__py2.py3-none-any.whl → 3.1.86__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.
tencentcloud/__init__.py CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.1.53'
17
+ __version__ = '3.1.86'
@@ -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
 
@@ -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.86
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.86
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -1,11 +1,11 @@
1
- tencentcloud/__init__.py,sha256=FcOPddlrvC0a9hoEPd2RKEvxMz-yOMuXTWkTDy94irc,629
1
+ tencentcloud/__init__.py,sha256=hog2d6NTLDdvAhMoi-u29vK8OmngKRNxXT84A2R6B78,629
2
2
  tencentcloud/kms/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/kms/v20190118/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/kms/v20190118/errorcodes.py,sha256=sNIAUQXVNME1FSxpBXPDS8tXiZJUpd2jtDfKYFb83dA,6851
5
5
  tencentcloud/kms/v20190118/kms_client.py,sha256=5S624e03LAhIjqkxglVb1juo4PvkkhhkwB9JcWXwpYs,64304
6
6
  tencentcloud/kms/v20190118/kms_client_async.py,sha256=Ztv0IqLPPNna2tZ5__TtJFXRgORjVAzJ-H4AMYfV_hc,43878
7
- tencentcloud/kms/v20190118/models.py,sha256=qC32nxDSuwohBBQ-jINZcPxmn1G92qZdoWzbG_NVzVk,307902
8
- tencentcloud_sdk_python_kms-3.1.53.dist-info/METADATA,sha256=j4lbljK3t7kOjPJ24QoEt-9n8wd0BnTs8eatx_OtZH8,1495
9
- tencentcloud_sdk_python_kms-3.1.53.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
- tencentcloud_sdk_python_kms-3.1.53.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
- tencentcloud_sdk_python_kms-3.1.53.dist-info/RECORD,,
7
+ tencentcloud/kms/v20190118/models.py,sha256=V8EvgCmeaBDEuUfmpubXKDf_KwpToav9cE0K2_hmb-A,310755
8
+ tencentcloud_sdk_python_kms-3.1.86.dist-info/METADATA,sha256=QJJJ2Y1Fy5yM9ILJCTt0k_J7uWN8JNkL1buN5piA49M,1495
9
+ tencentcloud_sdk_python_kms-3.1.86.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
10
+ tencentcloud_sdk_python_kms-3.1.86.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
11
+ tencentcloud_sdk_python_kms-3.1.86.dist-info/RECORD,,