forked from aliyun/aliyun-openapi-python-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first commit aliyun open api sdk to github.
- Loading branch information
{马立杰}({060863})
committed
Jul 23, 2015
0 parents
commit 22a932c
Showing
672 changed files
with
35,962 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.DS_Store | ||
.tmp | ||
.settings | ||
.pyc | ||
*.pyc | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright 1999-2015 Alibaba Group Holding Ltd. | ||
|
||
Licensed 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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Python SDK for POP |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
aliyun-python-sdk-acs | ||
This is the acs module of Aliyun Python SDK. | ||
|
||
Aliyun Python SDK is the official software development kit. It makes things easy to integrate your Python application, library, or script with Aliyun services. | ||
|
||
This module works on Python versions: | ||
|
||
2.6.5 and greater | ||
Documentation: | ||
|
||
Please visit http://develop.aliyun.com/sdk/python |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
__version__ = '0.0.1' |
Empty file.
50 changes: 50 additions & 0 deletions
50
aliyun-python-sdk-acs/aliyunsdkacs/request/v20150101/DeleteApiRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RoaRequest | ||
class DeleteApiRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'Acs', '2015-01-01', 'DeleteApi') | ||
self.set_uri_pattern(self, '/[ProductName]/[VersionName]/[ApiName]') | ||
self.set_method(self, 'DELETE') | ||
|
||
def get_Accept(self): | ||
return self.get_header().get('Accept') | ||
|
||
def set_Accept(self,Accept): | ||
self.add_header('Accept',Accept) | ||
|
||
def get_ProductName(self): | ||
return self.get_path_params().get('ProductName') | ||
|
||
def set_ProductName(self,ProductName): | ||
self.add_path_param('ProductName',ProductName) | ||
|
||
def get_VersionName(self): | ||
return self.get_path_params().get('VersionName') | ||
|
||
def set_VersionName(self,VersionName): | ||
self.add_path_param('VersionName',VersionName) | ||
|
||
def get_ApiName(self): | ||
return self.get_path_params().get('ApiName') | ||
|
||
def set_ApiName(self,ApiName): | ||
self.add_path_param('ApiName',ApiName) |
38 changes: 38 additions & 0 deletions
38
aliyun-python-sdk-acs/aliyunsdkacs/request/v20150101/DeleteControlPolicyRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# 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 RoaRequest | ||
class DeleteControlPolicyRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'Acs', '2015-01-01', 'DeleteControlPolicy') | ||
self.set_uri_pattern(self, '/[ControlPolicyName]/?ControlPolicy') | ||
self.set_method(self, 'DELETE') | ||
|
||
def get_Accept(self): | ||
return self.get_header().get('Accept') | ||
|
||
def set_Accept(self,Accept): | ||
self.add_header('Accept',Accept) | ||
|
||
def get_ControlPolicyName(self): | ||
return self.get_path_params().get('ControlPolicyName') | ||
|
||
def set_ControlPolicyName(self,ControlPolicyName): | ||
self.add_path_param('ControlPolicyName',ControlPolicyName) |
50 changes: 50 additions & 0 deletions
50
aliyun-python-sdk-acs/aliyunsdkacs/request/v20150101/DeleteFlowControlRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RoaRequest | ||
class DeleteFlowControlRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'Acs', '2015-01-01', 'DeleteFlowControl') | ||
self.set_uri_pattern(self, '/[ProductName]/[VersionName]/[ApiName]?FlowControl') | ||
self.set_method(self, 'DELETE') | ||
|
||
def get_Accept(self): | ||
return self.get_header().get('Accept') | ||
|
||
def set_Accept(self,Accept): | ||
self.add_header('Accept',Accept) | ||
|
||
def get_ProductName(self): | ||
return self.get_path_params().get('ProductName') | ||
|
||
def set_ProductName(self,ProductName): | ||
self.add_path_param('ProductName',ProductName) | ||
|
||
def get_VersionName(self): | ||
return self.get_path_params().get('VersionName') | ||
|
||
def set_VersionName(self,VersionName): | ||
self.add_path_param('VersionName',VersionName) | ||
|
||
def get_ApiName(self): | ||
return self.get_path_params().get('ApiName') | ||
|
||
def set_ApiName(self,ApiName): | ||
self.add_path_param('ApiName',ApiName) |
44 changes: 44 additions & 0 deletions
44
aliyun-python-sdk-acs/aliyunsdkacs/request/v20150101/DeletePolicyRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RoaRequest | ||
class DeletePolicyRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'Acs', '2015-01-01', 'DeletePolicy') | ||
self.set_uri_pattern(self, '/[ControlPolicyName]/[UserId]/?Policy') | ||
self.set_method(self, 'DELETE') | ||
|
||
def get_Accept(self): | ||
return self.get_header().get('Accept') | ||
|
||
def set_Accept(self,Accept): | ||
self.add_header('Accept',Accept) | ||
|
||
def get_ControlPolicyName(self): | ||
return self.get_path_params().get('ControlPolicyName') | ||
|
||
def set_ControlPolicyName(self,ControlPolicyName): | ||
self.add_path_param('ControlPolicyName',ControlPolicyName) | ||
|
||
def get_UserId(self): | ||
return self.get_path_params().get('UserId') | ||
|
||
def set_UserId(self,UserId): | ||
self.add_path_param('UserId',UserId) |
38 changes: 38 additions & 0 deletions
38
aliyun-python-sdk-acs/aliyunsdkacs/request/v20150101/DeleteProductRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# 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 RoaRequest | ||
class DeleteProductRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'Acs', '2015-01-01', 'DeleteProduct') | ||
self.set_uri_pattern(self, '/[ProductName]') | ||
self.set_method(self, 'DELETE') | ||
|
||
def get_Accept(self): | ||
return self.get_header().get('Accept') | ||
|
||
def set_Accept(self,Accept): | ||
self.add_header('Accept',Accept) | ||
|
||
def get_ProductName(self): | ||
return self.get_path_params().get('ProductName') | ||
|
||
def set_ProductName(self,ProductName): | ||
self.add_path_param('ProductName',ProductName) |
38 changes: 38 additions & 0 deletions
38
aliyun-python-sdk-acs/aliyunsdkacs/request/v20150101/DeleteTairCacheRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# 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 RoaRequest | ||
class DeleteTairCacheRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'Acs', '2015-01-01', 'DeleteTairCache') | ||
self.set_uri_pattern(self, '/TairCache') | ||
self.set_method(self, 'DELETE') | ||
|
||
def get_Accept(self): | ||
return self.get_header().get('Accept') | ||
|
||
def set_Accept(self,Accept): | ||
self.add_header('Accept',Accept) | ||
|
||
def get_x-acs-cache-key(self): | ||
return self.get_header().get('x-acs-cache-key') | ||
|
||
def set_x-acs-cache-key(self,x-acs-cache-key): | ||
self.add_header('x-acs-cache-key',x-acs-cache-key) |
44 changes: 44 additions & 0 deletions
44
aliyun-python-sdk-acs/aliyunsdkacs/request/v20150101/DeleteVersionRequest.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
# Licensed to the Apache Software Foundation (ASF) under one | ||
# or more contributor license agreements. See the NOTICE file | ||
# distributed with this work for additional information | ||
# regarding copyright ownership. The ASF licenses this file | ||
# to you under the Apache License, Version 2.0 (the | ||
# "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# | ||
# | ||
# Unless required by applicable law or agreed to in writing, | ||
# software distributed under the License is distributed on an | ||
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
# KIND, either express or implied. See the License for the | ||
# specific language governing permissions and limitations | ||
# under the License. | ||
|
||
from aliyunsdkcore.request import RoaRequest | ||
class DeleteVersionRequest(RoaRequest): | ||
|
||
def __init__(self): | ||
RoaRequest.__init__(self, 'Acs', '2015-01-01', 'DeleteVersion') | ||
self.set_uri_pattern(self, '/[ProductName]/[VersionName]') | ||
self.set_method(self, 'DELETE') | ||
|
||
def get_Accept(self): | ||
return self.get_header().get('Accept') | ||
|
||
def set_Accept(self,Accept): | ||
self.add_header('Accept',Accept) | ||
|
||
def get_ProductName(self): | ||
return self.get_path_params().get('ProductName') | ||
|
||
def set_ProductName(self,ProductName): | ||
self.add_path_param('ProductName',ProductName) | ||
|
||
def get_VersionName(self): | ||
return self.get_path_params().get('VersionName') | ||
|
||
def set_VersionName(self,VersionName): | ||
self.add_path_param('VersionName',VersionName) |
Oops, something went wrong.