tencentcloud-sdk-python 3.0.1420__py2.py3-none-any.whl → 3.0.1421__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.
Files changed (155) hide show
  1. tencentcloud/__init__.py +1 -1
  2. tencentcloud/autoscaling/v20180419/models.py +15 -0
  3. tencentcloud/cdb/v20170320/cdb_client.py +1 -1
  4. tencentcloud/cdb/v20170320/models.py +8 -8
  5. tencentcloud/cdn/v20180606/models.py +4 -4
  6. tencentcloud/cdwdoris/v20211228/errorcodes.py +6 -0
  7. tencentcloud/cdwdoris/v20211228/models.py +244 -4
  8. tencentcloud/cfg/v20210820/models.py +40 -0
  9. tencentcloud/gs/v20191118/models.py +71 -0
  10. tencentcloud/igtm/v20231024/igtm_client.py +69 -0
  11. tencentcloud/igtm/v20231024/models.py +1202 -198
  12. tencentcloud/iotexplorer/v20190423/iotexplorer_client.py +3 -1
  13. tencentcloud/ocr/v20181119/models.py +4 -18
  14. tencentcloud/ocr/v20181119/ocr_client.py +3 -1
  15. tencentcloud/omics/v20221128/models.py +60 -0
  16. tencentcloud/ses/v20201002/models.py +171 -0
  17. tencentcloud/tcb/v20180608/models.py +64 -10
  18. tencentcloud/tdmq/v20200217/models.py +15 -0
  19. tencentcloud/teo/v20220901/models.py +664 -2
  20. tencentcloud/teo/v20220901/teo_client.py +115 -0
  21. tencentcloud/vrs/v20200824/vrs_client.py +1 -1
  22. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/METADATA +1 -1
  23. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/RECORD +26 -155
  24. tencentcloud/cis/__init__.py +0 -0
  25. tencentcloud/cis/v20180408/__init__.py +0 -0
  26. tencentcloud/cis/v20180408/cis_client.py +0 -187
  27. tencentcloud/cis/v20180408/errorcodes.py +0 -21
  28. tencentcloud/cis/v20180408/models.py +0 -1688
  29. tencentcloud/dataintegration/__init__.py +0 -0
  30. tencentcloud/dataintegration/v20220613/__init__.py +0 -0
  31. tencentcloud/dataintegration/v20220613/dataintegration_client.py +0 -49
  32. tencentcloud/dataintegration/v20220613/errorcodes.py +0 -15
  33. tencentcloud/dataintegration/v20220613/models.py +0 -168
  34. tencentcloud/dtf/__init__.py +0 -0
  35. tencentcloud/dtf/v20200506/__init__.py +0 -0
  36. tencentcloud/dtf/v20200506/dtf_client.py +0 -49
  37. tencentcloud/dtf/v20200506/errorcodes.py +0 -21
  38. tencentcloud/dtf/v20200506/models.py +0 -538
  39. tencentcloud/gpm/__init__.py +0 -0
  40. tencentcloud/gpm/v20200820/__init__.py +0 -0
  41. tencentcloud/gpm/v20200820/errorcodes.py +0 -168
  42. tencentcloud/gpm/v20200820/gpm_client.py +0 -476
  43. tencentcloud/gpm/v20200820/models.py +0 -4255
  44. tencentcloud/gse/__init__.py +0 -0
  45. tencentcloud/gse/v20191112/__init__.py +0 -0
  46. tencentcloud/gse/v20191112/errorcodes.py +0 -90
  47. tencentcloud/gse/v20191112/gse_client.py +0 -1993
  48. tencentcloud/gse/v20191112/models.py +0 -15093
  49. tencentcloud/iecp/__init__.py +0 -0
  50. tencentcloud/iecp/v20210914/__init__.py +0 -0
  51. tencentcloud/iecp/v20210914/errorcodes.py +0 -75
  52. tencentcloud/iecp/v20210914/iecp_client.py +0 -1912
  53. tencentcloud/iecp/v20210914/models.py +0 -17466
  54. tencentcloud/iir/__init__.py +0 -0
  55. tencentcloud/iir/v20200417/__init__.py +0 -0
  56. tencentcloud/iir/v20200417/errorcodes.py +0 -48
  57. tencentcloud/iir/v20200417/iir_client.py +0 -53
  58. tencentcloud/iir/v20200417/models.py +0 -451
  59. tencentcloud/iottid/__init__.py +0 -0
  60. tencentcloud/iottid/v20190411/__init__.py +0 -0
  61. tencentcloud/iottid/v20190411/errorcodes.py +0 -54
  62. tencentcloud/iottid/v20190411/iottid_client.py +0 -233
  63. tencentcloud/iottid/v20190411/models.py +0 -1053
  64. tencentcloud/mgobe/__init__.py +0 -0
  65. tencentcloud/mgobe/v20190929/__init__.py +0 -0
  66. tencentcloud/mgobe/v20190929/errorcodes.py +0 -945
  67. tencentcloud/mgobe/v20190929/mgobe_client.py +0 -49
  68. tencentcloud/mgobe/v20190929/models.py +0 -97
  69. tencentcloud/mgobe/v20201014/__init__.py +0 -0
  70. tencentcloud/mgobe/v20201014/errorcodes.py +0 -948
  71. tencentcloud/mgobe/v20201014/mgobe_client.py +0 -201
  72. tencentcloud/mgobe/v20201014/models.py +0 -1361
  73. tencentcloud/mvj/__init__.py +0 -0
  74. tencentcloud/mvj/v20190926/__init__.py +0 -0
  75. tencentcloud/mvj/v20190926/errorcodes.py +0 -30
  76. tencentcloud/mvj/v20190926/models.py +0 -263
  77. tencentcloud/mvj/v20190926/mvj_client.py +0 -51
  78. tencentcloud/pds/__init__.py +0 -0
  79. tencentcloud/pds/v20210701/__init__.py +0 -0
  80. tencentcloud/pds/v20210701/errorcodes.py +0 -48
  81. tencentcloud/pds/v20210701/models.py +0 -346
  82. tencentcloud/pds/v20210701/pds_client.py +0 -72
  83. tencentcloud/smpn/__init__.py +0 -0
  84. tencentcloud/smpn/v20190822/__init__.py +0 -0
  85. tencentcloud/smpn/v20190822/errorcodes.py +0 -27
  86. tencentcloud/smpn/v20190822/models.py +0 -389
  87. tencentcloud/smpn/v20190822/smpn_client.py +0 -76
  88. tencentcloud/solar/__init__.py +0 -0
  89. tencentcloud/solar/v20181011/__init__.py +0 -0
  90. tencentcloud/solar/v20181011/errorcodes.py +0 -42
  91. tencentcloud/solar/v20181011/models.py +0 -3848
  92. tencentcloud/solar/v20181011/solar_client.py +0 -417
  93. tencentcloud/tan/__init__.py +0 -0
  94. tencentcloud/tan/v20220420/__init__.py +0 -0
  95. tencentcloud/tan/v20220420/errorcodes.py +0 -81
  96. tencentcloud/tan/v20220420/models.py +0 -112
  97. tencentcloud/tan/v20220420/tan_client.py +0 -51
  98. tencentcloud/tav/__init__.py +0 -0
  99. tencentcloud/tav/v20190118/__init__.py +0 -0
  100. tencentcloud/tav/v20190118/errorcodes.py +0 -15
  101. tencentcloud/tav/v20190118/models.py +0 -550
  102. tencentcloud/tav/v20190118/tav_client.py +0 -118
  103. tencentcloud/tbm/__init__.py +0 -0
  104. tencentcloud/tbm/v20180129/__init__.py +0 -0
  105. tencentcloud/tbm/v20180129/errorcodes.py +0 -39
  106. tencentcloud/tbm/v20180129/models.py +0 -2354
  107. tencentcloud/tbm/v20180129/tbm_client.py +0 -233
  108. tencentcloud/tcex/__init__.py +0 -0
  109. tencentcloud/tcex/v20200727/__init__.py +0 -0
  110. tencentcloud/tcex/v20200727/errorcodes.py +0 -51
  111. tencentcloud/tcex/v20200727/models.py +0 -374
  112. tencentcloud/tcex/v20200727/tcex_client.py +0 -76
  113. tencentcloud/tci/__init__.py +0 -0
  114. tencentcloud/tci/v20190318/__init__.py +0 -0
  115. tencentcloud/tci/v20190318/errorcodes.py +0 -237
  116. tencentcloud/tci/v20190318/models.py +0 -11569
  117. tencentcloud/tci/v20190318/tci_client.py +0 -1017
  118. tencentcloud/tic/__init__.py +0 -0
  119. tencentcloud/tic/v20201117/__init__.py +0 -0
  120. tencentcloud/tic/v20201117/errorcodes.py +0 -48
  121. tencentcloud/tic/v20201117/models.py +0 -1952
  122. tencentcloud/tic/v20201117/tic_client.py +0 -342
  123. tencentcloud/ticm/__init__.py +0 -0
  124. tencentcloud/ticm/v20181127/__init__.py +0 -0
  125. tencentcloud/ticm/v20181127/errorcodes.py +0 -36
  126. tencentcloud/ticm/v20181127/models.py +0 -3385
  127. tencentcloud/ticm/v20181127/ticm_client.py +0 -95
  128. tencentcloud/tics/__init__.py +0 -0
  129. tencentcloud/tics/v20181115/__init__.py +0 -0
  130. tencentcloud/tics/v20181115/errorcodes.py +0 -30
  131. tencentcloud/tics/v20181115/models.py +0 -1324
  132. tencentcloud/tics/v20181115/tics_client.py +0 -118
  133. tencentcloud/tiems/__init__.py +0 -0
  134. tencentcloud/tiems/v20190416/__init__.py +0 -0
  135. tencentcloud/tiems/v20190416/errorcodes.py +0 -36
  136. tencentcloud/tiems/v20190416/models.py +0 -6644
  137. tencentcloud/tiems/v20190416/tiems_client.py +0 -651
  138. tencentcloud/trdp/__init__.py +0 -0
  139. tencentcloud/trdp/v20220726/__init__.py +0 -0
  140. tencentcloud/trdp/v20220726/errorcodes.py +0 -30
  141. tencentcloud/trdp/v20220726/models.py +0 -1609
  142. tencentcloud/trdp/v20220726/trdp_client.py +0 -49
  143. tencentcloud/ump/__init__.py +0 -0
  144. tencentcloud/ump/v20200918/__init__.py +0 -0
  145. tencentcloud/ump/v20200918/errorcodes.py +0 -57
  146. tencentcloud/ump/v20200918/models.py +0 -4089
  147. tencentcloud/ump/v20200918/ump_client.py +0 -454
  148. tencentcloud/youmall/__init__.py +0 -0
  149. tencentcloud/youmall/v20180228/__init__.py +0 -0
  150. tencentcloud/youmall/v20180228/errorcodes.py +0 -93
  151. tencentcloud/youmall/v20180228/models.py +0 -8181
  152. tencentcloud/youmall/v20180228/youmall_client.py +0 -740
  153. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/LICENSE +0 -0
  154. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/WHEEL +0 -0
  155. {tencentcloud_sdk_python-3.0.1420.dist-info → tencentcloud_sdk_python-3.0.1421.dist-info}/top_level.txt +0 -0
@@ -1,342 +0,0 @@
1
- # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
-
16
- import json
17
-
18
- from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
19
- from tencentcloud.common.abstract_client import AbstractClient
20
- from tencentcloud.tic.v20201117 import models
21
-
22
-
23
- class TicClient(AbstractClient):
24
- _apiVersion = '2020-11-17'
25
- _endpoint = 'tic.tencentcloudapi.com'
26
- _service = 'tic'
27
-
28
-
29
- def ApplyStack(self, request):
30
- """本接口(ApplyStack)用于触发资源栈下某个版本的Apply事件。
31
-
32
- - 当版本处于PLAN_IN_PROGRESS或APPLY_IN_PROGRESS状态时,将无法再执行本操作
33
- - 当版本处于APPLY_COMPLETED状态时,本操作无法执行
34
-
35
- :param request: Request instance for ApplyStack.
36
- :type request: :class:`tencentcloud.tic.v20201117.models.ApplyStackRequest`
37
- :rtype: :class:`tencentcloud.tic.v20201117.models.ApplyStackResponse`
38
-
39
- """
40
- try:
41
- params = request._serialize()
42
- headers = request.headers
43
- body = self.call("ApplyStack", params, headers=headers)
44
- response = json.loads(body)
45
- model = models.ApplyStackResponse()
46
- model._deserialize(response["Response"])
47
- return model
48
- except Exception as e:
49
- if isinstance(e, TencentCloudSDKException):
50
- raise
51
- else:
52
- raise TencentCloudSDKException(type(e).__name__, str(e))
53
-
54
-
55
- def CreateStack(self, request):
56
- """本接口(CreateStack)用于通过传递一个COS的terraform zip模版URL来创建一个资源栈。创建资源栈后仍需要用户调用对应的plan, apply, destory执行对应的事件。
57
-
58
- :param request: Request instance for CreateStack.
59
- :type request: :class:`tencentcloud.tic.v20201117.models.CreateStackRequest`
60
- :rtype: :class:`tencentcloud.tic.v20201117.models.CreateStackResponse`
61
-
62
- """
63
- try:
64
- params = request._serialize()
65
- headers = request.headers
66
- body = self.call("CreateStack", params, headers=headers)
67
- response = json.loads(body)
68
- model = models.CreateStackResponse()
69
- model._deserialize(response["Response"])
70
- return model
71
- except Exception as e:
72
- if isinstance(e, TencentCloudSDKException):
73
- raise
74
- else:
75
- raise TencentCloudSDKException(type(e).__name__, str(e))
76
-
77
-
78
- def CreateStackVersion(self, request):
79
- """本接口(CreateStackVersion)用于给资源栈新增一个HCL模版版本,仅限COS链接,且为zip格式。
80
-
81
- :param request: Request instance for CreateStackVersion.
82
- :type request: :class:`tencentcloud.tic.v20201117.models.CreateStackVersionRequest`
83
- :rtype: :class:`tencentcloud.tic.v20201117.models.CreateStackVersionResponse`
84
-
85
- """
86
- try:
87
- params = request._serialize()
88
- headers = request.headers
89
- body = self.call("CreateStackVersion", params, headers=headers)
90
- response = json.loads(body)
91
- model = models.CreateStackVersionResponse()
92
- model._deserialize(response["Response"])
93
- return model
94
- except Exception as e:
95
- if isinstance(e, TencentCloudSDKException):
96
- raise
97
- else:
98
- raise TencentCloudSDKException(type(e).__name__, str(e))
99
-
100
-
101
- def DeleteStack(self, request):
102
- """本接口(DeleteStack)用于删除一个资源栈(配置、版本、事件信息)。但不会销毁资源管理的云资源。如果需要销毁资源栈管理的云资源,请调用 DestoryStack 接口销毁云资源。
103
-
104
- :param request: Request instance for DeleteStack.
105
- :type request: :class:`tencentcloud.tic.v20201117.models.DeleteStackRequest`
106
- :rtype: :class:`tencentcloud.tic.v20201117.models.DeleteStackResponse`
107
-
108
- """
109
- try:
110
- params = request._serialize()
111
- headers = request.headers
112
- body = self.call("DeleteStack", params, headers=headers)
113
- response = json.loads(body)
114
- model = models.DeleteStackResponse()
115
- model._deserialize(response["Response"])
116
- return model
117
- except Exception as e:
118
- if isinstance(e, TencentCloudSDKException):
119
- raise
120
- else:
121
- raise TencentCloudSDKException(type(e).__name__, str(e))
122
-
123
-
124
- def DeleteStackVersion(self, request):
125
- """本接口(DeleteStackVersion)用于删除一个版本,处于PLAN_IN_PROGRESS和APPLY_IN_PROGRESS状态中的版本无法删除。
126
-
127
- :param request: Request instance for DeleteStackVersion.
128
- :type request: :class:`tencentcloud.tic.v20201117.models.DeleteStackVersionRequest`
129
- :rtype: :class:`tencentcloud.tic.v20201117.models.DeleteStackVersionResponse`
130
-
131
- """
132
- try:
133
- params = request._serialize()
134
- headers = request.headers
135
- body = self.call("DeleteStackVersion", params, headers=headers)
136
- response = json.loads(body)
137
- model = models.DeleteStackVersionResponse()
138
- model._deserialize(response["Response"])
139
- return model
140
- except Exception as e:
141
- if isinstance(e, TencentCloudSDKException):
142
- raise
143
- else:
144
- raise TencentCloudSDKException(type(e).__name__, str(e))
145
-
146
-
147
- def DescribeStackEvent(self, request):
148
- """本接口(DescribeStackEvent)用于获取单个事件详情,尤其是可以得到事件的详细控制台输出文本。
149
-
150
- :param request: Request instance for DescribeStackEvent.
151
- :type request: :class:`tencentcloud.tic.v20201117.models.DescribeStackEventRequest`
152
- :rtype: :class:`tencentcloud.tic.v20201117.models.DescribeStackEventResponse`
153
-
154
- """
155
- try:
156
- params = request._serialize()
157
- headers = request.headers
158
- body = self.call("DescribeStackEvent", params, headers=headers)
159
- response = json.loads(body)
160
- model = models.DescribeStackEventResponse()
161
- model._deserialize(response["Response"])
162
- return model
163
- except Exception as e:
164
- if isinstance(e, TencentCloudSDKException):
165
- raise
166
- else:
167
- raise TencentCloudSDKException(type(e).__name__, str(e))
168
-
169
-
170
- def DescribeStackEvents(self, request):
171
- """本接口(DescribeStackEvents)用于查看一个或多个事件详细信息。
172
-
173
- - 可以根据事件ID过滤感兴趣的事件
174
- - 也可以根据版本ID,资源栈ID,事件类型,事件状态过滤事件,过滤信息详细请见过滤器Filter
175
- - 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的事件
176
-
177
- :param request: Request instance for DescribeStackEvents.
178
- :type request: :class:`tencentcloud.tic.v20201117.models.DescribeStackEventsRequest`
179
- :rtype: :class:`tencentcloud.tic.v20201117.models.DescribeStackEventsResponse`
180
-
181
- """
182
- try:
183
- params = request._serialize()
184
- headers = request.headers
185
- body = self.call("DescribeStackEvents", params, headers=headers)
186
- response = json.loads(body)
187
- model = models.DescribeStackEventsResponse()
188
- model._deserialize(response["Response"])
189
- return model
190
- except Exception as e:
191
- if isinstance(e, TencentCloudSDKException):
192
- raise
193
- else:
194
- raise TencentCloudSDKException(type(e).__name__, str(e))
195
-
196
-
197
- def DescribeStackVersions(self, request):
198
- """本接口(DescribeStackVersions)用于查询一个或多个版本的详细信息。
199
-
200
- - 可以根据版本ID查询感兴趣的版本
201
- - 可以根据版本名字和状态来过滤版本,详见过滤器Filter
202
- - 如果参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的版本
203
-
204
- :param request: Request instance for DescribeStackVersions.
205
- :type request: :class:`tencentcloud.tic.v20201117.models.DescribeStackVersionsRequest`
206
- :rtype: :class:`tencentcloud.tic.v20201117.models.DescribeStackVersionsResponse`
207
-
208
- """
209
- try:
210
- params = request._serialize()
211
- headers = request.headers
212
- body = self.call("DescribeStackVersions", params, headers=headers)
213
- response = json.loads(body)
214
- model = models.DescribeStackVersionsResponse()
215
- model._deserialize(response["Response"])
216
- return model
217
- except Exception as e:
218
- if isinstance(e, TencentCloudSDKException):
219
- raise
220
- else:
221
- raise TencentCloudSDKException(type(e).__name__, str(e))
222
-
223
-
224
- def DescribeStacks(self, request):
225
- """本接口(DescribeStacks)用于查询一个或多个资源栈的详细信息。
226
-
227
- - 可以根据资源栈ID来查询感兴趣的资源栈信息
228
- - 若参数为空,返回当前用户一定数量(Limit所指定的数量,默认为20)的资源栈
229
-
230
- :param request: Request instance for DescribeStacks.
231
- :type request: :class:`tencentcloud.tic.v20201117.models.DescribeStacksRequest`
232
- :rtype: :class:`tencentcloud.tic.v20201117.models.DescribeStacksResponse`
233
-
234
- """
235
- try:
236
- params = request._serialize()
237
- headers = request.headers
238
- body = self.call("DescribeStacks", params, headers=headers)
239
- response = json.loads(body)
240
- model = models.DescribeStacksResponse()
241
- model._deserialize(response["Response"])
242
- return model
243
- except Exception as e:
244
- if isinstance(e, TencentCloudSDKException):
245
- raise
246
- else:
247
- raise TencentCloudSDKException(type(e).__name__, str(e))
248
-
249
-
250
- def DestroyStack(self, request):
251
- """本接口(DestroyStack)用于删除资源栈下的某个版本所创建的资源。
252
-
253
- :param request: Request instance for DestroyStack.
254
- :type request: :class:`tencentcloud.tic.v20201117.models.DestroyStackRequest`
255
- :rtype: :class:`tencentcloud.tic.v20201117.models.DestroyStackResponse`
256
-
257
- """
258
- try:
259
- params = request._serialize()
260
- headers = request.headers
261
- body = self.call("DestroyStack", params, headers=headers)
262
- response = json.loads(body)
263
- model = models.DestroyStackResponse()
264
- model._deserialize(response["Response"])
265
- return model
266
- except Exception as e:
267
- if isinstance(e, TencentCloudSDKException):
268
- raise
269
- else:
270
- raise TencentCloudSDKException(type(e).__name__, str(e))
271
-
272
-
273
- def PlanStack(self, request):
274
- """本接口(PlanStack)用于触发资源栈下某个版本的PLAN事件。
275
-
276
- - 当版本处于PLAN_IN_PROGRESS或APPLY_IN_PROGRESS状态时,将无法再执行本操作
277
- - 当版本处于APPLY_COMPLETED状态时,本操作无法执行
278
-
279
- :param request: Request instance for PlanStack.
280
- :type request: :class:`tencentcloud.tic.v20201117.models.PlanStackRequest`
281
- :rtype: :class:`tencentcloud.tic.v20201117.models.PlanStackResponse`
282
-
283
- """
284
- try:
285
- params = request._serialize()
286
- headers = request.headers
287
- body = self.call("PlanStack", params, headers=headers)
288
- response = json.loads(body)
289
- model = models.PlanStackResponse()
290
- model._deserialize(response["Response"])
291
- return model
292
- except Exception as e:
293
- if isinstance(e, TencentCloudSDKException):
294
- raise
295
- else:
296
- raise TencentCloudSDKException(type(e).__name__, str(e))
297
-
298
-
299
- def UpdateStack(self, request):
300
- """本接口(UpdateStack)用于更新资源栈的名称和描述。
301
-
302
- :param request: Request instance for UpdateStack.
303
- :type request: :class:`tencentcloud.tic.v20201117.models.UpdateStackRequest`
304
- :rtype: :class:`tencentcloud.tic.v20201117.models.UpdateStackResponse`
305
-
306
- """
307
- try:
308
- params = request._serialize()
309
- headers = request.headers
310
- body = self.call("UpdateStack", params, headers=headers)
311
- response = json.loads(body)
312
- model = models.UpdateStackResponse()
313
- model._deserialize(response["Response"])
314
- return model
315
- except Exception as e:
316
- if isinstance(e, TencentCloudSDKException):
317
- raise
318
- else:
319
- raise TencentCloudSDKException(type(e).__name__, str(e))
320
-
321
-
322
- def UpdateStackVersion(self, request):
323
- """本接口(UpdateStackVersion)用于更新一个版本的模版内容,名称或描述,模版仅限COS URL,且为zip格式。
324
-
325
- :param request: Request instance for UpdateStackVersion.
326
- :type request: :class:`tencentcloud.tic.v20201117.models.UpdateStackVersionRequest`
327
- :rtype: :class:`tencentcloud.tic.v20201117.models.UpdateStackVersionResponse`
328
-
329
- """
330
- try:
331
- params = request._serialize()
332
- headers = request.headers
333
- body = self.call("UpdateStackVersion", params, headers=headers)
334
- response = json.loads(body)
335
- model = models.UpdateStackVersionResponse()
336
- model._deserialize(response["Response"])
337
- return model
338
- except Exception as e:
339
- if isinstance(e, TencentCloudSDKException):
340
- raise
341
- else:
342
- raise TencentCloudSDKException(type(e).__name__, str(e))
File without changes
File without changes
@@ -1,36 +0,0 @@
1
- # -*- coding: utf8 -*-
2
- # Copyright (c) 2017-2025 Tencent. All Rights Reserved.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
-
16
-
17
- # 文件下载失败。
18
- FAILEDOPERATION_DOWNLOADERROR = 'FailedOperation.DownLoadError'
19
-
20
- # 调用计费返回失败。
21
- FAILEDOPERATION_INVOKECHARGEERROR = 'FailedOperation.InvokeChargeError'
22
-
23
- # 未知错误。
24
- FAILEDOPERATION_UNKNOWERROR = 'FailedOperation.UnKnowError'
25
-
26
- # 服务未开通。
27
- FAILEDOPERATION_UNOPENERROR = 'FailedOperation.UnOpenError'
28
-
29
- # 参数值错误。
30
- INVALIDPARAMETERVALUE_INVALIDPARAMETERVALUELIMIT = 'InvalidParameterValue.InvalidParameterValueLimit'
31
-
32
- # 文件内容太大。
33
- LIMITEXCEEDED_TOOLARGEFILEERROR = 'LimitExceeded.TooLargeFileError'
34
-
35
- # 计费状态异常。
36
- RESOURCESSOLDOUT_CHARGESTATUSEXCEPTION = 'ResourcesSoldOut.ChargeStatusException'