Skip to content

Commit f6fc6e6

Browse files
authored
Merge pull request aliyun#10 from aliyun/aliyun_internal_updates
Update newest Aliyun Python SDK from internal source control
2 parents 5f50b97 + 905bb7d commit f6fc6e6

File tree

1,029 files changed

+56552
-21399
lines changed

Some content is hidden

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

1,029 files changed

+56552
-21399
lines changed

aliyun-python-sdk-aas/MANIFEST.in

Whitespace-only changes.

aliyun-python-sdk-aas/README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
aliyun-python-sdk-aas
2+
This is the aas module of Aliyun Python SDK.
3+
4+
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services.
5+
6+
This module works on Python versions:
7+
8+
2.6.5 and greater
9+
Documentation:
10+
11+
Please visit 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__ = '2.0.0'

aliyun-python-sdk-aas/aliyunsdkaas/request/__init__.py

Whitespace-only changes.
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateAccessKeyForAccountRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Aas', '2015-07-01', 'CreateAccessKeyForAccount')
25+
26+
def get_PK(self):
27+
return self.get_query_params().get('PK')
28+
29+
def set_PK(self,PK):
30+
self.add_query_param('PK',PK)
31+
32+
def get_AKSecret(self):
33+
return self.get_query_params().get('AKSecret')
34+
35+
def set_AKSecret(self,AKSecret):
36+
self.add_query_param('AKSecret',AKSecret)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class CreateAliyunAccountRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Aas', '2015-07-01', 'CreateAliyunAccount')
25+
26+
def get_AliyunId(self):
27+
return self.get_query_params().get('AliyunId')
28+
29+
def set_AliyunId(self,AliyunId):
30+
self.add_query_param('AliyunId',AliyunId)
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class DeleteAccessKeyForAccountRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Aas', '2015-07-01', 'DeleteAccessKeyForAccount')
25+
26+
def get_PK(self):
27+
return self.get_query_params().get('PK')
28+
29+
def set_PK(self,PK):
30+
self.add_query_param('PK',PK)
31+
32+
def get_AKId(self):
33+
return self.get_query_params().get('AKId')
34+
35+
def set_AKId(self,AKId):
36+
self.add_query_param('AKId',AKId)
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class GetBasicInfoForAccountRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Aas', '2015-07-01', 'GetBasicInfoForAccount')
25+
26+
def get_AliyunId(self):
27+
return self.get_query_params().get('AliyunId')
28+
29+
def set_AliyunId(self,AliyunId):
30+
self.add_query_param('AliyunId',AliyunId)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class ListAccessKeysForAccountRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Aas', '2015-07-01', 'ListAccessKeysForAccount')
25+
26+
def get_PK(self):
27+
return self.get_query_params().get('PK')
28+
29+
def set_PK(self,PK):
30+
self.add_query_param('PK',PK)
31+
32+
def get_AKStatus(self):
33+
return self.get_query_params().get('AKStatus')
34+
35+
def set_AKStatus(self,AKStatus):
36+
self.add_query_param('AKStatus',AKStatus)
37+
38+
def get_AKType(self):
39+
return self.get_query_params().get('AKType')
40+
41+
def set_AKType(self,AKType):
42+
self.add_query_param('AKType',AKType)
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
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+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
class UpdateAccessKeyStatusForAccountRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Aas', '2015-07-01', 'UpdateAccessKeyStatusForAccount')
25+
26+
def get_PK(self):
27+
return self.get_query_params().get('PK')
28+
29+
def set_PK(self,PK):
30+
self.add_query_param('PK',PK)
31+
32+
def get_AKId(self):
33+
return self.get_query_params().get('AKId')
34+
35+
def set_AKId(self,AKId):
36+
self.add_query_param('AKId',AKId)
37+
38+
def get_AKStatus(self):
39+
return self.get_query_params().get('AKStatus')
40+
41+
def set_AKStatus(self,AKStatus):
42+
self.add_query_param('AKStatus',AKStatus)

0 commit comments

Comments
 (0)