SEATTLE — Amazon is teaming up with HBO, the first streaming arrangement agreed to by the cable network, in a deal that will make available to Amazon prime members some classic TV like ‘‘The Sopranos’’ and ‘‘The Wire.’’

Financial terms were not disclosed Wednesday.

Prior seasons of other HBO programs — like ‘‘Girls’’ and ‘‘Veep’’ — will become available about three years after airing on HBO.