Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit41d88d1

Browse files
committed
Support sg for region.
1 parent0e84863 commit41d88d1

File tree

5 files changed

+52
-3
lines changed

5 files changed

+52
-3
lines changed

‎aliyun-python-sdk-saf/ChangeLog.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2020-05-08 Version: 3.0.2
2+
- Support sg for region.
3+
14
2020-03-16 Version: 3.0.1
25
- Supported Saf for cn.
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__='3.0.1'
1+
__version__='3.0.2'

‎aliyun-python-sdk-saf/aliyunsdksaf/request/v20180919/ExecuteRequestRequest.py‎renamed to ‎aliyun-python-sdk-saf/aliyunsdksaf/request/v20190521/ExecuteRequestRequest.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
classExecuteRequestRequest(RpcRequest):
2424

2525
def__init__(self):
26-
RpcRequest.__init__(self,'saf','2018-09-19','ExecuteRequest','saf')
27-
self.set_protocol_type('https')
26+
RpcRequest.__init__(self,'saf','2019-05-21','ExecuteRequest','saf')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
2829
ifhasattr(self,"endpoint_map"):
2930
setattr(self,"endpoint_map",endpoint_data.getEndpointMap())
3031
ifhasattr(self,"endpoint_regional"):
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
fromaliyunsdkcore.requestimportRpcRequest
21+
fromaliyunsdksaf.endpointimportendpoint_data
22+
23+
classExecuteRequestSGRequest(RpcRequest):
24+
25+
def__init__(self):
26+
RpcRequest.__init__(self,'saf','2019-05-21','ExecuteRequestSG','saf')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
29+
ifhasattr(self,"endpoint_map"):
30+
setattr(self,"endpoint_map",endpoint_data.getEndpointMap())
31+
ifhasattr(self,"endpoint_regional"):
32+
setattr(self,"endpoint_regional",endpoint_data.getEndpointRegional())
33+
34+
35+
defget_ServiceParameters(self):
36+
returnself.get_query_params().get('ServiceParameters')
37+
38+
defset_ServiceParameters(self,ServiceParameters):
39+
self.add_query_param('ServiceParameters',ServiceParameters)
40+
41+
defget_Service(self):
42+
returnself.get_query_params().get('Service')
43+
44+
defset_Service(self,Service):
45+
self.add_query_param('Service',Service)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp