Skip to content

Commit

Permalink
Support for rule feature.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Aug 28, 2024
1 parent 95af7cb commit ac74dc8
Show file tree
Hide file tree
Showing 10 changed files with 65 additions and 12 deletions.
3 changes: 3 additions & 0 deletions aliyun-python-sdk-config/ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2024-08-28 Version: 2.2.14
- Support for rule feature.

2024-06-20 Version: 2.2.13
- ConfigRule scope upgrade.

Expand Down
2 changes: 1 addition & 1 deletion aliyun-python-sdk-config/aliyunsdkconfig/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '2.2.13'
__version__ = '2.2.14'
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ def get_ConfigurationItemChangeNotification(self): # Boolean

def set_ConfigurationItemChangeNotification(self, ConfigurationItemChangeNotification): # Boolean
self.add_query_param('ConfigurationItemChangeNotification', ConfigurationItemChangeNotification)
def get_CompliantSnapshot(self): # Boolean
return self.get_query_params().get('CompliantSnapshot')

def set_CompliantSnapshot(self, CompliantSnapshot): # Boolean
self.add_query_param('CompliantSnapshot', CompliantSnapshot)
def get_DeliveryChannelName(self): # String
return self.get_query_params().get('DeliveryChannelName')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ def get_ConfigurationItemChangeNotification(self): # Boolean

def set_ConfigurationItemChangeNotification(self, ConfigurationItemChangeNotification): # Boolean
self.add_query_param('ConfigurationItemChangeNotification', ConfigurationItemChangeNotification)
def get_CompliantSnapshot(self): # Boolean
return self.get_query_params().get('CompliantSnapshot')

def set_CompliantSnapshot(self, CompliantSnapshot): # Boolean
self.add_query_param('CompliantSnapshot', CompliantSnapshot)
def get_DeliveryChannelName(self): # String
return self.get_query_params().get('DeliveryChannelName')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class GetAggregateConfigRuleSummaryByRiskLevelRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'Config', '2020-09-07', 'GetAggregateConfigRuleSummaryByRiskLevel','config')
self.set_method('GET')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class GetConfigRuleSummaryByRiskLevelRequest(RpcRequest):

def __init__(self):
RpcRequest.__init__(self, 'Config', '2020-09-07', 'GetConfigRuleSummaryByRiskLevel','config')
self.set_method('GET')
self.set_method('POST')

if hasattr(self, "endpoint_map"):
setattr(self, "endpoint_map", endpoint_data.getEndpointMap())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ def get_AggregatorId(self): # String

def set_AggregatorId(self, AggregatorId): # String
self.add_query_param('AggregatorId', AggregatorId)
def get_EndUpdateTimestamp(self): # Long
return self.get_query_params().get('EndUpdateTimestamp')

def set_EndUpdateTimestamp(self, EndUpdateTimestamp): # Long
self.add_query_param('EndUpdateTimestamp', EndUpdateTimestamp)
def get_ResourceAccountId(self): # Long
return self.get_query_params().get('ResourceAccountId')

Expand All @@ -61,6 +66,11 @@ def get_NextToken(self): # String

def set_NextToken(self, NextToken): # String
self.add_query_param('NextToken', NextToken)
def get_StartUpdateTimestamp(self): # Long
return self.get_query_params().get('StartUpdateTimestamp')

def set_StartUpdateTimestamp(self, StartUpdateTimestamp): # Long
self.add_query_param('StartUpdateTimestamp', StartUpdateTimestamp)
def get_ResourceId(self): # String
return self.get_query_params().get('ResourceId')

Expand All @@ -71,6 +81,11 @@ def get_ResourceTypes(self): # String

def set_ResourceTypes(self, ResourceTypes): # String
self.add_query_param('ResourceTypes', ResourceTypes)
def get_ExcludeResourceTypes(self): # String
return self.get_query_params().get('ExcludeResourceTypes')

def set_ExcludeResourceTypes(self, ExcludeResourceTypes): # String
self.add_query_param('ExcludeResourceTypes', ExcludeResourceTypes)
def get_MaxResults(self): # Integer
return self.get_query_params().get('MaxResults')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,41 @@ def get_ResourceDeleted(self): # Integer

def set_ResourceDeleted(self, ResourceDeleted): # Integer
self.add_query_param('ResourceDeleted', ResourceDeleted)
def get_ResourceId(self): # String
return self.get_query_params().get('ResourceId')

def set_ResourceId(self, ResourceId): # String
self.add_query_param('ResourceId', ResourceId)
def get_Regions(self): # String
return self.get_query_params().get('Regions')

def set_Regions(self, Regions): # String
self.add_query_param('Regions', Regions)
def get_ResourceTypes(self): # String
return self.get_query_params().get('ResourceTypes')
def get_EndUpdateTimestamp(self): # Long
return self.get_query_params().get('EndUpdateTimestamp')

def set_ResourceTypes(self, ResourceTypes): # String
self.add_query_param('ResourceTypes', ResourceTypes)
def set_EndUpdateTimestamp(self, EndUpdateTimestamp): # Long
self.add_query_param('EndUpdateTimestamp', EndUpdateTimestamp)
def get_NextToken(self): # String
return self.get_query_params().get('NextToken')

def set_NextToken(self, NextToken): # String
self.add_query_param('NextToken', NextToken)
def get_StartUpdateTimestamp(self): # Long
return self.get_query_params().get('StartUpdateTimestamp')

def set_StartUpdateTimestamp(self, StartUpdateTimestamp): # Long
self.add_query_param('StartUpdateTimestamp', StartUpdateTimestamp)
def get_ResourceId(self): # String
return self.get_query_params().get('ResourceId')

def set_ResourceId(self, ResourceId): # String
self.add_query_param('ResourceId', ResourceId)
def get_ResourceTypes(self): # String
return self.get_query_params().get('ResourceTypes')

def set_ResourceTypes(self, ResourceTypes): # String
self.add_query_param('ResourceTypes', ResourceTypes)
def get_ExcludeResourceTypes(self): # String
return self.get_query_params().get('ExcludeResourceTypes')

def set_ExcludeResourceTypes(self, ExcludeResourceTypes): # String
self.add_query_param('ExcludeResourceTypes', ExcludeResourceTypes)
def get_MaxResults(self): # Integer
return self.get_query_params().get('MaxResults')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ def get_ConfigurationItemChangeNotification(self): # Boolean

def set_ConfigurationItemChangeNotification(self, ConfigurationItemChangeNotification): # Boolean
self.add_query_param('ConfigurationItemChangeNotification', ConfigurationItemChangeNotification)
def get_CompliantSnapshot(self): # Boolean
return self.get_query_params().get('CompliantSnapshot')

def set_CompliantSnapshot(self, CompliantSnapshot): # Boolean
self.add_query_param('CompliantSnapshot', CompliantSnapshot)
def get_DeliveryChannelName(self): # String
return self.get_query_params().get('DeliveryChannelName')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ def get_ConfigurationItemChangeNotification(self): # Boolean

def set_ConfigurationItemChangeNotification(self, ConfigurationItemChangeNotification): # Boolean
self.add_query_param('ConfigurationItemChangeNotification', ConfigurationItemChangeNotification)
def get_CompliantSnapshot(self): # Boolean
return self.get_query_params().get('CompliantSnapshot')

def set_CompliantSnapshot(self, CompliantSnapshot): # Boolean
self.add_query_param('CompliantSnapshot', CompliantSnapshot)
def get_DeliveryChannelName(self): # String
return self.get_query_params().get('DeliveryChannelName')

Expand Down

0 comments on commit ac74dc8

Please sign in to comment.