Casts this AttributeValue as a M and retrieves its kotlin.collections.Map value. Returns null if the AttributeValue is not a M.