def enable_all_features()

in src/org_setup/resources/organizations.py [0:0]


    def enable_all_features(self) -> None:
        """
        Enable all features in an organization
        """
        logger.info(f"[{self.region}] Enabling all features in the organization")
        try:
            self.client.enable_all_features()
            logger.debug(f"[{self.region}] Enabled all features in organization")
        except botocore.exceptions.ClientError as error:
            if (
                error.response["Error"]["Code"]
                != "HandshakeConstraintViolationException"
            ):
                logger.exception(
                    f"[{self.region}] Unable to enable all features in organization"
                )
                raise