Generalized symmetries and holography in ABJM-type theories