aliyun-python-sdk-dataphin-public 1.0.1__py2.py3-none-any.whl → 1.0.2__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.
Files changed (71) hide show
  1. {aliyun_python_sdk_dataphin_public-1.0.1.dist-info → aliyun_python_sdk_dataphin_public-1.0.2.dist-info}/METADATA +9 -9
  2. aliyun_python_sdk_dataphin_public-1.0.2.dist-info/RECORD +72 -0
  3. {aliyun_python_sdk_dataphin_public-1.0.1.dist-info → aliyun_python_sdk_dataphin_public-1.0.2.dist-info}/WHEEL +1 -1
  4. aliyunsdkdataphin_public/__init__.py +1 -1
  5. aliyunsdkdataphin_public/request/v20230630/{QueryPagedAddableUsersRequest.py → AddTenantMembersBySourceUserRequest.py} +6 -6
  6. aliyunsdkdataphin_public/request/v20230630/AddTenantMembersRequest.py +39 -0
  7. aliyunsdkdataphin_public/request/v20230630/AddUserGroupMemberRequest.py +39 -0
  8. aliyunsdkdataphin_public/request/v20230630/CheckDataSourceConnectivityByIdRequest.py +38 -0
  9. aliyunsdkdataphin_public/request/v20230630/CheckDataSourceConnectivityRequest.py +39 -0
  10. aliyunsdkdataphin_public/request/v20230630/CheckResourcePermissionRequest.py +39 -0
  11. aliyunsdkdataphin_public/request/v20230630/CreateAdHocFileRequest.py +39 -0
  12. aliyunsdkdataphin_public/request/v20230630/CreateDataSourceRequest.py +39 -0
  13. aliyunsdkdataphin_public/request/v20230630/CreateDirectoryRequest.py +39 -0
  14. aliyunsdkdataphin_public/request/v20230630/CreateNodeSupplementRequest.py +44 -0
  15. aliyunsdkdataphin_public/request/v20230630/CreateUserGroupRequest.py +39 -0
  16. aliyunsdkdataphin_public/request/v20230630/DeleteAdHocFileRequest.py +43 -0
  17. aliyunsdkdataphin_public/request/v20230630/DeleteDataSourceRequest.py +39 -0
  18. aliyunsdkdataphin_public/request/v20230630/DeleteDirectoryRequest.py +43 -0
  19. aliyunsdkdataphin_public/request/v20230630/DeleteUserGroupRequest.py +38 -0
  20. aliyunsdkdataphin_public/request/v20230630/ExecuteManualNodeRequest.py +44 -0
  21. aliyunsdkdataphin_public/request/v20230630/FixDataRequest.py +44 -0
  22. aliyunsdkdataphin_public/request/v20230630/GetAdHocFileRequest.py +43 -0
  23. aliyunsdkdataphin_public/request/v20230630/GetDevObjectDependencyRequest.py +53 -0
  24. aliyunsdkdataphin_public/request/v20230630/GetInstanceDownStreamRequest.py +54 -0
  25. aliyunsdkdataphin_public/request/v20230630/GetInstanceUpDownStreamRequest.py +59 -0
  26. aliyunsdkdataphin_public/request/v20230630/GetMyRolesRequest.py +33 -0
  27. aliyunsdkdataphin_public/request/v20230630/GetMyTenantsRequest.py +39 -0
  28. aliyunsdkdataphin_public/request/v20230630/GetNodeUpDownStreamRequest.py +59 -0
  29. aliyunsdkdataphin_public/request/v20230630/{BatchAddTenantMemberRequest.py → GetOperationSubmitStatusRequest.py} +11 -7
  30. aliyunsdkdataphin_public/request/v20230630/GetPhysicalInstanceLogRequest.py +48 -0
  31. aliyunsdkdataphin_public/request/v20230630/GetPhysicalInstanceRequest.py +48 -0
  32. aliyunsdkdataphin_public/request/v20230630/GetPhysicalNodeByOutputNameRequest.py +43 -0
  33. aliyunsdkdataphin_public/request/v20230630/GetPhysicalNodeContentRequest.py +43 -0
  34. aliyunsdkdataphin_public/request/v20230630/GetPhysicalNodeOperationLogRequest.py +43 -0
  35. aliyunsdkdataphin_public/request/v20230630/GetPhysicalNodeRequest.py +43 -0
  36. aliyunsdkdataphin_public/request/v20230630/GetProjectProduceUserRequest.py +38 -0
  37. aliyunsdkdataphin_public/request/v20230630/GetSupplementDagrunInstanceRequest.py +43 -0
  38. aliyunsdkdataphin_public/request/v20230630/GetSupplementDagrunRequest.py +43 -0
  39. aliyunsdkdataphin_public/request/v20230630/GetUserBySourceIdRequest.py +38 -0
  40. aliyunsdkdataphin_public/request/v20230630/GetUserGroupRequest.py +38 -0
  41. aliyunsdkdataphin_public/request/v20230630/{BatchGetUsersRequest.py → GetUsersRequest.py} +4 -4
  42. aliyunsdkdataphin_public/request/v20230630/GrantResourcePermissionRequest.py +39 -0
  43. aliyunsdkdataphin_public/request/v20230630/ListAddableRolesRequest.py +33 -0
  44. aliyunsdkdataphin_public/request/v20230630/{ListUsersRequest.py → ListAddableUsersRequest.py} +6 -6
  45. aliyunsdkdataphin_public/request/v20230630/ListDataSourceWithConfigRequest.py +39 -0
  46. aliyunsdkdataphin_public/request/v20230630/ListFilesRequest.py +39 -0
  47. aliyunsdkdataphin_public/request/v20230630/ListInstancesRequest.py +44 -0
  48. aliyunsdkdataphin_public/request/v20230630/ListNodeDownStreamRequest.py +44 -0
  49. aliyunsdkdataphin_public/request/v20230630/ListNodesRequest.py +44 -0
  50. aliyunsdkdataphin_public/request/v20230630/ListResourcePermissionOperationLogRequest.py +39 -0
  51. aliyunsdkdataphin_public/request/v20230630/ListResourcePermissionsRequest.py +39 -0
  52. aliyunsdkdataphin_public/request/v20230630/ListTenantMembersRequest.py +39 -0
  53. aliyunsdkdataphin_public/request/v20230630/ListUserGroupMembersRequest.py +39 -0
  54. aliyunsdkdataphin_public/request/v20230630/ListUserGroupsRequest.py +39 -0
  55. aliyunsdkdataphin_public/request/v20230630/OperateInstanceRequest.py +44 -0
  56. aliyunsdkdataphin_public/request/v20230630/PausePhysicalNodeRequest.py +44 -0
  57. aliyunsdkdataphin_public/request/v20230630/{RemoveUserRequest.py → RemoveTenantMemberRequest.py} +6 -6
  58. aliyunsdkdataphin_public/request/v20230630/RemoveUserGroupMemberRequest.py +39 -0
  59. aliyunsdkdataphin_public/request/v20230630/ResumePhysicalNodeRequest.py +44 -0
  60. aliyunsdkdataphin_public/request/v20230630/RevokeResourcePermissionRequest.py +39 -0
  61. aliyunsdkdataphin_public/request/v20230630/{UpdateTenantMembersRequest.py → UpdateAdHocFileRequest.py} +6 -6
  62. aliyunsdkdataphin_public/request/v20230630/UpdateDataSourceBasicInfoRequest.py +39 -0
  63. aliyunsdkdataphin_public/request/v20230630/UpdateDataSourceConfigRequest.py +39 -0
  64. aliyunsdkdataphin_public/request/v20230630/UpdateFileDirectoryRequest.py +48 -0
  65. aliyunsdkdataphin_public/request/v20230630/UpdateFileNameRequest.py +48 -0
  66. aliyunsdkdataphin_public/request/v20230630/UpdateTenantMemberRequest.py +39 -0
  67. aliyunsdkdataphin_public/request/v20230630/UpdateUserGroupRequest.py +39 -0
  68. aliyunsdkdataphin_public/request/v20230630/UpdateUserGroupSwitchRequest.py +43 -0
  69. aliyun_python_sdk_dataphin_public-1.0.1.dist-info/RECORD +0 -14
  70. {aliyun_python_sdk_dataphin_public-1.0.1.dist-info → aliyun_python_sdk_dataphin_public-1.0.2.dist-info}/LICENSE +0 -0
  71. {aliyun_python_sdk_dataphin_public-1.0.1.dist-info → aliyun_python_sdk_dataphin_public-1.0.2.dist-info}/top_level.txt +0 -0
@@ -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
+
22
+ class GetPhysicalNodeByOutputNameRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetPhysicalNodeByOutputName')
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_OutputName(self): # String
35
+ return self.get_query_params().get('OutputName')
36
+
37
+ def set_OutputName(self, OutputName): # String
38
+ self.add_query_param('OutputName', OutputName)
39
+ def get_Env(self): # String
40
+ return self.get_query_params().get('Env')
41
+
42
+ def set_Env(self, Env): # String
43
+ self.add_query_param('Env', Env)
@@ -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
+
22
+ class GetPhysicalNodeContentRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetPhysicalNodeContent')
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_Env(self): # String
35
+ return self.get_query_params().get('Env')
36
+
37
+ def set_Env(self, Env): # String
38
+ self.add_query_param('Env', Env)
39
+ def get_NodeId(self): # String
40
+ return self.get_query_params().get('NodeId')
41
+
42
+ def set_NodeId(self, NodeId): # String
43
+ self.add_query_param('NodeId', NodeId)
@@ -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
+
22
+ class GetPhysicalNodeOperationLogRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetPhysicalNodeOperationLog')
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_Env(self): # String
35
+ return self.get_query_params().get('Env')
36
+
37
+ def set_Env(self, Env): # String
38
+ self.add_query_param('Env', Env)
39
+ def get_NodeId(self): # String
40
+ return self.get_query_params().get('NodeId')
41
+
42
+ def set_NodeId(self, NodeId): # String
43
+ self.add_query_param('NodeId', NodeId)
@@ -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
+
22
+ class GetPhysicalNodeRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetPhysicalNode')
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_Env(self): # String
35
+ return self.get_query_params().get('Env')
36
+
37
+ def set_Env(self, Env): # String
38
+ self.add_query_param('Env', Env)
39
+ def get_NodeId(self): # String
40
+ return self.get_query_params().get('NodeId')
41
+
42
+ def set_NodeId(self, NodeId): # String
43
+ self.add_query_param('NodeId', NodeId)
@@ -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 GetProjectProduceUserRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetProjectProduceUser')
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_ProjectId(self): # Long
35
+ return self.get_query_params().get('ProjectId')
36
+
37
+ def set_ProjectId(self, ProjectId): # Long
38
+ self.add_query_param('ProjectId', ProjectId)
@@ -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
+
22
+ class GetSupplementDagrunInstanceRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetSupplementDagrunInstance')
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_Env(self): # String
35
+ return self.get_query_params().get('Env')
36
+
37
+ def set_Env(self, Env): # String
38
+ self.add_query_param('Env', Env)
39
+ def get_DagrunId(self): # String
40
+ return self.get_query_params().get('DagrunId')
41
+
42
+ def set_DagrunId(self, DagrunId): # String
43
+ self.add_query_param('DagrunId', DagrunId)
@@ -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
+
22
+ class GetSupplementDagrunRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetSupplementDagrun')
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_SupplementId(self): # String
35
+ return self.get_query_params().get('SupplementId')
36
+
37
+ def set_SupplementId(self, SupplementId): # String
38
+ self.add_query_param('SupplementId', SupplementId)
39
+ def get_Env(self): # String
40
+ return self.get_query_params().get('Env')
41
+
42
+ def set_Env(self, Env): # String
43
+ self.add_query_param('Env', Env)
@@ -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 GetUserBySourceIdRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetUserBySourceId')
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_SourceId(self): # String
35
+ return self.get_query_params().get('SourceId')
36
+
37
+ def set_SourceId(self, SourceId): # String
38
+ self.add_query_param('SourceId', SourceId)
@@ -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 GetUserGroupRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetUserGroup')
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_UserGroupId(self): # String
35
+ return self.get_query_params().get('UserGroupId')
36
+
37
+ def set_UserGroupId(self, UserGroupId): # String
38
+ self.add_query_param('UserGroupId', UserGroupId)
@@ -20,10 +20,10 @@
20
20
  from aliyunsdkcore.request import RpcRequest
21
21
  import json
22
22
 
23
- class BatchGetUsersRequest(RpcRequest):
23
+ class GetUsersRequest(RpcRequest):
24
24
 
25
25
  def __init__(self):
26
- RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'BatchGetUsers')
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetUsers')
27
27
  self.set_protocol_type('https')
28
28
  self.set_method('POST')
29
29
 
@@ -33,7 +33,7 @@ class BatchGetUsersRequest(RpcRequest):
33
33
  def set_OpTenantId(self, OpTenantId): # Long
34
34
  self.add_query_param('OpTenantId', OpTenantId)
35
35
  def get_UserIdList(self): # Array
36
- return self.get_query_params().get('UserIdList')
36
+ return self.get_body_params().get('UserIdList')
37
37
 
38
38
  def set_UserIdList(self, UserIdList): # Array
39
- self.add_query_param("UserIdList", json.dumps(UserIdList))
39
+ self.add_body_params("UserIdList", json.dumps(UserIdList))
@@ -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 GrantResourcePermissionRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GrantResourcePermission')
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_GrantCommand(self): # Struct
36
+ return self.get_body_params().get('GrantCommand')
37
+
38
+ def set_GrantCommand(self, GrantCommand): # Struct
39
+ self.add_body_params("GrantCommand", json.dumps(GrantCommand))
@@ -0,0 +1,33 @@
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 ListAddableRolesRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListAddableRoles')
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)
@@ -20,10 +20,10 @@
20
20
  from aliyunsdkcore.request import RpcRequest
21
21
  import json
22
22
 
23
- class ListUsersRequest(RpcRequest):
23
+ class ListAddableUsersRequest(RpcRequest):
24
24
 
25
25
  def __init__(self):
26
- RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListUsers')
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListAddableUsers')
27
27
  self.set_protocol_type('https')
28
28
  self.set_method('POST')
29
29
 
@@ -32,8 +32,8 @@ class ListUsersRequest(RpcRequest):
32
32
 
33
33
  def set_OpTenantId(self, OpTenantId): # Long
34
34
  self.add_query_param('OpTenantId', OpTenantId)
35
- def get_UserPagedQuery(self): # Struct
36
- return self.get_query_params().get('UserPagedQuery')
35
+ def get_ListQuery(self): # Struct
36
+ return self.get_body_params().get('ListQuery')
37
37
 
38
- def set_UserPagedQuery(self, UserPagedQuery): # Struct
39
- self.add_query_param("UserPagedQuery", json.dumps(UserPagedQuery))
38
+ def set_ListQuery(self, ListQuery): # Struct
39
+ self.add_body_params("ListQuery", json.dumps(ListQuery))
@@ -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 ListDataSourceWithConfigRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListDataSourceWithConfig')
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_ListQuery(self): # Struct
36
+ return self.get_body_params().get('ListQuery')
37
+
38
+ def set_ListQuery(self, ListQuery): # Struct
39
+ self.add_body_params("ListQuery", json.dumps(ListQuery))
@@ -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 ListFilesRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListFiles')
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_ListQuery(self): # Struct
36
+ return self.get_body_params().get('ListQuery')
37
+
38
+ def set_ListQuery(self, ListQuery): # Struct
39
+ self.add_body_params("ListQuery", json.dumps(ListQuery))
@@ -0,0 +1,44 @@
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 ListInstancesRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListInstances')
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_ListQuery(self): # Struct
36
+ return self.get_body_params().get('ListQuery')
37
+
38
+ def set_ListQuery(self, ListQuery): # Struct
39
+ self.add_body_params("ListQuery", json.dumps(ListQuery))
40
+ def get_Env(self): # String
41
+ return self.get_query_params().get('Env')
42
+
43
+ def set_Env(self, Env): # String
44
+ self.add_query_param('Env', Env)
@@ -0,0 +1,44 @@
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 ListNodeDownStreamRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListNodeDownStream')
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_ListQuery(self): # Struct
36
+ return self.get_body_params().get('ListQuery')
37
+
38
+ def set_ListQuery(self, ListQuery): # Struct
39
+ self.add_body_params("ListQuery", json.dumps(ListQuery))
40
+ def get_Env(self): # String
41
+ return self.get_query_params().get('Env')
42
+
43
+ def set_Env(self, Env): # String
44
+ self.add_query_param('Env', Env)