tencentcloud-sdk-python 3.0.1350__py2.py3-none-any.whl → 3.0.1352__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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/antiddos/v20200309/models.py +0 -2
- tencentcloud/batch/v20170312/models.py +0 -8
- tencentcloud/ccc/v20200210/ccc_client.py +92 -0
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +676 -60
- tencentcloud/cls/v20201016/cls_client.py +92 -0
- tencentcloud/cls/v20201016/models.py +908 -26
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/models.py +2 -6
- tencentcloud/cynosdb/v20190107/models.py +30 -76
- tencentcloud/dbbrain/v20191016/models.py +228 -10
- tencentcloud/dbbrain/v20210527/models.py +228 -10
- tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- tencentcloud/dlc/v20210125/errorcodes.py +3 -0
- tencentcloud/dlc/v20210125/models.py +284 -0
- tencentcloud/dnspod/v20210323/models.py +2 -48
- tencentcloud/dts/v20211206/models.py +2 -0
- tencentcloud/ess/v20201111/models.py +6 -6
- tencentcloud/essbasic/v20210526/models.py +2 -2
- tencentcloud/gs/v20191118/gs_client.py +23 -0
- tencentcloud/gs/v20191118/models.py +119 -0
- tencentcloud/hai/v20230812/models.py +2 -18
- tencentcloud/iotexplorer/v20190423/models.py +92 -8
- tencentcloud/iss/v20230517/errorcodes.py +3 -0
- tencentcloud/iss/v20230517/iss_client.py +46 -0
- tencentcloud/iss/v20230517/models.py +409 -0
- tencentcloud/lighthouse/v20200324/models.py +10 -4
- tencentcloud/live/v20180801/models.py +4 -6
- tencentcloud/lke/v20231130/models.py +51 -2
- tencentcloud/mps/v20190612/models.py +8 -8
- tencentcloud/mqtt/v20240516/models.py +89 -12
- tencentcloud/ocr/v20181119/models.py +143 -0
- tencentcloud/partners/v20180321/models.py +15 -0
- tencentcloud/rce/v20201103/models.py +0 -15
- tencentcloud/tdmq/v20200217/models.py +45 -0
- tencentcloud/tdmq/v20200217/tdmq_client.py +9 -3
- tencentcloud/teo/v20220901/models.py +85 -12
- tencentcloud/tione/v20211111/errorcodes.py +105 -0
- tencentcloud/tione/v20211111/models.py +666 -0
- tencentcloud/tione/v20211111/tione_client.py +92 -0
- tencentcloud/trro/v20220325/models.py +992 -44
- tencentcloud/trro/v20220325/trro_client.py +117 -0
- tencentcloud/trtc/v20190722/models.py +19 -64
- tencentcloud/vdb/v20230616/models.py +1438 -40
- tencentcloud/vdb/v20230616/vdb_client.py +184 -0
- tencentcloud/vod/v20180717/models.py +15 -2
- tencentcloud/vod/v20240718/errorcodes.py +33 -0
- tencentcloud/vod/v20240718/models.py +1841 -0
- tencentcloud/vod/v20240718/vod_client.py +146 -0
- tencentcloud/wedata/v20210820/models.py +791 -0
- tencentcloud/wedata/v20210820/wedata_client.py +46 -0
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +3 -1
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/RECORD +58 -58
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1350.dist-info → tencentcloud_sdk_python-3.0.1352.dist-info}/top_level.txt +0 -0
@@ -26,6 +26,57 @@ class VodClient(AbstractClient):
|
|
26
26
|
_service = 'vod'
|
27
27
|
|
28
28
|
|
29
|
+
def CreateIncrementalMigrationStrategy(self, request):
|
30
|
+
"""创建增量迁移策略。
|
31
|
+
|
32
|
+
:param request: Request instance for CreateIncrementalMigrationStrategy.
|
33
|
+
:type request: :class:`tencentcloud.vod.v20240718.models.CreateIncrementalMigrationStrategyRequest`
|
34
|
+
:rtype: :class:`tencentcloud.vod.v20240718.models.CreateIncrementalMigrationStrategyResponse`
|
35
|
+
|
36
|
+
"""
|
37
|
+
try:
|
38
|
+
params = request._serialize()
|
39
|
+
headers = request.headers
|
40
|
+
body = self.call("CreateIncrementalMigrationStrategy", params, headers=headers)
|
41
|
+
response = json.loads(body)
|
42
|
+
model = models.CreateIncrementalMigrationStrategyResponse()
|
43
|
+
model._deserialize(response["Response"])
|
44
|
+
return model
|
45
|
+
except Exception as e:
|
46
|
+
if isinstance(e, TencentCloudSDKException):
|
47
|
+
raise
|
48
|
+
else:
|
49
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
50
|
+
|
51
|
+
|
52
|
+
def CreateStorage(self, request):
|
53
|
+
"""该接口用于为专业版应用创建存储桶。
|
54
|
+
|
55
|
+
注:
|
56
|
+
- 本接口仅用于专业版应用;
|
57
|
+
- 客户创建点播专业版应用时,系统默认为客户开通了部分地域的存储,用户如果需要开通其它地域的存储,可以通过该接口进行开通;
|
58
|
+
- 通过 [DescribeStorageRegions](https://cloud.tencent.com/document/product/266/72480) 接口可以查询到所有存储地域及已经开通存储桶的地域。
|
59
|
+
|
60
|
+
:param request: Request instance for CreateStorage.
|
61
|
+
:type request: :class:`tencentcloud.vod.v20240718.models.CreateStorageRequest`
|
62
|
+
:rtype: :class:`tencentcloud.vod.v20240718.models.CreateStorageResponse`
|
63
|
+
|
64
|
+
"""
|
65
|
+
try:
|
66
|
+
params = request._serialize()
|
67
|
+
headers = request.headers
|
68
|
+
body = self.call("CreateStorage", params, headers=headers)
|
69
|
+
response = json.loads(body)
|
70
|
+
model = models.CreateStorageResponse()
|
71
|
+
model._deserialize(response["Response"])
|
72
|
+
return model
|
73
|
+
except Exception as e:
|
74
|
+
if isinstance(e, TencentCloudSDKException):
|
75
|
+
raise
|
76
|
+
else:
|
77
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
78
|
+
|
79
|
+
|
29
80
|
def CreateStorageCredentials(self, request):
|
30
81
|
"""用于按指定策略,生成专业版应用的临时访问凭证,比如生成用于客户端上传的临时凭证。
|
31
82
|
|
@@ -42,6 +93,101 @@ class VodClient(AbstractClient):
|
|
42
93
|
model = models.CreateStorageCredentialsResponse()
|
43
94
|
model._deserialize(response["Response"])
|
44
95
|
return model
|
96
|
+
except Exception as e:
|
97
|
+
if isinstance(e, TencentCloudSDKException):
|
98
|
+
raise
|
99
|
+
else:
|
100
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
101
|
+
|
102
|
+
|
103
|
+
def DeleteIncrementalMigrationStrategy(self, request):
|
104
|
+
"""删除增量迁移策略。
|
105
|
+
|
106
|
+
:param request: Request instance for DeleteIncrementalMigrationStrategy.
|
107
|
+
:type request: :class:`tencentcloud.vod.v20240718.models.DeleteIncrementalMigrationStrategyRequest`
|
108
|
+
:rtype: :class:`tencentcloud.vod.v20240718.models.DeleteIncrementalMigrationStrategyResponse`
|
109
|
+
|
110
|
+
"""
|
111
|
+
try:
|
112
|
+
params = request._serialize()
|
113
|
+
headers = request.headers
|
114
|
+
body = self.call("DeleteIncrementalMigrationStrategy", params, headers=headers)
|
115
|
+
response = json.loads(body)
|
116
|
+
model = models.DeleteIncrementalMigrationStrategyResponse()
|
117
|
+
model._deserialize(response["Response"])
|
118
|
+
return model
|
119
|
+
except Exception as e:
|
120
|
+
if isinstance(e, TencentCloudSDKException):
|
121
|
+
raise
|
122
|
+
else:
|
123
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
124
|
+
|
125
|
+
|
126
|
+
def DescribeIncrementalMigrationStrategyInfos(self, request):
|
127
|
+
"""查询增量迁移策略信息。
|
128
|
+
|
129
|
+
:param request: Request instance for DescribeIncrementalMigrationStrategyInfos.
|
130
|
+
:type request: :class:`tencentcloud.vod.v20240718.models.DescribeIncrementalMigrationStrategyInfosRequest`
|
131
|
+
:rtype: :class:`tencentcloud.vod.v20240718.models.DescribeIncrementalMigrationStrategyInfosResponse`
|
132
|
+
|
133
|
+
"""
|
134
|
+
try:
|
135
|
+
params = request._serialize()
|
136
|
+
headers = request.headers
|
137
|
+
body = self.call("DescribeIncrementalMigrationStrategyInfos", params, headers=headers)
|
138
|
+
response = json.loads(body)
|
139
|
+
model = models.DescribeIncrementalMigrationStrategyInfosResponse()
|
140
|
+
model._deserialize(response["Response"])
|
141
|
+
return model
|
142
|
+
except Exception as e:
|
143
|
+
if isinstance(e, TencentCloudSDKException):
|
144
|
+
raise
|
145
|
+
else:
|
146
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
147
|
+
|
148
|
+
|
149
|
+
def DescribeStorage(self, request):
|
150
|
+
"""该接口用于查询专业版应用中的存储桶信息,同时支持分页查询。
|
151
|
+
|
152
|
+
注:
|
153
|
+
- 本接口仅用于专业版应用。
|
154
|
+
|
155
|
+
:param request: Request instance for DescribeStorage.
|
156
|
+
:type request: :class:`tencentcloud.vod.v20240718.models.DescribeStorageRequest`
|
157
|
+
:rtype: :class:`tencentcloud.vod.v20240718.models.DescribeStorageResponse`
|
158
|
+
|
159
|
+
"""
|
160
|
+
try:
|
161
|
+
params = request._serialize()
|
162
|
+
headers = request.headers
|
163
|
+
body = self.call("DescribeStorage", params, headers=headers)
|
164
|
+
response = json.loads(body)
|
165
|
+
model = models.DescribeStorageResponse()
|
166
|
+
model._deserialize(response["Response"])
|
167
|
+
return model
|
168
|
+
except Exception as e:
|
169
|
+
if isinstance(e, TencentCloudSDKException):
|
170
|
+
raise
|
171
|
+
else:
|
172
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
173
|
+
|
174
|
+
|
175
|
+
def ModifyIncrementalMigrationStrategy(self, request):
|
176
|
+
"""创建增量迁移策略。
|
177
|
+
|
178
|
+
:param request: Request instance for ModifyIncrementalMigrationStrategy.
|
179
|
+
:type request: :class:`tencentcloud.vod.v20240718.models.ModifyIncrementalMigrationStrategyRequest`
|
180
|
+
:rtype: :class:`tencentcloud.vod.v20240718.models.ModifyIncrementalMigrationStrategyResponse`
|
181
|
+
|
182
|
+
"""
|
183
|
+
try:
|
184
|
+
params = request._serialize()
|
185
|
+
headers = request.headers
|
186
|
+
body = self.call("ModifyIncrementalMigrationStrategy", params, headers=headers)
|
187
|
+
response = json.loads(body)
|
188
|
+
model = models.ModifyIncrementalMigrationStrategyResponse()
|
189
|
+
model._deserialize(response["Response"])
|
190
|
+
return model
|
45
191
|
except Exception as e:
|
46
192
|
if isinstance(e, TencentCloudSDKException):
|
47
193
|
raise
|