Skip to content

Commit 60f873c

Browse files
committed
Supported ApproveOrder request parameter NewApproverList.
1 parent 0777cae commit 60f873c

File tree

9 files changed

+579
-1
lines changed

9 files changed

+579
-1
lines changed

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2024-04-18 Version: 1.53.8
2+
- Supported ApproveOrder request parameter NewApproverList.
3+
- Add ListSensitiveColumnInfo API.
4+
- Supported GetDataCorrectOrderDetail return ConfigDetail Information.
5+
16
2023-12-06 Version: 1.53.7
27
- Support CreateProcCorrectOrder request param of ExecMode.
38

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.53.7'
1+
__version__ = '1.53.8'
Lines changed: 178 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,178 @@
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 AddInstanceRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'AddInstance','dms-enterprise')
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_EcsRegion(self): # String
35+
return self.get_query_params().get('EcsRegion')
36+
37+
def set_EcsRegion(self, EcsRegion): # String
38+
self.add_query_param('EcsRegion', EcsRegion)
39+
def get_NetworkType(self): # String
40+
return self.get_query_params().get('NetworkType')
41+
42+
def set_NetworkType(self, NetworkType): # String
43+
self.add_query_param('NetworkType', NetworkType)
44+
def get_Tid(self): # Long
45+
return self.get_query_params().get('Tid')
46+
47+
def set_Tid(self, Tid): # Long
48+
self.add_query_param('Tid', Tid)
49+
def get_UseSsl(self): # Integer
50+
return self.get_query_params().get('UseSsl')
51+
52+
def set_UseSsl(self, UseSsl): # Integer
53+
self.add_query_param('UseSsl', UseSsl)
54+
def get_EnableSellCommon(self): # String
55+
return self.get_query_params().get('EnableSellCommon')
56+
57+
def set_EnableSellCommon(self, EnableSellCommon): # String
58+
self.add_query_param('EnableSellCommon', EnableSellCommon)
59+
def get_EnableSellSitd(self): # String
60+
return self.get_query_params().get('EnableSellSitd')
61+
62+
def set_EnableSellSitd(self, EnableSellSitd): # String
63+
self.add_query_param('EnableSellSitd', EnableSellSitd)
64+
def get_InstanceSource(self): # String
65+
return self.get_query_params().get('InstanceSource')
66+
67+
def set_InstanceSource(self, InstanceSource): # String
68+
self.add_query_param('InstanceSource', InstanceSource)
69+
def get_EnvType(self): # String
70+
return self.get_query_params().get('EnvType')
71+
72+
def set_EnvType(self, EnvType): # String
73+
self.add_query_param('EnvType', EnvType)
74+
def get_Host(self): # String
75+
return self.get_query_params().get('Host')
76+
77+
def set_Host(self, Host): # String
78+
self.add_query_param('Host', Host)
79+
def get_QueryTimeout(self): # Integer
80+
return self.get_query_params().get('QueryTimeout')
81+
82+
def set_QueryTimeout(self, QueryTimeout): # Integer
83+
self.add_query_param('QueryTimeout', QueryTimeout)
84+
def get_EcsInstanceId(self): # String
85+
return self.get_query_params().get('EcsInstanceId')
86+
87+
def set_EcsInstanceId(self, EcsInstanceId): # String
88+
self.add_query_param('EcsInstanceId', EcsInstanceId)
89+
def get_ExportTimeout(self): # Integer
90+
return self.get_query_params().get('ExportTimeout')
91+
92+
def set_ExportTimeout(self, ExportTimeout): # Integer
93+
self.add_query_param('ExportTimeout', ExportTimeout)
94+
def get_TemplateId(self): # Long
95+
return self.get_query_params().get('TemplateId')
96+
97+
def set_TemplateId(self, TemplateId): # Long
98+
self.add_query_param('TemplateId', TemplateId)
99+
def get_EnableSellTrust(self): # String
100+
return self.get_query_params().get('EnableSellTrust')
101+
102+
def set_EnableSellTrust(self, EnableSellTrust): # String
103+
self.add_query_param('EnableSellTrust', EnableSellTrust)
104+
def get_Port(self): # Integer
105+
return self.get_query_params().get('Port')
106+
107+
def set_Port(self, Port): # Integer
108+
self.add_query_param('Port', Port)
109+
def get_SafeRule(self): # String
110+
return self.get_query_params().get('SafeRule')
111+
112+
def set_SafeRule(self, SafeRule): # String
113+
self.add_query_param('SafeRule', SafeRule)
114+
def get_DdlOnline(self): # Integer
115+
return self.get_query_params().get('DdlOnline')
116+
117+
def set_DdlOnline(self, DdlOnline): # Integer
118+
self.add_query_param('DdlOnline', DdlOnline)
119+
def get_UseDsql(self): # Integer
120+
return self.get_query_params().get('UseDsql')
121+
122+
def set_UseDsql(self, UseDsql): # Integer
123+
self.add_query_param('UseDsql', UseDsql)
124+
def get_EnableSellStable(self): # String
125+
return self.get_query_params().get('EnableSellStable')
126+
127+
def set_EnableSellStable(self, EnableSellStable): # String
128+
self.add_query_param('EnableSellStable', EnableSellStable)
129+
def get_Sid(self): # String
130+
return self.get_query_params().get('Sid')
131+
132+
def set_Sid(self, Sid): # String
133+
self.add_query_param('Sid', Sid)
134+
def get_DbaId(self): # Long
135+
return self.get_query_params().get('DbaId')
136+
137+
def set_DbaId(self, DbaId): # Long
138+
self.add_query_param('DbaId', DbaId)
139+
def get_DataLinkName(self): # String
140+
return self.get_query_params().get('DataLinkName')
141+
142+
def set_DataLinkName(self, DataLinkName): # String
143+
self.add_query_param('DataLinkName', DataLinkName)
144+
def get_TemplateType(self): # String
145+
return self.get_query_params().get('TemplateType')
146+
147+
def set_TemplateType(self, TemplateType): # String
148+
self.add_query_param('TemplateType', TemplateType)
149+
def get_InstanceType(self): # String
150+
return self.get_query_params().get('InstanceType')
151+
152+
def set_InstanceType(self, InstanceType): # String
153+
self.add_query_param('InstanceType', InstanceType)
154+
def get_DatabasePassword(self): # String
155+
return self.get_query_params().get('DatabasePassword')
156+
157+
def set_DatabasePassword(self, DatabasePassword): # String
158+
self.add_query_param('DatabasePassword', DatabasePassword)
159+
def get_InstanceAlias(self): # String
160+
return self.get_query_params().get('InstanceAlias')
161+
162+
def set_InstanceAlias(self, InstanceAlias): # String
163+
self.add_query_param('InstanceAlias', InstanceAlias)
164+
def get_DatabaseUser(self): # String
165+
return self.get_query_params().get('DatabaseUser')
166+
167+
def set_DatabaseUser(self, DatabaseUser): # String
168+
self.add_query_param('DatabaseUser', DatabaseUser)
169+
def get_VpcId(self): # String
170+
return self.get_query_params().get('VpcId')
171+
172+
def set_VpcId(self, VpcId): # String
173+
self.add_query_param('VpcId', VpcId)
174+
def get_SkipTest(self): # Boolean
175+
return self.get_query_params().get('SkipTest')
176+
177+
def set_SkipTest(self, SkipTest): # Boolean
178+
self.add_query_param('SkipTest', SkipTest)

aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ApproveOrderRequest.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,8 @@ def get_ApprovalNodePos(self): # String
7171

7272
def set_ApprovalNodePos(self, ApprovalNodePos): # String
7373
self.add_query_param('ApprovalNodePos', ApprovalNodePos)
74+
def get_NewApproverList(self): # String
75+
return self.get_query_params().get('NewApproverList')
76+
77+
def set_NewApproverList(self, NewApproverList): # String
78+
self.add_query_param('NewApproverList', NewApproverList)
Lines changed: 43 additions & 0 deletions
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 DeleteStandardGroupRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'DeleteStandardGroup','dms-enterprise')
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_Tid(self): # Long
35+
return self.get_query_params().get('Tid')
36+
37+
def set_Tid(self, Tid): # Long
38+
self.add_query_param('Tid', Tid)
39+
def get_GroupId(self): # Long
40+
return self.get_query_params().get('GroupId')
41+
42+
def set_GroupId(self, GroupId): # Long
43+
self.add_query_param('GroupId', GroupId)
Lines changed: 43 additions & 0 deletions
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 GetStandardGroupRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'GetStandardGroup','dms-enterprise')
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_Tid(self): # Long
35+
return self.get_query_params().get('Tid')
36+
37+
def set_Tid(self, Tid): # Long
38+
self.add_query_param('Tid', Tid)
39+
def get_GroupId(self): # Long
40+
return self.get_query_params().get('GroupId')
41+
42+
def set_GroupId(self, GroupId): # Long
43+
self.add_query_param('GroupId', GroupId)
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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 ListSensitiveColumnInfoRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListSensitiveColumnInfo','dms-enterprise')
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_PageNumber(self): # Integer
35+
return self.get_query_params().get('PageNumber')
36+
37+
def set_PageNumber(self, PageNumber): # Integer
38+
self.add_query_param('PageNumber', PageNumber)
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)
44+
def get_PageSize(self): # Integer
45+
return self.get_query_params().get('PageSize')
46+
47+
def set_PageSize(self, PageSize): # Integer
48+
self.add_query_param('PageSize', PageSize)
49+
def get_TableName(self): # String
50+
return self.get_query_params().get('TableName')
51+
52+
def set_TableName(self, TableName): # String
53+
self.add_query_param('TableName', TableName)
54+
def get_SchemaName(self): # String
55+
return self.get_query_params().get('SchemaName')
56+
57+
def set_SchemaName(self, SchemaName): # String
58+
self.add_query_param('SchemaName', SchemaName)
59+
def get_ColumnName(self): # String
60+
return self.get_query_params().get('ColumnName')
61+
62+
def set_ColumnName(self, ColumnName): # String
63+
self.add_query_param('ColumnName', ColumnName)
64+
def get_InstanceId(self): # Integer
65+
return self.get_query_params().get('InstanceId')
66+
67+
def set_InstanceId(self, InstanceId): # Integer
68+
self.add_query_param('InstanceId', InstanceId)

0 commit comments

Comments
 (0)