aliyun-python-sdk-dataphin-public 1.0.8__py2.py3-none-any.whl → 1.0.10__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 (61) hide show
  1. {aliyun_python_sdk_dataphin_public-1.0.8.dist-info → aliyun_python_sdk_dataphin_public-1.0.10.dist-info}/METADATA +1 -1
  2. {aliyun_python_sdk_dataphin_public-1.0.8.dist-info → aliyun_python_sdk_dataphin_public-1.0.10.dist-info}/RECORD +61 -6
  3. aliyunsdkdataphin_public/__init__.py +1 -1
  4. aliyunsdkdataphin_public/request/v20230630/AddDataServiceProjectMemberRequest.py +44 -0
  5. aliyunsdkdataphin_public/request/v20230630/AddProjectMemberRequest.py +44 -0
  6. aliyunsdkdataphin_public/request/v20230630/ApplyDataServiceApiRequest.py +44 -0
  7. aliyunsdkdataphin_public/request/v20230630/ApplyDataServiceAppRequest.py +44 -0
  8. aliyunsdkdataphin_public/request/v20230630/CheckComputeSourceConnectivityByIdRequest.py +38 -0
  9. aliyunsdkdataphin_public/request/v20230630/CheckComputeSourceConnectivityRequest.py +39 -0
  10. aliyunsdkdataphin_public/request/v20230630/CheckProjectHasDependencyRequest.py +38 -0
  11. aliyunsdkdataphin_public/request/v20230630/CreateComputeSourceRequest.py +39 -0
  12. aliyunsdkdataphin_public/request/v20230630/CreateResourceRequest.py +39 -0
  13. aliyunsdkdataphin_public/request/v20230630/CreateUdfRequest.py +39 -0
  14. aliyunsdkdataphin_public/request/v20230630/DeleteComputeSourceRequest.py +38 -0
  15. aliyunsdkdataphin_public/request/v20230630/DeleteResourceRequest.py +48 -0
  16. aliyunsdkdataphin_public/request/v20230630/DeleteUdfRequest.py +48 -0
  17. aliyunsdkdataphin_public/request/v20230630/GetComputeSourceRequest.py +38 -0
  18. aliyunsdkdataphin_public/request/v20230630/GetDataServiceApiCallSummaryRequest.py +48 -0
  19. aliyunsdkdataphin_public/request/v20230630/GetDataServiceApiCallTrendRequest.py +48 -0
  20. aliyunsdkdataphin_public/request/v20230630/GetDataServiceApiDocumentRequest.py +43 -0
  21. aliyunsdkdataphin_public/request/v20230630/GetDataServiceApiErrorImpactRequest.py +48 -0
  22. aliyunsdkdataphin_public/request/v20230630/GetDataServiceApiGroupsRequest.py +38 -0
  23. aliyunsdkdataphin_public/request/v20230630/GetDataServiceAppAuthorizedUsersRequest.py +43 -0
  24. aliyunsdkdataphin_public/request/v20230630/GetDataServiceAppGroupsRequest.py +38 -0
  25. aliyunsdkdataphin_public/request/v20230630/GetDataServiceAppsByGroupIdRequest.py +43 -0
  26. aliyunsdkdataphin_public/request/v20230630/GetDataServiceAuthorizedAppsByGroupIdRequest.py +43 -0
  27. aliyunsdkdataphin_public/request/v20230630/GetDataServiceAuthorizedProjectsRequest.py +33 -0
  28. aliyunsdkdataphin_public/request/v20230630/GetDataServiceMyProjectsRequest.py +33 -0
  29. aliyunsdkdataphin_public/request/v20230630/GetDataServiceProjectAddableUsersRequest.py +38 -0
  30. aliyunsdkdataphin_public/request/v20230630/GetDataSourceDependenciesRequest.py +38 -0
  31. aliyunsdkdataphin_public/request/v20230630/GetFileStorageCredentialRequest.py +48 -0
  32. aliyunsdkdataphin_public/request/v20230630/GetProjectByNameRequest.py +38 -0
  33. aliyunsdkdataphin_public/request/v20230630/GetProjectRequest.py +43 -0
  34. aliyunsdkdataphin_public/request/v20230630/GetProjectWhiteListsRequest.py +38 -0
  35. aliyunsdkdataphin_public/request/v20230630/GetResourceByVersionRequest.py +48 -0
  36. aliyunsdkdataphin_public/request/v20230630/GetResourceRequest.py +43 -0
  37. aliyunsdkdataphin_public/request/v20230630/GetUdfByVersionRequest.py +48 -0
  38. aliyunsdkdataphin_public/request/v20230630/GetUdfRequest.py +43 -0
  39. aliyunsdkdataphin_public/request/v20230630/GrantDataServiceApiRequest.py +44 -0
  40. aliyunsdkdataphin_public/request/v20230630/ListComputeSourcesRequest.py +39 -0
  41. aliyunsdkdataphin_public/request/v20230630/ListDataServiceApiCallStatisticsRequest.py +44 -0
  42. aliyunsdkdataphin_public/request/v20230630/ListDataServiceApiCallsRequest.py +44 -0
  43. aliyunsdkdataphin_public/request/v20230630/ListDataServiceApiImpactsRequest.py +44 -0
  44. aliyunsdkdataphin_public/request/v20230630/ListDataServiceAuthorizedAppsRequest.py +44 -0
  45. aliyunsdkdataphin_public/request/v20230630/ListDataServiceMyApiPermissionsRequest.py +44 -0
  46. aliyunsdkdataphin_public/request/v20230630/ListDataServiceMyAppPermissionsRequest.py +44 -0
  47. aliyunsdkdataphin_public/request/v20230630/ListDataServicePublishedApisRequest.py +44 -0
  48. aliyunsdkdataphin_public/request/v20230630/ListProjectMembersRequest.py +44 -0
  49. aliyunsdkdataphin_public/request/v20230630/ListProjectsRequest.py +39 -0
  50. aliyunsdkdataphin_public/request/v20230630/PublishDataServiceApiRequest.py +48 -0
  51. aliyunsdkdataphin_public/request/v20230630/RemoveProjectMemberRequest.py +44 -0
  52. aliyunsdkdataphin_public/request/v20230630/ReplaceProjectWhiteListsRequest.py +44 -0
  53. aliyunsdkdataphin_public/request/v20230630/RevokeDataServiceApiRequest.py +44 -0
  54. aliyunsdkdataphin_public/request/v20230630/UpdateComputeSourceRequest.py +39 -0
  55. aliyunsdkdataphin_public/request/v20230630/UpdateProjectMemberRequest.py +44 -0
  56. aliyunsdkdataphin_public/request/v20230630/UpdateResourceRequest.py +39 -0
  57. aliyunsdkdataphin_public/request/v20230630/UpdateTenantComputeEngineRequest.py +39 -0
  58. aliyunsdkdataphin_public/request/v20230630/UpdateUdfRequest.py +39 -0
  59. {aliyun_python_sdk_dataphin_public-1.0.8.dist-info → aliyun_python_sdk_dataphin_public-1.0.10.dist-info}/LICENSE +0 -0
  60. {aliyun_python_sdk_dataphin_public-1.0.8.dist-info → aliyun_python_sdk_dataphin_public-1.0.10.dist-info}/WHEEL +0 -0
  61. {aliyun_python_sdk_dataphin_public-1.0.8.dist-info → aliyun_python_sdk_dataphin_public-1.0.10.dist-info}/top_level.txt +0 -0
@@ -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 GetDataSourceDependenciesRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetDataSourceDependencies')
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)
@@ -0,0 +1,48 @@
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 GetFileStorageCredentialRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetFileStorageCredential')
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_Purpose(self): # String
35
+ return self.get_query_params().get('Purpose')
36
+
37
+ def set_Purpose(self, Purpose): # String
38
+ self.add_query_param('Purpose', Purpose)
39
+ def get_UseVpcEndpoint(self): # Boolean
40
+ return self.get_query_params().get('UseVpcEndpoint')
41
+
42
+ def set_UseVpcEndpoint(self, UseVpcEndpoint): # Boolean
43
+ self.add_query_param('UseVpcEndpoint', UseVpcEndpoint)
44
+ def get_ProjectId(self): # Long
45
+ return self.get_query_params().get('ProjectId')
46
+
47
+ def set_ProjectId(self, ProjectId): # Long
48
+ self.add_query_param('ProjectId', ProjectId)
@@ -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 GetProjectByNameRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetProjectByName')
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_Name(self): # String
35
+ return self.get_query_params().get('Name')
36
+
37
+ def set_Name(self, Name): # String
38
+ self.add_query_param('Name', Name)
@@ -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 GetProjectRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetProject')
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_Id(self): # Long
40
+ return self.get_query_params().get('Id')
41
+
42
+ def set_Id(self, Id): # Long
43
+ self.add_query_param('Id', Id)
@@ -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 GetProjectWhiteListsRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetProjectWhiteLists')
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)
@@ -0,0 +1,48 @@
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 GetResourceByVersionRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetResourceByVersion')
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_VersionId(self): # Long
35
+ return self.get_query_params().get('VersionId')
36
+
37
+ def set_VersionId(self, VersionId): # Long
38
+ self.add_query_param('VersionId', VersionId)
39
+ def get_Name(self): # String
40
+ return self.get_query_params().get('Name')
41
+
42
+ def set_Name(self, Name): # String
43
+ self.add_query_param('Name', Name)
44
+ def get_ProjectId(self): # Long
45
+ return self.get_query_params().get('ProjectId')
46
+
47
+ def set_ProjectId(self, ProjectId): # Long
48
+ 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 GetResourceRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetResource')
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_Name(self): # String
35
+ return self.get_query_params().get('Name')
36
+
37
+ def set_Name(self, Name): # String
38
+ self.add_query_param('Name', Name)
39
+ def get_ProjectId(self): # Long
40
+ return self.get_query_params().get('ProjectId')
41
+
42
+ def set_ProjectId(self, ProjectId): # Long
43
+ self.add_query_param('ProjectId', ProjectId)
@@ -0,0 +1,48 @@
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 GetUdfByVersionRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetUdfByVersion')
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_VersionId(self): # Long
35
+ return self.get_query_params().get('VersionId')
36
+
37
+ def set_VersionId(self, VersionId): # Long
38
+ self.add_query_param('VersionId', VersionId)
39
+ def get_Id(self): # Long
40
+ return self.get_query_params().get('Id')
41
+
42
+ def set_Id(self, Id): # Long
43
+ self.add_query_param('Id', Id)
44
+ def get_ProjectId(self): # Long
45
+ return self.get_query_params().get('ProjectId')
46
+
47
+ def set_ProjectId(self, ProjectId): # Long
48
+ 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 GetUdfRequest(RpcRequest):
23
+
24
+ def __init__(self):
25
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GetUdf')
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)
39
+ def get_ProjectId(self): # Long
40
+ return self.get_query_params().get('ProjectId')
41
+
42
+ def set_ProjectId(self, ProjectId): # Long
43
+ self.add_query_param('ProjectId', ProjectId)
@@ -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 GrantDataServiceApiRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'GrantDataServiceApi')
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))
40
+ def get_ProjectId(self): # Integer
41
+ return self.get_query_params().get('ProjectId')
42
+
43
+ def set_ProjectId(self, ProjectId): # Integer
44
+ self.add_query_param('ProjectId', ProjectId)
@@ -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 ListComputeSourcesRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListComputeSources')
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 ListDataServiceApiCallStatisticsRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListDataServiceApiCallStatistics')
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_ProjectId(self): # Integer
41
+ return self.get_query_params().get('ProjectId')
42
+
43
+ def set_ProjectId(self, ProjectId): # Integer
44
+ self.add_query_param('ProjectId', ProjectId)
@@ -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 ListDataServiceApiCallsRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListDataServiceApiCalls')
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_ProjectId(self): # Integer
41
+ return self.get_query_params().get('ProjectId')
42
+
43
+ def set_ProjectId(self, ProjectId): # Integer
44
+ self.add_query_param('ProjectId', ProjectId)
@@ -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 ListDataServiceApiImpactsRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListDataServiceApiImpacts')
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_ProjectId(self): # Integer
41
+ return self.get_query_params().get('ProjectId')
42
+
43
+ def set_ProjectId(self, ProjectId): # Integer
44
+ self.add_query_param('ProjectId', ProjectId)
@@ -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 ListDataServiceAuthorizedAppsRequest(RpcRequest):
24
+
25
+ def __init__(self):
26
+ RpcRequest.__init__(self, 'dataphin-public', '2023-06-30', 'ListDataServiceAuthorizedApps')
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_ProjectId(self): # Integer
41
+ return self.get_query_params().get('ProjectId')
42
+
43
+ def set_ProjectId(self, ProjectId): # Integer
44
+ self.add_query_param('ProjectId', ProjectId)