diff --git a/aliyun-python-sdk-config/ChangeLog.txt b/aliyun-python-sdk-config/ChangeLog.txt index 3d36dd42e1..a24393b33e 100644 --- a/aliyun-python-sdk-config/ChangeLog.txt +++ b/aliyun-python-sdk-config/ChangeLog.txt @@ -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. diff --git a/aliyun-python-sdk-config/aliyunsdkconfig/__init__.py b/aliyun-python-sdk-config/aliyunsdkconfig/__init__.py index 72e3de037f..226f34d52e 100644 --- a/aliyun-python-sdk-config/aliyunsdkconfig/__init__.py +++ b/aliyun-python-sdk-config/aliyunsdkconfig/__init__.py @@ -1 +1 @@ -__version__ = '2.2.13' \ No newline at end of file +__version__ = '2.2.14' \ No newline at end of file diff --git a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/CreateAggregateConfigDeliveryChannelRequest.py b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/CreateAggregateConfigDeliveryChannelRequest.py index 5d7f65650f..98639ee4f1 100644 --- a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/CreateAggregateConfigDeliveryChannelRequest.py +++ b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/CreateAggregateConfigDeliveryChannelRequest.py @@ -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') diff --git a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/CreateConfigDeliveryChannelRequest.py b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/CreateConfigDeliveryChannelRequest.py index d542a75b81..1340453cfd 100644 --- a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/CreateConfigDeliveryChannelRequest.py +++ b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/CreateConfigDeliveryChannelRequest.py @@ -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') diff --git a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/GetAggregateConfigRuleSummaryByRiskLevelRequest.py b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/GetAggregateConfigRuleSummaryByRiskLevelRequest.py index 15e4af866d..985b50ca81 100644 --- a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/GetAggregateConfigRuleSummaryByRiskLevelRequest.py +++ b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/GetAggregateConfigRuleSummaryByRiskLevelRequest.py @@ -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()) diff --git a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/GetConfigRuleSummaryByRiskLevelRequest.py b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/GetConfigRuleSummaryByRiskLevelRequest.py index 14fedd0f3b..83ae874225 100644 --- a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/GetConfigRuleSummaryByRiskLevelRequest.py +++ b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/GetConfigRuleSummaryByRiskLevelRequest.py @@ -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()) diff --git a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/ListAggregateDiscoveredResourcesRequest.py b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/ListAggregateDiscoveredResourcesRequest.py index 1edbc7c31f..d1216309f5 100644 --- a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/ListAggregateDiscoveredResourcesRequest.py +++ b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/ListAggregateDiscoveredResourcesRequest.py @@ -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') @@ -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') @@ -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') diff --git a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/ListDiscoveredResourcesRequest.py b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/ListDiscoveredResourcesRequest.py index 1de3cb4899..5f602f3ce7 100644 --- a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/ListDiscoveredResourcesRequest.py +++ b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/ListDiscoveredResourcesRequest.py @@ -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') diff --git a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/UpdateAggregateConfigDeliveryChannelRequest.py b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/UpdateAggregateConfigDeliveryChannelRequest.py index 710422458b..061dc9ed2d 100644 --- a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/UpdateAggregateConfigDeliveryChannelRequest.py +++ b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/UpdateAggregateConfigDeliveryChannelRequest.py @@ -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') diff --git a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/UpdateConfigDeliveryChannelRequest.py b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/UpdateConfigDeliveryChannelRequest.py index 1f2879b978..479c1c546b 100644 --- a/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/UpdateConfigDeliveryChannelRequest.py +++ b/aliyun-python-sdk-config/aliyunsdkconfig/request/v20200907/UpdateConfigDeliveryChannelRequest.py @@ -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')