def METHOD_NAME(client, module, params, result):
    try:
        response = client.delete_configuration_recorder(ConfigurationRecorderName=params["name"])
        result["changed"] = True
        return result
    except (botocore.exceptions.ClientError, botocore.exceptions.BotoCoreError) as e:
        module.fail_json_aws(e, msg="Couldn't delete AWS Config configuration recorder")