Skip to content

Commit bbc80af

Browse files
committed
SAS-API SDK Auto Released By shenshi,Version:2.1.1
发布日志: 1, Update Dependency
1 parent 7776c85 commit bbc80af

19 files changed

+247
-275
lines changed

aliyun-python-sdk-sas-api/ChangeLog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2019-03-14 Version: 2.1.1
2+
1, Update Dependency
3+
14
2018-01-15 Version: 2.1.0
25
1, Add four new apis: GetApplicationAttackList/GetCrackList/GetSecurityEventList/GetThreatAnalyseList
36

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "2.1.0"
1+
__version__ = "2.1.1"

aliyun-python-sdk-sas-api/aliyunsdksas_api/request/v20170705/CreateInstanceRequest.py

Lines changed: 0 additions & 72 deletions
This file was deleted.

aliyun-python-sdk-sas-api/aliyunsdksas_api/request/v20170705/GetSecurityEventListRequest.py renamed to aliyun-python-sdk-sas-api/aliyunsdksas_api/request/v20170705/DescribeAccountProfileByKeyRequest.py

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21-
class GetSecurityEventListRequest(RpcRequest):
21+
class DescribeAccountProfileByKeyRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Sas-api', '2017-07-05', 'GetSecurityEventList')
24+
RpcRequest.__init__(self, 'Sas-api', '2017-07-05', 'DescribeAccountProfileByKey','sas-api')
2525

26-
def get_Start(self):
27-
return self.get_query_params().get('Start')
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
2828

29-
def set_Start(self,Start):
30-
self.add_query_param('Start',Start)
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
3131

32-
def get_Limit(self):
33-
return self.get_query_params().get('Limit')
32+
def get_Keyword(self):
33+
return self.get_query_params().get('Keyword')
3434

35-
def set_Limit(self,Limit):
36-
self.add_query_param('Limit',Limit)
35+
def set_Keyword(self,Keyword):
36+
self.add_query_param('Keyword',Keyword)
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 DescribeAccountProfileByKeyWordRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Sas-api', '2017-07-05', 'DescribeAccountProfileByKeyWord','sas-api')
25+
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
28+
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
31+
32+
def get_Keyword(self):
33+
return self.get_query_params().get('Keyword')
34+
35+
def set_Keyword(self,Keyword):
36+
self.add_query_param('Keyword',Keyword)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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 DescribeHitRateColumnRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Sas-api', '2017-07-05', 'DescribeHitRateColumn','sas-api')
25+
26+
def get_EndDate(self):
27+
return self.get_query_params().get('EndDate')
28+
29+
def set_EndDate(self,EndDate):
30+
self.add_query_param('EndDate',EndDate)
31+
32+
def get_SourceIp(self):
33+
return self.get_query_params().get('SourceIp')
34+
35+
def set_SourceIp(self,SourceIp):
36+
self.add_query_param('SourceIp',SourceIp)
37+
38+
def get_HitDay(self):
39+
return self.get_query_params().get('HitDay')
40+
41+
def set_HitDay(self,HitDay):
42+
self.add_query_param('HitDay',HitDay)
43+
44+
def get_StartDate(self):
45+
return self.get_query_params().get('StartDate')
46+
47+
def set_StartDate(self,StartDate):
48+
self.add_query_param('StartDate',StartDate)
49+
50+
def get_ApiType(self):
51+
return self.get_query_params().get('ApiType')
52+
53+
def set_ApiType(self,ApiType):
54+
self.add_query_param('ApiType',ApiType)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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 DescribeHitRatePieRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Sas-api', '2017-07-05', 'DescribeHitRatePie','sas-api')
25+
26+
def get_EndDate(self):
27+
return self.get_query_params().get('EndDate')
28+
29+
def set_EndDate(self,EndDate):
30+
self.add_query_param('EndDate',EndDate)
31+
32+
def get_SourceIp(self):
33+
return self.get_query_params().get('SourceIp')
34+
35+
def set_SourceIp(self,SourceIp):
36+
self.add_query_param('SourceIp',SourceIp)
37+
38+
def get_StartDate(self):
39+
return self.get_query_params().get('StartDate')
40+
41+
def set_StartDate(self,StartDate):
42+
self.add_query_param('StartDate',StartDate)
43+
44+
def get_HitDay(self):
45+
return self.get_query_params().get('HitDay')
46+
47+
def set_HitDay(self,HitDay):
48+
self.add_query_param('HitDay',HitDay)
49+
50+
def get_ApiType(self):
51+
return self.get_query_params().get('ApiType')
52+
53+
def set_ApiType(self,ApiType):
54+
self.add_query_param('ApiType',ApiType)
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21-
class GetThreatAnalyseListRequest(RpcRequest):
21+
class DescribePerDateDataRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Sas-api', '2017-07-05', 'GetThreatAnalyseList')
24+
RpcRequest.__init__(self, 'Sas-api', '2017-07-05', 'DescribePerDateData','sas-api')
2525

26-
def get_Start(self):
27-
return self.get_query_params().get('Start')
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
2828

29-
def set_Start(self,Start):
30-
self.add_query_param('Start',Start)
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
3131

32-
def get_Limit(self):
33-
return self.get_query_params().get('Limit')
32+
def get_ApiType(self):
33+
return self.get_query_params().get('ApiType')
3434

35-
def set_Limit(self,Limit):
36-
self.add_query_param('Limit',Limit)
35+
def set_ApiType(self,ApiType):
36+
self.add_query_param('ApiType',ApiType)
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
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 DescribeThreatDistributeRequest(RpcRequest):
22+
23+
def __init__(self):
24+
RpcRequest.__init__(self, 'Sas-api', '2017-07-05', 'DescribeThreatDistribute','sas-api')
25+
26+
def get_EndDate(self):
27+
return self.get_query_params().get('EndDate')
28+
29+
def set_EndDate(self,EndDate):
30+
self.add_query_param('EndDate',EndDate)
31+
32+
def get_SourceIp(self):
33+
return self.get_query_params().get('SourceIp')
34+
35+
def set_SourceIp(self,SourceIp):
36+
self.add_query_param('SourceIp',SourceIp)
37+
38+
def get_HitDay(self):
39+
return self.get_query_params().get('HitDay')
40+
41+
def set_HitDay(self,HitDay):
42+
self.add_query_param('HitDay',HitDay)
43+
44+
def get_StartDate(self):
45+
return self.get_query_params().get('StartDate')
46+
47+
def set_StartDate(self,StartDate):
48+
self.add_query_param('StartDate',StartDate)
49+
50+
def get_ApiType(self):
51+
return self.get_query_params().get('ApiType')
52+
53+
def set_ApiType(self,ApiType):
54+
self.add_query_param('ApiType',ApiType)
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,19 @@
1818
# under the License.
1919

2020
from aliyunsdkcore.request import RpcRequest
21-
class GetApplicationAttackListRequest(RpcRequest):
21+
class DescribeThreatTypeLinesRequest(RpcRequest):
2222

2323
def __init__(self):
24-
RpcRequest.__init__(self, 'Sas-api', '2017-07-05', 'GetApplicationAttackList')
24+
RpcRequest.__init__(self, 'Sas-api', '2017-07-05', 'DescribeThreatTypeLines','sas-api')
2525

26-
def get_Start(self):
27-
return self.get_query_params().get('Start')
26+
def get_SourceIp(self):
27+
return self.get_query_params().get('SourceIp')
2828

29-
def set_Start(self,Start):
30-
self.add_query_param('Start',Start)
29+
def set_SourceIp(self,SourceIp):
30+
self.add_query_param('SourceIp',SourceIp)
3131

32-
def get_Limit(self):
33-
return self.get_query_params().get('Limit')
32+
def get_ApiType(self):
33+
return self.get_query_params().get('ApiType')
3434

35-
def set_Limit(self,Limit):
36-
self.add_query_param('Limit',Limit)
35+
def set_ApiType(self,ApiType):
36+
self.add_query_param('ApiType',ApiType)

0 commit comments

Comments
 (0)