Skip to content

Commit 40dde99

Browse files
committed
Dataphin v4.3 openapi.
1 parent 32682db commit 40dde99

File tree

68 files changed

+2485
-43
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+2485
-43
lines changed

aliyun-python-sdk-dataphin-public/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2024-10-11 Version: 1.0.2
2+
- Dataphin v4.3 openapi.
3+
14
2023-10-19 Version: 1.0.1
25
- Supported Apis for Dataphin V3_11_2.
36
-Add Api ListUsers.

aliyun-python-sdk-dataphin-public/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy
88

99
This module works on Python versions:
1010

11-
2.6.5 and greater
11+
3.7 and greater
1212

1313
**Documentation:**
1414

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '1.0.1'
1+
__version__ = '1.0.2'
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
from aliyunsdkcore.request import RpcRequest
2121
import json
2222

23-
class QueryPagedAddableUsersRequest(RpcRequest):
23+
class AddTenantMembersBySourceUserRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'QueryPagedAddableUsers')
26+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'AddTenantMembersBySourceUser')
2727
self.set_protocol_type('https')
2828
self.set_method('POST')
2929

@@ -32,8 +32,8 @@ def get_OpTenantId(self): # Long
3232

3333
def set_OpTenantId(self, OpTenantId): # Long
3434
self.add_query_param('OpTenantId', OpTenantId)
35-
def get_AddableUserPagedQuery(self): # Struct
36-
return self.get_query_params().get('AddableUserPagedQuery')
35+
def get_AddCommand(self): # Struct
36+
return self.get_body_params().get('AddCommand')
3737

38-
def set_AddableUserPagedQuery(self, AddableUserPagedQuery): # Struct
39-
self.add_query_param("AddableUserPagedQuery", json.dumps(AddableUserPagedQuery))
38+
def set_AddCommand(self, AddCommand): # Struct
39+
self.add_body_params("AddCommand", json.dumps(AddCommand))
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
import json
22+
23+
class AddTenantMembersRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'AddTenantMembers')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
def get_OpTenantId(self): # Long
31+
return self.get_query_params().get('OpTenantId')
32+
33+
def set_OpTenantId(self, OpTenantId): # Long
34+
self.add_query_param('OpTenantId', OpTenantId)
35+
def get_AddCommand(self): # Struct
36+
return self.get_body_params().get('AddCommand')
37+
38+
def set_AddCommand(self, AddCommand): # Struct
39+
self.add_body_params("AddCommand", json.dumps(AddCommand))
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
import json
22+
23+
class AddUserGroupMemberRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'AddUserGroupMember')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
def get_OpTenantId(self): # Long
31+
return self.get_query_params().get('OpTenantId')
32+
33+
def set_OpTenantId(self, OpTenantId): # Long
34+
self.add_query_param('OpTenantId', OpTenantId)
35+
def get_AddCommand(self): # Struct
36+
return self.get_body_params().get('AddCommand')
37+
38+
def set_AddCommand(self, AddCommand): # Struct
39+
self.add_body_params("AddCommand", json.dumps(AddCommand))
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
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+
22+
class CheckDataSourceConnectivityByIdRequest(RpcRequest):
23+
24+
def __init__(self):
25+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'CheckDataSourceConnectivityById')
26+
self.set_protocol_type('https')
27+
self.set_method('POST')
28+
29+
def get_OpTenantId(self): # Long
30+
return self.get_query_params().get('OpTenantId')
31+
32+
def set_OpTenantId(self, OpTenantId): # Long
33+
self.add_query_param('OpTenantId', OpTenantId)
34+
def get_Id(self): # Long
35+
return self.get_query_params().get('Id')
36+
37+
def set_Id(self, Id): # Long
38+
self.add_query_param('Id', Id)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
import json
22+
23+
class CheckDataSourceConnectivityRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'CheckDataSourceConnectivity')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
def get_OpTenantId(self): # Long
31+
return self.get_query_params().get('OpTenantId')
32+
33+
def set_OpTenantId(self, OpTenantId): # Long
34+
self.add_query_param('OpTenantId', OpTenantId)
35+
def get_CheckCommand(self): # Struct
36+
return self.get_body_params().get('CheckCommand')
37+
38+
def set_CheckCommand(self, CheckCommand): # Struct
39+
self.add_body_params("CheckCommand", json.dumps(CheckCommand))
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
import json
22+
23+
class CheckResourcePermissionRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'CheckResourcePermission')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
def get_OpTenantId(self): # Long
31+
return self.get_query_params().get('OpTenantId')
32+
33+
def set_OpTenantId(self, OpTenantId): # Long
34+
self.add_query_param('OpTenantId', OpTenantId)
35+
def get_CheckCommand(self): # Struct
36+
return self.get_body_params().get('CheckCommand')
37+
38+
def set_CheckCommand(self, CheckCommand): # Struct
39+
self.add_body_params("CheckCommand", json.dumps(CheckCommand))
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
import json
22+
23+
class CreateAdHocFileRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'CreateAdHocFile')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
def get_OpTenantId(self): # Long
31+
return self.get_query_params().get('OpTenantId')
32+
33+
def set_OpTenantId(self, OpTenantId): # Long
34+
self.add_query_param('OpTenantId', OpTenantId)
35+
def get_CreateCommand(self): # Struct
36+
return self.get_body_params().get('CreateCommand')
37+
38+
def set_CreateCommand(self, CreateCommand): # Struct
39+
self.add_body_params("CreateCommand", json.dumps(CreateCommand))
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
import json
22+
23+
class CreateDataSourceRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'CreateDataSource')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
def get_OpTenantId(self): # Long
31+
return self.get_query_params().get('OpTenantId')
32+
33+
def set_OpTenantId(self, OpTenantId): # Long
34+
self.add_query_param('OpTenantId', OpTenantId)
35+
def get_CreateCommand(self): # Struct
36+
return self.get_body_params().get('CreateCommand')
37+
38+
def set_CreateCommand(self, CreateCommand): # Struct
39+
self.add_body_params("CreateCommand", json.dumps(CreateCommand))
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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+
import json
22+
23+
class CreateDirectoryRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'CreateDirectory')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
30+
def get_OpTenantId(self): # Long
31+
return self.get_query_params().get('OpTenantId')
32+
33+
def set_OpTenantId(self, OpTenantId): # Long
34+
self.add_query_param('OpTenantId', OpTenantId)
35+
def get_CreateCommand(self): # Struct
36+
return self.get_body_params().get('CreateCommand')
37+
38+
def set_CreateCommand(self, CreateCommand): # Struct
39+
self.add_body_params("CreateCommand", json.dumps(CreateCommand))

0 commit comments

Comments
 (0)