tencentcloud-sdk-python-tsf 3.0.1174__tar.gz → 3.0.1209__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.
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/setup.py +1 -1
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/tencentcloud/tsf/v20180326/errorcodes.py +9 -0
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/tencentcloud/tsf/v20180326/models.py +234 -12
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/tencentcloud/tsf/v20180326/tsf_client.py +46 -0
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/tencentcloud_sdk_python_tsf.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-tsf-3.0.1209/tencentcloud_sdk_python_tsf.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-tsf-3.0.1174/tencentcloud_sdk_python_tsf.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/README.rst +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/setup.cfg +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/tencentcloud/tsf/__init__.py +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/tencentcloud/tsf/v20180326/__init__.py +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/tencentcloud_sdk_python_tsf.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/tencentcloud_sdk_python_tsf.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-tsf-3.0.1174 → tencentcloud-sdk-python-tsf-3.0.1209}/tencentcloud_sdk_python_tsf.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-tsf',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1209"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Tsf SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -758,6 +758,9 @@ INVALIDPARAMETERVALUE_CVMCAEMASTERTASKNOTEXIST = 'InvalidParameterValue.CvmCaeMa
|
|
|
758
758
|
# 部署组不存在。
|
|
759
759
|
INVALIDPARAMETERVALUE_DEPLOYGROUPNOTEXISTS = 'InvalidParameterValue.DeployGroupNotExists'
|
|
760
760
|
|
|
761
|
+
# 重复数据集名。
|
|
762
|
+
INVALIDPARAMETERVALUE_DUPLICATEPROGRAMNAME = 'InvalidParameterValue.DuplicateProgramName'
|
|
763
|
+
|
|
761
764
|
# 文件配置项已经发布。
|
|
762
765
|
INVALIDPARAMETERVALUE_FILECONFIGALREADYRELEASED = 'InvalidParameterValue.FileConfigAlreadyReleased'
|
|
763
766
|
|
|
@@ -863,6 +866,9 @@ INVALIDPARAMETERVALUE_INVALIDPARAMETER = 'InvalidParameterValue.InvalidParameter
|
|
|
863
866
|
# 参数格式异常。
|
|
864
867
|
INVALIDPARAMETERVALUE_INVALIDPARAMETERFORMAT = 'InvalidParameterValue.InvalidParameterFormat'
|
|
865
868
|
|
|
869
|
+
# 数据集名非法。
|
|
870
|
+
INVALIDPARAMETERVALUE_INVALIDPROGRAMNAME = 'InvalidParameterValue.InvalidProgramName'
|
|
871
|
+
|
|
866
872
|
# 已经绑定灰度规则,无法删除。
|
|
867
873
|
INVALIDPARAMETERVALUE_LANEINFOALREADYUSED = 'InvalidParameterValue.LaneInfoAlreadyUsed'
|
|
868
874
|
|
|
@@ -938,6 +944,9 @@ INVALIDPARAMETERVALUE_NAMESPACENAMEINVALID = 'InvalidParameterValue.NamespaceNam
|
|
|
938
944
|
# 无法获取命名空间。
|
|
939
945
|
INVALIDPARAMETERVALUE_NAMESPACENOTEXISTS = 'InvalidParameterValue.NamespaceNotExists'
|
|
940
946
|
|
|
947
|
+
# 数据集项不存在。
|
|
948
|
+
INVALIDPARAMETERVALUE_PROGRAMITEMNOTEXISTS = 'InvalidParameterValue.ProgramItemNotExists'
|
|
949
|
+
|
|
941
950
|
# 配置项已经发布,不允许删除。
|
|
942
951
|
INVALIDPARAMETERVALUE_RELEASEDCONFIGCANNOTBEDELETED = 'InvalidParameterValue.ReleasedConfigCanNotBeDeleted'
|
|
943
952
|
|
|
@@ -10221,6 +10221,105 @@ class CreatePathRewritesWithDetailRespResponse(AbstractModel):
|
|
|
10221
10221
|
self._RequestId = params.get("RequestId")
|
|
10222
10222
|
|
|
10223
10223
|
|
|
10224
|
+
class CreateProgramRequest(AbstractModel):
|
|
10225
|
+
"""CreateProgram请求参数结构体
|
|
10226
|
+
|
|
10227
|
+
"""
|
|
10228
|
+
|
|
10229
|
+
def __init__(self):
|
|
10230
|
+
r"""
|
|
10231
|
+
:param _ProgramName: 数据集名称
|
|
10232
|
+
:type ProgramName: str
|
|
10233
|
+
:param _ProgramDesc: 数据集描述
|
|
10234
|
+
:type ProgramDesc: str
|
|
10235
|
+
:param _ProgramItemList: 数据项列表,传入null或空数组时不新增
|
|
10236
|
+
:type ProgramItemList: list of ProgramItem
|
|
10237
|
+
"""
|
|
10238
|
+
self._ProgramName = None
|
|
10239
|
+
self._ProgramDesc = None
|
|
10240
|
+
self._ProgramItemList = None
|
|
10241
|
+
|
|
10242
|
+
@property
|
|
10243
|
+
def ProgramName(self):
|
|
10244
|
+
return self._ProgramName
|
|
10245
|
+
|
|
10246
|
+
@ProgramName.setter
|
|
10247
|
+
def ProgramName(self, ProgramName):
|
|
10248
|
+
self._ProgramName = ProgramName
|
|
10249
|
+
|
|
10250
|
+
@property
|
|
10251
|
+
def ProgramDesc(self):
|
|
10252
|
+
return self._ProgramDesc
|
|
10253
|
+
|
|
10254
|
+
@ProgramDesc.setter
|
|
10255
|
+
def ProgramDesc(self, ProgramDesc):
|
|
10256
|
+
self._ProgramDesc = ProgramDesc
|
|
10257
|
+
|
|
10258
|
+
@property
|
|
10259
|
+
def ProgramItemList(self):
|
|
10260
|
+
return self._ProgramItemList
|
|
10261
|
+
|
|
10262
|
+
@ProgramItemList.setter
|
|
10263
|
+
def ProgramItemList(self, ProgramItemList):
|
|
10264
|
+
self._ProgramItemList = ProgramItemList
|
|
10265
|
+
|
|
10266
|
+
|
|
10267
|
+
def _deserialize(self, params):
|
|
10268
|
+
self._ProgramName = params.get("ProgramName")
|
|
10269
|
+
self._ProgramDesc = params.get("ProgramDesc")
|
|
10270
|
+
if params.get("ProgramItemList") is not None:
|
|
10271
|
+
self._ProgramItemList = []
|
|
10272
|
+
for item in params.get("ProgramItemList"):
|
|
10273
|
+
obj = ProgramItem()
|
|
10274
|
+
obj._deserialize(item)
|
|
10275
|
+
self._ProgramItemList.append(obj)
|
|
10276
|
+
memeber_set = set(params.keys())
|
|
10277
|
+
for name, value in vars(self).items():
|
|
10278
|
+
property_name = name[1:]
|
|
10279
|
+
if property_name in memeber_set:
|
|
10280
|
+
memeber_set.remove(property_name)
|
|
10281
|
+
if len(memeber_set) > 0:
|
|
10282
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10283
|
+
|
|
10284
|
+
|
|
10285
|
+
|
|
10286
|
+
class CreateProgramResponse(AbstractModel):
|
|
10287
|
+
"""CreateProgram返回参数结构体
|
|
10288
|
+
|
|
10289
|
+
"""
|
|
10290
|
+
|
|
10291
|
+
def __init__(self):
|
|
10292
|
+
r"""
|
|
10293
|
+
:param _Result: true: 创建成功;false: 创建失败
|
|
10294
|
+
:type Result: bool
|
|
10295
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10296
|
+
:type RequestId: str
|
|
10297
|
+
"""
|
|
10298
|
+
self._Result = None
|
|
10299
|
+
self._RequestId = None
|
|
10300
|
+
|
|
10301
|
+
@property
|
|
10302
|
+
def Result(self):
|
|
10303
|
+
return self._Result
|
|
10304
|
+
|
|
10305
|
+
@Result.setter
|
|
10306
|
+
def Result(self, Result):
|
|
10307
|
+
self._Result = Result
|
|
10308
|
+
|
|
10309
|
+
@property
|
|
10310
|
+
def RequestId(self):
|
|
10311
|
+
return self._RequestId
|
|
10312
|
+
|
|
10313
|
+
@RequestId.setter
|
|
10314
|
+
def RequestId(self, RequestId):
|
|
10315
|
+
self._RequestId = RequestId
|
|
10316
|
+
|
|
10317
|
+
|
|
10318
|
+
def _deserialize(self, params):
|
|
10319
|
+
self._Result = params.get("Result")
|
|
10320
|
+
self._RequestId = params.get("RequestId")
|
|
10321
|
+
|
|
10322
|
+
|
|
10224
10323
|
class CreatePublicConfigRequest(AbstractModel):
|
|
10225
10324
|
"""CreatePublicConfig请求参数结构体
|
|
10226
10325
|
|
|
@@ -17054,10 +17153,10 @@ class DescribeContainerGroupsRequest(AbstractModel):
|
|
|
17054
17153
|
|
|
17055
17154
|
def __init__(self):
|
|
17056
17155
|
r"""
|
|
17156
|
+
:param _ApplicationId: 分组所属应用ID。
|
|
17157
|
+
:type ApplicationId: str
|
|
17057
17158
|
:param _SearchWord: 搜索字段,模糊搜索groupName字段
|
|
17058
17159
|
:type SearchWord: str
|
|
17059
|
-
:param _ApplicationId: 分组所属应用ID。必填
|
|
17060
|
-
:type ApplicationId: str
|
|
17061
17160
|
:param _OrderBy: 排序字段,默认为 createTime字段,支持id, name, createTime
|
|
17062
17161
|
:type OrderBy: str
|
|
17063
17162
|
:param _OrderType: 排序方式,默认为1:倒序排序,0:正序,1:倒序
|
|
@@ -17071,8 +17170,8 @@ class DescribeContainerGroupsRequest(AbstractModel):
|
|
|
17071
17170
|
:param _NamespaceId: 命名空间 ID
|
|
17072
17171
|
:type NamespaceId: str
|
|
17073
17172
|
"""
|
|
17074
|
-
self._SearchWord = None
|
|
17075
17173
|
self._ApplicationId = None
|
|
17174
|
+
self._SearchWord = None
|
|
17076
17175
|
self._OrderBy = None
|
|
17077
17176
|
self._OrderType = None
|
|
17078
17177
|
self._Offset = None
|
|
@@ -17080,14 +17179,6 @@ class DescribeContainerGroupsRequest(AbstractModel):
|
|
|
17080
17179
|
self._ClusterId = None
|
|
17081
17180
|
self._NamespaceId = None
|
|
17082
17181
|
|
|
17083
|
-
@property
|
|
17084
|
-
def SearchWord(self):
|
|
17085
|
-
return self._SearchWord
|
|
17086
|
-
|
|
17087
|
-
@SearchWord.setter
|
|
17088
|
-
def SearchWord(self, SearchWord):
|
|
17089
|
-
self._SearchWord = SearchWord
|
|
17090
|
-
|
|
17091
17182
|
@property
|
|
17092
17183
|
def ApplicationId(self):
|
|
17093
17184
|
return self._ApplicationId
|
|
@@ -17096,6 +17187,14 @@ class DescribeContainerGroupsRequest(AbstractModel):
|
|
|
17096
17187
|
def ApplicationId(self, ApplicationId):
|
|
17097
17188
|
self._ApplicationId = ApplicationId
|
|
17098
17189
|
|
|
17190
|
+
@property
|
|
17191
|
+
def SearchWord(self):
|
|
17192
|
+
return self._SearchWord
|
|
17193
|
+
|
|
17194
|
+
@SearchWord.setter
|
|
17195
|
+
def SearchWord(self, SearchWord):
|
|
17196
|
+
self._SearchWord = SearchWord
|
|
17197
|
+
|
|
17099
17198
|
@property
|
|
17100
17199
|
def OrderBy(self):
|
|
17101
17200
|
return self._OrderBy
|
|
@@ -17146,8 +17245,8 @@ class DescribeContainerGroupsRequest(AbstractModel):
|
|
|
17146
17245
|
|
|
17147
17246
|
|
|
17148
17247
|
def _deserialize(self, params):
|
|
17149
|
-
self._SearchWord = params.get("SearchWord")
|
|
17150
17248
|
self._ApplicationId = params.get("ApplicationId")
|
|
17249
|
+
self._SearchWord = params.get("SearchWord")
|
|
17151
17250
|
self._OrderBy = params.get("OrderBy")
|
|
17152
17251
|
self._OrderType = params.get("OrderType")
|
|
17153
17252
|
self._Offset = params.get("Offset")
|
|
@@ -33593,6 +33692,129 @@ class ModifyPathRewriteResponse(AbstractModel):
|
|
|
33593
33692
|
self._RequestId = params.get("RequestId")
|
|
33594
33693
|
|
|
33595
33694
|
|
|
33695
|
+
class ModifyProgramRequest(AbstractModel):
|
|
33696
|
+
"""ModifyProgram请求参数结构体
|
|
33697
|
+
|
|
33698
|
+
"""
|
|
33699
|
+
|
|
33700
|
+
def __init__(self):
|
|
33701
|
+
r"""
|
|
33702
|
+
:param _ProgramId: 数据集ID
|
|
33703
|
+
:type ProgramId: str
|
|
33704
|
+
:param _ProgramName: 数据集名称,不传入时不更新
|
|
33705
|
+
:type ProgramName: str
|
|
33706
|
+
:param _ProgramDesc: 数据集描述,不传入时不更新
|
|
33707
|
+
:type ProgramDesc: str
|
|
33708
|
+
:param _ProgramItemList: 数据项列表,传入null不更新,传入空数组全量删除
|
|
33709
|
+
:type ProgramItemList: list of ProgramItem
|
|
33710
|
+
:param _EmptyProgramItemList: ProgramItemList是否是空数组
|
|
33711
|
+
:type EmptyProgramItemList: bool
|
|
33712
|
+
"""
|
|
33713
|
+
self._ProgramId = None
|
|
33714
|
+
self._ProgramName = None
|
|
33715
|
+
self._ProgramDesc = None
|
|
33716
|
+
self._ProgramItemList = None
|
|
33717
|
+
self._EmptyProgramItemList = None
|
|
33718
|
+
|
|
33719
|
+
@property
|
|
33720
|
+
def ProgramId(self):
|
|
33721
|
+
return self._ProgramId
|
|
33722
|
+
|
|
33723
|
+
@ProgramId.setter
|
|
33724
|
+
def ProgramId(self, ProgramId):
|
|
33725
|
+
self._ProgramId = ProgramId
|
|
33726
|
+
|
|
33727
|
+
@property
|
|
33728
|
+
def ProgramName(self):
|
|
33729
|
+
return self._ProgramName
|
|
33730
|
+
|
|
33731
|
+
@ProgramName.setter
|
|
33732
|
+
def ProgramName(self, ProgramName):
|
|
33733
|
+
self._ProgramName = ProgramName
|
|
33734
|
+
|
|
33735
|
+
@property
|
|
33736
|
+
def ProgramDesc(self):
|
|
33737
|
+
return self._ProgramDesc
|
|
33738
|
+
|
|
33739
|
+
@ProgramDesc.setter
|
|
33740
|
+
def ProgramDesc(self, ProgramDesc):
|
|
33741
|
+
self._ProgramDesc = ProgramDesc
|
|
33742
|
+
|
|
33743
|
+
@property
|
|
33744
|
+
def ProgramItemList(self):
|
|
33745
|
+
return self._ProgramItemList
|
|
33746
|
+
|
|
33747
|
+
@ProgramItemList.setter
|
|
33748
|
+
def ProgramItemList(self, ProgramItemList):
|
|
33749
|
+
self._ProgramItemList = ProgramItemList
|
|
33750
|
+
|
|
33751
|
+
@property
|
|
33752
|
+
def EmptyProgramItemList(self):
|
|
33753
|
+
return self._EmptyProgramItemList
|
|
33754
|
+
|
|
33755
|
+
@EmptyProgramItemList.setter
|
|
33756
|
+
def EmptyProgramItemList(self, EmptyProgramItemList):
|
|
33757
|
+
self._EmptyProgramItemList = EmptyProgramItemList
|
|
33758
|
+
|
|
33759
|
+
|
|
33760
|
+
def _deserialize(self, params):
|
|
33761
|
+
self._ProgramId = params.get("ProgramId")
|
|
33762
|
+
self._ProgramName = params.get("ProgramName")
|
|
33763
|
+
self._ProgramDesc = params.get("ProgramDesc")
|
|
33764
|
+
if params.get("ProgramItemList") is not None:
|
|
33765
|
+
self._ProgramItemList = []
|
|
33766
|
+
for item in params.get("ProgramItemList"):
|
|
33767
|
+
obj = ProgramItem()
|
|
33768
|
+
obj._deserialize(item)
|
|
33769
|
+
self._ProgramItemList.append(obj)
|
|
33770
|
+
self._EmptyProgramItemList = params.get("EmptyProgramItemList")
|
|
33771
|
+
memeber_set = set(params.keys())
|
|
33772
|
+
for name, value in vars(self).items():
|
|
33773
|
+
property_name = name[1:]
|
|
33774
|
+
if property_name in memeber_set:
|
|
33775
|
+
memeber_set.remove(property_name)
|
|
33776
|
+
if len(memeber_set) > 0:
|
|
33777
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33778
|
+
|
|
33779
|
+
|
|
33780
|
+
|
|
33781
|
+
class ModifyProgramResponse(AbstractModel):
|
|
33782
|
+
"""ModifyProgram返回参数结构体
|
|
33783
|
+
|
|
33784
|
+
"""
|
|
33785
|
+
|
|
33786
|
+
def __init__(self):
|
|
33787
|
+
r"""
|
|
33788
|
+
:param _Result: true: 更新成功;false: 更新失败
|
|
33789
|
+
:type Result: bool
|
|
33790
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
33791
|
+
:type RequestId: str
|
|
33792
|
+
"""
|
|
33793
|
+
self._Result = None
|
|
33794
|
+
self._RequestId = None
|
|
33795
|
+
|
|
33796
|
+
@property
|
|
33797
|
+
def Result(self):
|
|
33798
|
+
return self._Result
|
|
33799
|
+
|
|
33800
|
+
@Result.setter
|
|
33801
|
+
def Result(self, Result):
|
|
33802
|
+
self._Result = Result
|
|
33803
|
+
|
|
33804
|
+
@property
|
|
33805
|
+
def RequestId(self):
|
|
33806
|
+
return self._RequestId
|
|
33807
|
+
|
|
33808
|
+
@RequestId.setter
|
|
33809
|
+
def RequestId(self, RequestId):
|
|
33810
|
+
self._RequestId = RequestId
|
|
33811
|
+
|
|
33812
|
+
|
|
33813
|
+
def _deserialize(self, params):
|
|
33814
|
+
self._Result = params.get("Result")
|
|
33815
|
+
self._RequestId = params.get("RequestId")
|
|
33816
|
+
|
|
33817
|
+
|
|
33596
33818
|
class ModifyTaskRequest(AbstractModel):
|
|
33597
33819
|
"""ModifyTask请求参数结构体
|
|
33598
33820
|
|
|
@@ -716,6 +716,29 @@ class TsfClient(AbstractClient):
|
|
|
716
716
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
717
717
|
|
|
718
718
|
|
|
719
|
+
def CreateProgram(self, request):
|
|
720
|
+
"""创建数据集
|
|
721
|
+
|
|
722
|
+
:param request: Request instance for CreateProgram.
|
|
723
|
+
:type request: :class:`tencentcloud.tsf.v20180326.models.CreateProgramRequest`
|
|
724
|
+
:rtype: :class:`tencentcloud.tsf.v20180326.models.CreateProgramResponse`
|
|
725
|
+
|
|
726
|
+
"""
|
|
727
|
+
try:
|
|
728
|
+
params = request._serialize()
|
|
729
|
+
headers = request.headers
|
|
730
|
+
body = self.call("CreateProgram", params, headers=headers)
|
|
731
|
+
response = json.loads(body)
|
|
732
|
+
model = models.CreateProgramResponse()
|
|
733
|
+
model._deserialize(response["Response"])
|
|
734
|
+
return model
|
|
735
|
+
except Exception as e:
|
|
736
|
+
if isinstance(e, TencentCloudSDKException):
|
|
737
|
+
raise
|
|
738
|
+
else:
|
|
739
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
740
|
+
|
|
741
|
+
|
|
719
742
|
def CreatePublicConfig(self, request):
|
|
720
743
|
"""创建公共配置项
|
|
721
744
|
|
|
@@ -4217,6 +4240,29 @@ class TsfClient(AbstractClient):
|
|
|
4217
4240
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4218
4241
|
|
|
4219
4242
|
|
|
4243
|
+
def ModifyProgram(self, request):
|
|
4244
|
+
"""更新数据集
|
|
4245
|
+
|
|
4246
|
+
:param request: Request instance for ModifyProgram.
|
|
4247
|
+
:type request: :class:`tencentcloud.tsf.v20180326.models.ModifyProgramRequest`
|
|
4248
|
+
:rtype: :class:`tencentcloud.tsf.v20180326.models.ModifyProgramResponse`
|
|
4249
|
+
|
|
4250
|
+
"""
|
|
4251
|
+
try:
|
|
4252
|
+
params = request._serialize()
|
|
4253
|
+
headers = request.headers
|
|
4254
|
+
body = self.call("ModifyProgram", params, headers=headers)
|
|
4255
|
+
response = json.loads(body)
|
|
4256
|
+
model = models.ModifyProgramResponse()
|
|
4257
|
+
model._deserialize(response["Response"])
|
|
4258
|
+
return model
|
|
4259
|
+
except Exception as e:
|
|
4260
|
+
if isinstance(e, TencentCloudSDKException):
|
|
4261
|
+
raise
|
|
4262
|
+
else:
|
|
4263
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
4264
|
+
|
|
4265
|
+
|
|
4220
4266
|
def ModifyTask(self, request):
|
|
4221
4267
|
"""修改任务
|
|
4222
4268
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1209
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1174
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|