Skip to content

Commit ef628a4

Browse files
committed
Support ListDDLPublishRecords API.
1 parent fa2e6ee commit ef628a4

File tree

3 files changed

+48
-1
lines changed

3 files changed

+48
-1
lines changed

aliyun-python-sdk-dms-enterprise/ChangeLog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2021-03-30 Version: 1.15.0
2+
- Support ListDDLPublishRecords API.
3+
- Fixed GetMetaTableColumn, GetMetaTableDetailInfo API response param DataLength lack of precision.
4+
15
2021-03-10 Version: 1.14.0
26
- Support CreateDataCorrectOrder, CreateDataImportOrder, CreateFreeLockCorrectOrder, CreateDataCronClearOrder API.
37
- Support GetDataCorrectTaskDetail API.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.14.0'
1+
__version__ = '1.15.0'
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkdms_enterprise.endpoint import endpoint_data
22+
23+
class ListDDLPublishRecordsRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListDDLPublishRecords')
27+
self.set_method('POST')
28+
29+
if hasattr(self, "endpoint_map"):
30+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
31+
if hasattr(self, "endpoint_regional"):
32+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
33+
34+
def get_OrderId(self): # Long
35+
return self.get_query_params().get('OrderId')
36+
37+
def set_OrderId(self, OrderId): # Long
38+
self.add_query_param('OrderId', OrderId)
39+
def get_Tid(self): # Long
40+
return self.get_query_params().get('Tid')
41+
42+
def set_Tid(self, Tid): # Long
43+
self.add_query_param('Tid', Tid)

0 commit comments

Comments
 (0)