tencentcloud-sdk-python-scf 3.0.1218__py2.py3-none-any.whl → 3.0.1238__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-scf might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/scf/v20180416/models.py +48 -12
- {tencentcloud_sdk_python_scf-3.0.1218.dist-info → tencentcloud_sdk_python_scf-3.0.1238.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_scf-3.0.1238.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_scf-3.0.1218.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_scf-3.0.1218.dist-info → tencentcloud_sdk_python_scf-3.0.1238.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_scf-3.0.1218.dist-info → tencentcloud_sdk_python_scf-3.0.1238.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1546,13 +1546,13 @@ class CreateTriggerRequest(AbstractModel):
|
|
|
1546
1546
|
:type FunctionName: str
|
|
1547
1547
|
:param _TriggerName: 新建触发器名称。如果是定时触发器,名称支持英文字母、数字、连接符和下划线,最长100个字符;如果是cos触发器,需要是对应cos存储桶适用于XML API的访问域名(例如:5401-5ff414-12345.cos.ap-shanghai.myqcloud.com);如果是其他触发器,见具体触发器绑定参数的说明
|
|
1548
1548
|
:type TriggerName: str
|
|
1549
|
-
:param _Type: 触发器类型,目前支持 cos 、
|
|
1549
|
+
:param _Type: 触发器类型,目前支持 cos 、cls 、 timer、 ckafka、http类型。创建函数 URL 请使用 http 类型,参考[创建函数 URL ](https://cloud.tencent.com/document/product/583/100227#33bbbda4-9131-48a6-ac37-ac62ffe01424)。创建 cls 触发器请参考[CLS 创建投递 SCF 任务](https://cloud.tencent.com/document/product/614/61096)。
|
|
1550
1550
|
:type Type: str
|
|
1551
1551
|
:param _TriggerDesc: 触发器对应的参数,可见具体[触发器描述说明](https://cloud.tencent.com/document/product/583/39901)
|
|
1552
1552
|
:type TriggerDesc: str
|
|
1553
1553
|
:param _Namespace: 函数的命名空间
|
|
1554
1554
|
:type Namespace: str
|
|
1555
|
-
:param _Qualifier:
|
|
1555
|
+
:param _Qualifier: 触发器所生效的版本或别名,建议填写 [$DEFAULT](https://cloud.tencent.com/document/product/583/36149#.E9.BB.98.E8.AE.A4.E5.88.AB.E5.90.8D)方便后续进行版本的灰度发布,默认为 $LATEST。
|
|
1556
1556
|
:type Qualifier: str
|
|
1557
1557
|
:param _Enable: 触发器的初始是能状态 OPEN表示开启 CLOSE表示关闭
|
|
1558
1558
|
:type Enable: str
|
|
@@ -2215,14 +2215,13 @@ class DeleteTriggerRequest(AbstractModel):
|
|
|
2215
2215
|
:type FunctionName: str
|
|
2216
2216
|
:param _TriggerName: 要删除的触发器名称
|
|
2217
2217
|
:type TriggerName: str
|
|
2218
|
-
:param _Type:
|
|
2218
|
+
:param _Type: 要删除的触发器类型,目前只支持 timer、ckafka 、apigw 、cls 、cos 、cmq 、http 类型
|
|
2219
2219
|
:type Type: str
|
|
2220
2220
|
:param _Namespace: 函数所属命名空间
|
|
2221
2221
|
:type Namespace: str
|
|
2222
2222
|
:param _TriggerDesc: 如果删除的触发器类型为 COS 触发器,该字段为必填值,存放 JSON 格式的数据 {"event":"cos:ObjectCreated:*"},数据内容和 SetTrigger 接口中该字段的格式相同;如果删除的触发器类型为定时触发器或 CMQ 触发器,可以不指定该字段
|
|
2223
2223
|
:type TriggerDesc: str
|
|
2224
|
-
:param _Qualifier:
|
|
2225
|
-
如果删除的触发器类型为 APIGW 触发器,该字段为必填参数
|
|
2224
|
+
:param _Qualifier: 要删除的触发器实际所指向的版本或别名,默认值为 $LATEST
|
|
2226
2225
|
:type Qualifier: str
|
|
2227
2226
|
"""
|
|
2228
2227
|
self._FunctionName = None
|
|
@@ -5003,10 +5002,12 @@ class ImageConfig(AbstractModel):
|
|
|
5003
5002
|
:param _ContainerImageAccelerate: 镜像加速开关,默认False
|
|
5004
5003
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5005
5004
|
:type ContainerImageAccelerate: bool
|
|
5006
|
-
:param _ImagePort:
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5005
|
+
:param _ImagePort: 镜像函数端口设置,可指定镜像类型
|
|
5006
|
+
Web Server镜像:9000
|
|
5007
|
+
Job 镜像:-1
|
|
5008
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5009
|
+
默认值:9000
|
|
5010
|
+
示例值:9000
|
|
5010
5011
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5011
5012
|
:type ImagePort: int
|
|
5012
5013
|
"""
|
|
@@ -5668,6 +5669,9 @@ class LayerVersionInfo(AbstractModel):
|
|
|
5668
5669
|
:param _Stamp: Stamp
|
|
5669
5670
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
5670
5671
|
:type Stamp: str
|
|
5672
|
+
:param _Tags: 返回层绑定的标签信息
|
|
5673
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
5674
|
+
:type Tags: list of Tag
|
|
5671
5675
|
"""
|
|
5672
5676
|
self._CompatibleRuntimes = None
|
|
5673
5677
|
self._AddTime = None
|
|
@@ -5677,6 +5681,7 @@ class LayerVersionInfo(AbstractModel):
|
|
|
5677
5681
|
self._LayerName = None
|
|
5678
5682
|
self._Status = None
|
|
5679
5683
|
self._Stamp = None
|
|
5684
|
+
self._Tags = None
|
|
5680
5685
|
|
|
5681
5686
|
@property
|
|
5682
5687
|
def CompatibleRuntimes(self):
|
|
@@ -5742,6 +5747,14 @@ class LayerVersionInfo(AbstractModel):
|
|
|
5742
5747
|
def Stamp(self, Stamp):
|
|
5743
5748
|
self._Stamp = Stamp
|
|
5744
5749
|
|
|
5750
|
+
@property
|
|
5751
|
+
def Tags(self):
|
|
5752
|
+
return self._Tags
|
|
5753
|
+
|
|
5754
|
+
@Tags.setter
|
|
5755
|
+
def Tags(self, Tags):
|
|
5756
|
+
self._Tags = Tags
|
|
5757
|
+
|
|
5745
5758
|
|
|
5746
5759
|
def _deserialize(self, params):
|
|
5747
5760
|
self._CompatibleRuntimes = params.get("CompatibleRuntimes")
|
|
@@ -5752,6 +5765,12 @@ class LayerVersionInfo(AbstractModel):
|
|
|
5752
5765
|
self._LayerName = params.get("LayerName")
|
|
5753
5766
|
self._Status = params.get("Status")
|
|
5754
5767
|
self._Stamp = params.get("Stamp")
|
|
5768
|
+
if params.get("Tags") is not None:
|
|
5769
|
+
self._Tags = []
|
|
5770
|
+
for item in params.get("Tags"):
|
|
5771
|
+
obj = Tag()
|
|
5772
|
+
obj._deserialize(item)
|
|
5773
|
+
self._Tags.append(obj)
|
|
5755
5774
|
memeber_set = set(params.keys())
|
|
5756
5775
|
for name, value in vars(self).items():
|
|
5757
5776
|
property_name = name[1:]
|
|
@@ -7819,12 +7838,15 @@ class PublishLayerVersionRequest(AbstractModel):
|
|
|
7819
7838
|
:type Description: str
|
|
7820
7839
|
:param _LicenseInfo: 层的软件许可证
|
|
7821
7840
|
:type LicenseInfo: str
|
|
7841
|
+
:param _Tags: 层Tag 参数,以键值对数组形式传入
|
|
7842
|
+
:type Tags: list of Tag
|
|
7822
7843
|
"""
|
|
7823
7844
|
self._LayerName = None
|
|
7824
7845
|
self._CompatibleRuntimes = None
|
|
7825
7846
|
self._Content = None
|
|
7826
7847
|
self._Description = None
|
|
7827
7848
|
self._LicenseInfo = None
|
|
7849
|
+
self._Tags = None
|
|
7828
7850
|
|
|
7829
7851
|
@property
|
|
7830
7852
|
def LayerName(self):
|
|
@@ -7866,6 +7888,14 @@ class PublishLayerVersionRequest(AbstractModel):
|
|
|
7866
7888
|
def LicenseInfo(self, LicenseInfo):
|
|
7867
7889
|
self._LicenseInfo = LicenseInfo
|
|
7868
7890
|
|
|
7891
|
+
@property
|
|
7892
|
+
def Tags(self):
|
|
7893
|
+
return self._Tags
|
|
7894
|
+
|
|
7895
|
+
@Tags.setter
|
|
7896
|
+
def Tags(self, Tags):
|
|
7897
|
+
self._Tags = Tags
|
|
7898
|
+
|
|
7869
7899
|
|
|
7870
7900
|
def _deserialize(self, params):
|
|
7871
7901
|
self._LayerName = params.get("LayerName")
|
|
@@ -7875,6 +7905,12 @@ class PublishLayerVersionRequest(AbstractModel):
|
|
|
7875
7905
|
self._Content._deserialize(params.get("Content"))
|
|
7876
7906
|
self._Description = params.get("Description")
|
|
7877
7907
|
self._LicenseInfo = params.get("LicenseInfo")
|
|
7908
|
+
if params.get("Tags") is not None:
|
|
7909
|
+
self._Tags = []
|
|
7910
|
+
for item in params.get("Tags"):
|
|
7911
|
+
obj = Tag()
|
|
7912
|
+
obj._deserialize(item)
|
|
7913
|
+
self._Tags.append(obj)
|
|
7878
7914
|
memeber_set = set(params.keys())
|
|
7879
7915
|
for name, value in vars(self).items():
|
|
7880
7916
|
property_name = name[1:]
|
|
@@ -10466,13 +10502,13 @@ class UpdateTriggerRequest(AbstractModel):
|
|
|
10466
10502
|
:type FunctionName: str
|
|
10467
10503
|
:param _TriggerName: 触发器名称
|
|
10468
10504
|
:type TriggerName: str
|
|
10469
|
-
:param _Type:
|
|
10505
|
+
:param _Type: 触发器类型,目前只支持timer、ckafka、http三种类型
|
|
10470
10506
|
:type Type: str
|
|
10471
10507
|
:param _Enable: 触发器开启或关闭,传参为OPEN为开启,CLOSE为关闭
|
|
10472
10508
|
:type Enable: str
|
|
10473
|
-
:param _Qualifier:
|
|
10509
|
+
:param _Qualifier: 触发器创建时所指向的函数版本或别名,默认为 $LATEST
|
|
10474
10510
|
:type Qualifier: str
|
|
10475
|
-
:param _Namespace:
|
|
10511
|
+
:param _Namespace: 函数的命名空间,默认值为default
|
|
10476
10512
|
:type Namespace: str
|
|
10477
10513
|
:param _TriggerDesc: TriggerDesc参数
|
|
10478
10514
|
:type TriggerDesc: str
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-scf
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1238
|
|
4
4
|
Summary: Tencent Cloud Scf 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 (==3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1238)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=I4X6q0KDzcYZgrodj0Fx89Ai-bHU3q8LJlFo_xn3v0s,631
|
|
2
|
+
tencentcloud/scf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/scf/v20180416/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/scf/v20180416/errorcodes.py,sha256=iToYgO3zFC__nE4az87igW2lQuFgwDpor3C_qjGVcR8,33381
|
|
5
|
+
tencentcloud/scf/v20180416/models.py,sha256=fWQAhJVdvdkbLgHB3SclCK6VNfxbP_kwZxQWnhz5Jko,335536
|
|
6
|
+
tencentcloud/scf/v20180416/scf_client.py,sha256=loj71YNN0NMmHrpkQTHQoMWCXSdmwIBfx2X4TE2S7Nc,44583
|
|
7
|
+
tencentcloud_sdk_python_scf-3.0.1238.dist-info/METADATA,sha256=iTNTM07nkrS5-Mx4dshsYW49H2RhpB6QtRMLf_IhO_A,1492
|
|
8
|
+
tencentcloud_sdk_python_scf-3.0.1238.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_scf-3.0.1238.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_scf-3.0.1238.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=R04dH_TWuJU5hNVe07kCl61TyalB20NpdX302RgBEiw,631
|
|
2
|
-
tencentcloud/scf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/scf/v20180416/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/scf/v20180416/errorcodes.py,sha256=iToYgO3zFC__nE4az87igW2lQuFgwDpor3C_qjGVcR8,33381
|
|
5
|
-
tencentcloud/scf/v20180416/models.py,sha256=4pvw3atWsDc879ZjIMf9PMuwV5oZwab5zZHwqDwRifQ,334632
|
|
6
|
-
tencentcloud/scf/v20180416/scf_client.py,sha256=loj71YNN0NMmHrpkQTHQoMWCXSdmwIBfx2X4TE2S7Nc,44583
|
|
7
|
-
tencentcloud_sdk_python_scf-3.0.1218.dist-info/METADATA,sha256=Cr3Ofoz6p9UykJPdoYfIjzfmQEd4SwB8dXlPkQztA6c,1492
|
|
8
|
-
tencentcloud_sdk_python_scf-3.0.1218.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_scf-3.0.1218.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_scf-3.0.1218.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|