diff --git a/aliyun-python-sdk-dms-enterprise/ChangeLog.txt b/aliyun-python-sdk-dms-enterprise/ChangeLog.txt index c0526e471d..52b7f986c8 100644 --- a/aliyun-python-sdk-dms-enterprise/ChangeLog.txt +++ b/aliyun-python-sdk-dms-enterprise/ChangeLog.txt @@ -1,3 +1,6 @@ +2024-11-27 Version: 1.53.11 +- Support ListDataLakeCatalog, ListDataLakeDatabase, ListDataLakeTablebaseInfo, GetDataLakeCatalog, GetDataLakeDatabase, GetDataLakeTable API. + 2024-08-02 Version: 1.53.10 - Support switch login user diff --git a/aliyun-python-sdk-dms-enterprise/README.rst b/aliyun-python-sdk-dms-enterprise/README.rst index 41b276e815..babdd4adb7 100644 --- a/aliyun-python-sdk-dms-enterprise/README.rst +++ b/aliyun-python-sdk-dms-enterprise/README.rst @@ -8,7 +8,7 @@ Aliyun Python SDK is the official software development kit. It makes things easy This module works on Python versions: -2.6.5 and greater +3.7 and greater **Documentation:** diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/__init__.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/__init__.py index d1f3ad4af2..380631c0cf 100644 --- a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/__init__.py +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/__init__.py @@ -1 +1 @@ -__version__ = '1.53.10' \ No newline at end of file +__version__ = '1.53.11' \ No newline at end of file diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/AddAuthorityTemplateItemsRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/AddAuthorityTemplateItemsRequest.py new file mode 100644 index 0000000000..d717055603 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/AddAuthorityTemplateItemsRequest.py @@ -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)) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/CreateAbacAuthorizationRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/CreateAbacAuthorizationRequest.py new file mode 100644 index 0000000000..d9f4a6fff8 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/CreateAbacAuthorizationRequest.py @@ -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) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/CreateAbacPolicyRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/CreateAbacPolicyRequest.py new file mode 100644 index 0000000000..3e97176f76 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/CreateAbacPolicyRequest.py @@ -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) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/DeleteAbacAuthorizationRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/DeleteAbacAuthorizationRequest.py new file mode 100644 index 0000000000..56954cb7a4 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/DeleteAbacAuthorizationRequest.py @@ -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) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/DeleteAbacPolicyRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/DeleteAbacPolicyRequest.py new file mode 100644 index 0000000000..f061a3e7b3 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/DeleteAbacPolicyRequest.py @@ -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) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetAbacPolicyRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetAbacPolicyRequest.py new file mode 100644 index 0000000000..82f31113e4 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetAbacPolicyRequest.py @@ -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) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetDataLakeCatalogRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetDataLakeCatalogRequest.py new file mode 100644 index 0000000000..c949e539ef --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetDataLakeCatalogRequest.py @@ -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) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetDataLakeDatabaseRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetDataLakeDatabaseRequest.py new file mode 100644 index 0000000000..5d8876fa65 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetDataLakeDatabaseRequest.py @@ -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 GetDataLakeDatabaseRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'GetDataLakeDatabase','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) + def get_Name(self): # String + return self.get_query_params().get('Name') + + def set_Name(self, Name): # String + self.add_query_param('Name', Name) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetDataLakeTableRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetDataLakeTableRequest.py new file mode 100644 index 0000000000..16ca0949e2 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/GetDataLakeTableRequest.py @@ -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 GetDataLakeTableRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'GetDataLakeTable','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_DbName(self): # String + return self.get_query_params().get('DbName') + + def set_DbName(self, DbName): # String + self.add_query_param('DbName', DbName) + def get_DataRegion(self): # String + return self.get_query_params().get('DataRegion') + + def set_DataRegion(self, DataRegion): # String + self.add_query_param('DataRegion', DataRegion) + def get_Name(self): # String + return self.get_query_params().get('Name') + + def set_Name(self, Name): # String + self.add_query_param('Name', Name) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAbacAuthorizationsRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAbacAuthorizationsRequest.py new file mode 100644 index 0000000000..c1b373fb9b --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAbacAuthorizationsRequest.py @@ -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 ListAbacAuthorizationsRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListAbacAuthorizations','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_PageNumber(self): # Long + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # Long + self.add_query_param('PageNumber', PageNumber) + 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): # String + return self.get_query_params().get('PolicyId') + + def set_PolicyId(self, PolicyId): # String + self.add_query_param('PolicyId', PolicyId) + def get_PageSize(self): # Long + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # Long + self.add_query_param('PageSize', PageSize) + def get_PolicySource(self): # String + return self.get_query_params().get('PolicySource') + + def set_PolicySource(self, PolicySource): # String + self.add_query_param('PolicySource', PolicySource) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAbacPoliciesRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAbacPoliciesRequest.py new file mode 100644 index 0000000000..a939bac9bd --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAbacPoliciesRequest.py @@ -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 ListAbacPoliciesRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListAbacPolicies','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_SearchKey(self): # String + return self.get_query_params().get('SearchKey') + + def set_SearchKey(self, SearchKey): # String + self.add_query_param('SearchKey', SearchKey) + def get_PageNumber(self): # Long + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # Long + self.add_query_param('PageNumber', PageNumber) + 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_PageSize(self): # Long + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # Long + self.add_query_param('PageSize', PageSize) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedDatabasesForUserRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedDatabasesForUserRequest.py new file mode 100644 index 0000000000..f714d6a7ef --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedDatabasesForUserRequest.py @@ -0,0 +1,74 @@ +# 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 ListAuthorizedDatabasesForUserRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListAuthorizedDatabasesForUser','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_SearchKey(self): # String + return self.get_query_params().get('SearchKey') + + def set_SearchKey(self, SearchKey): # String + self.add_query_param('SearchKey', SearchKey) + def get_UserId(self): # String + return self.get_query_params().get('UserId') + + def set_UserId(self, UserId): # String + self.add_query_param('UserId', UserId) + def get_PageNumber(self): # String + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # String + self.add_query_param('PageNumber', PageNumber) + 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_EnvType(self): # String + return self.get_query_params().get('EnvType') + + def set_EnvType(self, EnvType): # String + self.add_query_param('EnvType', EnvType) + def get_PageSize(self): # String + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # String + self.add_query_param('PageSize', PageSize) + def get_DbType(self): # String + return self.get_query_params().get('DbType') + + def set_DbType(self, DbType): # String + self.add_query_param('DbType', DbType) + def get_Logic(self): # Boolean + return self.get_query_params().get('Logic') + + def set_Logic(self, Logic): # Boolean + self.add_query_param('Logic', Logic) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedInstancesForUserRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedInstancesForUserRequest.py new file mode 100644 index 0000000000..2853040ab3 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedInstancesForUserRequest.py @@ -0,0 +1,69 @@ +# 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 ListAuthorizedInstancesForUserRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListAuthorizedInstancesForUser','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_SearchKey(self): # String + return self.get_query_params().get('SearchKey') + + def set_SearchKey(self, SearchKey): # String + self.add_query_param('SearchKey', SearchKey) + def get_UserId(self): # String + return self.get_query_params().get('UserId') + + def set_UserId(self, UserId): # String + self.add_query_param('UserId', UserId) + def get_PageNumber(self): # String + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # String + self.add_query_param('PageNumber', PageNumber) + 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_EnvType(self): # String + return self.get_query_params().get('EnvType') + + def set_EnvType(self, EnvType): # String + self.add_query_param('EnvType', EnvType) + def get_PageSize(self): # String + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # String + self.add_query_param('PageSize', PageSize) + def get_DbType(self): # String + return self.get_query_params().get('DbType') + + def set_DbType(self, DbType): # String + self.add_query_param('DbType', DbType) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedUsersForDatabaseRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedUsersForDatabaseRequest.py new file mode 100644 index 0000000000..89b3a29bb6 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedUsersForDatabaseRequest.py @@ -0,0 +1,64 @@ +# 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 ListAuthorizedUsersForDatabaseRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListAuthorizedUsersForDatabase','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_SearchKey(self): # String + return self.get_query_params().get('SearchKey') + + def set_SearchKey(self, SearchKey): # String + self.add_query_param('SearchKey', SearchKey) + def get_PageNumber(self): # String + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # String + self.add_query_param('PageNumber', PageNumber) + 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_PageSize(self): # String + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # String + self.add_query_param('PageSize', PageSize) + def get_DbId(self): # String + return self.get_query_params().get('DbId') + + def set_DbId(self, DbId): # String + self.add_query_param('DbId', DbId) + def get_Logic(self): # Boolean + return self.get_query_params().get('Logic') + + def set_Logic(self, Logic): # Boolean + self.add_query_param('Logic', Logic) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedUsersForInstanceRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedUsersForInstanceRequest.py new file mode 100644 index 0000000000..26b41c440c --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListAuthorizedUsersForInstanceRequest.py @@ -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 ListAuthorizedUsersForInstanceRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListAuthorizedUsersForInstance','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_SearchKey(self): # String + return self.get_query_params().get('SearchKey') + + def set_SearchKey(self, SearchKey): # String + self.add_query_param('SearchKey', SearchKey) + def get_PageNumber(self): # String + return self.get_query_params().get('PageNumber') + + def set_PageNumber(self, PageNumber): # String + self.add_query_param('PageNumber', PageNumber) + 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_PageSize(self): # String + return self.get_query_params().get('PageSize') + + def set_PageSize(self, PageSize): # String + self.add_query_param('PageSize', PageSize) + def get_InstanceId(self): # String + return self.get_query_params().get('InstanceId') + + def set_InstanceId(self, InstanceId): # String + self.add_query_param('InstanceId', InstanceId) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListDataLakeCatalogRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListDataLakeCatalogRequest.py new file mode 100644 index 0000000000..f2888db8b8 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListDataLakeCatalogRequest.py @@ -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 ListDataLakeCatalogRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListDataLakeCatalog','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_SearchKey(self): # String + return self.get_query_params().get('SearchKey') + + def set_SearchKey(self, SearchKey): # String + self.add_query_param('SearchKey', SearchKey) + 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_DataRegion(self): # String + return self.get_query_params().get('DataRegion') + + def set_DataRegion(self, DataRegion): # String + self.add_query_param('DataRegion', DataRegion) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListDataLakeDatabaseRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListDataLakeDatabaseRequest.py new file mode 100644 index 0000000000..45d84d2832 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListDataLakeDatabaseRequest.py @@ -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 ListDataLakeDatabaseRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListDataLakeDatabase','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_SearchKey(self): # String + return self.get_query_params().get('SearchKey') + + def set_SearchKey(self, SearchKey): # String + self.add_query_param('SearchKey', SearchKey) + 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) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListDataLakeTablebaseInfoRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListDataLakeTablebaseInfoRequest.py new file mode 100644 index 0000000000..b2b9ddfdd6 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/ListDataLakeTablebaseInfoRequest.py @@ -0,0 +1,69 @@ +# 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 ListDataLakeTablebaseInfoRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'ListDataLakeTablebaseInfo','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_SearchKey(self): # String + return self.get_query_params().get('SearchKey') + + def set_SearchKey(self, SearchKey): # String + self.add_query_param('SearchKey', SearchKey) + 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_Rows(self): # Integer + return self.get_query_params().get('Rows') + + def set_Rows(self, Rows): # Integer + self.add_query_param('Rows', Rows) + def get_DbName(self): # String + return self.get_query_params().get('DbName') + + def set_DbName(self, DbName): # String + self.add_query_param('DbName', DbName) + def get_DataRegion(self): # String + return self.get_query_params().get('DataRegion') + + def set_DataRegion(self, DataRegion): # String + self.add_query_param('DataRegion', DataRegion) + def get_Page(self): # Integer + return self.get_query_params().get('Page') + + def set_Page(self, Page): # Integer + self.add_query_param('Page', Page) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/PauseDataExportJobRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/PauseDataExportJobRequest.py new file mode 100644 index 0000000000..9b8f4c807c --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/PauseDataExportJobRequest.py @@ -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 PauseDataExportJobRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'PauseDataExportJob','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_JobId(self): # Long + return self.get_query_params().get('JobId') + + def set_JobId(self, JobId): # Long + self.add_query_param('JobId', JobId) + def get_OrderId(self): # Long + return self.get_query_params().get('OrderId') + + def set_OrderId(self, OrderId): # Long + self.add_query_param('OrderId', OrderId) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/RemoveDataExportJobRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/RemoveDataExportJobRequest.py new file mode 100644 index 0000000000..c22e5c94c0 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/RemoveDataExportJobRequest.py @@ -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 RemoveDataExportJobRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'RemoveDataExportJob','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_JobId(self): # Long + return self.get_query_params().get('JobId') + + def set_JobId(self, JobId): # Long + self.add_query_param('JobId', JobId) + def get_OrderId(self): # Long + return self.get_query_params().get('OrderId') + + def set_OrderId(self, OrderId): # Long + self.add_query_param('OrderId', OrderId) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/RestartDataExportJobRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/RestartDataExportJobRequest.py new file mode 100644 index 0000000000..d89f6733fd --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/RestartDataExportJobRequest.py @@ -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 RestartDataExportJobRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'RestartDataExportJob','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_JobId(self): # Long + return self.get_query_params().get('JobId') + + def set_JobId(self, JobId): # Long + self.add_query_param('JobId', JobId) + def get_OrderId(self): # Long + return self.get_query_params().get('OrderId') + + def set_OrderId(self, OrderId): # Long + self.add_query_param('OrderId', OrderId) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/SetWorkflowExtraInfoRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/SetWorkflowExtraInfoRequest.py new file mode 100644 index 0000000000..947ad4cfca --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/SetWorkflowExtraInfoRequest.py @@ -0,0 +1,79 @@ +# 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 SetWorkflowExtraInfoRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'SetWorkflowExtraInfo','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_ThirdpartyWorkflowComment(self): # String + return self.get_query_params().get('ThirdpartyWorkflowComment') + + def set_ThirdpartyWorkflowComment(self, ThirdpartyWorkflowComment): # String + self.add_query_param('ThirdpartyWorkflowComment', ThirdpartyWorkflowComment) + def get_RenderAgree(self): # Boolean + return self.get_query_params().get('RenderAgree') + + def set_RenderAgree(self, RenderAgree): # Boolean + self.add_query_param('RenderAgree', RenderAgree) + 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_WorkflowInstanceId(self): # Long + return self.get_query_params().get('WorkflowInstanceId') + + def set_WorkflowInstanceId(self, WorkflowInstanceId): # Long + self.add_query_param('WorkflowInstanceId', WorkflowInstanceId) + def get_RenderCancel(self): # Boolean + return self.get_query_params().get('RenderCancel') + + def set_RenderCancel(self, RenderCancel): # Boolean + self.add_query_param('RenderCancel', RenderCancel) + def get_RenderAddApprovalNode(self): # Boolean + return self.get_query_params().get('RenderAddApprovalNode') + + def set_RenderAddApprovalNode(self, RenderAddApprovalNode): # Boolean + self.add_query_param('RenderAddApprovalNode', RenderAddApprovalNode) + def get_RenderTransfer(self): # Boolean + return self.get_query_params().get('RenderTransfer') + + def set_RenderTransfer(self, RenderTransfer): # Boolean + self.add_query_param('RenderTransfer', RenderTransfer) + def get_RenderReject(self): # Boolean + return self.get_query_params().get('RenderReject') + + def set_RenderReject(self, RenderReject): # Boolean + self.add_query_param('RenderReject', RenderReject) + def get_ThirdpartyWorkflowUrl(self): # String + return self.get_query_params().get('ThirdpartyWorkflowUrl') + + def set_ThirdpartyWorkflowUrl(self, ThirdpartyWorkflowUrl): # String + self.add_query_param('ThirdpartyWorkflowUrl', ThirdpartyWorkflowUrl) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/SuspendDataExportJobRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/SuspendDataExportJobRequest.py new file mode 100644 index 0000000000..09b41b08f6 --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/SuspendDataExportJobRequest.py @@ -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 SuspendDataExportJobRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'SuspendDataExportJob','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_JobId(self): # Long + return self.get_query_params().get('JobId') + + def set_JobId(self, JobId): # Long + self.add_query_param('JobId', JobId) + def get_OrderId(self): # Long + return self.get_query_params().get('OrderId') + + def set_OrderId(self, OrderId): # Long + self.add_query_param('OrderId', OrderId) diff --git a/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/UpdateAbacPolicyRequest.py b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/UpdateAbacPolicyRequest.py new file mode 100644 index 0000000000..865e87dedf --- /dev/null +++ b/aliyun-python-sdk-dms-enterprise/aliyunsdkdms_enterprise/request/v20181101/UpdateAbacPolicyRequest.py @@ -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 UpdateAbacPolicyRequest(RpcRequest): + + def __init__(self): + RpcRequest.__init__(self, 'dms-enterprise', '2018-11-01', 'UpdateAbacPolicy','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_AbacPolicyId(self): # Long + return self.get_query_params().get('AbacPolicyId') + + def set_AbacPolicyId(self, AbacPolicyId): # Long + self.add_query_param('AbacPolicyId', AbacPolicyId) + 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) diff --git a/aliyun-python-sdk-dms-enterprise/setup.py b/aliyun-python-sdk-dms-enterprise/setup.py index b651ec8d2b..ba8e2533f8 100644 --- a/aliyun-python-sdk-dms-enterprise/setup.py +++ b/aliyun-python-sdk-dms-enterprise/setup.py @@ -65,13 +65,13 @@ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", - "Programming Language :: Python :: 2.6", - "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.3", - "Programming Language :: Python :: 3.4", - "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development", )