One of the examples that Wikipedia gives of S-duality is the EM duality. Namely that $$ \begin{align} \mathbf{E} &\rightarrow\mathbf{B} \\ \mathbf{B} &\rightarrow -\frac{1}{c^2}\mathbf{E} \quad \text{ or }\quad (E, B) \rightarrow (E \cos \theta - B \sin \theta, B \cos \theta + E \sin \theta) \end{align} $$ or if you prefer $$ F^{\mu \nu} \mapsto{ }^{\star} F^{\mu \nu} \quad{ }^{\star} F^{\mu \nu} \mapsto-F^{\mu \nu}. $$ As far as I understand, an S-duality maps an strongly interactive theory to a weakly interactive one, i.e. generally, $g\mapsto 1/g$. Where can I see this?
I am assuming one would see this at the Hamiltonian/action level but I am a bit lost on how this would work out...