-
Notifications
You must be signed in to change notification settings - Fork 587
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support ListDataLakeCatalog, ListDataLakeDatabase, ListDataLakeTableb…
…aseInfo, GetDataLakeCatalog, GetDataLakeDatabase, GetDataLakeTable API.
- Loading branch information
Showing
28 changed files
with
1,363 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = '1.53.10' | ||
__version__ = '1.53.11' |
50 changes: 50 additions & 0 deletions
50
...-enterprise/aliyunsdkdms_enterprise/request/v20181101/AddAuthorityTemplateItemsRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkdms_enterprise.endpoint import endpoint_data | ||
import json | ||
|
||
class AddAuthorityTemplateItemsRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'AddAuthorityTemplateItems','dms-enterprise') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_Tid(self): # Long | ||
return self.get_query_params().get('Tid') | ||
|
||
def set_Tid(self, Tid): # Long | ||
self.add_query_param('Tid', Tid) | ||
def get_TemplateId(self): # Long | ||
return self.get_query_params().get('TemplateId') | ||
|
||
def set_TemplateId(self, TemplateId): # Long | ||
self.add_query_param('TemplateId', TemplateId) | ||
def get_Items(self): # Array | ||
return self.get_query_params().get('Items') | ||
|
||
def set_Items(self, Items): # Array | ||
self.add_query_param("Items", json.dumps(Items)) |
59 changes: 59 additions & 0 deletions
59
...ms-enterprise/aliyunsdkdms_enterprise/request/v20181101/CreateAbacAuthorizationRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkdms_enterprise.endpoint import endpoint_data | ||
|
||
class CreateAbacAuthorizationRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'CreateAbacAuthorization','dms-enterprise') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_RoleId(self): # Long | ||
return self.get_query_params().get('RoleId') | ||
|
||
def set_RoleId(self, RoleId): # Long | ||
self.add_query_param('RoleId', RoleId) | ||
def get_UserId(self): # Long | ||
return self.get_query_params().get('UserId') | ||
|
||
def set_UserId(self, UserId): # Long | ||
self.add_query_param('UserId', UserId) | ||
def get_Tid(self): # Long | ||
return self.get_query_params().get('Tid') | ||
|
||
def set_Tid(self, Tid): # Long | ||
self.add_query_param('Tid', Tid) | ||
def get_PolicyId(self): # Long | ||
return self.get_query_params().get('PolicyId') | ||
|
||
def set_PolicyId(self, PolicyId): # Long | ||
self.add_query_param('PolicyId', PolicyId) | ||
def get_IdentityType(self): # String | ||
return self.get_query_params().get('IdentityType') | ||
|
||
def set_IdentityType(self, IdentityType): # String | ||
self.add_query_param('IdentityType', IdentityType) |
54 changes: 54 additions & 0 deletions
54
...n-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/CreateAbacPolicyRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkdms_enterprise.endpoint import endpoint_data | ||
|
||
class CreateAbacPolicyRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'CreateAbacPolicy','dms-enterprise') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_AbacPolicyContent(self): # String | ||
return self.get_query_params().get('AbacPolicyContent') | ||
|
||
def set_AbacPolicyContent(self, AbacPolicyContent): # String | ||
self.add_query_param('AbacPolicyContent', AbacPolicyContent) | ||
def get_Tid(self): # Long | ||
return self.get_query_params().get('Tid') | ||
|
||
def set_Tid(self, Tid): # Long | ||
self.add_query_param('Tid', Tid) | ||
def get_AbacPolicyDesc(self): # String | ||
return self.get_query_params().get('AbacPolicyDesc') | ||
|
||
def set_AbacPolicyDesc(self, AbacPolicyDesc): # String | ||
self.add_query_param('AbacPolicyDesc', AbacPolicyDesc) | ||
def get_AbacPolicyName(self): # String | ||
return self.get_query_params().get('AbacPolicyName') | ||
|
||
def set_AbacPolicyName(self, AbacPolicyName): # String | ||
self.add_query_param('AbacPolicyName', AbacPolicyName) |
49 changes: 49 additions & 0 deletions
49
...ms-enterprise/aliyunsdkdms_enterprise/request/v20181101/DeleteAbacAuthorizationRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkdms_enterprise.endpoint import endpoint_data | ||
|
||
class DeleteAbacAuthorizationRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'DeleteAbacAuthorization','dms-enterprise') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_Tid(self): # Long | ||
return self.get_query_params().get('Tid') | ||
|
||
def set_Tid(self, Tid): # Long | ||
self.add_query_param('Tid', Tid) | ||
def get_IdentityType(self): # String | ||
return self.get_query_params().get('IdentityType') | ||
|
||
def set_IdentityType(self, IdentityType): # String | ||
self.add_query_param('IdentityType', IdentityType) | ||
def get_AuthorizationId(self): # Long | ||
return self.get_query_params().get('AuthorizationId') | ||
|
||
def set_AuthorizationId(self, AuthorizationId): # Long | ||
self.add_query_param('AuthorizationId', AuthorizationId) |
44 changes: 44 additions & 0 deletions
44
...n-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/DeleteAbacPolicyRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkdms_enterprise.endpoint import endpoint_data | ||
|
||
class DeleteAbacPolicyRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'DeleteAbacPolicy','dms-enterprise') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_Tid(self): # Long | ||
return self.get_query_params().get('Tid') | ||
|
||
def set_Tid(self, Tid): # Long | ||
self.add_query_param('Tid', Tid) | ||
def get_AbacPolicyId(self): # Long | ||
return self.get_query_params().get('AbacPolicyId') | ||
|
||
def set_AbacPolicyId(self, AbacPolicyId): # Long | ||
self.add_query_param('AbacPolicyId', AbacPolicyId) |
49 changes: 49 additions & 0 deletions
49
...thon-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetAbacPolicyRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkdms_enterprise.endpoint import endpoint_data | ||
|
||
class GetAbacPolicyRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'GetAbacPolicy','dms-enterprise') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_Tid(self): # Long | ||
return self.get_query_params().get('Tid') | ||
|
||
def set_Tid(self, Tid): # Long | ||
self.add_query_param('Tid', Tid) | ||
def get_AbacPolicyId(self): # Long | ||
return self.get_query_params().get('AbacPolicyId') | ||
|
||
def set_AbacPolicyId(self, AbacPolicyId): # Long | ||
self.add_query_param('AbacPolicyId', AbacPolicyId) | ||
def get_AbacPolicyName(self): # String | ||
return self.get_query_params().get('AbacPolicyName') | ||
|
||
def set_AbacPolicyName(self, AbacPolicyName): # String | ||
self.add_query_param('AbacPolicyName', AbacPolicyName) |
49 changes: 49 additions & 0 deletions
49
...sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetDataLakeCatalogRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RpcRequest | ||
from aliyunsdkdms_enterprise.endpoint import endpoint_data | ||
|
||
class GetDataLakeCatalogRequest(RpcRequest): | ||
|
||
def __init__(self): | ||
RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'GetDataLakeCatalog','dms-enterprise') | ||
self.set_protocol_type('https') | ||
self.set_method('POST') | ||
|
||
if hasattr(self, "endpoint_map"): | ||
setattr(self, "endpoint_map", endpoint_data.getEndpointMap()) | ||
if hasattr(self, "endpoint_regional"): | ||
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional()) | ||
|
||
def get_Tid(self): # Long | ||
return self.get_query_params().get('Tid') | ||
|
||
def set_Tid(self, Tid): # Long | ||
self.add_query_param('Tid', Tid) | ||
def get_CatalogName(self): # String | ||
return self.get_query_params().get('CatalogName') | ||
|
||
def set_CatalogName(self, CatalogName): # String | ||
self.add_query_param('CatalogName', CatalogName) | ||
def get_DataRegion(self): # String | ||
return self.get_query_params().get('DataRegion') | ||
|
||
def set_DataRegion(self, DataRegion): # String | ||
self.add_query_param('DataRegion', DataRegion) |
Oops, something went wrong.