I'm reading Serre's $\textit{A course in Arithmetic}$ where he defines a Dirichlet series to be an infinite sum of the form $$f(z) = \sum\limits_{n=1}^{\infty} a_ne^{-\lambda_nz} $$ where $\lambda_n$ is an increasing sequence of reals diverging to infinity and $a_n \in \mathbb{C}$.
One can associate with these series, half-planes $H$ (including $\mathbb{C}$ and $\varnothing$) on which they converge. More precisely, if $f$ converges at $z_0$, then it must converge uniformly on compact subsets of the half plane $\Re(z)>\Re(z_0)$. This shows that $f$ is holomorphic here too.
Given a holomorphic $f$ on some half plane $H$, is it representable by a Dirichlet series?
Going through the basic theorems hasn't thrown up any obvious holomorphic functions precluded from having such a representation. Am I missing something?
The idea is that if the Dirichlet series converges at some $z_0$ then $$\frac{f(z+z_0)}{z} =\sum_{n=1}^\infty a_n e^{-\lambda_n z_0}\frac{e^{-\lambda_n z}}{z}= \sum_{n=1}^\infty a_n e^{-\lambda_n z_0}\int_{\lambda_n}^\infty e^{-tz}dt = \int_{\lambda_0}^\infty (\sum_{\lambda_n \le t} a_n e^{-\lambda_n z_0}) e^{-tz}dt$$
Thus for $\Re(z) > 0$,
In particular $\frac{f(z)}{z}$ is $L^2$ on vertical lines and it decays uniformly as $|\Im(z)|\to \infty$.
Conversely if for $\Re(z) >\Re(z_0)$, $\frac{f(z)}{z}$ is $L^2$ on vertical lines and it decays uniformly as $|\Im(z)|\to \infty$ then the inverse Fourier/Laplace transform $$F(t)=\mathcal{L}^{-1}[\frac{f(z+z_0)}{z}]$$ is well-defined (in $L^2$ sense) and it suffices to check if : it is piecewise constant and supported on $t \ge T$ to find if for some $a_n$ and some reals $\lambda_n<\lambda_{n+1}\to\infty$ $$F(t) = \sum_{\lambda_n \le t} a_n e^{-\lambda_n z_0}, \qquad f(z+z_0) = z\int_{\lambda_0}^\infty F(t)e^{-zt}dt= \sum_{n=1}^\infty a_n e^{-\lambda_n (z+z_0)}$$