tencentcloud-sdk-python 3.0.1257__py2.py3-none-any.whl → 3.0.1259__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 (108) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/apm/v20210622/models.py +26 -0
  3. tencentcloud/asr/v20190614/models.py +3 -2
  4. tencentcloud/autoscaling/v20180419/autoscaling_client.py +7 -1
  5. tencentcloud/autoscaling/v20180419/errorcodes.py +3 -0
  6. tencentcloud/autoscaling/v20180419/models.py +18 -2
  7. tencentcloud/bi/v20220105/models.py +44 -4
  8. tencentcloud/billing/v20180709/billing_client.py +23 -0
  9. tencentcloud/billing/v20180709/errorcodes.py +6 -0
  10. tencentcloud/billing/v20180709/models.py +424 -0
  11. tencentcloud/bsca/v20210811/models.py +306 -1
  12. tencentcloud/ccc/v20200210/ccc_client.py +23 -0
  13. tencentcloud/ccc/v20200210/errorcodes.py +6 -0
  14. tencentcloud/ccc/v20200210/models.py +237 -136
  15. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  16. tencentcloud/cdb/v20170320/models.py +13 -1
  17. tencentcloud/cdn/v20180606/models.py +1 -1
  18. tencentcloud/cdwdoris/v20211228/models.py +16 -2
  19. tencentcloud/cfw/v20190904/cfw_client.py +7 -33
  20. tencentcloud/cfw/v20190904/models.py +711 -1329
  21. tencentcloud/ciam/v20220331/models.py +13 -0
  22. tencentcloud/ckafka/v20190819/models.py +4 -4
  23. tencentcloud/clb/v20180317/models.py +2 -4
  24. tencentcloud/cloudaudit/v20190319/cloudaudit_client.py +30 -34
  25. tencentcloud/cloudaudit/v20190319/errorcodes.py +0 -39
  26. tencentcloud/cloudaudit/v20190319/models.py +328 -254
  27. tencentcloud/cls/v20201016/cls_client.py +8 -1
  28. tencentcloud/cls/v20201016/models.py +551 -109
  29. tencentcloud/csip/v20221121/models.py +226 -136
  30. tencentcloud/cvm/v20170312/errorcodes.py +6 -0
  31. tencentcloud/cvm/v20170312/models.py +78 -0
  32. tencentcloud/cwp/v20180228/cwp_client.py +6 -2
  33. tencentcloud/cwp/v20180228/models.py +240 -114
  34. tencentcloud/cynosdb/v20190107/cynosdb_client.py +27 -27
  35. tencentcloud/cynosdb/v20190107/models.py +78 -0
  36. tencentcloud/dasb/v20191018/models.py +155 -0
  37. tencentcloud/domain/v20180808/errorcodes.py +45 -0
  38. tencentcloud/eb/v20210416/models.py +19 -19
  39. tencentcloud/es/v20180416/errorcodes.py +4 -1
  40. tencentcloud/es/v20180416/es_client.py +92 -0
  41. tencentcloud/es/v20180416/models.py +770 -12
  42. tencentcloud/ess/v20201111/ess_client.py +87 -8
  43. tencentcloud/ess/v20201111/models.py +239 -11
  44. tencentcloud/essbasic/v20210526/essbasic_client.py +135 -51
  45. tencentcloud/essbasic/v20210526/models.py +365 -19
  46. tencentcloud/gaap/v20180529/models.py +40 -3
  47. tencentcloud/hunyuan/v20230901/models.py +12 -0
  48. tencentcloud/ioa/v20220601/errorcodes.py +15 -0
  49. tencentcloud/ioa/v20220601/ioa_client.py +26 -2
  50. tencentcloud/ioa/v20220601/models.py +516 -46
  51. tencentcloud/iotexplorer/v20190423/models.py +52 -0
  52. tencentcloud/iotvideo/v20191126/iotvideo_client.py +46 -0
  53. tencentcloud/iotvideo/v20191126/models.py +379 -0
  54. tencentcloud/lighthouse/v20200324/errorcodes.py +1 -1
  55. tencentcloud/live/v20180801/models.py +51 -0
  56. tencentcloud/mongodb/v20190725/models.py +3 -7
  57. tencentcloud/mqtt/v20240516/models.py +2 -2
  58. tencentcloud/mrs/v20200910/models.py +22 -0
  59. tencentcloud/ms/v20180408/models.py +101 -62
  60. tencentcloud/ocr/v20181119/models.py +7 -16
  61. tencentcloud/ocr/v20181119/ocr_client.py +1 -0
  62. tencentcloud/organization/v20210331/errorcodes.py +30 -0
  63. tencentcloud/organization/v20210331/models.py +674 -0
  64. tencentcloud/organization/v20210331/organization_client.py +138 -0
  65. tencentcloud/privatedns/v20201028/errorcodes.py +12 -0
  66. tencentcloud/privatedns/v20201028/models.py +858 -4
  67. tencentcloud/privatedns/v20201028/privatedns_client.py +92 -0
  68. tencentcloud/redis/v20180412/models.py +14 -14
  69. tencentcloud/redis/v20180412/redis_client.py +2 -0
  70. tencentcloud/region/v20220627/models.py +0 -1
  71. tencentcloud/scf/v20180416/models.py +889 -8
  72. tencentcloud/scf/v20180416/scf_client.py +115 -0
  73. tencentcloud/smop/v20201203/models.py +17 -17
  74. tencentcloud/ssl/v20191205/models.py +1 -1
  75. tencentcloud/ssm/v20190923/models.py +84 -0
  76. tencentcloud/tat/v20201028/models.py +1 -29
  77. tencentcloud/tcss/v20201101/models.py +472 -46
  78. tencentcloud/tcss/v20201101/tcss_client.py +1 -1
  79. tencentcloud/tdmq/v20200217/models.py +7 -7
  80. tencentcloud/tem/v20210701/models.py +202 -198
  81. tencentcloud/teo/v20220901/errorcodes.py +30 -0
  82. tencentcloud/teo/v20220901/models.py +1466 -93
  83. tencentcloud/teo/v20220901/teo_client.py +115 -0
  84. tencentcloud/tke/v20180525/models.py +70 -0
  85. tencentcloud/tke/v20180525/tke_client.py +23 -0
  86. tencentcloud/tms/v20201229/models.py +0 -558
  87. tencentcloud/tms/v20201229/tms_client.py +0 -23
  88. tencentcloud/trp/v20210515/models.py +6 -6
  89. tencentcloud/trtc/v20190722/models.py +353 -4
  90. tencentcloud/tse/v20201207/models.py +94 -0
  91. tencentcloud/tse/v20201207/tse_client.py +23 -0
  92. tencentcloud/vclm/v20240523/models.py +166 -0
  93. tencentcloud/vpc/v20170312/models.py +134 -2
  94. tencentcloud/vpc/v20170312/vpc_client.py +23 -0
  95. tencentcloud/waf/v20180125/models.py +239 -531
  96. tencentcloud/waf/v20180125/waf_client.py +23 -25
  97. tencentcloud/wedata/v20210820/models.py +991 -0
  98. tencentcloud/wedata/v20210820/wedata_client.py +46 -0
  99. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/METADATA +1 -1
  100. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/RECORD +103 -108
  101. tencentcloud/cr/__init__.py +0 -0
  102. tencentcloud/cr/v20180321/__init__.py +0 -0
  103. tencentcloud/cr/v20180321/cr_client.py +0 -672
  104. tencentcloud/cr/v20180321/errorcodes.py +0 -114
  105. tencentcloud/cr/v20180321/models.py +0 -4966
  106. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/LICENSE +0 -0
  107. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/WHEEL +0 -0
  108. {tencentcloud_sdk_python-3.0.1257.dist-info → tencentcloud_sdk_python-3.0.1259.dist-info}/top_level.txt +0 -0
@@ -2793,11 +2793,35 @@ class CreateIotVideoCloudStorageResponse(AbstractModel):
2793
2793
 
2794
2794
  def __init__(self):
2795
2795
  r"""
2796
+ :param _Price: 订单金额,单位为分
2797
+ 注意:此字段可能返回 null,表示取不到有效值。
2798
+ :type Price: int
2799
+ :param _Amount: 支付金额,单位为分
2800
+ 注意:此字段可能返回 null,表示取不到有效值。
2801
+ :type Amount: int
2796
2802
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2797
2803
  :type RequestId: str
2798
2804
  """
2805
+ self._Price = None
2806
+ self._Amount = None
2799
2807
  self._RequestId = None
2800
2808
 
2809
+ @property
2810
+ def Price(self):
2811
+ return self._Price
2812
+
2813
+ @Price.setter
2814
+ def Price(self, Price):
2815
+ self._Price = Price
2816
+
2817
+ @property
2818
+ def Amount(self):
2819
+ return self._Amount
2820
+
2821
+ @Amount.setter
2822
+ def Amount(self, Amount):
2823
+ self._Amount = Amount
2824
+
2801
2825
  @property
2802
2826
  def RequestId(self):
2803
2827
  return self._RequestId
@@ -2808,6 +2832,8 @@ class CreateIotVideoCloudStorageResponse(AbstractModel):
2808
2832
 
2809
2833
 
2810
2834
  def _deserialize(self, params):
2835
+ self._Price = params.get("Price")
2836
+ self._Amount = params.get("Amount")
2811
2837
  self._RequestId = params.get("RequestId")
2812
2838
 
2813
2839
 
@@ -6024,6 +6050,12 @@ class DescribeCloudStorageOrderResponse(AbstractModel):
6024
6050
  :type Status: int
6025
6051
  :param _ChannelId: 通道id
6026
6052
  :type ChannelId: int
6053
+ :param _Price: 订单金额,单位为分
6054
+ 注意:此字段可能返回 null,表示取不到有效值。
6055
+ :type Price: int
6056
+ :param _Amount: 支付金额,单位为分
6057
+ 注意:此字段可能返回 null,表示取不到有效值。
6058
+ :type Amount: int
6027
6059
  :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
6028
6060
  :type RequestId: str
6029
6061
  """
@@ -6032,6 +6064,8 @@ class DescribeCloudStorageOrderResponse(AbstractModel):
6032
6064
  self._PackageId = None
6033
6065
  self._Status = None
6034
6066
  self._ChannelId = None
6067
+ self._Price = None
6068
+ self._Amount = None
6035
6069
  self._RequestId = None
6036
6070
 
6037
6071
  @property
@@ -6074,6 +6108,22 @@ class DescribeCloudStorageOrderResponse(AbstractModel):
6074
6108
  def ChannelId(self, ChannelId):
6075
6109
  self._ChannelId = ChannelId
6076
6110
 
6111
+ @property
6112
+ def Price(self):
6113
+ return self._Price
6114
+
6115
+ @Price.setter
6116
+ def Price(self, Price):
6117
+ self._Price = Price
6118
+
6119
+ @property
6120
+ def Amount(self):
6121
+ return self._Amount
6122
+
6123
+ @Amount.setter
6124
+ def Amount(self, Amount):
6125
+ self._Amount = Amount
6126
+
6077
6127
  @property
6078
6128
  def RequestId(self):
6079
6129
  return self._RequestId
@@ -6089,6 +6139,8 @@ class DescribeCloudStorageOrderResponse(AbstractModel):
6089
6139
  self._PackageId = params.get("PackageId")
6090
6140
  self._Status = params.get("Status")
6091
6141
  self._ChannelId = params.get("ChannelId")
6142
+ self._Price = params.get("Price")
6143
+ self._Amount = params.get("Amount")
6092
6144
  self._RequestId = params.get("RequestId")
6093
6145
 
6094
6146
 
@@ -354,6 +354,29 @@ class IotvideoClient(AbstractClient):
354
354
  raise TencentCloudSDKException(type(e).__name__, str(e))
355
355
 
356
356
 
357
+ def CreateUploadTest(self, request):
358
+ """设备申请cos上传证书
359
+
360
+ :param request: Request instance for CreateUploadTest.
361
+ :type request: :class:`tencentcloud.iotvideo.v20191126.models.CreateUploadTestRequest`
362
+ :rtype: :class:`tencentcloud.iotvideo.v20191126.models.CreateUploadTestResponse`
363
+
364
+ """
365
+ try:
366
+ params = request._serialize()
367
+ headers = request.headers
368
+ body = self.call("CreateUploadTest", params, headers=headers)
369
+ response = json.loads(body)
370
+ model = models.CreateUploadTestResponse()
371
+ model._deserialize(response["Response"])
372
+ return model
373
+ except Exception as e:
374
+ if isinstance(e, TencentCloudSDKException):
375
+ raise
376
+ else:
377
+ raise TencentCloudSDKException(type(e).__name__, str(e))
378
+
379
+
357
380
  def CreateUsrToken(self, request):
358
381
  """本接口(CreateUsrToken)用于终端用户获取IoT Video平台的accessToken,初始化SDK,连接到IoT Video接入服务器。
359
382
 
@@ -1360,6 +1383,29 @@ class IotvideoClient(AbstractClient):
1360
1383
  raise TencentCloudSDKException(type(e).__name__, str(e))
1361
1384
 
1362
1385
 
1386
+ def RenewUploadTest(self, request):
1387
+ """设备刷新cos上传证书
1388
+
1389
+ :param request: Request instance for RenewUploadTest.
1390
+ :type request: :class:`tencentcloud.iotvideo.v20191126.models.RenewUploadTestRequest`
1391
+ :rtype: :class:`tencentcloud.iotvideo.v20191126.models.RenewUploadTestResponse`
1392
+
1393
+ """
1394
+ try:
1395
+ params = request._serialize()
1396
+ headers = request.headers
1397
+ body = self.call("RenewUploadTest", params, headers=headers)
1398
+ response = json.loads(body)
1399
+ model = models.RenewUploadTestResponse()
1400
+ model._deserialize(response["Response"])
1401
+ return model
1402
+ except Exception as e:
1403
+ if isinstance(e, TencentCloudSDKException):
1404
+ raise
1405
+ else:
1406
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1407
+
1408
+
1363
1409
  def RunDevice(self, request):
1364
1410
  """本接口(RunDevice)用于启用设备,可进行批量操作,每次操作最多100台设备。
1365
1411
 
@@ -133,6 +133,79 @@ class BindUsrInfo(AbstractModel):
133
133
 
134
134
 
135
135
 
136
+ class CertificateInfo(AbstractModel):
137
+ """证书信息
138
+
139
+ """
140
+
141
+ def __init__(self):
142
+ r"""
143
+ :param _SecretId: SecretId
144
+ 注意:此字段可能返回 null,表示取不到有效值。
145
+ :type SecretId: str
146
+ :param _SecretKey: SecretKey
147
+ 注意:此字段可能返回 null,表示取不到有效值。
148
+ :type SecretKey: str
149
+ :param _Token: Token
150
+ 注意:此字段可能返回 null,表示取不到有效值。
151
+ :type Token: str
152
+ :param _ExpiredTime: 过期时间,UNIX时间戳,单位秒
153
+ 注意:此字段可能返回 null,表示取不到有效值。
154
+ :type ExpiredTime: int
155
+ """
156
+ self._SecretId = None
157
+ self._SecretKey = None
158
+ self._Token = None
159
+ self._ExpiredTime = None
160
+
161
+ @property
162
+ def SecretId(self):
163
+ return self._SecretId
164
+
165
+ @SecretId.setter
166
+ def SecretId(self, SecretId):
167
+ self._SecretId = SecretId
168
+
169
+ @property
170
+ def SecretKey(self):
171
+ return self._SecretKey
172
+
173
+ @SecretKey.setter
174
+ def SecretKey(self, SecretKey):
175
+ self._SecretKey = SecretKey
176
+
177
+ @property
178
+ def Token(self):
179
+ return self._Token
180
+
181
+ @Token.setter
182
+ def Token(self, Token):
183
+ self._Token = Token
184
+
185
+ @property
186
+ def ExpiredTime(self):
187
+ return self._ExpiredTime
188
+
189
+ @ExpiredTime.setter
190
+ def ExpiredTime(self, ExpiredTime):
191
+ self._ExpiredTime = ExpiredTime
192
+
193
+
194
+ def _deserialize(self, params):
195
+ self._SecretId = params.get("SecretId")
196
+ self._SecretKey = params.get("SecretKey")
197
+ self._Token = params.get("Token")
198
+ self._ExpiredTime = params.get("ExpiredTime")
199
+ memeber_set = set(params.keys())
200
+ for name, value in vars(self).items():
201
+ property_name = name[1:]
202
+ if property_name in memeber_set:
203
+ memeber_set.remove(property_name)
204
+ if len(memeber_set) > 0:
205
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
206
+
207
+
208
+
136
209
  class ClearDeviceActiveCodeRequest(AbstractModel):
137
210
  """ClearDeviceActiveCode请求参数结构体
138
211
 
@@ -264,6 +337,94 @@ class Contents(AbstractModel):
264
337
 
265
338
 
266
339
 
340
+ class CosCertificate(AbstractModel):
341
+ """申请上传证书回包
342
+
343
+ """
344
+
345
+ def __init__(self):
346
+ r"""
347
+ :param _StorageBucket: cos存储桶
348
+ 注意:此字段可能返回 null,表示取不到有效值。
349
+ :type StorageBucket: str
350
+ :param _StorageRegion: cos存储园区
351
+ 注意:此字段可能返回 null,表示取不到有效值。
352
+ :type StorageRegion: str
353
+ :param _StoragePath: 存储路径,录制场景下该值为存储目录
354
+ 注意:此字段可能返回 null,表示取不到有效值。
355
+ :type StoragePath: str
356
+ :param _TempCertificate: 证书信息
357
+ 注意:此字段可能返回 null,表示取不到有效值。
358
+ :type TempCertificate: :class:`tencentcloud.iotvideo.v20191126.models.CertificateInfo`
359
+ :param _SessionKey: SessionKey
360
+ 注意:此字段可能返回 null,表示取不到有效值。
361
+ :type SessionKey: str
362
+ """
363
+ self._StorageBucket = None
364
+ self._StorageRegion = None
365
+ self._StoragePath = None
366
+ self._TempCertificate = None
367
+ self._SessionKey = None
368
+
369
+ @property
370
+ def StorageBucket(self):
371
+ return self._StorageBucket
372
+
373
+ @StorageBucket.setter
374
+ def StorageBucket(self, StorageBucket):
375
+ self._StorageBucket = StorageBucket
376
+
377
+ @property
378
+ def StorageRegion(self):
379
+ return self._StorageRegion
380
+
381
+ @StorageRegion.setter
382
+ def StorageRegion(self, StorageRegion):
383
+ self._StorageRegion = StorageRegion
384
+
385
+ @property
386
+ def StoragePath(self):
387
+ return self._StoragePath
388
+
389
+ @StoragePath.setter
390
+ def StoragePath(self, StoragePath):
391
+ self._StoragePath = StoragePath
392
+
393
+ @property
394
+ def TempCertificate(self):
395
+ return self._TempCertificate
396
+
397
+ @TempCertificate.setter
398
+ def TempCertificate(self, TempCertificate):
399
+ self._TempCertificate = TempCertificate
400
+
401
+ @property
402
+ def SessionKey(self):
403
+ return self._SessionKey
404
+
405
+ @SessionKey.setter
406
+ def SessionKey(self, SessionKey):
407
+ self._SessionKey = SessionKey
408
+
409
+
410
+ def _deserialize(self, params):
411
+ self._StorageBucket = params.get("StorageBucket")
412
+ self._StorageRegion = params.get("StorageRegion")
413
+ self._StoragePath = params.get("StoragePath")
414
+ if params.get("TempCertificate") is not None:
415
+ self._TempCertificate = CertificateInfo()
416
+ self._TempCertificate._deserialize(params.get("TempCertificate"))
417
+ self._SessionKey = params.get("SessionKey")
418
+ memeber_set = set(params.keys())
419
+ for name, value in vars(self).items():
420
+ property_name = name[1:]
421
+ if property_name in memeber_set:
422
+ memeber_set.remove(property_name)
423
+ if len(memeber_set) > 0:
424
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
425
+
426
+
427
+
267
428
  class CreateAnonymousAccessTokenRequest(AbstractModel):
268
429
  """CreateAnonymousAccessToken请求参数结构体
269
430
 
@@ -1736,6 +1897,91 @@ class CreateUploadPathResponse(AbstractModel):
1736
1897
  self._RequestId = params.get("RequestId")
1737
1898
 
1738
1899
 
1900
+ class CreateUploadTestRequest(AbstractModel):
1901
+ """CreateUploadTest请求参数结构体
1902
+
1903
+ """
1904
+
1905
+ def __init__(self):
1906
+ r"""
1907
+ :param _PkgId: package ID
1908
+ :type PkgId: str
1909
+ :param _Tid: 设备TID
1910
+ :type Tid: str
1911
+ """
1912
+ self._PkgId = None
1913
+ self._Tid = None
1914
+
1915
+ @property
1916
+ def PkgId(self):
1917
+ return self._PkgId
1918
+
1919
+ @PkgId.setter
1920
+ def PkgId(self, PkgId):
1921
+ self._PkgId = PkgId
1922
+
1923
+ @property
1924
+ def Tid(self):
1925
+ return self._Tid
1926
+
1927
+ @Tid.setter
1928
+ def Tid(self, Tid):
1929
+ self._Tid = Tid
1930
+
1931
+
1932
+ def _deserialize(self, params):
1933
+ self._PkgId = params.get("PkgId")
1934
+ self._Tid = params.get("Tid")
1935
+ memeber_set = set(params.keys())
1936
+ for name, value in vars(self).items():
1937
+ property_name = name[1:]
1938
+ if property_name in memeber_set:
1939
+ memeber_set.remove(property_name)
1940
+ if len(memeber_set) > 0:
1941
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
1942
+
1943
+
1944
+
1945
+ class CreateUploadTestResponse(AbstractModel):
1946
+ """CreateUploadTest返回参数结构体
1947
+
1948
+ """
1949
+
1950
+ def __init__(self):
1951
+ r"""
1952
+ :param _Data: 申请设备证书返回的信息
1953
+ 注意:此字段可能返回 null,表示取不到有效值。
1954
+ :type Data: :class:`tencentcloud.iotvideo.v20191126.models.CosCertificate`
1955
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1956
+ :type RequestId: str
1957
+ """
1958
+ self._Data = None
1959
+ self._RequestId = None
1960
+
1961
+ @property
1962
+ def Data(self):
1963
+ return self._Data
1964
+
1965
+ @Data.setter
1966
+ def Data(self, Data):
1967
+ self._Data = Data
1968
+
1969
+ @property
1970
+ def RequestId(self):
1971
+ return self._RequestId
1972
+
1973
+ @RequestId.setter
1974
+ def RequestId(self, RequestId):
1975
+ self._RequestId = RequestId
1976
+
1977
+
1978
+ def _deserialize(self, params):
1979
+ if params.get("Data") is not None:
1980
+ self._Data = CosCertificate()
1981
+ self._Data._deserialize(params.get("Data"))
1982
+ self._RequestId = params.get("RequestId")
1983
+
1984
+
1739
1985
  class CreateUsrTokenRequest(AbstractModel):
1740
1986
  """CreateUsrToken请求参数结构体
1741
1987
 
@@ -7176,6 +7422,139 @@ class RegisteredStatus(AbstractModel):
7176
7422
 
7177
7423
 
7178
7424
 
7425
+ class RenewCertificate(AbstractModel):
7426
+ """刷新证书信息
7427
+
7428
+ """
7429
+
7430
+ def __init__(self):
7431
+ r"""
7432
+ :param _TempCertificate: 刷新证书信息
7433
+ 注意:此字段可能返回 null,表示取不到有效值。
7434
+ :type TempCertificate: :class:`tencentcloud.iotvideo.v20191126.models.CertificateInfo`
7435
+ """
7436
+ self._TempCertificate = None
7437
+
7438
+ @property
7439
+ def TempCertificate(self):
7440
+ return self._TempCertificate
7441
+
7442
+ @TempCertificate.setter
7443
+ def TempCertificate(self, TempCertificate):
7444
+ self._TempCertificate = TempCertificate
7445
+
7446
+
7447
+ def _deserialize(self, params):
7448
+ if params.get("TempCertificate") is not None:
7449
+ self._TempCertificate = CertificateInfo()
7450
+ self._TempCertificate._deserialize(params.get("TempCertificate"))
7451
+ memeber_set = set(params.keys())
7452
+ for name, value in vars(self).items():
7453
+ property_name = name[1:]
7454
+ if property_name in memeber_set:
7455
+ memeber_set.remove(property_name)
7456
+ if len(memeber_set) > 0:
7457
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7458
+
7459
+
7460
+
7461
+ class RenewUploadTestRequest(AbstractModel):
7462
+ """RenewUploadTest请求参数结构体
7463
+
7464
+ """
7465
+
7466
+ def __init__(self):
7467
+ r"""
7468
+ :param _PkgId: package ID
7469
+ :type PkgId: str
7470
+ :param _Tid: 设备TID
7471
+ :type Tid: str
7472
+ :param _SessionKey: SessionKeys
7473
+ :type SessionKey: str
7474
+ """
7475
+ self._PkgId = None
7476
+ self._Tid = None
7477
+ self._SessionKey = None
7478
+
7479
+ @property
7480
+ def PkgId(self):
7481
+ return self._PkgId
7482
+
7483
+ @PkgId.setter
7484
+ def PkgId(self, PkgId):
7485
+ self._PkgId = PkgId
7486
+
7487
+ @property
7488
+ def Tid(self):
7489
+ return self._Tid
7490
+
7491
+ @Tid.setter
7492
+ def Tid(self, Tid):
7493
+ self._Tid = Tid
7494
+
7495
+ @property
7496
+ def SessionKey(self):
7497
+ return self._SessionKey
7498
+
7499
+ @SessionKey.setter
7500
+ def SessionKey(self, SessionKey):
7501
+ self._SessionKey = SessionKey
7502
+
7503
+
7504
+ def _deserialize(self, params):
7505
+ self._PkgId = params.get("PkgId")
7506
+ self._Tid = params.get("Tid")
7507
+ self._SessionKey = params.get("SessionKey")
7508
+ memeber_set = set(params.keys())
7509
+ for name, value in vars(self).items():
7510
+ property_name = name[1:]
7511
+ if property_name in memeber_set:
7512
+ memeber_set.remove(property_name)
7513
+ if len(memeber_set) > 0:
7514
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
7515
+
7516
+
7517
+
7518
+ class RenewUploadTestResponse(AbstractModel):
7519
+ """RenewUploadTest返回参数结构体
7520
+
7521
+ """
7522
+
7523
+ def __init__(self):
7524
+ r"""
7525
+ :param _Data: 刷新证书返回的信息
7526
+ 注意:此字段可能返回 null,表示取不到有效值。
7527
+ :type Data: :class:`tencentcloud.iotvideo.v20191126.models.RenewCertificate`
7528
+ :param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
7529
+ :type RequestId: str
7530
+ """
7531
+ self._Data = None
7532
+ self._RequestId = None
7533
+
7534
+ @property
7535
+ def Data(self):
7536
+ return self._Data
7537
+
7538
+ @Data.setter
7539
+ def Data(self, Data):
7540
+ self._Data = Data
7541
+
7542
+ @property
7543
+ def RequestId(self):
7544
+ return self._RequestId
7545
+
7546
+ @RequestId.setter
7547
+ def RequestId(self, RequestId):
7548
+ self._RequestId = RequestId
7549
+
7550
+
7551
+ def _deserialize(self, params):
7552
+ if params.get("Data") is not None:
7553
+ self._Data = RenewCertificate()
7554
+ self._Data._deserialize(params.get("Data"))
7555
+ self._RequestId = params.get("RequestId")
7556
+
7557
+
7179
7558
  class RunDeviceRequest(AbstractModel):
7180
7559
  """RunDevice请求参数结构体
7181
7560
 
@@ -296,7 +296,7 @@ INVALIDPARAMETERVALUE_FIELDSCOMPARE = 'InvalidParameterValue.FieldsCompare'
296
296
  # 防火墙规则描述长度超出限制。
297
297
  INVALIDPARAMETERVALUE_FIREWALLRULEDESCRIPTIONTOOLONG = 'InvalidParameterValue.FirewallRuleDescriptionTooLong'
298
298
 
299
- # 防火墙模版ID格式非法。
299
+ # 防火墙模板ID格式非法。
300
300
  INVALIDPARAMETERVALUE_FIREWALLTEMPLATEIDMALFORMED = 'InvalidParameterValue.FirewallTemplateIdMalformed'
301
301
 
302
302
  # 参数值非法,实例 ID 格式非法。
@@ -26271,6 +26271,9 @@ class TimeShiftStreamInfo(AbstractModel):
26271
26271
  :param _Duration: 时移数据存储时长,单位秒。
26272
26272
  注意:此字段可能返回 null,表示取不到有效值。
26273
26273
  :type Duration: int
26274
+ :param _TimeShiftSubStreams: 时移自适应码率子流列表。
26275
+ 注意:此字段可能返回 null,表示取不到有效值。
26276
+ :type TimeShiftSubStreams: list of TimeShiftSubStream
26274
26277
  """
26275
26278
  self._DomainGroup = None
26276
26279
  self._Domain = None
@@ -26281,6 +26284,7 @@ class TimeShiftStreamInfo(AbstractModel):
26281
26284
  self._TransCodeId = None
26282
26285
  self._StreamType = None
26283
26286
  self._Duration = None
26287
+ self._TimeShiftSubStreams = None
26284
26288
 
26285
26289
  @property
26286
26290
  def DomainGroup(self):
@@ -26354,6 +26358,14 @@ class TimeShiftStreamInfo(AbstractModel):
26354
26358
  def Duration(self, Duration):
26355
26359
  self._Duration = Duration
26356
26360
 
26361
+ @property
26362
+ def TimeShiftSubStreams(self):
26363
+ return self._TimeShiftSubStreams
26364
+
26365
+ @TimeShiftSubStreams.setter
26366
+ def TimeShiftSubStreams(self, TimeShiftSubStreams):
26367
+ self._TimeShiftSubStreams = TimeShiftSubStreams
26368
+
26357
26369
 
26358
26370
  def _deserialize(self, params):
26359
26371
  self._DomainGroup = params.get("DomainGroup")
@@ -26365,6 +26377,45 @@ class TimeShiftStreamInfo(AbstractModel):
26365
26377
  self._TransCodeId = params.get("TransCodeId")
26366
26378
  self._StreamType = params.get("StreamType")
26367
26379
  self._Duration = params.get("Duration")
26380
+ if params.get("TimeShiftSubStreams") is not None:
26381
+ self._TimeShiftSubStreams = []
26382
+ for item in params.get("TimeShiftSubStreams"):
26383
+ obj = TimeShiftSubStream()
26384
+ obj._deserialize(item)
26385
+ self._TimeShiftSubStreams.append(obj)
26386
+ memeber_set = set(params.keys())
26387
+ for name, value in vars(self).items():
26388
+ property_name = name[1:]
26389
+ if property_name in memeber_set:
26390
+ memeber_set.remove(property_name)
26391
+ if len(memeber_set) > 0:
26392
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
26393
+
26394
+
26395
+
26396
+ class TimeShiftSubStream(AbstractModel):
26397
+ """时移自适应码率子流信息。
26398
+
26399
+ """
26400
+
26401
+ def __init__(self):
26402
+ r"""
26403
+ :param _TransCodeId: 时移自适应码率子流转码模板ID。
26404
+ :type TransCodeId: int
26405
+ """
26406
+ self._TransCodeId = None
26407
+
26408
+ @property
26409
+ def TransCodeId(self):
26410
+ return self._TransCodeId
26411
+
26412
+ @TransCodeId.setter
26413
+ def TransCodeId(self, TransCodeId):
26414
+ self._TransCodeId = TransCodeId
26415
+
26416
+
26417
+ def _deserialize(self, params):
26418
+ self._TransCodeId = params.get("TransCodeId")
26368
26419
  memeber_set = set(params.keys())
26369
26420
  for name, value in vars(self).items():
26370
26421
  property_name = name[1:]
@@ -5706,15 +5706,11 @@ class InstanceChargePrepaid(AbstractModel):
5706
5706
  def __init__(self):
5707
5707
  r"""
5708
5708
  :param _Period: 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36。默认为1。
5709
- (InquirePriceRenewDBInstances,RenewDBInstances调用时必填)
5710
5709
  :type Period: int
5711
5710
  :param _RenewFlag: 自动续费标识。取值范围:
5712
- NOTIFY_AND_AUTO_RENEW:通知过期且自动续费
5713
- NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
5714
- DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
5715
-
5716
- 默认取值:NOTIFY_AND_MANUAL_RENEW。若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。
5717
- (InquirePriceRenewDBInstances,RenewDBInstances调用时必填)
5711
+ - NOTIFY_AND_AUTO_RENEW:通知过期且自动续费。在账户余额充足的情况下,实例到期后将按月自动续费。
5712
+ - NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费。默认为NOTIFY_AND_MANUAL_RENEW。
5713
+ - DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费。
5718
5714
  :type RenewFlag: str
5719
5715
  """
5720
5716
  self._Period = None
@@ -25,9 +25,9 @@ class AuthorizationPolicyItem(AbstractModel):
25
25
 
26
26
  def __init__(self):
27
27
  r"""
28
- :param _Id: 规则id
28
+ :param _Id: 规则ID
29
29
  :type Id: int
30
- :param _InstanceId: 集群id
30
+ :param _InstanceId: 集群ID
31
31
  :type InstanceId: str
32
32
  :param _PolicyName: 规则名
33
33
  注意:此字段可能返回 null,表示取不到有效值。