tencentcloud-sdk-python-dlc 3.0.1149__tar.gz → 3.0.1152__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-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/setup.py +1 -1
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/tencentcloud/dlc/v20210125/dlc_client.py +23 -0
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/tencentcloud/dlc/v20210125/models.py +204 -0
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/tencentcloud_sdk_python_dlc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-dlc-3.0.1152/tencentcloud_sdk_python_dlc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-dlc-3.0.1149/tencentcloud_sdk_python_dlc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/README.rst +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/setup.cfg +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/tencentcloud/dlc/__init__.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/tencentcloud/dlc/v20210125/__init__.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/tencentcloud/dlc/v20210125/errorcodes.py +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/tencentcloud_sdk_python_dlc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/tencentcloud_sdk_python_dlc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-dlc-3.0.1149 → tencentcloud-sdk-python-dlc-3.0.1152}/tencentcloud_sdk_python_dlc.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-dlc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1152"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Dlc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -1866,6 +1866,29 @@ class DlcClient(AbstractClient):
|
|
|
1866
1866
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1867
1867
|
|
|
1868
1868
|
|
|
1869
|
+
def DescribeTaskLog(self, request):
|
|
1870
|
+
"""本接口(DescribeTaskLog)用于获取spark 作业任务日志详情
|
|
1871
|
+
|
|
1872
|
+
:param request: Request instance for DescribeTaskLog.
|
|
1873
|
+
:type request: :class:`tencentcloud.dlc.v20210125.models.DescribeTaskLogRequest`
|
|
1874
|
+
:rtype: :class:`tencentcloud.dlc.v20210125.models.DescribeTaskLogResponse`
|
|
1875
|
+
|
|
1876
|
+
"""
|
|
1877
|
+
try:
|
|
1878
|
+
params = request._serialize()
|
|
1879
|
+
headers = request.headers
|
|
1880
|
+
body = self.call("DescribeTaskLog", params, headers=headers)
|
|
1881
|
+
response = json.loads(body)
|
|
1882
|
+
model = models.DescribeTaskLogResponse()
|
|
1883
|
+
model._deserialize(response["Response"])
|
|
1884
|
+
return model
|
|
1885
|
+
except Exception as e:
|
|
1886
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1887
|
+
raise
|
|
1888
|
+
else:
|
|
1889
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1890
|
+
|
|
1891
|
+
|
|
1869
1892
|
def DescribeTaskResult(self, request):
|
|
1870
1893
|
"""查询任务结果
|
|
1871
1894
|
|
|
@@ -13734,6 +13734,210 @@ class DescribeTablesResponse(AbstractModel):
|
|
|
13734
13734
|
self._RequestId = params.get("RequestId")
|
|
13735
13735
|
|
|
13736
13736
|
|
|
13737
|
+
class DescribeTaskLogRequest(AbstractModel):
|
|
13738
|
+
"""DescribeTaskLog请求参数结构体
|
|
13739
|
+
|
|
13740
|
+
"""
|
|
13741
|
+
|
|
13742
|
+
def __init__(self):
|
|
13743
|
+
r"""
|
|
13744
|
+
:param _TaskId: 列表返回的Id
|
|
13745
|
+
:type TaskId: str
|
|
13746
|
+
:param _StartTime: 开始运行时间,unix时间戳(毫秒)
|
|
13747
|
+
:type StartTime: int
|
|
13748
|
+
:param _EndTime: 结束运行时间,unix时间戳(毫秒)
|
|
13749
|
+
:type EndTime: int
|
|
13750
|
+
:param _Limit: 分页大小,最大1000,配合Context一起使用
|
|
13751
|
+
:type Limit: int
|
|
13752
|
+
:param _Context: 下一次分页参数,第一次传空。透传上次接口返回的Context值,可获取后续更多日志,总计最多可获取1万条原始日志,过期时间1小时。
|
|
13753
|
+
:type Context: str
|
|
13754
|
+
:param _Asc: 是否升序排列,true:升序排序,false:倒序,默认false,倒序排列
|
|
13755
|
+
:type Asc: bool
|
|
13756
|
+
:param _Filters: 预览日志的通用过滤条件
|
|
13757
|
+
:type Filters: list of Filter
|
|
13758
|
+
:param _BatchId: SparkSQL任务唯一ID
|
|
13759
|
+
:type BatchId: str
|
|
13760
|
+
"""
|
|
13761
|
+
self._TaskId = None
|
|
13762
|
+
self._StartTime = None
|
|
13763
|
+
self._EndTime = None
|
|
13764
|
+
self._Limit = None
|
|
13765
|
+
self._Context = None
|
|
13766
|
+
self._Asc = None
|
|
13767
|
+
self._Filters = None
|
|
13768
|
+
self._BatchId = None
|
|
13769
|
+
|
|
13770
|
+
@property
|
|
13771
|
+
def TaskId(self):
|
|
13772
|
+
return self._TaskId
|
|
13773
|
+
|
|
13774
|
+
@TaskId.setter
|
|
13775
|
+
def TaskId(self, TaskId):
|
|
13776
|
+
self._TaskId = TaskId
|
|
13777
|
+
|
|
13778
|
+
@property
|
|
13779
|
+
def StartTime(self):
|
|
13780
|
+
return self._StartTime
|
|
13781
|
+
|
|
13782
|
+
@StartTime.setter
|
|
13783
|
+
def StartTime(self, StartTime):
|
|
13784
|
+
self._StartTime = StartTime
|
|
13785
|
+
|
|
13786
|
+
@property
|
|
13787
|
+
def EndTime(self):
|
|
13788
|
+
return self._EndTime
|
|
13789
|
+
|
|
13790
|
+
@EndTime.setter
|
|
13791
|
+
def EndTime(self, EndTime):
|
|
13792
|
+
self._EndTime = EndTime
|
|
13793
|
+
|
|
13794
|
+
@property
|
|
13795
|
+
def Limit(self):
|
|
13796
|
+
return self._Limit
|
|
13797
|
+
|
|
13798
|
+
@Limit.setter
|
|
13799
|
+
def Limit(self, Limit):
|
|
13800
|
+
self._Limit = Limit
|
|
13801
|
+
|
|
13802
|
+
@property
|
|
13803
|
+
def Context(self):
|
|
13804
|
+
return self._Context
|
|
13805
|
+
|
|
13806
|
+
@Context.setter
|
|
13807
|
+
def Context(self, Context):
|
|
13808
|
+
self._Context = Context
|
|
13809
|
+
|
|
13810
|
+
@property
|
|
13811
|
+
def Asc(self):
|
|
13812
|
+
return self._Asc
|
|
13813
|
+
|
|
13814
|
+
@Asc.setter
|
|
13815
|
+
def Asc(self, Asc):
|
|
13816
|
+
self._Asc = Asc
|
|
13817
|
+
|
|
13818
|
+
@property
|
|
13819
|
+
def Filters(self):
|
|
13820
|
+
return self._Filters
|
|
13821
|
+
|
|
13822
|
+
@Filters.setter
|
|
13823
|
+
def Filters(self, Filters):
|
|
13824
|
+
self._Filters = Filters
|
|
13825
|
+
|
|
13826
|
+
@property
|
|
13827
|
+
def BatchId(self):
|
|
13828
|
+
return self._BatchId
|
|
13829
|
+
|
|
13830
|
+
@BatchId.setter
|
|
13831
|
+
def BatchId(self, BatchId):
|
|
13832
|
+
self._BatchId = BatchId
|
|
13833
|
+
|
|
13834
|
+
|
|
13835
|
+
def _deserialize(self, params):
|
|
13836
|
+
self._TaskId = params.get("TaskId")
|
|
13837
|
+
self._StartTime = params.get("StartTime")
|
|
13838
|
+
self._EndTime = params.get("EndTime")
|
|
13839
|
+
self._Limit = params.get("Limit")
|
|
13840
|
+
self._Context = params.get("Context")
|
|
13841
|
+
self._Asc = params.get("Asc")
|
|
13842
|
+
if params.get("Filters") is not None:
|
|
13843
|
+
self._Filters = []
|
|
13844
|
+
for item in params.get("Filters"):
|
|
13845
|
+
obj = Filter()
|
|
13846
|
+
obj._deserialize(item)
|
|
13847
|
+
self._Filters.append(obj)
|
|
13848
|
+
self._BatchId = params.get("BatchId")
|
|
13849
|
+
memeber_set = set(params.keys())
|
|
13850
|
+
for name, value in vars(self).items():
|
|
13851
|
+
property_name = name[1:]
|
|
13852
|
+
if property_name in memeber_set:
|
|
13853
|
+
memeber_set.remove(property_name)
|
|
13854
|
+
if len(memeber_set) > 0:
|
|
13855
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13856
|
+
|
|
13857
|
+
|
|
13858
|
+
|
|
13859
|
+
class DescribeTaskLogResponse(AbstractModel):
|
|
13860
|
+
"""DescribeTaskLog返回参数结构体
|
|
13861
|
+
|
|
13862
|
+
"""
|
|
13863
|
+
|
|
13864
|
+
def __init__(self):
|
|
13865
|
+
r"""
|
|
13866
|
+
:param _Context: 下一次分页参数
|
|
13867
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13868
|
+
:type Context: str
|
|
13869
|
+
:param _ListOver: 是否获取完结
|
|
13870
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13871
|
+
:type ListOver: bool
|
|
13872
|
+
:param _Results: 日志详情
|
|
13873
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13874
|
+
:type Results: list of JobLogResult
|
|
13875
|
+
:param _LogUrl: 日志url
|
|
13876
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13877
|
+
:type LogUrl: str
|
|
13878
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13879
|
+
:type RequestId: str
|
|
13880
|
+
"""
|
|
13881
|
+
self._Context = None
|
|
13882
|
+
self._ListOver = None
|
|
13883
|
+
self._Results = None
|
|
13884
|
+
self._LogUrl = None
|
|
13885
|
+
self._RequestId = None
|
|
13886
|
+
|
|
13887
|
+
@property
|
|
13888
|
+
def Context(self):
|
|
13889
|
+
return self._Context
|
|
13890
|
+
|
|
13891
|
+
@Context.setter
|
|
13892
|
+
def Context(self, Context):
|
|
13893
|
+
self._Context = Context
|
|
13894
|
+
|
|
13895
|
+
@property
|
|
13896
|
+
def ListOver(self):
|
|
13897
|
+
return self._ListOver
|
|
13898
|
+
|
|
13899
|
+
@ListOver.setter
|
|
13900
|
+
def ListOver(self, ListOver):
|
|
13901
|
+
self._ListOver = ListOver
|
|
13902
|
+
|
|
13903
|
+
@property
|
|
13904
|
+
def Results(self):
|
|
13905
|
+
return self._Results
|
|
13906
|
+
|
|
13907
|
+
@Results.setter
|
|
13908
|
+
def Results(self, Results):
|
|
13909
|
+
self._Results = Results
|
|
13910
|
+
|
|
13911
|
+
@property
|
|
13912
|
+
def LogUrl(self):
|
|
13913
|
+
return self._LogUrl
|
|
13914
|
+
|
|
13915
|
+
@LogUrl.setter
|
|
13916
|
+
def LogUrl(self, LogUrl):
|
|
13917
|
+
self._LogUrl = LogUrl
|
|
13918
|
+
|
|
13919
|
+
@property
|
|
13920
|
+
def RequestId(self):
|
|
13921
|
+
return self._RequestId
|
|
13922
|
+
|
|
13923
|
+
@RequestId.setter
|
|
13924
|
+
def RequestId(self, RequestId):
|
|
13925
|
+
self._RequestId = RequestId
|
|
13926
|
+
|
|
13927
|
+
|
|
13928
|
+
def _deserialize(self, params):
|
|
13929
|
+
self._Context = params.get("Context")
|
|
13930
|
+
self._ListOver = params.get("ListOver")
|
|
13931
|
+
if params.get("Results") is not None:
|
|
13932
|
+
self._Results = []
|
|
13933
|
+
for item in params.get("Results"):
|
|
13934
|
+
obj = JobLogResult()
|
|
13935
|
+
obj._deserialize(item)
|
|
13936
|
+
self._Results.append(obj)
|
|
13937
|
+
self._LogUrl = params.get("LogUrl")
|
|
13938
|
+
self._RequestId = params.get("RequestId")
|
|
13939
|
+
|
|
13940
|
+
|
|
13737
13941
|
class DescribeTaskResultRequest(AbstractModel):
|
|
13738
13942
|
"""DescribeTaskResult请求参数结构体
|
|
13739
13943
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1152
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1149
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|