tencentcloud-sdk-python-scf 3.0.1256__py2.py3-none-any.whl → 3.0.1279__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.

@@ -79,6 +79,29 @@ class ScfClient(AbstractClient):
79
79
  raise TencentCloudSDKException(type(e).__name__, str(e))
80
80
 
81
81
 
82
+ def CreateCustomDomain(self, request):
83
+ """创建自定义域名
84
+
85
+ :param request: Request instance for CreateCustomDomain.
86
+ :type request: :class:`tencentcloud.scf.v20180416.models.CreateCustomDomainRequest`
87
+ :rtype: :class:`tencentcloud.scf.v20180416.models.CreateCustomDomainResponse`
88
+
89
+ """
90
+ try:
91
+ params = request._serialize()
92
+ headers = request.headers
93
+ body = self.call("CreateCustomDomain", params, headers=headers)
94
+ response = json.loads(body)
95
+ model = models.CreateCustomDomainResponse()
96
+ model._deserialize(response["Response"])
97
+ return model
98
+ except Exception as e:
99
+ if isinstance(e, TencentCloudSDKException):
100
+ raise
101
+ else:
102
+ raise TencentCloudSDKException(type(e).__name__, str(e))
103
+
104
+
82
105
  def CreateFunction(self, request):
83
106
  """该接口根据传入参数创建新的函数。
84
107
 
@@ -171,6 +194,29 @@ class ScfClient(AbstractClient):
171
194
  raise TencentCloudSDKException(type(e).__name__, str(e))
172
195
 
173
196
 
197
+ def DeleteCustomDomain(self, request):
198
+ """删除自定义域名
199
+
200
+ :param request: Request instance for DeleteCustomDomain.
201
+ :type request: :class:`tencentcloud.scf.v20180416.models.DeleteCustomDomainRequest`
202
+ :rtype: :class:`tencentcloud.scf.v20180416.models.DeleteCustomDomainResponse`
203
+
204
+ """
205
+ try:
206
+ params = request._serialize()
207
+ headers = request.headers
208
+ body = self.call("DeleteCustomDomain", params, headers=headers)
209
+ response = json.loads(body)
210
+ model = models.DeleteCustomDomainResponse()
211
+ model._deserialize(response["Response"])
212
+ return model
213
+ except Exception as e:
214
+ if isinstance(e, TencentCloudSDKException):
215
+ raise
216
+ else:
217
+ raise TencentCloudSDKException(type(e).__name__, str(e))
218
+
219
+
174
220
  def DeleteFunction(self, request):
175
221
  """该接口根据传入参数删除函数。
176
222
 
@@ -378,6 +424,29 @@ class ScfClient(AbstractClient):
378
424
  raise TencentCloudSDKException(type(e).__name__, str(e))
379
425
 
380
426
 
427
+ def GetCustomDomain(self, request):
428
+ """查看云函数自定义域名详情
429
+
430
+ :param request: Request instance for GetCustomDomain.
431
+ :type request: :class:`tencentcloud.scf.v20180416.models.GetCustomDomainRequest`
432
+ :rtype: :class:`tencentcloud.scf.v20180416.models.GetCustomDomainResponse`
433
+
434
+ """
435
+ try:
436
+ params = request._serialize()
437
+ headers = request.headers
438
+ body = self.call("GetCustomDomain", params, headers=headers)
439
+ response = json.loads(body)
440
+ model = models.GetCustomDomainResponse()
441
+ model._deserialize(response["Response"])
442
+ return model
443
+ except Exception as e:
444
+ if isinstance(e, TencentCloudSDKException):
445
+ raise
446
+ else:
447
+ raise TencentCloudSDKException(type(e).__name__, str(e))
448
+
449
+
381
450
  def GetFunction(self, request):
382
451
  """该接口获取某个函数的详细信息,包括名称、代码、处理方法、关联触发器和超时时间等字段。
383
452
 
@@ -654,6 +723,29 @@ class ScfClient(AbstractClient):
654
723
  raise TencentCloudSDKException(type(e).__name__, str(e))
655
724
 
656
725
 
726
+ def ListCustomDomains(self, request):
727
+ """遍历域名列表信息
728
+
729
+ :param request: Request instance for ListCustomDomains.
730
+ :type request: :class:`tencentcloud.scf.v20180416.models.ListCustomDomainsRequest`
731
+ :rtype: :class:`tencentcloud.scf.v20180416.models.ListCustomDomainsResponse`
732
+
733
+ """
734
+ try:
735
+ params = request._serialize()
736
+ headers = request.headers
737
+ body = self.call("ListCustomDomains", params, headers=headers)
738
+ response = json.loads(body)
739
+ model = models.ListCustomDomainsResponse()
740
+ model._deserialize(response["Response"])
741
+ return model
742
+ except Exception as e:
743
+ if isinstance(e, TencentCloudSDKException):
744
+ raise
745
+ else:
746
+ raise TencentCloudSDKException(type(e).__name__, str(e))
747
+
748
+
657
749
  def ListFunctions(self, request):
658
750
  """该接口根据传入的查询参数返回相关函数信息。
659
751
 
@@ -953,6 +1045,29 @@ class ScfClient(AbstractClient):
953
1045
  raise TencentCloudSDKException(type(e).__name__, str(e))
954
1046
 
955
1047
 
1048
+ def UpdateCustomDomain(self, request):
1049
+ """更新自定义域名相关配置
1050
+
1051
+ :param request: Request instance for UpdateCustomDomain.
1052
+ :type request: :class:`tencentcloud.scf.v20180416.models.UpdateCustomDomainRequest`
1053
+ :rtype: :class:`tencentcloud.scf.v20180416.models.UpdateCustomDomainResponse`
1054
+
1055
+ """
1056
+ try:
1057
+ params = request._serialize()
1058
+ headers = request.headers
1059
+ body = self.call("UpdateCustomDomain", params, headers=headers)
1060
+ response = json.loads(body)
1061
+ model = models.UpdateCustomDomainResponse()
1062
+ model._deserialize(response["Response"])
1063
+ return model
1064
+ except Exception as e:
1065
+ if isinstance(e, TencentCloudSDKException):
1066
+ raise
1067
+ else:
1068
+ raise TencentCloudSDKException(type(e).__name__, str(e))
1069
+
1070
+
956
1071
  def UpdateFunctionCode(self, request):
957
1072
  """该接口根据传入参数更新函数代码。
958
1073
 
@@ -1,10 +1,10 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-scf
3
- Version: 3.0.1256
3
+ Version: 3.0.1279
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
7
- Author-email: tencentcloudapi@tencent.com
7
+ Maintainer-email: tencentcloudapi@tencent.com
8
8
  License: Apache License 2.0
9
9
  Platform: any
10
10
  Classifier: Development Status :: 5 - Production/Stable
@@ -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.1256)
18
+ Requires-Dist: tencentcloud-sdk-python-common (==3.0.1279)
19
19
 
20
20
  ============================
21
21
  Tencent Cloud SDK for Python
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=j71f848wn-bZR2chohsc9tJqNzQ-rGw0OL5Tvc42MX8,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=YSBsylZTxgH42Pz6b2bMTiBmO3klp4PJmi_yAvToF8Q,33310
5
+ tencentcloud/scf/v20180416/models.py,sha256=IyiJ4N7r54PQVRby2pK4srLxFtm8KXPiSRGgWfXTJoU,445230
6
+ tencentcloud/scf/v20180416/scf_client.py,sha256=phB6xq6Kas8INrc9YeNzkfP84T08swzdyKiDndCCx4g,48979
7
+ tencentcloud_sdk_python_scf-3.0.1279.dist-info/METADATA,sha256=53kZ_8ULXlB_lB4vEOHu6rzSfEY2cQI4P5LTZ6QnwJY,1496
8
+ tencentcloud_sdk_python_scf-3.0.1279.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_scf-3.0.1279.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_scf-3.0.1279.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=zqIARMhni6F66xI31jzVgmVQZsqK51uzIiV2Oq-c4LU,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=YSBsylZTxgH42Pz6b2bMTiBmO3klp4PJmi_yAvToF8Q,33310
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.1256.dist-info/METADATA,sha256=GCn_ULxK0v9--tT_gtEW81Be7kD3qKr0TYrR9HyBABg,1492
8
- tencentcloud_sdk_python_scf-3.0.1256.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_scf-3.0.1256.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_scf-3.0.1256.dist-info/RECORD,,