tencentcloud-sdk-python-intl-en 3.0.1104__py2.py3-none-any.whl → 3.0.1106__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.

Potentially problematic release.


This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.

tencentcloud/__init__.py CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1104'
16
+ __version__ = '3.0.1106'
@@ -269,7 +269,7 @@ INVALIDPARAMETER_INVALIDDEPENDENCE = 'InvalidParameter.InvalidDependence'
269
269
  # Invalid VPC IP address format.
270
270
  INVALIDPARAMETER_INVALIDIPFORMAT = 'InvalidParameter.InvalidIpFormat'
271
271
 
272
- #
272
+ # The specified KMS key ID is invalid.
273
273
  INVALIDPARAMETER_INVALIDKMSKEYID = 'InvalidParameter.InvalidKmsKeyId'
274
274
 
275
275
  # `ImageIds` and `Filters` cannot be specified at the same time.
@@ -1070,7 +1070,7 @@ UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGING = 'UnsupportedOperation.StoppedMode
1070
1070
  # Configuration adjustment of the same type is not supported for instances with no charges when shut down.
1071
1071
  UNSUPPORTEDOPERATION_STOPPEDMODESTOPCHARGINGSAMEFAMILY = 'UnsupportedOperation.StoppedModeStopChargingSameFamily'
1072
1072
 
1073
- #
1073
+ # The specified image does not support synchronization to an encrypted custom image.
1074
1074
  UNSUPPORTEDOPERATION_SYNCENCRYPTIMAGENOTSUPPORT = 'UnsupportedOperation.SyncEncryptImageNotSupport'
1075
1075
 
1076
1076
  #
@@ -16218,12 +16218,22 @@ Default value: false.
16218
16218
 
16219
16219
  Default value: false.
16220
16220
  :type ImageSetRequired: bool
16221
+ :param _Encrypt: Whether to synchronize as an encrypted custom image.
16222
+ Default value is `false`.
16223
+ Synchronization to an encrypted custom image is only supported within the same region.
16224
+ :type Encrypt: bool
16225
+ :param _KmsKeyId: KMS key ID used when synchronizing to an encrypted custom image.
16226
+ This parameter is valid only synchronizing to an encrypted image.
16227
+ If KmsKeyId is not specified, the default CBS cloud product KMS key is used.
16228
+ :type KmsKeyId: str
16221
16229
  """
16222
16230
  self._ImageIds = None
16223
16231
  self._DestinationRegions = None
16224
16232
  self._DryRun = None
16225
16233
  self._ImageName = None
16226
16234
  self._ImageSetRequired = None
16235
+ self._Encrypt = None
16236
+ self._KmsKeyId = None
16227
16237
 
16228
16238
  @property
16229
16239
  def ImageIds(self):
@@ -16284,6 +16294,32 @@ Default value: false.
16284
16294
  def ImageSetRequired(self, ImageSetRequired):
16285
16295
  self._ImageSetRequired = ImageSetRequired
16286
16296
 
16297
+ @property
16298
+ def Encrypt(self):
16299
+ """Whether to synchronize as an encrypted custom image.
16300
+ Default value is `false`.
16301
+ Synchronization to an encrypted custom image is only supported within the same region.
16302
+ :rtype: bool
16303
+ """
16304
+ return self._Encrypt
16305
+
16306
+ @Encrypt.setter
16307
+ def Encrypt(self, Encrypt):
16308
+ self._Encrypt = Encrypt
16309
+
16310
+ @property
16311
+ def KmsKeyId(self):
16312
+ """KMS key ID used when synchronizing to an encrypted custom image.
16313
+ This parameter is valid only synchronizing to an encrypted image.
16314
+ If KmsKeyId is not specified, the default CBS cloud product KMS key is used.
16315
+ :rtype: str
16316
+ """
16317
+ return self._KmsKeyId
16318
+
16319
+ @KmsKeyId.setter
16320
+ def KmsKeyId(self, KmsKeyId):
16321
+ self._KmsKeyId = KmsKeyId
16322
+
16287
16323
 
16288
16324
  def _deserialize(self, params):
16289
16325
  self._ImageIds = params.get("ImageIds")
@@ -16291,6 +16327,8 @@ Default value: false.
16291
16327
  self._DryRun = params.get("DryRun")
16292
16328
  self._ImageName = params.get("ImageName")
16293
16329
  self._ImageSetRequired = params.get("ImageSetRequired")
16330
+ self._Encrypt = params.get("Encrypt")
16331
+ self._KmsKeyId = params.get("KmsKeyId")
16294
16332
  memeber_set = set(params.keys())
16295
16333
  for name, value in vars(self).items():
16296
16334
  property_name = name[1:]
@@ -15668,6 +15668,117 @@ class CreateImageSpriteTemplateResponse(AbstractModel):
15668
15668
  self._RequestId = params.get("RequestId")
15669
15669
 
15670
15670
 
15671
+ class CreateLiveRecordTemplateRequest(AbstractModel):
15672
+ """CreateLiveRecordTemplate request structure.
15673
+
15674
+ """
15675
+
15676
+ def __init__(self):
15677
+ r"""
15678
+ :param _HLSConfigure: HLS configuration parameters.
15679
+ :type HLSConfigure: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
15680
+ :param _Name: Recording template name. Length limit: 64 characters.
15681
+ :type Name: str
15682
+ :param _Comment: Template description, with a length limit of 256 characters.
15683
+ :type Comment: str
15684
+ """
15685
+ self._HLSConfigure = None
15686
+ self._Name = None
15687
+ self._Comment = None
15688
+
15689
+ @property
15690
+ def HLSConfigure(self):
15691
+ """HLS configuration parameters.
15692
+ :rtype: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
15693
+ """
15694
+ return self._HLSConfigure
15695
+
15696
+ @HLSConfigure.setter
15697
+ def HLSConfigure(self, HLSConfigure):
15698
+ self._HLSConfigure = HLSConfigure
15699
+
15700
+ @property
15701
+ def Name(self):
15702
+ """Recording template name. Length limit: 64 characters.
15703
+ :rtype: str
15704
+ """
15705
+ return self._Name
15706
+
15707
+ @Name.setter
15708
+ def Name(self, Name):
15709
+ self._Name = Name
15710
+
15711
+ @property
15712
+ def Comment(self):
15713
+ """Template description, with a length limit of 256 characters.
15714
+ :rtype: str
15715
+ """
15716
+ return self._Comment
15717
+
15718
+ @Comment.setter
15719
+ def Comment(self, Comment):
15720
+ self._Comment = Comment
15721
+
15722
+
15723
+ def _deserialize(self, params):
15724
+ if params.get("HLSConfigure") is not None:
15725
+ self._HLSConfigure = HLSConfigureInfo()
15726
+ self._HLSConfigure._deserialize(params.get("HLSConfigure"))
15727
+ self._Name = params.get("Name")
15728
+ self._Comment = params.get("Comment")
15729
+ memeber_set = set(params.keys())
15730
+ for name, value in vars(self).items():
15731
+ property_name = name[1:]
15732
+ if property_name in memeber_set:
15733
+ memeber_set.remove(property_name)
15734
+ if len(memeber_set) > 0:
15735
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
15736
+
15737
+
15738
+
15739
+ class CreateLiveRecordTemplateResponse(AbstractModel):
15740
+ """CreateLiveRecordTemplate response structure.
15741
+
15742
+ """
15743
+
15744
+ def __init__(self):
15745
+ r"""
15746
+ :param _Definition: Unique identifier of the recording template.
15747
+ :type Definition: int
15748
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
15749
+ :type RequestId: str
15750
+ """
15751
+ self._Definition = None
15752
+ self._RequestId = None
15753
+
15754
+ @property
15755
+ def Definition(self):
15756
+ """Unique identifier of the recording template.
15757
+ :rtype: int
15758
+ """
15759
+ return self._Definition
15760
+
15761
+ @Definition.setter
15762
+ def Definition(self, Definition):
15763
+ self._Definition = Definition
15764
+
15765
+ @property
15766
+ def RequestId(self):
15767
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
15768
+ :rtype: str
15769
+ """
15770
+ return self._RequestId
15771
+
15772
+ @RequestId.setter
15773
+ def RequestId(self, RequestId):
15774
+ self._RequestId = RequestId
15775
+
15776
+
15777
+ def _deserialize(self, params):
15778
+ self._Definition = params.get("Definition")
15779
+ self._RequestId = params.get("RequestId")
15780
+
15781
+
15671
15782
  class CreatePersonSampleRequest(AbstractModel):
15672
15783
  """CreatePersonSample request structure.
15673
15784
 
@@ -17726,6 +17837,70 @@ class DeleteImageSpriteTemplateResponse(AbstractModel):
17726
17837
  self._RequestId = params.get("RequestId")
17727
17838
 
17728
17839
 
17840
+ class DeleteLiveRecordTemplateRequest(AbstractModel):
17841
+ """DeleteLiveRecordTemplate request structure.
17842
+
17843
+ """
17844
+
17845
+ def __init__(self):
17846
+ r"""
17847
+ :param _Definition: Unique identifier of the recording template.
17848
+ :type Definition: int
17849
+ """
17850
+ self._Definition = None
17851
+
17852
+ @property
17853
+ def Definition(self):
17854
+ """Unique identifier of the recording template.
17855
+ :rtype: int
17856
+ """
17857
+ return self._Definition
17858
+
17859
+ @Definition.setter
17860
+ def Definition(self, Definition):
17861
+ self._Definition = Definition
17862
+
17863
+
17864
+ def _deserialize(self, params):
17865
+ self._Definition = params.get("Definition")
17866
+ memeber_set = set(params.keys())
17867
+ for name, value in vars(self).items():
17868
+ property_name = name[1:]
17869
+ if property_name in memeber_set:
17870
+ memeber_set.remove(property_name)
17871
+ if len(memeber_set) > 0:
17872
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
17873
+
17874
+
17875
+
17876
+ class DeleteLiveRecordTemplateResponse(AbstractModel):
17877
+ """DeleteLiveRecordTemplate response structure.
17878
+
17879
+ """
17880
+
17881
+ def __init__(self):
17882
+ r"""
17883
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
17884
+ :type RequestId: str
17885
+ """
17886
+ self._RequestId = None
17887
+
17888
+ @property
17889
+ def RequestId(self):
17890
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
17891
+ :rtype: str
17892
+ """
17893
+ return self._RequestId
17894
+
17895
+ @RequestId.setter
17896
+ def RequestId(self, RequestId):
17897
+ self._RequestId = RequestId
17898
+
17899
+
17900
+ def _deserialize(self, params):
17901
+ self._RequestId = params.get("RequestId")
17902
+
17903
+
17729
17904
  class DeletePersonSampleRequest(AbstractModel):
17730
17905
  """DeletePersonSample request structure.
17731
17906
 
@@ -19291,7 +19466,170 @@ class DescribeImageSpriteTemplatesResponse(AbstractModel):
19291
19466
  for item in params.get("ImageSpriteTemplateSet"):
19292
19467
  obj = ImageSpriteTemplate()
19293
19468
  obj._deserialize(item)
19294
- self._ImageSpriteTemplateSet.append(obj)
19469
+ self._ImageSpriteTemplateSet.append(obj)
19470
+ self._RequestId = params.get("RequestId")
19471
+
19472
+
19473
+ class DescribeLiveRecordTemplatesRequest(AbstractModel):
19474
+ """DescribeLiveRecordTemplates request structure.
19475
+
19476
+ """
19477
+
19478
+ def __init__(self):
19479
+ r"""
19480
+ :param _Definitions: Specifies the recording template unique identifier filter condition, with an array length limit of 100.
19481
+ :type Definitions: list of int
19482
+ :param _Offset: Paging offset. Default value: 0.
19483
+ :type Offset: int
19484
+ :param _Limit: Number of returned entries. Default value: 10. Maximum value: 100.
19485
+ :type Limit: int
19486
+ :param _Type: Indicates the template type filter condition. If left empty, all templates are returned. Valid values:
19487
+ * Preset: System preset template;
19488
+ * Custom
19489
+ :type Type: str
19490
+ :param _Name: Specifies the recording template identifier filter condition, with a length limit of 64 characters.
19491
+ :type Name: str
19492
+ """
19493
+ self._Definitions = None
19494
+ self._Offset = None
19495
+ self._Limit = None
19496
+ self._Type = None
19497
+ self._Name = None
19498
+
19499
+ @property
19500
+ def Definitions(self):
19501
+ """Specifies the recording template unique identifier filter condition, with an array length limit of 100.
19502
+ :rtype: list of int
19503
+ """
19504
+ return self._Definitions
19505
+
19506
+ @Definitions.setter
19507
+ def Definitions(self, Definitions):
19508
+ self._Definitions = Definitions
19509
+
19510
+ @property
19511
+ def Offset(self):
19512
+ """Paging offset. Default value: 0.
19513
+ :rtype: int
19514
+ """
19515
+ return self._Offset
19516
+
19517
+ @Offset.setter
19518
+ def Offset(self, Offset):
19519
+ self._Offset = Offset
19520
+
19521
+ @property
19522
+ def Limit(self):
19523
+ """Number of returned entries. Default value: 10. Maximum value: 100.
19524
+ :rtype: int
19525
+ """
19526
+ return self._Limit
19527
+
19528
+ @Limit.setter
19529
+ def Limit(self, Limit):
19530
+ self._Limit = Limit
19531
+
19532
+ @property
19533
+ def Type(self):
19534
+ """Indicates the template type filter condition. If left empty, all templates are returned. Valid values:
19535
+ * Preset: System preset template;
19536
+ * Custom
19537
+ :rtype: str
19538
+ """
19539
+ return self._Type
19540
+
19541
+ @Type.setter
19542
+ def Type(self, Type):
19543
+ self._Type = Type
19544
+
19545
+ @property
19546
+ def Name(self):
19547
+ """Specifies the recording template identifier filter condition, with a length limit of 64 characters.
19548
+ :rtype: str
19549
+ """
19550
+ return self._Name
19551
+
19552
+ @Name.setter
19553
+ def Name(self, Name):
19554
+ self._Name = Name
19555
+
19556
+
19557
+ def _deserialize(self, params):
19558
+ self._Definitions = params.get("Definitions")
19559
+ self._Offset = params.get("Offset")
19560
+ self._Limit = params.get("Limit")
19561
+ self._Type = params.get("Type")
19562
+ self._Name = params.get("Name")
19563
+ memeber_set = set(params.keys())
19564
+ for name, value in vars(self).items():
19565
+ property_name = name[1:]
19566
+ if property_name in memeber_set:
19567
+ memeber_set.remove(property_name)
19568
+ if len(memeber_set) > 0:
19569
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
19570
+
19571
+
19572
+
19573
+ class DescribeLiveRecordTemplatesResponse(AbstractModel):
19574
+ """DescribeLiveRecordTemplates response structure.
19575
+
19576
+ """
19577
+
19578
+ def __init__(self):
19579
+ r"""
19580
+ :param _TotalCount: Total number of records that meet filter conditions.
19581
+ :type TotalCount: int
19582
+ :param _LiveRecordTemplateSet: Recording template details list.
19583
+ :type LiveRecordTemplateSet: list of LiveRecordTemplate
19584
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
19585
+ :type RequestId: str
19586
+ """
19587
+ self._TotalCount = None
19588
+ self._LiveRecordTemplateSet = None
19589
+ self._RequestId = None
19590
+
19591
+ @property
19592
+ def TotalCount(self):
19593
+ """Total number of records that meet filter conditions.
19594
+ :rtype: int
19595
+ """
19596
+ return self._TotalCount
19597
+
19598
+ @TotalCount.setter
19599
+ def TotalCount(self, TotalCount):
19600
+ self._TotalCount = TotalCount
19601
+
19602
+ @property
19603
+ def LiveRecordTemplateSet(self):
19604
+ """Recording template details list.
19605
+ :rtype: list of LiveRecordTemplate
19606
+ """
19607
+ return self._LiveRecordTemplateSet
19608
+
19609
+ @LiveRecordTemplateSet.setter
19610
+ def LiveRecordTemplateSet(self, LiveRecordTemplateSet):
19611
+ self._LiveRecordTemplateSet = LiveRecordTemplateSet
19612
+
19613
+ @property
19614
+ def RequestId(self):
19615
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
19616
+ :rtype: str
19617
+ """
19618
+ return self._RequestId
19619
+
19620
+ @RequestId.setter
19621
+ def RequestId(self, RequestId):
19622
+ self._RequestId = RequestId
19623
+
19624
+
19625
+ def _deserialize(self, params):
19626
+ self._TotalCount = params.get("TotalCount")
19627
+ if params.get("LiveRecordTemplateSet") is not None:
19628
+ self._LiveRecordTemplateSet = []
19629
+ for item in params.get("LiveRecordTemplateSet"):
19630
+ obj = LiveRecordTemplate()
19631
+ obj._deserialize(item)
19632
+ self._LiveRecordTemplateSet.append(obj)
19295
19633
  self._RequestId = params.get("RequestId")
19296
19634
 
19297
19635
 
@@ -23175,6 +23513,88 @@ class FrameTagConfigureInfoForUpdate(AbstractModel):
23175
23513
 
23176
23514
 
23177
23515
 
23516
+ class HLSConfigureInfo(AbstractModel):
23517
+ """HLS configuration parameters
23518
+
23519
+ """
23520
+
23521
+ def __init__(self):
23522
+ r"""
23523
+ :param _ItemDuration: Duration of a single TS file in seconds. Value range: 5-30 seconds.
23524
+
23525
+ If this parameter is left empty, 30 seconds will be used by default.
23526
+ Note: This field may return null, indicating that no valid value can be obtained.
23527
+ :type ItemDuration: int
23528
+ :param _Interval: Recording cycle in seconds. Value range: 10 minutes to 12 hours.
23529
+
23530
+ If this parameter is left empty, 10 minutes (3600 seconds) will be used by default.
23531
+ Note: This field may return null, indicating that no valid value can be obtained.
23532
+ :type Interval: int
23533
+ :param _ContinueTimeout: Resume recording waiting time, unit: seconds. Value range: 60-1800 seconds.
23534
+ If this parameter is left empty, 0 (resume recording not enabled) will be used by default.
23535
+ Note: This field may return null, indicating that no valid value can be obtained.
23536
+ :type ContinueTimeout: int
23537
+ """
23538
+ self._ItemDuration = None
23539
+ self._Interval = None
23540
+ self._ContinueTimeout = None
23541
+
23542
+ @property
23543
+ def ItemDuration(self):
23544
+ """Duration of a single TS file in seconds. Value range: 5-30 seconds.
23545
+
23546
+ If this parameter is left empty, 30 seconds will be used by default.
23547
+ Note: This field may return null, indicating that no valid value can be obtained.
23548
+ :rtype: int
23549
+ """
23550
+ return self._ItemDuration
23551
+
23552
+ @ItemDuration.setter
23553
+ def ItemDuration(self, ItemDuration):
23554
+ self._ItemDuration = ItemDuration
23555
+
23556
+ @property
23557
+ def Interval(self):
23558
+ """Recording cycle in seconds. Value range: 10 minutes to 12 hours.
23559
+
23560
+ If this parameter is left empty, 10 minutes (3600 seconds) will be used by default.
23561
+ Note: This field may return null, indicating that no valid value can be obtained.
23562
+ :rtype: int
23563
+ """
23564
+ return self._Interval
23565
+
23566
+ @Interval.setter
23567
+ def Interval(self, Interval):
23568
+ self._Interval = Interval
23569
+
23570
+ @property
23571
+ def ContinueTimeout(self):
23572
+ """Resume recording waiting time, unit: seconds. Value range: 60-1800 seconds.
23573
+ If this parameter is left empty, 0 (resume recording not enabled) will be used by default.
23574
+ Note: This field may return null, indicating that no valid value can be obtained.
23575
+ :rtype: int
23576
+ """
23577
+ return self._ContinueTimeout
23578
+
23579
+ @ContinueTimeout.setter
23580
+ def ContinueTimeout(self, ContinueTimeout):
23581
+ self._ContinueTimeout = ContinueTimeout
23582
+
23583
+
23584
+ def _deserialize(self, params):
23585
+ self._ItemDuration = params.get("ItemDuration")
23586
+ self._Interval = params.get("Interval")
23587
+ self._ContinueTimeout = params.get("ContinueTimeout")
23588
+ memeber_set = set(params.keys())
23589
+ for name, value in vars(self).items():
23590
+ property_name = name[1:]
23591
+ if property_name in memeber_set:
23592
+ memeber_set.remove(property_name)
23593
+ if len(memeber_set) > 0:
23594
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
23595
+
23596
+
23597
+
23178
23598
  class HdrConfig(AbstractModel):
23179
23599
  """HDR configuration.
23180
23600
 
@@ -24705,6 +25125,140 @@ Note: This field may return·null, indicating that no valid values can be obtain
24705
25125
 
24706
25126
 
24707
25127
 
25128
+ class LiveRecordTemplate(AbstractModel):
25129
+ """Live recording template details
25130
+
25131
+ """
25132
+
25133
+ def __init__(self):
25134
+ r"""
25135
+ :param _Definition: Specifies the recording template unique identifier.
25136
+ :type Definition: int
25137
+ :param _HLSConfigure: HLS configuration parameters
25138
+ :type HLSConfigure: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
25139
+ :param _Name: Recording template name.
25140
+ :type Name: str
25141
+ :param _Comment: Template description.
25142
+
25143
+ :type Comment: str
25144
+ :param _Type: Template type. Valid values:
25145
+ <li>Preset: system-preset template;</li>
25146
+ <li>Custom: Custom template.</li>
25147
+ :type Type: str
25148
+ :param _CreateTime: Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
25149
+ :type CreateTime: str
25150
+ :param _UpdateTime: Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
25151
+ :type UpdateTime: str
25152
+ """
25153
+ self._Definition = None
25154
+ self._HLSConfigure = None
25155
+ self._Name = None
25156
+ self._Comment = None
25157
+ self._Type = None
25158
+ self._CreateTime = None
25159
+ self._UpdateTime = None
25160
+
25161
+ @property
25162
+ def Definition(self):
25163
+ """Specifies the recording template unique identifier.
25164
+ :rtype: int
25165
+ """
25166
+ return self._Definition
25167
+
25168
+ @Definition.setter
25169
+ def Definition(self, Definition):
25170
+ self._Definition = Definition
25171
+
25172
+ @property
25173
+ def HLSConfigure(self):
25174
+ """HLS configuration parameters
25175
+ :rtype: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
25176
+ """
25177
+ return self._HLSConfigure
25178
+
25179
+ @HLSConfigure.setter
25180
+ def HLSConfigure(self, HLSConfigure):
25181
+ self._HLSConfigure = HLSConfigure
25182
+
25183
+ @property
25184
+ def Name(self):
25185
+ """Recording template name.
25186
+ :rtype: str
25187
+ """
25188
+ return self._Name
25189
+
25190
+ @Name.setter
25191
+ def Name(self, Name):
25192
+ self._Name = Name
25193
+
25194
+ @property
25195
+ def Comment(self):
25196
+ """Template description.
25197
+
25198
+ :rtype: str
25199
+ """
25200
+ return self._Comment
25201
+
25202
+ @Comment.setter
25203
+ def Comment(self, Comment):
25204
+ self._Comment = Comment
25205
+
25206
+ @property
25207
+ def Type(self):
25208
+ """Template type. Valid values:
25209
+ <li>Preset: system-preset template;</li>
25210
+ <li>Custom: Custom template.</li>
25211
+ :rtype: str
25212
+ """
25213
+ return self._Type
25214
+
25215
+ @Type.setter
25216
+ def Type(self, Type):
25217
+ self._Type = Type
25218
+
25219
+ @property
25220
+ def CreateTime(self):
25221
+ """Creation time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
25222
+ :rtype: str
25223
+ """
25224
+ return self._CreateTime
25225
+
25226
+ @CreateTime.setter
25227
+ def CreateTime(self, CreateTime):
25228
+ self._CreateTime = CreateTime
25229
+
25230
+ @property
25231
+ def UpdateTime(self):
25232
+ """Last modified time of a template in [ISO date format](https://intl.cloud.tencent.com/document/product/266/11732?from_cn_redirect=1#iso-.E6.97.A5.E6.9C.9F.E6.A0.BC.E5.BC.8F).
25233
+ :rtype: str
25234
+ """
25235
+ return self._UpdateTime
25236
+
25237
+ @UpdateTime.setter
25238
+ def UpdateTime(self, UpdateTime):
25239
+ self._UpdateTime = UpdateTime
25240
+
25241
+
25242
+ def _deserialize(self, params):
25243
+ self._Definition = params.get("Definition")
25244
+ if params.get("HLSConfigure") is not None:
25245
+ self._HLSConfigure = HLSConfigureInfo()
25246
+ self._HLSConfigure._deserialize(params.get("HLSConfigure"))
25247
+ self._Name = params.get("Name")
25248
+ self._Comment = params.get("Comment")
25249
+ self._Type = params.get("Type")
25250
+ self._CreateTime = params.get("CreateTime")
25251
+ self._UpdateTime = params.get("UpdateTime")
25252
+ memeber_set = set(params.keys())
25253
+ for name, value in vars(self).items():
25254
+ property_name = name[1:]
25255
+ if property_name in memeber_set:
25256
+ memeber_set.remove(property_name)
25257
+ if len(memeber_set) > 0:
25258
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
25259
+
25260
+
25261
+
24708
25262
  class LiveScheduleLiveRecordTaskResult(AbstractModel):
24709
25263
  """The result of a live scheme's live recording task.
24710
25264
 
@@ -32210,6 +32764,117 @@ class ModifyImageSpriteTemplateResponse(AbstractModel):
32210
32764
  self._RequestId = params.get("RequestId")
32211
32765
 
32212
32766
 
32767
+ class ModifyLiveRecordTemplateRequest(AbstractModel):
32768
+ """ModifyLiveRecordTemplate request structure.
32769
+
32770
+ """
32771
+
32772
+ def __init__(self):
32773
+ r"""
32774
+ :param _Definition: Specifies the recording template unique identifier.
32775
+ :type Definition: int
32776
+ :param _HLSConfigure: HLS configuration parameters.
32777
+ :type HLSConfigure: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
32778
+ :param _Name: Recording template name. Length limit: 64 characters.
32779
+ :type Name: str
32780
+ :param _Comment: Template description, with a length limit of 256 characters.
32781
+ :type Comment: str
32782
+ """
32783
+ self._Definition = None
32784
+ self._HLSConfigure = None
32785
+ self._Name = None
32786
+ self._Comment = None
32787
+
32788
+ @property
32789
+ def Definition(self):
32790
+ """Specifies the recording template unique identifier.
32791
+ :rtype: int
32792
+ """
32793
+ return self._Definition
32794
+
32795
+ @Definition.setter
32796
+ def Definition(self, Definition):
32797
+ self._Definition = Definition
32798
+
32799
+ @property
32800
+ def HLSConfigure(self):
32801
+ """HLS configuration parameters.
32802
+ :rtype: :class:`tencentcloud.mps.v20190612.models.HLSConfigureInfo`
32803
+ """
32804
+ return self._HLSConfigure
32805
+
32806
+ @HLSConfigure.setter
32807
+ def HLSConfigure(self, HLSConfigure):
32808
+ self._HLSConfigure = HLSConfigure
32809
+
32810
+ @property
32811
+ def Name(self):
32812
+ """Recording template name. Length limit: 64 characters.
32813
+ :rtype: str
32814
+ """
32815
+ return self._Name
32816
+
32817
+ @Name.setter
32818
+ def Name(self, Name):
32819
+ self._Name = Name
32820
+
32821
+ @property
32822
+ def Comment(self):
32823
+ """Template description, with a length limit of 256 characters.
32824
+ :rtype: str
32825
+ """
32826
+ return self._Comment
32827
+
32828
+ @Comment.setter
32829
+ def Comment(self, Comment):
32830
+ self._Comment = Comment
32831
+
32832
+
32833
+ def _deserialize(self, params):
32834
+ self._Definition = params.get("Definition")
32835
+ if params.get("HLSConfigure") is not None:
32836
+ self._HLSConfigure = HLSConfigureInfo()
32837
+ self._HLSConfigure._deserialize(params.get("HLSConfigure"))
32838
+ self._Name = params.get("Name")
32839
+ self._Comment = params.get("Comment")
32840
+ memeber_set = set(params.keys())
32841
+ for name, value in vars(self).items():
32842
+ property_name = name[1:]
32843
+ if property_name in memeber_set:
32844
+ memeber_set.remove(property_name)
32845
+ if len(memeber_set) > 0:
32846
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
32847
+
32848
+
32849
+
32850
+ class ModifyLiveRecordTemplateResponse(AbstractModel):
32851
+ """ModifyLiveRecordTemplate response structure.
32852
+
32853
+ """
32854
+
32855
+ def __init__(self):
32856
+ r"""
32857
+ :param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
32858
+ :type RequestId: str
32859
+ """
32860
+ self._RequestId = None
32861
+
32862
+ @property
32863
+ def RequestId(self):
32864
+ """The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
32865
+ :rtype: str
32866
+ """
32867
+ return self._RequestId
32868
+
32869
+ @RequestId.setter
32870
+ def RequestId(self, RequestId):
32871
+ self._RequestId = RequestId
32872
+
32873
+
32874
+ def _deserialize(self, params):
32875
+ self._RequestId = params.get("RequestId")
32876
+
32877
+
32213
32878
  class ModifyPersonSampleRequest(AbstractModel):
32214
32879
  """ModifyPersonSample request structure.
32215
32880
 
@@ -164,6 +164,29 @@ class MpsClient(AbstractClient):
164
164
  raise TencentCloudSDKException(type(e).__name__, str(e))
165
165
 
166
166
 
167
+ def CreateLiveRecordTemplate(self, request):
168
+ """This API is used to create a live recording template.
169
+
170
+ :param request: Request instance for CreateLiveRecordTemplate.
171
+ :type request: :class:`tencentcloud.mps.v20190612.models.CreateLiveRecordTemplateRequest`
172
+ :rtype: :class:`tencentcloud.mps.v20190612.models.CreateLiveRecordTemplateResponse`
173
+
174
+ """
175
+ try:
176
+ params = request._serialize()
177
+ headers = request.headers
178
+ body = self.call("CreateLiveRecordTemplate", params, headers=headers)
179
+ response = json.loads(body)
180
+ model = models.CreateLiveRecordTemplateResponse()
181
+ model._deserialize(response["Response"])
182
+ return model
183
+ except Exception as e:
184
+ if isinstance(e, TencentCloudSDKException):
185
+ raise
186
+ else:
187
+ raise TencentCloudSDKException(type(e).__name__, str(e))
188
+
189
+
167
190
  def CreatePersonSample(self, request):
168
191
  """This API is used to create image samples for video processing operations such as content recognition and inappropriate information detection with the help of technologies such as facial feature positioning.
169
192
 
@@ -533,6 +556,29 @@ class MpsClient(AbstractClient):
533
556
  raise TencentCloudSDKException(type(e).__name__, str(e))
534
557
 
535
558
 
559
+ def DeleteLiveRecordTemplate(self, request):
560
+ """This API is used to delete a live recording template.
561
+
562
+ :param request: Request instance for DeleteLiveRecordTemplate.
563
+ :type request: :class:`tencentcloud.mps.v20190612.models.DeleteLiveRecordTemplateRequest`
564
+ :rtype: :class:`tencentcloud.mps.v20190612.models.DeleteLiveRecordTemplateResponse`
565
+
566
+ """
567
+ try:
568
+ params = request._serialize()
569
+ headers = request.headers
570
+ body = self.call("DeleteLiveRecordTemplate", params, headers=headers)
571
+ response = json.loads(body)
572
+ model = models.DeleteLiveRecordTemplateResponse()
573
+ model._deserialize(response["Response"])
574
+ return model
575
+ except Exception as e:
576
+ if isinstance(e, TencentCloudSDKException):
577
+ raise
578
+ else:
579
+ raise TencentCloudSDKException(type(e).__name__, str(e))
580
+
581
+
536
582
  def DeletePersonSample(self, request):
537
583
  """This API is used to delete image samples by image ID.
538
584
 
@@ -878,6 +924,29 @@ class MpsClient(AbstractClient):
878
924
  raise TencentCloudSDKException(type(e).__name__, str(e))
879
925
 
880
926
 
927
+ def DescribeLiveRecordTemplates(self, request):
928
+ """This API is used to get a live recording template.
929
+
930
+ :param request: Request instance for DescribeLiveRecordTemplates.
931
+ :type request: :class:`tencentcloud.mps.v20190612.models.DescribeLiveRecordTemplatesRequest`
932
+ :rtype: :class:`tencentcloud.mps.v20190612.models.DescribeLiveRecordTemplatesResponse`
933
+
934
+ """
935
+ try:
936
+ params = request._serialize()
937
+ headers = request.headers
938
+ body = self.call("DescribeLiveRecordTemplates", params, headers=headers)
939
+ response = json.loads(body)
940
+ model = models.DescribeLiveRecordTemplatesResponse()
941
+ model._deserialize(response["Response"])
942
+ return model
943
+ except Exception as e:
944
+ if isinstance(e, TencentCloudSDKException):
945
+ raise
946
+ else:
947
+ raise TencentCloudSDKException(type(e).__name__, str(e))
948
+
949
+
881
950
  def DescribeMediaMetaData(self, request):
882
951
  """This API is used to get the metadata of media, such as video image width/height, codec, length, and frame rate.
883
952
 
@@ -1469,6 +1538,29 @@ class MpsClient(AbstractClient):
1469
1538
  raise TencentCloudSDKException(type(e).__name__, str(e))
1470
1539
 
1471
1540
 
1541
+ def ModifyLiveRecordTemplate(self, request):
1542
+ """This API is used to modify a live recording template.
1543
+
1544
+ :param request: Request instance for ModifyLiveRecordTemplate.
1545
+ :type request: :class:`tencentcloud.mps.v20190612.models.ModifyLiveRecordTemplateRequest`
1546
+ :rtype: :class:`tencentcloud.mps.v20190612.models.ModifyLiveRecordTemplateResponse`
1547
+
1548
+ """
1549
+ try:
1550
+ params = request._serialize()
1551
+ headers = request.headers
1552
+ body = self.call("ModifyLiveRecordTemplate", params, headers=headers)
1553
+ response = json.loads(body)
1554
+ model = models.ModifyLiveRecordTemplateResponse()
1555
+ model._deserialize(response["Response"])
1556
+ return model
1557
+ except Exception as e:
1558
+ if isinstance(e, TencentCloudSDKException):
1559
+ raise
1560
+ else:
1561
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1562
+
1563
+
1472
1564
  def ModifyPersonSample(self, request):
1473
1565
  """This API is used to modify image samples by image ID. You can use it to modify the name and description of an image sample and add/delete/reset facial features or tags. There must be at least one image left after the deletion of facial features; otherwise, please reset instead of delete the facial features.
1474
1566
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1104
3
+ Version: 3.0.1106
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=5tXZmRHwErbmSNGlCgpvN9klrFTgiYuM3TlW9Rtd5xE,630
1
+ tencentcloud/__init__.py,sha256=paPq74As9hQ2Ol1UGSoFbvt3AhsnmreiUccl80XrRKg,630
2
2
  tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
3
  tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  tencentcloud/advisor/v20200721/advisor_client.py,sha256=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
@@ -175,8 +175,8 @@ tencentcloud/csip/v20221121/models.py,sha256=hAdedmdDrD4HWsZQb7SdqtymGVFHoXVZYqk
175
175
  tencentcloud/cvm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
176
176
  tencentcloud/cvm/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
177
177
  tencentcloud/cvm/v20170312/cvm_client.py,sha256=I6g0W63L_O3AkgADmtruN_O0uyuP-BRV3_oMF-lxTxI,91118
178
- tencentcloud/cvm/v20170312/errorcodes.py,sha256=dt7jIHHbcx4HETcimTQT1c42hXAw_t3FjwPyWW1GuB0,52202
179
- tencentcloud/cvm/v20170312/models.py,sha256=Nmpr1DhKkOpjrzBULzwZuJ-U5SozDkwE4BP_JjK0gOQ,711757
178
+ tencentcloud/cvm/v20170312/errorcodes.py,sha256=YOQ62O6pbrK1Mv-0KpagJZmrYD2zxreMJI4_MGajKpI,52320
179
+ tencentcloud/cvm/v20170312/models.py,sha256=YPjGcuQ48k_a4xrj_xSI6b7IAZ8-GerAAmvLa3NHqI4,713165
180
180
  tencentcloud/cwp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
181
181
  tencentcloud/cwp/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
182
182
  tencentcloud/cwp/v20180228/cwp_client.py,sha256=XlAOIbfCE2PH5kdpATOrUkuE7eZd74lqbvhm2UDECi0,444132
@@ -388,8 +388,8 @@ tencentcloud/monitor/v20180724/monitor_client.py,sha256=hrQeKcXUL7MmNd_VeJAxLups
388
388
  tencentcloud/mps/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
389
389
  tencentcloud/mps/v20190612/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
390
390
  tencentcloud/mps/v20190612/errorcodes.py,sha256=32AjW4KHmhgtgFPA9f36f3HTU9gR0orelCbhHwJhbYM,13235
391
- tencentcloud/mps/v20190612/models.py,sha256=TilZtT8rZ9cwHDdRo7AMcotZS2az2E972wbbcvsDfXg,1721698
392
- tencentcloud/mps/v20190612/mps_client.py,sha256=1YmpVXU51Qcg_McAtJMyF5fpEbss08yTlX9FJA8Ote4,79783
391
+ tencentcloud/mps/v20190612/models.py,sha256=UndmT3fYr172-cpKeFPbcf_4OnMYJozE93OVFZU3-Fw,1743382
392
+ tencentcloud/mps/v20190612/mps_client.py,sha256=WFzOqkVS-Rjbyx-5qQpzz7DWIBOCSPftD6GIsRcMgMI,83582
393
393
  tencentcloud/msp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
394
394
  tencentcloud/msp/v20180319/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
395
395
  tencentcloud/msp/v20180319/errorcodes.py,sha256=m7TqnT1KqSLNt0trBqZV5xL7aJtce_53v7OwSaOoOQI,806
@@ -609,7 +609,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
609
609
  tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
610
610
  tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
611
611
  tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
612
- tencentcloud_sdk_python_intl_en-3.0.1104.dist-info/METADATA,sha256=fSFqVnB6i4kR5M7JGhFZz-ByT1WpW_9DS6CS2MWgdN8,1628
613
- tencentcloud_sdk_python_intl_en-3.0.1104.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
614
- tencentcloud_sdk_python_intl_en-3.0.1104.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
615
- tencentcloud_sdk_python_intl_en-3.0.1104.dist-info/RECORD,,
612
+ tencentcloud_sdk_python_intl_en-3.0.1106.dist-info/METADATA,sha256=hJ_qQgMB3MJJqn4riu-D2Sn3Z3EisCrPeDY2Bez4C60,1628
613
+ tencentcloud_sdk_python_intl_en-3.0.1106.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
614
+ tencentcloud_sdk_python_intl_en-3.0.1106.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
615
+ tencentcloud_sdk_python_intl_en-3.0.1106.dist-info/RECORD,,