Skip to content

Commit ed76ac2

Browse files
committed
Generated 2019-09-10 for waf-openapi.
1 parent 032bbbc commit ed76ac2

38 files changed

+173
-42
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2020-05-13 Version: 1.0.1
2+
- Generated 2019-09-10 for `waf-openapi`.
3+
14
2020-04-09 Version: 1.0.0
25
- WAF OpenApi SDK Release.
36

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

aliyun-python-sdk-waf-openapi/aliyunsdkwaf_openapi/request/v20190910/CreateCertificateByCertificateIdRequest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
class CreateCertificateByCertificateIdRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateCertificateByCertificateId','waf')
26+
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateCertificateByCertificateId','waf')
27+
self.set_method('POST')
2728
if hasattr(self, "endpoint_map"):
2829
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
2930
if hasattr(self, "endpoint_regional"):

aliyun-python-sdk-waf-openapi/aliyunsdkwaf_openapi/request/v20190910/CreateCertificateRequest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
class CreateCertificateRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateCertificate','waf')
26+
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateCertificate','waf')
27+
self.set_method('POST')
2728
if hasattr(self, "endpoint_map"):
2829
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
2930
if hasattr(self, "endpoint_regional"):

aliyun-python-sdk-waf-openapi/aliyunsdkwaf_openapi/request/v20190910/CreateDomainRequest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
class CreateDomainRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateDomain','waf')
26+
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateDomain','waf')
27+
self.set_method('POST')
2728
if hasattr(self, "endpoint_map"):
2829
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
2930
if hasattr(self, "endpoint_regional"):

aliyun-python-sdk-waf-openapi/aliyunsdkwaf_openapi/request/v20190910/CreateIPBlockRequest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
class CreateIPBlockRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateIPBlock','waf')
26+
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateIPBlock','waf')
27+
self.set_method('POST')
2728
if hasattr(self, "endpoint_map"):
2829
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
2930
if hasattr(self, "endpoint_regional"):

aliyun-python-sdk-waf-openapi/aliyunsdkwaf_openapi/request/v20190910/CreateProtectionModuleRuleRequest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@
2323
class CreateProtectionModuleRuleRequest(RpcRequest):
2424

2525
def __init__(self):
26-
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateProtectionModuleRule','waf')
26+
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'CreateProtectionModuleRule','waf')
27+
self.set_method('POST')
2728
if hasattr(self, "endpoint_map"):
2829
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
2930
if hasattr(self, "endpoint_regional"):

aliyun-python-sdk-waf-openapi/aliyunsdkwaf_openapi/request/v20190910/DeleteDomainRequest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ class DeleteDomainRequest(RpcRequest):
2424

2525
def __init__(self):
2626
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'DeleteDomain','waf')
27-
self.set_protocol_type('https')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 aliyunsdkwaf_openapi.endpoint import endpoint_data
22+
23+
class DeleteInstanceRequest(RpcRequest):
24+
25+
def __init__(self):
26+
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'DeleteInstance','waf')
27+
self.set_method('POST')
28+
if hasattr(self, "endpoint_map"):
29+
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
30+
if hasattr(self, "endpoint_regional"):
31+
setattr(self, "endpoint_regional", endpoint_data.getEndpointRegional())
32+
33+
34+
def get_ResourceGroupId(self):
35+
return self.get_query_params().get('ResourceGroupId')
36+
37+
def set_ResourceGroupId(self,ResourceGroupId):
38+
self.add_query_param('ResourceGroupId',ResourceGroupId)
39+
40+
def get_InstanceId(self):
41+
return self.get_query_params().get('InstanceId')
42+
43+
def set_InstanceId(self,InstanceId):
44+
self.add_query_param('InstanceId',InstanceId)

aliyun-python-sdk-waf-openapi/aliyunsdkwaf_openapi/request/v20190910/DescribeCertMatchStatusRequest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ class DescribeCertMatchStatusRequest(RpcRequest):
2424

2525
def __init__(self):
2626
RpcRequest.__init__(self, 'waf-openapi', '2019-09-10', 'DescribeCertMatchStatus','waf')
27-
self.set_protocol_type('https')
27+
self.set_protocol_type('https')
28+
self.set_method('POST')
2829
if hasattr(self, "endpoint_map"):
2930
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
3031
if hasattr(self, "endpoint_regional"):

0 commit comments

Comments
 (0)