delete_resource_policy
()¶Deletes the resource policy from your organization.
You can only call this operation from the organization's management account.
See also: AWS API Documentation
Request Syntax
response = client.delete_resource_policy()
Exceptions
Organizations.Client.exceptions.AccessDeniedException
Organizations.Client.exceptions.ServiceException
Organizations.Client.exceptions.UnsupportedAPIEndpointException
Organizations.Client.exceptions.TooManyRequestsException
Organizations.Client.exceptions.ConcurrentModificationException
Organizations.Client.exceptions.ConstraintViolationException
Organizations.Client.exceptions.AWSOrganizationsNotInUseException
Organizations.Client.exceptions.ResourcePolicyNotFoundException