Best Python code snippet using localstack_python
client.pyi
Source:client.pyi
...1011 Add or updates the evaluations for process checks.1012 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/config.html#ConfigService.Client.put_external_evaluation)1013 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_config/client.html#put_external_evaluation)1014 """1015 def put_organization_config_rule(1016 self,1017 *,1018 OrganizationConfigRuleName: str,1019 OrganizationManagedRuleMetadata: "OrganizationManagedRuleMetadataTypeDef" = None,1020 OrganizationCustomRuleMetadata: "OrganizationCustomRuleMetadataTypeDef" = None,1021 ExcludedAccounts: List[str] = None,1022 OrganizationCustomPolicyRuleMetadata: "OrganizationCustomPolicyRuleMetadataTypeDef" = None1023 ) -> PutOrganizationConfigRuleResponseTypeDef:1024 """1025 .1026 [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/1.24.58/reference/services/config.html#ConfigService.Client.put_organization_config_rule)1027 [Show boto3-stubs documentation](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_config/client.html#put_organization_config_rule)1028 """1029 def put_organization_conformance_pack(...
create-organizational-config-rule.py
Source:create-organizational-config-rule.py
...37 rule_input_parameters = {38 "ExecutionRoleName":execution_role_name,39 "WhitelistedPrincipalArns":whiteListed_principlal_arns40 }41 response = client.put_organization_config_rule(42 OrganizationConfigRuleName='ScheduledKeyDeletion1',43 OrganizationCustomRuleMetadata={44 "Description": "Organization config rule checking if allows scheduling key deletion.",45 "LambdaFunctionArn": lambda_function_arn,46 "OrganizationConfigRuleTriggerTypes": [47 "ConfigurationItemChangeNotification",48 "ScheduledNotification"49 ],50 "InputParameters": json.dumps(rule_input_parameters),51 "ResourceTypesScope": ["AWS::KMS::Key"],52 },53 ExcludedAccounts=excluded_accts.split(",") if excluded_accts else []54 )55 print(response)...
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.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Get 100 minutes of automation test minutes FREE!!