tencentcloud-sdk-python-mps 3.0.983__tar.gz → 3.0.985__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/setup.py +1 -1
  3. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/tencentcloud/mps/v20190612/models.py +40 -0
  5. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/tencentcloud_sdk_python_mps.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-mps-3.0.985/tencentcloud_sdk_python_mps.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-mps-3.0.983/tencentcloud_sdk_python_mps.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/README.rst +0 -0
  9. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/tencentcloud/mps/__init__.py +0 -0
  11. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/tencentcloud/mps/v20190612/__init__.py +0 -0
  12. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/tencentcloud/mps/v20190612/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/tencentcloud/mps/v20190612/mps_client.py +0 -0
  14. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/tencentcloud_sdk_python_mps.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/tencentcloud_sdk_python_mps.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-mps-3.0.983 → tencentcloud-sdk-python-mps-3.0.985}/tencentcloud_sdk_python_mps.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.0.983
3
+ Version: 3.0.985
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-mps',
11
- install_requires=["tencentcloud-sdk-python-common==3.0.983"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.985"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Mps SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.983'
17
+ __version__ = '3.0.985'
@@ -32965,6 +32965,13 @@ class ParseNotificationResponse(AbstractModel):
32965
32965
  :param _ScheduleTaskEvent: 编排任务信息,仅当 EventType 为 ScheduleTask,该字段有值。
32966
32966
  注意:此字段可能返回 null,表示取不到有效值。
32967
32967
  :type ScheduleTaskEvent: :class:`tencentcloud.mps.v20190612.models.ScheduleTask`
32968
+ :param _Timestamp: - 过期时间,事件通知签名过期 UNIX 时间戳。
32969
+ - 来自媒体处理的消息通知默认过期时间是10分钟,如果一条消息通知中的 Timestamp 值所指定的时间已经过期,则可以判定这条通知无效,进而可以防止网络重放攻击。
32970
+ - Timestamp 的格式为十进制 UNIX 时间戳,即从1970年01月01日(UTC/GMT 的午夜)开始所经过的秒数。
32971
+
32972
+ :type Timestamp: int
32973
+ :param _Sign: 事件通知安全签名 Sign = MD5(NotifyKey + Timestamp)。说明:媒体处理把 TaskNotifyConfig 里面的NotifyKey 和 Timestamp 进行字符串拼接后通过 MD5 计算得出 Sign 值,并将其放在通知消息里,您的后台服务器在收到通知消息后可以根据同样的算法确认 Sign 是否正确,进而确认消息是否确实来自媒体处理后台。
32974
+ :type Sign: str
32968
32975
  :param _RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
32969
32976
  :type RequestId: str
32970
32977
  """
@@ -32974,6 +32981,8 @@ class ParseNotificationResponse(AbstractModel):
32974
32981
  self._SessionId = None
32975
32982
  self._SessionContext = None
32976
32983
  self._ScheduleTaskEvent = None
32984
+ self._Timestamp = None
32985
+ self._Sign = None
32977
32986
  self._RequestId = None
32978
32987
 
32979
32988
  @property
@@ -33024,6 +33033,22 @@ class ParseNotificationResponse(AbstractModel):
33024
33033
  def ScheduleTaskEvent(self, ScheduleTaskEvent):
33025
33034
  self._ScheduleTaskEvent = ScheduleTaskEvent
33026
33035
 
33036
+ @property
33037
+ def Timestamp(self):
33038
+ return self._Timestamp
33039
+
33040
+ @Timestamp.setter
33041
+ def Timestamp(self, Timestamp):
33042
+ self._Timestamp = Timestamp
33043
+
33044
+ @property
33045
+ def Sign(self):
33046
+ return self._Sign
33047
+
33048
+ @Sign.setter
33049
+ def Sign(self, Sign):
33050
+ self._Sign = Sign
33051
+
33027
33052
  @property
33028
33053
  def RequestId(self):
33029
33054
  return self._RequestId
@@ -33046,6 +33071,8 @@ class ParseNotificationResponse(AbstractModel):
33046
33071
  if params.get("ScheduleTaskEvent") is not None:
33047
33072
  self._ScheduleTaskEvent = ScheduleTask()
33048
33073
  self._ScheduleTaskEvent._deserialize(params.get("ScheduleTaskEvent"))
33074
+ self._Timestamp = params.get("Timestamp")
33075
+ self._Sign = params.get("Sign")
33049
33076
  self._RequestId = params.get("RequestId")
33050
33077
 
33051
33078
 
@@ -38439,6 +38466,9 @@ class TaskNotifyConfig(AbstractModel):
38439
38466
 
38440
38467
  注意:此字段可能返回 null,表示取不到有效值。
38441
38468
  :type AwsSQS: :class:`tencentcloud.mps.v20190612.models.AwsSQS`
38469
+ :param _NotifyKey: 用于生成回调签名的key。
38470
+ 注意:此字段可能返回 null,表示取不到有效值。
38471
+ :type NotifyKey: str
38442
38472
  """
38443
38473
  self._NotifyType = None
38444
38474
  self._NotifyMode = None
@@ -38448,6 +38478,7 @@ class TaskNotifyConfig(AbstractModel):
38448
38478
  self._TopicName = None
38449
38479
  self._QueueName = None
38450
38480
  self._AwsSQS = None
38481
+ self._NotifyKey = None
38451
38482
 
38452
38483
  @property
38453
38484
  def NotifyType(self):
@@ -38513,6 +38544,14 @@ class TaskNotifyConfig(AbstractModel):
38513
38544
  def AwsSQS(self, AwsSQS):
38514
38545
  self._AwsSQS = AwsSQS
38515
38546
 
38547
+ @property
38548
+ def NotifyKey(self):
38549
+ return self._NotifyKey
38550
+
38551
+ @NotifyKey.setter
38552
+ def NotifyKey(self, NotifyKey):
38553
+ self._NotifyKey = NotifyKey
38554
+
38516
38555
 
38517
38556
  def _deserialize(self, params):
38518
38557
  self._NotifyType = params.get("NotifyType")
@@ -38525,6 +38564,7 @@ class TaskNotifyConfig(AbstractModel):
38525
38564
  if params.get("AwsSQS") is not None:
38526
38565
  self._AwsSQS = AwsSQS()
38527
38566
  self._AwsSQS._deserialize(params.get("AwsSQS"))
38567
+ self._NotifyKey = params.get("NotifyKey")
38528
38568
  memeber_set = set(params.keys())
38529
38569
  for name, value in vars(self).items():
38530
38570
  property_name = name[1:]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-mps
3
- Version: 3.0.983
3
+ Version: 3.0.985
4
4
  Summary: Tencent Cloud Mps SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.985
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.983