Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_organization_config_rule

delete_organization_config_rule(**kwargs)

Deletes the specified organization Config rule and all of its evaluation results from all member accounts in that organization.

Only a management account and a delegated administrator account can delete an organization Config rule. When calling this API with a delegated administrator, you must ensure Organizations ListDelegatedAdministrator permissions are added.

Config sets the state of a rule to DELETE_IN_PROGRESS until the deletion is complete. You cannot update a rule while it is in this state.

See also: AWS API Documentation

Request Syntax

response = client.delete_organization_config_rule(
    OrganizationConfigRuleName='string'
)
Parameters
OrganizationConfigRuleName (string) --

[REQUIRED]

The name of organization Config rule that you want to delete.

Returns
None

Exceptions

  • ConfigService.Client.exceptions.NoSuchOrganizationConfigRuleException
  • ConfigService.Client.exceptions.ResourceInUseException
  • ConfigService.Client.exceptions.OrganizationAccessDeniedException