Skip to content

Commit 20ed812

Browse files
authored
Revert "cleanup old packages that be published 5 years ago"
This reverts commit a863b5b.
1 parent a863b5b commit 20ed812

File tree

1,464 files changed

+62387
-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.

1,464 files changed

+62387
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2019-11-18 Version: 2.1.1
2+
- Supported ChangePreferredLanguage for Internet customers.
3+
- Fixed bugs for ChangePreferredLanguage.
4+
5+
2019-10-31 Version: 2.1.0
6+
- Supported ChangePreferredLanguage for Internet customers.
7+
8+
2019-10-31 Version: 1.1.0
9+
- Supported ChangePreferredLanguage for Internet customers.
10+

aliyun-python-sdk-aas/MANIFEST.in

Whitespace-only changes.

aliyun-python-sdk-aas/README.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
=============================================================
2+
aliyun-python-sdk-aas
3+
=============================================================
4+
5+
.. This is the aas 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__ = '2.1.1'
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
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+
21+
class EndpointData():
22+
def __init__(self):
23+
self.endpoint_map = {
24+
"cn-shanghai-internal-test-1": "aas.aliyuncs.com",
25+
"cn-beijing-gov-1": "aas.aliyuncs.com",
26+
"cn-shenzhen-su18-b01": "aas.aliyuncs.com",
27+
"cn-shanghai-inner": "aas.aliyuncs.com",
28+
"cn-shenzhen-st4-d01": "aas.aliyuncs.com",
29+
"cn-haidian-cm12-c01": "aas.aliyuncs.com",
30+
"cn-hangzhou-internal-prod-1": "aas.aliyuncs.com",
31+
"cn-north-2-gov-1": "aas.aliyuncs.com",
32+
"cn-yushanfang": "aas.aliyuncs.com",
33+
"cn-hongkong-finance-pop": "aas.aliyuncs.com",
34+
"cn-qingdao-nebula": "aas.aliyuncs.com",
35+
"cn-shanghai": "aas-vpc.cn-shanghai.aliyuncs.com",
36+
"cn-shanghai-finance-1": "aas.aliyuncs.com",
37+
"cn-beijing-finance-pop": "aas.aliyuncs.com",
38+
"cn-wuhan": "aas.aliyuncs.com",
39+
"cn-shenzhen": "aas.aliyuncs.com",
40+
"cn-zhengzhou-nebula-1": "aas.aliyuncs.com",
41+
"rus-west-1-pop": "aas.ap-northeast-1.aliyuncs.com",
42+
"cn-shanghai-et15-b01": "aas.aliyuncs.com",
43+
"cn-hangzhou-bj-b01": "aas.aliyuncs.com",
44+
"cn-hangzhou-internal-test-1": "aas.aliyuncs.com",
45+
"eu-west-1-oxs": "aas.ap-northeast-1.aliyuncs.com",
46+
"cn-zhangbei-na61-b01": "aas.aliyuncs.com",
47+
"cn-beijing-finance-1": "aas.aliyuncs.com",
48+
"cn-hangzhou-internal-test-3": "aas.aliyuncs.com",
49+
"cn-hangzhou-internal-test-2": "aas.aliyuncs.com",
50+
"cn-shenzhen-finance-1": "aas.aliyuncs.com",
51+
"cn-chengdu": "aas.aliyuncs.com",
52+
"cn-hangzhou-test-306": "aas.aliyuncs.com",
53+
"cn-shanghai-et2-b01": "aas.aliyuncs.com",
54+
"cn-hangzhou-finance": "aas.aliyuncs.com",
55+
"cn-beijing-nu16-b01": "aas.aliyuncs.com",
56+
"cn-edge-1": "aas.aliyuncs.com",
57+
"cn-huhehaote": "aas.aliyuncs.com",
58+
"cn-fujian": "aas.aliyuncs.com",
59+
"us-east-1": "aas.ap-northeast-1.aliyuncs.com",
60+
"ap-northeast-2-pop": "aas.ap-northeast-1.aliyuncs.com",
61+
"cn-shenzhen-inner": "aas.aliyuncs.com",
62+
"cn-zhangjiakou-na62-a01": "aas.aliyuncs.com",
63+
}
64+
self.endpoint_regional = "regional"
65+
66+
def getEndpointMap(self):
67+
return self.endpoint_map
68+
69+
def getEndpointRegional(self):
70+
return self.endpoint_regional
71+
72+
73+
endpoint_data = EndpointData()

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

Whitespace-only changes.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkaas.endpoint import endpoint_data
22+
23+
class ChangePreferredLanguageRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Aas', '2015-07-01', 'ChangePreferredLanguage')
27+
if hasattr(self, "endpoint_map"):
28+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
29+
if hasattr(self, "endpoint_regional"):
30+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
31+
32+
33+
def get_PreferredLanguage(self):
34+
return self.get_query_params().get('PreferredLanguage')
35+
36+
def set_PreferredLanguage(self,PreferredLanguage):
37+
self.add_query_param('PreferredLanguage',PreferredLanguage)
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+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkaas.endpoint import endpoint_data
22+
23+
class CheckMfaBindRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Aas', '2015-07-01', 'CheckMfaBind')
27+
if hasattr(self, "endpoint_map"):
28+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
29+
if hasattr(self, "endpoint_regional"):
30+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkaas.endpoint import endpoint_data
22+
23+
class CreateAccessKeyForAccountRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Aas', '2015-07-01', 'CreateAccessKeyForAccount')
27+
if hasattr(self, "endpoint_map"):
28+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
29+
if hasattr(self, "endpoint_regional"):
30+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
31+
32+
33+
def get_AKSecret(self):
34+
return self.get_query_params().get('AKSecret')
35+
36+
def set_AKSecret(self,AKSecret):
37+
self.add_query_param('AKSecret',AKSecret)
38+
39+
def get_PK(self):
40+
return self.get_query_params().get('PK')
41+
42+
def set_PK(self,PK):
43+
self.add_query_param('PK',PK)
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
#
13+
# Unless required by applicable law or agreed to in writing,
14+
# software distributed under the License is distributed on an
15+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16+
# KIND, either express or implied. See the License for the
17+
# specific language governing permissions and limitations
18+
# under the License.
19+
20+
from aliyunsdkcore.request import RpcRequest
21+
from aliyunsdkaas.endpoint import endpoint_data
22+
23+
class CreateAliyunAccountRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'Aas', '2015-07-01', 'CreateAliyunAccount')
27+
if hasattr(self, "endpoint_map"):
28+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
29+
if hasattr(self, "endpoint_regional"):
30+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
31+
32+
33+
def get_AliyunId(self):
34+
return self.get_query_params().get('AliyunId')
35+
36+
def set_AliyunId(self,AliyunId):
37+
self.add_query_param('AliyunId',AliyunId)

0 commit comments

Comments
 (0)