Skip to content

Commit 69cfd69

Browse files
committed
由智久发起的CDN SDK自动发布, 版本号:2.7.0
发布日志: 1, Add Function Compute interface,support Function Compute.
1 parent 7f7825d commit 69cfd69

11 files changed

+311
-2
lines changed

aliyun-python-sdk-cdn/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2018-05-11 Version: 2.7.0
2+
1, Add Function Compute interface,support Function Compute.
3+
14
2018-03-15 Version: 2.6.3
25
1, Synchronize to the latest api list
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.6.3"
1+
__version__ = "2.7.0"
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
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 AddFCTriggerRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cdn', '2014-11-11', 'AddFCTrigger')
25+
26+
def get_Notes(self):
27+
return self.get_query_params().get('Notes')
28+
29+
def set_Notes(self,Notes):
30+
self.add_query_param('Notes',Notes)
31+
32+
def get_EventMetaVersion(self):
33+
return self.get_query_params().get('EventMetaVersion')
34+
35+
def set_EventMetaVersion(self,EventMetaVersion):
36+
self.add_query_param('EventMetaVersion',EventMetaVersion)
37+
38+
def get_TriggerARN(self):
39+
return self.get_query_params().get('TriggerARN')
40+
41+
def set_TriggerARN(self,TriggerARN):
42+
self.add_query_param('TriggerARN',TriggerARN)
43+
44+
def get_SourceARN(self):
45+
return self.get_query_params().get('SourceARN')
46+
47+
def set_SourceARN(self,SourceARN):
48+
self.add_query_param('SourceARN',SourceARN)
49+
50+
def get_OwnerId(self):
51+
return self.get_query_params().get('OwnerId')
52+
53+
def set_OwnerId(self,OwnerId):
54+
self.add_query_param('OwnerId',OwnerId)
55+
56+
def get_RoleARN(self):
57+
return self.get_query_params().get('RoleARN')
58+
59+
def set_RoleARN(self,RoleARN):
60+
self.add_query_param('RoleARN',RoleARN)
61+
62+
def get_EventMetaName(self):
63+
return self.get_query_params().get('EventMetaName')
64+
65+
def set_EventMetaName(self,EventMetaName):
66+
self.add_query_param('EventMetaName',EventMetaName)
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 DeleteFCTriggerRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cdn', '2014-11-11', 'DeleteFCTrigger')
25+
26+
def get_TriggerARN(self):
27+
return self.get_query_params().get('TriggerARN')
28+
29+
def set_TriggerARN(self,TriggerARN):
30+
self.add_query_param('TriggerARN',TriggerARN)
31+
32+
def get_OwnerId(self):
33+
return self.get_query_params().get('OwnerId')
34+
35+
def set_OwnerId(self,OwnerId):
36+
self.add_query_param('OwnerId',OwnerId)
Lines changed: 48 additions & 0 deletions
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+
# 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 DescribeCdnDomainConfigsRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cdn', '2014-11-11', 'DescribeCdnDomainConfigs')
25+
26+
def get_FunctionNames(self):
27+
return self.get_query_params().get('FunctionNames')
28+
29+
def set_FunctionNames(self,FunctionNames):
30+
self.add_query_param('FunctionNames',FunctionNames)
31+
32+
def get_SecurityToken(self):
33+
return self.get_query_params().get('SecurityToken')
34+
35+
def set_SecurityToken(self,SecurityToken):
36+
self.add_query_param('SecurityToken',SecurityToken)
37+
38+
def get_DomainName(self):
39+
return self.get_query_params().get('DomainName')
40+
41+
def set_DomainName(self,DomainName):
42+
self.add_query_param('DomainName',DomainName)
43+
44+
def get_OwnerId(self):
45+
return self.get_query_params().get('OwnerId')
46+
47+
def set_OwnerId(self,OwnerId):
48+
self.add_query_param('OwnerId',OwnerId)
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 DescribeDomainCertificateInfoRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cdn', '2014-11-11', 'DescribeDomainCertificateInfo')
25+
26+
def get_DomainName(self):
27+
return self.get_query_params().get('DomainName')
28+
29+
def set_DomainName(self,DomainName):
30+
self.add_query_param('DomainName',DomainName)
31+
32+
def get_OwnerId(self):
33+
return self.get_query_params().get('OwnerId')
34+
35+
def set_OwnerId(self,OwnerId):
36+
self.add_query_param('OwnerId',OwnerId)
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 DescribeFCTriggerRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Cdn', '2014-11-11', 'DescribeFCTrigger')
25+
26+
def get_TriggerARN(self):
27+
return self.get_query_params().get('TriggerARN')
28+
29+
def set_TriggerARN(self,TriggerARN):
30+
self.add_query_param('TriggerARN',TriggerARN)
31+
32+
def get_OwnerId(self):
33+
return self.get_query_params().get('OwnerId')
34+
35+
def set_OwnerId(self,OwnerId):
36+
self.add_query_param('OwnerId',OwnerId)

aliyun-python-sdk-cdn/aliyunsdkcdn/request/v20141111/DescribeLiveStreamsOnlineListRequest.py

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ class DescribeLiveStreamsOnlineListRequest(RpcRequest):
2323
def __init__(self):
2424
RpcRequest.__init__(self, 'Cdn', '2014-11-11', 'DescribeLiveStreamsOnlineList')
2525

26+
def get_StreamType(self):
27+
return self.get_query_params().get('StreamType')
28+
29+
def set_StreamType(self,StreamType):
30+
self.add_query_param('StreamType',StreamType)
31+
2632
def get_AppName(self):
2733
return self.get_query_params().get('AppName')
2834

@@ -41,8 +47,20 @@ def get_DomainName(self):
4147
def set_DomainName(self,DomainName):
4248
self.add_query_param('DomainName',DomainName)
4349

50+
def get_PageSize(self):
51+
return self.get_query_params().get('PageSize')
52+
53+
def set_PageSize(self,PageSize):
54+
self.add_query_param('PageSize',PageSize)
55+
4456
def get_OwnerId(self):
4557
return self.get_query_params().get('OwnerId')
4658

4759
def set_OwnerId(self,OwnerId):
48-
self.add_query_param('OwnerId',OwnerId)
60+
self.add_query_param('OwnerId',OwnerId)
61+
62+
def get_PageNum(self):
63+
return self.get_query_params().get('PageNum')
64+
65+
def set_PageNum(self,PageNum):
66+
self.add_query_param('PageNum',PageNum)

aliyun-python-sdk-cdn/aliyunsdkcdn/request/v20141111/SetDomainServerCertificateRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ def get_SecurityToken(self):
4747
def set_SecurityToken(self,SecurityToken):
4848
self.add_query_param('SecurityToken',SecurityToken)
4949

50+
def get_CertType(self):
51+
return self.get_query_params().get('CertType')
52+
53+
def set_CertType(self,CertType):
54+
self.add_query_param('CertType',CertType)
55+
5056
def get_CertName(self):
5157
return self.get_query_params().get('CertName')
5258

aliyun-python-sdk-cdn/aliyunsdkcdn/request/v20141111/SetHttpHeaderConfigRequest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ def get_SecurityToken(self):
3535
def set_SecurityToken(self,SecurityToken):
3636
self.add_query_param('SecurityToken',SecurityToken)
3737

38+
def get_ConfigId(self):
39+
return self.get_query_params().get('ConfigId')
40+
41+
def set_ConfigId(self,ConfigId):
42+
self.add_query_param('ConfigId',ConfigId)
43+
3844
def get_DomainName(self):
3945
return self.get_query_params().get('DomainName')
4046

0 commit comments

Comments
 (0)