Skip to content

Commit 30a5275

Browse files
committed
Update api ListInstances.
1 parent 9462bb4 commit 30a5275

File tree

62 files changed

+2450
-0
lines changed

Some content is hidden

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

62 files changed

+2450
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2023-08-28 Version: 1.0.0
2+
Update api ListInstances.
3+
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 1999-present Alibaba Group Holding Ltd.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include LICENSE README.rst ChangeLog.txt
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
=============================================================
2+
aliyun-python-sdk-paifeaturestore
3+
=============================================================
4+
5+
.. This is the paifeaturestore module of Aliyun Python SDK.
6+
7+
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.
8+
9+
This module works on Python versions:
10+
11+
2.6.5 and greater
12+
13+
**Documentation:**
14+
15+
Please visit `http://develop.aliyun.com/sdk/python <http://develop.aliyun.com/sdk/python>`_
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
__version__ = '1.0.0'

aliyun-python-sdk-paifeaturestore/aliyunsdkpaifeaturestore/request/__init__.py

Whitespace-only changes.
Original file line numberDiff line numberDiff line change
@@ -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 RoaRequest
21+
22+
class ChangeProjectFeatureEntityHotIdVersionRequest(RoaRequest):
23+
24+
def __init__(self):
25+
RoaRequest.__init__(self, 'PaiFeatureStore', '2023-06-21', 'ChangeProjectFeatureEntityHotIdVersion')
26+
self.set_uri_pattern('/api/v1/instances/[InstanceId]/projects/[ProjectId]/featureentities/[FeatureEntityName]/action/changehotidversion')
27+
self.set_method('POST')
28+
29+
def get_body(self): # String
30+
return self.get_body_params().get('body')
31+
32+
def set_body(self, body): # String
33+
self.add_body_params('body', body)
34+
def get_InstanceId(self): # String
35+
return self.get_path_params().get('InstanceId')
36+
37+
def set_InstanceId(self, InstanceId): # String
38+
self.add_path_param('InstanceId', InstanceId)
39+
def get_FeatureEntityName(self): # String
40+
return self.get_path_params().get('FeatureEntityName')
41+
42+
def set_FeatureEntityName(self, FeatureEntityName): # String
43+
self.add_path_param('FeatureEntityName', FeatureEntityName)
44+
def get_ProjectId(self): # String
45+
return self.get_path_params().get('ProjectId')
46+
47+
def set_ProjectId(self, ProjectId): # String
48+
self.add_path_param('ProjectId', ProjectId)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RoaRequest
21+
22+
class CheckInstanceDatasourceRequest(RoaRequest):
23+
24+
def __init__(self):
25+
RoaRequest.__init__(self, 'PaiFeatureStore', '2023-06-21', 'CheckInstanceDatasource')
26+
self.set_uri_pattern('/api/v1/instances/[InstanceId]/action/checkdatasource')
27+
self.set_method('POST')
28+
29+
def get_body(self): # String
30+
return self.get_body_params().get('body')
31+
32+
def set_body(self, body): # String
33+
self.add_body_params('body', body)
34+
def get_InstanceId(self): # String
35+
return self.get_path_params().get('InstanceId')
36+
37+
def set_InstanceId(self, InstanceId): # String
38+
self.add_path_param('InstanceId', InstanceId)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RoaRequest
21+
22+
class CreateDatasourceRequest(RoaRequest):
23+
24+
def __init__(self):
25+
RoaRequest.__init__(self, 'PaiFeatureStore', '2023-06-21', 'CreateDatasource')
26+
self.set_uri_pattern('/api/v1/instances/[InstanceId]/datasources')
27+
self.set_method('POST')
28+
29+
def get_body(self): # String
30+
return self.get_body_params().get('body')
31+
32+
def set_body(self, body): # String
33+
self.add_body_params('body', body)
34+
def get_InstanceId(self): # String
35+
return self.get_path_params().get('InstanceId')
36+
37+
def set_InstanceId(self, InstanceId): # String
38+
self.add_path_param('InstanceId', InstanceId)
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RoaRequest
21+
22+
class CreateFeatureEntityRequest(RoaRequest):
23+
24+
def __init__(self):
25+
RoaRequest.__init__(self, 'PaiFeatureStore', '2023-06-21', 'CreateFeatureEntity')
26+
self.set_uri_pattern('/api/v1/instances/[InstanceId]/featureentities')
27+
self.set_method('POST')
28+
29+
def get_body(self): # String
30+
return self.get_body_params().get('body')
31+
32+
def set_body(self, body): # String
33+
self.add_body_params('body', body)
34+
def get_InstanceId(self): # String
35+
return self.get_path_params().get('InstanceId')
36+
37+
def set_InstanceId(self, InstanceId): # String
38+
self.add_path_param('InstanceId', InstanceId)

0 commit comments

Comments
 (0)