How to use put_retention_configuration method in localstack

Best Python code snippet using localstack_python

client.pyi

Source:client.pyi Github

copy

Full Screen

...1079 Records the configuration state for the resource provided in the request.1080 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/config.html#ConfigService.Client.put_resource_config)1081 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_config/client.html#put_resource_config)1082 """1083 def put_retention_configuration(1084 self, *, RetentionPeriodInDays: int1085 ) -> PutRetentionConfigurationResponseTypeDef:1086 """1087 Creates and updates the retention configuration with details about retention1088 period (number of days) that Config stores your historical information.1089 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/config.html#ConfigService.Client.put_retention_configuration)1090 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_config/client.html#put_retention_configuration)1091 """1092 def put_stored_query(1093 self, *, StoredQuery: "StoredQueryTypeDef", Tags: List["TagTypeDef"] = None1094 ) -> PutStoredQueryResponseTypeDef:1095 """1096 Saves a new query or updates an existing saved query.1097 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/config.html#ConfigService.Client.put_stored_query)...

Full Screen

Full Screen

client.py

Source:client.py Github

copy

Full Screen

...110 def put_evaluations(self, ResultToken: str, Evaluations: List = None, TestMode: bool = None) -> Dict:111 pass112 def put_remediation_configurations(self, RemediationConfigurations: List) -> Dict:113 pass114 def put_retention_configuration(self, RetentionPeriodInDays: int) -> Dict:115 pass116 def select_resource_config(self, Expression: str, Limit: int = None, NextToken: str = None) -> Dict:117 pass118 def start_config_rules_evaluation(self, ConfigRuleNames: List = None) -> Dict:119 pass120 def start_configuration_recorder(self, ConfigurationRecorderName: str):121 pass122 def start_remediation_execution(self, ConfigRuleName: str, ResourceKeys: List) -> Dict:123 pass124 def stop_configuration_recorder(self, ConfigurationRecorderName: str):125 pass126 def tag_resource(self, ResourceArn: str, Tags: List):127 pass128 def untag_resource(self, ResourceArn: str, TagKeys: List):...

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run localstack automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful